|
|
(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return oe},blueDark:function(){return je},cyan:function(){return ie},cyanDark:function(){return We},geekblue:function(){return J},geekblueDark:function(){return Mt},generate:function(){return A},gold:function(){return V},goldDark:function(){return ae},gray:function(){return ee},green:function(){return te},greenDark:function(){return ke},grey:function(){return se},greyDark:function(){return tr},lime:function(){return H},limeDark:function(){return Ie},magenta:function(){return K},magentaDark:function(){return Pt},orange:function(){return N},orangeDark:function(){return $},presetDarkPalettes:function(){return Vt},presetPalettes:function(){return X},presetPrimaryColors:function(){return I},purple:function(){return Q},purpleDark:function(){return yt},red:function(){return M},redDark:function(){return le},volcano:function(){return B},volcanoDark:function(){return z},yellow:function(){return W},yellowDark:function(){return _e}});var r=e(20068);const i=Math.round;function l(lr,Ke){const Ct=lr.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],jt=Ct.map(it=>parseFloat(it));for(let it=0;it<3;it+=1)jt[it]=Ke(jt[it]||0,Ct[it]||"",it);return Ct[3]?jt[3]=Ct[3].includes("%")?jt[3]/100:jt[3]:jt[3]=1,jt}const c=(lr,Ke,Ct)=>Ct===0?lr:lr/100;function f(lr,Ke){const Ct=Ke||255;return lr>Ct?Ct:lr<0?0:lr}class o{constructor(Ke){(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 Ct(jt){return jt[0]in Ke&&jt[1]in Ke&&jt[2]in Ke}if(Ke)if(typeof Ke=="string"){let it=function(xt){return jt.startsWith(xt)};const jt=Ke.trim();/^#?[A-F\d]{3,8}$/i.test(jt)?this.fromHexString(jt):it("rgb")?this.fromRgbString(jt):it("hsl")?this.fromHslString(jt):(it("hsv")||it("hsb"))&&this.fromHsvString(jt)}else if(Ke instanceof o)this.r=Ke.r,this.g=Ke.g,this.b=Ke.b,this.a=Ke.a,this._h=Ke._h,this._s=Ke._s,this._l=Ke._l,this._v=Ke._v;else if(Ct("rgb"))this.r=f(Ke.r),this.g=f(Ke.g),this.b=f(Ke.b),this.a=typeof Ke.a=="number"?f(Ke.a,1):1;else if(Ct("hsl"))this.fromHsl(Ke);else if(Ct("hsv"))this.fromHsv(Ke);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(Ke))}setR(Ke){return this._sc("r",Ke)}setG(Ke){return this._sc("g",Ke)}setB(Ke){return this._sc("b",Ke)}setA(Ke){return this._sc("a",Ke,1)}setHue(Ke){const Ct=this.toHsv();return Ct.h=Ke,this._c(Ct)}getLuminance(){function Ke(xt){const pt=xt/255;return pt<=.03928?pt/12.92:Math.pow((pt+.055)/1.055,2.4)}const Ct=Ke(this.r),jt=Ke(this.g),it=Ke(this.b);return .2126*Ct+.7152*jt+.0722*it}getHue(){if(typeof this._h=="undefined"){const Ke=this.getMax()-this.getMin();Ke===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/Ke+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/Ke+2:(this.r-this.g)/Ke+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const Ke=this.getMax()-this.getMin();Ke===0?this._s=0:this._s=Ke/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(Ke=10){const Ct=this.getHue(),jt=this.getSaturation();let it=this.getLightness()-Ke/100;return it<0&&(it=0),this._c({h:Ct,s:jt,l:it,a:this.a})}lighten(Ke=10){const Ct=this.getHue(),jt=this.getSaturation();let it=this.getLightness()+Ke/100;return it>1&&(it=1),this._c({h:Ct,s:jt,l:it,a:this.a})}mix(Ke,Ct=50){const jt=this._c(Ke),it=Ct/100,xt=et=>(jt[et]-this[et])*it+this[et],pt={r:i(xt("r")),g:i(xt("g")),b:i(xt("b")),a:i(xt("a")*100)/100};return this._c(pt)}tint(Ke=10){return this.mix({r:255,g:255,b:255,a:1},Ke)}shade(Ke=10){return this.mix({r:0,g:0,b:0,a:1},Ke)}onBackground(Ke){const Ct=this._c(Ke),jt=this.a+Ct.a*(1-this.a),it=xt=>i((this[xt]*this.a+Ct[xt]*Ct.a*(1-this.a))/jt);return this._c({r:it("r"),g:it("g"),b:it("b"),a:jt})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(Ke){return this.r===Ke.r&&this.g===Ke.g&&this.b===Ke.b&&this.a===Ke.a}clone(){return this._c(this)}toHexString(){let Ke="#";const Ct=(this.r||0).toString(16);Ke+=Ct.length===2?Ct:"0"+Ct;const jt=(this.g||0).toString(16);Ke+=jt.length===2?jt:"0"+jt;const it=(this.b||0).toString(16);if(Ke+=it.length===2?it:"0"+it,typeof this.a=="number"&&this.a>=0&&this.a<1){const xt=i(this.a*255).toString(16);Ke+=xt.length===2?xt:"0"+xt}return Ke}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const Ke=this.getHue(),Ct=i(this.getSaturation()*100),jt=i(this.getLightness()*100);return this.a!==1?`hsla(${Ke},${Ct}%,${jt}%,${this.a})`:`hsl(${Ke},${Ct}%,${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(Ke,Ct,jt){const it=this.clone();return it[Ke]=f(Ct,jt),it}_c(Ke){return new this.constructor(Ke)}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(Ke){const Ct=Ke.replace("#","");function jt(it,xt){return parseInt(Ct[it]+Ct[xt||it],16)}Ct.length<6?(this.r=jt(0),this.g=jt(1),this.b=jt(2),this.a=Ct[3]?jt(3)/255:1):(this.r=jt(0,1),this.g=jt(2,3),this.b=jt(4,5),this.a=Ct[6]?jt(6,7)/255:1)}fromHsl({h:Ke,s:Ct,l:jt,a:it}){if(this._h=Ke%360,this._s=Ct,this._l=jt,this.a=typeof it=="number"?it:1,Ct<=0){const Ue=i(jt*255);this.r=Ue,this.g=Ue,this.b=Ue}let xt=0,pt=0,et=0;const Ze=Ke/60,ge=(1-Math.abs(2*jt-1))*Ct,Ae=ge*(1-Math.abs(Ze%2-1));Ze>=0&&Ze<1?(xt=ge,pt=Ae):Ze>=1&&Ze<2?(xt=Ae,pt=ge):Ze>=2&&Ze<3?(pt=ge,et=Ae):Ze>=3&&Ze<4?(pt=Ae,et=ge):Ze>=4&&Ze<5?(xt=Ae,et=ge):Ze>=5&&Ze<6&&(xt=ge,et=Ae);const Me=jt-ge/2;this.r=i((xt+Me)*255),this.g=i((pt+Me)*255),this.b=i((et+Me)*255)}fromHsv({h:Ke,s:Ct,v:jt,a:it}){this._h=Ke%360,this._s=Ct,this._v=jt,this.a=typeof it=="number"?it:1;const xt=i(jt*255);if(this.r=xt,this.g=xt,this.b=xt,Ct<=0)return;const pt=Ke/60,et=Math.floor(pt),Ze=pt-et,ge=i(jt*(1-Ct)*255),Ae=i(jt*(1-Ct*Ze)*255),Me=i(jt*(1-Ct*(1-Ze))*255);switch(et){case 0:this.g=Me,this.b=ge;break;case 1:this.r=Ae,this.b=ge;break;case 2:this.r=ge,this.b=Me;break;case 3:this.r=ge,this.g=Ae;break;case 4:this.r=Me,this.g=ge;break;case 5:default:this.g=ge,this.b=Ae;break}}fromHsvString(Ke){const Ct=l(Ke,c);this.fromHsv({h:Ct[0],s:Ct[1],v:Ct[2],a:Ct[3]})}fromHslString(Ke){const Ct=l(Ke,c);this.fromHsl({h:Ct[0],s:Ct[1],l:Ct[2],a:Ct[3]})}fromRgbString(Ke){const Ct=l(Ke,(jt,it)=>it.includes("%")?i(jt/100*255):jt);this.r=Ct[0],this.g=Ct[1],this.b=Ct[2],this.a=Ct[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(lr,Ke,Ct){var jt;return Math.round(lr.h)>=60&&Math.round(lr.h)<=240?jt=Ct?Math.round(lr.h)-h*Ke:Math.round(lr.h)+h*Ke:jt=Ct?Math.round(lr.h)+h*Ke:Math.round(lr.h)-h*Ke,jt<0?jt+=360:jt>=360&&(jt-=360),jt}function k(lr,Ke,Ct){if(lr.h===0&&lr.s===0)return lr.s;var jt;return Ct?jt=lr.s-u*Ke:Ke===_?jt=lr.s+u:jt=lr.s+a*Ke,jt>1&&(jt=1),Ct&&Ke===y&&jt>.1&&(jt=.1),jt<.06&&(jt=.06),Math.round(jt*100)/100}function R(lr,Ke,Ct){var jt;return Ct?jt=lr.v+x*Ke:jt=lr.v-p*Ke,jt=Math.max(0,Math.min(1,jt)),Math.round(jt*100)/100}function A(lr){for(var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ct=[],jt=new o(lr),it=jt.toHsv(),xt=y;xt>0;xt-=1){var pt=new o({h:S(it,xt,!0),s:k(it,xt,!0),v:R(it,xt,!0)});Ct.push(pt)}Ct.push(jt);for(var et=1;et<=_;et+=1){var Ze=new o({h:S(it,et),s:k(it,et),v:R(it,et)});Ct.push(Ze)}return Ke.theme==="dark"?b.map(function(ge){var Ae=ge.index,Me=ge.amount;return new o(Ke.backgroundColor||"#141414").mix(Ct[Ae],Me).toHexString()}):Ct.map(function(ge){return ge.toHexString()})}var I={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 B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var N=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];N.primary=N[5];var V=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];V.primary=V[5];var W=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];W.primary=W[5];var H=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];H.primary=H[5];var te=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];te.primary=te[5];var ie=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ie.primary=ie[5];var oe=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];oe.primary=oe[5];var J=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];J.primary=J[5];var Q=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Q.primary=Q[5];var K=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];K.primary=K[5];var se=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];se.primary=se[5];var ee=se,X={red:M,volcano:B,orange:N,gold:V,yellow:W,lime:H,green:te,cyan:ie,blue:oe,geekblue:J,purple:Q,magenta:K,grey:se},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 $=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];$.primary=$[5];var ae=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ae.primary=ae[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var Ie=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Ie.primary=Ie[5];var ke=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];ke.primary=ke[5];var We=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];We.primary=We[5];var je=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];je.primary=je[5];var Mt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Mt.primary=Mt[5];var yt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];yt.primary=yt[5];var Pt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];Pt.primary=Pt[5];var tr=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];tr.primary=tr[5];var Vt={red:le,volcano:z,orange:$,gold:ae,yellow:_e,lime:Ie,green:ke,cyan:We,blue:je,geekblue:Mt,purple:yt,magenta:Pt,grey:tr}},36237:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return Ho},NaNLinter:function(){return os},StyleContext:function(){return ie},StyleProvider:function(){return te},Theme:function(){return Pt},_experimental:function(){return fu},createCache:function(){return W},createTheme:function(){return Vt},extractStyle:function(){return Fu},genCalc:function(){return ke},getComputedToken:function(){return _r},legacyLogicalPropertiesTransformer:function(){return Pu},legacyNotSelectorLinter:function(){return Fs},logicalPropertiesLinter:function(){return oo},parentSelectorLinter:function(){return eo},px2remTransformer:function(){return To},token2CSSVar:function(){return De},unit:function(){return Kt},useCSSVarRegister:function(){return lu},useCacheToken:function(){return on},useStyleRegister:function(){return Ka}});var r=e(42978),i=e(20068),l=e(94480),c=e(33885);function f(Xt){for(var fr=0,ir,dr=0,Sr=Xt.length;Sr>=4;++dr,Sr-=4)ir=Xt.charCodeAt(dr)&255|(Xt.charCodeAt(++dr)&255)<<8|(Xt.charCodeAt(++dr)&255)<<16|(Xt.charCodeAt(++dr)&255)<<24,ir=(ir&65535)*1540483477+((ir>>>16)*59797<<16),ir^=ir>>>24,fr=(ir&65535)*1540483477+((ir>>>16)*59797<<16)^(fr&65535)*1540483477+((fr>>>16)*59797<<16);switch(Sr){case 3:fr^=(Xt.charCodeAt(dr+2)&255)<<16;case 2:fr^=(Xt.charCodeAt(dr+1)&255)<<8;case 1:fr^=Xt.charCodeAt(dr)&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 o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(75931),p=e(80547),y=e(13697),_=e(67732),b=e(83652),S="%";function k(Xt){return Xt.join(S)}var R=function(){function Xt(fr){(0,_.Z)(this,Xt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=fr}return(0,b.Z)(Xt,[{key:"get",value:function(ir){return this.opGet(k(ir))}},{key:"opGet",value:function(ir){return this.cache.get(ir)||null}},{key:"update",value:function(ir,dr){return this.opUpdate(k(ir),dr)}},{key:"opUpdate",value:function(ir,dr){var Sr=this.cache.get(ir),vn=dr(Sr);vn===null?this.cache.delete(ir):this.cache.set(ir,vn)}}]),Xt}(),A=R,I=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",V="__cssinjs_instance__";function W(){var Xt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var fr=document.body.querySelectorAll("style[".concat(B,"]"))||[],ir=document.head.firstChild;Array.from(fr).forEach(function(Sr){Sr[V]=Sr[V]||Xt,Sr[V]===Xt&&document.head.insertBefore(Sr,ir)});var dr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Sr){var vn=Sr.getAttribute(B);if(dr[vn]){if(Sr[V]===Xt){var Wn;(Wn=Sr.parentNode)===null||Wn===void 0||Wn.removeChild(Sr)}}else dr[vn]=!0})}return new A(Xt)}var H=u.createContext({hashPriority:"low",cache:W(),defaultCache:!0}),te=function(fr){var ir=fr.children,dr=(0,x.Z)(fr,I),Sr=u.useContext(H),vn=(0,p.Z)(function(){var Wn=(0,c.Z)({},Sr);Object.keys(dr).forEach(function(jn){var ui=dr[jn];dr[jn]!==void 0&&(Wn[jn]=ui)});var Dn=dr.cache;return Wn.cache=Wn.cache||W(),Wn.defaultCache=!Dn&&Sr.defaultCache,Wn},[Sr,dr],function(Wn,Dn){return!(0,y.Z)(Wn[0],Dn[0],!0)||!(0,y.Z)(Wn[1],Dn[1],!0)});return u.createElement(H.Provider,{value:vn},ir)},ie=H,oe=e(76190),J=e(47273),Q=e(31226),K=e(42403),se=e(158),ee=(0,b.Z)(function Xt(){(0,_.Z)(this,Xt)}),X=ee,le="CALC_UNIT",z=new RegExp(le,"g");function $(Xt){return typeof Xt=="number"?"".concat(Xt).concat(le):Xt}var ae=function(Xt){(0,K.Z)(ir,Xt);var fr=(0,se.Z)(ir);function ir(dr,Sr){var vn;(0,_.Z)(this,ir),vn=fr.call(this),(0,i.Z)((0,Q.Z)(vn),"result",""),(0,i.Z)((0,Q.Z)(vn),"unitlessCssVar",void 0),(0,i.Z)((0,Q.Z)(vn),"lowPriority",void 0);var Wn=(0,oe.Z)(dr);return vn.unitlessCssVar=Sr,dr instanceof ir?vn.result="(".concat(dr.result,")"):Wn==="number"?vn.result=$(dr):Wn==="string"&&(vn.result=dr),vn}return(0,b.Z)(ir,[{key:"add",value:function(Sr){return Sr instanceof ir?this.result="".concat(this.result," + ").concat(Sr.getResult()):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," + ").concat($(Sr))),this.lowPriority=!0,this}},{key:"sub",value:function(Sr){return Sr instanceof ir?this.result="".concat(this.result," - ").concat(Sr.getResult()):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," - ").concat($(Sr))),this.lowPriority=!0,this}},{key:"mul",value:function(Sr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Sr instanceof ir?this.result="".concat(this.result," * ").concat(Sr.getResult(!0)):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," * ").concat(Sr)),this.lowPriority=!1,this}},{key:"div",value:function(Sr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Sr instanceof ir?this.result="".concat(this.result," / ").concat(Sr.getResult(!0)):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," / ").concat(Sr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Sr){return this.lowPriority||Sr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Sr){var vn=this,Wn=Sr||{},Dn=Wn.unit,jn=!0;return typeof Dn=="boolean"?jn=Dn:Array.from(this.unitlessCssVar).some(function(ui){return vn.result.includes(ui)})&&(jn=!1),this.result=this.result.replace(z,jn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),ir}(X),_e=function(Xt){(0,K.Z)(ir,Xt);var fr=(0,se.Z)(ir);function ir(dr){var Sr;return(0,_.Z)(this,ir),Sr=fr.call(this),(0,i.Z)((0,Q.Z)(Sr),"result",0),dr instanceof ir?Sr.result=dr.result:typeof dr=="number"&&(Sr.result=dr),Sr}return(0,b.Z)(ir,[{key:"add",value:function(Sr){return Sr instanceof ir?this.result+=Sr.result:typeof Sr=="number"&&(this.result+=Sr),this}},{key:"sub",value:function(Sr){return Sr instanceof ir?this.result-=Sr.result:typeof Sr=="number"&&(this.result-=Sr),this}},{key:"mul",value:function(Sr){return Sr instanceof ir?this.result*=Sr.result:typeof Sr=="number"&&(this.result*=Sr),this}},{key:"div",value:function(Sr){return Sr instanceof ir?this.result/=Sr.result:typeof Sr=="number"&&(this.result/=Sr),this}},{key:"equal",value:function(){return this.result}}]),ir}(X),Ie=function(fr,ir){var dr=fr==="css"?ae:_e;return function(Sr){return new dr(Sr,ir)}},ke=Ie;function We(Xt,fr){if(Xt.length!==fr.length)return!1;for(var ir=0;ir<Xt.length;ir++)if(Xt[ir]!==fr[ir])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(ir){var dr,Sr,vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Wn={map:this.cache};return ir.forEach(function(Dn){if(!Wn)Wn=void 0;else{var jn;Wn=(jn=Wn)===null||jn===void 0||(jn=jn.map)===null||jn===void 0?void 0:jn.get(Dn)}}),(dr=Wn)!==null&&dr!==void 0&&dr.value&&vn&&(Wn.value[1]=this.cacheCallTimes++),(Sr=Wn)===null||Sr===void 0?void 0:Sr.value}},{key:"get",value:function(ir){var dr;return(dr=this.internalGet(ir,!0))===null||dr===void 0?void 0:dr[0]}},{key:"has",value:function(ir){return!!this.internalGet(ir)}},{key:"set",value:function(ir,dr){var Sr=this;if(!this.has(ir)){if(this.size()+1>Xt.MAX_CACHE_SIZE+Xt.MAX_CACHE_OFFSET){var vn=this.keys.reduce(function(ui,ei){var ur=(0,r.Z)(ui,2),Mr=ur[1];return Sr.internalGet(ei)[1]<Mr?[ei,Sr.internalGet(ei)[1]]:ui},[this.keys[0],this.cacheCallTimes]),Wn=(0,r.Z)(vn,1),Dn=Wn[0];this.delete(Dn)}this.keys.push(ir)}var jn=this.cache;ir.forEach(function(ui,ei){if(ei===ir.length-1)jn.set(ui,{value:[dr,Sr.cacheCallTimes++]});else{var ur=jn.get(ui);ur?ur.map||(ur.map=new Map):jn.set(ui,{map:new Map}),jn=jn.get(ui).map}})}},{key:"deleteByPath",value:function(ir,dr){var Sr=ir.get(dr[0]);if(dr.length===1){var vn;return Sr.map?ir.set(dr[0],{map:Sr.map}):ir.delete(dr[0]),(vn=Sr.value)===null||vn===void 0?void 0:vn[0]}var Wn=this.deleteByPath(Sr.map,dr.slice(1));return(!Sr.map||Sr.map.size===0)&&!Sr.value&&ir.delete(dr[0]),Wn}},{key:"delete",value:function(ir){if(this.has(ir))return this.keys=this.keys.filter(function(dr){return!We(dr,ir)}),this.deleteByPath(this.cache,ir)}}]),Xt}();(0,i.Z)(je,"MAX_CACHE_SIZE",20),(0,i.Z)(je,"MAX_CACHE_OFFSET",5);var Mt=e(48736),yt=0,Pt=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,Mt.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(ir){return this.derivatives.reduce(function(dr,Sr){return Sr(ir,dr)},void 0)}}]),Xt}(),tr=new je;function Vt(Xt){var fr=Array.isArray(Xt)?Xt:[Xt];return tr.has(fr)||tr.set(fr,new Pt(fr)),tr.get(fr)}var lr=new WeakMap,Ke={};function Ct(Xt,fr){for(var ir=lr,dr=0;dr<fr.length;dr+=1){var Sr=fr[dr];ir.has(Sr)||ir.set(Sr,new WeakMap),ir=ir.get(Sr)}return ir.has(Ke)||ir.set(Ke,Xt()),ir.get(Ke)}var jt=new WeakMap;function it(Xt){var fr=jt.get(Xt)||"";return fr||(Object.keys(Xt).forEach(function(ir){var dr=Xt[ir];fr+=ir,dr instanceof Pt?fr+=dr.id:dr&&(0,oe.Z)(dr)==="object"?fr+=it(dr):fr+=dr}),fr=o(fr),jt.set(Xt,fr)),fr}function xt(Xt,fr){return o("".concat(fr,"_").concat(it(Xt)))}var pt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),et="_bAmBoO_";function Ze(Xt,fr,ir){if((0,J.Z)()){var dr,Sr;(0,h.hq)(Xt,pt);var vn=document.createElement("div");vn.style.position="fixed",vn.style.left="0",vn.style.top="0",fr==null||fr(vn),document.body.appendChild(vn);var Wn=ir?ir(vn):(dr=getComputedStyle(vn).content)===null||dr===void 0?void 0:dr.includes(et);return(Sr=vn.parentNode)===null||Sr===void 0||Sr.removeChild(vn),(0,h.jL)(pt),Wn}return!1}var ge=null;function Ae(){return ge===void 0&&(ge=Ze("@layer ".concat(pt," { .").concat(pt,' { content: "').concat(et,'"!important; } }'),function(Xt){Xt.className=pt})),ge}var Me=void 0;function Ue(){return Me===void 0&&(Me=Ze(":where(.".concat(pt,') { content: "').concat(et,'"!important; }'),function(Xt){Xt.className=pt})),Me}var Ge=void 0;function nt(){return Ge===void 0&&(Ge=Ze(".".concat(pt," { inset-block: 93px !important; }"),function(Xt){Xt.className=pt},function(Xt){return getComputedStyle(Xt).bottom==="93px"})),Ge}var ut=(0,J.Z)();function Kt(Xt){return typeof Xt=="number"?"".concat(Xt,"px"):Xt}function Zt(Xt,fr,ir){var dr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Sr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Sr)return Xt;var vn=(0,c.Z)((0,c.Z)({},dr),{},(0,i.Z)((0,i.Z)({},M,fr),B,ir)),Wn=Object.keys(vn).map(function(Dn){var jn=vn[Dn];return jn?"".concat(Dn,'="').concat(jn,'"'):null}).filter(function(Dn){return Dn}).join(" ");return"<style ".concat(Wn,">").concat(Xt,"</style>")}var De=function(fr){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(ir?"".concat(ir,"-"):"").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()},Je=function(fr,ir,dr){return Object.keys(fr).length?".".concat(ir).concat(dr!=null&&dr.scope?".".concat(dr.scope):"","{").concat(Object.entries(fr).map(function(Sr){var vn=(0,r.Z)(Sr,2),Wn=vn[0],Dn=vn[1];return"".concat(Wn,":").concat(Dn,";")}).join(""),"}"):""},Wt=function(fr,ir,dr){var Sr={},vn={};return Object.entries(fr).forEach(function(Wn){var Dn,jn,ui=(0,r.Z)(Wn,2),ei=ui[0],ur=ui[1];if(dr!=null&&(Dn=dr.preserve)!==null&&Dn!==void 0&&Dn[ei])vn[ei]=ur;else if((typeof ur=="string"||typeof ur=="number")&&!(dr!=null&&(jn=dr.ignore)!==null&&jn!==void 0&&jn[ei])){var Mr,Fr=De(ei,dr==null?void 0:dr.prefix);Sr[Fr]=typeof ur=="number"&&!(dr!=null&&(Mr=dr.unitless)!==null&&Mr!==void 0&&Mr[ei])?"".concat(ur,"px"):String(ur),vn[ei]="var(".concat(Fr,")")}}),[vn,Je(Sr,ir,{scope:dr==null?void 0:dr.scope})]},Ot=e(34280),zt=(0,c.Z)({},a),Ft=zt.useInsertionEffect,At=function(fr,ir,dr){u.useMemo(fr,dr),(0,Ot.Z)(function(){return ir(!0)},dr)},Yt=Ft?function(Xt,fr,ir){return Ft(function(){return Xt(),fr()},ir)}:At,Ye=Yt,ce=(0,c.Z)({},a),pe=ce.useInsertionEffect,Dt=function(fr){var ir=[],dr=!1;function Sr(vn){dr||ir.push(vn)}return u.useEffect(function(){return dr=!1,function(){dr=!0,ir.length&&ir.forEach(function(vn){return vn()})}},fr),Sr},Ce=function(){return function(fr){fr()}},ft=typeof pe!="undefined"?Dt:Ce,Ut=ft;function St(){return!1}var Oe=!1;function wt(){return Oe}var ye=St;if(0)var Xe,vt;function Rt(Xt,fr,ir,dr,Sr){var vn=u.useContext(ie),Wn=vn.cache,Dn=[Xt].concat((0,l.Z)(fr)),jn=k(Dn),ui=Ut([jn]),ei=ye(),ur=function(Tn){Wn.opUpdate(jn,function(_t){var Un=_t||[void 0,void 0],Hn=(0,r.Z)(Un,2),Li=Hn[0],ia=Li===void 0?0:Li,Kr=Hn[1],ba=Kr,qi=ba||ir(),Ia=[ia,qi];return Tn?Tn(Ia):Ia})};u.useMemo(function(){ur()},[jn]);var Mr=Wn.opGet(jn),Fr=Mr[1];return Ye(function(){Sr==null||Sr(Fr)},function(Sn){return ur(function(Tn){var _t=(0,r.Z)(Tn,2),Un=_t[0],Hn=_t[1];return Sn&&Un===0&&(Sr==null||Sr(Fr)),[Un+1,Hn]}),function(){Wn.opUpdate(jn,function(Tn){var _t=Tn||[],Un=(0,r.Z)(_t,2),Hn=Un[0],Li=Hn===void 0?0:Hn,ia=Un[1],Kr=Li-1;return Kr===0?(ui(function(){(Sn||!Wn.opGet(jn))&&(dr==null||dr(ia,!1))}),null):[Li-1,ia]})}},[jn]),Fr}var Ne={},Dr="css",Et=new Map;function Yr(Xt){Et.set(Xt,(Et.get(Xt)||0)+1)}function Jr(Xt,fr){if(typeof document!="undefined"){var ir=document.querySelectorAll("style[".concat(M,'="').concat(Xt,'"]'));ir.forEach(function(dr){if(dr[V]===fr){var Sr;(Sr=dr.parentNode)===null||Sr===void 0||Sr.removeChild(dr)}})}}var Er=0;function $r(Xt,fr){Et.set(Xt,(Et.get(Xt)||0)-1);var ir=new Set;Et.forEach(function(dr,Sr){dr<=0&&ir.add(Sr)}),Et.size-ir.size>Er&&ir.forEach(function(dr){Jr(dr,fr),Et.delete(dr)})}var _r=function(fr,ir,dr,Sr){var vn=dr.getDerivativeToken(fr),Wn=(0,c.Z)((0,c.Z)({},vn),ir);return Sr&&(Wn=Sr(Wn)),Wn},Hr="token";function on(Xt,fr){var ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},dr=(0,u.useContext)(ie),Sr=dr.cache.instanceId,vn=dr.container,Wn=ir.salt,Dn=Wn===void 0?"":Wn,jn=ir.override,ui=jn===void 0?Ne:jn,ei=ir.formatToken,ur=ir.getComputedToken,Mr=ir.cssVar,Fr=Ct(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(fr)))},fr),Sn=it(Fr),Tn=it(ui),_t=Mr?it(Mr):"",Un=Rt(Hr,[Dn,Xt.id,Sn,Tn,_t],function(){var Hn,Li=ur?ur(Fr,ui,Xt):_r(Fr,ui,Xt,ei),ia=(0,c.Z)({},Li),Kr="";if(Mr){var ba=Wt(Li,Mr.key,{prefix:Mr.prefix,ignore:Mr.ignore,unitless:Mr.unitless,preserve:Mr.preserve}),qi=(0,r.Z)(ba,2);Li=qi[0],Kr=qi[1]}var Ia=xt(Li,Dn);Li._tokenKey=Ia,ia._tokenKey=xt(ia,Dn);var lo=(Hn=Mr==null?void 0:Mr.key)!==null&&Hn!==void 0?Hn:Ia;Li._themeKey=lo,Yr(lo);var Ks="".concat(Dr,"-").concat(o(Ia));return Li._hashId=Ks,[Li,Ks,ia,Kr,(Mr==null?void 0:Mr.key)||""]},function(Hn){$r(Hn[0]._themeKey,Sr)},function(Hn){var Li=(0,r.Z)(Hn,4),ia=Li[0],Kr=Li[3];if(Mr&&Kr){var ba=(0,h.hq)(Kr,o("css-variables-".concat(ia._themeKey)),{mark:B,prepend:"queue",attachTo:vn,priority:-999});ba[V]=Sr,ba.setAttribute(M,ia._themeKey)}});return Un}var pn=function(fr,ir,dr){var Sr=(0,r.Z)(fr,5),vn=Sr[2],Wn=Sr[3],Dn=Sr[4],jn=dr||{},ui=jn.plain;if(!Wn)return null;var ei=vn._tokenKey,ur=-999,Mr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ur)},Fr=Zt(Wn,Dn,ei,Mr,ui);return[ur,ei,Fr]},or=e(54476),kt={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},mt=kt,gt="-ms-",Nt="-moz-",Ar="-webkit-",vr="comm",at="rule",Nr="decl",bn="@page",Yn="@media",mr="@import",rn="@charset",gn="@viewport",Mn="@supports",ai="@document",hi="@namespace",Vi="@keyframes",Yi="@font-face",Ri="@counter-style",Ii="@font-feature-values",Ti="@layer",Ai="@scope",oi=Math.abs,Hi=String.fromCharCode,xi=Object.assign;function xe(Xt,fr){return Di(Xt,0)^45?(((fr<<2^Di(Xt,0))<<2^Di(Xt,1))<<2^Di(Xt,2))<<2^Di(Xt,3):0}function Kn(Xt){return Xt.trim()}function qn(Xt,fr){return(Xt=fr.exec(Xt))?Xt[0]:Xt}function Jn(Xt,fr,ir){return Xt.replace(fr,ir)}function oa(Xt,fr,ir){return Xt.indexOf(fr,ir)}function Di(Xt,fr){return Xt.charCodeAt(fr)|0}function Ci(Xt,fr,ir){return Xt.slice(fr,ir)}function pi(Xt){return Xt.length}function Qt(Xt){return Xt.length}function dt(Xt,fr){return fr.push(Xt),Xt}function rt(Xt,fr){return Xt.map(fr).join("")}function It(Xt,fr){return Xt.filter(function(ir){return!qn(ir,fr)})}function ht(Xt,fr){for(var ir="",dr=0;dr<Xt.length;dr++)ir+=fr(Xt[dr],dr,Xt,fr)||"";return ir}function sr(Xt,fr,ir,dr){switch(Xt.type){case Ti:if(Xt.children.length)break;case mr:case hi:case Nr:return Xt.return=Xt.return||Xt.value;case vr:return"";case Vi:return Xt.return=Xt.value+"{"+ht(Xt.children,dr)+"}";case at:if(!pi(Xt.value=Xt.props.join(",")))return""}return pi(ir=ht(Xt.children,dr))?Xt.return=Xt.value+"{"+ir+"}":""}var cr=1,Cr=1,Rr=0,He=0,tt=0,we="";function st(Xt,fr,ir,dr,Sr,vn,Wn,Dn){return{value:Xt,root:fr,parent:ir,type:dr,props:Sr,children:vn,line:cr,column:Cr,length:Wn,return:"",siblings:Dn}}function ar(Xt,fr){return assign(st("",null,null,"",null,null,0,Xt.siblings),Xt,{length:-Xt.length},fr)}function kr(Xt){for(;Xt.root;)Xt=ar(Xt.root,{children:[Xt]});append(Xt,Xt.siblings)}function Ir(){return tt}function xr(){return tt=He>0?Di(we,--He):0,Cr--,tt===10&&(Cr=1,cr--),tt}function jr(){return tt=He<Rr?Di(we,He++):0,Cr++,tt===10&&(Cr=1,cr++),tt}function En(){return Di(we,He)}function yr(){return He}function cn(Xt,fr){return Ci(we,Xt,fr)}function an(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 dn(Xt){return cr=Cr=1,Rr=pi(we=Xt),He=0,[]}function mn(Xt){return we="",Xt}function Oa(Xt){return Kn(cn(He-1,Xi(Xt===91?Xt+2:Xt===40?Xt+1:Xt)))}function Ei(Xt){return mn($n(dn(Xt)))}function gi(Xt){for(;(tt=En())&&tt<33;)jr();return an(Xt)>2||an(tt)>3?"":" "}function $n(Xt){for(;jr();)switch(an(tt)){case 0:append(qs(He-1),Xt);break;case 2:append(Oa(tt),Xt);break;default:append(from(tt),Xt)}return Xt}function Pi(Xt,fr){for(;--fr&&jr()&&!(tt<48||tt>102||tt>57&&tt<65||tt>70&&tt<97););return cn(Xt,yr()+(fr<6&&En()==32&&jr()==32))}function Xi(Xt){for(;jr();)switch(tt){case Xt:return He;case 34:case 39:Xt!==34&&Xt!==39&&Xi(tt);break;case 40:Xt===41&&Xi(Xt);break;case 92:jr();break}return He}function Pa(Xt,fr){for(;jr()&&Xt+tt!==57;)if(Xt+tt===84&&En()===47)break;return"/*"+cn(fr,He-1)+"*"+Hi(Xt===47?Xt:jr())}function qs(Xt){for(;!an(En());)jr();return cn(Xt,He)}function ja(Xt){return mn(Ws("",null,null,null,[""],Xt=dn(Xt),0,[0],Xt))}function Ws(Xt,fr,ir,dr,Sr,vn,Wn,Dn,jn){for(var ui=0,ei=0,ur=Wn,Mr=0,Fr=0,Sn=0,Tn=1,_t=1,Un=1,Hn=0,Li="",ia=Sr,Kr=vn,ba=dr,qi=Li;_t;)switch(Sn=Hn,Hn=jr()){case 40:if(Sn!=108&&Di(qi,ur-1)==58){oa(qi+=Jn(Oa(Hn),"&","&\f"),"&\f",oi(ui?Dn[ui-1]:0))!=-1&&(Un=-1);break}case 34:case 39:case 91:qi+=Oa(Hn);break;case 9:case 10:case 13:case 32:qi+=gi(Sn);break;case 92:qi+=Pi(yr()-1,7);continue;case 47:switch(En()){case 42:case 47:dt(as(Pa(jr(),yr()),fr,ir,jn),jn),(an(Sn||1)==5||an(En()||1)==5)&&pi(qi)&&Ci(qi,-1,void 0)!==" "&&(qi+=" ");break;default:qi+="/"}break;case 123*Tn:Dn[ui++]=pi(qi)*Un;case 125*Tn:case 59:case 0:switch(Hn){case 0:case 125:_t=0;case 59+ei:Un==-1&&(qi=Jn(qi,/\f/g,"")),Fr>0&&(pi(qi)-ur||Tn===0&&Sn===47)&&dt(Fr>32?Aa(qi+";",dr,ir,ur-1,jn):Aa(Jn(qi," ","")+";",dr,ir,ur-2,jn),jn);break;case 59:qi+=";";default:if(dt(ba=mo(qi,fr,ir,ui,ei,Sr,Dn,Li,ia=[],Kr=[],ur,vn),vn),Hn===123)if(ei===0)Ws(qi,fr,ba,ba,ia,vn,ur,Dn,Kr);else{switch(Mr){case 99:if(Di(qi,3)===110)break;case 108:if(Di(qi,2)===97)break;default:ei=0;case 100:case 109:case 115:}ei?Ws(Xt,ba,ba,dr&&dt(mo(Xt,ba,ba,0,0,Sr,Dn,Li,Sr,ia=[],ur,Kr),Kr),Sr,Kr,ur,Dn,dr?ia:Kr):Ws(qi,ba,ba,ba,[""],Kr,0,Dn,Kr)}}ui=ei=Fr=0,Tn=Un=1,Li=qi="",ur=Wn;break;case 58:ur=1+pi(qi),Fr=Sn;default:if(Tn<1){if(Hn==123)--Tn;else if(Hn==125&&Tn++==0&&xr()==125)continue}switch(qi+=Hi(Hn),Hn*Tn){case 38:Un=ei>0?1:(qi+="\f",-1);break;case 44:Dn[ui++]=(pi(qi)-1)*Un,Un=1;break;case 64:En()===45&&(qi+=Oa(jr())),Mr=En(),ei=ur=pi(Li=qi+=qs(yr())),Hn++;break;case 45:Sn===45&&pi(qi)==2&&(Tn=0)}}return vn}function mo(Xt,fr,ir,dr,Sr,vn,Wn,Dn,jn,ui,ei,ur){for(var Mr=Sr-1,Fr=Sr===0?vn:[""],Sn=Qt(Fr),Tn=0,_t=0,Un=0;Tn<dr;++Tn)for(var Hn=0,Li=Ci(Xt,Mr+1,Mr=oi(_t=Wn[Tn])),ia=Xt;Hn<Sn;++Hn)(ia=Kn(_t>0?Fr[Hn]+" "+Li:Jn(Li,/&\f/g,Fr[Hn])))&&(jn[Un++]=ia);return st(Xt,fr,ir,Sr===0?at:Dn,jn,ui,ei,ur)}function as(Xt,fr,ir,dr){return st(Xt,fr,ir,vr,Hi(Ir()),Ci(Xt,2,-2),0,dr)}function Aa(Xt,fr,ir,dr,Sr){return st(Xt,fr,ir,Nr,Ci(Xt,0,dr),Ci(Xt,dr+1,-1),dr,Sr)}function $i(Xt,fr){var ir=fr.path,dr=fr.parentSelectors;(0,Mt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(ir?"Error in ".concat(ir,": "):"").concat(Xt).concat(dr.length?" Selector: ".concat(dr.join(" | ")):""))}var Gs=function(fr,ir,dr){if(fr==="content"){var Sr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,vn=["normal","none","initial","inherit","unset"];(typeof ir!="string"||vn.indexOf(ir)===-1&&!Sr.test(ir)&&(ir.charAt(0)!==ir.charAt(ir.length-1)||ir.charAt(0)!=='"'&&ir.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(ir,"\"'`."),dr)}},_s=null,Js=function(fr,ir,dr){fr==="animation"&&dr.hashId&&ir!=="none"&&lintWarning("You seem to be using hashed animation '".concat(ir,"', in which case 'animationName' with Keyframe as value is recommended."),dr)},zi=null;function Xs(Xt){var fr,ir=((fr=Xt.match(/:not\(([^)]*)\)/))===null||fr===void 0?void 0:fr[1])||"",dr=ir.split(/(\[[^[]*])|(?=[.#])/).filter(function(Sr){return Sr});return dr.length>1}function No(Xt){return Xt.parentSelectors.reduce(function(fr,ir){return fr?ir.includes("&")?ir.replace(/&/g,fr):"".concat(fr," ").concat(ir):ir},"")}var Ga=function(fr,ir,dr){var Sr=No(dr),vn=Sr.match(/:not\([^)]*\)/g)||[];vn.length>0&&vn.some(Xs)&&$i("Concat ':not' selector not support in legacy browsers.",dr)},Fs=Ga,ci=function(fr,ir,dr){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":$i("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."),dr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof ir=="string"){var Sr=ir.split(" ").map(function(Dn){return Dn.trim()});Sr.length===4&&Sr[1]!==Sr[3]&&$i("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."),dr)}return;case"clear":case"textAlign":(ir==="left"||ir==="right")&&$i("You seem to be using non-logical value '".concat(ir,"' 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."),dr);return;case"borderRadius":if(typeof ir=="string"){var vn=ir.split("/").map(function(Dn){return Dn.trim()}),Wn=vn.reduce(function(Dn,jn){if(Dn)return Dn;var ui=jn.split(" ").map(function(ei){return ei.trim()});return ui.length>=2&&ui[0]!==ui[1]||ui.length===3&&ui[1]!==ui[2]||ui.length===4&&ui[2]!==ui[3]?!0:Dn},!1);Wn&&$i("You seem to be using non-logical value '".concat(ir,"' 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."),dr)}return;default:}},oo=ci,Fn=function(fr,ir,dr){(typeof ir=="string"&&/NaN/g.test(ir)||Number.isNaN(ir))&&$i("Unexpected 'NaN' in property '".concat(fr,": ").concat(ir,"'."),dr)},os=Fn,Oo=function(fr,ir,dr){dr.parentSelectors.some(function(Sr){var vn=Sr.split(",");return vn.some(function(Wn){return Wn.split("&").length>2})})&&$i("Should not use more than one `&` in a selector.",dr)},eo=Oo,ha="data-ant-cssinjs-cache-path",ns="_FILE_STYLE__";function Qi(Xt){return Object.keys(Xt).map(function(fr){var ir=Xt[fr];return"".concat(fr,":").concat(ir)}).join(";")}var js,wo=!0;function Qo(Xt){var fr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;js=Xt,wo=fr}function Uo(){if(!js&&(js={},(0,J.Z)())){var Xt=document.createElement("div");Xt.className=ha,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(Sr){var vn=Sr.split(":"),Wn=(0,r.Z)(vn,2),Dn=Wn[0],jn=Wn[1];js[Dn]=jn});var ir=document.querySelector("style[".concat(ha,"]"));if(ir){var dr;wo=!1,(dr=ir.parentNode)===null||dr===void 0||dr.removeChild(ir)}document.body.removeChild(Xt)}}function uo(Xt){return Uo(),!!js[Xt]}function Eo(Xt){var fr=js[Xt],ir=null;if(fr&&(0,J.Z)())if(wo)ir=ns;else{var dr=document.querySelector("style[".concat(B,'="').concat(js[Xt],'"]'));dr?ir=dr.innerHTML:delete js[Xt]}return[ir,fr]}var ko="_skip_check_",zo="_multi_value_";function Ro(Xt){var fr=ht(ja(Xt),sr);return fr.replace(/\{%%%\:[^;];}/g,";")}function Zo(Xt){return(0,oe.Z)(Xt)==="object"&&Xt&&(ko in Xt||zo in Xt)}function eu(Xt,fr,ir){if(!fr)return Xt;var dr=".".concat(fr),Sr=ir==="low"?":where(".concat(dr,")"):dr,vn=Xt.split(",").map(function(Wn){var Dn,jn=Wn.trim().split(/\s+/),ui=jn[0]||"",ei=((Dn=ui.match(/^\w+/))===null||Dn===void 0?void 0:Dn[0])||"";return ui="".concat(ei).concat(Sr).concat(ui.slice(ei.length)),[ui].concat((0,l.Z)(jn.slice(1))).join(" ")});return vn.join(",")}var _i=function Xt(fr){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},dr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Sr=dr.root,vn=dr.injectHash,Wn=dr.parentSelectors,Dn=ir.hashId,jn=ir.layer,ui=ir.path,ei=ir.hashPriority,ur=ir.transformers,Mr=ur===void 0?[]:ur,Fr=ir.linters,Sn=Fr===void 0?[]:Fr,Tn="",_t={};function Un(ia){var Kr=ia.getName(Dn);if(!_t[Kr]){var ba=Xt(ia.style,ir,{root:!1,parentSelectors:Wn}),qi=(0,r.Z)(ba,1),Ia=qi[0];_t[Kr]="@keyframes ".concat(ia.getName(Dn)).concat(Ia)}}function Hn(ia){var Kr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return ia.forEach(function(ba){Array.isArray(ba)?Hn(ba,Kr):ba&&Kr.push(ba)}),Kr}var Li=Hn(Array.isArray(fr)?fr:[fr]);return Li.forEach(function(ia){var Kr=typeof ia=="string"&&!Sr?{}:ia;if(typeof Kr=="string")Tn+="".concat(Kr,`
|
|
|
`);else if(Kr._keyframe)Un(Kr);else{var ba=Mr.reduce(function(qi,Ia){var lo;return(Ia==null||(lo=Ia.visit)===null||lo===void 0?void 0:lo.call(Ia,qi))||qi},Kr);Object.keys(ba).forEach(function(qi){var Ia=ba[qi];if((0,oe.Z)(Ia)==="object"&&Ia&&(qi!=="animationName"||!Ia._keyframe)&&!Zo(Ia)){var lo=!1,Ks=qi.trim(),Wi=!1;(Sr||vn)&&Dn?Ks.startsWith("@")?lo=!0:Ks==="&"?Ks=eu("",Dn,ei):Ks=eu(qi,Dn,ei):Sr&&!Dn&&(Ks==="&"||Ks==="")&&(Ks="",Wi=!0);var co=Xt(Ia,ir,{root:Wi,injectHash:lo,parentSelectors:[].concat((0,l.Z)(Wn),[Ks])}),fo=(0,r.Z)(co,2),vs=fo[0],ls=fo[1];_t=(0,c.Z)((0,c.Z)({},_t),ls),Tn+="".concat(Ks).concat(vs)}else{let An=function(Ua,is){var Qe=Ua.replace(/[A-Z]/g,function(Lt){return"-".concat(Lt.toLowerCase())}),Re=is;!mt[Ua]&&typeof Re=="number"&&Re!==0&&(Re="".concat(Re,"px")),Ua==="animationName"&&is!==null&&is!==void 0&&is._keyframe&&(Un(is),Re=is.getName(Dn)),Tn+="".concat(Qe,":").concat(Re,";")};var Jo,So=(Jo=Ia==null?void 0:Ia.value)!==null&&Jo!==void 0?Jo:Ia;(0,oe.Z)(Ia)==="object"&&Ia!==null&&Ia!==void 0&&Ia[zo]&&Array.isArray(So)?So.forEach(function(Ua){An(qi,Ua)}):An(qi,So)}})}}),Sr?jn&&(Tn&&(Tn="@layer ".concat(jn.name," {").concat(Tn,"}")),jn.dependencies&&(_t["@layer ".concat(jn.name)]=jn.dependencies.map(function(ia){return"@layer ".concat(ia,", ").concat(jn.name,";")}).join(`
|
|
|
`))):Tn="{".concat(Tn,"}"),[Tn,_t]};function mi(Xt,fr){return o("".concat(Xt.join("%")).concat(fr))}function us(){return null}var ms="style";function Ka(Xt,fr){var ir=Xt.token,dr=Xt.path,Sr=Xt.hashId,vn=Xt.layer,Wn=Xt.nonce,Dn=Xt.clientOnly,jn=Xt.order,ui=jn===void 0?0:jn,ei=u.useContext(ie),ur=ei.autoClear,Mr=ei.mock,Fr=ei.defaultCache,Sn=ei.hashPriority,Tn=ei.container,_t=ei.ssrInline,Un=ei.transformers,Hn=ei.linters,Li=ei.cache,ia=ei.layer,Kr=ir._tokenKey,ba=[Kr];ia&&ba.push("layer"),ba.push.apply(ba,(0,l.Z)(dr));var qi=ut,Ia=Rt(ms,ba,function(){var fo=ba.join("|");if(uo(fo)){var vs=Eo(fo),ls=(0,r.Z)(vs,2),Jo=ls[0],So=ls[1];if(Jo)return[Jo,Kr,So,{},Dn,ui]}var An=fr(),Ua=_i(An,{hashId:Sr,hashPriority:Sn,layer:ia?vn:void 0,path:dr.join("-"),transformers:Un,linters:Hn}),is=(0,r.Z)(Ua,2),Qe=is[0],Re=is[1],Lt=Ro(Qe),Ht=mi(ba,Lt);return[Lt,Kr,Ht,Re,Dn,ui]},function(fo,vs){var ls=(0,r.Z)(fo,3),Jo=ls[2];(vs||ur)&&ut&&(0,h.jL)(Jo,{mark:B,attachTo:Tn})},function(fo){var vs=(0,r.Z)(fo,4),ls=vs[0],Jo=vs[1],So=vs[2],An=vs[3];if(qi&&ls!==ns){var Ua={mark:B,prepend:ia?!1:"queue",attachTo:Tn,priority:ui},is=typeof Wn=="function"?Wn():Wn;is&&(Ua.csp={nonce:is});var Qe=[],Re=[];Object.keys(An).forEach(function(Ht){Ht.startsWith("@layer")?Qe.push(Ht):Re.push(Ht)}),Qe.forEach(function(Ht){(0,h.hq)(Ro(An[Ht]),"_layer-".concat(Ht),(0,c.Z)((0,c.Z)({},Ua),{},{prepend:!0}))});var Lt=(0,h.hq)(ls,So,Ua);Lt[V]=Li.instanceId,Lt.setAttribute(M,Kr),Re.forEach(function(Ht){(0,h.hq)(Ro(An[Ht]),"_effect-".concat(Ht),Ua)})}}),lo=(0,r.Z)(Ia,3),Ks=lo[0],Wi=lo[1],co=lo[2];return function(fo){var vs;return!_t||qi||!Fr?vs=u.createElement(us,null):vs=u.createElement("style",(0,or.Z)({},(0,i.Z)((0,i.Z)({},M,Wi),B,co),{dangerouslySetInnerHTML:{__html:Ks}})),u.createElement(u.Fragment,null,vs,fo)}}var Va=function(fr,ir,dr){var Sr=(0,r.Z)(fr,6),vn=Sr[0],Wn=Sr[1],Dn=Sr[2],jn=Sr[3],ui=Sr[4],ei=Sr[5],ur=dr||{},Mr=ur.plain;if(ui)return null;var Fr=vn,Sn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ei)};return Fr=Zt(vn,Wn,Dn,Sn,Mr),jn&&Object.keys(jn).forEach(function(Tn){if(!ir[Tn]){ir[Tn]=!0;var _t=Ro(jn[Tn]),Un=Zt(_t,Wn,"_effect-".concat(Tn),Sn,Mr);Tn.startsWith("@layer")?Fr=Un+Fr:Fr+=Un}}),[ei,Dn,Fr]},As="cssVar",uu=function(fr,ir){var dr=fr.key,Sr=fr.prefix,vn=fr.unitless,Wn=fr.ignore,Dn=fr.token,jn=fr.scope,ui=jn===void 0?"":jn,ei=(0,u.useContext)(ie),ur=ei.cache.instanceId,Mr=ei.container,Fr=Dn._tokenKey,Sn=[].concat((0,l.Z)(fr.path),[dr,ui,Fr]),Tn=Rt(As,Sn,function(){var _t=ir(),Un=Wt(_t,dr,{prefix:Sr,unitless:vn,ignore:Wn,scope:ui}),Hn=(0,r.Z)(Un,2),Li=Hn[0],ia=Hn[1],Kr=mi(Sn,ia);return[Li,ia,Kr,dr]},function(_t){var Un=(0,r.Z)(_t,3),Hn=Un[2];ut&&(0,h.jL)(Hn,{mark:B,attachTo:Mr})},function(_t){var Un=(0,r.Z)(_t,3),Hn=Un[1],Li=Un[2];if(Hn){var ia=(0,h.hq)(Hn,Li,{mark:B,prepend:"queue",attachTo:Mr,priority:-999});ia[V]=ur,ia.setAttribute(M,dr)}});return Tn},Ts=function(fr,ir,dr){var Sr=(0,r.Z)(fr,4),vn=Sr[1],Wn=Sr[2],Dn=Sr[3],jn=dr||{},ui=jn.plain;if(!vn)return null;var ei=-999,ur={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ei)},Mr=Zt(vn,Dn,Wn,ur,ui);return[ei,Wn,Mr]},lu=uu,yu=(0,i.Z)((0,i.Z)((0,i.Z)({},ms,Va),Hr,pn),As,Ts);function Cu(Xt){return Xt!==null}function Fu(Xt,fr){var ir=typeof fr=="boolean"?{plain:fr}:fr||{},dr=ir.plain,Sr=dr===void 0?!1:dr,vn=ir.types,Wn=vn===void 0?["style","token","cssVar"]:vn,Dn=ir.once,jn=Dn===void 0?!1:Dn,ui=new RegExp("^(".concat((typeof Wn=="string"?[Wn]:Wn).join("|"),")%")),ei=Array.from(Xt.cache.keys()).filter(function(Sn){return ui.test(Sn)}),ur={},Mr={},Fr="";return ei.map(function(Sn){if(jn&&Xt.extracted.has(Sn))return null;var Tn=Sn.replace(ui,"").replace(/%/g,"|"),_t=Sn.split("%"),Un=(0,r.Z)(_t,1),Hn=Un[0],Li=yu[Hn],ia=Li(Xt.cache.get(Sn)[1],ur,{plain:Sr});if(!ia)return null;var Kr=(0,r.Z)(ia,3),ba=Kr[0],qi=Kr[1],Ia=Kr[2];return Sn.startsWith("style")&&(Mr[Tn]=qi),Xt.extracted.add(Sn),[ba,Ia]}).filter(Cu).sort(function(Sn,Tn){var _t=(0,r.Z)(Sn,1),Un=_t[0],Hn=(0,r.Z)(Tn,1),Li=Hn[0];return Un-Li}).forEach(function(Sn){var Tn=(0,r.Z)(Sn,2),_t=Tn[1];Fr+=_t}),Fr+=Zt(".".concat(ha,'{content:"').concat(Qi(Mr),'";}'),void 0,void 0,(0,i.Z)({},ha,ha),Sr),Fr}var xl=function(){function Xt(fr,ir){(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=ir}return(0,b.Z)(Xt,[{key:"getName",value:function(){var ir=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ir?"".concat(ir,"-").concat(this.name):this.name}}]),Xt}(),Ho=xl;function Lo(Xt){if(typeof Xt=="number")return[[Xt],!1];var fr=String(Xt).trim(),ir=fr.match(/(.*)(!important)/),dr=(ir?ir[1]:fr).trim().split(/\s+/),Sr=[],vn=0;return[dr.reduce(function(Wn,Dn){if(Dn.includes("(")||Dn.includes(")")){var jn=Dn.split("(").length-1,ui=Dn.split(")").length-1;vn+=jn-ui}return vn>=0&&Sr.push(Dn),vn===0&&(Wn.push(Sr.join(" ")),Sr=[]),Wn},[]),!!ir]}function Mo(Xt){return Xt.notSplit=!0,Xt}var zu={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 vo(Xt,fr){var ir=Xt;return fr&&(ir="".concat(ir," !important")),{_skip_check_:!0,value:ir}}var Zu={visit:function(fr){var ir={};return Object.keys(fr).forEach(function(dr){var Sr=fr[dr],vn=zu[dr];if(vn&&(typeof Sr=="number"||typeof Sr=="string")){var Wn=Lo(Sr),Dn=(0,r.Z)(Wn,2),jn=Dn[0],ui=Dn[1];vn.length&&vn.notSplit?vn.forEach(function(ei){ir[ei]=vo(Sr,ui)}):vn.length===1?ir[vn[0]]=vo(jn[0],ui):vn.length===2?vn.forEach(function(ei,ur){var Mr;ir[ei]=vo((Mr=jn[ur])!==null&&Mr!==void 0?Mr:jn[0],ui)}):vn.length===4?vn.forEach(function(ei,ur){var Mr,Fr;ir[ei]=vo((Mr=(Fr=jn[ur])!==null&&Fr!==void 0?Fr:jn[ur-2])!==null&&Mr!==void 0?Mr:jn[0],ui)}):ir[dr]=Sr}else ir[dr]=Sr}),ir}},Pu=Zu,cu=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function vu(Xt,fr){var ir=Math.pow(10,fr+1),dr=Math.floor(Xt*ir);return Math.round(dr/10)*10/ir}var to=function(){var fr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ir=fr.rootValue,dr=ir===void 0?16:ir,Sr=fr.precision,vn=Sr===void 0?5:Sr,Wn=fr.mediaQuery,Dn=Wn===void 0?!1:Wn,jn=function(ur,Mr){if(!Mr)return ur;var Fr=parseFloat(Mr);if(Fr<=1)return ur;var Sn=vu(Fr/dr,vn);return"".concat(Sn,"rem")},ui=function(ur){var Mr=(0,c.Z)({},ur);return Object.entries(ur).forEach(function(Fr){var Sn=(0,r.Z)(Fr,2),Tn=Sn[0],_t=Sn[1];if(typeof _t=="string"&&_t.includes("px")){var Un=_t.replace(cu,jn);Mr[Tn]=Un}!mt[Tn]&&typeof _t=="number"&&_t!==0&&(Mr[Tn]="".concat(_t,"px").replace(cu,jn));var Hn=Tn.trim();if(Hn.startsWith("@")&&Hn.includes("px")&&Dn){var Li=Tn.replace(cu,jn);Mr[Li]=Mr[Tn],delete Mr[Tn]}}),Mr};return{visit:ui}},To=to,fu={supportModernCSS:function(){return Ue()&&nt()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return le}});var r=e(54476),i=e(42978),l=e(20068),c=e(75931),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(33885),p=e(76190),y=e(810),_=e(96452),b=e(48736);function S(z){return z.replace(/-(.)/g,function($,ae){return ae.toUpperCase()})}function k(z,$){(0,b.ZP)(z,"[@ant-design/icons] ".concat($))}function R(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 A(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(z).reduce(function($,ae){var _e=z[ae];switch(ae){case"class":$.className=_e,delete $.class;break;default:delete $[ae],$[S(ae)]=_e}return $},{})}function I(z,$,ae){return ae?f.createElement(z.tag,(0,x.Z)((0,x.Z)({key:$},A(z.attrs)),ae),(z.children||[]).map(function(_e,Ie){return I(_e,"".concat($,"-").concat(z.tag,"-").concat(Ie))})):f.createElement(z.tag,(0,x.Z)({key:$},A(z.attrs)),(z.children||[]).map(function(_e,Ie){return I(_e,"".concat($,"-").concat(z.tag,"-").concat(Ie))}))}function M(z){return(0,u.generate)(z)[0]}function B(z){return z?Array.isArray(z)?z:[z]:[]}var N={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},V=`
|
|
|
.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);
|
|
|
}
|
|
|
}
|
|
|
`,W=function($){var ae=(0,f.useContext)(a.Z),_e=ae.csp,Ie=ae.prefixCls,ke=ae.layer,We=V;Ie&&(We=We.replace(/anticon/g,Ie)),ke&&(We="@layer ".concat(ke,` {
|
|
|
`).concat(We,`
|
|
|
}`)),(0,f.useEffect)(function(){var je=$.current,Mt=(0,_.A)(je);(0,y.hq)(We,"@ant-design-icons",{prepend:!ke,csp:_e,attachTo:Mt})},[])},H=["icon","className","onClick","style","primaryColor","secondaryColor"],te={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ie(z){var $=z.primaryColor,ae=z.secondaryColor;te.primaryColor=$,te.secondaryColor=ae||M($),te.calculated=!!ae}function oe(){return(0,x.Z)({},te)}var J=function($){var ae=$.icon,_e=$.className,Ie=$.onClick,ke=$.style,We=$.primaryColor,je=$.secondaryColor,Mt=(0,c.Z)($,H),yt=f.useRef(),Pt=te;if(We&&(Pt={primaryColor:We,secondaryColor:je||M(We)}),W(yt),k(R(ae),"icon should be icon definiton, but got ".concat(ae)),!R(ae))return null;var tr=ae;return tr&&typeof tr.icon=="function"&&(tr=(0,x.Z)((0,x.Z)({},tr),{},{icon:tr.icon(Pt.primaryColor,Pt.secondaryColor)})),I(tr.icon,"svg-".concat(tr.name),(0,x.Z)((0,x.Z)({className:_e,onClick:Ie,style:ke,"data-icon":tr.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Mt),{},{ref:yt}))};J.displayName="IconReact",J.getTwoToneColors=oe,J.setTwoToneColors=ie;var Q=J;function K(z){var $=B(z),ae=(0,i.Z)($,2),_e=ae[0],Ie=ae[1];return Q.setTwoToneColors({primaryColor:_e,secondaryColor:Ie})}function se(){var z=Q.getTwoToneColors();return z.calculated?[z.primaryColor,z.secondaryColor]:z.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];K(u.blue.primary);var X=f.forwardRef(function(z,$){var ae=z.className,_e=z.icon,Ie=z.spin,ke=z.rotate,We=z.tabIndex,je=z.onClick,Mt=z.twoToneColor,yt=(0,c.Z)(z,ee),Pt=f.useContext(a.Z),tr=Pt.prefixCls,Vt=tr===void 0?"anticon":tr,lr=Pt.rootClassName,Ke=h()(lr,Vt,(0,l.Z)((0,l.Z)({},"".concat(Vt,"-").concat(_e.name),!!_e.name),"".concat(Vt,"-spin"),!!Ie||_e.name==="loading"),ae),Ct=We;Ct===void 0&&je&&(Ct=-1);var jt=ke?{msTransform:"rotate(".concat(ke,"deg)"),transform:"rotate(".concat(ke,"deg)")}:void 0,it=B(Mt),xt=(0,i.Z)(it,2),pt=xt[0],et=xt[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},yt,{ref:$,tabIndex:Ct,onClick:je,className:Ke}),f.createElement(Q,{icon:_e,primaryColor:pt,secondaryColor:et,style:jt}))});X.displayName="AntdIcon",X.getTwoToneColor=se,X.setTwoToneColor=K;var le=X},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(54476),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},19248:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},99267:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},96512:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},78987:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},58617:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),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),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),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 o},rW:function(){return i},s:function(){return a},ve:function(){return f},vq:function(){return u}});var r=e(12187);function i(S,k,R){return{r:(0,r.sh)(S,255)*255,g:(0,r.sh)(k,255)*255,b:(0,r.sh)(R,255)*255}}function l(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),I=Math.min(S,k,R),M=0,B=0,N=(A+I)/2;if(A===I)B=0,M=0;else{var V=A-I;switch(B=N>.5?V/(2-A-I):V/(A+I),A){case S:M=(k-R)/V+(k<R?6:0);break;case k:M=(R-S)/V+2;break;case R:M=(S-k)/V+4;break;default:break}M/=6}return{h:M,s:B,l:N}}function c(S,k,R){return R<0&&(R+=1),R>1&&(R-=1),R<.16666666666666666?S+(k-S)*(6*R):R<.5?k:R<.6666666666666666?S+(k-S)*(.6666666666666666-R)*6:S}function f(S,k,R){var A,I,M;if(S=(0,r.sh)(S,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)I=R,M=R,A=R;else{var B=R<.5?R*(1+k):R+k-R*k,N=2*R-B;A=c(N,B,S+.3333333333333333),I=c(N,B,S),M=c(N,B,S-.3333333333333333)}return{r:A*255,g:I*255,b:M*255}}function o(S,k,R){S=(0,r.sh)(S,255),k=(0,r.sh)(k,255),R=(0,r.sh)(R,255);var A=Math.max(S,k,R),I=Math.min(S,k,R),M=0,B=A,N=A-I,V=A===0?0:N/A;if(A===I)M=0;else{switch(A){case S:M=(k-R)/N+(k<R?6:0);break;case k:M=(R-S)/N+2;break;case R:M=(S-k)/N+4;break;default:break}M/=6}return{h:M,s:V,v:B}}function h(S,k,R){S=(0,r.sh)(S,360)*6,k=(0,r.sh)(k,100),R=(0,r.sh)(R,100);var A=Math.floor(S),I=S-A,M=R*(1-k),B=R*(1-I*k),N=R*(1-(1-I)*k),V=A%6,W=[R,B,M,M,N,R][V],H=[N,R,R,B,M,M][V],te=[M,M,N,R,R,B][V];return{r:W*255,g:H*255,b:te*255}}function u(S,k,R,A){var I=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16))];return A&&I[0].startsWith(I[0].charAt(1))&&I[1].startsWith(I[1].charAt(1))&&I[2].startsWith(I[2].charAt(1))?I[0].charAt(0)+I[1].charAt(0)+I[2].charAt(0):I.join("")}function a(S,k,R,A,I){var M=[(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16)),(0,r.FZ)(p(A))];return I&&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,k,R,A){var I=[(0,r.FZ)(p(A)),(0,r.FZ)(Math.round(S).toString(16)),(0,r.FZ)(Math.round(k).toString(16)),(0,r.FZ)(Math.round(R).toString(16))];return I.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,k=null,R=null,A=null,I=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),I=!0,M=String(_.r).substr(-1)==="%"?"prgb":"rgb"):y(_.h)&&y(_.s)&&y(_.v)?(k=(0,l.JX)(_.s),R=(0,l.JX)(_.v),b=(0,r.WE)(_.h,k,R),I=!0,M="hsv"):y(_.h)&&y(_.s)&&y(_.l)&&(k=(0,l.JX)(_.s),A=(0,l.JX)(_.l),b=(0,r.ve)(_.h,k,A),I=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:I,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+%?",o="[-\\+]?\\d*\\.\\d+%?",h="(?:".concat(o,")|(?:").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 o}});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 o(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 o},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 o(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 W}});var r=e(42978),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(94480),x=e(34280),p=[];function y(H,te){var ie=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),oe=(0,r.Z)(ie,1),J=oe[0],Q=i.useRef(!1),K=i.useContext(u),se=i.useState(p),ee=(0,r.Z)(se,2),X=ee[0],le=ee[1],z=K||(Q.current?void 0:function(_e){le(function(Ie){var ke=[_e].concat((0,a.Z)(Ie));return ke})});function $(){J.parentElement||document.body.appendChild(J),Q.current=!0}function ae(){var _e;(_e=J.parentElement)===null||_e===void 0||_e.removeChild(J),Q.current=!1}return(0,x.Z)(function(){return H?K?K($):$():ae(),ae},[H]),(0,x.Z)(function(){X.length&&(X.forEach(function(_e){return _e()}),le(p))},[X]),[J,z]}var _=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var k="rc-util-locker-".concat(Date.now()),R=0;function A(H){var te=!!H,ie=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),oe=(0,r.Z)(ie,1),J=oe[0];(0,x.Z)(function(){if(te){var Q=(0,b.o)(document.body).width,K=S();(0,_.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(K?"width: calc(100% - ".concat(Q,"px);"):"",`
|
|
|
}`),J)}else(0,_.jL)(J);return function(){(0,_.jL)(J)}},[te,J])}var I=!1;function M(H){return typeof H=="boolean"&&(I=H),I}var B=function(te){return te===!1?!1:!(0,c.Z)()||!te?null:typeof te=="string"?document.querySelector(te):typeof te=="function"?te():te},N=i.forwardRef(function(H,te){var ie=H.open,oe=H.autoLock,J=H.getContainer,Q=H.debug,K=H.autoDestroy,se=K===void 0?!0:K,ee=H.children,X=i.useState(ie),le=(0,r.Z)(X,2),z=le[0],$=le[1],ae=z||ie;i.useEffect(function(){(se||ie)&&$(ie)},[ie,se]);var _e=i.useState(function(){return B(J)}),Ie=(0,r.Z)(_e,2),ke=Ie[0],We=Ie[1];i.useEffect(function(){var it=B(J);We(it!=null?it:null)});var je=y(ae&&!ke,Q),Mt=(0,r.Z)(je,2),yt=Mt[0],Pt=Mt[1],tr=ke!=null?ke:yt;A(oe&&ie&&(0,c.Z)()&&(tr===yt||tr===document.body));var Vt=null;if(ee&&(0,o.Yr)(ee)&&te){var lr=ee;Vt=lr.ref}var Ke=(0,o.x1)(Vt,te);if(!ae||!(0,c.Z)()||ke===void 0)return null;var Ct=tr===!1||M(),jt=ee;return te&&(jt=i.cloneElement(ee,{ref:Ke})),i.createElement(u.Provider,{value:Pt},Ct?jt:(0,l.createPortal)(jt,tr))}),V=N,W=V},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return jt}});var r=e(33885),i=e(42978),l=e(75931),c=e(43403),f=e(92310),o=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(54476),k=e(77900),R=e(8654);function A(it){var xt=it.prefixCls,pt=it.align,et=it.arrow,Ze=it.arrowPos,ge=et||{},Ae=ge.className,Me=ge.content,Ue=Ze.x,Ge=Ue===void 0?0:Ue,nt=Ze.y,ut=nt===void 0?0:nt,Kt=b.useRef();if(!pt||!pt.points)return null;var Zt={position:"absolute"};if(pt.autoArrow!==!1){var De=pt.points[0],Je=pt.points[1],Wt=De[0],Ot=De[1],zt=Je[0],Ft=Je[1];Wt===zt||!["t","b"].includes(Wt)?Zt.top=ut:Wt==="t"?Zt.top=0:Zt.bottom=0,Ot===Ft||!["l","r"].includes(Ot)?Zt.left=Ge:Ot==="l"?Zt.left=0:Zt.right=0}return b.createElement("div",{ref:Kt,className:o()("".concat(xt,"-arrow"),Ae),style:Zt},Me)}function I(it){var xt=it.prefixCls,pt=it.open,et=it.zIndex,Ze=it.mask,ge=it.motion;return Ze?b.createElement(k.default,(0,S.Z)({},ge,{motionAppear:!0,visible:pt,removeOnLeave:!0}),function(Ae){var Me=Ae.className;return b.createElement("div",{style:{zIndex:et},className:o()("".concat(xt,"-mask"),Me)})}):null}var M=b.memo(function(it){var xt=it.children;return xt},function(it,xt){return xt.cache}),B=M,N=b.forwardRef(function(it,xt){var pt=it.popup,et=it.className,Ze=it.prefixCls,ge=it.style,Ae=it.target,Me=it.onVisibleChanged,Ue=it.open,Ge=it.keepDom,nt=it.fresh,ut=it.onClick,Kt=it.mask,Zt=it.arrow,De=it.arrowPos,Je=it.align,Wt=it.motion,Ot=it.maskMotion,zt=it.forceRender,Ft=it.getPopupContainer,At=it.autoDestroy,Yt=it.portal,Ye=it.zIndex,ce=it.onMouseEnter,pe=it.onMouseLeave,Dt=it.onPointerEnter,Ce=it.ready,ft=it.offsetX,Ut=it.offsetY,St=it.offsetR,Oe=it.offsetB,wt=it.onAlign,ye=it.onPrepare,Xe=it.stretch,vt=it.targetWidth,Rt=it.targetHeight,Ne=typeof pt=="function"?pt():pt,Dr=Ue||Ge,Et=(Ft==null?void 0:Ft.length)>0,Yr=b.useState(!Ft||!Et),Jr=(0,i.Z)(Yr,2),Er=Jr[0],$r=Jr[1];if((0,y.Z)(function(){!Er&&Et&&Ae&&$r(!0)},[Er,Et,Ae]),!Er)return null;var _r="auto",Hr={left:"-1000vw",top:"-1000vh",right:_r,bottom:_r};if(Ce||!Ue){var on,pn=Je.points,or=Je.dynamicInset||((on=Je._experimental)===null||on===void 0?void 0:on.dynamicInset),kt=or&&pn[0][1]==="r",mt=or&&pn[0][0]==="b";kt?(Hr.right=St,Hr.left=_r):(Hr.left=ft,Hr.right=_r),mt?(Hr.bottom=Oe,Hr.top=_r):(Hr.top=Ut,Hr.bottom=_r)}var gt={};return Xe&&(Xe.includes("height")&&Rt?gt.height=Rt:Xe.includes("minHeight")&&Rt&&(gt.minHeight=Rt),Xe.includes("width")&&vt?gt.width=vt:Xe.includes("minWidth")&&vt&&(gt.minWidth=vt)),Ue||(gt.pointerEvents="none"),b.createElement(Yt,{open:zt||Dr,getContainer:Ft&&function(){return Ft(Ae)},autoDestroy:At},b.createElement(I,{prefixCls:Ze,open:Ue,zIndex:Ye,mask:Kt,motion:Ot}),b.createElement(h.Z,{onResize:wt,disabled:!Ue},function(Nt){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:zt,leavedClassName:"".concat(Ze,"-hidden")},Wt,{onAppearPrepare:ye,onEnterPrepare:ye,visible:Ue,onVisibleChanged:function(vr){var at;Wt==null||(at=Wt.onVisibleChanged)===null||at===void 0||at.call(Wt,vr),Me(vr)}}),function(Ar,vr){var at=Ar.className,Nr=Ar.style,bn=o()(Ze,at,et);return b.createElement("div",{ref:(0,R.sQ)(Nt,xt,vr),className:bn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(De.x||0,"px"),"--arrow-y":"".concat(De.y||0,"px")},Hr),gt),Nr),{},{boxSizing:"border-box",zIndex:Ye},ge),onMouseEnter:ce,onMouseLeave:pe,onPointerEnter:Dt,onClick:ut},Zt&&b.createElement(A,{prefixCls:Ze,arrow:Zt,arrowPos:De,align:Je}),b.createElement(B,{cache:!Ue&&!nt},Ne))})}))}),V=N,W=b.forwardRef(function(it,xt){var pt=it.children,et=it.getTriggerDOMNode,Ze=(0,R.Yr)(pt),ge=b.useCallback(function(Me){(0,R.mH)(xt,et?et(Me):Me)},[et]),Ae=(0,R.x1)(ge,pt.ref);return Ze?b.cloneElement(pt,{ref:Ae}):pt}),H=W,te=b.createContext(null),ie=te;function oe(it){return it?Array.isArray(it)?it:[it]:[]}function J(it,xt,pt,et){return b.useMemo(function(){var Ze=oe(pt!=null?pt:xt),ge=oe(et!=null?et:xt),Ae=new Set(Ze),Me=new Set(ge);return it&&(Ae.has("hover")&&(Ae.delete("hover"),Ae.add("click")),Me.has("hover")&&(Me.delete("hover"),Me.add("click"))),[Ae,Me]},[it,xt,pt,et])}var Q=e(29194);function K(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],pt=arguments.length>2?arguments[2]:void 0;return pt?it[0]===xt[0]:it[0]===xt[0]&&it[1]===xt[1]}function se(it,xt,pt,et){for(var Ze=pt.points,ge=Object.keys(it),Ae=0;Ae<ge.length;Ae+=1){var Me,Ue=ge[Ae];if(K((Me=it[Ue])===null||Me===void 0?void 0:Me.points,Ze,et))return"".concat(xt,"-placement-").concat(Ue)}return""}function ee(it,xt,pt,et){return xt||(pt?{motionName:"".concat(it,"-").concat(pt)}:et?{motionName:et}:null)}function X(it){return it.ownerDocument.defaultView}function le(it){for(var xt=[],pt=it==null?void 0:it.parentElement,et=["hidden","scroll","clip","auto"];pt;){var Ze=X(pt).getComputedStyle(pt),ge=Ze.overflowX,Ae=Ze.overflowY,Me=Ze.overflow;[ge,Ae,Me].some(function(Ue){return et.includes(Ue)})&&xt.push(pt),pt=pt.parentElement}return xt}function z(it){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(it)?xt:it}function $(it){return z(parseFloat(it),0)}function ae(it,xt){var pt=(0,r.Z)({},it);return(xt||[]).forEach(function(et){if(!(et instanceof HTMLBodyElement||et instanceof HTMLHtmlElement)){var Ze=X(et).getComputedStyle(et),ge=Ze.overflow,Ae=Ze.overflowClipMargin,Me=Ze.borderTopWidth,Ue=Ze.borderBottomWidth,Ge=Ze.borderLeftWidth,nt=Ze.borderRightWidth,ut=et.getBoundingClientRect(),Kt=et.offsetHeight,Zt=et.clientHeight,De=et.offsetWidth,Je=et.clientWidth,Wt=$(Me),Ot=$(Ue),zt=$(Ge),Ft=$(nt),At=z(Math.round(ut.width/De*1e3)/1e3),Yt=z(Math.round(ut.height/Kt*1e3)/1e3),Ye=(De-Je-zt-Ft)*At,ce=(Kt-Zt-Wt-Ot)*Yt,pe=Wt*Yt,Dt=Ot*Yt,Ce=zt*At,ft=Ft*At,Ut=0,St=0;if(ge==="clip"){var Oe=$(Ae);Ut=Oe*At,St=Oe*Yt}var wt=ut.x+Ce-Ut,ye=ut.y+pe-St,Xe=wt+ut.width+2*Ut-Ce-ft-Ye,vt=ye+ut.height+2*St-pe-Dt-ce;pt.left=Math.max(pt.left,wt),pt.top=Math.max(pt.top,ye),pt.right=Math.min(pt.right,Xe),pt.bottom=Math.min(pt.bottom,vt)}}),pt}function _e(it){var xt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,pt="".concat(xt),et=pt.match(/^(.*)\%$/);return et?it*(parseFloat(et[1])/100):parseFloat(pt)}function Ie(it,xt){var pt=xt||[],et=(0,i.Z)(pt,2),Ze=et[0],ge=et[1];return[_e(it.width,Ze),_e(it.height,ge)]}function ke(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[it[0],it[1]]}function We(it,xt){var pt=xt[0],et=xt[1],Ze,ge;return pt==="t"?ge=it.y:pt==="b"?ge=it.y+it.height:ge=it.y+it.height/2,et==="l"?Ze=it.x:et==="r"?Ze=it.x+it.width:Ze=it.x+it.width/2,{x:Ze,y:ge}}function je(it,xt){var pt={t:"b",b:"t",l:"r",r:"l"};return it.map(function(et,Ze){return Ze===xt?pt[et]||"c":et}).join("")}function Mt(it,xt,pt,et,Ze,ge,Ae){var Me=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ze[et]||{}}),Ue=(0,i.Z)(Me,2),Ge=Ue[0],nt=Ue[1],ut=b.useRef(0),Kt=b.useMemo(function(){return xt?le(xt):[]},[xt]),Zt=b.useRef({}),De=function(){Zt.current={}};it||De();var Je=(0,x.Z)(function(){if(xt&&pt&&it){let ns=function(js,wo){var Qo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:bn,Uo=Ne.x+js,uo=Ne.y+wo,Eo=Uo+on,ko=uo+Hr,zo=Math.max(Uo,Qo.left),Ro=Math.max(uo,Qo.top),Zo=Math.min(Eo,Qo.right),eu=Math.min(ko,Qo.bottom);return Math.max(0,(Zo-zo)*(eu-Ro))},Qi=function(){ar=Ne.y+Qt,kr=ar+Hr,Ir=Ne.x+pi,xr=Ir+on};var zt,Ft,At=xt,Yt=At.ownerDocument,Ye=X(At),ce=Ye.getComputedStyle(At),pe=ce.width,Dt=ce.height,Ce=ce.position,ft=At.style.left,Ut=At.style.top,St=At.style.right,Oe=At.style.bottom,wt=At.style.overflow,ye=(0,r.Z)((0,r.Z)({},Ze[et]),ge),Xe=Yt.createElement("div");(zt=At.parentElement)===null||zt===void 0||zt.appendChild(Xe),Xe.style.left="".concat(At.offsetLeft,"px"),Xe.style.top="".concat(At.offsetTop,"px"),Xe.style.position=Ce,Xe.style.height="".concat(At.offsetHeight,"px"),Xe.style.width="".concat(At.offsetWidth,"px"),At.style.left="0",At.style.top="0",At.style.right="auto",At.style.bottom="auto",At.style.overflow="hidden";var vt;if(Array.isArray(pt))vt={x:pt[0],y:pt[1],width:0,height:0};else{var Rt=pt.getBoundingClientRect();vt={x:Rt.x,y:Rt.y,width:Rt.width,height:Rt.height}}var Ne=At.getBoundingClientRect(),Dr=Yt.documentElement,Et=Dr.clientWidth,Yr=Dr.clientHeight,Jr=Dr.scrollWidth,Er=Dr.scrollHeight,$r=Dr.scrollTop,_r=Dr.scrollLeft,Hr=Ne.height,on=Ne.width,pn=vt.height,or=vt.width,kt={left:0,top:0,right:Et,bottom:Yr},mt={left:-_r,top:-$r,right:Jr-_r,bottom:Er-$r},gt=ye.htmlRegion,Nt="visible",Ar="visibleFirst";gt!=="scroll"&>!==Ar&&(gt=Nt);var vr=gt===Ar,at=ae(mt,Kt),Nr=ae(kt,Kt),bn=gt===Nt?Nr:at,Yn=vr?Nr:bn;At.style.left="auto",At.style.top="auto",At.style.right="0",At.style.bottom="0";var mr=At.getBoundingClientRect();At.style.left=ft,At.style.top=Ut,At.style.right=St,At.style.bottom=Oe,At.style.overflow=wt,(Ft=At.parentElement)===null||Ft===void 0||Ft.removeChild(Xe);var rn=z(Math.round(on/parseFloat(pe)*1e3)/1e3),gn=z(Math.round(Hr/parseFloat(Dt)*1e3)/1e3);if(rn===0||gn===0||(0,u.Sh)(pt)&&!(0,Q.Z)(pt))return;var Mn=ye.offset,ai=ye.targetOffset,hi=Ie(Ne,Mn),Vi=(0,i.Z)(hi,2),Yi=Vi[0],Ri=Vi[1],Ii=Ie(vt,ai),Ti=(0,i.Z)(Ii,2),Ai=Ti[0],oi=Ti[1];vt.x-=Ai,vt.y-=oi;var Hi=ye.points||[],xi=(0,i.Z)(Hi,2),xe=xi[0],Kn=xi[1],qn=ke(Kn),Jn=ke(xe),oa=We(vt,qn),Di=We(Ne,Jn),Ci=(0,r.Z)({},ye),pi=oa.x-Di.x+Yi,Qt=oa.y-Di.y+Ri,dt=ns(pi,Qt),rt=ns(pi,Qt,Nr),It=We(vt,["t","l"]),ht=We(Ne,["t","l"]),sr=We(vt,["b","r"]),cr=We(Ne,["b","r"]),Cr=ye.overflow||{},Rr=Cr.adjustX,He=Cr.adjustY,tt=Cr.shiftX,we=Cr.shiftY,st=function(wo){return typeof wo=="boolean"?wo:wo>=0},ar,kr,Ir,xr;Qi();var jr=st(He),En=Jn[0]===qn[0];if(jr&&Jn[0]==="t"&&(kr>Yn.bottom||Zt.current.bt)){var yr=Qt;En?yr-=Hr-pn:yr=It.y-cr.y-Ri;var cn=ns(pi,yr),an=ns(pi,yr,Nr);cn>dt||cn===dt&&(!vr||an>=rt)?(Zt.current.bt=!0,Qt=yr,Ri=-Ri,Ci.points=[je(Jn,0),je(qn,0)]):Zt.current.bt=!1}if(jr&&Jn[0]==="b"&&(ar<Yn.top||Zt.current.tb)){var dn=Qt;En?dn+=Hr-pn:dn=sr.y-ht.y-Ri;var mn=ns(pi,dn),Oa=ns(pi,dn,Nr);mn>dt||mn===dt&&(!vr||Oa>=rt)?(Zt.current.tb=!0,Qt=dn,Ri=-Ri,Ci.points=[je(Jn,0),je(qn,0)]):Zt.current.tb=!1}var Ei=st(Rr),gi=Jn[1]===qn[1];if(Ei&&Jn[1]==="l"&&(xr>Yn.right||Zt.current.rl)){var $n=pi;gi?$n-=on-or:$n=It.x-cr.x-Yi;var Pi=ns($n,Qt),Xi=ns($n,Qt,Nr);Pi>dt||Pi===dt&&(!vr||Xi>=rt)?(Zt.current.rl=!0,pi=$n,Yi=-Yi,Ci.points=[je(Jn,1),je(qn,1)]):Zt.current.rl=!1}if(Ei&&Jn[1]==="r"&&(Ir<Yn.left||Zt.current.lr)){var Pa=pi;gi?Pa+=on-or:Pa=sr.x-ht.x-Yi;var qs=ns(Pa,Qt),ja=ns(Pa,Qt,Nr);qs>dt||qs===dt&&(!vr||ja>=rt)?(Zt.current.lr=!0,pi=Pa,Yi=-Yi,Ci.points=[je(Jn,1),je(qn,1)]):Zt.current.lr=!1}Qi();var Ws=tt===!0?0:tt;typeof Ws=="number"&&(Ir<Nr.left&&(pi-=Ir-Nr.left-Yi,vt.x+or<Nr.left+Ws&&(pi+=vt.x-Nr.left+or-Ws)),xr>Nr.right&&(pi-=xr-Nr.right-Yi,vt.x>Nr.right-Ws&&(pi+=vt.x-Nr.right+Ws)));var mo=we===!0?0:we;typeof mo=="number"&&(ar<Nr.top&&(Qt-=ar-Nr.top-Ri,vt.y+pn<Nr.top+mo&&(Qt+=vt.y-Nr.top+pn-mo)),kr>Nr.bottom&&(Qt-=kr-Nr.bottom-Ri,vt.y>Nr.bottom-mo&&(Qt+=vt.y-Nr.bottom+mo)));var as=Ne.x+pi,Aa=as+on,$i=Ne.y+Qt,Gs=$i+Hr,_s=vt.x,Js=_s+or,zi=vt.y,Xs=zi+pn,No=Math.max(as,_s),Ga=Math.min(Aa,Js),Fs=(No+Ga)/2,ci=Fs-as,oo=Math.max($i,zi),Fn=Math.min(Gs,Xs),os=(oo+Fn)/2,Oo=os-$i;Ae==null||Ae(xt,Ci);var eo=mr.right-Ne.x-(pi+Ne.width),ha=mr.bottom-Ne.y-(Qt+Ne.height);nt({ready:!0,offsetX:pi/rn,offsetY:Qt/gn,offsetR:eo/rn,offsetB:ha/gn,arrowX:ci/rn,arrowY:Oo/gn,scaleX:rn,scaleY:gn,align:Ci})}}),Wt=function(){ut.current+=1;var Ft=ut.current;Promise.resolve().then(function(){ut.current===Ft&&Je()})},Ot=function(){nt(function(Ft){return(0,r.Z)((0,r.Z)({},Ft),{},{ready:!1})})};return(0,y.Z)(Ot,[et]),(0,y.Z)(function(){it||Ot()},[it]),[Ge.ready,Ge.offsetX,Ge.offsetY,Ge.offsetR,Ge.offsetB,Ge.arrowX,Ge.arrowY,Ge.scaleX,Ge.scaleY,Ge.align,Wt]}var yt=e(94480);function Pt(it,xt,pt,et,Ze){(0,y.Z)(function(){if(it&&xt&&pt){let ut=function(){et(),Ze()};var ge=xt,Ae=pt,Me=le(ge),Ue=le(Ae),Ge=X(Ae),nt=new Set([Ge].concat((0,yt.Z)(Me),(0,yt.Z)(Ue)));return nt.forEach(function(Kt){Kt.addEventListener("scroll",ut,{passive:!0})}),Ge.addEventListener("resize",ut,{passive:!0}),et(),function(){nt.forEach(function(Kt){Kt.removeEventListener("scroll",ut),Ge.removeEventListener("resize",ut)})}}},[it,xt,pt])}var tr=e(48736),Vt=e(16089);function lr(it,xt,pt,et,Ze,ge,Ae,Me){var Ue=b.useRef(it),Ge=b.useRef(!1);Ue.current!==it&&(Ge.current=!0,Ue.current=it),b.useEffect(function(){var nt=(0,Vt.Z)(function(){Ge.current=!1});return function(){Vt.Z.cancel(nt)}},[it]),b.useEffect(function(){if(xt&&et&&(!Ze||ge)){var nt=function(){var Ce=!1,ft=function(Oe){var wt=Oe.target;Ce=Ae(wt)},Ut=function(Oe){var wt=Oe.target;!Ge.current&&Ue.current&&!Ce&&!Ae(wt)&&Me(!1)};return[ft,Ut]},ut=nt(),Kt=(0,i.Z)(ut,2),Zt=Kt[0],De=Kt[1],Je=nt(),Wt=(0,i.Z)(Je,2),Ot=Wt[0],zt=Wt[1],Ft=X(et);Ft.addEventListener("mousedown",Zt,!0),Ft.addEventListener("click",De,!0),Ft.addEventListener("contextmenu",De,!0);var At=(0,a.A)(pt);if(At&&(At.addEventListener("mousedown",Ot,!0),At.addEventListener("click",zt,!0),At.addEventListener("contextmenu",zt,!0)),0)var Yt,Ye,ce,pe;return function(){Ft.removeEventListener("mousedown",Zt,!0),Ft.removeEventListener("click",De,!0),Ft.removeEventListener("contextmenu",De,!0),At&&(At.removeEventListener("mousedown",Ot,!0),At.removeEventListener("click",zt,!0),At.removeEventListener("contextmenu",zt,!0))}}},[xt,pt,et,Ze,ge])}var Ke=["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 Ct(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,xt=b.forwardRef(function(pt,et){var Ze=pt.prefixCls,ge=Ze===void 0?"rc-trigger-popup":Ze,Ae=pt.children,Me=pt.action,Ue=Me===void 0?"hover":Me,Ge=pt.showAction,nt=pt.hideAction,ut=pt.popupVisible,Kt=pt.defaultPopupVisible,Zt=pt.onPopupVisibleChange,De=pt.afterPopupVisibleChange,Je=pt.mouseEnterDelay,Wt=pt.mouseLeaveDelay,Ot=Wt===void 0?.1:Wt,zt=pt.focusDelay,Ft=pt.blurDelay,At=pt.mask,Yt=pt.maskClosable,Ye=Yt===void 0?!0:Yt,ce=pt.getPopupContainer,pe=pt.forceRender,Dt=pt.autoDestroy,Ce=pt.destroyPopupOnHide,ft=pt.popup,Ut=pt.popupClassName,St=pt.popupStyle,Oe=pt.popupPlacement,wt=pt.builtinPlacements,ye=wt===void 0?{}:wt,Xe=pt.popupAlign,vt=pt.zIndex,Rt=pt.stretch,Ne=pt.getPopupClassNameFromAlign,Dr=pt.fresh,Et=pt.alignPoint,Yr=pt.onPopupClick,Jr=pt.onPopupAlign,Er=pt.arrow,$r=pt.popupMotion,_r=pt.maskMotion,Hr=pt.popupTransitionName,on=pt.popupAnimation,pn=pt.maskTransitionName,or=pt.maskAnimation,kt=pt.className,mt=pt.getTriggerDOMNode,gt=(0,l.Z)(pt,Ke),Nt=Dt||Ce||!1,Ar=b.useState(!1),vr=(0,i.Z)(Ar,2),at=vr[0],Nr=vr[1];(0,y.Z)(function(){Nr((0,_.Z)())},[]);var bn=b.useRef({}),Yn=b.useContext(ie),mr=b.useMemo(function(){return{registerSubPopup:function(mi,us){bn.current[mi]=us,Yn==null||Yn.registerSubPopup(mi,us)}}},[Yn]),rn=(0,p.Z)(),gn=b.useState(null),Mn=(0,i.Z)(gn,2),ai=Mn[0],hi=Mn[1],Vi=(0,x.Z)(function(_i){(0,u.Sh)(_i)&&ai!==_i&&hi(_i),Yn==null||Yn.registerSubPopup(rn,_i)}),Yi=b.useState(null),Ri=(0,i.Z)(Yi,2),Ii=Ri[0],Ti=Ri[1],Ai=b.useRef(null),oi=(0,x.Z)(function(_i){(0,u.Sh)(_i)&&Ii!==_i&&(Ti(_i),Ai.current=_i)}),Hi=b.Children.only(Ae),xi=(Hi==null?void 0:Hi.props)||{},xe={},Kn=(0,x.Z)(function(_i){var mi,us,ms=Ii;return(ms==null?void 0:ms.contains(_i))||((mi=(0,a.A)(ms))===null||mi===void 0?void 0:mi.host)===_i||_i===ms||(ai==null?void 0:ai.contains(_i))||((us=(0,a.A)(ai))===null||us===void 0?void 0:us.host)===_i||_i===ai||Object.values(bn.current).some(function(Ka){return(Ka==null?void 0:Ka.contains(_i))||_i===Ka})}),qn=ee(ge,$r,on,Hr),Jn=ee(ge,_r,or,pn),oa=b.useState(Kt||!1),Di=(0,i.Z)(oa,2),Ci=Di[0],pi=Di[1],Qt=ut!=null?ut:Ci,dt=(0,x.Z)(function(_i){ut===void 0&&pi(_i)});(0,y.Z)(function(){pi(ut||!1)},[ut]);var rt=b.useRef(Qt);rt.current=Qt;var It=b.useRef([]);It.current=[];var ht=(0,x.Z)(function(_i){var mi;dt(_i),((mi=It.current[It.current.length-1])!==null&&mi!==void 0?mi:Qt)!==_i&&(It.current.push(_i),Zt==null||Zt(_i))}),sr=b.useRef(),cr=function(){clearTimeout(sr.current)},Cr=function(mi){var us=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;cr(),us===0?ht(mi):sr.current=setTimeout(function(){ht(mi)},us*1e3)};b.useEffect(function(){return cr},[]);var Rr=b.useState(!1),He=(0,i.Z)(Rr,2),tt=He[0],we=He[1];(0,y.Z)(function(_i){(!_i||Qt)&&we(!0)},[Qt]);var st=b.useState(null),ar=(0,i.Z)(st,2),kr=ar[0],Ir=ar[1],xr=b.useState([0,0]),jr=(0,i.Z)(xr,2),En=jr[0],yr=jr[1],cn=function(mi){yr([mi.clientX,mi.clientY])},an=Mt(Qt,ai,Et?En:Ii,Oe,ye,Xe,Jr),dn=(0,i.Z)(an,11),mn=dn[0],Oa=dn[1],Ei=dn[2],gi=dn[3],$n=dn[4],Pi=dn[5],Xi=dn[6],Pa=dn[7],qs=dn[8],ja=dn[9],Ws=dn[10],mo=J(at,Ue,Ge,nt),as=(0,i.Z)(mo,2),Aa=as[0],$i=as[1],Gs=Aa.has("click"),_s=$i.has("click")||$i.has("contextMenu"),Js=(0,x.Z)(function(){tt||Ws()}),zi=function(){rt.current&&Et&&_s&&Cr(!1)};Pt(Qt,Ii,ai,Js,zi),(0,y.Z)(function(){Js()},[En,Oe]),(0,y.Z)(function(){Qt&&!(ye!=null&&ye[Oe])&&Js()},[JSON.stringify(Xe)]);var Xs=b.useMemo(function(){var _i=se(ye,ge,ja,Et);return o()(_i,Ne==null?void 0:Ne(ja))},[ja,Ne,ye,ge,Et]);b.useImperativeHandle(et,function(){return{nativeElement:Ai.current,forceAlign:Js}});var No=b.useState(0),Ga=(0,i.Z)(No,2),Fs=Ga[0],ci=Ga[1],oo=b.useState(0),Fn=(0,i.Z)(oo,2),os=Fn[0],Oo=Fn[1],eo=function(){if(Rt&&Ii){var mi=Ii.getBoundingClientRect();ci(mi.width),Oo(mi.height)}},ha=function(){eo(),Js()},ns=function(mi){we(!1),Ws(),De==null||De(mi)},Qi=function(){return new Promise(function(mi){eo(),Ir(function(){return mi})})};(0,y.Z)(function(){kr&&(Ws(),kr(),Ir(null))},[kr]);function js(_i,mi,us,ms){xe[_i]=function(Ka){var Va;ms==null||ms(Ka),Cr(mi,us);for(var As=arguments.length,uu=new Array(As>1?As-1:0),Ts=1;Ts<As;Ts++)uu[Ts-1]=arguments[Ts];(Va=xi[_i])===null||Va===void 0||Va.call.apply(Va,[xi,Ka].concat(uu))}}(Gs||_s)&&(xe.onClick=function(_i){var mi;rt.current&&_s?Cr(!1):!rt.current&&Gs&&(cn(_i),Cr(!0));for(var us=arguments.length,ms=new Array(us>1?us-1:0),Ka=1;Ka<us;Ka++)ms[Ka-1]=arguments[Ka];(mi=xi.onClick)===null||mi===void 0||mi.call.apply(mi,[xi,_i].concat(ms))}),lr(Qt,_s,Ii,ai,At,Ye,Kn,Cr);var wo=Aa.has("hover"),Qo=$i.has("hover"),Uo,uo;wo&&(js("onMouseEnter",!0,Je,function(_i){cn(_i)}),js("onPointerEnter",!0,Je,function(_i){cn(_i)}),Uo=function(mi){(Qt||tt)&&ai!==null&&ai!==void 0&&ai.contains(mi.target)&&Cr(!0,Je)},Et&&(xe.onMouseMove=function(_i){var mi;(mi=xi.onMouseMove)===null||mi===void 0||mi.call(xi,_i)})),Qo&&(js("onMouseLeave",!1,Ot),js("onPointerLeave",!1,Ot),uo=function(){Cr(!1,Ot)}),Aa.has("focus")&&js("onFocus",!0,zt),$i.has("focus")&&js("onBlur",!1,Ft),Aa.has("contextMenu")&&(xe.onContextMenu=function(_i){var mi;rt.current&&$i.has("contextMenu")?Cr(!1):(cn(_i),Cr(!0)),_i.preventDefault();for(var us=arguments.length,ms=new Array(us>1?us-1:0),Ka=1;Ka<us;Ka++)ms[Ka-1]=arguments[Ka];(mi=xi.onContextMenu)===null||mi===void 0||mi.call.apply(mi,[xi,_i].concat(ms))}),kt&&(xe.className=o()(xi.className,kt));var Eo=(0,r.Z)((0,r.Z)({},xi),xe),ko={},zo=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];zo.forEach(function(_i){gt[_i]&&(ko[_i]=function(){for(var mi,us=arguments.length,ms=new Array(us),Ka=0;Ka<us;Ka++)ms[Ka]=arguments[Ka];(mi=Eo[_i])===null||mi===void 0||mi.call.apply(mi,[Eo].concat(ms)),gt[_i].apply(gt,ms)})});var Ro=b.cloneElement(Hi,(0,r.Z)((0,r.Z)({},Eo),ko)),Zo={x:Pi,y:Xi},eu=Er?(0,r.Z)({},Er!==!0?Er:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!Qt,ref:oi,onResize:ha},b.createElement(H,{getTriggerDOMNode:mt},Ro)),b.createElement(ie.Provider,{value:mr},b.createElement(V,{portal:it,ref:Vi,prefixCls:ge,popup:ft,className:o()(Ut,Xs),style:St,target:Ii,onMouseEnter:Uo,onMouseLeave:uo,onPointerEnter:Uo,zIndex:vt,open:Qt,keepDom:tt,fresh:Dr,onClick:Yr,mask:At,motion:qn,maskMotion:Jn,onVisibleChanged:ns,onPrepare:Qi,forceRender:pe,autoDestroy:Nt,getPopupContainer:ce,align:ja,arrow:eu,arrowPos:Zo,ready:mn,offsetX:Oa,offsetY:Ei,offsetR:gi,offsetB:$n,onAlign:Js,stretch:Rt,targetWidth:Fs/Pa,targetHeight:os/qs})))});return xt}var jt=Ct(c.Z)},73958:function(){"use strict"},21934:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},29724:function(d,v){"use strict";function e(i){const l={},c={channels:l,subscribe:function(f,o){return l[f]||(l[f]=[]),l[f].push(o),this.unsubscribe.bind(null,f,o)},unsubscribe:function(f,o){console.log(f,"channel");let h=l[f],u=-1;if(h){for(let a=0;a<h.length;a++)if(h[a].name===o.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 o=Array.prototype.slice.call(arguments,1);return l[f].forEach(h=>{h.apply(null,o)}),this}};return i?Object.assign(i,c):c}const r=new e;v.Z=r},22881:function(d,v,e){"use strict";e.d(v,{zt:function(){return lo},$j:function(){return qi},Ue:function(){return wo},I0:function(){return fo},v9:function(){return yu}});var r={};e.r(r),e.d(r,{actionChannel:function(){return or},all:function(){return Ne},apply:function(){return Jr},call:function(){return Yr},cancel:function(){return on},cancelled:function(){return kt},cps:function(){return Er},flush:function(){return mt},fork:function(){return $r},getContext:function(){return gt},join:function(){return Hr},put:function(){return Rt},race:function(){return Dr},select:function(){return pn},setContext:function(){return Nt},spawn:function(){return _r},take:function(){return Xe},takeEvery:function(){return dt},takeLatest:function(){return rt},takem:function(){return vt},throttle:function(){return It}});var i=e(59301),l=e(75682),c=e(59781),f=Object.assign||function(Qe){for(var Re=1;Re<arguments.length;Re++){var Lt=arguments[Re];for(var Ht in Lt)Object.prototype.hasOwnProperty.call(Lt,Ht)&&(Qe[Ht]=Lt[Ht])}return Qe},o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Qe){return typeof Qe}:function(Qe){return Qe&&typeof Symbol=="function"&&Qe.constructor===Symbol&&Qe!==Symbol.prototype?"symbol":typeof Qe},h=function(Re){return"@@redux-saga/"+Re},u=h("TASK"),a=h("HELPER"),x=h("MATCH"),p=h("CANCEL_PROMISE"),y=h("SAGA_ACTION"),_=h("SELF_CANCELLATION"),b=function(Re){return function(){return Re}},S=b(!0),k=null,R=function(){},A=function(Re){return Re};function I(Qe,Re,Lt){if(!Re(Qe))throw le("error","uncaught at check",Lt),new Error(Lt)}var M=Object.prototype.hasOwnProperty;function B(Qe,Re){return N.notUndef(Qe)&&M.call(Qe,Re)}var N={undef:function(Re){return Re==null},notUndef:function(Re){return Re!=null},func:function(Re){return typeof Re=="function"},number:function(Re){return typeof Re=="number"},string:function(Re){return typeof Re=="string"},array:Array.isArray,object:function(Re){return Re&&!N.array(Re)&&(typeof Re=="undefined"?"undefined":o(Re))==="object"},promise:function(Re){return Re&&N.func(Re.then)},iterator:function(Re){return Re&&N.func(Re.next)&&N.func(Re.throw)},iterable:function(Re){return Re&&N.func(Symbol)?N.func(Re[Symbol.iterator]):N.array(Re)},task:function(Re){return Re&&Re[u]},observable:function(Re){return Re&&N.func(Re.subscribe)},buffer:function(Re){return Re&&N.func(Re.isEmpty)&&N.func(Re.take)&&N.func(Re.put)},pattern:function(Re){return Re&&(N.string(Re)||(typeof Re=="undefined"?"undefined":o(Re))==="symbol"||N.func(Re)||N.array(Re))},channel:function(Re){return Re&&N.func(Re.take)&&N.func(Re.close)},helper:function(Re){return Re&&Re[a]},stringableFunc:function(Re){return N.func(Re)&&B(Re,"toString")}},V={assign:function(Re,Lt){for(var Ht in Lt)B(Lt,Ht)&&(Re[Ht]=Lt[Ht])}};function W(Qe,Re){var Lt=Qe.indexOf(Re);Lt>=0&&Qe.splice(Lt,1)}var H={from:function(Re){var Lt=Array(Re.length);for(var Ht in Re)B(Re,Ht)&&(Lt[Ht]=Re[Ht]);return Lt}};function te(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Re=f({},Qe),Lt=new Promise(function(Ht,pr){Re.resolve=Ht,Re.reject=pr});return Re.promise=Lt,Re}function ie(Qe){for(var Re=[],Lt=0;Lt<Qe;Lt++)Re.push(te());return Re}function oe(Qe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Lt=void 0,Ht=new Promise(function(pr){Lt=setTimeout(function(){return pr(Re)},Qe)});return Ht[p]=function(){return clearTimeout(Lt)},Ht}function J(){var Qe,Re=!0,Lt=void 0,Ht=void 0;return Qe={},Qe[u]=!0,Qe.isRunning=function(){return Re},Qe.result=function(){return Lt},Qe.error=function(){return Ht},Qe.setRunning=function(Br){return Re=Br},Qe.setResult=function(Br){return Lt=Br},Qe.setError=function(Br){return Ht=Br},Qe}function Q(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Qe}}var K=Q(),se=function(Re){throw Re},ee=function(Re){return{value:Re,done:!0}};function X(Qe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Ht=arguments[3],pr={name:Lt,next:Qe,throw:Re,return:ee};return Ht&&(pr[a]=!0),typeof Symbol!="undefined"&&(pr[Symbol.iterator]=function(){return pr}),pr}function le(Qe,Re){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Qe+": "+Re+`
|
|
|
`+(Lt&&Lt.stack||Lt)):console[Qe](Re,Lt)}function z(Qe,Re){return function(){return Qe.apply(void 0,arguments)}}var $=function(Re,Lt){return Re+" has been deprecated in favor of "+Lt+", please update your code"},ae=function(Re){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: `+Re+`
|
|
|
`)},_e=function(Re,Lt){return(Re?Re+".":"")+"setContext(props): argument "+Lt+" is not a plain object"},Ie=function(Re){return function(Lt){return Re(Object.defineProperty(Lt,y,{value:!0}))}},ke=function Qe(Re){return function(){for(var Lt=arguments.length,Ht=Array(Lt),pr=0;pr<Lt;pr++)Ht[pr]=arguments[pr];var Br=[],Wr=Re.apply(void 0,Ht);return{next:function(ln){return Br.push(ln),Wr.next(ln)},clone:function(){var ln=Qe(Re).apply(void 0,Ht);return Br.forEach(function(xn){return ln.next(xn)}),ln},return:function(ln){return Wr.return(ln)},throw:function(ln){return Wr.throw(ln)}}}},We="Channel's Buffer overflow!",je=1,Mt=2,yt=3,Pt=4,tr={isEmpty:S,put:R,take:R};function Vt(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Re=arguments[1],Lt=new Array(Qe),Ht=0,pr=0,Br=0,Wr=function(ti){Lt[pr]=ti,pr=(pr+1)%Qe,Ht++},yn=function(){if(Ht!=0){var ti=Lt[Br];return Lt[Br]=null,Ht--,Br=(Br+1)%Qe,ti}},ln=function(){for(var ti=[];Ht;)ti.push(yn());return ti};return{isEmpty:function(){return Ht==0},put:function(ti){if(Ht<Qe)Wr(ti);else{var ni=void 0;switch(Re){case je:throw new Error(We);case yt:Lt[pr]=ti,pr=(pr+1)%Qe,Br=pr;break;case Pt:ni=2*Qe,Lt=ln(),Ht=Lt.length,pr=Lt.length,Br=0,Lt.length=ni,Qe=ni,Wr(ti);break;default:}}},take:yn,flush:ln}}var lr={none:function(){return tr},fixed:function(Re){return Vt(Re,je)},dropping:function(Re){return Vt(Re,Mt)},sliding:function(Re){return Vt(Re,yt)},expanding:function(Re){return Vt(Re,Pt)}},Ke=[],Ct=0;function jt(Qe){try{xt(),Qe()}finally{pt()}}function it(Qe){Ke.push(Qe),Ct||(xt(),et())}function xt(){Ct++}function pt(){Ct--}function et(){pt();for(var Qe=void 0;!Ct&&(Qe=Ke.shift())!==void 0;)jt(Qe)}var Ze=Object.assign||function(Qe){for(var Re=1;Re<arguments.length;Re++){var Lt=arguments[Re];for(var Ht in Lt)Object.prototype.hasOwnProperty.call(Lt,Ht)&&(Qe[Ht]=Lt[Ht])}return Qe},ge="@@redux-saga/CHANNEL_END",Ae={type:ge},Me=function(Re){return Re&&Re.type===ge};function Ue(){var Qe=[];function Re(Ht){return Qe.push(Ht),function(){return W(Qe,Ht)}}function Lt(Ht){for(var pr=Qe.slice(),Br=0,Wr=pr.length;Br<Wr;Br++)pr[Br](Ht)}return{subscribe:Re,emit:Lt}}var Ge="invalid buffer passed to channel factory function",nt="Saga was provided with an undefined action";function ut(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:lr.fixed(),Re=!1,Lt=[];I(Qe,N.buffer,Ge);function Ht(){if(Re&&Lt.length)throw ae("Cannot have a closed channel with pending takers");if(Lt.length&&!Qe.isEmpty())throw ae("Cannot have pending takers with non empty buffer")}function pr(ln){if(Ht(),I(ln,N.notUndef,nt),!Re){if(!Lt.length)return Qe.put(ln);for(var xn=0;xn<Lt.length;xn++){var ti=Lt[xn];if(!ti[x]||ti[x](ln))return Lt.splice(xn,1),ti(ln)}}}function Br(ln){Ht(),I(ln,N.func,"channel.take's callback must be a function"),Re&&Qe.isEmpty()?ln(Ae):Qe.isEmpty()?(Lt.push(ln),ln.cancel=function(){return W(Lt,ln)}):ln(Qe.take())}function Wr(ln){if(Ht(),I(ln,N.func,"channel.flush' callback must be a function"),Re&&Qe.isEmpty()){ln(Ae);return}ln(Qe.flush())}function yn(){if(Ht(),!Re&&(Re=!0,Lt.length)){var ln=Lt;Lt=[];for(var xn=0,ti=ln.length;xn<ti;xn++)ln[xn](Ae)}}return{take:Br,put:pr,flush:Wr,close:yn,get __takers__(){return Lt},get __closed__(){return Re}}}function Kt(Qe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:lr.none(),Lt=arguments[2];arguments.length>2&&I(Lt,N.func,"Invalid match function passed to eventChannel");var Ht=ut(Re),pr=function(){Ht.__closed__||(Br&&Br(),Ht.close())},Br=Qe(function(Wr){if(Me(Wr)){pr();return}Lt&&!Lt(Wr)||Ht.put(Wr)});if(Ht.__closed__&&Br(),!N.func(Br))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Ht.take,flush:Ht.flush,close:pr}}function Zt(Qe){var Re=Kt(function(Lt){return Qe(function(Ht){if(Ht[y]){Lt(Ht);return}it(function(){return Lt(Ht)})})});return Ze({},Re,{take:function(Ht,pr){arguments.length>1&&(I(pr,N.func,"channel.take's matcher argument must be a function"),Ht[x]=pr),Re.take(Ht)}})}var De=h("IO"),Je="TAKE",Wt="PUT",Ot="ALL",zt="RACE",Ft="CALL",At="CPS",Yt="FORK",Ye="JOIN",ce="CANCEL",pe="SELECT",Dt="ACTION_CHANNEL",Ce="CANCELLED",ft="FLUSH",Ut="GET_CONTEXT",St="SET_CONTEXT",Oe=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,wt=function(Re,Lt){var Ht;return Ht={},Ht[De]=!0,Ht[Re]=Lt,Ht},ye=function(Re){return I(vr.fork(Re),N.object,"detach(eff): argument must be a fork effect"),Re[Yt].detached=!0,Re};function Xe(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&I(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Qe))return wt(Je,{pattern:Qe});if(N.channel(Qe))return wt(Je,{channel:Qe});throw new Error("take(patternOrChannel): argument "+String(Qe)+" is not valid channel or a valid pattern")}Xe.maybe=function(){var Qe=Xe.apply(void 0,arguments);return Qe[Je].maybe=!0,Qe};var vt=z(Xe.maybe,$("takem","take.maybe"));function Rt(Qe,Re){return arguments.length>1?(I(Qe,N.notUndef,"put(channel, action): argument channel is undefined"),I(Qe,N.channel,"put(channel, action): argument "+Qe+" is not a valid channel"),I(Re,N.notUndef,"put(channel, action): argument action is undefined")):(I(Qe,N.notUndef,"put(action): argument action is undefined"),Re=Qe,Qe=null),wt(Wt,{channel:Qe,action:Re})}Rt.resolve=function(){var Qe=Rt.apply(void 0,arguments);return Qe[Wt].resolve=!0,Qe},Rt.sync=z(Rt.resolve,$("put.sync","put.resolve"));function Ne(Qe){return wt(Ot,Qe)}function Dr(Qe){return wt(zt,Qe)}function Et(Qe,Re,Lt){I(Re,N.notUndef,Qe+": argument fn is undefined");var Ht=null;if(N.array(Re)){var pr=Re;Ht=pr[0],Re=pr[1]}else if(Re.fn){var Br=Re;Ht=Br.context,Re=Br.fn}return Ht&&N.string(Re)&&N.func(Ht[Re])&&(Re=Ht[Re]),I(Re,N.func,Qe+": argument "+Re+" is not a function"),{context:Ht,fn:Re,args:Lt}}function Yr(Qe){for(var Re=arguments.length,Lt=Array(Re>1?Re-1:0),Ht=1;Ht<Re;Ht++)Lt[Ht-1]=arguments[Ht];return wt(Ft,Et("call",Qe,Lt))}function Jr(Qe,Re){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wt(Ft,Et("apply",{context:Qe,fn:Re},Lt))}function Er(Qe){for(var Re=arguments.length,Lt=Array(Re>1?Re-1:0),Ht=1;Ht<Re;Ht++)Lt[Ht-1]=arguments[Ht];return wt(At,Et("cps",Qe,Lt))}function $r(Qe){for(var Re=arguments.length,Lt=Array(Re>1?Re-1:0),Ht=1;Ht<Re;Ht++)Lt[Ht-1]=arguments[Ht];return wt(Yt,Et("fork",Qe,Lt))}function _r(Qe){for(var Re=arguments.length,Lt=Array(Re>1?Re-1:0),Ht=1;Ht<Re;Ht++)Lt[Ht-1]=arguments[Ht];return ye($r.apply(void 0,[Qe].concat(Lt)))}function Hr(){for(var Qe=arguments.length,Re=Array(Qe),Lt=0;Lt<Qe;Lt++)Re[Lt]=arguments[Lt];if(Re.length>1)return Ne(Re.map(function(pr){return Hr(pr)}));var Ht=Re[0];return I(Ht,N.notUndef,"join(task): argument task is undefined"),I(Ht,N.task,"join(task): argument "+Ht+" is not a valid Task object "+Oe),wt(Ye,Ht)}function on(){for(var Qe=arguments.length,Re=Array(Qe),Lt=0;Lt<Qe;Lt++)Re[Lt]=arguments[Lt];if(Re.length>1)return Ne(Re.map(function(pr){return on(pr)}));var Ht=Re[0];return Re.length===1&&(I(Ht,N.notUndef,"cancel(task): argument task is undefined"),I(Ht,N.task,"cancel(task): argument "+Ht+" is not a valid Task object "+Oe)),wt(ce,Ht||_)}function pn(Qe){for(var Re=arguments.length,Lt=Array(Re>1?Re-1:0),Ht=1;Ht<Re;Ht++)Lt[Ht-1]=arguments[Ht];return arguments.length===0?Qe=A:(I(Qe,N.notUndef,"select(selector,[...]): argument selector is undefined"),I(Qe,N.func,"select(selector,[...]): argument "+Qe+" is not a function")),wt(pe,{selector:Qe,args:Lt})}function or(Qe,Re){return I(Qe,N.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(I(Re,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),I(Re,N.buffer,"actionChannel(pattern, buffer): argument "+Re+" is not a valid buffer")),wt(Dt,{pattern:Qe,buffer:Re})}function kt(){return wt(Ce,{})}function mt(Qe){return I(Qe,N.channel,"flush(channel): argument "+Qe+" is not valid channel"),wt(ft,Qe)}function gt(Qe){return I(Qe,N.string,"getContext(prop): argument "+Qe+" is not a string"),wt(Ut,Qe)}function Nt(Qe){return I(Qe,N.object,_e(null,Qe)),wt(St,Qe)}var Ar=function(Re){return function(Lt){return Lt&&Lt[De]&&Lt[Re]}},vr={take:Ar(Je),put:Ar(Wt),all:Ar(Ot),race:Ar(zt),call:Ar(Ft),cps:Ar(At),fork:Ar(Yt),join:Ar(Ye),cancel:Ar(ce),select:Ar(pe),actionChannel:Ar(Dt),cancelled:Ar(Ce),flush:Ar(ft),getContext:Ar(Ut),setContext:Ar(St)},at=Object.assign||function(Qe){for(var Re=1;Re<arguments.length;Re++){var Lt=arguments[Re];for(var Ht in Lt)Object.prototype.hasOwnProperty.call(Lt,Ht)&&(Qe[Ht]=Lt[Ht])}return Qe},Nr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Qe){return typeof Qe}:function(Qe){return Qe&&typeof Symbol=="function"&&Qe.constructor===Symbol&&Qe!==Symbol.prototype?"symbol":typeof Qe};function bn(Qe,Re){for(var Lt in Re){var Ht=Re[Lt];Ht.configurable=Ht.enumerable=!0,"value"in Ht&&(Ht.writable=!0),Object.defineProperty(Qe,Lt,Ht)}return Qe}var Yn="proc first argument (Saga function result) must be an iterator",mr={toString:function(){return"@@redux-saga/CHANNEL_END"}},rn={toString:function(){return"@@redux-saga/TASK_CANCEL"}},gn={wildcard:function(){return S},default:function(Re){return(typeof Re=="undefined"?"undefined":Nr(Re))==="symbol"?function(Lt){return Lt.type===Re}:function(Lt){return Lt.type===String(Re)}},array:function(Re){return function(Lt){return Re.some(function(Ht){return Mn(Ht)(Lt)})}},predicate:function(Re){return function(Lt){return Re(Lt)}}};function Mn(Qe){return(Qe==="*"?gn.wildcard:N.array(Qe)?gn.array:N.stringableFunc(Qe)?gn.default:N.func(Qe)?gn.predicate:gn.default)(Qe)}function ai(Qe,Re,Lt){var Ht=[],pr=void 0,Br=!1;yn(Re);function Wr(xn){ln(),Lt(xn,!0)}function yn(xn){Ht.push(xn),xn.cont=function(ti,ni){Br||(W(Ht,xn),xn.cont=R,ni?Wr(ti):(xn===Re&&(pr=ti),Ht.length||(Br=!0,Lt(pr))))}}function ln(){Br||(Br=!0,Ht.forEach(function(xn){xn.cont=R,xn.cancel()}),Ht=[])}return{addTask:yn,cancelAll:ln,abort:Wr,getTasks:function(){return Ht},taskNames:function(){return Ht.map(function(ti){return ti.name})}}}function hi(Qe){var Re=Qe.context,Lt=Qe.fn,Ht=Qe.args;if(N.iterator(Lt))return Lt;var pr=void 0,Br=void 0;try{pr=Lt.apply(Re,Ht)}catch(Wr){Br=Wr}return N.iterator(pr)?pr:X(Br?function(){throw Br}:function(){var Wr=void 0,yn={done:!1,value:pr},ln=function(ti){return{done:!0,value:ti}};return function(xn){return Wr?ln(xn):(Wr=!0,yn)}}())}var Vi=function(Re){return{fn:Re}};function Yi(Qe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return R},Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,Ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,pr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Br=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Wr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,yn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",ln=arguments[8];I(Qe,N.iterator,Yn);var xn="[...effects]",ti=z(yo,$(xn,"all("+xn+")")),ni=Br.sagaMonitor,vi=Br.logger,ji=Br.onError,ga=vi||le,Ji=function(qr){var On=qr.sagaStack;!On&&qr.stack&&(On=qr.stack.split(`
|
|
|
`)[0].indexOf(qr.message)!==-1?qr.stack:"Error: "+qr.message+`
|
|
|
`+qr.stack),ga("error","uncaught at "+yn,On||qr.message||qr)},Mi=Zt(Re),Da=Object.create(pr);Xa.cancel=R;var Oi=tn(Wr,yn,Qe,ln),Si={name:yn,cancel:Co,isRunning:!0},Ea=ai(yn,Si,Qa);function Co(){Si.isRunning&&!Si.isCancelled&&(Si.isCancelled=!0,Xa(rn))}function Us(){Qe._isRunning&&!Qe._isCancelled&&(Qe._isCancelled=!0,Ea.cancelAll(),Qa(rn))}return ln&&(ln.cancel=Us),Qe._isRunning=!0,Xa(),Oi;function Xa(gr,qr){if(!Si.isRunning)throw new Error("Trying to resume an already finished generator");try{var On=void 0;qr?On=Qe.throw(gr):gr===rn?(Si.isCancelled=!0,Xa.cancel(),On=N.func(Qe.return)?Qe.return(rn):{done:!0,value:rn}):gr===mr?On=N.func(Qe.return)?Qe.return():{done:!0}:On=Qe.next(gr),On.done?(Si.isMainRunning=!1,Si.cont&&Si.cont(On.value)):cs(On.value,Wr,"",Xa)}catch(ii){Si.isCancelled&&Ji(ii),Si.isMainRunning=!1,Si.cont(ii,!0)}}function Qa(gr,qr){Qe._isRunning=!1,Mi.close(),qr?(gr instanceof Error&&Object.defineProperty(gr,"sagaStack",{value:"at "+yn+`
|
|
|
`+(gr.sagaStack||gr.stack),configurable:!0}),Oi.cont||(gr instanceof Error&&ji?ji(gr):Ji(gr)),Qe._error=gr,Qe._isAborted=!0,Qe._deferredEnd&&Qe._deferredEnd.reject(gr)):(Qe._result=gr,Qe._deferredEnd&&Qe._deferredEnd.resolve(gr)),Oi.cont&&Oi.cont(gr,qr),Oi.joiners.forEach(function(On){return On.cb(gr,qr)}),Oi.joiners=null}function cs(gr,qr){var On=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",ii=arguments[3],Gi=K();ni&&ni.effectTriggered({effectId:Gi,parentEffectId:qr,label:On,effect:gr});var zn=void 0;function Zn(ua,es){zn||(zn=!0,ii.cancel=R,ni&&(es?ni.effectRejected(Gi,ua):ni.effectResolved(Gi,ua)),ii(ua,es))}Zn.cancel=R,ii.cancel=function(){if(!zn){zn=!0;try{Zn.cancel()}catch(ua){Ji(ua)}Zn.cancel=R,ni&&ni.effectCancelled(Gi)}};var wn=void 0;return N.promise(gr)?Ui(gr,Zn):N.helper(gr)?Ba(Vi(gr),Gi,Zn):N.iterator(gr)?La(gr,Gi,yn,Zn):N.array(gr)?ti(gr,Gi,Zn):(wn=vr.take(gr))?fs(wn,Zn):(wn=vr.put(gr))?ds(wn,Zn):(wn=vr.all(gr))?yo(wn,Gi,Zn):(wn=vr.race(gr))?Ra(wn,Gi,Zn):(wn=vr.call(gr))?Fo(wn,Gi,Zn):(wn=vr.cps(gr))?bs(wn,Zn):(wn=vr.fork(gr))?Ba(wn,Gi,Zn):(wn=vr.join(gr))?go(wn,Zn):(wn=vr.cancel(gr))?Ja(wn,Zn):(wn=vr.select(gr))?hs(wn,Zn):(wn=vr.actionChannel(gr))?ro(wn,Zn):(wn=vr.flush(gr))?be(wn,Zn):(wn=vr.cancelled(gr))?Ma(wn,Zn):(wn=vr.getContext(gr))?Se(wn,Zn):(wn=vr.setContext(gr))?br(wn,Zn):Zn(gr)}function Ui(gr,qr){var On=gr[p];N.func(On)?qr.cancel=On:N.func(gr.abort)&&(qr.cancel=function(){return gr.abort()}),gr.then(qr,function(ii){return qr(ii,!0)})}function La(gr,qr,On,ii){Yi(gr,Re,Lt,Ht,Da,Br,qr,On,ii)}function fs(gr,qr){var On=gr.channel,ii=gr.pattern,Gi=gr.maybe;On=On||Mi;var zn=function(wn){return wn instanceof Error?qr(wn,!0):Me(wn)&&!Gi?qr(mr):qr(wn)};try{On.take(zn,Mn(ii))}catch(Zn){return qr(Zn,!0)}qr.cancel=zn.cancel}function ds(gr,qr){var On=gr.channel,ii=gr.action,Gi=gr.resolve;it(function(){var zn=void 0;try{zn=(On?On.put:Lt)(ii)}catch(Zn){if(On||Gi)return qr(Zn,!0);Ji(Zn)}if(Gi&&N.promise(zn))Ui(zn,qr);else return qr(zn)})}function Fo(gr,qr,On){var ii=gr.context,Gi=gr.fn,zn=gr.args,Zn=void 0;try{Zn=Gi.apply(ii,zn)}catch(wn){return On(wn,!0)}return N.promise(Zn)?Ui(Zn,On):N.iterator(Zn)?La(Zn,qr,Gi.name,On):On(Zn)}function bs(gr,qr){var On=gr.context,ii=gr.fn,Gi=gr.args;try{var zn=function(wn,ua){return N.undef(wn)?qr(ua):qr(wn,!0)};ii.apply(On,Gi.concat(zn)),zn.cancel&&(qr.cancel=function(){return zn.cancel()})}catch(Zn){return qr(Zn,!0)}}function Ba(gr,qr,On){var ii=gr.context,Gi=gr.fn,zn=gr.args,Zn=gr.detached,wn=hi({context:ii,fn:Gi,args:zn});try{xt();var ua=Yi(wn,Re,Lt,Ht,Da,Br,qr,Gi.name,Zn?null:R);Zn?On(ua):wn._isRunning?(Ea.addTask(ua),On(ua)):wn._error?Ea.abort(wn._error):On(ua)}finally{et()}}function go(gr,qr){if(gr.isRunning()){var On={task:Oi,cb:qr};qr.cancel=function(){return W(gr.joiners,On)},gr.joiners.push(On)}else gr.isAborted()?qr(gr.error(),!0):qr(gr.result())}function Ja(gr,qr){gr===_&&(gr=Oi),gr.isRunning()&&gr.cancel(),qr()}function yo(gr,qr,On){var ii=Object.keys(gr);if(!ii.length)return On(N.array(gr)?[]:{});var Gi=0,zn=void 0,Zn={},wn={};function ua(){Gi===ii.length&&(zn=!0,On(N.array(gr)?H.from(at({},Zn,{length:ii.length})):Zn))}ii.forEach(function(es){var Wo=function(Iu,Zl){zn||(Zl||Me(Iu)||Iu===mr||Iu===rn?(On.cancel(),On(Iu,Zl)):(Zn[es]=Iu,Gi++,ua()))};Wo.cancel=R,wn[es]=Wo}),On.cancel=function(){zn||(zn=!0,ii.forEach(function(es){return wn[es].cancel()}))},ii.forEach(function(es){return cs(gr[es],qr,es,wn[es])})}function Ra(gr,qr,On){var ii=void 0,Gi=Object.keys(gr),zn={};Gi.forEach(function(Zn){var wn=function(es,Wo){if(!ii){if(Wo)On.cancel(),On(es,!0);else if(!Me(es)&&es!==mr&&es!==rn){var bo;On.cancel(),ii=!0;var Iu=(bo={},bo[Zn]=es,bo);On(N.array(gr)?[].slice.call(at({},Iu,{length:Gi.length})):Iu)}}};wn.cancel=R,zn[Zn]=wn}),On.cancel=function(){ii||(ii=!0,Gi.forEach(function(Zn){return zn[Zn].cancel()}))},Gi.forEach(function(Zn){ii||cs(gr[Zn],qr,Zn,zn[Zn])})}function hs(gr,qr){var On=gr.selector,ii=gr.args;try{var Gi=On.apply(void 0,[Ht()].concat(ii));qr(Gi)}catch(zn){qr(zn,!0)}}function ro(gr,qr){var On=gr.pattern,ii=gr.buffer,Gi=Mn(On);Gi.pattern=On,qr(Kt(Re,ii||lr.fixed(),Gi))}function Ma(gr,qr){qr(!!Si.isCancelled)}function be(gr,qr){gr.flush(qr)}function Se(gr,qr){qr(Da[gr])}function br(gr,qr){V.assign(Da,gr),qr()}function tn(gr,qr,On,ii){var Gi,zn,Zn;return On._deferredEnd=null,zn={},zn[u]=!0,zn.id=gr,zn.name=qr,Gi="done",Zn={},Zn[Gi]=Zn[Gi]||{},Zn[Gi].get=function(){if(On._deferredEnd)return On._deferredEnd.promise;var wn=te();return On._deferredEnd=wn,On._isRunning||(On._error?wn.reject(On._error):wn.resolve(On._result)),wn.promise},zn.cont=ii,zn.joiners=[],zn.cancel=Us,zn.isRunning=function(){return On._isRunning},zn.isCancelled=function(){return On._isCancelled},zn.isAborted=function(){return On._isAborted},zn.result=function(){return On._result},zn.error=function(){return On._error},zn.setContext=function(ua){I(ua,N.object,_e("task",ua)),V.assign(Da,ua)},bn(zn,Zn),zn}}var Ri="runSaga(storeInterface, saga, ...args)",Ii=Ri+": saga argument must be a Generator function!";function Ti(Qe,Re){for(var Lt=arguments.length,Ht=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Ht[pr-2]=arguments[pr];var Br=void 0;N.iterator(Qe)?(Br=Qe,Qe=Re):(I(Re,N.func,Ii),Br=Re.apply(void 0,Ht),I(Br,N.iterator,Ii));var Wr=Qe,yn=Wr.subscribe,ln=Wr.dispatch,xn=Wr.getState,ti=Wr.context,ni=Wr.sagaMonitor,vi=Wr.logger,ji=Wr.onError,ga=K();ni&&(ni.effectTriggered=ni.effectTriggered||R,ni.effectResolved=ni.effectResolved||R,ni.effectRejected=ni.effectRejected||R,ni.effectCancelled=ni.effectCancelled||R,ni.actionDispatched=ni.actionDispatched||R,ni.effectTriggered({effectId:ga,root:!0,parentEffectId:0,effect:{root:!0,saga:Re,args:Ht}}));var Ji=Yi(Br,yn,Ie(ln),xn,ti,{sagaMonitor:ni,logger:vi,onError:ji},ga,Re.name);return ni&&ni.effectResolved(ga,Ji),Ji}function Ai(Qe,Re){var Lt={};for(var Ht in Qe)Re.indexOf(Ht)>=0||Object.prototype.hasOwnProperty.call(Qe,Ht)&&(Lt[Ht]=Qe[Ht]);return Lt}function oi(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Re=Qe.context,Lt=Re===void 0?{}:Re,Ht=Ai(Qe,["context"]),pr=Ht.sagaMonitor,Br=Ht.logger,Wr=Ht.onError;if(N.func(Ht))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Br&&!N.func(Br))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Wr&&!N.func(Wr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Ht.emitter&&!N.func(Ht.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function yn(ln){var xn=ln.getState,ti=ln.dispatch,ni=Ue();return ni.emit=(Ht.emitter||A)(ni.emit),yn.run=Ti.bind(null,{context:Lt,subscribe:ni.subscribe,dispatch:ti,getState:xn,sagaMonitor:pr,logger:Br,onError:Wr}),function(vi){return function(ji){pr&&pr.actionDispatched&&pr.actionDispatched(ji);var ga=vi(ji);return ni.emit(ji),ga}}}return yn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},yn.setContext=function(ln){I(ln,N.object,_e("sagaMiddleware",ln)),V.assign(Lt,ln)},yn}var Hi={done:!0,value:void 0},xi={};function xe(Qe){return N.channel(Qe)?"channel":Array.isArray(Qe)?String(Qe.map(function(Re){return String(Re)})):String(Qe)}function Kn(Qe,Re){var Lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Ht=void 0,pr=Re;function Br(Wr,yn){if(pr===xi)return Hi;if(yn)throw pr=xi,yn;Ht&&Ht(Wr);var ln=Qe[pr](),xn=ln[0],ti=ln[1],ni=ln[2];return pr=xn,Ht=ni,pr===xi?Hi:ti}return X(Br,function(Wr){return Br(null,Wr)},Lt,!0)}function qn(Qe,Re){for(var Lt=arguments.length,Ht=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Ht[pr-2]=arguments[pr];var Br={done:!1,value:Xe(Qe)},Wr=function(ti){return{done:!1,value:$r.apply(void 0,[Re].concat(Ht,[ti]))}},yn=void 0,ln=function(ti){return yn=ti};return Kn({q1:function(){return["q2",Br,ln]},q2:function(){return yn===Ae?[xi]:["q1",Wr(yn)]}},"q1","takeEvery("+xe(Qe)+", "+Re.name+")")}function Jn(Qe,Re){for(var Lt=arguments.length,Ht=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Ht[pr-2]=arguments[pr];var Br={done:!1,value:Xe(Qe)},Wr=function(ji){return{done:!1,value:$r.apply(void 0,[Re].concat(Ht,[ji]))}},yn=function(ji){return{done:!1,value:on(ji)}},ln=void 0,xn=void 0,ti=function(ji){return ln=ji},ni=function(ji){return xn=ji};return Kn({q1:function(){return["q2",Br,ni]},q2:function(){return xn===Ae?[xi]:ln?["q3",yn(ln)]:["q1",Wr(xn),ti]},q3:function(){return["q1",Wr(xn),ti]}},"q1","takeLatest("+xe(Qe)+", "+Re.name+")")}function oa(Qe,Re,Lt){for(var Ht=arguments.length,pr=Array(Ht>3?Ht-3:0),Br=3;Br<Ht;Br++)pr[Br-3]=arguments[Br];var Wr=void 0,yn=void 0,ln={done:!1,value:or(Re,lr.sliding(1))},xn=function(){return{done:!1,value:Xe(yn)}},ti=function(Ji){return{done:!1,value:$r.apply(void 0,[Lt].concat(pr,[Ji]))}},ni={done:!1,value:Yr(oe,Qe)},vi=function(Ji){return Wr=Ji},ji=function(Ji){return yn=Ji};return Kn({q1:function(){return["q2",ln,ji]},q2:function(){return["q3",xn(),vi]},q3:function(){return Wr===Ae?[xi]:["q4",ti(Wr)]},q4:function(){return["q2",ni]}},"q1","throttle("+xe(Re)+", "+Lt.name+")")}var Di=function(Re){return"import { "+Re+" } from 'redux-saga' has been deprecated in favor of import { "+Re+` } from 'redux-saga/effects'.
|
|
|
The latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.
|
|
|
Therefore yield `+Re+" will return task descriptor to your saga and execute next lines of code."},Ci=null,pi=null,Qt=null;function dt(Qe,Re){for(var Lt=arguments.length,Ht=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Ht[pr-2]=arguments[pr];return $r.apply(void 0,[qn,Qe,Re].concat(Ht))}function rt(Qe,Re){for(var Lt=arguments.length,Ht=Array(Lt>2?Lt-2:0),pr=2;pr<Lt;pr++)Ht[pr-2]=arguments[pr];return $r.apply(void 0,[Jn,Qe,Re].concat(Ht))}function It(Qe,Re,Lt){for(var Ht=arguments.length,pr=Array(Ht>3?Ht-3:0),Br=3;Br<Ht;Br++)pr[Br-3]=arguments[Br];return $r.apply(void 0,[oa,Qe,Re,Lt].concat(pr))}var ht=oi,sr=e(44520),cr=e.n(sr),Cr=e(76190),Rr=e(78639),He=e.n(Rr),tt=e(94480),we=e(66712),st=e(56754),ar=e.n(st),kr=e(67732),Ir=e(83652),xr=e(89381),jr=e.n(xr),En=e(60288),yr=e(42978),cn=e(329),an=e.n(cn),dn=Array.isArray.bind(Array),mn=function(Re){return typeof Re=="function"},Oa=function(Re){return Re},Ei=function(){},gi=function(Re,Lt){for(var Ht=0,pr=Re.length;Ht<pr;Ht+=1)if(Lt(Re[Ht],Ht))return Ht;return-1},$n=Object.freeze({isPlainObject:He(),isArray:dn,isFunction:mn,returnSelf:Oa,noop:Ei,findIndex:gi});function Pi(Qe,Re){var Lt=Qe.namespace,Ht=Qe.reducers,pr=Qe.effects,Br=Qe.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(!Re.some(function(Wr){return Wr.namespace===Lt}),"[app.model] namespace should be unique"),Ht&&(invariant(isPlainObject(Ht)||dn(Ht),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Ht))),invariant(!dn(Ht)||isPlainObject(Ht[0])&&mn(Ht[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))),Br&&(invariant(isPlainObject(Br),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Br))),invariant(Xi(Br),"[app.model] subscription should be function"))}function Xi(Qe){return Object.keys(Qe).every(function(Re){return mn(Qe[Re])})}var Pa="/";function qs(Qe,Re,Lt){return Object.keys(Qe).reduce(function(Ht,pr){ar()(pr.indexOf("".concat(Re).concat(Pa))!==0,"[prefixNamespace]: ".concat(Lt," ").concat(pr," should not be prefixed with namespace ").concat(Re));var Br="".concat(Re).concat(Pa).concat(pr);return Ht[Br]=Qe[pr],Ht},{})}function ja(Qe){var Re=Qe.namespace,Lt=Qe.reducers,Ht=Qe.effects;if(Lt)if(dn(Lt)){var pr=(0,we.Z)(Lt),Br=pr[0],Wr=pr.slice(1);Qe.reducers=[qs(Br,Re,"reducer")].concat((0,tt.Z)(Wr))}else Qe.reducers=qs(Lt,Re,"reducer");return Ht&&(Qe.effects=qs(Ht,Re,"effect")),Qe}var Ws=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function mo(Qe){return Object.keys(Qe).reduce(function(Re,Lt){return Ws.indexOf(Lt)>-1&&(Re[Lt]=Qe[Lt]),Re},{})}var as=function(){function Qe(){(0,kr.Z)(this,Qe),this._handleActions=null,this.hooks=Ws.reduce(function(Re,Lt){return Re[Lt]=[],Re},{})}return(0,Ir.Z)(Qe,[{key:"use",value:function(Lt){cr()(He()(Lt),"plugin.use: plugin should be plain object");var Ht=this.hooks;for(var pr in Lt)Object.prototype.hasOwnProperty.call(Lt,pr)&&(cr()(Ht[pr],"plugin.use: unknown plugin property: ".concat(pr)),pr==="_handleActions"?this._handleActions=Lt[pr]:pr==="extraEnhancers"?Ht[pr]=Lt[pr]:Ht[pr].push(Lt[pr]))}},{key:"apply",value:function(Lt,Ht){var pr=this.hooks,Br=["onError","onHmr"];cr()(Br.indexOf(Lt)>-1,"plugin.apply: hook ".concat(Lt," cannot be applied"));var Wr=pr[Lt];return function(){if(Wr.length){var yn=!0,ln=!1,xn=void 0;try{for(var ti=Wr[Symbol.iterator](),ni;!(yn=(ni=ti.next()).done);yn=!0){var vi=ni.value;vi.apply(void 0,arguments)}}catch(ji){ln=!0,xn=ji}finally{try{!yn&&ti.return!=null&&ti.return()}finally{if(ln)throw xn}}}else Ht&&Ht.apply(void 0,arguments)}}},{key:"get",value:function(Lt){var Ht=this.hooks;return cr()(Lt in Ht,"plugin.get: hook ".concat(Lt," cannot be got")),Lt==="extraReducers"?Aa(Ht[Lt]):Lt==="onReducer"?$i(Ht[Lt]):Ht[Lt]}}]),Qe}();function Aa(Qe){var Re={},Lt=!0,Ht=!1,pr=void 0;try{for(var Br=Qe[Symbol.iterator](),Wr;!(Lt=(Wr=Br.next()).done);Lt=!0){var yn=Wr.value;Re=(0,l.Z)({},Re,yn)}}catch(ln){Ht=!0,pr=ln}finally{try{!Lt&&Br.return!=null&&Br.return()}finally{if(Ht)throw pr}}return Re}function $i(Qe){return function(Re){var Lt=!0,Ht=!1,pr=void 0;try{for(var Br=Qe[Symbol.iterator](),Wr;!(Lt=(Wr=Br.next()).done);Lt=!0){var yn=Wr.value;Re=yn(Re)}}catch(ln){Ht=!0,pr=ln}finally{try{!Lt&&Br.return!=null&&Br.return()}finally{if(Ht)throw pr}}return Re}}function Gs(Qe){var Re=Qe.reducers,Lt=Qe.initialState,Ht=Qe.plugin,pr=Qe.sagaMiddleware,Br=Qe.promiseMiddleware,Wr=Qe.createOpts.setupMiddlewares,yn=Wr===void 0?Oa:Wr,ln=Ht.get("extraEnhancers");cr()(dn(ln),"[app.start] extraEnhancers should be array, but got ".concat((0,Cr.Z)(ln)));var xn=Ht.get("onAction"),ti=yn([Br,pr].concat((0,tt.Z)(jr()(xn)))),ni=c.qC,vi=[c.md.apply(void 0,(0,tt.Z)(ti))].concat((0,tt.Z)(ln));return(0,c.MT)(Re,Lt,ni.apply(void 0,(0,tt.Z)(vi)))}function _s(Qe,Re){var Lt="".concat(Re.namespace).concat(Pa).concat(Qe),Ht=Lt.replace(/\/@@[^/]+?$/,""),pr=Array.isArray(Re.reducers)?Re.reducers[0][Ht]:Re.reducers&&Re.reducers[Ht];return pr||Re.effects&&Re.effects[Ht]?Lt:Qe}function Js(Qe,Re,Lt,Ht){var pr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return an().mark(function Br(){var Wr;return an().wrap(function(ln){for(;;)switch(ln.prev=ln.next){case 0:ln.t0=an().keys(Qe);case 1:if((ln.t1=ln.t0()).done){ln.next=7;break}if(Wr=ln.t1.value,!Object.prototype.hasOwnProperty.call(Qe,Wr)){ln.next=5;break}return ln.delegateYield(an().mark(function xn(){var ti,ni;return an().wrap(function(ji){for(;;)switch(ji.prev=ji.next){case 0:return ti=zi(Wr,Qe[Wr],Re,Lt,Ht,pr),ji.next=3,$r(ti);case 3:return ni=ji.sent,ji.next=6,$r(an().mark(function ga(){return an().wrap(function(Mi){for(;;)switch(Mi.prev=Mi.next){case 0:return Mi.next=2,Xe("".concat(Re.namespace,"/@@CANCEL_EFFECTS"));case 2:return Mi.next=4,on(ni);case 4:case"end":return Mi.stop()}},ga)}));case 6:case"end":return ji.stop()}},xn)})(),"t2",5);case 5:ln.next=1;break;case 7:case"end":return ln.stop()}},Br)})}function zi(Qe,Re,Lt,Ht,pr,Br){var Wr=an().mark(ga),yn=Re,ln="takeEvery",xn,ti;if(Array.isArray(Re)){var ni=(0,yr.Z)(Re,1);yn=ni[0];var vi=Re[1];vi&&vi.type&&(ln=vi.type,ln==="throttle"&&(cr()(vi.ms,"app.start: opts.ms should be defined if type is throttle"),xn=vi.ms),ln==="poll"&&(cr()(vi.delay,"app.start: opts.delay should be defined if type is poll"),ti=vi.delay)),cr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(ln)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function ji(){}function ga(){var Mi,Da,Oi,Si,Ea,Co,Us,Xa,Qa,cs=arguments;return an().wrap(function(La){for(;;)switch(La.prev=La.next){case 0:for(Mi=cs.length,Da=new Array(Mi),Oi=0;Oi<Mi;Oi++)Da[Oi]=cs[Oi];return Si=Da.length>0?Da[0]:{},Ea=Si.__dva_resolve,Co=Ea===void 0?ji:Ea,Us=Si.__dva_reject,Xa=Us===void 0?ji:Us,La.prev=2,La.next=5,Rt({type:"".concat(Qe).concat(Pa,"@@start")});case 5:return La.next=7,yn.apply(void 0,(0,tt.Z)(Da.concat(Xs(Lt,Br))));case 7:return Qa=La.sent,La.next=10,Rt({type:"".concat(Qe).concat(Pa,"@@end")});case 10:Co(Qa),La.next=17;break;case 13:La.prev=13,La.t0=La.catch(2),Ht(La.t0,{key:Qe,effectArgs:Da}),La.t0._dontReject||Xa(La.t0);case 17:case"end":return La.stop()}},Wr,null,[[2,13]])}var Ji=No(pr,ga,Lt,Qe);switch(ln){case"watcher":return ga;case"takeLatest":return an().mark(function Mi(){return an().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:return Oi.next=2,rt(Qe,Ji);case 2:case"end":return Oi.stop()}},Mi)});case"throttle":return an().mark(function Mi(){return an().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:return Oi.next=2,It(xn,Qe,Ji);case 2:case"end":return Oi.stop()}},Mi)});case"poll":return an().mark(function Mi(){var Da,Oi,Si,Ea,Co,Us,Xa;return an().wrap(function(cs){for(;;)switch(cs.prev=cs.next){case 0:Si=function(La,fs){var ds;return an().wrap(function(bs){for(;;)switch(bs.prev=bs.next){case 0:ds=La.call;case 1:return bs.next=4,ds(Ji,fs);case 4:return bs.next=6,ds(Oi,ti);case 6:bs.next=1;break;case 8:case"end":return bs.stop()}},Da)},Oi=function(La){return new Promise(function(fs){return setTimeout(fs,La)})},Da=an().mark(Si),Ea=Yr,Co=Xe,Us=Dr;case 4:return cs.next=7,Co("".concat(Qe,"-start"));case 7:return Xa=cs.sent,cs.next=10,Us([Ea(Si,r,Xa),Co("".concat(Qe,"-stop"))]);case 10:cs.next=4;break;case 12:case"end":return cs.stop()}},Mi)});default:return an().mark(function Mi(){return an().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:return Oi.next=2,dt(Qe,Ji);case 2:case"end":return Oi.stop()}},Mi)})}}function Xs(Qe,Re){function Lt(Wr,yn){cr()(Wr,"dispatch: action should be a plain Object with type");var ln=Re.namespacePrefixWarning,xn=ln===void 0?!0:ln;xn&&ar()(Wr.indexOf("".concat(Qe.namespace).concat(Pa))!==0,"[".concat(yn,"] ").concat(Wr," should not be prefixed with namespace ").concat(Qe.namespace))}function Ht(Wr){var yn=Wr.type;return Lt(yn,"sagaEffects.put"),Rt((0,l.Z)({},Wr,{type:_s(yn,Qe)}))}function pr(Wr){var yn=Wr.type;return Lt(yn,"sagaEffects.put.resolve"),Rt.resolve((0,l.Z)({},Wr,{type:_s(yn,Qe)}))}Ht.resolve=pr;function Br(Wr){return typeof Wr=="string"?(Lt(Wr,"sagaEffects.take"),Xe(_s(Wr,Qe))):Array.isArray(Wr)?Xe(Wr.map(function(yn){return typeof yn=="string"?(Lt(yn,"sagaEffects.take"),_s(yn,Qe)):yn})):Xe(Wr)}return(0,l.Z)({},r,{put:Ht,take:Br})}function No(Qe,Re,Lt,Ht){var pr=!0,Br=!1,Wr=void 0;try{for(var yn=Qe[Symbol.iterator](),ln;!(pr=(ln=yn.next()).done);pr=!0){var xn=ln.value;Re=xn(Re,r,Lt,Ht)}}catch(ti){Br=!0,Wr=ti}finally{try{!pr&&yn.return!=null&&yn.return()}finally{if(Br)throw Wr}}return Re}function Ga(Qe){return Qe}function Fs(Qe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ga;return function(Lt,Ht){var pr=Ht.type;return cr()(pr,"dispatch: action should be a plain Object with type"),Qe===pr?Re(Lt,Ht):Lt}}function ci(){for(var Qe=arguments.length,Re=new Array(Qe),Lt=0;Lt<Qe;Lt++)Re[Lt]=arguments[Lt];return function(Ht,pr){return Re.reduce(function(Br,Wr){return Wr(Br,pr)},Ht)}}function oo(Qe,Re){var Lt=Object.keys(Qe).map(function(pr){return Fs(pr,Qe[pr])}),Ht=ci.apply(void 0,(0,tt.Z)(Lt));return function(){var pr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Re,Br=arguments.length>1?arguments[1]:void 0;return Ht(pr,Br)}}function Fn(Qe,Re,Lt){return Array.isArray(Qe)?Qe[1]((Lt||oo)(Qe[0],Re)):(Lt||oo)(Qe||{},Re)}function os(Qe){return function(){return function(Lt){return function(Ht){var pr=Ht.type;return Re(pr)?new Promise(function(Br,Wr){Lt((0,l.Z)({__dva_resolve:Br,__dva_reject:Wr},Ht))}):Lt(Ht)}}};function Re(Lt){if(!Lt||typeof Lt!="string")return!1;var Ht=Lt.split(Pa),pr=(0,yr.Z)(Ht,1),Br=pr[0],Wr=Qe._models.filter(function(yn){return yn.namespace===Br})[0];return!!(Wr&&Wr.effects&&Wr.effects[Lt])}}function Oo(Qe,Re){return function(Lt){var Ht=Lt.type;return cr()(Ht,"dispatch: action should be a plain Object with type"),ar()(Ht.indexOf("".concat(Re.namespace).concat(Pa))!==0,"dispatch: ".concat(Ht," should not be prefixed with namespace ").concat(Re.namespace)),Qe((0,l.Z)({},Lt,{type:_s(Ht,Re)}))}}function eo(Qe,Re,Lt,Ht){var pr=[],Br=[];for(var Wr in Qe)if(Object.prototype.hasOwnProperty.call(Qe,Wr)){var yn=Qe[Wr],ln=yn({dispatch:Oo(Lt._store.dispatch,Re),history:Lt._history},Ht);mn(ln)?pr.push(ln):Br.push(Wr)}return{funcs:pr,nonFuncs:Br}}function ha(Qe,Re){if(Qe[Re]){var Lt=Qe[Re],Ht=Lt.funcs,pr=Lt.nonFuncs;ar()(pr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(pr.join(", ")));var Br=!0,Wr=!1,yn=void 0;try{for(var ln=Ht[Symbol.iterator](),xn;!(Br=(xn=ln.next()).done);Br=!0){var ti=xn.value;ti()}}catch(ni){Wr=!0,yn=ni}finally{try{!Br&&ln.return!=null&&ln.return()}finally{if(Wr)throw yn}}delete Qe[Re]}}var ns=Ei,Qi=gi,js={namespace:"@@dva",state:0,reducers:{UPDATE:function(Re){return Re+1}}};function wo(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Lt=Re.initialReducer,Ht=Re.setupApp,pr=Ht===void 0?ns:Ht,Br=new as;Br.use(mo(Qe));var Wr={_models:[ja((0,l.Z)({},js))],_store:null,_plugin:Br,use:Br.use.bind(Br),model:yn,start:ni};return Wr;function yn(vi){var ji=ja((0,l.Z)({},vi));return Wr._models.push(ji),ji}function ln(vi,ji,ga,Ji){Ji=yn(Ji);var Mi=Wr._store;Mi.asyncReducers[Ji.namespace]=Fn(Ji.reducers,Ji.state,Br._handleActions),Mi.replaceReducer(vi()),Ji.effects&&Mi.runSaga(Wr._getSaga(Ji.effects,Ji,ji,Br.get("onEffect"),Qe)),Ji.subscriptions&&(ga[Ji.namespace]=eo(Ji.subscriptions,Ji,Wr,ji))}function xn(vi,ji,ga,Ji){var Mi=Wr._store;delete Mi.asyncReducers[Ji],delete ji[Ji],Mi.replaceReducer(vi()),Mi.dispatch({type:"@@dva/UPDATE"}),Mi.dispatch({type:"".concat(Ji,"/@@CANCEL_EFFECTS")}),ha(ga,Ji),Wr._models=Wr._models.filter(function(Da){return Da.namespace!==Ji})}function ti(vi,ji,ga,Ji,Mi){var Da=Wr._store,Oi=Mi.namespace,Si=Qi(Wr._models,function(Ea){return Ea.namespace===Oi});~Si&&(Da.dispatch({type:"".concat(Oi,"/@@CANCEL_EFFECTS")}),delete Da.asyncReducers[Oi],delete ji[Oi],ha(ga,Oi),Wr._models.splice(Si,1)),Wr.model(Mi),Da.dispatch({type:"@@dva/UPDATE"})}function ni(){var vi=function(br,tn){br&&(typeof br=="string"&&(br=new Error(br)),br.preventDefault=function(){br._dontReject=!0},Br.apply("onError",function(gr){throw new Error(gr.stack||gr)})(br,Wr._store.dispatch,tn))},ji=ht(),ga=os(Wr);Wr._getSaga=Js.bind(null);var Ji=[],Mi=(0,l.Z)({},Lt),Da=!0,Oi=!1,Si=void 0;try{for(var Ea=Wr._models[Symbol.iterator](),Co;!(Da=(Co=Ea.next()).done);Da=!0){var Us=Co.value;Mi[Us.namespace]=Fn(Us.reducers,Us.state,Br._handleActions),Us.effects&&Ji.push(Wr._getSaga(Us.effects,Us,vi,Br.get("onEffect"),Qe))}}catch(Se){Oi=!0,Si=Se}finally{try{!Da&&Ea.return!=null&&Ea.return()}finally{if(Oi)throw Si}}var Xa=Br.get("onReducer"),Qa=Br.get("extraReducers");cr()(Object.keys(Qa).every(function(Se){return!(Se in Mi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Mi).join(", "))),Wr._store=Gs({reducers:be(),initialState:Qe.initialState||{},plugin:Br,createOpts:Re,sagaMiddleware:ji,promiseMiddleware:ga});var cs=Wr._store;cs.runSaga=ji.run,cs.asyncReducers={};var Ui=Br.get("onStateChange"),La=!0,fs=!1,ds=void 0;try{for(var Fo=function(){var br=Ba.value;cs.subscribe(function(){br(cs.getState())})},bs=Ui[Symbol.iterator](),Ba;!(La=(Ba=bs.next()).done);La=!0)Fo()}catch(Se){fs=!0,ds=Se}finally{try{!La&&bs.return!=null&&bs.return()}finally{if(fs)throw ds}}Ji.forEach(ji.run),pr(Wr);var go={},Ja=!0,yo=!1,Ra=void 0;try{for(var hs=this._models[Symbol.iterator](),ro;!(Ja=(ro=hs.next()).done);Ja=!0){var Ma=ro.value;Ma.subscriptions&&(go[Ma.namespace]=eo(Ma.subscriptions,Ma,Wr,vi))}}catch(Se){yo=!0,Ra=Se}finally{try{!Ja&&hs.return!=null&&hs.return()}finally{if(yo)throw Ra}}Wr.model=ln.bind(Wr,be,vi,go),Wr.unmodel=xn.bind(Wr,be,Mi,go),Wr.replaceModel=ti.bind(Wr,be,Mi,go,vi);function be(){return Xa((0,c.UY)((0,l.Z)({},Mi,Qa,Wr._store?Wr._store.asyncReducers:{})))}}}var Qo=e(37573),Uo=e(45097),uo=e(4676);function Eo(Qe){Qe()}let ko=Eo;const zo=Qe=>ko=Qe,Ro=()=>ko,Zo=Symbol.for("react-redux-context"),eu=typeof globalThis!="undefined"?globalThis:{};function _i(){var Qe;if(!i.createContext)return{};const Re=(Qe=eu[Zo])!=null?Qe:eu[Zo]=new Map;let Lt=Re.get(i.createContext);return Lt||(Lt=i.createContext(null),Re.set(i.createContext,Lt)),Lt}const mi=_i();var us=null;function ms(Qe=mi){return function(){return(0,i.useContext)(Qe)}}const Ka=ms(),Va=()=>{throw new Error("uSES not initialized!")};let As=Va;const uu=Qe=>{As=Qe},Ts=(Qe,Re)=>Qe===Re;function lu(Qe=mi){const Re=Qe===mi?Ka:ms(Qe);return function(Ht,pr={}){const{equalityFn:Br=Ts,stabilityCheck:Wr=void 0,noopCheck:yn=void 0}=typeof pr=="function"?{equalityFn:pr}:pr,{store:ln,subscription:xn,getServerState:ti,stabilityCheck:ni,noopCheck:vi}=Re(),ji=(0,i.useRef)(!0),ga=(0,i.useCallback)({[Ht.name](Mi){return Ht(Mi)}}[Ht.name],[Ht,ni,Wr]),Ji=As(xn.addNestedSub,ln.getState,ti||ln.getState,ga,Br);return(0,i.useDebugValue)(Ji),Ji}}const yu=lu();var Cu=e(54476),Fu=e(85377),xl=e(94266),Ho=e.n(xl),Lo=e(23265);const Mo=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function zu(Qe,Re,Lt,Ht,{areStatesEqual:pr,areOwnPropsEqual:Br,areStatePropsEqual:Wr}){let yn=!1,ln,xn,ti,ni,vi;function ji(Oi,Si){return ln=Oi,xn=Si,ti=Qe(ln,xn),ni=Re(Ht,xn),vi=Lt(ti,ni,xn),yn=!0,vi}function ga(){return ti=Qe(ln,xn),Re.dependsOnOwnProps&&(ni=Re(Ht,xn)),vi=Lt(ti,ni,xn),vi}function Ji(){return Qe.dependsOnOwnProps&&(ti=Qe(ln,xn)),Re.dependsOnOwnProps&&(ni=Re(Ht,xn)),vi=Lt(ti,ni,xn),vi}function Mi(){const Oi=Qe(ln,xn),Si=!Wr(Oi,ti);return ti=Oi,Si&&(vi=Lt(ti,ni,xn)),vi}function Da(Oi,Si){const Ea=!Br(Si,xn),Co=!pr(Oi,ln,Si,xn);return ln=Oi,xn=Si,Ea&&Co?ga():Ea?Ji():Co?Mi():vi}return function(Si,Ea){return yn?Da(Si,Ea):ji(Si,Ea)}}function vo(Qe,Re){let{initMapStateToProps:Lt,initMapDispatchToProps:Ht,initMergeProps:pr}=Re,Br=(0,Fu.Z)(Re,Mo);const Wr=Lt(Qe,Br),yn=Ht(Qe,Br),ln=pr(Qe,Br);return zu(Wr,yn,ln,Qe,Br)}function Zu(Qe,Re){const Lt={};for(const Ht in Qe){const pr=Qe[Ht];typeof pr=="function"&&(Lt[Ht]=(...Br)=>Re(pr(...Br)))}return Lt}function Pu(Qe){return function(Lt){const Ht=Qe(Lt);function pr(){return Ht}return pr.dependsOnOwnProps=!1,pr}}function cu(Qe){return Qe.dependsOnOwnProps?!!Qe.dependsOnOwnProps:Qe.length!==1}function vu(Qe,Re){return function(Ht,{displayName:pr}){const Br=function(yn,ln){return Br.dependsOnOwnProps?Br.mapToProps(yn,ln):Br.mapToProps(yn,void 0)};return Br.dependsOnOwnProps=!0,Br.mapToProps=function(yn,ln){Br.mapToProps=Qe,Br.dependsOnOwnProps=cu(Qe);let xn=Br(yn,ln);return typeof xn=="function"&&(Br.mapToProps=xn,Br.dependsOnOwnProps=cu(xn),xn=Br(yn,ln)),xn},Br}}function to(Qe,Re){return(Lt,Ht)=>{throw new Error(`Invalid value of type ${typeof Qe} for ${Re} argument when connecting component ${Ht.wrappedComponentName}.`)}}function To(Qe){return Qe&&typeof Qe=="object"?Pu(Re=>Zu(Qe,Re)):Qe?typeof Qe=="function"?vu(Qe,"mapDispatchToProps"):to(Qe,"mapDispatchToProps"):Pu(Re=>({dispatch:Re}))}function fu(Qe){return Qe?typeof Qe=="function"?vu(Qe,"mapStateToProps"):to(Qe,"mapStateToProps"):Pu(()=>({}))}function Xt(Qe,Re,Lt){return(0,Cu.Z)({},Lt,Qe,Re)}function fr(Qe){return function(Lt,{displayName:Ht,areMergedPropsEqual:pr}){let Br=!1,Wr;return function(ln,xn,ti){const ni=Qe(ln,xn,ti);return Br?pr(ni,Wr)||(Wr=ni):(Br=!0,Wr=ni),Wr}}}function ir(Qe){return Qe?typeof Qe=="function"?fr(Qe):to(Qe,"mergeProps"):()=>Xt}function dr(){const Qe=Ro();let Re=null,Lt=null;return{clear(){Re=null,Lt=null},notify(){Qe(()=>{let Ht=Re;for(;Ht;)Ht.callback(),Ht=Ht.next})},get(){let Ht=[],pr=Re;for(;pr;)Ht.push(pr),pr=pr.next;return Ht},subscribe(Ht){let pr=!0,Br=Lt={callback:Ht,next:null,prev:Lt};return Br.prev?Br.prev.next=Br:Re=Br,function(){!pr||Re===null||(pr=!1,Br.next?Br.next.prev=Br.prev:Lt=Br.prev,Br.prev?Br.prev.next=Br.next:Re=Br.next)}}}}const Sr={notify(){},get:()=>[]};function vn(Qe,Re){let Lt,Ht=Sr,pr=0,Br=!1;function Wr(Ji){ti();const Mi=Ht.subscribe(Ji);let Da=!1;return()=>{Da||(Da=!0,Mi(),ni())}}function yn(){Ht.notify()}function ln(){ga.onStateChange&&ga.onStateChange()}function xn(){return Br}function ti(){pr++,Lt||(Lt=Re?Re.addNestedSub(ln):Qe.subscribe(ln),Ht=dr())}function ni(){pr--,Lt&&pr===0&&(Lt(),Lt=void 0,Ht.clear(),Ht=Sr)}function vi(){Br||(Br=!0,ti())}function ji(){Br&&(Br=!1,ni())}const ga={addNestedSub:Wr,notifyNestedSubs:yn,handleChangeWrapper:ln,isSubscribed:xn,trySubscribe:vi,tryUnsubscribe:ji,getListeners:()=>Ht};return ga}const Dn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function jn(Qe,Re){return Qe===Re?Qe!==0||Re!==0||1/Qe===1/Re:Qe!==Qe&&Re!==Re}function ui(Qe,Re){if(jn(Qe,Re))return!0;if(typeof Qe!="object"||Qe===null||typeof Re!="object"||Re===null)return!1;const Lt=Object.keys(Qe),Ht=Object.keys(Re);if(Lt.length!==Ht.length)return!1;for(let pr=0;pr<Lt.length;pr++)if(!Object.prototype.hasOwnProperty.call(Re,Lt[pr])||!jn(Qe[Lt[pr]],Re[Lt[pr]]))return!1;return!0}const ei=["reactReduxForwardedRef"];let ur=Va;const Mr=Qe=>{ur=Qe},Fr=null,Sn=[null,null],Tn=Qe=>{try{return JSON.stringify(Qe)}catch(Re){return String(Qe)}};function _t(Qe,Re,Lt){Dn(()=>Qe(...Re),Lt)}function Un(Qe,Re,Lt,Ht,pr,Br){Qe.current=Ht,Lt.current=!1,pr.current&&(pr.current=null,Br())}function Hn(Qe,Re,Lt,Ht,pr,Br,Wr,yn,ln,xn,ti){if(!Qe)return()=>{};let ni=!1,vi=null;const ji=()=>{if(ni||!yn.current)return;const Ji=Re.getState();let Mi,Da;try{Mi=Ht(Ji,pr.current)}catch(Oi){Da=Oi,vi=Oi}Da||(vi=null),Mi===Br.current?Wr.current||xn():(Br.current=Mi,ln.current=Mi,Wr.current=!0,ti())};return Lt.onStateChange=ji,Lt.trySubscribe(),ji(),()=>{if(ni=!0,Lt.tryUnsubscribe(),Lt.onStateChange=null,vi)throw vi}}const Li=()=>Fr;function ia(Qe,Re){return Qe===Re}let Kr=!1;function ba(Qe,Re,Lt,{pure:Ht,areStatesEqual:pr=ia,areOwnPropsEqual:Br=ui,areStatePropsEqual:Wr=ui,areMergedPropsEqual:yn=ui,forwardRef:ln=!1,context:xn=mi}={}){const ti=xn,ni=fu(Qe),vi=To(Re),ji=ir(Lt),ga=!!Qe;return Mi=>{const Da=Mi.displayName||Mi.name||"Component",Oi=`Connect(${Da})`,Si={shouldHandleStateChanges:ga,displayName:Oi,wrappedComponentName:Da,WrappedComponent:Mi,initMapStateToProps:ni,initMapDispatchToProps:vi,initMergeProps:ji,areStatesEqual:pr,areStatePropsEqual:Wr,areOwnPropsEqual:Br,areMergedPropsEqual:yn};function Ea(Xa){const[Qa,cs,Ui]=i.useMemo(()=>{const{reactReduxForwardedRef:zn}=Xa,Zn=(0,Fu.Z)(Xa,ei);return[Xa.context,zn,Zn]},[Xa]),La=i.useMemo(()=>Qa&&Qa.Consumer&&(0,Lo.isContextConsumer)(i.createElement(Qa.Consumer,null))?Qa:ti,[Qa,ti]),fs=i.useContext(La),ds=!!Xa.store&&!!Xa.store.getState&&!!Xa.store.dispatch,Fo=!!fs&&!!fs.store,bs=ds?Xa.store:fs.store,Ba=Fo?fs.getServerState:bs.getState,go=i.useMemo(()=>vo(bs.dispatch,Si),[bs]),[Ja,yo]=i.useMemo(()=>{if(!ga)return Sn;const zn=vn(bs,ds?void 0:fs.subscription),Zn=zn.notifyNestedSubs.bind(zn);return[zn,Zn]},[bs,ds,fs]),Ra=i.useMemo(()=>ds?fs:(0,Cu.Z)({},fs,{subscription:Ja}),[ds,fs,Ja]),hs=i.useRef(),ro=i.useRef(Ui),Ma=i.useRef(),be=i.useRef(!1),Se=i.useRef(!1),br=i.useRef(!1),tn=i.useRef();Dn(()=>(br.current=!0,()=>{br.current=!1}),[]);const gr=i.useMemo(()=>()=>Ma.current&&Ui===ro.current?Ma.current:go(bs.getState(),Ui),[bs,Ui]),qr=i.useMemo(()=>Zn=>Ja?Hn(ga,bs,Ja,go,ro,hs,be,br,Ma,yo,Zn):()=>{},[Ja]);_t(Un,[ro,hs,be,Ui,Ma,yo]);let On;try{On=ur(qr,gr,Ba?()=>go(Ba(),Ui):gr)}catch(zn){throw tn.current&&(zn.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${tn.current.stack}
|
|
|
|
|
|
`),zn}Dn(()=>{tn.current=void 0,Ma.current=void 0,hs.current=On});const ii=i.useMemo(()=>i.createElement(Mi,(0,Cu.Z)({},On,{ref:cs})),[cs,Mi,On]);return i.useMemo(()=>ga?i.createElement(La.Provider,{value:Ra},ii):ii,[La,ii,Ra])}const Us=i.memo(Ea);if(Us.WrappedComponent=Mi,Us.displayName=Ea.displayName=Oi,ln){const Qa=i.forwardRef(function(Ui,La){return i.createElement(Us,(0,Cu.Z)({},Ui,{reactReduxForwardedRef:La}))});return Qa.displayName=Oi,Qa.WrappedComponent=Mi,Ho()(Qa,Mi)}return Ho()(Us,Mi)}}var qi=ba;function Ia({store:Qe,context:Re,children:Lt,serverState:Ht,stabilityCheck:pr="once",noopCheck:Br="once"}){const Wr=i.useMemo(()=>{const xn=vn(Qe);return{store:Qe,subscription:xn,getServerState:Ht?()=>Ht:void 0,stabilityCheck:pr,noopCheck:Br}},[Qe,Ht,pr,Br]),yn=i.useMemo(()=>Qe.getState(),[Qe]);Dn(()=>{const{subscription:xn}=Wr;return xn.onStateChange=xn.notifyNestedSubs,xn.trySubscribe(),yn!==Qe.getState()&&xn.notifyNestedSubs(),()=>{xn.tryUnsubscribe(),xn.onStateChange=void 0}},[Wr,yn]);const ln=Re||mi;return i.createElement(ln.Provider,{value:Wr},Lt)}var lo=Ia;function Ks(Qe=mi){const Re=Qe===mi?Ka:ms(Qe);return function(){const{store:Ht}=Re();return Ht}}const Wi=Ks();function co(Qe=mi){const Re=Qe===mi?Wi:Ks(Qe);return function(){return Re().dispatch}}const fo=co();uu(Uo.useSyncExternalStoreWithSelector),Mr(Qo.useSyncExternalStore),zo(uo.unstable_batchedUpdates);var vs=Object.defineProperty,ls=Object.getOwnPropertySymbols,Jo=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable,An=(Qe,Re,Lt)=>Re in Qe?vs(Qe,Re,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Qe[Re]=Lt,Ua=(Qe,Re)=>{for(var Lt in Re||(Re={}))Jo.call(Re,Lt)&&An(Qe,Lt,Re[Lt]);if(ls)for(var Lt of ls(Re))So.call(Re,Lt)&&An(Qe,Lt,Re[Lt]);return Qe};function is(Qe){const Re=create(Qe,{initialReducer:{},setupApp(){}}),Lt=Re.start;return Re.router=Ht,Re.start=pr,Re;function Ht(Br){Re._router=Br}function pr(Br){if(typeof Br!="undefined")throw new Error("dva.start() should not be called with any arguments.");Re._store||Lt.call(Re);const Wr=Re._store,yn=Re._router;return ln=>React.createElement(Provider,{store:Wr},yn(Ua({app:Re},ln)))}}},40059: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,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,a=(R,A)=>{for(var I in A||(A={}))o.call(A,I)&&u(R,I,A[I]);if(f)for(var I of f(A))h.call(A,I)&&u(R,I,A[I]);return R},x=(R,A)=>l(R,c(A));let p,y="/";function _(R){let A;return R.type==="hash"?A=(0,r.q_)():R.type==="memory"?A=(0,r.PP)(R):A=(0,r.lX)(),R.basename&&(y=R.basename),p=x(a({},A),{push(I,M){A.push(S(I,A),M)},replace(I,M){A.replace(S(I,A),M)},get location(){return A.location},get action(){return A.action}}),A}function b(R){R&&(p=R)}function S(R,A){if(typeof R=="string")return`${k(y)}${R}`;if(typeof R=="object"){const I=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:I})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},15702:function(d,v,e){"use strict";e.d(v,{gD:function(){return pn},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 Ge}});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 Er}});var o=e(8591),h=e(56656),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(kt){o.ZP.error(kt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),_=e(12373),b=e.n(_),S=e(44520),k=e.n(S),R=e(19747),A=e.n(R);function I(){return I=Object.assign||function(kt){for(var mt=1;mt<arguments.length;mt++){var gt=arguments[mt];for(var Nt in gt)Object.prototype.hasOwnProperty.call(gt,Nt)&&(kt[Nt]=gt[Nt])}return kt},I.apply(this,arguments)}function M(kt,mt){kt.prototype=Object.create(mt.prototype),kt.prototype.constructor=kt,B(kt,mt)}function B(kt,mt){return B=Object.setPrototypeOf||function(gt,Nt){return gt.__proto__=Nt,gt},B(kt,mt)}function N(kt,mt){if(kt==null)return{};var gt,Nt,Ar={},vr=Object.keys(kt);for(Nt=0;Nt<vr.length;Nt++)mt.indexOf(gt=vr[Nt])>=0||(Ar[gt]=kt[gt]);return Ar}var V={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},W={rel:["amphtml","canonical","alternate"]},H={type:["application/ld+json"]},te={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(V).map(function(kt){return V[kt]}),oe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},J=Object.keys(oe).reduce(function(kt,mt){return kt[oe[mt]]=mt,kt},{}),Q=function(kt,mt){for(var gt=kt.length-1;gt>=0;gt-=1){var Nt=kt[gt];if(Object.prototype.hasOwnProperty.call(Nt,mt))return Nt[mt]}return null},K=function(kt){var mt=Q(kt,V.TITLE),gt=Q(kt,"titleTemplate");if(Array.isArray(mt)&&(mt=mt.join("")),gt&&mt)return gt.replace(/%s/g,function(){return mt});var Nt=Q(kt,"defaultTitle");return mt||Nt||void 0},se=function(kt){return Q(kt,"onChangeClientState")||function(){}},ee=function(kt,mt){return mt.filter(function(gt){return gt[kt]!==void 0}).map(function(gt){return gt[kt]}).reduce(function(gt,Nt){return I({},gt,Nt)},{})},X=function(kt,mt){return mt.filter(function(gt){return gt[V.BASE]!==void 0}).map(function(gt){return gt[V.BASE]}).reverse().reduce(function(gt,Nt){if(!gt.length)for(var Ar=Object.keys(Nt),vr=0;vr<Ar.length;vr+=1){var at=Ar[vr].toLowerCase();if(kt.indexOf(at)!==-1&&Nt[at])return gt.concat(Nt)}return gt},[])},le=function(kt,mt,gt){var Nt={};return gt.filter(function(Ar){return!!Array.isArray(Ar[kt])||(Ar[kt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+kt+' should be of type "Array". Instead found type "'+typeof Ar[kt]+'"'),!1)}).map(function(Ar){return Ar[kt]}).reverse().reduce(function(Ar,vr){var at={};vr.filter(function(rn){for(var gn,Mn=Object.keys(rn),ai=0;ai<Mn.length;ai+=1){var hi=Mn[ai],Vi=hi.toLowerCase();mt.indexOf(Vi)===-1||gn==="rel"&&rn[gn].toLowerCase()==="canonical"||Vi==="rel"&&rn[Vi].toLowerCase()==="stylesheet"||(gn=Vi),mt.indexOf(hi)===-1||hi!=="innerHTML"&&hi!=="cssText"&&hi!=="itemprop"||(gn=hi)}if(!gn||!rn[gn])return!1;var Yi=rn[gn].toLowerCase();return Nt[gn]||(Nt[gn]={}),at[gn]||(at[gn]={}),!Nt[gn][Yi]&&(at[gn][Yi]=!0,!0)}).reverse().forEach(function(rn){return Ar.push(rn)});for(var Nr=Object.keys(at),bn=0;bn<Nr.length;bn+=1){var Yn=Nr[bn],mr=I({},Nt[Yn],at[Yn]);Nt[Yn]=mr}return Ar},[]).reverse()},z=function(kt,mt){if(Array.isArray(kt)&&kt.length){for(var gt=0;gt<kt.length;gt+=1)if(kt[gt][mt])return!0}return!1},$=function(kt){return Array.isArray(kt)?kt.join(""):kt},ae=function(kt,mt){return Array.isArray(kt)?kt.reduce(function(gt,Nt){return function(Ar,vr){for(var at=Object.keys(Ar),Nr=0;Nr<at.length;Nr+=1)if(vr[at[Nr]]&&vr[at[Nr]].includes(Ar[at[Nr]]))return!0;return!1}(Nt,mt)?gt.priority.push(Nt):gt.default.push(Nt),gt},{priority:[],default:[]}):{default:kt}},_e=function(kt,mt){var gt;return I({},kt,((gt={})[mt]=void 0,gt))},Ie=[V.NOSCRIPT,V.SCRIPT,V.STYLE],ke=function(kt,mt){return mt===void 0&&(mt=!0),mt===!1?String(kt):String(kt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},We=function(kt){return Object.keys(kt).reduce(function(mt,gt){var Nt=kt[gt]!==void 0?gt+'="'+kt[gt]+'"':""+gt;return mt?mt+" "+Nt:Nt},"")},je=function(kt,mt){return mt===void 0&&(mt={}),Object.keys(kt).reduce(function(gt,Nt){return gt[oe[Nt]||Nt]=kt[Nt],gt},mt)},Mt=function(kt,mt){return mt.map(function(gt,Nt){var Ar,vr=((Ar={key:Nt})["data-rh"]=!0,Ar);return Object.keys(gt).forEach(function(at){var Nr=oe[at]||at;Nr==="innerHTML"||Nr==="cssText"?vr.dangerouslySetInnerHTML={__html:gt.innerHTML||gt.cssText}:vr[Nr]=gt[at]}),x.createElement(kt,vr)})},yt=function(kt,mt,gt){switch(kt){case V.TITLE:return{toComponent:function(){return Ar=mt.titleAttributes,(vr={key:Nt=mt.title})["data-rh"]=!0,at=je(Ar,vr),[x.createElement(V.TITLE,at,Nt)];var Nt,Ar,vr,at},toString:function(){return function(Nt,Ar,vr,at){var Nr=We(vr),bn=$(Ar);return Nr?"<"+Nt+' data-rh="true" '+Nr+">"+ke(bn,at)+"</"+Nt+">":"<"+Nt+' data-rh="true">'+ke(bn,at)+"</"+Nt+">"}(kt,mt.title,mt.titleAttributes,gt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return je(mt)},toString:function(){return We(mt)}};default:return{toComponent:function(){return Mt(kt,mt)},toString:function(){return function(Nt,Ar,vr){return Ar.reduce(function(at,Nr){var bn=Object.keys(Nr).filter(function(rn){return!(rn==="innerHTML"||rn==="cssText")}).reduce(function(rn,gn){var Mn=Nr[gn]===void 0?gn:gn+'="'+ke(Nr[gn],vr)+'"';return rn?rn+" "+Mn:Mn},""),Yn=Nr.innerHTML||Nr.cssText||"",mr=Ie.indexOf(Nt)===-1;return at+"<"+Nt+' data-rh="true" '+bn+(mr?"/>":">"+Yn+"</"+Nt+">")},"")}(kt,mt,gt)}}}},Pt=function(kt){var mt=kt.baseTag,gt=kt.bodyAttributes,Nt=kt.encode,Ar=kt.htmlAttributes,vr=kt.noscriptTags,at=kt.styleTags,Nr=kt.title,bn=Nr===void 0?"":Nr,Yn=kt.titleAttributes,mr=kt.linkTags,rn=kt.metaTags,gn=kt.scriptTags,Mn={toComponent:function(){},toString:function(){return""}};if(kt.prioritizeSeoTags){var ai=function(hi){var Vi=hi.linkTags,Yi=hi.scriptTags,Ri=hi.encode,Ii=ae(hi.metaTags,te),Ti=ae(Vi,W),Ai=ae(Yi,H);return{priorityMethods:{toComponent:function(){return[].concat(Mt(V.META,Ii.priority),Mt(V.LINK,Ti.priority),Mt(V.SCRIPT,Ai.priority))},toString:function(){return yt(V.META,Ii.priority,Ri)+" "+yt(V.LINK,Ti.priority,Ri)+" "+yt(V.SCRIPT,Ai.priority,Ri)}},metaTags:Ii.default,linkTags:Ti.default,scriptTags:Ai.default}}(kt);Mn=ai.priorityMethods,mr=ai.linkTags,rn=ai.metaTags,gn=ai.scriptTags}return{priority:Mn,base:yt(V.BASE,mt,Nt),bodyAttributes:yt("bodyAttributes",gt,Nt),htmlAttributes:yt("htmlAttributes",Ar,Nt),link:yt(V.LINK,mr,Nt),meta:yt(V.META,rn,Nt),noscript:yt(V.NOSCRIPT,vr,Nt),script:yt(V.SCRIPT,gn,Nt),style:yt(V.STYLE,at,Nt),title:yt(V.TITLE,{title:bn,titleAttributes:Yn},Nt)}},tr=[],Vt=function(kt,mt){var gt=this;mt===void 0&&(mt=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(Nt){gt.context.helmet=Nt},helmetInstances:{get:function(){return gt.canUseDOM?tr:gt.instances},add:function(Nt){(gt.canUseDOM?tr:gt.instances).push(Nt)},remove:function(Nt){var Ar=(gt.canUseDOM?tr:gt.instances).indexOf(Nt);(gt.canUseDOM?tr:gt.instances).splice(Ar,1)}}},this.context=kt,this.canUseDOM=mt,mt||(kt.helmet=Pt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},lr=x.createContext({}),Ke=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),Ct=typeof document!="undefined",jt=function(kt){function mt(gt){var Nt;return(Nt=kt.call(this,gt)||this).helmetData=new Vt(Nt.props.context,mt.canUseDOM),Nt}return M(mt,kt),mt.prototype.render=function(){return x.createElement(lr.Provider,{value:this.helmetData.value},this.props.children)},mt}(x.Component);jt.canUseDOM=Ct,jt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},jt.defaultProps={context:{}},jt.displayName="HelmetProvider";var it=function(kt,mt){var gt,Nt=document.head||document.querySelector(V.HEAD),Ar=Nt.querySelectorAll(kt+"[data-rh]"),vr=[].slice.call(Ar),at=[];return mt&&mt.length&&mt.forEach(function(Nr){var bn=document.createElement(kt);for(var Yn in Nr)Object.prototype.hasOwnProperty.call(Nr,Yn)&&(Yn==="innerHTML"?bn.innerHTML=Nr.innerHTML:Yn==="cssText"?bn.styleSheet?bn.styleSheet.cssText=Nr.cssText:bn.appendChild(document.createTextNode(Nr.cssText)):bn.setAttribute(Yn,Nr[Yn]===void 0?"":Nr[Yn]));bn.setAttribute("data-rh","true"),vr.some(function(mr,rn){return gt=rn,bn.isEqualNode(mr)})?vr.splice(gt,1):at.push(bn)}),vr.forEach(function(Nr){return Nr.parentNode.removeChild(Nr)}),at.forEach(function(Nr){return Nt.appendChild(Nr)}),{oldTags:vr,newTags:at}},xt=function(kt,mt){var gt=document.getElementsByTagName(kt)[0];if(gt){for(var Nt=gt.getAttribute("data-rh"),Ar=Nt?Nt.split(","):[],vr=[].concat(Ar),at=Object.keys(mt),Nr=0;Nr<at.length;Nr+=1){var bn=at[Nr],Yn=mt[bn]||"";gt.getAttribute(bn)!==Yn&>.setAttribute(bn,Yn),Ar.indexOf(bn)===-1&&Ar.push(bn);var mr=vr.indexOf(bn);mr!==-1&&vr.splice(mr,1)}for(var rn=vr.length-1;rn>=0;rn-=1)gt.removeAttribute(vr[rn]);Ar.length===vr.length?gt.removeAttribute("data-rh"):gt.getAttribute("data-rh")!==at.join(",")&>.setAttribute("data-rh",at.join(","))}},pt=function(kt,mt){var gt=kt.baseTag,Nt=kt.htmlAttributes,Ar=kt.linkTags,vr=kt.metaTags,at=kt.noscriptTags,Nr=kt.onChangeClientState,bn=kt.scriptTags,Yn=kt.styleTags,mr=kt.title,rn=kt.titleAttributes;xt(V.BODY,kt.bodyAttributes),xt(V.HTML,Nt),function(hi,Vi){hi!==void 0&&document.title!==hi&&(document.title=$(hi)),xt(V.TITLE,Vi)}(mr,rn);var gn={baseTag:it(V.BASE,gt),linkTags:it(V.LINK,Ar),metaTags:it(V.META,vr),noscriptTags:it(V.NOSCRIPT,at),scriptTags:it(V.SCRIPT,bn),styleTags:it(V.STYLE,Yn)},Mn={},ai={};Object.keys(gn).forEach(function(hi){var Vi=gn[hi],Yi=Vi.newTags,Ri=Vi.oldTags;Yi.length&&(Mn[hi]=Yi),Ri.length&&(ai[hi]=gn[hi].oldTags)}),mt&&mt(),Nr(kt,Mn,ai)},et=null,Ze=function(kt){function mt(){for(var Nt,Ar=arguments.length,vr=new Array(Ar),at=0;at<Ar;at++)vr[at]=arguments[at];return(Nt=kt.call.apply(kt,[this].concat(vr))||this).rendered=!1,Nt}M(mt,kt);var gt=mt.prototype;return gt.shouldComponentUpdate=function(Nt){return!A()(Nt,this.props)},gt.componentDidUpdate=function(){this.emitChange()},gt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},gt.emitChange=function(){var Nt,Ar,vr=this.props.context,at=vr.setHelmet,Nr=null,bn=(Nt=vr.helmetInstances.get().map(function(Yn){var mr=I({},Yn.props);return delete mr.context,mr}),{baseTag:X(["href"],Nt),bodyAttributes:ee("bodyAttributes",Nt),defer:Q(Nt,"defer"),encode:Q(Nt,"encodeSpecialCharacters"),htmlAttributes:ee("htmlAttributes",Nt),linkTags:le(V.LINK,["rel","href"],Nt),metaTags:le(V.META,["name","charset","http-equiv","property","itemprop"],Nt),noscriptTags:le(V.NOSCRIPT,["innerHTML"],Nt),onChangeClientState:se(Nt),scriptTags:le(V.SCRIPT,["src","innerHTML"],Nt),styleTags:le(V.STYLE,["cssText"],Nt),title:K(Nt),titleAttributes:ee("titleAttributes",Nt),prioritizeSeoTags:z(Nt,"prioritizeSeoTags")});jt.canUseDOM?(Ar=bn,et&&cancelAnimationFrame(et),Ar.defer?et=requestAnimationFrame(function(){pt(Ar,function(){et=null})}):(pt(Ar),et=null)):Pt&&(Nr=Pt(bn)),at(Nr)},gt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},gt.render=function(){return this.init(),null},mt}(x.Component);Ze.propTypes={context:Ke.isRequired},Ze.displayName="HelmetDispatcher";var ge=["children"],Ae=["children"],Me=function(kt){function mt(){return kt.apply(this,arguments)||this}M(mt,kt);var gt=mt.prototype;return gt.shouldComponentUpdate=function(Nt){return!b()(_e(this.props,"helmetData"),_e(Nt,"helmetData"))},gt.mapNestedChildrenToProps=function(Nt,Ar){if(!Ar)return null;switch(Nt.type){case V.SCRIPT:case V.NOSCRIPT:return{innerHTML:Ar};case V.STYLE:return{cssText:Ar};default:throw new Error("<"+Nt.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},gt.flattenArrayTypeChildren=function(Nt){var Ar,vr=Nt.child,at=Nt.arrayTypeChildren;return I({},at,((Ar={})[vr.type]=[].concat(at[vr.type]||[],[I({},Nt.newChildProps,this.mapNestedChildrenToProps(vr,Nt.nestedChildren))]),Ar))},gt.mapObjectTypeChildren=function(Nt){var Ar,vr,at=Nt.child,Nr=Nt.newProps,bn=Nt.newChildProps,Yn=Nt.nestedChildren;switch(at.type){case V.TITLE:return I({},Nr,((Ar={})[at.type]=Yn,Ar.titleAttributes=I({},bn),Ar));case V.BODY:return I({},Nr,{bodyAttributes:I({},bn)});case V.HTML:return I({},Nr,{htmlAttributes:I({},bn)});default:return I({},Nr,((vr={})[at.type]=I({},bn),vr))}},gt.mapArrayTypeChildrenToProps=function(Nt,Ar){var vr=I({},Ar);return Object.keys(Nt).forEach(function(at){var Nr;vr=I({},vr,((Nr={})[at]=Nt[at],Nr))}),vr},gt.warnOnInvalidChildren=function(Nt,Ar){return k()(ie.some(function(vr){return Nt.type===vr}),typeof Nt.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 <"+Nt.type+"> elements. Refer to our API for more information."),k()(!Ar||typeof Ar=="string"||Array.isArray(Ar)&&!Ar.some(function(vr){return typeof vr!="string"}),"Helmet expects a string as a child of <"+Nt.type+">. Did you forget to wrap your children in braces? ( <"+Nt.type+">{``}</"+Nt.type+"> ) Refer to our API for more information."),!0},gt.mapChildrenToProps=function(Nt,Ar){var vr=this,at={};return x.Children.forEach(Nt,function(Nr){if(Nr&&Nr.props){var bn=Nr.props,Yn=bn.children,mr=N(bn,ge),rn=Object.keys(mr).reduce(function(Mn,ai){return Mn[J[ai]||ai]=mr[ai],Mn},{}),gn=Nr.type;switch(typeof gn=="symbol"?gn=gn.toString():vr.warnOnInvalidChildren(Nr,Yn),gn){case V.FRAGMENT:Ar=vr.mapChildrenToProps(Yn,Ar);break;case V.LINK:case V.META:case V.NOSCRIPT:case V.SCRIPT:case V.STYLE:at=vr.flattenArrayTypeChildren({child:Nr,arrayTypeChildren:at,newChildProps:rn,nestedChildren:Yn});break;default:Ar=vr.mapObjectTypeChildren({child:Nr,newProps:Ar,newChildProps:rn,nestedChildren:Yn})}}}),this.mapArrayTypeChildrenToProps(at,Ar)},gt.render=function(){var Nt=this.props,Ar=Nt.children,vr=N(Nt,Ae),at=I({},vr),Nr=vr.helmetData;return Ar&&(at=this.mapChildrenToProps(Ar,at)),!Nr||Nr instanceof Vt||(Nr=new Vt(Nr.context,Nr.instances)),Nr?x.createElement(Ze,I({},at,{context:Nr.value,helmetData:void 0})):x.createElement(lr.Consumer,null,function(bn){return x.createElement(Ze,I({},at,{context:bn}))})},mt}(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 Ue={},Ge=kt=>x.createElement(jt,{context:Ue},kt);var nt=e(92736),ut=e(92123),Kt=e(36237),Zt=e(95194),De=e(28440),Je=e.n(De),Wt=Object.defineProperty,Ot=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,At=(kt,mt,gt)=>mt in kt?Wt(kt,mt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):kt[mt]=gt,Yt=(kt,mt)=>{for(var gt in mt||(mt={}))zt.call(mt,gt)&&At(kt,gt,mt[gt]);if(Ot)for(var gt of Ot(mt))Ft.call(mt,gt)&&At(kt,gt,mt[gt]);return kt},Ye=(kt,mt)=>{var gt={};for(var Nt in kt)zt.call(kt,Nt)&&mt.indexOf(Nt)<0&&(gt[Nt]=kt[Nt]);if(kt!=null&&Ot)for(var Nt of Ot(kt))mt.indexOf(Nt)<0&&Ft.call(kt,Nt)&&(gt[Nt]=kt[Nt]);return gt};let ce=null;const pe=()=>(ce||(ce=or().applyPlugins({key:"antd",type:ut.ApplyPluginsType.modify,initialValue:Yt({},{componentSize:"middle"})})),ce);function Dt({children:kt}){let mt=kt;const[gt,Nt]=x.useState(()=>{const vr=pe(),{appConfig:at}=vr;return Ye(vr,["appConfig"])}),Ar=vr=>{Nt(at=>Je()({},at,typeof vr=="function"?vr(at):vr))};return gt.prefixCls&&nt.ZP.config({prefixCls:gt.prefixCls}),gt.iconPrefixCls&&nt.ZP.config({iconPrefixCls:gt.iconPrefixCls}),gt.theme&&nt.ZP.config({theme:gt.theme}),mt=x.createElement(nt.ZP,Yt({},gt),mt),mt=x.createElement(Kt.StyleProvider,{hashPriority:"high"},mt),mt=x.createElement(Zt.C.Provider,{value:Ar},x.createElement(Zt.S.Provider,{value:gt},mt)),mt}function Ce(kt){return x.createElement(Dt,null,kt)}var ft=e(89618);function Ut(kt,mt){return x.createElement(ft.j,mt,kt)}var St=e(24175),Oe=e(89589),wt=e(81863),ye=Object.defineProperty,Xe=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable,Ne=(kt,mt,gt)=>mt in kt?ye(kt,mt,{enumerable:!0,configurable:!0,writable:!0,value:gt}):kt[mt]=gt,Dr=(kt,mt)=>{for(var gt in mt||(mt={}))vt.call(mt,gt)&&Ne(kt,gt,mt[gt]);if(Xe)for(var gt of Xe(mt))Rt.call(mt,gt)&&Ne(kt,gt,mt[gt]);return kt};function Et(){var kt,mt;const gt=getLocale();(kt=moment)!=null&&kt.locale&&moment.locale(((mt=localeInfo[gt])==null?void 0:mt.momentLocale)||"zh-cn"),setIntl(gt)}const Yr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Jr=kt=>{var mt;const gt=(0,Oe.Kd)(),[Nt,Ar]=x.useState(gt),[vr,at]=x.useState(()=>(0,Oe.lw)(Nt,!0)),Nr=mr=>{var rn,gn;(rn=u())!=null&&rn.locale&&u().locale(((gn=Oe.H8[mr])==null?void 0:gn.momentLocale)||"en"),Ar(mr),at((0,Oe.lw)(mr))};Yr(()=>(Oe.B.on(Oe.PZ,Nr),()=>{Oe.B.off(Oe.PZ,Nr)}),[]);const bn=Dr({},wt.Z),Yn=(0,Oe.Mg)();return x.createElement(nt.ZP,{direction:Yn,locale:((mt=Oe.H8[Nt])==null?void 0:mt.antd)||bn},x.createElement(Oe.eU,{value:vr},kt.children))};function Er(kt){return x.createElement(Jr,null,kt)}function $r(kt){return kt.default?typeof kt.default=="function"?kt.default():kt.default:kt}function _r(){return[{apply:$r(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 Hr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let on=null;function pn(){return on=ut.PluginManager.create({plugins:_r(),validKeys:Hr()}),on}function or(){return on}},92123:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return Ct},Link:function(){return Q},Outlet:function(){return K.j3},PluginManager:function(){return jt},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return it.m8},useAppData:function(){return H.Ov},useDispatch:function(){return f.I0},useLocation:function(){return K.TH},useOutletContext:function(){return K.bx},useParams:function(){return K.UO},useSearchParams:function(){return W.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(95194);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(22881),o=e(89618),h=e(89589),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(Ge,nt,ut)=>nt in Ge?u(Ge,nt,{enumerable:!0,configurable:!0,writable:!0,value:ut}):Ge[nt]=ut,S=(Ge,nt)=>{for(var ut in nt||(nt={}))y.call(nt,ut)&&b(Ge,ut,nt[ut]);if(p)for(var ut of p(nt))_.call(nt,ut)&&b(Ge,ut,nt[ut]);return Ge},k=(Ge,nt)=>a(Ge,x(nt)),R=(Ge,nt)=>{var ut={};for(var Kt in Ge)y.call(Ge,Kt)&&nt.indexOf(Kt)<0&&(ut[Kt]=Ge[Kt]);if(Ge!=null&&p)for(var Kt of p(Ge))nt.indexOf(Kt)<0&&_.call(Ge,Kt)&&(ut[Kt]=Ge[Kt]);return ut};const A=Ge=>{var nt=Ge,{overlayClassName:ut}=nt,Kt=R(nt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:ut},Kt))},I=Ge=>Ge.reduce((nt,ut)=>ut.lang?k(S({},nt),{[ut.lang]:ut}):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"}},B=Ge=>React.createElement(React.Fragment,null);var N=e(38329),V=e(38127),W=e(32451),H=e(16371),te=e(87296);function ie(Ge,nt){var ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Zt=r.useRef(typeof IntersectionObserver=="function"),De=r.useRef(null);return r.useEffect(function(){if(!(!Ge.current||!Zt.current||Kt.disabled))return De.current=new IntersectionObserver(function(Je){var Wt=(0,te.Z)(Je,1),Ot=Wt[0];nt(Ot)},ut),De.current.observe(Ge.current),function(){var Je;(Je=De.current)===null||Je===void 0||Je.disconnect()}},[nt,ut,Kt.disabled,Ge]),De.current}var oe=["prefetch"];function J(Ge){var nt=r.useRef(null);return r.useEffect(function(){Ge&&(typeof Ge=="function"?Ge(nt.current):Ge.current=nt.current)}),nt}var Q=r.forwardRef(function(Ge,nt){var ut,Kt=Ge.prefetch,Zt=(0,V.Z)(Ge,oe),De=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Je=De.defaultPrefetch,Wt=De.defaultPrefetchTimeout,Ot=(Kt===!0?"intent":Kt===!1?"none":Kt)||Je;if(!["intent","render","viewport","none"].includes(Ot))throw new Error("Invalid prefetch value ".concat(Ot," found in Link component"));var zt=(0,H.Ov)(),Ft=typeof Ge.to=="string"?Ge.to:(ut=Ge.to)===null||ut===void 0?void 0:ut.pathname,At=r.useRef(!1),Yt=J(nt),Ye=function(Dt){if(Ot==="intent"){var Ce=Dt.target||{};Ce.preloadTimeout||(Ce.preloadTimeout=setTimeout(function(){var ft;Ce.preloadTimeout=null,(ft=zt.preloadRoute)===null||ft===void 0||ft.call(zt,Ft)},Ge.prefetchTimeout||Wt))}},ce=function(Dt){if(Ot==="intent"){var Ce=Dt.target||{};Ce.preloadTimeout&&(clearTimeout(Ce.preloadTimeout),Ce.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(Ot==="render"&&!At.current){var pe;(pe=zt.preloadRoute)===null||pe===void 0||pe.call(zt,Ft),At.current=!0}},[Ot,Ft]),ie(Yt,function(pe){if(pe!=null&&pe.isIntersecting){var Dt;(Dt=zt.preloadRoute)===null||Dt===void 0||Dt.call(zt,Ft)}},{rootMargin:"100px"},{disabled:Ot!=="viewport"}),Ft?r.createElement(W.rU,(0,N.Z)({onMouseEnter:Ye,onMouseLeave:ce,ref:Yt},Zt),Ge.children):null}),K=e(35338),se=e(8616);function ee(){"use strict";ee=function(){return nt};var Ge,nt={},ut=Object.prototype,Kt=ut.hasOwnProperty,Zt=Object.defineProperty||function(Er,$r,_r){Er[$r]=_r.value},De=typeof Symbol=="function"?Symbol:{},Je=De.iterator||"@@iterator",Wt=De.asyncIterator||"@@asyncIterator",Ot=De.toStringTag||"@@toStringTag";function zt(Er,$r,_r){return Object.defineProperty(Er,$r,{value:_r,enumerable:!0,configurable:!0,writable:!0}),Er[$r]}try{zt({},"")}catch(Er){zt=function(_r,Hr,on){return _r[Hr]=on}}function Ft(Er,$r,_r,Hr){var on=$r&&$r.prototype instanceof Ce?$r:Ce,pn=Object.create(on.prototype),or=new Yr(Hr||[]);return Zt(pn,"_invoke",{value:Rt(Er,_r,or)}),pn}function At(Er,$r,_r){try{return{type:"normal",arg:Er.call($r,_r)}}catch(Hr){return{type:"throw",arg:Hr}}}nt.wrap=Ft;var Yt="suspendedStart",Ye="suspendedYield",ce="executing",pe="completed",Dt={};function Ce(){}function ft(){}function Ut(){}var St={};zt(St,Je,function(){return this});var Oe=Object.getPrototypeOf,wt=Oe&&Oe(Oe(Jr([])));wt&&wt!==ut&&Kt.call(wt,Je)&&(St=wt);var ye=Ut.prototype=Ce.prototype=Object.create(St);function Xe(Er){["next","throw","return"].forEach(function($r){zt(Er,$r,function(_r){return this._invoke($r,_r)})})}function vt(Er,$r){function _r(on,pn,or,kt){var mt=At(Er[on],Er,pn);if(mt.type!=="throw"){var gt=mt.arg,Nt=gt.value;return Nt&&(0,se.Z)(Nt)=="object"&&Kt.call(Nt,"__await")?$r.resolve(Nt.__await).then(function(Ar){_r("next",Ar,or,kt)},function(Ar){_r("throw",Ar,or,kt)}):$r.resolve(Nt).then(function(Ar){gt.value=Ar,or(gt)},function(Ar){return _r("throw",Ar,or,kt)})}kt(mt.arg)}var Hr;Zt(this,"_invoke",{value:function(pn,or){function kt(){return new $r(function(mt,gt){_r(pn,or,mt,gt)})}return Hr=Hr?Hr.then(kt,kt):kt()}})}function Rt(Er,$r,_r){var Hr=Yt;return function(on,pn){if(Hr===ce)throw new Error("Generator is already running");if(Hr===pe){if(on==="throw")throw pn;return{value:Ge,done:!0}}for(_r.method=on,_r.arg=pn;;){var or=_r.delegate;if(or){var kt=Ne(or,_r);if(kt){if(kt===Dt)continue;return kt}}if(_r.method==="next")_r.sent=_r._sent=_r.arg;else if(_r.method==="throw"){if(Hr===Yt)throw Hr=pe,_r.arg;_r.dispatchException(_r.arg)}else _r.method==="return"&&_r.abrupt("return",_r.arg);Hr=ce;var mt=At(Er,$r,_r);if(mt.type==="normal"){if(Hr=_r.done?pe:Ye,mt.arg===Dt)continue;return{value:mt.arg,done:_r.done}}mt.type==="throw"&&(Hr=pe,_r.method="throw",_r.arg=mt.arg)}}}function Ne(Er,$r){var _r=$r.method,Hr=Er.iterator[_r];if(Hr===Ge)return $r.delegate=null,_r==="throw"&&Er.iterator.return&&($r.method="return",$r.arg=Ge,Ne(Er,$r),$r.method==="throw")||_r!=="return"&&($r.method="throw",$r.arg=new TypeError("The iterator does not provide a '"+_r+"' method")),Dt;var on=At(Hr,Er.iterator,$r.arg);if(on.type==="throw")return $r.method="throw",$r.arg=on.arg,$r.delegate=null,Dt;var pn=on.arg;return pn?pn.done?($r[Er.resultName]=pn.value,$r.next=Er.nextLoc,$r.method!=="return"&&($r.method="next",$r.arg=Ge),$r.delegate=null,Dt):pn:($r.method="throw",$r.arg=new TypeError("iterator result is not an object"),$r.delegate=null,Dt)}function Dr(Er){var $r={tryLoc:Er[0]};1 in Er&&($r.catchLoc=Er[1]),2 in Er&&($r.finallyLoc=Er[2],$r.afterLoc=Er[3]),this.tryEntries.push($r)}function Et(Er){var $r=Er.completion||{};$r.type="normal",delete $r.arg,Er.completion=$r}function Yr(Er){this.tryEntries=[{tryLoc:"root"}],Er.forEach(Dr,this),this.reset(!0)}function Jr(Er){if(Er||Er===""){var $r=Er[Je];if($r)return $r.call(Er);if(typeof Er.next=="function")return Er;if(!isNaN(Er.length)){var _r=-1,Hr=function on(){for(;++_r<Er.length;)if(Kt.call(Er,_r))return on.value=Er[_r],on.done=!1,on;return on.value=Ge,on.done=!0,on};return Hr.next=Hr}}throw new TypeError((0,se.Z)(Er)+" is not iterable")}return ft.prototype=Ut,Zt(ye,"constructor",{value:Ut,configurable:!0}),Zt(Ut,"constructor",{value:ft,configurable:!0}),ft.displayName=zt(Ut,Ot,"GeneratorFunction"),nt.isGeneratorFunction=function(Er){var $r=typeof Er=="function"&&Er.constructor;return!!$r&&($r===ft||($r.displayName||$r.name)==="GeneratorFunction")},nt.mark=function(Er){return Object.setPrototypeOf?Object.setPrototypeOf(Er,Ut):(Er.__proto__=Ut,zt(Er,Ot,"GeneratorFunction")),Er.prototype=Object.create(ye),Er},nt.awrap=function(Er){return{__await:Er}},Xe(vt.prototype),zt(vt.prototype,Wt,function(){return this}),nt.AsyncIterator=vt,nt.async=function(Er,$r,_r,Hr,on){on===void 0&&(on=Promise);var pn=new vt(Ft(Er,$r,_r,Hr),on);return nt.isGeneratorFunction($r)?pn:pn.next().then(function(or){return or.done?or.value:pn.next()})},Xe(ye),zt(ye,Ot,"Generator"),zt(ye,Je,function(){return this}),zt(ye,"toString",function(){return"[object Generator]"}),nt.keys=function(Er){var $r=Object(Er),_r=[];for(var Hr in $r)_r.push(Hr);return _r.reverse(),function on(){for(;_r.length;){var pn=_r.pop();if(pn in $r)return on.value=pn,on.done=!1,on}return on.done=!0,on}},nt.values=Jr,Yr.prototype={constructor:Yr,reset:function($r){if(this.prev=0,this.next=0,this.sent=this._sent=Ge,this.done=!1,this.delegate=null,this.method="next",this.arg=Ge,this.tryEntries.forEach(Et),!$r)for(var _r in this)_r.charAt(0)==="t"&&Kt.call(this,_r)&&!isNaN(+_r.slice(1))&&(this[_r]=Ge)},stop:function(){this.done=!0;var $r=this.tryEntries[0].completion;if($r.type==="throw")throw $r.arg;return this.rval},dispatchException:function($r){if(this.done)throw $r;var _r=this;function Hr(gt,Nt){return or.type="throw",or.arg=$r,_r.next=gt,Nt&&(_r.method="next",_r.arg=Ge),!!Nt}for(var on=this.tryEntries.length-1;on>=0;--on){var pn=this.tryEntries[on],or=pn.completion;if(pn.tryLoc==="root")return Hr("end");if(pn.tryLoc<=this.prev){var kt=Kt.call(pn,"catchLoc"),mt=Kt.call(pn,"finallyLoc");if(kt&&mt){if(this.prev<pn.catchLoc)return Hr(pn.catchLoc,!0);if(this.prev<pn.finallyLoc)return Hr(pn.finallyLoc)}else if(kt){if(this.prev<pn.catchLoc)return Hr(pn.catchLoc,!0)}else{if(!mt)throw new Error("try statement without catch or finally");if(this.prev<pn.finallyLoc)return Hr(pn.finallyLoc)}}}},abrupt:function($r,_r){for(var Hr=this.tryEntries.length-1;Hr>=0;--Hr){var on=this.tryEntries[Hr];if(on.tryLoc<=this.prev&&Kt.call(on,"finallyLoc")&&this.prev<on.finallyLoc){var pn=on;break}}pn&&($r==="break"||$r==="continue")&&pn.tryLoc<=_r&&_r<=pn.finallyLoc&&(pn=null);var or=pn?pn.completion:{};return or.type=$r,or.arg=_r,pn?(this.method="next",this.next=pn.finallyLoc,Dt):this.complete(or)},complete:function($r,_r){if($r.type==="throw")throw $r.arg;return $r.type==="break"||$r.type==="continue"?this.next=$r.arg:$r.type==="return"?(this.rval=this.arg=$r.arg,this.method="return",this.next="end"):$r.type==="normal"&&_r&&(this.next=_r),Dt},finish:function($r){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var Hr=this.tryEntries[_r];if(Hr.finallyLoc===$r)return this.complete(Hr.completion,Hr.afterLoc),Et(Hr),Dt}},catch:function($r){for(var _r=this.tryEntries.length-1;_r>=0;--_r){var Hr=this.tryEntries[_r];if(Hr.tryLoc===$r){var on=Hr.completion;if(on.type==="throw"){var pn=on.arg;Et(Hr)}return pn}}throw new Error("illegal catch attempt")},delegateYield:function($r,_r,Hr){return this.delegate={iterator:Jr($r),resultName:_r,nextLoc:Hr},this.method==="next"&&(this.arg=Ge),Dt}},nt}var X=e(63579);function le(Ge,nt,ut,Kt,Zt,De,Je){try{var Wt=Ge[De](Je),Ot=Wt.value}catch(zt){ut(zt);return}Wt.done?nt(Ot):Promise.resolve(Ot).then(Kt,Zt)}function z(Ge){return function(){var nt=this,ut=arguments;return new Promise(function(Kt,Zt){var De=Ge.apply(nt,ut);function Je(Ot){le(De,Kt,Zt,Je,Wt,"next",Ot)}function Wt(Ot){le(De,Kt,Zt,Je,Wt,"throw",Ot)}Je(void 0)})}}var $=e(99227);function ae(Ge,nt){var ut=typeof Symbol!="undefined"&&Ge[Symbol.iterator]||Ge["@@iterator"];if(!ut){if(Array.isArray(Ge)||(ut=(0,$.Z)(Ge))||nt&&Ge&&typeof Ge.length=="number"){ut&&(Ge=ut);var Kt=0,Zt=function(){};return{s:Zt,n:function(){return Kt>=Ge.length?{done:!0}:{done:!1,value:Ge[Kt++]}},e:function(zt){throw zt},f:Zt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var De=!0,Je=!1,Wt;return{s:function(){ut=ut.call(Ge)},n:function(){var zt=ut.next();return De=zt.done,zt},e:function(zt){Je=!0,Wt=zt},f:function(){try{!De&&ut.return!=null&&ut.return()}finally{if(Je)throw Wt}}}}var _e=e(73825);function Ie(Ge){if(typeof Symbol!="undefined"&&Ge[Symbol.iterator]!=null||Ge["@@iterator"]!=null)return Array.from(Ge)}var ke=e(66160);function We(Ge){return(0,_e.Z)(Ge)||Ie(Ge)||(0,$.Z)(Ge)||(0,ke.Z)()}function je(Ge,nt){if(!(Ge instanceof nt))throw new TypeError("Cannot call a class as a function")}var Mt=e(89878);function yt(Ge,nt){for(var ut=0;ut<nt.length;ut++){var Kt=nt[ut];Kt.enumerable=Kt.enumerable||!1,Kt.configurable=!0,"value"in Kt&&(Kt.writable=!0),Object.defineProperty(Ge,(0,Mt.Z)(Kt.key),Kt)}}function Pt(Ge,nt,ut){return nt&&yt(Ge.prototype,nt),ut&&yt(Ge,ut),Object.defineProperty(Ge,"prototype",{writable:!1}),Ge}var tr=e(65873);function Vt(Ge,nt){if(!Ge)throw new Error(nt)}function lr(Ge){var nt=Ge.fns,ut=Ge.args;if(nt.length===1)return nt[0];var Kt=nt.pop();return nt.reduce(function(Zt,De){return function(){return De(Zt,ut)}},Kt)}function Ke(Ge){return!!Ge&&(0,se.Z)(Ge)==="object"&&typeof Ge.then=="function"}var Ct=function(Ge){return Ge.compose="compose",Ge.modify="modify",Ge.event="event",Ge}({}),jt=function(){function Ge(nt){je(this,Ge),(0,tr.Z)(this,"opts",void 0),(0,tr.Z)(this,"hooks",{}),this.opts=nt}return Pt(Ge,[{key:"register",value:function(ut){var Kt=this;Vt(ut.apply,"plugin register failed, apply must supplied"),Object.keys(ut.apply).forEach(function(Zt){Vt(Kt.opts.validKeys.indexOf(Zt)>-1,"register failed, invalid key ".concat(Zt," ").concat(ut.path?"from plugin ".concat(ut.path):"",".")),Kt.hooks[Zt]=(Kt.hooks[Zt]||[]).concat(ut.apply[Zt])})}},{key:"getHooks",value:function(ut){var Kt=ut.split("."),Zt=We(Kt),De=Zt[0],Je=Zt.slice(1),Wt=this.hooks[De]||[];return Je.length&&(Wt=Wt.map(function(Ot){try{var zt=Ot,Ft=ae(Je),At;try{for(Ft.s();!(At=Ft.n()).done;){var Yt=At.value;zt=zt[Yt]}}catch(Ye){Ft.e(Ye)}finally{Ft.f()}return zt}catch(Ye){return null}}).filter(Boolean)),Wt}},{key:"applyPlugins",value:function(ut){var Kt=ut.key,Zt=ut.type,De=ut.initialValue,Je=ut.args,Wt=ut.async,Ot=this.getHooks(Kt)||[];switch(Je&&Vt((0,se.Z)(Je)==="object","applyPlugins failed, args must be plain object."),Wt&&Vt(Zt===Ct.modify||Zt===Ct.event,"async only works with modify and event type."),Zt){case Ct.modify:return Wt?Ot.reduce(function(){var zt=z(ee().mark(function Ft(At,Yt){var Ye;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Vt(typeof Yt=="function"||(0,se.Z)(Yt)==="object"||Ke(Yt),"applyPlugins failed, all hooks for key ".concat(Kt," must be function, plain object or Promise.")),!Ke(At)){pe.next=5;break}return pe.next=4,At;case 4:At=pe.sent;case 5:if(typeof Yt!="function"){pe.next=16;break}if(Ye=Yt(At,Je),!Ke(Ye)){pe.next=13;break}return pe.next=10,Ye;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Ye);case 14:pe.next=21;break;case 16:if(!Ke(Yt)){pe.next=20;break}return pe.next=19,Yt;case 19:Yt=pe.sent;case 20:return pe.abrupt("return",(0,X.Z)((0,X.Z)({},At),Yt));case 21:case"end":return pe.stop()}},Ft)}));return function(Ft,At){return zt.apply(this,arguments)}}(),Ke(De)?De:Promise.resolve(De)):Ot.reduce(function(zt,Ft){return Vt(typeof Ft=="function"||(0,se.Z)(Ft)==="object","applyPlugins failed, all hooks for key ".concat(Kt," must be function or plain object.")),typeof Ft=="function"?Ft(zt,Je):(0,X.Z)((0,X.Z)({},zt),Ft)},De);case Ct.event:return z(ee().mark(function zt(){var Ft,At,Yt,Ye;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Ft=ae(Ot),pe.prev=1,Ft.s();case 3:if((At=Ft.n()).done){pe.next=12;break}if(Yt=At.value,Vt(typeof Yt=="function","applyPlugins failed, all hooks for key ".concat(Kt," must be function.")),Ye=Yt(Je),!(Wt&&Ke(Ye))){pe.next=10;break}return pe.next=10,Ye;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Ft.e(pe.t0);case 17:return pe.prev=17,Ft.f(),pe.finish(17);case 20:case"end":return pe.stop()}},zt,null,[[1,14,17,20]])}))();case Ct.compose:return function(){return lr({fns:Ot.concat(De),args:Je})()}}}}],[{key:"create",value:function(ut){var Kt=new Ge({validKeys:ut.validKeys});return ut.plugins.forEach(function(Zt){Kt.register(Zt)}),Kt}}]),Ge}(),it=e(40059);let xt=0,pt=0;function et(Ge,nt){}function Ze(Ge){return JSON.stringify(Ge,null,2)}function ge(Ge){const nt=Ge.length>1?Ge.map(Ae).join(" "):Ge[0];return typeof nt=="object"?`${Ze(nt)}`:nt.toString()}function Ae(Ge){return typeof Ge=="object"?`${JSON.stringify(Ge)}`:Ge.toString()}const Me={log(...Ge){ge(Ge)},info(...Ge){ge(Ge)},warn(...Ge){ge(Ge)},error(...Ge){ge(Ge)},group(){pt++},groupCollapsed(){pt++},groupEnd(){pt&&--pt},clear(){},trace(...Ge){console.trace(...Ge)},profile(...Ge){console.profile(...Ge)},profileEnd(...Ge){console.profileEnd(...Ge)}},Ue=()=>{}},95194: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.")})},89618:function(d,v,e){"use strict";e.d(v,{j:function(){return Qn},Q:function(){return Vu}});var r=e(22881),i=e(89880),l=e.n(i),c=e(59301),f=e(92123),o=e(62332),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(C,D,L)=>D in C?h(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,y=(C,D)=>{for(var L in D||(D={}))a.call(D,L)&&p(C,L,D[L]);if(u)for(var L of u(D))x.call(D,L)&&p(C,L,D[L]);return C},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:C},{call:D,put:L}){return yield D(o.n1,C)},*appplySchool({payload:C},{call:D,put:L}){return yield D(o.bz,C)},*getSchoolOption({payload:C},{call:D,put:L}){return yield D(o.GY,C)},*getDepartmentOption({payload:C},{call:D,put:L}){return yield D(o.Ql,C)},*appplyDepartment({payload:C},{call:D,put:L}){return yield D(o.Zm,C)},*updateAccount({payload:C},{call:D,put:L}){return yield D(o.sG,C)},*cancelRealNameAuth({payload:C},{call:D,put:L}){return yield D(o.P,C)},*cancelProfessionalAuth({payload:C},{call:D,put:L}){return yield D(o.$f,C)},*applyProfessionalAuth({payload:C},{call:D,put:L}){return yield D(o.Ow,C)},*applyRealNameAuth({payload:C},{call:D,put:L}){return yield D(o.ht,C)},*getCode({payload:C},{call:D,put:L}){return yield D(o.Cq,C)},*bindPhone({payload:C},{call:D,put:L}){return yield D(o.eF,C)},*bindEmail({payload:C},{call:D,put:L}){return yield D(o.I8,C)},*updatePassword({payload:C},{call:D,put:L}){return yield D(o.gQ,C)},*unbindAccount({payload:C},{call:D,put:L}){return yield D(o.wi,C)},*getBasicInfo({payload:C},{call:D,put:L}){const me=yield D(o.o9,C);return yield L({type:"save",payload:{basicInfo:y({},me)}}),me},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:y({},C)}})}},reducers:{save(C,D){return y(y({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},S=e(48562),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,M=(C,D,L)=>D in C?k(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,B=(C,D)=>{for(var L in D||(D={}))A.call(D,L)&&M(C,L,D[L]);if(R)for(var L of R(D))I.call(D,L)&&M(C,L,D[L]);return C},V={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:C,callback:D},{call:L,put:me}){return yield L(S.nZ,C)},*informUp({payload:C,callback:D},{call:L,put:me}){return yield L(S.TO,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:B({},C)}})}},reducers:{save(C,D){return B(B({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},W=e(40976),H=Object.defineProperty,te=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,J=(C,D,L)=>D in C?H(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Q=(C,D)=>{for(var L in D||(D={}))ie.call(D,L)&&J(C,L,D[L]);if(te)for(var L of te(D))oe.call(D,L)&&J(C,L,D[L]);return C},se={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:C,callback:D},{call:L,put:me}){const ze=yield L(W.SV,C);return yield me({type:"save",payload:{allList:Q({},ze)}}),ze},*mineAttachment({payload:C,callback:D},{call:L,put:me}){const ze=yield L(W.zI,C);return yield me({type:"save",payload:{mineList:Q({},ze)}}),ze},*fileImport({payload:C,callback:D},{call:L,put:me}){return yield L(W.tO,C)},*getDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(W.Nm,C);return yield me({type:"save",payload:{detail:Q({},ze)}}),ze},*updateVisits({payload:C,callback:D},{call:L,put:me}){return yield L(W.H,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Q({},C)}})}},reducers:{save(C,D){return Q(Q({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},ee=e(12642),X=Object.defineProperty,le=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,ae=(C,D,L)=>D in C?X(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,_e=(C,D)=>{for(var L in D||(D={}))z.call(D,L)&&ae(C,L,D[L]);if(le)for(var L of le(D))$.call(D,L)&&ae(C,L,D[L]);return C},ke={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(ee.yq,C);return yield me({type:"save",payload:{boardsCategoryList:_e({},ze.data)}}),ze.data},*getBoardsDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(ee.dI,C);return yield me({type:"save",payload:{boardsDetail:_e({},ze.data)}}),ze.data},*setTopping({payload:C,callback:D},{call:L,put:me}){return yield L(ee.cc,C)},*escTopping({payload:C,callback:D},{call:L,put:me}){return yield L(ee.CJ,C)},*getReplyList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(ee.PC,C);yield me({type:"save",payload:{replyList:_e({},ze.data)}})},*createReply({payload:C,callback:D},{call:L,put:me}){return yield L(ee.PP,C)},*replyLike({payload:C,callback:D},{call:L,put:me}){return yield L(ee.NA,C)},*replyUnLike({payload:C,callback:D},{call:L,put:me}){return yield L(ee.YQ,C)},*deleteReply({payload:C,callback:D},{call:L,put:me}){return yield L(ee.Mf,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:_e({},C)}})}},reducers:{save(C,D){return _e(_e({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},We=e(39598),je=Object.defineProperty,Mt=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,tr=(C,D,L)=>D in C?je(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Vt=(C,D)=>{for(var L in D||(D={}))yt.call(D,L)&&tr(C,L,D[L]);if(Mt)for(var L of Mt(D))Pt.call(D,L)&&tr(C,L,D[L]);return C},Ke={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:C,callback:D},{call:L,put:me}){const ze=yield L(We.$Q,C);return yield me({type:"save",payload:{ScoreRangesData:ze==null?void 0:ze.data}}),ze},*getQuestionResult({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We._U,C);return yield me({type:"save",payload:{NormalResult:ze}}),ze},*getUserExercise({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.xA,C);return yield me({type:"save",payload:{userExerciseList:Vt({},(ze==null?void 0:ze.data)||{})}}),console.log("getUserExercise-res:",ze),ze==null?void 0:ze.data},*getExerciseIdentityPhotos({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.J,C);return yield me({type:"save",payload:{exerciseIdentityPhotos:Vt({},(ze==null?void 0:ze.data)||{})}}),ze==null?void 0:ze.data},*getExerciseExportHeadData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.iw,C);return yield me({type:"save",payload:{exerciseExportHeadData:Vt({},ze)}}),ze},*getExerciseUserInfo({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.Ty,C);return(ze==null?void 0:ze.status)===0&&(yield me({type:"save",payload:Vt({},{exerciseUserInfo:Vt({},ze.data)})})),ze},*getExaminationIntelligentSettings({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.sA,C);return yield me({type:"save",payload:{examinationIntelligentSettings:Vt({},ze)}}),ze},*getRandomEditExercises({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.yu,C);return yield me({type:"save",payload:{editRandomExercises:Vt({},ze)}}),ze},*getExerciseList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.G$,C);if(ze!=null&&ze.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(ze.total_exercise_users)}catch(un){}return yield me({type:"save",payload:{exerciseList:Vt({},ze)}}),yield me({type:"save",payload:{order_type:C.order_type,order:C.order}}),ze},*getExerciseStatistics({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We._u,C);return yield me({type:"save",payload:{statisticsList:Vt({},ze)}}),ze},*getBrankList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.n$,C);return yield me({type:"save",payload:{brankList:Vt({},ze)}}),ze},*saveBanks({payload:C,callback:D},{call:L,put:me}){return yield L(We.lf,C)},*getExerciseCourses({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.N3,C);return yield me({type:"save",payload:{exerciseCoursesList:Vt({},ze)}}),ze},*addExercise({payload:C,callback:D},{call:L,put:me}){return yield L(We.uR,C)},*editExercise({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.qf,C);return yield me({type:"save",payload:{editData:Vt({},ze)}}),ze},*getTagDiscipline({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.YY,C);return yield me({type:"save",payload:{tagDisciplineData:Vt({},ze)}}),ze},*editExerciseQuestion({payload:C,callback:D},{call:L,put:me}){return yield L(We.Di,C)},*addExerciseQuestion({payload:C,callback:D},{call:L,put:me}){return yield L(We.MK,C)},*exeriseMoveUpDown({payload:C,callback:D},{call:L,put:me}){return yield L(We.GK,C)},*getEndGroups({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.KE,C);return yield me({type:"save",payload:{endGroups:Vt({},ze)}}),ze},*getPublishGroups({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.ux,C);return yield me({type:"save",payload:{publishGroups:Vt({},ze)}}),ze},*getCommonHeader({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.UK,C);return yield me({type:"save",payload:{commonHeader:Vt({},ze)}}),ze},*getReviewExercise({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.BJ,C);return yield me({type:"save",payload:{reviewExercise:Vt({},ze)}}),ze},*postReviewExercise({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.pu,C);return yield me({type:"save",payload:{reviewExercise:Vt({},ze)}}),ze},*getCentralizeReviewExercise({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.X4,C);return yield me({type:"save",payload:{reviewExercise:Vt({},ze)}}),ze},*clearData({payload:C,callback:D},{call:L,put:me}){yield me({type:"save",payload:{[C.key]:{}}})},*getReviewGroupExercise({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.W4,C);return yield me({type:"save",payload:{reviewGroupExercise:Vt({},ze)}}),ze},*getWorkSetting({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.Ul,C);return yield me({type:"save",payload:{workSetting:Vt({},ze)}}),ze},*getRedoModal({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.tX,C);return yield me({type:"save",payload:{redoModal:Vt({},ze)}}),ze},*getRedoListModal({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.s,C);return yield me({type:"save",payload:{redoModal:Vt({},ze)}}),ze},*getCodeReviewDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.Xn,C);return yield me({type:"save",payload:{codeReviewDetail:Vt({},ze)}}),ze},*changeScore({payload:C,callback:D},{call:L,put:me}){return yield L(We.gG,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Vt({},C)}})},*setUpdateIndex({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:C==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:C},{call:D,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:C}})}},reducers:{save(C,D){return Vt(Vt({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Ct=e(94130),jt=Object.defineProperty,it=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,pt=Object.prototype.propertyIsEnumerable,et=(C,D,L)=>D in C?jt(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ze=(C,D)=>{for(var L in D||(D={}))xt.call(D,L)&&et(C,L,D[L]);if(it)for(var L of it(D))pt.call(D,L)&&et(C,L,D[L]);return C},Ae={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ct.x_,C);return yield me({type:"save",payload:{detailList:Ze({},ze)}}),ze},*getTasksListDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ct.QA,C);return yield me({type:"save",payload:{detailTaskList:Ze({},ze)}}),ze},*getTopisDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ct.B6,C);return yield me({type:"save",payload:{detail:Ze({},ze)}}),ze},*getTasksDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ct.y3,C);return yield me({type:"save",payload:{tasksDetail:Ze({},ze)}}),ze},*refuseTopic({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.mM,C)},*agreeTopic({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.je,C)},*getReplyList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ct.PC,C);yield me({type:"save",payload:{replyList:Ze({},ze)}})},*createReply({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.PP,C)},*replyLike({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.NA,C)},*replyUnLike({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.YQ,C)},*deleteReply({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.Mf,C)},*addTopicDefaultData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ct.y0,C);yield me({type:"save",payload:{addTopicData:Ze({},ze)}})},*editTopicDefaultData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ct.hL,C);return yield me({type:"save",payload:{editTopicData:Ze({},ze)}}),ze},*editTasksDefaultData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ct._n,C);return yield me({type:"save",payload:{editTasksData:Ze({},ze)}}),ze},*addTopic({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.Gr,C)},*editTopic({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.wA,C)},*addTasks({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.Sv,C)},*editTasks({payload:C,callback:D},{call:L,put:me}){return yield L(Ct.RP,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ze({},C)}})}},reducers:{save(C,D){return Ze(Ze({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Me=e(89392),Ue=e(4604),Ge=Object.defineProperty,nt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Zt=(C,D,L)=>D in C?Ge(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,De=(C,D)=>{for(var L in D||(D={}))ut.call(D,L)&&Zt(C,L,D[L]);if(nt)for(var L of nt(D))Kt.call(D,L)&&Zt(C,L,D[L]);return C},Wt={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:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.h$,C);try{sessionStorage.all_student_works=JSON.stringify(ze.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(C),localStorage.setItem("all_student_works_param",JSON.stringify(C))}catch(un){}return yield me({type:"save",payload:{workList:De({},ze)}}),ze},*getShixunWorkHeadInfo({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.fK,C);try{}catch(un){}return yield me({type:"save",payload:{headerInfo:ze==null?void 0:ze.data}}),ze},*getShixunWorkList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.Z8,C);try{sessionStorage.all_student_works=JSON.stringify(ze.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(C),localStorage.setItem("all_student_works_param",JSON.stringify(C))}catch(un){}return yield me({type:"save",payload:{shixunWorkList:ze==null?void 0:ze.data,homeworkAssistantPermissions:ze.homework_assistant_permissions,shixunAssistantPermission:ze.shixun_assistant_permission,courseAssistantPermission:ze.course_assistant_permission}}),ze},*getCodeReview({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.RP,C);return yield me({type:"save",payload:{codeReview:De({},ze)}}),ze},*getCodeReviewDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.Xn,C);return yield me({type:"save",payload:{codeReviewDetail:De({},ze)}}),ze},*getWorkDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.to,C);return yield me({type:"save",payload:{workDetail:De({},ze)}}),ze},*updateWork({payload:C,callback:D},{call:L,put:me}){return yield L(Ue.H,C)},*getShixunWorkReport({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.sw,C);try{ze.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(un){}return yield me({type:"save",payload:{shixunWorkReport:De({},ze)}}),ze},*getShixunWorkReports({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.cz,C);try{ze.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(un){}return yield me({type:"save",payload:{shixunWorkReport:De({},ze)}}),ze},*getWorkSetting({payload:C,callback:D},{call:L,put:me}){var ze,un;const li=yield L(Ue.Ul,C);(ze=li==null?void 0:li.group_settings)==null||ze.map(na=>{na.value=na.group_name,na.id=na.group_id,na.group_id=[na.group_id]}),(un=li==null?void 0:li.allow_late_settings)==null||un.map(na=>{na.value=na.group_name,na.id=na.group_id,na.group_id=[na.group_id]});const la={shixun_evaluation:li.shixun_evaluation,challenge_settings:li.challenge_settings};return yield me({type:"save",payload:{workSetting:De({},li),changeData:(0,Me.cloneDeep)(la)}}),li},*updateSetting({payload:C,callback:D},{call:L,put:me}){return yield L(Ue.m7,C)},*getCodeReviewCourse({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.JG,C);return yield me({type:"save",payload:{codeReviewCourse:De({},ze)}}),ze},*exportShixunWorks({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.Dx,C)},*getReferenceAnswer({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.Q3,C);return yield me({type:"save",payload:{referenceAnswer:De({},ze)}}),ze},*getPublishGroups({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.ux,C);return yield me({type:"save",payload:{publishGroups:De({},ze)}}),ze},*getEndGroups({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.KE,C);return yield me({type:"save",payload:{endGroups:De({},ze)}}),ze},*getBrankList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.n$,C);return yield me({type:"save",payload:{brankList:De({},ze)}}),ze},*changeScore({payload:C,callback:D},{call:L,put:me}){return yield L(Ue.gG,C)},*saveBanks({payload:C,callback:D},{call:L,put:me}){return yield L(Ue.lf,C)},*addCommonHomeWorkDefaultData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.Qt,C);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:De({},ze)}}),ze},*getSearchMemberList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.Lz,C);return yield me({type:"save",payload:{searchMemberList:De({},ze)}}),ze},*getProjectList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.ku,C);return yield me({type:"save",payload:{searchProjectList:De({},ze)}}),ze},*addStudentWorkDefaultData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.ak,C);return yield me({type:"save",payload:{studentWorkAddDefaultData:De({},ze)}}),ze},*editStudentWorkDefaultData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.PW,C);return yield me({type:"save",payload:{studentWorkEditDefaultData:De({},ze)}}),ze},*editCommonHomeWorkDefaultData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.BD,C);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:De({},ze)}}),ze},*editCommonHomeWorkDefaultBankData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.pH,C);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:De({},ze)}}),ze},*getReplyList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.PC,C);yield me({type:"save",payload:{replyList:De({},ze)}})},*getStudentWorkDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.Hj,C);yield me({type:"save",payload:{studentWorkDetail:De({},ze)}})},*getStudentWorkSupplyDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.ub,C);yield me({type:"save",payload:{studentWorkSupplyDetail:De({},ze)}})},*getStudentWorkCommon({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.JA,C);yield me({type:"save",payload:{studentWorkCommon:De({},ze)}})},*getAllStudentWorks({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.ql,C);return yield me({type:"save",payload:{allStudentWorks:De({},ze)}}),ze},*getFileRepeatResult({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.oN,C);return yield me({type:"save",payload:{codeReview:De({},ze)}}),ze},*getFileRepeatDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ue.Ti,C);return yield me({type:"save",payload:{codeReviewDetail:De({},ze)}}),ze},*createReply({payload:C,callback:D},{call:L,put:me}){return yield L(Ue.PP,C)},*replyLike({payload:C,callback:D},{call:L,put:me}){return yield L(Ue.NA,C)},*replyUnLike({payload:C,callback:D},{call:L,put:me}){return yield L(Ue.YQ,C)},*deleteReply({payload:C,callback:D},{call:L,put:me}){return yield L(Ue.Mf,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:De({},C)}})}},reducers:{save(C,D){return De(De({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Ot=e(19284),zt=e(47141),Ft=Object.defineProperty,At=Object.getOwnPropertySymbols,Yt=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,ce=(C,D,L)=>D in C?Ft(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,pe=(C,D)=>{for(var L in D||(D={}))Yt.call(D,L)&&ce(C,L,D[L]);if(At)for(var L of At(D))Ye.call(D,L)&&ce(C,L,D[L]);return C},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:C},{call:D,put:L}){yield D(Ot.gq,C)},*getAssistantPermissions({payload:C},{call:D,put:L}){if(!(0,zt.eB)())return;const me=yield D(Ot.rS,C);yield L({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:C},{call:D,put:L}){const me=yield D(Ot.LH,C);return yield L({type:"save",payload:{cal_finish_if:me.cal_finish_if}}),me},*updateCoursePortraitData({payload:C},{call:D,put:L}){return yield D(Ot.Z_,C)},*getUserPortraitConfig({payload:C},{call:D,put:L}){const me=yield D(Ot._0,C);return yield L({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:C},{call:D,put:L}){return yield D(Ot.r2,C)},*getClassroom({payload:C},{call:D,put:L}){const me=C,ze=yield D(Ot.V8,C);return yield L({type:"save",payload:pe({listParams:me},ze)}),ze},*getClassroomTopBanner({payload:C},{call:D,put:L}){const me=yield D(Ot.U_,C);return yield L({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:pe({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:C},{call:D,put:L}){const me=yield D(Ot.w9,C);let ze=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],un={};return ze==null||ze.forEach(li=>{un[li.type]=li.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},me),detailLeftMenusNames:un}}),me},*getClassroomShixunsList({payload:C},{call:D,put:L}){const me=yield D(Ot.Nd,C);yield L({type:"save",payload:{detailShixunsList:pe({},me)}})},*getClassroomTeacherShixunsList({payload:C},{call:D,put:L}){const me=yield D(Ot.Gk,C);return yield L({type:"save",payload:{detailShixunsList:pe({},me)}}),me},*getClassroomCommonList({payload:C},{call:D,put:L}){const me=yield D(Ot.Nd,C);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomTeacherCommonList({payload:C},{call:D,put:L}){const me=yield D(Ot.Gk,C);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}}),me},*getClassroomGraduationTopicsList({payload:C},{call:D,put:L}){const me=yield D(Ot.yV,C);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},me)}})},*getClassroomGraduationTaskList({payload:C},{call:D,put:L}){const me=yield D(Ot.R2,C);yield L({type:"save",payload:{detailGraduationTaskList:pe({},me)}})},*getClassroomExercisesList({payload:C},{call:D,put:L}){const me=yield D(Ot.N7,C);yield L({type:"save",payload:{detailExerciseList:pe({},me)}})},*getClassroomPollsList({payload:C},{call:D,put:L}){const me=yield D(Ot.BR,C);yield L({type:"save",payload:{detailPollsList:pe({},me)}})},*getCourseGroups({payload:C},{call:D,put:L}){const me=yield D(Ot.qB,C);yield L({type:"save",payload:{courseGroups:pe({},me)}})},*getAllCourseGroup({payload:C},{call:D,put:L}){const me=yield D(Ot.c_,C);return yield L({type:"save",payload:{allCourseGroups:pe({},me)}}),me},*getClassroomCommonHomeworksList({payload:C},{call:D,put:L}){const me=yield D(Ot.Al,C);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomAttendancesList({payload:C},{call:D,put:L}){const me=yield D(Ot.Vw,C);yield L({type:"save",payload:{detailAttendancesList:pe({},me)}})},*getClassroomAttendancesStatistic({payload:C},{call:D,put:L}){const me=yield D(Ot.Ls,C);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},me)}})},*getAttendanceDetail({payload:C},{call:D,put:L}){const me=yield D(Ot.zg,C);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},me)}}),me},*getAnnouncementList({payload:C},{call:D,put:L}){const me=yield D(Ot.QZ,C);yield L({type:"save",payload:{detailAnnouncementList:pe({},me)}})},*getAttachmentList({payload:C},{call:D,put:L}){const me=yield D(Ot.KT,C);yield L({type:"save",payload:{detailAttachmentList:pe({},me.data)}})},*getCourseware({payload:C},{call:D,put:L}){const me=yield D(Ot.ZT,C);yield L({type:"save",payload:{detailCourseware:pe({},me.data)}})},*getVideoList({payload:C},{call:D,put:L}){const me=yield D(Ot.O3,C);yield L({type:"save",payload:{detailVideoList:pe({},me)}})},*getLiveVideoList({payload:C},{call:D,put:L}){const me=yield D(Ot.DJ,C);yield L({type:"save",payload:{detailLiveVideoList:pe({},me)}})},*getCoursesMine({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.Ed,C);return yield me({type:"save",payload:{courseMine:pe({},ze)}}),ze.data},*getBoardList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.KP,C);return yield me({type:"save",payload:{detailBoardList:pe({},ze.data)}}),ze.data},*getCourseGroupsList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.kW,C);return yield me({type:"save",payload:{detailCourseGroupsList:pe({},ze)}}),ze},*getCourseStudentsList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.J2,C);return yield me({type:"save",payload:{detailCoursStudentsList:pe({},ze)}}),ze.data},*getCourseStatistics({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.g4,C);return yield me({type:"save",payload:{detailCourseStatisticsList:pe({},ze)}}),ze},*getCourseActscore({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.t1,C);return yield me({type:"save",payload:{detailCourseActscore:pe({},ze)}}),ze},*getCourseWorkscore({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.GV,C);return yield me({type:"save",payload:{detailCourseWorkscore:pe({},ze)}}),ze},*getShixunLists({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.Pj,C);return yield me({type:"save",payload:{shixunLists:pe({},ze)}}),ze},*getExperimentLists({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot._9,C);return yield me({type:"save",payload:{shixunLists:pe({},ze)}}),ze},*getShixunAiRecommendLists({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.Hn,C);return yield me({type:"save",payload:{shixunAiRecommendLists:pe({},ze)}}),ze},*getCoursesLists({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.W7,C);return yield me({type:"save",payload:{coursesLists:pe({},ze)}}),ze},*createCoursesHomework({payload:C,callback:D},{call:L,put:me}){return yield L(Ot.Ds,C)},*createShixunHomework({payload:C,callback:D},{call:L,put:me}){return yield L(Ot.aQ,C)},*createExperiment({payload:C,callback:D},{call:L,put:me}){return yield L(Ot.BQ,C)},*getSchoolList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.K$,C);return yield me({type:"save",payload:{schoolList:pe({},ze.school_names)}}),ze.school_names},*searchSchoolTeacherList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.nQ,C);return yield me({type:"save",payload:{searchMemberList:pe({},ze)}}),ze},*getAllTaskList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.km,C);return yield me({type:"save",payload:{taskList:[...ze.tasks]}}),ze},*updateTaskPosition({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ot.U8,C);return yield me({type:"save",payload:{actionTabs:{key:""}}}),ze},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:pe({},C)}})},*setUpdateData({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateData:C}})}},reducers:{save(C,D){return pe(pe({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},ft=Object.defineProperty,Ut=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,wt=(C,D,L)=>D in C?ft(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,ye=(C,D)=>{for(var L in D||(D={}))St.call(D,L)&&wt(C,L,D[L]);if(Ut)for(var L of Ut(D))Oe.call(D,L)&&wt(C,L,D[L]);return C},vt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:C},{call:D,put:L}){const me=yield D(Ot.K$,C);yield L({type:"save",payload:{schoolList:(me==null?void 0:me.school_names)||[]}})},*getSearchCourseList({payload:C},{call:D,put:L}){const me=yield D(Ot.oM,C);yield L({type:"save",payload:{searchCourseList:(me==null?void 0:me.course_lists)||[]}})},*submitCourses({payload:C},{call:D,put:L}){return yield D(Ot.Bn,C)},*appplySchool({payload:C},{call:D,put:L}){return yield D(Ot.bz,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ye({},C)}})},*joincoursegroup({payload:C},{call:D,put:L}){return yield D(Ot.WK,C)}},reducers:{save(C,D){return ye(ye({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Rt=Object.defineProperty,Ne=Object.getOwnPropertySymbols,Dr=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable,Yr=(C,D,L)=>D in C?Rt(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Jr=(C,D)=>{for(var L in D||(D={}))Dr.call(D,L)&&Yr(C,L,D[L]);if(Ne)for(var L of Ne(D))Et.call(D,L)&&Yr(C,L,D[L]);return C},$r={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:C},{call:D,put:L}){const me=yield D(Ot.Dd,C);yield L({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:C},{call:D,put:L}){const me=yield D(Ot.Fg,C);yield L({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:C},{call:D,put:L}){const me=yield D(Ot.Gz,C);yield L({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:C},{call:D,put:L}){const me=yield D(Ot.Hl,C);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(C,D){return Jr(Jr({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},_r=e(12588),Hr=Object.defineProperty,on=Object.getOwnPropertySymbols,pn=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,kt=(C,D,L)=>D in C?Hr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,mt=(C,D)=>{for(var L in D||(D={}))pn.call(D,L)&&kt(C,L,D[L]);if(on)for(var L of on(D))or.call(D,L)&&kt(C,L,D[L]);return C},Nt={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:C,callback:D},{call:L,put:me}){const ze=yield L(_r.s3,C);return yield me({type:"save",payload:{pollsList:mt({},ze)}}),ze},*getCommonHeader({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.UK,C);return yield me({type:"save",payload:{commonHeader:mt({},ze)}}),ze},*getPollsStatistics({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.Qn,C);return yield me({type:"save",payload:{statisticsList:mt({},ze)}}),ze},*getBrankList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.n$,C);return yield me({type:"save",payload:{brankList:mt({},ze)}}),ze},*saveBanks({payload:C,callback:D},{call:L,put:me}){return yield L(_r.lf,C)},*getPollsCourses({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.Q9,C);return yield me({type:"save",payload:{pollsCoursesList:mt({},ze)}}),ze},*getPollsSetting({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.Hi,C);return yield me({type:"save",payload:{pollSetting:mt({},ze)}}),ze},*editPolls({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.Ye,C);return yield me({type:"save",payload:{editData:mt({},JSON.parse(JSON.stringify(ze)))}}),ze},*getEndGroups({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.KE,C);return yield me({type:"save",payload:{endGroups:mt({},ze)}}),ze},*getPublishGroups({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.ux,C);return yield me({type:"save",payload:{publishGroups:mt({},ze)}}),ze},*getExerciseBanks({payload:C,callback:D},{call:L,put:me}){const ze=yield L(_r.kp,C);return yield me({type:"save",payload:{exerciseBanks:mt({},ze)}}),ze},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:mt({},C)}})}},reducers:{save(C,D){return mt(mt({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Ar=e(62213),vr=Object.defineProperty,at=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Yn=(C,D,L)=>D in C?vr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,mr=(C,D)=>{for(var L in D||(D={}))Nr.call(D,L)&&Yn(C,L,D[L]);if(at)for(var L of at(D))bn.call(D,L)&&Yn(C,L,D[L]);return C},gn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:C},{call:D,put:L}){var me;const ze=yield D(Ar.gp,C);return(me=ze==null?void 0:ze.teacher_list)==null||me.map(un=>(un.key=un.course_member_id,un)),yield L({type:"save",payload:{list:ze}}),ze},*getStudentsList({payload:C},{call:D,put:L}){var me;const ze=yield D(Ar.ur,C);return(me=ze==null?void 0:ze.students)==null||me.map(un=>(un.key=un.user_id,un)),yield L({type:"save",payload:{studentsList:ze}}),ze},*getApplyList({payload:C},{call:D,put:L}){const me=yield D(Ar.s,C);return yield L({type:"save",payload:{applyList:me}}),me},*getAllCourseGroups({payload:C},{call:D,put:L}){const me=yield D(Ar.xV,C);return yield L({type:"save",payload:{allCourseGroups:me}}),me},*getGraduationGroupList({payload:C},{call:D,put:L}){const me=yield D(Ar.Bg,C);return yield L({type:"save",payload:{graduationGroupList:me}}),me},*setAllCourseGroups({payload:C},{call:D,put:L}){const me=yield D(Ar.oZ,C);return yield L({type:"save",payload:{setAllCourseGroups:me}}),me},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:mr({},C)}})},*setUpdateIndex({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(C,D){return mr(mr({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Mn=e(51148),ai=Object.defineProperty,hi=Object.getOwnPropertySymbols,Vi=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,Ri=(C,D,L)=>D in C?ai(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ii=(C,D)=>{for(var L in D||(D={}))Vi.call(D,L)&&Ri(C,L,D[L]);if(hi)for(var L of hi(D))Yi.call(D,L)&&Ri(C,L,D[L]);return C},Ai={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Mn.BQ,C);return yield me({type:"save",payload:{videoStatisticsList:Ii({},ze)}}),ze},*getNewVideoStatisticsList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Mn.cU,C);return yield me({type:"save",payload:{newVideoStatisticsList:Ii({},ze)}}),ze},*getVideoPeopleStatics({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Mn.Zx,C);return yield me({type:"save",payload:{videoPeopleStatics:Ii({},ze)}}),ze},*getVideoDurationStatics({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Mn.Mz,C);return yield me({type:"save",payload:{videoDurationStatics:Ii({},ze)}}),ze},*getVideoStatistics({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Mn.ZY,C);return yield me({type:"save",payload:{videoStatistics:Ii({},ze)}}),ze},*getOneVideoStatisticsList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Mn.cU,C);return yield me({type:"save",payload:{oneVideoStatisticsList:Ii({},ze)}}),ze},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ii({},C)}})},*getStudentVideoStatisticsList({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Mn.Vg,C);return yield me({type:"save",payload:{StudentvideoStatistics:Ii({},ze)}}),ze}},reducers:{save(C,D){return Ii(Ii({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},oi=e(96247),Hi=Object.defineProperty,xi=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,qn=(C,D,L)=>D in C?Hi(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Jn=(C,D)=>{for(var L in D||(D={}))xe.call(D,L)&&qn(C,L,D[L]);if(xi)for(var L of xi(D))Kn.call(D,L)&&qn(C,L,D[L]);return C},Di={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:C,callback:D},{call:L,put:me}){return yield L(oi.cC,C)},*getGuides({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.Ax,C);return yield me({type:"save",payload:{GuidesData:ze}}),ze},*getWorkSubmitUpdateRes({payload:C,callback:D},{call:L,put:me}){return yield L(oi.zF,C)},*getList({payload:C},{call:D,put:L}){const me=C,ze=yield D(oi.bQ,C);return yield L({type:"save",payload:Jn({listParams:me},ze)}),ze},*getMemberWorks({payload:C},{call:D,put:L}){const me=yield D(oi.xx,C);return yield L({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:C,callback:D},{call:L,put:me}){return yield L(oi.qS,C)},*competitionTeams({payload:C,callback:D},{call:L,put:me}){return yield L(oi.Pt,C)},*getStaff({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.Dh,C);return yield me({type:"save",payload:{Staff:ze}}),ze},*getHeader({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.Pg,C);return yield me({type:"save",payload:{Header:ze}}),ze},*getItem({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.rV,C);return yield me({type:"save",payload:{RightItems:ze}}),ze},*updateMdContent({payload:C,callback:D},{call:L,put:me}){return yield L(oi.zj,C)},*getTeamList({payload:C,callback:D},{call:L,put:me}){return yield L(oi.aq,C)},*getTeamDetail({payload:C,callback:D},{call:L,put:me}){return yield L(oi.Ze,C)},*UpTeam({payload:C,callback:D},{call:L,put:me}){return yield L(oi.yS,C)},*DeleteTeam({payload:C,callback:D},{call:L,put:me}){return yield L(oi.ps,C)},*ExitTeam({payload:C,callback:D},{call:L,put:me}){return yield L(oi.vV,C)},*AddTeam({payload:C,callback:D},{call:L,put:me}){return yield L(oi.FU,C)},*AddPersonnel({payload:C,callback:D},{call:L,put:me}){return yield L(oi.R9,C)},*JoinTeam({payload:C,callback:D},{call:L,put:me}){return yield L(oi.zc,C)},*getTeacher({payload:C,callback:D},{call:L,put:me}){return yield L(oi.jS,C)},*getStudents({payload:C,callback:D},{call:L,put:me}){return yield L(oi.sK,C)},*SubmitTeam({payload:C,callback:D},{call:L,put:me}){return yield L(oi.rm,C)},*Reward({payload:C,callback:D},{call:L,put:me}){return yield L(oi.Qp,C)},*ChartRules({payload:C,callback:D},{call:L,put:me}){return yield L(oi.Ux,C)},*Charts({payload:C,callback:D},{call:L,put:me}){return yield L(oi.GQ,C)},*TabResults({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.ml,C);return yield me({type:"save",payload:{TabResultList:ze}}),ze},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Jn({},C)}})},*Results({payload:C,callback:D},{call:L,put:me}){return yield L(oi.u9,C)},*Prize({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.pU,C);return yield me({type:"save",payload:{Prizes:ze}}),ze},*Accounts({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.XJ,C);return yield me({type:"save",payload:{Account:ze}}),ze},*getVerification({payload:C,callback:D},{call:L,put:me}){return yield L(oi.Ni,C)},*PhoneBind({payload:C,callback:D},{call:L,put:me}){return yield L(oi.uZ,C)},*EmailBind({payload:C,callback:D},{call:L,put:me}){return yield L(oi.rk,C)},*Authentication({payload:C,callback:D},{call:L,put:me}){return yield L(oi.Vy,C)},*Professional({payload:C,callback:D},{call:L,put:me}){return yield L(oi.tC,C)},*setleader({payload:C,callback:D},{call:L,put:me}){return yield L(oi.tO,C)},*getShixun({payload:C,callback:D},{call:L,put:me}){return yield L(oi.qj,C)},*getCourse({payload:C,callback:D},{call:L,put:me}){return yield L(oi.XR,C)},*competition_teams({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.zz,C);return yield me({type:"save",payload:{competition_team:ze}}),ze},*all_team_members({payload:C,callback:D},{call:L,put:me}){const ze=yield L(oi.$P,C);return yield me({type:"save",payload:{all_team_member:ze}}),ze}},reducers:{save(C,D){return Jn(Jn({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Ci=e(59112),pi=Object.defineProperty,Qt=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,It=(C,D,L)=>D in C?pi(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,ht=(C,D)=>{for(var L in D||(D={}))dt.call(D,L)&&It(C,L,D[L]);if(Qt)for(var L of Qt(D))rt.call(D,L)&&It(C,L,D[L]);return C},cr={namespace:"declaration",state:{name:"\u79D1\u7814\u6559\u5B66\u7533\u62A5",loading:!0,mode:"view",actionTabs:{key:""}},effects:{*changeMode({payload:C},{put:D}){yield D({type:"save",payload:{mode:C.mode}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ht({},C)}})},*getDeclaraList({payload:C},{call:D,put:L}){return yield D(Ci.Dn,{payload:C})},*getDeclaraDetail({payload:C},{call:D,put:L}){return yield D(Ci.Hs,{payload:C})},*addDeclara({payload:C},{call:D,put:L}){return yield D(Ci.eu,{payload:C})},*updateDeclara({payload:C},{call:D,put:L}){return yield D(Ci.Bb,{payload:C})}},reducers:{save(C,D){return ht(ht({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/declaration"&&D.replace({pathname:"/declaration/research/instruction"})})}}},Cr=e(83738),Rr=e(33738),He=Object.defineProperty,tt=Object.defineProperties,we=Object.getOwnPropertyDescriptors,st=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,kr=Object.prototype.propertyIsEnumerable,Ir=(C,D,L)=>D in C?He(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,xr=(C,D)=>{for(var L in D||(D={}))ar.call(D,L)&&Ir(C,L,D[L]);if(st)for(var L of st(D))kr.call(D,L)&&Ir(C,L,D[L]);return C},jr=(C,D)=>tt(C,we(D)),yr={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[Rr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rr.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[Rr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rr.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:xr({},C)}})},*getMajorList({payload:C},{call:D,put:L,select:me}){const{userInfo:ze}=yield me(un=>un.user);if(ze!=null&&ze.school_id){const un=yield D(Cr.BA,ze.school_id);un&&un.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Rr.k[0],value:un.data.map(li=>({label:li.name,value:li.ec_major_school_id}))}}))}},*getYearList({payload:C},{call:D,put:L}){const me=yield D(Cr.Nx,C);me&&me.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Rr.k[1],value:me.data.map(ze=>({label:ze.year,value:ze.ec_year_id}))}}))},*getCourseResultDetail({payload:C},{call:D,put:L}){console.log(C,"payload");const me=yield D(Cr.p1,C);me&&me.ec_course_target&&(yield L({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:C},{call:D,put:L}){const me=yield D(Cr.ff,C);me&&me.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[...me.class_name]}}}))},*setClassActive({payload:C},{call:D,put:L}){yield L({type:"save",payload:{classDataSource:xr({},C)}})}},reducers:{save(C,D){return xr(xr({},C),D.payload)},setMajorOrYearDataSource(C,{payload:D}){return jr(xr({},C),{headerData:jr(xr({},C.headerData),{dataSource:jr(xr({},C.headerData.dataSource),{[D.key]:jr(xr({},C.headerData.dataSource[D.key]),{dataList:D.value})})})})},setMajorOrYearActive(C,{payload:D}){return jr(xr({},C),{headerData:jr(xr({},C.headerData),{active:jr(xr({},C.headerData.active),{[D.key]:D.value})})})},setEchartsData(C,{payload:D}){let L={name:D.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},me={name:D.course_name||"",xData:[],seriesData:[]},ze={};return D.ec_course_target.forEach((un,li)=>{un.position=li+1,L=jr(xr({},L),{dataSource:{xData:[...L.dataSource.xData,li+1],yBarData:[...L.dataSource.yBarData,un.actual_grade],yLineData:[...L.dataSource.yLineData,un.standard_grade]}});let la=[],na={min:[],max:[]},ws=[],Ys=[],si=[];un.student_data.detail.forEach((Rs,nu)=>{let ao=Rs.score;la.push(nu+1),na.max.push(ao>=un.student_data.goal_score?ao:null),na.min.push(ao>=un.student_data.goal_score?null:ao),ws.push(Rs.name),Ys.push(Rs.student_id),si.push(Rs.clazz)}),ze[li+1]={name:li+1,average_score:un.student_data.average_score,goal_score:un.student_data.goal_score,xData:la,yData:na,name_data:ws,student_ids:Ys,class_data:si,goal_scoreData:new Array(un.student_data.detail.length).fill(un.student_data.goal_score),average_scoreData:new Array(un.student_data.detail.length).fill(un.student_data.average_score)}}),D.history.forEach(un=>{me=jr(xr({},me),{xData:[...me.xData,un.year],seriesData:[...me.seriesData,un.total_score]})}),jr(xr({},C),{name:D.course_name||"",tabListData:D.ec_course_target,echartsData:{barData:L,lineData:me,scatterData:ze}})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},cn=Object.defineProperty,an=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,mn=Object.prototype.propertyIsEnumerable,Oa=(C,D,L)=>D in C?cn(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ei=(C,D)=>{for(var L in D||(D={}))dn.call(D,L)&&Oa(C,L,D[L]);if(an)for(var L of an(D))mn.call(D,L)&&Oa(C,L,D[L]);return C},$n={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ei({},C)}})},*setShowMenu({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showMenu:C}})},*setMatrixVerify({payload:C},{call:D,put:L}){yield L({type:"save",payload:{matrixVerify:Ei({},C)}})}},reducers:{save(C,D){return Ei(Ei({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Pi=e(23663),Xi=Object.defineProperty,Pa=Object.defineProperties,qs=Object.getOwnPropertyDescriptors,ja=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,as=(C,D,L)=>D in C?Xi(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Aa=(C,D)=>{for(var L in D||(D={}))Ws.call(D,L)&&as(C,L,D[L]);if(ja)for(var L of ja(D))mo.call(D,L)&&as(C,L,D[L]);return C},$i=(C,D)=>Pa(C,qs(D)),_s={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[Rr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rr.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[Rr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rr.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:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Aa({},C)}})},*getMajorList({},{call:C,put:D,select:L}){const{userInfo:me}=yield L(ze=>ze.user);if(me!=null&&me.school_id){const ze=yield C(Cr.BA,me.school_id);if(ze&&ze.data){const un=Pi.U.getItem(me==null?void 0:me.login);yield D({type:"setMajorOrYearDataSource",payload:{key:Rr.k[0],value:ze.data.map(li=>({label:li.name,value:li.ec_major_school_id})),active:ze.data.length>0?un[0]||ze.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:C},{call:D,put:L,select:me}){const ze=yield D(Cr.Nx,C.id),{userInfo:un}=yield me(li=>li.user);if(ze&&ze.data){const li=Pi.U.getItem(un==null?void 0:un.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Rr.k[1],value:ze.data.map(la=>({label:la.year,value:la.ec_year_id})),active:ze.data.length>0?C.firstEnter?li[1]:ze.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:C,put:D,select:L}){const{headerData:me}=yield L(li=>li.engineeringNavigtion),{userInfo:ze}=yield L(li=>li.user);let un={};if(me.active[Rr.k[1]]&&ze.school_id){const li=[me.active[Rr.k[0]],me.active[Rr.k[1]]];Pi.U.setItem(ze==null?void 0:ze.login,li);const la=yield C(Cr.bA,{ec_year_id:me.active[Rr.k[1]],school_id:ze.school_id});la&&la.data&&(un=la.data),yield D({type:"setTopPage",payload:un})}},*putTopPageName({payload:C,callback:D},{call:L,put:me}){try{const ze=yield L(Cr.ay,C);D(ze)}catch(ze){let un="";ze&&(un=JSON.stringify(ze),ze.message&&(un=ze.message)),D({message:un,status:999})}}},reducers:{save(C,D){return Aa(Aa({},C),D.payload)},setMajorOrYearDataSource(C,{payload:D}){let L=C.headerData.active;return D.active&&(L=$i(Aa({},L),{[D.key]:D.active})),$i(Aa({},C),{headerData:$i(Aa({},C.headerData),{dataSource:$i(Aa({},C.headerData.dataSource),{[D.key]:$i(Aa({},C.headerData.dataSource[D.key]),{dataList:D.value})}),active:L})})},setMajorOrYearActive(C,{payload:D}){return $i(Aa({},C),{headerData:$i(Aa({},C.headerData),{active:$i(Aa({},C.headerData.active),{[D.key]:D.value})})})},setTopPage(C,{payload:D}){return $i(Aa({},C),{headerData:$i(Aa({},C.headerData),{name:D.name,tabBarContent:{user_name:D.user_name,user_school:D.user_school,user_type:D.user_type}}),cardListData:$i(Aa({},C.cardListData),{appraiseData:$i(Aa({},C.cardListData.appraiseData),{norm:$i(Aa({},C.cardListData.appraiseData.norm),{result:D.graduaiton_result,listData:C.cardListData.appraiseData.norm.listData.map(L=>$i(Aa({},L),{value:D[L.key]||0}))}),course:$i(Aa({},C.cardListData.appraiseData.course),{result:D.course_result,listData:C.cardListData.appraiseData.course.listData.map(L=>$i(Aa({},L),{value:D[L.key]||0}))})}),teamData:{teach:$i(Aa({},C.cardListData.teamData.teach),{tabBarContent:`${D.course_teachers?D.course_teachers.length:0}\u4EBA`,listData:D.course_teachers||[]}),work:$i(Aa({},C.cardListData.teamData.work),{tabBarContent:`${D.work_teachers?D.work_teachers.length:0}\u4EBA`,listData:D.work_teachers||[]})}}),totalListData:C.totalListData.map(L=>$i(Aa({},L),{value:D[L.key]||0}))})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Js=Object.defineProperty,zi=Object.defineProperties,Xs=Object.getOwnPropertyDescriptors,No=Object.getOwnPropertySymbols,Ga=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable,ci=(C,D,L)=>D in C?Js(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,oo=(C,D)=>{for(var L in D||(D={}))Ga.call(D,L)&&ci(C,L,D[L]);if(No)for(var L of No(D))Fs.call(D,L)&&ci(C,L,D[L]);return C},Fn=(C,D)=>zi(C,Xs(D)),Oo={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:oo({},C)}})},*getGraduationResultDetail({payload:C},{call:D,put:L}){const me=yield D(Cr.gq,C);yield L({type:"save",payload:{dataSource:me}})}},reducers:{save(C,D){return oo(oo({},C),D.payload)},setDataSource(C,{payload:D}){let L=D;return Fn(oo({},C),{dataSource:L})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},eo=e(8591),ha=Object.defineProperty,ns=Object.defineProperties,Qi=Object.getOwnPropertyDescriptors,js=Object.getOwnPropertySymbols,wo=Object.prototype.hasOwnProperty,Qo=Object.prototype.propertyIsEnumerable,Uo=(C,D,L)=>D in C?ha(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,uo=(C,D)=>{for(var L in D||(D={}))wo.call(D,L)&&Uo(C,L,D[L]);if(js)for(var L of js(D))Qo.call(D,L)&&Uo(C,L,D[L]);return C},Eo=(C,D)=>ns(C,Qi(D)),ko=(C,D)=>{var L={};for(var me in C)wo.call(C,me)&&D.indexOf(me)<0&&(L[me]=C[me]);if(C!=null&&js)for(var me of js(C))D.indexOf(me)<0&&Qo.call(C,me)&&(L[me]=C[me]);return L},Ro={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[Rr.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rr.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[Rr.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rr.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:uo({},C)}})},*getMajorList({},{call:C,put:D,select:L}){const{userInfo:me}=yield L(ze=>ze.user);if(me!=null&&me.school_id){const ze=yield C(Cr.BA,me.school_id);if(ze&&ze.data){const un=Pi.U.getItem(me==null?void 0:me.login);yield D({type:"setMajorOrYearDataSource",payload:{key:Rr.k[0],value:ze.data.map(li=>({label:li.name,value:li.ec_major_school_id})),active:ze.data.length>0?un[0]||ze.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:C},{call:D,put:L,select:me}){const ze=yield D(Cr.Nx,C.id),{userInfo:un}=yield me(li=>li.user);if(ze&&ze.data){const li=Pi.U.getItem(un==null?void 0:un.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Rr.k[1],value:ze.data.map(la=>({label:la.year,value:la.ec_year_id})),active:ze.data.length>0?C.firstEnter?li[1]:ze.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:C,put:D,select:L}){const{headerData:me}=yield L(ws=>ws.engineeringNormList),{userInfo:ze}=yield L(ws=>ws.user);let un=[],li=[],la="";const na=me.active[Rr.k[1]];if(na){const ws=[me.active[Rr.k[0]],me.active[Rr.k[1]]];Pi.U.setItem(ze==null?void 0:ze.login,ws);const Ys=yield C(Cr.eM,na);Ys&&Ys.graduation_requirements&&(la=Ys.all_goal_value||"",un=Ys.graduation_requirements.map(si=>{var Rs=si,{subitems:nu}=Rs,ao=ko(Rs,["subitems"]);return li.push(ao.id),Eo(uo({},ao),{children:nu})}))}yield D({type:"save",payload:{tabListData:un,all_goal_value:la,expandedRowKeys:li}})},*exportGraduation({},{call:C,select:D}){const{headerData:L}=yield D(me=>me.engineeringNormList);L.active[Rr.k[1]]&&(yield C(Cr.OE,L.active[Rr.k[1]]))},*compute({payload:C},{call:D,put:L}){const me=C,{all:ze}=me,un=ko(me,["all"]),li=yield D(ze?Cr.Qx:Cr.Xl,un);li&&li.status===0?(eo.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):eo.ZP.error(li.message)},*getFormulas({callback:C},{call:D,select:L}){const{headerData:me}=yield L(ze=>ze.engineeringNormList);if(me.active[Rr.k[1]]){const ze=yield D(Cr.mK,me.active[Rr.k[1]]);C(ze)}},*setFormulas({payload:C,callback:D},{call:L}){const me=yield L(Cr.y9,C);D(me)},*putGoalValue({payload:C},{call:D,put:L}){const me=yield D(Cr.No,C);if(me&&me.status===0)eo.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let ze="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(ze=me.message),eo.ZP.error(ze)}}},reducers:{save(C,D){return uo(uo({},C),D.payload)},setMajorOrYearDataSource(C,{payload:D}){let L=C.headerData.active;return D.active&&(L=Eo(uo({},L),{[D.key]:D.active})),Eo(uo({},C),{headerData:Eo(uo({},C.headerData),{dataSource:Eo(uo({},C.headerData.dataSource),{[D.key]:Eo(uo({},C.headerData.dataSource[D.key]),{dataList:D.value})}),active:L})})},setMajorOrYearActive(C,{payload:D}){return Eo(uo({},C),{headerData:Eo(uo({},C.headerData),{active:Eo(uo({},C.headerData.active),{[D.key]:D.value})})})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Zo=e(31238),eu=Object.defineProperty,_i=Object.getOwnPropertySymbols,mi=Object.prototype.hasOwnProperty,us=Object.prototype.propertyIsEnumerable,ms=(C,D,L)=>D in C?eu(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ka=(C,D)=>{for(var L in D||(D={}))mi.call(D,L)&&ms(C,L,D[L]);if(_i)for(var L of _i(D))us.call(D,L)&&ms(C,L,D[L]);return C},As={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:C},{call:D,put:L}){const me=yield D(Zo.Si,C);return yield L({type:"save",payload:{forumsDetailData:Ka({},me)}}),me},*setForumsDetailData({payload:C},{call:D,put:L}){yield L({type:"save",payload:{forumsDetailData:Ka({},C)}})}},reducers:{save(C,D){return Ka(Ka({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},uu=Object.defineProperty,Ts=Object.getOwnPropertySymbols,lu=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,Cu=(C,D,L)=>D in C?uu(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Fu=(C,D)=>{for(var L in D||(D={}))lu.call(D,L)&&Cu(C,L,D[L]);if(Ts)for(var L of Ts(D))yu.call(D,L)&&Cu(C,L,D[L]);return C},Ho={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:C},{call:D,put:L}){const me=yield D(C.memoType==="shixun_discuss"?Zo.kd:Zo.bc,C);return delete C.memoType,yield L({type:"save",payload:{listParams:C,forumsData:Fu({},me)}}),me}},reducers:{save(C,D){return Fu(Fu({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Lo=e(70751),Mo=e(85386),zu=e(28209),vo=e.n(zu),Zu=Object.defineProperty,Pu=Object.getOwnPropertySymbols,cu=Object.prototype.hasOwnProperty,vu=Object.prototype.propertyIsEnumerable,to=(C,D,L)=>D in C?Zu(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,To=(C,D)=>{for(var L in D||(D={}))cu.call(D,L)&&to(C,L,D[L]);if(Pu)for(var L of Pu(D))vu.call(D,L)&&to(C,L,D[L]);return C},Xt={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:C},{call:D,put:L}){var me,ze;const un=yield D(Lo.D2,C);Mo.Z.ONLYOFFICE=(me=un==null?void 0:un.setting)==null?void 0:me.office_server_url,fr(un);try{const na="5183666c72eec9e4",ws="5183666c72eec9e4";var li=vo().enc.Utf8.parse(na);let Ys=vo().enc.Utf8.parse(ws);var la=vo().AES.decrypt(((ze=un==null?void 0:un.setting)==null?void 0:ze.user_default_password)||"",li,{iv:Ys,mode:vo().mode.CBC});un.setting.user_default_password=la.toString(vo().enc.Utf8)}catch(na){}yield L({type:"save",payload:To({},un)})},*getSystemUpdate({payload:C},{call:D,put:L}){const me=yield D(Lo.n0,C);yield L({type:"save",payload:{updateData:To({},me)}})},*setTheme({payload:C},{call:D,put:L}){const me=yield D(Lo.n0,C);yield L({type:"save",payload:{theme:C||"default"}})},*setShareData({payload:C},{call:D,put:L}){yield L({type:"save",payload:{shareData:C}})},*setGlobalLoading({payload:C},{call:D,put:L}){yield L({type:"save",payload:{globalLoading:To({},C)}})},*delayTipToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showTip:C}})},*headerToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showHeader:C}})},*footerToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showFooter:C}})},*headerFooterToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showHeaderFooter:C}})},*delayTipToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showTip:C}})},*headerFixedToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showHeaderFixed:C}})},*onlyShowBackTopToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{onlyShowBackTop:C}})},*onlyShowBackTopIconToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:C}})},*setOperateModel({payload:C},{call:D,put:L}){yield L({type:"save",payload:{operateModel:C}})},*setOperateModelPath({payload:C},{call:D,put:L}){yield L({type:"save",payload:{operateModelPath:C}})},*setShowQuestionBackTop({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showQuestionBackTop:C}})},*setInfoData({payload:C},{call:D,put:L}){yield L({type:"save",payload:{infoData:To({},C)}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:To({},C)}})}},reducers:{save(C,D){return To(To({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{})}}};const fr=(C={})=>{var D,L,me,ze,un;if(window.self!==window.top||!((D=C.setting)!=null&&D.tab_logo_url))return;const li=document.createElement("link"),la=document.getElementById("dynamic-favicon");li.id="dynamic-favicon",li.rel="shortcut icon",li.href=(L=C.setting)!=null&&L.tab_logo_url?`${Mo.Z.IMG_SERVER}/${(me=C.setting)==null?void 0:me.tab_logo_url}`:"",la&&document.head.removeChild(la),document.head.appendChild(li);try{(ze=C.setting)!=null&&ze.main_site||(document.querySelector('meta[name="keywords"]').content=(un=C.setting)==null?void 0:un.name,document.querySelector('meta[name="description"]').remove())}catch(na){}};var ir=e(71608),dr=Object.defineProperty,Sr=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,Wn=Object.prototype.propertyIsEnumerable,Dn=(C,D,L)=>D in C?dr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,jn=(C,D)=>{for(var L in D||(D={}))vn.call(D,L)&&Dn(C,L,D[L]);if(Sr)for(var L of Sr(D))Wn.call(D,L)&&Dn(C,L,D[L]);return C},ei={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:C},{call:D,put:L}){return yield D(ir.Xh,C)},*getGraduationsFinalScore({payload:C},{call:D,put:L}){return yield D(ir.H3,C)},*getDelGraduationsTasks({payload:C},{call:D,put:L}){return yield D(ir.km,C)},*getGraduationsTasks({payload:C},{call:D,put:L}){const me=yield D(ir.Xw,C);yield L({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:C},{call:D,put:L}){var me;const ze=yield D(ir.AA,C);return(me=ze==null?void 0:ze.data)==null||me.map(un=>(un.key=un.id,un)),yield L({type:"save",payload:{teachers:ze}}),ze},*getGraduationsStudents({payload:C},{call:D,put:L}){var me;const ze=yield D(ir.eh,C);(me=ze==null?void 0:ze.data)==null||me.map(un=>(un.key=un.id,un)),yield L({type:"save",payload:{students:ze}})},*getGraduationsNotices({payload:C},{call:D,put:L}){const me=yield D(ir.Rk,C);yield L({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:C},{call:D,put:L}){const me=yield D(ir.F7,C);yield L({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:jn({},C)}})},*setUpdateIndex({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:C},{call:D,put:L}){const me=yield D(ir.Ou,C);yield L({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(C,D){return jn(jn({},C),D.payload)}}},ur=e(81388),Mr=Object.defineProperty,Fr=Object.defineProperties,Sn=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable,Hn=(C,D,L)=>D in C?Mr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Li=(C,D)=>{for(var L in D||(D={}))_t.call(D,L)&&Hn(C,L,D[L]);if(Tn)for(var L of Tn(D))Un.call(D,L)&&Hn(C,L,D[L]);return C},ia=(C,D)=>Fr(C,Sn(D)),ba={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:C},{call:D,put:L}){const me=yield D(ur.Tt,{payload:C});yield L({type:"save",payload:ia(Li({},me),{isloading:!0})})},*query({payload:C},{call:D,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:C,callback:D},{call:L,put:me}){return yield L(ur.LA,C)},*UploadNotice({payload:C,callback:D},{call:L,put:me}){return yield L(ur.S_,C)}},reducers:{save(C,D){return Li(Li({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},qi=Object.defineProperty,Ia=Object.defineProperties,lo=Object.getOwnPropertyDescriptors,Ks=Object.getOwnPropertySymbols,Wi=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,fo=(C,D,L)=>D in C?qi(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,vs=(C,D)=>{for(var L in D||(D={}))Wi.call(D,L)&&fo(C,L,D[L]);if(Ks)for(var L of Ks(D))co.call(D,L)&&fo(C,L,D[L]);return C},ls=(C,D)=>Ia(C,lo(D)),So={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(C,D){return vs(vs({},C),D.payload)},openModal(C,D){return ls(vs({},C),{visibleModalName:D.payload})},closeModal(C){return ls(vs({},C),{visibleModalName:""})},openSimpleModal(C,D){return ls(vs({},C),{simpleModalProps:vs({visible:!0},D.payload)})},closeSimpleModal(C){return ls(vs({},C),{simpleModalProps:{visible:!1}})}}},An=e(43597),Ua=Object.defineProperty,is=Object.getOwnPropertySymbols,Qe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Lt=(C,D,L)=>D in C?Ua(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ht=(C,D)=>{for(var L in D||(D={}))Qe.call(D,L)&&Lt(C,L,D[L]);if(is)for(var L of is(D))Re.call(D,L)&&Lt(C,L,D[L]);return C},pr=(C,D,L)=>new Promise((me,ze)=>{var un=na=>{try{la(L.next(na))}catch(ws){ze(ws)}},li=na=>{try{la(L.throw(na))}catch(ws){ze(ws)}},la=na=>na.done?me(na.value):Promise.resolve(na.value).then(un,li);la((L=L.apply(C,D)).next())});const Br=C=>pr(void 0,null,function*(){return(0,An.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Ht({},C)})}),Wr=C=>pr(void 0,null,function*(){return(0,An.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Ht({},C)})}),yn=C=>pr(void 0,null,function*(){return(0,An.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Ht({},C)})}),ln=C=>pr(void 0,null,function*(){return(0,An.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Ht({},C)})}),xn=C=>pr(void 0,null,function*(){return(0,An.ZP)("/api/paid_subjects.json",{method:"post",body:Ht({},C)})}),ti=C=>pr(void 0,null,function*(){return(0,An.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Ht({},C)})}),ni=C=>pr(void 0,null,function*(){return(0,An.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Ht({},C)})}),vi=C=>pr(void 0,null,function*(){return(0,An.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Ht({},C)})});var ji=Object.defineProperty,ga=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,Da=(C,D,L)=>D in C?ji(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Oi=(C,D)=>{for(var L in D||(D={}))Ji.call(D,L)&&Da(C,L,D[L]);if(ga)for(var L of ga(D))Mi.call(D,L)&&Da(C,L,D[L]);return C},Ea={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:C},{call:D,put:L}){const{data:{adv:me,top_banner:ze}}=yield D(Br,C);yield L({type:"save",payload:{BannerList:ze,Adv:me}})},*getTopCategoryList({payload:C},{call:D,put:L}){const{data:{top_category_list:me}}=yield D(Wr,C);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...me]}})},*getHotList({payload:C},{call:D,put:L}){const{data:{hot_list:me}}=yield D(yn,C);yield L({type:"save",payload:{HotList:me}})},*getDiscountList({payload:C},{call:D,put:L}){const{data:{discount_list:me}}=yield D(ln,C);yield L({type:"save",payload:{DiscountList:me}})},*getPaidSubjects({payload:C},{call:D,put:L}){const{data:me}=yield D(xn,C);yield L({type:"save",payload:{SubjectList:me}})},*getTags({payload:C},{call:D,put:L}){const{data:{list:me}}=yield D(ti,C);yield L({type:"save",payload:{Tags:me}})},*getUserComments({payload:C},{call:D,put:L}){const{data:{list:me}}=yield D(ni,C);yield L({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:C},{call:D,put:L}){const{data:me}=yield D(vi,C);yield L({type:"save",payload:{InfoShow:me}})}},reducers:{save(C,D){return Oi(Oi({},C),D.payload)}}},Us={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},Xa=e(1009),Qa=Object.defineProperty,cs=Object.getOwnPropertySymbols,Ui=Object.prototype.hasOwnProperty,La=Object.prototype.propertyIsEnumerable,fs=(C,D,L)=>D in C?Qa(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,ds=(C,D)=>{for(var L in D||(D={}))Ui.call(D,L)&&fs(C,L,D[L]);if(cs)for(var L of cs(D))La.call(D,L)&&fs(C,L,D[L]);return C},bs={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:C},{call:D,put:L}){const me=yield D(Xa.Ub,C);return yield L({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:C},{call:D,put:L}){const me=yield D(Xa.AD,C);yield L({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:C},{call:D,put:L}){const me=yield D(Xa.V8,C);return yield L({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:C},{call:D,put:L}){const me=yield D(Xa.QJ,C);return yield L({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:C},{call:D,put:L}){const me=yield D(Xa.Ig,C);yield L({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:C},{call:D,put:L}){const me=yield D(Xa.Ko,C);return yield L({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ds({},C)}})}},reducers:{save(C,D){return ds(ds({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Ba=e(91044),go=e(94601),Ja=e(21585),yo=Object.defineProperty,Ra=Object.defineProperties,hs=Object.getOwnPropertyDescriptors,ro=Object.getOwnPropertySymbols,Ma=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Se=(C,D,L)=>D in C?yo(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,br=(C,D)=>{for(var L in D||(D={}))Ma.call(D,L)&&Se(C,L,D[L]);if(ro)for(var L of ro(D))be.call(D,L)&&Se(C,L,D[L]);return C},tn=(C,D)=>Ra(C,hs(D));const gr=(C,D)=>{var L,me,ze,un,li,la,na,ws,Ys;if(!C)return;const{exam:si,single_questions:Rs,multiple_questions:nu,judgement_questions:ao,program_questions:xo,completion_questions:Cl,subjective_questions:$l,practical_questions:yc,combination_questions:Pl,bprogram_questions:gl}=C||{},Yu=[br({type:"SINGLE",question_type:0,name:((L=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[0].nameType))==null?void 0:L.name)||Ja.fw[0].name},Rs),br({type:"MULTIPLE",question_type:1,name:((me=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[1].nameType))==null?void 0:me.name)||Ja.fw[1].name},nu),br({type:"JUDGMENT",question_type:2,name:((ze=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[2].nameType))==null?void 0:ze.name)||Ja.fw[2].name},ao),br({type:"PROGRAM",question_type:6,name:((un=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[6].nameType))==null?void 0:un.name)||Ja.fw[6].name},xo),br({type:"COMPLETION",question_type:3,name:((li=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[3].nameType))==null?void 0:li.name)||Ja.fw[3].name},Cl),br({type:"SUBJECTIVE",question_type:4,name:((la=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[4].nameType))==null?void 0:la.name)||Ja.fw[4].name},$l),br({type:"PRACTICAL",question_type:5,name:((na=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[5].nameType))==null?void 0:na.name)||Ja.fw[5].name},yc),br({type:"COMBINATION",question_type:7,name:((ws=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[7].nameType))==null?void 0:ws.name)||Ja.fw[7].name},Pl),br({type:"BPROGRAM",question_type:8,name:((Ys=D==null?void 0:D.find(Ls=>Ls.value==Ja.fw[8].nameType))==null?void 0:Ys.name)||Ja.fw[8].name},gl)],bc=[];if(C.sort_by_qustion_type)for(const Ls of C.qustion_type_order_name_en)bc.push(Yu.find(qu=>qu.type===Ls));const yl=(C.sort_by_qustion_type?bc:Yu).filter(Ls=>(Ls==null?void 0:Ls.questions_count)>0).map((Ls,qu)=>{var xc;return br(br({},Ls),{number:(0,go.EM)(qu+1),questions:(xc=Ls==null?void 0:Ls.questions)==null?void 0:xc.map(_u=>tn(br({},_u),{shixun:_u.examination_bank_shixun_challenges,question_type:Ls.question_type}))})});return{exam:si,questionList:yl}};var qr=e(92808),On=Object.defineProperty,ii=Object.getOwnPropertySymbols,Gi=Object.prototype.hasOwnProperty,zn=Object.prototype.propertyIsEnumerable,Zn=(C,D,L)=>D in C?On(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,wn=(C,D)=>{for(var L in D||(D={}))Gi.call(D,L)&&Zn(C,L,D[L]);if(ii)for(var L of ii(D))zn.call(D,L)&&Zn(C,L,D[L]);return C},es={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:C},{call:D,put:L}){return yield D(Ba.a2,C)},*postCheckExaminationBanks({payload:C},{call:D,put:L}){return yield D(Ba.q$,C)},*postPaperlibraryCopy({payload:C},{call:D,put:L}){return yield D(Ba.ID,C)},*getDisciplines({payload:C},{call:D,put:L}){const me=yield D(Ba.d1,C);return yield L({type:"save",payload:{disciplinesData:wn({},me)}}),me},*getCustomDisciplines({payload:C},{call:D,put:L}){const me=yield D(Ba.ar,C);return yield L({type:"save",payload:{disciplinesData:wn({},me)}}),me},*getEditDisciplines({payload:C},{call:D,put:L}){const me=yield D(Ba.d1,C),ze=me==null?void 0:me.disciplines,un=(0,qr.L)(ze);return yield L({type:"save",payload:{courseOptions:un,disciplinesData:wn({},me)}}),me},*getTeachGroupData({payload:C},{call:D,put:L}){const me=yield D(Ba.Dm,C);return yield L({type:"save",payload:{teachGroupData:wn({},me)}}),me},*getPaperData({payload:C},{call:D,put:L}){const me=yield D(Ba.iT,C),ze=yield D(Ba.cV,C),un=gr(me,ze.data);return yield L({type:"save",payload:{paperData:un}}),me},*getPaperlibraryList({payload:C},{call:D,put:L}){return yield D(Ba.Gd,C)},*setPublic({payload:C},{call:D,put:L}){return yield D(Ba.DF,C)},*handleDelete({payload:C},{call:D,put:L}){return yield D(Ba.fn,C)},*getCourseList({payload:C},{call:D,put:L}){return yield D(Ba.tS,C)},*postBatchSendToCourse({payload:C},{call:D,put:L}){return yield D(Ba.lc,C)},*sendToClass({payload:C},{call:D,put:L}){return yield D(Ba.kp,C)},*adjustPosition({payload:C},{call:D,put:L}){return yield D(Ba.qN,C)},*setScore({payload:C},{call:D,put:L}){return yield D(Ba.ts,C)},*handleDeleteEditQuestion({payload:C},{call:D,put:L}){return yield D(Ba.NC,C)},*batchSetScore({payload:C},{call:D,put:L}){return yield D(Ba.YP,C)},*batchDelete({payload:C},{call:D,put:L}){return yield D(Ba.Hm,C)},*updatePaper({payload:C},{call:D,put:L}){return yield D(Ba.jK,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:wn({},C)}})}},reducers:{save(C,D){return wn(wn({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Wo=Object.defineProperty,bo=Object.getOwnPropertySymbols,Iu=Object.prototype.hasOwnProperty,Zl=Object.prototype.propertyIsEnumerable,wl=(C,D,L)=>D in C?Wo(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,El=(C,D)=>{for(var L in D||(D={}))Iu.call(D,L)&&wl(C,L,D[L]);if(bo)for(var L of bo(D))Zl.call(D,L)&&wl(C,L,D[L]);return C},Hu={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ba.Dq,C);return yield me({type:"save",payload:{exerciseExportHeadData:El({},ze)}}),ze},*editExercise({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Ba.Di,C);return yield me({type:"save",payload:{editData:El({},ze)}}),ze},*getTagDiscipline({payload:C,callback:D},{call:L,put:me}){const ze=yield L(We.YY,C);return yield me({type:"save",payload:{tagDisciplineData:El({},ze)}}),ze},*editExerciseQuestion({payload:C,callback:D},{call:L,put:me}){return yield L(Ba.oF,C)},*addExerciseQuestion({payload:C,callback:D},{call:L,put:me}){return yield L(Ba.oF,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:El({},C)}})}},reducers:{save(C,D){return El(El({},C),D.payload)},modifyTitle(C,D){const L=(0,Me.cloneDeep)(C);return L.editData.exercise.exercise_name=D.payload,L}},subscriptions:{setup({dispatch:C,history:D}){}}},Ve=e(20119),Z=Object.defineProperty,Y=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Te=(C,D,L)=>D in C?Z(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,qe=(C,D)=>{for(var L in D||(D={}))ne.call(D,L)&&Te(C,L,D[L]);if(Y)for(var L of Y(D))he.call(D,L)&&Te(C,L,D[L]);return C},$t={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:C},{call:D,put:L}){const me=yield D(Ve.Ax,C);yield L({type:"save",payload:{discusses:qe({},me)}})},*getPathsDetail({payload:C},{call:D,put:L}){const me=yield D(Ve.lk,C);return yield L({type:"save",payload:{detail:qe({},me)}}),me},*getCourseDetail({payload:C},{call:D,put:L}){const me=yield D(Ve.Sp,C);return yield L({type:"save",payload:{detail:qe({},me)}}),me},*getRightData({payload:C},{call:D,put:L}){const me=yield D(Ve.AQ,C);yield L({type:"save",payload:{rightData:qe({},me)}})},*getCoureses({payload:C},{call:D,put:L}){const me=yield D(Ve.ue,C);yield L({type:"save",payload:{Courses:qe({},me)}})},*getStageChildrenData({payload:C},{call:D,put:L}){const me=yield D(Ve.w4,C);return yield L({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:C},{call:D,put:L}){var me,ze;let un=null;C!=null&&C.show_course_section?un=yield D(Ve.yN,C):un=yield D(Ve.p,C),yield L({type:"save",payload:{stageData:((me=un==null?void 0:un.data)==null?void 0:me.stages)||(un==null?void 0:un.stages)||[],isShowSchedule:((ze=un==null?void 0:un.data)==null?void 0:ze.is_show_schedule)||(un==null?void 0:un.is_show_schedule)||!1}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:qe({},C)}})}},reducers:{save(C,D){return qe(qe({},C),D.payload)}}},rr=Object.defineProperty,Tr=Object.getOwnPropertySymbols,Gr=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,Cn=(C,D,L)=>D in C?rr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Bn=(C,D)=>{for(var L in D||(D={}))Gr.call(D,L)&&Cn(C,L,D[L]);if(Tr)for(var L of Tr(D))fn.call(D,L)&&Cn(C,L,D[L]);return C},Fi={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:C},{call:D,put:L}){const me=C,ze=yield D(Ve.tS,C);return yield L({type:"save",payload:Bn({listParams:me},ze)}),ze},*getMenus({payload:C},{call:D,put:L}){const me=yield D(Ve.fh,C);yield L({type:"save",payload:{menus:me}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Bn({},C)}})},*clearListParams({payload:C},{call:D,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(C,D){return Bn(Bn({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Zi=Object.defineProperty,aa=Object.getOwnPropertySymbols,Sa=Object.prototype.hasOwnProperty,Cs=Object.prototype.propertyIsEnumerable,Ps=(C,D,L)=>D in C?Zi(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ds=(C,D)=>{for(var L in D||(D={}))Sa.call(D,L)&&Ps(C,L,D[L]);if(aa)for(var L of aa(D))Cs.call(D,L)&&Ps(C,L,D[L]);return C},ka={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:C},{call:D,put:L}){return yield D(Ve.tu,C)},*submitCourse({payload:C},{call:D,put:L}){return yield D(Ve.pU,C)},*getEditCourseData({payload:C},{call:D,put:L}){return yield D(Ve.mQ,C)},*getSchoolOption({payload:C},{call:D,put:L}){return yield D(Ve.GY,C)},*appplySchool({payload:C},{call:D,put:L}){return yield D(Ve.bz,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ds({},C)}})}},reducers:{save(C,D){return Ds(Ds({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},no=Object.defineProperty,xs=Object.defineProperties,Pr=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,Go=Object.prototype.hasOwnProperty,bu=Object.prototype.propertyIsEnumerable,Bs=(C,D,L)=>D in C?no(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ko=(C,D)=>{for(var L in D||(D={}))Go.call(D,L)&&Bs(C,L,D[L]);if(Po)for(var L of Po(D))bu.call(D,L)&&Bs(C,L,D[L]);return C},Du=(C,D)=>xs(C,Pr(D)),Sl={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:C},{call:D,put:L}){const me=yield D(Ve.nq,C);yield L({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:C},{call:D,put:L}){const me=yield D(Ve.Fg,C);yield L({type:"save",payload:{RankList:Du(Ko({},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:C},{call:D,put:L}){const me=yield D(Ve.Gz,C);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:C},{call:D,put:L}){const me=yield D(Ve.hS,C);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:C},{call:D,put:L}){const me=yield D(Ve.Hl,C);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(C,D){return Ko(Ko({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},ss=e(53316),ll=Object.defineProperty,Ns=Object.getOwnPropertySymbols,Wu=Object.prototype.hasOwnProperty,el=Object.prototype.propertyIsEnumerable,Vo=(C,D,L)=>D in C?ll(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,zs=(C,D)=>{for(var L in D||(D={}))Wu.call(D,L)&&Vo(C,L,D[L]);if(Ns)for(var L of Ns(D))el.call(D,L)&&Vo(C,L,D[L]);return C},xu={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:C},{call:D,put:L}){const me=yield D(ss.ex,C);return yield L({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:C},{call:D,put:L}){const me=yield D(ss.d1,C);return yield L({type:"save",payload:{disciplinesData:zs({},me)}}),me},*getEditDisciplines({payload:C},{call:D,put:L}){const me=yield D(ss.d1,C),ze=me==null?void 0:me.disciplines,un=(0,qr.L)(ze);return yield L({type:"save",payload:{courseOptions:un,disciplinesData:zs({},me)}}),me},*getBasketList({payload:C},{call:D,put:L}){const me=yield D(ss.Qj,C);return yield L({type:"save",payload:{basketData:zs({},me)}}),me},*getTeachGroupData({payload:C},{call:D,put:L}){const me=yield D(ss.Dm,C);return yield L({type:"save",payload:{teachGroupData:zs({},me)}}),me},*getEditData({payload:C},{call:D,put:L}){const me=yield D(ss.FG,C);return yield L({type:"save",payload:{editData:zs({},me)}}),me},*getEditDataBprogram({payload:C},{call:D,put:L}){const me=yield D(ss.Bo,C);return yield L({type:"save",payload:{editData:zs({},me)}}),me},*getGroupData({payload:C},{call:D,put:L}){const me=yield D(ss.hI,C);return yield L({type:"save",payload:{groupData:zs({},me)}}),me},*getItemBanks({payload:C},{call:D,put:L}){const me=yield D(ss.Of,C);return yield L({type:"save",payload:{itemBanks:zs({},me)}}),me},*setPrivate({payload:C},{call:D,put:L}){return yield D(ss.Pl,C)},*revokePublish({payload:C},{call:D,put:L}){return yield D(ss.IJ,C)},*setPublic({payload:C},{call:D,put:L}){return yield D(ss.DF,C)},*handleDelete({payload:C},{call:D,put:L}){return yield D(ss.fn,C)},*startExperience({payload:C},{call:D,put:L}){return yield D(ss.Bd,C)},*cancel({payload:C},{call:D,put:L}){return yield D(ss.al,C)},*select({payload:C},{call:D,put:L}){return yield D(ss.Ys,C)},*examUnselectAll({payload:C},{call:D,put:L}){return yield D(ss.rV,C)},*basketDelete({payload:C},{call:D,put:L}){return yield D(ss.x5,C)},*unselectAll({payload:C},{call:D,put:L}){return yield D(ss.HF,C)},*addKnowledge({payload:C},{call:D,put:L}){return yield D(ss.U6,C)},*editProblemset({payload:C},{call:D,put:L}){return yield D(ss.Wk,C)},*addProblemset({payload:C},{call:D,put:L}){return yield D(ss.Mr,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:zs({},C)}})}},reducers:{save(C,D){return zs(zs({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Hl=Object.defineProperty,Io=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,cl=Object.prototype.propertyIsEnumerable,Wl=(C,D,L)=>D in C?Hl(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,ru=(C,D)=>{for(var L in D||(D={}))tu.call(D,L)&&Wl(C,L,D[L]);if(Io)for(var L of Io(D))cl.call(D,L)&&Wl(C,L,D[L]);return C},Kl={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:C},{call:D,put:L}){const me=yield D(ss.iT,C),ze=(0,qr.r)(me);return yield L({type:"save",payload:{paperData:ze}}),me},*getEditDisciplines({payload:C},{call:D,put:L}){const me=yield D(ss.d1,C),ze=me==null?void 0:me.disciplines,un=(0,qr.L)(ze);return yield L({type:"save",payload:{courseOptions:un,disciplinesData:ru({},me)}}),me},*setScore({payload:C},{call:D,put:L}){return yield D(ss.ts,C)},*handleDelete({payload:C},{call:D,put:L}){return yield D(ss.Cn,C)},*batchSetScore({payload:C},{call:D,put:L}){return yield D(ss.YP,C)},*batchDelete({payload:C},{call:D,put:L}){return yield D(ss.Hm,C)},*adjustPosition({payload:C},{call:D,put:L}){return yield D(ss.qN,C)},*newPreviewProblemset({payload:C},{call:D,put:L}){return yield D(ss.et,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ru({},C)}})}},reducers:{save(C,D){return ru(ru({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Vl=e(24895),dc=Object.defineProperty,io=Object.getOwnPropertySymbols,zc=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,fl=(C,D,L)=>D in C?dc(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,wu=(C,D)=>{for(var L in D||(D={}))zc.call(D,L)&&fl(C,L,D[L]);if(io)for(var L of io(D))Bu.call(D,L)&&fl(C,L,D[L]);return C},cf={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:C},{call:D,put:L}){const me=yield D(Vl.Go,C);return yield L({type:"save",payload:{restful:wu({},me)}}),me},*getRestfulDetail({payload:C},{call:D,put:L}){const me=yield D(Vl.H5,C);return yield L({type:"save",payload:{restfulDetail:wu({},(me==null?void 0:me.data)||{})}}),(me==null?void 0:me.data)||{}},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:wu({},C)}})}},reducers:{save(C,D){return wu(wu({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},fi=e(16140);const ff=(C={})=>{var D,L,me,ze,un,li;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(D=C==null?void 0:C.content_info)==null?void 0:D.status,username:(L=C==null?void 0:C.content_info)==null?void 0:L.username,time:(me=C==null?void 0:C.content_info)==null?void 0:me.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(ze=C==null?void 0:C.perference_info)==null?void 0:ze.status,username:(un=C==null?void 0:C.perference_info)==null?void 0:un.username,time:(li=C==null?void 0:C.perference_info)==null?void 0:li.time}]};var kl=Object.defineProperty,hc=Object.defineProperties,Rl=Object.getOwnPropertyDescriptors,Hc=Object.getOwnPropertySymbols,Ll=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,Yl=(C,D,L)=>D in C?kl(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,ts=(C,D)=>{for(var L in D||(D={}))Ll.call(D,L)&&Yl(C,L,D[L]);if(Hc)for(var L of Hc(D))Ou.call(D,L)&&Yl(C,L,D[L]);return C},$o=(C,D)=>hc(C,Rl(D)),ql={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:C},{call:D,put:L}){const me=yield D(fi.Po,C);return yield L({type:"save",payload:{detail:ts({},me)}}),me},*getMirrorApplies({payload:C},{call:D,put:L}){const me=yield D(fi.tX,C);return yield L({type:"save",payload:{mirrorApplies:ts({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:C},{call:D,put:L}){const me=yield D(fi.AQ,C);yield L({type:"save",payload:{rightData:ts({},me)}})},*getChallengesData({payload:C},{call:D,put:L}){const me=yield D(fi.n5,C);yield L({type:"save",payload:{challenges:ts({},me)}})},*saveCopyForExercise({payload:C},{call:D,put:L}){return yield D(fi.FB,C)},*execJupyter({payload:C},{call:D,put:L}){return yield D(fi.BK,C)},*execShixun({payload:C},{call:D,put:L}){const me=yield D(fi.Ir,C);return(me==null?void 0:me.status)===-3&&(0,go.eF)(),me},*openChallenge({payload:C},{call:D,put:L}){return yield D(fi.dK,C)},*challengeMoveUp({payload:C},{call:D,put:L}){return yield D(fi.zD,C)},*challengeMoveDown({payload:C},{call:D,put:L}){return yield D(fi.hn,C)},*cancelCollect({payload:C},{call:D,put:L}){return yield D(fi.rs,C)},*collect({payload:C},{call:D,put:L}){return yield D(fi.KM,C)},*searchUserCourses({payload:C},{call:D,put:L}){return yield D(fi._7,C)},*sendToCourse({payload:C},{call:D,put:L}){return yield D(fi.Q,C)},*cancelRelease({payload:C},{call:D,put:L}){return yield D(fi.Ne,C)},*cancelPublic({payload:C},{call:D,put:L}){return yield D(fi.Er,C)},*applyPublic({payload:C},{call:D,put:L}){return yield D(fi.WO,C)},*release({payload:C},{call:D,put:L}){return yield D(fi.Ar,C)},*updateAuditSituation({payload:C},{call:D,put:L}){return yield D(fi.LP,C)},*getCollaboratorsData({payload:C},{call:D,put:L}){return yield D(fi.j8,C)},*addCollaborator({payload:C},{call:D,put:L}){return yield D(fi.OV,C)},*addTeachGroupMember({payload:C},{call:D,put:L}){return yield D(fi.l3,C)},*getChangeManager({payload:C},{call:D,put:L}){return yield D(fi.P2,C)},*changeManager({payload:C},{call:D,put:L}){return yield D(fi.X$,C)},*deleteCollaborators({payload:C},{call:D,put:L}){return yield D(fi.xk,C)},*getRankingList({payload:C},{call:D,put:L}){return yield D(fi.E4,C)},*getMirrorScript({payload:C},{call:D,put:L}){return yield D(fi.Z2,C)},*getScriptContent({payload:C},{call:D,put:L}){return yield D(fi.Bj,C)},*getCustomScript({payload:C},{call:D,put:L}){return yield D(fi.Wi,C)},*updateSettingBasicInfo({payload:C},{call:D,put:L}){return yield D(fi.ZO,C)},*getShixunQuote({payload:C},{call:D,put:L}){return yield D(fi.Gr,C)},*deleteShixun({payload:C},{call:D,put:L}){return yield D(fi.Ps,C)},*permanentClose({payload:C},{call:D,put:L}){return yield D(fi.U9,C)},*getDepartments({payload:C},{call:D,put:L}){return yield D(fi.Ql,C)},*updatePermissionSetting({payload:C},{call:D,put:L}){return yield D(fi.aH,C)},*updateLearnSetting({payload:C},{call:D,put:L}){return yield D(fi.yE,C)},*updateSetting({payload:C},{call:D,put:L}){return yield D(fi.m7,C)},*getSetData({payload:C},{call:D,put:L}){return yield D(fi.U0,C)},*deleteDataSet({payload:C},{call:D,put:L}){return yield D(fi.uo,C)},*deleteGitFile({payload:C},{call:D,put:L}){return yield D(fi.sr,C)},*deleteGitFiles({payload:C},{call:D,put:L}){return yield D(fi.p0,C)},*moveGitFile({payload:C},{call:D,put:L}){return yield D(fi.IT,C)},*moveGitFiles({payload:C},{call:D,put:L}){return yield D(fi.t2,C)},*getRepository({payload:C},{call:D,put:L}){const me=yield D(fi.Ag,C);return yield L({type:"save",payload:{repository:ts({},me)}}),ts({},me)},*getRepositorys({payload:C},{call:D,put:L}){const me=yield D(fi.Wl,C);return yield L({type:"save",payload:{repository:ts({},me)}}),ts({},me)},*getRepositorys({payload:C},{call:D,put:L}){const me=yield D(fi.Wl,C);return yield L({type:"save",payload:{repository:ts({},me)}}),ts({},me)},*getSecretRepository({payload:C},{call:D,put:L}){const me=yield D(fi.w,C);return yield L({type:"save",payload:{secretRepository:ts({},me)}}),me},*addRepositoryFile({payload:C},{call:D,put:L}){return yield D(fi.v3,C)},*addRepositoryFiles({payload:C},{call:D,put:L}){return yield D(fi.fL,C)},*getRepositoryCommit({payload:C},{call:D,put:L}){return yield D(fi.Je,C)},*getFileContent({payload:C},{call:D,put:L}){const me=yield D(fi.LK,C);return yield L({type:"save",payload:{fileContent:$o(ts({},me),{params:C})}}),me},*getFileContents({payload:C},{call:D,put:L}){const me=yield D(fi.nu,C);return yield L({type:"save",payload:{fileContent:$o(ts({},me),{params:C})}}),me},*updateRepositoryFile({payload:C},{call:D,put:L}){return yield D(fi.kF,C)},*updateRepositoryFiles({payload:C},{call:D,put:L}){return yield D(fi.jq,C)},*uploadGitFolder({payload:C},{call:D,put:L}){return yield D(fi.Op,C)},*updateCollaboratorEditable({payload:C},{call:D,put:L}){return yield D(fi.Dz,C)},*getSettingsData({payload:C},{call:D,put:L}){const me=yield D(fi.DC,C);yield L({type:"save",payload:{setting:ts({},me)}})},*getChallengesNew({payload:C},{call:D,put:L}){const me=yield D(fi.km,C);yield L({type:"save",payload:{challengesNew:ts({},me)}})},*getChallengesEdit({payload:C},{call:D,put:L}){const me=yield D(fi.q0,C);return yield L({type:"save",payload:{challengesEdit:ts({},me)}}),me},*getAuditSituationData({payload:C},{call:D,put:L}){const me=yield D(fi.GI,C),ze=ff(me);yield L({type:"save",payload:{auditSituationData:ze}})},*getEditChallengesQuestion({payload:C},{call:D,put:L}){const me=yield D(fi.UQ,C);return yield L({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:C},{call:D,put:L}){const me=yield D(fi.mI,C);return yield L({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:ts({},C)}})}},reducers:{save(C,D){return console.log("reducers:",C,D),ts(ts({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Ml=Object.defineProperty,ku=Object.getOwnPropertySymbols,du=Object.prototype.hasOwnProperty,If=Object.prototype.propertyIsEnumerable,dl=(C,D,L)=>D in C?Ml(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Yo=(C,D)=>{for(var L in D||(D={}))du.call(D,L)&&dl(C,L,D[L]);if(ku)for(var L of ku(D))If.call(D,L)&&dl(C,L,D[L]);return C},Tc={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:C},{call:D,put:L}){const me=yield D(fi.he,C),ze=Yo({},C);return yield L({type:"save",payload:Yo({listParams:ze},me)}),me},*getMenus({payload:C},{call:D,put:L}){var me;const ze=yield D(fi.I_,C);(me=ze==null?void 0:ze.disciplines)==null||me.map(un=>(un.sub_repertoires=un.sub_disciplines,un)),yield L({type:"save",payload:{menus:[...(ze==null?void 0:ze.disciplines)||[]]}})},*clearListParams({payload:C},{call:D,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(C,D){return Yo(Yo({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Xl=Object.defineProperty,Ta=Object.getOwnPropertySymbols,df=Object.prototype.hasOwnProperty,hf=Object.prototype.propertyIsEnumerable,hl=(C,D,L)=>D in C?Xl(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,pl=(C,D)=>{for(var L in D||(D={}))df.call(D,L)&&hl(C,L,D[L]);if(Ta)for(var L of Ta(D))hf.call(D,L)&&hl(C,L,D[L]);return C},Wc={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:C},{call:D,put:L}){const me=yield D(fi.b8,C);return yield L({type:"save",payload:{newData:pl({},me)}}),me},*deleteAttachment({payload:C},{call:D,put:L}){return yield D(fi.OW,C)},*applyShixunMirror({payload:C},{call:D,put:L}){return yield D(fi.EH,C)},*submitShixuns({payload:C},{call:D,put:L}){return yield D(fi.eX,C)},*getShixunsJupyterLab({payload:C},{call:D,put:L}){const me=yield D(fi.Gu,C);return yield L({type:"save",payload:{newData:pl({},me)}}),me},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:pl({},C)}})},*getEnvironmentData({payload:C},{call:D,put:L}){const me=yield D(fi.K,C);return console.log(me,"response"),yield L({type:"save",payload:{environmentData:pl({},me.data)}}),me}},reducers:{save(C,D){return pl(pl({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Ru=Object.defineProperty,Gc=Object.getOwnPropertySymbols,Cc=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,Kc=(C,D,L)=>D in C?Ru(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Pc=(C,D)=>{for(var L in D||(D={}))Cc.call(D,L)&&Kc(C,L,D[L]);if(Gc)for(var L of Gc(D))Ql.call(D,L)&&Kc(C,L,D[L]);return C},_l={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:C},{call:D,put:L}){const me=yield D(fi.e,C);yield L({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:C},{call:D,put:L}){const me=yield D(fi.Fg,C);yield L({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:C},{call:D,put:L}){const me=yield D(fi.Gz,C);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:C},{call:D,put:L}){const me=yield D(fi.hS,C);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:C},{call:D,put:L}){const me=yield D(fi.Hl,C);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(C,D){return Pc(Pc({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Ic=(C,D,L)=>new Promise((me,ze)=>{var un=na=>{try{la(L.next(na))}catch(ws){ze(ws)}},li=na=>{try{la(L.throw(na))}catch(ws){ze(ws)}},la=na=>na.done?me(na.value):Promise.resolve(na.value).then(un,li);la((L=L.apply(C,D)).next())});function pf(C){return Ic(this,null,function*(){return(0,An.ZP)("/api/shixuns/new.json",{method:"Get",params:C})})}function Vc(C){return Ic(this,null,function*(){return(0,An.ZP)(`/api/shixuns/${C.id}/required_status.json`,{method:"Get",params:{}})})}var Yc=Object.defineProperty,pc=Object.defineProperties,_f=Object.getOwnPropertyDescriptors,_c=Object.getOwnPropertySymbols,mf=Object.prototype.hasOwnProperty,ml=Object.prototype.propertyIsEnumerable,Lu=(C,D,L)=>D in C?Yc(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Vs=(C,D)=>{for(var L in D||(D={}))mf.call(D,L)&&Lu(C,L,D[L]);if(_c)for(var L of _c(D))ml.call(D,L)&&Lu(C,L,D[L]);return C},vf=(C,D)=>pc(C,_f(D)),Dc={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:C},{call:D,put:L}){yield L({type:"save",payload:Vs({},C)})},*getTestData({payload:C},{call:D,put:L}){const me=yield D(pf,C);yield L({type:"save",payload:{data:me}})},*setUpdateIndex({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:C},{call:D,put:L}){const me=yield D(Vc,C);yield L({type:"save",payload:Vs({},me.data)})},*setSideBarTabs({payload:C},{call:D,put:L}){yield L({type:"sideBar",payload:Vs({},C)})}},reducers:{save(C,D){return Vs(Vs({},C),D.payload)},sideBar(C,D){return vf(Vs({},C),{sideBar:Vs(Vs({},C.sideBar),D.payload)})}},subscriptions:{setup({dispatch:C,history:D}){}}},ks=e(86914),ho=Object.defineProperty,Ao=Object.getOwnPropertySymbols,$u=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,Jl=(C,D,L)=>D in C?ho(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,qo=(C,D)=>{for(var L in D||(D={}))$u.call(D,L)&&Jl(C,L,D[L]);if(Ao)for(var L of Ao(D))Pe.call(D,L)&&Jl(C,L,D[L]);return C},hu={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:C},{call:D,put:L}){const me=yield D(ks.JJ,C);return yield L({type:"save",payload:{homeworkBanksDetail:qo({},me)}}),me},*getSystemUpdate({payload:C},{call:D,put:L}){const me=yield D(ks.n0,C);return yield L({type:"save",payload:{systemUpdate:qo({},me)}}),me},*getHomepageInfo({payload:C},{call:D,put:L}){const me=yield D(ks.DA,C);return yield L({type:"save",payload:{homepageInfo:qo({},me)}}),me},*signed({payload:C},{call:D,put:L}){return yield D(ks.qN,C)},*getCourses({payload:C},{call:D,put:L}){return yield D(ks.Ho,C)},*getShixuns({payload:C},{call:D,put:L}){return yield D(ks.rV,C)},*getPaths({payload:C},{call:D,put:L}){return yield D(ks.w3,C)},*getProjects({payload:C},{call:D,put:L}){return yield D(ks.mW,C)},*getVideos({payload:C},{call:D,put:L}){return yield D(ks.WY,C)},*getReviewVideos({payload:C},{call:D,put:L}){return yield D(ks.Qx,C)},*deleteVideo({payload:C},{call:D,put:L}){return yield D(ks.FM,C)},*getQuestionBanks({payload:C},{call:D,put:L}){return yield D(ks.ai,C)},*topicsSetPublic({payload:C},{call:D,put:L}){return yield D(ks.Cx,C)},*topicsDelete({payload:C},{call:D,put:L}){return yield D(ks.WS,C)},*topicGetCourseList({payload:C},{call:D,put:L}){return yield D(ks.gI,C)},*topicSendToClass({payload:C},{call:D,put:L}){return C.object_type==="videos"?yield D(ks.Fn,C):yield D(ks.Ef,C)},*logWatchHistory({payload:C},{call:D,put:L}){const me=yield D(ks.lO,C);return me==null?void 0:me.log_id},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:qo({},C)}})}},reducers:{save(C,D){return qo(qo({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Gu=Object.defineProperty,Al=Object.getOwnPropertySymbols,ec=Object.prototype.hasOwnProperty,Ku=Object.prototype.propertyIsEnumerable,rl=(C,D,L)=>D in C?Gu(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Xo=(C,D)=>{for(var L in D||(D={}))ec.call(D,L)&&rl(C,L,D[L]);if(Al)for(var L of Al(D))Ku.call(D,L)&&rl(C,L,D[L]);return C},gf=(C,D)=>{var L={};for(var me in C)ec.call(C,me)&&D.indexOf(me)<0&&(L[me]=C[me]);if(C!=null&&Al)for(var me of Al(C))D.indexOf(me)<0&&Ku.call(C,me)&&(L[me]=C[me]);return L},vc={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:C},{call:D,put:L}){const me=C,{to:ze}=me,un=gf(me,["to"]);if(!(yield D(ks.Es,un)).status)try{ze?f.history.replace(ze):location.reload()}catch(la){}},*showPopLogin({payload:C},{put:D}){yield D({type:"save",payload:{showPopLogin:C.showPopLogin,showClosable:C.showClosable}})},*setBindAccountModal({payload:C},{put:D}){yield D({type:"save",payload:{bindAccountModalVisible:C.bindAccountModalVisible,userInfoForBindAccountModal:C.userInfoForBindAccountModal,loginInfo:C.loginInfo}})},*getUserInfo({payload:C},{call:D,put:L}){const me=yield D(ks.bG,Xo({},C));return localStorage.userInfo=JSON.stringify(me),yield L({type:"save",payload:{userInfo:Xo({},me)}}),me},*getNavigationInfo({payload:C},{call:D,put:L}){const me=yield D(ks.x4,Xo({},C));yield L({type:"save",payload:{navigationInfo:Xo({},me)}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Xo({},C)}})}},reducers:{save(C,D){return Xo(Xo({},C),D.payload)}}},vl=e(9327),ju=Object.defineProperty,Of=Object.defineProperties,yf=Object.getOwnPropertyDescriptors,Tl=Object.getOwnPropertySymbols,Fl=Object.prototype.hasOwnProperty,Xc=Object.prototype.propertyIsEnumerable,tc=(C,D,L)=>D in C?ju(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Eu=(C,D)=>{for(var L in D||(D={}))Fl.call(D,L)&&tc(C,L,D[L]);if(Tl)for(var L of Tl(D))Xc.call(D,L)&&tc(C,L,D[L]);return C},Oc=(C,D)=>Of(C,yf(D));const Qc=()=>{var C,D,L,me,ze,un,li;let la=window.location.href.split("/");if(!la.includes("video"))return;let na=(C=la[la.length-1])==null?void 0:C.split("?")[0];na=Number(na);const ws=(L=(D=la[la.length-1])==null?void 0:D.split("?")[1])==null?void 0:L.split("=")[1];return((ze=(me=la[la.length-1])==null?void 0:me.split("?")[1])==null?void 0:ze.split("=")[0])==="subject_id"?{videoId:na,subject_id:ws}:((li=(un=la[la.length-1])==null?void 0:un.split("?")[1])==null?void 0:li.split("=")[0])==="new_video_id"?{videoId:na,new_video_id:ws}:{videoId:na,course_id:ws}};var kc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Qc(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:C,callback:D},{call:L,put:me}){const ze=yield L(Mn.O2,C);return D?D(ze):yield me({type:"save",payload:{detail:Eu({},ze)}}),ze},*setVideoValue({payload:C},{call:D,put:L}){yield L({type:"save",payload:{detail:Eu({},C)}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Eu({},C)}})},*setVideoTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{videoTabs:Eu({},C)}})},*setSelectValue({payload:C},{call:D,put:L}){yield L({type:"save",payload:{selectParams:Eu({},C)}})},*getStageData({payload:C},{call:D,put:L,select:me}){const ze=yield D(Mn.yN,C),un=yield D(Ve.lk,{id:C.subject_id}),{queryParams:li}=yield me(Rs=>Rs.videoDetail),{stages:la=[]}=ze,na=[];let ws=[],Ys={};const si=Rs=>{Rs.forEach(nu=>{String(nu.id)===String(li.videoId)&&(Ys=nu),nu.item_type==="VideoItem"?na.push(nu):nu.item_type==="Attachment"&&ws.push(nu),nu.children&&nu.children.length&&si(nu.children)})};la==null||la.forEach(Rs=>{si(Rs.items)}),window.filterVideoSign=[...na],yield L({type:"save",payload:{stages:la,active:Ys,cust_seq:un.cust_seq,videoList:na,attachmentList:ws}})},*getVideoData({payload:C},{call:D,put:L,select:me}){const ze=yield D(Mn.fn,C),{categories:un=[],coruse_videos:li=[]}=ze;yield L({type:"save",payload:{stages:(un==null?void 0:un.length)>0?un:[{coruse_videos:li,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:C},{call:D,put:L,select:me}){const ze=yield D(vl.R7,C),{queryParams:un}=yield me(si=>si.videoDetail),{stages:li}=ze;let la=[],na=[],ws={};const Ys=si=>{si.forEach(Rs=>{String(Rs.id)===String(un.videoId)&&(ws=Rs),Rs.item_type==="VideoItem"?la.push(Rs):Rs.item_type==="Attachment"&&na.push(Rs),Rs.children&&Rs.children.length&&Ys(Rs.children)})};li==null||li.forEach(si=>{Ys(si.items)}),window.filterVideoSign=[...la],yield L({type:"save",payload:{active:ws,stages:li,cust_seq:!0,videoList:la,attachmentList:na}})}},reducers:{save(C,D){return Eu(Eu({},C),D.payload)},handleListItemClick(C,D){const{videoList:L,attachmentList:me}=C,ze=D.payload.videoId||D.payload.attachmentId,un=[...L,...me].find(li=>`${li.id}`==`${ze}`);return Oc(Eu({},C),{active:un,queryParams:Eu(Eu({},Qc()),D.payload)})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},pu=e(26841),rc=Object.defineProperty,bf=Object.getOwnPropertySymbols,Jc=Object.prototype.hasOwnProperty,nl=Object.prototype.propertyIsEnumerable,gc=(C,D,L)=>D in C?rc(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Bl=(C,D)=>{for(var L in D||(D={}))Jc.call(D,L)&&gc(C,L,D[L]);if(bf)for(var L of bf(D))nl.call(D,L)&&gc(C,L,D[L]);return C},Rc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:C},{call:D,put:L}){const me=yield D(pu.y2,C);return yield L({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:C},{call:D,put:L}){return yield D(pu.CH,C)},*getDiscussionDetail({payload:C},{call:D,put:L}){const me=yield D(pu.XQ,C);return yield L({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:C},{call:D,put:L}){return yield D(pu.Ll,C)},*getDiscussionList({payload:C},{call:D,put:L}){const me=yield D(pu.EA,C);return yield L({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:C},{call:D,put:L}){return yield D(pu.cZ,C)},*getLessonResourcesList({payload:C},{call:D,put:L}){const me=yield D(pu.b,C);return yield L({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:C},{call:D,put:L}){return yield D(pu.To,C)},*getGoodLessonsDetail({payload:C},{call:D,put:L}){const me=yield D(pu.FU,C);return yield L({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:C},{call:D,put:L}){return yield D(pu.Vf,C)},*getGoodLessonsList({payload:C},{call:D,put:L}){const me=yield D(pu.G_,C);return yield L({type:"save",payload:{LessonsList:me}}),me},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Bl({},C)}})},*setShowMenu({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showMenu:C}})},*getVirtualSpacesDetails({payload:C},{call:D,put:L}){const me=yield D(pu.sT,C);yield L({type:"save",payload:{virtualSpacesDetails:Bl({},me)}})},*setVirtualSpacesLoading({payload:C},{call:D,put:L}){yield L({type:"save",payload:{loading:C}})},*getVirtualSpacesMenus({payload:C},{call:D,put:L}){const me=yield D(pu.Sl,C);return yield L({type:"save",payload:{menus:me}}),me}},reducers:{save(C,D){return Bl(Bl({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}};const Lc={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:V},model_3:{namespace:"classrooms.attachment",model:se},model_4:{namespace:"classrooms.boards",model:ke},model_5:{namespace:"classrooms.exercise",model:Ke},model_6:{namespace:"classrooms.graduation",model:Ae},model_7:{namespace:"classrooms.homeworks",model:Wt},model_8:{namespace:"classrooms.index",model:Ce},model_9:{namespace:"classrooms.new",model:vt},model_10:{namespace:"classrooms.overview",model:$r},model_11:{namespace:"classrooms.polls",model:Nt},model_12:{namespace:"classrooms.teacher",model:gn},model_13:{namespace:"classrooms.video",model:Ai},model_14:{namespace:"competitions.index",model:Di},model_15:{namespace:"declaration.index",model:cr},model_16:{namespace:"engineering.evaluateDetail",model:yr},model_17:{namespace:"engineering.evaluateList",model:Rr.Z},model_18:{namespace:"engineering.index",model:$n},model_19:{namespace:"engineering.navigation",model:_s},model_20:{namespace:"engineering.normDetail",model:Oo},model_21:{namespace:"engineering.normList",model:Ro},model_22:{namespace:"forums.detail",model:As},model_23:{namespace:"forums.index",model:Ho},model_24:{namespace:"globalSetting",model:Xt},model_25:{namespace:"graduations.index",model:ei},model_26:{namespace:"homePage",model:ba},model_27:{namespace:"innovation.index",model:So},model_28:{namespace:"intraincourse.index",model:Ea},model_29:{namespace:"loading",model:Us},model_30:{namespace:"messages.index",model:bs},model_31:{namespace:"paperlibrary.index",model:es},model_32:{namespace:"paperlibrary.newPaper",model:Hu},model_33:{namespace:"paths.detail",model:$t},model_34:{namespace:"paths.index",model:Fi},model_35:{namespace:"paths.new",model:ka},model_36:{namespace:"paths.overview",model:Sl},model_37:{namespace:"problemset.index",model:xu},model_38:{namespace:"problemset.preview",model:Kl},model_39:{namespace:"resetFul.index",model:cf},model_40:{namespace:"shixuns.detail",model:ql},model_41:{namespace:"shixuns.index",model:Tc},model_42:{namespace:"shixuns.new",model:Wc},model_43:{namespace:"shixuns.overview",model:_l},model_44:{namespace:"shixuns.practiceSetting",model:Dc},model_45:{namespace:"user.detail",model:hu},model_46:{namespace:"user.index",model:vc},model_47:{namespace:"video.detail",model:kc},model_48:{namespace:"virtualSpaces.index",model:Rc}};var Rf=Object.defineProperty,il=Object.getOwnPropertySymbols,Nl=Object.prototype.hasOwnProperty,nc=Object.prototype.propertyIsEnumerable,ma=(C,D,L)=>D in C?Rf(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,po=(C,D)=>{for(var L in D||(D={}))Nl.call(D,L)&&ma(C,L,D[L]);if(il)for(var L of il(D))nc.call(D,L)&&ma(C,L,D[L]);return C};let _o;function Qn(C){const{pluginManager:D}=(0,f.useAppData)(),L=(0,c.useRef)(),me=D.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(po({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(ze){return[...ze]},setupApp(ze){ze._history=f.history}}),_o=L.current,L.current.use(l()()),(me.plugins||[]).forEach(ze=>{L.current.use(ze)});for(const ze of Object.keys(Lc))L.current.model(po({namespace:Lc[ze].namespace},Lc[ze].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},C.children)}function Vu(){return _o}},89589:function(d,v,e){"use strict";e.d(v,{PZ:function(){return Jn},eU:function(){return a},B:function(){return qn},Mg:function(){return ht},lw:function(){return dt},Kd:function(){return It},H8:function(){return Di}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(He){return He.displayName||He.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(He,tt){const{intlPropName:we="intl",forwardRef:st=!1,enforceContext:ar=!0}=tt||{},kr=Ir=>React.createElement(h,null,xr=>(ar&&invariantIntlContext(xr),React.createElement(He,Object.assign({},Ir,{[we]:xr},{ref:st?Ir.forwardedRef:null}))));return kr.displayName=`injectIntl(${f(He)})`,kr.WrappedComponent=He,c(st?React.forwardRef((Ir,xr)=>React.createElement(kr,Object.assign({},Ir,{forwardedRef:xr}))):kr,He)}var y;(function(He){He[He.literal=0]="literal",He[He.argument=1]="argument",He[He.number=2]="number",He[He.date=3]="date",He[He.time=4]="time",He[He.select=5]="select",He[He.plural=6]="plural",He[He.pound=7]="pound"})(y||(y={}));function _(He){return He.type===y.literal}function b(He){return He.type===y.argument}function S(He){return He.type===y.number}function k(He){return He.type===y.date}function R(He){return He.type===y.time}function A(He){return He.type===y.select}function I(He){return He.type===y.plural}function M(He){return He.type===y.pound}function B(He){return!!(He&&typeof He=="object"&&He.type===0)}function N(He){return!!(He&&typeof He=="object"&&He.type===1)}function V(He){return{type:y.literal,value:He}}function W(He,tt){return{type:y.number,value:He,style:tt}}var H=function(){var He=function(tt,we){return He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(st,ar){st.__proto__=ar}||function(st,ar){for(var kr in ar)ar.hasOwnProperty(kr)&&(st[kr]=ar[kr])},He(tt,we)};return function(tt,we){He(tt,we);function st(){this.constructor=tt}tt.prototype=we===null?Object.create(we):(st.prototype=we.prototype,new st)}}(),te=function(){return te=Object.assign||function(He){for(var tt,we=1,st=arguments.length;we<st;we++){tt=arguments[we];for(var ar in tt)Object.prototype.hasOwnProperty.call(tt,ar)&&(He[ar]=tt[ar])}return He},te.apply(this,arguments)},ie=function(He){H(tt,He);function tt(we,st,ar,kr){var Ir=He.call(this)||this;return Ir.message=we,Ir.expected=st,Ir.found=ar,Ir.location=kr,Ir.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Ir,tt),Ir}return tt.buildMessage=function(we,st){function ar(yr){return yr.charCodeAt(0).toString(16).toUpperCase()}function kr(yr){return yr.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(cn){return"\\x0"+ar(cn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(cn){return"\\x"+ar(cn)})}function Ir(yr){return yr.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(cn){return"\\x0"+ar(cn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(cn){return"\\x"+ar(cn)})}function xr(yr){switch(yr.type){case"literal":return'"'+kr(yr.text)+'"';case"class":var cn=yr.parts.map(function(an){return Array.isArray(an)?Ir(an[0])+"-"+Ir(an[1]):Ir(an)});return"["+(yr.inverted?"^":"")+cn+"]";case"any":return"any character";case"end":return"end of input";case"other":return yr.description}}function jr(yr){var cn=yr.map(xr),an,dn;if(cn.sort(),cn.length>0){for(an=1,dn=1;an<cn.length;an++)cn[an-1]!==cn[an]&&(cn[dn]=cn[an],dn++);cn.length=dn}switch(cn.length){case 1:return cn[0];case 2:return cn[0]+" or "+cn[1];default:return cn.slice(0,-1).join(", ")+", or "+cn[cn.length-1]}}function En(yr){return yr?'"'+kr(yr)+'"':"end of input"}return"Expected "+jr(we)+" but "+En(st)+" found."},tt}(Error);function oe(He,tt){tt=tt!==void 0?tt:{};var we={},st={start:Qe},ar=Qe,kr=function(be){return be.join("")},Ir=function(be){return te({type:y.literal,value:be},Ma())},xr="#",jr=Wi("#",!1),En=function(){return te({type:y.pound},Ma())},yr=ls("argumentElement"),cn="{",an=Wi("{",!1),dn="}",mn=Wi("}",!1),Oa=function(be){return te({type:y.argument,value:be},Ma())},Ei=ls("numberSkeletonId"),gi=/^['\/{}]/,$n=co(["'","/","{","}"],!1,!1),Pi=fo(),Xi=ls("numberSkeletonTokenOption"),Pa="/",qs=Wi("/",!1),ja=function(be){return be},Ws=ls("numberSkeletonToken"),mo=function(be,Se){return{stem:be,options:Se}},as=function(be){return te({type:0,tokens:be},Ma())},Aa="::",$i=Wi("::",!1),Gs=function(be){return be},_s=function(){return Ra.push("numberArgStyle"),!0},Js=function(be){return Ra.pop(),be.replace(/\s*$/,"")},zi=",",Xs=Wi(",",!1),No="number",Ga=Wi("number",!1),Fs=function(be,Se,br){return te({type:Se==="number"?y.number:Se==="date"?y.date:y.time,style:br&&br[2],value:be},Ma())},ci="'",oo=Wi("'",!1),Fn=/^[^']/,os=co(["'"],!0,!1),Oo=/^[^a-zA-Z'{}]/,eo=co([["a","z"],["A","Z"],"'","{","}"],!0,!1),ha=/^[a-zA-Z]/,ns=co([["a","z"],["A","Z"]],!1,!1),Qi=function(be){return te({type:1,pattern:be},Ma())},js=function(){return Ra.push("dateOrTimeArgStyle"),!0},wo="date",Qo=Wi("date",!1),Uo="time",uo=Wi("time",!1),Eo="plural",ko=Wi("plural",!1),zo="selectordinal",Ro=Wi("selectordinal",!1),Zo="offset:",eu=Wi("offset:",!1),_i=function(be,Se,br,tn){return te({type:y.plural,pluralType:Se==="plural"?"cardinal":"ordinal",value:be,offset:br?br[2]:0,options:tn.reduce(function(gr,qr){var On=qr.id,ii=qr.value,Gi=qr.location;return On in gr&&Ks('Duplicate option "'+On+'" in plural element: "'+qi()+'"',Ia()),gr[On]={value:ii,location:Gi},gr},{})},Ma())},mi="select",us=Wi("select",!1),ms=function(be,Se){return te({type:y.select,value:be,options:Se.reduce(function(br,tn){var gr=tn.id,qr=tn.value,On=tn.location;return gr in br&&Ks('Duplicate option "'+gr+'" in select element: "'+qi()+'"',Ia()),br[gr]={value:qr,location:On},br},{})},Ma())},Ka="=",Va=Wi("=",!1),As=function(be){return Ra.push("select"),!0},uu=function(be,Se){return Ra.pop(),te({id:be,value:Se},Ma())},Ts=function(be){return Ra.push("plural"),!0},lu=function(be,Se){return Ra.pop(),te({id:be,value:Se},Ma())},yu=ls("whitespace"),Cu=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Fu=co([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),xl=ls("syntax pattern"),Ho=/^[!-\/:-@[-\^`{-~\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]/,Lo=co([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\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),Mo=ls("optional whitespace"),zu=ls("number"),vo="-",Zu=Wi("-",!1),Pu=function(be,Se){return Se?be?-Se:Se:0},cu=ls("apostrophe"),vu=ls("double apostrophes"),to="''",To=Wi("''",!1),fu=function(){return"'"},Xt=function(be,Se){return be+Se.replace("''","'")},fr=function(be){return be!=="{"&&!(ro()&&be==="#")&&!(hs()&&be==="}")},ir=`
|
|
|
`,dr=Wi(`
|
|
|
`,!1),Sr=function(be){return be==="{"||be==="}"||ro()&&be==="#"},vn=ls("argNameOrNumber"),Wn=ls("argNumber"),Dn="0",jn=Wi("0",!1),ui=function(){return 0},ei=/^[1-9]/,ur=co([["1","9"]],!1,!1),Mr=/^[0-9]/,Fr=co([["0","9"]],!1,!1),Sn=function(be){return parseInt(be.join(""),10)},Tn=ls("argName"),_t=0,Un=0,Hn=[{line:1,column:1}],Li=0,ia=[],Kr=0,ba;if(tt.startRule!==void 0){if(!(tt.startRule in st))throw new Error(`Can't start parsing from rule "`+tt.startRule+'".');ar=st[tt.startRule]}function qi(){return He.substring(Un,_t)}function Ia(){return So(Un,_t)}function lo(be,Se){throw Se=Se!==void 0?Se:So(Un,_t),is([ls(be)],He.substring(Un,_t),Se)}function Ks(be,Se){throw Se=Se!==void 0?Se:So(Un,_t),Ua(be,Se)}function Wi(be,Se){return{type:"literal",text:be,ignoreCase:Se}}function co(be,Se,br){return{type:"class",parts:be,inverted:Se,ignoreCase:br}}function fo(){return{type:"any"}}function vs(){return{type:"end"}}function ls(be){return{type:"other",description:be}}function Jo(be){var Se=Hn[be],br;if(Se)return Se;for(br=be-1;!Hn[br];)br--;for(Se=Hn[br],Se={line:Se.line,column:Se.column};br<be;)He.charCodeAt(br)===10?(Se.line++,Se.column=1):Se.column++,br++;return Hn[be]=Se,Se}function So(be,Se){var br=Jo(be),tn=Jo(Se);return{start:{offset:be,line:br.line,column:br.column},end:{offset:Se,line:tn.line,column:tn.column}}}function An(be){_t<Li||(_t>Li&&(Li=_t,ia=[]),ia.push(be))}function Ua(be,Se){return new ie(be,[],"",Se)}function is(be,Se,br){return new ie(ie.buildMessage(be,Se),be,Se,br)}function Qe(){var be;return be=Re(),be}function Re(){var be,Se;for(be=[],Se=Lt();Se!==we;)be.push(Se),Se=Lt();return be}function Lt(){var be;return be=pr(),be===we&&(be=Wr(),be===we&&(be=Oi(),be===we&&(be=Si(),be===we&&(be=Ea(),be===we&&(be=Br()))))),be}function Ht(){var be,Se,br;if(be=_t,Se=[],br=ds(),br===we&&(br=Fo(),br===we&&(br=bs())),br!==we)for(;br!==we;)Se.push(br),br=ds(),br===we&&(br=Fo(),br===we&&(br=bs()));else Se=we;return Se!==we&&(Un=be,Se=kr(Se)),be=Se,be}function pr(){var be,Se;return be=_t,Se=Ht(),Se!==we&&(Un=be,Se=Ir(Se)),be=Se,be}function Br(){var be,Se;return be=_t,He.charCodeAt(_t)===35?(Se=xr,_t++):(Se=we,Kr===0&&An(jr)),Se!==we&&(Un=be,Se=En()),be=Se,be}function Wr(){var be,Se,br,tn,gr,qr;return Kr++,be=_t,He.charCodeAt(_t)===123?(Se=cn,_t++):(Se=we,Kr===0&&An(an)),Se!==we?(br=Ui(),br!==we?(tn=go(),tn!==we?(gr=Ui(),gr!==we?(He.charCodeAt(_t)===125?(qr=dn,_t++):(qr=we,Kr===0&&An(mn)),qr!==we?(Un=be,Se=Oa(tn),be=Se):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we),Kr--,be===we&&(Se=we,Kr===0&&An(yr)),be}function yn(){var be,Se,br,tn,gr;if(Kr++,be=_t,Se=[],br=_t,tn=_t,Kr++,gr=Qa(),gr===we&&(gi.test(He.charAt(_t))?(gr=He.charAt(_t),_t++):(gr=we,Kr===0&&An($n))),Kr--,gr===we?tn=void 0:(_t=tn,tn=we),tn!==we?(He.length>_t?(gr=He.charAt(_t),_t++):(gr=we,Kr===0&&An(Pi)),gr!==we?(tn=[tn,gr],br=tn):(_t=br,br=we)):(_t=br,br=we),br!==we)for(;br!==we;)Se.push(br),br=_t,tn=_t,Kr++,gr=Qa(),gr===we&&(gi.test(He.charAt(_t))?(gr=He.charAt(_t),_t++):(gr=we,Kr===0&&An($n))),Kr--,gr===we?tn=void 0:(_t=tn,tn=we),tn!==we?(He.length>_t?(gr=He.charAt(_t),_t++):(gr=we,Kr===0&&An(Pi)),gr!==we?(tn=[tn,gr],br=tn):(_t=br,br=we)):(_t=br,br=we);else Se=we;return Se!==we?be=He.substring(be,_t):be=Se,Kr--,be===we&&(Se=we,Kr===0&&An(Ei)),be}function ln(){var be,Se,br;return Kr++,be=_t,He.charCodeAt(_t)===47?(Se=Pa,_t++):(Se=we,Kr===0&&An(qs)),Se!==we?(br=yn(),br!==we?(Un=be,Se=ja(br),be=Se):(_t=be,be=we)):(_t=be,be=we),Kr--,be===we&&(Se=we,Kr===0&&An(Xi)),be}function xn(){var be,Se,br,tn,gr;if(Kr++,be=_t,Se=Ui(),Se!==we)if(br=yn(),br!==we){for(tn=[],gr=ln();gr!==we;)tn.push(gr),gr=ln();tn!==we?(Un=be,Se=mo(br,tn),be=Se):(_t=be,be=we)}else _t=be,be=we;else _t=be,be=we;return Kr--,be===we&&(Se=we,Kr===0&&An(Ws)),be}function ti(){var be,Se,br;if(be=_t,Se=[],br=xn(),br!==we)for(;br!==we;)Se.push(br),br=xn();else Se=we;return Se!==we&&(Un=be,Se=as(Se)),be=Se,be}function ni(){var be,Se,br;return be=_t,He.substr(_t,2)===Aa?(Se=Aa,_t+=2):(Se=we,Kr===0&&An($i)),Se!==we?(br=ti(),br!==we?(Un=be,Se=Gs(br),be=Se):(_t=be,be=we)):(_t=be,be=we),be===we&&(be=_t,Un=_t,Se=_s(),Se?Se=void 0:Se=we,Se!==we?(br=Ht(),br!==we?(Un=be,Se=Js(br),be=Se):(_t=be,be=we)):(_t=be,be=we)),be}function vi(){var be,Se,br,tn,gr,qr,On,ii,Gi,zn,Zn,wn,ua;return be=_t,He.charCodeAt(_t)===123?(Se=cn,_t++):(Se=we,Kr===0&&An(an)),Se!==we?(br=Ui(),br!==we?(tn=go(),tn!==we?(gr=Ui(),gr!==we?(He.charCodeAt(_t)===44?(qr=zi,_t++):(qr=we,Kr===0&&An(Xs)),qr!==we?(On=Ui(),On!==we?(He.substr(_t,6)===No?(ii=No,_t+=6):(ii=we,Kr===0&&An(Ga)),ii!==we?(Gi=Ui(),Gi!==we?(zn=_t,He.charCodeAt(_t)===44?(Zn=zi,_t++):(Zn=we,Kr===0&&An(Xs)),Zn!==we?(wn=Ui(),wn!==we?(ua=ni(),ua!==we?(Zn=[Zn,wn,ua],zn=Zn):(_t=zn,zn=we)):(_t=zn,zn=we)):(_t=zn,zn=we),zn===we&&(zn=null),zn!==we?(Zn=Ui(),Zn!==we?(He.charCodeAt(_t)===125?(wn=dn,_t++):(wn=we,Kr===0&&An(mn)),wn!==we?(Un=be,Se=Fs(tn,ii,zn),be=Se):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we),be}function ji(){var be,Se,br,tn;if(be=_t,He.charCodeAt(_t)===39?(Se=ci,_t++):(Se=we,Kr===0&&An(oo)),Se!==we){if(br=[],tn=ds(),tn===we&&(Fn.test(He.charAt(_t))?(tn=He.charAt(_t),_t++):(tn=we,Kr===0&&An(os))),tn!==we)for(;tn!==we;)br.push(tn),tn=ds(),tn===we&&(Fn.test(He.charAt(_t))?(tn=He.charAt(_t),_t++):(tn=we,Kr===0&&An(os)));else br=we;br!==we?(He.charCodeAt(_t)===39?(tn=ci,_t++):(tn=we,Kr===0&&An(oo)),tn!==we?(Se=[Se,br,tn],be=Se):(_t=be,be=we)):(_t=be,be=we)}else _t=be,be=we;if(be===we)if(be=[],Se=ds(),Se===we&&(Oo.test(He.charAt(_t))?(Se=He.charAt(_t),_t++):(Se=we,Kr===0&&An(eo))),Se!==we)for(;Se!==we;)be.push(Se),Se=ds(),Se===we&&(Oo.test(He.charAt(_t))?(Se=He.charAt(_t),_t++):(Se=we,Kr===0&&An(eo)));else be=we;return be}function ga(){var be,Se;if(be=[],ha.test(He.charAt(_t))?(Se=He.charAt(_t),_t++):(Se=we,Kr===0&&An(ns)),Se!==we)for(;Se!==we;)be.push(Se),ha.test(He.charAt(_t))?(Se=He.charAt(_t),_t++):(Se=we,Kr===0&&An(ns));else be=we;return be}function Ji(){var be,Se,br,tn;if(be=_t,Se=_t,br=[],tn=ji(),tn===we&&(tn=ga()),tn!==we)for(;tn!==we;)br.push(tn),tn=ji(),tn===we&&(tn=ga());else br=we;return br!==we?Se=He.substring(Se,_t):Se=br,Se!==we&&(Un=be,Se=Qi(Se)),be=Se,be}function Mi(){var be,Se,br;return be=_t,He.substr(_t,2)===Aa?(Se=Aa,_t+=2):(Se=we,Kr===0&&An($i)),Se!==we?(br=Ji(),br!==we?(Un=be,Se=Gs(br),be=Se):(_t=be,be=we)):(_t=be,be=we),be===we&&(be=_t,Un=_t,Se=js(),Se?Se=void 0:Se=we,Se!==we?(br=Ht(),br!==we?(Un=be,Se=Js(br),be=Se):(_t=be,be=we)):(_t=be,be=we)),be}function Da(){var be,Se,br,tn,gr,qr,On,ii,Gi,zn,Zn,wn,ua;return be=_t,He.charCodeAt(_t)===123?(Se=cn,_t++):(Se=we,Kr===0&&An(an)),Se!==we?(br=Ui(),br!==we?(tn=go(),tn!==we?(gr=Ui(),gr!==we?(He.charCodeAt(_t)===44?(qr=zi,_t++):(qr=we,Kr===0&&An(Xs)),qr!==we?(On=Ui(),On!==we?(He.substr(_t,4)===wo?(ii=wo,_t+=4):(ii=we,Kr===0&&An(Qo)),ii===we&&(He.substr(_t,4)===Uo?(ii=Uo,_t+=4):(ii=we,Kr===0&&An(uo))),ii!==we?(Gi=Ui(),Gi!==we?(zn=_t,He.charCodeAt(_t)===44?(Zn=zi,_t++):(Zn=we,Kr===0&&An(Xs)),Zn!==we?(wn=Ui(),wn!==we?(ua=Mi(),ua!==we?(Zn=[Zn,wn,ua],zn=Zn):(_t=zn,zn=we)):(_t=zn,zn=we)):(_t=zn,zn=we),zn===we&&(zn=null),zn!==we?(Zn=Ui(),Zn!==we?(He.charCodeAt(_t)===125?(wn=dn,_t++):(wn=we,Kr===0&&An(mn)),wn!==we?(Un=be,Se=Fs(tn,ii,zn),be=Se):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we),be}function Oi(){var be;return be=vi(),be===we&&(be=Da()),be}function Si(){var be,Se,br,tn,gr,qr,On,ii,Gi,zn,Zn,wn,ua,es,Wo,bo;if(be=_t,He.charCodeAt(_t)===123?(Se=cn,_t++):(Se=we,Kr===0&&An(an)),Se!==we)if(br=Ui(),br!==we)if(tn=go(),tn!==we)if(gr=Ui(),gr!==we)if(He.charCodeAt(_t)===44?(qr=zi,_t++):(qr=we,Kr===0&&An(Xs)),qr!==we)if(On=Ui(),On!==we)if(He.substr(_t,6)===Eo?(ii=Eo,_t+=6):(ii=we,Kr===0&&An(ko)),ii===we&&(He.substr(_t,13)===zo?(ii=zo,_t+=13):(ii=we,Kr===0&&An(Ro))),ii!==we)if(Gi=Ui(),Gi!==we)if(He.charCodeAt(_t)===44?(zn=zi,_t++):(zn=we,Kr===0&&An(Xs)),zn!==we)if(Zn=Ui(),Zn!==we)if(wn=_t,He.substr(_t,7)===Zo?(ua=Zo,_t+=7):(ua=we,Kr===0&&An(eu)),ua!==we?(es=Ui(),es!==we?(Wo=La(),Wo!==we?(ua=[ua,es,Wo],wn=ua):(_t=wn,wn=we)):(_t=wn,wn=we)):(_t=wn,wn=we),wn===we&&(wn=null),wn!==we)if(ua=Ui(),ua!==we){if(es=[],Wo=Xa(),Wo!==we)for(;Wo!==we;)es.push(Wo),Wo=Xa();else es=we;es!==we?(Wo=Ui(),Wo!==we?(He.charCodeAt(_t)===125?(bo=dn,_t++):(bo=we,Kr===0&&An(mn)),bo!==we?(Un=be,Se=_i(tn,ii,wn,es),be=Se):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)}else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;return be}function Ea(){var be,Se,br,tn,gr,qr,On,ii,Gi,zn,Zn,wn,ua,es;if(be=_t,He.charCodeAt(_t)===123?(Se=cn,_t++):(Se=we,Kr===0&&An(an)),Se!==we)if(br=Ui(),br!==we)if(tn=go(),tn!==we)if(gr=Ui(),gr!==we)if(He.charCodeAt(_t)===44?(qr=zi,_t++):(qr=we,Kr===0&&An(Xs)),qr!==we)if(On=Ui(),On!==we)if(He.substr(_t,6)===mi?(ii=mi,_t+=6):(ii=we,Kr===0&&An(us)),ii!==we)if(Gi=Ui(),Gi!==we)if(He.charCodeAt(_t)===44?(zn=zi,_t++):(zn=we,Kr===0&&An(Xs)),zn!==we)if(Zn=Ui(),Zn!==we){if(wn=[],ua=Us(),ua!==we)for(;ua!==we;)wn.push(ua),ua=Us();else wn=we;wn!==we?(ua=Ui(),ua!==we?(He.charCodeAt(_t)===125?(es=dn,_t++):(es=we,Kr===0&&An(mn)),es!==we?(Un=be,Se=ms(tn,wn),be=Se):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)}else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;else _t=be,be=we;return be}function Co(){var be,Se,br,tn;return be=_t,Se=_t,He.charCodeAt(_t)===61?(br=Ka,_t++):(br=we,Kr===0&&An(Va)),br!==we?(tn=La(),tn!==we?(br=[br,tn],Se=br):(_t=Se,Se=we)):(_t=Se,Se=we),Se!==we?be=He.substring(be,_t):be=Se,be===we&&(be=yo()),be}function Us(){var be,Se,br,tn,gr,qr,On,ii;return be=_t,Se=Ui(),Se!==we?(br=yo(),br!==we?(tn=Ui(),tn!==we?(He.charCodeAt(_t)===123?(gr=cn,_t++):(gr=we,Kr===0&&An(an)),gr!==we?(Un=_t,qr=As(br),qr?qr=void 0:qr=we,qr!==we?(On=Re(),On!==we?(He.charCodeAt(_t)===125?(ii=dn,_t++):(ii=we,Kr===0&&An(mn)),ii!==we?(Un=be,Se=uu(br,On),be=Se):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we),be}function Xa(){var be,Se,br,tn,gr,qr,On,ii;return be=_t,Se=Ui(),Se!==we?(br=Co(),br!==we?(tn=Ui(),tn!==we?(He.charCodeAt(_t)===123?(gr=cn,_t++):(gr=we,Kr===0&&An(an)),gr!==we?(Un=_t,qr=Ts(br),qr?qr=void 0:qr=we,qr!==we?(On=Re(),On!==we?(He.charCodeAt(_t)===125?(ii=dn,_t++):(ii=we,Kr===0&&An(mn)),ii!==we?(Un=be,Se=lu(br,On),be=Se):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we)):(_t=be,be=we),be}function Qa(){var be,Se;return Kr++,Cu.test(He.charAt(_t))?(be=He.charAt(_t),_t++):(be=we,Kr===0&&An(Fu)),Kr--,be===we&&(Se=we,Kr===0&&An(yu)),be}function cs(){var be,Se;return Kr++,Ho.test(He.charAt(_t))?(be=He.charAt(_t),_t++):(be=we,Kr===0&&An(Lo)),Kr--,be===we&&(Se=we,Kr===0&&An(xl)),be}function Ui(){var be,Se,br;for(Kr++,be=_t,Se=[],br=Qa();br!==we;)Se.push(br),br=Qa();return Se!==we?be=He.substring(be,_t):be=Se,Kr--,be===we&&(Se=we,Kr===0&&An(Mo)),be}function La(){var be,Se,br;return Kr++,be=_t,He.charCodeAt(_t)===45?(Se=vo,_t++):(Se=we,Kr===0&&An(Zu)),Se===we&&(Se=null),Se!==we?(br=Ja(),br!==we?(Un=be,Se=Pu(Se,br),be=Se):(_t=be,be=we)):(_t=be,be=we),Kr--,be===we&&(Se=we,Kr===0&&An(zu)),be}function fs(){var be,Se;return Kr++,He.charCodeAt(_t)===39?(be=ci,_t++):(be=we,Kr===0&&An(oo)),Kr--,be===we&&(Se=we,Kr===0&&An(cu)),be}function ds(){var be,Se;return Kr++,be=_t,He.substr(_t,2)===to?(Se=to,_t+=2):(Se=we,Kr===0&&An(To)),Se!==we&&(Un=be,Se=fu()),be=Se,Kr--,be===we&&(Se=we,Kr===0&&An(vu)),be}function Fo(){var be,Se,br,tn,gr,qr;if(be=_t,He.charCodeAt(_t)===39?(Se=ci,_t++):(Se=we,Kr===0&&An(oo)),Se!==we)if(br=Ba(),br!==we){for(tn=_t,gr=[],He.substr(_t,2)===to?(qr=to,_t+=2):(qr=we,Kr===0&&An(To)),qr===we&&(Fn.test(He.charAt(_t))?(qr=He.charAt(_t),_t++):(qr=we,Kr===0&&An(os)));qr!==we;)gr.push(qr),He.substr(_t,2)===to?(qr=to,_t+=2):(qr=we,Kr===0&&An(To)),qr===we&&(Fn.test(He.charAt(_t))?(qr=He.charAt(_t),_t++):(qr=we,Kr===0&&An(os)));gr!==we?tn=He.substring(tn,_t):tn=gr,tn!==we?(He.charCodeAt(_t)===39?(gr=ci,_t++):(gr=we,Kr===0&&An(oo)),gr===we&&(gr=null),gr!==we?(Un=be,Se=Xt(br,tn),be=Se):(_t=be,be=we)):(_t=be,be=we)}else _t=be,be=we;else _t=be,be=we;return be}function bs(){var be,Se,br,tn;return be=_t,Se=_t,He.length>_t?(br=He.charAt(_t),_t++):(br=we,Kr===0&&An(Pi)),br!==we?(Un=_t,tn=fr(br),tn?tn=void 0:tn=we,tn!==we?(br=[br,tn],Se=br):(_t=Se,Se=we)):(_t=Se,Se=we),Se===we&&(He.charCodeAt(_t)===10?(Se=ir,_t++):(Se=we,Kr===0&&An(dr))),Se!==we?be=He.substring(be,_t):be=Se,be}function Ba(){var be,Se,br,tn;return be=_t,Se=_t,He.length>_t?(br=He.charAt(_t),_t++):(br=we,Kr===0&&An(Pi)),br!==we?(Un=_t,tn=Sr(br),tn?tn=void 0:tn=we,tn!==we?(br=[br,tn],Se=br):(_t=Se,Se=we)):(_t=Se,Se=we),Se!==we?be=He.substring(be,_t):be=Se,be}function go(){var be,Se;return Kr++,be=_t,Se=Ja(),Se===we&&(Se=yo()),Se!==we?be=He.substring(be,_t):be=Se,Kr--,be===we&&(Se=we,Kr===0&&An(vn)),be}function Ja(){var be,Se,br,tn,gr;if(Kr++,be=_t,He.charCodeAt(_t)===48?(Se=Dn,_t++):(Se=we,Kr===0&&An(jn)),Se!==we&&(Un=be,Se=ui()),be=Se,be===we){if(be=_t,Se=_t,ei.test(He.charAt(_t))?(br=He.charAt(_t),_t++):(br=we,Kr===0&&An(ur)),br!==we){for(tn=[],Mr.test(He.charAt(_t))?(gr=He.charAt(_t),_t++):(gr=we,Kr===0&&An(Fr));gr!==we;)tn.push(gr),Mr.test(He.charAt(_t))?(gr=He.charAt(_t),_t++):(gr=we,Kr===0&&An(Fr));tn!==we?(br=[br,tn],Se=br):(_t=Se,Se=we)}else _t=Se,Se=we;Se!==we&&(Un=be,Se=Sn(Se)),be=Se}return Kr--,be===we&&(Se=we,Kr===0&&An(Wn)),be}function yo(){var be,Se,br,tn,gr;if(Kr++,be=_t,Se=[],br=_t,tn=_t,Kr++,gr=Qa(),gr===we&&(gr=cs()),Kr--,gr===we?tn=void 0:(_t=tn,tn=we),tn!==we?(He.length>_t?(gr=He.charAt(_t),_t++):(gr=we,Kr===0&&An(Pi)),gr!==we?(tn=[tn,gr],br=tn):(_t=br,br=we)):(_t=br,br=we),br!==we)for(;br!==we;)Se.push(br),br=_t,tn=_t,Kr++,gr=Qa(),gr===we&&(gr=cs()),Kr--,gr===we?tn=void 0:(_t=tn,tn=we),tn!==we?(He.length>_t?(gr=He.charAt(_t),_t++):(gr=we,Kr===0&&An(Pi)),gr!==we?(tn=[tn,gr],br=tn):(_t=br,br=we)):(_t=br,br=we);else Se=we;return Se!==we?be=He.substring(be,_t):be=Se,Kr--,be===we&&(Se=we,Kr===0&&An(Tn)),be}var Ra=["root"];function hs(){return Ra.length>1}function ro(){return Ra[Ra.length-1]==="plural"}function Ma(){return tt&&tt.captureLocation?{location:Ia()}:{}}if(ba=ar(),ba!==we&&_t===He.length)return ba;throw ba!==we&&_t<He.length&&An(vs()),is(ia,Li<He.length?He.charAt(Li):null,Li<He.length?So(Li,Li+1):So(Li,Li))}var J=oe,Q=function(){for(var He=0,tt=0,we=arguments.length;tt<we;tt++)He+=arguments[tt].length;for(var st=Array(He),ar=0,tt=0;tt<we;tt++)for(var kr=arguments[tt],Ir=0,xr=kr.length;Ir<xr;Ir++,ar++)st[ar]=kr[Ir];return st},K=/(^|[^\\])#/g;function se(He){He.forEach(function(tt){!I(tt)&&!A(tt)||Object.keys(tt.options).forEach(function(we){for(var st,ar=tt.options[we],kr=-1,Ir=void 0,xr=0;xr<ar.value.length;xr++){var jr=ar.value[xr];if(_(jr)&&K.test(jr.value)){kr=xr,Ir=jr;break}}if(Ir){var En=Ir.value.replace(K,"$1{"+tt.value+", number}"),yr=J(En);(st=ar.value).splice.apply(st,Q([kr,1],yr))}se(ar.value)})})}function ee(He,tt){var we=J(He,tt);return(!tt||tt.normalizeHashtagInPlural!==!1)&&se(we),we}var X=function(){for(var He=0,tt=0,we=arguments.length;tt<we;tt++)He+=arguments[tt].length;for(var st=Array(He),ar=0,tt=0;tt<we;tt++)for(var kr=arguments[tt],Ir=0,xr=kr.length;Ir<xr;Ir++,ar++)st[ar]=kr[Ir];return st};function le(He){return JSON.stringify(He.map(function(tt){return tt&&typeof tt=="object"?z(tt):tt}))}function z(He){return Object.keys(He).sort().map(function(tt){var we;return we={},we[tt]=He[tt],we})}var $=function(He,tt){return tt===void 0&&(tt={}),function(){for(var we,st=[],ar=0;ar<arguments.length;ar++)st[ar]=arguments[ar];var kr=le(st),Ir=kr&&tt[kr];return Ir||(Ir=new((we=He).bind.apply(we,X([void 0],st))),kr&&(tt[kr]=Ir)),Ir}},ae=$,_e=function(){return _e=Object.assign||function(He){for(var tt,we=1,st=arguments.length;we<st;we++){tt=arguments[we];for(var ar in tt)Object.prototype.hasOwnProperty.call(tt,ar)&&(He[ar]=tt[ar])}return He},_e.apply(this,arguments)},Ie=/(?:[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 ke(He){var tt={};return He.replace(Ie,function(we){var st=we.length;switch(we[0]){case"G":tt.era=st===4?"long":st===5?"narrow":"short";break;case"y":tt.year=st===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":tt.month=["numeric","2-digit","short","long","narrow"][st-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":tt.day=["numeric","2-digit"][st-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":tt.weekday=st===4?"short":st===5?"narrow":"short";break;case"e":if(st<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");tt.weekday=["short","long","narrow","short"][st-4];break;case"c":if(st<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");tt.weekday=["short","long","narrow","short"][st-4];break;case"a":tt.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":tt.hourCycle="h12",tt.hour=["numeric","2-digit"][st-1];break;case"H":tt.hourCycle="h23",tt.hour=["numeric","2-digit"][st-1];break;case"K":tt.hourCycle="h11",tt.hour=["numeric","2-digit"][st-1];break;case"k":tt.hourCycle="h24",tt.hour=["numeric","2-digit"][st-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":tt.minute=["numeric","2-digit"][st-1];break;case"s":tt.second=["numeric","2-digit"][st-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":tt.timeZoneName=st<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""}),tt}function We(He){return He.replace(/^(.*?)-/,"")}var je=/^\.(?:(0+)(\+|#+)?)?$/g,Mt=/^(@+)?(\+|#+)?$/g;function yt(He){var tt={};return He.replace(Mt,function(we,st,ar){return typeof ar!="string"?(tt.minimumSignificantDigits=st.length,tt.maximumSignificantDigits=st.length):ar==="+"?tt.minimumSignificantDigits=st.length:st[0]==="#"?tt.maximumSignificantDigits=st.length:(tt.minimumSignificantDigits=st.length,tt.maximumSignificantDigits=st.length+(typeof ar=="string"?ar.length:0)),""}),tt}function Pt(He){switch(He){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 tr(He){var tt={},we=Pt(He);return we||tt}function Vt(He){for(var tt={},we=0,st=He;we<st.length;we++){var ar=st[we];switch(ar.stem){case"percent":tt.style="percent";continue;case"currency":tt.style="currency",tt.currency=ar.options[0];continue;case"group-off":tt.useGrouping=!1;continue;case"precision-integer":tt.maximumFractionDigits=0;continue;case"measure-unit":tt.style="unit",tt.unit=We(ar.options[0]);continue;case"compact-short":tt.notation="compact",tt.compactDisplay="short";continue;case"compact-long":tt.notation="compact",tt.compactDisplay="long";continue;case"scientific":tt=_e(_e(_e({},tt),{notation:"scientific"}),ar.options.reduce(function(Ir,xr){return _e(_e({},Ir),tr(xr))},{}));continue;case"engineering":tt=_e(_e(_e({},tt),{notation:"engineering"}),ar.options.reduce(function(Ir,xr){return _e(_e({},Ir),tr(xr))},{}));continue;case"notation-simple":tt.notation="standard";continue;case"unit-width-narrow":tt.currencyDisplay="narrowSymbol",tt.unitDisplay="narrow";continue;case"unit-width-short":tt.currencyDisplay="code",tt.unitDisplay="short";continue;case"unit-width-full-name":tt.currencyDisplay="name",tt.unitDisplay="long";continue;case"unit-width-iso-code":tt.currencyDisplay="symbol";continue}if(je.test(ar.stem)){if(ar.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ar.stem.replace(je,function(Ir,xr,jr){return Ir==="."?tt.maximumFractionDigits=0:jr==="+"?tt.minimumFractionDigits=jr.length:xr[0]==="#"?tt.maximumFractionDigits=xr.length:(tt.minimumFractionDigits=xr.length,tt.maximumFractionDigits=xr.length+(typeof jr=="string"?jr.length:0)),""}),ar.options.length&&(tt=_e(_e({},tt),yt(ar.options[0])));continue}if(Mt.test(ar.stem)){tt=_e(_e({},tt),yt(ar.stem));continue}var kr=Pt(ar.stem);kr&&(tt=_e(_e({},tt),kr))}return tt}var lr=function(){var He=function(tt,we){return He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(st,ar){st.__proto__=ar}||function(st,ar){for(var kr in ar)ar.hasOwnProperty(kr)&&(st[kr]=ar[kr])},He(tt,we)};return function(tt,we){He(tt,we);function st(){this.constructor=tt}tt.prototype=we===null?Object.create(we):(st.prototype=we.prototype,new st)}}(),Ke=function(){for(var He=0,tt=0,we=arguments.length;tt<we;tt++)He+=arguments[tt].length;for(var st=Array(He),ar=0,tt=0;tt<we;tt++)for(var kr=arguments[tt],Ir=0,xr=kr.length;Ir<xr;Ir++,ar++)st[ar]=kr[Ir];return st},Ct=function(He){lr(tt,He);function tt(we,st){var ar=He.call(this,we)||this;return ar.variableId=st,ar}return tt}(Error);function jt(He){return He.length<2?He:He.reduce(function(tt,we){var st=tt[tt.length-1];return!st||st.type!==0||we.type!==0?tt.push(we):st.value+=we.value,tt},[])}function it(He,tt,we,st,ar,kr,Ir){if(He.length===1&&_(He[0]))return[{type:0,value:He[0].value}];for(var xr=[],jr=0,En=He;jr<En.length;jr++){var yr=En[jr];if(_(yr)){xr.push({type:0,value:yr.value});continue}if(M(yr)){typeof kr=="number"&&xr.push({type:0,value:we.getNumberFormat(tt).format(kr)});continue}var cn=yr.value;if(!(ar&&cn in ar))throw new Ct('The intl string context variable "'+cn+'" was not provided to the string "'+Ir+'"');var an=ar[cn];if(b(yr)){(!an||typeof an=="string"||typeof an=="number")&&(an=typeof an=="string"||typeof an=="number"?String(an):""),xr.push({type:1,value:an});continue}if(k(yr)){var dn=typeof yr.style=="string"?st.date[yr.style]:void 0;xr.push({type:0,value:we.getDateTimeFormat(tt,dn).format(an)});continue}if(R(yr)){var dn=typeof yr.style=="string"?st.time[yr.style]:N(yr.style)?ke(yr.style.pattern):void 0;xr.push({type:0,value:we.getDateTimeFormat(tt,dn).format(an)});continue}if(S(yr)){var dn=typeof yr.style=="string"?st.number[yr.style]:B(yr.style)?Vt(yr.style.tokens):void 0;xr.push({type:0,value:we.getNumberFormat(tt,dn).format(an)});continue}if(A(yr)){var mn=yr.options[an]||yr.options.other;if(!mn)throw new RangeError('Invalid values for "'+yr.value+'": "'+an+'". Options are "'+Object.keys(yr.options).join('", "')+'"');xr.push.apply(xr,it(mn.value,tt,we,st,ar));continue}if(I(yr)){var mn=yr.options["="+an];if(!mn){if(!Intl.PluralRules)throw new Ct(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var Oa=we.getPluralRules(tt,{type:yr.pluralType}).select(an-(yr.offset||0));mn=yr.options[Oa]||yr.options.other}if(!mn)throw new RangeError('Invalid values for "'+yr.value+'": "'+an+'". Options are "'+Object.keys(yr.options).join('", "')+'"');xr.push.apply(xr,it(mn.value,tt,we,st,ar,an-(yr.offset||0)));continue}}return jt(xr)}function xt(He,tt,we,st,ar,kr){var Ir=it(He,tt,we,st,ar,void 0,kr);return Ir.length===1?Ir[0].value:Ir.reduce(function(xr,jr){return xr+=jr.value},"")}var pt,et="@@",Ze=/@@(\d+_\d+)@@/g,ge=0;function Ae(){return Date.now()+"_"+ ++ge}function Me(He,tt){return He.split(Ze).filter(Boolean).map(function(we){return tt[we]!=null?tt[we]:we}).reduce(function(we,st){return we.length&&typeof st=="string"&&typeof we[we.length-1]=="string"?we[we.length-1]+=st:we.push(st),we},[])}var Ue=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ge=Date.now()+"@@",nt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ut(He,tt,we){var st=He.tagName,ar=He.outerHTML,kr=He.textContent,Ir=He.childNodes;if(!st)return Me(kr||"",tt);st=st.toLowerCase();var xr=~nt.indexOf(st),jr=we[st];if(jr&&xr)throw new Ct(st+" is a self-closing tag and can not be used, please use another tag name.");if(!Ir.length)return[ar];var En=Array.prototype.slice.call(Ir).reduce(function(yr,cn){return yr.concat(ut(cn,tt,we))},[]);return jr?typeof jr=="function"?[jr.apply(void 0,En)]:[jr]:Ke(["<"+st+">"],En,["</"+st+">"])}function Kt(He,tt,we,st,ar,kr){var Ir=it(He,tt,we,st,ar,void 0,kr),xr={},jr=Ir.reduce(function(an,dn){if(dn.type===0)return an+=dn.value;var mn=Ae();return xr[mn]=dn.value,an+=""+et+mn+et},"");if(!Ue.test(jr))return Me(jr,xr);if(!ar)throw new Ct("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Ct("Cannot format XML message without DOMParser");pt||(pt=new DOMParser);var En=pt.parseFromString('<formatted-message id="'+Ge+'">'+jr+"</formatted-message>","text/html").getElementById(Ge);if(!En)throw new Ct("Malformed HTML message "+jr);var yr=Object.keys(ar).filter(function(an){return!!En.getElementsByTagName(an).length});if(!yr.length)return Me(jr,xr);var cn=yr.filter(function(an){return an!==an.toLowerCase()});if(cn.length)throw new Ct("HTML tag must be lowercased but the following tags are not: "+cn.join(", "));return Array.prototype.slice.call(En.childNodes).reduce(function(an,dn){return an.concat(ut(dn,xr,ar))},[])}var Zt=function(){return Zt=Object.assign||function(He){for(var tt,we=1,st=arguments.length;we<st;we++){tt=arguments[we];for(var ar in tt)Object.prototype.hasOwnProperty.call(tt,ar)&&(He[ar]=tt[ar])}return He},Zt.apply(this,arguments)};function De(He,tt){return tt?Zt(Zt(Zt({},He||{}),tt||{}),Object.keys(He).reduce(function(we,st){return we[st]=Zt(Zt({},He[st]),tt[st]||{}),we},{})):He}function Je(He,tt){return tt?Object.keys(He).reduce(function(we,st){return we[st]=De(He[st],tt[st]),we},Zt({},He)):He}function Wt(He){return He===void 0&&(He={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ae(Intl.NumberFormat,He.number),getDateTimeFormat:ae(Intl.DateTimeFormat,He.dateTime),getPluralRules:ae(Intl.PluralRules,He.pluralRules)}}var Ot=function(){function He(tt,we,st,ar){var kr=this;if(we===void 0&&(we=He.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Ir){return xt(kr.ast,kr.locales,kr.formatters,kr.formats,Ir,kr.message)},this.formatToParts=function(Ir){return it(kr.ast,kr.locales,kr.formatters,kr.formats,Ir,void 0,kr.message)},this.formatHTMLMessage=function(Ir){return Kt(kr.ast,kr.locales,kr.formatters,kr.formats,Ir,kr.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(kr.locales)[0]}},this.getAst=function(){return kr.ast},typeof tt=="string"){if(this.message=tt,!He.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=He.__parse(tt,{normalizeHashtagInPlural:!1})}else this.ast=tt;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Je(He.formats,st),this.locales=we,this.formatters=ar&&ar.formatters||Wt(this.formatterCache)}return He.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,He.__parse=ee,He.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"}}},He}(),zt=Ot,Ft=zt;function At(He,tt,we){if(we===void 0&&(we=Error),!He)throw new we(tt)}const Yt={38:"&",62:">",60:"<",34:""",39:"'"},Ye=/[&><"']/g;function ce(He){return(""+He).replace(Ye,tt=>Yt[tt.charCodeAt(0)])}function pe(He,tt,we={}){return tt.reduce((st,ar)=>(ar in He?st[ar]=He[ar]:ar in we&&(st[ar]=we[ar]),st),{})}function Dt(He){At(He,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ce(He,tt){const we=tt?`
|
|
|
${tt.stack}`:"";return`[React Intl] ${He}${we}`}function ft(He){}const Ut={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:ft};function St(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Oe(He=St()){const tt=Intl.RelativeTimeFormat,we=Intl.ListFormat,st=Intl.DisplayNames;return{getDateTimeFormat:ae(Intl.DateTimeFormat,He.dateTime),getNumberFormat:ae(Intl.NumberFormat,He.number),getMessageFormat:ae(Ft,He.message),getRelativeTimeFormat:ae(tt,He.relativeTime),getPluralRules:ae(Intl.PluralRules,He.pluralRules),getListFormat:ae(we,He.list),getDisplayNames:ae(st,He.displayNames)}}function wt(He,tt,we,st){const ar=He&&He[tt];let kr;if(ar&&(kr=ar[we]),kr)return kr;st(Ce(`No ${tt} format named: ${we}`))}const ye=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Xe({locale:He,formats:tt,onError:we},st,ar={}){const{format:kr}=ar,Ir=kr&&wt(tt,"number",kr,we)||{},xr=pe(ar,ye,Ir);return st(He,xr)}function vt(He,tt,we,st={}){try{return Xe(He,tt,st).format(we)}catch(ar){He.onError(Ce("Error formatting number.",ar))}return String(we)}function Rt(He,tt,we,st={}){try{return Xe(He,tt,st).formatToParts(we)}catch(ar){He.onError(Ce("Error formatting number.",ar))}return[]}const Ne=["numeric","style"];function Dr({locale:He,formats:tt,onError:we},st,ar={}){const{format:kr}=ar,Ir=!!kr&&wt(tt,"relative",kr,we)||{},xr=pe(ar,Ne,Ir);return st(He,xr)}function Et(He,tt,we,st,ar={}){st||(st="second"),Intl.RelativeTimeFormat||He.onError(Ce(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return Dr(He,tt,ar).format(we,st)}catch(Ir){He.onError(Ce("Error formatting relative time.",Ir))}return String(we)}const Yr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Jr({locale:He,formats:tt,onError:we,timeZone:st},ar,kr,Ir={}){const{format:xr}=Ir,jr=Object.assign(Object.assign({},st&&{timeZone:st}),xr&&wt(tt,ar,xr,we));let En=pe(Ir,Yr,jr);return ar==="time"&&!En.hour&&!En.minute&&!En.second&&(En=Object.assign(Object.assign({},En),{hour:"numeric",minute:"numeric"})),kr(He,En)}function Er(He,tt,we,st={}){const ar=typeof we=="string"?new Date(we||0):we;try{return Jr(He,"date",tt,st).format(ar)}catch(kr){He.onError(Ce("Error formatting date.",kr))}return String(ar)}function $r(He,tt,we,st={}){const ar=typeof we=="string"?new Date(we||0):we;try{return Jr(He,"time",tt,st).format(ar)}catch(kr){He.onError(Ce("Error formatting time.",kr))}return String(ar)}function _r(He,tt,we,st={}){const ar=typeof we=="string"?new Date(we||0):we;try{return Jr(He,"date",tt,st).formatToParts(ar)}catch(kr){He.onError(Ce("Error formatting date.",kr))}return[]}function Hr(He,tt,we,st={}){const ar=typeof we=="string"?new Date(we||0):we;try{return Jr(He,"time",tt,st).formatToParts(ar)}catch(kr){He.onError(Ce("Error formatting time.",kr))}return[]}const on=["localeMatcher","type"];function pn({locale:He,onError:tt},we,st,ar={}){Intl.PluralRules||tt(Ce(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const kr=pe(ar,on);try{return we(He,kr).select(st)}catch(Ir){tt(Ce("Error formatting plural.",Ir))}return"other"}function or(He,tt){return Object.keys(He).reduce((we,st)=>(we[st]=Object.assign({timeZone:tt},He[st]),we),{})}function kt(He,tt){return Object.keys(Object.assign(Object.assign({},He),tt)).reduce((st,ar)=>(st[ar]=Object.assign(Object.assign({},He[ar]||{}),tt[ar]||{}),st),{})}function mt(He,tt){if(!tt)return He;const we=Ft.formats;return Object.assign(Object.assign(Object.assign({},we),He),{date:kt(or(we.date,tt),or(He.date||{},tt)),time:kt(or(we.time,tt),or(He.time||{},tt))})}const gt=He=>r.createElement(r.Fragment,null,...He);function Nt({locale:He,formats:tt,messages:we,defaultLocale:st,defaultFormats:ar,onError:kr,timeZone:Ir},xr,jr={id:""},En={}){const{id:yr,defaultMessage:cn}=jr;At(!!yr,"[React Intl] An `id` must be provided to format a message.");const an=we&&we[String(yr)];tt=mt(tt,Ir),ar=mt(ar,Ir);let dn=[];if(an)try{dn=xr.getMessageFormat(an,He,tt,{formatters:xr}).formatHTMLMessage(En)}catch(mn){kr(Ce(`Error formatting message: "${yr}" for locale: "${He}"`+(cn?", using default message as fallback.":""),mn))}else(!cn||He&&He.toLowerCase()!==st.toLowerCase())&&kr(Ce(`Missing message: "${yr}" for locale: "${He}"`+(cn?", using default message as fallback.":"")));if(!dn.length&&cn)try{dn=xr.getMessageFormat(cn,st,ar).formatHTMLMessage(En)}catch(mn){kr(Ce(`Error formatting the default message for: "${yr}"`,mn))}return dn.length?dn.length===1&&typeof dn[0]=="string"?dn[0]||cn||String(yr):gt(dn):(kr(Ce(`Cannot format message: "${yr}", using message ${an||cn?"source":"id"} as fallback.`)),typeof an=="string"?an||cn||String(yr):cn||String(yr))}function Ar(He,tt,we={id:""},st={}){const ar=Object.keys(st).reduce((kr,Ir)=>{const xr=st[Ir];return kr[Ir]=typeof xr=="string"?ce(xr):xr,kr},{});return Nt(He,tt,we,ar)}var vr=e(18947),at=e.n(vr);const Nr=["localeMatcher","type","style"],bn=Date.now();function Yn(He){return`${bn}_${He}_${bn}`}function mr({locale:He,onError:tt},we,st,ar={}){Intl.ListFormat||tt(Ce(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const Ir=pe(ar,Nr);try{const xr={},jr=st.map((yr,cn)=>{if(typeof yr=="object"){const an=Yn(cn);return xr[an]=yr,an}return String(yr)});return Object.keys(xr).length?we(He,Ir).formatToParts(jr).reduce((yr,cn)=>{const an=cn.value;return xr[an]?yr.push(xr[an]):typeof yr[yr.length-1]=="string"?yr[yr.length-1]+=an:yr.push(an),yr},[]):we(He,Ir).format(jr)}catch(xr){tt(Ce("Error formatting list.",xr))}return st}const rn=["localeMatcher","style","type","fallback"];function gn({locale:He,onError:tt},we,st,ar={}){Intl.DisplayNames||tt(Ce(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const Ir=pe(ar,rn);try{return we(He,Ir).of(st)}catch(xr){tt(Ce("Error formatting display name.",xr))}}const Mn=at()||vr;function ai(He){return{locale:He.locale,timeZone:He.timeZone,formats:He.formats,textComponent:He.textComponent,messages:He.messages,defaultLocale:He.defaultLocale,defaultFormats:He.defaultFormats,onError:He.onError}}function hi(He,tt){const we=Oe(tt),st=Object.assign(Object.assign({},Ut),He),{locale:ar,defaultLocale:kr,onError:Ir}=st;return ar?!Intl.NumberFormat.supportedLocalesOf(ar).length&&Ir?Ir(Ce(`Missing locale data for locale: "${ar}" in Intl.NumberFormat. Using default locale: "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(ar).length&&Ir&&Ir(Ce(`Missing locale data for locale: "${ar}" in Intl.DateTimeFormat. Using default locale: "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Ir&&Ir(Ce(`"locale" was not configured, using "${kr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),st.locale=st.defaultLocale||"en"),Object.assign(Object.assign({},st),{formatters:we,formatNumber:vt.bind(null,st,we.getNumberFormat),formatNumberToParts:Rt.bind(null,st,we.getNumberFormat),formatRelativeTime:Et.bind(null,st,we.getRelativeTimeFormat),formatDate:Er.bind(null,st,we.getDateTimeFormat),formatDateToParts:_r.bind(null,st,we.getDateTimeFormat),formatTime:$r.bind(null,st,we.getDateTimeFormat),formatTimeToParts:Hr.bind(null,st,we.getDateTimeFormat),formatPlural:pn.bind(null,st,we.getPluralRules),formatMessage:Nt.bind(null,st,we),formatHTMLMessage:Ar.bind(null,st,we),formatList:mr.bind(null,st,we.getListFormat),formatDisplayName:gn.bind(null,st,we.getDisplayNames)})}class Vi extends r.PureComponent{constructor(){super(...arguments),this.cache=St(),this.state={cache:this.cache,intl:hi(ai(this.props),this.cache),prevConfig:ai(this.props)}}static getDerivedStateFromProps(tt,{prevConfig:we,cache:st}){const ar=ai(tt);return Mn(we,ar)?null:{intl:hi(ar,st),prevConfig:ar}}render(){return Dt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}Vi.displayName="IntlProvider",Vi.defaultProps=Ut;var Yi=e(15702),Ri=e(3424),Ii=e.n(Ri),Ti=e(85239),Ai=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,xi=(He,tt)=>{var we={};for(var st in He)oi.call(He,st)&&tt.indexOf(st)<0&&(we[st]=He[st]);if(He!=null&&Ai)for(var st of Ai(He))tt.indexOf(st)<0&&Hi.call(He,st)&&(we[st]=He[st]);return we};let xe;const Kn=!0,qn=new(Ii()),Jn=Symbol("LANG_CHANGE"),oa=(He,tt="")=>Object.keys(He).reduce((we,st)=>{const ar=He[st],kr=tt?`${tt}.${st}`:st;return typeof ar=="string"?we[kr]=ar:Object.assign(we,oa(ar,kr)),we},{}),Di={},Ci=(He,tt,we)=>{var st,ar,kr,Ir;if(!He)return;const xr=(st=Di[He])!=null&&st.messages?Object.assign({},Di[He].messages,tt):tt,{momentLocale:jr=(ar=Di[He])==null?void 0:ar.momentLocale,antd:En=(kr=Di[He])==null?void 0:kr.antd}=we||{},yr=(Ir=He.split("-"))==null?void 0:Ir.join("-");Di[He]={messages:xr,locale:yr,momentLocale:jr,antd:En},yr===It()&&qn.emit(Jn,yr)},pi=He=>(0,Yi.We)().applyPlugins({key:"locale",type:"modify",initialValue:He}),Qt=He=>{const we=pi(Di[He]),{cache:st}=we,ar=xi(we,["cache"]);return hi(ar,st)},dt=(He,tt)=>xe&&!tt&&!He?xe:(He||(He=It()),He&&Di[He]?Qt(He):Di["zh-CN"]?Qt("zh-CN"):hi({locale:"zh-CN",messages:{}})),rt=He=>{xe=dt(He,!0)},It=()=>{const He=pi({});return typeof(He==null?void 0:He.getLocale)=="function"?He.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Kn?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},ht=()=>{const He=It();return["he","ar","fa","ku"].filter(st=>He.startsWith(st)).length?"rtl":"ltr"},sr=(He,tt=!0)=>{(()=>{if(It()!==He){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Kn&&window.localStorage.setItem("umi_locale",He||""),rt(He),tt)window.location.reload();else if(qn.emit(Jn,He),window.dispatchEvent){const st=new Event("languagechange");window.dispatchEvent(st)}}})()};let cr=!0;const Cr=(He,tt)=>(cr&&(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
|
|
|
`),cr=!1),xe||rt(It()),xe.formatMessage(He,tt)),Rr=()=>Object.keys(Di)},77527:function(d,v,e){"use strict";e.d(v,{y:function(){return o}});var r=e(43418),i=e(95237),l=e(43604),c=e(8241),f=e(59301);const o=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 H=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:()=>H.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 W=p.filter(H=>(0,c.t)(H));return!W||!W.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(W.join(""))}let b=y.candidate.candidate.split(" "),[S,k,R,A,I,M,,B,...N]=b,V=["rtp","rtpc"];if(console.log("event:",y),p.some(W=>W==I)||p.push(I),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+V[k-1]),console.log(" protocol: "+R),console.log(" priority: "+A),console.log(" ip: "+I),console.log(" port: "+M),console.log(" type: "+B),N.length){console.log("attributes: ");for(let W=0;W<N.length;W+=2)console.log("> "+N[W]+": "+N[W+1])}}})},62556:function(d,v,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(b,S,k)=>S in b?c(b,S,{enumerable:!0,configurable:!0,writable:!0,value:k}):b[S]=k,p=(b,S)=>{for(var k in S||(S={}))u.call(S,k)&&x(b,k,S[k]);if(h)for(var k of h(S))a.call(S,k)&&x(b,k,S[k]);return b},y=(b,S)=>f(b,o(S));const _=({img:b,buttonProps:S={},styles:k={},customText:R,ButtonText:A,ButtonClick:I,Buttonclass:M,ButtonTwo:B,imgStyles:N,loading:V=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:V?"hidden":"visible"}),k)},r.createElement("img",{src:b||i,style:y(p({},N),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},R||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),A&&r.createElement(l.ZP,p({className:M,onClick:I},S),A),B&&B);v.Z=_},25561:function(d,v,e){"use strict";e.d(v,{Z:function(){return te}});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(54476),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"},o=f,h=e(7657),u=function(oe,J){return r.createElement(h.Z,(0,c.Z)({},oe,{ref:J,icon:o}))},a=r.forwardRef(u),x=a,p=e(71775),y=e(6848),_=e(94601),b=e(39598),S=e(62556),k=e(85386),R=e(40976),A=e(59301),I=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,V=(ie,oe,J)=>oe in ie?I(ie,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ie[oe]=J,W=(ie,oe)=>{for(var J in oe||(oe={}))B.call(oe,J)&&V(ie,J,oe[J]);if(M)for(var J of M(oe))N.call(oe,J)&&V(ie,J,oe[J]);return ie},H=(ie,oe,J)=>new Promise((Q,K)=>{var se=le=>{try{X(J.next(le))}catch(z){K(z)}},ee=le=>{try{X(J.throw(le))}catch(z){K(z)}},X=le=>le.done?Q(le.value):Promise.resolve(le.value).then(se,ee);X((J=J.apply(ie,oe)).next())}),te=({editOffice:ie="view",data:oe,theme:J,type:Q,filename:K,monacoEditor:se,className:ee,style:X,close:le,onClose:z,hasMask:$,disabledDownload:ae,onImgDimensions:_e,showNodata:Ie,recordInfo:ke})=>{const[We,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"),[Mt,yt]=(0,r.useState)(""),[Pt,tr]=(0,r.useState)(),Vt=window.ENV==="build"?"/react/build":"",lr=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,Ct=10*(1024*1024),jt=(0,r.useRef)();oe!=null&&oe.startsWith("/api")&&Q!=="txt"&&(oe=k.Z.API_SERVER+oe);const it=Ze=>Ze.substring(Ze.lastIndexOf("/")+1).split(".").pop();K&&se&&(se.filename=K),(0,r.useEffect)(()=>{var Ze,ge;const Ae=(ge=(Ze=document.cookie)==null?void 0:Ze.replace(/\s/g,""))==null?void 0:ge.split(";");Ae==null||Ae.map(Me=>{let Ue=Me.split("=");Ue[0]==="_educoder_session"&&yt(Ue[1])})},[]),(0,r.useEffect)(()=>{Q==="office"&&(oe.indexOf("bigfilescdn.")>-1||oe.indexOf("bigfiles1")>-1?tr({url:oe,fileType:it(oe),model:oe.indexOf("model=edit")?"edit":"view"}):xt())},[Q,oe]);const xt=()=>H(void 0,null,function*(){console.log("data:",oe);let Ze=oe;oe.startsWith("http")||(Ze=location.origin+Ze);let ge=new URL(Ze).pathname.split("/").pop();const Ae=yield(0,b.gJ)({attachment_id:ge});Ae.url=lr+Ae.url,tr(Ae)}),pt=()=>{if(oe.startsWith("http")||oe.startsWith("blob:")){et();return}(0,_.Nd)(K||"educoder",decodeURIComponent(oe))},et=()=>{ke&&(0,R.fc)({id:ke==null?void 0:ke.id,watch_type:1,course_id:ke==null?void 0:ke.course_id}),(0,_.Nd)(K||"educoder",decodeURIComponent(oe))};return console.log(oe,"data"),A.createElement("div",{style:W({},X||{}),className:`${$&&i.bgBlack} ${Q?i.wrp:"hide"}`},le&&A.createElement("div",{className:i.close,ref:jt},!!_e&&A.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>jt.current},A.createElement("span",{onClick:()=>{z(),_e()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!ae&&A.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>jt.current},A.createElement("span",{onClick:et},A.createElement("i",{className:"icon-quxiaozhiding"}))),A.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>jt.current},A.createElement("span",{className:"",onClick:z},A.createElement("i",{className:"icon-guanbi1"})))),A.createElement("div",{className:`${i[ee]} ${ee} ${i.monaco} ${Q==="txt"?"show":"hide"}`},Q==="txt"&&A.createElement(A.Fragment,null,A.createElement(p.ZP,W({},se)))),Q==="audio"&&A.createElement("audio",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`,autoPlay:!0}),Q==="video"&&A.createElement(A.Fragment,null,(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?A.createElement("video",{controls:!0,src:`${oe}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${oe}`,autoPlay:!0})),Q==="office"&&Pt&&A.createElement("iframe",{src:`${Vt}/office.html?key=${Pt.key}&url=${btoa(Pt.url)}&callbackUrl=${lr+(Pt.callbackUrl||"")}&fileType=${Pt.fileType}&title=${Pt.title||""}&model=${ie}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!ae}`}),Q==="html"&&A.createElement("iframe",{src:oe+"&disposition=inline"}),Q==="pdf"&&A.createElement("iframe",{src:`${Vt}/js/pdfview/index.html?filename=${K||"educoder.pdf"}&url=${encodeURIComponent(oe)}&disabledDownload=${!!ae}`}),Q==="image"&&A.createElement("img",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`}),(Q==="other"||Q==="download")&&A.createElement(A.Fragment,null,Ie?A.createElement(S.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:A.createElement(l.ZP,{icon:A.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:pt,disabled:ae},"\u4E0B\u8F7D")}):A.createElement(l.ZP,{type:"primary",size:"middle",onClick:pt,disabled:ae},A.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},17410:function(d,v,e){"use strict";e.d(v,{z:function(){return W},Z:function(){return H}});var r=e(59301),i=e(73958),l=e(42684),c=e(64018),f=e(80360),o=e(85386),h=e(94601),u=e(15342),a=e(1012),x=e(25561),p=e(59301),_=({html:te})=>{const ie=(0,r.useRef)(null),oe=(0,r.useRef)(null),J=`.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 Q=ie.current.attachShadow({mode:"open"});oe.current=document.createElement("div"),oe.current.className="markdown-body",oe.current.innerHTML=te,Q.appendChild(oe.current);const K=document.createElement("style");return K.textContent=J,Q.appendChild(K),()=>{Q.innerHTML=""}},[]),(0,r.useEffect)(()=>{oe.current&&(oe.current.innerHTML=te)},[te]),p.createElement("div",{ref:ie})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(te,ie,oe)=>ie in te?b(te,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):te[ie]=oe,I=(te,ie)=>{for(var oe in ie||(ie={}))k.call(ie,oe)&&A(te,oe,ie[oe]);if(S)for(var oe of S(ie))R.call(ie,oe)&&A(te,oe,ie[oe]);return te};const M="@\u2581\u2581@",B="@\u2581@",N=/<pre[^>]*>/g;function V(te){let ie=document.createElement("div");return ie.innerHTML=te,ie.childNodes.length===0?"":ie.childNodes[0].nodeValue}const W=(te,ie)=>{te=te||"";const oe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Q=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,K=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ie?te.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(oe,(se,ee,X,le,z,$,ae)=>{const _e=ee||le||$,Ie=X||z||ae||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Ie+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(te=te.replace(K,(se,ee,X,le,z,$,ae)=>{const _e=ee||le||$,Ie=X||z||ae||"?";return o.Z.API_SERVER+"/attachments/download/"+_e+Ie+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(oe,(se,ee,X,le,z,$,ae)=>{const _e=ee||le||$,Ie=X||z||ae||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Ie+"&t="+(0,h.Jn)(_e,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(J,(se,ee,X,le,z)=>{const $=ee||le,ae=X||z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+$+ae+$+ae+"&t="+(0,h.Jn)($,Date.now())}).replace(Q,(se,ee,X,le,z)=>{const $=ee||le,ae=X||z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+$+ae+$+ae+"&t="+(0,h.Jn)($,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,`
|
|
|
`),te)};var H=({value:te="",className:ie,showTextOnly:oe,showLines:J,style:Q={},stylesPrev:K={},highlightKeywords:se,showProgramFill:ee,isProgramFill:X,disabledFill:le=!1,programFillValue:z,onFillChange:$=Ie=>{},onFillBlur:ae=()=>{},onFillFocus:_e=()=>{}})=>{let Ie=String(te);const[ke,We]=(0,r.useState)(""),[je,Mt]=(0,r.useState)("office"),[yt,Pt]=(0,r.useState)([]),tr=(0,r.useRef)("a"+(0,a.Z)()),Vt={},lr=(Ue,Ge,nt)=>{const ut=document.createElement(Ue===B?"input":"textarea");ut.style.width="100%",ut.style.height=Ue===B?"40px":"151px",ut.rows=5,ut.spellcheck=!1,ut.name="edu-program-fill",ut.placeholder="\u8BF7\u8F93\u5165",ut.dataset.id=Ge;const Kt=Object.keys(Vt).length;return Vt[Kt]=ut,`<span class="edu-program-fill-wrap ${Ue===B?"":"show"}" style="width:${Ue===B?"400px":"100%"}" title=${nt||""}><span>${ut.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Ke(Ue){return Ue=Ue.replace(/!\[.*?\]\(.*?\)/g,""),Ue=Ue.replace(/\[.*?\]\(.*?\)/g,""),Ue=Ue.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Ue=Ue.replace(/<embed.*?>/g,""),Ue=Ue.replace(/<img.*?>/g,""),Ue=Ue.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Ue=Ue.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Ue=Ue.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Ue=Ue.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Ue}const Ct=Ue=>Ue.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Ge,nt){let ut=nt.replace(/(\n|\r)/g,"").split("}"),Kt=[];return ut.map(Zt=>{Zt!=""&&Kt.push(`.${tr.current} ${Zt}`)}),`<style>${Kt.join("}")}</style>`}),jt=(0,r.useMemo)(()=>{try{const ut=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Kt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Zt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,De=/\(\/attachments\/download\//g;Ie=Ie.replace(De,"("+o.Z.API_SERVER+"/attachments/download/").replace(ut,"("+o.Z.API_SERVER+"/api/attachments/").replace(Kt,'"'+o.Z.API_SERVER+"/api/attachments/").replace(Zt,'"'+o.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(ut){}if(ee){let ut=-1;return Ie=Ie.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Kt,Zt,De){var Je;return++ut,lr(Kt,ut,(Je=z==null?void 0:z[ut])==null?void 0:Je.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Ct(Ie||"")}</pre>`}let Ue=Ct(Ie);Ue=(0,l.ZP)(Ue);const Ge=(0,l.ez)();Ie.match(/\[TOC\]/)&&(Ue=Ue.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),Ue=Ue.replace(/(__special_katext_id_\d+__)/g,(ut,Kt)=>{const{type:Zt,expression:De}=Ge[Kt];return(0,u.renderToString)(V(De)||"",{displayMode:Zt==="block",throwOnError:!1,output:"html"})}),Ue=Ue.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const nt=document.createElement("div");if(nt.innerHTML=Ue,oe)return nt.innerText;if(se){const ut=se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return et(nt,ut),nt.innerHTML}return setTimeout(()=>Ae(),500),nt.innerHTML},[Ie,se]);(0,r.useEffect)(()=>{Ze.current&&Ze.current.querySelectorAll(["input","textarea"]).forEach(Ge=>{Ge.oninput=it,Ge.onblur=xt,Ge.onfocus=pt})},[yt]),(0,r.useEffect)(()=>{var Ue,Ge,nt,ut,Kt;if(z!=null&&z.length)try{const Zt=Ze.current.querySelectorAll(".edu-program-fill-score"),De=Ze.current.querySelectorAll('[name="edu-program-fill"]');for(const[Je,Wt]of De.entries())Wt.value=((Ue=z==null?void 0:z[Je])==null?void 0:Ue.value)||"",((Ge=z==null?void 0:z[Je])==null?void 0:Ge.type)==="warning"?Wt.className="program-fill-warning":((nt=z==null?void 0:z[Je])==null?void 0:nt.type)==="success"?Wt.className="program-fill-success":Wt.className="";for(const[Je,Wt]of Zt.entries())Wt.innerHTML=(ut=z==null?void 0:z[Je])!=null&&ut.score?`${(Kt=z==null?void 0:z[Je])==null?void 0:Kt.score}\u5206`:"";Pt(z)}catch(Zt){console.log(Zt,"error")}},[z]);const it=Ue=>{yt[Ue.target.dataset.id]=yt[Ue.target.dataset.id]||{},yt[Ue.target.dataset.id].value=Ue.target.value,Pt([...yt]),$(yt,Ue.target.dataset.id)},xt=Ue=>{yt[Ue.target.dataset.id]=yt[Ue.target.dataset.id]||{},yt[Ue.target.dataset.id].value=Ue.target.value,Pt([...yt]),ae(yt,Ue.target.dataset.id)},pt=Ue=>{yt[Ue.target.dataset.id]=yt[Ue.target.dataset.id]||{},yt[Ue.target.dataset.id].value=Ue.target.value,Pt([...yt]),_e(yt,Ue.target.dataset.id)};function et(Ue,Ge){return Ue.childNodes.forEach(nt=>{var ut;if(nt.childNodes.length>0)et(nt,Ge);else if(nt.nodeName!=="IMG")if(nt.innerHTML)nt.innerHTML=(ut=nt.innerHTML)==null?void 0:ut.replace(new RegExp(Ge,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Kt=document.createElement("span");Kt.innerHTML=nt.textContent.replace(new RegExp(Ge,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),nt.replaceWith(Kt)}})}const Ze=(0,r.useRef)();l.jb.WebkitLineClamp=J,J&&(Q=I(I({},Q),l.jb));function ge(Ue){let Ge=Ue.target;if(Ge.tagName.toUpperCase()==="A"){let nt=Ge.getAttribute("href");if(nt.indexOf("office")>-1)Ue.preventDefault(),We(nt),Mt("office");else if(nt.indexOf("application/pdf")>-1)Ue.preventDefault(),We(nt),Mt("pdf");else if(nt.indexOf("text/html")>-1)Ue.preventDefault(),We(nt),Mt("html");else if(nt.startsWith("#")){Ue.preventDefault();let ut=document.getElementById(nt.replace("#",""));ut&&ut.scrollIntoView(!0)}}}const Ae=()=>{var Ue;const Ge=(Ue=Ze.current)==null?void 0:Ue.querySelectorAll("video");Ge==null||Ge.forEach(nt=>{if(nt.oncontextmenu=()=>!1,nt.src.indexOf(".m3u8")>-1&&!nt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var ut=new f.ZP;ut.loadSource(nt.src),ut.attachMedia(nt)}}})};(0,r.useEffect)(()=>{if(Ze.current&&jt&&jt.match(N)&&window.PR.prettyPrint(),Ze.current)return Ze.current.addEventListener("click",ge),()=>{var Ue;(Ue=Ze.current)==null||Ue.removeEventListener("click",ge),(0,l.AL)(),(0,l.Iy)()}},[jt,Ze.current,ge]),(0,r.useEffect)(()=>{var Ue;const Ge=nt=>{nt.preventDefault(),nt.clipboardData.setData("text",window.getSelection().toString())};return(Ue=Ze.current)==null||Ue.addEventListener("copy",Ge),()=>{var nt;(nt=Ze.current)==null||nt.removeEventListener("copy",Ge)}},[Ze.current]);const Me=Ue=>/<style[\s\S]*?>/i.test(Ue||"");return r.createElement(r.Fragment,null,oe&&r.createElement("div",{ref:Ze},jt),!oe&&!Me(jt)&&r.createElement("div",{ref:Ze,style:I({},Q),className:`${ie||""} ${le?"disabled-fill":""} markdown-body ${tr.current}`,dangerouslySetInnerHTML:{__html:jt}}),!oe&&Me(jt)&&r.createElement(_,{html:jt}),r.createElement(x.Z,{close:!0,data:ke,type:ke!=null&&ke.length?je:"",style:I({},K),onClose:()=>We("")}))}},71775:function(d,v,e){"use strict";e.d(v,{SV:function(){return Ze},ZP:function(){return et}});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(`
|
|
|
`)}]},o={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,k=(ge,Ae,Me)=>Ae in ge?x(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,R=(ge,Ae)=>{for(var Me in Ae||(Ae={}))b.call(Ae,Me)&&k(ge,Me,Ae[Me]);if(_)for(var Me of _(Ae))S.call(Ae,Me)&&k(ge,Me,Ae[Me]);return ge},A=(ge,Ae)=>p(ge,y(Ae)),I=(ge,Ae,Me)=>new Promise((Ue,Ge)=>{var nt=Zt=>{try{Kt(Me.next(Zt))}catch(De){Ge(De)}},ut=Zt=>{try{Kt(Me.throw(Zt))}catch(De){Ge(De)}},Kt=Zt=>Zt.done?Ue(Zt.value):Promise.resolve(Zt.value).then(nt,ut);Kt((Me=Me.apply(ge,Ae)).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"]}},B=(ge,Ae)=>Ae.map(Me=>({label:Me,kind:ge.languages.CompletionItemKind.Keyword,insertText:Me})),N=ge=>Object.keys(M.tables).map(Ae=>({label:Ae,kind:ge.languages.CompletionItemKind.Variable,insertText:Ae})),V=(ge,Ae)=>{const Me=M.tables[ge];return Me?Me.map(Ue=>({label:Ue,kind:Ae.languages.CompletionItemKind.Field,insertText:Ue})):[]};function W(ge,Ae,Me,Ue,Ge){let nt=Ae.getWordUntilPosition(Me),ut={startLineNumber:Me.lineNumber,endLineNumber:Me.lineNumber,startColumn:nt.startColumn,endColumn:nt.endColumn},Kt=Ue.map(Zt=>({label:Zt,kind:ge.languages.CompletionItemKind.Keyword,insertText:Zt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ut}));return Ge.map(Zt=>{Kt.push(A(R({},Zt),{range:ut}))}),Kt}var H=ge=>{M.languages.map(Ge=>(ge.languages.registerDocumentFormattingEditProvider(Ge,{provideDocumentFormattingEdits(nt,ut,Kt){return I(this,null,function*(){const Zt=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:Zt}]})}}),Ge));const Ae=f.quickKey.map(Ge=>({label:Ge.label,kind:ge.languages.CompletionItemKind.Method,insertText:Ge.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Me=o.quickKey.map(Ge=>({label:Ge.label,kind:ge.languages.CompletionItemKind.Method,insertText:Ge.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ue=c.quickKey.map(Ge=>({label:Ge.label,kind:ge.languages.CompletionItemKind.Method,insertText:Ge.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Ge,nt){var ut=Ge.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn},Zt=Ge.getLineContent(nt.lineNumber).substring(ut.startColumn-2,ut.endColumn);return{suggestions:[...f.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...f.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Zt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Ge,nt){var ut=Ge.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn};return{suggestions:[...l.keywords.map(Zt=>({label:Zt,kind:ge.languages.CompletionItemKind.Function,documentation:Zt,insertText:Zt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Ge,nt){var ut=Ge.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn},Zt=Ge.getLineContent(nt.lineNumber).substring(ut.startColumn-2,ut.endColumn);return{suggestions:[...c.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...c.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Zt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Ge,nt){var ut=Ge.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn},Zt=Ge.getLineContent(nt.lineNumber).substring(ut.startColumn-2,ut.endColumn);return{suggestions:[...h.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...h.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Zt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Ge,nt){var ut=Ge.getWordUntilPosition(nt),Kt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:ut.startColumn,endColumn:ut.endColumn},Zt=Ge.getLineContent(nt.lineNumber).substring(ut.startColumn-2,ut.endColumn);return{suggestions:[...o.keywords.map(De=>({label:De,kind:ge.languages.CompletionItemKind.Function,documentation:De,insertText:De,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...o.quickKey.map(De=>({label:De.label,kind:ge.languages.CompletionItemKind.Function,documentation:De.content,insertText:Zt.startsWith("#")?De.content.replace(/#/,""):De.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}})};const te="\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,oe=(ge,Ae,Me)=>Ae in ge?ie(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,J=(ge,Ae,Me)=>oe(ge,typeof Ae!="symbol"?Ae+"":Ae,Me);const Q=class a0{constructor(Ae,Me,Ue){this.placeholder=Ae,this.editor=Me,this.monaco=Ue,Me.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return a0.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)}};J(Q,"ID","editor.widget.placeholderHint");var se=Q,ee=e(96236),X=e(8591),le=e(6848),z=e(89392),$=e(29724),ae=e(56102),_e=Object.defineProperty,Ie=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,yt=(ge,Ae,Me)=>Ae in ge?_e(ge,Ae,{enumerable:!0,configurable:!0,writable:!0,value:Me}):ge[Ae]=Me,Pt=(ge,Ae)=>{for(var Me in Ae||(Ae={}))je.call(Ae,Me)&&yt(ge,Me,Ae[Me]);if(We)for(var Me of We(Ae))Mt.call(Ae,Me)&&yt(ge,Me,Ae[Me]);return ge},tr=(ge,Ae)=>Ie(ge,ke(Ae)),Vt=(ge,Ae)=>{var Me={};for(var Ue in ge)je.call(ge,Ue)&&Ae.indexOf(Ue)<0&&(Me[Ue]=ge[Ue]);if(ge!=null&&We)for(var Ue of We(ge))Ae.indexOf(Ue)<0&&Mt.call(ge,Ue)&&(Me[Ue]=ge[Ue]);return Me},lr=(ge,Ae,Me)=>new Promise((Ue,Ge)=>{var nt=Zt=>{try{Kt(Me.next(Zt))}catch(De){Ge(De)}},ut=Zt=>{try{Kt(Me.throw(Zt))}catch(De){Ge(De)}},Kt=Zt=>Zt.done?Ue(Zt.value):Promise.resolve(Zt.value).then(nt,ut);Kt((Me=Me.apply(ge,Ae)).next())});function Ke(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function Ct(){}let jt=!1;const it={"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 xt(ge=[]){let Ae=ge;if(Array.isArray(ge)){for(let Me=0;Me<ge.length;Me++){let Ue=it[ge[Me]];if(Ue)return Ue}return Ae[0]}return it[Ae]||Ae}let pt=null;var et=ge=>{var Ae=ge,{width:Me="100%",height:Ue="100%",value:Ge,language:nt="javascript",style:ut={},options:Kt={},overrideServices:Zt={},theme:De="vs-dark",onEditBlur:Je,isCopy:Wt=!1,onSave:Ot,autoHeight:zt=!1,forbidCopy:Ft=!1,onChange:At=Ct,editorDidMount:Yt=Ct,onFocus:Ye=Ct,onBreakPoint:ce=Ct,breakPointValue:pe=[],filename:Dt="educoder.txt",errorLine:Ce,errorContent:ft="",highlightLine:Ut,openBreakPoint:St=!1,placeholder:Oe=""}=Ae,wt=Vt(Ae,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const ye=(0,r.useRef)(),Xe=(0,r.useRef)({}),vt=(0,r.useRef)(),Rt=(0,r.useRef)(),Ne=(0,r.useRef)([]),Dr=(0,r.useRef)(!1),Et=(0,r.useRef)(),Yr=(0,r.useRef)(),Jr=(0,r.useRef)(!1),[Er,$r]=(0,r.useState)(!1);function _r(){let mr;return ye.current&&(mr=new i.Z(rn=>{for(let gn of rn)(gn.target.offsetHeight>0||gn.target.offsetWidth>0)&&Xe.current.instance.layout()}),mr.observe(ye.current)),mr}function Hr(){X.ZP.warning({content:decodeURIComponent(te),key:"monaco-editor-tip"})}const on=()=>{let mr=Xe.current.instance;if(Ge!=null&&mr&&Er){const rn=mr.getModel();rn&&Ge!==rn.getValue()&&(jt=!0,rn.setValue(Ge),mr.layout(),jt=!1)}};(0,r.useEffect)(()=>{const mr=$.Z.subscribe("formatDocument",rn=>{var gn;let Mn=Xe.current.instance;(gn=Mn==null?void 0:Mn.getAction)==null||gn.call(Mn,"editor.action.formatDocument").run()});return window.updateMonacoValue=rn=>{At(rn)},mr},[]),(0,r.useEffect)(()=>{var mr;let rn=Xe.current.instance;Rt.current&&clearTimeout(Rt.current),Rt.current=setTimeout(()=>{on()},500),Ge&&(Ge!=null&&Ge.length)&&((mr=rn==null?void 0:rn.updateOptions)==null||mr.call(rn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Ge.split(/\r\n|\r|\n/g).length))+3,5)}))},[Ge,Er,Xe.current]),(0,r.useEffect)(()=>{if(Ce&&Xe.current&&Xe.current.instance){let rn=Xe.current.instance;rn.changeViewZones(function(gn){var Mn=document.createElement("div");Mn.style.padding="10px 20px",Mn.style.width="calc(100% - 20px)",Mn.className="my-error-line-wrp",Mn.innerHTML=ft,gn.addZone({afterLineNumber:Ce||11,heightInLines:3,domNode:Mn})});var mr={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};rn.addOverlayWidget(mr),rn.revealPositionInCenter({lineNumber:20,column:1})}},[Ce,Xe.current,Er]);const pn=(mr="",rn)=>{if(!mr||mr.trim()==="")return!0;const Mn=Xe.current.instance.getModel().getLineTokens(rn);let ai=!1;for(let hi=0;hi<2;hi++)Mn.getStandardTokenType(hi)===1&&(ai=!0);return ai};(0,r.useEffect)(()=>{var mr;const rn=(mr=Xe.current)==null?void 0:mr.instance;if(rn&&Er&&Ft){const gn=rn.onDidBlurEditorWidget(()=>{Jr.current=!1}),Mn=rn.onDidFocusEditorText(()=>{Jr.current=!0});return()=>{gn.dispose(),Mn.dispose()}}},[Xe.current,Er,Ft]),(0,r.useEffect)(()=>{var mr;if((mr=Xe.current)!=null&&mr.instance&&Er&&St){let rn=Xe.current.instance,gn=rn.getModel();if(!gn)return;(()=>{var xi;let xe=[],Kn=[];const qn=gn.getAllDecorations();for(let oa of qn)oa.options.className==="highlighted-line"&&(xe.push((xi=oa==null?void 0:oa.range)==null?void 0:xi.startLineNumber),Kn.push(oa==null?void 0:oa.id));if(Ut===xe[0])return;gn.deltaDecorations(Kn,[]);const Jn=gn.getLineCount();Ut&&Ut<=Jn&&(rn.deltaDecorations([],[{range:new pt.Range(Ut,1,Ut,gn.getLineMaxColumn(Ut)),options:{isWholeLine:!0,className:"highlighted-line"}}]),rn.revealLineInCenter(Ut))})();const ai=(xi=!1)=>{var xe;let Kn=[],qn=[];const Jn=gn.getAllDecorations();for(let oa of Jn)oa.options.linesDecorationsClassName==="breakpoints-select"&&(Kn.push((xe=oa==null?void 0:oa.range)==null?void 0:xe.startLineNumber),qn.push(oa==null?void 0:oa.id));if(xi)return{lines:Kn,ids:qn};ce(Kn)},hi=xi=>lr(void 0,null,function*(){let xe={range:new pt.Range(xi,1,xi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield gn.deltaDecorations([],[xe]),ai()}),Vi=xi=>lr(void 0,null,function*(){let xe=[];const Kn=rn.getLineDecorations(xi);for(let qn of Kn)qn.options.linesDecorationsClassName==="breakpoints-select"&&xe.push(qn.id);yield gn.deltaDecorations(xe,[]),ai()}),Yi=xi=>{let xe=rn.getLineDecorations(xi);for(let Kn of xe)if(Kn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,z.isEqual)(pe,ai(!0).lines)){gn.deltaDecorations(ai(!0).ids,[]);const xi=pe.map(xe=>({range:new pt.Range(xe,1,xe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));gn.deltaDecorations([],xi)}const Ri=rn.onDidChangeModelContent(xi=>{let xe=rn.getPosition();if(xe){let Kn=xe.lineNumber;clearTimeout(Yr.current),Yr.current=setTimeout(()=>{pn(gn.getLineContent(Kn),Kn)?Vi(Kn):Yi(Kn)?(Vi(Kn),hi(Kn)):ai()},100)}}),Ii=rn.onMouseDown(xi=>{var xe,Kn,qn;if(xi.target.detail&&((qn=(Kn=(xe=xi.target)==null?void 0:xe.element)==null?void 0:Kn.className)!=null&&qn.includes("line-numbers"))){let Jn=xi.target.position.lineNumber;if(pn(gn.getLineContent(Jn),Jn))return;Yi(Jn)?Vi(Jn):hi(Jn)}}),Ti=xi=>{let xe={range:new pt.Range(xi,1,xi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ne.current=rn.deltaDecorations(Ne.current,[xe])},Ai=()=>{Ne.current=rn.deltaDecorations(Ne.current,[])},oi=rn.onMouseMove(xi=>{var xe,Kn,qn;if(Ai(),xi.target.detail&&((qn=(Kn=(xe=xi.target)==null?void 0:xe.element)==null?void 0:Kn.className)!=null&&qn.includes("line-numbers"))){let Jn=xi.target.position.lineNumber;if(pn(gn.getLineContent(Jn),Jn))return;Ti(Jn)}}),Hi=rn.onMouseLeave(()=>{Ai()});return()=>{Ri.dispose(),Ii.dispose(),oi.dispose(),Hi.dispose()}}},[Xe.current,Er,pe,Ut,St,nt]),(0,r.useEffect)(()=>{var mr;(mr=Xe.current)!=null&&mr.instance&&St&&Xe.current.instance.setPosition({lineNumber:0,column:0})},[Ut]);function or(){let mr=Xe.current.instance;if(mr){const rn=mr.getSelection(),gn=Xe.current.pastePos||{},Mn=new pt.Range(gn.startLineNumber||rn.endLineNumber,gn.startColumn||rn.endColumn,gn.endLineNumber||rn.endLineNumber,gn.endColumn||rn.endColumn);setTimeout(()=>{mr.executeEdits("",[{range:Mn,text:""}])},300)}}function kt(mr){(window.navigator.platform.match("Mac")?mr.metaKey:mr.ctrlKey)&&mr.keyCode==83&&(mr.preventDefault(),Ot())}const mt=()=>{if(zt&&Xe.current.instance){const mr=Xe.current.instance.getContentHeight();bn(mr<Ue?Ue:mr)}else bn(Ue)};function gt(mr){var rn=document.createEvent("MouseEvents");rn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),mr.dispatchEvent(rn)}const Nt=mr=>{if(!Jr.current)return;const{keyCode:rn,ctrlKey:gn,metaKey:Mn,target:ai,type:hi}=mr;return(hi==="paste"||(rn===67||rn===86)&&(Mn||gn))&&ai.nodeName==="TEXTAREA"&&(Hr(),mr.preventDefault()),!1};function Ar(mr,rn){var gn=window.URL||window.webkitURL||window,Mn=new Blob([rn]),ai=document.createElementNS("http://www.w3.org/1999/xhtml","a");ai.href=gn.createObjectURL(Mn),ai.download=mr,gt(ai)}(0,r.useEffect)(()=>{mt()},[mt]),(0,r.useEffect)(()=>{ye.current&&!Er&&Promise.all([e.e(8909),e.e(1196)]).then(e.bind(e,71448)).then(mr=>{try{pt=mr,Xe.current.instance=pt.editor.create(ye.current,{value:Ge,language:xt(nt),theme:De,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Zt);const rn=Xe.current.instance;let ai=[...ee.BH._menuItems].find(Ri=>Ri[0]._debugName=="EditorContext")[1],hi=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Vi=(Ri,Ii)=>{var Ti,Ai;let oi=Ri._first;do Ii.includes((Ai=(Ti=oi.element)==null?void 0:Ti.command)==null?void 0:Ai.id)&&Ri._remove(oi);while(oi=oi.next)};if(Yt(rn,pt),setTimeout(()=>{mt(),Xe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Ar(Dt||"educoder.txt",rn.getValue())}})},500),Xe.current.subscription=rn.onDidChangeModelContent(Ri=>{Dr.current?clearTimeout(Et.current):(mt(),At(rn.getValue(),Ri)),Et.current=setTimeout(()=>{Dr.current=!1},500)}),window.Monaco||H(pt,xt(nt)),Ft&&(Vi(ai,hi),ye.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Nt),window.removeEventListener("paste",Nt),window.addEventListener("keydown",Nt),window.addEventListener("paste",Nt)),window.Monaco=pt,Je&&rn.onDidBlurEditorWidget(()=>{Je(rn.getValue())}),Ye&&rn.onDidFocusEditorText(()=>{Ye(rn.getValue())}),Ft)try{rn.onDidPaste(Ri=>{const Ii=rn.getSelection(),Ti=Xe.current.pastePos||{},Ai=new pt.Range(Ti.startLineNumber||Ii.endLineNumber,Ti.startColumn||Ii.endColumn,Ti.endLineNumber||Ii.endLineNumber,Ti.endColumn||Ii.endColumn);rn.executeEdits("",[{range:Ri.range,text:""}])})}catch(Ri){}let Yi=_r();return Oe&&typeof Oe=="string"&&new se(Oe,rn,pt),$r(!0),()=>{const Ri=Xe.current.instance;Ri.dispose();const Ii=Ri.getModel();Ii&&Ii.dispose(),Xe.current.subscription&&Xe.current.subscription.dispose(),Yi.unobserve(ye.current)}}catch(rn){}})},[]),(0,r.useEffect)(()=>{if(Xe.current.instance&&Er)return document.addEventListener("keydown",kt,!1),()=>{document.removeEventListener("keydown",kt)}},[Ot,Er]),(0,r.useEffect)(()=>{let mr=Xe.current.instance;if(mr&&Er){let rn=xt(nt);pt.editor.setModelLanguage(mr.getModel(),rn)}},[nt,Er]),(0,r.useEffect)(()=>{Xe.current.instance&&Er&&pt.editor.setTheme(De)},[De,Er]),(0,r.useEffect)(()=>{let mr=Xe.current.instance;vt.current=Kt,mr&&Er&&(mr.updateOptions(Pt({},Kt)),setTimeout(()=>{mr.getModel().updateOptions(Pt({},Kt))},200))},[JSON.stringify(Kt),Er]),(0,r.useEffect)(()=>{let mr=Xe.current.instance;mr&&Er&&mr.layout()},[Me,Ue,Er]);const[vr,at]=(0,r.useState)(Ke(Me)),[Nr,bn]=(0,r.useState)(Ke(Ue)),Yn=tr(Pt({},ut),{width:vr,height:Nr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:ye,style:Yn},Wt&&r.createElement(ae.CopyToClipboard,{text:Ge,onCopy:()=>X.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 Ze({width:ge="100%",height:Ae="100%",original:Me,modified:Ue,language:Ge,options:nt={}}){const ut=(0,r.useRef)(),[Kt,Zt]=(0,r.useState)(null);function De(zt){let Ft;return ut.current&&(Ft=new i.Z(At=>{for(let Yt of At)(Yt.target.offsetHeight>0||Yt.target.offsetWidth>0)&&zt.layout()}),Ft.observe(ut.current)),Ft}(0,r.useEffect)(()=>(ut.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(zt=>{pt=zt;const Ft=pt.editor.createDiffEditor(ut.current,tr(Pt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},nt),{wordWrap:!0}));Zt(Ft);let At=De(Ft);return()=>{Ft.dispose();const Yt=Ft.getModel();Yt&&Yt.dispose(),At.unobserve(ut.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Kt&&Kt.setModel({original:pt.editor.createModel(Me,Ge),modified:pt.editor.createModel(Ue,Ge)})},[Me,Ue,Ge,Kt]);const Je=Ke(ge),Wt=Ke(Ae),Ot={width:Je,height:Wt};return r.createElement("div",{className:"my-diff-editor",ref:ut,style:Ot})}},33738:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(83738),i=e(8591),l=e(23663),c=Object.defineProperty,f=Object.defineProperties,o=Object.getOwnPropertyDescriptors,h=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,x=(k,R,A)=>R in k?c(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,p=(k,R)=>{for(var A in R||(R={}))u.call(R,A)&&x(k,A,R[A]);if(h)for(var A of h(R))a.call(R,A)&&x(k,A,R[A]);return k},y=(k,R)=>f(k,o(R)),_=(k,R)=>{var A={};for(var I in k)u.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&h)for(var I of h(k))R.indexOf(I)<0&&a.call(k,I)&&(A[I]=k[I]);return A};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:k},{call:R,put:A}){yield A({type:"save",payload:{actionTabs:p({},k)}})},*getMajorList({payload:k},{call:R,put:A,select:I}){const{userInfo:M}=yield I(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(V=>({label:V.name,value:V.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:I}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield I(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(V=>({label:V.year,value:V.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:I}){const{calc:M,page:B,per_page:N}=k,{headerData:V,tabListData:W}=yield I(ie=>ie.engineeringEvaluteList),{userInfo:H}=yield I(ie=>ie.user);let te=V.active[b[1]];if(te){let ie={id:te,page:B||1,per_page:N||W.pageSize};M&&(ie=y(p({},ie),{page:W.pageNo}));const oe=yield R(r._y,ie),J=[V.active[b[0]],V.active[b[1]]];l.U.setItem(H==null?void 0:H.login,J),oe&&oe.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},W),{pageNo:ie.page,total:oe.count,pageSize:ie.per_page||W.pageSize,dataSource:oe.ec_courses.map((Q,K)=>y(p({},Q),{key:ie.page>1?(ie.page-1)*ie.per_page+K+1:K+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},W),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:I}=yield A(M=>M.engineeringEvaluteList);I.active[b[1]]&&(yield R(r.F,I.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const I=k,{all:M}=I,B=_(I,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let A=k.headerData.active;return R.active&&(A=y(p({},A),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:A})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:A})=>{A==="/"&&k({type:"query"})})}}};v.Z=S},92808: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,o=(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:k,completion_questions:R,subjective_questions:A,practical_questions:I,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},_),o({type:"MULTIPLE",name:"\u591A\u9009\u9898"},b),o({type:"COMPLETION",name:"\u586B\u7A7A\u9898"},R),o({type:"JUDGMENT",name:"\u5224\u65AD\u9898"},S),o({type:"SUBJECTIVE",name:"\u7B80\u7B54\u9898"},A),o({type:"PROGRAM",name:"\u7F16\u7A0B\u9898"},k),o({type:"PRACTICAL",name:"\u5B9E\u8BAD\u9898"},I),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(V=>V.questions_count>0).map((V,W)=>o(o({},V),{number:u[W+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},23663:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(47141);const l=(f,o="")=>{r.default.confirm({centered:!0,width:520,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:o,onOk:f})},c={setItem:(f,o)=>{var h;const u=f+"-engineering"+((h=(0,i.eY)())==null?void 0:h.school_id),a=JSON.stringify(o);localStorage.setItem(u,a)},getItem:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id),u=localStorage.getItem(h);return u!==null&&u!=="[object Object]"?JSON.parse(u):[]},clear:f=>{var o;const h=f+"-engineering"+((o=(0,i.eY)())==null?void 0:o.school_id);localStorage.removeItem(h)}}},62332:function(d,v,e){"use strict";e.d(v,{$f:function(){return p},Cq:function(){return b},GY:function(){return o},I8:function(){return k},Ow:function(){return y},P:function(){return x},Ql:function(){return h},RA:function(){return I},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return R},ht:function(){return _},kN:function(){return M},n1:function(){return l},nI:function(){return B},o9:function(){return c},sG:function(){return a},wi:function(){return A}});var r=e(43597),i=(N,V,W)=>new Promise((H,te)=>{var ie=Q=>{try{J(W.next(Q))}catch(K){te(K)}},oe=Q=>{try{J(W.throw(Q))}catch(K){te(K)}},J=Q=>Q.done?H(Q.value):Promise.resolve(Q.value).then(ie,oe);J((W=W.apply(N,V)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function _(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function S(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function I(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,V){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:V})})}},48562: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(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(_,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)&&o(_,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&o(_,S,b[S]);return _},u=(_,b,S)=>new Promise((k,R)=>{var A=B=>{try{M(S.next(B))}catch(N){R(N)}},I=B=>{try{M(S.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,I);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({},_)})})}},40976: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 R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&o(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&o(A,M,I[M]);return A},u=(A,I,M)=>new Promise((B,N)=>{var V=te=>{try{H(M.next(te))}catch(ie){N(ie)}},W=te=>{try{H(M.throw(te))}catch(ie){N(ie)}},H=te=>te.done?B(te.value):Promise.resolve(te.value).then(V,W);H((M=M.apply(A,I)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/public_with_course_and_project",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/mine_with_course_and_project.json",{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/import.json",{method:"post",body:h({},A)})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}.json`,{method:"get",params:h({},A)})})}function _(A){return u(this,null,function*(){const{id:I}=A;return delete A.id,(0,r.ZP)(`/api/files/${I}.json`,{method:"put",body:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A.id}/update_visits.json`,{method:"post"})})}function S(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/watch_list.json`,{method:"get",params:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/files/get_batches_publish_info.json",{method:"get",params:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)(`/api/files/${A==null?void 0:A.id}/add_file_quantity.json`,{method:"post",body:h({},A)})})}},12642:function(d,v,e){"use strict";e.d(v,{CJ:function(){return y},Mf:function(){return R},NA:function(){return S},PC:function(){return _},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,I,M)=>I in A?i(A,I,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[I]=M,h=(A,I)=>{for(var M in I||(I={}))c.call(I,M)&&o(A,M,I[M]);if(l)for(var M of l(I))f.call(I,M)&&o(A,M,I[M]);return A},u=(A,I,M)=>new Promise((B,N)=>{var V=te=>{try{H(M.next(te))}catch(ie){N(ie)}},W=te=>{try{H(M.throw(te))}catch(ie){N(ie)}},H=te=>te.done?B(te.value):Promise.resolve(te.value).then(V,W);H((M=M.apply(A,I)).next())});function a(A){return u(this,null,function*(){return(0,r.ZP)("/api/courses/board_list.json",{method:"get",params:h({},A)})})}function x(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}.json`,{method:"get",params:h({},A)})})}function p(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function y(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.id}/sticky_top.json`,{method:"put",body:{course_id:A.coursesId}})})}function _(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply_list.json`,{method:"get",params:h({},A)})})}function b(A){return u(this,null,function*(){return(0,r.ZP)(`/api/messages/${A.boardId}/reply.json`,{method:"post",body:h({},A)})})}function S(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},A)})})}function k(A){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},A)})})}function R(A){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},A)})})}},19284:function(d,v,e){"use strict";e.d(v,{$T:function(){return vr},A:function(){return Ft},Ab:function(){return Yi},Al:function(){return X},BQ:function(){return pt},BR:function(){return ee},Bj:function(){return xi},Bn:function(){return Me},Cq:function(){return Nt},DJ:function(){return je},Dd:function(){return _},Ds:function(){return Ze},EO:function(){return At},Ed:function(){return Mt},F9:function(){return nt},FU:function(){return Kt},Fg:function(){return b},GV:function(){return lr},Gk:function(){return J},Gm:function(){return jt},Gz:function(){return S},Hl:function(){return k},Hn:function(){return W},ID:function(){return on},IU:function(){return Ce},J2:function(){return tr},K$:function(){return ge},KP:function(){return yt},KT:function(){return ke},L$:function(){return Wt},LH:function(){return I},Lk:function(){return Hi},Ls:function(){return ae},MA:function(){return Yn},Mc:function(){return oi},N7:function(){return se},Nd:function(){return oe},Nl:function(){return Dt},Ns:function(){return pn},O3:function(){return We},Pj:function(){return Ct},QX:function(){return pe},QZ:function(){return Ie},R2:function(){return K},Rk:function(){return Ar},S9:function(){return Ot},U8:function(){return kt},UD:function(){return Er},U_:function(){return te},Uy:function(){return _r},V8:function(){return V},Vw:function(){return $},W0:function(){return Ut},W7:function(){return et},WK:function(){return mr},Wr:function(){return Vi},YR:function(){return Ye},Z0:function(){return vt},ZL:function(){return wt},ZT:function(){return Ri},ZX:function(){return gn},Z_:function(){return M},_0:function(){return B},_9:function(){return it},_B:function(){return Ti},aP:function(){return St},aQ:function(){return xt},aZ:function(){return De},al:function(){return zt},bm:function(){return Jr},bz:function(){return Ue},c_:function(){return gt},ds:function(){return Yr},fN:function(){return rn},fr:function(){return Yt},g4:function(){return Vt},gq:function(){return R},hf:function(){return z},i:function(){return Rt},i6:function(){return Nr},i7:function(){return Hr},iE:function(){return a},ih:function(){return Mn},kW:function(){return Pt},km:function(){return or},nP:function(){return p},nQ:function(){return Ge},nX:function(){return Dr},oM:function(){return Ae},oR:function(){return Ai},o_:function(){return Oe},pf:function(){return Et},pr:function(){return Ii},pv:function(){return at},qB:function(){return le},r2:function(){return N},rS:function(){return A},s:function(){return ai},sb:function(){return Je},sm:function(){return y},t1:function(){return Ke},tB:function(){return hi},tR:function(){return ut},td:function(){return ft},uh:function(){return Zt},up:function(){return mt},v2:function(){return x},vV:function(){return ye},w9:function(){return ie},wR:function(){return bn},yS:function(){return ce},yV:function(){return Q},yd:function(){return Ne},zg:function(){return _e}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(xe,Kn,qn)=>Kn in xe?i(xe,Kn,{enumerable:!0,configurable:!0,writable:!0,value:qn}):xe[Kn]=qn,h=(xe,Kn)=>{for(var qn in Kn||(Kn={}))c.call(Kn,qn)&&o(xe,qn,Kn[qn]);if(l)for(var qn of l(Kn))f.call(Kn,qn)&&o(xe,qn,Kn[qn]);return xe},u=(xe,Kn,qn)=>new Promise((Jn,oa)=>{var Di=Qt=>{try{pi(qn.next(Qt))}catch(dt){oa(dt)}},Ci=Qt=>{try{pi(qn.throw(Qt))}catch(dt){oa(dt)}},pi=Qt=>Qt.done?Jn(Qt.value):Promise.resolve(Qt.value).then(Di,Ci);pi((qn=qn.apply(xe,Kn)).next())});const a=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${xe==null?void 0:xe.course_id}/course_videos/configs.json`,{method:"put",body:xe})}),x=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${xe==null?void 0:xe.course_id}/course_videos/list_for_config.json`,{method:"Get",params:xe})}),p=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${xe==null?void 0:xe.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:xe})}),y=xe=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${xe==null?void 0:xe.course_id}/homework_commons/batch_late_setting`,{method:"post",body:xe})}),_=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:xe})}),b=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:xe})}),S=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:xe})}),k=xe=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:xe})});function R(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},xe.permissions)})})}function A(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.course_id}/assistant_permissions.json`,{method:"Get",params:h({},xe)})})}function I(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/ai_status_query.json`,{method:"Get",params:xe})})}function M(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},xe)})})}function B(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/get_user_portrait_config.json`,{method:"Get",params:xe})})}function N(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/update_user_portrait_config.json?id=${xe.coursesId}`,{method:"put",body:h({},xe)})})}function V(xe){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},xe)})})}function W(xe){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},xe)})})}function H(xe){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},xe)})})}function te(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/top_banner.json`,{method:"get",params:h({},xe)})})}function ie(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id||xe.coursesId}/left_banner.json`,{method:"get",params:h({},xe)})})}function oe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/homework_commons.json`,{method:"get",params:h({},xe)})})}function J(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/homework_commons/list.json`,{method:"get",params:h({},xe)})})}function Q(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/graduation_topics.json`,{method:"get",params:h({},xe)})})}function K(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/graduation_tasks.json`,{method:"get",params:h({},xe)})})}function se(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${xe.id}/exercises.json`,{method:"get",params:h({},xe)})})}function ee(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/polls.json`,{method:"get",params:h({},xe)})})}function X(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/homework_commons.json`,{method:"get",params:h({},xe)})})}function le(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/course_groups.json`,{method:"get",params:h({},xe)})})}function z(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/all_course_groups.json`,{method:"get",params:h({},xe)})})}function $(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/attendances.json`,{method:"get",params:h({},xe)})})}function ae(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${xe.coursesId}/attendances.json`,{method:"get",params:h({},xe)})})}function _e(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${xe.id}/edit.json`,{method:"get",params:h({},xe)})})}function Ie(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/informs.json`,{method:"get",params:h({},xe)})})}function ke(xe){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},xe)})})}function We(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/course_videos.json`,{method:"get",params:h({},xe)})})}function je(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/live_links.json`,{method:"get",params:h({},xe)})})}function Mt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},xe)})})}function yt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${xe.categoryId}/messages.json`,{method:"get",params:h({},xe)})})}function Pt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/course_groups.json`,{method:"get",params:h({},xe)})})}function tr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/students.json`,{method:"get",params:h({},xe)})})}function Vt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/statistics.json`,{method:"get",params:h({},xe)})})}function lr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/work_score.json`,{method:"get",params:h({},xe)})})}function Ke(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/act_score.json`,{method:"get",params:h({},xe)})})}function Ct(xe){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},xe)})})}function jt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},xe)})})}function it(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe==null?void 0:xe.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},xe)})})}function xt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},xe)})})}function pt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe==null?void 0:xe.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},xe)})})}function et(xe){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},xe)})})}function Ze(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},xe)})})}function ge(xe){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:xe})})}function Ae(xe){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:xe})})}function Me(xe){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:xe})})}function Ue(xe){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:xe})})}function Ge(xe){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:xe})})}function nt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},xe)})})}function ut(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.identifier}/add_student_groups.json`,{method:"post",body:xe})})}function Kt(xe){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:xe})})}function Zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/add_teacher.json`,{method:"post",body:xe})})}function De(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/add_students_by_search.json`,{method:"post",body:xe})})}function Je(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/set_public_or_private.json`,{method:"post",body:xe})})}function Wt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/set_invite_code_halt.json`,{method:"post",body:xe})})}function Ot(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/duplicate_course.json`,{method:"post",body:xe})})}function zt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/update_end_date.json`,{method:"put",body:xe})})}function Ft(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}.json`,{method:"delete",body:xe})})}function At(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/settings.json`,{method:"get",params:h({},xe)})})}function Yt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}.json`,{method:"put",body:xe})})}function Ye(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},xe)})})}function pe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},xe)})})}function Dt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},xe)})})}function Ce(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},xe)})})}function ft(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},xe)})})}function Ut(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},xe)})})}function St(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${xe.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},xe)})})}function Oe(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${xe.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},xe)})})}function wt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${xe.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},xe)})})}function ye(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${xe.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},xe)})})}function Xe(xe){return u(this,null,function*(){return Fetch(`/api/homework_commons/${xe.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},xe)})})}function vt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${xe.id}.json`,{method:"delete",params:{export:!0}})})}function Rt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${xe.id}.json`,{method:"delete",params:{export:!0}})})}function Ne(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${xe.id}/sticky_module.json`,{method:"get"})})}function Dr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${xe.id}/hidden_module.json`,{method:"get"})})}function Et(xe){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:xe})})}function Yr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${xe.id}.json`,{method:"get",params:xe})})}function Jr(xe){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:xe})})}function Er(xe){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:xe})})}function $r(xe){return u(this,null,function*(){return Fetch(`/api/polls/${xe.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},xe)})})}function _r(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${xe.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},xe)})})}function Hr(xe){return(0,r.ZP)(`/api/polls/${xe.categoryId}/start_answer.json`,{method:"get",params:h({},xe)})}function on(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${xe.questionId}/poll_votes.json`,{method:"post",body:xe})})}function pn(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${xe.categoryId}/commit_poll.json`,{method:"post",body:xe})})}function or(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.courseId}/tasks_list.json`,{method:"get",params:xe})})}function kt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.courseId}/update_task_position.json`,{method:"post",body:xe})})}function mt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:xe})})}function gt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/all_course_groups.json`,{method:"get",params:xe})})}function Nt(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/polls/all_course_groups.json`,{method:"get",params:xe})})}function Ar(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/students.json`,{method:"get",params:xe})})}function vr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${xe.categoryId}/rename_group.json`,{method:"POST",body:xe})})}function at(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${xe.categoryId}.json`,{method:"delete",body:xe})})}function Nr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/join_course_group.json`,{method:"POST",body:xe})})}function bn(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/transfer_to_course_group.json`,{method:"post",body:xe})})}function Yn(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/delete_from_course.json`,{method:"post",body:xe})})}function mr(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/join_course_group.json`,{method:"post",body:xe})})}function rn(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/exit_course.json`,{method:"post"})})}function gn(xe){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},xe)})})}function Mn(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/mooc_users/${xe.user_id}/edit.json`,{method:"get",params:xe})})}function ai(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/mooc_users.json`,{method:"post",body:xe})})}function hi(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.coursesId}/mooc_users/${xe.user_id}.json`,{method:"put",body:xe})})}function Vi(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${xe.id}/move_category.json`,{method:"post",body:xe})})}function Yi(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${xe.id}/move_category.json`,{method:"post",body:xe})})}function Ri(xe){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe.id}/courseware.json`,{method:"get",params:xe})})}function Ii(xe,Kn){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${xe}/mark_wrong_topic.json`,{method:"get",params:Kn})})}function Ti(xe,Kn){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${xe}/cancel_wrong_topic.json`,{method:"get",params:Kn})})}function Ai(xe,Kn){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${xe}/allow_end_group.json`,{method:"get",params:Kn})})}function oi(xe,Kn){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${xe}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:Kn})})}function Hi(xe,Kn){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${xe}/get_content_for_commit_id.json`,{method:"get",params:Kn})})}function xi(xe){return u(this,null,function*(){return(0,r.ZP)("/api/declarations/search_user_list.json",{method:"get",params:xe})})}},96247:function(d,v,e){"use strict";e.d(v,{$M:function(){return Vt},$P:function(){return Kt},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Ze},JM:function(){return Ue},Ju:function(){return tr},Mn:function(){return et},Ni:function(){return ae},Pg:function(){return R},Pt:function(){return S},Qp:function(){return K},R9:function(){return te},Ux:function(){return se},Vy:function(){return We},XJ:function(){return $},XR:function(){return yt},Ze:function(){return B},aq:function(){return M},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return oe},lm:function(){return ge},ml:function(){return le},o3:function(){return Ke},pA:function(){return jt},pS:function(){return Me},pU:function(){return z},ps:function(){return W},q0:function(){return xt},qN:function(){return pt},qS:function(){return b},qj:function(){return Mt},qt:function(){return nt},rV:function(){return A},rZ:function(){return Ge},rk:function(){return Ie},rm:function(){return Q},sK:function(){return J},sL:function(){return it},su:function(){return Ae},tC:function(){return ke},tO:function(){return je},u9:function(){return X},uZ:function(){return _e},vV:function(){return V},xx:function(){return Zt},y8:function(){return Pt},yS:function(){return N},zF:function(){return y},zc:function(){return ie},zj:function(){return I},zz:function(){return ut}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(De,Je,Wt)=>Je in De?i(De,Je,{enumerable:!0,configurable:!0,writable:!0,value:Wt}):De[Je]=Wt,h=(De,Je)=>{for(var Wt in Je||(Je={}))c.call(Je,Wt)&&o(De,Wt,Je[Wt]);if(l)for(var Wt of l(Je))f.call(Je,Wt)&&o(De,Wt,Je[Wt]);return De},u=(De,Je,Wt)=>new Promise((Ot,zt)=>{var Ft=Ye=>{try{Yt(Wt.next(Ye))}catch(ce){zt(ce)}},At=Ye=>{try{Yt(Wt.throw(Ye))}catch(ce){zt(ce)}},Yt=Ye=>Ye.done?Ot(Ye.value):Promise.resolve(Ye.value).then(Ft,At);Yt((Wt=Wt.apply(De,Je)).next())});const a=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/create_guide.json`,{method:"post",body:De}),x=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/guides.json`,{method:"get",params:De}),p=De=>(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.competition_team_id}/edit_info.json`,{method:"put",body:De});function y(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_result.json`,{method:"post",body:De})})}function _(De){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},De)})})}function b(De){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:De})})}function S(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post"})})}function k(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_staff.json`,{method:"get"})})}function R(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/common_header.json`,{method:"get"})})}function A(De){return u(this,null,function*(){return(0,r.ZP)(`/api/${De.url}`,{method:"get",params:h({},De)})})}function I(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/update_md_content.json`,{method:"post",body:De})})}function M(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function B(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}/edit.json`,{method:"get",params:De})})}function N(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.Teannameid}.json`,{method:"put",body:De})})}function V(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}/leave.json`,{method:"post",body:De})})}function W(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.id}.json`,{method:"delete"})})}function H(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"post",body:De})})}function te(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/add_managers.json`,{method:"post",body:De})})}function ie(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/join.json`,{method:"post",body:De})})}function oe(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/teachers.json`,{method:"get",params:De})})}function J(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/students.json`,{method:"get",params:De})})}function Q(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/crud_team_members.json`,{method:"post",body:De})})}function K(De){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:De})})}function se(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/chart_rules.json`,{method:"get"})})}function ee(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/charts.json`,{method:"get",params:De})})}function X(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/results.json`,{method:"get",params:De})})}function le(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/md_tab_rules.json`,{method:"get",params:De})})}function z(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize.json`,{method:"get",params:De})})}function $(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.id}.json`,{method:"get",params:De})})}function ae(De){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:De})})}function _e(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/phone_bind.json`,{method:"post",body:De})})}function Ie(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/email_bind.json`,{method:"post",body:De})})}function ke(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/professional_auth_apply.json`,{method:"delete"})})}function We(De){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${De.userid}/authentication_apply.json`,{method:"delete"})})}function je(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/prize_leader_account.json`,{method:"put",body:De})})}function Mt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/shixun_detail.json`,{method:"get"})})}function yt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams/${De.teamid}/course_detail.json`,{method:"get"})})}function Pt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${De.id}.json`,{method:"delete"})})}function tr(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/get_certificate_info.json`,{method:"get",params:De})})}function Vt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.id}/basic_setting.json`,{method:"post",body:De})})}function lr(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function Ke(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/common_header.json`,{method:"get"})})}function Ct(De){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:De})})}function jt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/search_managers.json`,{method:"get",params:De})})}function it(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_managers.json`,{method:"get"})})}function xt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/add_managers.json`,{method:"post",body:De})})}function pt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/delete_managers.json`,{method:"delete",body:De})})}function et(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_picture.json`,{method:"get"})})}function Ze(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/identifier_exist.json`,{method:"post",body:De})})}function ge(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/get_shixun_settings.json`,{method:"get"})})}function Ae(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_add.json`,{method:"post",body:De})})}function Me(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_delete.json`,{method:"delete",body:De})})}function Ue(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/shixun_select.json`,{method:"post",body:De})})}function Ge(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De}/info_finish.json`,{method:"get"})})}function nt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De==null?void 0:De.id}/competition_review.json`,{method:"post",body:h({},De)})})}function ut(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_teams.json`,{method:"get",params:De})})}function Kt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/all_team_members.json`,{method:"get",params:De})})}function Zt(De){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${De.identifier}/competition_commit_records/member_works.json`,{method:"get",params:De})})}},59112:function(d,v,e){"use strict";e.d(v,{$7:function(){return _},Bb:function(){return R},Dn:function(){return b},Hh:function(){return l},Hs:function(){return S},It:function(){return u},JD:function(){return c},LX:function(){return p},O:function(){return I},SW:function(){return A},Td:function(){return o},UX:function(){return N},Uk:function(){return B},W9:function(){return h},Xi:function(){return a},Zm:function(){return f},eu:function(){return k},kF:function(){return x},kq:function(){return H},lG:function(){return V},o5:function(){return y},t2:function(){return W},xx:function(){return M}});var r=e(43597),i=(te,ie,oe)=>new Promise((J,Q)=>{var K=X=>{try{ee(oe.next(X))}catch(le){Q(le)}},se=X=>{try{ee(oe.throw(X))}catch(le){Q(le)}},ee=X=>X.done?J(X.value):Promise.resolve(X.value).then(K,se);ee((oe=oe.apply(te,ie)).next())});const l=te=>i(void 0,null,function*(){return(0,r.ZP)("/api/annual_statistics.json",{method:"get",params:te})});function c(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_selects.json",{method:"get",params:te})})}function f(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/add_declaration_selects.json",{method:"post",body:te})})}function o(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/type_selects.json",{method:"get"})})}function h(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/delete_declaration_selects.json",{method:"delete",body:te})})}function u(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_selects.json",{method:"post",body:te})})}function a(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_profile.json",{method:"get",params:te})})}function x(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_profile.json",{method:"put",body:te})})}function p(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/get_all_type.json",{method:"get",params:te})})}function y(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/declaration_descriptions.json",{method:"get",params:te})})}function _(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/edit_declaration_descriptions.json",{method:"put",body:te})})}function b(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations.json",{method:"get",params:te})})}function S(te){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${te==null?void 0:te.id}.json`,{method:"get",params:te})})}function k(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations.json",{method:"post",body:te})})}function R(te){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${te==null?void 0:te.id}.json`,{method:"put",body:te})})}function A(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/verify_list.json",{method:"get",params:te})})}function I(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/calculate.json",{method:"POST",body:te})})}function M(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/commit_verify.json",{method:"post",body:te})})}function B(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/verify.json",{method:"post",body:te})})}function N(te){return i(this,null,function*(){return(0,r.ZP)(`/api/declarations/${te.id}.json`,{method:"delete"})})}function V(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/get_declare_type.json",{method:"get",params:te})})}function W(te){return i(this,null,function*(){return(0,r.ZP)("/api/declarations/import.json",{method:"post",body:te},!0,!0)})}function H(te){return i(this,null,function*(){return(0,r.ZP)("/api/export_excels/import.json",{method:"post",body:te},!0,!0)})}},83738:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return I},ff:function(){return S},p1:function(){return k},_y:function(){return _},mK:function(){return V},gq:function(){return H},eM:function(){return N},BA:function(){return oe},bA:function(){return Q},Nx:function(){return J},Qx:function(){return M},At:function(){return R},PX:function(){return A},Xl:function(){return B},y9:function(){return W},No:function(){return te},ay:function(){return K}});var r=e(43597),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(se,ee,X)=>ee in se?i(se,ee,{enumerable:!0,configurable:!0,writable:!0,value:X}):se[ee]=X,a=(se,ee)=>{for(var X in ee||(ee={}))o.call(ee,X)&&u(se,X,ee[X]);if(f)for(var X of f(ee))h.call(ee,X)&&u(se,X,ee[X]);return se},x=(se,ee)=>l(se,c(ee)),p=(se,ee)=>{var X={};for(var le in se)o.call(se,le)&&ee.indexOf(le)<0&&(X[le]=se[le]);if(se!=null&&f)for(var le of f(se))ee.indexOf(le)<0&&h.call(se,le)&&(X[le]=se[le]);return X},y=(se,ee,X)=>new Promise((le,z)=>{var $=Ie=>{try{_e(X.next(Ie))}catch(ke){z(ke)}},ae=Ie=>{try{_e(X.throw(Ie))}catch(ke){z(ke)}},_e=Ie=>Ie.done?le(Ie.value):Promise.resolve(Ie.value).then($,ae);_e((X=X.apply(se,ee)).next())});const _=se=>y(void 0,null,function*(){var ee=se,{id:X}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${X}/course_results.json`,{method:"get",params:le})}),b=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:se,id:ee,class_name:X=null})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/${ee}.json`,{method:"get",params:{class_name:X}}),R=({ec_year_id:se})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:se}}),A=({ec_course_id:se})=>(0,r.ZP)(`/api/ec_courses/${se}/evaluations/evaluation_data`,{method:"POST"}),I=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results.json`,{method:"get"}),V=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/get_formulas.json`,{method:"get"}),W=({ec_year_id:se,formula_one:ee,formula_two:X,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:X,formula_three_id:le}}),H=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/${ee}.json`,{method:"get"}),te=se=>{var ee=se,{ec_year_id:X,type:le,goal_value:z}=ee,$=p(ee,["ec_year_id","type","goal_value"]);let ae=`?type=${le}`,_e={method:"PUT"};return le==="all"&&(ae+=`&goal_value=${z}`),le==="each"&&(_e=x(a({},_e),{body:$})),(0,r.ZP)(`/api/ec_years/${X}/ec_graduation_results/set_goal_value${ae}`,_e)};var ie=(se,ee,X)=>new Promise((le,z)=>{var $=Ie=>{try{_e(X.next(Ie))}catch(ke){z(ke)}},ae=Ie=>{try{_e(X.throw(Ie))}catch(ke){z(ke)}},_e=Ie=>Ie.done?le(Ie.value):Promise.resolve(Ie.value).then($,ae);_e((X=X.apply(se,ee)).next())});const oe=se=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${se}/ec_majors/get_major_list.json`,{method:"get"})}),J=se=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${se}/ec_years/get_year_list.json`,{method:"get"})}),Q=({ec_year_id:se,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/top_pages.json`,{method:"get",params:{school_id:ee}}),K=({id:se,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${se}?name=${ee}`,{method:"PUT"})},39598:function(d,v,e){"use strict";e.d(v,{$Q:function(){return I},$l:function(){return vr},BJ:function(){return pt},CD:function(){return Je},Cd:function(){return nt},Cl:function(){return Ne},Di:function(){return lr},Fl:function(){return jt},G$:function(){return le},GK:function(){return Ct},Ip:function(){return ge},J:function(){return z},KE:function(){return it},L8:function(){return Yt},LP:function(){return Ae},MK:function(){return Ke},Mb:function(){return Er},N0:function(){return W},N3:function(){return je},OO:function(){return R},P8:function(){return pn},PJ:function(){return ae},PT:function(){return _r},Qc:function(){return te},RK:function(){return X},Ty:function(){return Xe},UH:function(){return ft},UK:function(){return Mt},Uj:function(){return Zt},Ul:function(){return Ge},VL:function(){return zt},Vj:function(){return ce},W4:function(){return Kt},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ze},Xn:function(){return Yr},Xo:function(){return oe},YY:function(){return Vt},Ym:function(){return N},Yu:function(){return or},ZD:function(){return on},Zg:function(){return Dr},_B:function(){return De},_F:function(){return $r},_U:function(){return Q},_u:function(){return _e},aU:function(){return V},ab:function(){return Rt},cC:function(){return ye},cV:function(){return K},ck:function(){return Hr},dp:function(){return H},eA:function(){return Nt},fG:function(){return S},gA:function(){return se},gG:function(){return Jr},gJ:function(){return kt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return k},iw:function(){return wt},kp:function(){return Ft},lL:function(){return A},lf:function(){return We},n$:function(){return ke},n7:function(){return J},nF:function(){return Ye},o3:function(){return mt},oS:function(){return Me},oX:function(){return Ot},oy:function(){return vt},p7:function(){return B},pL:function(){return Wt},pu:function(){return et},q6:function(){return At},qf:function(){return tr},qz:function(){return Ue},s:function(){return St},sA:function(){return Dt},sS:function(){return gt},tX:function(){return Ut},uR:function(){return yt},ux:function(){return xt},wy:function(){return Pt},xA:function(){return Oe},yE:function(){return ie},yu:function(){return Ce},zP:function(){return M},zR:function(){return Ar}});var r=e(43597),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(at,Nr,bn)=>Nr in at?i(at,Nr,{enumerable:!0,configurable:!0,writable:!0,value:bn}):at[Nr]=bn,a=(at,Nr)=>{for(var bn in Nr||(Nr={}))o.call(Nr,bn)&&u(at,bn,Nr[bn]);if(f)for(var bn of f(Nr))h.call(Nr,bn)&&u(at,bn,Nr[bn]);return at},x=(at,Nr)=>l(at,c(Nr)),p=(at,Nr,bn)=>new Promise((Yn,mr)=>{var rn=ai=>{try{Mn(bn.next(ai))}catch(hi){mr(hi)}},gn=ai=>{try{Mn(bn.throw(ai))}catch(hi){mr(hi)}},Mn=ai=>ai.done?Yn(ai.value):Promise.resolve(ai.value).then(rn,gn);Mn((bn=bn.apply(at,Nr)).next())});const y=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:at}),_=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:at}),b=at=>(0,r.ZP)(`/api/exercises/${at.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:at}),S=at=>(0,r.ZP)(`/api/exercises/${at.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:at}),k=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:at}),R=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/list_student_score.json`,{method:"get",params:at}),A=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:at}),I=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/statistics/score_ranges.json`,{method:"get",params:at}),M=at=>(0,r.ZP)(`/api/exercises/${at.id}/sava_exam_summary.json`,{method:"post",body:at}),B=at=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:at}),N=at=>(0,r.ZP)(`/api/exercises/${at.id}/generate_exam_summary.json`,{method:"post",body:at}),V=at=>(0,r.ZP)(`/api/exercises/${at.id}/exam_summary_settings.json`,{method:"post",body:at}),W=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.exercise_id}/review_exercise_user.json`,{method:"post",body:at})}),H=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/code_check.json`,{method:"get",params:at}),te=at=>(0,r.ZP)(`/api/exercises/${at.id}/reset_pwd.json`,{method:"post",body:at}),ie=at=>(0,r.ZP)(`/api/exercises/${at.id}/encrypt_or_decrypt.json`,{method:"post",body:at}),oe=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/delayed_time_or_force.json`,{method:"post",body:at})}),J=at=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_time.json`,{method:"Get",params:at})}),Q=at=>(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/exercise_question_result.json`,{method:"get",params:at}),K=at=>(0,r.ZP)(`/api/exercises/${at.id}/get_question_type_alias.json`,{method:"get",params:at});function se(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/teacher_update.json`,{method:"post",body:a({},at)})})}function ee(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/adjust_comment.json`,{method:"post",body:a({},at)})})}function X(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/edit_question_type_alias.json`,{method:"POST",body:at})})}function le(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_lists.json`,{method:"get",params:a({},at)})})}function z(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},at)})})}function $(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/video_push_url.json`,{method:"get",params:a({},at)})})}function ae(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},at)})})}function _e(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_result.json`,{method:"get",params:a({},at)})})}function Ie(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},at)})})}function ke(at){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},at)})})}function We(at){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},at)})})}function je(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},at)})})}function Mt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/common_header.json`,{method:"get",params:a({},at)})})}function yt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises.json`,{method:"post",body:a({},at)})})}function Pt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}.json`,{method:"put",body:a({},at)})})}function tr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}.json`,{method:"get",params:a({},at)})})}function Vt(at){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},at)})})}function lr(at){return p(this,null,function*(){const{id:Nr}=at;return delete at.id,(0,r.ZP)(`/api/exercise_questions/${Nr}.json`,{method:"put",body:a({},at)})})}function Ke(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_questions.json`,{method:"post",body:a({},at)})})}function Ct(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/up_down.json`,{method:"post",body:a({},at)})})}function jt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}.json`,{method:"delete"})})}function it(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},at)})})}function xt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/publish_groups.json`,{method:"get",params:a({},at)})})}function pt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},at)})})}function et(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/consult_exercise.json`,{method:"post",body:a({},at)})})}function Ze(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},at)})})}function ge(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/adjust_score.json`,{method:"post",body:a({},at)})})}function Ae(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.id}/batch_adjust_score.json`,{method:"post",body:a({},at)})})}function Me(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/adjust_score.json`,{method:"post",body:a({},at)})})}function Ue(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.id}/delayed_time.json`,{method:"post",body:a({},at)})})}function Ge(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_setting.json`,{method:"get",params:a({},at)})})}function nt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${at.categoryId}/exercise_setting.json`,{method:"get",params:a({},at)})})}function ut(at){return p(this,null,function*(){return Fetch(`/api/exercises/${at.categoryId}/commit_setting.json`,{method:"post",body:a({},at)})})}function Kt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},at)})})}function Zt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},at),{export:!0})})})}function De(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},at),{login:null})})}function Je(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/start.json`,{method:"get",params:a({},at)})}function Wt(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/start_unlock.json`,{method:"post",body:a({},at)})}function Ot(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.questionId}/exercise_answers.json`,{method:"post",body:at})})}function zt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/commit_exercise.json`,{method:"post",body:at})})}function Ft(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/simulate_commit_exercise.json`,{method:"post",body:at})})}function At(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/redo_exercise.json`,{method:"post",body:at})})}function Yt(at){return(0,r.ZP)(`/api/${at.url}`,{method:"get",params:a({},at)})}function Ye(at){return(0,r.ZP)(`/api/problems/${at.id}/start.json`,{method:"get",params:a({},at)})}function ce(at){return(0,r.ZP)(`/api/exercises/${at.id}/begin_commit.json`,{method:"get",params:a({},at)})}function pe(at){return(0,r.ZP)(`/api/exercises/${at.id}/simulate_begin_commit.json`,{method:"get",params:a({},at)})}function Dt(at){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},at)})}function Ce(at){return console.log("params:",at),(0,r.ZP)(`/api/exercises/${at.categoryId}/edit.json`,{method:"get",params:a({},at)})}function ft(at){return(0,r.ZP)(`/api/exercises/${at.id}/get_objective_scores.json`,{method:"get",params:a({},at)})}function Ut(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/redo_modal.json`,{method:"get",params:a({},at)})}function St(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/student_redo_lists.json`,{method:"get",params:a({},at)})}function Oe(at){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:at})}function wt(at){return(0,r.ZP)(`/api/exercises/${at.id}/exercise_header.json`,{method:"get",params:a({},at)})}function ye(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/allow_close_camera.json`,{method:"post",body:a({},at)})}function Xe(at){return(0,r.ZP)(`/api/exercises/${at.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},at)})}function vt(at){return(0,r.ZP)(`/api/exercises/${at.id}/record_screen`,{method:"post",params:a({},at)})}function Rt(at){return(0,r.ZP)(`/api/exercises/${at.id}/unbind_ip.json`,{method:"post",body:a({},at)})}function Ne(at){return(0,r.ZP)(`/api/exercises/${at.id}/check_ip.json`,{method:"get",params:a({},at)})}function Dr(at){return(0,r.ZP)(`/api/exercises/${at==null?void 0:at.id}/check_user_exercise.json`,{method:"get",params:a({},at)})}function Et(at){return Fetch(`/api/exercises/${at.id}/make_up_students.json`,{method:"get",params:a({},at)})}function Yr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${at.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},at)})})}function Jr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at.question_id}/adjust_score.json`,{method:"post",body:a({},at)})})}function Er(at){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${at.categoryId}/simulate_exercise.json`,{method:"post",body:a({},at)})})}function $r(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},at)})})}function _r(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/exercise_time.json`,{method:"get",params:a({},at)})})}function Hr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at.categoryId}/commit_screen_at.json`,{method:"post",body:a({},at)})})}function on(at,Nr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/unlock_user`,{method:"post",body:Nr})})}function pn(at,Nr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/save_screen_record.json`,{method:"post",body:Nr})})}function or(at,Nr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/screen_record_list.json`,{method:"get",params:Nr})})}function kt(at){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},at)})})}function mt(at){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:at})})}function gt(at,Nr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${at}/mark.json`,{method:"post",body:Nr})})}function Nt(at){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${at}/exit_delete_pod.json`,{method:"post",body:at})})}function Ar(at){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:at})})}function vr(at){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${at==null?void 0:at.id}/send_to_item_bank.json`,{method:"post",body:a({},at)})})}},31238:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return R},Sr:function(){return I},YP:function(){return A},b4:function(){return k},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 N},vL:function(){return B},z5:function(){return V}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(W,H,te)=>H in W?i(W,H,{enumerable:!0,configurable:!0,writable:!0,value:te}):W[H]=te,h=(W,H)=>{for(var te in H||(H={}))c.call(H,te)&&o(W,te,H[te]);if(l)for(var te of l(H))f.call(H,te)&&o(W,te,H[te]);return W},u=(W,H,te)=>new Promise((ie,oe)=>{var J=se=>{try{K(te.next(se))}catch(ee){oe(ee)}},Q=se=>{try{K(te.throw(se))}catch(ee){oe(ee)}},K=se=>se.done?ie(se.value):Promise.resolve(se.value).then(J,Q);K((te=te.apply(W,H)).next())});function a(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:W})})}function x(W){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:W})})}function p(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/sticky_or_cancel.json`,{method:"post",body:W})})}function y(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"delete",body:W})})}function _(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:W})})}function b(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/edit.json`,{method:"get",params:W})})}function S(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},W)})})}function k(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"put",body:h({},W)})})}function R(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"get",params:W})})}function A(W){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${W.user_id}/watch.json`,{method:"post",body:W})})}function I(W){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${W.user_id}/watch.json`,{method:"delete",body:h({},W)})})}function M(W){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${W.id}/reward_code.json`,{method:"post",body:W})})}function B(W){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${W.id}/plus.json`,{method:"post",body:W})})}function N(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:W})})}function V(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/more_reply.json`,{method:"get",params:W})})}},70751:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(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)&&o(y,b,_[b]);if(l)for(var b of l(_))f.call(_,b)&&o(y,b,_[b]);return y},u=(y,_,b)=>new Promise((S,k)=>{var R=M=>{try{I(b.next(M))}catch(B){k(B)}},A=M=>{try{I(b.throw(M))}catch(B){k(B)}},I=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);I((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})})}},94130:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return N},Mf:function(){return I},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return W},YQ:function(){return A},_n:function(){return te},hL:function(){return B},je:function(){return b},mM:function(){return _},wA:function(){return V},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ie,oe,J)=>oe in ie?i(ie,oe,{enumerable:!0,configurable:!0,writable:!0,value:J}):ie[oe]=J,h=(ie,oe)=>{for(var J in oe||(oe={}))c.call(oe,J)&&o(ie,J,oe[J]);if(l)for(var J of l(oe))f.call(oe,J)&&o(ie,J,oe[J]);return ie},u=(ie,oe,J)=>new Promise((Q,K)=>{var se=le=>{try{X(J.next(le))}catch(z){K(z)}},ee=le=>{try{X(J.throw(le))}catch(z){K(z)}},X=le=>le.done?Q(le.value):Promise.resolve(le.value).then(se,ee);X((J=J.apply(ie,oe)).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 k(ie){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ie)})})}function R(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ie)})})}function A(ie){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ie)})})}function I(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 B(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 N(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics`,{method:"post",body:h({},ie)})})}function V(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}`,{method:"put",body:h({},ie)})})}function W(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_tasks`,{method:"post",body:h({},ie)})})}function H(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"put",body:h({},ie)})})}function te(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}},71608:function(d,v,e){"use strict";e.d(v,{AA:function(){return V},Db:function(){return x},Dd:function(){return b},F7:function(){return J},Fi:function(){return le},H3:function(){return _},HF:function(){return k},HH:function(){return y},Ib:function(){return se},J3:function(){return o},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return Q},Ps:function(){return c},Rk:function(){return oe},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ie},YS:function(){return H},Zd:function(){return X},bS:function(){return I},ck:function(){return S},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return W},km:function(){return te},l5:function(){return B},rU:function(){return z},xF:function(){return M},zC:function(){return K},zT:function(){return $}});var r=e(43597),i=(ae,_e,Ie)=>new Promise((ke,We)=>{var je=Pt=>{try{yt(Ie.next(Pt))}catch(tr){We(tr)}},Mt=Pt=>{try{yt(Ie.throw(Pt))}catch(tr){We(tr)}},yt=Pt=>Pt.done?ke(Pt.value):Promise.resolve(Pt.value).then(je,Mt);yt((Ie=Ie.apply(ae,_e)).next())});function l(ae){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})}function c(ae){return(0,r.ZP)(`/api/schools/${ae.id}/departments/for_option.json`,{method:"get",params:ae})}function f(ae){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ae})}function o(ae){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ae})}function h(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/authorized_redelivery.json`,{method:"POST",body:ae})})}function u(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.stageid}/submit.json`,{method:"POST",body:ae})})}function a(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_status.json`,{method:"get",params:ae})})}function x(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ae})})}function p(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_stages/${ae.id}.json`,{method:"get",params:ae})})}function y(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/set_final_score.json`,{method:"POST",body:ae})})}function _(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/student_tasks/final_score.json`,{method:"get",params:ae})})}function b(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/set_novice_guide.json`,{method:"POST",body:ae})})}function S(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices/${ae.doid}/set_do.json`,{method:"POST",body:ae})})}function k(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"POST",body:ae})})}function R(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.identifier}/graduation_students/${ae.id}/update_major.json`,{method:"PUT",body:ae})})}function A(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"POST",body:ae})})}function I(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers/search.json`,{method:"get",params:ae})})}function M(ae){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ae})})}function B(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students/search.json`,{method:"get",params:ae})})}function N(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_students.json`,{method:"get",params:ae})})}function V(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_teachers.json`,{method:"get",params:ae})})}function W(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks.json`,{method:"POST",body:ae})})}function H(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.graduation_id}/graduation_tasks/${ae.id}.json`,{method:"PUT",body:ae})})}function te(ae){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks/${(_e=ae.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:ae.ids}})})}function ie(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_tasks.json`,{method:"get",params:ae})})}function oe(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}/graduation_notices.json`,{method:"get",params:ae})})}function J(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae.id}.json`,{method:"get"})})}function Q(ae){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae==null?void 0:ae.id}/common_header.json`,{method:"get"})})}function K(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/preview.json`,{method:"get"})})}function se(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function ee(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function X(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function le(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/pass.json`,{method:"post",body:_e})})}function z(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function $(ae,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ae}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},81388:function(d,v,e){"use strict";e.d(v,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return o},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(43597),i=(p,y,_)=>new Promise((b,S)=>{var k=I=>{try{A(_.next(I))}catch(M){S(M)}},R=I=>{try{A(_.throw(I))}catch(M){S(M)}},A=I=>I.done?b(I.value):Promise.resolve(I.value).then(k,R);A((_=_.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 o(){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})})}},1009: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 k},w0:function(){return y}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,A,I)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):R[A]=I,h=(R,A)=>{for(var I in A||(A={}))c.call(A,I)&&o(R,I,A[I]);if(l)for(var I of l(A))f.call(A,I)&&o(R,I,A[I]);return R},u=(R,A,I)=>new Promise((M,B)=>{var N=H=>{try{W(I.next(H))}catch(te){B(te)}},V=H=>{try{W(I.throw(H))}catch(te){B(te)}},W=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,V);W((I=I.apply(R,A)).next())});function a(R){return u(this,null,function*(){return(0,r.ZP)("/api/users/tidings.json",{method:"get",params:h({},R)})})}function x(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/unread_message_info.json`,{method:"get",params:h({},R)})})}function p(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"get",params:h({},R)})})}function y(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages.json`,{method:"post",body:h({},R)})})}function _(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.id}/recent_contacts.json`,{method:"get",params:h({},R)})})}function b(R){return u(this,null,function*(){return(0,r.ZP)("/api/users_for_private_messages.json",{method:"get",params:h({},R)})})}function S(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_message_details.json`,{method:"get",params:h({},R)})})}function k(R){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${R.userId}/private_messages/${R.id}.json`,{method:"delete"})})}},9327: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 B},_V:function(){return I},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,V,W)=>V in N?i(N,V,{enumerable:!0,configurable:!0,writable:!0,value:W}):N[V]=W,h=(N,V)=>{for(var W in V||(V={}))c.call(V,W)&&o(N,W,V[W]);if(l)for(var W of l(V))f.call(V,W)&&o(N,W,V[W]);return N},u=(N,V,W)=>new Promise((H,te)=>{var ie=Q=>{try{J(W.next(Q))}catch(K){te(K)}},oe=Q=>{try{J(W.throw(Q))}catch(K){te(K)}},J=Q=>Q.done?H(Q.value):Promise.resolve(Q.value).then(ie,oe);J((W=W.apply(N,V)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function _(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function S(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function I(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},91044:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return oe},Dq:function(){return Ie},Gd:function(){return _},Hb:function(){return ke},Hm:function(){return H},ID:function(){return u},JP:function(){return _e},NC:function(){return V},Pl:function(){return S},Qc:function(){return c},Qp:function(){return J},RK:function(){return x},YP:function(){return W},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ie},kF:function(){return We},kp:function(){return I},lc:function(){return A},oF:function(){return le},q$:function(){return h},qN:function(){return te},tS:function(){return R},ts:function(){return B},un:function(){return K},w0:function(){return se},wX:function(){return Q},yE:function(){return f}});var r=e(43597),i=(je,Mt,yt)=>new Promise((Pt,tr)=>{var Vt=Ct=>{try{Ke(yt.next(Ct))}catch(jt){tr(jt)}},lr=Ct=>{try{Ke(yt.throw(Ct))}catch(jt){tr(jt)}},Ke=Ct=>Ct.done?Pt(Ct.value):Promise.resolve(Ct.value).then(Vt,lr);Ke((yt=yt.apply(je,Mt)).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}),o=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 k(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}.json`,{method:"delete"})})}function R(je){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:je})})}const A=je=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:je});function I(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 B(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 N(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 V(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 W(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 H(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 te(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 oe(je){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:je})})}function J(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:je})})}function Q(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 K(je){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:je})})}function se(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/update_exam.json`,{method:"put",body:je})})}function ee(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je.id}/edit_exam.json`,{method:"get"})})}function X(je,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/examination_banks_item_banks.json`,{method:"post",body:Mt})})}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,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/sort_question_type.json`,{method:"post",body:Mt})})}function $(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 ae(je,Mt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${je}/batch_set_score.json`,{method:"post",body:Mt})})}function _e(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/simulate_exercise.json`,{method:"post"})})}function Ie(je){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${je}/exercise_header.json`,{method:"get"})})}function ke(je,Mt,yt){return i(this,null,function*(){const Pt=new FormData;return Pt.append("file",Mt),Pt.append("sub_discipline_id",yt),(0,r.ZP)(`/api/examination_banks/${je}/import_item_banks.json`,{method:"post",body:Pt},!0)})}function We(je){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:je})})}},20119:function(d,v,e){"use strict";e.d(v,{$D:function(){return J},A2:function(){return ge},A7:function(){return Ut},AQ:function(){return N},Ax:function(){return De},Bn:function(){return wt},CI:function(){return Ge},DQ:function(){return pe},DU:function(){return jt},EP:function(){return oe},Ep:function(){return Ze},Er:function(){return ae},Ex:function(){return Ot},FD:function(){return Dt},F_:function(){return Ct},Fg:function(){return x},GY:function(){return Yt},Go:function(){return le},Gz:function(){return p},Hl:function(){return y},JS:function(){return yt},KM:function(){return se},M2:function(){return Me},MO:function(){return _e},Mt:function(){return Ue},Mu:function(){return Je},NV:function(){return Oe},Q:function(){return Ie},Sp:function(){return B},VO:function(){return Ce},WD:function(){return At},WO:function(){return $},WW:function(){return zt},_C:function(){return St},_V:function(){return Zt},bw:function(){return ie},bz:function(){return ce},c3:function(){return Mt},eJ:function(){return X},ef:function(){return Ke},fh:function(){return k},fj:function(){return z},hS:function(){return _},jT:function(){return ft},ke:function(){return Ft},lk:function(){return M},mQ:function(){return I},ms:function(){return ut},mx:function(){return We},nq:function(){return a},ol:function(){return Ye},p:function(){return W},p4:function(){return ke},pU:function(){return A},rS:function(){return Pt},rs:function(){return ee},s0:function(){return Ae},sm:function(){return je},tS:function(){return b},tu:function(){return R},ue:function(){return V},vf:function(){return pt},w4:function(){return H},xG:function(){return et},xn:function(){return xt},yN:function(){return te},yy:function(){return Kt}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ye,Xe,vt)=>Xe in ye?i(ye,Xe,{enumerable:!0,configurable:!0,writable:!0,value:vt}):ye[Xe]=vt,h=(ye,Xe)=>{for(var vt in Xe||(Xe={}))c.call(Xe,vt)&&o(ye,vt,Xe[vt]);if(l)for(var vt of l(Xe))f.call(Xe,vt)&&o(ye,vt,Xe[vt]);return ye},u=(ye,Xe,vt)=>new Promise((Rt,Ne)=>{var Dr=Jr=>{try{Yr(vt.next(Jr))}catch(Er){Ne(Er)}},Et=Jr=>{try{Yr(vt.throw(Jr))}catch(Er){Ne(Er)}},Yr=Jr=>Jr.done?Rt(Jr.value):Promise.resolve(Jr.value).then(Dr,Et);Yr((vt=vt.apply(ye,Xe)).next())});const a=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:ye})}),x=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:ye})}),p=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:ye})}),y=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:ye})}),_=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:ye})});function b(ye){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},ye)})})}function S(ye){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},ye)})})}function k(ye){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},ye)})})}function R(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}.json`,{method:"PUT",body:ye})})}function A(ye){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:ye})})}function I(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/edit.json`,{method:"get"})})}function M(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}.json`,{method:"get",params:h({identifier:ye.id},ye)})})}function B(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.id}.json`,{method:"get",params:h({identifier:ye.id},ye)})})}function N(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/right_banner.json`,{method:"get",params:ye})})}function V(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/spoc_courses.json`,{method:"get",params:ye})})}const W=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:ye})}),H=ye=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${ye.id}/children.json`,{method:"Get",params:ye})});function te(ye){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:ye})})}function ie(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/update_team_title.json`,{method:"post",body:ye})})}function oe(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/delete_member.json`,{method:"Delete",body:ye})})}function J(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/spoc_courses/${ye==null?void 0:ye.courseid}.json`,{method:"Delete"})})}function Q(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/up_member_position.json`,{method:"post",body:ye})})}function K(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/down_member_position.json`,{method:"post",body:ye})})}function se(ye){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:ye})})}function ee(ye){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:ye})})}function X(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}.json`,{method:"Delete",body:ye})})}function le(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/publish.json`,{method:"post",body:ye})})}function z(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/cancel_publish.json`,{method:"post",body:ye})})}function $(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/apply_public.json`,{method:"post",body:ye})})}function ae(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/cancel_public.json`,{method:"post",body:ye})})}function _e(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/choose_course.json`,{method:"get",params:ye})})}function Ie(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/send_to_course.json`,{method:"post",body:ye})})}function ke(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ye.id}/send_to_course.json`,{method:"post",body:ye})})}function We(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/add_subject_members.json`,{method:"post",body:ye})})}function je(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/spoc_courses.json`,{method:"post",body:ye})})}function Mt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/appointment.json`,{method:"post",body:ye})})}function yt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.id}/join_excellent_course.json`,{method:"post",body:ye})})}function Pt(ye){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:ye})})}function tr(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/statistics_info.json`,{method:"get",params:ye})})}function Vt(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/shixun_analyze.json`,{method:"get",params:ye})})}function lr(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/learning_analyze.json`,{method:"get",params:ye})})}function Ke(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/learning_statistics.json`,{method:"get",params:ye})})}function Ct(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/shixun_statistics.json`,{method:"get",params:ye})})}function jt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/study_analyze/${ye.type}.json`,{method:"get",params:ye})})}function it(ye){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:ye})})}function xt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}.json`,{method:"put",body:ye})})}function pt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_shixun_to_stage.json`,{method:"post",body:ye})})}const et=ye=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${ye==null?void 0:ye.stage_id}/select_challenge_to_stage.json`,{method:"post",body:ye})});function Ze(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/select_shixun_to_stage.json`,{method:"post",body:ye})})}function ge(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_video_to_stage.json`,{method:"post",body:ye})})}function Ae(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_attachment_to_stage.json`,{method:"post",body:ye})})}function Me(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${ye.id}.json`,{method:"put",body:ye})})}function Ue(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_blank_to_stage.json`,{method:"post",body:ye})})}function Ge(ye){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:ye})})}function nt(ye){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:ye})})}function ut(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/up_position.json`,{method:"get"})})}function Kt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/down_position.json`,{method:"get"})})}function Zt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}.json`,{method:"delete"})})}function De(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.pathId}/discusses.json`,{method:"get",params:h({},ye)})})}function Je(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.coursesId}/excellent_discusses.json`,{method:"get",params:h({},ye)})})}function Wt(ye){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},ye)})})}function Ot(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.stage_id}/items/move_position`,{method:"post",body:h({},ye)})})}function zt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.stage_id}/items/${ye.id}`,{method:"delete"})})}function Ft(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.id}/excellent_discuss`,{method:"post",body:h({},ye)})})}function At(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/post_discuss`,{method:"post",body:h({},ye)})})}function Yt(ye){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:ye})})}function Ye(ye){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:ye})})}function ce(ye){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:ye})})}function pe(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye==null?void 0:ye.id}/add_homework_to_stage.json`,{method:"post",body:ye})})}function Dt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${ye==null?void 0:ye.id}/edit.json`,{method:"get",params:ye})})}function Ce(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${ye==null?void 0:ye.id}.json`,{method:"put",body:ye})})}function ft(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${ye==null?void 0:ye.user_id}/subjects/subject_homework.json`,{method:"get",params:ye})})}function Ut(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${ye==null?void 0:ye.user_id}/courses/course_homework.json`,{method:"get",params:ye})})}function St(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye==null?void 0:ye.id}/batch_add_homework_to_stage.json`,{method:"post",body:ye})})}function Oe(ye){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:ye})})}function wt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${ye==null?void 0:ye.user_login}/subjects/cancel.json`,{method:"get",params:ye})})}},12588:function(d,v,e){"use strict";e.d(v,{Fd:function(){return se},Hi:function(){return y},IU:function(){return V},KE:function(){return b},Kc:function(){return X},MK:function(){return W},Q9:function(){return I},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return z},Ye:function(){return B},_c:function(){return a},hO:function(){return oe},iV:function(){return le},jy:function(){return H},kp:function(){return ie},lf:function(){return A},m7:function(){return _},n$:function(){return R},rJ:function(){return M},s3:function(){return x},ux:function(){return S},vf:function(){return K},wh:function(){return te},wo:function(){return ee},x$:function(){return Q}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=($,ae,_e)=>ae in $?i($,ae,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[ae]=_e,h=($,ae)=>{for(var _e in ae||(ae={}))c.call(ae,_e)&&o($,_e,ae[_e]);if(l)for(var _e of l(ae))f.call(ae,_e)&&o($,_e,ae[_e]);return $},u=($,ae,_e)=>new Promise((Ie,ke)=>{var We=yt=>{try{Mt(_e.next(yt))}catch(Pt){ke(Pt)}},je=yt=>{try{Mt(_e.throw(yt))}catch(Pt){ke(Pt)}},Mt=yt=>yt.done?Ie(yt.value):Promise.resolve(yt.value).then(We,je);Mt((_e=_e.apply($,ae)).next())});const a=$=>u(void 0,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$==null?void 0:$.id}/commit_word_cloud.json`,{method:"Get",params:$})});function x($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/poll_lists.json`,{method:"get",params:h({},$)})})}function p($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/common_header.json`,{method:"get"})})}function y($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/poll_setting.json`,{method:"get"})})}function _($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/commit_setting.json`,{method:"post",body:h({},$)})})}function b($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/end_poll_modal.json`,{method:"get",params:h({},$)})})}function S($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/publish_groups.json`,{method:"get",params:h({},$)})})}function k($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/commit_result.json`,{method:"get",params:h({},$)})})}function R($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:h({},$)})})}function A($){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:h({},$)})})}function I($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},$)})})}function M($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls.json`,{method:"POST",body:h({},$)})})}function B($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/edit.json`,{method:"get"})})}function N($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function V($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function W($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}/poll_questions.json`,{method:"post",body:h({},$)})})}function H($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function te($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function ie($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"get"})})}function oe($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function J($){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function Q($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function K($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function se($){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},$)})})}function ee($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function X($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.id}.json`,{method:"put",body:h({},$)})})}function le($){return u(this,null,function*(){return(0,r.ZP)("/api/exercise_bank_questions.json",{method:"post",body:h({},$)})})}function z($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_bank_questions/${$.exerciseId}/up_down.json`,{method:"post",body:h({},$)})})}},53316:function(d,v,e){"use strict";e.d(v,{$c:function(){return nt},A1:function(){return Ue},Bd:function(){return I},Bo:function(){return J},Cc:function(){return se},Cn:function(){return le},DF:function(){return R},Dm:function(){return Ke},FG:function(){return oe},GW:function(){return Ct},HF:function(){return W},Hm:function(){return $},IJ:function(){return Me},L5:function(){return lr},LS:function(){return it},MZ:function(){return ge},Mr:function(){return ie},NZ:function(){return Mt},Of:function(){return S},Pl:function(){return k},Qj:function(){return _},Qp:function(){return pt},RT:function(){return De},Rp:function(){return xt},U6:function(){return H},Vl:function(){return ee},Wk:function(){return te},YP:function(){return z},Ys:function(){return B},al:function(){return M},bF:function(){return ut},d1:function(){return y},dt:function(){return Kt},et:function(){return _e},ex:function(){return b},fY:function(){return Ie},fn:function(){return A},hI:function(){return yt},hg:function(){return Ze},iT:function(){return Q},lS:function(){return je},nD:function(){return jt},qN:function(){return ae},rV:function(){return N},s:function(){return We},sD:function(){return Ae},sS:function(){return Vt},ts:function(){return K},vi:function(){return Ge},wX:function(){return et},x5:function(){return V},zh:function(){return ke}});var r=e(43597),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Je,Wt,Ot)=>Wt in Je?i(Je,Wt,{enumerable:!0,configurable:!0,writable:!0,value:Ot}):Je[Wt]=Ot,a=(Je,Wt)=>{for(var Ot in Wt||(Wt={}))o.call(Wt,Ot)&&u(Je,Ot,Wt[Ot]);if(f)for(var Ot of f(Wt))h.call(Wt,Ot)&&u(Je,Ot,Wt[Ot]);return Je},x=(Je,Wt)=>l(Je,c(Wt)),p=(Je,Wt,Ot)=>new Promise((zt,Ft)=>{var At=ce=>{try{Ye(Ot.next(ce))}catch(pe){Ft(pe)}},Yt=ce=>{try{Ye(Ot.throw(ce))}catch(pe){Ft(pe)}},Ye=ce=>ce.done?zt(ce.value):Promise.resolve(ce.value).then(At,Yt);Ye((Ot=Ot.apply(Je,Wt)).next())});function y(Je){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},Je),{clazz:"ItemBanksGroup"})})})}function _(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Je})})}function b(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Je})})}function S(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:Je})})}function k(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_private.json`,{method:"post"})})}function R(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/set_public.json`,{method:"post"})})}function A(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"delete"})})}function I(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/start.json`,{method:"get"})})}function M(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete",body:a({},Je)})})}function B(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Je})})}function N(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function V(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Je.type}})})}function W(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Je})})}function H(Je){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Je})})}function te(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}.json`,{method:"put",body:Je})})}function ie(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Je})})}function oe(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/edit.json`,{method:"get"})})}function J(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Je.id}/edit.json`,{method:"get"})})}function Q(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Je})})}function K(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_score.json`,{method:"post",body:Je})})}function se(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/set_challenge_score.json`,{method:"post",body:Je})})}function ee(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function X(Je){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Je.exerid}/examination_banks_item_banks/${Je.id}/combination_set_score.json`,{method:"post",body:Je})})}function le(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}.json`,{method:"delete"})})}function z(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Je})})}function $(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Je})})}function ae(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Je.id}/adjust_position.json`,{method:"post",body:Je})})}function _e(Je){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Je})})}function Ie(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.id}/revoke_item.json`,{method:"delete",body:Je})})}function ke(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Je.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Je})})}function We(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/join_to_collection.json`,{method:"post",params:Je})})}function je(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/cancel_collection.json`,{method:"post",params:Je})})}function Mt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Je})})}function yt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Je})})}function Pt(Je){return p(this,null,function*(){return Fetch(`/api/item_banks/${Je.id}/join_to_group.json`,{method:"post",body:Je})})}function tr(Je){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Je.id}.json`,{method:"put",body:Je})})}function Vt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Je})})}function lr(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je.id}/feedback.json`,{method:"post",body:Je})})}function Ke(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Je})})}function Ct(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Je})})}function jt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Je})})}function it(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Je})})}function xt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Je})})}function pt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Je})})}function et(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Je==null?void 0:Je.id}/set_public.json`,{method:"post",body:Je})})}function Ze(Je){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Je})})}function ge(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/publish.json`,{method:"post",body:Je})}function Ae(Je){return(0,r.ZP)(`/api/problems/${Je.identifier}/cancel_publish.json`,{method:"post",body:Je})}function Me(Je){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Je.id]}})}function Ue(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/up_position.json`,{method:"get",params:Je})})}function Ge(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Je.id}/down_position.json`,{method:"get",params:Je})})}function nt(Je){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Je.id}/edit_hack.json`,{method:"get",params:Je})})}function ut(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Je})})}function Kt(Je){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Je})})}function Zt(Je){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Je})})}function De(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},24895:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(43597),i=(o,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(o,h)).next())});function l(o){return i(this,null,function*(){return(0,r.ZP)("/api/restfuls.json",{method:"get",params:o})})}function c(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"get",params:o})})}function f(o){return i(this,null,function*(){return(0,r.ZP)(`/api/restfuls/${o.id}.json`,{method:"delete",params:o})})}},4604:function(d,v,e){"use strict";e.d(v,{Am:function(){return _},Ar:function(){return Ke},BD:function(){return Ge},Be:function(){return et},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return S},H:function(){return Vt},H1:function(){return lr},Hj:function(){return ut},JA:function(){return Zt},JG:function(){return se},KE:function(){return z},Lz:function(){return Me},Mf:function(){return tr},NA:function(){return yt},PC:function(){return je},PP:function(){return Mt},PW:function(){return it},Q3:function(){return X},QC:function(){return De},Qt:function(){return Ue},Qz:function(){return I},R$:function(){return Ye},RP:function(){return oe},Ti:function(){return St},Uc:function(){return zt},Ul:function(){return Q},VB:function(){return ft},Vs:function(){return Ft},Wr:function(){return R},Xn:function(){return J},YQ:function(){return Pt},Yn:function(){return b},Z8:function(){return V},ak:function(){return jt},cN:function(){return B},co:function(){return Ze},cz:function(){return ke},fK:function(){return W},gG:function(){return We},gZ:function(){return Ot},h$:function(){return N},ku:function(){return Ae},lf:function(){return ae},m7:function(){return K},mQ:function(){return M},mz:function(){return pt},n$:function(){return $},oK:function(){return y},oN:function(){return Ut},pH:function(){return nt},pb:function(){return Ce},qP:function(){return Je},ql:function(){return Wt},rN:function(){return ge},sw:function(){return _e},t1:function(){return Ie},to:function(){return ie},ub:function(){return Kt},ux:function(){return le},wS:function(){return Dt},wT:function(){return A},yT:function(){return Ct},yy:function(){return At},z2:function(){return xt}});var r=e(43597),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Oe,wt,ye)=>wt in Oe?i(Oe,wt,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Oe[wt]=ye,a=(Oe,wt)=>{for(var ye in wt||(wt={}))o.call(wt,ye)&&u(Oe,ye,wt[ye]);if(f)for(var ye of f(wt))h.call(wt,ye)&&u(Oe,ye,wt[ye]);return Oe},x=(Oe,wt)=>l(Oe,c(wt)),p=(Oe,wt,ye)=>new Promise((Xe,vt)=>{var Rt=Et=>{try{Dr(ye.next(Et))}catch(Yr){vt(Yr)}},Ne=Et=>{try{Dr(ye.throw(Et))}catch(Yr){vt(Yr)}},Dr=Et=>Et.done?Xe(Et.value):Promise.resolve(Et.value).then(Rt,Ne);Dr((ye=ye.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})}),k=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})}),R=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})}),A=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})}),I=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})}),B=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 N(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.json`,{method:"post",body:a({},Oe)})})}function V(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/student_works.json`,{method:"get",params:a({},Oe)})})}function W(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Oe.categoryId}/header_info.json`,{method:"get",params:a({},Oe)})})}function H(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe}/query_game_url.json`,{method:"get"})})}function te(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 oe(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 J(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 Q(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/settings.json`,{method:"get",params:a({},Oe)})})}function K(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_settings.json`,{method:"post",body:a({},Oe)})})}function se(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/group_list.json`,{method:"get",params:a({},Oe)})})}function ee(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/works_list.xlsx`,{method:"get",params:a({},Oe)})})}function X(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 $(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Oe)})})}function ae(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 Ie(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 ke(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 We(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 Mt(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 Pt(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Oe)})})}function tr(Oe){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Oe)})})}function Vt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_explanation.json`,{method:"post",body:a({},Oe)})})}function lr(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons.json`,{method:"post",body:a({},Oe)})})}function Ke(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}.json`,{method:"put",body:a({},Oe)})})}function Ct(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 it(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/edit.json`,{method:"get",params:a({},Oe)})})}function xt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}.json`,{method:"put",body:a({},Oe)})})}function pt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Oe)})})}function et(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Oe)})})}function Ze(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 Ae(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 Ue(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Oe.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Oe)})})}function Ge(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 ut(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}.json`,{method:"get",params:a({},Oe)})})}function Kt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/supply_attachments.json`,{method:"get",params:a({},Oe)})})}function Zt(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/comment_list.json`,{method:"get",params:a({},Oe)})})}function De(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/destroy_score.json`,{method:"delete",body:a({},Oe)})})}function Je(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 Wt(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 Ft(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Oe.categoryId}/update_score.json`,{method:"get",params:a({},Oe)})})}function At(Oe){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Oe.userId}/add_score.json`,{method:"post",body:a({},Oe)})})}function Yt(Oe){return p(this,null,function*(){return Fetch(`/api/student_works/${Oe.userId}/cancel_appeal.json`,{method:"post",body:a({},Oe)})})}function Ye(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 ce(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 Dt(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 St(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)})})}},16140:function(d,v,e){"use strict";e.d(v,{$Q:function(){return $r},AE:function(){return Ft},AQ:function(){return M},Ag:function(){return wt},Ar:function(){return le},At:function(){return kt},BK:function(){return V},Bj:function(){return jt},DC:function(){return Ke},Dz:function(){return mt},E4:function(){return lr},EH:function(){return ae},Ee:function(){return bn},Er:function(){return ee},FB:function(){return N},Fg:function(){return S},GI:function(){return ke},Gr:function(){return pt},Gu:function(){return Ie},Gz:function(){return b},HS:function(){return xi},Hl:function(){return y},IT:function(){return St},I_:function(){return A},Ir:function(){return W},Je:function(){return Ne},K:function(){return Nt},K0:function(){return Nr},KM:function(){return J},K_:function(){return Hr},LK:function(){return Dr},LP:function(){return We},Ne:function(){return se},OV:function(){return Mt},OW:function(){return $},Op:function(){return Er},P2:function(){return Pt},Po:function(){return I},Ps:function(){return et},Q:function(){return K},Q1:function(){return Ar},QA:function(){return Ii},Ql:function(){return ge},Rs:function(){return De},SG:function(){return Hi},Tn:function(){return Yt},Tr:function(){return Ti},U0:function(){return Ge},U9:function(){return Ze},UQ:function(){return Ce},Ui:function(){return _r},Vx:function(){return at},WO:function(){return X},WT:function(){return Ai},Wi:function(){return it},Wl:function(){return ye},X$:function(){return tr},Yn:function(){return ce},Z2:function(){return Ct},ZO:function(){return xt},Zt:function(){return gt},_7:function(){return Q},_9:function(){return pe},aH:function(){return Ae},al:function(){return Kt},b8:function(){return z},bq:function(){return Ye},dK:function(){return H},e:function(){return k},eX:function(){return _e},eb:function(){return Je},fL:function(){return Rt},h4:function(){return vr},hS:function(){return _},he:function(){return R},hn:function(){return ie},ii:function(){return Zt},im:function(){return Dt},j8:function(){return je},jq:function(){return Jr},kF:function(){return Yr},km:function(){return ut},l3:function(){return yt},m7:function(){return Ue},mI:function(){return Ri},n5:function(){return B},nu:function(){return Et},p0:function(){return Ut},q0:function(){return zt},q9:function(){return or},qA:function(){return pn},rO:function(){return Ot},rs:function(){return oe},sr:function(){return ft},t2:function(){return Oe},tX:function(){return Yn},uo:function(){return nt},v3:function(){return vt},w:function(){return Xe},xK:function(){return At},xg:function(){return Wt},xk:function(){return Vt},yE:function(){return Me},yx:function(){return Yi},zD:function(){return te},zH:function(){return on}});var r=e(43597),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(xe,Kn,qn)=>Kn in xe?i(xe,Kn,{enumerable:!0,configurable:!0,writable:!0,value:qn}):xe[Kn]=qn,a=(xe,Kn)=>{for(var qn in Kn||(Kn={}))o.call(Kn,qn)&&u(xe,qn,Kn[qn]);if(f)for(var qn of f(Kn))h.call(Kn,qn)&&u(xe,qn,Kn[qn]);return xe},x=(xe,Kn)=>l(xe,c(Kn)),p=(xe,Kn,qn)=>new Promise((Jn,oa)=>{var Di=Qt=>{try{pi(qn.next(Qt))}catch(dt){oa(dt)}},Ci=Qt=>{try{pi(qn.throw(Qt))}catch(dt){oa(dt)}},pi=Qt=>Qt.done?Jn(Qt.value):Promise.resolve(Qt.value).then(Di,Ci);pi((qn=qn.apply(xe,Kn)).next())});const y=xe=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:xe})}),_=xe=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:xe})}),b=xe=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:xe})}),S=xe=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:xe})}),k=xe=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:xe})});function R(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},xe)})})}function A(xe){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},xe||{})})})}function I(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}.json`,{method:"Get",params:xe})})}function M(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/show_right.json`,{method:"Get"})})}function B(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges.json`,{method:"Get"})})}function N(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:xe.save_type}})})}function V(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/jupyter_exec.json${xe.reset?`?reset=${xe.reset}`:""}`,{method:"Get",params:xe})})}function W(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/shixun_exec.json${xe.reset?`?reset=${xe.reset}`:""}`,{method:"Get",params:xe})})}function H(xe){return p(this,null,function*(){return(0,r.ZP)(xe.url,{method:"Get"})})}function te(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.shixun_identifier}/challenges/${xe.challenge_id}/index_up.json`,{method:"Get"})})}function ie(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.shixun_identifier}/challenges/${xe.challenge_id}/index_down.json`,{method:"Get"})})}function oe(xe){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:xe.container_id,container_type:xe.container_type}})})}function J(xe){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:xe.container_id,container_type:xe.container_type}})})}function Q(xe){return p(this,null,function*(){const{id:Kn}=xe||{};return(0,r.ZP)(`/api/shixuns/${Kn}/search_user_courses.json`,{method:"Get",params:xe})})}function K(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe==null?void 0:xe.id}/send_to_course.json`,{method:"Post",body:a({},xe)})})}function se(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/cancel_publish.json`,{method:"Get"})})}function ee(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/cancel_apply_public.json`,{method:"Get"})})}function X(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/apply_public.json`,{method:"post",body:a({},xe)})})}function le(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/publish.json`,{method:"Get"})})}function z(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function $(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${xe.id}.json`,{method:"delete"})})}function ae(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:xe})})}function _e(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:xe})})}function Ie(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:xe})})}function ke(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/review_newest_record.json`,{method:"Get"})})}function We(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/review_shixun.json`,{method:"post",body:xe})})}function je(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/collaborators.json`,{method:"Get",params:xe})})}function Mt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/shixun_members_added.json`,{method:"post",body:xe})})}function yt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.identifier}/add_members_group.json`,{method:"post",body:xe})})}function Pt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/change_manager.json`,{method:"Get",params:xe})})}function tr(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/change_manager.json`,{method:"post",body:xe})})}function Vt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/collaborators_delete.json`,{method:"delete",body:{user_id:xe.userId}})})}function lr(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/ranking_list.json`,{method:"Get"})})}function Ke(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/settings.json`,{method:"Get"})})}function Ct(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:xe.mirror_id}})})}function jt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/get_script_contents.json`,{method:"Get",params:xe})})}function it(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/get_custom_script.json`,{method:"Get",params:xe})})}function xt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/update_for_jupyter.json`,{method:"put",body:xe})})}function pt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/shixun_quotes.json`,{method:"Get"})})}function et(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}.json`,{method:"delete"})})}function Ze(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/close.json`,{method:"post",body:xe})})}function ge(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:xe})})}function Ae(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/update_permission_setting.json`,{method:"post",body:xe})})}function Me(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/update_learn_setting.json`,{method:"post",body:xe})})}function Ue(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/update_setting`,{method:"post",body:xe})})}function Ge(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/get_data_sets.json`,{method:"Get",params:xe})})}function nt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/destroy_data_sets.json`,{method:"Delete",body:{id:xe.deleteId}})})}function ut(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/new.json`,{method:"get"})})}function Kt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.identifier}/challenges.json`,{method:"post",body:a({},xe)})})}function Zt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengeId}/edit.json`,{method:"get",params:{tab:xe.tab}})})}function De(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}.json`,{method:"put",body:a({},xe)})})}function Je(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/choose_questions.json`,{method:"get"})})}function Wt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/move_position.json`,{method:"post",body:a({},xe)})})}function Ot(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}.json`,{method:"delete",body:a({},xe)})})}function zt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/edit.json`,{method:"get",params:a({},xe)})})}function Ft(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengeId}/answer.json`,{method:"get",params:a({},xe)})})}function At(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengeId}/crud_answer.json`,{method:"post",body:a({},xe)})})}function Yt(xe){return p(this,null,function*(){if(xe.type===1)return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/create_choose_question.json`,{method:"post",body:a({},xe)});if(xe.type===2)return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/create_blank_question.json`,{method:"post",body:a({},xe)});if(xe.type===3)return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/create_judge_question.json`,{method:"post",body:a({},xe)})})}function Ye(xe){return p(this,null,function*(){if(xe.type===1)return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},xe),{choose_id:xe.questionId})});if(xe.type===2)return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},xe),{choose_id:xe.questionId})});if(xe.type===3)return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},xe),{choose_id:xe.questionId})})})}function ce(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:xe.questionId}})})}function pe(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:xe.questionId}})})}function Dt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:xe.questionId}})})}function Ce(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/challenges/${xe.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},xe),{choose_id:xe.questionId})})})}function ft(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/delete_git_file.json`,{method:"Delete",body:xe})})}function Ut(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xe.id}/delete_git_file.json`,{method:"Delete",body:xe})})}function St(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/mv_file.json`,{method:"post",body:xe})})}function Oe(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xe.id}/mv_file.json`,{method:"post",body:xe})})}function wt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/repository.json`,{method:"post",body:xe})})}function ye(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xe.id}/repository.json`,{method:"post",body:xe})})}function Xe(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/secret_repository.json`,{method:"post",body:xe})})}function vt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/add_file.json`,{method:"post",body:xe})})}function Rt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xe.id}/add_file.json`,{method:"post",body:xe})})}function Ne(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/commits.json`,{method:"post",body:xe})})}function Dr(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/file_content.json`,{method:"post",body:xe})})}function Et(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xe.id}/file_content.json`,{method:"post",body:xe})})}function Yr(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/update_file.json`,{method:"post",body:xe})})}function Jr(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xe.id}/update_file.json`,{method:"post",body:xe})})}function Er(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/upload_git_folder.json`,{method:"post",body:{path:xe.path,secret_repository:xe.secret_repository}})})}function $r(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/${xe.url}`,{method:"Get"})})}function _r(xe){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:xe})})}function Hr(xe){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:xe})})}function on(xe){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:xe})})}function pn(xe){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:xe})})}function or(xe){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:xe})})}function kt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/fork_list.json`,{method:"Get",params:xe})})}function mt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.identifier}/change_editable.json`,{method:"put",body:a({},xe)})})}function gt(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/set_secret_dir.json`,{method:"post",body:a({},xe)})})}function Nt(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:xe})})}function Ar(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:xe})})}function vr(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/init_repository.json`,{method:"post",body:a({},xe)})})}function at(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${xe.id}/init_repository.json`,{method:"post",body:a({},xe)})})}function Nr(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/update_secret_repository.json`,{method:"post",body:a({},xe)})})}function bn(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/exist_exercise.json`,{method:"get",params:a({},xe)})})}function Yn(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${xe.id}.json`,{method:"get",params:a({},xe)})})}function mr(xe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xe.id}/publish.json`,{method:"post",body:a({},xe)})})}function rn(xe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xe.id}/open_vnc.json`,{method:"post",params:a({},xe)})})}function gn(xe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xe.id}/open_webssh.json`,{method:"post",params:a({},xe)})})}function Mn(xe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xe.id}/save_image.json`,{method:"post",body:a({},xe)})})}function ai(xe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xe.id}/delete_image.json`,{method:"post",body:a({},xe)})})}function hi(xe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xe.id}/extend_vnc.json`,{method:"post",body:a({},xe)})})}function Vi(xe){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${xe.id}/reset_vnc_link.json`,{method:"post",body:a({},xe)})})}function Yi(xe){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},xe)})})}function Ri(xe){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},xe)})})}function Ii(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},xe)})})}function Ti(xe){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:xe})})}function Ai(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${xe}`,{method:"get",params:{is_initiative_study:1}})})}function oi(xe){return p(this,null,function*(){return Fetch(`/api/shixuns/${xe.id}/update_shixun_study_num.json`,{method:"post",body:a({},xe)})})}function Hi(xe){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:xe})})}function xi(xe){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${xe}/recommend_config.json`,{method:"get"})})}},62213: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 W},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return A},oZ:function(){return _},rM:function(){return I},r_:function(){return V},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,te,ie)=>te in H?i(H,te,{enumerable:!0,configurable:!0,writable:!0,value:ie}):H[te]=ie,h=(H,te)=>{for(var ie in te||(te={}))c.call(te,ie)&&o(H,ie,te[ie]);if(l)for(var ie of l(te))f.call(te,ie)&&o(H,ie,te[ie]);return H},u=(H,te,ie)=>new Promise((oe,J)=>{var Q=ee=>{try{se(ie.next(ee))}catch(X){J(X)}},K=ee=>{try{se(ie.throw(ee))}catch(X){J(X)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(Q,K);se((ie=ie.apply(H,te)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function _(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function S(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function I(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,te){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:te})})}function V(H,te){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:te})})}function W(H,te){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:te})})}},86914:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return Q},DA:function(){return I},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return tr},FM:function(){return ie},Fn:function(){return X},Gq:function(){return lr},Ho:function(){return B},IU:function(){return _e},JJ:function(){return le},Ol:function(){return je},Qx:function(){return te},Tv:function(){return z},V8:function(){return x},WS:function(){return K},WY:function(){return H},ai:function(){return J},bG:function(){return k},bJ:function(){return a},c0:function(){return Vt},dE:function(){return ae},dt:function(){return $},gI:function(){return se},lO:function(){return oe},mW:function(){return W},n0:function(){return A},nV:function(){return We},o1:function(){return Mt},qE:function(){return _},qN:function(){return M},rV:function(){return N},sh:function(){return ke},vR:function(){return S},w3:function(){return V},x4:function(){return R},z2:function(){return yt}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ke,Ct,jt)=>Ct in Ke?i(Ke,Ct,{enumerable:!0,configurable:!0,writable:!0,value:jt}):Ke[Ct]=jt,h=(Ke,Ct)=>{for(var jt in Ct||(Ct={}))c.call(Ct,jt)&&o(Ke,jt,Ct[jt]);if(l)for(var jt of l(Ct))f.call(Ct,jt)&&o(Ke,jt,Ct[jt]);return Ke},u=(Ke,Ct,jt)=>new Promise((it,xt)=>{var pt=ge=>{try{Ze(jt.next(ge))}catch(Ae){xt(Ae)}},et=ge=>{try{Ze(jt.throw(ge))}catch(Ae){xt(Ae)}},Ze=ge=>ge.done?it(ge.value):Promise.resolve(ge.value).then(pt,et);Ze((jt=jt.apply(Ke,Ct)).next())});const a=Ke=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ke.id}/move.json`,{method:"post",body:Ke})}),x=Ke=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ke.id}.json`,{method:"delete",body:Ke})}),p=Ke=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${Ke.id}.json`,{method:"put",body:Ke})}),y=Ke=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:Ke})}),_=Ke=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:Ke})});function b(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},Ke)})})}function S(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},Ke)})})}function R(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},Ke)})})}function A(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function I(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/homepage_info.json`,{method:"get"})})}function M(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/courses.json`,{method:"get",params:Ke})})}function N(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/shixuns.json`,{method:"get",params:Ke})})}function V(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/subjects.json`,{method:"get",params:Ke})})}function W(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/projects.json`,{method:"get",params:Ke})})}function H(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/videos.json`,{method:"get",params:Ke})})}function te(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/videos/review.json`,{method:"get",params:Ke})})}function ie(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/videos/${Ke.id}.json`,{method:"delete"})})}function oe(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:Ke})})}function J(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:Ke})})}function Q(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:Ke})})}function K(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:Ke})})}function se(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ke})})}function ee(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:Ke})})}function X(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/videos/${Ke.object_id}/create_course_video.json`,{method:"post",body:Ke})})}function le(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ke.topicId}.json`,{method:"get",params:Ke})})}function z(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},Ke)})})}function $(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${Ke.username}/videos/batch_publish.json`,{method:"post",body:Ke})})}function ae(Ke){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ke.identifier}/cancel.json`,{method:"delete",body:h({},Ke)})})}function _e(Ke){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},Ke)})})}function Ie(Ke){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},Ke)})})}function ke(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function We(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function je(Ke){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:Ke})}function Mt(Ke){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ke})}function yt(Ke){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},Ke)})}function Pt(Ke){return Fetch("/api/weapps/register.json",{method:"post",body:h({},Ke)})}function tr(Ke){return(0,r.ZP)(`/api/users/accounts/${Ke.login}/password.json`,{method:"put",body:h({},Ke)})}function Vt(Ke){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},Ke)})}function lr(Ke){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},Ke)})}},51148:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return B},Db:function(){return oe},Ju:function(){return ie},Mz:function(){return W},O2:function(){return _},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return V},cU:function(){return p},fn:function(){return te},jK:function(){return R},yN:function(){return H}});var r=e(43597),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(J,Q,K)=>Q in J?i(J,Q,{enumerable:!0,configurable:!0,writable:!0,value:K}):J[Q]=K,h=(J,Q)=>{for(var K in Q||(Q={}))c.call(Q,K)&&o(J,K,Q[K]);if(l)for(var K of l(Q))f.call(Q,K)&&o(J,K,Q[K]);return J},u=(J,Q,K)=>new Promise((se,ee)=>{var X=$=>{try{z(K.next($))}catch(ae){ee(ae)}},le=$=>{try{z(K.throw($))}catch(ae){ee(ae)}},z=$=>$.done?se($.value):Promise.resolve($.value).then(X,le);z((K=K.apply(J,Q)).next())});function a(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},J)})})}function x(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/watch_statics.json`,{method:"Get",params:h({},J)})})}function p(J){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${J.videoId}/watch_histories.json`,{method:"Get",params:h({},J)})})}function y(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},J)})})}function _(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}.json`,{method:"Get",params:h({},J)})})}function b(J){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:J})})}function S(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function k(J){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${J.id}/edit.json`,{method:"Get",params:h({},J)})})}function R(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/star.json`,{method:"post",body:J})})}function A(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}.json`,{method:"put",body:J})})}function I(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/send_to_course.json`,{method:"post",body:J})})}function M(J){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},J)})})}function B(J){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${J.id}/view_video.json`,{method:"post",body:J})})}function N(J){return u(this,null,function*(){return Fetch(`/api/video_items/${J.id}/add_school.json`,{method:"post",body:J})})}function V(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_people_statics.json`,{method:"get",params:J})})}function W(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J.course_id}/video_duration_statics.json`,{method:"get",params:J})})}function H(J){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:J})})}function te(J){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${J==null?void 0:J.id}/course_videos_tree.json`,{method:"get",params:J})})}function ie(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:J})})}function oe(J){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:J})})}},26841:function(d,v,e){"use strict";e.d(v,{A:function(){return W},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return _},LY:function(){return M},Ll:function(){return o},MM:function(){return R},Ps:function(){return B},Sl:function(){return S},To:function(){return p},Vf:function(){return y},XQ:function(){return f},b:function(){return a},bq:function(){return V},cZ:function(){return u},rV:function(){return I},sT:function(){return b},tS:function(){return N},xt:function(){return A},y2:function(){return l}});var r=e(43597),i=(H,te,ie)=>new Promise((oe,J)=>{var Q=ee=>{try{se(ie.next(ee))}catch(X){J(X)}},K=ee=>{try{se(ie.throw(ee))}catch(X){J(X)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(Q,K);se((ie=ie.apply(H,te)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function _(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function S(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function I(H,te){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:te})})}function M(H,te){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:te})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,te){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:te})})}function V(H,te){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:te})})}function W(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},47141:function(d,v,e){"use strict";e.d(v,{$O:function(){return Q},EO:function(){return nt},G5:function(){return V},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return Ge},JL:function(){return A},Jd:function(){return J},Ny:function(){return k},RV:function(){return ie},Rb:function(){return N},Rm:function(){return W},V9:function(){return $},Yh:function(){return X},aN:function(){return b},aQ:function(){return u},ag:function(){return Ue},bg:function(){return Kt},d8:function(){return B},dE:function(){return te},eB:function(){return oe},eY:function(){return Zt},fn:function(){return Me},h:function(){return Ft},j5:function(){return _},m$:function(){return De},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Wt},y8:function(){return ut}});var r=e(92123),i=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.CertifiedTeacher=5]="CertifiedTeacher",At[At.TrainingProduction=8]="TrainingProduction",At[At.UncertifiedTeacher=12]="UncertifiedTeacher",At[At.Student=15]="Student",At))(i||{}),l=(At=>(At[At.SuperAdmin=1]="SuperAdmin",At[At.Operation=2]="Operation",At[At.Admin=5]="Admin",At[At.Teacher=8]="Teacher",At[At.Assistant=12]="Assistant",At[At.Student=15]="Student",At))(l||{}),c=(At=>(At[At.SuperAdmin=0]="SuperAdmin",At[At.Teacher=1]="Teacher",At[At.Student=2]="Student",At))(c||{});const f=At=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ye}=Yt;return At.some(ce=>ce==(Ye==null?void 0:Ye.role))},o=At=>{const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ye}=Yt;return Ye!=null&&Ye.own?!0:At.some(ce=>{var pe;return ce==((pe=Ye==null?void 0:Ye.course)==null?void 0:pe.course_role)})},h=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState(),{userInfo:Yt}=At;return Yt.main_site},u=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ye}=Yt;return(At=Ye==null?void 0:Ye.course)==null?void 0:At.course_is_end},a=()=>{const{user:At}=getDvaApp()._store.getState(),{userInfo:Yt}=At;return Yt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),_=()=>o([1]),b=()=>o([1,2,5]),S=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),A=()=>f([1,2,5]),I=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),V=()=>o([1,2,5,8]),W=()=>o([12]),H=()=>o([8]),te=()=>o([15]),ie=()=>o([1,2,5,8,12,15]),oe=()=>o([1,2,5,8,12]),J=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ye}=Yt;return((At=Ye==null?void 0:Ye.course)==null?void 0:At.course_role)===null},Q=()=>{var At;const{user:Yt,globalSetting:Ye}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Yt,pe=((At=Ye==null?void 0:Ye.setting)==null?void 0:At.big_model_users)||[];return pe==null?void 0:pe.includes(ce==null?void 0:ce.login)},K=(At=!0,Yt=!1)=>f([1,2,5,8,12,15]),se=(At=!0,Yt=!1)=>Yt||!Yt&&f([1]),ee=(At=!0,Yt=!1)=>Yt||!Yt&&f([1,2]),X=()=>f([15]),le=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),z=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),$=(At=!0,Yt=!1)=>{const{user:Ye}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ye;return ce!=null&&ce.is_shixun_marker?!0:f([1,2,5,8])},ae=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),_e=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),Ie=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),ke=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),We=(At=!0,Yt=!1)=>At?f([1,2,5]):Yt||!Yt&&f([1,2]),je=(At=!0,Yt=!1)=>At?f([1]):!1,Mt=(At=!0,Yt=!1)=>f([1,2,5,8,12,15]),yt=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),Pt=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),tr=(At=!0,Yt=!1)=>At?f([1,2,5,8,12,15]):Yt||!Yt&&f([1,2]),Vt=(At=!0,Yt=!1)=>At?!1:Yt||!Yt&&f([1,2]),lr=(At=!0,Yt=!1)=>At?Yt||!Yt&&f([1,2]):!1,Ke=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):!1,Ct=(At=!0,Yt=!1)=>At?!Yt&&f([1,2,5,8,12]):!1,jt=(At=!0,Yt=!1)=>At?f([1,2,5]):Yt||!Yt&&f([1,2]),it=(At=!0,Yt=!1)=>f([1,2,5,8,12]),xt=(At=!0,Yt=!1)=>At?f([1]):Yt||!Yt&&f([1]),pt=(At=!0,Yt=!1)=>At?f([1,2]):Yt||!Yt&&f([1,2]),et=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ze=(At=!0,Yt=!1)=>At?Yt||!Yt&&f([1,2]):!1,ge=(At=!0,Yt=!1)=>At?f([1,2,5,8,12]):Yt||!Yt&&f([1,2]),Ae=(At=!0,Yt=!1)=>o([8]),Me=()=>f([1]),Ue=()=>f([1,2]),Ge=()=>f([15]),nt=()=>f([1,2,5]),ut=()=>f([1,2,5,12]),Kt=()=>{var At;const{user:Yt}=(0,r.getDvaApp)()._store.getState();return!!((At=Yt.userInfo)!=null&&At.login)},Zt=()=>{const{user:At}=(0,r.getDvaApp)()._store.getState();return At.userInfo},De=()=>{var At,Yt;const{user:Ye}=(0,r.getDvaApp)()._store.getState();return!!((Yt=(At=Ye.userInfo)==null?void 0:At.path)!=null&&Yt.own)},Je=At=>{const{graduations:Yt}=(0,r.getDvaApp)()._store.getState(),{details:Ye}=Yt;return At.some(ce=>ce===(Ye==null?void 0:Ye.user_identity))},Wt=()=>Je([0,1]),Ot=()=>Je([0]),zt=()=>Je([1]),Ft=()=>Je([2])},21585: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=(o=>(o.PROBLEM="problem",o.PAPER="paper",o.OTHER="other",o))(l||{}),c=(o=>(o.SINGLE="single",o.MULTIPLEFLOW="multiple_flow",o.MULTIPLEFIXED="multiple_fixed",o.OTHER="other",o))(c||{}),f=(o=>(o[o.BISHI=1]="BISHI",o[o.JISHI=2]="JISHI",o[o.KOUSHI=3]="KOUSHI",o[o.OTHER=4]="OTHER",o))(f||{})},20446: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"}},85386:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.182/",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.111",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const o=location.host;return o==="test3.educoder.net"&&(f="https://test3-data.educoder.net"),o==="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"]},43597:function(d,v,e){"use strict";e.d(v,{IV:function(){return z},U2:function(){return se},ZP:function(){return oe},d4:function(){return ee},gz:function(){return le},rz:function(){return ie},v_:function(){return X}});var r=e(85386),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(92123),a=e(94601),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=($,ae,_e)=>ae in $?y($,ae,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[ae]=_e,I=($,ae)=>{for(var _e in ae||(ae={}))k.call(ae,_e)&&A($,_e,ae[_e]);if(S)for(var _e of S(ae))R.call(ae,_e)&&A($,_e,ae[_e]);return $},M=($,ae)=>_($,b(ae)),B=($,ae,_e)=>new Promise((Ie,ke)=>{var We=yt=>{try{Mt(_e.next(yt))}catch(Pt){ke(Pt)}},je=yt=>{try{Mt(_e.throw(yt))}catch(Pt){ke(Pt)}},Mt=yt=>yt.done?Ie(yt.value):Promise.resolve(yt.value).then(We,je);Mt((_e=_e.apply($,ae)).next())});let N;const V={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"},W=($,ae)=>B(void 0,null,function*(){if($.status>=200&&$.status<300)return $;const _e=V[$.status]||$.statusText;let Ie;var ke=$.json();yield ke.then((je,Mt)=>{setTimeout(()=>{let yt=(0,u.getDvaApp)()},400),Ie=je.message,window.showNetworkErrorTip(je.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`),i.Z.error({style:{wordBreak:"break-all"},message:je.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`,description:je.message?"":_e})});const We=new Error(_e);throw We.name=$.status,We.response=$,{data:$,code:$.status,message:Ie||_e}}),H=($,ae)=>{const _e=$.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&$.clone().text().then(()=>{}),$};function te($){try{return decodeURIComponent($),decodeURIComponent(encodeURIComponent($))===$}catch(ae){return!1}}const ie=$=>{$=$||{};let ae="";for(let _e in $)typeof $[_e]=="object"?Array.isArray($[_e])&&$[_e].forEach((Ie,ke)=>{ae+="&"+_e+"[]="+Ie}):$[_e]!==void 0&&(ae+="&"+_e+"="+(te($[_e])?$[_e]:encodeURIComponent($[_e])));return ae.substr(1)};function oe($,ae,_e,Ie){ae.method||(ae.method="get"),ae.method=ae.method.toUpperCase(),ae.mode="cors";const ke=I({},ae),{user:We}=(0,u.getDvaApp)()._store.getState(),{userInfo:je}=We,Mt=$+(ke.body?JSON.stringify(ke.body):""),yt=o().sha256().update(Mt).digest("hex"),Pt={credentials:"include",withCredentials:!0},tr={};je!=null&&je.login&&(tr.zzud=je==null?void 0:je.login,je!=null&&je.school_id&&(tr.zzsud=je==null?void 0:je.school_id),ke.params=I(I({},ke.params||{}),tr));let Vt=I(I({},Pt),(0,x.cloneDeep)(ke));(Vt.method==="POST"||Vt.method==="PUT"||Vt.method==="PATCH"||Vt.method==="DELETE")&&(_e?(Vt.headers=M(I({_method:ae.method.toUpperCase()},Vt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Vt.body=ke.body):(Vt.headers=I({Accept:"application/json",_method:ae.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},Vt.headers),Vt.body=JSON.stringify(ke.body))),Vt.method=="GET"?(Vt.headers=M(I({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ae.method.toUpperCase()},Vt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),ke.params&&ie(ke.params)&&($+="?"+ie(ke.params))):tr.zzud&&($+="?"+ie(I({},tr)));const lr=ke.expirys&&60;let Ke;(xt=>{xt.json="application/json;charset=UTF-8",xt.form="application/x-www-form-urlencoded; charset=UTF-8"})(Ke||(Ke={}));let Ct;(xt=>{xt.get="GET",xt.post="POST"})(Ct||(Ct={}));const jt=xt=>B(this,null,function*(){const pt=yield xt.arrayBuffer();let et;const Ze=new Blob([pt]);try{et=xt.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(Ue){et="userfiles.zip"}const ge=document.createElement("a"),Ae=window.URL.createObjectURL(Ze),Me=et;return ge.href=Ae,ge.download=Me,ge.click(),window.URL.revokeObjectURL(Ae),pt});let it=r.Z.API_SERVER;return(window.ENV==="dev"||$.startsWith("http"))&&(it=""),Vt.method=="GET"&&Vt.params&&Object.keys(Vt.params).map(xt=>{if(Vt.params[xt]&&!Array.isArray(Vt.params[xt]))try{Vt.params[xt]=encodeURIComponent(decodeURIComponent(Vt.params[xt]))}catch(pt){Vt.params[xt]=encodeURIComponent(Vt.params[xt])}}),(0,a.Ec)(Vt,$),Ie&&(it=""),Vt.headers._method=Vt.method,Vt.headers["X-HTTP-Method-Override"]=Vt.method,Vt.method!=="GET"&&(Vt.method="POST"),fetch(it+$,Vt).then(xt=>W(xt,I({url:r.Z.API_SERVER+$},Vt))).then(xt=>H(xt,yt)).then(xt=>B(this,null,function*(){var pt,et,Ze,ge;try{const Me=xt.headers.get("cs");Me&&(0,a.d8)("_educoder_session",Me,1)}catch(Me){}if(xt.status===204)return xt.text();let Ae;if(xt.headers.get("content-type").indexOf("application/json")>-1){Ae=yield xt.json();try{const Me=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,Ue=/\"\/api\/attachments\/(\d+)\//g,Ge=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,nt=/\/api\/attachments\/(\d+)/g,ut=/\/attachments\/download\/(\d+)/g;let Kt=JSON.stringify(Ae).replace(nt,(Zt,De,Je,Wt)=>{const Ot=De||Je||Wt;return"/api/attachments/"+(0,a.Jn)(Ot)}).replace(ut,(Zt,De,Je)=>{const Wt=De||Je;return"/attachments/download/"+(0,a.Jn)(Wt)}).replace(Me,(Zt,De,Je,Wt)=>{const Ot=De||Je||Wt;return"(/api/attachments/"+(0,a.Jn)(Ot)}).replace(Ue,(Zt,De,Je)=>{const Wt=De||Je;return'"/api/attachments/'+(0,a.Jn)(Wt)}).replace(Ge,(Zt,De,Je)=>{const Wt=De||Je;return"(/files/uploads/"+(0,a.Jn)(Wt)}).replace(/\r\n/g,`
|
|
|
`);Ae=JSON.parse(Kt)}catch(Me){}}else Vt.headers["Content-Type"]==="application/xml"?Ae=yield xt.text():(pt=ke.body)!=null&&pt.autoDownload||(et=ke.params)!=null&&et.autoDownload?Ae=yield jt(xt):Ae=yield xt.arrayBuffer();try{Ae.status===401&&(!((Ze=Vt.params)!=null&&Ze.hidePopLogin)||!((ge=Vt.body)!=null&&ge.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Ae.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.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 K(Ae,$),Ae})).catch(xt=>{try{const pt=xt.code;if(xt instanceof TypeError&&window.showNetworkErrorTip(`${$}<span class="ml10">${xt.message}</span>`),pt){if(pt===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}K(xt,$)}else $.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Vt.body}}):xt.message!=="403"&&window.showNetworkErrorTip(`${$}<span class="ml10">${xt.message}</span>`);return xt}catch(pt){}})}let J=!1,Q=!1;const K=($,ae)=>{var _e,Ie,ke;if($.status==-6&&!Q){Q=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>Q=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:$.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if($.status==-7){Q=!0,setTimeout(()=>Q=!1,500);let je="";(_e=$==null?void 0:$.data)!=null&&_e.exercise_list&&((ke=(Ie=$==null?void 0:$.data)==null?void 0:Ie.exercise_list)==null||ke.map(Mt=>{je+=`<a target="_blank" href="/classrooms/${Mt.identifier}/exercise">\u300A${Mt.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(($.status==-1||$.status==-2||$.status==-102||$.status>400)&&$.status!=403&&!Q){Q=!0,setTimeout(()=>Q=!1,500),c.ZP.warning({content:$.message,key:"message-key"});return}const We={403:"/403",404:"/404",500:"/500"};if(We[$.status]&&!J){const{user:je}=(0,u.getDvaApp)()._store.getState(),{userInfo:Mt}=je;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(J=!0),setTimeout(()=>J=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify($)),Object.values(We).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(We[$.status]),new Error("403")}};function se($,ae){return oe(`/api/${$}`,{method:"Get",params:ae||{}})}function ee($,ae){return oe(`/${$}`,{method:"Get",params:ae})}function X($,ae){return oe(`/api/${$}`,{method:"Post",body:I({},ae)})}function le($,ae){return oe(`/api/${$}`,{method:"Put",body:I({},ae)})}function z($,ae){return oe(`/api/${$}`,{method:"delete",body:I({},ae||{})})}},4094: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="},42684:function(d,v,e){"use strict";e.d(v,{AL:function(){return B},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 o(te,ie){const oe=te.match(/^(\s+)(?:```)/);if(oe===null)return ie;const J=oe[1];return ie.split(`
|
|
|
`).map(Q=>{const K=Q.match(/^\s+/);if(K===null)return Q;const[se]=K;return se.length>=J.length?Q.slice(J.length):Q}).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 _(te,ie,oe,J){if(ie>=te.length||te[ie].level<=oe)return ie;var Q=te[ie];J.push("<li><a href='#"+f+Q.anchor+"'>"+Q.text+"</a>"),ie++;var K=[];return ie=_(te,ie,Q.level,K),K.length>0&&(J.push("<ul>"),K.forEach(function(se){J.push(se)}),J.push("</ul>")),J.push("</li>"),ie=_(te,ie,oe,J),ie}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(te){const ie=x.exec(te);if(f+=1,ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},fences(te){const ie=this.rules.block.fences.exec(te);if(ie){const oe=ie[0];let J=o(oe,ie[3]||"");const Q=ie[2]?ie[2].trim():ie[2];if(["latex","katex","math"].indexOf(Q)>=0){const K=A(),se=J;J=K,I[K]={type:"block",expression:se}}return{type:"code",raw:oe,lang:Q,text:J}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const A=()=>`__special_katext_id_${R++}__`;let I={};function M(){return I}function B(){R=0,I={}}function N(te){return te=te.replace(k,(ie,oe)=>{const J=A();return I[J]={type:"inline",expression:oe},J}),te}const V=a.listitem;a.listitem=function(te){return V(N(te))};const W=a.paragraph;a.paragraph=function(te){return W(N(te))};const H=a.tablecell;a.tablecell=function(te,ie){return H(N(te),ie)},a.code=function(te,ie,oe){const J=(ie||"").match(/\S*/)[0];return J?["latex","katex","math"].indexOf(J)>=0?`<p class='editormd-tex'>${te}</p>`:`<pre class="prettyprint linenums"><code class="language-${ie}">${oe?te:(0,l.escape)(te,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(oe?te:(0,l.escape)(te,!0))+"</code></pre>"},a.heading=function(te,ie,oe){let J=this.options.headerPrefix+oe.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:J,level:ie,text:te}),"<h"+ie+' id="'+f+J+'">'+te+"</h"+ie+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),v.ZP=i()},94601:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jt:function(){return showInstallWebRtcDoc},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vQ:function(){return copyToClipboard},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(47141),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__(77527),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(39598),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(20446),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(92123),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__(85386),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(29724),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(17410),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(43597),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_18__=__webpack_require__(4094),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(56656),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(48228),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),__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=o=>{try{f(e.next(o))}catch(h){i(h)}},c=o=>{try{f(e.throw(o))}catch(h){i(h)}},f=o=>o.done?r(o.value):Promise.resolve(o.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(o,h){const u=[];for(let a=o;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 o=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,o),disabledMinutes:()=>e<=o?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 o=[];for(let h=c;h<f;h++)o.push(h);return o}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 o="";for(let h=0;h<f.length;h++){const u=+f[h],a=e[u],x=r[f.length-1-h];u===0?o[o.length-1]!==e[0]&&(o+=a):o+=a+x}return o[o.length-1]===e[0]&&(o=o.slice(0,-1)),o};let c="";for(let f=0;f<v.length;f++){const o=v[f],h=l(o),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),o=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":o>=1?i=""+o+"\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,e,r;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"AppliedProject":const{globalSetting:i}=(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.getState();return d.tiding_type==="Apply"?window.open(((v=i==null?void 0:i.setting)==null?void 0:v.old_url)+"/projects/"+(d==null?void 0:d.project_url)+"/setting/audit"):d.tiding_type==="System"&&(d==null?void 0:d.status)==1?window.open(((e=i==null?void 0:i.setting)==null?void 0:e.old_url)+"/projects/"+(d==null?void 0:d.project_url)+"/about"):void 0;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"Declaration":return window.open("/declaration/research/instruction");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/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.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(o){for(var h=new Array,u=0;u<o.length;u++)o[u]&&h.push(o[u]);return h},l=function(o){return encodeURIComponent(o).replace(/[!'()*]/g,escape)},c=function(o){return!isNaN(parseFloat(o))&&isFinite(o)},f=Object.keys(d).map(function(o){var h,u=o;if(typeof d[o]=="object"&&d[o]!==null)h=httpBuildQuery(d[o],null);else{v&&(u=c(u)?v+Number(u):u);var a=d[o];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();let i="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_18__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_18__.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(i)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),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_18__.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 o,h;return __spreadProps(__spreadValues({},f),{status:typeof(f==null?void 0:f.response)=="string"||((o=f==null?void 0:f.response)==null?void 0:o.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:o,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"},o),__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,k)=>{var R;return(R=S.questions)==null||R.forEach(A=>{p.push(A.id),y=y+A.score,_=_+1}),__spreadValues(__spreadValues({},S),{number:v[k+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:o,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"},o),__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((R,A)=>{p==null||p.map((I,M)=>{R.type===I.type&&y.push(I)})});const _=[];let b=0,S=0;const k=y.filter(R=>R.questions_count>0).map((R,A)=>{var I;return(I=R.questions)==null||I.forEach(M=>{_.push(M.id),b=b+M.score,S=S+1}),__spreadValues(__spreadValues({},R),{number:e[A+1]})});return{all_questions_count:S,all_score:b,questionList:k,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},8241: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)}},16371:function(d,v,e){"use strict";e.d(v,{Il:function(){return f},Ov:function(){return o},T$:function(){return u}});var r=e(38127),i=e(59301),l=e(35338),c=["element"],f=i.createContext({});function o(){return i.useContext(f)}function h(){var y=(0,l.TH)(),_=o(),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,k=(0,r.Z)(b,c);return k}function a(){var y=h(),_=o(),b=_.serverLoaderData,S=_.basename,k=React.useState(function(){var M={},B=!1;return y.forEach(function(N){var V=b[N.route.id];V&&(Object.assign(M,V),B=!0)}),B?M:void 0}),R=_slicedToArray(k,2),A=R[0],I=R[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(B){fetchServerLoader({id:M.route.id,basename:S,cb:B})})})).then(function(M){if(M.length){var B={};M.forEach(function(N){Object.assign(B,N)}),I(B)}})},[]),{data:A}}function x(){var y=useRouteData(),_=o();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 o=h=>{const{type:u,children:a,prefixCls:x,buttonProps:p,close:y,autoFocus:_,emitEvent:b,isSilent:S,quitOnNullishReturnValue:k,actionFn:R}=h,A=i.useRef(!1),I=i.useRef(null),[M,B]=(0,r.Z)(!1),N=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let H=null;return _&&(H=setTimeout(()=>{var te;(te=I.current)===null||te===void 0||te.focus()})),()=>{H&&clearTimeout(H)}},[]);const V=H=>{f(H)&&(B(!0),H.then(function(){B(!1,!0),N.apply(void 0,arguments),A.current=!1},te=>{if(B(!1,!0),A.current=!1,!(S!=null&&S()))return Promise.reject(te)}))},W=H=>{if(A.current)return;if(A.current=!0,!R){N();return}let te;if(b){if(te=R(H),k&&!f(te)){A.current=!1,N(H);return}}else if(R.length)te=R(y),A.current=!1;else if(te=R(),!te){N();return}V(te)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:W,loading:M,prefixCls:x},p,{ref:I}),a)};v.Z=o},53487:function(d,v,e){"use strict";e.d(v,{Z:function(){return o},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 o(h,u,a,x){function p(y){const{prefixCls:_,style:b}=y,S=i.useRef(null),[k,R]=i.useState(0),[A,I]=i.useState(0),[M,B]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:N}=i.useContext(c.E_),V=N(u||"select",_);i.useEffect(()=>{if(B(!0),typeof ResizeObserver!="undefined"){const H=new ResizeObserver(ie=>{const oe=ie[0].target;R(oe.offsetHeight+8),I(oe.offsetWidth)}),te=setInterval(()=>{var ie;const oe=a?`.${a(V)}`:`.${V}-dropdown`,J=(ie=S.current)===null||ie===void 0?void 0:ie.querySelector(oe);J&&(clearInterval(te),H.observe(J))},10);return()=>{clearInterval(te),H.disconnect()}}},[]);let W=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>S.current});return x&&(W=x(W)),i.createElement("div",{ref:S,style:{paddingBottom:k,position:"relative",minWidth:A}},i.createElement(h,Object.assign({},W)))}return f(p)}},36785:function(d,v,e){"use strict";e.d(v,{o2:function(){return f},yT:function(){return o}});var r=e(94480),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 o(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,o,h){return typeof f=="boolean"?f:o===void 0?!!h:o!==!1&&o!==null}function c(f,o,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,o,a))return[!1,null];const p=typeof o=="boolean"||o===void 0||o===null?u:o;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}},o=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 o}});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 o(h){const{arrowWidth:u,autoAdjustOverflow:a,arrowPointAtCenter:x,offset:p,borderRadius:y,visibleFirst:_}=h,b=u/2,S={};return Object.keys(l).forEach(k=>{const R=x&&c[k]||l[k],A=Object.assign(Object.assign({},R),{offset:[0,0]});switch(S[k]=A,f.has(k)&&(A.autoArrow=!1),k){case"top":case"topLeft":case"topRight":A.offset[1]=-b-p;break;case"bottom":case"bottomLeft":case"bottomRight":A.offset[1]=b+p;break;case"left":case"leftTop":case"leftBottom":A.offset[0]=-b-p;break;case"right":case"rightTop":case"rightBottom":A.offset[0]=b+p;break}const I=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(k){case"topLeft":case"bottomLeft":A.offset[0]=-I.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":A.offset[0]=I.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":A.offset[1]=-I.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":A.offset[1]=I.dropdownArrowOffset+b;break}A.overflow=i(k,I,u,a),_&&(A.htmlRegion="visibleFirst")}),S}},92343:function(d,v,e){"use strict";var r;e.d(v,{M2:function(){return c},Tm:function(){return o},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 o(h,u){return f(h,h,u)}},69507:function(d,v,e){"use strict";e.d(v,{ZP:function(){return o},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 k=`screen${_}Max`;if(!(a[S]<=a[k]))throw new Error(`${S}<=${k} fails : !(${a[S]}<=${a[k]})`);const A=`screen${x[y+1].toUpperCase()}Min`;if(!(a[k]<=a[A]))throw new Error(`${k}<=${A} fails : !(${a[k]}<=${a[A]})`)}}),u};function o(){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=R=>{let{matches:A}=R;this.dispatch(Object.assign(Object.assign({},y),{[_]:A}))},k=window.matchMedia(b);k.addListener(S),this.matchHandlers[b]={mql:k,listener:S},S(k)})},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 te}});var r=e(92310),i=e.n(r),l=e(8654),c=e(29194),f=e(59301),o=e(36355),h=e(92343),u=e(83116);const a=ie=>{const{componentCls:oe,colorPrimary:J}=ie;return{[oe]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${J})`,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 oe=(ie||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return oe&&oe[1]&&oe[2]&&oe[3]?!(oe[1]===oe[2]&&oe[2]===oe[3]):!0}function k(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 R(ie){const{borderTopColor:oe,borderColor:J,backgroundColor:Q}=getComputedStyle(ie);return k(oe)?oe:k(J)?J:k(Q)?Q:null}var A=e(4572);function I(ie){return Number.isNaN(ie)?0:ie}const M=ie=>{const{className:oe,target:J,component:Q}=ie,K=f.useRef(null),[se,ee]=f.useState(null),[X,le]=f.useState([]),[z,$]=f.useState(0),[ae,_e]=f.useState(0),[Ie,ke]=f.useState(0),[We,je]=f.useState(0),[Mt,yt]=f.useState(!1),Pt={left:z,top:ae,width:Ie,height:We,borderRadius:X.map(lr=>`${lr}px`).join(" ")};se&&(Pt["--wave-color"]=se);function tr(){const lr=getComputedStyle(J);ee(R(J));const Ke=lr.position==="static",{borderLeftWidth:Ct,borderTopWidth:jt}=lr;$(Ke?J.offsetLeft:I(-parseFloat(Ct))),_e(Ke?J.offsetTop:I(-parseFloat(jt))),ke(J.offsetWidth),je(J.offsetHeight);const{borderTopLeftRadius:it,borderTopRightRadius:xt,borderBottomLeftRadius:pt,borderBottomRightRadius:et}=lr;le([it,xt,et,pt].map(Ze=>I(parseFloat(Ze))))}if(f.useEffect(()=>{if(J){const lr=(0,y.Z)(()=>{tr(),yt(!0)});let Ke;return typeof ResizeObserver!="undefined"&&(Ke=new ResizeObserver(tr),Ke.observe(J)),()=>{y.Z.cancel(lr),Ke==null||Ke.disconnect()}}},[]),!Mt)return null;const Vt=(Q==="Checkbox"||Q==="Radio")&&(J==null?void 0:J.classList.contains(A.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(lr,Ke)=>{var Ct;if(Ke.deadline||Ke.propertyName==="opacity"){const jt=(Ct=K.current)===null||Ct===void 0?void 0:Ct.parentElement;(0,b.v)(jt).then(()=>{jt==null||jt.remove()})}return!1}},lr=>{let{className:Ke}=lr;return f.createElement("div",{ref:K,className:i()(oe,{"wave-quick":Vt},Ke),style:Pt})})};var N=(ie,oe)=>{var J;const{component:Q}=oe;if(Q==="Checkbox"&&!(!((J=ie.querySelector("input"))===null||J===void 0)&&J.checked))return;const K=document.createElement("div");K.style.position="absolute",K.style.left="0px",K.style.top="0px",ie==null||ie.insertBefore(K,ie==null?void 0:ie.firstChild),(0,b.s)(f.createElement(M,Object.assign({},oe,{target:ie})),K)},V=e(88088);function W(ie,oe,J){const{wave:Q}=f.useContext(o.E_),[,K,se]=(0,V.Z)(),ee=(0,p.useEvent)(z=>{const $=ie.current;if(Q!=null&&Q.disabled||!$)return;const ae=$.querySelector(`.${A.A}`)||$,{showEffect:_e}=Q||{};(_e||N)(ae,{className:oe,token:K,component:J,event:z,hashId:se})}),X=f.useRef();return z=>{y.Z.cancel(X.current),X.current=(0,y.Z)(()=>{ee(z)})}}var te=ie=>{const{children:oe,disabled:J,component:Q}=ie,{getPrefixCls:K}=(0,f.useContext)(o.E_),se=(0,f.useRef)(null),ee=K("wave"),[,X]=x(ee),le=W(se,i()(ee,X),Q);if(f.useEffect(()=>{const $=se.current;if(!$||$.nodeType!==1||J)return;const ae=_e=>{!(0,c.Z)(_e.target)||!$.getAttribute||$.getAttribute("disabled")||$.disabled||$.className.includes("disabled")||$.className.includes("-leave")||le(_e)};return $.addEventListener("click",ae,!0),()=>{$.removeEventListener("click",ae,!0)}},[J]),!f.isValidElement(oe))return oe!=null?oe:null;const z=(0,l.Yr)(oe)?(0,l.sQ)(oe.ref,se):se;return(0,h.Tm)(oe,{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 Yt}});var r=e(59301),i=e(92310),l=e.n(i),c=e(2738),f=e(8654),o=e(14088),h=e(36355),u=e(1684),a=e(19716),x=e(33234),p=e(88088),y=function(Ye,ce){var pe={};for(var Dt in Ye)Object.prototype.hasOwnProperty.call(Ye,Dt)&&ce.indexOf(Dt)<0&&(pe[Dt]=Ye[Dt]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Dt=Object.getOwnPropertySymbols(Ye);Ce<Dt.length;Ce++)ce.indexOf(Dt[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ye,Dt[Ce])&&(pe[Dt[Ce]]=Ye[Dt[Ce]]);return pe};const _=r.createContext(void 0);var S=Ye=>{const{getPrefixCls:ce,direction:pe}=r.useContext(h.E_),{prefixCls:Dt,size:Ce,className:ft}=Ye,Ut=y(Ye,["prefixCls","size","className"]),St=ce("btn-group",Dt),[,,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 ye=l()(St,{[`${St}-${wt}`]:wt,[`${St}-rtl`]:pe==="rtl"},ft,Oe);return r.createElement(_.Provider,{value:Ce},r.createElement("div",Object.assign({},Ut,{className:ye})))},k=e(92343);const R=/^[\u4e00-\u9fa5]{2}$/,A=R.test.bind(R);function I(Ye){return typeof Ye=="string"}function M(Ye){return Ye==="text"||Ye==="link"}function B(Ye,ce){if(Ye==null)return;const pe=ce?" ":"";return typeof Ye!="string"&&typeof Ye!="number"&&I(Ye.type)&&A(Ye.props.children)?(0,k.Tm)(Ye,{children:Ye.props.children.split("").join(pe)}):I(Ye)?A(Ye)?r.createElement("span",null,Ye.split("").join(pe)):r.createElement("span",null,Ye):(0,k.M2)(Ye)?r.createElement("span",null,Ye):Ye}function N(Ye,ce){let pe=!1;const Dt=[];return r.Children.forEach(Ye,Ce=>{const ft=typeof Ce,Ut=ft==="string"||ft==="number";if(pe&&Ut){const St=Dt.length-1,Oe=Dt[St];Dt[St]=`${Oe}${Ce}`}else Dt.push(Ce);pe=Ut}),r.Children.map(Dt,Ce=>B(Ce,ce))}const V=null,W=null,H=null;var ie=(0,r.forwardRef)((Ye,ce)=>{const{className:pe,style:Dt,children:Ce,prefixCls:ft}=Ye,Ut=l()(`${ft}-icon`,pe);return r.createElement("span",{ref:ce,className:Ut,style:Dt},Ce)}),oe=e(58617),J=e(77900);const Q=(0,r.forwardRef)((Ye,ce)=>{let{prefixCls:pe,className:Dt,style:Ce,iconClassName:ft}=Ye;const Ut=l()(`${pe}-loading-icon`,Dt);return r.createElement(ie,{prefixCls:pe,className:Ut,style:Ce,ref:ce},r.createElement(oe.Z,{className:ft}))}),K=()=>({width:0,opacity:0,transform:"scale(0)"}),se=Ye=>({width:Ye.scrollWidth,opacity:1,transform:"scale(1)"});var X=Ye=>{const{prefixCls:ce,loading:pe,existIcon:Dt,className:Ce,style:ft}=Ye,Ut=!!pe;return Dt?r.createElement(Q,{prefixCls:ce,className:Ce,style:ft}):r.createElement(J.default,{visible:Ut,motionName:`${ce}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:K,onAppearActive:se,onEnterStart:K,onEnterActive:se,onLeaveStart:se,onLeaveActive:K},(St,Oe)=>{let{className:wt,style:ye}=St;return r.createElement(Q,{prefixCls:ce,className:Ce,style:Object.assign(Object.assign({},ft),ye),ref:Oe,iconClassName:wt})})},le=e(17313),z=e(37613),$=e(83116);const ae=(Ye,ce)=>({[`> span, > ${Ye}`]:{"&:not(:last-child)":{[`&, & > ${Ye}`]:{"&:not(:disabled)":{borderInlineEndColor:ce}}},"&:not(:first-child)":{[`&, & > ${Ye}`]:{"&:not(:disabled)":{borderInlineStartColor:ce}}}}});var Ie=Ye=>{const{componentCls:ce,fontSize:pe,lineWidth:Dt,groupBorderColor:Ce,colorErrorHover:ft}=Ye;return{[`${ce}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${ce}`]:{"&:not(:last-child)":{[`&, & > ${ce}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Dt,[`&, & > ${ce}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[ce]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${ce}-icon-only`]:{fontSize:pe}},ae(`${ce}-primary`,Ce),ae(`${ce}-danger`,ft)]}};const ke=Ye=>{const{componentCls:ce,iconCls:pe,fontWeight:Dt}=Ye;return{[ce]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Dt,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Ye.lineWidth}px ${Ye.lineType} transparent`,cursor:"pointer",transition:`all ${Ye.motionDurationMid} ${Ye.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Ye.lineHeight,color:Ye.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${ce}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:Ye.marginXS},[`&:not(${ce}-icon-only) > ${ce}-icon`]:{[`&${ce}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Ye.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,le.Qy)(Ye)),[`&-icon-only${ce}-compact-item`]:{flex:"none"},[`&-compact-item${ce}-primary`]:{[`&:not([disabled]) + ${ce}-compact-item${ce}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ye.lineWidth,insetInlineStart:-Ye.lineWidth,display:"inline-block",width:Ye.lineWidth,height:`calc(100% + ${Ye.lineWidth*2}px)`,backgroundColor:Ye.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${ce}-primary`]:{[`&:not([disabled]) + ${ce}-compact-vertical-item${ce}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ye.lineWidth,insetInlineStart:-Ye.lineWidth,display:"inline-block",width:`calc(100% + ${Ye.lineWidth*2}px)`,height:Ye.lineWidth,backgroundColor:Ye.colorPrimaryHover,content:'""'}}}}}}},We=(Ye,ce,pe)=>({[`&:not(:disabled):not(${Ye}-disabled)`]:{"&:hover":ce,"&:active":pe}}),je=Ye=>({minWidth:Ye.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Mt=Ye=>({borderRadius:Ye.controlHeight,paddingInlineStart:Ye.controlHeight/2,paddingInlineEnd:Ye.controlHeight/2}),yt=Ye=>({cursor:"not-allowed",borderColor:Ye.borderColorDisabled,color:Ye.colorTextDisabled,backgroundColor:Ye.colorBgContainerDisabled,boxShadow:"none"}),Pt=(Ye,ce,pe,Dt,Ce,ft,Ut,St)=>({[`&${Ye}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:ce,borderColor:Dt||void 0,boxShadow:"none"},We(Ye,Object.assign({backgroundColor:ce},Ut),Object.assign({backgroundColor:ce},St))),{"&:disabled":{cursor:"not-allowed",color:Ce||void 0,borderColor:ft||void 0}})}),tr=Ye=>({[`&:disabled, &${Ye.componentCls}-disabled`]:Object.assign({},yt(Ye))}),Vt=Ye=>Object.assign({},tr(Ye)),lr=Ye=>({[`&:disabled, &${Ye.componentCls}-disabled`]:{cursor:"not-allowed",color:Ye.colorTextDisabled}}),Ke=Ye=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Vt(Ye)),{backgroundColor:Ye.defaultBg,borderColor:Ye.defaultBorderColor,color:Ye.defaultColor,boxShadow:Ye.defaultShadow}),We(Ye.componentCls,{color:Ye.colorPrimaryHover,borderColor:Ye.colorPrimaryHover},{color:Ye.colorPrimaryActive,borderColor:Ye.colorPrimaryActive})),Pt(Ye.componentCls,Ye.ghostBg,Ye.defaultGhostColor,Ye.defaultGhostBorderColor,Ye.colorTextDisabled,Ye.colorBorder)),{[`&${Ye.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Ye.colorError,borderColor:Ye.colorError},We(Ye.componentCls,{color:Ye.colorErrorHover,borderColor:Ye.colorErrorBorderHover},{color:Ye.colorErrorActive,borderColor:Ye.colorErrorActive})),Pt(Ye.componentCls,Ye.ghostBg,Ye.colorError,Ye.colorError,Ye.colorTextDisabled,Ye.colorBorder)),tr(Ye))}),Ct=Ye=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Vt(Ye)),{color:Ye.primaryColor,backgroundColor:Ye.colorPrimary,boxShadow:Ye.primaryShadow}),We(Ye.componentCls,{color:Ye.colorTextLightSolid,backgroundColor:Ye.colorPrimaryHover},{color:Ye.colorTextLightSolid,backgroundColor:Ye.colorPrimaryActive})),Pt(Ye.componentCls,Ye.ghostBg,Ye.colorPrimary,Ye.colorPrimary,Ye.colorTextDisabled,Ye.colorBorder,{color:Ye.colorPrimaryHover,borderColor:Ye.colorPrimaryHover},{color:Ye.colorPrimaryActive,borderColor:Ye.colorPrimaryActive})),{[`&${Ye.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Ye.colorError,boxShadow:Ye.dangerShadow,color:Ye.dangerColor},We(Ye.componentCls,{backgroundColor:Ye.colorErrorHover},{backgroundColor:Ye.colorErrorActive})),Pt(Ye.componentCls,Ye.ghostBg,Ye.colorError,Ye.colorError,Ye.colorTextDisabled,Ye.colorBorder,{color:Ye.colorErrorHover,borderColor:Ye.colorErrorHover},{color:Ye.colorErrorActive,borderColor:Ye.colorErrorActive})),tr(Ye))}),jt=Ye=>Object.assign(Object.assign({},Ke(Ye)),{borderStyle:"dashed"}),it=Ye=>Object.assign(Object.assign(Object.assign({color:Ye.colorLink},We(Ye.componentCls,{color:Ye.colorLinkHover,backgroundColor:Ye.linkHoverBg},{color:Ye.colorLinkActive})),lr(Ye)),{[`&${Ye.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ye.colorError},We(Ye.componentCls,{color:Ye.colorErrorHover},{color:Ye.colorErrorActive})),lr(Ye))}),xt=Ye=>Object.assign(Object.assign(Object.assign({},We(Ye.componentCls,{color:Ye.colorText,backgroundColor:Ye.textHoverBg},{color:Ye.colorText,backgroundColor:Ye.colorBgTextActive})),lr(Ye)),{[`&${Ye.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ye.colorError},lr(Ye)),We(Ye.componentCls,{color:Ye.colorErrorHover,backgroundColor:Ye.colorErrorBg},{color:Ye.colorErrorHover,backgroundColor:Ye.colorErrorBg}))}),pt=Ye=>{const{componentCls:ce}=Ye;return{[`${ce}-default`]:Ke(Ye),[`${ce}-primary`]:Ct(Ye),[`${ce}-dashed`]:jt(Ye),[`${ce}-link`]:it(Ye),[`${ce}-text`]:xt(Ye),[`${ce}-ghost`]:Pt(Ye.componentCls,Ye.ghostBg,Ye.colorBgContainer,Ye.colorBgContainer,Ye.colorTextDisabled,Ye.colorBorder)}},et=function(Ye){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:Dt,fontSize:Ce,lineHeight:ft,lineWidth:Ut,borderRadius:St,buttonPaddingHorizontal:Oe,iconCls:wt}=Ye,ye=Math.max(0,(Dt-Ce*ft)/2-Ut),Xe=`${pe}-icon-only`;return[{[`${pe}${ce}`]:{fontSize:Ce,height:Dt,padding:`${ye}px ${Oe}px`,borderRadius:St,[`&${Xe}`]:{width:Dt,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[wt]:{fontSize:Ye.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:Ye.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${Ye.motionDurationSlow} ${Ye.motionEaseInOut}, opacity ${Ye.motionDurationSlow} ${Ye.motionEaseInOut}`}}},{[`${pe}${pe}-circle${ce}`]:je(Ye)},{[`${pe}${pe}-round${ce}`]:Mt(Ye)}]},Ze=Ye=>et((0,z.TS)(Ye,{fontSize:Ye.contentFontSize})),ge=Ye=>{const ce=(0,z.TS)(Ye,{controlHeight:Ye.controlHeightSM,fontSize:Ye.contentFontSizeSM,padding:Ye.paddingXS,buttonPaddingHorizontal:Ye.paddingInlineSM,borderRadius:Ye.borderRadiusSM,buttonIconOnlyFontSize:Ye.onlyIconSizeSM});return et(ce,`${Ye.componentCls}-sm`)},Ae=Ye=>{const ce=(0,z.TS)(Ye,{controlHeight:Ye.controlHeightLG,fontSize:Ye.contentFontSizeLG,buttonPaddingHorizontal:Ye.paddingInlineLG,borderRadius:Ye.borderRadiusLG,buttonIconOnlyFontSize:Ye.onlyIconSizeLG});return et(ce,`${Ye.componentCls}-lg`)},Me=Ye=>{const{componentCls:ce}=Ye;return{[ce]:{[`&${ce}-block`]:{width:"100%"}}}},Ue=Ye=>{const{paddingInline:ce,onlyIconSize:pe}=Ye;return(0,z.TS)(Ye,{buttonPaddingHorizontal:ce,buttonIconOnlyFontSize:pe})},Ge=Ye=>({fontWeight:400,defaultShadow:`0 ${Ye.controlOutlineWidth}px 0 ${Ye.controlTmpOutline}`,primaryShadow:`0 ${Ye.controlOutlineWidth}px 0 ${Ye.controlOutline}`,dangerShadow:`0 ${Ye.controlOutlineWidth}px 0 ${Ye.colorErrorOutline}`,primaryColor:Ye.colorTextLightSolid,dangerColor:Ye.colorTextLightSolid,borderColorDisabled:Ye.colorBorder,defaultGhostColor:Ye.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Ye.colorBgContainer,paddingInline:Ye.paddingContentHorizontal-Ye.lineWidth,paddingInlineLG:Ye.paddingContentHorizontal-Ye.lineWidth,paddingInlineSM:8-Ye.lineWidth,onlyIconSize:Ye.fontSizeLG,onlyIconSizeSM:Ye.fontSizeLG-2,onlyIconSizeLG:Ye.fontSizeLG+2,groupBorderColor:Ye.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Ye.colorBgTextHover,defaultColor:Ye.colorText,defaultBg:Ye.colorBgContainer,defaultBorderColor:Ye.colorBorder,defaultBorderColorDisabled:Ye.colorBorder,contentFontSize:Ye.fontSize,contentFontSizeSM:Ye.fontSize,contentFontSizeLG:Ye.fontSizeLG});var nt=(0,$.Z)("Button",Ye=>{const ce=Ue(Ye);return[ke(ce),ge(ce),Ze(ce),Ae(ce),Me(ce),pt(ce),Ie(ce)]},Ge),ut=e(74207);function Kt(Ye,ce){return{[`&-item:not(${ce}-last-item)`]:{marginBottom:-Ye.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Zt(Ye,ce){return{[`&-item:not(${ce}-first-item):not(${ce}-last-item)`]:{borderRadius:0},[`&-item${ce}-first-item:not(${ce}-last-item)`]:{[`&, &${Ye}-sm, &${Ye}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${ce}-last-item:not(${ce}-first-item)`]:{[`&, &${Ye}-sm, &${Ye}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function De(Ye){const ce=`${Ye.componentCls}-compact-vertical`;return{[ce]:Object.assign(Object.assign({},Kt(Ye,ce)),Zt(Ye.componentCls,ce))}}var Je=(0,$.b)(["Button","compact"],Ye=>{const ce=Ue(Ye);return[(0,ut.c)(ce),De(ce)]},Ge),Wt=function(Ye,ce){var pe={};for(var Dt in Ye)Object.prototype.hasOwnProperty.call(Ye,Dt)&&ce.indexOf(Dt)<0&&(pe[Dt]=Ye[Dt]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Dt=Object.getOwnPropertySymbols(Ye);Ce<Dt.length;Ce++)ce.indexOf(Dt[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ye,Dt[Ce])&&(pe[Dt[Ce]]=Ye[Dt[Ce]]);return pe};function Ot(Ye){return Ye==="danger"?{danger:!0}:{type:Ye}}function zt(Ye){if(typeof Ye=="object"&&Ye){const ce=Ye==null?void 0:Ye.delay;return{loading:!1,delay:!Number.isNaN(ce)&&typeof ce=="number"?ce:0}}return{loading:!!Ye,delay:0}}const Ft=(Ye,ce)=>{var pe,Dt;const{loading:Ce=!1,prefixCls:ft,type:Ut="default",danger:St,shape:Oe="default",size:wt,styles:ye,disabled:Xe,className:vt,rootClassName:Rt,children:Ne,icon:Dr,ghost:Et=!1,block:Yr=!1,htmlType:Jr="button",classNames:Er,style:$r={}}=Ye,_r=Wt(Ye,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Hr,autoInsertSpaceInButton:on,direction:pn,button:or}=(0,r.useContext)(h.E_),kt=Hr("btn",ft),[mt,gt]=nt(kt),Nt=(0,r.useContext)(u.Z),Ar=Xe!=null?Xe:Nt,vr=(0,r.useContext)(_),at=(0,r.useMemo)(()=>zt(Ce),[Ce]),[Nr,bn]=(0,r.useState)(at.loading),[Yn,mr]=(0,r.useState)(!1),rn=(0,r.createRef)(),gn=(0,f.sQ)(ce,rn),Mn=r.Children.count(Ne)===1&&!Dr&&!M(Ut);(0,r.useEffect)(()=>{let Di=null;at.delay>0?Di=setTimeout(()=>{Di=null,bn(!0)},at.delay):bn(at.loading);function Ci(){Di&&(clearTimeout(Di),Di=null)}return Ci},[at]),(0,r.useEffect)(()=>{if(!gn||!gn.current||on===!1)return;const Di=gn.current.textContent;Mn&&A(Di)?Yn||mr(!0):Yn&&mr(!1)},[gn]);const ai=Di=>{const{onClick:Ci}=Ye;if(Nr||Ar){Di.preventDefault();return}Ci==null||Ci(Di)},hi=on!==!1,{compactSize:Vi,compactItemClassnames:Yi}=(0,x.ri)(kt,pn),Ri={large:"lg",small:"sm",middle:void 0},Ii=(0,a.Z)(Di=>{var Ci,pi;return(pi=(Ci=wt!=null?wt:Vi)!==null&&Ci!==void 0?Ci:vr)!==null&&pi!==void 0?pi:Di}),Ti=Ii&&Ri[Ii]||"",Ai=Nr?"loading":Dr,oi=(0,c.Z)(_r,["navigate"]),Hi=l()(kt,gt,{[`${kt}-${Oe}`]:Oe!=="default"&&Oe,[`${kt}-${Ut}`]:Ut,[`${kt}-${Ti}`]:Ti,[`${kt}-icon-only`]:!Ne&&Ne!==0&&!!Ai,[`${kt}-background-ghost`]:Et&&!M(Ut),[`${kt}-loading`]:Nr,[`${kt}-two-chinese-chars`]:Yn&&hi&&!Nr,[`${kt}-block`]:Yr,[`${kt}-dangerous`]:!!St,[`${kt}-rtl`]:pn==="rtl"},Yi,vt,Rt,or==null?void 0:or.className),xi=Object.assign(Object.assign({},or==null?void 0:or.style),$r),xe=l()(Er==null?void 0:Er.icon,(pe=or==null?void 0:or.classNames)===null||pe===void 0?void 0:pe.icon),Kn=Object.assign(Object.assign({},(ye==null?void 0:ye.icon)||{}),((Dt=or==null?void 0:or.styles)===null||Dt===void 0?void 0:Dt.icon)||{}),qn=Dr&&!Nr?r.createElement(ie,{prefixCls:kt,className:xe,style:Kn},Dr):r.createElement(X,{existIcon:!!Dr,prefixCls:kt,loading:!!Nr}),Jn=Ne||Ne===0?N(Ne,Mn&&hi):null;if(oi.href!==void 0)return mt(r.createElement("a",Object.assign({},oi,{className:l()(Hi,{[`${kt}-disabled`]:Ar}),style:xi,onClick:ai,ref:gn}),qn,Jn));let oa=r.createElement("button",Object.assign({},_r,{type:Jr,className:Hi,style:xi,onClick:ai,disabled:Ar,ref:gn}),qn,Jn,Yi&&r.createElement(Je,{key:"compact",prefixCls:kt}));return M(Ut)||(oa=r.createElement(o.Z,{component:"Button",disabled:!!Nr},oa)),mt(oa)},At=(0,r.forwardRef)(Ft);At.Group=S,At.__ANT_BUTTON=!0;var Yt=At},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:o}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:o!=null?o: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:o}=c;const h=r.useContext(i);return r.createElement(i.Provider,{value:o||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=(o,h)=>h||(o?`ant-${o}`:"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 lr},w6:function(){return Pt}});var r=e(36237),i=e(18418),l=e(80547),c=e(24434),f=e(59301),o=e(28726),h=e(98044),u=e(41887);const a="internalMark";var p=Ke=>{const{locale:Ct={},children:jt,_ANT_MARK__:it}=Ke;f.useEffect(()=>(0,h.f)(Ct&&Ct.Modal),[Ct]);const xt=f.useMemo(()=>Object.assign(Object.assign({},Ct),{exist:!0}),[Ct]);return f.createElement(u.Z.Provider,{value:xt},jt)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),k=e(30071),R=e(64993),A=e(47273),I=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(Ke,Ct){const jt={},it=(et,Ze)=>{let ge=et.clone();return ge=(Ze==null?void 0:Ze(ge))||ge,ge.toRgbString()},xt=(et,Ze)=>{const ge=new R.C(et),Ae=(0,k.generate)(ge.toRgbString());jt[`${Ze}-color`]=it(ge),jt[`${Ze}-color-disabled`]=Ae[1],jt[`${Ze}-color-hover`]=Ae[4],jt[`${Ze}-color-active`]=Ae[6],jt[`${Ze}-color-outline`]=ge.clone().setAlpha(.2).toRgbString(),jt[`${Ze}-color-deprecated-bg`]=Ae[0],jt[`${Ze}-color-deprecated-border`]=Ae[2]};if(Ct.primaryColor){xt(Ct.primaryColor,"primary");const et=new R.C(Ct.primaryColor),Ze=(0,k.generate)(et.toRgbString());Ze.forEach((Ae,Me)=>{jt[`primary-${Me+1}`]=Ae}),jt["primary-color-deprecated-l-35"]=it(et,Ae=>Ae.lighten(35)),jt["primary-color-deprecated-l-20"]=it(et,Ae=>Ae.lighten(20)),jt["primary-color-deprecated-t-20"]=it(et,Ae=>Ae.tint(20)),jt["primary-color-deprecated-t-50"]=it(et,Ae=>Ae.tint(50)),jt["primary-color-deprecated-f-12"]=it(et,Ae=>Ae.setAlpha(Ae.getAlpha()*.12));const ge=new R.C(Ze[0]);jt["primary-color-active-deprecated-f-30"]=it(ge,Ae=>Ae.setAlpha(Ae.getAlpha()*.3)),jt["primary-color-active-deprecated-d-02"]=it(ge,Ae=>Ae.darken(2))}return Ct.successColor&&xt(Ct.successColor,"success"),Ct.warningColor&&xt(Ct.warningColor,"warning"),Ct.errorColor&&xt(Ct.errorColor,"error"),Ct.infoColor&&xt(Ct.infoColor,"info"),`
|
|
|
:root {
|
|
|
${Object.keys(jt).map(et=>`--${Ke}-${et}: ${jt[et]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function N(Ke,Ct){const jt=B(Ke,Ct);(0,A.Z)()&&(0,I.hq)(jt,`${M}-dynamic-theme`)}var V=e(1684),W=e(52946);function H(){const Ke=(0,f.useContext)(V.Z),Ct=(0,f.useContext)(W.Z);return{componentDisabled:Ke,componentSize:Ct}}var te=H,ie=e(13697);function oe(Ke,Ct){const jt=Ke||{},it=jt.inherit===!1||!Ct?_.u_:Ct;return(0,l.Z)(()=>{if(!Ke)return Ct;const xt=Object.assign({},it.components);return Object.keys(Ke.components||{}).forEach(pt=>{xt[pt]=Object.assign(Object.assign({},xt[pt]),Ke.components[pt])}),Object.assign(Object.assign(Object.assign({},it),jt),{token:Object.assign(Object.assign({},it.token),jt.token),components:xt})},[jt,it],(xt,pt)=>xt.some((et,Ze)=>{const ge=pt[Ze];return!(0,ie.Z)(et,ge,!0)}))}var J=e(77900),Q=e(88088);function K(Ke){const{children:Ct}=Ke,[,jt]=(0,Q.Z)(),{motion:it}=jt,xt=f.useRef(!1);return xt.current=xt.current||it===!1,xt.current?f.createElement(J.Provider,{motion:it},Ct):Ct}var se=e(73040),ee=function(Ke,Ct){var jt={};for(var it in Ke)Object.prototype.hasOwnProperty.call(Ke,it)&&Ct.indexOf(it)<0&&(jt[it]=Ke[it]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xt=0,it=Object.getOwnPropertySymbols(Ke);xt<it.length;xt++)Ct.indexOf(it[xt])<0&&Object.prototype.propertyIsEnumerable.call(Ke,it[xt])&&(jt[it[xt]]=Ke[it[xt]]);return jt};let X=!1;const le=null,z=null,$=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],ae="ant";let _e,Ie,ke;function We(){return _e||ae}function je(){return Ie||S.oR}function Mt(Ke){return Object.keys(Ke).some(Ct=>Ct.endsWith("Color"))}const yt=Ke=>{let{prefixCls:Ct,iconPrefixCls:jt,theme:it}=Ke;Ct!==void 0&&(_e=Ct),jt!==void 0&&(Ie=jt),it&&(Mt(it)?N(We(),it):ke=it)},Pt=()=>({getPrefixCls:(Ke,Ct)=>Ct||(Ke?`${We()}-${Ke}`:We()),getIconPrefixCls:je,getRootPrefixCls:()=>_e||We(),getTheme:()=>ke}),tr=Ke=>{const{children:Ct,csp:jt,autoInsertSpaceInButton:it,alert:xt,anchor:pt,form:et,locale:Ze,componentSize:ge,direction:Ae,space:Me,virtual:Ue,dropdownMatchSelectWidth:Ge,popupMatchSelectWidth:nt,popupOverflow:ut,legacyLocale:Kt,parentContext:Zt,iconPrefixCls:De,theme:Je,componentDisabled:Wt,segmented:Ot,statistic:zt,spin:Ft,calendar:At,carousel:Yt,cascader:Ye,collapse:ce,typography:pe,checkbox:Dt,descriptions:Ce,divider:ft,drawer:Ut,skeleton:St,steps:Oe,image:wt,layout:ye,list:Xe,mentions:vt,modal:Rt,progress:Ne,result:Dr,slider:Et,breadcrumb:Yr,menu:Jr,pagination:Er,input:$r,empty:_r,badge:Hr,radio:on,rate:pn,switch:or,transfer:kt,avatar:mt,message:gt,tag:Nt,table:Ar,card:vr,tabs:at,timeline:Nr,timePicker:bn,upload:Yn,notification:mr,tree:rn,colorPicker:gn,datePicker:Mn,wave:ai}=Ke,hi=f.useCallback((Jn,oa)=>{const{prefixCls:Di}=Ke;if(oa)return oa;const Ci=Di||Zt.getPrefixCls("");return Jn?`${Ci}-${Jn}`:Ci},[Zt.getPrefixCls,Ke.prefixCls]),Vi=De||Zt.iconPrefixCls||S.oR,Yi=Vi!==Zt.iconPrefixCls,Ri=jt||Zt.csp,Ii=(0,se.Z)(Vi,Ri),Ti=oe(Je,Zt.theme),Ai={csp:Ri,autoInsertSpaceInButton:it,alert:xt,anchor:pt,locale:Ze||Kt,direction:Ae,space:Me,virtual:Ue,popupMatchSelectWidth:nt!=null?nt:Ge,popupOverflow:ut,getPrefixCls:hi,iconPrefixCls:Vi,theme:Ti,segmented:Ot,statistic:zt,spin:Ft,calendar:At,carousel:Yt,cascader:Ye,collapse:ce,typography:pe,checkbox:Dt,descriptions:Ce,divider:ft,drawer:Ut,skeleton:St,steps:Oe,image:wt,input:$r,layout:ye,list:Xe,mentions:vt,modal:Rt,progress:Ne,result:Dr,slider:Et,breadcrumb:Yr,menu:Jr,pagination:Er,empty:_r,badge:Hr,radio:on,rate:pn,switch:or,transfer:kt,avatar:mt,message:gt,tag:Nt,table:Ar,card:vr,tabs:at,timeline:Nr,timePicker:bn,upload:Yn,notification:mr,tree:rn,colorPicker:gn,datePicker:Mn,wave:ai},oi=Object.assign({},Zt);Object.keys(Ai).forEach(Jn=>{Ai[Jn]!==void 0&&(oi[Jn]=Ai[Jn])}),$.forEach(Jn=>{const oa=Ke[Jn];oa&&(oi[Jn]=oa)});const Hi=(0,l.Z)(()=>oi,oi,(Jn,oa)=>{const Di=Object.keys(Jn),Ci=Object.keys(oa);return Di.length!==Ci.length||Di.some(pi=>Jn[pi]!==oa[pi])}),xi=f.useMemo(()=>({prefixCls:Vi,csp:Ri}),[Vi,Ri]);let xe=Yi?Ii(Ct):Ct;const Kn=f.useMemo(()=>{var Jn,oa,Di,Ci;return(0,c.T)(((Jn=y.Z.Form)===null||Jn===void 0?void 0:Jn.defaultValidateMessages)||{},((Di=(oa=Hi.locale)===null||oa===void 0?void 0:oa.Form)===null||Di===void 0?void 0:Di.defaultValidateMessages)||{},((Ci=Hi.form)===null||Ci===void 0?void 0:Ci.validateMessages)||{},(et==null?void 0:et.validateMessages)||{})},[Hi,et==null?void 0:et.validateMessages]);Object.keys(Kn).length>0&&(xe=f.createElement(o.Z.Provider,{value:Kn},Ct)),Ze&&(xe=f.createElement(p,{locale:Ze,_ANT_MARK__:a},xe)),(Vi||Ri)&&(xe=f.createElement(i.Z.Provider,{value:xi},xe)),ge&&(xe=f.createElement(W.q,{size:ge},xe)),xe=f.createElement(K,null,xe);const qn=f.useMemo(()=>{const Jn=Ti||{},{algorithm:oa,token:Di,components:Ci}=Jn,pi=ee(Jn,["algorithm","token","components"]),Qt=oa&&(!Array.isArray(oa)||oa.length>0)?(0,r.createTheme)(oa):_.uH,dt={};return Object.entries(Ci||{}).forEach(rt=>{let[It,ht]=rt;const sr=Object.assign({},ht);"algorithm"in sr&&(sr.algorithm===!0?sr.theme=Qt:(Array.isArray(sr.algorithm)||typeof sr.algorithm=="function")&&(sr.theme=(0,r.createTheme)(sr.algorithm)),delete sr.algorithm),dt[It]=sr}),Object.assign(Object.assign({},pi),{theme:Qt,token:Object.assign(Object.assign({},b.Z),Di),components:dt})},[Ti]);return Je&&(xe=f.createElement(_.Mj.Provider,{value:qn},xe)),Wt!==void 0&&(xe=f.createElement(V.n,{disabled:Wt},xe)),f.createElement(S.E_.Provider,{value:Hi},xe)},Vt=Ke=>{const Ct=f.useContext(S.E_),jt=f.useContext(u.Z);return f.createElement(tr,Object.assign({parentContext:Ct,legacyLocale:jt},Ke))};Vt.ConfigContext=S.E_,Vt.SizeContext=W.Z,Vt.config=yt,Vt.useConfig=te,Object.defineProperty(Vt,"SizeContext",{get:()=>W.Z});var lr=Vt},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 o},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),o=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 k=Object.assign({},b);return _&&delete k.isFormItemInput,y&&(delete k.status,delete k.hasFeedback,delete k.feedbackIcon),k},[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),o=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:k}=r.useContext(f.Z),{prefixCls:R,span:A,order:I,offset:M,push:B,pull:N,className:V,children:W,flex:H,style:te}=p,ie=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),oe=_("col",R),[J,Q]=(0,o.c)(oe);let K={};a.forEach(X=>{let le={};const z=p[X];typeof z=="number"?le.span=z:typeof z=="object"&&(le=z||{}),delete ie[X],K=Object.assign(Object.assign({},K),{[`${oe}-${X}-${le.span}`]:le.span!==void 0,[`${oe}-${X}-order-${le.order}`]:le.order||le.order===0,[`${oe}-${X}-offset-${le.offset}`]:le.offset||le.offset===0,[`${oe}-${X}-push-${le.push}`]:le.push||le.push===0,[`${oe}-${X}-pull-${le.pull}`]:le.pull||le.pull===0,[`${oe}-${X}-flex-${le.flex}`]:le.flex||le.flex==="auto",[`${oe}-rtl`]:b==="rtl"})});const se=l()(oe,{[`${oe}-${A}`]:A!==void 0,[`${oe}-order-${I}`]:I,[`${oe}-offset-${M}`]:M,[`${oe}-push-${B}`]:B,[`${oe}-pull-${N}`]:N},V,K,Q),ee={};if(S&&S[0]>0){const X=S[0]/2;ee.paddingLeft=X,ee.paddingRight=X}return H&&(ee.flex=u(H),k===!1&&!ee.minWidth&&(ee.minWidth=0)),J(r.createElement("div",Object.assign({},ie,{style:Object.assign(Object.assign({},ee),te),className:se,ref:y}),W))});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),o=e(6700),h=e(98242),u=function(_,b){var S={};for(var k in _)Object.prototype.hasOwnProperty.call(_,k)&&b.indexOf(k)<0&&(S[k]=_[k]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,k=Object.getOwnPropertySymbols(_);R<k.length;R++)b.indexOf(k[R])<0&&Object.prototype.propertyIsEnumerable.call(_,k[R])&&(S[k[R]]=_[k[R]]);return S};const a=null,x=null;function p(_,b){const[S,k]=r.useState(typeof _=="string"?_:""),R=()=>{if(typeof _=="string"&&k(_),typeof _=="object")for(let A=0;A<c.c4.length;A++){const I=c.c4[A];if(!b[I])continue;const M=_[I];if(M!==void 0){k(M);return}}};return r.useEffect(()=>{R()},[JSON.stringify(_),b]),S}const y=r.forwardRef((_,b)=>{const{prefixCls:S,justify:k,align:R,className:A,style:I,children:M,gutter:B=0,wrap:N}=_,V=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:W,direction:H}=r.useContext(f.E_),[te,ie]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[oe,J]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),Q=p(R,oe),K=p(k,oe),se=r.useRef(B),ee=(0,c.ZP)();r.useEffect(()=>{const yt=ee.subscribe(Pt=>{J(Pt);const tr=se.current||0;(!Array.isArray(tr)&&typeof tr=="object"||Array.isArray(tr)&&(typeof tr[0]=="object"||typeof tr[1]=="object"))&&ie(Pt)});return()=>ee.unsubscribe(yt)},[]);const X=()=>{const yt=[void 0,void 0];return(Array.isArray(B)?B:[B,void 0]).forEach((tr,Vt)=>{if(typeof tr=="object")for(let lr=0;lr<c.c4.length;lr++){const Ke=c.c4[lr];if(te[Ke]&&tr[Ke]!==void 0){yt[Vt]=tr[Ke];break}}else yt[Vt]=tr}),yt},le=W("row",S),[z,$]=(0,h.V)(le),ae=X(),_e=l()(le,{[`${le}-no-wrap`]:N===!1,[`${le}-${K}`]:K,[`${le}-${Q}`]:Q,[`${le}-rtl`]:H==="rtl"},A,$),Ie={},ke=ae[0]!=null&&ae[0]>0?ae[0]/-2:void 0;ke&&(Ie.marginLeft=ke,Ie.marginRight=ke),[,Ie.rowGap]=ae;const[We,je]=ae,Mt=r.useMemo(()=>({gutter:[We,je],wrap:N}),[We,je,N]);return z(r.createElement(o.Z.Provider,{value:Mt},r.createElement("div",Object.assign({},V,{className:_e,style:Object.assign(Object.assign({},Ie),I),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},o=(x,p)=>f(x,p),h=(x,p,y)=>({[`@media (min-width: ${p}px)`]:Object.assign({},o(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),o(p,""),o(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,o)=>{const h=r.useContext(i.Z),u=r.useMemo(()=>{var x;const p=o||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,o,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 o={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)};o.lang.ok="\u786E\u5B9A";var h=o,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 xt}});var r=e(94480),i=e(59301),l=e(1585),c=e(92736),f=e(29679),o=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(36237),S=e(17313),k=e(83116),R=e(37613);const A=pt=>{const{componentCls:et,iconCls:Ze,boxShadow:ge,colorText:Ae,colorSuccess:Me,colorError:Ue,colorWarning:Ge,colorInfo:nt,fontSizeLG:ut,motionEaseInOutCirc:Kt,motionDurationSlow:Zt,marginXS:De,paddingXS:Je,borderRadiusLG:Wt,zIndexPopup:Ot,contentPadding:zt,contentBg:Ft}=pt,At=`${et}-notice`,Yt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:Je,transform:"translateY(0)",opacity:1}}),Ye=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:pt.height,padding:Je,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),ce={padding:Je,textAlign:"center",[`${et}-custom-content > ${Ze}`]:{verticalAlign:"text-bottom",marginInlineEnd:De,fontSize:ut},[`${At}-content`]:{display:"inline-block",padding:zt,background:Ft,borderRadius:Wt,boxShadow:ge,pointerEvents:"all"},[`${et}-success > ${Ze}`]:{color:Me},[`${et}-error > ${Ze}`]:{color:Ue},[`${et}-warning > ${Ze}`]:{color:Ge},[`${et}-info > ${Ze},
|
|
|
${et}-loading > ${Ze}`]:{color:nt}};return[{[et]:Object.assign(Object.assign({},(0,S.Wf)(pt)),{color:Ae,position:"fixed",top:De,width:"100%",pointerEvents:"none",zIndex:Ot,[`${et}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${et}-move-up-appear,
|
|
|
${et}-move-up-enter
|
|
|
`]:{animationName:Yt,animationDuration:Zt,animationPlayState:"paused",animationTimingFunction:Kt},[`
|
|
|
${et}-move-up-appear${et}-move-up-appear-active,
|
|
|
${et}-move-up-enter${et}-move-up-enter-active
|
|
|
`]:{animationPlayState:"running"},[`${et}-move-up-leave`]:{animationName:Ye,animationDuration:Zt,animationPlayState:"paused",animationTimingFunction:Kt},[`${et}-move-up-leave${et}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[et]:{[At]:Object.assign({},ce)}},{[`${et}-notice-pure-panel`]:Object.assign(Object.assign({},ce),{padding:0,textAlign:"start"})}]};var I=(0,k.Z)("Message",pt=>{const et=(0,R.TS)(pt,{height:150});return[A(et)]},pt=>({zIndexPopup:pt.zIndexPopupBase+10,contentBg:pt.colorBgElevated,contentPadding:`${(pt.controlHeightLG-pt.fontSize*pt.lineHeight)/2}px ${pt.paddingSM}px`})),M=function(pt,et){var Ze={};for(var ge in pt)Object.prototype.hasOwnProperty.call(pt,ge)&&et.indexOf(ge)<0&&(Ze[ge]=pt[ge]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ge=Object.getOwnPropertySymbols(pt);Ae<ge.length;Ae++)et.indexOf(ge[Ae])<0&&Object.prototype.propertyIsEnumerable.call(pt,ge[Ae])&&(Ze[ge[Ae]]=pt[ge[Ae]]);return Ze};const B={info:i.createElement(u.Z,null),success:i.createElement(f.Z,null),error:i.createElement(o.Z,null),warning:i.createElement(h.Z,null),loading:i.createElement(a.Z,null)},N=pt=>{let{prefixCls:et,type:Ze,icon:ge,children:Ae}=pt;return i.createElement("div",{className:p()(`${et}-custom-content`,`${et}-${Ze}`)},ge||B[Ze],i.createElement("span",null,Ae))};var W=pt=>{const{prefixCls:et,className:Ze,type:ge,icon:Ae,content:Me}=pt,Ue=M(pt,["prefixCls","className","type","icon","content"]),{getPrefixCls:Ge}=i.useContext(_.E_),nt=et||Ge("message"),[,ut]=I(nt);return i.createElement(y.qX,Object.assign({},Ue,{prefixCls:nt,className:p()(Ze,ut,`${nt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(N,{prefixCls:nt,type:ge,icon:Ae},Me)}))},H=e(99267);function te(pt,et){return{motionName:et!=null?et:`${pt}-move-up`}}function ie(pt){let et;const Ze=new Promise(Ae=>{et=pt(()=>{Ae(!0)})}),ge=()=>{et==null||et()};return ge.then=(Ae,Me)=>Ze.then(Ae,Me),ge.promise=Ze,ge}var oe=function(pt,et){var Ze={};for(var ge in pt)Object.prototype.hasOwnProperty.call(pt,ge)&&et.indexOf(ge)<0&&(Ze[ge]=pt[ge]);if(pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ge=Object.getOwnPropertySymbols(pt);Ae<ge.length;Ae++)et.indexOf(ge[Ae])<0&&Object.prototype.propertyIsEnumerable.call(pt,ge[Ae])&&(Ze[ge[Ae]]=pt[ge[Ae]]);return Ze};const J=8,Q=3,K=pt=>{let{children:et,prefixCls:Ze}=pt;const[,ge]=I(Ze);return i.createElement(y.JB,{classNames:{list:ge,notice:ge}},et)},se=(pt,et)=>{let{prefixCls:Ze,key:ge}=et;return i.createElement(K,{prefixCls:Ze,key:ge},pt)},ee=i.forwardRef((pt,et)=>{const{top:Ze,prefixCls:ge,getContainer:Ae,maxCount:Me,duration:Ue=Q,rtl:Ge,transitionName:nt,onAllRemoved:ut}=pt,{getPrefixCls:Kt,getPopupContainer:Zt,message:De}=i.useContext(_.E_),Je=ge||Kt("message"),Wt=()=>({left:"50%",transform:"translateX(-50%)",top:Ze!=null?Ze:J}),Ot=()=>p()({[`${Je}-rtl`]:Ge}),zt=()=>te(Je,nt),Ft=i.createElement("span",{className:`${Je}-close-x`},i.createElement(H.Z,{className:`${Je}-close-icon`})),[At,Yt]=(0,y.lm)({prefixCls:Je,style:Wt,className:Ot,motion:zt,closable:!1,closeIcon:Ft,duration:Ue,getContainer:()=>(Ae==null?void 0:Ae())||(Zt==null?void 0:Zt())||document.body,maxCount:Me,onAllRemoved:ut,renderNotifications:se});return i.useImperativeHandle(et,()=>Object.assign(Object.assign({},At),{prefixCls:Je,message:De})),Yt});let X=0;function le(pt){const et=i.useRef(null);return[i.useMemo(()=>{const ge=nt=>{var ut;(ut=et.current)===null||ut===void 0||ut.close(nt)},Ae=nt=>{if(!et.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:ut,prefixCls:Kt,message:Zt}=et.current,De=`${Kt}-notice`,{content:Je,icon:Wt,type:Ot,key:zt,className:Ft,style:At,onClose:Yt}=nt,Ye=oe(nt,["content","icon","type","key","className","style","onClose"]);let ce=zt;return ce==null&&(X+=1,ce=`antd-message-${X}`),ie(pe=>(ut(Object.assign(Object.assign({},Ye),{key:ce,content:i.createElement(N,{prefixCls:Kt,type:Ot,icon:Wt},Je),placement:"top",className:p()(Ot&&`${De}-${Ot}`,Ft,Zt==null?void 0:Zt.className),style:Object.assign(Object.assign({},Zt==null?void 0:Zt.style),At),onClose:()=>{Yt==null||Yt(),pe()}})),()=>{ge(ce)}))},Ue={open:Ae,destroy:nt=>{var ut;nt!==void 0?ge(nt):(ut=et.current)===null||ut===void 0||ut.destroy()}};return["info","success","warning","error","loading"].forEach(nt=>{const ut=(Kt,Zt,De)=>{let Je;Kt&&typeof Kt=="object"&&"content"in Kt?Je=Kt:Je={content:Kt};let Wt,Ot;typeof Zt=="function"?Ot=Zt:(Wt=Zt,Ot=De);const zt=Object.assign(Object.assign({onClose:Ot,duration:Wt},Je),{type:nt});return Ae(zt)};Ue[nt]=ut}),Ue},[]),i.createElement(ee,Object.assign({key:"message-holder"},pt,{ref:et}))]}function z(pt){return le(pt)}let $=null,ae=pt=>pt(),_e=[],Ie={};function ke(){const{prefixCls:pt,getContainer:et,duration:Ze,rtl:ge,maxCount:Ae,top:Me}=Ie,Ue=pt!=null?pt:(0,c.w6)().getPrefixCls("message"),Ge=(et==null?void 0:et())||document.body;return{prefixCls:Ue,getContainer:()=>Ge,duration:Ze,rtl:ge,maxCount:Ae,top:Me}}const We=i.forwardRef((pt,et)=>{const[Ze,ge]=i.useState(ke),[Ae,Me]=le(Ze),Ue=(0,c.w6)(),Ge=Ue.getRootPrefixCls(),nt=Ue.getIconPrefixCls(),ut=Ue.getTheme(),Kt=()=>{ge(ke)};return i.useEffect(Kt,[]),i.useImperativeHandle(et,()=>{const Zt=Object.assign({},Ae);return Object.keys(Zt).forEach(De=>{Zt[De]=function(){return Kt(),Ae[De].apply(Ae,arguments)}}),{instance:Zt,sync:Kt}}),i.createElement(c.ZP,{prefixCls:Ge,iconPrefixCls:nt,theme:ut},Me)});function je(){if(!$){const pt=document.createDocumentFragment(),et={fragment:pt};$=et,ae(()=>{(0,l.s)(i.createElement(We,{ref:Ze=>{const{instance:ge,sync:Ae}=Ze||{};Promise.resolve().then(()=>{!et.instance&&ge&&(et.instance=ge,et.sync=Ae,je())})}}),pt)});return}$.instance&&(_e.forEach(pt=>{const{type:et,skipped:Ze}=pt;if(!Ze)switch(et){case"open":{ae(()=>{const ge=$.instance.open(Object.assign(Object.assign({},Ie),pt.config));ge==null||ge.then(pt.resolve),pt.setCloseFn(ge)});break}case"destroy":ae(()=>{$==null||$.instance.destroy(pt.key)});break;default:ae(()=>{var ge;const Ae=(ge=$.instance)[et].apply(ge,(0,r.Z)(pt.args));Ae==null||Ae.then(pt.resolve),pt.setCloseFn(Ae)})}}),_e=[])}function Mt(pt){Ie=Object.assign(Object.assign({},Ie),pt),ae(()=>{var et;(et=$==null?void 0:$.sync)===null||et===void 0||et.call($)})}function yt(pt){const et=ie(Ze=>{let ge;const Ae={type:"open",config:pt,resolve:Ze,setCloseFn:Me=>{ge=Me}};return _e.push(Ae),()=>{ge?ae(()=>{ge()}):Ae.skipped=!0}});return je(),et}function Pt(pt,et){const Ze=ie(ge=>{let Ae;const Me={type:pt,args:et,resolve:ge,setCloseFn:Ue=>{Ae=Ue}};return _e.push(Me),()=>{Ae?ae(()=>{Ae()}):Me.skipped=!0}});return je(),Ze}function tr(pt){_e.push({type:"destroy",key:pt}),je()}const Vt=["success","info","warning","error","loading"],Ke={open:yt,destroy:tr,config:Mt,useMessage:z,_InternalPanelDoNotUseOrYouWillBeFired:W};Vt.forEach(pt=>{Ke[pt]=function(){for(var et=arguments.length,Ze=new Array(et),ge=0;ge<et;ge++)Ze[ge]=arguments[ge];return Pt(pt,Ze)}});const Ct=()=>{};let jt=null,it=null;var xt=Ke},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return ft}});var r=e(94480),i=e(1585),l=e(59301),c=e(92736),f=e(29679),o=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 R=()=>{const{autoFocusButton:Ut,cancelButtonProps:St,cancelTextLocale:Oe,isSilent:wt,mergedOkCancel:ye,rootPrefixCls:Xe,close:vt,onCancel:Rt,onConfirm:Ne}=(0,l.useContext)(b);return ye?l.createElement(_.Z,{isSilent:wt,actionFn:Rt,close:function(){vt==null||vt.apply(void 0,arguments),Ne==null||Ne(!1)},autoFocus:Ut==="cancel",buttonProps:St,prefixCls:`${Xe}-btn`},Oe):null},I=()=>{const{autoFocusButton:Ut,close:St,isSilent:Oe,okButtonProps:wt,rootPrefixCls:ye,okTextLocale:Xe,okType:vt,onConfirm:Rt,onOk:Ne}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Oe,type:vt||"primary",actionFn:Ne,close:function(){St==null||St.apply(void 0,arguments),Rt==null||Rt(!0)},autoFocus:Ut==="ok",buttonProps:wt,prefixCls:`${ye}-btn`},Xe)},M=e(99267),B=e(86923),N=e(47729),V=e(47273);const W=()=>(0,V.Z)()&&window.document.documentElement;var H=e(36355),te=e(32441),ie=e(33234),oe=e(11575),J=e(1684),Q=e(3113),se=()=>{const{cancelButtonProps:Ut,cancelTextLocale:St,onCancel:Oe}=(0,l.useContext)(b);return l.createElement(Q.ZP,Object.assign({onClick:Oe},Ut),St)},ee=e(67797),le=()=>{const{confirmLoading:Ut,okButtonProps:St,okType:Oe,okTextLocale:wt,onOk:ye}=(0,l.useContext)(b);return l.createElement(Q.ZP,Object.assign({},(0,ee.n)(Oe),{loading:Ut,onClick:ye},St),wt)},z=e(98044);function $(Ut,St){return l.createElement("span",{className:`${Ut}-close-x`},St||l.createElement(M.Z,{className:`${Ut}-close-icon`}))}const ae=Ut=>{const{okText:St,okType:Oe="primary",cancelText:wt,confirmLoading:ye,onOk:Xe,onCancel:vt,okButtonProps:Rt,cancelButtonProps:Ne,footer:Dr}=Ut,[Et]=(0,y.Z)("Modal",(0,z.A)()),Yr=St||(Et==null?void 0:Et.okText),Jr=wt||(Et==null?void 0:Et.cancelText),Er={confirmLoading:ye,okButtonProps:Rt,cancelButtonProps:Ne,okTextLocale:Yr,cancelTextLocale:Jr,okType:Oe,onOk:Xe,onCancel:vt},$r=l.useMemo(()=>Er,(0,r.Z)(Object.values(Er)));let _r;return typeof Dr=="function"||typeof Dr=="undefined"?(_r=l.createElement(S,{value:$r},l.createElement(se,null),l.createElement(le,null)),typeof Dr=="function"&&(_r=Dr(_r,{OkBtn:le,CancelBtn:se}))):_r=Dr,l.createElement(J.n,{disabled:!1},_r)};var _e=e(73819),Ie=function(Ut,St){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,wt=Object.getOwnPropertySymbols(Ut);ye<wt.length;ye++)St.indexOf(wt[ye])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[ye])&&(Oe[wt[ye]]=Ut[wt[ye]]);return Oe};let ke;const We=Ut=>{ke={x:Ut.pageX,y:Ut.pageY},setTimeout(()=>{ke=null},100)};W()&&document.documentElement.addEventListener("click",We,!0);var Mt=Ut=>{var St;const{getPopupContainer:Oe,getPrefixCls:wt,direction:ye,modal:Xe}=l.useContext(H.E_),vt=gn=>{const{onCancel:Mn}=Ut;Mn==null||Mn(gn)},Rt=gn=>{const{onOk:Mn}=Ut;Mn==null||Mn(gn)},{prefixCls:Ne,className:Dr,rootClassName:Et,open:Yr,wrapClassName:Jr,centered:Er,getContainer:$r,closeIcon:_r,closable:Hr,focusTriggerAfterClose:on=!0,style:pn,visible:or,width:kt=520,footer:mt}=Ut,gt=Ie(Ut,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),Nt=wt("modal",Ne),Ar=wt(),[vr,at]=(0,_e.ZP)(Nt),Nr=x()(Jr,{[`${Nt}-centered`]:!!Er,[`${Nt}-wrap-rtl`]:ye==="rtl"}),bn=mt!==null&&l.createElement(ae,Object.assign({},Ut,{onOk:Rt,onCancel:vt})),[Yn,mr]=(0,N.Z)(Hr,_r,gn=>$(Nt,gn),l.createElement(M.Z,{className:`${Nt}-close-icon`}),!0),rn=(0,oe.H)(`.${Nt}-content`);return vr(l.createElement(ie.BR,null,l.createElement(te.Ux,{status:!0,override:!0},l.createElement(B.Z,Object.assign({width:kt},gt,{getContainer:$r===void 0?Oe:$r,prefixCls:Nt,rootClassName:x()(at,Et),wrapClassName:Nr,footer:bn,visible:Yr!=null?Yr:or,mousePosition:(St=gt.mousePosition)!==null&&St!==void 0?St:ke,onClose:vt,closable:Yn,closeIcon:mr,focusTriggerAfterClose:on,transitionName:(0,p.m)(Ar,"zoom",Ut.transitionName),maskTransitionName:(0,p.m)(Ar,"fade",Ut.maskTransitionName),className:x()(at,Dr,Xe==null?void 0:Xe.className),style:Object.assign(Object.assign({},Xe==null?void 0:Xe.style),pn),panelRef:rn})))))},yt=e(17313),Pt=e(83116);const tr=Ut=>{const{componentCls:St,titleFontSize:Oe,titleLineHeight:wt,modalConfirmIconSize:ye,fontSize:Xe,lineHeight:vt}=Ut,Rt=`${St}-confirm`,Ne=Math.round(Oe*wt),Dr=Math.round(Xe*vt);return{[Rt]:{"&-rtl":{direction:"rtl"},[`${Ut.antCls}-modal-header`]:{display:"none"},[`${Rt}-body-wrapper`]:Object.assign({},(0,yt.dF)()),[`${Rt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Ut.iconCls}`]:{flex:"none",fontSize:ye,marginInlineEnd:Ut.marginSM,marginTop:(Dr-ye)/2},[`&-has-title > ${Ut.iconCls}`]:{marginTop:(Ne-ye)/2}},[`${Rt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Ut.marginXS},[`${Rt}-title`]:{color:Ut.colorTextHeading,fontWeight:Ut.fontWeightStrong,fontSize:Oe,lineHeight:wt},[`${Rt}-content`]:{color:Ut.colorText,fontSize:Xe,lineHeight:vt},[`${Rt}-btns`]:{textAlign:"end",marginTop:Ut.marginSM,[`${Ut.antCls}-btn + ${Ut.antCls}-btn`]:{marginBottom:0,marginInlineStart:Ut.marginXS}}},[`${Rt}-error ${Rt}-body > ${Ut.iconCls}`]:{color:Ut.colorError},[`${Rt}-warning ${Rt}-body > ${Ut.iconCls},
|
|
|
${Rt}-confirm ${Rt}-body > ${Ut.iconCls}`]:{color:Ut.colorWarning},[`${Rt}-info ${Rt}-body > ${Ut.iconCls}`]:{color:Ut.colorInfo},[`${Rt}-success ${Rt}-body > ${Ut.iconCls}`]:{color:Ut.colorSuccess}}};var Vt=(0,Pt.b)(["Modal","confirm"],Ut=>{const St=(0,_e.B4)(Ut);return[tr(St)]},_e.eh,{order:-1e3}),lr=function(Ut,St){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,wt=Object.getOwnPropertySymbols(Ut);ye<wt.length;ye++)St.indexOf(wt[ye])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[ye])&&(Oe[wt[ye]]=Ut[wt[ye]]);return Oe};function Ke(Ut){const{prefixCls:St,icon:Oe,okText:wt,cancelText:ye,confirmPrefixCls:Xe,type:vt,okCancel:Rt,footer:Ne,locale:Dr}=Ut,Et=lr(Ut,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Yr=Oe;if(!Oe&&Oe!==null)switch(vt){case"info":Yr=l.createElement(u.Z,null);break;case"success":Yr=l.createElement(f.Z,null);break;case"error":Yr=l.createElement(o.Z,null);break;default:Yr=l.createElement(h.Z,null)}const Jr=Rt!=null?Rt:vt==="confirm",Er=Ut.autoFocusButton===null?!1:Ut.autoFocusButton||"ok",[$r]=(0,y.Z)("Modal"),_r=Dr||$r,Hr=wt||(Jr?_r==null?void 0:_r.okText:_r==null?void 0:_r.justOkText),on=ye||(_r==null?void 0:_r.cancelText),pn=Object.assign({autoFocusButton:Er,cancelTextLocale:on,okTextLocale:Hr,mergedOkCancel:Jr},Et),or=l.useMemo(()=>pn,(0,r.Z)(Object.values(pn))),kt=l.createElement(l.Fragment,null,l.createElement(R,null),l.createElement(I,null)),mt=Ut.title!==void 0&&Ut.title!==null,gt=`${Xe}-body`;return l.createElement("div",{className:`${Xe}-body-wrapper`},l.createElement("div",{className:x()(gt,{[`${gt}-has-title`]:mt})},Yr,l.createElement("div",{className:`${Xe}-paragraph`},mt&&l.createElement("span",{className:`${Xe}-title`},Ut.title),l.createElement("div",{className:`${Xe}-content`},Ut.content))),Ne===void 0||typeof Ne=="function"?l.createElement(S,{value:or},l.createElement("div",{className:`${Xe}-btns`},typeof Ne=="function"?Ne(kt,{OkBtn:I,CancelBtn:R}):kt)):Ne,l.createElement(Vt,{prefixCls:St}))}var jt=Ut=>{const{close:St,zIndex:Oe,afterClose:wt,visible:ye,open:Xe,keyboard:vt,centered:Rt,getContainer:Ne,maskStyle:Dr,direction:Et,prefixCls:Yr,wrapClassName:Jr,rootPrefixCls:Er,iconPrefixCls:$r,theme:_r,bodyStyle:Hr,closable:on=!1,closeIcon:pn,modalRender:or,focusTriggerAfterClose:kt,onConfirm:mt}=Ut,gt=`${Yr}-confirm`,Nt=Ut.width||416,Ar=Ut.style||{},vr=Ut.mask===void 0?!0:Ut.mask,at=Ut.maskClosable===void 0?!1:Ut.maskClosable,Nr=x()(gt,`${gt}-${Ut.type}`,{[`${gt}-rtl`]:Et==="rtl"},Ut.className);return l.createElement(c.ZP,{prefixCls:Er,iconPrefixCls:$r,direction:Et,theme:_r},l.createElement(Mt,{prefixCls:Yr,className:Nr,wrapClassName:x()({[`${gt}-centered`]:!!Ut.centered},Jr),onCancel:()=>{St==null||St({triggerCancel:!0}),mt==null||mt(!1)},open:Xe,title:"",footer:null,transitionName:(0,p.m)(Er||"","zoom",Ut.transitionName),maskTransitionName:(0,p.m)(Er||"","fade",Ut.maskTransitionName),mask:vr,maskClosable:at,maskStyle:Dr,style:Ar,bodyStyle:Hr,width:Nt,zIndex:Oe,afterClose:wt,keyboard:vt,centered:Rt,getContainer:Ne,closable:on,closeIcon:pn,modalRender:or,focusTriggerAfterClose:kt},l.createElement(Ke,Object.assign({},Ut,{confirmPrefixCls:gt}))))},xt=[],pt=function(Ut,St){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,wt=Object.getOwnPropertySymbols(Ut);ye<wt.length;ye++)St.indexOf(wt[ye])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[ye])&&(Oe[wt[ye]]=Ut[wt[ye]]);return Oe};let et="";function Ze(){return et}function ge(Ut){const St=document.createDocumentFragment();let Oe=Object.assign(Object.assign({},Ut),{close:vt,open:!0}),wt;function ye(){for(var Ne=arguments.length,Dr=new Array(Ne),Et=0;Et<Ne;Et++)Dr[Et]=arguments[Et];const Yr=Dr.some(Jr=>Jr&&Jr.triggerCancel);Ut.onCancel&&Yr&&Ut.onCancel.apply(Ut,[()=>{}].concat((0,r.Z)(Dr.slice(1))));for(let Jr=0;Jr<xt.length;Jr++)if(xt[Jr]===vt){xt.splice(Jr,1);break}(0,i.v)(St)}function Xe(Ne){var{okText:Dr,cancelText:Et,prefixCls:Yr,getContainer:Jr}=Ne,Er=pt(Ne,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(wt),wt=setTimeout(()=>{const $r=(0,z.A)(),{getPrefixCls:_r,getIconPrefixCls:Hr,getTheme:on}=(0,c.w6)(),pn=_r(void 0,Ze()),or=Yr||`${pn}-modal`,kt=Hr(),mt=on();let gt=Jr;gt===!1&&(gt=void 0),(0,i.s)(l.createElement(jt,Object.assign({},Er,{getContainer:gt,prefixCls:or,rootPrefixCls:pn,iconPrefixCls:kt,okText:Dr,locale:$r,theme:mt,cancelText:Et||$r.cancelText})),St)})}function vt(){for(var Ne=arguments.length,Dr=new Array(Ne),Et=0;Et<Ne;Et++)Dr[Et]=arguments[Et];Oe=Object.assign(Object.assign({},Oe),{open:!1,afterClose:()=>{typeof Ut.afterClose=="function"&&Ut.afterClose(),ye.apply(this,Dr)}}),Oe.visible&&delete Oe.visible,Xe(Oe)}function Rt(Ne){typeof Ne=="function"?Oe=Ne(Oe):Oe=Object.assign(Object.assign({},Oe),Ne),Xe(Oe)}return Xe(Oe),xt.push(vt),{destroy:vt,update:Rt}}function Ae(Ut){return Object.assign(Object.assign({},Ut),{type:"warning"})}function Me(Ut){return Object.assign(Object.assign({},Ut),{type:"info"})}function Ue(Ut){return Object.assign(Object.assign({},Ut),{type:"success"})}function Ge(Ut){return Object.assign(Object.assign({},Ut),{type:"error"})}function nt(Ut){return Object.assign(Object.assign({},Ut),{type:"confirm"})}function ut(Ut){let{rootPrefixCls:St}=Ut;et=St}var Kt=e(53487),Zt=function(Ut,St){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,wt=Object.getOwnPropertySymbols(Ut);ye<wt.length;ye++)St.indexOf(wt[ye])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[ye])&&(Oe[wt[ye]]=Ut[wt[ye]]);return Oe};const De=Ut=>{const{prefixCls:St,className:Oe,closeIcon:wt,closable:ye,type:Xe,title:vt,children:Rt}=Ut,Ne=Zt(Ut,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Dr}=l.useContext(H.E_),Et=Dr(),Yr=St||Dr("modal"),[,Jr]=(0,_e.ZP)(Yr),Er=`${Yr}-confirm`;let $r={};return Xe?$r={closable:ye!=null?ye:!1,title:"",footer:"",children:l.createElement(Ke,Object.assign({},Ut,{prefixCls:Yr,confirmPrefixCls:Er,rootPrefixCls:Et,content:Rt}))}:$r={closable:ye!=null?ye:!0,title:vt,footer:Ut.footer===void 0?l.createElement(ae,Object.assign({},Ut)):Ut.footer,children:Rt},l.createElement(B.s,Object.assign({prefixCls:Yr,className:x()(Jr,`${Yr}-pure-panel`,Xe&&Er,Xe&&`${Er}-${Xe}`,Oe)},Ne,{closeIcon:$(Yr,wt),closable:ye},$r))};var Je=(0,Kt.i)(De);function Wt(){const[Ut,St]=l.useState([]),Oe=l.useCallback(wt=>(St(ye=>[].concat((0,r.Z)(ye),[wt])),()=>{St(ye=>ye.filter(Xe=>Xe!==wt))}),[]);return[Ut,Oe]}var Ot=e(31724),zt=function(Ut,St){var Oe={};for(var wt in Ut)Object.prototype.hasOwnProperty.call(Ut,wt)&&St.indexOf(wt)<0&&(Oe[wt]=Ut[wt]);if(Ut!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,wt=Object.getOwnPropertySymbols(Ut);ye<wt.length;ye++)St.indexOf(wt[ye])<0&&Object.prototype.propertyIsEnumerable.call(Ut,wt[ye])&&(Oe[wt[ye]]=Ut[wt[ye]]);return Oe};const Ft=(Ut,St)=>{var Oe,{afterClose:wt,config:ye}=Ut,Xe=zt(Ut,["afterClose","config"]);const[vt,Rt]=l.useState(!0),[Ne,Dr]=l.useState(ye),{direction:Et,getPrefixCls:Yr}=l.useContext(H.E_),Jr=Yr("modal"),Er=Yr(),$r=()=>{var pn;wt(),(pn=Ne.afterClose)===null||pn===void 0||pn.call(Ne)},_r=function(){Rt(!1);for(var pn=arguments.length,or=new Array(pn),kt=0;kt<pn;kt++)or[kt]=arguments[kt];const mt=or.some(gt=>gt&>.triggerCancel);Ne.onCancel&&mt&&Ne.onCancel.apply(Ne,[()=>{}].concat((0,r.Z)(or.slice(1))))};l.useImperativeHandle(St,()=>({destroy:_r,update:pn=>{Dr(or=>Object.assign(Object.assign({},or),pn))}}));const Hr=(Oe=Ne.okCancel)!==null&&Oe!==void 0?Oe:Ne.type==="confirm",[on]=(0,y.Z)("Modal",Ot.Z.Modal);return l.createElement(jt,Object.assign({prefixCls:Jr,rootPrefixCls:Er},Ne,{close:_r,open:vt,afterClose:$r,okText:Ne.okText||(Hr?on==null?void 0:on.okText:on==null?void 0:on.justOkText),direction:Ne.direction||Et,cancelText:Ne.cancelText||(on==null?void 0:on.cancelText)},Xe))};var At=l.forwardRef(Ft);let Yt=0;const Ye=l.memo(l.forwardRef((Ut,St)=>{const[Oe,wt]=Wt();return l.useImperativeHandle(St,()=>({patchElement:wt}),[]),l.createElement(l.Fragment,null,Oe)}));function ce(){const Ut=l.useRef(null),[St,Oe]=l.useState([]);l.useEffect(()=>{St.length&&((0,r.Z)(St).forEach(vt=>{vt()}),Oe([]))},[St]);const wt=l.useCallback(Xe=>function(Rt){var Ne;Yt+=1;const Dr=l.createRef();let Et;const Yr=new Promise(Hr=>{Et=Hr});let Jr=!1,Er;const $r=l.createElement(At,{key:`modal-${Yt}`,config:Xe(Rt),ref:Dr,afterClose:()=>{Er==null||Er()},isSilent:()=>Jr,onConfirm:Hr=>{Et(Hr)}});return Er=(Ne=Ut.current)===null||Ne===void 0?void 0:Ne.patchElement($r),Er&&xt.push(Er),{destroy:()=>{function Hr(){var on;(on=Dr.current)===null||on===void 0||on.destroy()}Dr.current?Hr():Oe(on=>[].concat((0,r.Z)(on),[Hr]))},update:Hr=>{function on(){var pn;(pn=Dr.current)===null||pn===void 0||pn.update(Hr)}Dr.current?on():Oe(pn=>[].concat((0,r.Z)(pn),[on]))},then:Hr=>(Jr=!0,Yr.then(Hr))}},[]);return[l.useMemo(()=>({info:wt(Me),success:wt(Ue),error:wt(Ge),warning:wt(Ae),confirm:wt(nt)}),[]),l.createElement(Ye,{key:"modal-holder",ref:Ut})]}var pe=ce;function Dt(Ut){return ge(Ae(Ut))}const Ce=Mt;Ce.useModal=pe,Ce.info=function(St){return ge(Me(St))},Ce.success=function(St){return ge(Ue(St))},Ce.error=function(St){return ge(Ge(St))},Ce.warning=Dt,Ce.warn=Dt,Ce.confirm=function(St){return ge(nt(St))},Ce.destroyAll=function(){for(;xt.length;){const St=xt.pop();St&&St()}},Ce.config=ut,Ce._InternalPanelDoNotUseOrYouWillBeFired=Je;var ft=Ce},98044:function(d,v,e){"use strict";e.d(v,{A:function(){return o},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 o(){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 o(_){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({},o("fixed")),{zIndex:_.zIndexPopupBase,height:"100%",backgroundColor:_.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},o("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}=_,k=`${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}},[k]:{[`${S}-modal-body`]:{padding:`${_.padding*2}px ${_.padding*2}px ${_.paddingLG}px`},[`${k}-body`]:{[`> ${_.iconCls}`]:{marginInlineEnd:_.margin,[`+ ${k}-title + ${k}-content`]:{marginInlineStart:_.modalConfirmIconSize+_.margin}}},[`${k}-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,k=_.lineHeightHeading5;return(0,c.TS)(_,{modalBodyPadding:_.paddingLG,modalHeaderPadding:`${b}px ${_.paddingLG}px`,modalHeaderBorderWidth:_.lineWidth,modalHeaderBorderStyle:_.lineType,modalHeaderBorderColorSplit:_.colorSplit,modalHeaderHeight:k*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 pt}});var r=e(59301),i=e(1585),l=e(92736),c=e(29679),f=e(19248),o=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(36237),S=e(17313),k=e(83116),R=e(37613),I=et=>{const{componentCls:Ze,width:ge,notificationMarginEdge:Ae}=et,Me=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),Ue=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),Ge=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ge},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Ze}-top, &${Ze}-bottom`]:{marginInline:0},[`&${Ze}-top`]:{[`${Ze}-fade-enter${Ze}-fade-enter-active, ${Ze}-fade-appear${Ze}-fade-appear-active`]:{animationName:Me}},[`&${Ze}-bottom`]:{[`${Ze}-fade-enter${Ze}-fade-enter-active, ${Ze}-fade-appear${Ze}-fade-appear-active`]:{animationName:Ue}},[`&${Ze}-topLeft, &${Ze}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Ae,[`${Ze}-fade-enter${Ze}-fade-enter-active, ${Ze}-fade-appear${Ze}-fade-appear-active`]:{animationName:Ge}}}};const M=et=>{const{iconCls:Ze,componentCls:ge,boxShadow:Ae,fontSizeLG:Me,notificationMarginBottom:Ue,borderRadiusLG:Ge,colorSuccess:nt,colorInfo:ut,colorWarning:Kt,colorError:Zt,colorTextHeading:De,notificationBg:Je,notificationPadding:Wt,notificationMarginEdge:Ot,motionDurationMid:zt,motionEaseInOut:Ft,fontSize:At,lineHeight:Yt,width:Ye,notificationIconSize:ce,colorText:pe}=et,Dt=`${ge}-notice`,Ce=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Ye},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ft=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:et.animationMaxHeight,marginBottom:Ue,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Ut={position:"relative",width:Ye,maxWidth:`calc(100vw - ${Ot*2}px)`,marginBottom:Ue,marginInlineStart:"auto",padding:Wt,overflow:"hidden",lineHeight:Yt,wordWrap:"break-word",background:Je,borderRadius:Ge,boxShadow:Ae,[`${ge}-close-icon`]:{fontSize:At,cursor:"pointer"},[`${Dt}-message`]:{marginBottom:et.marginXS,color:De,fontSize:Me,lineHeight:et.lineHeightLG},[`${Dt}-description`]:{fontSize:At,color:pe},[`&${Dt}-closable ${Dt}-message`]:{paddingInlineEnd:et.paddingLG},[`${Dt}-with-icon ${Dt}-message`]:{marginBottom:et.marginXS,marginInlineStart:et.marginSM+ce,fontSize:Me},[`${Dt}-with-icon ${Dt}-description`]:{marginInlineStart:et.marginSM+ce,fontSize:At},[`${Dt}-icon`]:{position:"absolute",fontSize:ce,lineHeight:0,[`&-success${Ze}`]:{color:nt},[`&-info${Ze}`]:{color:ut},[`&-warning${Ze}`]:{color:Kt},[`&-error${Ze}`]:{color:Zt}},[`${Dt}-close`]:{position:"absolute",top:et.notificationPaddingVertical,insetInlineEnd:et.notificationPaddingHorizontal,color:et.colorIcon,outline:"none",width:et.notificationCloseButtonSize,height:et.notificationCloseButtonSize,borderRadius:et.borderRadiusSM,transition:`background-color ${et.motionDurationMid}, color ${et.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:et.colorIconHover,backgroundColor:et.wireframe?"transparent":et.colorFillContent}},[`${Dt}-btn`]:{float:"right",marginTop:et.marginSM}};return[{[ge]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(et)),{position:"fixed",zIndex:et.zIndexPopup,marginInlineEnd:Ot,[`${ge}-hook-holder`]:{position:"relative"},[`&${ge}-top, &${ge}-bottom`]:{[Dt]:{marginInline:"auto auto"}},[`&${ge}-topLeft, &${ge}-bottomLeft`]:{[Dt]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ge}-fade-enter, ${ge}-fade-appear`]:{animationDuration:et.motionDurationMid,animationTimingFunction:Ft,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ge}-fade-leave`]:{animationTimingFunction:Ft,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"}}),I(et)),{"&-rtl":{direction:"rtl",[`${Dt}-btn`]:{float:"left"}}})},{[ge]:{[Dt]:Object.assign({},Ut)}},{[`${Dt}-pure-panel`]:Object.assign(Object.assign({},Ut),{margin:0})}]};var B=(0,k.Z)("Notification",et=>{const Ze=et.paddingMD,ge=et.paddingLG,Ae=(0,R.TS)(et,{notificationBg:et.colorBgElevated,notificationPaddingVertical:Ze,notificationPaddingHorizontal:ge,notificationIconSize:et.fontSizeLG*et.lineHeightLG,notificationCloseButtonSize:et.controlHeightLG*.55,notificationMarginBottom:et.margin,notificationPadding:`${et.paddingMD}px ${et.paddingContentHorizontalLG}px`,notificationMarginEdge:et.marginLG,animationMaxHeight:150});return[M(Ae)]},et=>({zIndexPopup:et.zIndexPopupBase+50,width:384})),N=function(et,Ze){var ge={};for(var Ae in et)Object.prototype.hasOwnProperty.call(et,Ae)&&Ze.indexOf(Ae)<0&&(ge[Ae]=et[Ae]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ae=Object.getOwnPropertySymbols(et);Me<Ae.length;Me++)Ze.indexOf(Ae[Me])<0&&Object.prototype.propertyIsEnumerable.call(et,Ae[Me])&&(ge[Ae[Me]]=et[Ae[Me]]);return ge};const V={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 W(et,Ze){return Ze===null||Ze===!1?null:Ze||r.createElement("span",{className:`${et}-close-x`},r.createElement(o.Z,{className:`${et}-close-icon`}))}const H={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},te=et=>{const{prefixCls:Ze,icon:ge,type:Ae,message:Me,description:Ue,btn:Ge,role:nt="alert"}=et;let ut=null;return ge?ut=r.createElement("span",{className:`${Ze}-icon`},ge):Ae&&(ut=r.createElement(H[Ae]||null,{className:p()(`${Ze}-icon`,`${Ze}-icon-${Ae}`)})),r.createElement("div",{className:p()({[`${Ze}-with-icon`]:ut}),role:nt},ut,r.createElement("div",{className:`${Ze}-message`},Me),r.createElement("div",{className:`${Ze}-description`},Ue),Ge&&r.createElement("div",{className:`${Ze}-btn`},Ge))};var oe=et=>{const{prefixCls:Ze,className:ge,icon:Ae,type:Me,message:Ue,description:Ge,btn:nt,closable:ut=!0,closeIcon:Kt}=et,Zt=N(et,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:De}=r.useContext(_.E_),Je=Ze||De("notification"),Wt=`${Je}-notice`,[,Ot]=B(Je);return r.createElement(y.qX,Object.assign({},Zt,{prefixCls:Je,className:p()(ge,Ot,`${Wt}-pure-panel`),eventKey:"pure",duration:null,closable:ut,closeIcon:W(Je,Kt),content:r.createElement(te,{prefixCls:Wt,icon:Ae,type:Me,message:Ue,description:Ge,btn:nt})}))};function J(et,Ze,ge){let Ae;switch(et){case"top":Ae={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ze,bottom:"auto"};break;case"topLeft":Ae={left:0,top:Ze,bottom:"auto"};break;case"topRight":Ae={right:0,top:Ze,bottom:"auto"};break;case"bottom":Ae={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ge};break;case"bottomLeft":Ae={left:0,top:"auto",bottom:ge};break;default:Ae={right:0,top:"auto",bottom:ge};break}return Ae}function Q(et){return{motionName:`${et}-fade`}}var K=function(et,Ze){var ge={};for(var Ae in et)Object.prototype.hasOwnProperty.call(et,Ae)&&Ze.indexOf(Ae)<0&&(ge[Ae]=et[Ae]);if(et!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Me=0,Ae=Object.getOwnPropertySymbols(et);Me<Ae.length;Me++)Ze.indexOf(Ae[Me])<0&&Object.prototype.propertyIsEnumerable.call(et,Ae[Me])&&(ge[Ae[Me]]=et[Ae[Me]]);return ge};const se=24,ee=4.5,X="topRight",le=et=>{let{children:Ze,prefixCls:ge}=et;const[,Ae]=B(ge);return r.createElement(y.JB,{classNames:{list:Ae,notice:Ae}},Ze)},z=(et,Ze)=>{let{prefixCls:ge,key:Ae}=Ze;return r.createElement(le,{prefixCls:ge,key:Ae},et)},$=r.forwardRef((et,Ze)=>{const{top:ge,bottom:Ae,prefixCls:Me,getContainer:Ue,maxCount:Ge,rtl:nt,onAllRemoved:ut}=et,{getPrefixCls:Kt,getPopupContainer:Zt,notification:De}=r.useContext(_.E_),Je=Me||Kt("notification"),Wt=Yt=>J(Yt,ge!=null?ge:se,Ae!=null?Ae:se),Ot=()=>p()({[`${Je}-rtl`]:nt}),zt=()=>Q(Je),[Ft,At]=(0,y.lm)({prefixCls:Je,style:Wt,className:Ot,motion:zt,closable:!0,closeIcon:W(Je),duration:ee,getContainer:()=>(Ue==null?void 0:Ue())||(Zt==null?void 0:Zt())||document.body,maxCount:Ge,onAllRemoved:ut,renderNotifications:z});return r.useImperativeHandle(Ze,()=>Object.assign(Object.assign({},Ft),{prefixCls:Je,notification:De})),At});function ae(et){const Ze=r.useRef(null);return[r.useMemo(()=>{const Ae=nt=>{var ut;if(!Ze.current)return;const{open:Kt,prefixCls:Zt,notification:De}=Ze.current,Je=`${Zt}-notice`,{message:Wt,description:Ot,icon:zt,type:Ft,btn:At,className:Yt,style:Ye,role:ce="alert",closeIcon:pe}=nt,Dt=K(nt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Ce=W(Je,pe);return Kt(Object.assign(Object.assign({placement:(ut=et==null?void 0:et.placement)!==null&&ut!==void 0?ut:X},Dt),{content:r.createElement(te,{prefixCls:Je,icon:zt,type:Ft,message:Wt,description:Ot,btn:At,role:ce}),className:p()(Ft&&`${Je}-${Ft}`,Yt,De==null?void 0:De.className),style:Object.assign(Object.assign({},De==null?void 0:De.style),Ye),closeIcon:Ce,closable:!!Ce}))},Ue={open:Ae,destroy:nt=>{var ut,Kt;nt!==void 0?(ut=Ze.current)===null||ut===void 0||ut.close(nt):(Kt=Ze.current)===null||Kt===void 0||Kt.destroy()}};return["success","info","warning","error"].forEach(nt=>{Ue[nt]=ut=>Ae(Object.assign(Object.assign({},ut),{type:nt}))}),Ue},[]),r.createElement($,Object.assign({key:"notification-holder"},et,{ref:Ze}))]}function _e(et){return ae(et)}let Ie=null,ke=et=>et(),We=[],je={};function Mt(){const{prefixCls:et,getContainer:Ze,rtl:ge,maxCount:Ae,top:Me,bottom:Ue}=je,Ge=et!=null?et:(0,l.w6)().getPrefixCls("notification"),nt=(Ze==null?void 0:Ze())||document.body;return{prefixCls:Ge,getContainer:()=>nt,rtl:ge,maxCount:Ae,top:Me,bottom:Ue}}const yt=r.forwardRef((et,Ze)=>{const[ge,Ae]=r.useState(Mt),[Me,Ue]=ae(ge),Ge=(0,l.w6)(),nt=Ge.getRootPrefixCls(),ut=Ge.getIconPrefixCls(),Kt=Ge.getTheme(),Zt=()=>{Ae(Mt)};return r.useEffect(Zt,[]),r.useImperativeHandle(Ze,()=>{const De=Object.assign({},Me);return Object.keys(De).forEach(Je=>{De[Je]=function(){return Zt(),Me[Je].apply(Me,arguments)}}),{instance:De,sync:Zt}}),r.createElement(l.ZP,{prefixCls:nt,iconPrefixCls:ut,theme:Kt},Ue)});function Pt(){if(!Ie){const et=document.createDocumentFragment(),Ze={fragment:et};Ie=Ze,ke(()=>{(0,i.s)(r.createElement(yt,{ref:ge=>{const{instance:Ae,sync:Me}=ge||{};Promise.resolve().then(()=>{!Ze.instance&&Ae&&(Ze.instance=Ae,Ze.sync=Me,Pt())})}}),et)});return}Ie.instance&&(We.forEach(et=>{switch(et.type){case"open":{ke(()=>{Ie.instance.open(Object.assign(Object.assign({},je),et.config))});break}case"destroy":ke(()=>{Ie==null||Ie.instance.destroy(et.key)});break}}),We=[])}function tr(et){je=Object.assign(Object.assign({},je),et),ke(()=>{var Ze;(Ze=Ie==null?void 0:Ie.sync)===null||Ze===void 0||Ze.call(Ie)})}function Vt(et){We.push({type:"open",config:et}),Pt()}function lr(et){We.push({type:"destroy",key:et}),Pt()}const Ke=["success","info","warning","error"],jt={open:Vt,destroy:lr,config:tr,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:oe};Ke.forEach(et=>{jt[et]=Ze=>Vt(Object.assign(Object.assign({},Ze),{type:et}))});const it=()=>{};let xt=null;var pt=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),o=e(19716),h=e(2856),u=function(b,S){var k={};for(var R in b)Object.prototype.hasOwnProperty.call(b,R)&&S.indexOf(R)<0&&(k[R]=b[R]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,R=Object.getOwnPropertySymbols(b);A<R.length;A++)S.indexOf(R[A])<0&&Object.prototype.propertyIsEnumerable.call(b,R[A])&&(k[R[A]]=b[R[A]]);return k};const a=c.createContext(null),x=(b,S)=>{const k=c.useContext(a),R=c.useMemo(()=>{if(!k)return"";const{compactDirection:A,isFirstItem:I,isLastItem:M}=k,B=A==="vertical"?"-vertical-":"-";return i()(`${b}-compact${B}item`,{[`${b}-compact${B}first-item`]:I,[`${b}-compact${B}last-item`]:M,[`${b}-compact${B}item-rtl`]:S==="rtl"})},[b,S,k]);return{compactSize:k==null?void 0:k.compactSize,compactDirection:k==null?void 0:k.compactDirection,compactItemClassnames:R}},p=b=>{let{children:S}=b;return c.createElement(a.Provider,{value:null},S)},y=b=>{var{children:S}=b,k=u(b,["children"]);return c.createElement(a.Provider,{value:k},S)},_=b=>{const{getPrefixCls:S,direction:k}=c.useContext(f.E_),{size:R,direction:A,block:I,prefixCls:M,className:B,rootClassName:N,children:V}=b,W=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),H=(0,o.Z)(ee=>R!=null?R:ee),te=S("space-compact",M),[ie,oe]=(0,h.Z)(te),J=i()(te,oe,{[`${te}-rtl`]:k==="rtl",[`${te}-block`]:I,[`${te}-vertical`]:A==="vertical"},B,N),Q=c.useContext(a),K=(0,l.Z)(V),se=c.useMemo(()=>K.map((ee,X)=>{const le=ee&&ee.key||`${te}-item-${X}`;return c.createElement(y,{key:le,compactSize:H,compactDirection:A,isFirstItem:X===0&&(!Q||(Q==null?void 0:Q.isFirstItem)),isLastItem:X===K.length-1&&(!Q||(Q==null?void 0:Q.isLastItem))},ee)}),[R,K,Q]);return K.length===0?null:ie(c.createElement("div",Object.assign({className:J},W),se))};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"}}}},o=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),o(a),c(a)]},()=>({}),{resetStyle:!1})},71418:function(d,v,e){"use strict";e.d(v,{Z:function(){return V}});var r=e(92310),i=e.n(r),l=e(2738),c=e(59301),f=e(53280),o=e(92343),h=e(36355),u=e(36237),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=W=>({[`${W.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(W)),{position:"absolute",display:"none",color:W.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${W.motionDurationSlow} ${W.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${W.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:W.contentHeight,[`${W.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-W.dotSize/2},[`${W.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(W.dotSize-W.fontSize)/2+2,textShadow:`0 1px 2px ${W.colorBgContainer}`,fontSize:W.fontSize},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSize/2)-10},"&-sm":{[`${W.componentCls}-dot`]:{margin:-W.dotSizeSM/2},[`${W.componentCls}-text`]:{paddingTop:(W.dotSizeSM-W.fontSize)/2+2},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSizeSM/2)-10}},"&-lg":{[`${W.componentCls}-dot`]:{margin:-(W.dotSizeLG/2)},[`${W.componentCls}-text`]:{paddingTop:(W.dotSizeLG-W.fontSize)/2+2},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSizeLG/2)-10}}},[`${W.componentCls}-container`]:{position:"relative",transition:`opacity ${W.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:W.colorBgContainer,opacity:0,transition:`all ${W.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${W.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:W.spinDotDefault},[`${W.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:W.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(W.dotSize-W.marginXXS/2)/2,height:(W.dotSize-W.marginXXS/2)/2,backgroundColor:W.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 ${W.componentCls}-dot`]:{fontSize:W.dotSizeSM,i:{width:(W.dotSizeSM-W.marginXXS/2)/2,height:(W.dotSizeSM-W.marginXXS/2)/2}},[`&-lg ${W.componentCls}-dot`]:{fontSize:W.dotSizeLG,i:{width:(W.dotSizeLG-W.marginXXS)/2,height:(W.dotSizeLG-W.marginXXS)/2}},[`&${W.componentCls}-show-text ${W.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",W=>{const H=(0,p.TS)(W,{spinDotDefault:W.colorTextDescription});return[b(H)]},W=>({contentHeight:400,dotSize:W.controlHeightLG/2,dotSizeSM:W.controlHeightLG*.35,dotSizeLG:W.controlHeight})),k=function(W,H){var te={};for(var ie in W)Object.prototype.hasOwnProperty.call(W,ie)&&H.indexOf(ie)<0&&(te[ie]=W[ie]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ie=Object.getOwnPropertySymbols(W);oe<ie.length;oe++)H.indexOf(ie[oe])<0&&Object.prototype.propertyIsEnumerable.call(W,ie[oe])&&(te[ie[oe]]=W[ie[oe]]);return te};const R=null;let A=null;function I(W,H){const{indicator:te}=H,ie=`${W}-dot`;return te===null?null:(0,o.l$)(te)?(0,o.Tm)(te,{className:i()(te.props.className,ie)}):(0,o.l$)(A)?(0,o.Tm)(A,{className:i()(A.props.className,ie)}):c.createElement("span",{className:i()(ie,`${W}-dot-spin`)},c.createElement("i",{className:`${W}-dot-item`,key:1}),c.createElement("i",{className:`${W}-dot-item`,key:2}),c.createElement("i",{className:`${W}-dot-item`,key:3}),c.createElement("i",{className:`${W}-dot-item`,key:4}))}function M(W,H){return!!W&&!!H&&!isNaN(Number(H))}const B=W=>{const{spinPrefixCls:H,spinning:te=!0,delay:ie=0,className:oe,rootClassName:J,size:Q="default",tip:K,wrapperClassName:se,style:ee,children:X,hashId:le}=W,z=k(W,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[$,ae]=c.useState(()=>te&&!M(te,ie));c.useEffect(()=>{if(te){const tr=(0,f.D)(ie,()=>{ae(!0)});return tr(),()=>{var Vt;(Vt=tr==null?void 0:tr.cancel)===null||Vt===void 0||Vt.call(tr)}}ae(!1)},[ie,te]);const _e=c.useMemo(()=>typeof X!="undefined",[X]),{direction:Ie,spin:ke}=c.useContext(h.E_),We=i()(H,ke==null?void 0:ke.className,{[`${H}-sm`]:Q==="small",[`${H}-lg`]:Q==="large",[`${H}-spinning`]:$,[`${H}-show-text`]:!!K,[`${H}-rtl`]:Ie==="rtl"},oe,J,le),je=i()(`${H}-container`,{[`${H}-blur`]:$}),Mt=(0,l.Z)(z,["indicator","prefixCls"]),yt=Object.assign(Object.assign({},ke==null?void 0:ke.style),ee),Pt=c.createElement("div",Object.assign({},Mt,{style:yt,className:We,"aria-live":"polite","aria-busy":$}),I(H,W),K&&_e?c.createElement("div",{className:`${H}-text`},K):null);return _e?c.createElement("div",Object.assign({},Mt,{className:i()(`${H}-nested-loading`,se,le)}),$&&c.createElement("div",{key:"loading"},Pt),c.createElement("div",{className:je,key:"container"},X)):Pt},N=W=>{const{prefixCls:H}=W,{getPrefixCls:te}=c.useContext(h.E_),ie=te("spin",H),[oe,J]=S(ie),Q=Object.assign(Object.assign({},W),{spinPrefixCls:ie,hashId:J});return oe(c.createElement(B,Object.assign({},Q)))};N.setDefaultIndicator=W=>{A=W};var V=N},74207:function(d,v,e){"use strict";e.d(v,{c:function(){return l}});function r(c,f,o){const{focusElCls:h,focus:u,borderElCls:a}=o,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,o){const{borderElCls:h}=o,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:o}=c,h=`${o}-compact`;return{[h]:Object.assign(Object.assign({},r(c,h,f)),i(o,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 o},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"}}}),o=(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(36237),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(o){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:u}=o,a=`${u}-fade`,x=h?"&":"";return[(0,i.R)(a,l,c,o.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,o,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:o,animationPlayState:"running",pointerEvents:"none"}}}},29878:function(d,v,e){"use strict";e.d(v,{_y:function(){return k},kr:function(){return l}});var r=e(36237),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}}),o=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:o},"zoom-big-fast":{inKeyframes:f,outKeyframes:o},"zoom-left":{inKeyframes:a,outKeyframes:x},"zoom-right":{inKeyframes:p,outKeyframes:y},"zoom-up":{inKeyframes:h,outKeyframes:u},"zoom-down":{inKeyframes:_,outKeyframes:b}},k=(R,A)=>{const{antCls:I}=R,M=`${I}-${A}`,{inKeyframes:B,outKeyframes:N}=S[A];return[(0,i.R)(M,B,N,A==="zoom-big-fast"?R.motionDurationFast:R.motionDurationMid),{[`
|
|
|
${M}-enter,
|
|
|
${M}-appear
|
|
|
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:R.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${M}-leave`]:{animationTimingFunction:R.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(o){const h=i,{contentRadius:u,limitVerticalRadius:a}=o,x=u>12?u+2:12;return{dropdownArrowOffset:x,dropdownArrowOffsetVertical:a?h:x}}function c(o,h){return o?h:{}}function f(o,h){const{componentCls:u,sizePopupArrow:a,borderRadiusXS:x,borderRadiusOuter:p,boxShadowPopoverArrow:y}=o,{colorBg:_,contentRadius:b=o.borderRadiusLG,limitVerticalRadius:S,arrowDistance:k=0,arrowPlacement:R={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:A,dropdownArrowOffset:I}=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(!!R.top,{[[`&-placement-top ${u}-arrow`,`&-placement-topLeft ${u}-arrow`,`&-placement-topRight ${u}-arrow`].join(",")]:{bottom:k,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:I}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:I}}})),c(!!R.bottom,{[[`&-placement-bottom ${u}-arrow`,`&-placement-bottomLeft ${u}-arrow`,`&-placement-bottomRight ${u}-arrow`].join(",")]:{top:k,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:I}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:I}}})),c(!!R.left,{[[`&-placement-left ${u}-arrow`,`&-placement-leftTop ${u}-arrow`,`&-placement-leftBottom ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:k},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:A},[`&-placement-leftBottom ${u}-arrow`]:{bottom:A}})),c(!!R.right,{[[`&-placement-right ${u}-arrow`,`&-placement-rightTop ${u}-arrow`,`&-placement-rightBottom ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:k},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:A},[`&-placement-rightBottom ${u}-arrow`]:{bottom:A}}))}}},47585:function(d,v,e){"use strict";e.d(v,{r:function(){return r}});const r=(i,l,c,f,o)=>{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=_,k=2*h-x,R=p,A=2*h-u,I=a,M=h*Math.sqrt(2)+c*(Math.sqrt(2)-2),B=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(${B}px 100%, 50% ${B}px, ${2*h-B}px 100%, ${B}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 ${k} ${R} A ${c} ${c} 0 0 0 ${A} ${I} 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:o,zIndex:0,background:"transparent"}}}},45246:function(d,v,e){"use strict";e.d(v,{Mj:function(){return V},u_:function(){return N},uH:function(){return B}});var r=e(36237),i=e(59301),l=e(30071),f=W=>{const{controlHeight:H}=W;return{controlHeightSM:H*.75,controlHeightXS:H*.5,controlHeightLG:H*1.25}};function o(W){const{sizeUnit:H,sizeStep:te}=W;return{sizeXXL:H*(te+8),sizeXL:H*(te+4),sizeLG:H*(te+2),sizeMD:H*(te+1),sizeMS:H*te,size:H*te,sizeSM:H*(te-1),sizeXS:H*(te-2),sizeXXS:H*(te-3)}}var h=e(34117),u=e(64993);function a(W,H){let{generateColorPalettes:te,generateNeutralColorPalettes:ie}=H;const{colorSuccess:oe,colorWarning:J,colorError:Q,colorInfo:K,colorPrimary:se,colorBgBase:ee,colorTextBase:X}=W,le=te(se),z=te(oe),$=te(J),ae=te(Q),_e=te(K),Ie=ie(ee,X),ke=W.colorLink||W.colorInfo,We=te(ke);return Object.assign(Object.assign({},Ie),{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:ae[1],colorErrorBgHover:ae[2],colorErrorBorder:ae[3],colorErrorBorderHover:ae[4],colorErrorHover:ae[5],colorError:ae[6],colorErrorActive:ae[7],colorErrorTextHover:ae[8],colorErrorText:ae[9],colorErrorTextActive:ae[10],colorWarningBg:$[1],colorWarningBgHover:$[2],colorWarningBorder:$[3],colorWarningBorderHover:$[4],colorWarningHover:$[4],colorWarning:$[6],colorWarningActive:$[7],colorWarningTextHover:$[8],colorWarningText:$[9],colorWarningTextActive:$[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:We[4],colorLink:We[6],colorLinkActive:We[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=W=>{let H=W,te=W,ie=W,oe=W;return W<6&&W>=5?H=W+1:W<16&&W>=6?H=W+2:W>=16&&(H=16),W<7&&W>=5?te=4:W<8&&W>=7?te=5:W<14&&W>=8?te=6:W<16&&W>=14?te=7:W>=16&&(te=8),W<6&&W>=2?ie=1:W>=6&&(ie=2),W>4&&W<8?oe=4:W>=8&&(oe=6),{borderRadius:W>16?16:W,borderRadiusXS:ie,borderRadiusSM:te,borderRadiusLG:H,borderRadiusOuter:oe}};function y(W){const{motionUnit:H,motionBase:te,borderRadius:ie,lineWidth:oe}=W;return Object.assign({motionDurationFast:`${(te+H).toFixed(1)}s`,motionDurationMid:`${(te+H*2).toFixed(1)}s`,motionDurationSlow:`${(te+H*3).toFixed(1)}s`,lineWidthBold:oe+1},p(ie))}const _=(W,H)=>new u.C(W).setAlpha(H).toRgbString(),b=(W,H)=>new u.C(W).darken(H).toHexString(),S=W=>{const H=(0,l.generate)(W);return{1:H[0],2:H[1],3:H[2],4:H[3],5:H[4],6:H[5],7:H[6],8:H[4],9:H[5],10:H[6]}},k=(W,H)=>{const te=W||"#fff",ie=H||"#000";return{colorBgBase:te,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(te,4),colorBgContainer:b(te,0),colorBgElevated:b(te,0),colorBgSpotlight:_(ie,.85),colorBorder:b(te,15),colorBorderSecondary:b(te,6)}};function R(W){const H=new Array(10).fill(null).map((te,ie)=>{const oe=ie-1,J=W*Math.pow(2.71828,oe/5),Q=ie>1?Math.floor(J):Math.ceil(J);return Math.floor(Q/2)*2});return H[1]=W,H.map(te=>{const ie=te+8;return{size:te,lineHeight:ie/te}})}var I=W=>{const H=R(W),te=H.map(oe=>oe.size),ie=H.map(oe=>oe.lineHeight);return{fontSizeSM:te[0],fontSize:te[1],fontSizeLG:te[2],fontSizeXL:te[3],fontSizeHeading1:te[6],fontSizeHeading2:te[5],fontSizeHeading3:te[4],fontSizeHeading4:te[3],fontSizeHeading5:te[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(W){const H=Object.keys(h.M).map(te=>{const ie=(0,l.generate)(W[te]);return new Array(10).fill(1).reduce((oe,J,Q)=>(oe[`${te}-${Q+1}`]=ie[Q],oe[`${te}${Q+1}`]=ie[Q],oe),{})}).reduce((te,ie)=>(te=Object.assign(Object.assign({},te),ie),te),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},W),H),a(W,{generateColorPalettes:S,generateNeutralColorPalettes:k})),I(W.fontSize)),o(W)),f(W)),y(W))}const B=(0,r.createTheme)(M),N={token:h.Z,hashed:!0},V=i.createContext(N)},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(36237),i=e(59301),l="5.9.0",c=l,f=e(45246),o=e(34117),h=e(64993);function u(k){return k>=0&&k<=255}function a(k,R){const{r:A,g:I,b:M,a:B}=new h.C(k).toRgb();if(B<1)return k;const{r:N,g:V,b:W}=new h.C(R).toRgb();for(let H=.01;H<=1;H+=.01){const te=Math.round((A-N*(1-H))/H),ie=Math.round((I-V*(1-H))/H),oe=Math.round((M-W*(1-H))/H);if(u(te)&&u(ie)&&u(oe))return new h.C({r:te,g:ie,b:oe,a:Math.round(H*100)/100}).toRgbString()}return new h.C({r:A,g:I,b:M,a:1}).toRgbString()}var x=a,p=function(k,R){var A={};for(var I in k)Object.prototype.hasOwnProperty.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,I=Object.getOwnPropertySymbols(k);M<I.length;M++)R.indexOf(I[M])<0&&Object.prototype.propertyIsEnumerable.call(k,I[M])&&(A[I[M]]=k[I[M]]);return A};function y(k){const{override:R}=k,A=p(k,["override"]),I=Object.assign({},R);Object.keys(o.Z).forEach(oe=>{delete I[oe]});const M=Object.assign(Object.assign({},A),I),B=480,N=576,V=768,W=992,H=1200,te=1600;if(M.motion===!1){const oe="0s";M.motionDurationFast=oe,M.motionDurationMid=oe,M.motionDurationSlow=oe}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:B,screenXSMin:B,screenXSMax:N-1,screenSM:N,screenSMMin:N,screenSMMax:V-1,screenMD:V,screenMDMin:V,screenMDMax:W-1,screenLG:W,screenLGMin:W,screenLGMax:H-1,screenXL:H,screenXLMin:H,screenXLMax:te-1,screenXXL:te,screenXXLMin:te,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)"}),I)}var _=function(k,R){var A={};for(var I in k)Object.prototype.hasOwnProperty.call(k,I)&&R.indexOf(I)<0&&(A[I]=k[I]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,I=Object.getOwnPropertySymbols(k);M<I.length;M++)R.indexOf(I[M])<0&&Object.prototype.propertyIsEnumerable.call(k,I[M])&&(A[I[M]]=k[I[M]]);return A};const b=(k,R,A)=>{const I=A.getDerivativeToken(k),{override:M}=R,B=_(R,["override"]);let N=Object.assign(Object.assign({},I),{override:M});return N=y(N),B&&Object.entries(B).forEach(V=>{let[W,H]=V;const{theme:te}=H,ie=_(H,["theme"]);let oe=ie;te&&(oe=b(Object.assign(Object.assign({},N),ie),{override:ie},te)),N[W]=oe}),N};function S(){const{token:k,hashed:R,theme:A,components:I}=i.useContext(f.Mj),M=`${c}-${R||""}`,B=A||f.uH,[N,V]=(0,r.useCacheToken)(B,[o.Z,k],{salt:M,override:Object.assign({override:k},I),getComputedToken:b,formatToken:y});return[B,N,R?V:""]}},83116:function(d,v,e){"use strict";e.d(v,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(36237),l=e(70425),c=e(36355),f=e(17313),o=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],[k]=S,R=S.join("-");return A=>{const[I,M,B]=(0,o.Z)(),{getPrefixCls:N,iconPrefixCls:V,csp:W}=(0,r.useContext)(c.E_),H=N(),te={theme:I,token:M,hashId:B,nonce:()=>W==null?void 0:W.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},te),{clientOnly:!1,path:["Shared",H]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(V),[(0,i.useStyleRegister)(Object.assign(Object.assign({},te),{path:[R,A,V]}),()=>{const{token:ie,flush:oe}=(0,h.ZP)(M),J=Object.assign({},M[k]);if(b.deprecatedTokens){const{deprecatedTokens:le}=b;le.forEach(z=>{let[$,ae]=z;var _e;(J!=null&&J[$]||J!=null&&J[ae])&&((_e=J[ae])!==null&&_e!==void 0||(J[ae]=J==null?void 0:J[$]))})}const Q=typeof _=="function"?_((0,h.TS)(ie,J!=null?J:{})):_,K=Object.assign(Object.assign({},Q),J),se=`.${A}`,ee=(0,h.TS)(ie,{componentCls:se,prefixCls:A,iconCls:`.${V}`,antCls:`.${H}`},K),X=y(ee,{hashId:B,prefixCls:A,rootPrefixCls:H,iconPrefixCls:V,overrideComponentToken:J});return oe(k,K),[b.resetStyle===!1?null:(0,f.du)(M,A),X]}),B]}}const x=(p,y,_,b)=>{const S=a(p,y,_,Object.assign({resetStyle:!1,order:-998},b));return R=>{let{prefixCls:A}=R;return S(A),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,o)=>{const h=l[`${o}1`],u=l[`${o}3`],a=l[`${o}6`],x=l[`${o}7`];return Object.assign(Object.assign({},f),c(o,{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 o(){}function h(u){let a,x=u,p=o;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(36237),i=e(17313),l=e(88088);const c=(f,o)=>{const[h,u]=(0,l.Z)();return(0,r.useStyleRegister)({theme:h,token:u,hashId:"",path:["ant-design-icons",f],nonce:()=>o==null?void 0:o.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 oe}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),o=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),k=e(37613),R=e(83116);const A=J=>{const{componentCls:Q,tooltipMaxWidth:K,tooltipColor:se,tooltipBg:ee,tooltipBorderRadius:X,zIndexPopup:le,controlHeight:z,boxShadowSecondary:$,paddingSM:ae,paddingXS:_e,tooltipRadiusOuter:Ie}=J;return[{[Q]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(J)),{position:"absolute",zIndex:le,display:"block",width:"max-content",maxWidth:K,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":ee,[`${Q}-inner`]:{minWidth:z,minHeight:z,padding:`${ae/2}px ${_e}px`,color:se,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ee,borderRadius:X,boxShadow:$,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${Q}-inner`]:{borderRadius:Math.min(X,b.qN)}},[`${Q}-content`]:{position:"relative"}}),(0,S.Z)(J,(ke,We)=>{let{darkColor:je}=We;return{[`&${Q}-${ke}`]:{[`${Q}-inner`]:{backgroundColor:je},[`${Q}-arrow`]:{"--antd-arrow-background-color":je}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,k.TS)(J,{borderRadiusOuter:Ie}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:X,limitVerticalRadius:!0}),{[`${Q}-pure`]:{position:"relative",maxWidth:"none",margin:J.sizePopupArrow}}]};var I=(J,Q)=>(0,R.Z)("Tooltip",se=>{if(Q===!1)return[];const{borderRadius:ee,colorTextLightSolid:X,colorBgDefault:le,borderRadiusOuter:z}=se,$=(0,k.TS)(se,{tooltipMaxWidth:250,tooltipColor:X,tooltipBorderRadius:ee,tooltipBg:le,tooltipRadiusOuter:z>4?4:z});return[A($),(0,_._y)(se,"zoom-big-fast")]},se=>{let{zIndexPopupBase:ee,colorBgSpotlight:X}=se;return{zIndexPopup:ee+70,colorBgDefault:X}},{resetStyle:!1})(J),M=e(36785);function B(J,Q){const K=(0,M.o2)(Q),se=l()({[`${J}-${Q}`]:Q&&K}),ee={},X={};return Q&&!K&&(ee.background=Q,X["--antd-arrow-background-color"]=Q),{className:se,overlayStyle:ee,arrowStyle:X}}var V=J=>{const{prefixCls:Q,className:K,placement:se="top",title:ee,color:X,overlayInnerStyle:le}=J,{getPrefixCls:z}=r.useContext(a.E_),$=z("tooltip",Q),[ae,_e]=I($,!0),Ie=B($,X),ke=Ie.arrowStyle,We=Object.assign(Object.assign({},le),Ie.overlayStyle),je=l()(_e,$,`${$}-pure`,`${$}-placement-${se}`,K,Ie.className);return ae(r.createElement("div",{className:je,style:ke},r.createElement("div",{className:`${$}-arrow`}),r.createElement(c.G,Object.assign({},J,{className:_e,prefixCls:$,overlayInnerStyle:We}),ee)))},W=function(J,Q){var K={};for(var se in J)Object.prototype.hasOwnProperty.call(J,se)&&Q.indexOf(se)<0&&(K[se]=J[se]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,se=Object.getOwnPropertySymbols(J);ee<se.length;ee++)Q.indexOf(se[ee])<0&&Object.prototype.propertyIsEnumerable.call(J,se[ee])&&(K[se[ee]]=J[se[ee]]);return K};const H=(J,Q)=>{const K={},se=Object.assign({},J);return Q.forEach(ee=>{J&&ee in J&&(K[ee]=J[ee],delete se[ee])}),{picked:K,omitted:se}};function te(J,Q){const K=J.type;if((K.__ANT_BUTTON===!0||J.type==="button")&&J.props.disabled||K.__ANT_SWITCH===!0&&(J.props.disabled||J.props.loading)||K.__ANT_RADIO===!0&&J.props.disabled){const{picked:se,omitted:ee}=H(J.props.style,["position","left","right","top","bottom","float","display","zIndex"]),X=Object.assign(Object.assign({display:"inline-block"},se),{cursor:"not-allowed",width:J.props.block?"100%":void 0}),le=Object.assign(Object.assign({},ee),{pointerEvents:"none"}),z=(0,u.Tm)(J,{style:le,className:null});return r.createElement("span",{style:X,className:l()(J.props.className,`${Q}-disabled-compatible-wrapper`)},z)}return J}const ie=r.forwardRef((J,Q)=>{var K,se;const{prefixCls:ee,openClassName:X,getTooltipContainer:le,overlayClassName:z,color:$,overlayInnerStyle:ae,children:_e,afterOpenChange:Ie,afterVisibleChange:ke,destroyTooltipOnHide:We,arrow:je=!0,title:Mt,overlay:yt,builtinPlacements:Pt,arrowPointAtCenter:tr=!1,autoAdjustOverflow:Vt=!0}=J,lr=!!je,[,Ke]=(0,p.Z)(),{getPopupContainer:Ct,getPrefixCls:jt,direction:it}=r.useContext(a.E_),xt=r.useRef(null),pt=()=>{var Oe;(Oe=xt.current)===null||Oe===void 0||Oe.forceAlign()};r.useImperativeHandle(Q,()=>({forceAlign:pt,forcePopupAlign:()=>{pt()}}));const[et,Ze]=(0,f.Z)(!1,{value:(K=J.open)!==null&&K!==void 0?K:J.visible,defaultValue:(se=J.defaultOpen)!==null&&se!==void 0?se:J.defaultVisible}),ge=!Mt&&!yt&&Mt!==0,Ae=Oe=>{var wt,ye;Ze(ge?!1:Oe),ge||((wt=J.onOpenChange)===null||wt===void 0||wt.call(J,Oe),(ye=J.onVisibleChange)===null||ye===void 0||ye.call(J,Oe))},Me=r.useMemo(()=>{var Oe,wt;let ye=tr;return typeof je=="object"&&(ye=(wt=(Oe=je.pointAtCenter)!==null&&Oe!==void 0?Oe:je.arrowPointAtCenter)!==null&&wt!==void 0?wt:tr),Pt||(0,h.Z)({arrowPointAtCenter:ye,autoAdjustOverflow:Vt,arrowWidth:lr?Ke.sizePopupArrow:0,borderRadius:Ke.borderRadius,offset:Ke.marginXXS,visibleFirst:!0})},[tr,je,Pt,Ke]),Ue=r.useMemo(()=>Mt===0?Mt:yt||Mt||"",[yt,Mt]),Ge=r.createElement(x.BR,null,typeof Ue=="function"?Ue():Ue),{getPopupContainer:nt,placement:ut="top",mouseEnterDelay:Kt=.1,mouseLeaveDelay:Zt=.1,overlayStyle:De,rootClassName:Je}=J,Wt=W(J,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Ot=jt("tooltip",ee),zt=jt(),Ft=J["data-popover-inject"];let At=et;!("open"in J)&&!("visible"in J)&&ge&&(At=!1);const Yt=te((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),Ot),Ye=Yt.props,ce=!Ye.className||typeof Ye.className=="string"?l()(Ye.className,X||`${Ot}-open`):Ye.className,[pe,Dt]=I(Ot,!Ft),Ce=B(Ot,$),ft=Ce.arrowStyle,Ut=Object.assign(Object.assign({},ae),Ce.overlayStyle),St=l()(z,{[`${Ot}-rtl`]:it==="rtl"},Ce.className,Je,Dt);return pe(r.createElement(c.Z,Object.assign({},Wt,{showArrow:lr,placement:ut,mouseEnterDelay:Kt,mouseLeaveDelay:Zt,prefixCls:Ot,overlayClassName:St,overlayStyle:Object.assign(Object.assign({},ft),De),getTooltipContainer:nt||le||Ct,ref:xt,builtinPlacements:Me,overlay:Ge,visible:At,onVisibleChange:Ae,afterVisibleChange:Ie!=null?Ie:ke,overlayInnerStyle:Ut,arrowContent:r.createElement("span",{className:`${Ot}-arrow-content`}),motion:{motionName:(0,o.m)(zt,"zoom-big-fast",J.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!We}),At?(0,u.Tm)(Yt,{className:ce}):Yt))});ie._InternalPanelDoNotUseOrYouWillBeFired=V;var oe=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 o=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 o=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",k=[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"],R=[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"],A=[h,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],I=[x,y,p,b,S,k,R,A],M=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,B="str",N="kwd",V="com",W="typ",H="lit",te="pun",ie="pln",oe="tag",J="dec",Q="src",K="atn",se="atv",ee="nocode",X="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function le(it){for(var xt=0,pt=!1,et=!1,Ze=0,ge=it.length;Ze<ge;++Ze){var Ae=it[Ze];if(Ae.ignoreCase)et=!0;else if(/[a-z]/i.test(Ae.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){pt=!0,et=!1;break}}var Me={b:8,t:9,n:10,v:11,f:12,r:13};function Ue(Zt){var De=Zt.charCodeAt(0);if(De!==92)return De;var Je=Zt.charAt(1);return De=Me[Je],De||("0"<=Je&&Je<="7"?parseInt(Zt.substring(1),8):Je==="u"||Je==="x"?parseInt(Zt.substring(2),16):Zt.charCodeAt(1))}function Ge(Zt){if(Zt<32)return(Zt<16?"\\x0":"\\x")+Zt.toString(16);var De=String.fromCharCode(Zt);return De==="\\"||De==="-"||De==="]"||De==="^"?"\\"+De:De}function nt(Zt){var De=Zt.substring(1,Zt.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")),Je=[],Wt=De[0]==="^",Ot=["["];Wt&&Ot.push("^");for(var zt=Wt?1:0,Ft=De.length;zt<Ft;++zt){var At=De[zt];if(/\\[bdsw]/i.test(At))Ot.push(At);else{var Yt=Ue(At),Ye;zt+2<Ft&&De[zt+1]==="-"?(Ye=Ue(De[zt+2]),zt+=2):Ye=Yt,Je.push([Yt,Ye]),Ye<65||Yt>122||(Ye<65||Yt>90||Je.push([Math.max(65,Yt)|32,Math.min(Ye,90)|32]),Ye<97||Yt>122||Je.push([Math.max(97,Yt)&-33,Math.min(Ye,122)&-33]))}}Je.sort(function(Ce,ft){return Ce[0]-ft[0]||ft[1]-Ce[1]});for(var ce=[],pe=[],zt=0;zt<Je.length;++zt){var Dt=Je[zt];Dt[0]<=pe[1]+1?pe[1]=Math.max(pe[1],Dt[1]):ce.push(pe=Dt)}for(var zt=0;zt<ce.length;++zt){var Dt=ce[zt];Ot.push(Ge(Dt[0])),Dt[1]>Dt[0]&&(Dt[1]+1>Dt[0]&&Ot.push("-"),Ot.push(Ge(Dt[1])))}return Ot.push("]"),Ot.join("")}function ut(Zt){for(var De=Zt.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")),Je=De.length,Wt=[],Ot=0,zt=0;Ot<Je;++Ot){var Ft=De[Ot];if(Ft==="(")++zt;else if(Ft.charAt(0)==="\\"){var At=+Ft.substring(1);At&&(At<=zt?Wt[At]=-1:De[Ot]=Ge(At))}}for(var Ot=1;Ot<Wt.length;++Ot)Wt[Ot]===-1&&(Wt[Ot]=++xt);for(var Ot=0,zt=0;Ot<Je;++Ot){var Ft=De[Ot];if(Ft==="(")++zt,Wt[zt]||(De[Ot]="(?:");else if(Ft.charAt(0)==="\\"){var At=+Ft.substring(1);At&&At<=zt&&(De[Ot]="\\"+Wt[At])}}for(var Ot=0;Ot<Je;++Ot)De[Ot]==="^"&&De[Ot+1]!=="^"&&(De[Ot]="");if(Zt.ignoreCase&&pt)for(var Ot=0;Ot<Je;++Ot){var Ft=De[Ot],Yt=Ft.charAt(0);Ft.length>=2&&Yt==="["?De[Ot]=nt(Ft):Yt!=="\\"&&(De[Ot]=Ft.replace(/[a-zA-Z]/g,function(pe){var Dt=pe.charCodeAt(0);return"["+String.fromCharCode(Dt&-33,Dt|32)+"]"}))}return De.join("")}for(var Kt=[],Ze=0,ge=it.length;Ze<ge;++Ze){var Ae=it[Ze];if(Ae.global||Ae.multiline)throw new Error(""+Ae);Kt.push("(?:"+ut(Ae)+")")}return new RegExp(Kt.join("|"),et?"gi":"g")}function z(it,xt){var pt=/(?:^|\s)nocode(?:\s|$)/,et=[],Ze=0,ge=[],Ae=0;function Me(Ue){var Ge=Ue.nodeType;if(Ge==1){if(pt.test(Ue.className))return;for(var nt=Ue.firstChild;nt;nt=nt.nextSibling)Me(nt);var ut=Ue.nodeName.toLowerCase();(ut==="br"||ut==="li")&&(et[Ae]=`
|
|
|
`,ge[Ae<<1]=Ze++,ge[Ae++<<1|1]=Ue)}else if(Ge==3||Ge==4){var Kt=Ue.nodeValue;Kt.length&&(xt?Kt=Kt.replace(/\r\n?/g,`
|
|
|
`):Kt=Kt.replace(/[ \t\r\n]+/g," "),et[Ae]=Kt,ge[Ae<<1]=Ze,Ze+=Kt.length,ge[Ae++<<1|1]=Ue)}}return Me(it),{sourceCode:et.join("").replace(/\n$/,""),spans:ge}}function $(it,xt,pt,et,Ze){if(pt){var ge={sourceNode:it,pre:1,langExtension:null,numberLines:null,sourceCode:pt,spans:null,basePos:xt,decorations:null};et(ge),Ze.push.apply(Ze,ge.decorations)}}var ae=/\S/;function _e(it){for(var xt=void 0,pt=it.firstChild;pt;pt=pt.nextSibling){var et=pt.nodeType;xt=et===1?xt?it:pt:et===3&&ae.test(pt.nodeValue)?it:xt}return xt===it?void 0:xt}function Ie(it,xt){var pt={},et;(function(){for(var Ae=it.concat(xt),Me=[],Ue={},Ge=0,nt=Ae.length;Ge<nt;++Ge){var ut=Ae[Ge],Kt=ut[3];if(Kt)for(var Zt=Kt.length;--Zt>=0;)pt[Kt.charAt(Zt)]=ut;var De=ut[1],Je=""+De;Ue.hasOwnProperty(Je)||(Me.push(De),Ue[Je]=null)}Me.push(/[\0-\uffff]/),et=le(Me)})();var Ze=xt.length,ge=function(Ae){for(var Me=Ae.sourceCode,Ue=Ae.basePos,Ge=Ae.sourceNode,nt=[Ue,ie],ut=0,Kt=Me.match(et)||[],Zt={},De=0,Je=Kt.length;De<Je;++De){var Wt=Kt[De],Ot=Zt[Wt],zt=void 0,Ft;if(typeof Ot=="string")Ft=!1;else{var At=pt[Wt.charAt(0)];if(At)zt=Wt.match(At[1]),Ot=At[0];else{for(var Yt=0;Yt<Ze;++Yt)if(At=xt[Yt],zt=Wt.match(At[1]),zt){Ot=At[0];break}zt||(Ot=ie)}Ft=Ot.length>=5&&Ot.substring(0,5)==="lang-",Ft&&!(zt&&typeof zt[1]=="string")&&(Ft=!1,Ot=Q),Ft||(Zt[Wt]=Ot)}var Ye=ut;if(ut+=Wt.length,!Ft)nt.push(Ue+Ye,Ot);else{var ce=zt[1],pe=Wt.indexOf(ce),Dt=pe+ce.length;zt[2]&&(Dt=Wt.length-zt[2].length,pe=Dt-ce.length);var Ce=Ot.substring(5);$(Ge,Ue+Ye,Wt.substring(0,pe),ge,nt),$(Ge,Ue+Ye+pe,ce,tr(Ce,ce),nt),$(Ge,Ue+Ye+Dt,Wt.substring(Dt),ge,nt)}}Ae.decorations=nt};return ge}function ke(it){var xt=[],pt=[];it.tripleQuotedStrings?xt.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):it.multiLineStrings?xt.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):xt.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),it.verbatimStrings&&pt.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var et=it.hashComments;et&&(it.cStyleComments?(et>1?xt.push([V,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):xt.push([V,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),pt.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):xt.push([V,/^#[^\r\n]*/,null,"#"])),it.cStyleComments&&(pt.push([V,/^\/\/[^\r\n]*/,null]),pt.push([V,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ze=it.regexLiterals;if(Ze){var ge=Ze>1?"":`
|
|
|
\r`,Ae=ge?".":"[\\S\\s]",Me="/(?=[^/*"+ge+"])(?:[^/\\x5B\\x5C"+ge+"]|\\x5C"+Ae+"|\\x5B(?:[^\\x5C\\x5D"+ge+"]|\\x5C"+Ae+")*(?:\\x5D|$))+/";pt.push(["lang-regex",RegExp("^"+X+"("+Me+")")])}var Ue=it.types;Ue&&pt.push([W,Ue]);var Ge=(""+it.keywords).replace(/^ | $/g,"");Ge.length&&pt.push([N,new RegExp("^(?:"+Ge.replace(/[\s,]+/g,"|")+")\\b"),null]),xt.push([ie,/^\s+/,null,` \r
|
|
|
\xA0`]);var nt="^.[^\\s\\w.$@'\"`/\\\\]*";return it.regexLiterals&&(nt+="(?!s*/)"),pt.push([H,/^@[a-z_$][a-z_$@0-9]*/i,null],[W,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ie,/^[a-z_$][a-z_$@0-9]*/i,null],[H,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ie,/^\\[\s\S]?/,null],[te,new RegExp(nt),null]),Ie(xt,pt)}var We=ke({keywords:I,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function je(it,xt,pt){for(var et=/(?:^|\s)nocode(?:\s|$)/,Ze=/\r\n?|\n/,ge=it.ownerDocument,Ae=ge.createElement("li");it.firstChild;)Ae.appendChild(it.firstChild);var Me=[Ae];function Ue(De){var Je=De.nodeType;if(Je==1&&!et.test(De.className))if(De.nodeName==="br")Ge(De),De.parentNode&&De.parentNode.removeChild(De);else for(var Wt=De.firstChild;Wt;Wt=Wt.nextSibling)Ue(Wt);else if((Je==3||Je==4)&&pt){var Ot=De.nodeValue,zt=Ot.match(Ze);if(zt){var Ft=Ot.substring(0,zt.index);De.nodeValue=Ft;var At=Ot.substring(zt.index+zt[0].length);if(At){var Yt=De.parentNode;Yt.insertBefore(ge.createTextNode(At),De.nextSibling)}Ge(De),Ft||De.parentNode.removeChild(De)}}}function Ge(De){for(;!De.nextSibling;)if(De=De.parentNode,!De)return;function Je(zt,Ft){var At=Ft?zt.cloneNode(!1):zt,Yt=zt.parentNode;if(Yt){var Ye=Je(Yt,1),ce=zt.nextSibling;Ye.appendChild(At);for(var pe=ce;pe;pe=ce)ce=pe.nextSibling,Ye.appendChild(pe)}return At}for(var Wt=Je(De.nextSibling,0),Ot;(Ot=Wt.parentNode)&&Ot.nodeType===1;)Wt=Ot;Me.push(Wt)}for(var nt=0;nt<Me.length;++nt)Ue(Me[nt]);xt===(xt|0)&&Me[0].setAttribute("value",xt);var ut=ge.createElement("ol");ut.className="linenums";for(var Kt=Math.max(0,xt-1|0)||0,nt=0,Zt=Me.length;nt<Zt;++nt)Ae=Me[nt],Ae.className="L"+(nt+Kt)%10,Ae.firstChild||Ae.appendChild(ge.createTextNode("\xA0")),ut.appendChild(Ae);it.appendChild(ut)}function Mt(it){var xt=/\bMSIE\s(\d+)/.exec(navigator.userAgent);xt=xt&&+xt[1]<=8;var pt=/\n/g,et=it.sourceCode,Ze=et.length,ge=0,Ae=it.spans,Me=Ae.length,Ue=0,Ge=it.decorations,nt=Ge.length,ut=0;Ge[nt]=Ze;var Kt,Zt;for(Zt=Kt=0;Zt<nt;)Ge[Zt]!==Ge[Zt+2]?(Ge[Kt++]=Ge[Zt++],Ge[Kt++]=Ge[Zt++]):Zt+=2;for(nt=Kt,Zt=Kt=0;Zt<nt;){for(var De=Ge[Zt],Je=Ge[Zt+1],Wt=Zt+2;Wt+2<=nt&&Ge[Wt+1]===Je;)Wt+=2;Ge[Kt++]=De,Ge[Kt++]=Je,Zt=Wt}nt=Ge.length=Kt;var Ot=it.sourceNode,zt="";Ot&&(zt=Ot.style.display,Ot.style.display="none");try{for(var Ft=null;Ue<Me;){var At=Ae[Ue],Yt=Ae[Ue+2]||Ze,Ye=Ge[ut+2]||Ze,Wt=Math.min(Yt,Ye),ce=Ae[Ue+1],pe;if(ce.nodeType!==1&&(pe=et.substring(ge,Wt))){xt&&(pe=pe.replace(pt,"\r")),ce.nodeValue=pe;var Dt=ce.ownerDocument,Ce=Dt.createElement("span");Ce.className=Ge[ut+1];var ft=ce.parentNode;ft.replaceChild(Ce,ce),Ce.appendChild(ce),ge<Yt&&(Ae[Ue+1]=ce=Dt.createTextNode(et.substring(Wt,Yt)),ft.insertBefore(ce,Ce.nextSibling))}ge=Wt,ge>=Yt&&(Ue+=2),ge>=Ye&&(ut+=2)}}finally{Ot&&(Ot.style.display=zt)}}var yt={};function Pt(it,xt){for(var pt=xt.length;--pt>=0;){var et=xt[pt];yt.hasOwnProperty(et)?o.console&&console.warn("cannot override language handler %s",et):yt[et]=it}}function tr(it,xt){return it&&yt.hasOwnProperty(it)||(it=/^\s*</.test(xt)?"default-markup":"default-code"),yt[it]}Pt(We,["default-code"]),Pt(Ie([],[[ie,/^[^<?]+/],[J,/^<!\w[^>]*(?:>|$)/],[V,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[te,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),Pt(Ie([[ie,/^[\s]+/,null,` \r
|
|
|
`],[se,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[oe,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[K,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[te,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),Pt(Ie([],[[se,/^[\s\S]+/]]),["uq.val"]),Pt(ke({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),Pt(ke({keywords:"null,true,false"}),["json"]),Pt(ke({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),Pt(ke({keywords:p,cStyleComments:!0}),["java"]),Pt(ke({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),Pt(ke({keywords:k,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),Pt(ke({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),Pt(ke({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),Pt(ke({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),Pt(ke({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),Pt(Ie([],[[B,/^[\s\S]+/]]),["regex"]);function Vt(it){var xt=it.langExtension;try{var pt=z(it.sourceNode,it.pre),et=pt.sourceCode;it.sourceCode=et,it.spans=pt.spans,it.basePos=0,tr(xt,et)(it),Mt(it)}catch(Ze){o.console&&console.log(Ze&&Ze.stack||Ze)}}function lr(it,xt,pt){var et=pt||!1,Ze=xt||null,ge=document.createElement("div");ge.innerHTML="<pre>"+it+"</pre>",ge=ge.firstChild,et&&je(ge,et,!0);var Ae={langExtension:Ze,numberLines:et,sourceNode:ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Vt(Ae),ge.innerHTML}function Ke(it,xt){var pt=xt||document.body,et=pt.ownerDocument||document;function Ze(At){return pt.getElementsByTagName(At)}for(var ge=[Ze("pre"),Ze("code"),Ze("xmp")],Ae=[],Me=0;Me<ge.length;++Me)for(var Ue=0,Ge=ge[Me].length;Ue<Ge;++Ue)Ae.push(ge[Me][Ue]);ge=null;var nt=Date;nt.now||(nt={now:function(){return+new Date}});var ut=0,Kt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Zt=/\bprettyprint\b/,De=/\bprettyprinted\b/,Je=/pre|xmp/i,Wt=/^code$/i,Ot=/^(?:pre|code|xmp)$/i,zt={};function Ft(){for(var At=o.PR_SHOULD_USE_CONTINUATION?nt.now()+250:1/0;ut<Ae.length&&nt.now()<At;ut++){for(var Yt=Ae[ut],Ye=zt,ce=Yt;ce=ce.previousSibling;){var pe=ce.nodeType,Dt=(pe===7||pe===8)&&ce.nodeValue;if(Dt?!/^\??prettify\b/.test(Dt):pe!==3||/\S/.test(ce.nodeValue))break;if(Dt){Ye={},Dt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Et,Yr,Jr){Ye[Yr]=Jr});break}}var Ce=Yt.className;if((Ye!==zt||Zt.test(Ce))&&!De.test(Ce)){for(var ft=!1,Ut=Yt.parentNode;Ut;Ut=Ut.parentNode){var St=Ut.tagName;if(Ot.test(St)&&Ut.className&&Zt.test(Ut.className)){ft=!0;break}}if(!ft){Yt.className+=" prettyprinted";var Oe=Ye.lang;if(!Oe){Oe=Ce.match(Kt);var wt;!Oe&&(wt=_e(Yt))&&Wt.test(wt.tagName)&&(Oe=wt.className.match(Kt)),Oe&&(Oe=Oe[1])}var ye;if(Je.test(Yt.tagName))ye=1;else{var Xe=Yt.currentStyle,vt=et.defaultView,Rt=Xe?Xe.whiteSpace:vt&&vt.getComputedStyle?vt.getComputedStyle(Yt,null).getPropertyValue("white-space"):0;ye=Rt&&Rt.substring(0,3)==="pre"}var Ne=Ye.linenums;(Ne=Ne==="true"||+Ne)||(Ne=Ce.match(/\blinenums\b(?::(\d+))?/),Ne=Ne?Ne[1]&&Ne[1].length?+Ne[1]:!0:!1),Ne&&je(Yt,Ne,ye);var Dr={langExtension:Oe,sourceNode:Yt,numberLines:Ne,pre:ye,sourceCode:null,basePos:null,spans:null,decorations:null};Vt(Dr)}}}ut<Ae.length?o.setTimeout(Ft,250):typeof it=="function"&&it()}Ft()}var Ct=o.PR={createSimpleLexer:Ie,registerLangHandler:Pt,sourceDecorator:ke,PR_ATTRIB_NAME:K,PR_ATTRIB_VALUE:se,PR_COMMENT:V,PR_DECLARATION:J,PR_KEYWORD:N,PR_LITERAL:H,PR_NOCODE:ee,PR_PLAIN:ie,PR_PUNCTUATION:te,PR_SOURCE:Q,PR_STRING:B,PR_TAG:oe,PR_TYPE:W,prettyPrintOne:r?o.prettyPrintOne=lr:c=lr,prettyPrint:f=r?o.prettyPrint=Ke:f=Ke},jt=o.define;typeof jt=="function"&&jt.amd&&jt("google-code-prettify",[],function(){return Ct})})()},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(o){var h=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,h)}function f(o,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=o,_.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(k){if(k.stopPropagation(),h.format)if(k.preventDefault(),typeof k.clipboardData=="undefined"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var R=i[h.format]||i.default;window.clipboardData.setData(R,o)}else k.clipboardData.clearData(),k.clipboardData.setData(h.format,o);h.onCopy&&(k.preventDefault(),h.onCopy(k.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(k){u&&console.error("unable to copy using execCommand: ",k),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(h.format||"text",o),h.onCopy&&h.onCopy(window.clipboardData),b=!0}catch(R){u&&console.error("unable to copy using clipboardData: ",R),u&&console.error("falling back to prompt"),a=c("message"in h?h.message:l),window.prompt(a,o)}}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,o=[],h=[],u=[],a=[],x=[],p=[],y=[],_=[],b=[],S=[];(function(){for(var A=[],I=0;I<256;I++)I<128?A[I]=I<<1:A[I]=I<<1^283;for(var M=0,B=0,I=0;I<256;I++){var N=B^B<<1^B<<2^B<<3^B<<4;N=N>>>8^N&255^99,o[M]=N,h[N]=M;var V=A[M],W=A[V],H=A[W],te=A[N]*257^N*16843008;u[M]=te<<24|te>>>8,a[M]=te<<16|te>>>16,x[M]=te<<8|te>>>24,p[M]=te;var te=H*16843009^W*65537^V*257^M*16843008;y[N]=te<<24|te>>>8,_[N]=te<<16|te>>>16,b[N]=te<<8|te>>>24,S[N]=te,M?(M=V^A[A[A[H^V]]],B^=A[A[B]]):M=B=1}})();var k=[0,1,2,4,8,16,32,64,128,27,54],R=f.AES=c.extend({_doReset:function(){var A;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var I=this._keyPriorReset=this._key,M=I.words,B=I.sigBytes/4,N=this._nRounds=B+6,V=(N+1)*4,W=this._keySchedule=[],H=0;H<V;H++)H<B?W[H]=M[H]:(A=W[H-1],H%B?B>6&&H%B==4&&(A=o[A>>>24]<<24|o[A>>>16&255]<<16|o[A>>>8&255]<<8|o[A&255]):(A=A<<8|A>>>24,A=o[A>>>24]<<24|o[A>>>16&255]<<16|o[A>>>8&255]<<8|o[A&255],A^=k[H/B|0]<<24),W[H]=W[H-B]^A);for(var te=this._invKeySchedule=[],ie=0;ie<V;ie++){var H=V-ie;if(ie%4)var A=W[H];else var A=W[H-4];ie<4||H<=4?te[ie]=A:te[ie]=y[o[A>>>24]]^_[o[A>>>16&255]]^b[o[A>>>8&255]]^S[o[A&255]]}}},encryptBlock:function(A,I){this._doCryptBlock(A,I,this._keySchedule,u,a,x,p,o)},decryptBlock:function(A,I){var M=A[I+1];A[I+1]=A[I+3],A[I+3]=M,this._doCryptBlock(A,I,this._invKeySchedule,y,_,b,S,h);var M=A[I+1];A[I+1]=A[I+3],A[I+3]=M},_doCryptBlock:function(A,I,M,B,N,V,W,H){for(var te=this._nRounds,ie=A[I]^M[0],oe=A[I+1]^M[1],J=A[I+2]^M[2],Q=A[I+3]^M[3],K=4,se=1;se<te;se++){var ee=B[ie>>>24]^N[oe>>>16&255]^V[J>>>8&255]^W[Q&255]^M[K++],X=B[oe>>>24]^N[J>>>16&255]^V[Q>>>8&255]^W[ie&255]^M[K++],le=B[J>>>24]^N[Q>>>16&255]^V[ie>>>8&255]^W[oe&255]^M[K++],z=B[Q>>>24]^N[ie>>>16&255]^V[oe>>>8&255]^W[J&255]^M[K++];ie=ee,oe=X,J=le,Q=z}var ee=(H[ie>>>24]<<24|H[oe>>>16&255]<<16|H[J>>>8&255]<<8|H[Q&255])^M[K++],X=(H[oe>>>24]<<24|H[J>>>16&255]<<16|H[Q>>>8&255]<<8|H[ie&255])^M[K++],le=(H[J>>>24]<<24|H[Q>>>16&255]<<16|H[ie>>>8&255]<<8|H[oe&255])^M[K++],z=(H[Q>>>24]<<24|H[ie>>>16&255]<<16|H[oe>>>8&255]<<8|H[J&255])^M[K++];A[I]=ee,A[I+1]=X,A[I+2]=le,A[I+3]=z},keySize:256/32});i.AES=c._createHelper(R)}(),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,o=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(oe,J){return this.create(this._ENC_XFORM_MODE,oe,J)},createDecryptor:function(oe,J){return this.create(this._DEC_XFORM_MODE,oe,J)},init:function(oe,J,Q){this.cfg=this.cfg.extend(Q),this._xformMode=oe,this._key=J,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(oe){return this._append(oe),this._process()},finalize:function(oe){oe&&this._append(oe);var J=this._doFinalize();return J},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function oe(J){return typeof J=="string"?ie:W}return function(J){return{encrypt:function(Q,K,se){return oe(K).encrypt(J,Q,K,se)},decrypt:function(Q,K,se){return oe(K).decrypt(J,Q,K,se)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var oe=this._process(!0);return oe},blockSize:1}),S=l.mode={},k=c.BlockCipherMode=f.extend({createEncryptor:function(oe,J){return this.Encryptor.create(oe,J)},createDecryptor:function(oe,J){return this.Decryptor.create(oe,J)},init:function(oe,J){this._cipher=oe,this._iv=J}}),R=S.CBC=function(){var oe=k.extend();oe.Encryptor=oe.extend({processBlock:function(Q,K){var se=this._cipher,ee=se.blockSize;J.call(this,Q,K,ee),se.encryptBlock(Q,K),this._prevBlock=Q.slice(K,K+ee)}}),oe.Decryptor=oe.extend({processBlock:function(Q,K){var se=this._cipher,ee=se.blockSize,X=Q.slice(K,K+ee);se.decryptBlock(Q,K),J.call(this,Q,K,ee),this._prevBlock=X}});function J(Q,K,se){var ee,X=this._iv;X?(ee=X,this._iv=i):ee=this._prevBlock;for(var le=0;le<se;le++)Q[K+le]^=ee[le]}return oe}(),A=l.pad={},I=A.Pkcs7={pad:function(oe,J){for(var Q=J*4,K=Q-oe.sigBytes%Q,se=K<<24|K<<16|K<<8|K,ee=[],X=0;X<K;X+=4)ee.push(se);var le=o.create(ee,K);oe.concat(le)},unpad:function(oe){var J=oe.words[oe.sigBytes-1>>>2]&255;oe.sigBytes-=J}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:R,padding:I}),reset:function(){var oe;_.reset.call(this);var J=this.cfg,Q=J.iv,K=J.mode;this._xformMode==this._ENC_XFORM_MODE?oe=K.createEncryptor:(oe=K.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==oe?this._mode.init(this,Q&&Q.words):(this._mode=oe.call(K,this,Q&&Q.words),this._mode.__creator=oe)},_doProcessBlock:function(oe,J){this._mode.processBlock(oe,J)},_doFinalize:function(){var oe,J=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(J.pad(this._data,this.blockSize),oe=this._process(!0)):(oe=this._process(!0),J.unpad(oe)),oe},blockSize:128/32}),B=c.CipherParams=f.extend({init:function(oe){this.mixIn(oe)},toString:function(oe){return(oe||this.formatter).stringify(this)}}),N=l.format={},V=N.OpenSSL={stringify:function(oe){var J,Q=oe.ciphertext,K=oe.salt;return K?J=o.create([1398893684,1701076831]).concat(K).concat(Q):J=Q,J.toString(x)},parse:function(oe){var J,Q=x.parse(oe),K=Q.words;return K[0]==1398893684&&K[1]==1701076831&&(J=o.create(K.slice(2,4)),K.splice(0,4),Q.sigBytes-=16),B.create({ciphertext:Q,salt:J})}},W=c.SerializableCipher=f.extend({cfg:f.extend({format:V}),encrypt:function(oe,J,Q,K){K=this.cfg.extend(K);var se=oe.createEncryptor(Q,K),ee=se.finalize(J),X=se.cfg;return B.create({ciphertext:ee,key:Q,iv:X.iv,algorithm:oe,mode:X.mode,padding:X.padding,blockSize:oe.blockSize,formatter:K.format})},decrypt:function(oe,J,Q,K){K=this.cfg.extend(K),J=this._parse(J,K.format);var se=oe.createDecryptor(Q,K).finalize(J.ciphertext);return se},_parse:function(oe,J){return typeof oe=="string"?J.parse(oe,this):oe}}),H=l.kdf={},te=H.OpenSSL={execute:function(oe,J,Q,K){K||(K=o.random(64/8));var se=y.create({keySize:J+Q}).compute(oe,K),ee=o.create(se.words.slice(J),Q*4);return se.sigBytes=J*4,B.create({key:se,iv:ee,salt:K})}},ie=c.PasswordBasedCipher=W.extend({cfg:W.cfg.extend({kdf:te}),encrypt:function(oe,J,Q,K){K=this.cfg.extend(K);var se=K.kdf.execute(Q,oe.keySize,oe.ivSize);K.iv=se.iv;var ee=W.encrypt.call(this,oe,J,se.key,K);return ee.mixIn(se),ee},decrypt:function(oe,J,Q,K){K=this.cfg.extend(K),J=this._parse(J,K.format);var se=K.kdf.execute(Q,oe.keySize,oe.ivSize,J.salt);K.iv=se.iv;var ee=W.decrypt.call(this,oe,J,se.key,K);return ee}})}()})},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(A){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(A){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(A){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function A(){}return function(I){var M;return A.prototype=I,M=new A,A.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(A){var I=o(this);return A&&I.mixIn(A),(!I.hasOwnProperty("init")||this.init===I.init)&&(I.init=function(){I.$super.init.apply(this,arguments)}),I.init.prototype=I,I.$super=this,I},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var I in A)A.hasOwnProperty(I)&&(this[I]=A[I]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(A,I){A=this.words=A||[],I!=l?this.sigBytes=I:this.sigBytes=A.length*4},toString:function(A){return(A||y).stringify(this)},concat:function(A){var I=this.words,M=A.words,B=this.sigBytes,N=A.sigBytes;if(this.clamp(),B%4)for(var V=0;V<N;V++){var W=M[V>>>2]>>>24-V%4*8&255;I[B+V>>>2]|=W<<24-(B+V)%4*8}else for(var H=0;H<N;H+=4)I[B+H>>>2]=M[H>>>2];return this.sigBytes+=N,this},clamp:function(){var A=this.words,I=this.sigBytes;A[I>>>2]&=4294967295<<32-I%4*8,A.length=i.ceil(I/4)},clone:function(){var A=a.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var I=[],M=0;M<A;M+=4)I.push(f());return new x.init(I,A)}}),p=h.enc={},y=p.Hex={stringify:function(A){for(var I=A.words,M=A.sigBytes,B=[],N=0;N<M;N++){var V=I[N>>>2]>>>24-N%4*8&255;B.push((V>>>4).toString(16)),B.push((V&15).toString(16))}return B.join("")},parse:function(A){for(var I=A.length,M=[],B=0;B<I;B+=2)M[B>>>3]|=parseInt(A.substr(B,2),16)<<24-B%8*4;return new x.init(M,I/2)}},_=p.Latin1={stringify:function(A){for(var I=A.words,M=A.sigBytes,B=[],N=0;N<M;N++){var V=I[N>>>2]>>>24-N%4*8&255;B.push(String.fromCharCode(V))}return B.join("")},parse:function(A){for(var I=A.length,M=[],B=0;B<I;B++)M[B>>>2]|=(A.charCodeAt(B)&255)<<24-B%4*8;return new x.init(M,I)}},b=p.Utf8={stringify:function(A){try{return decodeURIComponent(escape(_.stringify(A)))}catch(I){throw new Error("Malformed UTF-8 data")}},parse:function(A){return _.parse(unescape(encodeURIComponent(A)))}},S=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new x.init,this._nDataBytes=0},_append:function(A){typeof A=="string"&&(A=b.parse(A)),this._data.concat(A),this._nDataBytes+=A.sigBytes},_process:function(A){var I,M=this._data,B=M.words,N=M.sigBytes,V=this.blockSize,W=V*4,H=N/W;A?H=i.ceil(H):H=i.max((H|0)-this._minBufferSize,0);var te=H*V,ie=i.min(te*4,N);if(te){for(var oe=0;oe<te;oe+=V)this._doProcessBlock(B,oe);I=B.splice(0,te),M.sigBytes-=ie}return new x.init(I,ie)},clone:function(){var A=a.clone.call(this);return A._data=this._data.clone(),A},_minBufferSize:0}),k=u.Hasher=S.extend({cfg:a.extend(),init:function(A){this.cfg=this.cfg.extend(A),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(A){return this._append(A),this._process(),this},finalize:function(A){A&&this._append(A);var I=this._doFinalize();return I},blockSize:512/32,_createHelper:function(A){return function(I,M){return new A.init(M).finalize(I)}},_createHmacHelper:function(A){return function(I,M){return new R.HMAC.init(A,M).finalize(I)}}}),R=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,o=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,k=a[_+2>>>2]>>>24-(_+2)%4*8&255,R=b<<16|S<<8|k,A=0;A<4&&_+A*.75<x;A++)y.push(p.charAt(R>>>6*(3-A)&63));var I=p.charAt(64);if(I)for(;y.length%4;)y.push(I);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,k=b|S;p[y>>>2]|=k<<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,o=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,k=x[b+1>>>2]>>>24-(b+1)%4*8&255,R=x[b+2>>>2]>>>24-(b+2)%4*8&255,A=S<<16|k<<8|R,I=0;I<4&&b+I*.75<p;I++)_.push(y.charAt(A>>>6*(3-I)&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,k=b|S;p[y>>>2]|=k<<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,o=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,o=i.algo,h=o.MD5,u=o.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,k=y.keySize,R=y.iterations;S.length<k;){p&&_.update(p),p=_.update(a).finalize(x),_.reset();for(var A=1;A<R;A++)p=_.finalize(p),_.reset();b.concat(p)}return b.sigBytes=k*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,o=l.enc,h=o.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,o=f.Utf8,h=i.algo,u=h.HMAC=c.extend({init:function(a,x){a=this._hasher=new a.init,typeof x=="string"&&(x=o.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,k=b.words,R=0;R<p;R++)S[R]^=1549556828,k[R]^=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,o=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)};o.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,o=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=o.extend({_doReset:function(){this._hash=new f.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(b,S){for(var k=0;k<16;k++){var R=S+k,A=b[R];b[R]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var I=this._hash.words,M=b[S+0],B=b[S+1],N=b[S+2],V=b[S+3],W=b[S+4],H=b[S+5],te=b[S+6],ie=b[S+7],oe=b[S+8],J=b[S+9],Q=b[S+10],K=b[S+11],se=b[S+12],ee=b[S+13],X=b[S+14],le=b[S+15],z=I[0],$=I[1],ae=I[2],_e=I[3];z=x(z,$,ae,_e,M,7,u[0]),_e=x(_e,z,$,ae,B,12,u[1]),ae=x(ae,_e,z,$,N,17,u[2]),$=x($,ae,_e,z,V,22,u[3]),z=x(z,$,ae,_e,W,7,u[4]),_e=x(_e,z,$,ae,H,12,u[5]),ae=x(ae,_e,z,$,te,17,u[6]),$=x($,ae,_e,z,ie,22,u[7]),z=x(z,$,ae,_e,oe,7,u[8]),_e=x(_e,z,$,ae,J,12,u[9]),ae=x(ae,_e,z,$,Q,17,u[10]),$=x($,ae,_e,z,K,22,u[11]),z=x(z,$,ae,_e,se,7,u[12]),_e=x(_e,z,$,ae,ee,12,u[13]),ae=x(ae,_e,z,$,X,17,u[14]),$=x($,ae,_e,z,le,22,u[15]),z=p(z,$,ae,_e,B,5,u[16]),_e=p(_e,z,$,ae,te,9,u[17]),ae=p(ae,_e,z,$,K,14,u[18]),$=p($,ae,_e,z,M,20,u[19]),z=p(z,$,ae,_e,H,5,u[20]),_e=p(_e,z,$,ae,Q,9,u[21]),ae=p(ae,_e,z,$,le,14,u[22]),$=p($,ae,_e,z,W,20,u[23]),z=p(z,$,ae,_e,J,5,u[24]),_e=p(_e,z,$,ae,X,9,u[25]),ae=p(ae,_e,z,$,V,14,u[26]),$=p($,ae,_e,z,oe,20,u[27]),z=p(z,$,ae,_e,ee,5,u[28]),_e=p(_e,z,$,ae,N,9,u[29]),ae=p(ae,_e,z,$,ie,14,u[30]),$=p($,ae,_e,z,se,20,u[31]),z=y(z,$,ae,_e,H,4,u[32]),_e=y(_e,z,$,ae,oe,11,u[33]),ae=y(ae,_e,z,$,K,16,u[34]),$=y($,ae,_e,z,X,23,u[35]),z=y(z,$,ae,_e,B,4,u[36]),_e=y(_e,z,$,ae,W,11,u[37]),ae=y(ae,_e,z,$,ie,16,u[38]),$=y($,ae,_e,z,Q,23,u[39]),z=y(z,$,ae,_e,ee,4,u[40]),_e=y(_e,z,$,ae,M,11,u[41]),ae=y(ae,_e,z,$,V,16,u[42]),$=y($,ae,_e,z,te,23,u[43]),z=y(z,$,ae,_e,J,4,u[44]),_e=y(_e,z,$,ae,se,11,u[45]),ae=y(ae,_e,z,$,le,16,u[46]),$=y($,ae,_e,z,N,23,u[47]),z=_(z,$,ae,_e,M,6,u[48]),_e=_(_e,z,$,ae,ie,10,u[49]),ae=_(ae,_e,z,$,X,15,u[50]),$=_($,ae,_e,z,H,21,u[51]),z=_(z,$,ae,_e,se,6,u[52]),_e=_(_e,z,$,ae,V,10,u[53]),ae=_(ae,_e,z,$,Q,15,u[54]),$=_($,ae,_e,z,B,21,u[55]),z=_(z,$,ae,_e,oe,6,u[56]),_e=_(_e,z,$,ae,le,10,u[57]),ae=_(ae,_e,z,$,te,15,u[58]),$=_($,ae,_e,z,ee,21,u[59]),z=_(z,$,ae,_e,W,6,u[60]),_e=_(_e,z,$,ae,K,10,u[61]),ae=_(ae,_e,z,$,N,15,u[62]),$=_($,ae,_e,z,J,21,u[63]),I[0]=I[0]+z|0,I[1]=I[1]+$|0,I[2]=I[2]+ae|0,I[3]=I[3]+_e|0},_doFinalize:function(){var b=this._data,S=b.words,k=this._nDataBytes*8,R=b.sigBytes*8;S[R>>>5]|=128<<24-R%32;var A=i.floor(k/4294967296),I=k;S[(R+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S[(R+64>>>9<<4)+14]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var M=this._hash,B=M.words,N=0;N<4;N++){var V=B[N];B[N]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360}return M},clone:function(){var b=o.clone.call(this);return b._hash=this._hash.clone(),b}});function x(b,S,k,R,A,I,M){var B=b+(S&k|~S&R)+A+M;return(B<<I|B>>>32-I)+S}function p(b,S,k,R,A,I,M){var B=b+(S&R|k&~R)+A+M;return(B<<I|B>>>32-I)+S}function y(b,S,k,R,A,I,M){var B=b+(S^k^R)+A+M;return(B<<I|B>>>32-I)+S}function _(b,S,k,R,A,I,M){var B=b+(k^(S|~R))+A+M;return(B<<I|B>>>32-I)+S}l.MD5=o._createHelper(a),l.HmacMD5=o._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 o=this._cipher,h=o.blockSize;l.call(this,c,f,h,o),this._prevBlock=c.slice(f,f+h)}}),i.Decryptor=i.extend({processBlock:function(c,f){var o=this._cipher,h=o.blockSize,u=c.slice(f,f+h);l.call(this,c,f,h,o),this._prevBlock=u}});function l(c,f,o,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<o;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(o){if((o>>24&255)===255){var h=o>>16&255,u=o>>8&255,a=o&255;h===255?(h=0,u===255?(u=0,a===255?a=0:++a):++u):++h,o=0,o+=h<<16,o+=u<<8,o+=a}else o+=16777216;return o}function c(o){return(o[0]=l(o[0]))===0&&(o[1]=l(o[1])),o}var f=i.Encryptor=i.extend({processBlock:function(o,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;_++)o[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 o=this._cipher,h=o.blockSize,u=this._iv,a=this._counter;u&&(a=this._counter=u.slice(0),this._iv=void 0);var x=a.slice(0);o.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 o=this._cipher,h=o.blockSize,u=this._iv,a=this._keystream;u&&(a=this._keystream=u.slice(0),this._iv=void 0),o.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,o=f-c%f,h=c+o-1;i.clamp(),i.words[h>>>2]|=o<<24-h%4*8,i.sigBytes+=o},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,o=i.algo,h=o.SHA1,u=o.HMAC,a=o.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]),k=b.words,R=S.words,A=y.keySize,I=y.iterations;k.length<A;){var M=_.update(p).finalize(S);_.reset();for(var B=M.words,N=B.length,V=M,W=1;W<I;W++){V=_.finalize(V),_.reset();for(var H=V.words,te=0;te<N;te++)B[te]^=H[te]}b.concat(M),R[0]++}return b.sigBytes=A*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,o=[],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 k=y.words,R=k[0],A=k[1],I=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=I>>>16|M&4294901760,N=M<<16|I&65535;b[0]^=I,b[1]^=B,b[2]^=M,b[3]^=N,b[4]^=I,b[5]^=B,b[6]^=M,b[7]^=N;for(var S=0;S<4;S++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[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,k=b>>>16,R=((S*S>>>17)+S*k>>>15)+k*k,A=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=R^A}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,o=[],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 k=y.words,R=k[0],A=k[1],I=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=I>>>16|M&4294901760,N=M<<16|I&65535;S[0]^=I,S[1]^=B,S[2]^=M,S[3]^=N,S[4]^=I,S[5]^=B,S[6]^=M,S[7]^=N;for(var _=0;_<4;_++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),o[0]=_[0]^_[5]>>>16^_[3]<<16,o[1]=_[2]^_[7]>>>16^_[5]<<16,o[2]=_[4]^_[1]>>>16^_[7]<<16,o[3]=_[6]^_[3]>>>16^_[1]<<16;for(var b=0;b<4;b++)o[b]=(o[b]<<8|o[b]>>>24)&16711935|(o[b]<<24|o[b]>>>8)&4278255360,p[y+b]^=o[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,k=b>>>16,R=((S*S>>>17)+S*k>>>15)+k*k,A=((b&4294901760)*b|0)+((b&65535)*b|0);u[_]=R^A}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,o=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,k=x[S>>>2]>>>24-S%4*8&255;b=(b+y[_]+k)%256;var R=y[_];y[_]=y[b],y[b]=R}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(o);var u=f.RC4Drop=o.extend({cfg:o.cfg.extend({drop:192}),_doReset:function(){o._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,o=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=o.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(B,N){for(var V=0;V<16;V++){var W=N+V,H=B[W];B[W]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360}var te=this._hash.words,ie=y.words,oe=_.words,J=u.words,Q=a.words,K=x.words,se=p.words,ee,X,le,z,$,ae,_e,Ie,ke,We;ae=ee=te[0],_e=X=te[1],Ie=le=te[2],ke=z=te[3],We=$=te[4];for(var je,V=0;V<80;V+=1)je=ee+B[N+J[V]]|0,V<16?je+=S(X,le,z)+ie[0]:V<32?je+=k(X,le,z)+ie[1]:V<48?je+=R(X,le,z)+ie[2]:V<64?je+=A(X,le,z)+ie[3]:je+=I(X,le,z)+ie[4],je=je|0,je=M(je,K[V]),je=je+$|0,ee=$,$=z,z=M(le,10),le=X,X=je,je=ae+B[N+Q[V]]|0,V<16?je+=I(_e,Ie,ke)+oe[0]:V<32?je+=A(_e,Ie,ke)+oe[1]:V<48?je+=R(_e,Ie,ke)+oe[2]:V<64?je+=k(_e,Ie,ke)+oe[3]:je+=S(_e,Ie,ke)+oe[4],je=je|0,je=M(je,se[V]),je=je+We|0,ae=We,We=ke,ke=M(Ie,10),Ie=_e,_e=je;je=te[1]+le+ke|0,te[1]=te[2]+z+We|0,te[2]=te[3]+$+ae|0,te[3]=te[4]+ee+_e|0,te[4]=te[0]+X+Ie|0,te[0]=je},_doFinalize:function(){var B=this._data,N=B.words,V=this._nDataBytes*8,W=B.sigBytes*8;N[W>>>5]|=128<<24-W%32,N[(W+64>>>9<<4)+14]=(V<<8|V>>>24)&16711935|(V<<24|V>>>8)&4278255360,B.sigBytes=(N.length+1)*4,this._process();for(var H=this._hash,te=H.words,ie=0;ie<5;ie++){var oe=te[ie];te[ie]=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360}return H},clone:function(){var B=o.clone.call(this);return B._hash=this._hash.clone(),B}});function S(B,N,V){return B^N^V}function k(B,N,V){return B&N|~B&V}function R(B,N,V){return(B|~N)^V}function A(B,N,V){return B&V|N&~V}function I(B,N,V){return B^(N|~V)}function M(B,N){return B<<N|B>>>32-N}l.RIPEMD160=o._createHelper(b),l.HmacRIPEMD160=o._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,o=i.algo,h=[],u=o.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],k=p[4],R=0;R<80;R++){if(R<16)h[R]=a[x+R]|0;else{var A=h[R-3]^h[R-8]^h[R-14]^h[R-16];h[R]=A<<1|A>>>31}var I=(y<<5|y>>>27)+k+h[R];R<20?I+=(_&b|~_&S)+1518500249:R<40?I+=(_^b^S)+1859775393:R<60?I+=(_&b|_&S|b&S)-1894007588:I+=(_^b^S)-899497514,k=S,S=b,b=_<<30|_>>>2,_=y,y=I}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]+k|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,o=f.SHA256,h=f.SHA224=o.extend({_doReset:function(){this._hash=new c.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=o._doFinalize.call(this);return u.sigBytes-=4,u}});i.SHA224=o._createHelper(h),i.HmacSHA224=o._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,o=c.Hasher,h=l.algo,u=[],a=[];(function(){function y(k){for(var R=i.sqrt(k),A=2;A<=R;A++)if(!(k%A))return!1;return!0}function _(k){return(k-(k|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=o.extend({_doReset:function(){this._hash=new f.init(u.slice(0))},_doProcessBlock:function(y,_){for(var b=this._hash.words,S=b[0],k=b[1],R=b[2],A=b[3],I=b[4],M=b[5],B=b[6],N=b[7],V=0;V<64;V++){if(V<16)x[V]=y[_+V]|0;else{var W=x[V-15],H=(W<<25|W>>>7)^(W<<14|W>>>18)^W>>>3,te=x[V-2],ie=(te<<15|te>>>17)^(te<<13|te>>>19)^te>>>10;x[V]=H+x[V-7]+ie+x[V-16]}var oe=I&M^~I&B,J=S&k^S&R^k&R,Q=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),K=(I<<26|I>>>6)^(I<<21|I>>>11)^(I<<7|I>>>25),se=N+K+oe+a[V]+x[V],ee=Q+J;N=B,B=M,M=I,I=A+se|0,A=R,R=k,k=S,S=se+ee|0}b[0]=b[0]+S|0,b[1]=b[1]+k|0,b[2]=b[2]+R|0,b[3]=b[3]+A|0,b[4]=b[4]+I|0,b[5]=b[5]+M|0,b[6]=b[6]+B|0,b[7]=b[7]+N|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=o.clone.call(this);return y._hash=this._hash.clone(),y}});l.SHA256=o._createHelper(p),l.HmacSHA256=o._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,o=c.Hasher,h=l.x64,u=h.Word,a=l.algo,x=[],p=[],y=[];(function(){for(var S=1,k=0,R=0;R<24;R++){x[S+5*k]=(R+1)*(R+2)/2%64;var A=k%5,I=(2*S+3*k)%5;S=A,k=I}for(var S=0;S<5;S++)for(var k=0;k<5;k++)p[S+5*k]=k+(2*S+3*k)%5*5;for(var M=1,B=0;B<24;B++){for(var N=0,V=0,W=0;W<7;W++){if(M&1){var H=(1<<W)-1;H<32?V^=1<<H:N^=1<<H-32}M&128?M=M<<1^113:M<<=1}y[B]=u.create(N,V)}})();var _=[];(function(){for(var S=0;S<25;S++)_[S]=u.create()})();var b=a.SHA3=o.extend({cfg:o.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],k=0;k<25;k++)S[k]=new u.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,k){for(var R=this._state,A=this.blockSize/2,I=0;I<A;I++){var M=S[k+2*I],B=S[k+2*I+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var N=R[I];N.high^=B,N.low^=M}for(var V=0;V<24;V++){for(var W=0;W<5;W++){for(var H=0,te=0,ie=0;ie<5;ie++){var N=R[W+5*ie];H^=N.high,te^=N.low}var oe=_[W];oe.high=H,oe.low=te}for(var W=0;W<5;W++)for(var J=_[(W+4)%5],Q=_[(W+1)%5],K=Q.high,se=Q.low,H=J.high^(K<<1|se>>>31),te=J.low^(se<<1|K>>>31),ie=0;ie<5;ie++){var N=R[W+5*ie];N.high^=H,N.low^=te}for(var ee=1;ee<25;ee++){var H,te,N=R[ee],X=N.high,le=N.low,z=x[ee];z<32?(H=X<<z|le>>>32-z,te=le<<z|X>>>32-z):(H=le<<z-32|X>>>64-z,te=X<<z-32|le>>>64-z);var $=_[p[ee]];$.high=H,$.low=te}var ae=_[0],_e=R[0];ae.high=_e.high,ae.low=_e.low;for(var W=0;W<5;W++)for(var ie=0;ie<5;ie++){var ee=W+5*ie,N=R[ee],Ie=_[ee],ke=_[(W+1)%5+5*ie],We=_[(W+2)%5+5*ie];N.high=Ie.high^~ke.high&We.high,N.low=Ie.low^~ke.low&We.low}var N=R[0],je=y[V];N.high^=je.high,N.low^=je.low}},_doFinalize:function(){var S=this._data,k=S.words,R=this._nDataBytes*8,A=S.sigBytes*8,I=this.blockSize*32;k[A>>>5]|=1<<24-A%32,k[(i.ceil((A+1)/I)*I>>>5)-1]|=128,S.sigBytes=k.length*4,this._process();for(var M=this._state,B=this.cfg.outputLength/8,N=B/8,V=[],W=0;W<N;W++){var H=M[W],te=H.high,ie=H.low;te=(te<<8|te>>>24)&16711935|(te<<24|te>>>8)&4278255360,ie=(ie<<8|ie>>>24)&16711935|(ie<<24|ie>>>8)&4278255360,V.push(ie),V.push(te)}return new f.init(V,B)},clone:function(){for(var S=o.clone.call(this),k=S._state=this._state.slice(0),R=0;R<25;R++)k[R]=k[R].clone();return S}});l.SHA3=o._createHelper(b),l.HmacSHA3=o._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,o=i.algo,h=o.SHA512,u=o.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,o=f.Word,h=f.WordArray,u=i.algo;function a(){return o.create.apply(o,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 o.init(1779033703,4089235720),new o.init(3144134277,2227873595),new o.init(1013904242,4271175723),new o.init(2773480762,1595750129),new o.init(1359893119,2917565137),new o.init(2600822924,725511199),new o.init(528734635,4215389547),new o.init(1541459225,327033209)])},_doProcessBlock:function(_,b){for(var S=this._hash.words,k=S[0],R=S[1],A=S[2],I=S[3],M=S[4],B=S[5],N=S[6],V=S[7],W=k.high,H=k.low,te=R.high,ie=R.low,oe=A.high,J=A.low,Q=I.high,K=I.low,se=M.high,ee=M.low,X=B.high,le=B.low,z=N.high,$=N.low,ae=V.high,_e=V.low,Ie=W,ke=H,We=te,je=ie,Mt=oe,yt=J,Pt=Q,tr=K,Vt=se,lr=ee,Ke=X,Ct=le,jt=z,it=$,xt=ae,pt=_e,et=0;et<80;et++){var Ze,ge,Ae=p[et];if(et<16)ge=Ae.high=_[b+et*2]|0,Ze=Ae.low=_[b+et*2+1]|0;else{var Me=p[et-15],Ue=Me.high,Ge=Me.low,nt=(Ue>>>1|Ge<<31)^(Ue>>>8|Ge<<24)^Ue>>>7,ut=(Ge>>>1|Ue<<31)^(Ge>>>8|Ue<<24)^(Ge>>>7|Ue<<25),Kt=p[et-2],Zt=Kt.high,De=Kt.low,Je=(Zt>>>19|De<<13)^(Zt<<3|De>>>29)^Zt>>>6,Wt=(De>>>19|Zt<<13)^(De<<3|Zt>>>29)^(De>>>6|Zt<<26),Ot=p[et-7],zt=Ot.high,Ft=Ot.low,At=p[et-16],Yt=At.high,Ye=At.low;Ze=ut+Ft,ge=nt+zt+(Ze>>>0<ut>>>0?1:0),Ze=Ze+Wt,ge=ge+Je+(Ze>>>0<Wt>>>0?1:0),Ze=Ze+Ye,ge=ge+Yt+(Ze>>>0<Ye>>>0?1:0),Ae.high=ge,Ae.low=Ze}var ce=Vt&Ke^~Vt&jt,pe=lr&Ct^~lr&it,Dt=Ie&We^Ie&Mt^We&Mt,Ce=ke&je^ke&yt^je&yt,ft=(Ie>>>28|ke<<4)^(Ie<<30|ke>>>2)^(Ie<<25|ke>>>7),Ut=(ke>>>28|Ie<<4)^(ke<<30|Ie>>>2)^(ke<<25|Ie>>>7),St=(Vt>>>14|lr<<18)^(Vt>>>18|lr<<14)^(Vt<<23|lr>>>9),Oe=(lr>>>14|Vt<<18)^(lr>>>18|Vt<<14)^(lr<<23|Vt>>>9),wt=x[et],ye=wt.high,Xe=wt.low,vt=pt+Oe,Rt=xt+St+(vt>>>0<pt>>>0?1:0),vt=vt+pe,Rt=Rt+ce+(vt>>>0<pe>>>0?1:0),vt=vt+Xe,Rt=Rt+ye+(vt>>>0<Xe>>>0?1:0),vt=vt+Ze,Rt=Rt+ge+(vt>>>0<Ze>>>0?1:0),Ne=Ut+Ce,Dr=ft+Dt+(Ne>>>0<Ut>>>0?1:0);xt=jt,pt=it,jt=Ke,it=Ct,Ke=Vt,Ct=lr,lr=tr+vt|0,Vt=Pt+Rt+(lr>>>0<tr>>>0?1:0)|0,Pt=Mt,tr=yt,Mt=We,yt=je,We=Ie,je=ke,ke=vt+Ne|0,Ie=Rt+Dr+(ke>>>0<vt>>>0?1:0)|0}H=k.low=H+ke,k.high=W+Ie+(H>>>0<ke>>>0?1:0),ie=R.low=ie+je,R.high=te+We+(ie>>>0<je>>>0?1:0),J=A.low=J+yt,A.high=oe+Mt+(J>>>0<yt>>>0?1:0),K=I.low=K+tr,I.high=Q+Pt+(K>>>0<tr>>>0?1:0),ee=M.low=ee+lr,M.high=se+Vt+(ee>>>0<lr>>>0?1:0),le=B.low=le+Ct,B.high=X+Ke+(le>>>0<Ct>>>0?1:0),$=N.low=$+it,N.high=z+jt+($>>>0<it>>>0?1:0),_e=V.low=_e+pt,V.high=ae+xt+(_e>>>0<pt>>>0?1:0)},_doFinalize:function(){var _=this._data,b=_.words,S=this._nDataBytes*8,k=_.sigBytes*8;b[k>>>5]|=128<<24-k%32,b[(k+128>>>10<<5)+30]=Math.floor(S/4294967296),b[(k+128>>>10<<5)+31]=S,_.sigBytes=b.length*4,this._process();var R=this._hash.toX32();return R},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,o=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=o.DES=f.extend({_doReset:function(){for(var k=this._key,R=k.words,A=[],I=0;I<56;I++){var M=h[I]-1;A[I]=R[M>>>5]>>>31-M%32&1}for(var B=this._subKeys=[],N=0;N<16;N++){for(var V=B[N]=[],W=a[N],I=0;I<24;I++)V[I/6|0]|=A[(u[I]-1+W)%28]<<31-I%6,V[4+(I/6|0)]|=A[28+(u[I+24]-1+W)%28]<<31-I%6;V[0]=V[0]<<1|V[0]>>>31;for(var I=1;I<7;I++)V[I]=V[I]>>>(I-1)*4+3;V[7]=V[7]<<5|V[7]>>>27}for(var H=this._invSubKeys=[],I=0;I<16;I++)H[I]=B[15-I]},encryptBlock:function(k,R){this._doCryptBlock(k,R,this._subKeys)},decryptBlock:function(k,R){this._doCryptBlock(k,R,this._invSubKeys)},_doCryptBlock:function(k,R,A){this._lBlock=k[R],this._rBlock=k[R+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 I=0;I<16;I++){for(var M=A[I],B=this._lBlock,N=this._rBlock,V=0,W=0;W<8;W++)V|=x[W][((N^M[W])&p[W])>>>0];this._lBlock=N,this._rBlock=B^V}var H=this._lBlock;this._lBlock=this._rBlock,this._rBlock=H,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),k[R]=this._lBlock,k[R+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function _(k,R){var A=(this._lBlock>>>k^this._rBlock)&R;this._rBlock^=A,this._lBlock^=A<<k}function b(k,R){var A=(this._rBlock>>>k^this._lBlock)&R;this._lBlock^=A,this._rBlock^=A<<k}i.DES=f._createHelper(y);var S=o.TripleDES=f.extend({_doReset:function(){var k=this._key,R=k.words;if(R.length!==2&&R.length!==4&&R.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var A=R.slice(0,2),I=R.length<4?R.slice(0,2):R.slice(2,4),M=R.length<6?R.slice(0,2):R.slice(4,6);this._des1=y.createEncryptor(c.create(A)),this._des2=y.createEncryptor(c.create(I)),this._des3=y.createEncryptor(c.create(M))},encryptBlock:function(k,R){this._des1.encryptBlock(k,R),this._des2.decryptBlock(k,R),this._des3.encryptBlock(k,R)},decryptBlock:function(k,R){this._des3.decryptBlock(k,R),this._des2.encryptBlock(k,R),this._des1.decryptBlock(k,R)},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,o=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 o.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),o=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),_):_};o.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),_):_}},56656: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",o="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 oe=["th","st","nd","rd"],J=ie%100;return"["+ie+(oe[(J-20)%10]||oe[J]||oe[0])+"]"}},k=function(ie,oe,J){var Q=String(ie);return!Q||Q.length>=oe?ie:""+Array(oe+1-Q.length).join(J)+ie},R={s:k,z:function(ie){var oe=-ie.utcOffset(),J=Math.abs(oe),Q=Math.floor(J/60),K=J%60;return(oe<=0?"+":"-")+k(Q,2,"0")+":"+k(K,2,"0")},m:function ie(oe,J){if(oe.date()<J.date())return-ie(J,oe);var Q=12*(J.year()-oe.year())+(J.month()-oe.month()),K=oe.clone().add(Q,u),se=J-K<0,ee=oe.clone().add(Q+(se?-1:1),u);return+(-(Q+(J-K)/(se?K-ee:ee-K))||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:o,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}},A="en",I={};I[A]=S;var M="$isDayjsObject",B=function(ie){return ie instanceof H||!(!ie||!ie[M])},N=function ie(oe,J,Q){var K;if(!oe)return A;if(typeof oe=="string"){var se=oe.toLowerCase();I[se]&&(K=se),J&&(I[se]=J,K=se);var ee=oe.split("-");if(!K&&ee.length>1)return ie(ee[0])}else{var X=oe.name;I[X]=oe,K=X}return!Q&&K&&(A=K),K||!Q&&A},V=function(ie,oe){if(B(ie))return ie.clone();var J=typeof oe=="object"?oe:{};return J.date=ie,J.args=arguments,new H(J)},W=R;W.l=N,W.i=B,W.w=function(ie,oe){return V(ie,{locale:oe.$L,utc:oe.$u,x:oe.$x,$offset:oe.$offset})};var H=function(){function ie(J){this.$L=N(J.locale,null,!0),this.parse(J),this.$x=this.$x||J.x||{},this[M]=!0}var oe=ie.prototype;return oe.parse=function(J){this.$d=function(Q){var K=Q.date,se=Q.utc;if(K===null)return new Date(NaN);if(W.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var ee=K.match(_);if(ee){var X=ee[2]-1||0,le=(ee[7]||"0").substring(0,3);return se?new Date(Date.UTC(ee[1],X,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,le)):new Date(ee[1],X,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,le)}}return new Date(K)}(J),this.init()},oe.init=function(){var J=this.$d;this.$y=J.getFullYear(),this.$M=J.getMonth(),this.$D=J.getDate(),this.$W=J.getDay(),this.$H=J.getHours(),this.$m=J.getMinutes(),this.$s=J.getSeconds(),this.$ms=J.getMilliseconds()},oe.$utils=function(){return W},oe.isValid=function(){return this.$d.toString()!==y},oe.isSame=function(J,Q){var K=V(J);return this.startOf(Q)<=K&&K<=this.endOf(Q)},oe.isAfter=function(J,Q){return V(J)<this.startOf(Q)},oe.isBefore=function(J,Q){return this.endOf(Q)<V(J)},oe.$g=function(J,Q,K){return W.u(J)?this[Q]:this.set(K,J)},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this.$d.getTime()},oe.startOf=function(J,Q){var K=this,se=!!W.u(Q)||Q,ee=W.p(J),X=function(We,je){var Mt=W.w(K.$u?Date.UTC(K.$y,je,We):new Date(K.$y,je,We),K);return se?Mt:Mt.endOf(o)},le=function(We,je){return W.w(K.toDate()[We].apply(K.toDate("s"),(se?[0,0,0,0]:[23,59,59,999]).slice(je)),K)},z=this.$W,$=this.$M,ae=this.$D,_e="set"+(this.$u?"UTC":"");switch(ee){case x:return se?X(1,0):X(31,11);case u:return se?X(1,$):X(0,$+1);case h:var Ie=this.$locale().weekStart||0,ke=(z<Ie?z+7:z)-Ie;return X(se?ae-ke:ae+(6-ke),$);case o: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()}},oe.endOf=function(J){return this.startOf(J,!1)},oe.$set=function(J,Q){var K,se=W.p(J),ee="set"+(this.$u?"UTC":""),X=(K={},K[o]=ee+"Date",K[p]=ee+"Date",K[u]=ee+"Month",K[x]=ee+"FullYear",K[f]=ee+"Hours",K[c]=ee+"Minutes",K[l]=ee+"Seconds",K[i]=ee+"Milliseconds",K)[se],le=se===o?this.$D+(Q-this.$W):Q;if(se===u||se===x){var z=this.clone().set(p,1);z.$d[X](le),z.init(),this.$d=z.set(p,Math.min(this.$D,z.daysInMonth())).$d}else X&&this.$d[X](le);return this.init(),this},oe.set=function(J,Q){return this.clone().$set(J,Q)},oe.get=function(J){return this[W.p(J)]()},oe.add=function(J,Q){var K,se=this;J=Number(J);var ee=W.p(Q),X=function($){var ae=V(se);return W.w(ae.date(ae.date()+Math.round($*J)),se)};if(ee===u)return this.set(u,this.$M+J);if(ee===x)return this.set(x,this.$y+J);if(ee===o)return X(1);if(ee===h)return X(7);var le=(K={},K[c]=e,K[f]=r,K[l]=v,K)[ee]||1,z=this.$d.getTime()+J*le;return W.w(z,this)},oe.subtract=function(J,Q){return this.add(-1*J,Q)},oe.format=function(J){var Q=this,K=this.$locale();if(!this.isValid())return K.invalidDate||y;var se=J||"YYYY-MM-DDTHH:mm:ssZ",ee=W.z(this),X=this.$H,le=this.$m,z=this.$M,$=K.weekdays,ae=K.months,_e=K.meridiem,Ie=function(je,Mt,yt,Pt){return je&&(je[Mt]||je(Q,se))||yt[Mt].slice(0,Pt)},ke=function(je){return W.s(X%12||12,je,"0")},We=_e||function(je,Mt,yt){var Pt=je<12?"AM":"PM";return yt?Pt.toLowerCase():Pt};return se.replace(b,function(je,Mt){return Mt||function(yt){switch(yt){case"YY":return String(Q.$y).slice(-2);case"YYYY":return W.s(Q.$y,4,"0");case"M":return z+1;case"MM":return W.s(z+1,2,"0");case"MMM":return Ie(K.monthsShort,z,ae,3);case"MMMM":return Ie(ae,z);case"D":return Q.$D;case"DD":return W.s(Q.$D,2,"0");case"d":return String(Q.$W);case"dd":return Ie(K.weekdaysMin,Q.$W,$,2);case"ddd":return Ie(K.weekdaysShort,Q.$W,$,3);case"dddd":return $[Q.$W];case"H":return String(X);case"HH":return W.s(X,2,"0");case"h":return ke(1);case"hh":return ke(2);case"a":return We(X,le,!0);case"A":return We(X,le,!1);case"m":return String(le);case"mm":return W.s(le,2,"0");case"s":return String(Q.$s);case"ss":return W.s(Q.$s,2,"0");case"SSS":return W.s(Q.$ms,3,"0");case"Z":return ee}return null}(je)||ee.replace(":","")})},oe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},oe.diff=function(J,Q,K){var se,ee=this,X=W.p(Q),le=V(J),z=(le.utcOffset()-this.utcOffset())*e,$=this-le,ae=function(){return W.m(ee,le)};switch(X){case x:se=ae()/12;break;case u:se=ae();break;case a:se=ae()/3;break;case h:se=($-z)/6048e5;break;case o:se=($-z)/864e5;break;case f:se=$/r;break;case c:se=$/e;break;case l:se=$/v;break;default:se=$}return K?se:W.a(se)},oe.daysInMonth=function(){return this.endOf(u).$D},oe.$locale=function(){return I[this.$L]},oe.locale=function(J,Q){if(!J)return this.$L;var K=this.clone(),se=N(J,Q,!0);return se&&(K.$L=se),K},oe.clone=function(){return W.w(this.$d,this)},oe.toDate=function(){return new Date(this.valueOf())},oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toISOString=function(){return this.$d.toISOString()},oe.toString=function(){return this.$d.toUTCString()},ie}(),te=H.prototype;return V.prototype=te,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ie){te[ie[1]]=function(oe){return this.$g(oe,ie[0],ie[1])}}),V.extend=function(ie,oe){return ie.$i||(ie(oe,H,V),ie.$i=!0),V},V.locale=N,V.isDayjs=B,V.unix=function(ie){return V(1e3*ie)},V.en=I[A],V.Ls=I,V.p={},V})},24175:function(d,v,e){(function(r,i){d.exports=i(e(56656))})(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,o){return o==="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,o){var h=100*f+o;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})},71912: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 o=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 o.s(c.week(),u==="w"?1:2,"0");case"W":case"WW":return o.s(c.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return o.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)}}})},48228: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={},o=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),k=60*S[1]+(+S[2]||0);return k===0?0:S[0]==="+"?-k:k}(_)}],a=function(_){var b=f[_];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(_,b){var S,k=f.meridiem;if(k){for(var R=1;R<=24;R+=1)if(_.indexOf(k(R,0,b))>-1){S=R>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 k=1;k<=31;k+=1)b(k).replace(/\[|\]/g,"")===_&&(this.day=k)}],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(k){return k.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=o(_)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(_){var b,S;b=_,S=f&&f.formats;for(var k=(_=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(V,W,H){var te=H&&H.toUpperCase();return W||S[H]||v[H]||S[te].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ie,oe,J){return oe||J.slice(1)})})).match(e),R=k.length,A=0;A<R;A+=1){var I=k[A],M=p[I],B=M&&M[0],N=M&&M[1];k[A]=N?{regex:B,parser:N}:I.replace(/^\[|\]$/g,"")}return function(V){for(var W={},H=0,te=0;H<R;H+=1){var ie=k[H];if(typeof ie=="string")te+=ie.length;else{var oe=ie.regex,J=ie.parser,Q=V.slice(te),K=oe.exec(Q)[0];J.call(W,K),V=V.replace(K,"")}}return function(se){var ee=se.afternoon;if(ee!==void 0){var X=se.hours;ee?X<12&&(se.hours+=12):X===12&&(se.hours=0),delete se.afternoon}}(W),W}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(o=_.parseTwoDigitYear);var k=b.prototype,R=k.parse;k.parse=function(A){var I=A.date,M=A.utc,B=A.args;this.$u=M;var N=B[1];if(typeof N=="string"){var V=B[2]===!0,W=B[3]===!0,H=V||W,te=B[2];W&&(te=B[2]),f=this.$locale(),!V&&te&&(f=S.Ls[te]),this.$d=function(Q,K,se,ee){try{if(["x","X"].indexOf(K)>-1)return new Date((K==="X"?1e3:1)*Q);var X=y(K)(Q),le=X.year,z=X.month,$=X.day,ae=X.hours,_e=X.minutes,Ie=X.seconds,ke=X.milliseconds,We=X.zone,je=X.week,Mt=new Date,yt=$||(le||z?1:Mt.getDate()),Pt=le||Mt.getFullYear(),tr=0;le&&!z||(tr=z>0?z-1:Mt.getMonth());var Vt,lr=ae||0,Ke=_e||0,Ct=Ie||0,jt=ke||0;return We?new Date(Date.UTC(Pt,tr,yt,lr,Ke,Ct,jt+60*We.offset*1e3)):se?new Date(Date.UTC(Pt,tr,yt,lr,Ke,Ct,jt)):(Vt=new Date(Pt,tr,yt,lr,Ke,Ct,jt),je&&(Vt=ee(Vt).week(je).toDate()),Vt)}catch(it){return new Date("")}}(I,N,M,S),this.init(),te&&te!==!0&&(this.$L=this.locale(te).$L),H&&I!=this.format(N)&&(this.$d=new Date("")),f={}}else if(N instanceof Array)for(var ie=N.length,oe=1;oe<=ie;oe+=1){B[1]=N[oe-1];var J=S.apply(this,B);if(J.isValid()){this.$d=J.$d,this.$L=J.$L,this.init();break}oe===ie&&(this.$d=new Date(""))}else R.call(this,A)}}})},92468: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,o=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:o,months:h,days:c,hours:l,minutes:i,seconds:r,milliseconds:1,weeks:6048e5},x=function(I){return I instanceof R},p=function(I,M,B){return new R(I,B,M.$l)},y=function(I){return e.p(I)+"s"},_=function(I){return I<0},b=function(I){return _(I)?Math.ceil(I):Math.floor(I)},S=function(I){return Math.abs(I)},k=function(I,M){return I?_(I)?{negative:!0,format:""+S(I)+M}:{negative:!1,format:""+I+M}:{negative:!1,format:""}},R=function(){function I(B,N,V){var W=this;if(this.$d={},this.$l=V,B===void 0&&(this.$ms=0,this.parseFromMilliseconds()),N)return p(B*a[y(N)],this);if(typeof B=="number")return this.$ms=B,this.parseFromMilliseconds(),this;if(typeof B=="object")return Object.keys(B).forEach(function(ie){W.$d[y(ie)]=B[ie]}),this.calMilliseconds(),this;if(typeof B=="string"){var H=B.match(u);if(H){var te=H.slice(2).map(function(ie){return ie!=null?Number(ie):0});return this.$d.years=te[0],this.$d.months=te[1],this.$d.weeks=te[2],this.$d.days=te[3],this.$d.hours=te[4],this.$d.minutes=te[5],this.$d.seconds=te[6],this.calMilliseconds(),this}}return this}var M=I.prototype;return M.calMilliseconds=function(){var B=this;this.$ms=Object.keys(this.$d).reduce(function(N,V){return N+(B.$d[V]||0)*a[V]},0)},M.parseFromMilliseconds=function(){var B=this.$ms;this.$d.years=b(B/o),B%=o,this.$d.months=b(B/h),B%=h,this.$d.days=b(B/c),B%=c,this.$d.hours=b(B/l),B%=l,this.$d.minutes=b(B/i),B%=i,this.$d.seconds=b(B/r),B%=r,this.$d.milliseconds=B},M.toISOString=function(){var B=k(this.$d.years,"Y"),N=k(this.$d.months,"M"),V=+this.$d.days||0;this.$d.weeks&&(V+=7*this.$d.weeks);var W=k(V,"D"),H=k(this.$d.hours,"H"),te=k(this.$d.minutes,"M"),ie=this.$d.seconds||0;this.$d.milliseconds&&(ie+=this.$d.milliseconds/1e3,ie=Math.round(1e3*ie)/1e3);var oe=k(ie,"S"),J=B.negative||N.negative||W.negative||H.negative||te.negative||oe.negative,Q=H.format||te.format||oe.format?"T":"",K=(J?"-":"")+"P"+B.format+N.format+W.format+Q+H.format+te.format+oe.format;return K==="P"||K==="-P"?"P0D":K},M.toJSON=function(){return this.toISOString()},M.format=function(B){var N=B||"YYYY-MM-DDTHH:mm:ss",V={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 N.replace(f,function(W,H){return H||String(V[W])})},M.as=function(B){return this.$ms/a[y(B)]},M.get=function(B){var N=this.$ms,V=y(B);return V==="milliseconds"?N%=1e3:N=V==="weeks"?b(N/a[V]):this.$d[V],N||0},M.add=function(B,N,V){var W;return W=N?B*a[y(N)]:x(B)?B.$ms:p(B,this).$ms,p(this.$ms+W*(V?-1:1),this)},M.subtract=function(B,N){return this.add(B,N,!0)},M.locale=function(B){var N=this.clone();return N.$l=B,N},M.clone=function(){return p(this.$ms,this)},M.humanize=function(B){return v().add(this.$ms,"ms").locale(this.$l).fromNow(!B)},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")},I}(),A=function(I,M,B){return I.add(M.years()*B,"y").add(M.months()*B,"M").add(M.days()*B,"d").add(M.hours()*B,"h").add(M.minutes()*B,"m").add(M.seconds()*B,"s").add(M.milliseconds()*B,"ms")};return function(I,M,B){v=B,e=B().$utils(),B.duration=function(W,H){var te=B.locale();return p(W,{$l:te},H)},B.isDuration=x;var N=M.prototype.add,V=M.prototype.subtract;M.prototype.add=function(W,H){return x(W)?A(this,W,1):N.bind(this)(W,H)},M.prototype.subtract=function(W,H){return x(W)?A(this,W,-1):V.bind(this)(W,H)}}})},22982: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)}}})},81626: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)}}})},29256: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)}}})},54449: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]),k=b||S.map(function(A){return A.slice(0,p)});if(!y)return k;var R=_.weekStart;return k.map(function(A,I){return k[(I+(R||0))%7]})},f=function(){return r.Ls[r.locale()]},o=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 o(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 o(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)}}})},10564: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 o=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,k){return S||k.slice(1)})})}(f,o===void 0?{}:o);return c.call(this,h)}}})},27082: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(o,h,u,a){return i.fromToBase(o,h,u,a)}r.en.relativeTime=l,i.fromToBase=function(o,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"}],k=S.length,R=0;R<k;R+=1){var A=S[R];A.d&&(p=a?r(o).diff(u,A.d,!0):u.diff(o,A.d,!0));var I=(v.rounding||Math.round)(Math.abs(p));if(_=p>0,I<=A.r||!A.r){I<=1&&R>0&&(A=S[R-1]);var M=b[A.l];x&&(I=x(""+I)),y=typeof M=="string"?M.replace("%d",I):M(I,h,A.l,_);break}}if(h)return y;var B=_?b.future:b.past;return typeof B=="function"?B(y):B.replace("%s",y)},i.to=function(o,h){return c(o,h,this,!0)},i.from=function(o,h){return c(o,h,this)};var f=function(o){return o.$u?r.utc():r()};i.toNow=function(o){return this.to(f(this),o)},i.fromNow=function(o){return this.from(f(this),o)}}})},53501: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 o=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=l(this).startOf(e).add(1,e).date(o),u=l(this).endOf(v);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(o).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)}}})},36867: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}}})},27112: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(o,h,u){return h in o?Object.defineProperty(o,h,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[h]=u,o}function e(o,h){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);h&&(a=a.filter(function(x){return Object.getOwnPropertyDescriptor(o,x).enumerable})),u.push.apply(u,a)}return u}function r(o){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(o,a,u[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(u,a))})}return o}var i="@@DVA_LOADING/SHOW",l="@@DVA_LOADING/HIDE",c="loading";function f(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=o.namespace||c,u=o.only,a=u===void 0?[]:u,x=o.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,k=arguments.length>1?arguments[1]:void 0,R=k.type,A=k.payload,I=A||{},M=I.namespace,B=I.actionType,N;switch(R){case i:N=r(r({},S),{},{global:!0,models:r(r({},S.models),{},v({},M,!0)),effects:r(r({},S.effects),{},v({},B,!0))});break;case l:{var V=r(r({},S.effects),{},v({},B,!1)),W=r(r({},S.models),{},v({},M,Object.keys(V).some(function(te){var ie=te.split("/")[0];return ie!==M?!1:V[te]}))),H=Object.keys(W).some(function(te){return W[te]});N=r(r({},S),{},{global:H,models:W,effects:V});break}default:N=S;break}return N});function b(S,k,R,A){var I=k.put,M=R.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(A)!==-1||p.length>0&&p.indexOf(A)===-1?regeneratorRuntime.mark(function B(){var N=arguments;return regeneratorRuntime.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,I({type:i,payload:{namespace:M,actionType:A}});case 2:return W.next=4,S.apply(void 0,N);case 4:return W.next=6,I({type:l,payload:{namespace:M,actionType:A}});case 6:case"end":return W.stop()}},B)}):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 o,h,u=l(arguments.length,2),a;for(c=Object(i(c)),a=function(x){try{c[x]=f[x]}catch(p){o||(o=p)}},h=1;h<u;++h)f=arguments[h],r(f).forEach(a);if(o!==void 0)throw o;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,o){var h;for(h in f)o[h]=f[h]};d.exports=function(f){var o=l(null);return i.call(arguments,function(h){r(h)&&c(Object(h),o)}),o}},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,o=Object.defineProperty,h=Object.defineProperties,u=Object.prototype.hasOwnProperty,a={configurable:!0,enumerable:!1,writable:!0},x,p,y,_,b,S,k;x=function(R,A){var I;return i(A),u.call(this,"__ee__")?I=this.__ee__:(I=a.value=f(null),o(this,"__ee__",a),a.value=null),I[R]?typeof I[R]=="object"?I[R].push(A):I[R]=[I[R],A]:I[R]=A,this},p=function(R,A){var I,M;return i(A),M=this,x.call(this,R,I=function(){y.call(M,R,I),l.call(A,this,arguments)}),I.__eeOnceListener__=A,this},y=function(R,A){var I,M,B,N;if(i(A),!u.call(this,"__ee__"))return this;if(I=this.__ee__,!I[R])return this;if(M=I[R],typeof M=="object")for(N=0;B=M[N];++N)(B===A||B.__eeOnceListener__===A)&&(M.length===2?I[R]=M[N?0:1]:M.splice(N,1));else(M===A||M.__eeOnceListener__===A)&&delete I[R];return this},_=function(R){var A,I,M,B,N;if(u.call(this,"__ee__")&&(B=this.__ee__[R],!!B))if(typeof B=="object"){for(I=arguments.length,N=new Array(I-1),A=1;A<I;++A)N[A-1]=arguments[A];for(B=B.slice(),A=0;M=B[A];++A)l.call(M,this,N)}else switch(arguments.length){case 1:c.call(B,this);break;case 2:c.call(B,this,arguments[1]);break;case 3:c.call(B,this,arguments[1],arguments[2]);break;default:for(I=arguments.length,N=new Array(I-1),A=1;A<I;++A)N[A-1]=arguments[A];l.call(B,this,N)}},b={on:x,once:p,off:y,emit:_},S={on:r(x),once:r(p),off:r(y),emit:r(_)},k=h({},S),d.exports=v=function(R){return R==null?f(k):h(Object(R),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,o){return Array.isArray(o)&&c<r?f.concat(i(o,c+1)):f.concat(o)},[])}}},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,o){if(f=r.toArray(f,o),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,o=this._delta8,h=o-(f+this.padLength)%o,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,o){if(!(this instanceof l))return new l(c,f,o);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(f,o))}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 o=f.length;o<this.blockSize;o++)f.push(0);for(o=0;o<f.length;o++)f[o]^=54;for(this.inner=new this.Hash().update(f),o=0;o<f.length;o++)f[o]^=106;this.outer=new this.Hash().update(f)},l.prototype.update=function(f,o){return this.inner.update(f,o),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,o=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(R,A){for(var I=this.h[0],M=this.h[1],B=this.h[2],N=this.h[3],V=this.h[4],W=I,H=M,te=B,ie=N,oe=V,J=0;J<80;J++){var Q=c(l(o(I,a(J,M,B,N),R[y[J]+A],x(J)),b[J]),V);I=V,V=N,N=l(B,10),B=M,M=Q,Q=c(l(o(W,a(79-J,H,te,ie),R[_[J]+A],p(J)),S[J]),oe),W=oe,oe=ie,ie=l(te,10),te=H,H=Q}Q=f(this.h[1],B,ie),this.h[1]=f(this.h[2],N,oe),this.h[2]=f(this.h[3],V,W),this.h[3]=f(this.h[4],I,H),this.h[4]=f(this.h[0],M,te),this.h[0]=Q},u.prototype._digest=function(R){return R==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(k,R,A,I){return k<=15?R^A^I:k<=31?R&A|~R&I:k<=47?(R|~A)^I:k<=63?R&I|A&~I:R^(A|~I)}function x(k){return k<=15?0:k<=31?1518500249:k<=47?1859775393:k<=63?2400959708:2840853838}function p(k){return k<=15?1352829926:k<=31?1548603684:k<=47?1836072691:k<=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,o=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 k=this.h[0],R=this.h[1],A=this.h[2],I=this.h[3],M=this.h[4];for(S=0;S<b.length;S++){var B=~~(S/20),N=o(c(k,5),h(B,R,A,I),M,b[S],a[B]);M=I,I=A,A=c(R,30),R=k,k=N}this.h[0]=f(this.h[0],k),this.h[1]=f(this.h[1],R),this.h[2]=f(this.h[2],A),this.h[3]=f(this.h[3],I),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,o=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 k(){if(!(this instanceof k))return new k;b.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=S,this.W=new Array(64)}r.inherits(k,b),d.exports=k,k.blockSize=512,k.outSize=256,k.hmacStrength=192,k.padLength=64,k.prototype._update=function(A,I){for(var M=this.W,B=0;B<16;B++)M[B]=A[I+B];for(;B<M.length;B++)M[B]=o(_(M[B-2]),M[B-7],y(M[B-15]),M[B-16]);var N=this.h[0],V=this.h[1],W=this.h[2],H=this.h[3],te=this.h[4],ie=this.h[5],oe=this.h[6],J=this.h[7];for(c(this.k.length===M.length),B=0;B<M.length;B++){var Q=h(J,p(te),u(te,ie,oe),this.k[B],M[B]),K=f(x(N),a(N,V,W));J=oe,oe=ie,ie=te,te=f(H,Q),H=W,W=V,V=N,N=f(Q,K)}this.h[0]=f(this.h[0],N),this.h[1]=f(this.h[1],V),this.h[2]=f(this.h[2],W),this.h[3]=f(this.h[3],H),this.h[4]=f(this.h[4],te),this.h[5]=f(this.h[5],ie),this.h[6]=f(this.h[6],oe),this.h[7]=f(this.h[7],J)},k.prototype._digest=function(A){return A==="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,o=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,k=[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 R(){if(!(this instanceof R))return new R;S.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=k,this.W=new Array(160)}r.inherits(R,S),d.exports=R,R.blockSize=1024,R.outSize=512,R.hmacStrength=192,R.padLength=128,R.prototype._prepareBlock=function(K,se){for(var ee=this.W,X=0;X<32;X++)ee[X]=K[se+X];for(;X<ee.length;X+=2){var le=oe(ee[X-4],ee[X-3]),z=J(ee[X-4],ee[X-3]),$=ee[X-14],ae=ee[X-13],_e=te(ee[X-30],ee[X-29]),Ie=ie(ee[X-30],ee[X-29]),ke=ee[X-32],We=ee[X-31];ee[X]=p(le,z,$,ae,_e,Ie,ke,We),ee[X+1]=y(le,z,$,ae,_e,Ie,ke,We)}},R.prototype._update=function(K,se){this._prepareBlock(K,se);var ee=this.W,X=this.h[0],le=this.h[1],z=this.h[2],$=this.h[3],ae=this.h[4],_e=this.h[5],Ie=this.h[6],ke=this.h[7],We=this.h[8],je=this.h[9],Mt=this.h[10],yt=this.h[11],Pt=this.h[12],tr=this.h[13],Vt=this.h[14],lr=this.h[15];l(this.k.length===ee.length);for(var Ke=0;Ke<ee.length;Ke+=2){var Ct=Vt,jt=lr,it=W(We,je),xt=H(We,je),pt=A(We,je,Mt,yt,Pt,tr),et=I(We,je,Mt,yt,Pt,tr),Ze=this.k[Ke],ge=this.k[Ke+1],Ae=ee[Ke],Me=ee[Ke+1],Ue=_(Ct,jt,it,xt,pt,et,Ze,ge,Ae,Me),Ge=b(Ct,jt,it,xt,pt,et,Ze,ge,Ae,Me);Ct=N(X,le),jt=V(X,le),it=M(X,le,z,$,ae,_e),xt=B(X,le,z,$,ae,_e);var nt=a(Ct,jt,it,xt),ut=x(Ct,jt,it,xt);Vt=Pt,lr=tr,Pt=Mt,tr=yt,Mt=We,yt=je,We=a(Ie,ke,Ue,Ge),je=x(ke,ke,Ue,Ge),Ie=ae,ke=_e,ae=z,_e=$,z=X,$=le,X=a(Ue,Ge,nt,ut),le=x(Ue,Ge,nt,ut)}u(this.h,0,X,le),u(this.h,2,z,$),u(this.h,4,ae,_e),u(this.h,6,Ie,ke),u(this.h,8,We,je),u(this.h,10,Mt,yt),u(this.h,12,Pt,tr),u(this.h,14,Vt,lr)},R.prototype._digest=function(K){return K==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function A(Q,K,se,ee,X){var le=Q&se^~Q&X;return le<0&&(le+=4294967296),le}function I(Q,K,se,ee,X,le){var z=K&ee^~K≤return z<0&&(z+=4294967296),z}function M(Q,K,se,ee,X){var le=Q&se^Q&X^se&X;return le<0&&(le+=4294967296),le}function B(Q,K,se,ee,X,le){var z=K&ee^K&le^ee≤return z<0&&(z+=4294967296),z}function N(Q,K){var se=c(Q,K,28),ee=c(K,Q,2),X=c(K,Q,7),le=se^ee^X;return le<0&&(le+=4294967296),le}function V(Q,K){var se=f(Q,K,28),ee=f(K,Q,2),X=f(K,Q,7),le=se^ee^X;return le<0&&(le+=4294967296),le}function W(Q,K){var se=c(Q,K,14),ee=c(Q,K,18),X=c(K,Q,9),le=se^ee^X;return le<0&&(le+=4294967296),le}function H(Q,K){var se=f(Q,K,14),ee=f(Q,K,18),X=f(K,Q,9),le=se^ee^X;return le<0&&(le+=4294967296),le}function te(Q,K){var se=c(Q,K,1),ee=c(Q,K,8),X=o(Q,K,7),le=se^ee^X;return le<0&&(le+=4294967296),le}function ie(Q,K){var se=f(Q,K,1),ee=f(Q,K,8),X=h(Q,K,7),le=se^ee^X;return le<0&&(le+=4294967296),le}function oe(Q,K){var se=c(Q,K,19),ee=c(K,Q,29),X=o(Q,K,6),le=se^ee^X;return le<0&&(le+=4294967296),le}function J(Q,K){var se=f(Q,K,19),ee=f(K,Q,29),X=h(Q,K,6),le=se^ee^X;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 o(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 o(p,y,_){return p^y^_}v.p32=o;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(J,Q){return(J.charCodeAt(Q)&64512)!==55296||Q<0||Q+1>=J.length?!1:(J.charCodeAt(Q+1)&64512)===56320}function c(J,Q){if(Array.isArray(J))return J.slice();if(!J)return[];var K=[];if(typeof J=="string")if(Q){if(Q==="hex")for(J=J.replace(/[^a-z0-9]+/ig,""),J.length%2!==0&&(J="0"+J),ee=0;ee<J.length;ee+=2)K.push(parseInt(J[ee]+J[ee+1],16))}else for(var se=0,ee=0;ee<J.length;ee++){var X=J.charCodeAt(ee);X<128?K[se++]=X:X<2048?(K[se++]=X>>6|192,K[se++]=X&63|128):l(J,ee)?(X=65536+((X&1023)<<10)+(J.charCodeAt(++ee)&1023),K[se++]=X>>18|240,K[se++]=X>>12&63|128,K[se++]=X>>6&63|128,K[se++]=X&63|128):(K[se++]=X>>12|224,K[se++]=X>>6&63|128,K[se++]=X&63|128)}else for(ee=0;ee<J.length;ee++)K[ee]=J[ee]|0;return K}v.toArray=c;function f(J){for(var Q="",K=0;K<J.length;K++)Q+=u(J[K].toString(16));return Q}v.toHex=f;function o(J){var Q=J>>>24|J>>>8&65280|J<<8&16711680|(J&255)<<24;return Q>>>0}v.htonl=o;function h(J,Q){for(var K="",se=0;se<J.length;se++){var ee=J[se];Q==="little"&&(ee=o(ee)),K+=a(ee.toString(16))}return K}v.toHex32=h;function u(J){return J.length===1?"0"+J:J}v.zero2=u;function a(J){return J.length===7?"0"+J:J.length===6?"00"+J:J.length===5?"000"+J:J.length===4?"0000"+J:J.length===3?"00000"+J:J.length===2?"000000"+J:J.length===1?"0000000"+J:J}v.zero8=a;function x(J,Q,K,se){var ee=K-Q;r(ee%4===0);for(var X=new Array(ee/4),le=0,z=Q;le<X.length;le++,z+=4){var $;se==="big"?$=J[z]<<24|J[z+1]<<16|J[z+2]<<8|J[z+3]:$=J[z+3]<<24|J[z+2]<<16|J[z+1]<<8|J[z],X[le]=$>>>0}return X}v.join32=x;function p(J,Q){for(var K=new Array(J.length*4),se=0,ee=0;se<J.length;se++,ee+=4){var X=J[se];Q==="big"?(K[ee]=X>>>24,K[ee+1]=X>>>16&255,K[ee+2]=X>>>8&255,K[ee+3]=X&255):(K[ee+3]=X>>>24,K[ee+2]=X>>>16&255,K[ee+1]=X>>>8&255,K[ee]=X&255)}return K}v.split32=p;function y(J,Q){return J>>>Q|J<<32-Q}v.rotr32=y;function _(J,Q){return J<<Q|J>>>32-Q}v.rotl32=_;function b(J,Q){return J+Q>>>0}v.sum32=b;function S(J,Q,K){return J+Q+K>>>0}v.sum32_3=S;function k(J,Q,K,se){return J+Q+K+se>>>0}v.sum32_4=k;function R(J,Q,K,se,ee){return J+Q+K+se+ee>>>0}v.sum32_5=R;function A(J,Q,K,se){var ee=J[Q],X=J[Q+1],le=se+X>>>0,z=(le<se?1:0)+K+ee;J[Q]=z>>>0,J[Q+1]=le}v.sum64=A;function I(J,Q,K,se){var ee=Q+se>>>0,X=(ee<Q?1:0)+J+K;return X>>>0}v.sum64_hi=I;function M(J,Q,K,se){var ee=Q+se;return ee>>>0}v.sum64_lo=M;function B(J,Q,K,se,ee,X,le,z){var $=0,ae=Q;ae=ae+se>>>0,$+=ae<Q?1:0,ae=ae+X>>>0,$+=ae<X?1:0,ae=ae+z>>>0,$+=ae<z?1:0;var _e=J+K+ee+le+$;return _e>>>0}v.sum64_4_hi=B;function N(J,Q,K,se,ee,X,le,z){var $=Q+se+X+z;return $>>>0}v.sum64_4_lo=N;function V(J,Q,K,se,ee,X,le,z,$,ae){var _e=0,Ie=Q;Ie=Ie+se>>>0,_e+=Ie<Q?1:0,Ie=Ie+X>>>0,_e+=Ie<X?1:0,Ie=Ie+z>>>0,_e+=Ie<z?1:0,Ie=Ie+ae>>>0,_e+=Ie<ae?1:0;var ke=J+K+ee+le+$+_e;return ke>>>0}v.sum64_5_hi=V;function W(J,Q,K,se,ee,X,le,z,$,ae){var _e=Q+se+X+z+ae;return _e>>>0}v.sum64_5_lo=W;function H(J,Q,K){var se=Q<<32-K|J>>>K;return se>>>0}v.rotr64_hi=H;function te(J,Q,K){var se=J<<32-K|Q>>>K;return se>>>0}v.rotr64_lo=te;function ie(J,Q,K){return J>>>K}v.shr64_hi=ie;function oe(J,Q,K){var se=J<<32-K|Q>>>K;return se>>>0}v.shr64_lo=oe},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 k},lX:function(){return u},q_:function(){return a}});var r=e(54476),i;(function(R){R.Pop="POP",R.Push="PUSH",R.Replace="REPLACE"})(i||(i={}));var l=function(R){return R};function c(R,A){if(!R){typeof console!="undefined"&&console.warn(A);try{throw new Error(A)}catch(I){}}}var f="beforeunload",o="hashchange",h="popstate";function u(R){R===void 0&&(R={});var A=R,I=A.window,M=I===void 0?document.defaultView:I,B=M.history;function N(){var Ie=M.location,ke=Ie.pathname,We=Ie.search,je=Ie.hash,Mt=B.state||{};return[Mt.idx,l({pathname:ke,search:We,hash:je,state:Mt.usr||null,key:Mt.key||"default"})]}var V=null;function W(){if(V)Q.call(V),V=null;else{var Ie=i.Pop,ke=N(),We=ke[0],je=ke[1];if(Q.length){if(We!=null){var Mt=ie-We;Mt&&(V={action:Ie,location:je,retry:function(){ae(Mt*-1)}},ae(Mt))}}else le(Ie)}}M.addEventListener(h,W);var H=i.Pop,te=N(),ie=te[0],oe=te[1],J=_(),Q=_();ie==null&&(ie=0,B.replaceState((0,r.Z)({},B.state,{idx:ie}),""));function K(Ie){return typeof Ie=="string"?Ie:S(Ie)}function se(Ie,ke){return ke===void 0&&(ke=null),l((0,r.Z)({pathname:oe.pathname,hash:"",search:""},typeof Ie=="string"?k(Ie):Ie,{state:ke,key:b()}))}function ee(Ie,ke){return[{usr:Ie.state,key:Ie.key,idx:ke},K(Ie)]}function X(Ie,ke,We){return!Q.length||(Q.call({action:Ie,location:ke,retry:We}),!1)}function le(Ie){H=Ie;var ke=N();ie=ke[0],oe=ke[1],J.call({action:H,location:oe})}function z(Ie,ke){var We=i.Push,je=se(Ie,ke);function Mt(){z(Ie,ke)}if(X(We,je,Mt)){var yt=ee(je,ie+1),Pt=yt[0],tr=yt[1];try{B.pushState(Pt,"",tr)}catch(Vt){M.location.assign(tr)}le(We)}}function $(Ie,ke){var We=i.Replace,je=se(Ie,ke);function Mt(){$(Ie,ke)}if(X(We,je,Mt)){var yt=ee(je,ie),Pt=yt[0],tr=yt[1];B.replaceState(Pt,"",tr),le(We)}}function ae(Ie){B.go(Ie)}var _e={get action(){return H},get location(){return oe},createHref:K,push:z,replace:$,go:ae,back:function(){ae(-1)},forward:function(){ae(1)},listen:function(ke){return J.push(ke)},block:function(ke){var We=Q.push(ke);return Q.length===1&&M.addEventListener(f,y),function(){We(),Q.length||M.removeEventListener(f,y)}}};return _e}function a(R){R===void 0&&(R={});var A=R,I=A.window,M=I===void 0?document.defaultView:I,B=M.history;function N(){var ke=k(M.location.hash.substr(1)),We=ke.pathname,je=We===void 0?"/":We,Mt=ke.search,yt=Mt===void 0?"":Mt,Pt=ke.hash,tr=Pt===void 0?"":Pt,Vt=B.state||{};return[Vt.idx,l({pathname:je,search:yt,hash:tr,state:Vt.usr||null,key:Vt.key||"default"})]}var V=null;function W(){if(V)Q.call(V),V=null;else{var ke=i.Pop,We=N(),je=We[0],Mt=We[1];if(Q.length){if(je!=null){var yt=ie-je;yt&&(V={action:ke,location:Mt,retry:function(){_e(yt*-1)}},_e(yt))}}else z(ke)}}M.addEventListener(h,W),M.addEventListener(o,function(){var ke=N(),We=ke[1];S(We)!==S(oe)&&W()});var H=i.Pop,te=N(),ie=te[0],oe=te[1],J=_(),Q=_();ie==null&&(ie=0,B.replaceState((0,r.Z)({},B.state,{idx:ie}),""));function K(){var ke=document.querySelector("base"),We="";if(ke&&ke.getAttribute("href")){var je=M.location.href,Mt=je.indexOf("#");We=Mt===-1?je:je.slice(0,Mt)}return We}function se(ke){return K()+"#"+(typeof ke=="string"?ke:S(ke))}function ee(ke,We){return We===void 0&&(We=null),l((0,r.Z)({pathname:oe.pathname,hash:"",search:""},typeof ke=="string"?k(ke):ke,{state:We,key:b()}))}function X(ke,We){return[{usr:ke.state,key:ke.key,idx:We},se(ke)]}function le(ke,We,je){return!Q.length||(Q.call({action:ke,location:We,retry:je}),!1)}function z(ke){H=ke;var We=N();ie=We[0],oe=We[1],J.call({action:H,location:oe})}function $(ke,We){var je=i.Push,Mt=ee(ke,We);function yt(){$(ke,We)}if(le(je,Mt,yt)){var Pt=X(Mt,ie+1),tr=Pt[0],Vt=Pt[1];try{B.pushState(tr,"",Vt)}catch(lr){M.location.assign(Vt)}z(je)}}function ae(ke,We){var je=i.Replace,Mt=ee(ke,We);function yt(){ae(ke,We)}if(le(je,Mt,yt)){var Pt=X(Mt,ie),tr=Pt[0],Vt=Pt[1];B.replaceState(tr,"",Vt),z(je)}}function _e(ke){B.go(ke)}var Ie={get action(){return H},get location(){return oe},createHref:se,push:$,replace:ae,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(We){return J.push(We)},block:function(We){var je=Q.push(We);return Q.length===1&&M.addEventListener(f,y),function(){je(),Q.length||M.removeEventListener(f,y)}}};return Ie}function x(R){R===void 0&&(R={});var A=R,I=A.initialEntries,M=I===void 0?["/"]:I,B=A.initialIndex,N=M.map(function(z){var $=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof z=="string"?k(z):z));return $}),V=p(B==null?N.length-1:B,0,N.length-1),W=i.Pop,H=N[V],te=_(),ie=_();function oe(z){return typeof z=="string"?z:S(z)}function J(z,$){return $===void 0&&($=null),l((0,r.Z)({pathname:H.pathname,search:"",hash:""},typeof z=="string"?k(z):z,{state:$,key:b()}))}function Q(z,$,ae){return!ie.length||(ie.call({action:z,location:$,retry:ae}),!1)}function K(z,$){W=z,H=$,te.call({action:W,location:H})}function se(z,$){var ae=i.Push,_e=J(z,$);function Ie(){se(z,$)}Q(ae,_e,Ie)&&(V+=1,N.splice(V,N.length,_e),K(ae,_e))}function ee(z,$){var ae=i.Replace,_e=J(z,$);function Ie(){ee(z,$)}Q(ae,_e,Ie)&&(N[V]=_e,K(ae,_e))}function X(z){var $=p(V+z,0,N.length-1),ae=i.Pop,_e=N[$];function Ie(){X(z)}Q(ae,_e,Ie)&&(V=$,K(ae,_e))}var le={get index(){return V},get action(){return W},get location(){return H},createHref:oe,push:se,replace:ee,go:X,back:function(){X(-1)},forward:function(){X(1)},listen:function($){return te.push($)},block:function($){return ie.push($)}};return le}function p(R,A,I){return Math.min(Math.max(R,A),I)}function y(R){R.preventDefault(),R.returnValue=""}function _(){var R=[];return{get length(){return R.length},push:function(I){return R.push(I),function(){R=R.filter(function(M){return M!==I})}},call:function(I){R.forEach(function(M){return M&&M(I)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(R){var A=R.pathname,I=A===void 0?"/":A,M=R.search,B=M===void 0?"":M,N=R.hash,V=N===void 0?"":N;return B&&B!=="?"&&(I+=B.charAt(0)==="?"?B:"?"+B),V&&V!=="#"&&(I+=V.charAt(0)==="#"?V:"#"+V),I}function k(R){var A={};if(R){var I=R.indexOf("#");I>=0&&(A.hash=R.substr(I),R=R.substr(0,I));var M=R.indexOf("?");M>=0&&(A.search=R.substr(M),R=R.substr(0,M)),R&&(A.pathname=R)}return A}},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},o={};o[r.ForwardRef]=c,o[r.Memo]=f;function h(S){return r.isMemo(S)?f:o[S.$$typeof]||i}var u=Object.defineProperty,a=Object.getOwnPropertyNames,x=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,y=Object.getPrototypeOf,_=Object.prototype;function b(S,k,R){if(typeof k!="string"){if(_){var A=y(k);A&&A!==_&&b(S,A,R)}var I=a(k);x&&(I=I.concat(x(k)));for(var M=h(S),B=h(k),N=0;N<I.length;++N){var V=I[N];if(!l[V]&&!(R&&R[V])&&!(B&&B[V])&&!(M&&M[V])){var W=p(k,V);try{u(S,V,W)}catch(H){}}}}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,o,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,o,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,o;return!(i(c)===!1||(f=c.constructor,typeof f!="function")||(o=f.prototype,i(o)===!1)||o.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,o){var h=function(u,a){return c.js_beautify(u,a)};return h.js=c.js_beautify,h.css=f.css_beautify,h.html=o.html_beautify,h.js_beautify=c.js_beautify,h.css_beautify=f.css_beautify,h.html_beautify=o.html_beautify,h}r=[e(58553),e(87804),e(40998)],i=function(c,f,o){return l(c,f,o)}.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 k=new p(b,S);return k.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(/\/\*/,/\*\//),k=/\r\n|[\r\n]/,R=/\r\n|[\r\n]/g,A=/\s/,I=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,B=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function N(V,W){this._source_text=V||"",this._options=new p(W),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"]}N.prototype.eatString=function(V){var W="";for(this._ch=this._input.next();this._ch;){if(W+=this._ch,this._ch==="\\")W+=this._input.next();else if(V.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return W},N.prototype.eatWhitespace=function(V){for(var W=A.test(this._input.peek()),H=0;A.test(this._input.peek());)this._ch=this._input.next(),V&&this._ch===`
|
|
|
`&&(H===0||H<this._options.max_preserve_newlines)&&(H++,this._output.add_new_line(!0));return W},N.prototype.foundNestedPseudoClass=function(){for(var V=0,W=1,H=this._input.peek(W);H;){if(H==="{")return!0;if(H==="(")V+=1;else if(H===")"){if(V===0)return!1;V-=1}else if(H===";"||H==="}")return!1;W++,H=this._input.peek(W)}return!1},N.prototype.print_string=function(V){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(V)},N.prototype.preserveSingleSpace=function(V){V&&(this._output.space_before_token=!0)},N.prototype.indent=function(){this._indentLevel++},N.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},N.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var V=this._source_text,W=this._options.eol;W==="auto"&&(W=`
|
|
|
`,V&&k.test(V||"")&&(W=V.match(k)[0])),V=V.replace(R,`
|
|
|
`);var H=V.match(/^[\t ]*/)[0];this._output=new y(this._options,H),this._input=new _(V),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var te=0,ie=!1,oe=!1,J=!1,Q=!1,K=!1,se=this._ch,ee=!1,X,le,z;X=this._input.read(I),le=X!=="",z=se,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),se=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var $=this._input.read(M),ae=S.get_directives($);ae&&ae.ignore==="start"&&($+=S.readIgnored(this._input)),this.print_string($),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(B)),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),te===0&&_e.indexOf(":")!==-1&&(oe=!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 Ie=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Ie.match(/[ :]$/)&&(Ie=this.eatString(": ").replace(/\s+$/,""),this.print_string(Ie),this._output.space_before_token=!0),te===0&&Ie.indexOf(":")!==-1?(oe=!0,this.indent()):Ie in this.NESTED_AT_RULE?(this._nestedLevel+=1,Ie in this.CONDITIONAL_GROUP_RULE&&(J=!0)):te===0&&!oe&&(Q=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(le),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")oe&&(oe=!1,this.outdent()),Q=!1,J?(J=!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),oe&&(this.outdent(),oe=!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 ke=0;ke<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ke++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ke])){ee=!0;break}(ie||J)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!Q&&te===0?(this.print_string(":"),oe||(oe=!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 We=z==='"'||z==="'";this.preserveSingleSpace(We||le),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ee=!1,te===0?(oe&&(this.outdent(),oe=!1),Q=!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(),te++,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(")")),te&&(te--,this.outdent()));else{var je=!1;this._input.lookBack("with")&&(je=!0),this.preserveSingleSpace(le||je),this.print_string(this._ch),oe&&z==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),K=!0):(this.eatWhitespace(),te++,this.indent())}else if(this._ch===")")te&&(te--,this.outdent()),K&&this._input.peek()===";"&&this._options.selector_separator_newline&&(K=!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&&(!oe||K)&&te===0&&!Q?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!oe&&te===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&&A.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("="),A.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 Mt=z==='"'||z==="'";this.preserveSingleSpace(Mt||le),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&ee&&this._output.add_new_line()}var yt=this._output.get_code(W);return yt},u.exports.Beautifier=N},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 k=0;k<S.length;k++)S[k]!=="expand"?this.brace_style="collapse":this.brace_style=S[k]}y.prototype=new p,u.exports.Options=y}],f={};function o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(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 k=this.__items.length-1;k>=0;k--)if(this.__items[k].match(S))return!0;return!1},y.prototype.set_indent=function(S,k){this.is_empty()&&(this.__indent_count=S||0,this.__alignment_count=k||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 k=S.lastIndexOf(`
|
|
|
`);k!==-1?this.__character_count=S.length-k: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,k){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)),k=k||"",S.indent_level>0&&(k=new Array(S.indent_level+1).join(this.__indent_string)),this.__base_string=k,this.__base_string_length=k.length}_.prototype.get_indent_size=function(S,k){var R=this.__base_string_length;return k=k||0,S<0&&(R=0),R+=S*this.__indent_size,R+=k,R},_.prototype.get_indent_string=function(S,k){var R=this.__base_string;return k=k||0,S<0&&(S=0,R=""),k+=S*this.__indent_size,this.__ensure_cache(k),R+=this.__cache[k],R},_.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},_.prototype.__add_column=function(){var S=this.__cache.length,k=0,R="";this.__indent_size&&S>=this.__indent_size&&(k=Math.floor(S/this.__indent_size),S-=k*this.__indent_size,R=new Array(k+1).join(this.__indent_string)),S&&(R+=new Array(S+1).join(" ")),this.__cache.push(R)};function b(S,k){this.__indent_cache=new _(S,k),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,k){return this.__indent_cache.get_indent_string(S,k)},b.prototype.get_indent_size=function(S,k){return this.__indent_cache.get_indent_size(S,k)},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 k=this.current_line.pop();k&&(k[k.length-1]===`
|
|
|
`&&(k=k.replace(/\n+$/g,"")),this.current_line.push(k)),this._end_with_newline&&this.__add_outputline();var R=this.__lines.join(`
|
|
|
`);return S!==`
|
|
|
`&&(R=R.replace(/[\n]/g,S)),R},b.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},b.prototype.set_indent=function(S,k){return S=S||0,k=k||0,this.next_line.set_indent(S,k),this.__lines.length>1?(this.current_line.set_indent(S,k),!0):(this.current_line.set_indent(),!1)},b.prototype.add_raw_token=function(S){for(var k=0;k<S.newlines;k++)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 k=this.__lines.length;S<k;)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,k){for(var R=this.__lines.length-2;R>=0;){var A=this.__lines[R];if(A.is_empty())break;if(A.item(0).indexOf(S)!==0&&A.item(-1)!==k){this.__lines.splice(R+1,0,new y(this)),this.previous_line=this.__lines[this.__lines.length-2];break}R--}},p.exports.Output=b},function(p){function y(_,b,S,k){this.type=_,this.text=b,this.comments_before=null,this.newlines=S||0,this.whitespace_before=k||"",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,k){this.raw_options=_(S,k),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,k){var R=this.raw_options[S],A=k||[];return typeof R=="object"?R!==null&&typeof R.concat=="function"&&(A=R.concat()):typeof R=="string"&&(A=R.split(/[^a-zA-Z0-9_\/\-]+/)),A},y.prototype._get_boolean=function(S,k){var R=this.raw_options[S],A=R===void 0?!!k:!!R;return A},y.prototype._get_characters=function(S,k){var R=this.raw_options[S],A=k||"";return typeof R=="string"&&(A=R.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),A},y.prototype._get_number=function(S,k){var R=this.raw_options[S];k=parseInt(k,10),isNaN(k)&&(k=0);var A=parseInt(R,10);return isNaN(A)&&(A=k),A},y.prototype._get_selection=function(S,k,R){var A=this._get_selection_list(S,k,R);if(A.length!==1)throw new Error("Invalid Option Value: The option '"+S+`' can only be one of the following values:
|
|
|
`+k+`
|
|
|
You passed in: '`+this.raw_options[S]+"'");return A[0]},y.prototype._get_selection_list=function(S,k,R){if(!k||k.length===0)throw new Error("Selection list cannot be empty.");if(R=R||[k[0]],!this._is_valid_selection(R,k))throw new Error("Invalid Default Value!");var A=this._get_array(S,R);if(!this._is_valid_selection(A,k))throw new Error("Invalid Option Value: The option '"+S+`' can contain only the following values:
|
|
|
`+k+`
|
|
|
You passed in: '`+this.raw_options[S]+"'");return A},y.prototype._is_valid_selection=function(S,k){return S.length&&k.length&&!S.some(function(R){return k.indexOf(R)===-1})};function _(S,k){var R={};S=b(S);var A;for(A in S)A!==k&&(R[A]=S[A]);if(k&&S[k])for(A in S[k])R[A]=S[k][A];return R}function b(S){var k={},R;for(R in S){var A=R.replace(/-/g,"_");k[A]=S[R]}return k}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 k=b.exec(this.__input);return k&&!(y&&b.sticky)&&k.index!==S&&(k=null),k},_.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 k=this.peek(S);return b.lastIndex=0,k!==null&&b.test(k)},_.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,k){var R="",A;return b&&(A=this.match(b),A&&(R+=A[0])),S&&(A||!b)&&(R+=this.readUntil(S,k)),R},_.prototype.readUntil=function(b,S){var k="",R=this.__position;b.lastIndex=this.__position;var A=b.exec(this.__input);return A?(R=A.index,S&&(R+=A[0].length)):R=this.__input_length,k=this.__input.substring(this.__position,R),this.__position=R,k},_.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},_.prototype.get_regexp=function(b,S){var k=null,R="g";return S&&y&&(R="y"),typeof b=="string"&&b!==""?k=new RegExp(b,R):b&&(k=new RegExp(b.source,R)),k},_.prototype.get_literal_regexp=function(b){return RegExp(b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},_.prototype.peekUntilAfter=function(b){var S=this.__position,k=this.readUntilAfter(b);return this.__position=S,k},_.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,k=_(10).TokenStream,R=_(11).WhitespacePattern,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},I=function(M,B){this._input=new b(M),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new R(this._input)};I.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k,this._reset();for(var M,B=new S(A.START,""),N=null,V=[],W=new k;B.type!==A.EOF;){for(M=this._get_next_token(B,N);this._is_comment(M);)W.add(M),M=this._get_next_token(B,N);W.isEmpty()||(M.comments_before=W,W=new k),M.parent=N,this._is_opening(M)?(V.push(N),N=M):N&&this._is_closing(M,N)&&(M.opened=N,N.closed=M,N=V.pop(),M.parent=N),M.previous=B,B.next=M,this.__tokens.add(M),B=M}return this.__tokens},I.prototype._is_first_token=function(){return this.__tokens.isEmpty()},I.prototype._reset=function(){},I.prototype._get_next_token=function(M,B){this._readWhitespace();var N=this._input.read(/.+/g);return N?this._create_token(A.RAW,N):this._create_token(A.EOF,"")},I.prototype._is_comment=function(M){return!1},I.prototype._is_opening=function(M){return!1},I.prototype._is_closing=function(M,B){return!1},I.prototype._create_token=function(M,B){var N=new S(M,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return N},I.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=I,p.exports.TOKEN=A},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(k,R){b.call(this,k,R),R?this._line_regexp=this._input.get_regexp(R._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}S.prototype=new b,S.prototype.__set_whitespace_patterns=function(k,R){k+="\\t ",R+="\\n\\r",this._match_pattern=this._input.get_regexp("["+k+R+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+R+"]")},S.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var k=this._input.read(this._match_pattern);if(k===" ")this.whitespace_before_token=" ";else if(k){var R=this.__split(this._newline_regexp,k);this.newline_count=R.length-1,this.whitespace_before_token=R[this.newline_count]}return k},S.prototype.matching=function(k,R){var A=this._create();return A.__set_whitespace_patterns(k,R),A._update(),A},S.prototype._create=function(){return new S(this._input,this)},S.prototype.__split=function(k,R){k.lastIndex=0;for(var A=0,I=[],M=k.exec(R);M;)I.push(R.substring(A,M.index)),A=M.index+M[0].length,M=k.exec(R);return A<R.length?I.push(R.substring(A,R.length)):I.push(""),I},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 k(R,A){b.call(this,R,A),this.__template_pattern=null,this._disabled=Object.assign({},S),this._excluded=Object.assign({},S),A&&(this.__template_pattern=this._input.get_regexp(A.__template_pattern),this._excluded=Object.assign(this._excluded,A._excluded),this._disabled=Object.assign(this._disabled,A._disabled));var I=new b(R);this.__patterns={handlebars_comment:I.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:I.starting_with(/{{{/).until_after(/}}}/),handlebars:I.starting_with(/{{/).until_after(/}}/),php:I.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:I.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:I.starting_with(/{%/).until_after(/%}/),django_value:I.starting_with(/{{/).until_after(/}}/),django_comment:I.starting_with(/{#/).until_after(/#}/),smarty:I.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:I.starting_with(/{\*/).until_after(/\*}/),smarty_literal:I.starting_with(/{literal}/).until_after(/{\/literal}/)}}k.prototype=new b,k.prototype._create=function(){return new k(this._input,this)},k.prototype._update=function(){this.__set_templated_pattern()},k.prototype.disable=function(R){var A=this._create();return A._disabled[R]=!0,A._update(),A},k.prototype.read_options=function(R){var A=this._create();for(var I in S)A._disabled[I]=R.templating.indexOf(I)===-1;return A._update(),A},k.prototype.exclude=function(R){var A=this._create();return A._excluded[R]=!0,A._update(),A},k.prototype.read=function(){var R="";this._match_pattern?R=this._input.read(this._starting_pattern):R=this._input.read(this._starting_pattern,this.__template_pattern);for(var A=this._read_template();A;)this._match_pattern?A+=this._input.read(this._match_pattern):A+=this._input.readUntil(this.__template_pattern),R+=A,A=this._read_template();return this._until_after&&(R+=this._input.readUntilAfter(this._until_pattern)),R},k.prototype.__set_templated_pattern=function(){var R=[];this._disabled.php||R.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||R.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||R.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||R.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(R.push(this.__patterns.django._starting_pattern.source),R.push(this.__patterns.django_value._starting_pattern.source),R.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||R.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&R.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+R.join("|")+")")},k.prototype._read_template=function(){var R="",A=this._input.peek();if(A==="<"){var I=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&I==="?"&&(R=R||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&I==="%"&&(R=R||this.__patterns.erb.read())}else A==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(R=R||this.__patterns.handlebars_comment.read(),R=R||this.__patterns.handlebars_unescaped.read(),R=R||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(R=R||this.__patterns.django_value.read()),this._excluded.django||(R=R||this.__patterns.django_comment.read(),R=R||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(R=R||this.__patterns.smarty_comment.read(),R=R||this.__patterns.smarty_literal.read(),R=R||this.__patterns.smarty.read()));return R},p.exports.TemplatablePattern=k},,,,function(p,y,_){var b=_(19).Beautifier,S=_(20).Options;function k(R,A,I,M){var B=new b(R,A,I,M);return B.beautify()}p.exports=k,p.exports.defaultOptions=function(){return new S}},function(p,y,_){var b=_(20).Options,S=_(2).Output,k=_(21).Tokenizer,R=_(21).TOKEN,A=/\r\n|[\r\n]/,I=/\r\n|[\r\n]/g,M=function(Q,K){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=Q.max_preserve_newlines,this.preserve_newlines=Q.preserve_newlines,this._output=new S(Q,K)};M.prototype.current_line_has_match=function(Q){return this._output.current_line.has_match(Q)},M.prototype.set_space_before_token=function(Q,K){this._output.space_before_token=Q,this._output.non_breaking_space=K},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(Q){this._output.add_raw_token(Q)},M.prototype.print_preserved_newlines=function(Q){var K=0;Q.type!==R.TEXT&&Q.previous.type!==R.TEXT&&(K=Q.newlines?1:0),this.preserve_newlines&&(K=Q.newlines<this.max_preserve_newlines+1?Q.newlines:this.max_preserve_newlines+1);for(var se=0;se<K;se++)this.print_newline(se>0);return K!==0},M.prototype.traverse_whitespace=function(Q){return Q.whitespace_before||Q.newlines?(this.print_preserved_newlines(Q)||(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(Q){this._output.add_new_line(Q)},M.prototype.print_token=function(Q){Q.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(Q.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(Q){return Q=this.indent_level+(Q||0),Q<1?"":this._output.get_indent_string(Q)};var B=function(Q){for(var K=null,se=Q.next;se.type!==R.EOF&&Q.closed!==se;){if(se.type===R.ATTRIBUTE&&se.text==="type"){se.next&&se.next.type===R.EQUALS&&se.next.next&&se.next.next.type===R.VALUE&&(K=se.next.next.text);break}se=se.next}return K},N=function(Q,K){var se=null,ee=null;return K.closed?(Q==="script"?se="text/javascript":Q==="style"&&(se="text/css"),se=B(K)||se,se.search("text/css")>-1?ee="css":se.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ee="javascript":se.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ee="html":se.search(/test\/null/)>-1&&(ee="null"),ee):null};function V(Q,K){return K.indexOf(Q)!==-1}function W(Q,K,se){this.parent=Q||null,this.tag=K?K.tag_name:"",this.indent_level=se||0,this.parser_token=K||null}function H(Q){this._printer=Q,this._current_frame=null}H.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},H.prototype.record_tag=function(Q){var K=new W(this._current_frame,Q,this._printer.indent_level);this._current_frame=K},H.prototype._try_pop_frame=function(Q){var K=null;return Q&&(K=Q.parser_token,this._printer.indent_level=Q.indent_level,this._current_frame=Q.parent),K},H.prototype._get_frame=function(Q,K){for(var se=this._current_frame;se&&Q.indexOf(se.tag)===-1;){if(K&&K.indexOf(se.tag)!==-1){se=null;break}se=se.parent}return se},H.prototype.try_pop=function(Q,K){var se=this._get_frame([Q],K);return this._try_pop_frame(se)},H.prototype.indent_to_tag=function(Q){var K=this._get_frame(Q);K&&(this._printer.indent_level=K.indent_level)};function te(Q,K,se,ee){this._source_text=Q||"",K=K||{},this._js_beautify=se,this._css_beautify=ee,this._tag_stack=null;var X=new b(K,"html");this._options=X,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"}te.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var Q=this._source_text,K=this._options.eol;this._options.eol==="auto"&&(K=`
|
|
|
`,Q&&A.test(Q)&&(K=Q.match(A)[0])),Q=Q.replace(I,`
|
|
|
`);var se=Q.match(/^[\t ]*/)[0],ee={text:"",type:""},X=new ie(this._options),le=new M(this._options,se),z=new k(Q,this._options).tokenize();this._tag_stack=new H(le);for(var $=null,ae=z.next();ae.type!==R.EOF;)ae.type===R.TAG_OPEN||ae.type===R.COMMENT?($=this._handle_tag_open(le,ae,X,ee,z),X=$):ae.type===R.ATTRIBUTE||ae.type===R.EQUALS||ae.type===R.VALUE||ae.type===R.TEXT&&!X.tag_complete?$=this._handle_inside_tag(le,ae,X,ee):ae.type===R.TAG_CLOSE?$=this._handle_tag_close(le,ae,X):ae.type===R.TEXT?$=this._handle_text(le,ae,X):ae.type===R.CONTROL_FLOW_OPEN?$=this._handle_control_flow_open(le,ae):ae.type===R.CONTROL_FLOW_CLOSE?$=this._handle_control_flow_close(le,ae):le.add_raw_token(ae),ee=$,ae=z.next();var _e=le._output.get_code(K);return _e},te.prototype._handle_control_flow_open=function(Q,K){var se={text:K.text,type:K.type};return Q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),K.newlines?Q.print_preserved_newlines(K):Q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),Q.print_token(K),Q.indent(),se},te.prototype._handle_control_flow_close=function(Q,K){var se={text:K.text,type:K.type};return Q.deindent(),K.newlines?Q.print_preserved_newlines(K):Q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),Q.print_token(K),se},te.prototype._handle_tag_close=function(Q,K,se){var ee={text:K.text,type:K.type};return Q.alignment_size=0,se.tag_complete=!0,Q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),se.is_unformatted?Q.add_raw_token(K):(se.tag_start_char==="<"&&(Q.set_space_before_token(K.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&se.has_wrapped_attrs&&Q.print_newline(!1)),Q.print_token(K)),se.indent_content&&!(se.is_unformatted||se.is_content_unformatted)&&(Q.indent(),se.indent_content=!1),!se.is_inline_element&&!(se.is_unformatted||se.is_content_unformatted)&&Q.set_wrap_point(),ee},te.prototype._handle_inside_tag=function(Q,K,se,ee){var X=se.has_wrapped_attrs,le={text:K.text,type:K.type};return Q.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),se.is_unformatted?Q.add_raw_token(K):se.tag_start_char==="{"&&K.type===R.TEXT?Q.print_preserved_newlines(K)?(K.newlines=0,Q.add_raw_token(K)):Q.print_token(K):(K.type===R.ATTRIBUTE?Q.set_space_before_token(!0):(K.type===R.EQUALS||K.type===R.VALUE&&K.previous.type===R.EQUALS)&&Q.set_space_before_token(!1),K.type===R.ATTRIBUTE&&se.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(Q.traverse_whitespace(K),X=X||K.newlines!==0),this._is_wrap_attributes_force&&se.attr_count>=this._options.wrap_attributes_min_attrs&&(ee.type!==R.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(Q.print_newline(!1),X=!0)),Q.print_token(K),X=X||Q.previous_token_wrapped(),se.has_wrapped_attrs=X),le},te.prototype._handle_text=function(Q,K,se){var ee={text:K.text,type:"TK_CONTENT"};return se.custom_beautifier_name?this._print_custom_beatifier_text(Q,K,se):se.is_unformatted||se.is_content_unformatted?Q.add_raw_token(K):(Q.traverse_whitespace(K),Q.print_token(K)),ee},te.prototype._print_custom_beatifier_text=function(Q,K,se){var ee=this;if(K.text!==""){var X=K.text,le,z=1,$="",ae="";se.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?le=this._js_beautify:se.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?le=this._css_beautify:se.custom_beautifier_name==="html"&&(le=function(Mt,yt){var Pt=new te(Mt,yt,ee._js_beautify,ee._css_beautify);return Pt.beautify()}),this._options.indent_scripts==="keep"?z=0:this._options.indent_scripts==="separate"&&(z=-Q.indent_level);var _e=Q.get_full_indent(z);if(X=X.replace(/\n[ \t]*$/,""),se.custom_beautifier_name!=="html"&&X[0]==="<"&&X.match(/^(<!--|<!\[CDATA\[)/)){var Ie=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(X);if(!Ie){Q.add_raw_token(K);return}$=_e+Ie[1]+`
|
|
|
`,X=Ie[4],Ie[5]&&(ae=_e+Ie[5]),X=X.replace(/\n[ \t]*$/,""),(Ie[2]||Ie[3].indexOf(`
|
|
|
`)!==-1)&&(Ie=Ie[3].match(/[ \t]+$/),Ie&&(K.whitespace_before=Ie[0]))}if(X)if(le){var ke=function(){this.eol=`
|
|
|
`};ke.prototype=this._options.raw_options;var We=new ke;X=le(_e+X,We)}else{var je=K.whitespace_before;je&&(X=X.replace(new RegExp(`
|
|
|
(`+je+")?","g"),`
|
|
|
`)),X=_e+X.replace(/\n/g,`
|
|
|
`+_e)}$&&(X?X=$+X+`
|
|
|
`+ae:X=$+ae),Q.print_newline(!1),X&&(K.text=X,K.whitespace_before="",K.newlines=0,Q.add_raw_token(K),Q.print_newline(!0))}},te.prototype._handle_tag_open=function(Q,K,se,ee,X){var le=this._get_tag_open_token(K);if((se.is_unformatted||se.is_content_unformatted)&&!se.is_empty_element&&K.type===R.TAG_OPEN&&!le.is_start_tag?(Q.add_raw_token(K),le.start_tag_token=this._tag_stack.try_pop(le.tag_name)):(Q.traverse_whitespace(K),this._set_tag_position(Q,K,le,se,ee),le.is_inline_element||Q.set_wrap_point(),Q.print_token(K)),le.is_start_tag&&this._is_wrap_attributes_force){var z=0,$;do $=X.peek(z),$.type===R.ATTRIBUTE&&(le.attr_count+=1),z+=1;while($.type!==R.EOF&&$.type!==R.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(le.alignment_size=K.text.length+1),!le.tag_complete&&!le.is_unformatted&&(Q.alignment_size=le.alignment_size),le};var ie=function(Q,K,se){if(this.parent=K||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="",!se)this.tag_complete=!0;else{var ee;this.tag_start_char=se.text[0],this.text=se.text,this.tag_start_char==="<"?(ee=se.text.match(/^<([^\s>]*)/),this.tag_check=ee?ee[1]:""):(ee=se.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ee?ee[1]:"",(se.text.startsWith("{{#>")||se.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&se.next!==null?this.tag_check=se.next.text.split(" ")[0]:this.tag_check=se.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),se.type===R.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||se.closed&&se.closed.text==="/>";var X=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(X=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!Q.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(X)))}};te.prototype._get_tag_open_token=function(Q){var K=new ie(this._options,this._tag_stack.get_parser_token(),Q);return K.alignment_size=this._options.wrap_attributes_indent_size,K.is_end_tag=K.is_end_tag||V(K.tag_check,this._options.void_elements),K.is_empty_element=K.tag_complete||K.is_start_tag&&K.is_end_tag,K.is_unformatted=!K.tag_complete&&V(K.tag_check,this._options.unformatted),K.is_content_unformatted=!K.is_empty_element&&V(K.tag_check,this._options.content_unformatted),K.is_inline_element=V(K.tag_name,this._options.inline)||this._options.inline_custom_elements&&K.tag_name.includes("-")||K.tag_start_char==="{",K},te.prototype._set_tag_position=function(Q,K,se,ee,X){if(se.is_empty_element||(se.is_end_tag?se.start_tag_token=this._tag_stack.try_pop(se.tag_name):(this._do_optional_end_element(se)&&(se.is_inline_element||Q.print_newline(!1)),this._tag_stack.record_tag(se),(se.tag_name==="script"||se.tag_name==="style")&&!(se.is_unformatted||se.is_content_unformatted)&&(se.custom_beautifier_name=N(se.tag_check,K)))),V(se.tag_check,this._options.extra_liners)&&(Q.print_newline(!1),Q._output.just_added_blankline()||Q.print_newline(!0)),se.is_empty_element){if(se.tag_start_char==="{"&&se.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),se.indent_content=!0;var le=Q.current_line_has_match(/{{#if/);le||Q.print_newline(!1)}se.tag_name==="!--"&&X.type===R.TAG_CLOSE&&ee.is_end_tag&&se.text.indexOf(`
|
|
|
`)===-1||(se.is_inline_element||se.is_unformatted||Q.print_newline(!1),this._calcluate_parent_multiline(Q,se))}else if(se.is_end_tag){var z=!1;z=se.start_tag_token&&se.start_tag_token.multiline_content,z=z||!se.is_inline_element&&!(ee.is_inline_element||ee.is_unformatted)&&!(X.type===R.TAG_CLOSE&&se.start_tag_token===ee)&&X.type!=="TK_CONTENT",(se.is_content_unformatted||se.is_unformatted)&&(z=!1),z&&Q.print_newline(!1)}else se.indent_content=!se.custom_beautifier_name,se.tag_start_char==="<"&&(se.tag_name==="html"?se.indent_content=this._options.indent_inner_html:se.tag_name==="head"?se.indent_content=this._options.indent_head_inner_html:se.tag_name==="body"&&(se.indent_content=this._options.indent_body_inner_html)),!(se.is_inline_element||se.is_unformatted)&&(X.type!=="TK_CONTENT"||se.is_content_unformatted)&&Q.print_newline(!1),this._calcluate_parent_multiline(Q,se)},te.prototype._calcluate_parent_multiline=function(Q,K){K.parent&&Q._output.just_added_newline()&&!((K.is_inline_element||K.is_unformatted)&&K.parent.is_inline_element)&&(K.parent.multiline_content=!0)};var oe=["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"],J=["a","audio","del","ins","map","noscript","video"];te.prototype._do_optional_end_element=function(Q){var K=null;if(!(Q.is_empty_element||!Q.is_start_tag||!Q.parent)){if(Q.tag_name==="body")K=K||this._tag_stack.try_pop("head");else if(Q.tag_name==="li")K=K||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(Q.tag_name==="dd"||Q.tag_name==="dt")K=K||this._tag_stack.try_pop("dt",["dl"]),K=K||this._tag_stack.try_pop("dd",["dl"]);else if(Q.parent.tag_name==="p"&&oe.indexOf(Q.tag_name)!==-1){var se=Q.parent.parent;(!se||J.indexOf(se.tag_name)===-1)&&(K=K||this._tag_stack.try_pop("p"))}else Q.tag_name==="rp"||Q.tag_name==="rt"?(K=K||this._tag_stack.try_pop("rt",["ruby","rtc"]),K=K||this._tag_stack.try_pop("rp",["ruby","rtc"])):Q.tag_name==="optgroup"?K=K||this._tag_stack.try_pop("optgroup",["select"]):Q.tag_name==="option"?K=K||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):Q.tag_name==="colgroup"?K=K||this._tag_stack.try_pop("caption",["table"]):Q.tag_name==="thead"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"])):Q.tag_name==="tbody"||Q.tag_name==="tfoot"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"]),K=K||this._tag_stack.try_pop("thead",["table"]),K=K||this._tag_stack.try_pop("tbody",["table"])):Q.tag_name==="tr"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"]),K=K||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(Q.tag_name==="th"||Q.tag_name==="td")&&(K=K||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),K=K||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return Q.parent=this._tag_stack.get_parser_token(),K}},p.exports.Beautifier=te},function(p,y,_){var b=_(6).Options;function S(k){b.call(this,k,"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,k=_(13).Directives,R=_(14).TemplatablePattern,A=_(12).Pattern,I={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 k(/<\!--/,/-->/),B=function(N,V){b.call(this,N,V),this._current_tag_name="";var W=new R(this._input).read_options(this._options),H=new A(this._input);if(this.__patterns={word:W.until(/[\n\r\t <]/),word_control_flow_close_excluded:W.until(/[\n\r\t <}]/),single_quote:W.until_after(/'/),double_quote:W.until_after(/"/),attribute:W.until(/[\n\r\t =>]|\/>/),element_name:W.until(/[\n\r\t >\/]/),angular_control_flow_start:H.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:H.starting_with(/{{!--/).until_after(/--}}/),handlebars:H.starting_with(/{{/).until_after(/}}/),handlebars_open:H.until(/[\n\r\t }]/),handlebars_raw_close:H.until(/}}/),comment:H.starting_with(/<!--/).until_after(/-->/),cdata:H.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:H.starting_with(/<!\[/).until_after(/]>/),processing:H.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 te=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=H.matching(te).until_after(te)}};B.prototype=new b,B.prototype._is_comment=function(N){return!1},B.prototype._is_opening=function(N){return N.type===I.TAG_OPEN||N.type===I.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(N,V){return N.type===I.TAG_CLOSE&&V&&((N.text===">"||N.text==="/>")&&V.text[0]==="<"||N.text==="}}"&&V.text[0]==="{"&&V.text[1]==="{")||N.type===I.CONTROL_FLOW_CLOSE&&N.text==="}"&&V.text.endsWith("{")},B.prototype._reset=function(){this._current_tag_name=""},B.prototype._get_next_token=function(N,V){var W=null;this._readWhitespace();var H=this._input.peek();return H===null?this._create_token(I.EOF,""):(W=W||this._read_open_handlebars(H,V),W=W||this._read_attribute(H,N,V),W=W||this._read_close(H,V),W=W||this._read_script_and_style(H,N),W=W||this._read_control_flows(H,V),W=W||this._read_raw_content(H,N,V),W=W||this._read_content_word(H,V),W=W||this._read_comment_or_cdata(H),W=W||this._read_processing(H),W=W||this._read_open(H,V),W=W||this._create_token(I.UNKNOWN,this._input.next()),W)},B.prototype._read_comment_or_cdata=function(N){var V=null,W=null,H=null;if(N==="<"){var te=this._input.peek(1);te==="!"&&(W=this.__patterns.comment.read(),W?(H=M.get_directives(W),H&&H.ignore==="start"&&(W+=M.readIgnored(this._input))):W=this.__patterns.cdata.read()),W&&(V=this._create_token(I.COMMENT,W),V.directives=H)}return V},B.prototype._read_processing=function(N){var V=null,W=null,H=null;if(N==="<"){var te=this._input.peek(1);(te==="!"||te==="?")&&(W=this.__patterns.conditional_comment.read(),W=W||this.__patterns.processing.read()),W&&(V=this._create_token(I.COMMENT,W),V.directives=H)}return V},B.prototype._read_open=function(N,V){var W=null,H=null;return(!V||V.type===I.CONTROL_FLOW_OPEN)&&N==="<"&&(W=this._input.next(),this._input.peek()==="/"&&(W+=this._input.next()),W+=this.__patterns.element_name.read(),H=this._create_token(I.TAG_OPEN,W)),H},B.prototype._read_open_handlebars=function(N,V){var W=null,H=null;return(!V||V.type===I.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&N==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(W=this.__patterns.handlebars_comment.read(),W=W||this.__patterns.handlebars.read(),H=this._create_token(I.COMMENT,W)):(W=this.__patterns.handlebars_open.read(),H=this._create_token(I.TAG_OPEN,W))),H},B.prototype._read_control_flows=function(N,V){var W="",H=null;if(!this._options.templating.includes("angular"))return H;if(N==="@"){if(W=this.__patterns.angular_control_flow_start.read(),W==="")return H;for(var te=W.endsWith("(")?1:0,ie=0;!(W.endsWith("{")&&te===ie);){var oe=this._input.next();if(oe===null)break;oe==="("?te++:oe===")"&&ie++,W+=oe}H=this._create_token(I.CONTROL_FLOW_OPEN,W)}else N==="}"&&V&&V.type===I.CONTROL_FLOW_OPEN&&(W=this._input.next(),H=this._create_token(I.CONTROL_FLOW_CLOSE,W));return H},B.prototype._read_close=function(N,V){var W=null,H=null;return V&&V.type===I.TAG_OPEN&&(V.text[0]==="<"&&(N===">"||N==="/"&&this._input.peek(1)===">")?(W=this._input.next(),N==="/"&&(W+=this._input.next()),H=this._create_token(I.TAG_CLOSE,W)):V.text[0]==="{"&&N==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),H=this._create_token(I.TAG_CLOSE,"}}"))),H},B.prototype._read_attribute=function(N,V,W){var H=null,te="";if(W&&W.text[0]==="<")if(N==="=")H=this._create_token(I.EQUALS,this._input.next());else if(N==='"'||N==="'"){var ie=this._input.next();N==='"'?ie+=this.__patterns.double_quote.read():ie+=this.__patterns.single_quote.read(),H=this._create_token(I.VALUE,ie)}else te=this.__patterns.attribute.read(),te&&(V.type===I.EQUALS?H=this._create_token(I.VALUE,te):H=this._create_token(I.ATTRIBUTE,te));return H},B.prototype._is_content_unformatted=function(N){return this._options.void_elements.indexOf(N)===-1&&(this._options.content_unformatted.indexOf(N)!==-1||this._options.unformatted.indexOf(N)!==-1)},B.prototype._read_raw_content=function(N,V,W){var H="";if(W&&W.text[0]==="{")H=this.__patterns.handlebars_raw_close.read();else if(V.type===I.TAG_CLOSE&&V.opened.text[0]==="<"&&V.text[0]!=="/"){var te=V.opened.text.substr(1).toLowerCase();this._is_content_unformatted(te)&&(H=this._input.readUntil(new RegExp("</"+te+"[\\n\\r\\t ]*?>","ig")))}return H?this._create_token(I.TEXT,H):null},B.prototype._read_script_and_style=function(N,V){if(V.type===I.TAG_CLOSE&&V.opened.text[0]==="<"&&V.text[0]!=="/"){var W=V.opened.text.substr(1).toLowerCase();if(W==="script"||W==="style"){var H=this._read_comment_or_cdata(N);if(H)return H.type=I.TEXT,H;var te=this._input.readUntil(new RegExp("</"+W+"[\\n\\r\\t ]*?>","ig"));if(te)return this._create_token(I.TEXT,te)}}return null},B.prototype._read_content_word=function(N,V){var W="";return this._options.unformatted_content_delimiter&&N===this._options.unformatted_content_delimiter[0]&&(W=this.__patterns.unformatted_content_delimiter.read()),W||(W=V&&V.type===I.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),W?this._create_token(I.TEXT,W):null},p.exports.Tokenizer=B,p.exports.TOKEN=I}],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,o})()},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 k=new p(b,S);return k.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,k=x(7).line_starters,R=x(7).positionable_operators,A=x(7).TOKEN;function I($,ae){return ae.indexOf($)!==-1}function M($){return $.replace(/^\s+/g,"")}function B($){for(var ae={},_e=0;_e<$.length;_e++)ae[$[_e].replace(/-/g,"_")]=$[_e];return ae}function N($,ae){return $&&$.type===A.RESERVED&&$.text===ae}function V($,ae){return $&&$.type===A.RESERVED&&I($.text,ae)}var W=["case","return","do","if","throw","else","await","break","continue","async"],H=["before-newline","after-newline","preserve-newline"],te=B(H),ie=[te.before_newline,te.preserve_newline],oe={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function J($,ae){ae.multiline_frame||ae.mode===oe.ForInitializer||ae.mode===oe.Conditional||$.remove_indent(ae.start_line_index)}function Q($){$=$.replace(_.allLineBreaks,`
|
|
|
`);for(var ae=[],_e=$.indexOf(`
|
|
|
`);_e!==-1;)ae.push($.substring(0,_e)),$=$.substring(_e+1),_e=$.indexOf(`
|
|
|
`);return $.length&&ae.push($),ae}function K($){return $===oe.ArrayLiteral}function se($){return I($,[oe.Expression,oe.ForInitializer,oe.Conditional])}function ee($,ae){for(var _e=0;_e<$.length;_e++){var Ie=$[_e].trim();if(Ie.charAt(0)!==ae)return!1}return!0}function X($,ae){for(var _e=0,Ie=$.length,ke;_e<Ie;_e++)if(ke=$[_e],ke&&ke.indexOf(ae)!==0)return!1;return!0}function le($,ae){ae=ae||{},this._source_text=$||"",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(ae)}le.prototype.create_flags=function($,ae){var _e=0;$&&(_e=$.indentation_level,!this._output.just_added_newline()&&$.line_indent_level>_e&&(_e=$.line_indent_level));var Ie={mode:ae,parent:$,last_token:$?$.last_token:new y(A.START_BLOCK,""),last_word:$?$.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:$?$.line_indent_level:_e,start_line_index:this._output.get_line_number(),ternary_depth:0};return Ie},le.prototype._reset=function($){var ae=$.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,ae),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(oe.BlockStatement);var _e=new S($,this._options);return this._tokens=_e.tokenize(),$},le.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $,ae=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
|
|
|
`,ae&&_.lineBreak.test(ae||"")&&(_e=ae.match(_.lineBreak)[0]));for(var Ie=this._tokens.next();Ie;)this.handle_token(Ie),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Ie,Ie=this._tokens.next();return $=this._output.get_code(_e),$},le.prototype.handle_token=function($,ae){$.type===A.START_EXPR?this.handle_start_expr($):$.type===A.END_EXPR?this.handle_end_expr($):$.type===A.START_BLOCK?this.handle_start_block($):$.type===A.END_BLOCK?this.handle_end_block($):$.type===A.WORD?this.handle_word($):$.type===A.RESERVED?this.handle_word($):$.type===A.SEMICOLON?this.handle_semicolon($):$.type===A.STRING?this.handle_string($):$.type===A.EQUALS?this.handle_equals($):$.type===A.OPERATOR?this.handle_operator($):$.type===A.COMMA?this.handle_comma($):$.type===A.BLOCK_COMMENT?this.handle_block_comment($,ae):$.type===A.COMMENT?this.handle_comment($,ae):$.type===A.DOT?this.handle_dot($):$.type===A.EOF?this.handle_eof($):$.type===A.UNKNOWN?this.handle_unknown($,ae):this.handle_unknown($,ae)},le.prototype.handle_whitespace_and_comments=function($,ae){var _e=$.newlines,Ie=this._options.keep_array_indentation&&K(this._flags.mode);if($.comments_before)for(var ke=$.comments_before.next();ke;)this.handle_whitespace_and_comments(ke,ae),this.handle_token(ke,ae),ke=$.comments_before.next();if(Ie)for(var We=0;We<_e;We+=1)this.print_newline(We>0,ae);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,ae);for(var je=1;je<_e;je+=1)this.print_newline(!0,ae)}};var z=["async","break","continue","return","throw","yield"];le.prototype.allow_wrap_or_preserved_newline=function($,ae){if(ae=ae===void 0?!1:ae,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&$.newlines||ae,Ie=I(this._flags.last_token.text,R)||I($.text,R);if(Ie){var ke=I(this._flags.last_token.text,R)&&I(this._options.operator_position,ie)||I($.text,R);_e=_e&&ke}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(V(this._flags.last_token,z))return;this._output.set_wrap_point()}}},le.prototype.print_newline=function($,ae){if(!ae&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var _e=this._tokens.peek();this._flags.mode===oe.Statement&&!(this._flags.if_block&&N(_e,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line($)&&(this._flags.multiline_frame=!0)},le.prototype.print_token_line_indentation=function($){this._output.just_added_newline()&&(this._options.keep_array_indentation&&$.newlines&&($.text==="["||K(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push($.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($){if(this._output.raw){this._output.add_raw_token($);return}if(this._options.comma_first&&$.previous&&$.previous.type===A.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var ae=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(ae),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation($),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation($),this._output.non_breaking_space=!0,this._output.add_token($.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($){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,$),this._flags=this.create_flags(this._previous_flags,$),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===oe.Statement&&J(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===oe.ObjectLiteral&&this._flags.mode===oe.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"]))},le.prototype.start_of_statement=function($){var ae=!1;return ae=ae||V(this._flags.last_token,["var","let","const"])&&$.type===A.WORD,ae=ae||N(this._flags.last_token,"do"),ae=ae||!(this._flags.parent.mode===oe.ObjectLiteral&&this._flags.mode===oe.Statement)&&V(this._flags.last_token,z)&&!$.newlines,ae=ae||N(this._flags.last_token,"else")&&!(N($,"if")&&!$.comments_before),ae=ae||this._flags.last_token.type===A.END_EXPR&&(this._previous_flags.mode===oe.ForInitializer||this._previous_flags.mode===oe.Conditional),ae=ae||this._flags.last_token.type===A.WORD&&this._flags.mode===oe.BlockStatement&&!this._flags.in_case&&!($.text==="--"||$.text==="++")&&this._last_last_text!=="function"&&$.type!==A.WORD&&$.type!==A.RESERVED,ae=ae||this._flags.mode===oe.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||V(this._flags.last_token,["get","set"])),ae?(this.set_mode(oe.Statement),this.indent(),this.handle_whitespace_and_comments($,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline($,V($,["do","for","if","while"])),!0):!1},le.prototype.handle_start_expr=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($);var ae=oe.Expression;if($.text==="["){if(this._flags.last_token.type===A.WORD||this._flags.last_token.text===")"){V(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token($),this.set_mode(ae),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}ae=oe.ArrayLiteral,K(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()),I(this._flags.last_token.type,[A.START_EXPR,A.END_EXPR,A.WORD,A.OPERATOR,A.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===A.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,ae=oe.ForInitializer):I(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,ae=oe.Conditional):I(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&$.whitespace_before===""?this._output.space_before_token=!1:(I(this._flags.last_token.text,k)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline($);else if(this._flags.last_token.type===A.WORD){this._output.space_before_token=!1;var _e=this._tokens.peek(-3);if(this._options.space_after_named_function&&_e){var Ie=this._tokens.peek(-4);V(_e,["async","function"])||_e.text==="*"&&V(Ie,["async","function"])?this._output.space_before_token=!0:this._flags.mode===oe.ObjectLiteral?(_e.text==="{"||_e.text===","||_e.text==="*"&&(Ie.text==="{"||Ie.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($);(this._flags.last_token.type===A.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(I(this._last_last_text,["function","yield"])||this._flags.mode===oe.ObjectLiteral&&I(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===A.START_BLOCK?this.print_newline():(this._flags.last_token.type===A.END_EXPR||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===A.COMMA)&&this.allow_wrap_or_preserved_newline($,$.newlines),this.print_token($),this.set_mode(ae),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},le.prototype.handle_end_expr=function($){for(;this._flags.mode===oe.Statement;)this.restore_mode();this.handle_whitespace_and_comments($),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline($,$.text==="]"&&K(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===A.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($),this.restore_mode(),J(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===oe.Conditional&&(this._previous_flags.mode=oe.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},le.prototype.handle_start_block=function($){this.handle_whitespace_and_comments($);var ae=this._tokens.peek(),_e=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===A.END_EXPR?(this.set_mode(oe.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(oe.BlockStatement):_e&&(I(_e.text,[":",","])&&I(ae.type,[A.STRING,A.WORD,A.RESERVED])||I(ae.text,["get","set","..."])&&I(_e.type,[A.WORD,A.RESERVED]))?I(this._last_last_text,["class","interface"])&&!I(_e.text,[":",","])?this.set_mode(oe.BlockStatement):this.set_mode(oe.ObjectLiteral):this._flags.last_token.type===A.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(oe.BlockStatement):I(this._flags.last_token.type,[A.EQUALS,A.START_EXPR,A.COMMA,A.OPERATOR])||V(this._flags.last_token,["return","throw","import","default"])?this.set_mode(oe.ObjectLiteral):this.set_mode(oe.BlockStatement),this._flags.last_token&&V(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Ie=!ae.comments_before&&ae.text==="}",ke=Ie&&this._flags.last_word==="function"&&this._flags.last_token.type===A.END_EXPR;if(this._options.brace_preserve_inline){var We=0,je=null;this._flags.inline_frame=!0;do if(We+=1,je=this._tokens.peek(We-1),je.newlines){this._flags.inline_frame=!1;break}while(je.type!==A.EOF&&!(je.type===A.END_BLOCK&&je.opened===$))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==A.OPERATOR&&(ke||this._flags.last_token.type===A.EQUALS||V(this._flags.last_token,W)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(K(this._previous_flags.mode)&&(this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.COMMA)&&((this._flags.last_token.type===A.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline($),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==A.OPERATOR&&this._flags.last_token.type!==A.START_EXPR&&(I(this._flags.last_token.type,[A.START_BLOCK,A.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token($),this.indent(),!Ie&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},le.prototype.handle_end_block=function($){for(this.handle_whitespace_and_comments($);this._flags.mode===oe.Statement;)this.restore_mode();var ae=this._flags.last_token.type===A.START_BLOCK;this._flags.inline_frame&&!ae?this._output.space_before_token=!0:this._options.brace_style==="expand"?ae||this.print_newline():ae||(K(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($)},le.prototype.handle_word=function($){if($.type===A.RESERVED){if(I($.text,["set","get"])&&this._flags.mode!==oe.ObjectLiteral)$.type=A.WORD;else if($.text==="import"&&I(this._tokens.peek().text,["(","."]))$.type=A.WORD;else if(I($.text,["as","from"])&&!this._flags.import_block)$.type=A.WORD;else if(this._flags.mode===oe.ObjectLiteral){var ae=this._tokens.peek();ae.text===":"&&($.type=A.WORD)}}if(this.start_of_statement($)?V(this._flags.last_token,["var","let","const"])&&$.type===A.WORD&&(this._flags.declaration_statement=!0):$.newlines&&!se(this._flags.mode)&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==A.EQUALS&&(this._options.preserve_newlines||!V(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments($),this.print_newline()):this.handle_whitespace_and_comments($),this._flags.do_block&&!this._flags.do_while)if(N($,"while")){this._output.space_before_token=!0,this.print_token($),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&&N($,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===oe.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&V($,["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($),this._flags.in_case=!0;return}if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR)&&!this.start_of_object_property()&&!(I(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===oe.ObjectLiteral)&&this.allow_wrap_or_preserved_newline($),N($,"function")){(I(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(I(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===A.OPERATOR))&&!this._output.just_added_blankline()&&!$.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD?V(this._flags.last_token,["get","set","new","export"])||V(this._flags.last_token,z)?this._output.space_before_token=!0:N(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===A.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(se(this._flags.mode)||K(this._flags.mode))||this.print_newline(),this.print_token($),this._flags.last_word=$.text;return}var _e="NONE";if(this._flags.last_token.type===A.END_BLOCK?this._previous_flags.inline_frame?_e="SPACE":V($,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines?_e="NEWLINE":(_e="SPACE",this._output.space_before_token=!0):_e="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&this._flags.mode===oe.BlockStatement?_e="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&se(this._flags.mode)?_e="SPACE":this._flags.last_token.type===A.STRING?_e="NEWLINE":this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.last_token.text==="*"&&(I(this._last_last_text,["function","yield"])||this._flags.mode===oe.ObjectLiteral&&I(this._last_last_text,["{",","]))?_e="SPACE":this._flags.last_token.type===A.START_BLOCK?this._flags.inline_frame?_e="SPACE":_e="NEWLINE":this._flags.last_token.type===A.END_EXPR&&(this._output.space_before_token=!0,_e="NEWLINE"),V($,k)&&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"),V($,["else","catch","finally"]))if((!(this._flags.last_token.type===A.END_BLOCK&&this._previous_flags.mode===oe.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Ie=this._output.current_line;Ie.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else _e==="NEWLINE"?V(this._flags.last_token,W)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&V($,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==A.END_EXPR?(this._flags.last_token.type!==A.START_EXPR||!V($,["var","let","const"]))&&this._flags.last_token.text!==":"&&(N($,"if")&&N($.previous,"else")?this._output.space_before_token=!0:this.print_newline()):V($,k)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&K(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():_e==="SPACE"&&(this._output.space_before_token=!0);$.previous&&($.previous.type===A.WORD||$.previous.type===A.RESERVED)&&(this._output.space_before_token=!0),this.print_token($),this._flags.last_word=$.text,$.type===A.RESERVED&&($.text==="do"?this._flags.do_block=!0:$.text==="if"?this._flags.if_block=!0:$.text==="import"?this._flags.import_block=!0:this._flags.import_block&&N($,"from")&&(this._flags.import_block=!1))},le.prototype.handle_semicolon=function($){this.start_of_statement($)?this._output.space_before_token=!1:this.handle_whitespace_and_comments($);for(var ae=this._tokens.peek();this._flags.mode===oe.Statement&&!(this._flags.if_block&&N(ae,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token($)},le.prototype.handle_string=function($){$.text.startsWith("`")&&$.newlines===0&&$.whitespace_before===""&&($.previous.text===")"||this._flags.last_token.type===A.WORD)||(this.start_of_statement($)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments($),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline($):$.text.startsWith("`")&&this._flags.last_token.type===A.END_EXPR&&($.previous.text==="]"||$.previous.text===")")&&$.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token($)},le.prototype.handle_equals=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0},le.prototype.handle_comma=function($){this.handle_whitespace_and_comments($,!0),this.print_token($),this._output.space_before_token=!0,this._flags.declaration_statement?(se(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($)):this._flags.mode===oe.ObjectLiteral||this._flags.mode===oe.Statement&&this._flags.parent.mode===oe.ObjectLiteral?(this._flags.mode===oe.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)},le.prototype.handle_operator=function($){var ae=$.text==="*"&&(V(this._flags.last_token,["function","yield"])||I(this._flags.last_token.type,[A.START_BLOCK,A.COMMA,A.END_BLOCK,A.SEMICOLON])),_e=I($.text,["-","+"])&&(I(this._flags.last_token.type,[A.START_BLOCK,A.START_EXPR,A.EQUALS,A.OPERATOR])||I(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement($)){var Ie=!ae;this.handle_whitespace_and_comments($,Ie)}if($.text==="*"&&this._flags.last_token.type===A.DOT){this.print_token($);return}if($.text==="::"){this.print_token($);return}if(I($.text,["-","+"])&&this.start_of_object_property()){this.print_token($);return}if(this._flags.last_token.type===A.OPERATOR&&I(this._options.operator_position,ie)&&this.allow_wrap_or_preserved_newline($),$.text===":"&&this._flags.in_case){this.print_token($),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==A.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 ke=!0,We=!0,je=!1;if($.text===":"?this._flags.ternary_depth===0?ke=!1:(this._flags.ternary_depth-=1,je=!0):$.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!ae&&this._options.preserve_newlines&&I($.text,R)){var Mt=$.text===":",yt=Mt&&je,Pt=Mt&&!je;switch(this._options.operator_position){case te.before_newline:this._output.space_before_token=!Pt,this.print_token($),(!Mt||yt)&&this.allow_wrap_or_preserved_newline($),this._output.space_before_token=!0;return;case te.after_newline:this._output.space_before_token=!0,!Mt||yt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline($):this._output.space_before_token=!1,this.print_token($),this._output.space_before_token=!0;return;case te.preserve_newline:Pt||this.allow_wrap_or_preserved_newline($),ke=!(this._output.just_added_newline()||Pt),this._output.space_before_token=ke,this.print_token($),this._output.space_before_token=!0;return}}if(ae){this.allow_wrap_or_preserved_newline($),ke=!1;var tr=this._tokens.peek();We=tr&&I(tr.type,[A.WORD,A.RESERVED])}else if($.text==="...")this.allow_wrap_or_preserved_newline($),ke=this._flags.last_token.type===A.START_BLOCK,We=!1;else if(I($.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR)&&this.allow_wrap_or_preserved_newline($),ke=!1,We=!1,$.newlines&&($.text==="--"||$.text==="++"||$.text==="~")){var Vt=V(this._flags.last_token,W)&&$.newlines;Vt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Vt,!0)}this._flags.last_token.text===";"&&se(this._flags.mode)&&(ke=!0),this._flags.last_token.type===A.RESERVED?ke=!0:this._flags.last_token.type===A.END_EXPR?ke=!(this._flags.last_token.text==="]"&&($.text==="--"||$.text==="++")):this._flags.last_token.type===A.OPERATOR&&(ke=I($.text,["--","-","++","+"])&&I(this._flags.last_token.text,["--","-","++","+"]),I($.text,["+","-"])&&I(this._flags.last_token.text,["--","++"])&&(We=!0)),(this._flags.mode===oe.BlockStatement&&!this._flags.inline_frame||this._flags.mode===oe.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ke,this.print_token($),this._output.space_before_token=We},le.prototype.handle_block_comment=function($,ae){if(this._output.raw){this._output.add_raw_token($),$.directives&&$.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if($.directives){this.print_newline(!1,ae),this.print_token($),$.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!_.newline.test($.text)&&!$.newlines){this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0;return}else this.print_block_commment($,ae)},le.prototype.print_block_commment=function($,ae){var _e=Q($.text),Ie,ke=!1,We=!1,je=$.whitespace_before,Mt=je.length;if(this.print_newline(!1,ae),this.print_token_line_indentation($),this._output.add_token(_e[0]),this.print_newline(!1,ae),_e.length>1){for(_e=_e.slice(1),ke=ee(_e,"*"),We=X(_e,je),ke&&(this._flags.alignment=1),Ie=0;Ie<_e.length;Ie++)ke?(this.print_token_line_indentation($),this._output.add_token(M(_e[Ie]))):We&&_e[Ie]?(this.print_token_line_indentation($),this._output.add_token(_e[Ie].substring(Mt))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[Ie])),this.print_newline(!1,ae);this._flags.alignment=0}},le.prototype.handle_comment=function($,ae){$.newlines?this.print_newline(!1,ae):this._output.trim(!0),this._output.space_before_token=!0,this.print_token($),this.print_newline(!1,ae)},le.prototype.handle_dot=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),V(this._flags.last_token,W)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline($,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($)},le.prototype.handle_unknown=function($,ae){this.print_token($),$.text[$.text.length-1]===`
|
|
|
`&&this.print_newline(!1,ae)},le.prototype.handle_eof=function($){for(;this._flags.mode===oe.Statement;)this.restore_mode();this.handle_whitespace_and_comments($)},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+"])",k="(?:"+b+"|["+p+y+_+"])*";a.identifier=new RegExp(S+k,"g"),a.identifierStart=new RegExp(S),a.identifierMatch=new RegExp("(?:"+b+"|["+p+y+_+"])+");var R=/[\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 k=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var R=0;R<k.length;R++)k[R]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=k[R];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),k=x(12).Pattern,R=x(14).TemplatablePattern;function A(ee,X){return X.indexOf(ee)!==-1}var I={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(/\/\*/,/\*\//),B=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,N=/[0-9]/,V=/[^\d\.]/,W=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),H=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";H=H.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),H="\\?\\.(?!\\d) "+H,H=H.replace(/ /g,"|");var te=new RegExp(H),ie="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),oe=ie.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),J=new RegExp("^(?:"+oe.join("|")+")$"),Q,K=function(ee,X){y.call(this,ee,X),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var le=new k(this._input),z=new R(this._input).read_options(this._options);this.__patterns={template:z,identifier:z.starting_with(S.identifier).matching(S.identifierMatch),number:le.matching(B),punct:le.matching(te),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(/[`}\\]/)}};K.prototype=new y,K.prototype._is_comment=function(ee){return ee.type===I.COMMENT||ee.type===I.BLOCK_COMMENT||ee.type===I.UNKNOWN},K.prototype._is_opening=function(ee){return ee.type===I.START_BLOCK||ee.type===I.START_EXPR},K.prototype._is_closing=function(ee,X){return(ee.type===I.END_BLOCK||ee.type===I.END_EXPR)&&X&&(ee.text==="]"&&X.text==="["||ee.text===")"&&X.text==="("||ee.text==="}"&&X.text==="{")},K.prototype._reset=function(){Q=!1},K.prototype._get_next_token=function(ee,X){var le=null;this._readWhitespace();var z=this._input.peek();return z===null?this._create_token(I.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(ee),le=le||this._read_singles(z),le=le||this._read_comment(z),le=le||this._read_regexp(z,ee),le=le||this._read_xml(z,ee),le=le||this._read_punctuation(),le=le||this._create_token(I.UNKNOWN,this._input.next()),le)},K.prototype._read_word=function(ee){var X;if(X=this.__patterns.identifier.read(),X!=="")return X=X.replace(S.allLineBreaks,`
|
|
|
`),!(ee.type===I.DOT||ee.type===I.RESERVED&&(ee.text==="set"||ee.text==="get"))&&J.test(X)?(X==="in"||X==="of")&&(ee.type===I.WORD||ee.type===I.STRING)?this._create_token(I.OPERATOR,X):this._create_token(I.RESERVED,X):this._create_token(I.WORD,X);if(X=this.__patterns.number.read(),X!=="")return this._create_token(I.WORD,X)},K.prototype._read_singles=function(ee){var X=null;return ee==="("||ee==="["?X=this._create_token(I.START_EXPR,ee):ee===")"||ee==="]"?X=this._create_token(I.END_EXPR,ee):ee==="{"?X=this._create_token(I.START_BLOCK,ee):ee==="}"?X=this._create_token(I.END_BLOCK,ee):ee===";"?X=this._create_token(I.SEMICOLON,ee):ee==="."&&V.test(this._input.peek(1))?X=this._create_token(I.DOT,ee):ee===","&&(X=this._create_token(I.COMMA,ee)),X&&this._input.next(),X},K.prototype._read_pair=function(ee,X){var le=null;return ee==="#"&&X==="{"&&(le=this._create_token(I.START_BLOCK,ee+X)),le&&(this._input.next(),this._input.next()),le},K.prototype._read_punctuation=function(){var ee=this.__patterns.punct.read();if(ee!=="")return ee==="="?this._create_token(I.EQUALS,ee):ee==="?."?this._create_token(I.DOT,ee):this._create_token(I.OPERATOR,ee)},K.prototype._read_non_javascript=function(ee){var X="";if(ee==="#"){if(this._is_first_token()&&(X=this.__patterns.shebang.read(),X))return this._create_token(I.UNKNOWN,X.trim()+`
|
|
|
`);if(X=this.__patterns.include.read(),X)return this._create_token(I.UNKNOWN,X.trim()+`
|
|
|
`);ee=this._input.next();var le="#";if(this._input.hasNext()&&this._input.testChar(N)){do ee=this._input.next(),le+=ee;while(this._input.hasNext()&&ee!=="#"&&ee!=="=");return ee==="#"||(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(I.WORD,le)}this._input.back()}else if(ee==="<"&&this._is_first_token()){if(X=this.__patterns.html_comment_start.read(),X){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)X+=this._input.next();return Q=!0,this._create_token(I.COMMENT,X)}}else if(Q&&ee==="-"&&(X=this.__patterns.html_comment_end.read(),X))return Q=!1,this._create_token(I.COMMENT,X);return null},K.prototype._read_comment=function(ee){var X=null;if(ee==="/"){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,`
|
|
|
`),X=this._create_token(I.BLOCK_COMMENT,le),X.directives=z}else this._input.peek(1)==="/"&&(le=this.__patterns.comment.read(),X=this._create_token(I.COMMENT,le))}return X},K.prototype._read_string=function(ee){if(ee==="`"||ee==="'"||ee==='"'){var X=this._input.next();return this.has_char_escapes=!1,ee==="`"?X+=this._read_string_recursive("`",!0,"${"):X+=this._read_string_recursive(ee),this.has_char_escapes&&this._options.unescape_strings&&(X=se(X)),this._input.peek()===ee&&(X+=this._input.next()),X=X.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(I.STRING,X)}return null},K.prototype._allow_regexp_or_xml=function(ee){return ee.type===I.RESERVED&&A(ee.text,["return","case","throw","else","do","typeof","yield"])||ee.type===I.END_EXPR&&ee.text===")"&&ee.opened.previous.type===I.RESERVED&&A(ee.opened.previous.text,["if","while","for"])||A(ee.type,[I.COMMENT,I.START_EXPR,I.START_BLOCK,I.START,I.END_BLOCK,I.OPERATOR,I.EQUALS,I.EOF,I.SEMICOLON,I.COMMA])},K.prototype._read_regexp=function(ee,X){if(ee==="/"&&this._allow_regexp_or_xml(X)){for(var le=this._input.next(),z=!1,$=!1;this._input.hasNext()&&(z||$||this._input.peek()!==ee)&&!this._input.testChar(S.newline);)le+=this._input.peek(),z?z=!1:(z=this._input.peek()==="\\",this._input.peek()==="["?$=!0:this._input.peek()==="]"&&($=!1)),this._input.next();return this._input.peek()===ee&&(le+=this._input.next(),le+=this._input.read(S.identifier)),this._create_token(I.STRING,le)}return null},K.prototype._read_xml=function(ee,X){if(this._options.e4x&&ee==="<"&&this._allow_regexp_or_xml(X)){var le="",z=this.__patterns.xml.read_match();if(z){for(var $=z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),ae=$.indexOf("{")===0,_e=0;z;){var Ie=!!z[1],ke=z[2],We=!!z[z.length-1]||ke.slice(0,8)==="![CDATA[";if(!We&&(ke===$||ae&&ke.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Ie?--_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(I.STRING,le)}}return null};function se(ee){for(var X="",le=0,z=new p(ee),$=null;z.hasNext();)if($=z.match(/([\s]|[^\\]|\\\\)+/g),$&&(X+=$[0]),z.peek()==="\\"){if(z.next(),z.peek()==="x")$=z.match(/x([0-9A-Fa-f]{2})/g);else if(z.peek()==="u")$=z.match(/u([0-9A-Fa-f]{4})/g),$||($=z.match(/u\{([0-9A-Fa-f]+)\}/g));else{X+="\\",z.hasNext()&&(X+=z.next());continue}if(!$||(le=parseInt($[1],16),le>126&&le<=255&&$[0].indexOf("x")===0))return ee;le>=0&&le<32||le>1114111?X+="\\"+$[0]:le===34||le===39||le===92?X+="\\"+String.fromCharCode(le):X+=String.fromCharCode(le)}return X}K.prototype._read_string_recursive=function(ee,X,le){var z,$;ee==="'"?$=this.__patterns.single_quote:ee==='"'?$=this.__patterns.double_quote:ee==="`"?$=this.__patterns.template_text:ee==="}"&&($=this.__patterns.template_expression);for(var ae=$.read(),_e="";this._input.hasNext();){if(_e=this._input.next(),_e===ee||!X&&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&&(ee==="`"?_e+=this._read_string_recursive("}",X,"`"):_e+=this._read_string_recursive("`",X,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=$.read(),ae+=_e}return ae},u.exports.Tokenizer=K,u.exports.TOKEN=I,u.exports.positionable_operators=W.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"},k=function(R,A){this._input=new p(R),this._options=A||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new b(this._input)};k.prototype.tokenize=function(){this._input.restart(),this.__tokens=new _,this._reset();for(var R,A=new y(S.START,""),I=null,M=[],B=new _;A.type!==S.EOF;){for(R=this._get_next_token(A,I);this._is_comment(R);)B.add(R),R=this._get_next_token(A,I);B.isEmpty()||(R.comments_before=B,B=new _),R.parent=I,this._is_opening(R)?(M.push(I),I=R):I&&this._is_closing(R,I)&&(R.opened=I,I.closed=R,I=M.pop(),R.parent=I),R.previous=A,A.next=R,this.__tokens.add(R),A=R}return this.__tokens},k.prototype._is_first_token=function(){return this.__tokens.isEmpty()},k.prototype._reset=function(){},k.prototype._get_next_token=function(R,A){this._readWhitespace();var I=this._input.read(/.+/g);return I?this._create_token(S.RAW,I):this._create_token(S.EOF,"")},k.prototype._is_comment=function(R){return!1},k.prototype._is_opening=function(R){return!1},k.prototype._is_closing=function(R,A){return!1},k.prototype._create_token=function(R,A){var I=new y(R,A,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return I},k.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},u.exports.Tokenizer=k,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,k=[],R=_.exec(b);R;)k.push(b.substring(S,R.index)),S=R.index+R[0].length,R=_.exec(b);return S<b.length?k.push(b.substring(S,b.length)):k.push(""),k},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 k=new p(b);this.__patterns={handlebars_comment:k.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:k.starting_with(/{{{/).until_after(/}}}/),handlebars:k.starting_with(/{{/).until_after(/}}/),php:k.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:k.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:k.starting_with(/{%/).until_after(/%}/),django_value:k.starting_with(/{{/).until_after(/}}/),django_comment:k.starting_with(/{#/).until_after(/#}/),smarty:k.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:k.starting_with(/{\*/).until_after(/\*}/),smarty_literal:k.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 k in y)S._disabled[k]=b.templating.indexOf(k)===-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 k=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&k==="?"&&(b=b||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&k==="%"&&(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 o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(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(o){return i[o]}.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(Z,Y,ne){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Z,this.start=Y,this.end=ne}return Ve.range=function(Y,ne){return ne?!Y||!Y.loc||!ne.loc||Y.loc.lexer!==ne.loc.lexer?null:new Ve(Y.loc.lexer,Y.loc.start,ne.loc.end):Y&&Y.loc},Ve}(),c=function(){function Ve(Y,ne){this.text=void 0,this.loc=void 0,this.text=Y,this.loc=ne}var Z=Ve.prototype;return Z.range=function(ne,he){return new Ve(he,l.range(this,ne))},Ve}(),f=function Ve(Z,Y){this.position=void 0;var ne="KaTeX parse error: "+Z,he,Te=Y&&Y.loc;if(Te&&Te.start<=Te.end){var qe=Te.lexer.input;he=Te.start;var Tt=Te.end;he===qe.length?ne+=" at end of input: ":ne+=" at position "+(he+1)+": ";var $t=qe.slice(he,Tt).replace(/[^]/g,"$&\u0332"),rr;he>15?rr="\u2026"+qe.slice(he-15,he):rr=qe.slice(0,he);var Tr;Tt+15<qe.length?Tr=qe.slice(Tt,Tt+15)+"\u2026":Tr=qe.slice(Tt),ne+=rr+$t+Tr}var Gr=new Error(ne);return Gr.name="ParseError",Gr.__proto__=Ve.prototype,Gr.position=he,Gr};f.prototype.__proto__=Error.prototype;var o=f,h=function(Z,Y){return Z.indexOf(Y)!==-1},u=function(Z,Y){return Z===void 0?Y:Z},a=/([A-Z])/g,x=function(Z){return Z.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},y=/[&><"']/g;function _(Ve){return String(Ve).replace(y,function(Z){return p[Z]})}var b=function Ve(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?Ve(Z.body[0]):Z:Z.type==="font"?Ve(Z.body):Z},S=function(Z){var Y=b(Z);return Y.type==="mathord"||Y.type==="textord"||Y.type==="atom"},k=function(Z){if(!Z)throw new Error("Expected non-null, but got "+String(Z));return Z},R=function(Z){var Y=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(Z);return Y!=null?Y[1]:"_relative"},A={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:R},I=function(){function Ve(Y){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,Y=Y||{},this.displayMode=A.deflt(Y.displayMode,!1),this.output=A.deflt(Y.output,"htmlAndMathml"),this.leqno=A.deflt(Y.leqno,!1),this.fleqn=A.deflt(Y.fleqn,!1),this.throwOnError=A.deflt(Y.throwOnError,!0),this.errorColor=A.deflt(Y.errorColor,"#cc0000"),this.macros=Y.macros||{},this.minRuleThickness=Math.max(0,A.deflt(Y.minRuleThickness,0)),this.colorIsTextColor=A.deflt(Y.colorIsTextColor,!1),this.strict=A.deflt(Y.strict,"warn"),this.trust=A.deflt(Y.trust,!1),this.maxSize=Math.max(0,A.deflt(Y.maxSize,1/0)),this.maxExpand=Math.max(0,A.deflt(Y.maxExpand,1e3))}var Z=Ve.prototype;return Z.reportNonstrict=function(ne,he,Te){var qe=this.strict;if(typeof qe=="function"&&(qe=qe(ne,he,Te)),!(!qe||qe==="ignore")){if(qe===!0||qe==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(he+" ["+ne+"]"),Te);qe==="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 '"+qe+"': "+he+" ["+ne+"]"))}},Z.useStrictBehavior=function(ne,he,Te){var qe=this.strict;if(typeof qe=="function")try{qe=qe(ne,he,Te)}catch(Tt){qe="error"}return!qe||qe==="ignore"?!1:qe===!0||qe==="error"?!0:qe==="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 '"+qe+"': "+he+" ["+ne+"]")),!1)},Z.isTrusted=function(ne){ne.url&&!ne.protocol&&(ne.protocol=A.protocolFromUrl(ne.url));var he=typeof this.trust=="function"?this.trust(ne):this.trust;return!!he},Ve}(),M=function(){function Ve(Y,ne,he){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=Y,this.size=ne,this.cramped=he}var Z=Ve.prototype;return Z.sup=function(){return J[Q[this.id]]},Z.sub=function(){return J[K[this.id]]},Z.fracNum=function(){return J[se[this.id]]},Z.fracDen=function(){return J[ee[this.id]]},Z.cramp=function(){return J[X[this.id]]},Z.text=function(){return J[le[this.id]]},Z.isTight=function(){return this.size>=2},Ve}(),B=0,N=1,V=2,W=3,H=4,te=5,ie=6,oe=7,J=[new M(B,0,!1),new M(N,0,!0),new M(V,1,!1),new M(W,1,!0),new M(H,2,!1),new M(te,2,!0),new M(ie,3,!1),new M(oe,3,!0)],Q=[H,te,H,te,ie,oe,ie,oe],K=[te,te,te,te,oe,oe,oe,oe],se=[V,W,H,te,ie,oe,ie,oe],ee=[W,W,te,te,oe,oe,oe,oe],X=[N,N,W,W,te,te,oe,oe],le=[B,N,V,W,V,W,V,W],z={DISPLAY:J[B],TEXT:J[V],SCRIPT:J[H],SCRIPTSCRIPT:J[ie]},$=[{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 ae(Ve){for(var Z=0;Z<$.length;Z++)for(var Y=$[Z],ne=0;ne<Y.blocks.length;ne++){var he=Y.blocks[ne];if(Ve>=he[0]&&Ve<=he[1])return Y.name}return null}var _e=[];$.forEach(function(Ve){return Ve.blocks.forEach(function(Z){return _e.push.apply(_e,Z)})});function Ie(Ve){for(var Z=0;Z<_e.length;Z+=2)if(Ve>=_e[Z]&&Ve<=_e[Z+1])return!0;return!1}var ke=80,We=function(Z,Y){return"M95,"+(622+Z+Y)+`
|
|
|
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`+Z/2.075+" -"+Z+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+Z)+`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+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},je=function(Z,Y){return"M263,"+(601+Z+Y)+`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`+Z/2.084+" -"+Z+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+Z)+`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+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},Mt=function(Z,Y){return"M983 "+(10+Z+Y)+`
|
|
|
l`+Z/3.13+" -"+Z+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+Z)+`
|
|
|
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+Z)+" "+Y+"h400000v"+(40+Z)+"h-400000z"},yt=function(Z,Y){return"M424,"+(2398+Z+Y)+`
|
|
|
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`+Z/4.223+" -"+Z+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+Z)+`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+Z)+" "+Y+`
|
|
|
h400000v`+(40+Z)+"h-400000z"},Pt=function(Z,Y){return"M473,"+(2713+Z+Y)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+Z/5.298+" -"+Z+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Z)+`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+Z)+" "+Y+"h400000v"+(40+Z)+"H1017.7z"},tr=function(Z,Y,ne){var he=ne-54-Y-Z;return"M702 "+(Z+Y)+"H400000"+(40+Z)+`
|
|
|
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 `+Y+"H400000v"+(40+Z)+"H742z"},Vt=function(Z,Y,ne){Y=1e3*Y;var he="";switch(Z){case"sqrtMain":he=We(Y,ke);break;case"sqrtSize1":he=je(Y,ke);break;case"sqrtSize2":he=Mt(Y,ke);break;case"sqrtSize3":he=yt(Y,ke);break;case"sqrtSize4":he=Pt(Y,ke);break;case"sqrtTall":he=tr(Y,ke,ne)}return he},lr={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`},Ke=function(){function Ve(Y){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=Y,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Z=Ve.prototype;return Z.hasClass=function(ne){return A.contains(this.classes,ne)},Z.toNode=function(){for(var ne=document.createDocumentFragment(),he=0;he<this.children.length;he++)ne.appendChild(this.children[he].toNode());return ne},Z.toMarkup=function(){for(var ne="",he=0;he<this.children.length;he++)ne+=this.children[he].toMarkup();return ne},Z.toText=function(){var ne=function(Te){return Te.toText()};return this.children.map(ne).join("")},Ve}(),Ct=function(Z){return Z.filter(function(Y){return Y}).join(" ")},jt=function(Z,Y,ne){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ne||{},Y){Y.style.isTight()&&this.classes.push("mtight");var he=Y.getColor();he&&(this.style.color=he)}},it=function(Z){var Y=document.createElement(Z);Y.className=Ct(this.classes);for(var ne in this.style)this.style.hasOwnProperty(ne)&&(Y.style[ne]=this.style[ne]);for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&Y.setAttribute(he,this.attributes[he]);for(var Te=0;Te<this.children.length;Te++)Y.appendChild(this.children[Te].toNode());return Y},xt=function(Z){var Y="<"+Z;this.classes.length&&(Y+=' class="'+A.escape(Ct(this.classes))+'"');var ne="";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne+=A.hyphenate(he)+":"+this.style[he]+";");ne&&(Y+=' style="'+A.escape(ne)+'"');for(var Te in this.attributes)this.attributes.hasOwnProperty(Te)&&(Y+=" "+Te+'="'+A.escape(this.attributes[Te])+'"');Y+=">";for(var qe=0;qe<this.children.length;qe++)Y+=this.children[qe].toMarkup();return Y+="</"+Z+">",Y},pt=function(){function Ve(Y,ne,he,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,jt.call(this,Y,he,Te),this.children=ne||[]}var Z=Ve.prototype;return Z.setAttribute=function(ne,he){this.attributes[ne]=he},Z.hasClass=function(ne){return A.contains(this.classes,ne)},Z.toNode=function(){return it.call(this,"span")},Z.toMarkup=function(){return xt.call(this,"span")},Ve}(),et=function(){function Ve(Y,ne,he,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,jt.call(this,ne,Te),this.children=he||[],this.setAttribute("href",Y)}var Z=Ve.prototype;return Z.setAttribute=function(ne,he){this.attributes[ne]=he},Z.hasClass=function(ne){return A.contains(this.classes,ne)},Z.toNode=function(){return it.call(this,"a")},Z.toMarkup=function(){return xt.call(this,"a")},Ve}(),Ze=function(){function Ve(Y,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=Y,this.classes=["mord"],this.style=he}var Z=Ve.prototype;return Z.hasClass=function(ne){return A.contains(this.classes,ne)},Z.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},Z.toMarkup=function(){var ne="<img src='"+this.src+" 'alt='"+this.alt+"' ",he="";for(var Te in this.style)this.style.hasOwnProperty(Te)&&(he+=A.hyphenate(Te)+":"+this.style[Te]+";");return he&&(ne+=' style="'+A.escape(he)+'"'),ne+="'/>",ne},Ve}(),ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ae=function(){function Ve(Y,ne,he,Te,qe,Tt,$t,rr){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=Y,this.height=ne||0,this.depth=he||0,this.italic=Te||0,this.skew=qe||0,this.width=Tt||0,this.classes=$t||[],this.style=rr||{},this.maxFontSize=0;var Tr=ae(this.text.charCodeAt(0));Tr&&this.classes.push(Tr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ge[this.text])}var Z=Ve.prototype;return Z.hasClass=function(ne){return A.contains(this.classes,ne)},Z.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=Ct(this.classes));for(var Te in this.style)this.style.hasOwnProperty(Te)&&(he=he||document.createElement("span"),he.style[Te]=this.style[Te]);return he?(he.appendChild(ne),he):ne},Z.toMarkup=function(){var ne=!1,he="<span";this.classes.length&&(ne=!0,he+=' class="',he+=A.escape(Ct(this.classes)),he+='"');var Te="";this.italic>0&&(Te+="margin-right:"+this.italic+"em;");for(var qe in this.style)this.style.hasOwnProperty(qe)&&(Te+=A.hyphenate(qe)+":"+this.style[qe]+";");Te&&(ne=!0,he+=' style="'+A.escape(Te)+'"');var Tt=A.escape(this.text);return ne?(he+=">",he+=Tt,he+="</span>",he):Tt},Ve}(),Me=function(){function Ve(Y,ne){this.children=void 0,this.attributes=void 0,this.children=Y||[],this.attributes=ne||{}}var Z=Ve.prototype;return Z.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"svg");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&he.setAttribute(Te,this.attributes[Te]);for(var qe=0;qe<this.children.length;qe++)he.appendChild(this.children[qe].toNode());return he},Z.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 Te=0;Te<this.children.length;Te++)ne+=this.children[Te].toMarkup();return ne+="</svg>",ne},Ve}(),Ue=function(){function Ve(Y,ne){this.pathName=void 0,this.alternate=void 0,this.pathName=Y,this.alternate=ne}var Z=Ve.prototype;return Z.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",lr[this.pathName]),he},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+lr[this.pathName]+"'/>"},Ve}(),Ge=function(){function Ve(Y){this.attributes=void 0,this.attributes=Y||{}}var Z=Ve.prototype;return Z.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"line");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&he.setAttribute(Te,this.attributes[Te]);return he},Z.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 Ae)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function ut(Ve){if(Ve instanceof pt)return Ve;throw new Error("Expected span<HtmlDomNode> but got "+String(Ve)+".")}var Kt={"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]}},Zt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},De={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Je(Ve,Z){Kt[Ve]=Z}function Wt(Ve,Z,Y){if(!Kt[Z])throw new Error("Font metrics not found for font: "+Z+".");var ne=Ve.charCodeAt(0),he=Kt[Z][ne];if(!he&&Ve[0]in De&&(ne=De[Ve[0]].charCodeAt(0),he=Kt[Z][ne]),!he&&Y==="text"&&Ie(ne)&&(he=Kt[Z][77]),he)return{depth:he[0],height:he[1],italic:he[2],skew:he[3],width:he[4]}}var Ot={};function zt(Ve){var Z;if(Ve>=5?Z=0:Ve>=3?Z=1:Z=2,!Ot[Z]){var Y=Ot[Z]={cssEmPerMu:Zt.quad[Z]/18};for(var ne in Zt)Zt.hasOwnProperty(ne)&&(Y[ne]=Zt[ne][Z])}return Ot[Z]}var Ft={bin:1,close:1,inner:1,open:1,punct:1,rel:1},At={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Yt={math:{},text:{}},Ye=Yt;function ce(Ve,Z,Y,ne,he,Te){Yt[Ve][he]={font:Z,group:Y,replace:ne},Te&&ne&&(Yt[Ve][ne]=Yt[Ve][he])}var pe="math",Dt="text",Ce="main",ft="ams",Ut="accent-token",St="bin",Oe="close",wt="inner",ye="mathord",Xe="op-token",vt="open",Rt="punct",Ne="rel",Dr="spacing",Et="textord";ce(pe,Ce,Ne,"\u2261","\\equiv",!0),ce(pe,Ce,Ne,"\u227A","\\prec",!0),ce(pe,Ce,Ne,"\u227B","\\succ",!0),ce(pe,Ce,Ne,"\u223C","\\sim",!0),ce(pe,Ce,Ne,"\u22A5","\\perp"),ce(pe,Ce,Ne,"\u2AAF","\\preceq",!0),ce(pe,Ce,Ne,"\u2AB0","\\succeq",!0),ce(pe,Ce,Ne,"\u2243","\\simeq",!0),ce(pe,Ce,Ne,"\u2223","\\mid",!0),ce(pe,Ce,Ne,"\u226A","\\ll",!0),ce(pe,Ce,Ne,"\u226B","\\gg",!0),ce(pe,Ce,Ne,"\u224D","\\asymp",!0),ce(pe,Ce,Ne,"\u2225","\\parallel"),ce(pe,Ce,Ne,"\u22C8","\\bowtie",!0),ce(pe,Ce,Ne,"\u2323","\\smile",!0),ce(pe,Ce,Ne,"\u2291","\\sqsubseteq",!0),ce(pe,Ce,Ne,"\u2292","\\sqsupseteq",!0),ce(pe,Ce,Ne,"\u2250","\\doteq",!0),ce(pe,Ce,Ne,"\u2322","\\frown",!0),ce(pe,Ce,Ne,"\u220B","\\ni",!0),ce(pe,Ce,Ne,"\u221D","\\propto",!0),ce(pe,Ce,Ne,"\u22A2","\\vdash",!0),ce(pe,Ce,Ne,"\u22A3","\\dashv",!0),ce(pe,Ce,Ne,"\u220B","\\owns"),ce(pe,Ce,Rt,".","\\ldotp"),ce(pe,Ce,Rt,"\u22C5","\\cdotp"),ce(pe,Ce,Et,"#","\\#"),ce(Dt,Ce,Et,"#","\\#"),ce(pe,Ce,Et,"&","\\&"),ce(Dt,Ce,Et,"&","\\&"),ce(pe,Ce,Et,"\u2135","\\aleph",!0),ce(pe,Ce,Et,"\u2200","\\forall",!0),ce(pe,Ce,Et,"\u210F","\\hbar",!0),ce(pe,Ce,Et,"\u2203","\\exists",!0),ce(pe,Ce,Et,"\u2207","\\nabla",!0),ce(pe,Ce,Et,"\u266D","\\flat",!0),ce(pe,Ce,Et,"\u2113","\\ell",!0),ce(pe,Ce,Et,"\u266E","\\natural",!0),ce(pe,Ce,Et,"\u2663","\\clubsuit",!0),ce(pe,Ce,Et,"\u2118","\\wp",!0),ce(pe,Ce,Et,"\u266F","\\sharp",!0),ce(pe,Ce,Et,"\u2662","\\diamondsuit",!0),ce(pe,Ce,Et,"\u211C","\\Re",!0),ce(pe,Ce,Et,"\u2661","\\heartsuit",!0),ce(pe,Ce,Et,"\u2111","\\Im",!0),ce(pe,Ce,Et,"\u2660","\\spadesuit",!0),ce(Dt,Ce,Et,"\xA7","\\S",!0),ce(Dt,Ce,Et,"\xB6","\\P",!0),ce(pe,Ce,Et,"\u2020","\\dag"),ce(Dt,Ce,Et,"\u2020","\\dag"),ce(Dt,Ce,Et,"\u2020","\\textdagger"),ce(pe,Ce,Et,"\u2021","\\ddag"),ce(Dt,Ce,Et,"\u2021","\\ddag"),ce(Dt,Ce,Et,"\u2021","\\textdaggerdbl"),ce(pe,Ce,Oe,"\u23B1","\\rmoustache",!0),ce(pe,Ce,vt,"\u23B0","\\lmoustache",!0),ce(pe,Ce,Oe,"\u27EF","\\rgroup",!0),ce(pe,Ce,vt,"\u27EE","\\lgroup",!0),ce(pe,Ce,St,"\u2213","\\mp",!0),ce(pe,Ce,St,"\u2296","\\ominus",!0),ce(pe,Ce,St,"\u228E","\\uplus",!0),ce(pe,Ce,St,"\u2293","\\sqcap",!0),ce(pe,Ce,St,"\u2217","\\ast"),ce(pe,Ce,St,"\u2294","\\sqcup",!0),ce(pe,Ce,St,"\u25EF","\\bigcirc"),ce(pe,Ce,St,"\u2219","\\bullet"),ce(pe,Ce,St,"\u2021","\\ddagger"),ce(pe,Ce,St,"\u2240","\\wr",!0),ce(pe,Ce,St,"\u2A3F","\\amalg"),ce(pe,Ce,St,"&","\\And"),ce(pe,Ce,Ne,"\u27F5","\\longleftarrow",!0),ce(pe,Ce,Ne,"\u21D0","\\Leftarrow",!0),ce(pe,Ce,Ne,"\u27F8","\\Longleftarrow",!0),ce(pe,Ce,Ne,"\u27F6","\\longrightarrow",!0),ce(pe,Ce,Ne,"\u21D2","\\Rightarrow",!0),ce(pe,Ce,Ne,"\u27F9","\\Longrightarrow",!0),ce(pe,Ce,Ne,"\u2194","\\leftrightarrow",!0),ce(pe,Ce,Ne,"\u27F7","\\longleftrightarrow",!0),ce(pe,Ce,Ne,"\u21D4","\\Leftrightarrow",!0),ce(pe,Ce,Ne,"\u27FA","\\Longleftrightarrow",!0),ce(pe,Ce,Ne,"\u21A6","\\mapsto",!0),ce(pe,Ce,Ne,"\u27FC","\\longmapsto",!0),ce(pe,Ce,Ne,"\u2197","\\nearrow",!0),ce(pe,Ce,Ne,"\u21A9","\\hookleftarrow",!0),ce(pe,Ce,Ne,"\u21AA","\\hookrightarrow",!0),ce(pe,Ce,Ne,"\u2198","\\searrow",!0),ce(pe,Ce,Ne,"\u21BC","\\leftharpoonup",!0),ce(pe,Ce,Ne,"\u21C0","\\rightharpoonup",!0),ce(pe,Ce,Ne,"\u2199","\\swarrow",!0),ce(pe,Ce,Ne,"\u21BD","\\leftharpoondown",!0),ce(pe,Ce,Ne,"\u21C1","\\rightharpoondown",!0),ce(pe,Ce,Ne,"\u2196","\\nwarrow",!0),ce(pe,Ce,Ne,"\u21CC","\\rightleftharpoons",!0),ce(pe,ft,Ne,"\u226E","\\nless",!0),ce(pe,ft,Ne,"\uE010","\\@nleqslant"),ce(pe,ft,Ne,"\uE011","\\@nleqq"),ce(pe,ft,Ne,"\u2A87","\\lneq",!0),ce(pe,ft,Ne,"\u2268","\\lneqq",!0),ce(pe,ft,Ne,"\uE00C","\\@lvertneqq"),ce(pe,ft,Ne,"\u22E6","\\lnsim",!0),ce(pe,ft,Ne,"\u2A89","\\lnapprox",!0),ce(pe,ft,Ne,"\u2280","\\nprec",!0),ce(pe,ft,Ne,"\u22E0","\\npreceq",!0),ce(pe,ft,Ne,"\u22E8","\\precnsim",!0),ce(pe,ft,Ne,"\u2AB9","\\precnapprox",!0),ce(pe,ft,Ne,"\u2241","\\nsim",!0),ce(pe,ft,Ne,"\uE006","\\@nshortmid"),ce(pe,ft,Ne,"\u2224","\\nmid",!0),ce(pe,ft,Ne,"\u22AC","\\nvdash",!0),ce(pe,ft,Ne,"\u22AD","\\nvDash",!0),ce(pe,ft,Ne,"\u22EA","\\ntriangleleft"),ce(pe,ft,Ne,"\u22EC","\\ntrianglelefteq",!0),ce(pe,ft,Ne,"\u228A","\\subsetneq",!0),ce(pe,ft,Ne,"\uE01A","\\@varsubsetneq"),ce(pe,ft,Ne,"\u2ACB","\\subsetneqq",!0),ce(pe,ft,Ne,"\uE017","\\@varsubsetneqq"),ce(pe,ft,Ne,"\u226F","\\ngtr",!0),ce(pe,ft,Ne,"\uE00F","\\@ngeqslant"),ce(pe,ft,Ne,"\uE00E","\\@ngeqq"),ce(pe,ft,Ne,"\u2A88","\\gneq",!0),ce(pe,ft,Ne,"\u2269","\\gneqq",!0),ce(pe,ft,Ne,"\uE00D","\\@gvertneqq"),ce(pe,ft,Ne,"\u22E7","\\gnsim",!0),ce(pe,ft,Ne,"\u2A8A","\\gnapprox",!0),ce(pe,ft,Ne,"\u2281","\\nsucc",!0),ce(pe,ft,Ne,"\u22E1","\\nsucceq",!0),ce(pe,ft,Ne,"\u22E9","\\succnsim",!0),ce(pe,ft,Ne,"\u2ABA","\\succnapprox",!0),ce(pe,ft,Ne,"\u2246","\\ncong",!0),ce(pe,ft,Ne,"\uE007","\\@nshortparallel"),ce(pe,ft,Ne,"\u2226","\\nparallel",!0),ce(pe,ft,Ne,"\u22AF","\\nVDash",!0),ce(pe,ft,Ne,"\u22EB","\\ntriangleright"),ce(pe,ft,Ne,"\u22ED","\\ntrianglerighteq",!0),ce(pe,ft,Ne,"\uE018","\\@nsupseteqq"),ce(pe,ft,Ne,"\u228B","\\supsetneq",!0),ce(pe,ft,Ne,"\uE01B","\\@varsupsetneq"),ce(pe,ft,Ne,"\u2ACC","\\supsetneqq",!0),ce(pe,ft,Ne,"\uE019","\\@varsupsetneqq"),ce(pe,ft,Ne,"\u22AE","\\nVdash",!0),ce(pe,ft,Ne,"\u2AB5","\\precneqq",!0),ce(pe,ft,Ne,"\u2AB6","\\succneqq",!0),ce(pe,ft,Ne,"\uE016","\\@nsubseteqq"),ce(pe,ft,St,"\u22B4","\\unlhd"),ce(pe,ft,St,"\u22B5","\\unrhd"),ce(pe,ft,Ne,"\u219A","\\nleftarrow",!0),ce(pe,ft,Ne,"\u219B","\\nrightarrow",!0),ce(pe,ft,Ne,"\u21CD","\\nLeftarrow",!0),ce(pe,ft,Ne,"\u21CF","\\nRightarrow",!0),ce(pe,ft,Ne,"\u21AE","\\nleftrightarrow",!0),ce(pe,ft,Ne,"\u21CE","\\nLeftrightarrow",!0),ce(pe,ft,Ne,"\u25B3","\\vartriangle"),ce(pe,ft,Et,"\u210F","\\hslash"),ce(pe,ft,Et,"\u25BD","\\triangledown"),ce(pe,ft,Et,"\u25CA","\\lozenge"),ce(pe,ft,Et,"\u24C8","\\circledS"),ce(pe,ft,Et,"\xAE","\\circledR"),ce(Dt,ft,Et,"\xAE","\\circledR"),ce(pe,ft,Et,"\u2221","\\measuredangle",!0),ce(pe,ft,Et,"\u2204","\\nexists"),ce(pe,ft,Et,"\u2127","\\mho"),ce(pe,ft,Et,"\u2132","\\Finv",!0),ce(pe,ft,Et,"\u2141","\\Game",!0),ce(pe,ft,Et,"\u2035","\\backprime"),ce(pe,ft,Et,"\u25B2","\\blacktriangle"),ce(pe,ft,Et,"\u25BC","\\blacktriangledown"),ce(pe,ft,Et,"\u25A0","\\blacksquare"),ce(pe,ft,Et,"\u29EB","\\blacklozenge"),ce(pe,ft,Et,"\u2605","\\bigstar"),ce(pe,ft,Et,"\u2222","\\sphericalangle",!0),ce(pe,ft,Et,"\u2201","\\complement",!0),ce(pe,ft,Et,"\xF0","\\eth",!0),ce(pe,ft,Et,"\u2571","\\diagup"),ce(pe,ft,Et,"\u2572","\\diagdown"),ce(pe,ft,Et,"\u25A1","\\square"),ce(pe,ft,Et,"\u25A1","\\Box"),ce(pe,ft,Et,"\u25CA","\\Diamond"),ce(pe,ft,Et,"\xA5","\\yen",!0),ce(Dt,ft,Et,"\xA5","\\yen",!0),ce(pe,ft,Et,"\u2713","\\checkmark",!0),ce(Dt,ft,Et,"\u2713","\\checkmark"),ce(pe,ft,Et,"\u2136","\\beth",!0),ce(pe,ft,Et,"\u2138","\\daleth",!0),ce(pe,ft,Et,"\u2137","\\gimel",!0),ce(pe,ft,Et,"\u03DD","\\digamma",!0),ce(pe,ft,Et,"\u03F0","\\varkappa"),ce(pe,ft,vt,"\u250C","\\ulcorner",!0),ce(pe,ft,Oe,"\u2510","\\urcorner",!0),ce(pe,ft,vt,"\u2514","\\llcorner",!0),ce(pe,ft,Oe,"\u2518","\\lrcorner",!0),ce(pe,ft,Ne,"\u2266","\\leqq",!0),ce(pe,ft,Ne,"\u2A7D","\\leqslant",!0),ce(pe,ft,Ne,"\u2A95","\\eqslantless",!0),ce(pe,ft,Ne,"\u2272","\\lesssim",!0),ce(pe,ft,Ne,"\u2A85","\\lessapprox",!0),ce(pe,ft,Ne,"\u224A","\\approxeq",!0),ce(pe,ft,St,"\u22D6","\\lessdot"),ce(pe,ft,Ne,"\u22D8","\\lll",!0),ce(pe,ft,Ne,"\u2276","\\lessgtr",!0),ce(pe,ft,Ne,"\u22DA","\\lesseqgtr",!0),ce(pe,ft,Ne,"\u2A8B","\\lesseqqgtr",!0),ce(pe,ft,Ne,"\u2251","\\doteqdot"),ce(pe,ft,Ne,"\u2253","\\risingdotseq",!0),ce(pe,ft,Ne,"\u2252","\\fallingdotseq",!0),ce(pe,ft,Ne,"\u223D","\\backsim",!0),ce(pe,ft,Ne,"\u22CD","\\backsimeq",!0),ce(pe,ft,Ne,"\u2AC5","\\subseteqq",!0),ce(pe,ft,Ne,"\u22D0","\\Subset",!0),ce(pe,ft,Ne,"\u228F","\\sqsubset",!0),ce(pe,ft,Ne,"\u227C","\\preccurlyeq",!0),ce(pe,ft,Ne,"\u22DE","\\curlyeqprec",!0),ce(pe,ft,Ne,"\u227E","\\precsim",!0),ce(pe,ft,Ne,"\u2AB7","\\precapprox",!0),ce(pe,ft,Ne,"\u22B2","\\vartriangleleft"),ce(pe,ft,Ne,"\u22B4","\\trianglelefteq"),ce(pe,ft,Ne,"\u22A8","\\vDash",!0),ce(pe,ft,Ne,"\u22AA","\\Vvdash",!0),ce(pe,ft,Ne,"\u2323","\\smallsmile"),ce(pe,ft,Ne,"\u2322","\\smallfrown"),ce(pe,ft,Ne,"\u224F","\\bumpeq",!0),ce(pe,ft,Ne,"\u224E","\\Bumpeq",!0),ce(pe,ft,Ne,"\u2267","\\geqq",!0),ce(pe,ft,Ne,"\u2A7E","\\geqslant",!0),ce(pe,ft,Ne,"\u2A96","\\eqslantgtr",!0),ce(pe,ft,Ne,"\u2273","\\gtrsim",!0),ce(pe,ft,Ne,"\u2A86","\\gtrapprox",!0),ce(pe,ft,St,"\u22D7","\\gtrdot"),ce(pe,ft,Ne,"\u22D9","\\ggg",!0),ce(pe,ft,Ne,"\u2277","\\gtrless",!0),ce(pe,ft,Ne,"\u22DB","\\gtreqless",!0),ce(pe,ft,Ne,"\u2A8C","\\gtreqqless",!0),ce(pe,ft,Ne,"\u2256","\\eqcirc",!0),ce(pe,ft,Ne,"\u2257","\\circeq",!0),ce(pe,ft,Ne,"\u225C","\\triangleq",!0),ce(pe,ft,Ne,"\u223C","\\thicksim"),ce(pe,ft,Ne,"\u2248","\\thickapprox"),ce(pe,ft,Ne,"\u2AC6","\\supseteqq",!0),ce(pe,ft,Ne,"\u22D1","\\Supset",!0),ce(pe,ft,Ne,"\u2290","\\sqsupset",!0),ce(pe,ft,Ne,"\u227D","\\succcurlyeq",!0),ce(pe,ft,Ne,"\u22DF","\\curlyeqsucc",!0),ce(pe,ft,Ne,"\u227F","\\succsim",!0),ce(pe,ft,Ne,"\u2AB8","\\succapprox",!0),ce(pe,ft,Ne,"\u22B3","\\vartriangleright"),ce(pe,ft,Ne,"\u22B5","\\trianglerighteq"),ce(pe,ft,Ne,"\u22A9","\\Vdash",!0),ce(pe,ft,Ne,"\u2223","\\shortmid"),ce(pe,ft,Ne,"\u2225","\\shortparallel"),ce(pe,ft,Ne,"\u226C","\\between",!0),ce(pe,ft,Ne,"\u22D4","\\pitchfork",!0),ce(pe,ft,Ne,"\u221D","\\varpropto"),ce(pe,ft,Ne,"\u25C0","\\blacktriangleleft"),ce(pe,ft,Ne,"\u2234","\\therefore",!0),ce(pe,ft,Ne,"\u220D","\\backepsilon"),ce(pe,ft,Ne,"\u25B6","\\blacktriangleright"),ce(pe,ft,Ne,"\u2235","\\because",!0),ce(pe,ft,Ne,"\u22D8","\\llless"),ce(pe,ft,Ne,"\u22D9","\\gggtr"),ce(pe,ft,St,"\u22B2","\\lhd"),ce(pe,ft,St,"\u22B3","\\rhd"),ce(pe,ft,Ne,"\u2242","\\eqsim",!0),ce(pe,Ce,Ne,"\u22C8","\\Join"),ce(pe,ft,Ne,"\u2251","\\Doteq",!0),ce(pe,ft,St,"\u2214","\\dotplus",!0),ce(pe,ft,St,"\u2216","\\smallsetminus"),ce(pe,ft,St,"\u22D2","\\Cap",!0),ce(pe,ft,St,"\u22D3","\\Cup",!0),ce(pe,ft,St,"\u2A5E","\\doublebarwedge",!0),ce(pe,ft,St,"\u229F","\\boxminus",!0),ce(pe,ft,St,"\u229E","\\boxplus",!0),ce(pe,ft,St,"\u22C7","\\divideontimes",!0),ce(pe,ft,St,"\u22C9","\\ltimes",!0),ce(pe,ft,St,"\u22CA","\\rtimes",!0),ce(pe,ft,St,"\u22CB","\\leftthreetimes",!0),ce(pe,ft,St,"\u22CC","\\rightthreetimes",!0),ce(pe,ft,St,"\u22CF","\\curlywedge",!0),ce(pe,ft,St,"\u22CE","\\curlyvee",!0),ce(pe,ft,St,"\u229D","\\circleddash",!0),ce(pe,ft,St,"\u229B","\\circledast",!0),ce(pe,ft,St,"\u22C5","\\centerdot"),ce(pe,ft,St,"\u22BA","\\intercal",!0),ce(pe,ft,St,"\u22D2","\\doublecap"),ce(pe,ft,St,"\u22D3","\\doublecup"),ce(pe,ft,St,"\u22A0","\\boxtimes",!0),ce(pe,ft,Ne,"\u21E2","\\dashrightarrow",!0),ce(pe,ft,Ne,"\u21E0","\\dashleftarrow",!0),ce(pe,ft,Ne,"\u21C7","\\leftleftarrows",!0),ce(pe,ft,Ne,"\u21C6","\\leftrightarrows",!0),ce(pe,ft,Ne,"\u21DA","\\Lleftarrow",!0),ce(pe,ft,Ne,"\u219E","\\twoheadleftarrow",!0),ce(pe,ft,Ne,"\u21A2","\\leftarrowtail",!0),ce(pe,ft,Ne,"\u21AB","\\looparrowleft",!0),ce(pe,ft,Ne,"\u21CB","\\leftrightharpoons",!0),ce(pe,ft,Ne,"\u21B6","\\curvearrowleft",!0),ce(pe,ft,Ne,"\u21BA","\\circlearrowleft",!0),ce(pe,ft,Ne,"\u21B0","\\Lsh",!0),ce(pe,ft,Ne,"\u21C8","\\upuparrows",!0),ce(pe,ft,Ne,"\u21BF","\\upharpoonleft",!0),ce(pe,ft,Ne,"\u21C3","\\downharpoonleft",!0),ce(pe,ft,Ne,"\u22B8","\\multimap",!0),ce(pe,ft,Ne,"\u21AD","\\leftrightsquigarrow",!0),ce(pe,ft,Ne,"\u21C9","\\rightrightarrows",!0),ce(pe,ft,Ne,"\u21C4","\\rightleftarrows",!0),ce(pe,ft,Ne,"\u21A0","\\twoheadrightarrow",!0),ce(pe,ft,Ne,"\u21A3","\\rightarrowtail",!0),ce(pe,ft,Ne,"\u21AC","\\looparrowright",!0),ce(pe,ft,Ne,"\u21B7","\\curvearrowright",!0),ce(pe,ft,Ne,"\u21BB","\\circlearrowright",!0),ce(pe,ft,Ne,"\u21B1","\\Rsh",!0),ce(pe,ft,Ne,"\u21CA","\\downdownarrows",!0),ce(pe,ft,Ne,"\u21BE","\\upharpoonright",!0),ce(pe,ft,Ne,"\u21C2","\\downharpoonright",!0),ce(pe,ft,Ne,"\u21DD","\\rightsquigarrow",!0),ce(pe,ft,Ne,"\u21DD","\\leadsto"),ce(pe,ft,Ne,"\u21DB","\\Rrightarrow",!0),ce(pe,ft,Ne,"\u21BE","\\restriction"),ce(pe,Ce,Et,"\u2018","`"),ce(pe,Ce,Et,"$","\\$"),ce(Dt,Ce,Et,"$","\\$"),ce(Dt,Ce,Et,"$","\\textdollar"),ce(pe,Ce,Et,"%","\\%"),ce(Dt,Ce,Et,"%","\\%"),ce(pe,Ce,Et,"_","\\_"),ce(Dt,Ce,Et,"_","\\_"),ce(Dt,Ce,Et,"_","\\textunderscore"),ce(pe,Ce,Et,"\u2220","\\angle",!0),ce(pe,Ce,Et,"\u221E","\\infty",!0),ce(pe,Ce,Et,"\u2032","\\prime"),ce(pe,Ce,Et,"\u25B3","\\triangle"),ce(pe,Ce,Et,"\u0393","\\Gamma",!0),ce(pe,Ce,Et,"\u0394","\\Delta",!0),ce(pe,Ce,Et,"\u0398","\\Theta",!0),ce(pe,Ce,Et,"\u039B","\\Lambda",!0),ce(pe,Ce,Et,"\u039E","\\Xi",!0),ce(pe,Ce,Et,"\u03A0","\\Pi",!0),ce(pe,Ce,Et,"\u03A3","\\Sigma",!0),ce(pe,Ce,Et,"\u03A5","\\Upsilon",!0),ce(pe,Ce,Et,"\u03A6","\\Phi",!0),ce(pe,Ce,Et,"\u03A8","\\Psi",!0),ce(pe,Ce,Et,"\u03A9","\\Omega",!0),ce(pe,Ce,Et,"A","\u0391"),ce(pe,Ce,Et,"B","\u0392"),ce(pe,Ce,Et,"E","\u0395"),ce(pe,Ce,Et,"Z","\u0396"),ce(pe,Ce,Et,"H","\u0397"),ce(pe,Ce,Et,"I","\u0399"),ce(pe,Ce,Et,"K","\u039A"),ce(pe,Ce,Et,"M","\u039C"),ce(pe,Ce,Et,"N","\u039D"),ce(pe,Ce,Et,"O","\u039F"),ce(pe,Ce,Et,"P","\u03A1"),ce(pe,Ce,Et,"T","\u03A4"),ce(pe,Ce,Et,"X","\u03A7"),ce(pe,Ce,Et,"\xAC","\\neg",!0),ce(pe,Ce,Et,"\xAC","\\lnot"),ce(pe,Ce,Et,"\u22A4","\\top"),ce(pe,Ce,Et,"\u22A5","\\bot"),ce(pe,Ce,Et,"\u2205","\\emptyset"),ce(pe,ft,Et,"\u2205","\\varnothing"),ce(pe,Ce,ye,"\u03B1","\\alpha",!0),ce(pe,Ce,ye,"\u03B2","\\beta",!0),ce(pe,Ce,ye,"\u03B3","\\gamma",!0),ce(pe,Ce,ye,"\u03B4","\\delta",!0),ce(pe,Ce,ye,"\u03F5","\\epsilon",!0),ce(pe,Ce,ye,"\u03B6","\\zeta",!0),ce(pe,Ce,ye,"\u03B7","\\eta",!0),ce(pe,Ce,ye,"\u03B8","\\theta",!0),ce(pe,Ce,ye,"\u03B9","\\iota",!0),ce(pe,Ce,ye,"\u03BA","\\kappa",!0),ce(pe,Ce,ye,"\u03BB","\\lambda",!0),ce(pe,Ce,ye,"\u03BC","\\mu",!0),ce(pe,Ce,ye,"\u03BD","\\nu",!0),ce(pe,Ce,ye,"\u03BE","\\xi",!0),ce(pe,Ce,ye,"\u03BF","\\omicron",!0),ce(pe,Ce,ye,"\u03C0","\\pi",!0),ce(pe,Ce,ye,"\u03C1","\\rho",!0),ce(pe,Ce,ye,"\u03C3","\\sigma",!0),ce(pe,Ce,ye,"\u03C4","\\tau",!0),ce(pe,Ce,ye,"\u03C5","\\upsilon",!0),ce(pe,Ce,ye,"\u03D5","\\phi",!0),ce(pe,Ce,ye,"\u03C7","\\chi",!0),ce(pe,Ce,ye,"\u03C8","\\psi",!0),ce(pe,Ce,ye,"\u03C9","\\omega",!0),ce(pe,Ce,ye,"\u03B5","\\varepsilon",!0),ce(pe,Ce,ye,"\u03D1","\\vartheta",!0),ce(pe,Ce,ye,"\u03D6","\\varpi",!0),ce(pe,Ce,ye,"\u03F1","\\varrho",!0),ce(pe,Ce,ye,"\u03C2","\\varsigma",!0),ce(pe,Ce,ye,"\u03C6","\\varphi",!0),ce(pe,Ce,St,"\u2217","*"),ce(pe,Ce,St,"+","+"),ce(pe,Ce,St,"\u2212","-"),ce(pe,Ce,St,"\u22C5","\\cdot",!0),ce(pe,Ce,St,"\u2218","\\circ"),ce(pe,Ce,St,"\xF7","\\div",!0),ce(pe,Ce,St,"\xB1","\\pm",!0),ce(pe,Ce,St,"\xD7","\\times",!0),ce(pe,Ce,St,"\u2229","\\cap",!0),ce(pe,Ce,St,"\u222A","\\cup",!0),ce(pe,Ce,St,"\u2216","\\setminus"),ce(pe,Ce,St,"\u2227","\\land"),ce(pe,Ce,St,"\u2228","\\lor"),ce(pe,Ce,St,"\u2227","\\wedge",!0),ce(pe,Ce,St,"\u2228","\\vee",!0),ce(pe,Ce,Et,"\u221A","\\surd"),ce(pe,Ce,vt,"(","("),ce(pe,Ce,vt,"[","["),ce(pe,Ce,vt,"\u27E8","\\langle",!0),ce(pe,Ce,vt,"\u2223","\\lvert"),ce(pe,Ce,vt,"\u2225","\\lVert"),ce(pe,Ce,Oe,")",")"),ce(pe,Ce,Oe,"]","]"),ce(pe,Ce,Oe,"?","?"),ce(pe,Ce,Oe,"!","!"),ce(pe,Ce,Oe,"\u27E9","\\rangle",!0),ce(pe,Ce,Oe,"\u2223","\\rvert"),ce(pe,Ce,Oe,"\u2225","\\rVert"),ce(pe,Ce,Ne,"=","="),ce(pe,Ce,Ne,"<","<"),ce(pe,Ce,Ne,">",">"),ce(pe,Ce,Ne,":",":"),ce(pe,Ce,Ne,"\u2248","\\approx",!0),ce(pe,Ce,Ne,"\u2245","\\cong",!0),ce(pe,Ce,Ne,"\u2265","\\ge"),ce(pe,Ce,Ne,"\u2265","\\geq",!0),ce(pe,Ce,Ne,"\u2190","\\gets"),ce(pe,Ce,Ne,">","\\gt"),ce(pe,Ce,Ne,"\u2208","\\in",!0),ce(pe,Ce,Ne,"\uE020","\\@not"),ce(pe,Ce,Ne,"\u2282","\\subset",!0),ce(pe,Ce,Ne,"\u2283","\\supset",!0),ce(pe,Ce,Ne,"\u2286","\\subseteq",!0),ce(pe,Ce,Ne,"\u2287","\\supseteq",!0),ce(pe,ft,Ne,"\u2288","\\nsubseteq",!0),ce(pe,ft,Ne,"\u2289","\\nsupseteq",!0),ce(pe,Ce,Ne,"\u22A8","\\models"),ce(pe,Ce,Ne,"\u2190","\\leftarrow",!0),ce(pe,Ce,Ne,"\u2264","\\le"),ce(pe,Ce,Ne,"\u2264","\\leq",!0),ce(pe,Ce,Ne,"<","\\lt"),ce(pe,Ce,Ne,"\u2192","\\rightarrow",!0),ce(pe,Ce,Ne,"\u2192","\\to"),ce(pe,ft,Ne,"\u2271","\\ngeq",!0),ce(pe,ft,Ne,"\u2270","\\nleq",!0),ce(pe,Ce,Dr,"\xA0","\\ "),ce(pe,Ce,Dr,"\xA0","~"),ce(pe,Ce,Dr,"\xA0","\\space"),ce(pe,Ce,Dr,"\xA0","\\nobreakspace"),ce(Dt,Ce,Dr,"\xA0","\\ "),ce(Dt,Ce,Dr,"\xA0","~"),ce(Dt,Ce,Dr,"\xA0","\\space"),ce(Dt,Ce,Dr,"\xA0","\\nobreakspace"),ce(pe,Ce,Dr,null,"\\nobreak"),ce(pe,Ce,Dr,null,"\\allowbreak"),ce(pe,Ce,Rt,",",","),ce(pe,Ce,Rt,";",";"),ce(pe,ft,St,"\u22BC","\\barwedge",!0),ce(pe,ft,St,"\u22BB","\\veebar",!0),ce(pe,Ce,St,"\u2299","\\odot",!0),ce(pe,Ce,St,"\u2295","\\oplus",!0),ce(pe,Ce,St,"\u2297","\\otimes",!0),ce(pe,Ce,Et,"\u2202","\\partial",!0),ce(pe,Ce,St,"\u2298","\\oslash",!0),ce(pe,ft,St,"\u229A","\\circledcirc",!0),ce(pe,ft,St,"\u22A1","\\boxdot",!0),ce(pe,Ce,St,"\u25B3","\\bigtriangleup"),ce(pe,Ce,St,"\u25BD","\\bigtriangledown"),ce(pe,Ce,St,"\u2020","\\dagger"),ce(pe,Ce,St,"\u22C4","\\diamond"),ce(pe,Ce,St,"\u22C6","\\star"),ce(pe,Ce,St,"\u25C3","\\triangleleft"),ce(pe,Ce,St,"\u25B9","\\triangleright"),ce(pe,Ce,vt,"{","\\{"),ce(Dt,Ce,Et,"{","\\{"),ce(Dt,Ce,Et,"{","\\textbraceleft"),ce(pe,Ce,Oe,"}","\\}"),ce(Dt,Ce,Et,"}","\\}"),ce(Dt,Ce,Et,"}","\\textbraceright"),ce(pe,Ce,vt,"{","\\lbrace"),ce(pe,Ce,Oe,"}","\\rbrace"),ce(pe,Ce,vt,"[","\\lbrack"),ce(Dt,Ce,Et,"[","\\lbrack"),ce(pe,Ce,Oe,"]","\\rbrack"),ce(Dt,Ce,Et,"]","\\rbrack"),ce(pe,Ce,vt,"(","\\lparen"),ce(pe,Ce,Oe,")","\\rparen"),ce(Dt,Ce,Et,"<","\\textless"),ce(Dt,Ce,Et,">","\\textgreater"),ce(pe,Ce,vt,"\u230A","\\lfloor",!0),ce(pe,Ce,Oe,"\u230B","\\rfloor",!0),ce(pe,Ce,vt,"\u2308","\\lceil",!0),ce(pe,Ce,Oe,"\u2309","\\rceil",!0),ce(pe,Ce,Et,"\\","\\backslash"),ce(pe,Ce,Et,"\u2223","|"),ce(pe,Ce,Et,"\u2223","\\vert"),ce(Dt,Ce,Et,"|","\\textbar"),ce(pe,Ce,Et,"\u2225","\\|"),ce(pe,Ce,Et,"\u2225","\\Vert"),ce(Dt,Ce,Et,"\u2225","\\textbardbl"),ce(Dt,Ce,Et,"~","\\textasciitilde"),ce(Dt,Ce,Et,"\\","\\textbackslash"),ce(Dt,Ce,Et,"^","\\textasciicircum"),ce(pe,Ce,Ne,"\u2191","\\uparrow",!0),ce(pe,Ce,Ne,"\u21D1","\\Uparrow",!0),ce(pe,Ce,Ne,"\u2193","\\downarrow",!0),ce(pe,Ce,Ne,"\u21D3","\\Downarrow",!0),ce(pe,Ce,Ne,"\u2195","\\updownarrow",!0),ce(pe,Ce,Ne,"\u21D5","\\Updownarrow",!0),ce(pe,Ce,Xe,"\u2210","\\coprod"),ce(pe,Ce,Xe,"\u22C1","\\bigvee"),ce(pe,Ce,Xe,"\u22C0","\\bigwedge"),ce(pe,Ce,Xe,"\u2A04","\\biguplus"),ce(pe,Ce,Xe,"\u22C2","\\bigcap"),ce(pe,Ce,Xe,"\u22C3","\\bigcup"),ce(pe,Ce,Xe,"\u222B","\\int"),ce(pe,Ce,Xe,"\u222B","\\intop"),ce(pe,Ce,Xe,"\u222C","\\iint"),ce(pe,Ce,Xe,"\u222D","\\iiint"),ce(pe,Ce,Xe,"\u220F","\\prod"),ce(pe,Ce,Xe,"\u2211","\\sum"),ce(pe,Ce,Xe,"\u2A02","\\bigotimes"),ce(pe,Ce,Xe,"\u2A01","\\bigoplus"),ce(pe,Ce,Xe,"\u2A00","\\bigodot"),ce(pe,Ce,Xe,"\u222E","\\oint"),ce(pe,Ce,Xe,"\u222F","\\oiint"),ce(pe,Ce,Xe,"\u2230","\\oiiint"),ce(pe,Ce,Xe,"\u2A06","\\bigsqcup"),ce(pe,Ce,Xe,"\u222B","\\smallint"),ce(Dt,Ce,wt,"\u2026","\\textellipsis"),ce(pe,Ce,wt,"\u2026","\\mathellipsis"),ce(Dt,Ce,wt,"\u2026","\\ldots",!0),ce(pe,Ce,wt,"\u2026","\\ldots",!0),ce(pe,Ce,wt,"\u22EF","\\@cdots",!0),ce(pe,Ce,wt,"\u22F1","\\ddots",!0),ce(pe,Ce,Et,"\u22EE","\\varvdots"),ce(pe,Ce,Ut,"\u02CA","\\acute"),ce(pe,Ce,Ut,"\u02CB","\\grave"),ce(pe,Ce,Ut,"\xA8","\\ddot"),ce(pe,Ce,Ut,"~","\\tilde"),ce(pe,Ce,Ut,"\u02C9","\\bar"),ce(pe,Ce,Ut,"\u02D8","\\breve"),ce(pe,Ce,Ut,"\u02C7","\\check"),ce(pe,Ce,Ut,"^","\\hat"),ce(pe,Ce,Ut,"\u20D7","\\vec"),ce(pe,Ce,Ut,"\u02D9","\\dot"),ce(pe,Ce,Ut,"\u02DA","\\mathring"),ce(pe,Ce,ye,"\u0131","\\imath",!0),ce(pe,Ce,ye,"\u0237","\\jmath",!0),ce(Dt,Ce,Et,"\u0131","\\i",!0),ce(Dt,Ce,Et,"\u0237","\\j",!0),ce(Dt,Ce,Et,"\xDF","\\ss",!0),ce(Dt,Ce,Et,"\xE6","\\ae",!0),ce(Dt,Ce,Et,"\xE6","\\ae",!0),ce(Dt,Ce,Et,"\u0153","\\oe",!0),ce(Dt,Ce,Et,"\xF8","\\o",!0),ce(Dt,Ce,Et,"\xC6","\\AE",!0),ce(Dt,Ce,Et,"\u0152","\\OE",!0),ce(Dt,Ce,Et,"\xD8","\\O",!0),ce(Dt,Ce,Ut,"\u02CA","\\'"),ce(Dt,Ce,Ut,"\u02CB","\\`"),ce(Dt,Ce,Ut,"\u02C6","\\^"),ce(Dt,Ce,Ut,"\u02DC","\\~"),ce(Dt,Ce,Ut,"\u02C9","\\="),ce(Dt,Ce,Ut,"\u02D8","\\u"),ce(Dt,Ce,Ut,"\u02D9","\\."),ce(Dt,Ce,Ut,"\u02DA","\\r"),ce(Dt,Ce,Ut,"\u02C7","\\v"),ce(Dt,Ce,Ut,"\xA8",'\\"'),ce(Dt,Ce,Ut,"\u02DD","\\H"),ce(Dt,Ce,Ut,"\u25EF","\\textcircled");var Yr={"--":!0,"---":!0,"``":!0,"''":!0};ce(Dt,Ce,Et,"\u2013","--"),ce(Dt,Ce,Et,"\u2013","\\textendash"),ce(Dt,Ce,Et,"\u2014","---"),ce(Dt,Ce,Et,"\u2014","\\textemdash"),ce(Dt,Ce,Et,"\u2018","`"),ce(Dt,Ce,Et,"\u2018","\\textquoteleft"),ce(Dt,Ce,Et,"\u2019","'"),ce(Dt,Ce,Et,"\u2019","\\textquoteright"),ce(Dt,Ce,Et,"\u201C","``"),ce(Dt,Ce,Et,"\u201C","\\textquotedblleft"),ce(Dt,Ce,Et,"\u201D","''"),ce(Dt,Ce,Et,"\u201D","\\textquotedblright"),ce(pe,Ce,Et,"\xB0","\\degree",!0),ce(Dt,Ce,Et,"\xB0","\\degree"),ce(Dt,Ce,Et,"\xB0","\\textdegree",!0),ce(pe,Ce,ye,"\xA3","\\pounds"),ce(pe,Ce,ye,"\xA3","\\mathsterling",!0),ce(Dt,Ce,ye,"\xA3","\\pounds"),ce(Dt,Ce,ye,"\xA3","\\textsterling",!0),ce(pe,ft,Et,"\u2720","\\maltese"),ce(Dt,ft,Et,"\u2720","\\maltese"),ce(Dt,Ce,Dr,"\xA0","\\ "),ce(Dt,Ce,Dr,"\xA0"," "),ce(Dt,Ce,Dr,"\xA0","~");for(var Jr='0123456789/@."',Er=0;Er<Jr.length;Er++){var $r=Jr.charAt(Er);ce(pe,Ce,Et,$r,$r)}for(var _r='0123456789!@*()-=+[]<>|";:?/.,',Hr=0;Hr<_r.length;Hr++){var on=_r.charAt(Hr);ce(Dt,Ce,Et,on,on)}for(var pn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",or=0;or<pn.length;or++){var kt=pn.charAt(or);ce(pe,Ce,ye,kt,kt),ce(Dt,Ce,Et,kt,kt)}ce(pe,ft,Et,"C","\u2102"),ce(Dt,ft,Et,"C","\u2102"),ce(pe,ft,Et,"H","\u210D"),ce(Dt,ft,Et,"H","\u210D"),ce(pe,ft,Et,"N","\u2115"),ce(Dt,ft,Et,"N","\u2115"),ce(pe,ft,Et,"P","\u2119"),ce(Dt,ft,Et,"P","\u2119"),ce(pe,ft,Et,"Q","\u211A"),ce(Dt,ft,Et,"Q","\u211A"),ce(pe,ft,Et,"R","\u211D"),ce(Dt,ft,Et,"R","\u211D"),ce(pe,ft,Et,"Z","\u2124"),ce(Dt,ft,Et,"Z","\u2124"),ce(pe,Ce,ye,"h","\u210E"),ce(Dt,Ce,ye,"h","\u210E");for(var mt="",gt=0;gt<pn.length;gt++){var Nt=pn.charAt(gt);mt=String.fromCharCode(55349,56320+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),mt=String.fromCharCode(55349,56372+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),mt=String.fromCharCode(55349,56424+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),mt=String.fromCharCode(55349,56580+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),mt=String.fromCharCode(55349,56736+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),mt=String.fromCharCode(55349,56788+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),mt=String.fromCharCode(55349,56840+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),mt=String.fromCharCode(55349,56944+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),gt<26&&(mt=String.fromCharCode(55349,56632+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt),mt=String.fromCharCode(55349,56476+gt),ce(pe,Ce,ye,Nt,mt),ce(Dt,Ce,Et,Nt,mt))}mt="\u{1D55C}",ce(pe,Ce,ye,"k",mt),ce(Dt,Ce,Et,"k",mt);for(var Ar=0;Ar<10;Ar++){var vr=Ar.toString();mt=String.fromCharCode(55349,57294+Ar),ce(pe,Ce,ye,vr,mt),ce(Dt,Ce,Et,vr,mt),mt=String.fromCharCode(55349,57314+Ar),ce(pe,Ce,ye,vr,mt),ce(Dt,Ce,Et,vr,mt),mt=String.fromCharCode(55349,57324+Ar),ce(pe,Ce,ye,vr,mt),ce(Dt,Ce,Et,vr,mt),mt=String.fromCharCode(55349,57334+Ar),ce(pe,Ce,ye,vr,mt),ce(Dt,Ce,Et,vr,mt)}for(var at="\xC7\xD0\xDE\xE7\xFE",Nr=0;Nr<at.length;Nr++){var bn=at.charAt(Nr);ce(pe,Ce,ye,bn,bn),ce(Dt,Ce,Et,bn,bn)}ce(Dt,Ce,Et,"\xF0","\xF0"),ce(Dt,Ce,Et,"\u2013","\u2013"),ce(Dt,Ce,Et,"\u2014","\u2014"),ce(Dt,Ce,Et,"\u2018","\u2018"),ce(Dt,Ce,Et,"\u2019","\u2019"),ce(Dt,Ce,Et,"\u201C","\u201C"),ce(Dt,Ce,Et,"\u201D","\u201D");var Yn=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],mr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],rn=function(Z,Y){var ne=Z.charCodeAt(0),he=Z.charCodeAt(1),Te=(ne-55296)*1024+(he-56320)+65536,qe=Y==="math"?0:1;if(119808<=Te&&Te<120484){var Tt=Math.floor((Te-119808)/26);return[Yn[Tt][2],Yn[Tt][qe]]}else if(120782<=Te&&Te<=120831){var $t=Math.floor((Te-120782)/10);return[mr[$t][2],mr[$t][qe]]}else{if(Te===120485||Te===120486)return[Yn[0][2],Yn[0][qe]];if(120486<Te&&Te<120782)return["",""];throw new o("Unsupported character: "+Z)}},gn=[[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]],Mn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ai=function(Z,Y){return Y.size<2?Z:gn[Z-1][Y.size-1]},hi=function(){function Ve(Y){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=Y.style,this.color=Y.color,this.size=Y.size||Ve.BASESIZE,this.textSize=Y.textSize||this.size,this.phantom=!!Y.phantom,this.font=Y.font||"",this.fontFamily=Y.fontFamily||"",this.fontWeight=Y.fontWeight||"",this.fontShape=Y.fontShape||"",this.sizeMultiplier=Mn[this.size-1],this.maxSize=Y.maxSize,this.minRuleThickness=Y.minRuleThickness,this._fontMetrics=void 0}var Z=Ve.prototype;return Z.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 Te in ne)ne.hasOwnProperty(Te)&&(he[Te]=ne[Te]);return new Ve(he)},Z.havingStyle=function(ne){return this.style===ne?this:this.extend({style:ne,size:ai(this.textSize,ne)})},Z.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Z.havingSize=function(ne){return this.size===ne&&this.textSize===ne?this:this.extend({style:this.style.text(),size:ne,textSize:ne,sizeMultiplier:Mn[ne-1]})},Z.havingBaseStyle=function(ne){ne=ne||this.style.text();var he=ai(Ve.BASESIZE,ne);return this.size===he&&this.textSize===Ve.BASESIZE&&this.style===ne?this:this.extend({style:ne,size:he})},Z.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})},Z.withColor=function(ne){return this.extend({color:ne})},Z.withPhantom=function(){return this.extend({phantom:!0})},Z.withFont=function(ne){return this.extend({font:ne})},Z.withTextFontFamily=function(ne){return this.extend({fontFamily:ne,font:""})},Z.withTextFontWeight=function(ne){return this.extend({fontWeight:ne,font:""})},Z.withTextFontShape=function(ne){return this.extend({fontShape:ne,font:""})},Z.sizingClasses=function(ne){return ne.size!==this.size?["sizing","reset-size"+ne.size,"size"+this.size]:[]},Z.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=zt(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},Ve}();hi.BASESIZE=6;var Vi=hi,Yi={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},Ri={ex:!0,em:!0,mu:!0},Ii=function(Z){return typeof Z!="string"&&(Z=Z.unit),Z in Yi||Z in Ri||Z==="ex"},Ti=function(Z,Y){var ne;if(Z.unit in Yi)ne=Yi[Z.unit]/Y.fontMetrics().ptPerEm/Y.sizeMultiplier;else if(Z.unit==="mu")ne=Y.fontMetrics().cssEmPerMu;else{var he;if(Y.style.isTight()?he=Y.havingStyle(Y.style.text()):he=Y,Z.unit==="ex")ne=he.fontMetrics().xHeight;else if(Z.unit==="em")ne=he.fontMetrics().quad;else throw new o("Invalid unit: '"+Z.unit+"'");he!==Y&&(ne*=he.sizeMultiplier/Y.sizeMultiplier)}return Math.min(Z.number*ne,Y.maxSize)},Ai=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],oi=function(Z,Y,ne){return Ye[ne][Z]&&Ye[ne][Z].replace&&(Z=Ye[ne][Z].replace),{value:Z,metrics:Wt(Z,Y,ne)}},Hi=function(Z,Y,ne,he,Te){var qe=oi(Z,Y,ne),Tt=qe.metrics;Z=qe.value;var $t;if(Tt){var rr=Tt.italic;(ne==="text"||he&&he.font==="mathit")&&(rr=0),$t=new Ae(Z,Tt.height,Tt.depth,rr,Tt.skew,Tt.width,Te)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+Y+"' and mode '"+ne+"'")),$t=new Ae(Z,0,0,0,0,0,Te);if(he){$t.maxFontSize=he.sizeMultiplier,he.style.isTight()&&$t.classes.push("mtight");var Tr=he.getColor();Tr&&($t.style.color=Tr)}return $t},xi=function(Z,Y,ne,he){return he===void 0&&(he=[]),ne.font==="boldsymbol"&&oi(Z,"Main-Bold",Y).metrics?Hi(Z,"Main-Bold",Y,ne,he.concat(["mathbf"])):Z==="\\"||Ye[Y][Z].font==="main"?Hi(Z,"Main-Regular",Y,ne,he):Hi(Z,"AMS-Regular",Y,ne,he.concat(["amsrm"]))},xe=function(Z,Y,ne,he){return/[0-9]/.test(Z.charAt(0))||A.contains(Ai,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Kn=function(Z,Y,ne,he){return A.contains(Ai,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(Z.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},qn=function(Z,Y,ne,he){return oi(Z,"Math-BoldItalic",Y).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Jn=function(Z,Y,ne){var he=Z.mode,Te=Z.text,qe=["mord"],Tt=he==="math"||he==="text"&&Y.font,$t=Tt?Y.font:Y.fontFamily;if(Te.charCodeAt(0)===55349){var rr=rn(Te,he),Tr=rr[0],Gr=rr[1];return Hi(Te,Tr,he,Y,qe.concat(Gr))}else if($t){var fn,Cn;if($t==="boldsymbol"||$t==="mathnormal"){var Bn=$t==="boldsymbol"?qn(Te,he,Y,qe):Kn(Te,he,Y,qe);fn=Bn.fontName,Cn=[Bn.fontClass]}else A.contains(Ai,Te)?(fn="Main-Italic",Cn=["mathit"]):Tt?(fn=He[$t].fontName,Cn=[$t]):(fn=Rr($t,Y.fontWeight,Y.fontShape),Cn=[$t,Y.fontWeight,Y.fontShape]);if(oi(Te,fn,he).metrics)return Hi(Te,fn,he,Y,qe.concat(Cn));if(Yr.hasOwnProperty(Te)&&fn.substr(0,10)==="Typewriter"){for(var Xn=[],Fi=0;Fi<Te.length;Fi++)Xn.push(Hi(Te[Fi],fn,he,Y,qe.concat(Cn)));return It(Xn)}}if(ne==="mathord"){var Zi=xe(Te,he,Y,qe);return Hi(Te,Zi.fontName,he,Y,qe.concat([Zi.fontClass]))}else if(ne==="textord"){var aa=Ye[he][Te]&&Ye[he][Te].font;if(aa==="ams"){var Sa=Rr("amsrm",Y.fontWeight,Y.fontShape);return Hi(Te,Sa,he,Y,qe.concat("amsrm",Y.fontWeight,Y.fontShape))}else if(aa==="main"||!aa){var Cs=Rr("textrm",Y.fontWeight,Y.fontShape);return Hi(Te,Cs,he,Y,qe.concat(Y.fontWeight,Y.fontShape))}else{var Ps=Rr(aa,Y.fontWeight,Y.fontShape);return Hi(Te,Ps,he,Y,qe.concat(Ps,Y.fontWeight,Y.fontShape))}}else throw new Error("unexpected type: "+ne+" in makeOrd")},oa=function(Z,Y){if(Ct(Z.classes)!==Ct(Y.classes)||Z.skew!==Y.skew||Z.maxFontSize!==Y.maxFontSize)return!1;for(var ne in Z.style)if(Z.style.hasOwnProperty(ne)&&Z.style[ne]!==Y.style[ne])return!1;for(var he in Y.style)if(Y.style.hasOwnProperty(he)&&Z.style[he]!==Y.style[he])return!1;return!0},Di=function(Z){for(var Y=0;Y<Z.length-1;Y++){var ne=Z[Y],he=Z[Y+1];ne instanceof Ae&&he instanceof Ae&&oa(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,Z.splice(Y+1,1),Y--)}return Z},Ci=function(Z){for(var Y=0,ne=0,he=0,Te=0;Te<Z.children.length;Te++){var qe=Z.children[Te];qe.height>Y&&(Y=qe.height),qe.depth>ne&&(ne=qe.depth),qe.maxFontSize>he&&(he=qe.maxFontSize)}Z.height=Y,Z.depth=ne,Z.maxFontSize=he},pi=function(Z,Y,ne,he){var Te=new pt(Z,Y,ne,he);return Ci(Te),Te},Qt=function(Z,Y,ne,he){return new pt(Z,Y,ne,he)},dt=function(Z,Y,ne){var he=pi([Z],[],Y);return he.height=Math.max(ne||Y.fontMetrics().defaultRuleThickness,Y.minRuleThickness),he.style.borderBottomWidth=he.height+"em",he.maxFontSize=1,he},rt=function(Z,Y,ne,he){var Te=new et(Z,Y,ne,he);return Ci(Te),Te},It=function(Z){var Y=new Ke(Z);return Ci(Y),Y},ht=function(Z,Y){return Z instanceof Ke?pi([],[Z],Y):Z},sr=function(Z){if(Z.positionType==="individualShift"){for(var Y=Z.children,ne=[Y[0]],he=-Y[0].shift-Y[0].elem.depth,Te=he,qe=1;qe<Y.length;qe++){var Tt=-Y[qe].shift-Te-Y[qe].elem.depth,$t=Tt-(Y[qe-1].elem.height+Y[qe-1].elem.depth);Te=Te+Tt,ne.push({type:"kern",size:$t}),ne.push(Y[qe])}return{children:ne,depth:he}}var rr;if(Z.positionType==="top"){for(var Tr=Z.positionData,Gr=0;Gr<Z.children.length;Gr++){var fn=Z.children[Gr];Tr-=fn.type==="kern"?fn.size:fn.elem.height+fn.elem.depth}rr=Tr}else if(Z.positionType==="bottom")rr=-Z.positionData;else{var Cn=Z.children[0];if(Cn.type!=="elem")throw new Error('First child must have type "elem".');if(Z.positionType==="shift")rr=-Cn.elem.depth-Z.positionData;else if(Z.positionType==="firstBaseline")rr=-Cn.elem.depth;else throw new Error("Invalid positionType "+Z.positionType+".")}return{children:Z.children,depth:rr}},cr=function(Z,Y){for(var ne=sr(Z),he=ne.children,Te=ne.depth,qe=0,Tt=0;Tt<he.length;Tt++){var $t=he[Tt];if($t.type==="elem"){var rr=$t.elem;qe=Math.max(qe,rr.maxFontSize,rr.height)}}qe+=2;var Tr=pi(["pstrut"],[]);Tr.style.height=qe+"em";for(var Gr=[],fn=Te,Cn=Te,Bn=Te,Xn=0;Xn<he.length;Xn++){var Fi=he[Xn];if(Fi.type==="kern")Bn+=Fi.size;else{var Zi=Fi.elem,aa=Fi.wrapperClasses||[],Sa=Fi.wrapperStyle||{},Cs=pi(aa,[Tr,Zi],void 0,Sa);Cs.style.top=-qe-Bn-Zi.depth+"em",Fi.marginLeft&&(Cs.style.marginLeft=Fi.marginLeft),Fi.marginRight&&(Cs.style.marginRight=Fi.marginRight),Gr.push(Cs),Bn+=Zi.height+Zi.depth}fn=Math.min(fn,Bn),Cn=Math.max(Cn,Bn)}var Ps=pi(["vlist"],Gr);Ps.style.height=Cn+"em";var Ds;if(fn<0){var Os=pi([],[]),ka=pi(["vlist"],[Os]);ka.style.height=-fn+"em";var no=pi(["vlist-s"],[new Ae("\u200B")]);Ds=[pi(["vlist-r"],[Ps,no]),pi(["vlist-r"],[ka])]}else Ds=[pi(["vlist-r"],[Ps])];var xs=pi(["vlist-t"],Ds);return Ds.length===2&&xs.classes.push("vlist-t2"),xs.height=Cn,xs.depth=-fn,xs},Cr=function(Z,Y){var ne=pi(["mspace"],[],Y),he=Ti(Z,Y);return ne.style.marginRight=he+"em",ne},Rr=function(Z,Y,ne){var he="";switch(Z){case"amsrm":he="AMS";break;case"textrm":he="Main";break;case"textsf":he="SansSerif";break;case"texttt":he="Typewriter";break;default:he=Z}var Te;return Y==="textbf"&&ne==="textit"?Te="BoldItalic":Y==="textbf"?Te="Bold":Y==="textit"?Te="Italic":Te="Regular",he+"-"+Te},He={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"}},tt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},we=function(Z,Y){var ne=tt[Z],he=ne[0],Te=ne[1],qe=ne[2],Tt=new Ue(he),$t=new Me([Tt],{width:Te+"em",height:qe+"em",style:"width:"+Te+"em",viewBox:"0 0 "+1e3*Te+" "+1e3*qe,preserveAspectRatio:"xMinYMin"}),rr=Qt(["overlay"],[$t],Y);return rr.height=qe,rr.style.height=qe+"em",rr.style.width=Te+"em",rr},st={fontMap:He,makeSymbol:Hi,mathsym:xi,makeSpan:pi,makeSvgSpan:Qt,makeLineSpan:dt,makeAnchor:rt,makeFragment:It,wrapFragment:ht,makeVList:cr,makeOrd:Jn,makeGlue:Cr,staticSvg:we,svgData:tt,tryCombineChars:Di};function ar(Ve,Z){var Y=kr(Ve,Z);if(!Y)throw new Error("Expected node of type "+Z+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return Y}function kr(Ve,Z){return Ve&&Ve.type===Z?Ve:null}function Ir(Ve,Z){var Y=xr(Ve,Z);if(!Y)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return Y}function xr(Ve,Z){return Ve&&Ve.type==="atom"&&Ve.family===Z?Ve:null}function jr(Ve){var Z=En(Ve);if(!Z)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return Z}function En(Ve){return Ve&&(Ve.type==="atom"||At.hasOwnProperty(Ve.type))?Ve:null}var yr={number:3,unit:"mu"},cn={number:4,unit:"mu"},an={number:5,unit:"mu"},dn={mord:{mop:yr,mbin:cn,mrel:an,minner:yr},mop:{mord:yr,mop:yr,mrel:an,minner:yr},mbin:{mord:cn,mop:cn,mopen:cn,minner:cn},mrel:{mord:an,mop:an,mopen:an,minner:an},mopen:{},mclose:{mop:yr,mbin:cn,mrel:an,minner:yr},mpunct:{mord:yr,mop:yr,mrel:an,mopen:yr,mclose:yr,mpunct:yr,minner:yr},minner:{mord:yr,mop:yr,mbin:cn,mrel:an,mopen:yr,mpunct:yr,minner:yr}},mn={mord:{mop:yr},mop:{mord:yr,mop:yr},mbin:{},mrel:{},mopen:{},mclose:{mop:yr},mpunct:{},minner:{mop:yr}},Oa={},Ei={},gi={};function $n(Ve){for(var Z=Ve.type,Y=Ve.names,ne=Ve.props,he=Ve.handler,Te=Ve.htmlBuilder,qe=Ve.mathmlBuilder,Tt={type:Z,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},$t=0;$t<Y.length;++$t)Oa[Y[$t]]=Tt;Z&&(Te&&(Ei[Z]=Te),qe&&(gi[Z]=qe))}function Pi(Ve){var Z=Ve.type,Y=Ve.htmlBuilder,ne=Ve.mathmlBuilder;$n({type:Z,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:Y,mathmlBuilder:ne})}var Xi=function(Z){var Y=kr(Z,"ordgroup");return Y?Y.body:[Z]},Pa=st.makeSpan,qs=["leftmost","mbin","mopen","mrel","mop","mpunct"],ja=["rightmost","mrel","mclose","mpunct"],Ws={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT},mo={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},as=function(Z,Y,ne,he){he===void 0&&(he=[null,null]);for(var Te=[],qe=0;qe<Z.length;qe++){var Tt=zi(Z[qe],Y);if(Tt instanceof Ke){var $t=Tt.children;Te.push.apply(Te,$t)}else Te.push(Tt)}if(!ne)return Te;var rr=Y;if(Z.length===1){var Tr=kr(Z[0],"sizing")||kr(Z[0],"styling");Tr&&(Tr.type==="sizing"?rr=Y.havingSize(Tr.size):Tr.type==="styling"&&(rr=Y.havingStyle(Ws[Tr.style])))}var Gr=Pa([he[0]||"leftmost"],[],Y),fn=Pa([he[1]||"rightmost"],[],Y);return Aa(Te,function(Cn,Bn){var Xn=Bn.classes[0],Fi=Cn.classes[0];Xn==="mbin"&&A.contains(ja,Fi)?Bn.classes[0]="mord":Fi==="mbin"&&A.contains(qs,Xn)&&(Cn.classes[0]="mord")},{node:Gr},fn),Aa(Te,function(Cn,Bn){var Xn=_s(Bn),Fi=_s(Cn),Zi=Xn&&Fi?Cn.hasClass("mtight")?mn[Xn][Fi]:dn[Xn][Fi]:null;if(Zi)return st.makeGlue(Zi,rr)},{node:Gr},fn),Te},Aa=function Ve(Z,Y,ne,he){he&&Z.push(he);for(var Te=0;Te<Z.length;Te++){var qe=Z[Te],Tt=$i(qe);if(Tt){Ve(Tt.children,Y,ne);continue}if(qe.classes[0]!=="mspace"){var $t=Y(qe,ne.node);$t&&(ne.insertAfter?ne.insertAfter($t):(Z.unshift($t),Te++)),ne.node=qe,ne.insertAfter=function(rr){return function(Tr){Z.splice(rr+1,0,Tr),Te++}}(Te)}}he&&Z.pop()},$i=function(Z){return Z instanceof Ke||Z instanceof et?Z:null},Gs=function Ve(Z,Y){var ne=$i(Z);if(ne){var he=ne.children;if(he.length){if(Y==="right")return Ve(he[he.length-1],"right");if(Y==="left")return Ve(he[0],"left")}}return Z},_s=function(Z,Y){return Z?(Y&&(Z=Gs(Z,Y)),mo[Z.classes[0]]||null):null},Js=function(Z,Y){var ne=["nulldelimiter"].concat(Z.baseSizingClasses());return Pa(Y.concat(ne))},zi=function(Z,Y,ne){if(!Z)return Pa();if(Ei[Z.type]){var he=Ei[Z.type](Z,Y);if(ne&&Y.size!==ne.size){he=Pa(Y.sizingClasses(ne),[he],Y);var Te=Y.sizeMultiplier/ne.sizeMultiplier;he.height*=Te,he.depth*=Te}return he}else throw new o("Got group of unknown type: '"+Z.type+"'")};function Xs(Ve,Z){var Y=Pa(["base"],Ve,Z),ne=Pa(["strut"]);return ne.style.height=Y.height+Y.depth+"em",ne.style.verticalAlign=-Y.depth+"em",Y.children.unshift(ne),Y}function No(Ve,Z){var Y=null;Ve.length===1&&Ve[0].type==="tag"&&(Y=Ve[0].tag,Ve=Ve[0].body);for(var ne=as(Ve,Z,!0),he=[],Te=[],qe=0;qe<ne.length;qe++)if(Te.push(ne[qe]),ne[qe].hasClass("mbin")||ne[qe].hasClass("mrel")||ne[qe].hasClass("allowbreak")){for(var Tt=!1;qe<ne.length-1&&ne[qe+1].hasClass("mspace")&&!ne[qe+1].hasClass("newline");)qe++,Te.push(ne[qe]),ne[qe].hasClass("nobreak")&&(Tt=!0);Tt||(he.push(Xs(Te,Z)),Te=[])}else ne[qe].hasClass("newline")&&(Te.pop(),Te.length>0&&(he.push(Xs(Te,Z)),Te=[]),he.push(ne[qe]));Te.length>0&&he.push(Xs(Te,Z));var $t;Y&&($t=Xs(as(Y,Z,!0)),$t.classes=["tag"],he.push($t));var rr=Pa(["katex-html"],he);if(rr.setAttribute("aria-hidden","true"),$t){var Tr=$t.children[0];Tr.style.height=rr.height+rr.depth+"em",Tr.style.verticalAlign=-rr.depth+"em"}return rr}function Ga(Ve){return new Ke(Ve)}var Fs=function(){function Ve(Y,ne){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=Y,this.attributes={},this.children=ne||[]}var Z=Ve.prototype;return Z.setAttribute=function(ne,he){this.attributes[ne]=he},Z.getAttribute=function(ne){return this.attributes[ne]},Z.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 Te=0;Te<this.children.length;Te++)ne.appendChild(this.children[Te].toNode());return ne},Z.toMarkup=function(){var ne="<"+this.type;for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+'="',ne+=A.escape(this.attributes[he]),ne+='"');ne+=">";for(var Te=0;Te<this.children.length;Te++)ne+=this.children[Te].toMarkup();return ne+="</"+this.type+">",ne},Z.toText=function(){return this.children.map(function(ne){return ne.toText()}).join("")},Ve}(),ci=function(){function Ve(Y){this.text=void 0,this.text=Y}var Z=Ve.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return A.escape(this.toText())},Z.toText=function(){return this.text},Ve}(),oo=function(){function Ve(Y){this.width=void 0,this.character=void 0,this.width=Y,Y>=.05555&&Y<=.05556?this.character="\u200A":Y>=.1666&&Y<=.1667?this.character="\u2009":Y>=.2222&&Y<=.2223?this.character="\u2005":Y>=.2777&&Y<=.2778?this.character="\u2005\u200A":Y>=-.05556&&Y<=-.05555?this.character="\u200A\u2063":Y>=-.1667&&Y<=-.1666?this.character="\u2009\u2063":Y>=-.2223&&Y<=-.2222?this.character="\u205F\u2063":Y>=-.2778&&Y<=-.2777?this.character="\u2005\u2063":this.character=null}var Z=Ve.prototype;return Z.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},Z.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},Z.toText=function(){return this.character?this.character:" "},Ve}(),Fn={MathNode:Fs,TextNode:ci,SpaceNode:oo,newDocumentFragment:Ga},os=function(Z,Y,ne){return Ye[Y][Z]&&Ye[Y][Z].replace&&Z.charCodeAt(0)!==55349&&!(Yr.hasOwnProperty(Z)&&ne&&(ne.fontFamily&&ne.fontFamily.substr(4,2)==="tt"||ne.font&&ne.font.substr(4,2)==="tt"))&&(Z=Ye[Y][Z].replace),new Fn.TextNode(Z)},Oo=function(Z){return Z.length===1?Z[0]:new Fn.MathNode("mrow",Z)},eo=function(Z,Y){if(Y.fontFamily==="texttt")return"monospace";if(Y.fontFamily==="textsf")return Y.fontShape==="textit"&&Y.fontWeight==="textbf"?"sans-serif-bold-italic":Y.fontShape==="textit"?"sans-serif-italic":Y.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(Y.fontShape==="textit"&&Y.fontWeight==="textbf")return"bold-italic";if(Y.fontShape==="textit")return"italic";if(Y.fontWeight==="textbf")return"bold";var ne=Y.font;if(!ne||ne==="mathnormal")return null;var he=Z.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 Te=Z.text;if(A.contains(["\\imath","\\jmath"],Te))return null;Ye[he][Te]&&Ye[he][Te].replace&&(Te=Ye[he][Te].replace);var qe=st.fontMap[ne].fontName;return Wt(Te,qe,he)?st.fontMap[ne].variant:null},ha=function(Z,Y,ne){if(Z.length===1){var he=Qi(Z[0],Y);return ne&&he instanceof Fs&&he.type==="mo"&&(he.setAttribute("lspace","0em"),he.setAttribute("rspace","0em")),[he]}for(var Te=[],qe,Tt=0;Tt<Z.length;Tt++){var $t=Qi(Z[Tt],Y);if($t instanceof Fs&&qe instanceof Fs){if($t.type==="mtext"&&qe.type==="mtext"&&$t.getAttribute("mathvariant")===qe.getAttribute("mathvariant")){var rr;(rr=qe.children).push.apply(rr,$t.children);continue}else if($t.type==="mn"&&qe.type==="mn"){var Tr;(Tr=qe.children).push.apply(Tr,$t.children);continue}else if($t.type==="mi"&&$t.children.length===1&&qe.type==="mn"){var Gr=$t.children[0];if(Gr instanceof ci&&Gr.text==="."){var fn;(fn=qe.children).push.apply(fn,$t.children);continue}}else if(qe.type==="mi"&&qe.children.length===1){var Cn=qe.children[0];if(Cn instanceof ci&&Cn.text==="\u0338"&&($t.type==="mo"||$t.type==="mi"||$t.type==="mn")){var Bn=$t.children[0];Bn instanceof ci&&Bn.text.length>0&&(Bn.text=Bn.text.slice(0,1)+"\u0338"+Bn.text.slice(1),Te.pop())}}}Te.push($t),qe=$t}return Te},ns=function(Z,Y,ne){return Oo(ha(Z,Y,ne))},Qi=function(Z,Y){if(!Z)return new Fn.MathNode("mrow");if(gi[Z.type]){var ne=gi[Z.type](Z,Y);return ne}else throw new o("Got group of unknown type: '"+Z.type+"'")};function js(Ve,Z,Y,ne){var he=ha(Ve,Y),Te;he.length===1&&he[0]instanceof Fs&&A.contains(["mrow","mtable"],he[0].type)?Te=he[0]:Te=new Fn.MathNode("mrow",he);var qe=new Fn.MathNode("annotation",[new Fn.TextNode(Z)]);qe.setAttribute("encoding","application/x-tex");var Tt=new Fn.MathNode("semantics",[Te,qe]),$t=new Fn.MathNode("math",[Tt]);$t.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var rr=ne?"katex":"katex-mathml";return st.makeSpan([rr],[$t])}var wo=function(Z){return new Vi({style:Z.displayMode?z.DISPLAY:z.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},Qo=function(Z,Y){if(Y.displayMode){var ne=["katex-display"];Y.leqno&&ne.push("leqno"),Y.fleqn&&ne.push("fleqn"),Z=st.makeSpan(ne,[Z])}return Z},Uo=function(Z,Y,ne){var he=wo(ne),Te;if(ne.output==="mathml")return js(Z,Y,he,!0);if(ne.output==="html"){var qe=No(Z,he);Te=st.makeSpan(["katex"],[qe])}else{var Tt=js(Z,Y,he,!1),$t=No(Z,he);Te=st.makeSpan(["katex"],[Tt,$t])}return Qo(Te,ne)},uo=function(Z,Y,ne){var he=wo(ne),Te=No(Z,he),qe=st.makeSpan(["katex"],[Te]);return Qo(qe,ne)},Eo=Uo,ko={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"},zo=function(Z){var Y=new Fn.MathNode("mo",[new Fn.TextNode(ko[Z.substr(1)])]);return Y.setAttribute("stretchy","true"),Y},Ro={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]},Zo=function(Z){return Z.type==="ordgroup"?Z.body.length:1},eu=function(Z,Y){function ne(){var $t=4e5,rr=Z.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],rr)){var Tr=Z,Gr=Zo(Tr.base),fn,Cn,Bn;if(Gr>5)rr==="widehat"||rr==="widecheck"?(fn=420,$t=2364,Bn=.42,Cn=rr+"4"):(fn=312,$t=2340,Bn=.34,Cn="tilde4");else{var Xn=[1,1,2,2,3,3][Gr];rr==="widehat"||rr==="widecheck"?($t=[0,1062,2364,2364,2364][Xn],fn=[0,239,300,360,420][Xn],Bn=[0,.24,.3,.3,.36,.42][Xn],Cn=rr+Xn):($t=[0,600,1033,2339,2340][Xn],fn=[0,260,286,306,312][Xn],Bn=[0,.26,.286,.3,.306,.34][Xn],Cn="tilde"+Xn)}var Fi=new Ue(Cn),Zi=new Me([Fi],{width:"100%",height:Bn+"em",viewBox:"0 0 "+$t+" "+fn,preserveAspectRatio:"none"});return{span:st.makeSvgSpan([],[Zi],Y),minWidth:0,height:Bn}}else{var aa=[],Sa=Ro[rr],Cs=Sa[0],Ps=Sa[1],Ds=Sa[2],Os=Ds/1e3,ka=Cs.length,no,xs;if(ka===1){var Pr=Sa[3];no=["hide-tail"],xs=[Pr]}else if(ka===2)no=["halfarrow-left","halfarrow-right"],xs=["xMinYMin","xMaxYMin"];else if(ka===3)no=["brace-left","brace-center","brace-right"],xs=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+ka+" children.");for(var Po=0;Po<ka;Po++){var Go=new Ue(Cs[Po]),bu=new Me([Go],{width:"400em",height:Os+"em",viewBox:"0 0 "+$t+" "+Ds,preserveAspectRatio:xs[Po]+" slice"}),Bs=st.makeSvgSpan([no[Po]],[bu],Y);if(ka===1)return{span:Bs,minWidth:Ps,height:Os};Bs.style.height=Os+"em",aa.push(Bs)}return{span:st.makeSpan(["stretchy"],aa,Y),minWidth:Ps,height:Os}}}var he=ne(),Te=he.span,qe=he.minWidth,Tt=he.height;return Te.height=Tt,Te.style.height=Tt+"em",qe>0&&(Te.style.minWidth=qe+"em"),Te},_i=function(Z,Y,ne,he){var Te,qe=Z.height+Z.depth+2*ne;if(/fbox|color/.test(Y)){if(Te=st.makeSpan(["stretchy",Y],[],he),Y==="fbox"){var Tt=he.color&&he.getColor();Tt&&(Te.style.borderColor=Tt)}}else{var $t=[];/^[bx]cancel$/.test(Y)&&$t.push(new Ge({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(Y)&&$t.push(new Ge({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var rr=new Me($t,{width:"100%",height:qe+"em"});Te=st.makeSvgSpan([],[rr],he)}return Te.height=qe,Te.style.height=qe+"em",Te},mi={encloseSpan:_i,mathMLnode:zo,svgSpan:eu},us=function(Z,Y){var ne,he,Te=kr(Z,"supsub"),qe;Te?(he=ar(Te.base,"accent"),ne=he.base,Te.base=ne,qe=ut(zi(Te,Y)),Te.base=he):(he=ar(Z,"accent"),ne=he.base);var Tt=zi(ne,Y.havingCrampedStyle()),$t=he.isShifty&&A.isCharacterBox(ne),rr=0;if($t){var Tr=A.getBaseElem(ne),Gr=zi(Tr,Y.havingCrampedStyle());rr=nt(Gr).skew}var fn=Math.min(Tt.height,Y.fontMetrics().xHeight),Cn;if(he.isStretchy)Cn=mi.svgSpan(he,Y),Cn=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"elem",elem:Cn,wrapperClasses:["svg-align"],wrapperStyle:rr>0?{width:"calc(100% - "+2*rr+"em)",marginLeft:2*rr+"em"}:void 0}]},Y);else{var Bn,Xn;he.label==="\\vec"?(Bn=st.staticSvg("vec",Y),Xn=st.svgData.vec[1]):(Bn=st.makeOrd({mode:he.mode,text:he.label},Y,"textord"),Bn=nt(Bn),Bn.italic=0,Xn=Bn.width),Cn=st.makeSpan(["accent-body"],[Bn]);var Fi=he.label==="\\textcircled";Fi&&(Cn.classes.push("accent-full"),fn=Tt.height);var Zi=rr;Fi||(Zi-=Xn/2),Cn.style.left=Zi+"em",he.label==="\\textcircled"&&(Cn.style.top=".2em"),Cn=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:-fn},{type:"elem",elem:Cn}]},Y)}var aa=st.makeSpan(["mord","accent"],[Cn],Y);return qe?(qe.children[0]=aa,qe.height=Math.max(aa.height,qe.height),qe.classes[0]="mord",qe):aa},ms=function(Z,Y){var ne=Z.isStretchy?mi.mathMLnode(Z.label):new Fn.MathNode("mo",[os(Z.label,Z.mode)]),he=new Fn.MathNode("mover",[Qi(Z.base,Y),ne]);return he.setAttribute("accent","true"),he},Ka=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(Z,Y){var ne=Y[0],he=!Ka.test(Z.funcName),Te=!he||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:he,isShifty:Te,base:ne}},htmlBuilder:us,mathmlBuilder:ms}),$n({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(Z,Y){var ne=Y[0];return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:!1,isShifty:!0,base:ne}},htmlBuilder:us,mathmlBuilder:ms}),$n({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0];return{type:"accentUnder",mode:ne.mode,label:he,base:Te}},htmlBuilder:function(Z,Y){var ne=zi(Z.base,Y),he=mi.svgSpan(Z,Y),Te=Z.label==="\\utilde"?.12:0,qe=st.makeVList({positionType:"bottom",positionData:he.height+Te,children:[{type:"elem",elem:he,wrapperClasses:["svg-align"]},{type:"kern",size:Te},{type:"elem",elem:ne}]},Y);return st.makeSpan(["mord","accentunder"],[qe],Y)},mathmlBuilder:function(Z,Y){var ne=mi.mathMLnode(Z.label),he=new Fn.MathNode("munder",[Qi(Z.base,Y),ne]);return he.setAttribute("accentunder","true"),he}});var Va=function(Z){var Y=new Fn.MathNode("mpadded",Z?[Z]:[]);return Y.setAttribute("width","+0.6em"),Y.setAttribute("lspace","0.3em"),Y};$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(Z,Y,ne){var he=Z.parser,Te=Z.funcName;return{type:"xArrow",mode:he.mode,label:Te,body:Y[0],below:ne[0]}},htmlBuilder:function(Z,Y){var ne=Y.style,he=Y.havingStyle(ne.sup()),Te=st.wrapFragment(zi(Z.body,he,Y),Y);Te.classes.push("x-arrow-pad");var qe;Z.below&&(he=Y.havingStyle(ne.sub()),qe=st.wrapFragment(zi(Z.below,he,Y),Y),qe.classes.push("x-arrow-pad"));var Tt=mi.svgSpan(Z,Y),$t=-Y.fontMetrics().axisHeight+.5*Tt.height,rr=-Y.fontMetrics().axisHeight-.5*Tt.height-.111;(Te.depth>.25||Z.label==="\\xleftequilibrium")&&(rr-=Te.depth);var Tr;if(qe){var Gr=-Y.fontMetrics().axisHeight+qe.height+.5*Tt.height+.111;Tr=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:rr},{type:"elem",elem:Tt,shift:$t},{type:"elem",elem:qe,shift:Gr}]},Y)}else Tr=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:rr},{type:"elem",elem:Tt,shift:$t}]},Y);return Tr.children[0].children[0].children[1].classes.push("svg-align"),st.makeSpan(["mrel","x-arrow"],[Tr],Y)},mathmlBuilder:function(Z,Y){var ne=mi.mathMLnode(Z.label),he;if(Z.body){var Te=Va(Qi(Z.body,Y));if(Z.below){var qe=Va(Qi(Z.below,Y));he=new Fn.MathNode("munderover",[ne,qe,Te])}else he=new Fn.MathNode("mover",[ne,Te])}else if(Z.below){var Tt=Va(Qi(Z.below,Y));he=new Fn.MathNode("munder",[ne,Tt])}else he=Va(),he=new Fn.MathNode("mover",[ne,he]);return he}}),$n({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){for(var ne=Z.parser,he=ar(Y[0],"ordgroup"),Te=he.body,qe="",Tt=0;Tt<Te.length;Tt++){var $t=ar(Te[Tt],"textord");qe+=$t.text}var rr=parseInt(qe);if(isNaN(rr))throw new o("\\@char has non-numeric argument "+qe);return{type:"textord",mode:ne.mode,text:String.fromCharCode(rr)}}});var As=function(Z,Y){var ne=as(Z.body,Y.withColor(Z.color),!1);return st.makeFragment(ne)},uu=function(Z,Y){var ne=ha(Z.body,Y.withColor(Z.color)),he=new Fn.MathNode("mstyle",ne);return he.setAttribute("mathcolor",Z.color),he};$n({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(Z,Y){var ne=Z.parser,he=ar(Y[0],"color-token").color,Te=Y[1];return{type:"color",mode:ne.mode,color:he,body:Xi(Te)}},htmlBuilder:As,mathmlBuilder:uu}),$n({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(Z,Y){var ne=Z.parser,he=Z.breakOnTokenText,Te=ar(Y[0],"color-token").color;ne.gullet.macros.set("\\current@color",Te);var qe=ne.parseExpression(!0,he);return{type:"color",mode:ne.mode,color:Te,body:qe}},htmlBuilder:As,mathmlBuilder:uu}),$n({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,Y,ne){var he=Z.parser,Te=Z.funcName,qe=ne[0],Tt=Te==="\\cr",$t=!1;return Tt||(he.settings.displayMode&&he.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?$t=!1:$t=!0),{type:"cr",mode:he.mode,newLine:$t,newRow:Tt,size:qe&&ar(qe,"size").value}},htmlBuilder:function(Z,Y){if(Z.newRow)throw new o("\\cr valid only within a tabular/array environment");var ne=st.makeSpan(["mspace"],[],Y);return Z.newLine&&(ne.classes.push("newline"),Z.size&&(ne.style.marginTop=Ti(Z.size,Y)+"em")),ne},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mspace");return Z.newLine&&(ne.setAttribute("linebreak","newline"),Z.size&&ne.setAttribute("height",Ti(Z.size,Y)+"em")),ne}});var Ts=function(Z,Y,ne){var he=Ye.math[Z]&&Ye.math[Z].replace,Te=Wt(he||Z,Y,ne);if(!Te)throw new Error("Unsupported symbol "+Z+" and font size "+Y+".");return Te},lu=function(Z,Y,ne,he){var Te=ne.havingBaseStyle(Y),qe=st.makeSpan(he.concat(Te.sizingClasses(ne)),[Z],ne),Tt=Te.sizeMultiplier/ne.sizeMultiplier;return qe.height*=Tt,qe.depth*=Tt,qe.maxFontSize=Te.sizeMultiplier,qe},yu=function(Z,Y,ne){var he=Y.havingBaseStyle(ne),Te=(1-Y.sizeMultiplier/he.sizeMultiplier)*Y.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=Te+"em",Z.height-=Te,Z.depth+=Te},Cu=function(Z,Y,ne,he,Te,qe){var Tt=st.makeSymbol(Z,"Main-Regular",Te,he),$t=lu(Tt,Y,he,qe);return ne&&yu($t,he,Y),$t},Fu=function(Z,Y,ne,he){return st.makeSymbol(Z,"Size"+Y+"-Regular",ne,he)},xl=function(Z,Y,ne,he,Te,qe){var Tt=Fu(Z,Y,Te,he),$t=lu(st.makeSpan(["delimsizing","size"+Y],[Tt],he),z.TEXT,he,qe);return ne&&yu($t,he,z.TEXT),$t},Ho=function(Z,Y,ne){var he;Y==="Size1-Regular"?he="delim-size1":he="delim-size4";var Te=st.makeSpan(["delimsizinginner",he],[st.makeSpan([],[st.makeSymbol(Z,Y,ne)])]);return{type:"elem",elem:Te}},Lo={type:"kern",size:-.005},Mo=function(Z,Y,ne,he,Te,qe){var Tt,$t,rr,Tr;Tt=rr=Tr=Z,$t=null;var Gr="Size1-Regular";Z==="\\uparrow"?rr=Tr="\u23D0":Z==="\\Uparrow"?rr=Tr="\u2016":Z==="\\downarrow"?Tt=rr="\u23D0":Z==="\\Downarrow"?Tt=rr="\u2016":Z==="\\updownarrow"?(Tt="\\uparrow",rr="\u23D0",Tr="\\downarrow"):Z==="\\Updownarrow"?(Tt="\\Uparrow",rr="\u2016",Tr="\\Downarrow"):Z==="["||Z==="\\lbrack"?(Tt="\u23A1",rr="\u23A2",Tr="\u23A3",Gr="Size4-Regular"):Z==="]"||Z==="\\rbrack"?(Tt="\u23A4",rr="\u23A5",Tr="\u23A6",Gr="Size4-Regular"):Z==="\\lfloor"||Z==="\u230A"?(rr=Tt="\u23A2",Tr="\u23A3",Gr="Size4-Regular"):Z==="\\lceil"||Z==="\u2308"?(Tt="\u23A1",rr=Tr="\u23A2",Gr="Size4-Regular"):Z==="\\rfloor"||Z==="\u230B"?(rr=Tt="\u23A5",Tr="\u23A6",Gr="Size4-Regular"):Z==="\\rceil"||Z==="\u2309"?(Tt="\u23A4",rr=Tr="\u23A5",Gr="Size4-Regular"):Z==="("||Z==="\\lparen"?(Tt="\u239B",rr="\u239C",Tr="\u239D",Gr="Size4-Regular"):Z===")"||Z==="\\rparen"?(Tt="\u239E",rr="\u239F",Tr="\u23A0",Gr="Size4-Regular"):Z==="\\{"||Z==="\\lbrace"?(Tt="\u23A7",$t="\u23A8",Tr="\u23A9",rr="\u23AA",Gr="Size4-Regular"):Z==="\\}"||Z==="\\rbrace"?(Tt="\u23AB",$t="\u23AC",Tr="\u23AD",rr="\u23AA",Gr="Size4-Regular"):Z==="\\lgroup"||Z==="\u27EE"?(Tt="\u23A7",Tr="\u23A9",rr="\u23AA",Gr="Size4-Regular"):Z==="\\rgroup"||Z==="\u27EF"?(Tt="\u23AB",Tr="\u23AD",rr="\u23AA",Gr="Size4-Regular"):Z==="\\lmoustache"||Z==="\u23B0"?(Tt="\u23A7",Tr="\u23AD",rr="\u23AA",Gr="Size4-Regular"):(Z==="\\rmoustache"||Z==="\u23B1")&&(Tt="\u23AB",Tr="\u23A9",rr="\u23AA",Gr="Size4-Regular");var fn=Ts(Tt,Gr,Te),Cn=fn.height+fn.depth,Bn=Ts(rr,Gr,Te),Xn=Bn.height+Bn.depth,Fi=Ts(Tr,Gr,Te),Zi=Fi.height+Fi.depth,aa=0,Sa=1;if($t!==null){var Cs=Ts($t,Gr,Te);aa=Cs.height+Cs.depth,Sa=2}var Ps=Cn+Zi+aa,Ds=Math.max(0,Math.ceil((Y-Ps)/(Sa*Xn))),Os=Ps+Ds*Sa*Xn,ka=he.fontMetrics().axisHeight;ne&&(ka*=he.sizeMultiplier);var no=Os/2-ka,xs=(Ds+1)*.005-Xn,Pr=[];if(Pr.push(Ho(Tr,Gr,Te)),$t===null)for(var Po=0;Po<Ds;Po++)Pr.push(Lo),Pr.push(Ho(rr,Gr,Te));else{for(var Go=0;Go<Ds;Go++)Pr.push(Lo),Pr.push(Ho(rr,Gr,Te));Pr.push({type:"kern",size:xs}),Pr.push(Ho(rr,Gr,Te)),Pr.push(Lo),Pr.push(Ho($t,Gr,Te));for(var bu=0;bu<Ds;bu++)Pr.push(Lo),Pr.push(Ho(rr,Gr,Te))}Pr.push({type:"kern",size:xs}),Pr.push(Ho(rr,Gr,Te)),Pr.push(Lo),Pr.push(Ho(Tt,Gr,Te));var Bs=he.havingBaseStyle(z.TEXT),Ko=st.makeVList({positionType:"bottom",positionData:no,children:Pr},Bs);return lu(st.makeSpan(["delimsizing","mult"],[Ko],Bs),z.TEXT,he,qe)},zu=80,vo=.08,Zu=function(Z,Y,ne,he,Te){var qe=Vt(Z,he,ne),Tt=new Ue(Z,qe),$t=new Me([Tt],{width:"400em",height:Y+"em",viewBox:"0 0 400000 "+ne,preserveAspectRatio:"xMinYMin slice"});return st.makeSvgSpan(["hide-tail"],[$t],Te)},Pu=function(Z,Y){var ne=Y.havingBaseSizing(),he=Sr("\\surd",Z*ne.sizeMultiplier,ir,ne),Te=ne.sizeMultiplier,qe=Math.max(0,Y.minRuleThickness-Y.fontMetrics().sqrtRuleThickness),Tt,$t=0,rr=0,Tr=0,Gr;return he.type==="small"?(Tr=1e3+1e3*qe+zu,Z<1?Te=1:Z<1.4&&(Te=.7),$t=(1+qe+vo)/Te,rr=(1+qe)/Te,Tt=Zu("sqrtMain",$t,Tr,qe,Y),Tt.style.minWidth="0.853em",Gr=.833/Te):he.type==="large"?(Tr=(1e3+zu)*To[he.size],rr=(To[he.size]+qe)/Te,$t=(To[he.size]+qe+vo)/Te,Tt=Zu("sqrtSize"+he.size,$t,Tr,qe,Y),Tt.style.minWidth="1.02em",Gr=1/Te):($t=Z+qe+vo,rr=Z+qe,Tr=Math.floor(1e3*Z+qe)+zu,Tt=Zu("sqrtTall",$t,Tr,qe,Y),Tt.style.minWidth="0.742em",Gr=1.056),Tt.height=rr,Tt.style.height=$t+"em",{span:Tt,advanceWidth:Gr,ruleWidth:(Y.fontMetrics().sqrtRuleThickness+qe)*Te}},cu=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],vu=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],to=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],To=[0,1.2,1.8,2.4,3],fu=function(Z,Y,ne,he,Te){if(Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle"),A.contains(cu,Z)||A.contains(to,Z))return xl(Z,Y,!1,ne,he,Te);if(A.contains(vu,Z))return Mo(Z,To[Y],!1,ne,he,Te);throw new o("Illegal delimiter: '"+Z+"'")},Xt=[{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}],fr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"stack"}],ir=[{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"}],dr=function(Z){if(Z.type==="small")return"Main-Regular";if(Z.type==="large")return"Size"+Z.size+"-Regular";if(Z.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+Z.type+"' here.")},Sr=function(Z,Y,ne,he){for(var Te=Math.min(2,3-he.style.size),qe=Te;qe<ne.length&&ne[qe].type!=="stack";qe++){var Tt=Ts(Z,dr(ne[qe]),"math"),$t=Tt.height+Tt.depth;if(ne[qe].type==="small"){var rr=he.havingBaseStyle(ne[qe].style);$t*=rr.sizeMultiplier}if($t>Y)return ne[qe]}return ne[ne.length-1]},vn=function(Z,Y,ne,he,Te,qe){Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle");var Tt;A.contains(to,Z)?Tt=Xt:A.contains(cu,Z)?Tt=ir:Tt=fr;var $t=Sr(Z,Y,Tt,he);return $t.type==="small"?Cu(Z,$t.style,ne,he,Te,qe):$t.type==="large"?xl(Z,$t.size,ne,he,Te,qe):Mo(Z,Y,ne,he,Te,qe)},Wn=function(Z,Y,ne,he,Te,qe){var Tt=he.fontMetrics().axisHeight*he.sizeMultiplier,$t=901,rr=5/he.fontMetrics().ptPerEm,Tr=Math.max(Y-Tt,ne+Tt),Gr=Math.max(Tr/500*$t,2*Tr-rr);return vn(Z,Gr,!0,he,Te,qe)},Dn={sqrtImage:Pu,sizedDelim:fu,customSizedDelim:vn,leftRightDelim:Wn},jn={"\\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}},ui=["(","\\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 ei(Ve,Z){var Y=En(Ve);if(Y&&A.contains(ui,Y.text))return Y;throw new o("Invalid delimiter: '"+(Y?Y.text:JSON.stringify(Ve))+"' after '"+Z.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(Z,Y){var ne=ei(Y[0],Z);return{type:"delimsizing",mode:Z.parser.mode,size:jn[Z.funcName].size,mclass:jn[Z.funcName].mclass,delim:ne.text}},htmlBuilder:function(Z,Y){return Z.delim==="."?st.makeSpan([Z.mclass]):Dn.sizedDelim(Z.delim,Z.size,Y,Z.mode,[Z.mclass])},mathmlBuilder:function(Z){var Y=[];Z.delim!=="."&&Y.push(os(Z.delim,Z.mode));var ne=new Fn.MathNode("mo",Y);return Z.mclass==="mopen"||Z.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(Z,Y){var ne=Z.parser.gullet.macros.get("\\current@color");if(ne&&typeof ne!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Z.parser.mode,delim:ei(Y[0],Z).text,color:ne}}}),$n({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(Z,Y){var ne=ei(Y[0],Z),he=Z.parser;++he.leftrightDepth;var Te=he.parseExpression(!1);--he.leftrightDepth,he.expect("\\right",!1);var qe=ar(he.parseFunction(),"leftright-right");return{type:"leftright",mode:he.mode,body:Te,left:ne.text,right:qe.delim,rightColor:qe.color}},htmlBuilder:function(Z,Y){ur(Z);for(var ne=as(Z.body,Y,!0,["mopen","mclose"]),he=0,Te=0,qe=!1,Tt=0;Tt<ne.length;Tt++)ne[Tt].isMiddle?qe=!0:(he=Math.max(ne[Tt].height,he),Te=Math.max(ne[Tt].depth,Te));he*=Y.sizeMultiplier,Te*=Y.sizeMultiplier;var $t;if(Z.left==="."?$t=Js(Y,["mopen"]):$t=Dn.leftRightDelim(Z.left,he,Te,Y,Z.mode,["mopen"]),ne.unshift($t),qe)for(var rr=1;rr<ne.length;rr++){var Tr=ne[rr],Gr=Tr.isMiddle;Gr&&(ne[rr]=Dn.leftRightDelim(Gr.delim,he,Te,Gr.options,Z.mode,[]))}var fn;if(Z.right===".")fn=Js(Y,["mclose"]);else{var Cn=Z.rightColor?Y.withColor(Z.rightColor):Y;fn=Dn.leftRightDelim(Z.right,he,Te,Cn,Z.mode,["mclose"])}return ne.push(fn),st.makeSpan(["minner"],ne,Y)},mathmlBuilder:function(Z,Y){ur(Z);var ne=ha(Z.body,Y);if(Z.left!=="."){var he=new Fn.MathNode("mo",[os(Z.left,Z.mode)]);he.setAttribute("fence","true"),ne.unshift(he)}if(Z.right!=="."){var Te=new Fn.MathNode("mo",[os(Z.right,Z.mode)]);Te.setAttribute("fence","true"),Z.rightColor&&Te.setAttribute("mathcolor",Z.rightColor),ne.push(Te)}return Oo(ne)}}),$n({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(Z,Y){var ne=ei(Y[0],Z);if(!Z.parser.leftrightDepth)throw new o("\\middle without preceding \\left",ne);return{type:"middle",mode:Z.parser.mode,delim:ne.text}},htmlBuilder:function(Z,Y){var ne;if(Z.delim===".")ne=Js(Y,[]);else{ne=Dn.sizedDelim(Z.delim,1,Y,Z.mode,[]);var he={delim:Z.delim,options:Y};ne.isMiddle=he}return ne},mathmlBuilder:function(Z,Y){var ne=Z.delim==="\\vert"||Z.delim==="|"?os("|","text"):os(Z.delim,Z.mode),he=new Fn.MathNode("mo",[ne]);return he.setAttribute("fence","true"),he.setAttribute("lspace","0.05em"),he.setAttribute("rspace","0.05em"),he}});var Mr=function(Z,Y){var ne=st.wrapFragment(zi(Z.body,Y),Y),he=Z.label.substr(1),Te=Y.sizeMultiplier,qe,Tt=0,$t=A.isCharacterBox(Z.body);if(he==="sout")qe=st.makeSpan(["stretchy","sout"]),qe.height=Y.fontMetrics().defaultRuleThickness/Te,Tt=-.5*Y.fontMetrics().xHeight;else{/cancel/.test(he)?$t||ne.classes.push("cancel-pad"):ne.classes.push("boxpad");var rr=0,Tr=0;/box/.test(he)?(Tr=Math.max(Y.fontMetrics().fboxrule,Y.minRuleThickness),rr=Y.fontMetrics().fboxsep+(he==="colorbox"?0:Tr)):rr=$t?.2:0,qe=mi.encloseSpan(ne,he,rr,Y),/fbox|boxed|fcolorbox/.test(he)&&(qe.style.borderStyle="solid",qe.style.borderWidth=Tr+"em"),Tt=ne.depth+rr,Z.backgroundColor&&(qe.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(qe.style.borderColor=Z.borderColor))}var Gr;return Z.backgroundColor?Gr=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qe,shift:Tt},{type:"elem",elem:ne,shift:0}]},Y):Gr=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ne,shift:0},{type:"elem",elem:qe,shift:Tt,wrapperClasses:/cancel/.test(he)?["svg-align"]:[]}]},Y),/cancel/.test(he)&&(Gr.height=ne.height,Gr.depth=ne.depth),/cancel/.test(he)&&!$t?st.makeSpan(["mord","cancel-lap"],[Gr],Y):st.makeSpan(["mord"],[Gr],Y)},Fr=function(Z,Y){var ne=0,he=new Fn.MathNode(Z.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Qi(Z.body,Y)]);switch(Z.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=Y.fontMetrics().fboxsep*Y.fontMetrics().ptPerEm,he.setAttribute("width","+"+2*ne+"pt"),he.setAttribute("height","+"+2*ne+"pt"),he.setAttribute("lspace",ne+"pt"),he.setAttribute("voffset",ne+"pt"),Z.label==="\\fcolorbox"){var Te=Math.max(Y.fontMetrics().fboxrule,Y.minRuleThickness);he.setAttribute("style","border: "+Te+"em solid "+String(Z.borderColor))}break;case"\\xcancel":he.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Z.backgroundColor&&he.setAttribute("mathbackground",Z.backgroundColor),he};$n({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(Z,Y,ne){var he=Z.parser,Te=Z.funcName,qe=ar(Y[0],"color-token").color,Tt=Y[1];return{type:"enclose",mode:he.mode,label:Te,backgroundColor:qe,body:Tt}},htmlBuilder:Mr,mathmlBuilder:Fr}),$n({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(Z,Y,ne){var he=Z.parser,Te=Z.funcName,qe=ar(Y[0],"color-token").color,Tt=ar(Y[1],"color-token").color,$t=Y[2];return{type:"enclose",mode:he.mode,label:Te,backgroundColor:Tt,borderColor:qe,body:$t}},htmlBuilder:Mr,mathmlBuilder:Fr}),$n({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Z,Y){var ne=Z.parser;return{type:"enclose",mode:ne.mode,label:"\\fbox",body:Y[0]}}}),$n({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(Z,Y,ne){var he=Z.parser,Te=Z.funcName,qe=Y[0];return{type:"enclose",mode:he.mode,label:Te,body:qe}},htmlBuilder:Mr,mathmlBuilder:Fr});var Sn={};function Tn(Ve){for(var Z=Ve.type,Y=Ve.names,ne=Ve.props,he=Ve.handler,Te=Ve.htmlBuilder,qe=Ve.mathmlBuilder,Tt={type:Z,numArgs:ne.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:he},$t=0;$t<Y.length;++$t)Sn[Y[$t]]=Tt;Te&&(Ei[Z]=Te),qe&&(gi[Z]=qe)}function _t(Ve){var Z=[];Ve.consumeSpaces();for(var Y=Ve.fetch().text;Y==="\\hline"||Y==="\\hdashline";)Ve.consume(),Z.push(Y==="\\hdashline"),Ve.consumeSpaces(),Y=Ve.fetch().text;return Z}function Un(Ve,Z,Y){var ne=Z.hskipBeforeAndAfter,he=Z.addJot,Te=Z.cols,qe=Z.arraystretch,Tt=Z.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!qe){var $t=Ve.gullet.expandMacroAsText("\\arraystretch");if($t==null)qe=1;else if(qe=parseFloat($t),!qe||qe<0)throw new o("Invalid \\arraystretch: "+$t)}Ve.gullet.beginGroup();var rr=[],Tr=[rr],Gr=[],fn=[];for(fn.push(_t(Ve));;){var Cn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),Cn={type:"ordgroup",mode:Ve.mode,body:Cn},Y&&(Cn={type:"styling",mode:Ve.mode,style:Y,body:[Cn]}),rr.push(Cn);var Bn=Ve.fetch().text;if(Bn==="&")Ve.consume();else if(Bn==="\\end"){rr.length===1&&Cn.type==="styling"&&Cn.body[0].body.length===0&&Tr.pop(),fn.length<Tr.length+1&&fn.push([]);break}else if(Bn==="\\cr"){var Xn=ar(Ve.parseFunction(),"cr");Gr.push(Xn.size),fn.push(_t(Ve)),rr=[],Tr.push(rr)}else throw new o("Expected & or \\\\ or \\cr or \\end",Ve.nextToken)}return Ve.gullet.endGroup(),Ve.gullet.endGroup(),{type:"array",mode:Ve.mode,addJot:he,arraystretch:qe,body:Tr,cols:Te,rowGaps:Gr,hskipBeforeAndAfter:ne,hLinesBeforeRow:fn,colSeparationType:Tt}}function Hn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var Li=function(Z,Y){var ne,he,Te=Z.body.length,qe=Z.hLinesBeforeRow,Tt=0,$t=new Array(Te),rr=[],Tr=Math.max(Y.fontMetrics().arrayRuleWidth,Y.minRuleThickness),Gr=1/Y.fontMetrics().ptPerEm,fn=5*Gr;if(Z.colSeparationType&&Z.colSeparationType==="small"){var Cn=Y.havingStyle(z.SCRIPT).sizeMultiplier;fn=.2778*(Cn/Y.sizeMultiplier)}var Bn=12*Gr,Xn=3*Gr,Fi=Z.arraystretch*Bn,Zi=.7*Fi,aa=.3*Fi,Sa=0;function Cs(tu){for(var cl=0;cl<tu.length;++cl)cl>0&&(Sa+=.25),rr.push({pos:Sa,isDashed:tu[cl]})}for(Cs(qe[0]),ne=0;ne<Z.body.length;++ne){var Ps=Z.body[ne],Ds=Zi,Os=aa;Tt<Ps.length&&(Tt=Ps.length);var ka=new Array(Ps.length);for(he=0;he<Ps.length;++he){var no=zi(Ps[he],Y);Os<no.depth&&(Os=no.depth),Ds<no.height&&(Ds=no.height),ka[he]=no}var xs=Z.rowGaps[ne],Pr=0;xs&&(Pr=Ti(xs,Y),Pr>0&&(Pr+=aa,Os<Pr&&(Os=Pr),Pr=0)),Z.addJot&&(Os+=Xn),ka.height=Ds,ka.depth=Os,Sa+=Ds,ka.pos=Sa,Sa+=Os+Pr,$t[ne]=ka,Cs(qe[ne+1])}var Po=Sa/2+Y.fontMetrics().axisHeight,Go=Z.cols||[],bu=[],Bs,Ko;for(he=0,Ko=0;he<Tt||Ko<Go.length;++he,++Ko){for(var Du=Go[Ko]||{},cc=!0;Du.type==="separator";){if(cc||(Bs=st.makeSpan(["arraycolsep"],[]),Bs.style.width=Y.fontMetrics().doubleRuleSep+"em",bu.push(Bs)),Du.separator==="|"||Du.separator===":"){var Sl=Du.separator==="|"?"solid":"dashed",ss=st.makeSpan(["vertical-separator"],[],Y);ss.style.height=Sa+"em",ss.style.borderRightWidth=Tr+"em",ss.style.borderRightStyle=Sl,ss.style.margin="0 -"+Tr/2+"em",ss.style.verticalAlign=-(Sa-Po)+"em",bu.push(ss)}else throw new o("Invalid separator type: "+Du.separator);Ko++,Du=Go[Ko]||{},cc=!1}if(!(he>=Tt)){var ll=void 0;(he>0||Z.hskipBeforeAndAfter)&&(ll=A.deflt(Du.pregap,fn),ll!==0&&(Bs=st.makeSpan(["arraycolsep"],[]),Bs.style.width=ll+"em",bu.push(Bs)));var Ns=[];for(ne=0;ne<Te;++ne){var Wu=$t[ne],el=Wu[he];if(el){var Vo=Wu.pos-Po;el.depth=Wu.depth,el.height=Wu.height,Ns.push({type:"elem",elem:el,shift:Vo})}}Ns=st.makeVList({positionType:"individualShift",children:Ns},Y),Ns=st.makeSpan(["col-align-"+(Du.align||"c")],[Ns]),bu.push(Ns),(he<Tt-1||Z.hskipBeforeAndAfter)&&(ll=A.deflt(Du.postgap,fn),ll!==0&&(Bs=st.makeSpan(["arraycolsep"],[]),Bs.style.width=ll+"em",bu.push(Bs)))}}if($t=st.makeSpan(["mtable"],bu),rr.length>0){for(var zs=st.makeLineSpan("hline",Y,Tr),fc=st.makeLineSpan("hdashline",Y,Tr),xu=[{type:"elem",elem:$t,shift:0}];rr.length>0;){var Hl=rr.pop(),Io=Hl.pos-Po;Hl.isDashed?xu.push({type:"elem",elem:fc,shift:Io}):xu.push({type:"elem",elem:zs,shift:Io})}$t=st.makeVList({positionType:"individualShift",children:xu},Y)}return st.makeSpan(["mord"],[$t],Y)},ia={c:"center ",l:"left ",r:"right "},Kr=function(Z,Y){var ne=new Fn.MathNode("mtable",Z.body.map(function(Sa){return new Fn.MathNode("mtr",Sa.map(function(Cs){return new Fn.MathNode("mtd",[Qi(Cs,Y)])}))})),he=Z.arraystretch===.5?.1:.16+Z.arraystretch-1+(Z.addJot?.09:0);ne.setAttribute("rowspacing",he+"em");var Te="",qe="";if(Z.cols){var Tt=Z.cols,$t="",rr=!1,Tr=0,Gr=Tt.length;Tt[0].type==="separator"&&(Te+="top ",Tr=1),Tt[Tt.length-1].type==="separator"&&(Te+="bottom ",Gr-=1);for(var fn=Tr;fn<Gr;fn++)Tt[fn].type==="align"?(qe+=ia[Tt[fn].align],rr&&($t+="none "),rr=!0):Tt[fn].type==="separator"&&rr&&($t+=Tt[fn].separator==="|"?"solid ":"dashed ",rr=!1);ne.setAttribute("columnalign",qe.trim()),/[sd]/.test($t)&&ne.setAttribute("columnlines",$t.trim())}if(Z.colSeparationType==="align"){for(var Cn=Z.cols||[],Bn="",Xn=1;Xn<Cn.length;Xn++)Bn+=Xn%2?"0em ":"1em ";ne.setAttribute("columnspacing",Bn.trim())}else Z.colSeparationType==="alignat"?ne.setAttribute("columnspacing","0em"):Z.colSeparationType==="small"?ne.setAttribute("columnspacing","0.2778em"):ne.setAttribute("columnspacing","1em");var Fi="",Zi=Z.hLinesBeforeRow;Te+=Zi[0].length>0?"left ":"",Te+=Zi[Zi.length-1].length>0?"right ":"";for(var aa=1;aa<Zi.length-1;aa++)Fi+=Zi[aa].length===0?"none ":Zi[aa][0]?"dashed ":"solid ";return/[sd]/.test(Fi)&&ne.setAttribute("rowlines",Fi.trim()),Te!==""&&(ne=new Fn.MathNode("menclose",[ne]),ne.setAttribute("notation",Te.trim())),Z.arraystretch&&Z.arraystretch<1&&(ne=new Fn.MathNode("mstyle",[ne]),ne.setAttribute("scriptlevel","1")),ne},ba=function(Z,Y){var ne=[],he=Un(Z.parser,{cols:ne,addJot:!0},"display"),Te,qe=0,Tt={type:"ordgroup",mode:Z.mode,body:[]},$t=kr(Y[0],"ordgroup");if($t){for(var rr="",Tr=0;Tr<$t.body.length;Tr++){var Gr=ar($t.body[Tr],"textord");rr+=Gr.text}Te=Number(rr),qe=Te*2}var fn=!qe;he.body.forEach(function(Fi){for(var Zi=1;Zi<Fi.length;Zi+=2){var aa=ar(Fi[Zi],"styling"),Sa=ar(aa.body[0],"ordgroup");Sa.body.unshift(Tt)}if(fn)qe<Fi.length&&(qe=Fi.length);else{var Cs=Fi.length/2;if(Te<Cs)throw new o("Too many math in a row: "+("expected "+Te+", but got "+Cs),Fi[0])}});for(var Cn=0;Cn<qe;++Cn){var Bn="r",Xn=0;Cn%2===1?Bn="l":Cn>0&&fn&&(Xn=1),ne[Cn]={type:"align",align:Bn,pregap:Xn,postgap:0}}return he.colSeparationType=fn?"align":"alignat",he};Tn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Z,Y){var ne=En(Y[0]),he=ne?[Y[0]]:ar(Y[0],"ordgroup").body,Te=he.map(function(Tt){var $t=jr(Tt),rr=$t.text;if("lcr".indexOf(rr)!==-1)return{type:"align",align:rr};if(rr==="|")return{type:"separator",separator:"|"};if(rr===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+rr,Tt)}),qe={cols:Te,hskipBeforeAndAfter:!0};return Un(Z.parser,qe,Hn(Z.envName))},htmlBuilder:Li,mathmlBuilder:Kr}),Tn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(Z){var Y={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Z.envName],ne={hskipBeforeAndAfter:!1},he=Un(Z.parser,ne,Hn(Z.envName));return Y?{type:"leftright",mode:Z.mode,body:[he],left:Y[0],right:Y[1],rightColor:void 0}:he},htmlBuilder:Li,mathmlBuilder:Kr}),Tn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Z){var Y={arraystretch:.5},ne=Un(Z.parser,Y,"script");return ne.colSeparationType="small",ne},htmlBuilder:Li,mathmlBuilder:Kr}),Tn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Z,Y){var ne=En(Y[0]),he=ne?[Y[0]]:ar(Y[0],"ordgroup").body,Te=he.map(function(Tt){var $t=jr(Tt),rr=$t.text;if("lc".indexOf(rr)!==-1)return{type:"align",align:rr};throw new o("Unknown column alignment: "+rr,Tt)});if(Te.length>1)throw new o("{subarray} can contain only one column");var qe={cols:Te,hskipBeforeAndAfter:!1,arraystretch:.5};if(qe=Un(Z.parser,qe,"script"),qe.body[0].length>1)throw new o("{subarray} can contain only one column");return qe},htmlBuilder:Li,mathmlBuilder:Kr}),Tn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(Z){var Y={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ne=Un(Z.parser,Y,Hn(Z.envName));return{type:"leftright",mode:Z.mode,body:[ne],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:Li,mathmlBuilder:Kr}),Tn({type:"array",names:["aligned"],props:{numArgs:0},handler:ba,htmlBuilder:Li,mathmlBuilder:Kr}),Tn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(Z){var Y={cols:[{type:"align",align:"c"}],addJot:!0};return Un(Z.parser,Y,"display")},htmlBuilder:Li,mathmlBuilder:Kr}),Tn({type:"array",names:["alignedat"],props:{numArgs:1},handler:ba,htmlBuilder:Li,mathmlBuilder:Kr}),$n({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Z,Y){throw new o(Z.funcName+" valid only within array environment")}});var qi=Sn,Ia=qi;$n({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0];if(Te.type!=="ordgroup")throw new o("Invalid environment name",Te);for(var qe="",Tt=0;Tt<Te.body.length;++Tt)qe+=ar(Te.body[Tt],"textord").text;if(he==="\\begin"){if(!Ia.hasOwnProperty(qe))throw new o("No such environment: "+qe,Te);var $t=Ia[qe],rr=ne.parseArguments("\\begin{"+qe+"}",$t),Tr=rr.args,Gr=rr.optArgs,fn={mode:ne.mode,envName:qe,parser:ne},Cn=$t.handler(fn,Tr,Gr);ne.expect("\\end",!1);var Bn=ne.nextToken,Xn=ar(ne.parseFunction(),"environment");if(Xn.name!==qe)throw new o("Mismatch: \\begin{"+qe+"} matched by \\end{"+Xn.name+"}",Bn);return Cn}return{type:"environment",mode:ne.mode,name:qe,nameGroup:Te}}});var lo=st.makeSpan;function Ks(Ve,Z){var Y=as(Ve.body,Z,!0);return lo([Ve.mclass],Y,Z)}function Wi(Ve,Z){var Y,ne=ha(Ve.body,Z);return Ve.mclass==="minner"?Fn.newDocumentFragment(ne):(Ve.mclass==="mord"?Ve.isCharacterBox?(Y=ne[0],Y.type="mi"):Y=new Fn.MathNode("mi",ne):(Ve.isCharacterBox?(Y=ne[0],Y.type="mo"):Y=new Fn.MathNode("mo",ne),Ve.mclass==="mbin"?(Y.attributes.lspace="0.22em",Y.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(Y.attributes.lspace="0em",Y.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(Y.attributes.lspace="0em",Y.attributes.rspace="0em")),Y)}$n({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0];return{type:"mclass",mode:ne.mode,mclass:"m"+he.substr(5),body:Xi(Te),isCharacterBox:A.isCharacterBox(Te)}},htmlBuilder:Ks,mathmlBuilder:Wi});var co=function(Z){var Y=Z.type==="ordgroup"&&Z.body.length?Z.body[0]:Z;return Y.type==="atom"&&(Y.family==="bin"||Y.family==="rel")?"m"+Y.family:"mord"};$n({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Z,Y){var ne=Z.parser;return{type:"mclass",mode:ne.mode,mclass:co(Y[0]),body:[Y[1]],isCharacterBox:A.isCharacterBox(Y[1])}}}),$n({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[1],qe=Y[0],Tt;he!=="\\stackrel"?Tt=co(Te):Tt="mrel";var $t={type:"op",mode:Te.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:he!=="\\stackrel",body:Xi(Te)},rr={type:"supsub",mode:qe.mode,base:$t,sup:he==="\\underset"?null:qe,sub:he==="\\underset"?qe:null};return{type:"mclass",mode:ne.mode,mclass:Tt,body:[rr],isCharacterBox:A.isCharacterBox(rr)}},htmlBuilder:Ks,mathmlBuilder:Wi});var fo=function(Z,Y){var ne=Z.font,he=Y.withFont(ne);return zi(Z.body,he)},vs=function(Z,Y){var ne=Z.font,he=Y.withFont(ne);return Qi(Z.body,he)},ls={"\\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(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0],qe=he;return qe in ls&&(qe=ls[qe]),{type:"font",mode:ne.mode,font:qe.slice(1),body:Te}},htmlBuilder:fo,mathmlBuilder:vs}),$n({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(Z,Y){var ne=Z.parser,he=Y[0],Te=A.isCharacterBox(he);return{type:"mclass",mode:ne.mode,mclass:co(he),body:[{type:"font",mode:ne.mode,font:"boldsymbol",body:he}],isCharacterBox:Te}}}),$n({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Z.breakOnTokenText,qe=ne.mode,Tt=ne.parseExpression(!0,Te),$t="math"+he.slice(1);return{type:"font",mode:qe,font:$t,body:{type:"ordgroup",mode:ne.mode,body:Tt}}},htmlBuilder:fo,mathmlBuilder:vs});var Jo=function(Z,Y){var ne=Y;return Z==="display"?ne=ne.id>=z.SCRIPT.id?ne.text():z.DISPLAY:Z==="text"&&ne.size===z.DISPLAY.size?ne=z.TEXT:Z==="script"?ne=z.SCRIPT:Z==="scriptscript"&&(ne=z.SCRIPTSCRIPT),ne},So=function(Z,Y){var ne=Jo(Z.size,Y.style),he=ne.fracNum(),Te=ne.fracDen(),qe;qe=Y.havingStyle(he);var Tt=zi(Z.numer,qe,Y);if(Z.continued){var $t=8.5/Y.fontMetrics().ptPerEm,rr=3.5/Y.fontMetrics().ptPerEm;Tt.height=Tt.height<$t?$t:Tt.height,Tt.depth=Tt.depth<rr?rr:Tt.depth}qe=Y.havingStyle(Te);var Tr=zi(Z.denom,qe,Y),Gr,fn,Cn;Z.hasBarLine?(Z.barSize?(fn=Ti(Z.barSize,Y),Gr=st.makeLineSpan("frac-line",Y,fn)):Gr=st.makeLineSpan("frac-line",Y),fn=Gr.height,Cn=Gr.height):(Gr=null,fn=0,Cn=Y.fontMetrics().defaultRuleThickness);var Bn,Xn,Fi;ne.size===z.DISPLAY.size||Z.size==="display"?(Bn=Y.fontMetrics().num1,fn>0?Xn=3*Cn:Xn=7*Cn,Fi=Y.fontMetrics().denom1):(fn>0?(Bn=Y.fontMetrics().num2,Xn=Cn):(Bn=Y.fontMetrics().num3,Xn=3*Cn),Fi=Y.fontMetrics().denom2);var Zi;if(Gr){var Sa=Y.fontMetrics().axisHeight;Bn-Tt.depth-(Sa+.5*fn)<Xn&&(Bn+=Xn-(Bn-Tt.depth-(Sa+.5*fn))),Sa-.5*fn-(Tr.height-Fi)<Xn&&(Fi+=Xn-(Sa-.5*fn-(Tr.height-Fi)));var Cs=-(Sa-.5*fn);Zi=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:Fi},{type:"elem",elem:Gr,shift:Cs},{type:"elem",elem:Tt,shift:-Bn}]},Y)}else{var aa=Bn-Tt.depth-(Tr.height-Fi);aa<Xn&&(Bn+=.5*(Xn-aa),Fi+=.5*(Xn-aa)),Zi=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:Fi},{type:"elem",elem:Tt,shift:-Bn}]},Y)}qe=Y.havingStyle(ne),Zi.height*=qe.sizeMultiplier/Y.sizeMultiplier,Zi.depth*=qe.sizeMultiplier/Y.sizeMultiplier;var Ps;ne.size===z.DISPLAY.size?Ps=Y.fontMetrics().delim1:Ps=Y.fontMetrics().delim2;var Ds,Os;return Z.leftDelim==null?Ds=Js(Y,["mopen"]):Ds=Dn.customSizedDelim(Z.leftDelim,Ps,!0,Y.havingStyle(ne),Z.mode,["mopen"]),Z.continued?Os=st.makeSpan([]):Z.rightDelim==null?Os=Js(Y,["mclose"]):Os=Dn.customSizedDelim(Z.rightDelim,Ps,!0,Y.havingStyle(ne),Z.mode,["mclose"]),st.makeSpan(["mord"].concat(qe.sizingClasses(Y)),[Ds,st.makeSpan(["mfrac"],[Zi]),Os],Y)},An=function(Z,Y){var ne=new Fn.MathNode("mfrac",[Qi(Z.numer,Y),Qi(Z.denom,Y)]);if(!Z.hasBarLine)ne.setAttribute("linethickness","0px");else if(Z.barSize){var he=Ti(Z.barSize,Y);ne.setAttribute("linethickness",he+"em")}var Te=Jo(Z.size,Y.style);if(Te.size!==Y.style.size){ne=new Fn.MathNode("mstyle",[ne]);var qe=Te.size===z.DISPLAY.size?"true":"false";ne.setAttribute("displaystyle",qe),ne.setAttribute("scriptlevel","0")}if(Z.leftDelim!=null||Z.rightDelim!=null){var Tt=[];if(Z.leftDelim!=null){var $t=new Fn.MathNode("mo",[new Fn.TextNode(Z.leftDelim.replace("\\",""))]);$t.setAttribute("fence","true"),Tt.push($t)}if(Tt.push(ne),Z.rightDelim!=null){var rr=new Fn.MathNode("mo",[new Fn.TextNode(Z.rightDelim.replace("\\",""))]);rr.setAttribute("fence","true"),Tt.push(rr)}return Oo(Tt)}return ne};$n({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0],qe=Y[1],Tt,$t=null,rr=null,Tr="auto";switch(he){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Tt=!0;break;case"\\\\atopfrac":Tt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Tt=!1,$t="(",rr=")";break;case"\\\\bracefrac":Tt=!1,$t="\\{",rr="\\}";break;case"\\\\brackfrac":Tt=!1,$t="[",rr="]";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:Te,denom:qe,hasBarLine:Tt,leftDelim:$t,rightDelim:rr,size:Tr,barSize:null}},htmlBuilder:So,mathmlBuilder:An}),$n({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(Z){var Y=Z.parser,ne=Z.funcName,he=Z.token,Te;switch(ne){case"\\over":Te="\\frac";break;case"\\choose":Te="\\binom";break;case"\\atop":Te="\\\\atopfrac";break;case"\\brace":Te="\\\\bracefrac";break;case"\\brack":Te="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:Y.mode,replaceWith:Te,token:he}}});var Ua=["display","text","script","scriptscript"],is=function(Z){var Y=null;return Z.length>0&&(Y=Z,Y=Y==="."?null:Y),Y};$n({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(Z,Y){var ne=Z.parser,he=Y[4],Te=Y[5],qe=kr(Y[0],"atom");qe&&(qe=Ir(Y[0],"open"));var Tt=qe?is(qe.text):null,$t=kr(Y[1],"atom");$t&&($t=Ir(Y[1],"close"));var rr=$t?is($t.text):null,Tr=ar(Y[2],"size"),Gr,fn=null;Tr.isBlank?Gr=!0:(fn=Tr.value,Gr=fn.number>0);var Cn="auto",Bn=kr(Y[3],"ordgroup");if(Bn){if(Bn.body.length>0){var Xn=ar(Bn.body[0],"textord");Cn=Ua[Number(Xn.text)]}}else Bn=ar(Y[3],"textord"),Cn=Ua[Number(Bn.text)];return{type:"genfrac",mode:ne.mode,numer:he,denom:Te,continued:!1,hasBarLine:Gr,barSize:fn,leftDelim:Tt,rightDelim:rr,size:Cn}},htmlBuilder:So,mathmlBuilder:An}),$n({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Z.token;return{type:"infix",mode:ne.mode,replaceWith:"\\\\abovefrac",size:ar(Y[0],"size").value,token:Te}}}),$n({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0],qe=k(ar(Y[1],"infix").size),Tt=Y[2],$t=qe.number>0;return{type:"genfrac",mode:ne.mode,numer:Te,denom:Tt,continued:!1,hasBarLine:$t,barSize:qe,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:So,mathmlBuilder:An});var Qe=function(Z,Y){var ne=Y.style,he,Te,qe=kr(Z,"supsub");qe?(he=qe.sup?zi(qe.sup,Y.havingStyle(ne.sup()),Y):zi(qe.sub,Y.havingStyle(ne.sub()),Y),Te=ar(qe.base,"horizBrace")):Te=ar(Z,"horizBrace");var Tt=zi(Te.base,Y.havingBaseStyle(z.DISPLAY)),$t=mi.svgSpan(Te,Y),rr;if(Te.isOver?(rr=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tt},{type:"kern",size:.1},{type:"elem",elem:$t}]},Y),rr.children[0].children[0].children[1].classes.push("svg-align")):(rr=st.makeVList({positionType:"bottom",positionData:Tt.depth+.1+$t.height,children:[{type:"elem",elem:$t},{type:"kern",size:.1},{type:"elem",elem:Tt}]},Y),rr.children[0].children[0].children[0].classes.push("svg-align")),he){var Tr=st.makeSpan(["mord",Te.isOver?"mover":"munder"],[rr],Y);Te.isOver?rr=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Tr},{type:"kern",size:.2},{type:"elem",elem:he}]},Y):rr=st.makeVList({positionType:"bottom",positionData:Tr.depth+.2+he.height+he.depth,children:[{type:"elem",elem:he},{type:"kern",size:.2},{type:"elem",elem:Tr}]},Y)}return st.makeSpan(["mord",Te.isOver?"mover":"munder"],[rr],Y)},Re=function(Z,Y){var ne=mi.mathMLnode(Z.label);return new Fn.MathNode(Z.isOver?"mover":"munder",[Qi(Z.base,Y),ne])};$n({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName;return{type:"horizBrace",mode:ne.mode,label:he,isOver:/^\\over/.test(he),base:Y[0]}},htmlBuilder:Qe,mathmlBuilder:Re}),$n({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=Y[1],Te=ar(Y[0],"url").url;return ne.settings.isTrusted({command:"\\href",url:Te})?{type:"href",mode:ne.mode,href:Te,body:Xi(he)}:ne.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,Y){var ne=as(Z.body,Y,!1);return st.makeAnchor(Z.href,[],ne,Y)},mathmlBuilder:function(Z,Y){var ne=ns(Z.body,Y);return ne instanceof Fs||(ne=new Fs("mrow",[ne])),ne.setAttribute("href",Z.href),ne}}),$n({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=ar(Y[0],"url").url;if(!ne.settings.isTrusted({command:"\\url",url:he}))return ne.formatUnsupportedCmd("\\url");for(var Te=[],qe=0;qe<he.length;qe++){var Tt=he[qe];Tt==="~"&&(Tt="\\textasciitilde"),Te.push({type:"textord",mode:"text",text:Tt})}var $t={type:"text",mode:ne.mode,font:"\\texttt",body:Te};return{type:"href",mode:ne.mode,href:he,body:Xi($t)}}}),$n({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(Z,Y){var ne=Z.parser;return{type:"htmlmathml",mode:ne.mode,html:Xi(Y[0]),mathml:Xi(Y[1])}},htmlBuilder:function(Z,Y){var ne=as(Z.html,Y,!1);return st.makeFragment(ne)},mathmlBuilder:function(Z,Y){return ns(Z.mathml,Y)}});var Lt=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};var Y=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!Y)throw new o("Invalid size: '"+Z+"' in \\includegraphics");var ne={number:+(Y[1]+Y[2]),unit:Y[3]};if(!Ii(ne))throw new o("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(Z,Y,ne){var he=Z.parser,Te={number:0,unit:"em"},qe={number:.9,unit:"em"},Tt={number:0,unit:"em"},$t="";if(ne[0])for(var rr=ar(ne[0],"raw").string,Tr=rr.split(","),Gr=0;Gr<Tr.length;Gr++){var fn=Tr[Gr].split("=");if(fn.length===2){var Cn=fn[1].trim();switch(fn[0].trim()){case"alt":$t=Cn;break;case"width":Te=Lt(Cn);break;case"height":qe=Lt(Cn);break;case"totalheight":Tt=Lt(Cn);break;default:throw new o("Invalid key: '"+fn[0]+"' in \\includegraphics.")}}}var Bn=ar(Y[0],"url").url;return $t===""&&($t=Bn,$t=$t.replace(/^.*[\\/]/,""),$t=$t.substring(0,$t.lastIndexOf("."))),he.settings.isTrusted({command:"\\includegraphics",url:Bn})?{type:"includegraphics",mode:he.mode,alt:$t,width:Te,height:qe,totalheight:Tt,src:Bn}:he.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(Z,Y){var ne=Ti(Z.height,Y),he=0;Z.totalheight.number>0&&(he=Ti(Z.totalheight,Y)-ne,he=Number(he.toFixed(2)));var Te=0;Z.width.number>0&&(Te=Ti(Z.width,Y));var qe={height:ne+he+"em"};Te>0&&(qe.width=Te+"em"),he>0&&(qe.verticalAlign=-he+"em");var Tt=new Ze(Z.src,Z.alt,qe);return Tt.height=ne,Tt.depth=he,Tt},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mglyph",[]);ne.setAttribute("alt",Z.alt);var he=Ti(Z.height,Y),Te=0;if(Z.totalheight.number>0&&(Te=Ti(Z.totalheight,Y)-he,Te=Te.toFixed(2),ne.setAttribute("valign","-"+Te+"em")),ne.setAttribute("height",he+Te+"em"),Z.width.number>0){var qe=Ti(Z.width,Y);ne.setAttribute("width",qe+"em")}return ne.setAttribute("src",Z.src),ne}}),$n({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=ar(Y[0],"size");if(ne.settings.strict){var qe=he[1]==="m",Tt=Te.value.unit==="mu";qe?(Tt||ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" supports only mu units, "+("not "+Te.value.unit+" units")),ne.mode!=="math"&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" works only in math mode")):Tt&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" doesn't support mu units")}return{type:"kern",mode:ne.mode,dimension:Te.value}},htmlBuilder:function(Z,Y){return st.makeGlue(Z.dimension,Y)},mathmlBuilder:function(Z,Y){var ne=Ti(Z.dimension,Y);return new Fn.SpaceNode(ne)}}),$n({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0];return{type:"lap",mode:ne.mode,alignment:he.slice(5),body:Te}},htmlBuilder:function(Z,Y){var ne;Z.alignment==="clap"?(ne=st.makeSpan([],[zi(Z.body,Y)]),ne=st.makeSpan(["inner"],[ne],Y)):ne=st.makeSpan(["inner"],[zi(Z.body,Y)]);var he=st.makeSpan(["fix"],[]),Te=st.makeSpan([Z.alignment],[ne,he],Y),qe=st.makeSpan(["strut"]);return qe.style.height=Te.height+Te.depth+"em",qe.style.verticalAlign=-Te.depth+"em",Te.children.unshift(qe),Te=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},Y),st.makeSpan(["mord"],[Te],Y)},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mpadded",[Qi(Z.body,Y)]);if(Z.alignment!=="rlap"){var he=Z.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(Z,Y){var ne=Z.funcName,he=Z.parser,Te=he.mode;he.switchMode("math");var qe=ne==="\\("?"\\)":"$",Tt=he.parseExpression(!1,qe);return he.expect(qe),he.switchMode(Te),{type:"styling",mode:he.mode,style:"text",body:Tt}}}),$n({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,Y){throw new o("Mismatched "+Z.funcName)}});var Ht=function(Z,Y){switch(Y.style.size){case z.DISPLAY.size:return Z.display;case z.TEXT.size:return Z.text;case z.SCRIPT.size:return Z.script;case z.SCRIPTSCRIPT.size:return Z.scriptscript;default:return Z.text}};$n({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(Z,Y){var ne=Z.parser;return{type:"mathchoice",mode:ne.mode,display:Xi(Y[0]),text:Xi(Y[1]),script:Xi(Y[2]),scriptscript:Xi(Y[3])}},htmlBuilder:function(Z,Y){var ne=Ht(Z,Y),he=as(ne,Y,!1);return st.makeFragment(he)},mathmlBuilder:function(Z,Y){var ne=Ht(Z,Y);return ns(ne,Y)}});var pr=function(Z,Y,ne,he,Te,qe,Tt){Z=st.makeSpan([],[Z]);var $t,rr;if(Y){var Tr=zi(Y,he.havingStyle(Te.sup()),he);rr={elem:Tr,kern:Math.max(he.fontMetrics().bigOpSpacing1,he.fontMetrics().bigOpSpacing3-Tr.depth)}}if(ne){var Gr=zi(ne,he.havingStyle(Te.sub()),he);$t={elem:Gr,kern:Math.max(he.fontMetrics().bigOpSpacing2,he.fontMetrics().bigOpSpacing4-Gr.height)}}var fn;if(rr&&$t){var Cn=he.fontMetrics().bigOpSpacing5+$t.elem.height+$t.elem.depth+$t.kern+Z.depth+Tt;fn=st.makeVList({positionType:"bottom",positionData:Cn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:$t.elem,marginLeft:-qe+"em"},{type:"kern",size:$t.kern},{type:"elem",elem:Z},{type:"kern",size:rr.kern},{type:"elem",elem:rr.elem,marginLeft:qe+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else if($t){var Bn=Z.height-Tt;fn=st.makeVList({positionType:"top",positionData:Bn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:$t.elem,marginLeft:-qe+"em"},{type:"kern",size:$t.kern},{type:"elem",elem:Z}]},he)}else if(rr){var Xn=Z.depth+Tt;fn=st.makeVList({positionType:"bottom",positionData:Xn,children:[{type:"elem",elem:Z},{type:"kern",size:rr.kern},{type:"elem",elem:rr.elem,marginLeft:qe+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else return Z;return st.makeSpan(["mop","op-limits"],[fn],he)},Br=["\\smallint"],Wr=function(Z,Y){var ne,he,Te=!1,qe,Tt=kr(Z,"supsub");Tt?(ne=Tt.sup,he=Tt.sub,qe=ar(Tt.base,"op"),Te=!0):qe=ar(Z,"op");var $t=Y.style,rr=!1;$t.size===z.DISPLAY.size&&qe.symbol&&!A.contains(Br,qe.name)&&(rr=!0);var Tr;if(qe.symbol){var Gr=rr?"Size2-Regular":"Size1-Regular",fn="";if((qe.name==="\\oiint"||qe.name==="\\oiiint")&&(fn=qe.name.substr(1),qe.name=fn==="oiint"?"\\iint":"\\iiint"),Tr=st.makeSymbol(qe.name,Gr,"math",Y,["mop","op-symbol",rr?"large-op":"small-op"]),fn.length>0){var Cn=Tr.italic,Bn=st.staticSvg(fn+"Size"+(rr?"2":"1"),Y);Tr=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Tr,shift:0},{type:"elem",elem:Bn,shift:rr?.08:0}]},Y),qe.name="\\"+fn,Tr.classes.unshift("mop"),Tr.italic=Cn}}else if(qe.body){var Xn=as(qe.body,Y,!0);Xn.length===1&&Xn[0]instanceof Ae?(Tr=Xn[0],Tr.classes[0]="mop"):Tr=st.makeSpan(["mop"],st.tryCombineChars(Xn),Y)}else{for(var Fi=[],Zi=1;Zi<qe.name.length;Zi++)Fi.push(st.mathsym(qe.name[Zi],qe.mode,Y));Tr=st.makeSpan(["mop"],Fi,Y)}var aa=0,Sa=0;return(Tr instanceof Ae||qe.name==="\\oiint"||qe.name==="\\oiiint")&&!qe.suppressBaseShift&&(aa=(Tr.height-Tr.depth)/2-Y.fontMetrics().axisHeight,Sa=Tr.italic),Te?pr(Tr,ne,he,Y,$t,Sa,aa):(aa&&(Tr.style.position="relative",Tr.style.top=aa+"em"),Tr)},yn=function(Z,Y){var ne;if(Z.symbol)ne=new Fs("mo",[os(Z.name,Z.mode)]),A.contains(Br,Z.name)&&ne.setAttribute("largeop","false");else if(Z.body)ne=new Fs("mo",ha(Z.body,Y));else{ne=new Fs("mi",[new ci(Z.name.slice(1))]);var he=new Fs("mo",[os("\u2061","text")]);Z.parentIsSupSub?ne=new Fs("mo",[ne,he]):ne=Ga([ne,he])}return ne},ln={"\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(Z,Y){var ne=Z.parser,he=Z.funcName,Te=he;return Te.length===1&&(Te=ln[Te]),{type:"op",mode:ne.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Te}},htmlBuilder:Wr,mathmlBuilder:yn}),$n({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(Z,Y){var ne=Z.parser,he=Y[0];return{type:"op",mode:ne.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Xi(he)}},htmlBuilder:Wr,mathmlBuilder:yn});var xn={"\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(Z){var Y=Z.parser,ne=Z.funcName;return{type:"op",mode:Y.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:Wr,mathmlBuilder:yn}),$n({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(Z){var Y=Z.parser,ne=Z.funcName;return{type:"op",mode:Y.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:Wr,mathmlBuilder:yn}),$n({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(Z){var Y=Z.parser,ne=Z.funcName,he=ne;return he.length===1&&(he=xn[he]),{type:"op",mode:Y.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:he}},htmlBuilder:Wr,mathmlBuilder:yn});var ti=function(Z,Y){var ne,he,Te=!1,qe,Tt=kr(Z,"supsub");Tt?(ne=Tt.sup,he=Tt.sub,qe=ar(Tt.base,"operatorname"),Te=!0):qe=ar(Z,"operatorname");var $t;if(qe.body.length>0){for(var rr=qe.body.map(function(Cn){var Bn=Cn.text;return typeof Bn=="string"?{type:"textord",mode:Cn.mode,text:Bn}:Cn}),Tr=as(rr,Y.withFont("mathrm"),!0),Gr=0;Gr<Tr.length;Gr++){var fn=Tr[Gr];fn instanceof Ae&&(fn.text=fn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}$t=st.makeSpan(["mop"],Tr,Y)}else $t=st.makeSpan(["mop"],[],Y);return Te?pr($t,ne,he,Y,Y.style,0,0):$t},ni=function(Z,Y){for(var ne=ha(Z.body,Y.withFont("mathrm")),he=!0,Te=0;Te<ne.length;Te++){var qe=ne[Te];if(!(qe instanceof Fn.SpaceNode))if(qe instanceof Fn.MathNode)switch(qe.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Tt=qe.children[0];qe.children.length===1&&Tt instanceof Fn.TextNode?Tt.text=Tt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):he=!1;break}default:he=!1}else he=!1}if(he){var $t=ne.map(function(Gr){return Gr.toText()}).join("");ne=[new Fn.TextNode($t)]}var rr=new Fn.MathNode("mi",ne);rr.setAttribute("mathvariant","normal");var Tr=new Fn.MathNode("mo",[os("\u2061","text")]);return Z.parentIsSupSub?new Fn.MathNode("mo",[rr,Tr]):Fn.newDocumentFragment([rr,Tr])};$n({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0];return{type:"operatorname",mode:ne.mode,body:Xi(Te),alwaysHandleSupSub:he==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:ti,mathmlBuilder:ni}),Pi({type:"ordgroup",htmlBuilder:function(Z,Y){return Z.semisimple?st.makeFragment(as(Z.body,Y,!1)):st.makeSpan(["mord"],as(Z.body,Y,!0),Y)},mathmlBuilder:function(Z,Y){return ns(Z.body,Y,!0)}}),$n({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(Z,Y){var ne=Z.parser,he=Y[0];return{type:"overline",mode:ne.mode,body:he}},htmlBuilder:function(Z,Y){var ne=zi(Z.body,Y.havingCrampedStyle()),he=st.makeLineSpan("overline-line",Y),Te=Y.fontMetrics().defaultRuleThickness,qe=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne},{type:"kern",size:3*Te},{type:"elem",elem:he},{type:"kern",size:Te}]},Y);return st.makeSpan(["mord","overline"],[qe],Y)},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new Fn.MathNode("mover",[Qi(Z.body,Y),ne]);return he.setAttribute("accent","true"),he}}),$n({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=Y[0];return{type:"phantom",mode:ne.mode,body:Xi(he)}},htmlBuilder:function(Z,Y){var ne=as(Z.body,Y.withPhantom(),!1);return st.makeFragment(ne)},mathmlBuilder:function(Z,Y){var ne=ha(Z.body,Y);return new Fn.MathNode("mphantom",ne)}}),$n({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=Y[0];return{type:"hphantom",mode:ne.mode,body:he}},htmlBuilder:function(Z,Y){var ne=st.makeSpan([],[zi(Z.body,Y.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=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},Y),st.makeSpan(["mord"],[ne],Y)},mathmlBuilder:function(Z,Y){var ne=ha(Xi(Z.body),Y),he=new Fn.MathNode("mphantom",ne),Te=new Fn.MathNode("mpadded",[he]);return Te.setAttribute("height","0px"),Te.setAttribute("depth","0px"),Te}}),$n({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=Y[0];return{type:"vphantom",mode:ne.mode,body:he}},htmlBuilder:function(Z,Y){var ne=st.makeSpan(["inner"],[zi(Z.body,Y.withPhantom())]),he=st.makeSpan(["fix"],[]);return st.makeSpan(["mord","rlap"],[ne,he],Y)},mathmlBuilder:function(Z,Y){var ne=ha(Xi(Z.body),Y),he=new Fn.MathNode("mphantom",ne),Te=new Fn.MathNode("mpadded",[he]);return Te.setAttribute("width","0px"),Te}}),$n({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=ar(Y[0],"size").value,Te=Y[1];return{type:"raisebox",mode:ne.mode,dy:he,body:Te}},htmlBuilder:function(Z,Y){var ne=zi(Z.body,Y),he=Ti(Z.dy,Y);return st.makeVList({positionType:"shift",positionData:-he,children:[{type:"elem",elem:ne}]},Y)},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mpadded",[Qi(Z.body,Y)]),he=Z.dy.number+Z.dy.unit;return ne.setAttribute("voffset",he),ne}}),$n({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(Z,Y,ne){var he=Z.parser,Te=ne[0],qe=ar(Y[0],"size"),Tt=ar(Y[1],"size");return{type:"rule",mode:he.mode,shift:Te&&ar(Te,"size").value,width:qe.value,height:Tt.value}},htmlBuilder:function(Z,Y){var ne=st.makeSpan(["mord","rule"],[],Y),he=Ti(Z.width,Y),Te=Ti(Z.height,Y),qe=Z.shift?Ti(Z.shift,Y):0;return ne.style.borderRightWidth=he+"em",ne.style.borderTopWidth=Te+"em",ne.style.bottom=qe+"em",ne.width=he,ne.height=Te+qe,ne.depth=-qe,ne.maxFontSize=Te*1.125*Y.sizeMultiplier,ne},mathmlBuilder:function(Z,Y){var ne=Ti(Z.width,Y),he=Ti(Z.height,Y),Te=Z.shift?Ti(Z.shift,Y):0,qe=Y.color&&Y.getColor()||"black",Tt=new Fn.MathNode("mspace");Tt.setAttribute("mathbackground",qe),Tt.setAttribute("width",ne+"em"),Tt.setAttribute("height",he+"em");var $t=new Fn.MathNode("mpadded",[Tt]);return Te>=0?$t.setAttribute("height","+"+Te+"em"):($t.setAttribute("height",Te+"em"),$t.setAttribute("depth","+"+-Te+"em")),$t.setAttribute("voffset",Te+"em"),$t}});function vi(Ve,Z,Y){for(var ne=as(Ve,Z,!1),he=Z.sizeMultiplier/Y.sizeMultiplier,Te=0;Te<ne.length;Te++){var qe=ne[Te].classes.indexOf("sizing");qe<0?Array.prototype.push.apply(ne[Te].classes,Z.sizingClasses(Y)):ne[Te].classes[qe+1]==="reset-size"+Z.size&&(ne[Te].classes[qe+1]="reset-size"+Y.size),ne[Te].height*=he,ne[Te].depth*=he}return st.makeFragment(ne)}var ji=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ga=function(Z,Y){var ne=Y.havingSize(Z.size);return vi(Z.body,ne,Y)};$n({type:"sizing",names:ji,props:{numArgs:0,allowedInText:!0},handler:function(Z,Y){var ne=Z.breakOnTokenText,he=Z.funcName,Te=Z.parser,qe=Te.parseExpression(!1,ne);return{type:"sizing",mode:Te.mode,size:ji.indexOf(he)+1,body:qe}},htmlBuilder:ga,mathmlBuilder:function(Z,Y){var ne=Y.havingSize(Z.size),he=ha(Z.body,ne),Te=new Fn.MathNode("mstyle",he);return Te.setAttribute("mathsize",ne.sizeMultiplier+"em"),Te}}),$n({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,Y,ne){var he=Z.parser,Te=!1,qe=!1,Tt=ne[0]&&ar(ne[0],"ordgroup");if(Tt)for(var $t="",rr=0;rr<Tt.body.length;++rr){var Tr=Tt.body[rr];if($t=Tr.text,$t==="t")Te=!0;else if($t==="b")qe=!0;else{Te=!1,qe=!1;break}}else Te=!0,qe=!0;var Gr=Y[0];return{type:"smash",mode:he.mode,body:Gr,smashHeight:Te,smashDepth:qe}},htmlBuilder:function(Z,Y){var ne=st.makeSpan([],[zi(Z.body,Y)]);if(!Z.smashHeight&&!Z.smashDepth)return ne;if(Z.smashHeight&&(ne.height=0,ne.children))for(var he=0;he<ne.children.length;he++)ne.children[he].height=0;if(Z.smashDepth&&(ne.depth=0,ne.children))for(var Te=0;Te<ne.children.length;Te++)ne.children[Te].depth=0;var qe=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},Y);return st.makeSpan(["mord"],[qe],Y)},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mpadded",[Qi(Z.body,Y)]);return Z.smashHeight&&ne.setAttribute("height","0px"),Z.smashDepth&&ne.setAttribute("depth","0px"),ne}}),$n({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,Y,ne){var he=Z.parser,Te=ne[0],qe=Y[0];return{type:"sqrt",mode:he.mode,body:qe,index:Te}},htmlBuilder:function(Z,Y){var ne=zi(Z.body,Y.havingCrampedStyle());ne.height===0&&(ne.height=Y.fontMetrics().xHeight),ne=st.wrapFragment(ne,Y);var he=Y.fontMetrics(),Te=he.defaultRuleThickness,qe=Te;Y.style.id<z.TEXT.id&&(qe=Y.fontMetrics().xHeight);var Tt=Te+qe/4,$t=ne.height+ne.depth+Tt+Te,rr=Dn.sqrtImage($t,Y),Tr=rr.span,Gr=rr.ruleWidth,fn=rr.advanceWidth,Cn=Tr.height-Gr;Cn>ne.height+ne.depth+Tt&&(Tt=(Tt+Cn-ne.height-ne.depth)/2);var Bn=Tr.height-ne.height-Tt-Gr;ne.style.paddingLeft=fn+"em";var Xn=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne,wrapperClasses:["svg-align"]},{type:"kern",size:-(ne.height+Bn)},{type:"elem",elem:Tr},{type:"kern",size:Gr}]},Y);if(Z.index){var Fi=Y.havingStyle(z.SCRIPTSCRIPT),Zi=zi(Z.index,Fi,Y),aa=.6*(Xn.height-Xn.depth),Sa=st.makeVList({positionType:"shift",positionData:-aa,children:[{type:"elem",elem:Zi}]},Y),Cs=st.makeSpan(["root"],[Sa]);return st.makeSpan(["mord","sqrt"],[Cs,Xn],Y)}else return st.makeSpan(["mord","sqrt"],[Xn],Y)},mathmlBuilder:function(Z,Y){var ne=Z.body,he=Z.index;return he?new Fn.MathNode("mroot",[Qi(ne,Y),Qi(he,Y)]):new Fn.MathNode("msqrt",[Qi(ne,Y)])}});var Ji={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(Z,Y){var ne=Z.breakOnTokenText,he=Z.funcName,Te=Z.parser,qe=Te.parseExpression(!0,ne),Tt=he.slice(1,he.length-5);return{type:"styling",mode:Te.mode,style:Tt,body:qe}},htmlBuilder:function(Z,Y){var ne=Ji[Z.style],he=Y.havingStyle(ne).withFont("");return vi(Z.body,he,Y)},mathmlBuilder:function(Z,Y){var ne=Ji[Z.style],he=Y.havingStyle(ne),Te=ha(Z.body,he),qe=new Fn.MathNode("mstyle",Te),Tt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},$t=Tt[Z.style];return qe.setAttribute("scriptlevel",$t[0]),qe.setAttribute("displaystyle",$t[1]),qe}});var Mi=function(Z,Y){var ne=Z.base;if(ne)if(ne.type==="op"){var he=ne.limits&&(Y.style.size===z.DISPLAY.size||ne.alwaysHandleSupSub);return he?Wr:null}else if(ne.type==="operatorname"){var Te=ne.alwaysHandleSupSub&&(Y.style.size===z.DISPLAY.size||ne.limits);return Te?ti:null}else{if(ne.type==="accent")return A.isCharacterBox(ne.base)?us:null;if(ne.type==="horizBrace"){var qe=!Z.sub;return qe===ne.isOver?Qe:null}else return null}else return null};Pi({type:"supsub",htmlBuilder:function(Z,Y){var ne=Mi(Z,Y);if(ne)return ne(Z,Y);var he=Z.base,Te=Z.sup,qe=Z.sub,Tt=zi(he,Y),$t,rr,Tr=Y.fontMetrics(),Gr=0,fn=0,Cn=he&&A.isCharacterBox(he);if(Te){var Bn=Y.havingStyle(Y.style.sup());$t=zi(Te,Bn,Y),Cn||(Gr=Tt.height-Bn.fontMetrics().supDrop*Bn.sizeMultiplier/Y.sizeMultiplier)}if(qe){var Xn=Y.havingStyle(Y.style.sub());rr=zi(qe,Xn,Y),Cn||(fn=Tt.depth+Xn.fontMetrics().subDrop*Xn.sizeMultiplier/Y.sizeMultiplier)}var Fi;Y.style===z.DISPLAY?Fi=Tr.sup1:Y.style.cramped?Fi=Tr.sup3:Fi=Tr.sup2;var Zi=Y.sizeMultiplier,aa=.5/Tr.ptPerEm/Zi+"em",Sa=null;if(rr){var Cs=Z.base&&Z.base.type==="op"&&Z.base.name&&(Z.base.name==="\\oiint"||Z.base.name==="\\oiiint");(Tt instanceof Ae||Cs)&&(Sa=-Tt.italic+"em")}var Ps;if($t&&rr){Gr=Math.max(Gr,Fi,$t.depth+.25*Tr.xHeight),fn=Math.max(fn,Tr.sub2);var Ds=Tr.defaultRuleThickness,Os=4*Ds;if(Gr-$t.depth-(rr.height-fn)<Os){fn=Os-(Gr-$t.depth)+rr.height;var ka=.8*Tr.xHeight-(Gr-$t.depth);ka>0&&(Gr+=ka,fn-=ka)}var no=[{type:"elem",elem:rr,shift:fn,marginRight:aa,marginLeft:Sa},{type:"elem",elem:$t,shift:-Gr,marginRight:aa}];Ps=st.makeVList({positionType:"individualShift",children:no},Y)}else if(rr){fn=Math.max(fn,Tr.sub1,rr.height-.8*Tr.xHeight);var xs=[{type:"elem",elem:rr,marginLeft:Sa,marginRight:aa}];Ps=st.makeVList({positionType:"shift",positionData:fn,children:xs},Y)}else if($t)Gr=Math.max(Gr,Fi,$t.depth+.25*Tr.xHeight),Ps=st.makeVList({positionType:"shift",positionData:-Gr,children:[{type:"elem",elem:$t,marginRight:aa}]},Y);else throw new Error("supsub must have either sup or sub.");var Pr=_s(Tt,"right")||"mord";return st.makeSpan([Pr],[Tt,st.makeSpan(["msupsub"],[Ps])],Y)},mathmlBuilder:function(Z,Y){var ne=!1,he,Te,qe=kr(Z.base,"horizBrace");qe&&(Te=!!Z.sup,Te===qe.isOver&&(ne=!0,he=qe.isOver)),Z.base&&(Z.base.type==="op"||Z.base.type==="operatorname")&&(Z.base.parentIsSupSub=!0);var Tt=[Qi(Z.base,Y)];Z.sub&&Tt.push(Qi(Z.sub,Y)),Z.sup&&Tt.push(Qi(Z.sup,Y));var $t;if(ne)$t=he?"mover":"munder";else if(Z.sub)if(Z.sup){var Gr=Z.base;Gr&&Gr.type==="op"&&Gr.limits&&Y.style===z.DISPLAY||Gr&&Gr.type==="operatorname"&&Gr.alwaysHandleSupSub&&(Y.style===z.DISPLAY||Gr.limits)?$t="munderover":$t="msubsup"}else{var Tr=Z.base;Tr&&Tr.type==="op"&&Tr.limits&&(Y.style===z.DISPLAY||Tr.alwaysHandleSupSub)||Tr&&Tr.type==="operatorname"&&Tr.alwaysHandleSupSub&&(Tr.limits||Y.style===z.DISPLAY)?$t="munder":$t="msub"}else{var rr=Z.base;rr&&rr.type==="op"&&rr.limits&&(Y.style===z.DISPLAY||rr.alwaysHandleSupSub)||rr&&rr.type==="operatorname"&&rr.alwaysHandleSupSub&&(rr.limits||Y.style===z.DISPLAY)?$t="mover":$t="msup"}var fn=new Fn.MathNode($t,Tt);return fn}}),Pi({type:"atom",htmlBuilder:function(Z,Y){return st.mathsym(Z.text,Z.mode,Y,["m"+Z.family])},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mo",[os(Z.text,Z.mode)]);if(Z.family==="bin"){var he=eo(Z,Y);he==="bold-italic"&&ne.setAttribute("mathvariant",he)}else Z.family==="punct"?ne.setAttribute("separator","true"):(Z.family==="open"||Z.family==="close")&&ne.setAttribute("stretchy","false");return ne}});var Da={mi:"italic",mn:"normal",mtext:"normal"};Pi({type:"mathord",htmlBuilder:function(Z,Y){return st.makeOrd(Z,Y,"mathord")},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mi",[os(Z.text,Z.mode,Y)]),he=eo(Z,Y)||"italic";return he!==Da[ne.type]&&ne.setAttribute("mathvariant",he),ne}}),Pi({type:"textord",htmlBuilder:function(Z,Y){return st.makeOrd(Z,Y,"textord")},mathmlBuilder:function(Z,Y){var ne=os(Z.text,Z.mode,Y),he=eo(Z,Y)||"normal",Te;return Z.mode==="text"?Te=new Fn.MathNode("mtext",[ne]):/[0-9]/.test(Z.text)?Te=new Fn.MathNode("mn",[ne]):Z.text==="\\prime"?Te=new Fn.MathNode("mo",[ne]):Te=new Fn.MathNode("mi",[ne]),he!==Da[Te.type]&&Te.setAttribute("mathvariant",he),Te}});var Oi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Si={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Pi({type:"spacing",htmlBuilder:function(Z,Y){if(Si.hasOwnProperty(Z.text)){var ne=Si[Z.text].className||"";if(Z.mode==="text"){var he=st.makeOrd(Z,Y,"textord");return he.classes.push(ne),he}else return st.makeSpan(["mspace",ne],[st.mathsym(Z.text,Z.mode,Y)],Y)}else{if(Oi.hasOwnProperty(Z.text))return st.makeSpan(["mspace",Oi[Z.text]],[],Y);throw new o('Unknown type of space "'+Z.text+'"')}},mathmlBuilder:function(Z,Y){var ne;if(Si.hasOwnProperty(Z.text))ne=new Fn.MathNode("mtext",[new Fn.TextNode("\xA0")]);else{if(Oi.hasOwnProperty(Z.text))return new Fn.MathNode("mspace");throw new o('Unknown type of space "'+Z.text+'"')}return ne}});var Ea=function(){var Z=new Fn.MathNode("mtd",[]);return Z.setAttribute("width","50%"),Z};Pi({type:"tag",mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mtable",[new Fn.MathNode("mtr",[Ea(),new Fn.MathNode("mtd",[ns(Z.body,Y)]),Ea(),new Fn.MathNode("mtd",[ns(Z.tag,Y)])])]);return ne.setAttribute("width","100%"),ne}});var Co={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Us={"\\textbf":"textbf","\\textmd":"textmd"},Xa={"\\textit":"textit","\\textup":"textup"},Qa=function(Z,Y){var ne=Z.font;return ne?Co[ne]?Y.withTextFontFamily(Co[ne]):Us[ne]?Y.withTextFontWeight(Us[ne]):Y.withTextFontShape(Xa[ne]):Y};$n({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(Z,Y){var ne=Z.parser,he=Z.funcName,Te=Y[0];return{type:"text",mode:ne.mode,body:Xi(Te),font:he}},htmlBuilder:function(Z,Y){var ne=Qa(Z,Y),he=as(Z.body,ne,!0);return st.makeSpan(["mord","text"],st.tryCombineChars(he),ne)},mathmlBuilder:function(Z,Y){var ne=Qa(Z,Y);return ns(Z.body,ne)}}),$n({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Z,Y){var ne=Z.parser;return{type:"underline",mode:ne.mode,body:Y[0]}},htmlBuilder:function(Z,Y){var ne=zi(Z.body,Y),he=st.makeLineSpan("underline-line",Y),Te=Y.fontMetrics().defaultRuleThickness,qe=st.makeVList({positionType:"top",positionData:ne.height,children:[{type:"kern",size:Te},{type:"elem",elem:he},{type:"kern",size:3*Te},{type:"elem",elem:ne}]},Y);return st.makeSpan(["mord","underline"],[qe],Y)},mathmlBuilder:function(Z,Y){var ne=new Fn.MathNode("mo",[new Fn.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new Fn.MathNode("munder",[Qi(Z.body,Y),ne]);return he.setAttribute("accentunder","true"),he}}),$n({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Z,Y,ne){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Z,Y){for(var ne=cs(Z),he=[],Te=Y.havingStyle(Y.style.text()),qe=0;qe<ne.length;qe++){var Tt=ne[qe];Tt==="~"&&(Tt="\\textasciitilde"),he.push(st.makeSymbol(Tt,"Typewriter-Regular",Z.mode,Te,["mord","texttt"]))}return st.makeSpan(["mord","text"].concat(Te.sizingClasses(Y)),st.tryCombineChars(he),Te)},mathmlBuilder:function(Z,Y){var ne=new Fn.TextNode(cs(Z)),he=new Fn.MathNode("mtext",[ne]);return he.setAttribute("mathvariant","monospace"),he}});var cs=function(Z){return Z.body.replace(/ /g,Z.star?"\u2423":"\xA0")},Ui=Oa,La=Ui,fs=`[ \r
|
|
|
]`,ds="\\\\[a-zA-Z@]+",Fo="\\\\[^\uD800-\uDFFF]",bs=""+ds+fs+"*",Ba=new RegExp("^("+ds+")"+fs+"*$"),go="[\u0300-\u036F]",Ja=new RegExp(go+"+$"),yo="("+fs+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(go+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(go+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+bs)+("|"+Fo+")"),Ra=function(){function Ve(Y,ne){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=Y,this.settings=ne,this.tokenRegex=new RegExp(yo,"g"),this.catcodes={"%":14}}var Z=Ve.prototype;return Z.setCatcode=function(ne,he){this.catcodes[ne]=he},Z.lex=function(){var ne=this.input,he=this.tokenRegex.lastIndex;if(he===ne.length)return new c("EOF",new l(this,he,he));var Te=this.tokenRegex.exec(ne);if(Te===null||Te.index!==he)throw new o("Unexpected character: '"+ne[he]+"'",new c(ne[he],new l(this,he,he+1)));var qe=Te[2]||" ";if(this.catcodes[qe]===14){var Tt=ne.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Tt===-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=Tt+1,this.lex()}var $t=qe.match(Ba);return $t&&(qe=$t[1]),new c(qe,new l(this,he,this.tokenRegex.lastIndex))},Ve}(),hs=function(){function Ve(Y,ne){Y===void 0&&(Y={}),ne===void 0&&(ne={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ne,this.builtins=Y,this.undefStack=[]}var Z=Ve.prototype;return Z.beginGroup=function(){this.undefStack.push({})},Z.endGroup=function(){if(this.undefStack.length===0)throw new o("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])},Z.has=function(ne){return this.current.hasOwnProperty(ne)||this.builtins.hasOwnProperty(ne)},Z.get=function(ne){return this.current.hasOwnProperty(ne)?this.current[ne]:this.builtins[ne]},Z.set=function(ne,he,Te){if(Te===void 0&&(Te=!1),Te){for(var qe=0;qe<this.undefStack.length;qe++)delete this.undefStack[qe][ne];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ne]=he)}else{var Tt=this.undefStack[this.undefStack.length-1];Tt&&!Tt.hasOwnProperty(ne)&&(Tt[ne]=this.current[ne])}this.current[ne]=he},Ve}(),ro={},Ma=ro;function be(Ve,Z){ro[Ve]=Z}be("\\@firstoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),be("\\@secondoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),be("\\@ifnextchar",function(Ve){var Z=Ve.consumeArgs(3),Y=Ve.future();return Z[0].length===1&&Z[0][0].text===Y.text?{tokens:Z[1],numArgs:0}:{tokens:Z[2],numArgs:0}}),be("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),be("\\TextOrMath",function(Ve){var Z=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[1],numArgs:0}});var Se={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};be("\\char",function(Ve){var Z=Ve.popToken(),Y,ne="";if(Z.text==="'")Y=8,Z=Ve.popToken();else if(Z.text==='"')Y=16,Z=Ve.popToken();else if(Z.text==="`")if(Z=Ve.popToken(),Z.text[0]==="\\")ne=Z.text.charCodeAt(1);else{if(Z.text==="EOF")throw new o("\\char` missing argument");ne=Z.text.charCodeAt(0)}else Y=10;if(Y){if(ne=Se[Z.text],ne==null||ne>=Y)throw new o("Invalid base-"+Y+" digit "+Z.text);for(var he;(he=Se[Ve.future().text])!=null&&he<Y;)ne*=Y,ne+=he,Ve.popToken()}return"\\@char{"+ne+"}"});var br=function(Z,Y){var ne=Z.consumeArgs(1)[0];if(ne.length!==1)throw new o("\\gdef's first argument must be a macro name");var he=ne[0].text,Te=0;for(ne=Z.consumeArgs(1)[0];ne.length===1&&ne[0].text==="#";){if(ne=Z.consumeArgs(1)[0],ne.length!==1)throw new o('Invalid argument number length "'+ne.length+'"');if(!/^[1-9]$/.test(ne[0].text))throw new o('Invalid argument number "'+ne[0].text+'"');if(Te++,parseInt(ne[0].text)!==Te)throw new o('Argument number "'+ne[0].text+'" out of order');ne=Z.consumeArgs(1)[0]}return Z.macros.set(he,{tokens:ne,numArgs:Te},Y),""};be("\\gdef",function(Ve){return br(Ve,!0)}),be("\\def",function(Ve){return br(Ve,!1)}),be("\\global",function(Ve){var Z=Ve.consumeArgs(1)[0];if(Z.length!==1)throw new o("Invalid command after \\global");var Y=Z[0].text;if(Y==="\\def")return br(Ve,!0);throw new o("Invalid command '"+Y+"' after \\global")});var tn=function(Z,Y,ne){var he=Z.consumeArgs(1)[0];if(he.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Te=he[0].text,qe=Z.isDefined(Te);if(qe&&!Y)throw new o("\\newcommand{"+Te+"} attempting to redefine "+(Te+"; use \\renewcommand"));if(!qe&&!ne)throw new o("\\renewcommand{"+Te+"} when command "+Te+" does not yet exist; use \\newcommand");var Tt=0;if(he=Z.consumeArgs(1)[0],he.length===1&&he[0].text==="["){for(var $t="",rr=Z.expandNextToken();rr.text!=="]"&&rr.text!=="EOF";)$t+=rr.text,rr=Z.expandNextToken();if(!$t.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+$t);Tt=parseInt($t),he=Z.consumeArgs(1)[0]}return Z.macros.set(Te,{tokens:he,numArgs:Tt}),""};be("\\newcommand",function(Ve){return tn(Ve,!1,!0)}),be("\\renewcommand",function(Ve){return tn(Ve,!0,!1)}),be("\\providecommand",function(Ve){return tn(Ve,!0,!0)}),be("\\bgroup","{"),be("\\egroup","}"),be("\\lq","`"),be("\\rq","'"),be("\\aa","\\r a"),be("\\AA","\\r A"),be("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),be("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),be("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),be("\u212C","\\mathscr{B}"),be("\u2130","\\mathscr{E}"),be("\u2131","\\mathscr{F}"),be("\u210B","\\mathscr{H}"),be("\u2110","\\mathscr{I}"),be("\u2112","\\mathscr{L}"),be("\u2133","\\mathscr{M}"),be("\u211B","\\mathscr{R}"),be("\u212D","\\mathfrak{C}"),be("\u210C","\\mathfrak{H}"),be("\u2128","\\mathfrak{Z}"),be("\\Bbbk","\\Bbb{k}"),be("\xB7","\\cdotp"),be("\\llap","\\mathllap{\\textrm{#1}}"),be("\\rlap","\\mathrlap{\\textrm{#1}}"),be("\\clap","\\mathclap{\\textrm{#1}}"),be("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),be("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),be("\\ne","\\neq"),be("\u2260","\\neq"),be("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),be("\u2209","\\notin"),be("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),be("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),be("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),be("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),be("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),be("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),be("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),be("\u27C2","\\perp"),be("\u203C","\\mathclose{!\\mkern-0.8mu!}"),be("\u220C","\\notni"),be("\u231C","\\ulcorner"),be("\u231D","\\urcorner"),be("\u231E","\\llcorner"),be("\u231F","\\lrcorner"),be("\xA9","\\copyright"),be("\xAE","\\textregistered"),be("\uFE0F","\\textregistered"),be("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),be("\u22EE","\\vdots"),be("\\varGamma","\\mathit{\\Gamma}"),be("\\varDelta","\\mathit{\\Delta}"),be("\\varTheta","\\mathit{\\Theta}"),be("\\varLambda","\\mathit{\\Lambda}"),be("\\varXi","\\mathit{\\Xi}"),be("\\varPi","\\mathit{\\Pi}"),be("\\varSigma","\\mathit{\\Sigma}"),be("\\varUpsilon","\\mathit{\\Upsilon}"),be("\\varPhi","\\mathit{\\Phi}"),be("\\varPsi","\\mathit{\\Psi}"),be("\\varOmega","\\mathit{\\Omega}"),be("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),be("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),be("\\boxed","\\fbox{$\\displaystyle{#1}$}"),be("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),be("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),be("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var gr={",":"\\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"};be("\\dots",function(Ve){var Z="\\dotso",Y=Ve.expandAfterFuture().text;return Y in gr?Z=gr[Y]:(Y.substr(0,4)==="\\not"||Y in Ye.math&&A.contains(["bin","rel"],Ye.math[Y].group))&&(Z="\\dotsb"),Z});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};be("\\dotso",function(Ve){var Z=Ve.future().text;return Z in qr?"\\ldots\\,":"\\ldots"}),be("\\dotsc",function(Ve){var Z=Ve.future().text;return Z in qr&&Z!==","?"\\ldots\\,":"\\ldots"}),be("\\cdots",function(Ve){var Z=Ve.future().text;return Z in qr?"\\@cdots\\,":"\\@cdots"}),be("\\dotsb","\\cdots"),be("\\dotsm","\\cdots"),be("\\dotsi","\\!\\cdots"),be("\\dotsx","\\ldots\\,"),be("\\DOTSI","\\relax"),be("\\DOTSB","\\relax"),be("\\DOTSX","\\relax"),be("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),be("\\,","\\tmspace+{3mu}{.1667em}"),be("\\thinspace","\\,"),be("\\>","\\mskip{4mu}"),be("\\:","\\tmspace+{4mu}{.2222em}"),be("\\medspace","\\:"),be("\\;","\\tmspace+{5mu}{.2777em}"),be("\\thickspace","\\;"),be("\\!","\\tmspace-{3mu}{.1667em}"),be("\\negthinspace","\\!"),be("\\negmedspace","\\tmspace-{4mu}{.2222em}"),be("\\negthickspace","\\tmspace-{5mu}{.277em}"),be("\\enspace","\\kern.5em "),be("\\enskip","\\hskip.5em\\relax"),be("\\quad","\\hskip1em\\relax"),be("\\qquad","\\hskip2em\\relax"),be("\\tag","\\@ifstar\\tag@literal\\tag@paren"),be("\\tag@paren","\\tag@literal{({#1})}"),be("\\tag@literal",function(Ve){if(Ve.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),be("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),be("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),be("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),be("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),be("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),be("\\\\","\\newline"),be("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var On=Kt["Main-Regular"][84][1]-.7*Kt["Main-Regular"][65][1]+"em";be("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+On+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),be("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+On+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),be("\\hspace","\\@ifstar\\@hspacer\\@hspace"),be("\\@hspace","\\hskip #1\\relax"),be("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),be("\\ordinarycolon",":"),be("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),be("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),be("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),be("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),be("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),be("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),be("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),be("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),be("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),be("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),be("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),be("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),be("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),be("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),be("\u2237","\\dblcolon"),be("\u2239","\\eqcolon"),be("\u2254","\\coloneqq"),be("\u2255","\\eqqcolon"),be("\u2A74","\\Coloneqq"),be("\\ratio","\\vcentcolon"),be("\\coloncolon","\\dblcolon"),be("\\colonequals","\\coloneqq"),be("\\coloncolonequals","\\Coloneqq"),be("\\equalscolon","\\eqqcolon"),be("\\equalscoloncolon","\\Eqqcolon"),be("\\colonminus","\\coloneq"),be("\\coloncolonminus","\\Coloneq"),be("\\minuscolon","\\eqcolon"),be("\\minuscoloncolon","\\Eqcolon"),be("\\coloncolonapprox","\\Colonapprox"),be("\\coloncolonsim","\\Colonsim"),be("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),be("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),be("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),be("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),be("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),be("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),be("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),be("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),be("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),be("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),be("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),be("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),be("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),be("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),be("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),be("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),be("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),be("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),be("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),be("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),be("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),be("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),be("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),be("\u27E6","\\llbracket"),be("\u27E7","\\rrbracket"),be("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),be("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),be("\u2983","\\lBrace"),be("\u2984","\\rBrace"),be("\\darr","\\downarrow"),be("\\dArr","\\Downarrow"),be("\\Darr","\\Downarrow"),be("\\lang","\\langle"),be("\\rang","\\rangle"),be("\\uarr","\\uparrow"),be("\\uArr","\\Uparrow"),be("\\Uarr","\\Uparrow"),be("\\N","\\mathbb{N}"),be("\\R","\\mathbb{R}"),be("\\Z","\\mathbb{Z}"),be("\\alef","\\aleph"),be("\\alefsym","\\aleph"),be("\\Alpha","\\mathrm{A}"),be("\\Beta","\\mathrm{B}"),be("\\bull","\\bullet"),be("\\Chi","\\mathrm{X}"),be("\\clubs","\\clubsuit"),be("\\cnums","\\mathbb{C}"),be("\\Complex","\\mathbb{C}"),be("\\Dagger","\\ddagger"),be("\\diamonds","\\diamondsuit"),be("\\empty","\\emptyset"),be("\\Epsilon","\\mathrm{E}"),be("\\Eta","\\mathrm{H}"),be("\\exist","\\exists"),be("\\harr","\\leftrightarrow"),be("\\hArr","\\Leftrightarrow"),be("\\Harr","\\Leftrightarrow"),be("\\hearts","\\heartsuit"),be("\\image","\\Im"),be("\\infin","\\infty"),be("\\Iota","\\mathrm{I}"),be("\\isin","\\in"),be("\\Kappa","\\mathrm{K}"),be("\\larr","\\leftarrow"),be("\\lArr","\\Leftarrow"),be("\\Larr","\\Leftarrow"),be("\\lrarr","\\leftrightarrow"),be("\\lrArr","\\Leftrightarrow"),be("\\Lrarr","\\Leftrightarrow"),be("\\Mu","\\mathrm{M}"),be("\\natnums","\\mathbb{N}"),be("\\Nu","\\mathrm{N}"),be("\\Omicron","\\mathrm{O}"),be("\\plusmn","\\pm"),be("\\rarr","\\rightarrow"),be("\\rArr","\\Rightarrow"),be("\\Rarr","\\Rightarrow"),be("\\real","\\Re"),be("\\reals","\\mathbb{R}"),be("\\Reals","\\mathbb{R}"),be("\\Rho","\\mathrm{P}"),be("\\sdot","\\cdot"),be("\\sect","\\S"),be("\\spades","\\spadesuit"),be("\\sub","\\subset"),be("\\sube","\\subseteq"),be("\\supe","\\supseteq"),be("\\Tau","\\mathrm{T}"),be("\\thetasym","\\vartheta"),be("\\weierp","\\wp"),be("\\Zeta","\\mathrm{Z}"),be("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),be("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),be("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),be("\\blue","\\textcolor{##6495ed}{#1}"),be("\\orange","\\textcolor{##ffa500}{#1}"),be("\\pink","\\textcolor{##ff00af}{#1}"),be("\\red","\\textcolor{##df0030}{#1}"),be("\\green","\\textcolor{##28ae7b}{#1}"),be("\\gray","\\textcolor{gray}{#1}"),be("\\purple","\\textcolor{##9d38bd}{#1}"),be("\\blueA","\\textcolor{##ccfaff}{#1}"),be("\\blueB","\\textcolor{##80f6ff}{#1}"),be("\\blueC","\\textcolor{##63d9ea}{#1}"),be("\\blueD","\\textcolor{##11accd}{#1}"),be("\\blueE","\\textcolor{##0c7f99}{#1}"),be("\\tealA","\\textcolor{##94fff5}{#1}"),be("\\tealB","\\textcolor{##26edd5}{#1}"),be("\\tealC","\\textcolor{##01d1c1}{#1}"),be("\\tealD","\\textcolor{##01a995}{#1}"),be("\\tealE","\\textcolor{##208170}{#1}"),be("\\greenA","\\textcolor{##b6ffb0}{#1}"),be("\\greenB","\\textcolor{##8af281}{#1}"),be("\\greenC","\\textcolor{##74cf70}{#1}"),be("\\greenD","\\textcolor{##1fab54}{#1}"),be("\\greenE","\\textcolor{##0d923f}{#1}"),be("\\goldA","\\textcolor{##ffd0a9}{#1}"),be("\\goldB","\\textcolor{##ffbb71}{#1}"),be("\\goldC","\\textcolor{##ff9c39}{#1}"),be("\\goldD","\\textcolor{##e07d10}{#1}"),be("\\goldE","\\textcolor{##a75a05}{#1}"),be("\\redA","\\textcolor{##fca9a9}{#1}"),be("\\redB","\\textcolor{##ff8482}{#1}"),be("\\redC","\\textcolor{##f9685d}{#1}"),be("\\redD","\\textcolor{##e84d39}{#1}"),be("\\redE","\\textcolor{##bc2612}{#1}"),be("\\maroonA","\\textcolor{##ffbde0}{#1}"),be("\\maroonB","\\textcolor{##ff92c6}{#1}"),be("\\maroonC","\\textcolor{##ed5fa6}{#1}"),be("\\maroonD","\\textcolor{##ca337c}{#1}"),be("\\maroonE","\\textcolor{##9e034e}{#1}"),be("\\purpleA","\\textcolor{##ddd7ff}{#1}"),be("\\purpleB","\\textcolor{##c6b9fc}{#1}"),be("\\purpleC","\\textcolor{##aa87ff}{#1}"),be("\\purpleD","\\textcolor{##7854ab}{#1}"),be("\\purpleE","\\textcolor{##543b78}{#1}"),be("\\mintA","\\textcolor{##f5f9e8}{#1}"),be("\\mintB","\\textcolor{##edf2df}{#1}"),be("\\mintC","\\textcolor{##e0e5cc}{#1}"),be("\\grayA","\\textcolor{##f6f7f7}{#1}"),be("\\grayB","\\textcolor{##f0f1f2}{#1}"),be("\\grayC","\\textcolor{##e3e5e6}{#1}"),be("\\grayD","\\textcolor{##d6d8da}{#1}"),be("\\grayE","\\textcolor{##babec2}{#1}"),be("\\grayF","\\textcolor{##888d93}{#1}"),be("\\grayG","\\textcolor{##626569}{#1}"),be("\\grayH","\\textcolor{##3b3e40}{#1}"),be("\\grayI","\\textcolor{##21242c}{#1}"),be("\\kaBlue","\\textcolor{##314453}{#1}"),be("\\kaGreen","\\textcolor{##71B307}{#1}");var ii={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Gi=function(){function Ve(Y,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(Y),this.macros=new hs(Ma,ne.macros),this.mode=he,this.stack=[]}var Z=Ve.prototype;return Z.feed=function(ne){this.lexer=new Ra(ne,this.settings)},Z.switchMode=function(ne){this.mode=ne},Z.beginGroup=function(){this.macros.beginGroup()},Z.endGroup=function(){this.macros.endGroup()},Z.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Z.popToken=function(){return this.future(),this.stack.pop()},Z.pushToken=function(ne){this.stack.push(ne)},Z.pushTokens=function(ne){var he;(he=this.stack).push.apply(he,ne)},Z.consumeSpaces=function(){for(;;){var ne=this.future();if(ne.text===" ")this.stack.pop();else break}},Z.consumeArgs=function(ne){for(var he=[],Te=0;Te<ne;++Te){this.consumeSpaces();var qe=this.popToken();if(qe.text==="{"){for(var Tt=[],$t=1;$t!==0;){var rr=this.popToken();if(Tt.push(rr),rr.text==="{")++$t;else if(rr.text==="}")--$t;else if(rr.text==="EOF")throw new o("End of input in macro argument",qe)}Tt.pop(),Tt.reverse(),he[Te]=Tt}else{if(qe.text==="EOF")throw new o("End of input expecting macro argument");he[Te]=[qe]}}return he},Z.expandOnce=function(){var ne=this.popToken(),he=ne.text,Te=this._getExpansion(he);if(Te==null)return this.pushToken(ne),ne;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var qe=Te.tokens;if(Te.numArgs){var Tt=this.consumeArgs(Te.numArgs);qe=qe.slice();for(var $t=qe.length-1;$t>=0;--$t){var rr=qe[$t];if(rr.text==="#"){if($t===0)throw new o("Incomplete placeholder at end of macro body",rr);if(rr=qe[--$t],rr.text==="#")qe.splice($t+1,1);else if(/^[1-9]$/.test(rr.text)){var Tr;(Tr=qe).splice.apply(Tr,[$t,2].concat(Tt[+rr.text-1]))}else throw new o("Not a valid argument number",rr)}}}return this.pushTokens(qe),qe},Z.expandAfterFuture=function(){return this.expandOnce(),this.future()},Z.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},Z.expandMacro=function(ne){if(this.macros.get(ne)){var he=[],Te=this.stack.length;for(this.pushToken(new c(ne));this.stack.length>Te;){var qe=this.expandOnce();qe instanceof c&&he.push(this.stack.pop())}return he}},Z.expandMacroAsText=function(ne){var he=this.expandMacro(ne);return he&&he.map(function(Te){return Te.text}).join("")},Z._getExpansion=function(ne){var he=this.macros.get(ne);if(he==null)return he;var Te=typeof he=="function"?he(this):he;if(typeof Te=="string"){var qe=0;if(Te.indexOf("#")!==-1)for(var Tt=Te.replace(/##/g,"");Tt.indexOf("#"+(qe+1))!==-1;)++qe;for(var $t=new Ra(Te,this.settings),rr=[],Tr=$t.lex();Tr.text!=="EOF";)rr.push(Tr),Tr=$t.lex();rr.reverse();var Gr={tokens:rr,numArgs:qe};return Gr}return Te},Z.isDefined=function(ne){return this.macros.has(ne)||La.hasOwnProperty(ne)||Ye.math.hasOwnProperty(ne)||Ye.text.hasOwnProperty(ne)||ii.hasOwnProperty(ne)},Ve}(),zn={"\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"}},Zn={\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"},wn=function(){function Ve(Y,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 Gi(Y,ne,this.mode),this.settings=ne,this.leftrightDepth=0}var Z=Ve.prototype;return Z.expect=function(ne,he){if(he===void 0&&(he=!0),this.fetch().text!==ne)throw new o("Expected '"+ne+"', got '"+this.fetch().text+"'",this.fetch());he&&this.consume()},Z.consume=function(){this.nextToken=null},Z.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Z.switchMode=function(ne){this.mode=ne,this.gullet.switchMode(ne)},Z.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},Z.parseExpression=function(ne,he){for(var Te=[];;){this.mode==="math"&&this.consumeSpaces();var qe=this.fetch();if(Ve.endOfExpression.indexOf(qe.text)!==-1||he&&qe.text===he||ne&&La[qe.text]&&La[qe.text].infix)break;var Tt=this.parseAtom(he);if(!Tt)break;Te.push(Tt)}return this.mode==="text"&&this.formLigatures(Te),this.handleInfixNodes(Te)},Z.handleInfixNodes=function(ne){for(var he=-1,Te,qe=0;qe<ne.length;qe++){var Tt=kr(ne[qe],"infix");if(Tt){if(he!==-1)throw new o("only one infix operator per group",Tt.token);he=qe,Te=Tt.replaceWith}}if(he!==-1&&Te){var $t,rr,Tr=ne.slice(0,he),Gr=ne.slice(he+1);Tr.length===1&&Tr[0].type==="ordgroup"?$t=Tr[0]:$t={type:"ordgroup",mode:this.mode,body:Tr},Gr.length===1&&Gr[0].type==="ordgroup"?rr=Gr[0]:rr={type:"ordgroup",mode:this.mode,body:Gr};var fn;return Te==="\\\\abovefrac"?fn=this.callFunction(Te,[$t,ne[he],rr],[]):fn=this.callFunction(Te,[$t,rr],[]),[fn]}else return ne},Z.handleSupSubscript=function(ne){var he=this.fetch(),Te=he.text;this.consume();var qe=this.parseGroup(ne,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!qe)throw new o("Expected group after '"+Te+"'",he);return qe},Z.formatUnsupportedCmd=function(ne){for(var he=[],Te=0;Te<ne.length;Te++)he.push({type:"textord",mode:"text",text:ne[Te]});var qe={type:"text",mode:this.mode,body:he},Tt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[qe]};return Tt},Z.parseAtom=function(ne){var he=this.parseGroup("atom",!1,null,ne);if(this.mode==="text")return he;for(var Te,qe;;){this.consumeSpaces();var Tt=this.fetch();if(Tt.text==="\\limits"||Tt.text==="\\nolimits"){var $t=kr(he,"op");if($t){var rr=Tt.text==="\\limits";$t.limits=rr,$t.alwaysHandleSupSub=!0}else if($t=kr(he,"operatorname"),$t&&$t.alwaysHandleSupSub){var Tr=Tt.text==="\\limits";$t.limits=Tr}else throw new o("Limit controls must follow a math operator",Tt);this.consume()}else if(Tt.text==="^"){if(Te)throw new o("Double superscript",Tt);Te=this.handleSupSubscript("superscript")}else if(Tt.text==="_"){if(qe)throw new o("Double subscript",Tt);qe=this.handleSupSubscript("subscript")}else if(Tt.text==="'"){if(Te)throw new o("Double superscript",Tt);var Gr={type:"textord",mode:this.mode,text:"\\prime"},fn=[Gr];for(this.consume();this.fetch().text==="'";)fn.push(Gr),this.consume();this.fetch().text==="^"&&fn.push(this.handleSupSubscript("superscript")),Te={type:"ordgroup",mode:this.mode,body:fn}}else break}return Te||qe?{type:"supsub",mode:this.mode,base:he,sup:Te,sub:qe}:he},Z.parseFunction=function(ne,he,Te){var qe=this.fetch(),Tt=qe.text,$t=La[Tt];if(!$t)return null;if(this.consume(),Te!=null&&$t.greediness<=Te)throw new o("Got function '"+Tt+"' with no arguments"+(he?" as "+he:""),qe);if(this.mode==="text"&&!$t.allowedInText)throw new o("Can't use function '"+Tt+"' in text mode",qe);if(this.mode==="math"&&$t.allowedInMath===!1)throw new o("Can't use function '"+Tt+"' in math mode",qe);var rr=this.parseArguments(Tt,$t),Tr=rr.args,Gr=rr.optArgs;return this.callFunction(Tt,Tr,Gr,qe,ne)},Z.callFunction=function(ne,he,Te,qe,Tt){var $t={funcName:ne,parser:this,token:qe,breakOnTokenText:Tt},rr=La[ne];if(rr&&rr.handler)return rr.handler($t,he,Te);throw new o("No function handler for "+ne)},Z.parseArguments=function(ne,he){var Te=he.numArgs+he.numOptionalArgs;if(Te===0)return{args:[],optArgs:[]};for(var qe=he.greediness,Tt=[],$t=[],rr=0;rr<Te;rr++){var Tr=he.argTypes&&he.argTypes[rr],Gr=rr<he.numOptionalArgs,fn=rr>0&&!Gr||rr===0&&!Gr&&this.mode==="math",Cn=this.parseGroupOfType("argument to '"+ne+"'",Tr,Gr,qe,fn);if(!Cn){if(Gr){$t.push(null);continue}throw new o("Expected group after '"+ne+"'",this.fetch())}(Gr?$t:Tt).push(Cn)}return{args:Tt,optArgs:$t}},Z.parseGroupOfType=function(ne,he,Te,qe,Tt){switch(he){case"color":return Tt&&this.consumeSpaces(),this.parseColorGroup(Te);case"size":return Tt&&this.consumeSpaces(),this.parseSizeGroup(Te);case"url":return this.parseUrlGroup(Te,Tt);case"math":case"text":return this.parseGroup(ne,Te,qe,void 0,he,Tt);case"hbox":{var $t=this.parseGroup(ne,Te,qe,void 0,"text",Tt);if(!$t)return $t;var rr={type:"styling",mode:$t.mode,body:[$t],style:"text"};return rr}case"raw":{if(Tt&&this.consumeSpaces(),Te&&this.fetch().text==="{")return null;var Tr=this.parseStringGroup("raw",Te,!0);if(Tr)return{type:"raw",mode:"text",string:Tr.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(ne,Te,qe,void 0,void 0,Tt);default:throw new o("Unknown group type as "+ne,this.fetch())}},Z.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},Z.parseStringGroup=function(ne,he,Te){var qe=he?"[":"{",Tt=he?"]":"}",$t=this.fetch();if($t.text!==qe){if(he)return null;if(Te&&$t.text!=="EOF"&&/[^{}[\]]/.test($t.text))return this.consume(),$t}var rr=this.mode;this.mode="text",this.expect(qe);for(var Tr="",Gr=this.fetch(),fn=0,Cn=Gr,Bn;(Bn=this.fetch()).text!==Tt||Te&&fn>0;){switch(Bn.text){case"EOF":throw new o("Unexpected end of input in "+ne,Gr.range(Cn,Tr));case qe:fn++;break;case Tt:fn--;break}Cn=Bn,Tr+=Cn.text,this.consume()}return this.expect(Tt),this.mode=rr,Gr.range(Cn,Tr)},Z.parseRegexGroup=function(ne,he){var Te=this.mode;this.mode="text";for(var qe=this.fetch(),Tt=qe,$t="",rr;(rr=this.fetch()).text!=="EOF"&&ne.test($t+rr.text);)Tt=rr,$t+=Tt.text,this.consume();if($t==="")throw new o("Invalid "+he+": '"+qe.text+"'",qe);return this.mode=Te,qe.range(Tt,$t)},Z.parseColorGroup=function(ne){var he=this.parseStringGroup("color",ne);if(!he)return null;var Te=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(he.text);if(!Te)throw new o("Invalid color: '"+he.text+"'",he);var qe=Te[0];return/^[0-9a-f]{6}$/i.test(qe)&&(qe="#"+qe),{type:"color-token",mode:this.mode,color:qe}},Z.parseSizeGroup=function(ne){var he,Te=!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",Te=!0);var qe=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(he.text);if(!qe)throw new o("Invalid size: '"+he.text+"'",he);var Tt={number:+(qe[1]+qe[2]),unit:qe[3]};if(!Ii(Tt))throw new o("Invalid unit: '"+Tt.unit+"'",he);return{type:"size",mode:this.mode,value:Tt,isBlank:Te}},Z.parseUrlGroup=function(ne,he){this.gullet.lexer.setCatcode("%",13);var Te=this.parseStringGroup("url",ne,!0);if(this.gullet.lexer.setCatcode("%",14),!Te)return null;var qe=Te.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:qe}},Z.parseGroup=function(ne,he,Te,qe,Tt,$t){var rr=this.mode;Tt&&this.switchMode(Tt),$t&&this.consumeSpaces();var Tr=this.fetch(),Gr=Tr.text,fn;if(he?Gr==="[":Gr==="{"||Gr==="\\begingroup"){this.consume();var Cn=Ve.endOfGroup[Gr];this.gullet.beginGroup();var Bn=this.parseExpression(!1,Cn),Xn=this.fetch();this.expect(Cn),this.gullet.endGroup(),fn={type:"ordgroup",mode:this.mode,loc:l.range(Tr,Xn),body:Bn,semisimple:Gr==="\\begingroup"||void 0}}else if(he)fn=null;else if(fn=this.parseFunction(qe,ne,Te)||this.parseSymbol(),fn==null&&Gr[0]==="\\"&&!ii.hasOwnProperty(Gr)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+Gr,Tr);fn=this.formatUnsupportedCmd(Gr),this.consume()}return Tt&&this.switchMode(rr),fn},Z.formLigatures=function(ne){for(var he=ne.length-1,Te=0;Te<he;++Te){var qe=ne[Te],Tt=qe.text;Tt==="-"&&ne[Te+1].text==="-"&&(Te+1<he&&ne[Te+2].text==="-"?(ne.splice(Te,3,{type:"textord",mode:"text",loc:l.range(qe,ne[Te+2]),text:"---"}),he-=2):(ne.splice(Te,2,{type:"textord",mode:"text",loc:l.range(qe,ne[Te+1]),text:"--"}),he-=1)),(Tt==="'"||Tt==="`")&&ne[Te+1].text===Tt&&(ne.splice(Te,2,{type:"textord",mode:"text",loc:l.range(qe,ne[Te+1]),text:Tt+Tt}),he-=1)}},Z.parseSymbol=function(){var ne=this.fetch(),he=ne.text;if(/^\\verb[^a-zA-Z]/.test(he)){this.consume();var Te=he.slice(5),qe=Te.charAt(0)==="*";if(qe&&(Te=Te.slice(1)),Te.length<2||Te.charAt(0)!==Te.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Te=Te.slice(1,-1),{type:"verb",mode:"text",body:Te,star:qe}}Zn.hasOwnProperty(he[0])&&!Ye[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=Zn[he[0]]+he.substr(1));var Tt=Ja.exec(he);Tt&&(he=he.substring(0,Tt.index),he==="i"?he="\u0131":he==="j"&&(he="\u0237"));var $t;if(Ye[this.mode][he]){this.settings.strict&&this.mode==="math"&&at.indexOf(he)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+he[0]+'" used in math mode',ne);var rr=Ye[this.mode][he].group,Tr=l.range(ne),Gr;if(Ft.hasOwnProperty(rr)){var fn=rr;Gr={type:"atom",mode:this.mode,family:fn,loc:Tr,text:he}}else Gr={type:rr,mode:this.mode,loc:Tr,text:he};$t=Gr}else if(he.charCodeAt(0)>=128)this.settings.strict&&(Ie(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)),$t={type:"textord",mode:"text",loc:l.range(ne),text:he};else return null;if(this.consume(),Tt)for(var Cn=0;Cn<Tt[0].length;Cn++){var Bn=Tt[0][Cn];if(!zn[Bn])throw new o("Unknown accent ' "+Bn+"'",ne);var Xn=zn[Bn][this.mode];if(!Xn)throw new o("Accent "+Bn+" unsupported in "+this.mode+" mode",ne);$t={type:"accent",mode:this.mode,loc:l.range(ne),label:Xn,isStretchy:!1,isShifty:!0,base:$t}}return $t},Ve}();wn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],wn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},wn.SUPSUB_GREEDINESS=1;var ua=function(Z,Y){if(!(typeof Z=="string"||Z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ne=new wn(Z,Y);delete ne.gullet.macros.current["\\df@tag"];var he=ne.parse();if(ne.gullet.macros.get("\\df@tag")){if(!Y.displayMode)throw new o("\\tag works only in display equations");ne.gullet.feed("\\df@tag"),he=[{type:"tag",mode:"text",body:he,tag:ne.parse()}]}return he},es=ua,Wo=function(Z,Y,ne){Y.textContent="";var he=wl(Z,ne).toNode();Y.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."),Wo=function(){throw new o("KaTeX doesn't work in quirks mode.")});var bo=function(Z,Y){var ne=wl(Z,Y).toMarkup();return ne},Iu=function(Z,Y){var ne=new I(Y);return es(Z,ne)},Zl=function(Z,Y,ne){if(ne.throwOnError||!(Z instanceof o))throw Z;var he=st.makeSpan(["katex-error"],[new Ae(Y)]);return he.setAttribute("title",Z.toString()),he.setAttribute("style","color:"+ne.errorColor),he},wl=function(Z,Y){var ne=new I(Y);try{var he=es(Z,ne);return Uo(he,Z,ne)}catch(Te){return Zl(Te,Z,ne)}},El=function(Z,Y){var ne=new I(Y);try{var he=es(Z,ne);return uo(he,Z,ne)}catch(Te){return Zl(Te,Z,ne)}},Uc={version:"0.11.1",render:Wo,renderToString:bo,ParseError:o,__parse:Iu,__renderToDomTree:wl,__renderToHTMLTree:El,__setFontMetrics:Je,__defineSymbol:ce,__defineMacro:be,__domTree:{Span:pt,Anchor:et,SymbolNode:Ae,SvgNode:Me,PathNode:Ue,LineNode:Ge}},Hu=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 o(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])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},99746:function(d,v,e){var r=e(34251),i=e(24968),l=e(28290),c=e(88068),f=e(54238);function o(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])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},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 o(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])}}o.prototype.clear=r,o.prototype.delete=i,o.prototype.get=l,o.prototype.has=c,o.prototype.set=f,d.exports=o},91866:function(d,v,e){var r=e(99746),i=e(31119),l=e(64399),c=e(81897),f=e(90558),o=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=o,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),o=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&&o(x),k=y||_||b||S,R=k?r(x.length,String):[],A=R.length;for(var I in x)(p||u.call(x,I))&&!(k&&(I=="length"||b&&(I=="offset"||I=="parent")||S&&(I=="buffer"||I=="byteLength"||I=="byteOffset")||f(I,A)))&&R.push(I);return R}d.exports=a},89135:function(d,v,e){var r=e(42813),i=e(43607);function l(c,f,o){(o!==void 0&&!i(c[f],o)||o===void 0&&!(f in c))&&r(c,f,o)}d.exports=l},60348:function(d,v,e){var r=e(42813),i=e(43607),l=Object.prototype,c=l.hasOwnProperty;function f(o,h,u){var a=o[h];(!(c.call(o,h)&&i(a,u))||u===void 0&&!(h in o))&&r(o,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 o=new c;return c.prototype=void 0,o}}();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]",o=r?r.toStringTag:void 0;function h(u){return u==null?u===void 0?f:c:o&&o 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,o=/^\[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:o;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]",o="[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]",k="[object WeakMap]",R="[object ArrayBuffer]",A="[object DataView]",I="[object Float32Array]",M="[object Float64Array]",B="[object Int8Array]",N="[object Int16Array]",V="[object Int32Array]",W="[object Uint8Array]",H="[object Uint8ClampedArray]",te="[object Uint16Array]",ie="[object Uint32Array]",oe={};oe[I]=oe[M]=oe[B]=oe[N]=oe[V]=oe[W]=oe[H]=oe[te]=oe[ie]=!0,oe[c]=oe[f]=oe[R]=oe[o]=oe[A]=oe[h]=oe[u]=oe[a]=oe[x]=oe[p]=oe[y]=oe[_]=oe[b]=oe[S]=oe[k]=!1;function J(Q){return l(Q)&&i(Q.length)&&!!oe[r(Q)]}d.exports=J},33988:function(d,v,e){var r=e(20816),i=e(7975),l=e(97817),c=Object.prototype,f=c.hasOwnProperty;function o(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=o},50097:function(d,v,e){var r=e(91866),i=e(89135),l=e(14018),c=e(23585),f=e(20816),o=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 k=y?y(h(a,S),b,S+"",a,x,_):void 0;k===void 0&&(k=b),i(a,S,k)}},o)}d.exports=u},23585:function(d,v,e){var r=e(89135),i=e(32315),l=e(78358),c=e(47760),f=e(4084),o=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 k(R,A,I,M,B,N,V){var W=b(R,I),H=b(A,I),te=V.get(H);if(te){r(R,I,te);return}var ie=N?N(W,H,I+"",R,A,V):void 0,oe=ie===void 0;if(oe){var J=h(H),Q=!J&&a(H),K=!J&&!Q&&_(H);ie=H,J||Q||K?h(W)?ie=W:u(W)?ie=c(W):Q?(oe=!1,ie=i(H,!0)):K?(oe=!1,ie=l(H,!0)):ie=[]:y(H)||o(H)?(ie=W,o(W)?ie=S(W):(!p(W)||x(W))&&(ie=f(H))):oe=!1}oe&&(V.set(H,ie),B(ie,H,M,N,V),V.delete(H)),r(R,I,ie)}d.exports=k},92918:function(d,v,e){var r=e(46962),i=e(19652),l=e(71152);function c(f,o){return l(i(f,o,r),f+"")}d.exports=c},63989:function(d,v,e){var r=e(13503),i=e(35234),l=e(46962),c=i?function(f,o){return i(f,"toString",{configurable:!0,enumerable:!1,value:r(o),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,o=f?f.allocUnsafe:void 0;function h(u,a){if(a)return u.slice();var x=u.length,p=o?o(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,o,h){var u=!o;o||(o={});for(var a=-1,x=f.length;++a<x;){var p=f[a],y=h?h(o[p],c[p],p,o,c):void 0;y===void 0&&(y=c[p]),u?i(o,p,y):r(o,p,y)}return o}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,o){var h=-1,u=o.length,a=u>1?o[u-1]:void 0,x=u>2?o[2]:void 0;for(a=c.length>3&&typeof a=="function"?(u--,a):void 0,x&&i(o[0],o[1],x)&&(a=u<3?void 0:a,u=1),f=Object(f);++h<u;){var p=o[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),o=l(r),h=o.length;h--;){var u=o[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 o=i(c,f);return r(o)?o: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 o(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=o},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(o){var h=this.__data__;if(r){var u=h[o];return u===i?void 0:u}return c.call(h,o)?h[o]:void 0}d.exports=f},63122:function(d,v,e){var r=e(65294),i=Object.prototype,l=i.hasOwnProperty;function c(f){var o=this.__data__;return r?o[f]!==void 0:l.call(o,f)}d.exports=c},37279:function(d,v,e){var r=e(65294),i="__lodash_hash_undefined__";function l(c,f){var o=this.__data__;return this.size+=this.has(c)?0:1,o[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(o,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],o):!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 o=this.__data__,h=r(o,f);if(h<0)return!1;var u=o.length-1;return h==u?o.pop():l.call(o,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__,o=r(f,l);return o<0?(++this.size,f.push([l,c])):f[o][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),o=f.size;return f.set(l,c),this.size+=f.size==o?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,o=function(){try{var h=l&&l.require&&l.require("util").types;return h||f&&f.binding&&f.binding("util")}catch(u){}}();d.exports=o},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,o){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]=o(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 o=r(),h=e-(o-f);if(f=o,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(o,h){var u=this.__data__;if(u instanceof r){var a=u.__data__;if(!i||a.length<c-1)return a.push([o,h]),this.size=++u.size,this;u=this.__data__=new l(a)}return u.set(o,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,o=r(function(){return arguments}())?r:function(h){return i(h)&&c.call(h,"callee")&&!f.call(h,"callee")};d.exports=o},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,o=f?r.Buffer:void 0,h=o?o.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]",o="[object Proxy]";function h(u){if(!i(u))return!1;var a=r(u);return a==c||a==f||a==l||a==o}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,o=Object.prototype,h=f.toString,u=o.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.",o="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,k=1,R=2,A=4,I=8,M=16,B=32,N=64,V=128,W=256,H=512,te=30,ie="...",oe=800,J=16,Q=1,K=2,se=3,ee=1/0,X=9007199254740991,le=17976931348623157e292,z=NaN,$=4294967295,ae=$-1,_e=$>>>1,Ie=[["ary",V],["bind",k],["bindKey",R],["curry",I],["curryRight",M],["flip",H],["partial",B],["partialRight",N],["rearg",W]],ke="[object Arguments]",We="[object Array]",je="[object AsyncFunction]",Mt="[object Boolean]",yt="[object Date]",Pt="[object DOMException]",tr="[object Error]",Vt="[object Function]",lr="[object GeneratorFunction]",Ke="[object Map]",Ct="[object Number]",jt="[object Null]",it="[object Object]",xt="[object Promise]",pt="[object Proxy]",et="[object RegExp]",Ze="[object Set]",ge="[object String]",Ae="[object Symbol]",Me="[object Undefined]",Ue="[object WeakMap]",Ge="[object WeakSet]",nt="[object ArrayBuffer]",ut="[object DataView]",Kt="[object Float32Array]",Zt="[object Float64Array]",De="[object Int8Array]",Je="[object Int16Array]",Wt="[object Int32Array]",Ot="[object Uint8Array]",zt="[object Uint8ClampedArray]",Ft="[object Uint16Array]",At="[object Uint32Array]",Yt=/\b__p \+= '';/g,Ye=/\b(__p \+=) '' \+/g,ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,Dt=/[&<>"']/g,Ce=RegExp(pe.source),ft=RegExp(Dt.source),Ut=/<%-([\s\S]+?)%>/g,St=/<%([\s\S]+?)%>/g,Oe=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ye=/^\w*$/,Xe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vt=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(vt.source),Ne=/^\s+/,Dr=/\s/,Et=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Yr=/\{\n\/\* \[wrapped with (.+)\] \*/,Jr=/,? & /,Er=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$r=/[()=,{}\[\]\/\s]/,_r=/\\(\\)?/g,Hr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,on=/\w*$/,pn=/^[-+]0x[0-9a-f]+$/i,or=/^0b[01]+$/i,kt=/^\[object .+?Constructor\]$/,mt=/^0o[0-7]+$/i,gt=/^(?:0|[1-9]\d*)$/,Nt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ar=/($^)/,vr=/['\n\r\u2028\u2029\\]/g,at="\\ud800-\\udfff",Nr="\\u0300-\\u036f",bn="\\ufe20-\\ufe2f",Yn="\\u20d0-\\u20ff",mr=Nr+bn+Yn,rn="\\u2700-\\u27bf",gn="a-z\\xdf-\\xf6\\xf8-\\xff",Mn="\\xac\\xb1\\xd7\\xf7",ai="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hi="\\u2000-\\u206f",Vi=" \\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",Yi="A-Z\\xc0-\\xd6\\xd8-\\xde",Ri="\\ufe0e\\ufe0f",Ii=Mn+ai+hi+Vi,Ti="['\u2019]",Ai="["+at+"]",oi="["+Ii+"]",Hi="["+mr+"]",xi="\\d+",xe="["+rn+"]",Kn="["+gn+"]",qn="[^"+at+Ii+xi+rn+gn+Yi+"]",Jn="\\ud83c[\\udffb-\\udfff]",oa="(?:"+Hi+"|"+Jn+")",Di="[^"+at+"]",Ci="(?:\\ud83c[\\udde6-\\uddff]){2}",pi="[\\ud800-\\udbff][\\udc00-\\udfff]",Qt="["+Yi+"]",dt="\\u200d",rt="(?:"+Kn+"|"+qn+")",It="(?:"+Qt+"|"+qn+")",ht="(?:"+Ti+"(?:d|ll|m|re|s|t|ve))?",sr="(?:"+Ti+"(?:D|LL|M|RE|S|T|VE))?",cr=oa+"?",Cr="["+Ri+"]?",Rr="(?:"+dt+"(?:"+[Di,Ci,pi].join("|")+")"+Cr+cr+")*",He="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",tt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",we=Cr+cr+Rr,st="(?:"+[xe,Ci,pi].join("|")+")"+we,ar="(?:"+[Di+Hi+"?",Hi,Ci,pi,Ai].join("|")+")",kr=RegExp(Ti,"g"),Ir=RegExp(Hi,"g"),xr=RegExp(Jn+"(?="+Jn+")|"+ar+we,"g"),jr=RegExp([Qt+"?"+Kn+"+"+ht+"(?="+[oi,Qt,"$"].join("|")+")",It+"+"+sr+"(?="+[oi,Qt+rt,"$"].join("|")+")",Qt+"?"+rt+"+"+ht,Qt+"+"+sr,tt,He,xi,st].join("|"),"g"),En=RegExp("["+dt+at+mr+Ri+"]"),yr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,cn=["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"],an=-1,dn={};dn[Kt]=dn[Zt]=dn[De]=dn[Je]=dn[Wt]=dn[Ot]=dn[zt]=dn[Ft]=dn[At]=!0,dn[ke]=dn[We]=dn[nt]=dn[Mt]=dn[ut]=dn[yt]=dn[tr]=dn[Vt]=dn[Ke]=dn[Ct]=dn[it]=dn[et]=dn[Ze]=dn[ge]=dn[Ue]=!1;var mn={};mn[ke]=mn[We]=mn[nt]=mn[ut]=mn[Mt]=mn[yt]=mn[Kt]=mn[Zt]=mn[De]=mn[Je]=mn[Wt]=mn[Ke]=mn[Ct]=mn[it]=mn[et]=mn[Ze]=mn[ge]=mn[Ae]=mn[Ot]=mn[zt]=mn[Ft]=mn[At]=!0,mn[tr]=mn[Vt]=mn[Ue]=!1;var Oa={\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"},Ei={"&":"&","<":"<",">":">",'"':""","'":"'"},gi={"&":"&","<":"<",">":">",""":'"',"'":"'"},$n={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Pi=parseFloat,Xi=parseInt,Pa=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,qs=typeof self=="object"&&self&&self.Object===Object&&self,ja=Pa||qs||Function("return this")(),Ws=v&&!v.nodeType&&v,mo=Ws&&!0&&d&&!d.nodeType&&d,as=mo&&mo.exports===Ws,Aa=as&&Pa.process,$i=function(){try{var ur=mo&&mo.require&&mo.require("util").types;return ur||Aa&&Aa.binding&&Aa.binding("util")}catch(Mr){}}(),Gs=$i&&$i.isArrayBuffer,_s=$i&&$i.isDate,Js=$i&&$i.isMap,zi=$i&&$i.isRegExp,Xs=$i&&$i.isSet,No=$i&&$i.isTypedArray;function Ga(ur,Mr,Fr){switch(Fr.length){case 0:return ur.call(Mr);case 1:return ur.call(Mr,Fr[0]);case 2:return ur.call(Mr,Fr[0],Fr[1]);case 3:return ur.call(Mr,Fr[0],Fr[1],Fr[2])}return ur.apply(Mr,Fr)}function Fs(ur,Mr,Fr,Sn){for(var Tn=-1,_t=ur==null?0:ur.length;++Tn<_t;){var Un=ur[Tn];Mr(Sn,Un,Fr(Un),ur)}return Sn}function ci(ur,Mr){for(var Fr=-1,Sn=ur==null?0:ur.length;++Fr<Sn&&Mr(ur[Fr],Fr,ur)!==!1;);return ur}function oo(ur,Mr){for(var Fr=ur==null?0:ur.length;Fr--&&Mr(ur[Fr],Fr,ur)!==!1;);return ur}function Fn(ur,Mr){for(var Fr=-1,Sn=ur==null?0:ur.length;++Fr<Sn;)if(!Mr(ur[Fr],Fr,ur))return!1;return!0}function os(ur,Mr){for(var Fr=-1,Sn=ur==null?0:ur.length,Tn=0,_t=[];++Fr<Sn;){var Un=ur[Fr];Mr(Un,Fr,ur)&&(_t[Tn++]=Un)}return _t}function Oo(ur,Mr){var Fr=ur==null?0:ur.length;return!!Fr&&zo(ur,Mr,0)>-1}function eo(ur,Mr,Fr){for(var Sn=-1,Tn=ur==null?0:ur.length;++Sn<Tn;)if(Fr(Mr,ur[Sn]))return!0;return!1}function ha(ur,Mr){for(var Fr=-1,Sn=ur==null?0:ur.length,Tn=Array(Sn);++Fr<Sn;)Tn[Fr]=Mr(ur[Fr],Fr,ur);return Tn}function ns(ur,Mr){for(var Fr=-1,Sn=Mr.length,Tn=ur.length;++Fr<Sn;)ur[Tn+Fr]=Mr[Fr];return ur}function Qi(ur,Mr,Fr,Sn){var Tn=-1,_t=ur==null?0:ur.length;for(Sn&&_t&&(Fr=ur[++Tn]);++Tn<_t;)Fr=Mr(Fr,ur[Tn],Tn,ur);return Fr}function js(ur,Mr,Fr,Sn){var Tn=ur==null?0:ur.length;for(Sn&&Tn&&(Fr=ur[--Tn]);Tn--;)Fr=Mr(Fr,ur[Tn],Tn,ur);return Fr}function wo(ur,Mr){for(var Fr=-1,Sn=ur==null?0:ur.length;++Fr<Sn;)if(Mr(ur[Fr],Fr,ur))return!0;return!1}var Qo=_i("length");function Uo(ur){return ur.split("")}function uo(ur){return ur.match(Er)||[]}function Eo(ur,Mr,Fr){var Sn;return Fr(ur,function(Tn,_t,Un){if(Mr(Tn,_t,Un))return Sn=_t,!1}),Sn}function ko(ur,Mr,Fr,Sn){for(var Tn=ur.length,_t=Fr+(Sn?1:-1);Sn?_t--:++_t<Tn;)if(Mr(ur[_t],_t,ur))return _t;return-1}function zo(ur,Mr,Fr){return Mr===Mr?Xt(ur,Mr,Fr):ko(ur,Zo,Fr)}function Ro(ur,Mr,Fr,Sn){for(var Tn=Fr-1,_t=ur.length;++Tn<_t;)if(Sn(ur[Tn],Mr))return Tn;return-1}function Zo(ur){return ur!==ur}function eu(ur,Mr){var Fr=ur==null?0:ur.length;return Fr?Ka(ur,Mr)/Fr:z}function _i(ur){return function(Mr){return Mr==null?i:Mr[ur]}}function mi(ur){return function(Mr){return ur==null?i:ur[Mr]}}function us(ur,Mr,Fr,Sn,Tn){return Tn(ur,function(_t,Un,Hn){Fr=Sn?(Sn=!1,_t):Mr(Fr,_t,Un,Hn)}),Fr}function ms(ur,Mr){var Fr=ur.length;for(ur.sort(Mr);Fr--;)ur[Fr]=ur[Fr].value;return ur}function Ka(ur,Mr){for(var Fr,Sn=-1,Tn=ur.length;++Sn<Tn;){var _t=Mr(ur[Sn]);_t!==i&&(Fr=Fr===i?_t:Fr+_t)}return Fr}function Va(ur,Mr){for(var Fr=-1,Sn=Array(ur);++Fr<ur;)Sn[Fr]=Mr(Fr);return Sn}function As(ur,Mr){return ha(Mr,function(Fr){return[Fr,ur[Fr]]})}function uu(ur){return ur&&ur.slice(0,Sr(ur)+1).replace(Ne,"")}function Ts(ur){return function(Mr){return ur(Mr)}}function lu(ur,Mr){return ha(Mr,function(Fr){return ur[Fr]})}function yu(ur,Mr){return ur.has(Mr)}function Cu(ur,Mr){for(var Fr=-1,Sn=ur.length;++Fr<Sn&&zo(Mr,ur[Fr],0)>-1;);return Fr}function Fu(ur,Mr){for(var Fr=ur.length;Fr--&&zo(Mr,ur[Fr],0)>-1;);return Fr}function xl(ur,Mr){for(var Fr=ur.length,Sn=0;Fr--;)ur[Fr]===Mr&&++Sn;return Sn}var Ho=mi(Oa),Lo=mi(Ei);function Mo(ur){return"\\"+$n[ur]}function zu(ur,Mr){return ur==null?i:ur[Mr]}function vo(ur){return En.test(ur)}function Zu(ur){return yr.test(ur)}function Pu(ur){for(var Mr,Fr=[];!(Mr=ur.next()).done;)Fr.push(Mr.value);return Fr}function cu(ur){var Mr=-1,Fr=Array(ur.size);return ur.forEach(function(Sn,Tn){Fr[++Mr]=[Tn,Sn]}),Fr}function vu(ur,Mr){return function(Fr){return ur(Mr(Fr))}}function to(ur,Mr){for(var Fr=-1,Sn=ur.length,Tn=0,_t=[];++Fr<Sn;){var Un=ur[Fr];(Un===Mr||Un===x)&&(ur[Fr]=x,_t[Tn++]=Fr)}return _t}function To(ur){var Mr=-1,Fr=Array(ur.size);return ur.forEach(function(Sn){Fr[++Mr]=Sn}),Fr}function fu(ur){var Mr=-1,Fr=Array(ur.size);return ur.forEach(function(Sn){Fr[++Mr]=[Sn,Sn]}),Fr}function Xt(ur,Mr,Fr){for(var Sn=Fr-1,Tn=ur.length;++Sn<Tn;)if(ur[Sn]===Mr)return Sn;return-1}function fr(ur,Mr,Fr){for(var Sn=Fr+1;Sn--;)if(ur[Sn]===Mr)return Sn;return Sn}function ir(ur){return vo(ur)?Wn(ur):Qo(ur)}function dr(ur){return vo(ur)?Dn(ur):Uo(ur)}function Sr(ur){for(var Mr=ur.length;Mr--&&Dr.test(ur.charAt(Mr)););return Mr}var vn=mi(gi);function Wn(ur){for(var Mr=xr.lastIndex=0;xr.test(ur);)++Mr;return Mr}function Dn(ur){return ur.match(xr)||[]}function jn(ur){return ur.match(jr)||[]}var ui=function ur(Mr){Mr=Mr==null?ja:ei.defaults(ja.Object(),Mr,ei.pick(ja,cn));var Fr=Mr.Array,Sn=Mr.Date,Tn=Mr.Error,_t=Mr.Function,Un=Mr.Math,Hn=Mr.Object,Li=Mr.RegExp,ia=Mr.String,Kr=Mr.TypeError,ba=Fr.prototype,qi=_t.prototype,Ia=Hn.prototype,lo=Mr["__core-js_shared__"],Ks=qi.toString,Wi=Ia.hasOwnProperty,co=0,fo=function(){var E=/[^.]+$/.exec(lo&&lo.keys&&lo.keys.IE_PROTO||"");return E?"Symbol(src)_1."+E:""}(),vs=Ia.toString,ls=Ks.call(Hn),Jo=ja._,So=Li("^"+Ks.call(Wi).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),An=as?Mr.Buffer:i,Ua=Mr.Symbol,is=Mr.Uint8Array,Qe=An?An.allocUnsafe:i,Re=vu(Hn.getPrototypeOf,Hn),Lt=Hn.create,Ht=Ia.propertyIsEnumerable,pr=ba.splice,Br=Ua?Ua.isConcatSpreadable:i,Wr=Ua?Ua.iterator:i,yn=Ua?Ua.toStringTag:i,ln=function(){try{var E=D(Hn,"defineProperty");return E({},"",{}),E}catch(F){}}(),xn=Mr.clearTimeout!==ja.clearTimeout&&Mr.clearTimeout,ti=Sn&&Sn.now!==ja.Date.now&&Sn.now,ni=Mr.setTimeout!==ja.setTimeout&&Mr.setTimeout,vi=Un.ceil,ji=Un.floor,ga=Hn.getOwnPropertySymbols,Ji=An?An.isBuffer:i,Mi=Mr.isFinite,Da=ba.join,Oi=vu(Hn.keys,Hn),Si=Un.max,Ea=Un.min,Co=Sn.now,Us=Mr.parseInt,Xa=Un.random,Qa=ba.reverse,cs=D(Mr,"DataView"),Ui=D(Mr,"Map"),La=D(Mr,"Promise"),fs=D(Mr,"Set"),ds=D(Mr,"WeakMap"),Fo=D(Hn,"create"),bs=ds&&new ds,Ba={},go=Ca(cs),Ja=Ca(Ui),yo=Ca(La),Ra=Ca(fs),hs=Ca(ds),ro=Ua?Ua.prototype:i,Ma=ro?ro.valueOf:i,be=ro?ro.toString:i;function Se(E){if(ou(E)&&!ya(E)&&!(E instanceof qr)){if(E instanceof gr)return E;if(Wi.call(E,"__wrapped__"))return Ms(E)}return new gr(E)}var br=function(){function E(){}return function(F){if(!jo(F))return{};if(Lt)return Lt(F);E.prototype=F;var fe=new E;return E.prototype=i,fe}}();function tn(){}function gr(E,F){this.__wrapped__=E,this.__actions__=[],this.__chain__=!!F,this.__index__=0,this.__values__=i}Se.templateSettings={escape:Ut,evaluate:St,interpolate:Oe,variable:"",imports:{_:Se}},Se.prototype=tn.prototype,Se.prototype.constructor=Se,gr.prototype=br(tn.prototype),gr.prototype.constructor=gr;function qr(E){this.__wrapped__=E,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function On(){var E=new qr(this.__wrapped__);return E.__actions__=hu(this.__actions__),E.__dir__=this.__dir__,E.__filtered__=this.__filtered__,E.__iteratees__=hu(this.__iteratees__),E.__takeCount__=this.__takeCount__,E.__views__=hu(this.__views__),E}function ii(){if(this.__filtered__){var E=new qr(this);E.__dir__=-1,E.__filtered__=!0}else E=this.clone(),E.__dir__*=-1;return E}function Gi(){var E=this.__wrapped__.value(),F=this.__dir__,fe=ya(E),$e=F<0,bt=fe?E.length:0,qt=li(0,bt,this.__views__),hr=qt.start,Lr=qt.end,Xr=Lr-hr,Rn=$e?Lr:hr-1,Ln=this.__iteratees__,Vn=Ln.length,Ni=0,wa=Ea(Xr,this.__takeCount__);if(!fe||!$e&&bt==Xr&&wa==Xr)return Yc(E,this.__actions__);var Ha=[];e:for(;Xr--&&Ni<wa;){Rn+=F;for(var Is=-1,Wa=E[Rn];++Is<Vn;){var Hs=Ln[Is],Qs=Hs.iteratee,Sc=Hs.type,zl=Qs(Wa);if(Sc==K)Wa=zl;else if(!zl){if(Sc==Q)continue e;break e}}Ha[Ni++]=Wa}return Ha}qr.prototype=br(tn.prototype),qr.prototype.constructor=qr;function zn(E){var F=-1,fe=E==null?0:E.length;for(this.clear();++F<fe;){var $e=E[F];this.set($e[0],$e[1])}}function Zn(){this.__data__=Fo?Fo(null):{},this.size=0}function wn(E){var F=this.has(E)&&delete this.__data__[E];return this.size-=F?1:0,F}function ua(E){var F=this.__data__;if(Fo){var fe=F[E];return fe===u?i:fe}return Wi.call(F,E)?F[E]:i}function es(E){var F=this.__data__;return Fo?F[E]!==i:Wi.call(F,E)}function Wo(E,F){var fe=this.__data__;return this.size+=this.has(E)?0:1,fe[E]=Fo&&F===i?u:F,this}zn.prototype.clear=Zn,zn.prototype.delete=wn,zn.prototype.get=ua,zn.prototype.has=es,zn.prototype.set=Wo;function bo(E){var F=-1,fe=E==null?0:E.length;for(this.clear();++F<fe;){var $e=E[F];this.set($e[0],$e[1])}}function Iu(){this.__data__=[],this.size=0}function Zl(E){var F=this.__data__,fe=Cs(F,E);if(fe<0)return!1;var $e=F.length-1;return fe==$e?F.pop():pr.call(F,fe,1),--this.size,!0}function wl(E){var F=this.__data__,fe=Cs(F,E);return fe<0?i:F[fe][1]}function El(E){return Cs(this.__data__,E)>-1}function Uc(E,F){var fe=this.__data__,$e=Cs(fe,E);return $e<0?(++this.size,fe.push([E,F])):fe[$e][1]=F,this}bo.prototype.clear=Iu,bo.prototype.delete=Zl,bo.prototype.get=wl,bo.prototype.has=El,bo.prototype.set=Uc;function Hu(E){var F=-1,fe=E==null?0:E.length;for(this.clear();++F<fe;){var $e=E[F];this.set($e[0],$e[1])}}function Ve(){this.size=0,this.__data__={hash:new zn,map:new(Ui||bo),string:new zn}}function Z(E){var F=Vu(this,E).delete(E);return this.size-=F?1:0,F}function Y(E){return Vu(this,E).get(E)}function ne(E){return Vu(this,E).has(E)}function he(E,F){var fe=Vu(this,E),$e=fe.size;return fe.set(E,F),this.size+=fe.size==$e?0:1,this}Hu.prototype.clear=Ve,Hu.prototype.delete=Z,Hu.prototype.get=Y,Hu.prototype.has=ne,Hu.prototype.set=he;function Te(E){var F=-1,fe=E==null?0:E.length;for(this.__data__=new Hu;++F<fe;)this.add(E[F])}function qe(E){return this.__data__.set(E,u),this}function Tt(E){return this.__data__.has(E)}Te.prototype.add=Te.prototype.push=qe,Te.prototype.has=Tt;function $t(E){var F=this.__data__=new bo(E);this.size=F.size}function rr(){this.__data__=new bo,this.size=0}function Tr(E){var F=this.__data__,fe=F.delete(E);return this.size=F.size,fe}function Gr(E){return this.__data__.get(E)}function fn(E){return this.__data__.has(E)}function Cn(E,F){var fe=this.__data__;if(fe instanceof bo){var $e=fe.__data__;if(!Ui||$e.length<c-1)return $e.push([E,F]),this.size=++fe.size,this;fe=this.__data__=new Hu($e)}return fe.set(E,F),this.size=fe.size,this}$t.prototype.clear=rr,$t.prototype.delete=Tr,$t.prototype.get=Gr,$t.prototype.has=fn,$t.prototype.set=Cn;function Bn(E,F){var fe=ya(E),$e=!fe&&mu(E),bt=!fe&&!$e&&$c(E),qt=!fe&&!$e&&!bt&&rd(E),hr=fe||$e||bt||qt,Lr=hr?Va(E.length,ia):[],Xr=Lr.length;for(var Rn in E)(F||Wi.call(E,Rn))&&!(hr&&(Rn=="length"||bt&&(Rn=="offset"||Rn=="parent")||qt&&(Rn=="buffer"||Rn=="byteLength"||Rn=="byteOffset")||ao(Rn,Xr)))&&Lr.push(Rn);return Lr}function Xn(E){var F=E.length;return F?E[tl(0,F-1)]:i}function Fi(E,F){return ea(hu(E),xs(F,0,E.length))}function Zi(E){return ea(hu(E))}function aa(E,F,fe){(fe!==i&&!ys(E[F],fe)||fe===i&&!(F in E))&&ka(E,F,fe)}function Sa(E,F,fe){var $e=E[F];(!(Wi.call(E,F)&&ys($e,fe))||fe===i&&!(F in E))&&ka(E,F,fe)}function Cs(E,F){for(var fe=E.length;fe--;)if(ys(E[fe][0],F))return fe;return-1}function Ps(E,F,fe,$e){return Ko(E,function(bt,qt,hr){F($e,bt,fe(bt),hr)}),$e}function Ds(E,F){return E&&Gu(F,ul(F),E)}function Os(E,F){return E&&Gu(F,uc(F),E)}function ka(E,F,fe){F=="__proto__"&&ln?ln(E,F,{configurable:!0,enumerable:!0,value:fe,writable:!0}):E[F]=fe}function no(E,F){for(var fe=-1,$e=F.length,bt=Fr($e),qt=E==null;++fe<$e;)bt[fe]=qt?i:Rd(E,F[fe]);return bt}function xs(E,F,fe){return E===E&&(fe!==i&&(E=E<=fe?E:fe),F!==i&&(E=E>=F?E:F)),E}function Pr(E,F,fe,$e,bt,qt){var hr,Lr=F&p,Xr=F&y,Rn=F&_;if(fe&&(hr=bt?fe(E,$e,bt,qt):fe(E)),hr!==i)return hr;if(!jo(E))return E;var Ln=ya(E);if(Ln){if(hr=ws(E),!Lr)return hu(E,hr)}else{var Vn=un(E),Ni=Vn==Vt||Vn==lr;if($c(E))return Df(E,Lr);if(Vn==it||Vn==ke||Ni&&!bt){if(hr=Xr||Ni?{}:Ys(E),!Lr)return Xr?ec(E,Os(hr,E)):Al(E,Ds(hr,E))}else{if(!mn[Vn])return bt?E:{};hr=si(E,Vn,Lr)}}qt||(qt=new $t);var wa=qt.get(E);if(wa)return wa;qt.set(E,hr),Hd(E)?E.forEach(function(Wa){hr.add(Pr(Wa,F,fe,Wa,E,qt))}):Gf(E)&&E.forEach(function(Wa,Hs){hr.set(Hs,Pr(Wa,F,fe,Hs,E,qt))});var Ha=Rn?Xr?nc:Nl:Xr?uc:ul,Is=Ln?i:Ha(E);return ci(Is||E,function(Wa,Hs){Is&&(Hs=Wa,Wa=E[Hs]),Sa(hr,Hs,Pr(Wa,F,fe,Hs,E,qt))}),hr}function Po(E){var F=ul(E);return function(fe){return Go(fe,E,F)}}function Go(E,F,fe){var $e=fe.length;if(E==null)return!$e;for(E=Hn(E);$e--;){var bt=fe[$e],qt=F[bt],hr=E[bt];if(hr===i&&!(bt in E)||!qt(hr))return!1}return!0}function bu(E,F,fe){if(typeof E!="function")throw new Kr(o);return Au(function(){E.apply(i,fe)},F)}function Bs(E,F,fe,$e){var bt=-1,qt=Oo,hr=!0,Lr=E.length,Xr=[],Rn=F.length;if(!Lr)return Xr;fe&&(F=ha(F,Ts(fe))),$e?(qt=eo,hr=!1):F.length>=c&&(qt=yu,hr=!1,F=new Te(F));e:for(;++bt<Lr;){var Ln=E[bt],Vn=fe==null?Ln:fe(Ln);if(Ln=$e||Ln!==0?Ln:0,hr&&Vn===Vn){for(var Ni=Rn;Ni--;)if(F[Ni]===Vn)continue e;Xr.push(Ln)}else qt(F,Vn,$e)||Xr.push(Ln)}return Xr}var Ko=Xo(Vo),Du=Xo(zs,!0);function cc(E,F){var fe=!0;return Ko(E,function($e,bt,qt){return fe=!!F($e,bt,qt),fe}),fe}function Sl(E,F,fe){for(var $e=-1,bt=E.length;++$e<bt;){var qt=E[$e],hr=F(qt);if(hr!=null&&(Lr===i?hr===hr&&!Ec(hr):fe(hr,Lr)))var Lr=hr,Xr=qt}return Xr}function ss(E,F,fe,$e){var bt=E.length;for(fe=Ss(fe),fe<0&&(fe=-fe>bt?0:bt+fe),$e=$e===i||$e>bt?bt:Ss($e),$e<0&&($e+=bt),$e=fe>$e?0:Gd($e);fe<$e;)E[fe++]=F;return E}function ll(E,F){var fe=[];return Ko(E,function($e,bt,qt){F($e,bt,qt)&&fe.push($e)}),fe}function Ns(E,F,fe,$e,bt){var qt=-1,hr=E.length;for(fe||(fe=nu),bt||(bt=[]);++qt<hr;){var Lr=E[qt];F>0&&fe(Lr)?F>1?Ns(Lr,F-1,fe,$e,bt):ns(bt,Lr):$e||(bt[bt.length]=Lr)}return bt}var Wu=gf(),el=gf(!0);function Vo(E,F){return E&&Wu(E,F,ul)}function zs(E,F){return E&&el(E,F,ul)}function fc(E,F){return os(F,function(fe){return Ol(E[fe])})}function xu(E,F){F=ml(F,E);for(var fe=0,$e=F.length;E!=null&&fe<$e;)E=E[ca(F[fe++])];return fe&&fe==$e?E:i}function Hl(E,F,fe){var $e=F(E);return ya(E)?$e:ns($e,fe(E))}function Io(E){return E==null?E===i?Me:jt:yn&&yn in Hn(E)?L(E):xc(E)}function tu(E,F){return E>F}function cl(E,F){return E!=null&&Wi.call(E,F)}function Wl(E,F){return E!=null&&F in Hn(E)}function ru(E,F,fe){return E>=Ea(F,fe)&&E<Si(F,fe)}function Gl(E,F,fe){for(var $e=fe?eo:Oo,bt=E[0].length,qt=E.length,hr=qt,Lr=Fr(qt),Xr=1/0,Rn=[];hr--;){var Ln=E[hr];hr&&F&&(Ln=ha(Ln,Ts(F))),Xr=Ea(Ln.length,Xr),Lr[hr]=!fe&&(F||bt>=120&&Ln.length>=120)?new Te(hr&&Ln):i}Ln=E[0];var Vn=-1,Ni=Lr[0];e:for(;++Vn<bt&&Rn.length<Xr;){var wa=Ln[Vn],Ha=F?F(wa):wa;if(wa=fe||wa!==0?wa:0,!(Ni?yu(Ni,Ha):$e(Rn,Ha,fe))){for(hr=qt;--hr;){var Is=Lr[hr];if(!(Is?yu(Is,Ha):$e(E[hr],Ha,fe)))continue e}Ni&&Ni.push(Ha),Rn.push(wa)}}return Rn}function Kl(E,F,fe,$e){return Vo(E,function(bt,qt,hr){F($e,fe(bt),qt,hr)}),$e}function Vl(E,F,fe){F=ml(F,E),E=Il(E,F);var $e=E==null?E:E[ca(au(F))];return $e==null?i:Ga($e,E,fe)}function dc(E){return ou(E)&&Io(E)==ke}function io(E){return ou(E)&&Io(E)==nt}function zc(E){return ou(E)&&Io(E)==yt}function Bu(E,F,fe,$e,bt){return E===F?!0:E==null||F==null||!ou(E)&&!ou(F)?E!==E&&F!==F:fl(E,F,fe,$e,Bu,bt)}function fl(E,F,fe,$e,bt,qt){var hr=ya(E),Lr=ya(F),Xr=hr?We:un(E),Rn=Lr?We:un(F);Xr=Xr==ke?it:Xr,Rn=Rn==ke?it:Rn;var Ln=Xr==it,Vn=Rn==it,Ni=Xr==Rn;if(Ni&&$c(E)){if(!$c(F))return!1;hr=!0,Ln=!1}if(Ni&&!Ln)return qt||(qt=new $t),hr||rd(E)?Rc(E,F,fe,$e,bt,qt):Lc(E,F,Xr,fe,$e,bt,qt);if(!(fe&b)){var wa=Ln&&Wi.call(E,"__wrapped__"),Ha=Vn&&Wi.call(F,"__wrapped__");if(wa||Ha){var Is=wa?E.value():E,Wa=Ha?F.value():F;return qt||(qt=new $t),bt(Is,Wa,fe,$e,qt)}}return Ni?(qt||(qt=new $t),Rf(E,F,fe,$e,bt,qt)):!1}function wu(E){return ou(E)&&un(E)==Ke}function Zc(E,F,fe,$e){var bt=fe.length,qt=bt,hr=!$e;if(E==null)return!qt;for(E=Hn(E);bt--;){var Lr=fe[bt];if(hr&&Lr[2]?Lr[1]!==E[Lr[0]]:!(Lr[0]in E))return!1}for(;++bt<qt;){Lr=fe[bt];var Xr=Lr[0],Rn=E[Xr],Ln=Lr[1];if(hr&&Lr[2]){if(Rn===i&&!(Xr in E))return!1}else{var Vn=new $t;if($e)var Ni=$e(Rn,Ln,Xr,E,F,Vn);if(!(Ni===i?Bu(Ln,Rn,b|S,$e,Vn):Ni))return!1}}return!0}function cf(E){if(!jo(E)||Pl(E))return!1;var F=Ol(E)?So:kt;return F.test(Ca(E))}function fi(E){return ou(E)&&Io(E)==et}function ff(E){return ou(E)&&un(E)==Ze}function kl(E){return ou(E)&&Xf(E.length)&&!!dn[Io(E)]}function hc(E){return typeof E=="function"?E:E==null?lc:typeof E=="object"?ya(E)?ts(E[0],E[1]):Yl(E):n0(E)}function Rl(E){if(!Yu(E))return Oi(E);var F=[];for(var fe in Hn(E))Wi.call(E,fe)&&fe!="constructor"&&F.push(fe);return F}function Hc(E){if(!jo(E))return qu(E);var F=Yu(E),fe=[];for(var $e in E)$e=="constructor"&&(F||!Wi.call(E,$e))||fe.push($e);return fe}function Ll(E,F){return E<F}function Ou(E,F){var fe=-1,$e=su(E)?Fr(E.length):[];return Ko(E,function(bt,qt,hr){$e[++fe]=F(bt,qt,hr)}),$e}function Yl(E){var F=C(E);return F.length==1&&F[0][2]?Su(F[0][0],F[0][1]):function(fe){return fe===E||Zc(fe,E,F)}}function ts(E,F){return Cl(E)&&bc(F)?Su(ca(E),F):function(fe){var $e=Rd(fe,E);return $e===i&&$e===F?Ld(fe,E):Bu(F,$e,b|S)}}function $o(E,F,fe,$e,bt){E!==F&&Wu(F,function(qt,hr){if(bt||(bt=new $t),jo(qt))gu(E,F,hr,fe,$o,$e,bt);else{var Lr=$e?$e(Mc(E,hr),qt,hr+"",E,F,bt):i;Lr===i&&(Lr=qt),aa(E,hr,Lr)}},uc)}function gu(E,F,fe,$e,bt,qt,hr){var Lr=Mc(E,fe),Xr=Mc(F,fe),Rn=hr.get(Xr);if(Rn){aa(E,fe,Rn);return}var Ln=qt?qt(Lr,Xr,fe+"",E,F,hr):i,Vn=Ln===i;if(Vn){var Ni=ya(Xr),wa=!Ni&&$c(Xr),Ha=!Ni&&!wa&&rd(Xr);Ln=Xr,Ni||wa||Ha?ya(Lr)?Ln=Lr:Bo(Lr)?Ln=hu(Lr):wa?(Vn=!1,Ln=Df(Xr,!0)):Ha?(Vn=!1,Ln=$u(Xr,!0)):Ln=[]:dd(Xr)||mu(Xr)?(Ln=Lr,mu(Lr)?Ln=Kd(Lr):(!jo(Lr)||Ol(Lr))&&(Ln=Ys(Xr))):Vn=!1}Vn&&(hr.set(Xr,Ln),bt(Ln,Xr,$e,qt,hr),hr.delete(Xr)),aa(E,fe,Ln)}function ql(E,F){var fe=E.length;if(fe)return F+=F<0?fe:0,ao(F,fe)?E[F]:i}function Ml(E,F,fe){F.length?F=ha(F,function(qt){return ya(qt)?function(hr){return xu(hr,qt.length===1?qt[0]:qt)}:qt}):F=[lc];var $e=-1;F=ha(F,Ts(Qn()));var bt=Ou(E,function(qt,hr,Lr){var Xr=ha(F,function(Rn){return Rn(qt)});return{criteria:Xr,index:++$e,value:qt}});return ms(bt,function(qt,hr){return Jl(qt,hr,fe)})}function ku(E,F){return du(E,F,function(fe,$e){return Ld(E,$e)})}function du(E,F,fe){for(var $e=-1,bt=F.length,qt={};++$e<bt;){var hr=F[$e],Lr=xu(E,hr);fe(Lr,hr)&&hl(qt,ml(hr,E),Lr)}return qt}function If(E){return function(F){return xu(F,E)}}function dl(E,F,fe,$e){var bt=$e?Ro:zo,qt=-1,hr=F.length,Lr=E;for(E===F&&(F=hu(F)),fe&&(Lr=ha(E,Ts(fe)));++qt<hr;)for(var Xr=0,Rn=F[qt],Ln=fe?fe(Rn):Rn;(Xr=bt(Lr,Ln,Xr,$e))>-1;)Lr!==E&&pr.call(Lr,Xr,1),pr.call(E,Xr,1);return E}function Yo(E,F){for(var fe=E?F.length:0,$e=fe-1;fe--;){var bt=F[fe];if(fe==$e||bt!==qt){var qt=bt;ao(bt)?pr.call(E,bt,1):Ic(E,bt)}}return E}function tl(E,F){return E+ji(Xa()*(F-E+1))}function Tc(E,F,fe,$e){for(var bt=-1,qt=Si(vi((F-E)/(fe||1)),0),hr=Fr(qt);qt--;)hr[$e?qt:++bt]=E,E+=fe;return hr}function Xl(E,F){var fe="";if(!E||F<1||F>X)return fe;do F%2&&(fe+=E),F=ji(F/2),F&&(E+=E);while(F);return fe}function Ta(E,F){return Tu(_u(E,F,lc),E+"")}function df(E){return Xn(nd(E))}function hf(E,F){var fe=nd(E);return ea(fe,xs(F,0,fe.length))}function hl(E,F,fe,$e){if(!jo(E))return E;F=ml(F,E);for(var bt=-1,qt=F.length,hr=qt-1,Lr=E;Lr!=null&&++bt<qt;){var Xr=ca(F[bt]),Rn=fe;if(Xr==="__proto__"||Xr==="constructor"||Xr==="prototype")return E;if(bt!=hr){var Ln=Lr[Xr];Rn=$e?$e(Ln,Xr,Lr):i,Rn===i&&(Rn=jo(Ln)?Ln:ao(F[bt+1])?[]:{})}Sa(Lr,Xr,Rn),Lr=Lr[Xr]}return E}var pl=bs?function(E,F){return bs.set(E,F),E}:lc,Uf=ln?function(E,F){return ln(E,"toString",{configurable:!0,enumerable:!1,value:Fd(F),writable:!0})}:lc;function Wc(E){return ea(nd(E))}function Ru(E,F,fe){var $e=-1,bt=E.length;F<0&&(F=-F>bt?0:bt+F),fe=fe>bt?bt:fe,fe<0&&(fe+=bt),bt=F>fe?0:fe-F>>>0,F>>>=0;for(var qt=Fr(bt);++$e<bt;)qt[$e]=E[$e+F];return qt}function Gc(E,F){var fe;return Ko(E,function($e,bt,qt){return fe=F($e,bt,qt),!fe}),!!fe}function Cc(E,F,fe){var $e=0,bt=E==null?$e:E.length;if(typeof F=="number"&&F===F&&bt<=_e){for(;$e<bt;){var qt=$e+bt>>>1,hr=E[qt];hr!==null&&!Ec(hr)&&(fe?hr<=F:hr<F)?$e=qt+1:bt=qt}return bt}return Ql(E,F,lc,fe)}function Ql(E,F,fe,$e){var bt=0,qt=E==null?0:E.length;if(qt===0)return 0;F=fe(F);for(var hr=F!==F,Lr=F===null,Xr=Ec(F),Rn=F===i;bt<qt;){var Ln=ji((bt+qt)/2),Vn=fe(E[Ln]),Ni=Vn!==i,wa=Vn===null,Ha=Vn===Vn,Is=Ec(Vn);if(hr)var Wa=$e||Ha;else Rn?Wa=Ha&&($e||Ni):Lr?Wa=Ha&&Ni&&($e||!wa):Xr?Wa=Ha&&Ni&&!wa&&($e||!Is):wa||Is?Wa=!1:Wa=$e?Vn<=F:Vn<F;Wa?bt=Ln+1:qt=Ln}return Ea(qt,ae)}function Kc(E,F){for(var fe=-1,$e=E.length,bt=0,qt=[];++fe<$e;){var hr=E[fe],Lr=F?F(hr):hr;if(!fe||!ys(Lr,Xr)){var Xr=Lr;qt[bt++]=hr===0?0:hr}}return qt}function Pc(E){return typeof E=="number"?E:Ec(E)?z:+E}function Nu(E){if(typeof E=="string")return E;if(ya(E))return ha(E,Nu)+"";if(Ec(E))return be?be.call(E):"";var F=E+"";return F=="0"&&1/E==-ee?"-0":F}function _l(E,F,fe){var $e=-1,bt=Oo,qt=E.length,hr=!0,Lr=[],Xr=Lr;if(fe)hr=!1,bt=eo;else if(qt>=c){var Rn=F?null:bf(E);if(Rn)return To(Rn);hr=!1,bt=yu,Xr=new Te}else Xr=F?[]:Lr;e:for(;++$e<qt;){var Ln=E[$e],Vn=F?F(Ln):Ln;if(Ln=fe||Ln!==0?Ln:0,hr&&Vn===Vn){for(var Ni=Xr.length;Ni--;)if(Xr[Ni]===Vn)continue e;F&&Xr.push(Vn),Lr.push(Ln)}else bt(Xr,Vn,fe)||(Xr!==Lr&&Xr.push(Vn),Lr.push(Ln))}return Lr}function Ic(E,F){return F=ml(F,E),E=Il(E,F),E==null||delete E[ca(au(F))]}function pf(E,F,fe,$e){return hl(E,F,fe(xu(E,F)),$e)}function Vc(E,F,fe,$e){for(var bt=E.length,qt=$e?bt:-1;($e?qt--:++qt<bt)&&F(E[qt],qt,E););return fe?Ru(E,$e?0:qt,$e?qt+1:bt):Ru(E,$e?qt+1:0,$e?bt:qt)}function Yc(E,F){var fe=E;return fe instanceof qr&&(fe=fe.value()),Qi(F,function($e,bt){return bt.func.apply(bt.thisArg,ns([$e],bt.args))},fe)}function pc(E,F,fe){var $e=E.length;if($e<2)return $e?_l(E[0]):[];for(var bt=-1,qt=Fr($e);++bt<$e;)for(var hr=E[bt],Lr=-1;++Lr<$e;)Lr!=bt&&(qt[bt]=Bs(qt[bt]||hr,E[Lr],F,fe));return _l(Ns(qt,1),F,fe)}function _f(E,F,fe){for(var $e=-1,bt=E.length,qt=F.length,hr={};++$e<bt;){var Lr=$e<qt?F[$e]:i;fe(hr,E[$e],Lr)}return hr}function _c(E){return Bo(E)?E:[]}function mf(E){return typeof E=="function"?E:lc}function ml(E,F){return ya(E)?E:Cl(E,F)?[E]:Na(Do(E))}var Lu=Ta;function Vs(E,F,fe){var $e=E.length;return fe=fe===i?$e:fe,!F&&fe>=$e?E:Ru(E,F,fe)}var vf=xn||function(E){return ja.clearTimeout(E)};function Df(E,F){if(F)return E.slice();var fe=E.length,$e=Qe?Qe(fe):new E.constructor(fe);return E.copy($e),$e}function Dc(E){var F=new E.constructor(E.byteLength);return new is(F).set(new is(E)),F}function ks(E,F){var fe=F?Dc(E.buffer):E.buffer;return new E.constructor(fe,E.byteOffset,E.byteLength)}function ho(E){var F=new E.constructor(E.source,on.exec(E));return F.lastIndex=E.lastIndex,F}function Ao(E){return Ma?Hn(Ma.call(E)):{}}function $u(E,F){var fe=F?Dc(E.buffer):E.buffer;return new E.constructor(fe,E.byteOffset,E.length)}function Pe(E,F){if(E!==F){var fe=E!==i,$e=E===null,bt=E===E,qt=Ec(E),hr=F!==i,Lr=F===null,Xr=F===F,Rn=Ec(F);if(!Lr&&!Rn&&!qt&&E>F||qt&&hr&&Xr&&!Lr&&!Rn||$e&&hr&&Xr||!fe&&Xr||!bt)return 1;if(!$e&&!qt&&!Rn&&E<F||Rn&&fe&&bt&&!$e&&!qt||Lr&&fe&&bt||!hr&&bt||!Xr)return-1}return 0}function Jl(E,F,fe){for(var $e=-1,bt=E.criteria,qt=F.criteria,hr=bt.length,Lr=fe.length;++$e<hr;){var Xr=Pe(bt[$e],qt[$e]);if(Xr){if($e>=Lr)return Xr;var Rn=fe[$e];return Xr*(Rn=="desc"?-1:1)}}return E.index-F.index}function qo(E,F,fe,$e){for(var bt=-1,qt=E.length,hr=fe.length,Lr=-1,Xr=F.length,Rn=Si(qt-hr,0),Ln=Fr(Xr+Rn),Vn=!$e;++Lr<Xr;)Ln[Lr]=F[Lr];for(;++bt<hr;)(Vn||bt<qt)&&(Ln[fe[bt]]=E[bt]);for(;Rn--;)Ln[Lr++]=E[bt++];return Ln}function mc(E,F,fe,$e){for(var bt=-1,qt=E.length,hr=-1,Lr=fe.length,Xr=-1,Rn=F.length,Ln=Si(qt-Lr,0),Vn=Fr(Ln+Rn),Ni=!$e;++bt<Ln;)Vn[bt]=E[bt];for(var wa=bt;++Xr<Rn;)Vn[wa+Xr]=F[Xr];for(;++hr<Lr;)(Ni||bt<qt)&&(Vn[wa+fe[hr]]=E[bt++]);return Vn}function hu(E,F){var fe=-1,$e=E.length;for(F||(F=Fr($e));++fe<$e;)F[fe]=E[fe];return F}function Gu(E,F,fe,$e){var bt=!fe;fe||(fe={});for(var qt=-1,hr=F.length;++qt<hr;){var Lr=F[qt],Xr=$e?$e(fe[Lr],E[Lr],Lr,fe,E):i;Xr===i&&(Xr=E[Lr]),bt?ka(fe,Lr,Xr):Sa(fe,Lr,Xr)}return fe}function Al(E,F){return Gu(E,me(E),F)}function ec(E,F){return Gu(E,ze(E),F)}function Ku(E,F){return function(fe,$e){var bt=ya(fe)?Fs:Ps,qt=F?F():{};return bt(fe,E,Qn($e,2),qt)}}function rl(E){return Ta(function(F,fe){var $e=-1,bt=fe.length,qt=bt>1?fe[bt-1]:i,hr=bt>2?fe[2]:i;for(qt=E.length>3&&typeof qt=="function"?(bt--,qt):i,hr&&xo(fe[0],fe[1],hr)&&(qt=bt<3?i:qt,bt=1),F=Hn(F);++$e<bt;){var Lr=fe[$e];Lr&&E(F,Lr,$e,qt)}return F})}function Xo(E,F){return function(fe,$e){if(fe==null)return fe;if(!su(fe))return E(fe,$e);for(var bt=fe.length,qt=F?bt:-1,hr=Hn(fe);(F?qt--:++qt<bt)&&$e(hr[qt],qt,hr)!==!1;);return fe}}function gf(E){return function(F,fe,$e){for(var bt=-1,qt=Hn(F),hr=$e(F),Lr=hr.length;Lr--;){var Xr=hr[E?Lr:++bt];if(fe(qt[Xr],Xr,qt)===!1)break}return F}}function qc(E,F,fe){var $e=F&k,bt=ju(E);function qt(){var hr=this&&this!==ja&&this instanceof qt?bt:E;return hr.apply($e?fe:this,arguments)}return qt}function vc(E){return function(F){F=Do(F);var fe=vo(F)?dr(F):i,$e=fe?fe[0]:F.charAt(0),bt=fe?Vs(fe,1).join(""):F.slice(1);return $e[E]()+bt}}function vl(E){return function(F){return Qi(t0(e0(F).replace(kr,"")),E,"")}}function ju(E){return function(){var F=arguments;switch(F.length){case 0:return new E;case 1:return new E(F[0]);case 2:return new E(F[0],F[1]);case 3:return new E(F[0],F[1],F[2]);case 4:return new E(F[0],F[1],F[2],F[3]);case 5:return new E(F[0],F[1],F[2],F[3],F[4]);case 6:return new E(F[0],F[1],F[2],F[3],F[4],F[5]);case 7:return new E(F[0],F[1],F[2],F[3],F[4],F[5],F[6])}var fe=br(E.prototype),$e=E.apply(fe,F);return jo($e)?$e:fe}}function Of(E,F,fe){var $e=ju(E);function bt(){for(var qt=arguments.length,hr=Fr(qt),Lr=qt,Xr=_o(bt);Lr--;)hr[Lr]=arguments[Lr];var Rn=qt<3&&hr[0]!==Xr&&hr[qt-1]!==Xr?[]:to(hr,Xr);if(qt-=Rn.length,qt<fe)return pu(E,F,Fl,bt.placeholder,i,hr,Rn,i,i,fe-qt);var Ln=this&&this!==ja&&this instanceof bt?$e:E;return Ga(Ln,this,hr)}return bt}function yf(E){return function(F,fe,$e){var bt=Hn(F);if(!su(F)){var qt=Qn(fe,3);F=ul(F),fe=function(Lr){return qt(bt[Lr],Lr,bt)}}var hr=E(F,fe,$e);return hr>-1?bt[qt?F[hr]:hr]:i}}function Tl(E){return il(function(F){var fe=F.length,$e=fe,bt=gr.prototype.thru;for(E&&F.reverse();$e--;){var qt=F[$e];if(typeof qt!="function")throw new Kr(o);if(bt&&!hr&&po(qt)=="wrapper")var hr=new gr([],!0)}for($e=hr?$e:fe;++$e<fe;){qt=F[$e];var Lr=po(qt),Xr=Lr=="wrapper"?ma(qt):i;Xr&&yc(Xr[0])&&Xr[1]==(V|I|B|W)&&!Xr[4].length&&Xr[9]==1?hr=hr[po(Xr[0])].apply(hr,Xr[3]):hr=qt.length==1&&yc(qt)?hr[Lr]():hr.thru(qt)}return function(){var Rn=arguments,Ln=Rn[0];if(hr&&Rn.length==1&&ya(Ln))return hr.plant(Ln).value();for(var Vn=0,Ni=fe?F[Vn].apply(this,Rn):Ln;++Vn<fe;)Ni=F[Vn].call(this,Ni);return Ni}})}function Fl(E,F,fe,$e,bt,qt,hr,Lr,Xr,Rn){var Ln=F&V,Vn=F&k,Ni=F&R,wa=F&(I|M),Ha=F&H,Is=Ni?i:ju(E);function Wa(){for(var Hs=arguments.length,Qs=Fr(Hs),Sc=Hs;Sc--;)Qs[Sc]=arguments[Sc];if(wa)var zl=_o(Wa),Ac=xl(Qs,zl);if($e&&(Qs=qo(Qs,$e,bt,wa)),qt&&(Qs=mc(Qs,qt,hr,wa)),Hs-=Ac,wa&&Hs<Rn){var Mu=to(Qs,zl);return pu(E,F,Fl,Wa.placeholder,fe,Qs,Mu,Lr,Xr,Rn-Hs)}var lf=Vn?fe:this,jf=Ni?lf[E]:E;return Hs=Qs.length,Lr?Qs=ic(Qs,Lr):Ha&&Hs>1&&Qs.reverse(),Ln&&Xr<Hs&&(Qs.length=Xr),this&&this!==ja&&this instanceof Wa&&(jf=Is||ju(jf)),jf.apply(lf,Qs)}return Wa}function Xc(E,F){return function(fe,$e){return Kl(fe,E,F($e),{})}}function tc(E,F){return function(fe,$e){var bt;if(fe===i&&$e===i)return F;if(fe!==i&&(bt=fe),$e!==i){if(bt===i)return $e;typeof fe=="string"||typeof $e=="string"?(fe=Nu(fe),$e=Nu($e)):(fe=Pc(fe),$e=Pc($e)),bt=E(fe,$e)}return bt}}function Eu(E){return il(function(F){return F=ha(F,Ts(Qn())),Ta(function(fe){var $e=this;return E(F,function(bt){return Ga(bt,$e,fe)})})})}function Oc(E,F){F=F===i?" ":Nu(F);var fe=F.length;if(fe<2)return fe?Xl(F,E):F;var $e=Xl(F,vi(E/ir(F)));return vo(F)?Vs(dr($e),0,E).join(""):$e.slice(0,E)}function Qc(E,F,fe,$e){var bt=F&k,qt=ju(E);function hr(){for(var Lr=-1,Xr=arguments.length,Rn=-1,Ln=$e.length,Vn=Fr(Ln+Xr),Ni=this&&this!==ja&&this instanceof hr?qt:E;++Rn<Ln;)Vn[Rn]=$e[Rn];for(;Xr--;)Vn[Rn++]=arguments[++Lr];return Ga(Ni,bt?fe:this,Vn)}return hr}function kf(E){return function(F,fe,$e){return $e&&typeof $e!="number"&&xo(F,fe,$e)&&(fe=$e=i),F=$f(F),fe===i?(fe=F,F=0):fe=$f(fe),$e=$e===i?F<fe?1:-1:$f($e),Tc(F,fe,$e,E)}}function kc(E){return function(F,fe){return typeof F=="string"&&typeof fe=="string"||(F=jc(F),fe=jc(fe)),E(F,fe)}}function pu(E,F,fe,$e,bt,qt,hr,Lr,Xr,Rn){var Ln=F&I,Vn=Ln?hr:i,Ni=Ln?i:hr,wa=Ln?qt:i,Ha=Ln?i:qt;F|=Ln?B:N,F&=~(Ln?N:B),F&A||(F&=~(k|R));var Is=[E,F,bt,wa,Vn,Ha,Ni,Lr,Xr,Rn],Wa=fe.apply(i,Is);return yc(E)&&Uu(Wa,Is),Wa.placeholder=$e,kn(Wa,E,F)}function rc(E){var F=Un[E];return function(fe,$e){if(fe=jc(fe),$e=$e==null?0:Ea(Ss($e),292),$e&&Mi(fe)){var bt=(Do(fe)+"e").split("e"),qt=F(bt[0]+"e"+(+bt[1]+$e));return bt=(Do(qt)+"e").split("e"),+(bt[0]+"e"+(+bt[1]-$e))}return F(fe)}}var bf=fs&&1/To(new fs([,-0]))[1]==ee?function(E){return new fs(E)}:$d;function Jc(E){return function(F){var fe=un(F);return fe==Ke?cu(F):fe==Ze?fu(F):As(F,E(F))}}function nl(E,F,fe,$e,bt,qt,hr,Lr){var Xr=F&R;if(!Xr&&typeof E!="function")throw new Kr(o);var Rn=$e?$e.length:0;if(Rn||(F&=~(B|N),$e=bt=i),hr=hr===i?hr:Si(Ss(hr),0),Lr=Lr===i?Lr:Ss(Lr),Rn-=bt?bt.length:0,F&N){var Ln=$e,Vn=bt;$e=bt=i}var Ni=Xr?i:ma(E),wa=[E,F,fe,$e,bt,Ln,Vn,qt,hr,Lr];if(Ni&&Ls(wa,Ni),E=wa[0],F=wa[1],fe=wa[2],$e=wa[3],bt=wa[4],Lr=wa[9]=wa[9]===i?Xr?0:E.length:Si(wa[9]-Rn,0),!Lr&&F&(I|M)&&(F&=~(I|M)),!F||F==k)var Ha=qc(E,F,fe);else F==I||F==M?Ha=Of(E,F,Lr):(F==B||F==(k|B))&&!bt.length?Ha=Qc(E,F,fe,$e):Ha=Fl.apply(i,wa);var Is=Ni?pl:Uu;return kn(Is(Ha,wa),E,F)}function gc(E,F,fe,$e){return E===i||ys(E,Ia[fe])&&!Wi.call($e,fe)?F:E}function Bl(E,F,fe,$e,bt,qt){return jo(E)&&jo(F)&&(qt.set(F,E),$o(E,F,i,Bl,qt),qt.delete(F)),E}function xf(E){return dd(E)?i:E}function Rc(E,F,fe,$e,bt,qt){var hr=fe&b,Lr=E.length,Xr=F.length;if(Lr!=Xr&&!(hr&&Xr>Lr))return!1;var Rn=qt.get(E),Ln=qt.get(F);if(Rn&&Ln)return Rn==F&&Ln==E;var Vn=-1,Ni=!0,wa=fe&S?new Te:i;for(qt.set(E,F),qt.set(F,E);++Vn<Lr;){var Ha=E[Vn],Is=F[Vn];if($e)var Wa=hr?$e(Is,Ha,Vn,F,E,qt):$e(Ha,Is,Vn,E,F,qt);if(Wa!==i){if(Wa)continue;Ni=!1;break}if(wa){if(!wo(F,function(Hs,Qs){if(!yu(wa,Qs)&&(Ha===Hs||bt(Ha,Hs,fe,$e,qt)))return wa.push(Qs)})){Ni=!1;break}}else if(!(Ha===Is||bt(Ha,Is,fe,$e,qt))){Ni=!1;break}}return qt.delete(E),qt.delete(F),Ni}function Lc(E,F,fe,$e,bt,qt,hr){switch(fe){case ut:if(E.byteLength!=F.byteLength||E.byteOffset!=F.byteOffset)return!1;E=E.buffer,F=F.buffer;case nt:return!(E.byteLength!=F.byteLength||!qt(new is(E),new is(F)));case Mt:case yt:case Ct:return ys(+E,+F);case tr:return E.name==F.name&&E.message==F.message;case et:case ge:return E==F+"";case Ke:var Lr=cu;case Ze:var Xr=$e&b;if(Lr||(Lr=To),E.size!=F.size&&!Xr)return!1;var Rn=hr.get(E);if(Rn)return Rn==F;$e|=S,hr.set(E,F);var Ln=Rc(Lr(E),Lr(F),$e,bt,qt,hr);return hr.delete(E),Ln;case Ae:if(Ma)return Ma.call(E)==Ma.call(F)}return!1}function Rf(E,F,fe,$e,bt,qt){var hr=fe&b,Lr=Nl(E),Xr=Lr.length,Rn=Nl(F),Ln=Rn.length;if(Xr!=Ln&&!hr)return!1;for(var Vn=Xr;Vn--;){var Ni=Lr[Vn];if(!(hr?Ni in F:Wi.call(F,Ni)))return!1}var wa=qt.get(E),Ha=qt.get(F);if(wa&&Ha)return wa==F&&Ha==E;var Is=!0;qt.set(E,F),qt.set(F,E);for(var Wa=hr;++Vn<Xr;){Ni=Lr[Vn];var Hs=E[Ni],Qs=F[Ni];if($e)var Sc=hr?$e(Qs,Hs,Ni,F,E,qt):$e(Hs,Qs,Ni,E,F,qt);if(!(Sc===i?Hs===Qs||bt(Hs,Qs,fe,$e,qt):Sc)){Is=!1;break}Wa||(Wa=Ni=="constructor")}if(Is&&!Wa){var zl=E.constructor,Ac=F.constructor;zl!=Ac&&"constructor"in E&&"constructor"in F&&!(typeof zl=="function"&&zl instanceof zl&&typeof Ac=="function"&&Ac instanceof Ac)&&(Is=!1)}return qt.delete(E),qt.delete(F),Is}function il(E){return Tu(_u(E,i,rf),E+"")}function Nl(E){return Hl(E,ul,me)}function nc(E){return Hl(E,uc,ze)}var ma=bs?function(E){return bs.get(E)}:$d;function po(E){for(var F=E.name+"",fe=Ba[F],$e=Wi.call(Ba,F)?fe.length:0;$e--;){var bt=fe[$e],qt=bt.func;if(qt==null||qt==E)return bt.name}return F}function _o(E){var F=Wi.call(Se,"placeholder")?Se:E;return F.placeholder}function Qn(){var E=Se.iteratee||Bd;return E=E===Bd?hc:E,arguments.length?E(arguments[0],arguments[1]):E}function Vu(E,F){var fe=E.__data__;return $l(F)?fe[typeof F=="string"?"string":"hash"]:fe.map}function C(E){for(var F=ul(E),fe=F.length;fe--;){var $e=F[fe],bt=E[$e];F[fe]=[$e,bt,bc(bt)]}return F}function D(E,F){var fe=zu(E,F);return cf(fe)?fe:i}function L(E){var F=Wi.call(E,yn),fe=E[yn];try{E[yn]=i;var $e=!0}catch(qt){}var bt=vs.call(E);return $e&&(F?E[yn]=fe:delete E[yn]),bt}var me=ga?function(E){return E==null?[]:(E=Hn(E),os(ga(E),function(F){return Ht.call(E,F)}))}:jd,ze=ga?function(E){for(var F=[];E;)ns(F,me(E)),E=Re(E);return F}:jd,un=Io;(cs&&un(new cs(new ArrayBuffer(1)))!=ut||Ui&&un(new Ui)!=Ke||La&&un(La.resolve())!=xt||fs&&un(new fs)!=Ze||ds&&un(new ds)!=Ue)&&(un=function(E){var F=Io(E),fe=F==it?E.constructor:i,$e=fe?Ca(fe):"";if($e)switch($e){case go:return ut;case Ja:return Ke;case yo:return xt;case Ra:return Ze;case hs:return Ue}return F});function li(E,F,fe){for(var $e=-1,bt=fe.length;++$e<bt;){var qt=fe[$e],hr=qt.size;switch(qt.type){case"drop":E+=hr;break;case"dropRight":F-=hr;break;case"take":F=Ea(F,E+hr);break;case"takeRight":E=Si(E,F-hr);break}}return{start:E,end:F}}function la(E){var F=E.match(Yr);return F?F[1].split(Jr):[]}function na(E,F,fe){F=ml(F,E);for(var $e=-1,bt=F.length,qt=!1;++$e<bt;){var hr=ca(F[$e]);if(!(qt=E!=null&&fe(E,hr)))break;E=E[hr]}return qt||++$e!=bt?qt:(bt=E==null?0:E.length,!!bt&&Xf(bt)&&ao(hr,bt)&&(ya(E)||mu(E)))}function ws(E){var F=E.length,fe=new E.constructor(F);return F&&typeof E[0]=="string"&&Wi.call(E,"index")&&(fe.index=E.index,fe.input=E.input),fe}function Ys(E){return typeof E.constructor=="function"&&!Yu(E)?br(Re(E)):{}}function si(E,F,fe){var $e=E.constructor;switch(F){case nt:return Dc(E);case Mt:case yt:return new $e(+E);case ut:return ks(E,fe);case Kt:case Zt:case De:case Je:case Wt:case Ot:case zt:case Ft:case At:return $u(E,fe);case Ke:return new $e;case Ct:case ge:return new $e(E);case et:return ho(E);case Ze:return new $e;case Ae:return Ao(E)}}function Rs(E,F){var fe=F.length;if(!fe)return E;var $e=fe-1;return F[$e]=(fe>1?"& ":"")+F[$e],F=F.join(fe>2?", ":" "),E.replace(Et,`{
|
|
|
/* [wrapped with `+F+`] */
|
|
|
`)}function nu(E){return ya(E)||mu(E)||!!(Br&&E&&E[Br])}function ao(E,F){var fe=typeof E;return F=F==null?X:F,!!F&&(fe=="number"||fe!="symbol"&>.test(E))&&E>-1&&E%1==0&&E<F}function xo(E,F,fe){if(!jo(fe))return!1;var $e=typeof F;return($e=="number"?su(fe)&&ao(F,fe.length):$e=="string"&&F in fe)?ys(fe[F],E):!1}function Cl(E,F){if(ya(E))return!1;var fe=typeof E;return fe=="number"||fe=="symbol"||fe=="boolean"||E==null||Ec(E)?!0:ye.test(E)||!wt.test(E)||F!=null&&E in Hn(F)}function $l(E){var F=typeof E;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?E!=="__proto__":E===null}function yc(E){var F=po(E),fe=Se[F];if(typeof fe!="function"||!(F in qr.prototype))return!1;if(E===fe)return!0;var $e=ma(fe);return!!$e&&E===$e[0]}function Pl(E){return!!fo&&fo in E}var gl=lo?Ol:Ud;function Yu(E){var F=E&&E.constructor,fe=typeof F=="function"&&F.prototype||Ia;return E===fe}function bc(E){return E===E&&!jo(E)}function Su(E,F){return function(fe){return fe==null?!1:fe[E]===F&&(F!==i||E in Hn(fe))}}function yl(E){var F=hn(E,function($e){return fe.size===a&&fe.clear(),$e}),fe=F.cache;return F}function Ls(E,F){var fe=E[1],$e=F[1],bt=fe|$e,qt=bt<(k|R|V),hr=$e==V&&fe==I||$e==V&&fe==W&&E[7].length<=F[8]||$e==(V|W)&&F[7].length<=F[8]&&fe==I;if(!(qt||hr))return E;$e&k&&(E[2]=F[2],bt|=fe&k?0:A);var Lr=F[3];if(Lr){var Xr=E[3];E[3]=Xr?qo(Xr,Lr,F[4]):Lr,E[4]=Xr?to(E[3],x):F[4]}return Lr=F[5],Lr&&(Xr=E[5],E[5]=Xr?mc(Xr,Lr,F[6]):Lr,E[6]=Xr?to(E[5],x):F[6]),Lr=F[7],Lr&&(E[7]=Lr),$e&V&&(E[8]=E[8]==null?F[8]:Ea(E[8],F[8])),E[9]==null&&(E[9]=F[9]),E[0]=F[0],E[1]=bt,E}function qu(E){var F=[];if(E!=null)for(var fe in Hn(E))F.push(fe);return F}function xc(E){return vs.call(E)}function _u(E,F,fe){return F=Si(F===i?E.length-1:F,0),function(){for(var $e=arguments,bt=-1,qt=Si($e.length-F,0),hr=Fr(qt);++bt<qt;)hr[bt]=$e[F+bt];bt=-1;for(var Lr=Fr(F+1);++bt<F;)Lr[bt]=$e[bt];return Lr[F]=fe(hr),Ga(E,this,Lr)}}function Il(E,F){return F.length<2?E:xu(E,Ru(F,0,-1))}function ic(E,F){for(var fe=E.length,$e=Ea(F.length,fe),bt=hu(E);$e--;){var qt=F[$e];E[$e]=ao(qt,fe)?bt[qt]:i}return E}function Mc(E,F){if(!(F==="constructor"&&typeof E[F]=="function")&&F!="__proto__")return E[F]}var Uu=ri(pl),Au=ni||function(E,F){return ja.setTimeout(E,F)},Tu=ri(Uf);function kn(E,F,fe){var $e=F+"";return Tu(E,Rs($e,xa(la($e),fe)))}function ri(E){var F=0,fe=0;return function(){var $e=Co(),bt=J-($e-fe);if(fe=$e,bt>0){if(++F>=oe)return arguments[0]}else F=0;return E.apply(i,arguments)}}function ea(E,F){var fe=-1,$e=E.length,bt=$e-1;for(F=F===i?$e:F;++fe<F;){var qt=tl(fe,bt),hr=E[qt];E[qt]=E[fe],E[fe]=hr}return E.length=F,E}var Na=yl(function(E){var F=[];return E.charCodeAt(0)===46&&F.push(""),E.replace(Xe,function(fe,$e,bt,qt){F.push(bt?qt.replace(_r,"$1"):$e||fe)}),F});function ca(E){if(typeof E=="string"||Ec(E))return E;var F=E+"";return F=="0"&&1/E==-ee?"-0":F}function Ca(E){if(E!=null){try{return Ks.call(E)}catch(F){}try{return E+""}catch(F){}}return""}function xa(E,F){return ci(Ie,function(fe){var $e="_."+fe[0];F&fe[1]&&!Oo(E,$e)&&E.push($e)}),E.sort()}function Ms(E){if(E instanceof qr)return E.clone();var F=new gr(E.__wrapped__,E.__chain__);return F.__actions__=hu(E.__actions__),F.__index__=E.__index__,F.__values__=E.__values__,F}function fa(E,F,fe){(fe?xo(E,F,fe):F===i)?F=1:F=Si(Ss(F),0);var $e=E==null?0:E.length;if(!$e||F<1)return[];for(var bt=0,qt=0,hr=Fr(vi($e/F));bt<$e;)hr[qt++]=Ru(E,bt,bt+=F);return hr}function $s(E){for(var F=-1,fe=E==null?0:E.length,$e=0,bt=[];++F<fe;){var qt=E[F];qt&&(bt[$e++]=qt)}return bt}function Xu(){var E=arguments.length;if(!E)return[];for(var F=Fr(E-1),fe=arguments[0],$e=E;$e--;)F[$e-1]=arguments[$e];return ns(ya(fe)?hu(fe):[fe],Ns(F,1))}var al=Ta(function(E,F){return Bo(E)?Bs(E,Ns(F,1,Bo,!0)):[]}),bl=Ta(function(E,F){var fe=au(F);return Bo(fe)&&(fe=i),Bo(E)?Bs(E,Ns(F,1,Bo,!0),Qn(fe,2)):[]}),Qu=Ta(function(E,F){var fe=au(F);return Bo(fe)&&(fe=i),Bo(E)?Bs(E,Ns(F,1,Bo,!0),i,fe):[]});function jl(E,F,fe){var $e=E==null?0:E.length;return $e?(F=fe||F===i?1:Ss(F),Ru(E,F<0?0:F,$e)):[]}function Kf(E,F,fe){var $e=E==null?0:E.length;return $e?(F=fe||F===i?1:Ss(F),F=$e-F,Ru(E,0,F<0?0:F)):[]}function wf(E,F){return E&&E.length?Vc(E,Qn(F,3),!0,!0):[]}function ac(E,F){return E&&E.length?Vc(E,Qn(F,3),!0):[]}function Lf(E,F,fe,$e){var bt=E==null?0:E.length;return bt?(fe&&typeof fe!="number"&&xo(E,F,fe)&&(fe=0,$e=bt),ss(E,F,fe,$e)):[]}function ef(E,F,fe){var $e=E==null?0:E.length;if(!$e)return-1;var bt=fe==null?0:Ss(fe);return bt<0&&(bt=Si($e+bt,0)),ko(E,Qn(F,3),bt)}function tf(E,F,fe){var $e=E==null?0:E.length;if(!$e)return-1;var bt=$e-1;return fe!==i&&(bt=Ss(fe),bt=fe<0?Si($e+bt,0):Ea(bt,$e-1)),ko(E,Qn(F,3),bt,!0)}function rf(E){var F=E==null?0:E.length;return F?Ns(E,1):[]}function Ju(E){var F=E==null?0:E.length;return F?Ns(E,ee):[]}function Vf(E,F){var fe=E==null?0:E.length;return fe?(F=F===i?1:Ss(F),Ns(E,F)):[]}function sl(E){for(var F=-1,fe=E==null?0:E.length,$e={};++F<fe;){var bt=E[F];$e[bt[0]]=bt[1]}return $e}function nf(E){return E&&E.length?E[0]:i}function Mf(E,F,fe){var $e=E==null?0:E.length;if(!$e)return-1;var bt=fe==null?0:Ss(fe);return bt<0&&(bt=Si($e+bt,0)),zo(E,F,bt)}function iu(E){var F=E==null?0:E.length;return F?Ru(E,0,-1):[]}var Ef=Ta(function(E){var F=ha(E,_c);return F.length&&F[0]===E[0]?Gl(F):[]}),af=Ta(function(E){var F=au(E),fe=ha(E,_c);return F===au(fe)?F=i:fe.pop(),fe.length&&fe[0]===E[0]?Gl(fe,Qn(F,2)):[]}),Dl=Ta(function(E){var F=au(E),fe=ha(E,_c);return F=typeof F=="function"?F:i,F&&fe.pop(),fe.length&&fe[0]===E[0]?Gl(fe,i,F):[]});function Fc(E,F){return E==null?"":Da.call(E,F)}function au(E){var F=E==null?0:E.length;return F?E[F-1]:i}function Sf(E,F,fe){var $e=E==null?0:E.length;if(!$e)return-1;var bt=$e;return fe!==i&&(bt=Ss(fe),bt=bt<0?Si($e+bt,0):Ea(bt,$e-1)),F===F?fr(E,F,bt):ko(E,Zo,bt,!0)}function Af(E,F){return E&&E.length?ql(E,Ss(F)):i}var sf=Ta(Bc);function Bc(E,F){return E&&E.length&&F&&F.length?dl(E,F):E}function Ff(E,F,fe){return E&&E.length&&F&&F.length?dl(E,F,Qn(fe,2)):E}function Nc(E,F,fe){return E&&E.length&&F&&F.length?dl(E,F,i,fe):E}var zf=il(function(E,F){var fe=E==null?0:E.length,$e=no(E,F);return Yo(E,ha(F,function(bt){return ao(bt,fe)?+bt:bt}).sort(Pe)),$e});function Yf(E,F){var fe=[];if(!(E&&E.length))return fe;var $e=-1,bt=[],qt=E.length;for(F=Qn(F,3);++$e<qt;){var hr=E[$e];F(hr,$e,E)&&(fe.push(hr),bt.push($e))}return Yo(E,bt),fe}function Bf(E){return E==null?E:Qa.call(E)}function qf(E,F,fe){var $e=E==null?0:E.length;return $e?(fe&&typeof fe!="number"&&xo(E,F,fe)?(F=0,fe=$e):(F=F==null?0:Ss(F),fe=fe===i?$e:Ss(fe)),Ru(E,F,fe)):[]}function Zf(E,F){return Cc(E,F)}function of(E,F,fe){return Ql(E,F,Qn(fe,2))}function id(E,F){var fe=E==null?0:E.length;if(fe){var $e=Cc(E,F);if($e<fe&&ys(E[$e],F))return $e}return-1}function Hf(E,F){return Cc(E,F,!0)}function Nf(E,F,fe){return Ql(E,F,Qn(fe,2),!0)}function ad(E,F){var fe=E==null?0:E.length;if(fe){var $e=Cc(E,F,!0)-1;if(ys(E[$e],F))return $e}return-1}function Tf(E){return E&&E.length?Kc(E):[]}function Jf(E,F){return E&&E.length?Kc(E,Qn(F,2)):[]}function Wf(E){var F=E==null?0:E.length;return F?Ru(E,1,F):[]}function g(E,F,fe){return E&&E.length?(F=fe||F===i?1:Ss(F),Ru(E,0,F<0?0:F)):[]}function T(E,F,fe){var $e=E==null?0:E.length;return $e?(F=fe||F===i?1:Ss(F),F=$e-F,Ru(E,F<0?0:F,$e)):[]}function U(E,F){return E&&E.length?Vc(E,Qn(F,3),!1,!0):[]}function ve(E,F){return E&&E.length?Vc(E,Qn(F,3)):[]}var Le=Ta(function(E){return _l(Ns(E,1,Bo,!0))}),ot=Ta(function(E){var F=au(E);return Bo(F)&&(F=i),_l(Ns(E,1,Bo,!0),Qn(F,2))}),Bt=Ta(function(E){var F=au(E);return F=typeof F=="function"?F:i,_l(Ns(E,1,Bo,!0),i,F)});function nr(E){return E&&E.length?_l(E):[]}function Or(E,F){return E&&E.length?_l(E,Qn(F,2)):[]}function _n(E,F){return F=typeof F=="function"?F:i,E&&E.length?_l(E,i,F):[]}function ki(E){if(!(E&&E.length))return[];var F=0;return E=os(E,function(fe){if(Bo(fe))return F=Si(fe.length,F),!0}),Va(F,function(fe){return ha(E,_i(fe))})}function za(E,F){if(!(E&&E.length))return[];var fe=ki(E);return F==null?fe:ha(fe,function($e){return Ga(F,i,$e)})}var Gn=Ta(function(E,F){return Bo(E)?Bs(E,F):[]}),pa=Ta(function(E){return pc(os(E,Bo))}),Za=Ta(function(E){var F=au(E);return Bo(F)&&(F=i),pc(os(E,Bo),Qn(F,2))}),Fa=Ta(function(E){var F=au(E);return F=typeof F=="function"?F:i,pc(os(E,Bo),i,F)}),en=Ta(ki);function Ur(E,F){return _f(E||[],F||[],Sa)}function Qr(E,F){return _f(E||[],F||[],hl)}var Pn=Ta(function(E){var F=E.length,fe=F>1?E[F-1]:i;return fe=typeof fe=="function"?(E.pop(),fe):i,za(E,fe)});function Nn(E){var F=Se(E);return F.__chain__=!0,F}function Ya(E,F){return F(E),E}function Ki(E,F){return F(E)}var qa=il(function(E){var F=E.length,fe=F?E[0]:0,$e=this.__wrapped__,bt=function(qt){return no(qt,E)};return F>1||this.__actions__.length||!($e instanceof qr)||!ao(fe)?this.thru(bt):($e=$e.slice(fe,+fe+(F?1:0)),$e.__actions__.push({func:Ki,args:[bt],thisArg:i}),new gr($e,this.__chain__).thru(function(qt){return F&&!qt.length&&qt.push(i),qt}))});function ps(){return Nn(this)}function rs(){return new gr(this.value(),this.__chain__)}function Ul(){this.__values__===i&&(this.__values__=Wd(this.value()));var E=this.__index__>=this.__values__.length,F=E?i:this.__values__[this.__index__++];return{done:E,value:F}}function sd(){return this}function od(E){for(var F,fe=this;fe instanceof tn;){var $e=Ms(fe);$e.__index__=0,$e.__values__=i,F?bt.__wrapped__=$e:F=$e;var bt=$e;fe=fe.__wrapped__}return bt.__wrapped__=E,F}function ud(){var E=this.__wrapped__;if(E instanceof qr){var F=E;return this.__actions__.length&&(F=new qr(this)),F=F.reverse(),F.__actions__.push({func:Ki,args:[Bf],thisArg:i}),new gr(F,this.__chain__)}return this.thru(Bf)}function ed(){return Yc(this.__wrapped__,this.__actions__)}var Sd=Ku(function(E,F,fe){Wi.call(E,fe)?++E[fe]:ka(E,fe,1)});function Ad(E,F,fe){var $e=ya(E)?Fn:cc;return fe&&xo(E,F,fe)&&(F=i),$e(E,Qn(F,3))}function Td(E,F){var fe=ya(E)?os:ll;return fe(E,Qn(F,3))}var hd=yf(ef),pd=yf(tf);function _d(E,F){return Ns(td(E,F),1)}function Cd(E,F){return Ns(td(E,F),ee)}function Pd(E,F,fe){return fe=fe===i?1:Ss(fe),Ns(td(E,F),fe)}function md(E,F){var fe=ya(E)?ci:Ko;return fe(E,Qn(F,3))}function vd(E,F){var fe=ya(E)?oo:Du;return fe(E,Qn(F,3))}var Id=Ku(function(E,F,fe){Wi.call(E,fe)?E[fe].push(F):ka(E,fe,[F])});function ld(E,F,fe,$e){E=su(E)?E:nd(E),fe=fe&&!$e?Ss(fe):0;var bt=E.length;return fe<0&&(fe=Si(bt+fe,0)),wd(E)?fe<=bt&&E.indexOf(F,fe)>-1:!!bt&&zo(E,F,fe)>-1}var gd=Ta(function(E,F,fe){var $e=-1,bt=typeof F=="function",qt=su(E)?Fr(E.length):[];return Ko(E,function(hr){qt[++$e]=bt?Ga(F,hr,fe):Vl(hr,F,fe)}),qt}),cd=Ku(function(E,F,fe){ka(E,fe,F)});function td(E,F){var fe=ya(E)?ha:Ou;return fe(E,Qn(F,3))}function Cf(E,F,fe,$e){return E==null?[]:(ya(F)||(F=F==null?[]:[F]),fe=$e?i:fe,ya(fe)||(fe=fe==null?[]:[fe]),Ml(E,F,fe))}var O=Ku(function(E,F,fe){E[fe?0:1].push(F)},function(){return[[],[]]});function t(E,F,fe){var $e=ya(E)?Qi:us,bt=arguments.length<3;return $e(E,Qn(F,4),fe,bt,Ko)}function n(E,F,fe){var $e=ya(E)?js:us,bt=arguments.length<3;return $e(E,Qn(F,4),fe,bt,Du)}function s(E,F){var fe=ya(E)?os:ll;return fe(E,Zr(Qn(F,3)))}function m(E){var F=ya(E)?Xn:df;return F(E)}function w(E,F,fe){(fe?xo(E,F,fe):F===i)?F=1:F=Ss(F);var $e=ya(E)?Fi:hf;return $e(E,F)}function P(E){var F=ya(E)?Zi:Wc;return F(E)}function j(E){if(E==null)return 0;if(su(E))return wd(E)?ir(E):E.length;var F=un(E);return F==Ke||F==Ze?E.size:Rl(E).length}function q(E,F,fe){var $e=ya(E)?wo:Gc;return fe&&xo(E,F,fe)&&(F=i),$e(E,Qn(F,3))}var G=Ta(function(E,F){if(E==null)return[];var fe=F.length;return fe>1&&xo(E,F[0],F[1])?F=[]:fe>2&&xo(F[0],F[1],F[2])&&(F=[F[0]]),Ml(E,Ns(F,1),[])}),ue=ti||function(){return ja.Date.now()};function de(E,F){if(typeof F!="function")throw new Kr(o);return E=Ss(E),function(){if(--E<1)return F.apply(this,arguments)}}function Ee(E,F,fe){return F=fe?i:F,F=E&&F==null?E.length:F,nl(E,V,i,i,i,i,F)}function Fe(E,F){var fe;if(typeof F!="function")throw new Kr(o);return E=Ss(E),function(){return--E>0&&(fe=F.apply(this,arguments)),E<=1&&(F=i),fe}}var Be=Ta(function(E,F,fe){var $e=k;if(fe.length){var bt=to(fe,_o(Be));$e|=B}return nl(E,$e,F,fe,bt)}),ct=Ta(function(E,F,fe){var $e=k|R;if(fe.length){var bt=to(fe,_o(ct));$e|=B}return nl(F,$e,E,fe,bt)});function lt(E,F,fe){F=fe?i:F;var $e=nl(E,I,i,i,i,i,i,F);return $e.placeholder=lt.placeholder,$e}function Gt(E,F,fe){F=fe?i:F;var $e=nl(E,M,i,i,i,i,i,F);return $e.placeholder=Gt.placeholder,$e}function Jt(E,F,fe){var $e,bt,qt,hr,Lr,Xr,Rn=0,Ln=!1,Vn=!1,Ni=!0;if(typeof E!="function")throw new Kr(o);F=jc(F)||0,jo(fe)&&(Ln=!!fe.leading,Vn="maxWait"in fe,qt=Vn?Si(jc(fe.maxWait)||0,F):qt,Ni="trailing"in fe?!!fe.trailing:Ni);function wa(Mu){var lf=$e,jf=bt;return $e=bt=i,Rn=Mu,hr=E.apply(jf,lf),hr}function Ha(Mu){return Rn=Mu,Lr=Au(Hs,F),Ln?wa(Mu):hr}function Is(Mu){var lf=Mu-Xr,jf=Mu-Rn,i0=F-lf;return Vn?Ea(i0,qt-jf):i0}function Wa(Mu){var lf=Mu-Xr,jf=Mu-Rn;return Xr===i||lf>=F||lf<0||Vn&&jf>=qt}function Hs(){var Mu=ue();if(Wa(Mu))return Qs(Mu);Lr=Au(Hs,Is(Mu))}function Qs(Mu){return Lr=i,Ni&&$e?wa(Mu):($e=bt=i,hr)}function Sc(){Lr!==i&&vf(Lr),Rn=0,$e=Xr=bt=Lr=i}function zl(){return Lr===i?hr:Qs(ue())}function Ac(){var Mu=ue(),lf=Wa(Mu);if($e=arguments,bt=this,Xr=Mu,lf){if(Lr===i)return Ha(Xr);if(Vn)return vf(Lr),Lr=Au(Hs,F),wa(Xr)}return Lr===i&&(Lr=Au(Hs,F)),hr}return Ac.cancel=Sc,Ac.flush=zl,Ac}var er=Ta(function(E,F){return bu(E,1,F)}),wr=Ta(function(E,F,fe){return bu(E,jc(F)||0,fe)});function zr(E){return nl(E,H)}function hn(E,F){if(typeof E!="function"||F!=null&&typeof F!="function")throw new Kr(o);var fe=function(){var $e=arguments,bt=F?F.apply(this,$e):$e[0],qt=fe.cache;if(qt.has(bt))return qt.get(bt);var hr=E.apply(this,$e);return fe.cache=qt.set(bt,hr)||qt,hr};return fe.cache=new(hn.Cache||Hu),fe}hn.Cache=Hu;function Zr(E){if(typeof E!="function")throw new Kr(o);return function(){var F=arguments;switch(F.length){case 0:return!E.call(this);case 1:return!E.call(this,F[0]);case 2:return!E.call(this,F[0],F[1]);case 3:return!E.call(this,F[0],F[1],F[2])}return!E.apply(this,F)}}function sn(E){return Fe(2,E)}var nn=Lu(function(E,F){F=F.length==1&&ya(F[0])?ha(F[0],Ts(Qn())):ha(Ns(F,1),Ts(Qn()));var fe=F.length;return Ta(function($e){for(var bt=-1,qt=Ea($e.length,fe);++bt<qt;)$e[bt]=F[bt].call(this,$e[bt]);return Ga(E,this,$e)})}),Vr=Ta(function(E,F){var fe=to(F,_o(Vr));return nl(E,B,i,F,fe)}),In=Ta(function(E,F){var fe=to(F,_o(In));return nl(E,N,i,F,fe)}),wi=il(function(E,F){return nl(E,W,i,i,i,F)});function ta(E,F){if(typeof E!="function")throw new Kr(o);return F=F===i?F:Ss(F),Ta(E,F)}function va(E,F){if(typeof E!="function")throw new Kr(o);return F=F==null?0:Si(Ss(F),0),Ta(function(fe){var $e=fe[F],bt=Vs(fe,0,F);return $e&&ns(bt,$e),Ga(E,this,bt)})}function ra(E,F,fe){var $e=!0,bt=!0;if(typeof E!="function")throw new Kr(o);return jo(fe)&&($e="leading"in fe?!!fe.leading:$e,bt="trailing"in fe?!!fe.trailing:bt),Jt(E,F,{leading:$e,maxWait:F,trailing:bt})}function di(E){return Ee(E,1)}function sa(E,F){return Vr(mf(F),E)}function Bi(){if(!arguments.length)return[];var E=arguments[0];return ya(E)?E:[E]}function da(E){return Pr(E,_)}function $a(E,F){return F=typeof F=="function"?F:i,Pr(E,_,F)}function yi(E){return Pr(E,p|_)}function bi(E,F){return F=typeof F=="function"?F:i,Pr(E,p|_,F)}function gs(E,F){return F==null||Go(E,F,ul(F))}function ys(E,F){return E===F||E!==E&&F!==F}var Es=kc(tu),Zs=kc(function(E,F){return E>=F}),mu=dc(function(){return arguments}())?dc:function(E){return ou(E)&&Wi.call(E,"callee")&&!Ht.call(E,"callee")},ya=Fr.isArray,sc=Gs?Ts(Gs):io;function su(E){return E!=null&&Xf(E.length)&&!Ol(E)}function Bo(E){return ou(E)&&su(E)}function Dd(E){return E===!0||E===!1||ou(E)&&Io(E)==Mt}var $c=Ji||Ud,fd=_s?Ts(_s):zc;function zd(E){return ou(E)&&E.nodeType===1&&!dd(E)}function so(E){if(E==null)return!0;if(su(E)&&(ya(E)||typeof E=="string"||typeof E.splice=="function"||$c(E)||rd(E)||mu(E)))return!E.length;var F=un(E);if(F==Ke||F==Ze)return!E.size;if(Yu(E))return!Rl(E).length;for(var fe in E)if(Wi.call(E,fe))return!1;return!0}function ol(E,F){return Bu(E,F)}function oc(E,F,fe){fe=typeof fe=="function"?fe:i;var $e=fe?fe(E,F):i;return $e===i?Bu(E,F,i,fe):!!$e}function uf(E){if(!ou(E))return!1;var F=Io(E);return F==tr||F==Pt||typeof E.message=="string"&&typeof E.name=="string"&&!dd(E)}function wc(E){return typeof E=="number"&&Mi(E)}function Ol(E){if(!jo(E))return!1;var F=Io(E);return F==Vt||F==lr||F==je||F==pt}function Pf(E){return typeof E=="number"&&E==Ss(E)}function Xf(E){return typeof E=="number"&&E>-1&&E%1==0&&E<=X}function jo(E){var F=typeof E;return E!=null&&(F=="object"||F=="function")}function ou(E){return E!=null&&typeof E=="object"}var Gf=Js?Ts(Js):wu;function yd(E,F){return E===F||Zc(E,F,C(F))}function Od(E,F,fe){return fe=typeof fe=="function"?fe:i,Zc(E,F,C(F),fe)}function bd(E){return Zd(E)&&E!=+E}function xd(E){if(gl(E))throw new Tn(f);return cf(E)}function Qf(E){return E===null}function o0(E){return E==null}function Zd(E){return typeof E=="number"||ou(E)&&Io(E)==Ct}function dd(E){if(!ou(E)||Io(E)!=it)return!1;var F=Re(E);if(F===null)return!0;var fe=Wi.call(F,"constructor")&&F.constructor;return typeof fe=="function"&&fe instanceof fe&&Ks.call(fe)==ls}var kd=zi?Ts(zi):fi;function u0(E){return Pf(E)&&E>=-X&&E<=X}var Hd=Xs?Ts(Xs):ff;function wd(E){return typeof E=="string"||!ya(E)&&ou(E)&&Io(E)==ge}function Ec(E){return typeof E=="symbol"||ou(E)&&Io(E)==Ae}var rd=No?Ts(No):kl;function l0(E){return E===i}function c0(E){return ou(E)&&un(E)==Ue}function f0(E){return ou(E)&&Io(E)==Ge}var d0=kc(Ll),h0=kc(function(E,F){return E<=F});function Wd(E){if(!E)return[];if(su(E))return wd(E)?dr(E):hu(E);if(Wr&&E[Wr])return Pu(E[Wr]());var F=un(E),fe=F==Ke?cu:F==Ze?To:nd;return fe(E)}function $f(E){if(!E)return E===0?E:0;if(E=jc(E),E===ee||E===-ee){var F=E<0?-1:1;return F*le}return E===E?E:0}function Ss(E){var F=$f(E),fe=F%1;return F===F?fe?F-fe:F:0}function Gd(E){return E?xs(Ss(E),0,$):0}function jc(E){if(typeof E=="number")return E;if(Ec(E))return z;if(jo(E)){var F=typeof E.valueOf=="function"?E.valueOf():E;E=jo(F)?F+"":F}if(typeof E!="string")return E===0?E:+E;E=uu(E);var fe=or.test(E);return fe||mt.test(E)?Xi(E.slice(2),fe?2:8):pn.test(E)?z:+E}function Kd(E){return Gu(E,uc(E))}function p0(E){return E?xs(Ss(E),-X,X):E===0?E:0}function Do(E){return E==null?"":Nu(E)}var _0=rl(function(E,F){if(Yu(F)||su(F)){Gu(F,ul(F),E);return}for(var fe in F)Wi.call(F,fe)&&Sa(E,fe,F[fe])}),Vd=rl(function(E,F){Gu(F,uc(F),E)}),Ed=rl(function(E,F,fe,$e){Gu(F,uc(F),E,$e)}),m0=rl(function(E,F,fe,$e){Gu(F,ul(F),E,$e)}),v0=il(no);function g0(E,F){var fe=br(E);return F==null?fe:Ds(fe,F)}var y0=Ta(function(E,F){E=Hn(E);var fe=-1,$e=F.length,bt=$e>2?F[2]:i;for(bt&&xo(F[0],F[1],bt)&&($e=1);++fe<$e;)for(var qt=F[fe],hr=uc(qt),Lr=-1,Xr=hr.length;++Lr<Xr;){var Rn=hr[Lr],Ln=E[Rn];(Ln===i||ys(Ln,Ia[Rn])&&!Wi.call(E,Rn))&&(E[Rn]=qt[Rn])}return E}),b0=Ta(function(E){return E.push(i,Bl),Ga(Yd,i,E)});function x0(E,F){return Eo(E,Qn(F,3),Vo)}function w0(E,F){return Eo(E,Qn(F,3),zs)}function E0(E,F){return E==null?E:Wu(E,Qn(F,3),uc)}function S0(E,F){return E==null?E:el(E,Qn(F,3),uc)}function A0(E,F){return E&&Vo(E,Qn(F,3))}function T0(E,F){return E&&zs(E,Qn(F,3))}function C0(E){return E==null?[]:fc(E,ul(E))}function P0(E){return E==null?[]:fc(E,uc(E))}function Rd(E,F,fe){var $e=E==null?i:xu(E,F);return $e===i?fe:$e}function I0(E,F){return E!=null&&na(E,F,cl)}function Ld(E,F){return E!=null&&na(E,F,Wl)}var D0=Xc(function(E,F,fe){F!=null&&typeof F.toString!="function"&&(F=vs.call(F)),E[F]=fe},Fd(lc)),O0=Xc(function(E,F,fe){F!=null&&typeof F.toString!="function"&&(F=vs.call(F)),Wi.call(E,F)?E[F].push(fe):E[F]=[fe]},Qn),k0=Ta(Vl);function ul(E){return su(E)?Bn(E):Rl(E)}function uc(E){return su(E)?Bn(E,!0):Hc(E)}function R0(E,F){var fe={};return F=Qn(F,3),Vo(E,function($e,bt,qt){ka(fe,F($e,bt,qt),$e)}),fe}function L0(E,F){var fe={};return F=Qn(F,3),Vo(E,function($e,bt,qt){ka(fe,bt,F($e,bt,qt))}),fe}var M0=rl(function(E,F,fe){$o(E,F,fe)}),Yd=rl(function(E,F,fe,$e){$o(E,F,fe,$e)}),F0=il(function(E,F){var fe={};if(E==null)return fe;var $e=!1;F=ha(F,function(qt){return qt=ml(qt,E),$e||($e=qt.length>1),qt}),Gu(E,nc(E),fe),$e&&(fe=Pr(fe,p|y|_,xf));for(var bt=F.length;bt--;)Ic(fe,F[bt]);return fe});function B0(E,F){return qd(E,Zr(Qn(F)))}var N0=il(function(E,F){return E==null?{}:ku(E,F)});function qd(E,F){if(E==null)return{};var fe=ha(nc(E),function($e){return[$e]});return F=Qn(F),du(E,fe,function($e,bt){return F($e,bt[0])})}function $0(E,F,fe){F=ml(F,E);var $e=-1,bt=F.length;for(bt||(bt=1,E=i);++$e<bt;){var qt=E==null?i:E[ca(F[$e])];qt===i&&($e=bt,qt=fe),E=Ol(qt)?qt.call(E):qt}return E}function j0(E,F,fe){return E==null?E:hl(E,F,fe)}function U0(E,F,fe,$e){return $e=typeof $e=="function"?$e:i,E==null?E:hl(E,F,fe,$e)}var Xd=Jc(ul),Qd=Jc(uc);function z0(E,F,fe){var $e=ya(E),bt=$e||$c(E)||rd(E);if(F=Qn(F,4),fe==null){var qt=E&&E.constructor;bt?fe=$e?new qt:[]:jo(E)?fe=Ol(qt)?br(Re(E)):{}:fe={}}return(bt?ci:Vo)(E,function(hr,Lr,Xr){return F(fe,hr,Lr,Xr)}),fe}function Z0(E,F){return E==null?!0:Ic(E,F)}function H0(E,F,fe){return E==null?E:pf(E,F,mf(fe))}function W0(E,F,fe,$e){return $e=typeof $e=="function"?$e:i,E==null?E:pf(E,F,mf(fe),$e)}function nd(E){return E==null?[]:lu(E,ul(E))}function G0(E){return E==null?[]:lu(E,uc(E))}function K0(E,F,fe){return fe===i&&(fe=F,F=i),fe!==i&&(fe=jc(fe),fe=fe===fe?fe:0),F!==i&&(F=jc(F),F=F===F?F:0),xs(jc(E),F,fe)}function V0(E,F,fe){return F=$f(F),fe===i?(fe=F,F=0):fe=$f(fe),E=jc(E),ru(E,F,fe)}function Y0(E,F,fe){if(fe&&typeof fe!="boolean"&&xo(E,F,fe)&&(F=fe=i),fe===i&&(typeof F=="boolean"?(fe=F,F=i):typeof E=="boolean"&&(fe=E,E=i)),E===i&&F===i?(E=0,F=1):(E=$f(E),F===i?(F=E,E=0):F=$f(F)),E>F){var $e=E;E=F,F=$e}if(fe||E%1||F%1){var bt=Xa();return Ea(E+bt*(F-E+Pi("1e-"+((bt+"").length-1))),F)}return tl(E,F)}var q0=vl(function(E,F,fe){return F=F.toLowerCase(),E+(fe?Jd(F):F)});function Jd(E){return Md(Do(E).toLowerCase())}function e0(E){return E=Do(E),E&&E.replace(Nt,Ho).replace(Ir,"")}function X0(E,F,fe){E=Do(E),F=Nu(F);var $e=E.length;fe=fe===i?$e:xs(Ss(fe),0,$e);var bt=fe;return fe-=F.length,fe>=0&&E.slice(fe,bt)==F}function Q0(E){return E=Do(E),E&&ft.test(E)?E.replace(Dt,Lo):E}function J0(E){return E=Do(E),E&&Rt.test(E)?E.replace(vt,"\\$&"):E}var eh=vl(function(E,F,fe){return E+(fe?"-":"")+F.toLowerCase()}),th=vl(function(E,F,fe){return E+(fe?" ":"")+F.toLowerCase()}),rh=vc("toLowerCase");function nh(E,F,fe){E=Do(E),F=Ss(F);var $e=F?ir(E):0;if(!F||$e>=F)return E;var bt=(F-$e)/2;return Oc(ji(bt),fe)+E+Oc(vi(bt),fe)}function ih(E,F,fe){E=Do(E),F=Ss(F);var $e=F?ir(E):0;return F&&$e<F?E+Oc(F-$e,fe):E}function ah(E,F,fe){E=Do(E),F=Ss(F);var $e=F?ir(E):0;return F&&$e<F?Oc(F-$e,fe)+E:E}function sh(E,F,fe){return fe||F==null?F=0:F&&(F=+F),Us(Do(E).replace(Ne,""),F||0)}function oh(E,F,fe){return(fe?xo(E,F,fe):F===i)?F=1:F=Ss(F),Xl(Do(E),F)}function uh(){var E=arguments,F=Do(E[0]);return E.length<3?F:F.replace(E[1],E[2])}var lh=vl(function(E,F,fe){return E+(fe?"_":"")+F.toLowerCase()});function ch(E,F,fe){return fe&&typeof fe!="number"&&xo(E,F,fe)&&(F=fe=i),fe=fe===i?$:fe>>>0,fe?(E=Do(E),E&&(typeof F=="string"||F!=null&&!kd(F))&&(F=Nu(F),!F&&vo(E))?Vs(dr(E),0,fe):E.split(F,fe)):[]}var fh=vl(function(E,F,fe){return E+(fe?" ":"")+Md(F)});function dh(E,F,fe){return E=Do(E),fe=fe==null?0:xs(Ss(fe),0,E.length),F=Nu(F),E.slice(fe,fe+F.length)==F}function hh(E,F,fe){var $e=Se.templateSettings;fe&&xo(E,F,fe)&&(F=i),E=Do(E),F=Ed({},F,$e,gc);var bt=Ed({},F.imports,$e.imports,gc),qt=ul(bt),hr=lu(bt,qt),Lr,Xr,Rn=0,Ln=F.interpolate||Ar,Vn="__p += '",Ni=Li((F.escape||Ar).source+"|"+Ln.source+"|"+(Ln===Oe?Hr:Ar).source+"|"+(F.evaluate||Ar).source+"|$","g"),wa="//# sourceURL="+(Wi.call(F,"sourceURL")?(F.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++an+"]")+`
|
|
|
`;E.replace(Ni,function(Wa,Hs,Qs,Sc,zl,Ac){return Qs||(Qs=Sc),Vn+=E.slice(Rn,Ac).replace(vr,Mo),Hs&&(Lr=!0,Vn+=`' +
|
|
|
__e(`+Hs+`) +
|
|
|
'`),zl&&(Xr=!0,Vn+=`';
|
|
|
`+zl+`;
|
|
|
__p += '`),Qs&&(Vn+=`' +
|
|
|
((__t = (`+Qs+`)) == null ? '' : __t) +
|
|
|
'`),Rn=Ac+Wa.length,Wa}),Vn+=`';
|
|
|
`;var Ha=Wi.call(F,"variable")&&F.variable;if(!Ha)Vn=`with (obj) {
|
|
|
`+Vn+`
|
|
|
}
|
|
|
`;else if($r.test(Ha))throw new Tn(h);Vn=(Xr?Vn.replace(Yt,""):Vn).replace(Ye,"$1").replace(ce,"$1;"),Vn="function("+(Ha||"obj")+`) {
|
|
|
`+(Ha?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(Lr?", __e = _.escape":"")+(Xr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+Vn+`return __p
|
|
|
}`;var Is=r0(function(){return _t(qt,wa+"return "+Vn).apply(i,hr)});if(Is.source=Vn,uf(Is))throw Is;return Is}function ph(E){return Do(E).toLowerCase()}function _h(E){return Do(E).toUpperCase()}function mh(E,F,fe){if(E=Do(E),E&&(fe||F===i))return uu(E);if(!E||!(F=Nu(F)))return E;var $e=dr(E),bt=dr(F),qt=Cu($e,bt),hr=Fu($e,bt)+1;return Vs($e,qt,hr).join("")}function vh(E,F,fe){if(E=Do(E),E&&(fe||F===i))return E.slice(0,Sr(E)+1);if(!E||!(F=Nu(F)))return E;var $e=dr(E),bt=Fu($e,dr(F))+1;return Vs($e,0,bt).join("")}function gh(E,F,fe){if(E=Do(E),E&&(fe||F===i))return E.replace(Ne,"");if(!E||!(F=Nu(F)))return E;var $e=dr(E),bt=Cu($e,dr(F));return Vs($e,bt).join("")}function yh(E,F){var fe=te,$e=ie;if(jo(F)){var bt="separator"in F?F.separator:bt;fe="length"in F?Ss(F.length):fe,$e="omission"in F?Nu(F.omission):$e}E=Do(E);var qt=E.length;if(vo(E)){var hr=dr(E);qt=hr.length}if(fe>=qt)return E;var Lr=fe-ir($e);if(Lr<1)return $e;var Xr=hr?Vs(hr,0,Lr).join(""):E.slice(0,Lr);if(bt===i)return Xr+$e;if(hr&&(Lr+=Xr.length-Lr),kd(bt)){if(E.slice(Lr).search(bt)){var Rn,Ln=Xr;for(bt.global||(bt=Li(bt.source,Do(on.exec(bt))+"g")),bt.lastIndex=0;Rn=bt.exec(Ln);)var Vn=Rn.index;Xr=Xr.slice(0,Vn===i?Lr:Vn)}}else if(E.indexOf(Nu(bt),Lr)!=Lr){var Ni=Xr.lastIndexOf(bt);Ni>-1&&(Xr=Xr.slice(0,Ni))}return Xr+$e}function bh(E){return E=Do(E),E&&Ce.test(E)?E.replace(pe,vn):E}var xh=vl(function(E,F,fe){return E+(fe?" ":"")+F.toUpperCase()}),Md=vc("toUpperCase");function t0(E,F,fe){return E=Do(E),F=fe?i:F,F===i?Zu(E)?jn(E):uo(E):E.match(F)||[]}var r0=Ta(function(E,F){try{return Ga(E,i,F)}catch(fe){return uf(fe)?fe:new Tn(fe)}}),wh=il(function(E,F){return ci(F,function(fe){fe=ca(fe),ka(E,fe,Be(E[fe],E))}),E});function Eh(E){var F=E==null?0:E.length,fe=Qn();return E=F?ha(E,function($e){if(typeof $e[1]!="function")throw new Kr(o);return[fe($e[0]),$e[1]]}):[],Ta(function($e){for(var bt=-1;++bt<F;){var qt=E[bt];if(Ga(qt[0],this,$e))return Ga(qt[1],this,$e)}})}function Sh(E){return Po(Pr(E,p))}function Fd(E){return function(){return E}}function Ah(E,F){return E==null||E!==E?F:E}var Th=Tl(),Ch=Tl(!0);function lc(E){return E}function Bd(E){return hc(typeof E=="function"?E:Pr(E,p))}function Ph(E){return Yl(Pr(E,p))}function Ih(E,F){return ts(E,Pr(F,p))}var Dh=Ta(function(E,F){return function(fe){return Vl(fe,E,F)}}),Oh=Ta(function(E,F){return function(fe){return Vl(E,fe,F)}});function Nd(E,F,fe){var $e=ul(F),bt=fc(F,$e);fe==null&&!(jo(F)&&(bt.length||!$e.length))&&(fe=F,F=E,E=this,bt=fc(F,ul(F)));var qt=!(jo(fe)&&"chain"in fe)||!!fe.chain,hr=Ol(E);return ci(bt,function(Lr){var Xr=F[Lr];E[Lr]=Xr,hr&&(E.prototype[Lr]=function(){var Rn=this.__chain__;if(qt||Rn){var Ln=E(this.__wrapped__),Vn=Ln.__actions__=hu(this.__actions__);return Vn.push({func:Xr,args:arguments,thisArg:E}),Ln.__chain__=Rn,Ln}return Xr.apply(E,ns([this.value()],arguments))})}),E}function kh(){return ja._===this&&(ja._=Jo),this}function $d(){}function Rh(E){return E=Ss(E),Ta(function(F){return ql(F,E)})}var Lh=Eu(ha),Mh=Eu(Fn),Fh=Eu(wo);function n0(E){return Cl(E)?_i(ca(E)):If(E)}function Bh(E){return function(F){return E==null?i:xu(E,F)}}var Nh=kf(),$h=kf(!0);function jd(){return[]}function Ud(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(E,F){if(E=Ss(E),E<1||E>X)return[];var fe=$,$e=Ea(E,$);F=Qn(F),E-=$;for(var bt=Va($e,F);++fe<E;)F(fe);return bt}function Hh(E){return ya(E)?ha(E,ca):Ec(E)?[E]:hu(Na(Do(E)))}function Wh(E){var F=++co;return Do(E)+F}var Gh=tc(function(E,F){return E+F},0),Kh=rc("ceil"),Vh=tc(function(E,F){return E/F},1),Yh=rc("floor");function qh(E){return E&&E.length?Sl(E,lc,tu):i}function Xh(E,F){return E&&E.length?Sl(E,Qn(F,2),tu):i}function Qh(E){return eu(E,lc)}function Jh(E,F){return eu(E,Qn(F,2))}function ep(E){return E&&E.length?Sl(E,lc,Ll):i}function tp(E,F){return E&&E.length?Sl(E,Qn(F,2),Ll):i}var rp=tc(function(E,F){return E*F},1),np=rc("round"),ip=tc(function(E,F){return E-F},0);function ap(E){return E&&E.length?Ka(E,lc):0}function sp(E,F){return E&&E.length?Ka(E,Qn(F,2)):0}return Se.after=de,Se.ary=Ee,Se.assign=_0,Se.assignIn=Vd,Se.assignInWith=Ed,Se.assignWith=m0,Se.at=v0,Se.before=Fe,Se.bind=Be,Se.bindAll=wh,Se.bindKey=ct,Se.castArray=Bi,Se.chain=Nn,Se.chunk=fa,Se.compact=$s,Se.concat=Xu,Se.cond=Eh,Se.conforms=Sh,Se.constant=Fd,Se.countBy=Sd,Se.create=g0,Se.curry=lt,Se.curryRight=Gt,Se.debounce=Jt,Se.defaults=y0,Se.defaultsDeep=b0,Se.defer=er,Se.delay=wr,Se.difference=al,Se.differenceBy=bl,Se.differenceWith=Qu,Se.drop=jl,Se.dropRight=Kf,Se.dropRightWhile=wf,Se.dropWhile=ac,Se.fill=Lf,Se.filter=Td,Se.flatMap=_d,Se.flatMapDeep=Cd,Se.flatMapDepth=Pd,Se.flatten=rf,Se.flattenDeep=Ju,Se.flattenDepth=Vf,Se.flip=zr,Se.flow=Th,Se.flowRight=Ch,Se.fromPairs=sl,Se.functions=C0,Se.functionsIn=P0,Se.groupBy=Id,Se.initial=iu,Se.intersection=Ef,Se.intersectionBy=af,Se.intersectionWith=Dl,Se.invert=D0,Se.invertBy=O0,Se.invokeMap=gd,Se.iteratee=Bd,Se.keyBy=cd,Se.keys=ul,Se.keysIn=uc,Se.map=td,Se.mapKeys=R0,Se.mapValues=L0,Se.matches=Ph,Se.matchesProperty=Ih,Se.memoize=hn,Se.merge=M0,Se.mergeWith=Yd,Se.method=Dh,Se.methodOf=Oh,Se.mixin=Nd,Se.negate=Zr,Se.nthArg=Rh,Se.omit=F0,Se.omitBy=B0,Se.once=sn,Se.orderBy=Cf,Se.over=Lh,Se.overArgs=nn,Se.overEvery=Mh,Se.overSome=Fh,Se.partial=Vr,Se.partialRight=In,Se.partition=O,Se.pick=N0,Se.pickBy=qd,Se.property=n0,Se.propertyOf=Bh,Se.pull=sf,Se.pullAll=Bc,Se.pullAllBy=Ff,Se.pullAllWith=Nc,Se.pullAt=zf,Se.range=Nh,Se.rangeRight=$h,Se.rearg=wi,Se.reject=s,Se.remove=Yf,Se.rest=ta,Se.reverse=Bf,Se.sampleSize=w,Se.set=j0,Se.setWith=U0,Se.shuffle=P,Se.slice=qf,Se.sortBy=G,Se.sortedUniq=Tf,Se.sortedUniqBy=Jf,Se.split=ch,Se.spread=va,Se.tail=Wf,Se.take=g,Se.takeRight=T,Se.takeRightWhile=U,Se.takeWhile=ve,Se.tap=Ya,Se.throttle=ra,Se.thru=Ki,Se.toArray=Wd,Se.toPairs=Xd,Se.toPairsIn=Qd,Se.toPath=Hh,Se.toPlainObject=Kd,Se.transform=z0,Se.unary=di,Se.union=Le,Se.unionBy=ot,Se.unionWith=Bt,Se.uniq=nr,Se.uniqBy=Or,Se.uniqWith=_n,Se.unset=Z0,Se.unzip=ki,Se.unzipWith=za,Se.update=H0,Se.updateWith=W0,Se.values=nd,Se.valuesIn=G0,Se.without=Gn,Se.words=t0,Se.wrap=sa,Se.xor=pa,Se.xorBy=Za,Se.xorWith=Fa,Se.zip=en,Se.zipObject=Ur,Se.zipObjectDeep=Qr,Se.zipWith=Pn,Se.entries=Xd,Se.entriesIn=Qd,Se.extend=Vd,Se.extendWith=Ed,Nd(Se,Se),Se.add=Gh,Se.attempt=r0,Se.camelCase=q0,Se.capitalize=Jd,Se.ceil=Kh,Se.clamp=K0,Se.clone=da,Se.cloneDeep=yi,Se.cloneDeepWith=bi,Se.cloneWith=$a,Se.conformsTo=gs,Se.deburr=e0,Se.defaultTo=Ah,Se.divide=Vh,Se.endsWith=X0,Se.eq=ys,Se.escape=Q0,Se.escapeRegExp=J0,Se.every=Ad,Se.find=hd,Se.findIndex=ef,Se.findKey=x0,Se.findLast=pd,Se.findLastIndex=tf,Se.findLastKey=w0,Se.floor=Yh,Se.forEach=md,Se.forEachRight=vd,Se.forIn=E0,Se.forInRight=S0,Se.forOwn=A0,Se.forOwnRight=T0,Se.get=Rd,Se.gt=Es,Se.gte=Zs,Se.has=I0,Se.hasIn=Ld,Se.head=nf,Se.identity=lc,Se.includes=ld,Se.indexOf=Mf,Se.inRange=V0,Se.invoke=k0,Se.isArguments=mu,Se.isArray=ya,Se.isArrayBuffer=sc,Se.isArrayLike=su,Se.isArrayLikeObject=Bo,Se.isBoolean=Dd,Se.isBuffer=$c,Se.isDate=fd,Se.isElement=zd,Se.isEmpty=so,Se.isEqual=ol,Se.isEqualWith=oc,Se.isError=uf,Se.isFinite=wc,Se.isFunction=Ol,Se.isInteger=Pf,Se.isLength=Xf,Se.isMap=Gf,Se.isMatch=yd,Se.isMatchWith=Od,Se.isNaN=bd,Se.isNative=xd,Se.isNil=o0,Se.isNull=Qf,Se.isNumber=Zd,Se.isObject=jo,Se.isObjectLike=ou,Se.isPlainObject=dd,Se.isRegExp=kd,Se.isSafeInteger=u0,Se.isSet=Hd,Se.isString=wd,Se.isSymbol=Ec,Se.isTypedArray=rd,Se.isUndefined=l0,Se.isWeakMap=c0,Se.isWeakSet=f0,Se.join=Fc,Se.kebabCase=eh,Se.last=au,Se.lastIndexOf=Sf,Se.lowerCase=th,Se.lowerFirst=rh,Se.lt=d0,Se.lte=h0,Se.max=qh,Se.maxBy=Xh,Se.mean=Qh,Se.meanBy=Jh,Se.min=ep,Se.minBy=tp,Se.stubArray=jd,Se.stubFalse=Ud,Se.stubObject=jh,Se.stubString=Uh,Se.stubTrue=zh,Se.multiply=rp,Se.nth=Af,Se.noConflict=kh,Se.noop=$d,Se.now=ue,Se.pad=nh,Se.padEnd=ih,Se.padStart=ah,Se.parseInt=sh,Se.random=Y0,Se.reduce=t,Se.reduceRight=n,Se.repeat=oh,Se.replace=uh,Se.result=$0,Se.round=np,Se.runInContext=ur,Se.sample=m,Se.size=j,Se.snakeCase=lh,Se.some=q,Se.sortedIndex=Zf,Se.sortedIndexBy=of,Se.sortedIndexOf=id,Se.sortedLastIndex=Hf,Se.sortedLastIndexBy=Nf,Se.sortedLastIndexOf=ad,Se.startCase=fh,Se.startsWith=dh,Se.subtract=ip,Se.sum=ap,Se.sumBy=sp,Se.template=hh,Se.times=Zh,Se.toFinite=$f,Se.toInteger=Ss,Se.toLength=Gd,Se.toLower=ph,Se.toNumber=jc,Se.toSafeInteger=p0,Se.toString=Do,Se.toUpper=_h,Se.trim=mh,Se.trimEnd=vh,Se.trimStart=gh,Se.truncate=yh,Se.unescape=bh,Se.uniqueId=Wh,Se.upperCase=xh,Se.upperFirst=Md,Se.each=md,Se.eachRight=vd,Se.first=nf,Nd(Se,function(){var E={};return Vo(Se,function(F,fe){Wi.call(Se.prototype,fe)||(E[fe]=F)}),E}(),{chain:!1}),Se.VERSION=l,ci(["bind","bindKey","curry","curryRight","partial","partialRight"],function(E){Se[E].placeholder=Se}),ci(["drop","take"],function(E,F){qr.prototype[E]=function(fe){fe=fe===i?1:Si(Ss(fe),0);var $e=this.__filtered__&&!F?new qr(this):this.clone();return $e.__filtered__?$e.__takeCount__=Ea(fe,$e.__takeCount__):$e.__views__.push({size:Ea(fe,$),type:E+($e.__dir__<0?"Right":"")}),$e},qr.prototype[E+"Right"]=function(fe){return this.reverse()[E](fe).reverse()}}),ci(["filter","map","takeWhile"],function(E,F){var fe=F+1,$e=fe==Q||fe==se;qr.prototype[E]=function(bt){var qt=this.clone();return qt.__iteratees__.push({iteratee:Qn(bt,3),type:fe}),qt.__filtered__=qt.__filtered__||$e,qt}}),ci(["head","last"],function(E,F){var fe="take"+(F?"Right":"");qr.prototype[E]=function(){return this[fe](1).value()[0]}}),ci(["initial","tail"],function(E,F){var fe="drop"+(F?"":"Right");qr.prototype[E]=function(){return this.__filtered__?new qr(this):this[fe](1)}}),qr.prototype.compact=function(){return this.filter(lc)},qr.prototype.find=function(E){return this.filter(E).head()},qr.prototype.findLast=function(E){return this.reverse().find(E)},qr.prototype.invokeMap=Ta(function(E,F){return typeof E=="function"?new qr(this):this.map(function(fe){return Vl(fe,E,F)})}),qr.prototype.reject=function(E){return this.filter(Zr(Qn(E)))},qr.prototype.slice=function(E,F){E=Ss(E);var fe=this;return fe.__filtered__&&(E>0||F<0)?new qr(fe):(E<0?fe=fe.takeRight(-E):E&&(fe=fe.drop(E)),F!==i&&(F=Ss(F),fe=F<0?fe.dropRight(-F):fe.take(F-E)),fe)},qr.prototype.takeRightWhile=function(E){return this.reverse().takeWhile(E).reverse()},qr.prototype.toArray=function(){return this.take($)},Vo(qr.prototype,function(E,F){var fe=/^(?:filter|find|map|reject)|While$/.test(F),$e=/^(?:head|last)$/.test(F),bt=Se[$e?"take"+(F=="last"?"Right":""):F],qt=$e||/^find/.test(F);bt&&(Se.prototype[F]=function(){var hr=this.__wrapped__,Lr=$e?[1]:arguments,Xr=hr instanceof qr,Rn=Lr[0],Ln=Xr||ya(hr),Vn=function(Hs){var Qs=bt.apply(Se,ns([Hs],Lr));return $e&&Ni?Qs[0]:Qs};Ln&&fe&&typeof Rn=="function"&&Rn.length!=1&&(Xr=Ln=!1);var Ni=this.__chain__,wa=!!this.__actions__.length,Ha=qt&&!Ni,Is=Xr&&!wa;if(!qt&&Ln){hr=Is?hr:new qr(this);var Wa=E.apply(hr,Lr);return Wa.__actions__.push({func:Ki,args:[Vn],thisArg:i}),new gr(Wa,Ni)}return Ha&&Is?E.apply(this,Lr):(Wa=this.thru(Vn),Ha?$e?Wa.value()[0]:Wa.value():Wa)})}),ci(["pop","push","shift","sort","splice","unshift"],function(E){var F=ba[E],fe=/^(?:push|sort|unshift)$/.test(E)?"tap":"thru",$e=/^(?:pop|shift)$/.test(E);Se.prototype[E]=function(){var bt=arguments;if($e&&!this.__chain__){var qt=this.value();return F.apply(ya(qt)?qt:[],bt)}return this[fe](function(hr){return F.apply(ya(hr)?hr:[],bt)})}}),Vo(qr.prototype,function(E,F){var fe=Se[F];if(fe){var $e=fe.name+"";Wi.call(Ba,$e)||(Ba[$e]=[]),Ba[$e].push({name:F,func:fe})}}),Ba[Fl(i,R).name]=[{name:"wrapper",func:i}],qr.prototype.clone=On,qr.prototype.reverse=ii,qr.prototype.value=Gi,Se.prototype.at=qa,Se.prototype.chain=ps,Se.prototype.commit=rs,Se.prototype.next=Ul,Se.prototype.plant=od,Se.prototype.reverse=ud,Se.prototype.toJSON=Se.prototype.valueOf=Se.prototype.value=ed,Se.prototype.first=Se.prototype.head,Wr&&(Se.prototype[Wr]=sd),Se},ei=ui();ja._=ei,r=function(){return ei}.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,o){r(c,f,o)});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(St,Oe){for(var wt=0;wt<Oe.length;wt++){var ye=Oe[wt];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(St,ye.key,ye)}}function e(St,Oe,wt){return Oe&&v(St.prototype,Oe),wt&&v(St,wt),St}function r(St,Oe){if(St){if(typeof St=="string")return i(St,Oe);var wt=Object.prototype.toString.call(St).slice(8,-1);if(wt==="Object"&&St.constructor&&(wt=St.constructor.name),wt==="Map"||wt==="Set")return Array.from(St);if(wt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wt))return i(St,Oe)}}function i(St,Oe){(Oe==null||Oe>St.length)&&(Oe=St.length);for(var wt=0,ye=new Array(Oe);wt<Oe;wt++)ye[wt]=St[wt];return ye}function l(St,Oe){var wt=typeof Symbol!="undefined"&&St[Symbol.iterator]||St["@@iterator"];if(wt)return(wt=wt.call(St)).next.bind(wt);if(Array.isArray(St)||(wt=r(St))||Oe&&St&&typeof St.length=="number"){wt&&(St=wt);var ye=0;return function(){return ye>=St.length?{done:!0}:{done:!1,value:St[ye++]}}}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 o(St){c.exports.defaults=St}c.exports={defaults:f(),getDefaults:f,changeDefaults:o};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(Oe){return p[Oe]};function _(St,Oe){if(Oe){if(h.test(St))return St.replace(u,y)}else if(a.test(St))return St.replace(x,y);return St}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(St){return St.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 k=/(^|[^\[])\^/g;function R(St,Oe){St=St.source||St,Oe=Oe||"";var wt={replace:function(Xe,vt){return vt=vt.source||vt,vt=vt.replace(k,"$1"),St=St.replace(Xe,vt),wt},getRegex:function(){return new RegExp(St,Oe)}};return wt}var A=/[^\w:]/g,I=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(St,Oe,wt){if(St){var ye;try{ye=decodeURIComponent(S(wt)).replace(A,"").toLowerCase()}catch(Xe){return null}if(ye.indexOf("javascript:")===0||ye.indexOf("vbscript:")===0||ye.indexOf("data:")===0)return null}Oe&&!I.test(wt)&&(wt=H(Oe,wt));try{wt=encodeURI(wt).replace(/%25/g,"%")}catch(Xe){return null}return wt}var B={},N=/^[^:]+:\/*[^/]*$/,V=/^([^:]+:)[\s\S]*$/,W=/^([^:]+:\/*[^/]*)[\s\S]*$/;function H(St,Oe){B[" "+St]||(N.test(St)?B[" "+St]=St+"/":B[" "+St]=J(St,"/",!0)),St=B[" "+St];var wt=St.indexOf(":")===-1;return Oe.substring(0,2)==="//"?wt?Oe:St.replace(V,"$1")+Oe:Oe.charAt(0)==="/"?wt?Oe:St.replace(W,"$1")+Oe:St+Oe}var te={exec:function(){}};function ie(St){for(var Oe=1,wt,ye;Oe<arguments.length;Oe++){wt=arguments[Oe];for(ye in wt)Object.prototype.hasOwnProperty.call(wt,ye)&&(St[ye]=wt[ye])}return St}function oe(St,Oe){var wt=St.replace(/\|/g,function(vt,Rt,Ne){for(var Dr=!1,Et=Rt;--Et>=0&&Ne[Et]==="\\";)Dr=!Dr;return Dr?"|":" |"}),ye=wt.split(/ \|/),Xe=0;if(ye.length>Oe)ye.splice(Oe);else for(;ye.length<Oe;)ye.push("");for(;Xe<ye.length;Xe++)ye[Xe]=ye[Xe].trim().replace(/\\\|/g,"|");return ye}function J(St,Oe,wt){var ye=St.length;if(ye===0)return"";for(var Xe=0;Xe<ye;){var vt=St.charAt(ye-Xe-1);if(vt===Oe&&!wt)Xe++;else if(vt!==Oe&&wt)Xe++;else break}return St.substr(0,ye-Xe)}function Q(St,Oe){if(St.indexOf(Oe[1])===-1)return-1;for(var wt=St.length,ye=0,Xe=0;Xe<wt;Xe++)if(St[Xe]==="\\")Xe++;else if(St[Xe]===Oe[0])ye++;else if(St[Xe]===Oe[1]&&(ye--,ye<0))return Xe;return-1}function K(St){St&&St.sanitize&&!St.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 se(St,Oe){if(Oe<1)return"";for(var wt="";Oe>1;)Oe&1&&(wt+=St),Oe>>=1,St+=St;return wt+St}var ee={escape:_,unescape:S,edit:R,cleanUrl:M,resolveUrl:H,noopTest:te,merge:ie,splitCells:oe,rtrim:J,findClosingBracket:Q,checkSanitizeDeprecation:K,repeatString:se},X=c.exports.defaults,le=ee.rtrim,z=ee.splitCells,$=ee.escape,ae=ee.findClosingBracket;function _e(St,Oe,wt){var ye=Oe.href,Xe=Oe.title?$(Oe.title):null,vt=St[1].replace(/\\([\[\]])/g,"$1");return St[0].charAt(0)!=="!"?{type:"link",raw:wt,href:ye,title:Xe,text:vt}:{type:"image",raw:wt,href:ye,title:Xe,text:$(vt)}}function Ie(St,Oe){var wt=St.match(/^(\s+)(?:```)/);if(wt===null)return Oe;var ye=wt[1];return Oe.split(`
|
|
|
`).map(function(Xe){var vt=Xe.match(/^\s+/);if(vt===null)return Xe;var Rt=vt[0];return Rt.length>=ye.length?Xe.slice(ye.length):Xe}).join(`
|
|
|
`)}var ke=function(){function St(wt){this.options=wt||X}var Oe=St.prototype;return Oe.space=function(ye){var Xe=this.rules.block.newline.exec(ye);if(Xe)return Xe[0].length>1?{type:"space",raw:Xe[0]}:{raw:`
|
|
|
`}},Oe.code=function(ye){var Xe=this.rules.block.code.exec(ye);if(Xe){var vt=Xe[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Xe[0],codeBlockStyle:"indented",text:this.options.pedantic?vt:le(vt,`
|
|
|
`)}}},Oe.fences=function(ye){var Xe=this.rules.block.fences.exec(ye);if(Xe){var vt=Xe[0],Rt=Ie(vt,Xe[3]||"");return{type:"code",raw:vt,lang:Xe[2]?Xe[2].trim():Xe[2],text:Rt}}},Oe.heading=function(ye){var Xe=this.rules.block.heading.exec(ye);if(Xe){var vt=Xe[2].trim();if(/#$/.test(vt)){var Rt=le(vt,"#");(this.options.pedantic||!Rt||/ $/.test(Rt))&&(vt=Rt.trim())}return{type:"heading",raw:Xe[0],depth:Xe[1].length,text:vt}}},Oe.nptable=function(ye){var Xe=this.rules.block.nptable.exec(ye);if(Xe){var vt={type:"table",header:z(Xe[1].replace(/^ *| *\| *$/g,"")),align:Xe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Xe[3]?Xe[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Xe[0]};if(vt.header.length===vt.align.length){var Rt=vt.align.length,Ne;for(Ne=0;Ne<Rt;Ne++)/^ *-+: *$/.test(vt.align[Ne])?vt.align[Ne]="right":/^ *:-+: *$/.test(vt.align[Ne])?vt.align[Ne]="center":/^ *:-+ *$/.test(vt.align[Ne])?vt.align[Ne]="left":vt.align[Ne]=null;for(Rt=vt.cells.length,Ne=0;Ne<Rt;Ne++)vt.cells[Ne]=z(vt.cells[Ne],vt.header.length);return vt}}},Oe.hr=function(ye){var Xe=this.rules.block.hr.exec(ye);if(Xe)return{type:"hr",raw:Xe[0]}},Oe.blockquote=function(ye){var Xe=this.rules.block.blockquote.exec(ye);if(Xe){var vt=Xe[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Xe[0],text:vt}}},Oe.list=function(ye){var Xe=this.rules.block.list.exec(ye);if(Xe){var vt=Xe[0],Rt=Xe[2],Ne=Rt.length>1,Dr={type:"list",raw:vt,ordered:Ne,start:Ne?+Rt.slice(0,-1):"",loose:!1,items:[]},Et=Xe[0].match(this.rules.block.item),Yr=!1,Jr,Er,$r,_r,Hr,on,pn,or,kt,mt=Et.length;$r=this.rules.block.listItemStart.exec(Et[0]);for(var gt=0;gt<mt;gt++){if(Jr=Et[gt],vt=Jr,this.options.pedantic||(kt=Jr.match(new RegExp("\\n\\s*\\n {0,"+($r[0].length-1)+"}\\S")),kt&&(Hr=Jr.length-kt.index+Et.slice(gt+1).join(`
|
|
|
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-Hr),Jr=Jr.substring(0,kt.index),vt=Jr,mt=gt+1)),gt!==mt-1){if(_r=this.rules.block.listItemStart.exec(Et[gt+1]),this.options.pedantic?_r[1].length>$r[1].length:_r[1].length>=$r[0].length||_r[1].length>3){Et.splice(gt,2,Et[gt]+(!this.options.pedantic&&_r[1].length<$r[0].length&&!Et[gt].match(/\n$/)?"":`
|
|
|
`)+Et[gt+1]),gt--,mt--;continue}else(!this.options.pedantic||this.options.smartLists?_r[2][_r[2].length-1]!==Rt[Rt.length-1]:Ne===(_r[2].length===1))&&(Hr=Et.slice(gt+1).join(`
|
|
|
`).length,Dr.raw=Dr.raw.substring(0,Dr.raw.length-Hr),gt=mt-1);$r=_r}Er=Jr.length,Jr=Jr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Jr.indexOf(`
|
|
|
`)&&(Er-=Jr.length,Jr=this.options.pedantic?Jr.replace(/^ {1,4}/gm,""):Jr.replace(new RegExp("^ {1,"+Er+"}","gm"),"")),Jr=le(Jr,`
|
|
|
`),gt!==mt-1&&(vt=vt+`
|
|
|
`),on=Yr||/\n\n(?!\s*$)/.test(vt),gt!==mt-1&&(Yr=vt.slice(-2)===`
|
|
|
|
|
|
`,on||(on=Yr)),on&&(Dr.loose=!0),this.options.gfm&&(pn=/^\[[ xX]\] /.test(Jr),or=void 0,pn&&(or=Jr[1]!==" ",Jr=Jr.replace(/^\[[ xX]\] +/,""))),Dr.items.push({type:"list_item",raw:vt,task:pn,checked:or,loose:on,text:Jr})}return Dr}},Oe.html=function(ye){var Xe=this.rules.block.html.exec(ye);if(Xe)return{type:this.options.sanitize?"paragraph":"html",raw:Xe[0],pre:!this.options.sanitizer&&(Xe[1]==="pre"||Xe[1]==="script"||Xe[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Xe[0]):$(Xe[0]):Xe[0]}},Oe.def=function(ye){var Xe=this.rules.block.def.exec(ye);if(Xe){Xe[3]&&(Xe[3]=Xe[3].substring(1,Xe[3].length-1));var vt=Xe[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:vt,raw:Xe[0],href:Xe[2],title:Xe[3]}}},Oe.table=function(ye){var Xe=this.rules.block.table.exec(ye);if(Xe){var vt={type:"table",header:z(Xe[1].replace(/^ *| *\| *$/g,"")),align:Xe[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Xe[3]?Xe[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(vt.header.length===vt.align.length){vt.raw=Xe[0];var Rt=vt.align.length,Ne;for(Ne=0;Ne<Rt;Ne++)/^ *-+: *$/.test(vt.align[Ne])?vt.align[Ne]="right":/^ *:-+: *$/.test(vt.align[Ne])?vt.align[Ne]="center":/^ *:-+ *$/.test(vt.align[Ne])?vt.align[Ne]="left":vt.align[Ne]=null;for(Rt=vt.cells.length,Ne=0;Ne<Rt;Ne++)vt.cells[Ne]=z(vt.cells[Ne].replace(/^ *\| *| *\| *$/g,""),vt.header.length);return vt}}},Oe.lheading=function(ye){var Xe=this.rules.block.lheading.exec(ye);if(Xe)return{type:"heading",raw:Xe[0],depth:Xe[2].charAt(0)==="="?1:2,text:Xe[1]}},Oe.paragraph=function(ye){var Xe=this.rules.block.paragraph.exec(ye);if(Xe)return{type:"paragraph",raw:Xe[0],text:Xe[1].charAt(Xe[1].length-1)===`
|
|
|
`?Xe[1].slice(0,-1):Xe[1]}},Oe.text=function(ye){var Xe=this.rules.block.text.exec(ye);if(Xe)return{type:"text",raw:Xe[0],text:Xe[0]}},Oe.escape=function(ye){var Xe=this.rules.inline.escape.exec(ye);if(Xe)return{type:"escape",raw:Xe[0],text:$(Xe[1])}},Oe.tag=function(ye,Xe,vt){var Rt=this.rules.inline.tag.exec(ye);if(Rt)return!Xe&&/^<a /i.test(Rt[0])?Xe=!0:Xe&&/^<\/a>/i.test(Rt[0])&&(Xe=!1),!vt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Rt[0])?vt=!0:vt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Rt[0])&&(vt=!1),{type:this.options.sanitize?"text":"html",raw:Rt[0],inLink:Xe,inRawBlock:vt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Rt[0]):$(Rt[0]):Rt[0]}},Oe.link=function(ye){var Xe=this.rules.inline.link.exec(ye);if(Xe){var vt=Xe[2].trim();if(!this.options.pedantic&&/^</.test(vt)){if(!/>$/.test(vt))return;var Rt=le(vt.slice(0,-1),"\\");if((vt.length-Rt.length)%2===0)return}else{var Ne=ae(Xe[2],"()");if(Ne>-1){var Dr=Xe[0].indexOf("!")===0?5:4,Et=Dr+Xe[1].length+Ne;Xe[2]=Xe[2].substring(0,Ne),Xe[0]=Xe[0].substring(0,Et).trim(),Xe[3]=""}}var Yr=Xe[2],Jr="";if(this.options.pedantic){var Er=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Yr);Er&&(Yr=Er[1],Jr=Er[3])}else Jr=Xe[3]?Xe[3].slice(1,-1):"";return Yr=Yr.trim(),/^</.test(Yr)&&(this.options.pedantic&&!/>$/.test(vt)?Yr=Yr.slice(1):Yr=Yr.slice(1,-1)),_e(Xe,{href:Yr&&Yr.replace(this.rules.inline._escapes,"$1"),title:Jr&&Jr.replace(this.rules.inline._escapes,"$1")},Xe[0])}},Oe.reflink=function(ye,Xe){var vt;if((vt=this.rules.inline.reflink.exec(ye))||(vt=this.rules.inline.nolink.exec(ye))){var Rt=(vt[2]||vt[1]).replace(/\s+/g," ");if(Rt=Xe[Rt.toLowerCase()],!Rt||!Rt.href){var Ne=vt[0].charAt(0);return{type:"text",raw:Ne,text:Ne}}return _e(vt,Rt,vt[0])}},Oe.emStrong=function(ye,Xe,vt){vt===void 0&&(vt="");var Rt=this.rules.inline.emStrong.lDelim.exec(ye);if(Rt&&!(Rt[3]&&vt.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 Ne=Rt[1]||Rt[2]||"";if(!Ne||Ne&&(vt===""||this.rules.inline.punctuation.exec(vt))){var Dr=Rt[0].length-1,Et,Yr,Jr=Dr,Er=0,$r=Rt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for($r.lastIndex=0,Xe=Xe.slice(-1*ye.length+Dr);(Rt=$r.exec(Xe))!=null;)if(Et=Rt[1]||Rt[2]||Rt[3]||Rt[4]||Rt[5]||Rt[6],!!Et){if(Yr=Et.length,Rt[3]||Rt[4]){Jr+=Yr;continue}else if((Rt[5]||Rt[6])&&Dr%3&&!((Dr+Yr)%3)){Er+=Yr;continue}if(Jr-=Yr,!(Jr>0))return Yr=Math.min(Yr,Yr+Jr+Er),Math.min(Dr,Yr)%2?{type:"em",raw:ye.slice(0,Dr+Rt.index+Yr+1),text:ye.slice(1,Dr+Rt.index+Yr)}:{type:"strong",raw:ye.slice(0,Dr+Rt.index+Yr+1),text:ye.slice(2,Dr+Rt.index+Yr-1)}}}}},Oe.codespan=function(ye){var Xe=this.rules.inline.code.exec(ye);if(Xe){var vt=Xe[2].replace(/\n/g," "),Rt=/[^ ]/.test(vt),Ne=/^ /.test(vt)&&/ $/.test(vt);return Rt&&Ne&&(vt=vt.substring(1,vt.length-1)),vt=$(vt,!0),{type:"codespan",raw:Xe[0],text:vt}}},Oe.br=function(ye){var Xe=this.rules.inline.br.exec(ye);if(Xe)return{type:"br",raw:Xe[0]}},Oe.del=function(ye){var Xe=this.rules.inline.del.exec(ye);if(Xe)return{type:"del",raw:Xe[0],text:Xe[2]}},Oe.autolink=function(ye,Xe){var vt=this.rules.inline.autolink.exec(ye);if(vt){var Rt,Ne;return vt[2]==="@"?(Rt=$(this.options.mangle?Xe(vt[1]):vt[1]),Ne="mailto:"+Rt):(Rt=$(vt[1]),Ne=Rt),{type:"link",raw:vt[0],text:Rt,href:Ne,tokens:[{type:"text",raw:Rt,text:Rt}]}}},Oe.url=function(ye,Xe){var vt;if(vt=this.rules.inline.url.exec(ye)){var Rt,Ne;if(vt[2]==="@")Rt=$(this.options.mangle?Xe(vt[0]):vt[0]),Ne="mailto:"+Rt;else{var Dr;do Dr=vt[0],vt[0]=this.rules.inline._backpedal.exec(vt[0])[0];while(Dr!==vt[0]);Rt=$(vt[0]),vt[1]==="www."?Ne="http://"+Rt:Ne=Rt}return{type:"link",raw:vt[0],text:Rt,href:Ne,tokens:[{type:"text",raw:Rt,text:Rt}]}}},Oe.inlineText=function(ye,Xe,vt){var Rt=this.rules.inline.text.exec(ye);if(Rt){var Ne;return Xe?Ne=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Rt[0]):$(Rt[0]):Rt[0]:Ne=$(this.options.smartypants?vt(Rt[0]):Rt[0]),{type:"text",raw:Rt[0],text:Ne}}},St}(),We=ee.noopTest,je=ee.edit,Mt=ee.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:We,table:We,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=Mt({},yt),yt.gfm=Mt({},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=Mt({},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:We,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 Pt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:We,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:We,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};Pt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",Pt.punctuation=je(Pt.punctuation).replace(/punctuation/g,Pt._punctuation).getRegex(),Pt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,Pt.escapedEmSt=/\\\*|\\_/g,Pt._comment=je(yt._comment).replace("(?:-->|$)","-->").getRegex(),Pt.emStrong.lDelim=je(Pt.emStrong.lDelim).replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimAst=je(Pt.emStrong.rDelimAst,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt.emStrong.rDelimUnd=je(Pt.emStrong.rDelimUnd,"g").replace(/punct/g,Pt._punctuation).getRegex(),Pt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Pt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Pt._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,Pt.autolink=je(Pt.autolink).replace("scheme",Pt._scheme).replace("email",Pt._email).getRegex(),Pt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Pt.tag=je(Pt.tag).replace("comment",Pt._comment).replace("attribute",Pt._attribute).getRegex(),Pt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,Pt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Pt.link=je(Pt.link).replace("label",Pt._label).replace("href",Pt._href).replace("title",Pt._title).getRegex(),Pt.reflink=je(Pt.reflink).replace("label",Pt._label).getRegex(),Pt.reflinkSearch=je(Pt.reflinkSearch,"g").replace("reflink",Pt.reflink).replace("nolink",Pt.nolink).getRegex(),Pt.normal=Mt({},Pt),Pt.pedantic=Mt({},Pt.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:je(/^!?\[(label)\]\((.*?)\)/).replace("label",Pt._label).getRegex(),reflink:je(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Pt._label).getRegex()}),Pt.gfm=Mt({},Pt.normal,{escape:je(Pt.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),Pt.gfm.url=je(Pt.gfm.url,"i").replace("email",Pt.gfm._extended_email).getRegex(),Pt.breaks=Mt({},Pt.gfm,{br:je(Pt.br).replace("{2,}","*").getRegex(),text:je(Pt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var tr={block:yt,inline:Pt},Vt=ke,lr=c.exports.defaults,Ke=tr.block,Ct=tr.inline,jt=ee.repeatString;function it(St){return St.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 xt(St){var Oe="",wt,ye,Xe=St.length;for(wt=0;wt<Xe;wt++)ye=St.charCodeAt(wt),Math.random()>.5&&(ye="x"+ye.toString(16)),Oe+="&#"+ye+";";return Oe}var pt=function(){function St(wt){this.tokens=[],this.tokens.links=Object.create(null),this.options=wt||lr,this.options.tokenizer=this.options.tokenizer||new Vt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ye={block:Ke.normal,inline:Ct.normal};this.options.pedantic?(ye.block=Ke.pedantic,ye.inline=Ct.pedantic):this.options.gfm&&(ye.block=Ke.gfm,this.options.breaks?ye.inline=Ct.breaks:ye.inline=Ct.gfm),this.tokenizer.rules=ye}St.lex=function(ye,Xe){var vt=new St(Xe);return vt.lex(ye)},St.lexInline=function(ye,Xe){var vt=new St(Xe);return vt.inlineTokens(ye)};var Oe=St.prototype;return Oe.lex=function(ye){return ye=ye.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(ye,this.tokens,!0),this.inline(this.tokens),this.tokens},Oe.blockTokens=function(ye,Xe,vt){Xe===void 0&&(Xe=[]),vt===void 0&&(vt=!0),this.options.pedantic&&(ye=ye.replace(/^ +$/gm,""));for(var Rt,Ne,Dr,Et;ye;){if(Rt=this.tokenizer.space(ye)){ye=ye.substring(Rt.raw.length),Rt.type&&Xe.push(Rt);continue}if(Rt=this.tokenizer.code(ye)){ye=ye.substring(Rt.raw.length),Et=Xe[Xe.length-1],Et&&Et.type==="paragraph"?(Et.raw+=`
|
|
|
`+Rt.raw,Et.text+=`
|
|
|
`+Rt.text):Xe.push(Rt);continue}if(Rt=this.tokenizer.fences(ye)){ye=ye.substring(Rt.raw.length),Xe.push(Rt);continue}if(Rt=this.tokenizer.heading(ye)){ye=ye.substring(Rt.raw.length),Xe.push(Rt);continue}if(Rt=this.tokenizer.nptable(ye)){ye=ye.substring(Rt.raw.length),Xe.push(Rt);continue}if(Rt=this.tokenizer.hr(ye)){ye=ye.substring(Rt.raw.length),Xe.push(Rt);continue}if(Rt=this.tokenizer.blockquote(ye)){ye=ye.substring(Rt.raw.length),Rt.tokens=this.blockTokens(Rt.text,[],vt),Xe.push(Rt);continue}if(Rt=this.tokenizer.list(ye)){for(ye=ye.substring(Rt.raw.length),Dr=Rt.items.length,Ne=0;Ne<Dr;Ne++)Rt.items[Ne].tokens=this.blockTokens(Rt.items[Ne].text,[],!1);Xe.push(Rt);continue}if(Rt=this.tokenizer.html(ye)){ye=ye.substring(Rt.raw.length),Xe.push(Rt);continue}if(vt&&(Rt=this.tokenizer.def(ye))){ye=ye.substring(Rt.raw.length),this.tokens.links[Rt.tag]||(this.tokens.links[Rt.tag]={href:Rt.href,title:Rt.title});continue}if(Rt=this.tokenizer.table(ye)){ye=ye.substring(Rt.raw.length),Xe.push(Rt);continue}if(Rt=this.tokenizer.lheading(ye)){ye=ye.substring(Rt.raw.length),Xe.push(Rt);continue}if(vt&&(Rt=this.tokenizer.paragraph(ye))){ye=ye.substring(Rt.raw.length),Xe.push(Rt);continue}if(Rt=this.tokenizer.text(ye)){ye=ye.substring(Rt.raw.length),Et=Xe[Xe.length-1],Et&&Et.type==="text"?(Et.raw+=`
|
|
|
`+Rt.raw,Et.text+=`
|
|
|
`+Rt.text):Xe.push(Rt);continue}if(ye){var Yr="Infinite loop on byte: "+ye.charCodeAt(0);if(this.options.silent){console.error(Yr);break}else throw new Error(Yr)}}return Xe},Oe.inline=function(ye){var Xe,vt,Rt,Ne,Dr,Et,Yr=ye.length;for(Xe=0;Xe<Yr;Xe++)switch(Et=ye[Xe],Et.type){case"paragraph":case"text":case"heading":{Et.tokens=[],this.inlineTokens(Et.text,Et.tokens);break}case"table":{for(Et.tokens={header:[],cells:[]},Ne=Et.header.length,vt=0;vt<Ne;vt++)Et.tokens.header[vt]=[],this.inlineTokens(Et.header[vt],Et.tokens.header[vt]);for(Ne=Et.cells.length,vt=0;vt<Ne;vt++)for(Dr=Et.cells[vt],Et.tokens.cells[vt]=[],Rt=0;Rt<Dr.length;Rt++)Et.tokens.cells[vt][Rt]=[],this.inlineTokens(Dr[Rt],Et.tokens.cells[vt][Rt]);break}case"blockquote":{this.inline(Et.tokens);break}case"list":{for(Ne=Et.items.length,vt=0;vt<Ne;vt++)this.inline(Et.items[vt].tokens);break}}return ye},Oe.inlineTokens=function(ye,Xe,vt,Rt){Xe===void 0&&(Xe=[]),vt===void 0&&(vt=!1),Rt===void 0&&(Rt=!1);var Ne,Dr,Et=ye,Yr,Jr,Er;if(this.tokens.links){var $r=Object.keys(this.tokens.links);if($r.length>0)for(;(Yr=this.tokenizer.rules.inline.reflinkSearch.exec(Et))!=null;)$r.includes(Yr[0].slice(Yr[0].lastIndexOf("[")+1,-1))&&(Et=Et.slice(0,Yr.index)+"["+jt("a",Yr[0].length-2)+"]"+Et.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Yr=this.tokenizer.rules.inline.blockSkip.exec(Et))!=null;)Et=Et.slice(0,Yr.index)+"["+jt("a",Yr[0].length-2)+"]"+Et.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Yr=this.tokenizer.rules.inline.escapedEmSt.exec(Et))!=null;)Et=Et.slice(0,Yr.index)+"++"+Et.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;ye;){if(Jr||(Er=""),Jr=!1,Ne=this.tokenizer.escape(ye)){ye=ye.substring(Ne.raw.length),Xe.push(Ne);continue}if(Ne=this.tokenizer.tag(ye,vt,Rt)){ye=ye.substring(Ne.raw.length),vt=Ne.inLink,Rt=Ne.inRawBlock;var _r=Xe[Xe.length-1];_r&&Ne.type==="text"&&_r.type==="text"?(_r.raw+=Ne.raw,_r.text+=Ne.text):Xe.push(Ne);continue}if(Ne=this.tokenizer.link(ye)){ye=ye.substring(Ne.raw.length),Ne.type==="link"&&(Ne.tokens=this.inlineTokens(Ne.text,[],!0,Rt)),Xe.push(Ne);continue}if(Ne=this.tokenizer.reflink(ye,this.tokens.links)){ye=ye.substring(Ne.raw.length);var Hr=Xe[Xe.length-1];Ne.type==="link"?(Ne.tokens=this.inlineTokens(Ne.text,[],!0,Rt),Xe.push(Ne)):Hr&&Ne.type==="text"&&Hr.type==="text"?(Hr.raw+=Ne.raw,Hr.text+=Ne.text):Xe.push(Ne);continue}if(Ne=this.tokenizer.emStrong(ye,Et,Er)){ye=ye.substring(Ne.raw.length),Ne.tokens=this.inlineTokens(Ne.text,[],vt,Rt),Xe.push(Ne);continue}if(Ne=this.tokenizer.codespan(ye)){ye=ye.substring(Ne.raw.length),Xe.push(Ne);continue}if(Ne=this.tokenizer.br(ye)){ye=ye.substring(Ne.raw.length),Xe.push(Ne);continue}if(Ne=this.tokenizer.del(ye)){ye=ye.substring(Ne.raw.length),Ne.tokens=this.inlineTokens(Ne.text,[],vt,Rt),Xe.push(Ne);continue}if(Ne=this.tokenizer.autolink(ye,xt)){ye=ye.substring(Ne.raw.length),Xe.push(Ne);continue}if(!vt&&(Ne=this.tokenizer.url(ye,xt))){ye=ye.substring(Ne.raw.length),Xe.push(Ne);continue}if(Ne=this.tokenizer.inlineText(ye,Rt,it)){ye=ye.substring(Ne.raw.length),Ne.raw.slice(-1)!=="_"&&(Er=Ne.raw.slice(-1)),Jr=!0,Dr=Xe[Xe.length-1],Dr&&Dr.type==="text"?(Dr.raw+=Ne.raw,Dr.text+=Ne.text):Xe.push(Ne);continue}if(ye){var on="Infinite loop on byte: "+ye.charCodeAt(0);if(this.options.silent){console.error(on);break}else throw new Error(on)}}return Xe},e(St,null,[{key:"rules",get:function(){return{block:Ke,inline:Ct}}}]),St}(),et=c.exports.defaults,Ze=ee.cleanUrl,ge=ee.escape,Ae=function(){function St(wt){this.options=wt||et}var Oe=St.prototype;return Oe.code=function(ye,Xe,vt){var Rt=(Xe||"").match(/\S*/)[0];if(this.options.highlight){var Ne=this.options.highlight(ye,Rt);Ne!=null&&Ne!==ye&&(vt=!0,ye=Ne)}return ye=ye.replace(/\n$/,"")+`
|
|
|
`,Rt?'<pre><code class="'+this.options.langPrefix+ge(Rt,!0)+'">'+(vt?ye:ge(ye,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(vt?ye:ge(ye,!0))+`</code></pre>
|
|
|
`},Oe.blockquote=function(ye){return`<blockquote>
|
|
|
`+ye+`</blockquote>
|
|
|
`},Oe.html=function(ye){return ye},Oe.heading=function(ye,Xe,vt,Rt){return this.options.headerIds?"<h"+Xe+' id="'+this.options.headerPrefix+Rt.slug(vt)+'">'+ye+"</h"+Xe+`>
|
|
|
`:"<h"+Xe+">"+ye+"</h"+Xe+`>
|
|
|
`},Oe.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Oe.list=function(ye,Xe,vt){var Rt=Xe?"ol":"ul",Ne=Xe&&vt!==1?' start="'+vt+'"':"";return"<"+Rt+Ne+`>
|
|
|
`+ye+"</"+Rt+`>
|
|
|
`},Oe.listitem=function(ye){return"<li>"+ye+`</li>
|
|
|
`},Oe.checkbox=function(ye){return"<input "+(ye?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Oe.paragraph=function(ye){return"<p>"+ye+`</p>
|
|
|
`},Oe.table=function(ye,Xe){return Xe&&(Xe="<tbody>"+Xe+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+ye+`</thead>
|
|
|
`+Xe+`</table>
|
|
|
`},Oe.tablerow=function(ye){return`<tr>
|
|
|
`+ye+`</tr>
|
|
|
`},Oe.tablecell=function(ye,Xe){var vt=Xe.header?"th":"td",Rt=Xe.align?"<"+vt+' align="'+Xe.align+'">':"<"+vt+">";return Rt+ye+"</"+vt+`>
|
|
|
`},Oe.strong=function(ye){return"<strong>"+ye+"</strong>"},Oe.em=function(ye){return"<em>"+ye+"</em>"},Oe.codespan=function(ye){return"<code>"+ye+"</code>"},Oe.br=function(){return this.options.xhtml?"<br/>":"<br>"},Oe.del=function(ye){return"<del>"+ye+"</del>"},Oe.link=function(ye,Xe,vt){if(ye=Ze(this.options.sanitize,this.options.baseUrl,ye),ye===null)return vt;var Rt='<a href="'+ge(ye)+'"';return Xe&&(Rt+=' title="'+Xe+'"'),Rt+=">"+vt+"</a>",Rt},Oe.image=function(ye,Xe,vt){if(ye=Ze(this.options.sanitize,this.options.baseUrl,ye),ye===null)return vt;var Rt='<img src="'+ye+'" alt="'+vt+'"';return Xe&&(Rt+=' title="'+Xe+'"'),Rt+=this.options.xhtml?"/>":">",Rt},Oe.text=function(ye){return ye},St}(),Me=function(){function St(){}var Oe=St.prototype;return Oe.strong=function(ye){return ye},Oe.em=function(ye){return ye},Oe.codespan=function(ye){return ye},Oe.del=function(ye){return ye},Oe.html=function(ye){return ye},Oe.text=function(ye){return ye},Oe.link=function(ye,Xe,vt){return""+vt},Oe.image=function(ye,Xe,vt){return""+vt},Oe.br=function(){return""},St}(),Ue=function(){function St(){this.seen={}}var Oe=St.prototype;return Oe.serialize=function(ye){return ye.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Oe.getNextSafeSlug=function(ye,Xe){var vt=ye,Rt=0;if(this.seen.hasOwnProperty(vt)){Rt=this.seen[ye];do Rt++,vt=ye+"-"+Rt;while(this.seen.hasOwnProperty(vt))}return Xe||(this.seen[ye]=Rt,this.seen[vt]=0),vt},Oe.slug=function(ye,Xe){Xe===void 0&&(Xe={});var vt=this.serialize(ye);return this.getNextSafeSlug(vt,Xe.dryrun)},St}(),Ge=Ae,nt=Me,ut=Ue,Kt=c.exports.defaults,Zt=ee.unescape,De=function(){function St(wt){this.options=wt||Kt,this.options.renderer=this.options.renderer||new Ge,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new nt,this.slugger=new ut}St.parse=function(ye,Xe){var vt=new St(Xe);return vt.parse(ye)},St.parseInline=function(ye,Xe){var vt=new St(Xe);return vt.parseInline(ye)};var Oe=St.prototype;return Oe.parse=function(ye,Xe){Xe===void 0&&(Xe=!0);var vt="",Rt,Ne,Dr,Et,Yr,Jr,Er,$r,_r,Hr,on,pn,or,kt,mt,gt,Nt,Ar,vr=ye.length;for(Rt=0;Rt<vr;Rt++)switch(Hr=ye[Rt],Hr.type){case"space":continue;case"hr":{vt+=this.renderer.hr();continue}case"heading":{vt+=this.renderer.heading(this.parseInline(Hr.tokens),Hr.depth,Zt(this.parseInline(Hr.tokens,this.textRenderer)),this.slugger);continue}case"code":{vt+=this.renderer.code(Hr.text,Hr.lang,Hr.escaped);continue}case"table":{for($r="",Er="",Et=Hr.header.length,Ne=0;Ne<Et;Ne++)Er+=this.renderer.tablecell(this.parseInline(Hr.tokens.header[Ne]),{header:!0,align:Hr.align[Ne]});for($r+=this.renderer.tablerow(Er),_r="",Et=Hr.cells.length,Ne=0;Ne<Et;Ne++){for(Jr=Hr.tokens.cells[Ne],Er="",Yr=Jr.length,Dr=0;Dr<Yr;Dr++)Er+=this.renderer.tablecell(this.parseInline(Jr[Dr]),{header:!1,align:Hr.align[Dr]});_r+=this.renderer.tablerow(Er)}vt+=this.renderer.table($r,_r);continue}case"blockquote":{_r=this.parse(Hr.tokens),vt+=this.renderer.blockquote(_r);continue}case"list":{for(on=Hr.ordered,pn=Hr.start,or=Hr.loose,Et=Hr.items.length,_r="",Ne=0;Ne<Et;Ne++)mt=Hr.items[Ne],gt=mt.checked,Nt=mt.task,kt="",mt.task&&(Ar=this.renderer.checkbox(gt),or?mt.tokens.length>0&&mt.tokens[0].type==="text"?(mt.tokens[0].text=Ar+" "+mt.tokens[0].text,mt.tokens[0].tokens&&mt.tokens[0].tokens.length>0&&mt.tokens[0].tokens[0].type==="text"&&(mt.tokens[0].tokens[0].text=Ar+" "+mt.tokens[0].tokens[0].text)):mt.tokens.unshift({type:"text",text:Ar}):kt+=Ar),kt+=this.parse(mt.tokens,or),_r+=this.renderer.listitem(kt,Nt,gt);vt+=this.renderer.list(_r,on,pn);continue}case"html":{vt+=this.renderer.html(Hr.text);continue}case"paragraph":{vt+=this.renderer.paragraph(this.parseInline(Hr.tokens));continue}case"text":{for(_r=Hr.tokens?this.parseInline(Hr.tokens):Hr.text;Rt+1<vr&&ye[Rt+1].type==="text";)Hr=ye[++Rt],_r+=`
|
|
|
`+(Hr.tokens?this.parseInline(Hr.tokens):Hr.text);vt+=Xe?this.renderer.paragraph(_r):_r;continue}default:{var at='Token with "'+Hr.type+'" type was not found.';if(this.options.silent){console.error(at);return}else throw new Error(at)}}return vt},Oe.parseInline=function(ye,Xe){Xe=Xe||this.renderer;var vt="",Rt,Ne,Dr=ye.length;for(Rt=0;Rt<Dr;Rt++)switch(Ne=ye[Rt],Ne.type){case"escape":{vt+=Xe.text(Ne.text);break}case"html":{vt+=Xe.html(Ne.text);break}case"link":{vt+=Xe.link(Ne.href,Ne.title,this.parseInline(Ne.tokens,Xe));break}case"image":{vt+=Xe.image(Ne.href,Ne.title,Ne.text);break}case"strong":{vt+=Xe.strong(this.parseInline(Ne.tokens,Xe));break}case"em":{vt+=Xe.em(this.parseInline(Ne.tokens,Xe));break}case"codespan":{vt+=Xe.codespan(Ne.text);break}case"br":{vt+=Xe.br();break}case"del":{vt+=Xe.del(this.parseInline(Ne.tokens,Xe));break}case"text":{vt+=Xe.text(Ne.text);break}default:{var Et='Token with "'+Ne.type+'" type was not found.';if(this.options.silent){console.error(Et);return}else throw new Error(Et)}}return vt},St}(),Je=pt,Wt=De,Ot=ke,zt=Ae,Ft=Me,At=Ue,Yt=ee.merge,Ye=ee.checkSanitizeDeprecation,ce=ee.escape,pe=c.exports.getDefaults,Dt=c.exports.changeDefaults,Ce=c.exports.defaults;function ft(St,Oe,wt){if(typeof St=="undefined"||St===null)throw new Error("marked(): input parameter is undefined or null");if(typeof St!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(St)+", string expected");if(typeof Oe=="function"&&(wt=Oe,Oe=null),Oe=Yt({},ft.defaults,Oe||{}),Ye(Oe),wt){var ye=Oe.highlight,Xe;try{Xe=Je.lex(St,Oe)}catch(Dr){return wt(Dr)}var vt=function(Et){var Yr;if(!Et)try{Oe.walkTokens&&ft.walkTokens(Xe,Oe.walkTokens),Yr=Wt.parse(Xe,Oe)}catch(Jr){Et=Jr}return Oe.highlight=ye,Et?wt(Et):wt(null,Yr)};if(!ye||ye.length<3||(delete Oe.highlight,!Xe.length))return vt();var Rt=0;ft.walkTokens(Xe,function(Dr){Dr.type==="code"&&(Rt++,setTimeout(function(){ye(Dr.text,Dr.lang,function(Et,Yr){if(Et)return vt(Et);Yr!=null&&Yr!==Dr.text&&(Dr.text=Yr,Dr.escaped=!0),Rt--,Rt===0&&vt()})},0))}),Rt===0&&vt();return}try{var Ne=Je.lex(St,Oe);return Oe.walkTokens&&ft.walkTokens(Ne,Oe.walkTokens),Wt.parse(Ne,Oe)}catch(Dr){if(Dr.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+ce(Dr.message+"",!0)+"</pre>";throw Dr}}ft.options=ft.setOptions=function(St){return Yt(ft.defaults,St),Dt(ft.defaults),ft},ft.getDefaults=pe,ft.defaults=Ce,ft.use=function(St){var Oe=Yt({},St);if(St.renderer&&function(){var ye=ft.defaults.renderer||new zt,Xe=function(Ne){var Dr=ye[Ne];ye[Ne]=function(){for(var Et=arguments.length,Yr=new Array(Et),Jr=0;Jr<Et;Jr++)Yr[Jr]=arguments[Jr];var Er=St.renderer[Ne].apply(ye,Yr);return Er===!1&&(Er=Dr.apply(ye,Yr)),Er}};for(var vt in St.renderer)Xe(vt);Oe.renderer=ye}(),St.tokenizer&&function(){var ye=ft.defaults.tokenizer||new Ot,Xe=function(Ne){var Dr=ye[Ne];ye[Ne]=function(){for(var Et=arguments.length,Yr=new Array(Et),Jr=0;Jr<Et;Jr++)Yr[Jr]=arguments[Jr];var Er=St.tokenizer[Ne].apply(ye,Yr);return Er===!1&&(Er=Dr.apply(ye,Yr)),Er}};for(var vt in St.tokenizer)Xe(vt);Oe.tokenizer=ye}(),St.walkTokens){var wt=ft.defaults.walkTokens;Oe.walkTokens=function(ye){St.walkTokens(ye),wt&&wt(ye)}}ft.setOptions(Oe)},ft.walkTokens=function(St,Oe){for(var wt=l(St),ye;!(ye=wt()).done;){var Xe=ye.value;switch(Oe(Xe),Xe.type){case"table":{for(var vt=l(Xe.tokens.header),Rt;!(Rt=vt()).done;){var Ne=Rt.value;ft.walkTokens(Ne,Oe)}for(var Dr=l(Xe.tokens.cells),Et;!(Et=Dr()).done;)for(var Yr=Et.value,Jr=l(Yr),Er;!(Er=Jr()).done;){var $r=Er.value;ft.walkTokens($r,Oe)}break}case"list":{ft.walkTokens(Xe.items,Oe);break}default:Xe.tokens&&ft.walkTokens(Xe.tokens,Oe)}}},ft.parseInline=function(St,Oe){if(typeof St=="undefined"||St===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof St!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(St)+", string expected");Oe=Yt({},ft.defaults,Oe||{}),Ye(Oe);try{var wt=Je.lexInline(St,Oe);return Oe.walkTokens&&ft.walkTokens(wt,Oe.walkTokens),Wt.parseInline(wt,Oe)}catch(ye){if(ye.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Oe.silent)return"<p>An error occurred:</p><pre>"+ce(ye.message+"",!0)+"</pre>";throw ye}},ft.Parser=Wt,ft.parser=Wt.parse,ft.Renderer=zt,ft.TextRenderer=Ft,ft.Lexer=Je,ft.lexer=Je.lex,ft.Tokenizer=Ot,ft.Slugger=At,ft.parse=ft;var Ut=ft;return Ut})},11690:function(d){const v=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=H=>l[H];function f(H,te){if(te){if(v.test(H))return H.replace(e,c)}else if(r.test(H))return H.replace(i,c);return H}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(H){return H.replace(o,(te,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(H,te){H=H.source||H,te=te||"";const ie={replace:(oe,J)=>(J=J.source||J,J=J.replace(u,"$1"),H=H.replace(oe,J),ie),getRegex:()=>new RegExp(H,te)};return ie}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(H,te,ie){if(H){let oe;try{oe=decodeURIComponent(h(ie)).replace(x,"").toLowerCase()}catch(J){return null}if(oe.indexOf("javascript:")===0||oe.indexOf("vbscript:")===0||oe.indexOf("data:")===0)return null}te&&!p.test(ie)&&(ie=R(te,ie));try{ie=encodeURI(ie).replace(/%25/g,"%")}catch(oe){return null}return ie}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/;function R(H,te){_[" "+H]||(b.test(H)?_[" "+H]=H+"/":_[" "+H]=B(H,"/",!0)),H=_[" "+H];const ie=H.indexOf(":")===-1;return te.substring(0,2)==="//"?ie?te:H.replace(S,"$1")+te:te.charAt(0)==="/"?ie?te:H.replace(k,"$1")+te:H+te}const A={exec:function(){}};function I(H){let te=1,ie,oe;for(;te<arguments.length;te++){ie=arguments[te];for(oe in ie)Object.prototype.hasOwnProperty.call(ie,oe)&&(H[oe]=ie[oe])}return H}function M(H,te){const ie=H.replace(/\|/g,(Q,K,se)=>{let ee=!1,X=K;for(;--X>=0&&se[X]==="\\";)ee=!ee;return ee?"|":" |"}),oe=ie.split(/ \|/);let J=0;if(oe.length>te)oe.splice(te);else for(;oe.length<te;)oe.push("");for(;J<oe.length;J++)oe[J]=oe[J].trim().replace(/\\\|/g,"|");return oe}function B(H,te,ie){const oe=H.length;if(oe===0)return"";let J=0;for(;J<oe;){const Q=H.charAt(oe-J-1);if(Q===te&&!ie)J++;else if(Q!==te&&ie)J++;else break}return H.substr(0,oe-J)}function N(H,te){if(H.indexOf(te[1])===-1)return-1;const ie=H.length;let oe=0,J=0;for(;J<ie;J++)if(H[J]==="\\")J++;else if(H[J]===te[0])oe++;else if(H[J]===te[1]&&(oe--,oe<0))return J;return-1}function V(H){H&&H.sanitize&&!H.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 W(H,te){if(te<1)return"";let ie="";for(;te>1;)te&1&&(ie+=H),te>>=1,H+=H;return ie+H}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:R,noopTest:A,merge:I,splitCells:M,rtrim:B,findClosingBracket:N,checkSanitizeDeprecation:V,repeatString:W}},93735:function(d,v,e){(function(){var r=e(75041),i=e(67751).utf8,l=e(78034),c=e(67751).bin,f=function(o,h){o.constructor==String?h&&h.encoding==="binary"?o=c.stringToBytes(o):o=i.stringToBytes(o):l(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var u=r.bytesToWords(o),a=o.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,k=f._gg,R=f._hh,A=f._ii,b=0;b<u.length;b+=16){var I=x,M=p,B=y,N=_;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=k(x,p,y,_,u[b+1],5,-165796510),_=k(_,x,p,y,u[b+6],9,-1069501632),y=k(y,_,x,p,u[b+11],14,643717713),p=k(p,y,_,x,u[b+0],20,-373897302),x=k(x,p,y,_,u[b+5],5,-701558691),_=k(_,x,p,y,u[b+10],9,38016083),y=k(y,_,x,p,u[b+15],14,-660478335),p=k(p,y,_,x,u[b+4],20,-405537848),x=k(x,p,y,_,u[b+9],5,568446438),_=k(_,x,p,y,u[b+14],9,-1019803690),y=k(y,_,x,p,u[b+3],14,-187363961),p=k(p,y,_,x,u[b+8],20,1163531501),x=k(x,p,y,_,u[b+13],5,-1444681467),_=k(_,x,p,y,u[b+2],9,-51403784),y=k(y,_,x,p,u[b+7],14,1735328473),p=k(p,y,_,x,u[b+12],20,-1926607734),x=R(x,p,y,_,u[b+5],4,-378558),_=R(_,x,p,y,u[b+8],11,-2022574463),y=R(y,_,x,p,u[b+11],16,1839030562),p=R(p,y,_,x,u[b+14],23,-35309556),x=R(x,p,y,_,u[b+1],4,-1530992060),_=R(_,x,p,y,u[b+4],11,1272893353),y=R(y,_,x,p,u[b+7],16,-155497632),p=R(p,y,_,x,u[b+10],23,-1094730640),x=R(x,p,y,_,u[b+13],4,681279174),_=R(_,x,p,y,u[b+0],11,-358537222),y=R(y,_,x,p,u[b+3],16,-722521979),p=R(p,y,_,x,u[b+6],23,76029189),x=R(x,p,y,_,u[b+9],4,-640364487),_=R(_,x,p,y,u[b+12],11,-421815835),y=R(y,_,x,p,u[b+15],16,530742520),p=R(p,y,_,x,u[b+2],23,-995338651),x=A(x,p,y,_,u[b+0],6,-198630844),_=A(_,x,p,y,u[b+7],10,1126891415),y=A(y,_,x,p,u[b+14],15,-1416354905),p=A(p,y,_,x,u[b+5],21,-57434055),x=A(x,p,y,_,u[b+12],6,1700485571),_=A(_,x,p,y,u[b+3],10,-1894986606),y=A(y,_,x,p,u[b+10],15,-1051523),p=A(p,y,_,x,u[b+1],21,-2054922799),x=A(x,p,y,_,u[b+8],6,1873313359),_=A(_,x,p,y,u[b+15],10,-30611744),y=A(y,_,x,p,u[b+6],15,-1560198380),p=A(p,y,_,x,u[b+13],21,1309151649),x=A(x,p,y,_,u[b+4],6,-145523070),_=A(_,x,p,y,u[b+11],10,-1120210379),y=A(y,_,x,p,u[b+2],15,718787259),p=A(p,y,_,x,u[b+9],21,-343485551),x=x+I>>>0,p=p+M>>>0,y=y+B>>>0,_=_+N>>>0}return r.endian([x,p,y,_])};f._ff=function(o,h,u,a,x,p,y){var _=o+(h&u|~h&a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._gg=function(o,h,u,a,x,p,y){var _=o+(h&a|u&~a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._hh=function(o,h,u,a,x,p,y){var _=o+(h^u^a)+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._ii=function(o,h,u,a,x,p,y){var _=o+(u^(h|~a))+(x>>>0)+y;return(_<<p|_>>>32-p)+h},f._blocksize=16,f._digestsize=16,d.exports=function(o,h){if(o==null)throw new Error("Illegal argument "+o);var u=r.wordsToBytes(f(o,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 o},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(k){k(S)})}return new(y||(y=Promise))(function(S,k){function R(M){try{I(_.next(M))}catch(B){k(B)}}function A(M){try{I(_.throw(M))}catch(B){k(B)}}function I(M){M.done?S(M.value):b(M.value).then(R,A)}I((_=_.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 o 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 o},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 o(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[,k,R]=S;const A=["codicon","codicon-"+k];return R&&A.push("codicon-modifier-"+R.substr(1)),A}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 o="Canceled";function h(y){return y instanceof Error&&y.name===o&&y.message===o}function u(){const y=new Error(o);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(se){return(ee,X=null,le)=>{let z=!1,$;return $=se(ae=>{if(!z)return $?$.dispose():z=!0,ee.call(X,ae)},null,le),z&&$.dispose(),$}}b.once=S;function k(se,ee){return N((X,le=null,z)=>se($=>X.call(le,ee($)),null,z))}b.map=k;function R(se,ee){return N((X,le=null,z)=>se($=>{ee($),X.call(le,$)},null,z))}b.forEach=R;function A(se,ee){return N((X,le=null,z)=>se($=>ee($)&&X.call(le,$),null,z))}b.filter=A;function I(se){return se}b.signal=I;function M(...se){return(ee,X=null,le)=>(0,i.F8)(...se.map(z=>z($=>ee.call(X,$),null,le)))}b.any=M;function B(se,ee,X){let le=X;return k(se,z=>(le=ee(le,z),le))}b.reduce=B;function N(se){let ee;const X=new a({onFirstListenerAdd(){ee=se(X.fire,X)},onLastListenerRemove(){ee.dispose()}});return X.event}function V(se,ee,X=100,le=!1,z){let $,ae,_e,Ie=0;const ke=new a({leakWarningThreshold:z,onFirstListenerAdd(){$=se(We=>{Ie++,ae=ee(ae,We),le&&!_e&&(ke.fire(ae),ae=void 0),clearTimeout(_e),_e=setTimeout(()=>{const je=ae;ae=void 0,_e=void 0,(!le||Ie>1)&&ke.fire(je),Ie=0},X)})},onLastListenerRemove(){$.dispose()}});return ke.event}b.debounce=V;function W(se,ee=(X,le)=>X===le){let X=!0,le;return A(se,z=>{const $=X||!ee(z,le);return X=!1,le=z,$})}b.latch=W;function H(se,ee){return[b.filter(se,ee),b.filter(se,X=>!ee(X))]}b.split=H;function te(se,ee=!1,X=[]){let le=X.slice(),z=se(_e=>{le?le.push(_e):ae.fire(_e)});const $=()=>{le&&le.forEach(_e=>ae.fire(_e)),le=null},ae=new a({onFirstListenerAdd(){z||(z=se(_e=>ae.fire(_e)))},onFirstListenerDidAdd(){le&&(ee?setTimeout($):$())},onLastListenerRemove(){z&&z.dispose(),z=null}});return ae.event}b.buffer=te;class ie{constructor(ee){this.event=ee}map(ee){return new ie(k(this.event,ee))}forEach(ee){return new ie(R(this.event,ee))}filter(ee){return new ie(A(this.event,ee))}reduce(ee,X){return new ie(B(this.event,ee,X))}latch(){return new ie(W(this.event))}debounce(ee,X=100,le=!1,z){return new ie(V(this.event,ee,X,le,z))}on(ee,X,le){return this.event(ee,X,le)}once(ee,X,le){return S(this.event)(ee,X,le)}}function oe(se){return new ie(se)}b.chain=oe;function J(se,ee,X=le=>le){const le=(..._e)=>ae.fire(X(..._e)),z=()=>se.on(ee,le),$=()=>se.removeListener(ee,le),ae=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return ae.event}b.fromNodeEventEmitter=J;function Q(se,ee,X=le=>le){const le=(..._e)=>ae.fire(X(..._e)),z=()=>se.addEventListener(ee,le),$=()=>se.removeEventListener(ee,le),ae=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return ae.event}b.fromDOMEventEmitter=Q;function K(se){return new Promise(ee=>S(se)(ee))}b.toPromise=K})(f||(f={}));class o{constructor(S){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${S}_${o._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}}}o._idPool=0;let h=-1;class u{constructor(S,k=Math.random().toString(18).slice(2,5)){this.customThreshold=S,this.name=k,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(S){let k=h;if(typeof this.customThreshold=="number"&&(k=this.customThreshold),k<=0||S<k)return;this._stacks||(this._stacks=new Map);const R=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),A=this._stacks.get(R)||0;if(this._stacks.set(R,A+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=k*.5;let I,M=0;for(const[B,N]of this._stacks)(!I||M<N)&&(I=B,M=N);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${M}):`),console.warn(I)}return()=>{const I=this._stacks.get(R)||0;this._stacks.set(R,I-1)}}}class a{constructor(S){var k;this._disposed=!1,this._options=S,this._leakageMon=h>0?new u(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((k=this._options)===null||k===void 0)&&k._profName?new o(this._options._profName):void 0}get event(){return this._event||(this._event=(S,k,R)=>{var A;this._listeners||(this._listeners=new l.S);const I=this._listeners.isEmpty();I&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=this._listeners.push(k?[S,k]:S);I&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,S,k);const B=(A=this._leakageMon)===null||A===void 0?void 0:A.check(this._listeners.size),N=(0,i.OF)(()=>{B&&B(),this._disposed||(M(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return R instanceof i.SL?R.add(N):Array.isArray(R)&&R.push(N),N}),this._event}fire(S){var k,R;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let A of this._listeners)this._deliveryQueue.push([A,S]);for((k=this._perfMon)===null||k===void 0||k.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[A,I]=this._deliveryQueue.shift();try{typeof A=="function"?A.call(void 0,I):A[0].call(A[1],I)}catch(M){(0,r.dL)(M)}}(R=this._perfMon)===null||R===void 0||R.stop()}}dispose(){var S,k,R,A,I;this._disposed||(this._disposed=!0,(S=this._listeners)===null||S===void 0||S.clear(),(k=this._deliveryQueue)===null||k===void 0||k.clear(),(A=(R=this._options)===null||R===void 0?void 0:R.onLastListenerRemove)===null||A===void 0||A.call(R),(I=this._leakageMon)===null||I===void 0||I.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 k;super(S),this._delay=(k=S.delay)!==null&&k!==void 0?k: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(k,R,A)=>S(I=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>k.call(R,I)):k.call(R,I)},void 0,A)}bufferEvents(S){const k=[];this.buffers.push(k);const R=S();return this.buffers.pop(),k.forEach(A=>A()),R}}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*o(M){yield M}i.single=o;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,B){for(const N of M)if(B(N))return!0;return!1}i.some=x;function p(M,B){for(const N of M)if(B(N))return N}i.find=p;function*y(M,B){for(const N of M)B(N)&&(yield N)}i.filter=y;function*_(M,B){let N=0;for(const V of M)yield B(V,N++)}i.map=_;function*b(...M){for(const B of M)for(const N of B)yield N}i.concat=b;function*S(M){for(const B of M)for(const N of B)yield N}i.concatNested=S;function k(M,B,N){let V=N;for(const W of M)V=B(V,W);return V}i.reduce=k;function*R(M,B,N=M.length){for(B<0&&(B+=M.length),N<0?N+=M.length:N>M.length&&(N=M.length);B<N;B++)yield M[B]}i.slice=R;function A(M,B=Number.POSITIVE_INFINITY){const N=[];if(B===0)return[N,M];const V=M[Symbol.iterator]();for(let W=0;W<B;W++){const H=V.next();if(H.done)return[N,i.empty()];N.push(H.value)}return[N,{[Symbol.iterator](){return V}}]}i.consume=A;function I(M,B,N=(V,W)=>V===W){const V=M[Symbol.iterator](),W=B[Symbol.iterator]();for(;;){const H=V.next(),te=W.next();if(H.done!==te.done)return!1;if(H.done)return!0;if(!N(H.value,te.value))return!1}}i.equals=I})(r||(r={}))},69323:function(d,v,e){"use strict";e.d(v,{B9:function(){return _},F8:function(){return b},JT:function(){return R},Jz:function(){return I},OF:function(){return S},SL:function(){return k},Wf:function(){return y},XK:function(){return A},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(B){const N=new Error("Potentially leaked disposable").stack;setTimeout(()=>{B[M]||console.log(N)},3e3)}setParent(B,N){if(B&&B!==R.None)try{B[M]=!0}catch(V){}}markAsDisposed(B){if(B&&B!==R.None)try{B[M]=!0}catch(N){}}markAsSingleton(B){}})}function o(M){return c==null||c.trackDisposable(M),M}function h(M){c==null||c.markAsDisposed(M)}function u(M,B){c==null||c.setParent(M,B)}function a(M,B){if(c)for(const N of M)c.setParent(N,B)}function x(M){return c==null||c.markAsSingleton(M),M}class p extends Error{constructor(B){super(`Encountered errors while disposing of store. Errors: [${B.join(", ")}]`),this.errors=B}}function y(M){return typeof M.dispose=="function"&&M.dispose.length===0}function _(M){if(i.$.is(M)){let B=[];for(const N of M)if(N)try{N.dispose()}catch(V){B.push(V)}if(B.length===1)throw B[0];if(B.length>1)throw new p(B);return Array.isArray(M)?[]:M}else if(M)return M.dispose(),M}function b(...M){const B=S(()=>_(M));return a(M,B),B}function S(M){const B=o({dispose:(0,r.I)(()=>{h(B),M()})});return B}class k{constructor(){this._toDispose=new Set,this._isDisposed=!1,o(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}clear(){try{_(this._toDispose.values())}finally{this._toDispose.clear()}}add(B){if(!B)return B;if(B===this)throw new Error("Cannot register a disposable on itself!");return u(B,this),this._isDisposed?k.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(B),B}}k.DISABLE_DISPOSED_WARNING=!1;class R{constructor(){this._store=new k,o(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register(B){if(B===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(B)}}R.None=Object.freeze({dispose(){}});class A{constructor(){this._isDisposed=!1,o(this)}get value(){return this._isDisposed?void 0:this._value}set value(B){var N;this._isDisposed||B===this._value||((N=this._value)===null||N===void 0||N.dispose(),B&&u(B,this),this._value=B)}clear(){this.value=void 0}dispose(){var B;this._isDisposed=!0,h(this),(B=this._value)===null||B===void 0||B.dispose(),this._value=void 0}clearAndLeak(){const B=this._value;return this._value=void 0,B&&u(B,null),B}}class I{constructor(B){this.object=B}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 o=new r(c);if(this._first===r.Undefined)this._first=o,this._last=o;else if(f){const u=this._last;this._last=o,o.prev=u,u.next=o}else{const u=this._first;this._first=o,o.next=u,u.prev=o}this._size+=1;let h=!1;return()=>{h||(h=!0,this._remove(o))}}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 V},ED:function(){return I},IJ:function(){return B},OS:function(){return ie},WE:function(){return H},dz:function(){return M},gn:function(){return W},li:function(){return S},r:function(){return Q},tY:function(){return N},xS:function(){return te}});var r=e(97671),i;const l="en";let c=!1,f=!1,o=!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 k;typeof S.vscode!="undefined"&&typeof S.vscode.process!="undefined"?k=S.vscode.process:typeof r!="undefined"&&(k=r);const R=typeof((i=k==null?void 0:k.versions)===null||i===void 0?void 0:i.electron)=="string"&&k.type==="renderer";if(typeof navigator=="object"&&!R)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,o=b.indexOf("Linux")>=0,a=!0,p=navigator.language,y=p;else if(typeof k=="object"){c=k.platform==="win32",f=k.platform==="darwin",o=k.platform==="linux",h=o&&!!k.env.SNAP&&!!k.env.SNAP_REVISION,p=l,y=l;const K=k.env.VSCODE_NLS_CONFIG;if(K)try{const se=JSON.parse(K),ee=se.availableLanguages["*"];p=se.locale,y=ee||l,_=se._translationsConfigFile}catch(se){}u=!0}else console.error("Unable to resolve platform.");let A=0;f?A=1:c?A=3:o&&(A=2);const I=c,M=f,B=o,N=u,V=a,W=x,H=b,te=function(){if(S.setImmediate)return S.setImmediate.bind(S);if(typeof S.postMessage=="function"&&!S.importScripts){let ee=[];S.addEventListener("message",le=>{if(le.data&&le.data.vscodeSetImmediateId)for(let z=0,$=ee.length;z<$;z++){const ae=ee[z];if(ae.id===le.data.vscodeSetImmediateId){ee.splice(z,1),ae.callback();return}}});let X=0;return le=>{const z=++X;ee.push({id:z,callback:le}),S.postMessage({vscodeSetImmediateId:z},"*")}}if(typeof(k==null?void 0:k.nextTick)=="function")return k.nextTick.bind(k);const se=Promise.resolve();return ee=>se.then(ee)}(),ie=f||x?2:c?1:3;let oe=!0,J=!1;function Q(){if(!J){J=!0;const K=new Uint8Array(2);K[0]=1,K[1]=2,oe=new Uint16Array(K.buffer)[0]===513}return oe}},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 Ie},C8:function(){return yt},GF:function(){return p},HO:function(){return X},IO:function(){return y},K7:function(){return Mt},Kw:function(){return Vt},LC:function(){return S},Mh:function(){return te},P1:function(){return ie},PJ:function(){return lr},Qe:function(){return ke},R1:function(){return x},RP:function(){return ae},S6:function(){return Ke},TT:function(){return I},Ut:function(){return z},V8:function(){return k},WU:function(){return l},YK:function(){return J},YU:function(){return c},ZG:function(){return oe},ZH:function(){return K},ab:function(){return We},c1:function(){return Pt},df:function(){return V},ec:function(){return f},fi:function(){return Ct},fy:function(){return o},j3:function(){return h},j_:function(){return B},m5:function(){return r},mK:function(){return N},mr:function(){return _},oH:function(){return xt},oL:function(){return u},ok:function(){return H},ow:function(){return R},qq:function(){return W},qu:function(){return A},rL:function(){return Q},uS:function(){return tr},un:function(){return a},uq:function(){return b},vH:function(){return ee},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,...Ae){return Ae.length===0?ge:ge.replace(i,function(Me,Ue){const Ge=parseInt(Ue,10);return isNaN(Ge)||Ge<0||Ge>=Ae.length?Me:Ae[Ge]})}function c(ge){return ge.replace(/[<>&]/g,function(Ae){switch(Ae){case"<":return"<";case">":return">";case"&":return"&";default:return Ae}})}function f(ge){return ge.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(ge,Ae=" "){const Me=h(ge,Ae);return u(Me,Ae)}function h(ge,Ae){if(!ge||!Ae)return ge;const Me=Ae.length;if(Me===0||ge.length===0)return ge;let Ue=0;for(;ge.indexOf(Ae,Ue)===Ue;)Ue=Ue+Me;return ge.substring(Ue)}function u(ge,Ae){if(!ge||!Ae)return ge;const Me=Ae.length,Ue=ge.length;if(Me===0||Ue===0)return ge;let Ge=Ue,nt=-1;for(;nt=ge.lastIndexOf(Ae,Ge-1),!(nt===-1||nt+Me!==Ge);){if(nt===0)return"";Ge=nt}return ge.substring(0,Ge)}function a(ge){return ge.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ge){return ge.replace(/\*/g,"")}function p(ge,Ae,Me={}){if(!ge)throw new Error("Cannot create regex from empty string");Ae||(ge=f(ge)),Me.wholeWord&&(/\B/.test(ge.charAt(0))||(ge="\\b"+ge),/\B/.test(ge.charAt(ge.length-1))||(ge=ge+"\\b"));let Ue="";return Me.global&&(Ue+="g"),Me.matchCase||(Ue+="i"),Me.multiline&&(Ue+="m"),Me.unicode&&(Ue+="u"),new RegExp(ge,Ue)}function y(ge){return ge.source==="^"||ge.source==="^$"||ge.source==="$"||ge.source==="^\\s*$"?!1:!!(ge.exec("")&&ge.lastIndex===0)}function _(ge){return(ge.global?"g":"")+(ge.ignoreCase?"i":"")+(ge.multiline?"m":"")+(ge.unicode?"u":"")}function b(ge){return ge.split(/\r\n|\r|\n/)}function S(ge){for(let Ae=0,Me=ge.length;Ae<Me;Ae++){const Ue=ge.charCodeAt(Ae);if(Ue!==32&&Ue!==9)return Ae}return-1}function k(ge,Ae=0,Me=ge.length){for(let Ue=Ae;Ue<Me;Ue++){const Ge=ge.charCodeAt(Ue);if(Ge!==32&&Ge!==9)return ge.substring(Ae,Ue)}return ge.substring(Ae,Me)}function R(ge,Ae=ge.length-1){for(let Me=Ae;Me>=0;Me--){const Ue=ge.charCodeAt(Me);if(Ue!==32&&Ue!==9)return Me}return-1}function A(ge,Ae){return ge<Ae?-1:ge>Ae?1:0}function I(ge,Ae,Me=0,Ue=ge.length,Ge=0,nt=Ae.length){for(;Me<Ue&&Ge<nt;Me++,Ge++){let Zt=ge.charCodeAt(Me),De=Ae.charCodeAt(Ge);if(Zt<De)return-1;if(Zt>De)return 1}const ut=Ue-Me,Kt=nt-Ge;return ut<Kt?-1:ut>Kt?1:0}function M(ge,Ae){return B(ge,Ae,0,ge.length,0,Ae.length)}function B(ge,Ae,Me=0,Ue=ge.length,Ge=0,nt=Ae.length){for(;Me<Ue&&Ge<nt;Me++,Ge++){let Zt=ge.charCodeAt(Me),De=Ae.charCodeAt(Ge);if(Zt===De)continue;if(Zt>=128||De>=128)return I(ge.toLowerCase(),Ae.toLowerCase(),Me,Ue,Ge,nt);N(Zt)&&(Zt-=32),N(De)&&(De-=32);const Je=Zt-De;if(Je!==0)return Je}const ut=Ue-Me,Kt=nt-Ge;return ut<Kt?-1:ut>Kt?1:0}function N(ge){return ge>=97&&ge<=122}function V(ge){return ge>=65&&ge<=90}function W(ge,Ae){return ge.length===Ae.length&&B(ge,Ae)===0}function H(ge,Ae){const Me=Ae.length;return Ae.length>ge.length?!1:B(ge,Ae,0,Me)===0}function te(ge,Ae){let Me,Ue=Math.min(ge.length,Ae.length);for(Me=0;Me<Ue;Me++)if(ge.charCodeAt(Me)!==Ae.charCodeAt(Me))return Me;return Ue}function ie(ge,Ae){let Me,Ue=Math.min(ge.length,Ae.length);const Ge=ge.length-1,nt=Ae.length-1;for(Me=0;Me<Ue;Me++)if(ge.charCodeAt(Ge-Me)!==Ae.charCodeAt(nt-Me))return Me;return Ue}function oe(ge){return 55296<=ge&&ge<=56319}function J(ge){return 56320<=ge&&ge<=57343}function Q(ge,Ae){return(ge-55296<<10)+(Ae-56320)+65536}function K(ge,Ae,Me){const Ue=ge.charCodeAt(Me);if(oe(Ue)&&Me+1<Ae){const Ge=ge.charCodeAt(Me+1);if(J(Ge))return Q(Ue,Ge)}return Ue}function se(ge,Ae){const Me=ge.charCodeAt(Ae-1);if(J(Me)&&Ae>1){const Ue=ge.charCodeAt(Ae-2);if(oe(Ue))return Q(Ue,Me)}return Me}function ee(ge,Ae){const Me=jt.getInstance(),Ue=Ae,Ge=ge.length,nt=K(ge,Ge,Ae);Ae+=nt>=65536?2:1;let ut=Me.getGraphemeBreakType(nt);for(;Ae<Ge;){const Kt=K(ge,Ge,Ae),Zt=Me.getGraphemeBreakType(Kt);if(Ct(ut,Zt))break;Ae+=Kt>=65536?2:1,ut=Zt}return Ae-Ue}function X(ge,Ae){const Me=jt.getInstance(),Ue=Ae,Ge=se(ge,Ae);Ae-=Ge>=65536?2:1;let nt=Me.getGraphemeBreakType(Ge);for(;Ae>0;){const ut=se(ge,Ae),Kt=Me.getGraphemeBreakType(ut);if(Ct(Kt,nt))break;Ae-=ut>=65536?2:1,nt=Kt}return Ue-Ae}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 $=/(?:[\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 ae(ge){return $.test(ge)}const _e=/^[\t\n\r\x20-\x7E]*$/;function Ie(ge){return _e.test(ge)}const ke=/[\u2028\u2029]/;function We(ge){return ke.test(ge)}function je(ge){for(let Ae=0,Me=ge.length;Ae<Me;Ae++)if(Mt(ge.charCodeAt(Ae)))return!0;return!1}function Mt(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 Pt="\uFEFF";function tr(ge){return!!(ge&&ge.length>0&&ge.charCodeAt(0)===65279)}function Vt(ge,Ae=!1){return ge?(Ae&&(ge=ge.replace(/\\./g,"")),ge.toLowerCase()!==ge):!1}function lr(ge){return ge=ge%52,ge<26?String.fromCharCode(97+ge):String.fromCharCode(65+ge-26)}function Ke(ge){return jt.getInstance().getGraphemeBreakType(ge)}function Ct(ge,Ae){return ge===0?Ae!==5&&Ae!==7:ge===2&&Ae===3?!1:ge===4||ge===2||ge===3||Ae===4||Ae===2||Ae===3?!0:!(ge===8&&(Ae===8||Ae===9||Ae===11||Ae===12)||(ge===11||ge===9)&&(Ae===9||Ae===10)||(ge===12||ge===10)&&Ae===10||Ae===5||Ae===13||Ae===7||ge===1||ge===13&&Ae===14||ge===6&&Ae===6)}class jt{constructor(){this._data=it()}static getInstance(){return jt._INSTANCE||(jt._INSTANCE=new jt),jt._INSTANCE}getGraphemeBreakType(Ae){if(Ae<32)return Ae===10?3:Ae===13?2:4;if(Ae<127)return 0;const Me=this._data,Ue=Me.length/3;let Ge=1;for(;Ge<=Ue;)if(Ae<Me[3*Ge])Ge=2*Ge;else if(Ae>Me[3*Ge+1])Ge=2*Ge+1;else return Me[3*Ge+2];return 0}}jt._INSTANCE=null;function it(){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 xt(ge,Ae){if(ge===0)return 0;const Me=pt(ge,Ae);if(Me!==void 0)return Me;const Ue=se(Ae,ge);return ge-=et(Ue),ge}function pt(ge,Ae){let Me=se(Ae,ge);for(ge-=et(Me);Ze(Me)||Me===65039||Me===8419;){if(ge===0)return;Me=se(Ae,ge),ge-=et(Me)}if(yt(Me)){if(ge>=0){const Ue=se(Ae,ge);Ue===8205&&(ge-=et(Ue))}return ge}}function et(ge){return ge>=65536?2:1}function Ze(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 k},Jp:function(){return u},Kn:function(){return l},cW:function(){return x},f6:function(){return R},hj:function(){return c},jn:function(){return f},kJ:function(){return r},mf:function(){return p},o8:function(){return o},p_:function(){return a},vE:function(){return A}});function r(I){return Array.isArray(I)}function i(I){return typeof I=="string"}function l(I){return typeof I=="object"&&I!==null&&!Array.isArray(I)&&!(I instanceof RegExp)&&!(I instanceof Date)}function c(I){return typeof I=="number"&&!isNaN(I)}function f(I){return I===!0||I===!1}function o(I){return typeof I=="undefined"}function h(I){return!u(I)}function u(I){return o(I)||I===null}function a(I,M){if(!I)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(I){if(u(I))throw new Error("Assertion Failed: argument is undefined or null");return I}function p(I){return typeof I=="function"}function y(I,M){const B=Math.min(I.length,M.length);for(let N=0;N<B;N++)_(I[N],M[N])}function _(I,M){if(i(M)){if(typeof I!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(I instanceof M)return}catch(B){}if(!u(I)&&I.constructor===M||M.length===1&&M.call(void 0,I)===!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(I){let M=[],B=Object.getPrototypeOf(I);for(;Object.prototype!==B;)M=M.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return M}function S(I){const M=[];for(const B of b(I))typeof I[B]=="function"&&M.push(B);return M}function k(I,M){const B=V=>function(){const W=Array.prototype.slice.call(arguments,0);return M(V,W)};let N={};for(const V of I)N[V]=B(V);return N}function R(I){return I===null?void 0:I}function A(I,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(o,h){const u=h[0];return typeof c[u]!="undefined"?c[u]:o}),f}function i(l,c,...f){return r(c,f)}},96236:function(d,v,e){"use strict";e.d(v,{BH:function(){return k},NZ:function(){return R},U8:function(){return A},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),o=e(34502),h=e(35884),u=e(90689),a=e(16925),x=e(49055),p=function(I,M,B,N){var V=arguments.length,W=V<3?M:N===null?N=Object.getOwnPropertyDescriptor(M,B):N,H;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")W=Reflect.decorate(I,M,B,N);else for(var te=I.length-1;te>=0;te--)(H=I[te])&&(W=(V<3?H(W):V>3?H(M,B,W):H(M,B))||W);return V>3&&W&&Object.defineProperty(M,B,W),W},y=function(I,M){return function(B,N){M(B,N,I)}};function _(I){return I.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"),k=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new l.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:I=>I===b.CommandPalette}}addCommand(I){return this.addCommands(c.$.single(I))}addCommands(I){for(const M of I)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const B of I)M=this._commands.delete(B.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(I){return this._commands.get(I)}getCommands(){const I=new Map;return this._commands.forEach((M,B)=>I.set(B,M)),I}appendMenuItem(I,M){return this.appendMenuItems(c.$.single({id:I,item:M}))}appendMenuItems(I){const M=new Set,B=new o.S;for(const{id:N,item:V}of I){let W=this._menuItems.get(N);W||(W=new o.S,this._menuItems.set(N,W)),B.push(W.push(V)),M.add(N)}return this._onDidChangeMenu.fire(M),(0,f.OF)(()=>{if(B.size>0){for(let N of B)N();this._onDidChangeMenu.fire(M),B.clear()}})}getMenuItems(I){let M;return this._menuItems.has(I)?M=[...this._menuItems.get(I)]:M=[],I===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(I){const M=new Set;for(const B of I)_(B)&&(M.add(B.command.id),B.alt&&M.add(B.alt.id));this._commands.forEach((B,N)=>{M.has(N)||I.push({command:B})})}};class R extends r.wY{constructor(M,B,N,V){super(`submenuitem.${M.submenu.id}`,typeof M.title=="string"?M.title:M.title.value,[],"submenu"),this.item=M,this._menuService=B,this._contextKeyService=N,this._options=V}get actions(){const M=[],B=this._menuService.createMenu(this.item.submenu,this._contextKeyService),N=B.getActions(this._options);B.dispose();for(const[,V]of N)V.length>0&&(M.push(...V),M.push(new r.Z0));return M.length&&M.pop(),M}}let A=class s0{constructor(M,B,N,V,W){var H,te;if(this._commandService=W,this.id=M.id,this.label=N!=null&&N.renderShortTitle&&M.shortTitle?typeof M.shortTitle=="string"?M.shortTitle:M.shortTitle.value:typeof M.title=="string"?M.title:M.title.value,this.tooltip=(te=typeof M.tooltip=="string"?M.tooltip:(H=M.tooltip)===null||H===void 0?void 0:H.value)!==null&&te!==void 0?te:"",this.enabled=!M.precondition||V.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ie=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=V.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=B?new s0(B,void 0,N,V,W):void 0,this._options=N,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var B,N;let V=[];return!((B=this._options)===null||B===void 0)&&B.arg&&(V=[...V,this._options.arg]),!((N=this._options)===null||N===void 0)&&N.shouldForwardArgs&&(V=[...V,...M]),this._commandService.executeCommand(this.id,...V)}};A=p([y(3,u.i6),y(4,h.H)],A)},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),o=e(16925);const h=(0,o.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 R of a.description.args)S.push(R.constraint);const k=a.handler;a.handler=function(R,...A){return(0,f.D8)(A,S),k(R,...A)}}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 Q},Fb:function(){return u},K8:function(){return ee},i6:function(){return J},uy:function(){return oe}});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 o=Object.prototype.hasOwnProperty;class h{static has(z){return y.create(z)}static equals(z,$){return _.create(z,$)}static regex(z,$){return V.create(z,$)}static not(z){return R.create(z)}static and(...z){return te.create(z,null)}static or(...z){return ie.create(z,null,!0)}static deserialize(z,$=!1){if(z)return this._deserializeOrExpression(z,$)}static _deserializeOrExpression(z,$){let ae=z.split("||");return ie.create(ae.map(_e=>this._deserializeAndExpression(_e,$)),null,!0)}static _deserializeAndExpression(z,$){let ae=z.split("&&");return te.create(ae.map(_e=>this._deserializeOne(_e,$)),null)}static _deserializeOne(z,$){if(z=z.trim(),z.indexOf("!=")>=0){let ae=z.split("!=");return k.create(ae[0].trim(),this._deserializeValue(ae[1],$))}if(z.indexOf("==")>=0){let ae=z.split("==");return _.create(ae[0].trim(),this._deserializeValue(ae[1],$))}if(z.indexOf("=~")>=0){let ae=z.split("=~");return V.create(ae[0].trim(),this._deserializeRegexValue(ae[1],$))}if(z.indexOf(" in ")>=0){let ae=z.split(" in ");return b.create(ae[0].trim(),ae[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(z)){const ae=z.split(">=");return M.create(ae[0].trim(),ae[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(z)){const ae=z.split(">");return I.create(ae[0].trim(),ae[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(z)){const ae=z.split("<=");return N.create(ae[0].trim(),ae[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(z)){const ae=z.split("<");return B.create(ae[0].trim(),ae[1].trim())}return/^\!\s*/.test(z)?R.create(z.substr(1).trim()):y.create(z)}static _deserializeValue(z,$){if(z=z.trim(),z==="true")return!0;if(z==="false")return!1;let ae=/^'([^']*)'$/.exec(z);return ae?ae[1].trim():z}static _deserializeRegexValue(z,$){if((0,i.m5)(z)){if($)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let ae=z.indexOf("/"),_e=z.lastIndexOf("/");if(ae===_e||ae<0){if($)throw new Error(`bad regexp-value '${z}', missing /-enclosure`);return console.warn(`bad regexp-value '${z}', missing /-enclosure`),null}let Ie=z.slice(ae+1,_e),ke=z[_e+1]==="i"?"i":"";try{return new RegExp(Ie,ke)}catch(We){if($)throw new Error(`bad regexp-value '${z}', parse error: ${We}`);return console.warn(`bad regexp-value '${z}', parse error: ${We}`),null}}}function u(le,z){const $=le?le.substituteConstants():void 0,ae=z?z.substituteConstants():void 0;return!$&&!ae?!0:!$||!ae?!1:$.equals(ae)}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,$){this.key=z,this.negated=$,this.type=2}static create(z,$=null){const ae=f.get(z);return typeof ae=="boolean"?ae?p.INSTANCE:x.INSTANCE:new y(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:K(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=R.create(this.key,this)),this.negated}}class _{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=4}static create(z,$,ae=null){if(typeof $=="boolean")return $?y.create(z,ae):R.create(z,ae);const _e=f.get(z);return typeof _e=="boolean"?$===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(z,$,ae)}cmp(z){return z.type!==this.type?this.type-z.type:se(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 $=z?"true":"false";return this.value===$?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=k.create(this.key,this.value,this)),this.negated}}class b{constructor(z,$){this.key=z,this.valueKey=$,this.type=10,this.negated=null}static create(z,$){return new b(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:se(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 $=z.getValue(this.valueKey),ae=z.getValue(this.key);return Array.isArray($)?$.indexOf(ae)>=0:typeof ae=="string"&&typeof $=="object"&&$!==null?o.call($,ae):!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 k{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=5}static create(z,$,ae=null){if(typeof $=="boolean")return $?R.create(z,ae):y.create(z,ae);const _e=f.get(z);return typeof _e=="boolean"?$===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new k(z,$,ae)}cmp(z){return z.type!==this.type?this.type-z.type:se(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 $=z?"true":"false";return this.value===$?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 R{constructor(z,$){this.key=z,this.negated=$,this.type=3}static create(z,$=null){const ae=f.get(z);return typeof ae=="boolean"?ae?x.INSTANCE:p.INSTANCE:new R(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:K(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 A(le,z){if(typeof le=="string"){const $=parseFloat(le);isNaN($)||(le=$)}return typeof le=="string"||typeof le=="number"?z(le):x.INSTANCE}class I{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=12}static create(z,$,ae=null){return A($,_e=>new I(z,_e,ae))}cmp(z){return z.type!==this.type?this.type-z.type:se(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 M{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=13}static create(z,$,ae=null){return A($,_e=>new M(z,_e,ae))}cmp(z){return z.type!==this.type?this.type-z.type:se(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=B.create(this.key,this.value,this)),this.negated}}class B{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=14}static create(z,$,ae=null){return A($,_e=>new B(z,_e,ae))}cmp(z){return z.type!==this.type?this.type-z.type:se(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 N{constructor(z,$,ae){this.key=z,this.value=$,this.negated=ae,this.type=15}static create(z,$,ae=null){return A($,_e=>new N(z,_e,ae))}cmp(z){return z.type!==this.type?this.type-z.type:se(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=I.create(this.key,this.value,this)),this.negated}}class V{constructor(z,$){this.key=z,this.regexp=$,this.type=7,this.negated=null}static create(z,$){return new V(z,$)}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 $=this.regexp?this.regexp.source:"",ae=z.regexp?z.regexp.source:"";return $<ae?-1:$>ae?1:0}equals(z){if(z.type===this.type){const $=this.regexp?this.regexp.source:"",ae=z.regexp?z.regexp.source:"";return this.key===z.key&&$===ae}return!1}substituteConstants(){return this}evaluate(z){let $=z.getValue(this.key);return this.regexp?this.regexp.test($):!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=W.create(this)),this.negated}}class W{constructor(z){this._actual=z,this.type=8}static create(z){return new W(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 H(le){let z=null;for(let $=0,ae=le.length;$<ae;$++){const _e=le[$].substituteConstants();if(le[$]!==_e&&z===null){z=[];for(let Ie=0;Ie<$;Ie++)z[Ie]=le[Ie]}z!==null&&(z[$]=_e)}return z===null?le:z}class te{constructor(z,$){this.expr=z,this.negated=$,this.type=6}static create(z,$){return te._normalizeArr(z,$)}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 $=0,ae=this.expr.length;$<ae;$++){const _e=a(this.expr[$],z.expr[$]);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 $=0,ae=this.expr.length;$<ae;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=H(this.expr);return z===this.expr?this:te.create(z,this.negated)}evaluate(z){for(let $=0,ae=this.expr.length;$<ae;$++)if(!this.expr[$].evaluate(z))return!1;return!0}static _normalizeArr(z,$){const ae=[];let _e=!1;for(const Ie of z)if(Ie){if(Ie.type===1){_e=!0;continue}if(Ie.type===0)return x.INSTANCE;if(Ie.type===6){ae.push(...Ie.expr);continue}ae.push(Ie)}if(ae.length===0&&_e)return p.INSTANCE;if(ae.length!==0){if(ae.length===1)return ae[0];ae.sort(a);for(let Ie=1;Ie<ae.length;Ie++)ae[Ie-1].equals(ae[Ie])&&(ae.splice(Ie,1),Ie--);if(ae.length===1)return ae[0];for(;ae.length>1;){const Ie=ae[ae.length-1];if(Ie.type!==9)break;ae.pop();const ke=ae.pop(),We=ae.length===0,je=ie.create(Ie.expr.map(Mt=>te.create([Mt,ke],null)),null,We);je&&(ae.push(je),ae.sort(a))}return ae.length===1?ae[0]:new te(ae,$)}}serialize(){return this.expr.map(z=>z.serialize()).join(" && ")}keys(){const z=[];for(let $ of this.expr)z.push(...$.keys());return z}negate(){if(!this.negated){const z=[];for(let $ of this.expr)z.push($.negate());this.negated=ie.create(z,this,!0)}return this.negated}}class ie{constructor(z,$){this.expr=z,this.negated=$,this.type=9}static create(z,$,ae){return ie._normalizeArr(z,$,ae)}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 $=0,ae=this.expr.length;$<ae;$++){const _e=a(this.expr[$],z.expr[$]);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 $=0,ae=this.expr.length;$<ae;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=H(this.expr);return z===this.expr?this:ie.create(z,this.negated,!1)}evaluate(z){for(let $=0,ae=this.expr.length;$<ae;$++)if(this.expr[$].evaluate(z))return!0;return!1}static _normalizeArr(z,$,ae){let _e=[],Ie=!1;if(z){for(let ke=0,We=z.length;ke<We;ke++){const je=z[ke];if(je){if(je.type===0){Ie=!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&&Ie)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let ke=1;ke<_e.length;ke++)_e[ke-1].equals(_e[ke])&&(_e.splice(ke,1),ke--);if(_e.length===1)return _e[0];if(ae){for(let ke=0;ke<_e.length;ke++)for(let We=ke+1;We<_e.length;We++)ee(_e[ke],_e[We])&&(_e.splice(We,1),We--);if(_e.length===1)return _e[0]}return new ie(_e,$)}}serialize(){return this.expr.map(z=>z.serialize()).join(" || ")}keys(){const z=[];for(let $ of this.expr)z.push(...$.keys());return z}negate(){if(!this.negated){let z=[];for(let $ of this.expr)z.push($.negate());for(;z.length>1;){const $=z.shift(),ae=z.shift(),_e=[];for(const ke of X($))for(const We of X(ae))_e.push(te.create([ke,We],null));const Ie=z.length===0;z.unshift(ie.create(_e,null,Ie))}this.negated=z[0]}return this.negated}}class oe extends y{constructor(z,$,ae){super(z,null),this._defaultValue=$,typeof ae=="object"?oe._info.push(Object.assign(Object.assign({},ae),{key:z})):ae!==!0&&oe._info.push({key:z,description:ae,type:$!=null?typeof $:void 0})}static all(){return oe._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)}}oe._info=[];const J=(0,l.yh)("contextKeyService"),Q="setContext";function K(le,z){return le<z?-1:le>z?1:0}function se(le,z,$,ae){return le<$?-1:le>$?1:z<ae?-1:z>ae?1:0}function ee(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 $=le.negate(),ae=X($).concat(X(z));ae.sort(a);for(let _e=0;_e<ae.length;_e++){const ke=ae[_e].negate();for(let We=_e+1;We<ae.length;We++){const je=ae[We];if(ke.equals(je))return!0}}return!1}function X(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(o){o.serviceIds=new Map,o.DI_TARGET="$di$target",o.DI_DEPENDENCIES="$di$dependencies";function h(u){return u[o.DI_DEPENDENCIES]||[]}o.getServiceDependencies=h})(r||(r={}));const i=c("instantiationService");function l(o,h,u,a){h[r.DI_TARGET]===h?h[r.DI_DEPENDENCIES].push({id:o,index:u,optional:a}):(h[r.DI_DEPENDENCIES]=[{id:o,index:u,optional:a}],h[r.DI_TARGET]=h)}function c(o){if(r.serviceIds.has(o))return r.serviceIds.get(o);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=()=>o,r.serviceIds.set(o,h),h}function f(o){return function(h,u,a){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");l(o,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(o,h){r.ok(i.HD(o)),r.ok(i.Kn(h)),r.ok(!this.data.has(o),"There is already an extension with this id"),this.data.set(o,h)}as(o){return this.data.get(o)||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 k},kS:function(){return x},m6:function(){return p}});var r=e(52615),i=e(4348),l=e(69323),c=e(16925),f=e(44650),o=e(66213);const h=(0,c.yh)("themeService");var u;(function(R){function A(I){return I&&typeof I=="object"&&typeof I.id=="string"}R.isThemeColor=A})(u||(u={}));function a(R){return{id:R}}var x;(function(R){function A(W){return W&&typeof W=="object"&&typeof W.id=="string"&&(typeof W.color=="undefined"||u.isThemeColor(W.color))}R.isThemeIcon=A;const I=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(W){const H=I.exec(W);if(!H)return;let[,te]=H;return{id:te}}R.fromString=M;function B(W,H){let te=W.id;const ie=te.lastIndexOf("~");return ie!==-1&&(te=te.substring(0,ie)),H&&(te=`${te}~${H}`),{id:te}}R.modify=B;function N(W,H){var te,ie;return W.id===H.id&&((te=W.color)===null||te===void 0?void 0:te.id)===((ie=H.color)===null||ie===void 0?void 0:ie.id)}R.isEqual=N;function V(W,H){return{id:W.id,color:H?a(H):void 0}}R.asThemeIcon=V,R.asClassNameArray=r.dT.asClassNameArray,R.asClassName=r.dT.asClassName,R.asCSSSelector=r.dT.asCSSSelector})(x||(x={}));function p(R){switch(R){case o.e.DARK:return"vs-dark";case o.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(A){return this.themingParticipants.push(A),this.onThemingParticipantAddedEmitter.fire(A),(0,l.OF)(()=>{const I=this.themingParticipants.indexOf(A);this.themingParticipants.splice(I,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new _;f.B.add(y.ThemingContribution,b);function S(R){return b.onColorThemeChange(R)}class k extends l.JT{constructor(A){super(),this.themeService=A,this.theme=A.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(I=>this.onThemeChange(I)))}onThemeChange(A){this.theme=A,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={},o=0;o<10;o++)f["_"+String.fromCharCode(o)]=o;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 o,h=i(c),u,a=1;a<arguments.length;a++){o=Object(arguments[a]);for(var x in o)e.call(o,x)&&(h[x]=o[x]);if(v){u=v(o);for(var p=0;p<u.length;p++)r.call(o,u[p])&&(h[u[p]]=o[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(k){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(k){return r.call(this,b)}}}var o=[],h=!1,u,a=-1;function x(){!h||!u||(h=!1,u.length?o=u.concat(o):a=-1,o.length&&p())}function p(){if(!h){var b=c(x);h=!0;for(var S=o.length;S;){for(u=o,o=[];++a<S;)u&&u[a].run();a=-1,S=o.length}u=null,h=!1,f(b)}}v.nextTick=function(b){var S=new Array(arguments.length-1);if(arguments.length>1)for(var k=1;k<arguments.length;k++)S[k-1]=arguments[k];o.push(new y(b,S)),o.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 o={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 o.PropTypes=o,o}},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 B},Z:function(){return oe}});var r=e(54476),i=e(42978),l=e(43403),c=e(59301),f=c.createContext({}),o=e(33885),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(J,Q,K){var se=Q;return!se&&K&&(se="".concat(J,"-").concat(K)),se}function b(J,Q){var K=J["page".concat(Q?"Y":"X","Offset")],se="scroll".concat(Q?"Top":"Left");if(typeof K!="number"){var ee=J.document;K=ee.documentElement[se],typeof K!="number"&&(K=ee.body[se])}return K}function S(J){var Q=J.getBoundingClientRect(),K={left:Q.left,top:Q.top},se=J.ownerDocument,ee=se.defaultView||se.parentWindow;return K.left+=b(ee),K.top+=b(ee,!0),K}var k=e(77900),R=e(8654),A=c.memo(function(J){var Q=J.children;return Q},function(J,Q){var K=Q.shouldUpdate;return!K}),I={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(J,Q){var K=J.prefixCls,se=J.className,ee=J.style,X=J.title,le=J.ariaId,z=J.footer,$=J.closable,ae=J.closeIcon,_e=J.onClose,Ie=J.children,ke=J.bodyStyle,We=J.bodyProps,je=J.modalRender,Mt=J.onMouseDown,yt=J.onMouseUp,Pt=J.holderRef,tr=J.visible,Vt=J.forceRender,lr=J.width,Ke=J.height,Ct=c.useContext(f),jt=Ct.panel,it=(0,R.x1)(Pt,jt),xt=(0,c.useRef)(),pt=(0,c.useRef)();c.useImperativeHandle(Q,function(){return{focus:function(){var Ge;(Ge=xt.current)===null||Ge===void 0||Ge.focus()},changeActive:function(Ge){var nt=document,ut=nt.activeElement;Ge&&ut===pt.current?xt.current.focus():!Ge&&ut===xt.current&&pt.current.focus()}}});var et={};lr!==void 0&&(et.width=lr),Ke!==void 0&&(et.height=Ke);var Ze;z&&(Ze=c.createElement("div",{className:"".concat(K,"-footer")},z));var ge;X&&(ge=c.createElement("div",{className:"".concat(K,"-header")},c.createElement("div",{className:"".concat(K,"-title"),id:le},X)));var Ae;$&&(Ae=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(K,"-close")},ae||c.createElement("span",{className:"".concat(K,"-close-x")})));var Me=c.createElement("div",{className:"".concat(K,"-content")},Ae,ge,c.createElement("div",(0,r.Z)({className:"".concat(K,"-body"),style:ke},We),Ie),Ze);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":X?le:null,"aria-modal":"true",ref:it,style:(0,o.Z)((0,o.Z)({},ee),et),className:u()(K,se),onMouseDown:Mt,onMouseUp:yt},c.createElement("div",{tabIndex:0,ref:xt,style:I,"aria-hidden":"true"}),c.createElement(A,{shouldUpdate:tr||Vt},je?je(Me):Me),c.createElement("div",{tabIndex:0,ref:pt,style:I,"aria-hidden":"true"}))}),B=M,N=c.forwardRef(function(J,Q){var K=J.prefixCls,se=J.title,ee=J.style,X=J.className,le=J.visible,z=J.forceRender,$=J.destroyOnClose,ae=J.motionName,_e=J.ariaId,Ie=J.onVisibleChanged,ke=J.mousePosition,We=(0,c.useRef)(),je=c.useState(),Mt=(0,i.Z)(je,2),yt=Mt[0],Pt=Mt[1],tr={};yt&&(tr.transformOrigin=yt);function Vt(){var lr=S(We.current);Pt(ke?"".concat(ke.x-lr.left,"px ").concat(ke.y-lr.top,"px"):"")}return c.createElement(k.default,{visible:le,onVisibleChanged:Ie,onAppearPrepare:Vt,onEnterPrepare:Vt,forceRender:z,motionName:ae,removeOnLeave:$,ref:We},function(lr,Ke){var Ct=lr.className,jt=lr.style;return c.createElement(B,(0,r.Z)({},J,{ref:Q,title:se,ariaId:_e,prefixCls:K,holderRef:Ke,style:(0,o.Z)((0,o.Z)((0,o.Z)({},jt),ee),tr),className:u()(X,Ct)}))})});N.displayName="Content";var V=N;function W(J){var Q=J.prefixCls,K=J.style,se=J.visible,ee=J.maskProps,X=J.motionName;return c.createElement(k.default,{key:"mask",visible:se,motionName:X,leavedClassName:"".concat(Q,"-mask-hidden")},function(le,z){var $=le.className,ae=le.style;return c.createElement("div",(0,r.Z)({ref:z,style:(0,o.Z)((0,o.Z)({},ae),K),className:u()("".concat(Q,"-mask"),$)},ee))})}function H(J){var Q=J.prefixCls,K=Q===void 0?"rc-dialog":Q,se=J.zIndex,ee=J.visible,X=ee===void 0?!1:ee,le=J.keyboard,z=le===void 0?!0:le,$=J.focusTriggerAfterClose,ae=$===void 0?!0:$,_e=J.wrapStyle,Ie=J.wrapClassName,ke=J.wrapProps,We=J.onClose,je=J.afterOpenChange,Mt=J.afterClose,yt=J.transitionName,Pt=J.animation,tr=J.closable,Vt=tr===void 0?!0:tr,lr=J.mask,Ke=lr===void 0?!0:lr,Ct=J.maskTransitionName,jt=J.maskAnimation,it=J.maskClosable,xt=it===void 0?!0:it,pt=J.maskStyle,et=J.maskProps,Ze=J.rootClassName,ge=(0,c.useRef)(),Ae=(0,c.useRef)(),Me=(0,c.useRef)(),Ue=c.useState(X),Ge=(0,i.Z)(Ue,2),nt=Ge[0],ut=Ge[1],Kt=(0,x.Z)();function Zt(){(0,a.Z)(Ae.current,document.activeElement)||(ge.current=document.activeElement)}function De(){if(!(0,a.Z)(Ae.current,document.activeElement)){var ce;(ce=Me.current)===null||ce===void 0||ce.focus()}}function Je(ce){if(ce)De();else{if(ut(!1),Ke&&ge.current&&ae){try{ge.current.focus({preventScroll:!0})}catch(pe){}ge.current=null}nt&&(Mt==null||Mt())}je==null||je(ce)}function Wt(ce){We==null||We(ce)}var Ot=(0,c.useRef)(!1),zt=(0,c.useRef)(),Ft=function(){clearTimeout(zt.current),Ot.current=!0},At=function(){zt.current=setTimeout(function(){Ot.current=!1})},Yt=null;xt&&(Yt=function(pe){Ot.current?Ot.current=!1:Ae.current===pe.target&&Wt(pe)});function Ye(ce){if(z&&ce.keyCode===p.Z.ESC){ce.stopPropagation(),Wt(ce);return}X&&ce.keyCode===p.Z.TAB&&Me.current.changeActive(!ce.shiftKey)}return(0,c.useEffect)(function(){X&&(ut(!0),Zt())},[X]),(0,c.useEffect)(function(){return function(){clearTimeout(zt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(K,"-root"),Ze)},(0,y.Z)(J,{data:!0})),c.createElement(W,{prefixCls:K,visible:Ke&&X,motionName:_(K,Ct,jt),style:(0,o.Z)({zIndex:se},pt),maskProps:et}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Ye,className:u()("".concat(K,"-wrap"),Ie),ref:Ae,onClick:Yt,style:(0,o.Z)((0,o.Z)({zIndex:se},_e),{},{display:nt?null:"none"})},ke),c.createElement(V,(0,r.Z)({},J,{onMouseDown:Ft,onMouseUp:At,ref:Me,closable:Vt,ariaId:Kt,prefixCls:K,visible:X&&nt,onClose:Wt,onVisibleChanged:Je,motionName:_(K,yt,Pt)}))))}var te=function(Q){var K=Q.visible,se=Q.getContainer,ee=Q.forceRender,X=Q.destroyOnClose,le=X===void 0?!1:X,z=Q.afterClose,$=Q.panelRef,ae=c.useState(K),_e=(0,i.Z)(ae,2),Ie=_e[0],ke=_e[1],We=c.useMemo(function(){return{panel:$}},[$]);return c.useEffect(function(){K&&ke(!0)},[K]),!ee&&le&&!Ie?null:c.createElement(f.Provider,{value:We},c.createElement(l.Z,{open:K||ee||Ie,autoDestroy:!1,getContainer:se,autoLock:K||Ie},c.createElement(H,(0,r.Z)({},Q,{destroyOnClose:le,afterClose:function(){z==null||z(),ke(!1)}}))))};te.displayName="Dialog";var ie=te,oe=ie},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Nr},FieldContext:function(){return M},FormProvider:function(){return Ai},List:function(){return Yn},ListContext:function(){return N},default:function(){return pi},useForm:function(){return Ii},useWatch:function(){return oa}});var r=e(59301),i=e(54476),l=e(75931),c=e(75044),f=e(3202),o=e(33885),h=e(94480),u=e(67732),a=e(83652),x=e(31226),p=e(42403),y=e(158),_=e(20068),b=e(11592),S=e(13697),k=e(48736),R="RC_FORM_INTERNAL_HOOKS",A=function(){(0,k.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},I=r.createContext({getFieldValue:A,getFieldsValue:A,getFieldError:A,getFieldWarning:A,getFieldsError:A,isFieldsTouched:A,isFieldTouched:A,isFieldValidating:A,isFieldsValidating:A,resetFields:A,setFields:A,setFieldValue:A,setFieldsValue:A,validateFields:A,submit:A,getInternalHooks:function(){return A(),{dispatch:A,initEntityValue:A,registerField:A,useSubscribe:A,setInitialValues:A,destroyForm:A,setCallbacks:A,registerWatch:A,getFields:A,setValidateMessages:A,setPreserve:A,getInitialValue:A}}}),M=I,B=r.createContext(null),N=B;function V(Qt){return Qt==null?[]:Array.isArray(Qt)?Qt:[Qt]}function W(Qt){return Qt&&!!Qt._init}var H=e(97671);function te(){return te=Object.assign?Object.assign.bind():function(Qt){for(var dt=1;dt<arguments.length;dt++){var rt=arguments[dt];for(var It in rt)Object.prototype.hasOwnProperty.call(rt,It)&&(Qt[It]=rt[It])}return Qt},te.apply(this,arguments)}function ie(Qt,dt){Qt.prototype=Object.create(dt.prototype),Qt.prototype.constructor=Qt,J(Qt,dt)}function oe(Qt){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(rt){return rt.__proto__||Object.getPrototypeOf(rt)},oe(Qt)}function J(Qt,dt){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(It,ht){return It.__proto__=ht,It},J(Qt,dt)}function Q(){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(Qt){return!1}}function K(Qt,dt,rt){return Q()?K=Reflect.construct.bind():K=function(ht,sr,cr){var Cr=[null];Cr.push.apply(Cr,sr);var Rr=Function.bind.apply(ht,Cr),He=new Rr;return cr&&J(He,cr.prototype),He},K.apply(null,arguments)}function se(Qt){return Function.toString.call(Qt).indexOf("[native code]")!==-1}function ee(Qt){var dt=typeof Map=="function"?new Map:void 0;return ee=function(It){if(It===null||!se(It))return It;if(typeof It!="function")throw new TypeError("Super expression must either be null or a function");if(typeof dt!="undefined"){if(dt.has(It))return dt.get(It);dt.set(It,ht)}function ht(){return K(It,arguments,oe(this).constructor)}return ht.prototype=Object.create(It.prototype,{constructor:{value:ht,enumerable:!1,writable:!0,configurable:!0}}),J(ht,It)},ee(Qt)}var X=/%[sdj%]/g,le=function(){};function z(Qt){if(!Qt||!Qt.length)return null;var dt={};return Qt.forEach(function(rt){var It=rt.field;dt[It]=dt[It]||[],dt[It].push(rt)}),dt}function $(Qt){for(var dt=arguments.length,rt=new Array(dt>1?dt-1:0),It=1;It<dt;It++)rt[It-1]=arguments[It];var ht=0,sr=rt.length;if(typeof Qt=="function")return Qt.apply(null,rt);if(typeof Qt=="string"){var cr=Qt.replace(X,function(Cr){if(Cr==="%%")return"%";if(ht>=sr)return Cr;switch(Cr){case"%s":return String(rt[ht++]);case"%d":return Number(rt[ht++]);case"%j":try{return JSON.stringify(rt[ht++])}catch(Rr){return"[Circular]"}break;default:return Cr}});return cr}return Qt}function ae(Qt){return Qt==="string"||Qt==="url"||Qt==="hex"||Qt==="email"||Qt==="date"||Qt==="pattern"}function _e(Qt,dt){return!!(Qt==null||dt==="array"&&Array.isArray(Qt)&&!Qt.length||ae(dt)&&typeof Qt=="string"&&!Qt)}function Ie(Qt,dt,rt){var It=[],ht=0,sr=Qt.length;function cr(Cr){It.push.apply(It,Cr||[]),ht++,ht===sr&&rt(It)}Qt.forEach(function(Cr){dt(Cr,cr)})}function ke(Qt,dt,rt){var It=0,ht=Qt.length;function sr(cr){if(cr&&cr.length){rt(cr);return}var Cr=It;It=It+1,Cr<ht?dt(Qt[Cr],sr):rt([])}sr([])}function We(Qt){var dt=[];return Object.keys(Qt).forEach(function(rt){dt.push.apply(dt,Qt[rt]||[])}),dt}var je=function(Qt){ie(dt,Qt);function dt(rt,It){var ht;return ht=Qt.call(this,"Async Validation Error")||this,ht.errors=rt,ht.fields=It,ht}return dt}(ee(Error));function Mt(Qt,dt,rt,It,ht){if(dt.first){var sr=new Promise(function(st,ar){var kr=function(jr){return It(jr),jr.length?ar(new je(jr,z(jr))):st(ht)},Ir=We(Qt);ke(Ir,rt,kr)});return sr.catch(function(st){return st}),sr}var cr=dt.firstFields===!0?Object.keys(Qt):dt.firstFields||[],Cr=Object.keys(Qt),Rr=Cr.length,He=0,tt=[],we=new Promise(function(st,ar){var kr=function(xr){if(tt.push.apply(tt,xr),He++,He===Rr)return It(tt),tt.length?ar(new je(tt,z(tt))):st(ht)};Cr.length||(It(tt),st(ht)),Cr.forEach(function(Ir){var xr=Qt[Ir];cr.indexOf(Ir)!==-1?ke(xr,rt,kr):Ie(xr,rt,kr)})});return we.catch(function(st){return st}),we}function yt(Qt){return!!(Qt&&Qt.message!==void 0)}function Pt(Qt,dt){for(var rt=Qt,It=0;It<dt.length;It++){if(rt==null)return rt;rt=rt[dt[It]]}return rt}function tr(Qt,dt){return function(rt){var It;return Qt.fullFields?It=Pt(dt,Qt.fullFields):It=dt[rt.field||Qt.fullField],yt(rt)?(rt.field=rt.field||Qt.fullField,rt.fieldValue=It,rt):{message:typeof rt=="function"?rt():rt,fieldValue:It,field:rt.field||Qt.fullField}}}function Vt(Qt,dt){if(dt){for(var rt in dt)if(dt.hasOwnProperty(rt)){var It=dt[rt];typeof It=="object"&&typeof Qt[rt]=="object"?Qt[rt]=te({},Qt[rt],It):Qt[rt]=It}}return Qt}var lr=function(dt,rt,It,ht,sr,cr){dt.required&&(!It.hasOwnProperty(dt.field)||_e(rt,cr||dt.type))&&ht.push($(sr.messages.required,dt.fullField))},Ke=function(dt,rt,It,ht,sr){(/^\s+$/.test(rt)||rt==="")&&ht.push($(sr.messages.whitespace,dt.fullField))},Ct,jt=function(){if(Ct)return Ct;var Qt="[a-fA-F\\d:]",dt=function(cn){return cn&&cn.includeBoundaries?"(?:(?<=\\s|^)(?="+Qt+")|(?<="+Qt+")(?=\\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(),sr=new RegExp("(?:^"+rt+"$)|(?:^"+ht+"$)"),cr=new RegExp("^"+rt+"$"),Cr=new RegExp("^"+ht+"$"),Rr=function(cn){return cn&&cn.exact?sr:new RegExp("(?:"+dt(cn)+rt+dt(cn)+")|(?:"+dt(cn)+ht+dt(cn)+")","g")};Rr.v4=function(yr){return yr&&yr.exact?cr:new RegExp(""+dt(yr)+rt+dt(yr),"g")},Rr.v6=function(yr){return yr&&yr.exact?Cr:new RegExp(""+dt(yr)+ht+dt(yr),"g")};var He="(?:(?:[a-z]+:)?//)",tt="(?:\\S+(?::\\S*)?@)?",we=Rr.v4().source,st=Rr.v6().source,ar="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",kr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Ir="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",xr="(?::\\d{2,5})?",jr='(?:[/?#][^\\s"]*)?',En="(?:"+He+"|www\\.)"+tt+"(?:localhost|"+we+"|"+st+"|"+ar+kr+Ir+")"+xr+jr;return Ct=new RegExp("(?:^"+En+"$)","i"),Ct},it={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},xt={integer:function(dt){return xt.number(dt)&&parseInt(dt,10)===dt},float:function(dt){return xt.number(dt)&&!xt.integer(dt)},array:function(dt){return Array.isArray(dt)},regexp:function(dt){if(dt instanceof RegExp)return!0;try{return!!new RegExp(dt)}catch(rt){return!1}},date:function(dt){return typeof dt.getTime=="function"&&typeof dt.getMonth=="function"&&typeof dt.getYear=="function"&&!isNaN(dt.getTime())},number:function(dt){return isNaN(dt)?!1:typeof dt=="number"},object:function(dt){return typeof dt=="object"&&!xt.array(dt)},method:function(dt){return typeof dt=="function"},email:function(dt){return typeof dt=="string"&&dt.length<=320&&!!dt.match(it.email)},url:function(dt){return typeof dt=="string"&&dt.length<=2048&&!!dt.match(jt())},hex:function(dt){return typeof dt=="string"&&!!dt.match(it.hex)}},pt=function(dt,rt,It,ht,sr){if(dt.required&&rt===void 0){lr(dt,rt,It,ht,sr);return}var cr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Cr=dt.type;cr.indexOf(Cr)>-1?xt[Cr](rt)||ht.push($(sr.messages.types[Cr],dt.fullField,dt.type)):Cr&&typeof rt!==dt.type&&ht.push($(sr.messages.types[Cr],dt.fullField,dt.type))},et=function(dt,rt,It,ht,sr){var cr=typeof dt.len=="number",Cr=typeof dt.min=="number",Rr=typeof dt.max=="number",He=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,tt=rt,we=null,st=typeof rt=="number",ar=typeof rt=="string",kr=Array.isArray(rt);if(st?we="number":ar?we="string":kr&&(we="array"),!we)return!1;kr&&(tt=rt.length),ar&&(tt=rt.replace(He,"_").length),cr?tt!==dt.len&&ht.push($(sr.messages[we].len,dt.fullField,dt.len)):Cr&&!Rr&&tt<dt.min?ht.push($(sr.messages[we].min,dt.fullField,dt.min)):Rr&&!Cr&&tt>dt.max?ht.push($(sr.messages[we].max,dt.fullField,dt.max)):Cr&&Rr&&(tt<dt.min||tt>dt.max)&&ht.push($(sr.messages[we].range,dt.fullField,dt.min,dt.max))},Ze="enum",ge=function(dt,rt,It,ht,sr){dt[Ze]=Array.isArray(dt[Ze])?dt[Ze]:[],dt[Ze].indexOf(rt)===-1&&ht.push($(sr.messages[Ze],dt.fullField,dt[Ze].join(", ")))},Ae=function(dt,rt,It,ht,sr){if(dt.pattern){if(dt.pattern instanceof RegExp)dt.pattern.lastIndex=0,dt.pattern.test(rt)||ht.push($(sr.messages.pattern.mismatch,dt.fullField,rt,dt.pattern));else if(typeof dt.pattern=="string"){var cr=new RegExp(dt.pattern);cr.test(rt)||ht.push($(sr.messages.pattern.mismatch,dt.fullField,rt,dt.pattern))}}},Me={required:lr,whitespace:Ke,type:pt,range:et,enum:ge,pattern:Ae},Ue=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt,"string")&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr,"string"),_e(rt,"string")||(Me.type(dt,rt,ht,cr,sr),Me.range(dt,rt,ht,cr,sr),Me.pattern(dt,rt,ht,cr,sr),dt.whitespace===!0&&Me.whitespace(dt,rt,ht,cr,sr))}It(cr)},Ge=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),rt!==void 0&&Me.type(dt,rt,ht,cr,sr)}It(cr)},nt=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(rt===""&&(rt=void 0),_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),rt!==void 0&&(Me.type(dt,rt,ht,cr,sr),Me.range(dt,rt,ht,cr,sr))}It(cr)},ut=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),rt!==void 0&&Me.type(dt,rt,ht,cr,sr)}It(cr)},Kt=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),_e(rt)||Me.type(dt,rt,ht,cr,sr)}It(cr)},Zt=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),rt!==void 0&&(Me.type(dt,rt,ht,cr,sr),Me.range(dt,rt,ht,cr,sr))}It(cr)},De=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),rt!==void 0&&(Me.type(dt,rt,ht,cr,sr),Me.range(dt,rt,ht,cr,sr))}It(cr)},Je=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(rt==null&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr,"array"),rt!=null&&(Me.type(dt,rt,ht,cr,sr),Me.range(dt,rt,ht,cr,sr))}It(cr)},Wt=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),rt!==void 0&&Me.type(dt,rt,ht,cr,sr)}It(cr)},Ot="enum",zt=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),rt!==void 0&&Me[Ot](dt,rt,ht,cr,sr)}It(cr)},Ft=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt,"string")&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr),_e(rt,"string")||Me.pattern(dt,rt,ht,cr,sr)}It(cr)},At=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt,"date")&&!dt.required)return It();if(Me.required(dt,rt,ht,cr,sr),!_e(rt,"date")){var Rr;rt instanceof Date?Rr=rt:Rr=new Date(rt),Me.type(dt,Rr,ht,cr,sr),Rr&&Me.range(dt,Rr.getTime(),ht,cr,sr)}}It(cr)},Yt=function(dt,rt,It,ht,sr){var cr=[],Cr=Array.isArray(rt)?"array":typeof rt;Me.required(dt,rt,ht,cr,sr,Cr),It(cr)},Ye=function(dt,rt,It,ht,sr){var cr=dt.type,Cr=[],Rr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Rr){if(_e(rt,cr)&&!dt.required)return It();Me.required(dt,rt,ht,Cr,sr,cr),_e(rt,cr)||Me.type(dt,rt,ht,Cr,sr)}It(Cr)},ce=function(dt,rt,It,ht,sr){var cr=[],Cr=dt.required||!dt.required&&ht.hasOwnProperty(dt.field);if(Cr){if(_e(rt)&&!dt.required)return It();Me.required(dt,rt,ht,cr,sr)}It(cr)},pe={string:Ue,method:Ge,number:nt,boolean:ut,regexp:Kt,integer:Zt,float:De,array:Je,object:Wt,enum:zt,pattern:Ft,date:At,url:Ye,hex:Ye,email:Ye,required:Yt,any:ce};function Dt(){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 dt=JSON.parse(JSON.stringify(this));return dt.clone=this.clone,dt}}}var Ce=Dt(),ft=function(){function Qt(rt){this.rules=null,this._messages=Ce,this.define(rt)}var dt=Qt.prototype;return dt.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(sr){var cr=It[sr];ht.rules[sr]=Array.isArray(cr)?cr:[cr]})},dt.messages=function(It){return It&&(this._messages=Vt(Dt(),It)),this._messages},dt.validate=function(It,ht,sr){var cr=this;ht===void 0&&(ht={}),sr===void 0&&(sr=function(){});var Cr=It,Rr=ht,He=sr;if(typeof Rr=="function"&&(He=Rr,Rr={}),!this.rules||Object.keys(this.rules).length===0)return He&&He(null,Cr),Promise.resolve(Cr);function tt(Ir){var xr=[],jr={};function En(cn){if(Array.isArray(cn)){var an;xr=(an=xr).concat.apply(an,cn)}else xr.push(cn)}for(var yr=0;yr<Ir.length;yr++)En(Ir[yr]);xr.length?(jr=z(xr),He(xr,jr)):He(null,Cr)}if(Rr.messages){var we=this.messages();we===Ce&&(we=Dt()),Vt(we,Rr.messages),Rr.messages=we}else Rr.messages=this.messages();var st={},ar=Rr.keys||Object.keys(this.rules);ar.forEach(function(Ir){var xr=cr.rules[Ir],jr=Cr[Ir];xr.forEach(function(En){var yr=En;typeof yr.transform=="function"&&(Cr===It&&(Cr=te({},Cr)),jr=Cr[Ir]=yr.transform(jr)),typeof yr=="function"?yr={validator:yr}:yr=te({},yr),yr.validator=cr.getValidationMethod(yr),yr.validator&&(yr.field=Ir,yr.fullField=yr.fullField||Ir,yr.type=cr.getType(yr),st[Ir]=st[Ir]||[],st[Ir].push({rule:yr,value:jr,source:Cr,field:Ir}))})});var kr={};return Mt(st,Rr,function(Ir,xr){var jr=Ir.rule,En=(jr.type==="object"||jr.type==="array")&&(typeof jr.fields=="object"||typeof jr.defaultField=="object");En=En&&(jr.required||!jr.required&&Ir.value),jr.field=Ir.field;function yr(dn,mn){return te({},mn,{fullField:jr.fullField+"."+dn,fullFields:jr.fullFields?[].concat(jr.fullFields,[dn]):[dn]})}function cn(dn){dn===void 0&&(dn=[]);var mn=Array.isArray(dn)?dn:[dn];!Rr.suppressWarning&&mn.length&&Qt.warning("async-validator:",mn),mn.length&&jr.message!==void 0&&(mn=[].concat(jr.message));var Oa=mn.map(tr(jr,Cr));if(Rr.first&&Oa.length)return kr[jr.field]=1,xr(Oa);if(!En)xr(Oa);else{if(jr.required&&!Ir.value)return jr.message!==void 0?Oa=[].concat(jr.message).map(tr(jr,Cr)):Rr.error&&(Oa=[Rr.error(jr,$(Rr.messages.required,jr.field))]),xr(Oa);var Ei={};jr.defaultField&&Object.keys(Ir.value).map(function(Pi){Ei[Pi]=jr.defaultField}),Ei=te({},Ei,Ir.rule.fields);var gi={};Object.keys(Ei).forEach(function(Pi){var Xi=Ei[Pi],Pa=Array.isArray(Xi)?Xi:[Xi];gi[Pi]=Pa.map(yr.bind(null,Pi))});var $n=new Qt(gi);$n.messages(Rr.messages),Ir.rule.options&&(Ir.rule.options.messages=Rr.messages,Ir.rule.options.error=Rr.error),$n.validate(Ir.value,Ir.rule.options||Rr,function(Pi){var Xi=[];Oa&&Oa.length&&Xi.push.apply(Xi,Oa),Pi&&Pi.length&&Xi.push.apply(Xi,Pi),xr(Xi.length?Xi:null)})}}var an;if(jr.asyncValidator)an=jr.asyncValidator(jr,Ir.value,cn,Ir.source,Rr);else if(jr.validator){try{an=jr.validator(jr,Ir.value,cn,Ir.source,Rr)}catch(dn){console.error==null||console.error(dn),Rr.suppressValidatorError||setTimeout(function(){throw dn},0),cn(dn.message)}an===!0?cn():an===!1?cn(typeof jr.message=="function"?jr.message(jr.fullField||jr.field):jr.message||(jr.fullField||jr.field)+" fails"):an instanceof Array?cn(an):an instanceof Error&&cn(an.message)}an&&an.then&&an.then(function(){return cn()},function(dn){return cn(dn)})},function(Ir){tt(Ir)},Cr)},dt.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($("Unknown rule type %s",It.type));return It.type||"string"},dt.getValidationMethod=function(It){if(typeof It.validator=="function")return It.validator;var ht=Object.keys(It),sr=ht.indexOf("message");return sr!==-1&&ht.splice(sr,1),ht.length===1&&ht[0]==="required"?pe.required:pe[this.getType(It)]||void 0},Qt}();ft.register=function(dt,rt){if(typeof rt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[dt]=rt},ft.warning=le,ft.messages=Ce,ft.validators=pe;var Ut="'${name}' is not a valid ${type}",St={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 ye(Qt,dt){return Qt.replace(/\$\{\w+\}/g,function(rt){var It=rt.slice(2,-1);return dt[It]})}var Xe="CODE_LOGIC_ERROR";function vt(Qt,dt,rt,It,ht){return Rt.apply(this,arguments)}function Rt(){return Rt=(0,f.Z)((0,c.Z)().mark(function Qt(dt,rt,It,ht,sr){var cr,Cr,Rr,He,tt,we,st,ar,kr;return(0,c.Z)().wrap(function(xr){for(;;)switch(xr.prev=xr.next){case 0:return cr=(0,o.Z)({},It),delete cr.ruleIndex,wt.warning=function(){},cr.validator&&(Cr=cr.validator,cr.validator=function(){try{return Cr.apply(void 0,arguments)}catch(jr){return console.error(jr),Promise.reject(Xe)}}),Rr=null,cr&&cr.type==="array"&&cr.defaultField&&(Rr=cr.defaultField,delete cr.defaultField),He=new wt((0,_.Z)({},dt,[cr])),tt=(0,Oe.T)(St,ht.validateMessages),He.messages(tt),we=[],xr.prev=10,xr.next=13,Promise.resolve(He.validate((0,_.Z)({},dt,rt),(0,o.Z)({},ht)));case 13:xr.next=18;break;case 15:xr.prev=15,xr.t0=xr.catch(10),xr.t0.errors&&(we=xr.t0.errors.map(function(jr,En){var yr=jr.message,cn=yr===Xe?tt.default:yr;return r.isValidElement(cn)?r.cloneElement(cn,{key:"error_".concat(En)}):cn}));case 18:if(!(!we.length&&Rr)){xr.next=23;break}return xr.next=21,Promise.all(rt.map(function(jr,En){return vt("".concat(dt,".").concat(En),jr,Rr,ht,sr)}));case 21:return st=xr.sent,xr.abrupt("return",st.reduce(function(jr,En){return[].concat((0,h.Z)(jr),(0,h.Z)(En))},[]));case 23:return ar=(0,o.Z)((0,o.Z)({},It),{},{name:dt,enum:(It.enum||[]).join(", ")},sr),kr=we.map(function(jr){return typeof jr=="string"?ye(jr,ar):jr}),xr.abrupt("return",kr);case 26:case"end":return xr.stop()}},Qt,null,[[10,15]])})),Rt.apply(this,arguments)}function Ne(Qt,dt,rt,It,ht,sr){var cr=Qt.join("."),Cr=rt.map(function(tt,we){var st=tt.validator,ar=(0,o.Z)((0,o.Z)({},tt),{},{ruleIndex:we});return st&&(ar.validator=function(kr,Ir,xr){var jr=!1,En=function(){for(var an=arguments.length,dn=new Array(an),mn=0;mn<an;mn++)dn[mn]=arguments[mn];Promise.resolve().then(function(){(0,k.ZP)(!jr,"Your validator function has already return a promise. `callback` will be ignored."),jr||xr.apply(void 0,dn)})},yr=st(kr,Ir,En);jr=yr&&typeof yr.then=="function"&&typeof yr.catch=="function",(0,k.ZP)(jr,"`callback` is deprecated. Please return a promise instead."),jr&&yr.then(function(){xr()}).catch(function(cn){xr(cn||" ")})}),ar}).sort(function(tt,we){var st=tt.warningOnly,ar=tt.ruleIndex,kr=we.warningOnly,Ir=we.ruleIndex;return!!st==!!kr?ar-Ir:st?1:-1}),Rr;if(ht===!0)Rr=new Promise(function(){var tt=(0,f.Z)((0,c.Z)().mark(function we(st,ar){var kr,Ir,xr;return(0,c.Z)().wrap(function(En){for(;;)switch(En.prev=En.next){case 0:kr=0;case 1:if(!(kr<Cr.length)){En.next=12;break}return Ir=Cr[kr],En.next=5,vt(cr,dt,Ir,It,sr);case 5:if(xr=En.sent,!xr.length){En.next=9;break}return ar([{errors:xr,rule:Ir}]),En.abrupt("return");case 9:kr+=1,En.next=1;break;case 12:st([]);case 13:case"end":return En.stop()}},we)}));return function(we,st){return tt.apply(this,arguments)}}());else{var He=Cr.map(function(tt){return vt(cr,dt,tt,It,sr).then(function(we){return{errors:we,rule:tt}})});Rr=(ht?Yr(He):Dr(He)).then(function(tt){return Promise.reject(tt)})}return Rr.catch(function(tt){return tt}),Rr}function Dr(Qt){return Et.apply(this,arguments)}function Et(){return Et=(0,f.Z)((0,c.Z)().mark(function Qt(dt){return(0,c.Z)().wrap(function(It){for(;;)switch(It.prev=It.next){case 0:return It.abrupt("return",Promise.all(dt).then(function(ht){var sr,cr=(sr=[]).concat.apply(sr,(0,h.Z)(ht));return cr}));case 1:case"end":return It.stop()}},Qt)})),Et.apply(this,arguments)}function Yr(Qt){return Jr.apply(this,arguments)}function Jr(){return Jr=(0,f.Z)((0,c.Z)().mark(function Qt(dt){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(sr){dt.forEach(function(cr){cr.then(function(Cr){Cr.errors.length&&sr([Cr]),rt+=1,rt===dt.length&&sr([])})})}));case 2:case"end":return ht.stop()}},Qt)})),Jr.apply(this,arguments)}var Er=e(76190),$r=e(97938);function _r(Qt){return V(Qt)}function Hr(Qt,dt){var rt={};return dt.forEach(function(It){var ht=(0,$r.Z)(Qt,It);rt=(0,Oe.Z)(rt,It,ht)}),rt}function on(Qt,dt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Qt&&Qt.some(function(It){return pn(dt,It,rt)})}function pn(Qt,dt){var rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!Qt||!dt||!rt&&Qt.length!==dt.length?!1:dt.every(function(It,ht){return Qt[ht]===It})}function or(Qt,dt){if(Qt===dt)return!0;if(!Qt&&dt||Qt&&!dt||!Qt||!dt||(0,Er.Z)(Qt)!=="object"||(0,Er.Z)(dt)!=="object")return!1;var rt=Object.keys(Qt),It=Object.keys(dt),ht=new Set([].concat(rt,It));return(0,h.Z)(ht).every(function(sr){var cr=Qt[sr],Cr=dt[sr];return typeof cr=="function"&&typeof Cr=="function"?!0:cr===Cr})}function kt(Qt){var dt=arguments.length<=1?void 0:arguments[1];return dt&&dt.target&&(0,Er.Z)(dt.target)==="object"&&Qt in dt.target?dt.target[Qt]:dt}function mt(Qt,dt,rt){var It=Qt.length;if(dt<0||dt>=It||rt<0||rt>=It)return Qt;var ht=Qt[dt],sr=dt-rt;return sr>0?[].concat((0,h.Z)(Qt.slice(0,rt)),[ht],(0,h.Z)(Qt.slice(rt,dt)),(0,h.Z)(Qt.slice(dt+1,It))):sr<0?[].concat((0,h.Z)(Qt.slice(0,dt)),(0,h.Z)(Qt.slice(dt+1,rt+1)),[ht],(0,h.Z)(Qt.slice(rt+1,It))):Qt}var gt=["name"],Nt=[];function Ar(Qt,dt,rt,It,ht,sr){return typeof Qt=="function"?Qt(dt,rt,"source"in sr?{source:sr.source}:{}):It!==ht}var vr=function(Qt){(0,p.Z)(rt,Qt);var dt=(0,y.Z)(rt);function rt(It){var ht;if((0,u.Z)(this,rt),ht=dt.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",Nt),(0,_.Z)((0,x.Z)(ht),"warnings",Nt),(0,_.Z)((0,x.Z)(ht),"cancelRegister",function(){var Rr=ht.props,He=Rr.preserve,tt=Rr.isListField,we=Rr.name;ht.cancelRegisterFunc&&ht.cancelRegisterFunc(tt,He,_r(we)),ht.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(ht),"getNamePath",function(){var Rr=ht.props,He=Rr.name,tt=Rr.fieldContext,we=tt.prefixName,st=we===void 0?[]:we;return He!==void 0?[].concat((0,h.Z)(st),(0,h.Z)(He)):[]}),(0,_.Z)((0,x.Z)(ht),"getRules",function(){var Rr=ht.props,He=Rr.rules,tt=He===void 0?[]:He,we=Rr.fieldContext;return tt.map(function(st){return typeof st=="function"?st(we):st})}),(0,_.Z)((0,x.Z)(ht),"refresh",function(){ht.mounted&&ht.setState(function(Rr){var He=Rr.resetCount;return{resetCount:He+1}})}),(0,_.Z)((0,x.Z)(ht),"metaCache",null),(0,_.Z)((0,x.Z)(ht),"triggerMetaEvent",function(Rr){var He=ht.props.onMetaChange;if(He){var tt=(0,o.Z)((0,o.Z)({},ht.getMeta()),{},{destroy:Rr});(0,S.Z)(ht.metaCache,tt)||He(tt),ht.metaCache=tt}else ht.metaCache=null}),(0,_.Z)((0,x.Z)(ht),"onStoreChange",function(Rr,He,tt){var we=ht.props,st=we.shouldUpdate,ar=we.dependencies,kr=ar===void 0?[]:ar,Ir=we.onReset,xr=tt.store,jr=ht.getNamePath(),En=ht.getValue(Rr),yr=ht.getValue(xr),cn=He&&on(He,jr);switch(tt.type==="valueUpdate"&&tt.source==="external"&&En!==yr&&(ht.touched=!0,ht.dirty=!0,ht.validatePromise=null,ht.errors=Nt,ht.warnings=Nt,ht.triggerMetaEvent()),tt.type){case"reset":if(!He||cn){ht.touched=!1,ht.dirty=!1,ht.validatePromise=void 0,ht.errors=Nt,ht.warnings=Nt,ht.triggerMetaEvent(),Ir==null||Ir(),ht.refresh();return}break;case"remove":{if(st){ht.reRender();return}break}case"setField":{var an=tt.data;if(cn){"touched"in an&&(ht.touched=an.touched),"validating"in an&&!("originRCField"in an)&&(ht.validatePromise=an.validating?Promise.resolve([]):null),"errors"in an&&(ht.errors=an.errors||Nt),"warnings"in an&&(ht.warnings=an.warnings||Nt),ht.dirty=!0,ht.triggerMetaEvent(),ht.reRender();return}else if("value"in an&&on(He,jr,!0)){ht.reRender();return}if(st&&!jr.length&&Ar(st,Rr,xr,En,yr,tt)){ht.reRender();return}break}case"dependenciesUpdate":{var dn=kr.map(_r);if(dn.some(function(mn){return on(tt.relatedFields,mn)})){ht.reRender();return}break}default:if(cn||(!kr.length||jr.length||st)&&Ar(st,Rr,xr,En,yr,tt)){ht.reRender();return}break}st===!0&&ht.reRender()}),(0,_.Z)((0,x.Z)(ht),"validateRules",function(Rr){var He=ht.getNamePath(),tt=ht.getValue(),we=Rr||{},st=we.triggerName,ar=we.validateOnly,kr=ar===void 0?!1:ar,Ir=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function xr(){var jr,En,yr,cn,an,dn,mn;return(0,c.Z)().wrap(function(Ei){for(;;)switch(Ei.prev=Ei.next){case 0:if(ht.mounted){Ei.next=2;break}return Ei.abrupt("return",[]);case 2:if(jr=ht.props,En=jr.validateFirst,yr=En===void 0?!1:En,cn=jr.messageVariables,an=jr.validateDebounce,dn=ht.getRules(),st&&(dn=dn.filter(function(gi){return gi}).filter(function(gi){var $n=gi.validateTrigger;if(!$n)return!0;var Pi=V($n);return Pi.includes(st)})),!(an&&st)){Ei.next=10;break}return Ei.next=8,new Promise(function(gi){setTimeout(gi,an)});case 8:if(ht.validatePromise===Ir){Ei.next=10;break}return Ei.abrupt("return",[]);case 10:return mn=Ne(He,tt,dn,Rr,yr,cn),mn.catch(function(gi){return gi}).then(function(){var gi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nt;if(ht.validatePromise===Ir){var $n;ht.validatePromise=null;var Pi=[],Xi=[];($n=gi.forEach)===null||$n===void 0||$n.call(gi,function(Pa){var qs=Pa.rule.warningOnly,ja=Pa.errors,Ws=ja===void 0?Nt:ja;qs?Xi.push.apply(Xi,(0,h.Z)(Ws)):Pi.push.apply(Pi,(0,h.Z)(Ws))}),ht.errors=Pi,ht.warnings=Xi,ht.triggerMetaEvent(),ht.reRender()}}),Ei.abrupt("return",mn);case 13:case"end":return Ei.stop()}},xr)})));return kr||(ht.validatePromise=Ir,ht.dirty=!0,ht.errors=Nt,ht.warnings=Nt,ht.triggerMetaEvent(),ht.reRender()),Ir}),(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 Rr=ht.props.fieldContext,He=Rr.getInternalHooks(R),tt=He.getInitialValue;return tt(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 Rr={touched:ht.isFieldTouched(),validating:ht.prevValidating,errors:ht.errors,warnings:ht.warnings,name:ht.getNamePath(),validated:ht.validatePromise===null};return Rr}),(0,_.Z)((0,x.Z)(ht),"getOnlyChild",function(Rr){if(typeof Rr=="function"){var He=ht.getMeta();return(0,o.Z)((0,o.Z)({},ht.getOnlyChild(Rr(ht.getControlled(),He,ht.props.fieldContext))),{},{isFunction:!0})}var tt=(0,b.Z)(Rr);return tt.length!==1||!r.isValidElement(tt[0])?{child:tt,isFunction:!1}:{child:tt[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(ht),"getValue",function(Rr){var He=ht.props.fieldContext.getFieldsValue,tt=ht.getNamePath();return(0,$r.Z)(Rr||He(!0),tt)}),(0,_.Z)((0,x.Z)(ht),"getControlled",function(){var Rr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},He=ht.props,tt=He.trigger,we=He.validateTrigger,st=He.getValueFromEvent,ar=He.normalize,kr=He.valuePropName,Ir=He.getValueProps,xr=He.fieldContext,jr=we!==void 0?we:xr.validateTrigger,En=ht.getNamePath(),yr=xr.getInternalHooks,cn=xr.getFieldsValue,an=yr(R),dn=an.dispatch,mn=ht.getValue(),Oa=Ir||function(Pi){return(0,_.Z)({},kr,Pi)},Ei=Rr[tt],gi=(0,o.Z)((0,o.Z)({},Rr),Oa(mn));gi[tt]=function(){ht.touched=!0,ht.dirty=!0,ht.triggerMetaEvent();for(var Pi,Xi=arguments.length,Pa=new Array(Xi),qs=0;qs<Xi;qs++)Pa[qs]=arguments[qs];st?Pi=st.apply(void 0,Pa):Pi=kt.apply(void 0,[kr].concat(Pa)),ar&&(Pi=ar(Pi,mn,cn(!0))),dn({type:"updateValue",namePath:En,value:Pi}),Ei&&Ei.apply(void 0,Pa)};var $n=V(jr||[]);return $n.forEach(function(Pi){var Xi=gi[Pi];gi[Pi]=function(){Xi&&Xi.apply(void 0,arguments);var Pa=ht.props.rules;Pa&&Pa.length&&dn({type:"validateField",namePath:En,triggerName:Pi})}}),gi}),It.fieldContext){var sr=It.fieldContext.getInternalHooks,cr=sr(R),Cr=cr.initEntityValue;Cr((0,x.Z)(ht))}return ht}return(0,a.Z)(rt,[{key:"componentDidMount",value:function(){var ht=this.props,sr=ht.shouldUpdate,cr=ht.fieldContext;if(this.mounted=!0,cr){var Cr=cr.getInternalHooks,Rr=Cr(R),He=Rr.registerField;this.cancelRegisterFunc=He(this)}sr===!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,sr=this.props.children,cr=this.getOnlyChild(sr),Cr=cr.child,Rr=cr.isFunction,He;return Rr?He=Cr:r.isValidElement(Cr)?He=r.cloneElement(Cr,this.getControlled(Cr.props)):((0,k.ZP)(!Cr,"`children` of Field is not validate ReactElement."),He=Cr),r.createElement(r.Fragment,{key:ht},He)}}]),rt}(r.Component);(0,_.Z)(vr,"contextType",M),(0,_.Z)(vr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function at(Qt){var dt=Qt.name,rt=(0,l.Z)(Qt,gt),It=r.useContext(M),ht=r.useContext(N),sr=dt!==void 0?_r(dt):void 0,cr="keep";return rt.isListField||(cr="_".concat((sr||[]).join("_"))),r.createElement(vr,(0,i.Z)({key:cr,name:sr,isListField:!!ht},rt,{fieldContext:It}))}var Nr=at;function bn(Qt){var dt=Qt.name,rt=Qt.initialValue,It=Qt.children,ht=Qt.rules,sr=Qt.validateTrigger,cr=Qt.isListField,Cr=r.useContext(M),Rr=r.useContext(N),He=r.useRef({keys:[],id:0}),tt=He.current,we=r.useMemo(function(){var Ir=_r(Cr.prefixName)||[];return[].concat((0,h.Z)(Ir),(0,h.Z)(_r(dt)))},[Cr.prefixName,dt]),st=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Cr),{},{prefixName:we})},[Cr,we]),ar=r.useMemo(function(){return{getKey:function(xr){var jr=we.length,En=xr[jr];return[tt.keys[En],xr.slice(jr+1)]}}},[we]);if(typeof It!="function")return(0,k.ZP)(!1,"Form.List only accepts function as children."),null;var kr=function(xr,jr,En){var yr=En.source;return yr==="internal"?!1:xr!==jr};return r.createElement(N.Provider,{value:ar},r.createElement(M.Provider,{value:st},r.createElement(Nr,{name:[],shouldUpdate:kr,rules:ht,validateTrigger:sr,initialValue:rt,isList:!0,isListField:cr!=null?cr:!!Rr},function(Ir,xr){var jr=Ir.value,En=jr===void 0?[]:jr,yr=Ir.onChange,cn=Cr.getFieldValue,an=function(){var Ei=cn(we||[]);return Ei||[]},dn={add:function(Ei,gi){var $n=an();gi>=0&&gi<=$n.length?(tt.keys=[].concat((0,h.Z)(tt.keys.slice(0,gi)),[tt.id],(0,h.Z)(tt.keys.slice(gi))),yr([].concat((0,h.Z)($n.slice(0,gi)),[Ei],(0,h.Z)($n.slice(gi))))):(tt.keys=[].concat((0,h.Z)(tt.keys),[tt.id]),yr([].concat((0,h.Z)($n),[Ei]))),tt.id+=1},remove:function(Ei){var gi=an(),$n=new Set(Array.isArray(Ei)?Ei:[Ei]);$n.size<=0||(tt.keys=tt.keys.filter(function(Pi,Xi){return!$n.has(Xi)}),yr(gi.filter(function(Pi,Xi){return!$n.has(Xi)})))},move:function(Ei,gi){if(Ei!==gi){var $n=an();Ei<0||Ei>=$n.length||gi<0||gi>=$n.length||(tt.keys=mt(tt.keys,Ei,gi),yr(mt($n,Ei,gi)))}}},mn=En||[];return Array.isArray(mn)||(mn=[]),It(mn.map(function(Oa,Ei){var gi=tt.keys[Ei];return gi===void 0&&(tt.keys[Ei]=tt.id,gi=tt.keys[Ei],tt.id+=1),{name:Ei,key:gi,isListField:!0}}),dn,xr)})))}var Yn=bn,mr=e(42978);function rn(Qt){var dt=!1,rt=Qt.length,It=[];return Qt.length?new Promise(function(ht,sr){Qt.forEach(function(cr,Cr){cr.catch(function(Rr){return dt=!0,Rr}).then(function(Rr){rt-=1,It[Cr]=Rr,!(rt>0)&&(dt&&sr(It),ht(It))})})}):Promise.resolve([])}var gn="__@field_split__";function Mn(Qt){return Qt.map(function(dt){return"".concat((0,Er.Z)(dt),":").concat(dt)}).join(gn)}var ai=function(){function Qt(){(0,u.Z)(this,Qt),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(Qt,[{key:"set",value:function(rt,It){this.kvs.set(Mn(rt),It)}},{key:"get",value:function(rt){return this.kvs.get(Mn(rt))}},{key:"update",value:function(rt,It){var ht=this.get(rt),sr=It(ht);sr?this.set(rt,sr):this.delete(rt)}},{key:"delete",value:function(rt){this.kvs.delete(Mn(rt))}},{key:"map",value:function(rt){return(0,h.Z)(this.kvs.entries()).map(function(It){var ht=(0,mr.Z)(It,2),sr=ht[0],cr=ht[1],Cr=sr.split(gn);return rt({key:Cr.map(function(Rr){var He=Rr.match(/^([^:]*):(.*)$/),tt=(0,mr.Z)(He,3),we=tt[1],st=tt[2];return we==="number"?Number(st):st}),value:cr})})}},{key:"toJSON",value:function(){var rt={};return this.map(function(It){var ht=It.key,sr=It.value;return rt[ht.join(".")]=sr,null}),rt}}]),Qt}(),hi=ai,Vi=["name"],Yi=(0,a.Z)(function Qt(dt){var rt=this;(0,u.Z)(this,Qt),(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===R?(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,k.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 sr,cr=(0,Oe.T)(It,rt.store);(sr=rt.prevWithoutPreserves)===null||sr===void 0||sr.map(function(Cr){var Rr=Cr.key;cr=(0,Oe.Z)(cr,Rr,(0,$r.Z)(It,Rr))}),rt.prevWithoutPreserves=null,rt.updateStore(cr)}}),(0,_.Z)(this,"destroyForm",function(){var It=new hi;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,$r.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(),sr=rt.getFieldsValue(!0);rt.watchList.forEach(function(cr){cr(ht,sr,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 hi;return rt.getFieldEntities(It).forEach(function(sr){var cr=sr.getNamePath();ht.set(cr,sr)}),ht}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(It){if(!It)return rt.getFieldEntities(!0);var ht=rt.getFieldsMap(!0);return It.map(function(sr){var cr=_r(sr);return ht.get(cr)||{INVALIDATE_NAME_PATH:_r(sr)}})}),(0,_.Z)(this,"getFieldsValue",function(It,ht){rt.warningUnhooked();var sr,cr,Cr;if(It===!0||Array.isArray(It)?(sr=It,cr=ht):It&&(0,Er.Z)(It)==="object"&&(Cr=It.strict,cr=It.filter),sr===!0&&!cr)return rt.store;var Rr=rt.getFieldEntitiesForNamePathList(Array.isArray(sr)?sr:null),He=[];return Rr.forEach(function(tt){var we,st,ar="INVALIDATE_NAME_PATH"in tt?tt.INVALIDATE_NAME_PATH:tt.getNamePath();if(Cr){var kr,Ir;if((kr=(Ir=tt).isList)!==null&&kr!==void 0&&kr.call(Ir))return}else if(!sr&&(we=(st=tt).isListField)!==null&&we!==void 0&&we.call(st))return;if(!cr)He.push(ar);else{var xr="getMeta"in tt?tt.getMeta():null;cr(xr)&&He.push(ar)}}),Hr(rt.store,He.map(_r))}),(0,_.Z)(this,"getFieldValue",function(It){rt.warningUnhooked();var ht=_r(It);return(0,$r.Z)(rt.store,ht)}),(0,_.Z)(this,"getFieldsError",function(It){rt.warningUnhooked();var ht=rt.getFieldEntitiesForNamePathList(It);return ht.map(function(sr,cr){return sr&&!("INVALIDATE_NAME_PATH"in sr)?{name:sr.getNamePath(),errors:sr.getErrors(),warnings:sr.getWarnings()}:{name:_r(It[cr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(It){rt.warningUnhooked();var ht=_r(It),sr=rt.getFieldsError([ht])[0];return sr.errors}),(0,_.Z)(this,"getFieldWarning",function(It){rt.warningUnhooked();var ht=_r(It),sr=rt.getFieldsError([ht])[0];return sr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){rt.warningUnhooked();for(var It=arguments.length,ht=new Array(It),sr=0;sr<It;sr++)ht[sr]=arguments[sr];var cr=ht[0],Cr=ht[1],Rr,He=!1;ht.length===0?Rr=null:ht.length===1?Array.isArray(cr)?(Rr=cr.map(_r),He=!1):(Rr=null,He=cr):(Rr=cr.map(_r),He=Cr);var tt=rt.getFieldEntities(!0),we=function(xr){return xr.isFieldTouched()};if(!Rr)return He?tt.every(we):tt.some(we);var st=new hi;Rr.forEach(function(Ir){st.set(Ir,[])}),tt.forEach(function(Ir){var xr=Ir.getNamePath();Rr.forEach(function(jr){jr.every(function(En,yr){return xr[yr]===En})&&st.update(jr,function(En){return[].concat((0,h.Z)(En),[Ir])})})});var ar=function(xr){return xr.some(we)},kr=st.map(function(Ir){var xr=Ir.value;return xr});return He?kr.every(ar):kr.some(ar)}),(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(cr){return cr.isFieldValidating()});var sr=It.map(_r);return ht.some(function(cr){var Cr=cr.getNamePath();return on(sr,Cr)&&cr.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 hi,sr=rt.getFieldEntities(!0);sr.forEach(function(Rr){var He=Rr.props.initialValue,tt=Rr.getNamePath();if(He!==void 0){var we=ht.get(tt)||new Set;we.add({entity:Rr,value:He}),ht.set(tt,we)}});var cr=function(He){He.forEach(function(tt){var we=tt.props.initialValue;if(we!==void 0){var st=tt.getNamePath(),ar=rt.getInitialValue(st);if(ar!==void 0)(0,k.ZP)(!1,"Form already set 'initialValues' with path '".concat(st.join("."),"'. Field can not overwrite it."));else{var kr=ht.get(st);if(kr&&kr.size>1)(0,k.ZP)(!1,"Multiple Field with path '".concat(st.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(kr){var Ir=rt.getFieldValue(st);(!It.skipExist||Ir===void 0)&&rt.updateStore((0,Oe.Z)(rt.store,st,(0,h.Z)(kr)[0].value))}}}})},Cr;It.entities?Cr=It.entities:It.namePathList?(Cr=[],It.namePathList.forEach(function(Rr){var He=ht.get(Rr);if(He){var tt;(tt=Cr).push.apply(tt,(0,h.Z)((0,h.Z)(He).map(function(we){return we.entity})))}})):Cr=sr,cr(Cr)}),(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 sr=It.map(_r);sr.forEach(function(cr){var Cr=rt.getInitialValue(cr);rt.updateStore((0,Oe.Z)(rt.store,cr,Cr))}),rt.resetWithFieldInitialValue({namePathList:sr}),rt.notifyObservers(ht,sr,{type:"reset"}),rt.notifyWatch(sr)}),(0,_.Z)(this,"setFields",function(It){rt.warningUnhooked();var ht=rt.store,sr=[];It.forEach(function(cr){var Cr=cr.name,Rr=(0,l.Z)(cr,Vi),He=_r(Cr);sr.push(He),"value"in Rr&&rt.updateStore((0,Oe.Z)(rt.store,He,Rr.value)),rt.notifyObservers(ht,[He],{type:"setField",data:cr})}),rt.notifyWatch(sr)}),(0,_.Z)(this,"getFields",function(){var It=rt.getFieldEntities(!0),ht=It.map(function(sr){var cr=sr.getNamePath(),Cr=sr.getMeta(),Rr=(0,o.Z)((0,o.Z)({},Cr),{},{name:cr,value:rt.getFieldValue(cr)});return Object.defineProperty(Rr,"originRCField",{value:!0}),Rr});return ht}),(0,_.Z)(this,"initEntityValue",function(It){var ht=It.props.initialValue;if(ht!==void 0){var sr=It.getNamePath(),cr=(0,$r.Z)(rt.store,sr);cr===void 0&&rt.updateStore((0,Oe.Z)(rt.store,sr,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 sr=rt.store;rt.resetWithFieldInitialValue({entities:[It],skipExist:!0}),rt.notifyObservers(sr,[It.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(cr,Cr){var Rr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(rt.fieldEntities=rt.fieldEntities.filter(function(we){return we!==It}),!rt.isMergedPreserve(Cr)&&(!cr||Rr.length>1)){var He=cr?void 0:rt.getInitialValue(ht);if(ht.length&&rt.getFieldValue(ht)!==He&&rt.fieldEntities.every(function(we){return!pn(we.getNamePath(),ht)})){var tt=rt.store;rt.updateStore((0,Oe.Z)(tt,ht,He,!0)),rt.notifyObservers(tt,[ht],{type:"remove"}),rt.triggerDependenciesUpdate(tt,ht)}}rt.notifyWatch([ht])}}),(0,_.Z)(this,"dispatch",function(It){switch(It.type){case"updateValue":{var ht=It.namePath,sr=It.value;rt.updateValue(ht,sr);break}case"validateField":{var cr=It.namePath,Cr=It.triggerName;rt.validateFields([cr],{triggerName:Cr});break}default:}}),(0,_.Z)(this,"notifyObservers",function(It,ht,sr){if(rt.subscribable){var cr=(0,o.Z)((0,o.Z)({},sr),{},{store:rt.getFieldsValue(!0)});rt.getFieldEntities().forEach(function(Cr){var Rr=Cr.onStoreChange;Rr(It,ht,cr)})}else rt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(It,ht){var sr=rt.getDependencyChildrenFields(ht);return sr.length&&rt.validateFields(sr),rt.notifyObservers(It,sr,{type:"dependenciesUpdate",relatedFields:[ht].concat((0,h.Z)(sr))}),sr}),(0,_.Z)(this,"updateValue",function(It,ht){var sr=_r(It),cr=rt.store;rt.updateStore((0,Oe.Z)(rt.store,sr,ht)),rt.notifyObservers(cr,[sr],{type:"valueUpdate",source:"internal"}),rt.notifyWatch([sr]);var Cr=rt.triggerDependenciesUpdate(cr,sr),Rr=rt.callbacks.onValuesChange;if(Rr){var He=Hr(rt.store,[sr]);Rr(He,rt.getFieldsValue())}rt.triggerOnFieldsChange([sr].concat((0,h.Z)(Cr)))}),(0,_.Z)(this,"setFieldsValue",function(It){rt.warningUnhooked();var ht=rt.store;if(It){var sr=(0,Oe.T)(rt.store,It);rt.updateStore(sr)}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,sr=[],cr=new hi;rt.getFieldEntities().forEach(function(Rr){var He=Rr.props.dependencies;(He||[]).forEach(function(tt){var we=_r(tt);cr.update(we,function(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return st.add(Rr),st})})});var Cr=function Rr(He){var tt=cr.get(He)||new Set;tt.forEach(function(we){if(!ht.has(we)){ht.add(we);var st=we.getNamePath();we.isFieldDirty()&&st.length&&(sr.push(st),Rr(st))}})};return Cr(It),sr}),(0,_.Z)(this,"triggerOnFieldsChange",function(It,ht){var sr=rt.callbacks.onFieldsChange;if(sr){var cr=rt.getFields();if(ht){var Cr=new hi;ht.forEach(function(He){var tt=He.name,we=He.errors;Cr.set(tt,we)}),cr.forEach(function(He){He.errors=Cr.get(He.name)||He.errors})}var Rr=cr.filter(function(He){var tt=He.name;return on(It,tt)});Rr.length&&sr(Rr,cr)}}),(0,_.Z)(this,"validateFields",function(It,ht){var sr;rt.warningUnhooked();var cr,Cr;Array.isArray(It)||typeof It=="string"||typeof ht=="string"?(cr=It,Cr=ht):Cr=It;var Rr=!!cr,He=Rr?cr.map(_r):[],tt=[],we=String(Date.now()),st=new Set,ar=(sr=Cr)===null||sr===void 0?void 0:sr.recursive;rt.getFieldEntities(!0).forEach(function(jr){if(Rr||He.push(jr.getNamePath()),!(!jr.props.rules||!jr.props.rules.length)){var En=jr.getNamePath();if(st.add(En.join(we)),!Rr||on(He,En,ar)){var yr=jr.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},St),rt.validateMessages)},Cr));tt.push(yr.then(function(){return{name:En,errors:[],warnings:[]}}).catch(function(cn){var an,dn=[],mn=[];return(an=cn.forEach)===null||an===void 0||an.call(cn,function(Oa){var Ei=Oa.rule.warningOnly,gi=Oa.errors;Ei?mn.push.apply(mn,(0,h.Z)(gi)):dn.push.apply(dn,(0,h.Z)(gi))}),dn.length?Promise.reject({name:En,errors:dn,warnings:mn}):{name:En,errors:dn,warnings:mn}}))}}});var kr=rn(tt);rt.lastValidatePromise=kr,kr.catch(function(jr){return jr}).then(function(jr){var En=jr.map(function(yr){var cn=yr.name;return cn});rt.notifyObservers(rt.store,En,{type:"validateFinish"}),rt.triggerOnFieldsChange(En,jr)});var Ir=kr.then(function(){return rt.lastValidatePromise===kr?Promise.resolve(rt.getFieldsValue(He)):Promise.reject([])}).catch(function(jr){var En=jr.filter(function(yr){return yr&&yr.errors.length});return Promise.reject({values:rt.getFieldsValue(He),errorFields:En,outOfDate:rt.lastValidatePromise!==kr})});Ir.catch(function(jr){return jr});var xr=He.filter(function(jr){return st.has(jr.join(we))});return rt.triggerOnFieldsChange(xr),Ir}),(0,_.Z)(this,"submit",function(){rt.warningUnhooked(),rt.validateFields().then(function(It){var ht=rt.callbacks.onFinish;if(ht)try{ht(It)}catch(sr){console.error(sr)}}).catch(function(It){var ht=rt.callbacks.onFinishFailed;ht&&ht(It)})}),this.forceRootUpdate=dt});function Ri(Qt){var dt=r.useRef(),rt=r.useState({}),It=(0,mr.Z)(rt,2),ht=It[1];if(!dt.current)if(Qt)dt.current=Qt;else{var sr=function(){ht({})},cr=new Yi(sr);dt.current=cr.getForm()}return[dt.current]}var Ii=Ri,Ti=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Ai=function(dt){var rt=dt.validateMessages,It=dt.onFormChange,ht=dt.onFormFinish,sr=dt.children,cr=r.useContext(Ti),Cr=r.useRef({});return r.createElement(Ti.Provider,{value:(0,o.Z)((0,o.Z)({},cr),{},{validateMessages:(0,o.Z)((0,o.Z)({},cr.validateMessages),rt),triggerFormChange:function(He,tt){It&&It(He,{changedFields:tt,forms:Cr.current}),cr.triggerFormChange(He,tt)},triggerFormFinish:function(He,tt){ht&&ht(He,{values:tt,forms:Cr.current}),cr.triggerFormFinish(He,tt)},registerForm:function(He,tt){He&&(Cr.current=(0,o.Z)((0,o.Z)({},Cr.current),{},(0,_.Z)({},He,tt))),cr.registerForm(He,tt)},unregisterForm:function(He){var tt=(0,o.Z)({},Cr.current);delete tt[He],Cr.current=tt,cr.unregisterForm(He)}})},sr)},oi=Ti,Hi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],xi=function(dt,rt){var It=dt.name,ht=dt.initialValues,sr=dt.fields,cr=dt.form,Cr=dt.preserve,Rr=dt.children,He=dt.component,tt=He===void 0?"form":He,we=dt.validateMessages,st=dt.validateTrigger,ar=st===void 0?"onChange":st,kr=dt.onValuesChange,Ir=dt.onFieldsChange,xr=dt.onFinish,jr=dt.onFinishFailed,En=(0,l.Z)(dt,Hi),yr=r.useContext(oi),cn=Ii(cr),an=(0,mr.Z)(cn,1),dn=an[0],mn=dn.getInternalHooks(R),Oa=mn.useSubscribe,Ei=mn.setInitialValues,gi=mn.setCallbacks,$n=mn.setValidateMessages,Pi=mn.setPreserve,Xi=mn.destroyForm;r.useImperativeHandle(rt,function(){return dn}),r.useEffect(function(){return yr.registerForm(It,dn),function(){yr.unregisterForm(It)}},[yr,dn,It]),$n((0,o.Z)((0,o.Z)({},yr.validateMessages),we)),gi({onValuesChange:kr,onFieldsChange:function(Gs){if(yr.triggerFormChange(It,Gs),Ir){for(var _s=arguments.length,Js=new Array(_s>1?_s-1:0),zi=1;zi<_s;zi++)Js[zi-1]=arguments[zi];Ir.apply(void 0,[Gs].concat(Js))}},onFinish:function(Gs){yr.triggerFormFinish(It,Gs),xr&&xr(Gs)},onFinishFailed:jr}),Pi(Cr);var Pa=r.useRef(null);Ei(ht,!Pa.current),Pa.current||(Pa.current=!0),r.useEffect(function(){return Xi},[]);var qs,ja=typeof Rr=="function";if(ja){var Ws=dn.getFieldsValue(!0);qs=Rr(Ws,dn)}else qs=Rr;Oa(!ja);var mo=r.useRef();r.useEffect(function(){or(mo.current||[],sr||[])||dn.setFields(sr||[]),mo.current=sr},[sr,dn]);var as=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},dn),{},{validateTrigger:ar})},[dn,ar]),Aa=r.createElement(N.Provider,{value:null},r.createElement(M.Provider,{value:as},qs));return tt===!1?Aa:r.createElement(tt,(0,i.Z)({},En,{onSubmit:function(Gs){Gs.preventDefault(),Gs.stopPropagation(),dn.submit()},onReset:function(Gs){var _s;Gs.preventDefault(),dn.resetFields(),(_s=En.onReset)===null||_s===void 0||_s.call(En,Gs)}}),Aa)},xe=xi;function Kn(Qt){try{return JSON.stringify(Qt)}catch(dt){return Math.random()}}var qn=function(){};function Jn(){for(var Qt=arguments.length,dt=new Array(Qt),rt=0;rt<Qt;rt++)dt[rt]=arguments[rt];var It=dt[0],ht=It===void 0?[]:It,sr=dt[1],cr=sr===void 0?{}:sr,Cr=W(cr)?{form:cr}:cr,Rr=Cr.form,He=(0,r.useState)(),tt=(0,mr.Z)(He,2),we=tt[0],st=tt[1],ar=(0,r.useMemo)(function(){return Kn(we)},[we]),kr=(0,r.useRef)(ar);kr.current=ar;var Ir=(0,r.useContext)(M),xr=Rr||Ir,jr=xr&&xr._init,En=_r(ht),yr=(0,r.useRef)(En);return yr.current=En,qn(En),(0,r.useEffect)(function(){if(jr){var cn=xr.getFieldsValue,an=xr.getInternalHooks,dn=an(R),mn=dn.registerWatch,Oa=mn(function(gi,$n){var Pi=(0,$r.Z)(Cr.preserve?$n:gi,yr.current),Xi=Kn(Pi);kr.current!==Xi&&(kr.current=Xi,st(Pi))}),Ei=(0,$r.Z)(Cr.preserve?cn(!0):cn(),yr.current);return we!==Ei&&st(Ei),Oa}},[jr]),we}var oa=Jn,Di=r.forwardRef(xe),Ci=Di;Ci.FormProvider=Ai,Ci.Field=Nr,Ci.List=Yn,Ci.useForm=Ii,Ci.useWatch=oa;var pi=Ci},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return Ye},Provider:function(){return _},default:function(){return ce}});var r=e(20068),i=e(33885),l=e(42978),c=e(76190),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(75931),p=["children"],y=a.createContext({});function _(pe){var Dt=pe.children,Ce=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:Ce},Dt)}var b=e(67732),S=e(83652),k=e(42403),R=e(158),A=function(pe){(0,k.Z)(Ce,pe);var Dt=(0,R.Z)(Ce);function Ce(){return(0,b.Z)(this,Ce),Dt.apply(this,arguments)}return(0,S.Z)(Ce,[{key:"render",value:function(){return this.props.children}}]),Ce}(a.Component),I=A,M=e(70425),B=e(41799),N=e(6089);function V(pe){var Dt=a.useReducer(function(wt){return wt+1},0),Ce=(0,l.Z)(Dt,2),ft=Ce[1],Ut=a.useRef(pe),St=(0,N.Z)(function(){return Ut.current}),Oe=(0,N.Z)(function(wt){Ut.current=typeof wt=="function"?wt(Ut.current):wt,ft()});return[St,Oe]}var W="none",H="appear",te="enter",ie="leave",oe="none",J="prepare",Q="start",K="active",se="end",ee="prepared",X=e(47273);function le(pe,Dt){var Ce={};return Ce[pe.toLowerCase()]=Dt.toLowerCase(),Ce["Webkit".concat(pe)]="webkit".concat(Dt),Ce["Moz".concat(pe)]="moz".concat(Dt),Ce["ms".concat(pe)]="MS".concat(Dt),Ce["O".concat(pe)]="o".concat(Dt.toLowerCase()),Ce}function z(pe,Dt){var Ce={animationend:le("Animation","AnimationEnd"),transitionend:le("Transition","TransitionEnd")};return pe&&("AnimationEvent"in Dt||delete Ce.animationend.animation,"TransitionEvent"in Dt||delete Ce.transitionend.transition),Ce}var $=z((0,X.Z)(),typeof window!="undefined"?window:{}),ae={};if((0,X.Z)()){var _e=document.createElement("div");ae=_e.style}var Ie={};function ke(pe){if(Ie[pe])return Ie[pe];var Dt=$[pe];if(Dt)for(var Ce=Object.keys(Dt),ft=Ce.length,Ut=0;Ut<ft;Ut+=1){var St=Ce[Ut];if(Object.prototype.hasOwnProperty.call(Dt,St)&&St in ae)return Ie[pe]=Dt[St],Ie[pe]}return""}var We=ke("animationend"),je=ke("transitionend"),Mt=!!(We&&je),yt=We||"animationend",Pt=je||"transitionend";function tr(pe,Dt){if(!pe)return null;if((0,c.Z)(pe)==="object"){var Ce=Dt.replace(/-\w/g,function(ft){return ft[1].toUpperCase()});return pe[Ce]}return"".concat(pe,"-").concat(Dt)}var Vt=function(pe){var Dt=(0,a.useRef)();function Ce(Ut){Ut&&(Ut.removeEventListener(Pt,pe),Ut.removeEventListener(yt,pe))}function ft(Ut){Dt.current&&Dt.current!==Ut&&Ce(Dt.current),Ut&&Ut!==Dt.current&&(Ut.addEventListener(Pt,pe),Ut.addEventListener(yt,pe),Dt.current=Ut)}return a.useEffect(function(){return function(){Ce(Dt.current)}},[]),[ft,Ce]},lr=(0,X.Z)()?a.useLayoutEffect:a.useEffect,Ke=lr,Ct=e(16089),jt=function(){var pe=a.useRef(null);function Dt(){Ct.Z.cancel(pe.current)}function Ce(ft){var Ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Dt();var St=(0,Ct.Z)(function(){Ut<=1?ft({isCanceled:function(){return St!==pe.current}}):Ce(ft,Ut-1)});pe.current=St}return a.useEffect(function(){return function(){Dt()}},[]),[Ce,Dt]},it=[J,Q,K,se],xt=[J,ee],pt=!1,et=!0;function Ze(pe){return pe===K||pe===se}var ge=function(pe,Dt,Ce){var ft=(0,B.Z)(oe),Ut=(0,l.Z)(ft,2),St=Ut[0],Oe=Ut[1],wt=jt(),ye=(0,l.Z)(wt,2),Xe=ye[0],vt=ye[1];function Rt(){Oe(J,!0)}var Ne=Dt?xt:it;return Ke(function(){if(St!==oe&&St!==se){var Dr=Ne.indexOf(St),Et=Ne[Dr+1],Yr=Ce(St);Yr===pt?Oe(Et,!0):Et&&Xe(function(Jr){function Er(){Jr.isCanceled()||Oe(Et,!0)}Yr===!0?Er():Promise.resolve(Yr).then(Er)})}},[pe,St]),a.useEffect(function(){return function(){vt()}},[]),[Rt,St]};function Ae(pe,Dt,Ce,ft){var Ut=ft.motionEnter,St=Ut===void 0?!0:Ut,Oe=ft.motionAppear,wt=Oe===void 0?!0:Oe,ye=ft.motionLeave,Xe=ye===void 0?!0:ye,vt=ft.motionDeadline,Rt=ft.motionLeaveImmediately,Ne=ft.onAppearPrepare,Dr=ft.onEnterPrepare,Et=ft.onLeavePrepare,Yr=ft.onAppearStart,Jr=ft.onEnterStart,Er=ft.onLeaveStart,$r=ft.onAppearActive,_r=ft.onEnterActive,Hr=ft.onLeaveActive,on=ft.onAppearEnd,pn=ft.onEnterEnd,or=ft.onLeaveEnd,kt=ft.onVisibleChanged,mt=(0,B.Z)(),gt=(0,l.Z)(mt,2),Nt=gt[0],Ar=gt[1],vr=V(W),at=(0,l.Z)(vr,2),Nr=at[0],bn=at[1],Yn=(0,B.Z)(null),mr=(0,l.Z)(Yn,2),rn=mr[0],gn=mr[1],Mn=Nr(),ai=(0,a.useRef)(!1),hi=(0,a.useRef)(null);function Vi(){return Ce()}var Yi=(0,a.useRef)(!1);function Ri(){bn(W),gn(null,!0)}var Ii=(0,M.useEvent)(function(Qt){var dt=Nr();if(dt!==W){var rt=Vi();if(!(Qt&&!Qt.deadline&&Qt.target!==rt)){var It=Yi.current,ht;dt===H&&It?ht=on==null?void 0:on(rt,Qt):dt===te&&It?ht=pn==null?void 0:pn(rt,Qt):dt===ie&&It&&(ht=or==null?void 0:or(rt,Qt)),It&&ht!==!1&&Ri()}}}),Ti=Vt(Ii),Ai=(0,l.Z)(Ti,1),oi=Ai[0],Hi=function(dt){switch(dt){case H:return(0,r.Z)((0,r.Z)((0,r.Z)({},J,Ne),Q,Yr),K,$r);case te:return(0,r.Z)((0,r.Z)((0,r.Z)({},J,Dr),Q,Jr),K,_r);case ie:return(0,r.Z)((0,r.Z)((0,r.Z)({},J,Et),Q,Er),K,Hr);default:return{}}},xi=a.useMemo(function(){return Hi(Mn)},[Mn]),xe=ge(Mn,!pe,function(Qt){if(Qt===J){var dt=xi[J];return dt?dt(Vi()):pt}if(Jn in xi){var rt;gn(((rt=xi[Jn])===null||rt===void 0?void 0:rt.call(xi,Vi(),null))||null)}return Jn===K&&Mn!==W&&(oi(Vi()),vt>0&&(clearTimeout(hi.current),hi.current=setTimeout(function(){Ii({deadline:!0})},vt))),Jn===ee&&Ri(),et}),Kn=(0,l.Z)(xe,2),qn=Kn[0],Jn=Kn[1],oa=Ze(Jn);Yi.current=oa;var Di=(0,a.useRef)(null);Ke(function(){if(!(ai.current&&Di.current===Dt)){Ar(Dt);var Qt=ai.current;ai.current=!0;var dt;!Qt&&Dt&&wt&&(dt=H),Qt&&Dt&&St&&(dt=te),(Qt&&!Dt&&Xe||!Qt&&Rt&&!Dt&&Xe)&&(dt=ie);var rt=Hi(dt);dt&&(pe||rt[J])?(bn(dt),qn()):bn(W),Di.current=Dt}},[Dt]),(0,a.useEffect)(function(){(Mn===H&&!wt||Mn===te&&!St||Mn===ie&&!Xe)&&bn(W)},[wt,St,Xe]),(0,a.useEffect)(function(){return function(){ai.current=!1,clearTimeout(hi.current)}},[]);var Ci=a.useRef(!1);(0,a.useEffect)(function(){Nt&&(Ci.current=!0),Nt!==void 0&&Mn===W&&((Ci.current||Nt)&&(kt==null||kt(Nt)),Ci.current=!0)},[Nt,Mn]);var pi=rn;return xi[J]&&Jn===Q&&(pi=(0,i.Z)({transition:"none"},pi)),[Mn,Jn,pi,Nt!=null?Nt:Dt]}function Me(pe){var Dt=pe;(0,c.Z)(pe)==="object"&&(Dt=pe.transitionSupport);function Ce(Ut,St){return!!(Ut.motionName&&Dt&&St!==!1)}var ft=a.forwardRef(function(Ut,St){var Oe=Ut.visible,wt=Oe===void 0?!0:Oe,ye=Ut.removeOnLeave,Xe=ye===void 0?!0:ye,vt=Ut.forceRender,Rt=Ut.children,Ne=Ut.motionName,Dr=Ut.leavedClassName,Et=Ut.eventProps,Yr=a.useContext(y),Jr=Yr.motion,Er=Ce(Ut,Jr),$r=(0,a.useRef)(),_r=(0,a.useRef)();function Hr(){try{return $r.current instanceof HTMLElement?$r.current:(0,h.ZP)(_r.current)}catch(mr){return null}}var on=Ae(Er,wt,Hr,Ut),pn=(0,l.Z)(on,4),or=pn[0],kt=pn[1],mt=pn[2],gt=pn[3],Nt=a.useRef(gt);gt&&(Nt.current=!0);var Ar=a.useCallback(function(mr){$r.current=mr,(0,u.mH)(St,mr)},[St]),vr,at=(0,i.Z)((0,i.Z)({},Et),{},{visible:wt});if(!Rt)vr=null;else if(or===W)gt?vr=Rt((0,i.Z)({},at),Ar):!Xe&&Nt.current&&Dr?vr=Rt((0,i.Z)((0,i.Z)({},at),{},{className:Dr}),Ar):vt||!Xe&&!Dr?vr=Rt((0,i.Z)((0,i.Z)({},at),{},{style:{display:"none"}}),Ar):vr=null;else{var Nr;kt===J?Nr="prepare":Ze(kt)?Nr="active":kt===Q&&(Nr="start");var bn=tr(Ne,"".concat(or,"-").concat(Nr));vr=Rt((0,i.Z)((0,i.Z)({},at),{},{className:o()(tr(Ne,or),(0,r.Z)((0,r.Z)({},bn,bn&&Nr),Ne,typeof Ne=="string")),style:mt}),Ar)}if(a.isValidElement(vr)&&(0,u.Yr)(vr)){var Yn=(0,u.C4)(vr);Yn||(vr=a.cloneElement(vr,{ref:Ar}))}return a.createElement(I,{ref:_r},vr)});return ft.displayName="CSSMotion",ft}var Ue=Me(Mt),Ge=e(54476),nt=e(31226),ut="add",Kt="keep",Zt="remove",De="removed";function Je(pe){var Dt;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?Dt=pe:Dt={key:pe},(0,i.Z)((0,i.Z)({},Dt),{},{key:String(Dt.key)})}function Wt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(Je)}function Ot(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ce=[],ft=0,Ut=Dt.length,St=Wt(pe),Oe=Wt(Dt);St.forEach(function(Xe){for(var vt=!1,Rt=ft;Rt<Ut;Rt+=1){var Ne=Oe[Rt];if(Ne.key===Xe.key){ft<Rt&&(Ce=Ce.concat(Oe.slice(ft,Rt).map(function(Dr){return(0,i.Z)((0,i.Z)({},Dr),{},{status:ut})})),ft=Rt),Ce.push((0,i.Z)((0,i.Z)({},Ne),{},{status:Kt})),ft+=1,vt=!0;break}}vt||Ce.push((0,i.Z)((0,i.Z)({},Xe),{},{status:Zt}))}),ft<Ut&&(Ce=Ce.concat(Oe.slice(ft).map(function(Xe){return(0,i.Z)((0,i.Z)({},Xe),{},{status:ut})})));var wt={};Ce.forEach(function(Xe){var vt=Xe.key;wt[vt]=(wt[vt]||0)+1});var ye=Object.keys(wt).filter(function(Xe){return wt[Xe]>1});return ye.forEach(function(Xe){Ce=Ce.filter(function(vt){var Rt=vt.key,Ne=vt.status;return Rt!==Xe||Ne!==Zt}),Ce.forEach(function(vt){vt.key===Xe&&(vt.status=Kt)})}),Ce}var zt=["component","children","onVisibleChanged","onAllRemoved"],Ft=["status"],At=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Yt(pe){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ue,Ce=function(ft){(0,k.Z)(St,ft);var Ut=(0,R.Z)(St);function St(){var Oe;(0,b.Z)(this,St);for(var wt=arguments.length,ye=new Array(wt),Xe=0;Xe<wt;Xe++)ye[Xe]=arguments[Xe];return Oe=Ut.call.apply(Ut,[this].concat(ye)),(0,r.Z)((0,nt.Z)(Oe),"state",{keyEntities:[]}),(0,r.Z)((0,nt.Z)(Oe),"removeKey",function(vt){Oe.setState(function(Rt){var Ne=Rt.keyEntities.map(function(Dr){return Dr.key!==vt?Dr:(0,i.Z)((0,i.Z)({},Dr),{},{status:De})});return{keyEntities:Ne}},function(){var Rt=Oe.state.keyEntities,Ne=Rt.filter(function(Dr){var Et=Dr.status;return Et!==De}).length;Ne===0&&Oe.props.onAllRemoved&&Oe.props.onAllRemoved()})}),Oe}return(0,S.Z)(St,[{key:"render",value:function(){var wt=this,ye=this.state.keyEntities,Xe=this.props,vt=Xe.component,Rt=Xe.children,Ne=Xe.onVisibleChanged,Dr=Xe.onAllRemoved,Et=(0,x.Z)(Xe,zt),Yr=vt||a.Fragment,Jr={};return At.forEach(function(Er){Jr[Er]=Et[Er],delete Et[Er]}),delete Et.keys,a.createElement(Yr,Et,ye.map(function(Er,$r){var _r=Er.status,Hr=(0,x.Z)(Er,Ft),on=_r===ut||_r===Kt;return a.createElement(Dt,(0,Ge.Z)({},Jr,{key:Hr.key,visible:on,eventProps:Hr,onVisibleChanged:function(or){Ne==null||Ne(or,{key:Hr.key}),or||wt.removeKey(Hr.key)}}),function(pn,or){return Rt((0,i.Z)((0,i.Z)({},pn),{},{index:$r}),or)})}))}}],[{key:"getDerivedStateFromProps",value:function(wt,ye){var Xe=wt.keys,vt=ye.keyEntities,Rt=Wt(Xe),Ne=Ot(vt,Rt);return{keyEntities:Ne.filter(function(Dr){var Et=vt.find(function(Yr){var Jr=Yr.key;return Dr.key===Jr});return!(Et&&Et.status===De&&Dr.status===Zt)})}}}]),St}(a.Component);return(0,r.Z)(Ce,"defaultProps",{component:"div"}),Ce}var Ye=Yt(Mt),ce=Ue},581:function(d,v,e){"use strict";e.d(v,{qX:function(){return b},JB:function(){return R},lm:function(){return te}});var r=e(94480),i=e(42978),l=e(75931),c=e(59301),f=e(33885),o=e(4676),h=e(54476),u=e(92310),a=e.n(u),x=e(77900),p=e(20068),y=e(10228),_=c.forwardRef(function(ie,oe){var J=ie.prefixCls,Q=ie.style,K=ie.className,se=ie.duration,ee=se===void 0?4.5:se,X=ie.eventKey,le=ie.content,z=ie.closable,$=ie.closeIcon,ae=$===void 0?"x":$,_e=ie.props,Ie=ie.onClick,ke=ie.onNoticeClose,We=ie.times,je=c.useState(!1),Mt=(0,i.Z)(je,2),yt=Mt[0],Pt=Mt[1],tr=function(){ke(X)},Vt=function(Ct){(Ct.key==="Enter"||Ct.code==="Enter"||Ct.keyCode===y.Z.ENTER)&&tr()};c.useEffect(function(){if(!yt&&ee>0){var Ke=setTimeout(function(){tr()},ee*1e3);return function(){clearTimeout(Ke)}}},[ee,yt,We]);var lr="".concat(J,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:oe,className:a()(lr,K,(0,p.Z)({},"".concat(lr,"-closable"),z)),style:Q,onMouseEnter:function(){Pt(!0)},onMouseLeave:function(){Pt(!1)},onClick:Ie}),c.createElement("div",{className:"".concat(lr,"-content")},le),z&&c.createElement("a",{tabIndex:0,className:"".concat(lr,"-close"),onKeyDown:Vt,onClick:function(Ct){Ct.preventDefault(),Ct.stopPropagation(),tr()}},ae))}),b=_,S=c.createContext({}),k=function(oe){var J=oe.children,Q=oe.classNames;return c.createElement(S.Provider,{value:{classNames:Q}},J)},R=k,A=function(oe){var J=oe.configList,Q=oe.placement,K=oe.prefixCls,se=oe.className,ee=oe.style,X=oe.motion,le=oe.onAllNoticeRemoved,z=oe.onNoticeClose,$=(0,c.useContext)(S),ae=$.classNames,_e=J.map(function(ke){return{config:ke,key:ke.key}}),Ie=typeof X=="function"?X(Q):X;return c.createElement(x.CSSMotionList,(0,h.Z)({key:Q,className:a()(K,"".concat(K,"-").concat(Q),ae==null?void 0:ae.list,se),style:ee,keys:_e,motionAppear:!0},Ie,{onAllRemoved:function(){le(Q)}}),function(ke,We){var je=ke.config,Mt=ke.className,yt=ke.style,Pt=je,tr=Pt.key,Vt=Pt.times,lr=je,Ke=lr.className,Ct=lr.style;return c.createElement(b,(0,h.Z)({},je,{ref:We,prefixCls:K,className:a()(Mt,Ke,ae==null?void 0:ae.notice),style:(0,f.Z)((0,f.Z)({},yt),Ct),times:Vt,key:tr,eventKey:tr,onNoticeClose:z}))})},I=A,M=c.forwardRef(function(ie,oe){var J=ie.prefixCls,Q=J===void 0?"rc-notification":J,K=ie.container,se=ie.motion,ee=ie.maxCount,X=ie.className,le=ie.style,z=ie.onAllRemoved,$=ie.renderNotifications,ae=c.useState([]),_e=(0,i.Z)(ae,2),Ie=_e[0],ke=_e[1],We=function(Ct){var jt,it=Ie.find(function(xt){return xt.key===Ct});it==null||(jt=it.onClose)===null||jt===void 0||jt.call(it),ke(function(xt){return xt.filter(function(pt){return pt.key!==Ct})})};c.useImperativeHandle(oe,function(){return{open:function(Ct){ke(function(jt){var it=(0,r.Z)(jt),xt=it.findIndex(function(Ze){return Ze.key===Ct.key}),pt=(0,f.Z)({},Ct);if(xt>=0){var et;pt.times=(((et=jt[xt])===null||et===void 0?void 0:et.times)||0)+1,it[xt]=pt}else pt.times=0,it.push(pt);return ee>0&&it.length>ee&&(it=it.slice(-ee)),it})},close:function(Ct){We(Ct)},destroy:function(){ke([])}}});var je=c.useState({}),Mt=(0,i.Z)(je,2),yt=Mt[0],Pt=Mt[1];c.useEffect(function(){var Ke={};Ie.forEach(function(Ct){var jt=Ct.placement,it=jt===void 0?"topRight":jt;it&&(Ke[it]=Ke[it]||[],Ke[it].push(Ct))}),Object.keys(yt).forEach(function(Ct){Ke[Ct]=Ke[Ct]||[]}),Pt(Ke)},[Ie]);var tr=function(Ct){Pt(function(jt){var it=(0,f.Z)({},jt),xt=it[Ct]||[];return xt.length||delete it[Ct],it})},Vt=c.useRef(!1);if(c.useEffect(function(){Object.keys(yt).length>0?Vt.current=!0:Vt.current&&(z==null||z(),Vt.current=!1)},[yt]),!K)return null;var lr=Object.keys(yt);return(0,o.createPortal)(c.createElement(c.Fragment,null,lr.map(function(Ke){var Ct=yt[Ke],jt=c.createElement(I,{key:Ke,configList:Ct,placement:Ke,prefixCls:Q,className:X==null?void 0:X(Ke),style:le==null?void 0:le(Ke),motion:se,onNoticeClose:We,onAllNoticeRemoved:tr});return $?$(jt,{prefixCls:Q,key:Ke}):jt})),K)}),B=M,N=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],V=function(){return document.body},W=0;function H(){for(var ie={},oe=arguments.length,J=new Array(oe),Q=0;Q<oe;Q++)J[Q]=arguments[Q];return J.forEach(function(K){K&&Object.keys(K).forEach(function(se){var ee=K[se];ee!==void 0&&(ie[se]=ee)})}),ie}function te(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=ie.getContainer,J=oe===void 0?V:oe,Q=ie.motion,K=ie.prefixCls,se=ie.maxCount,ee=ie.className,X=ie.style,le=ie.onAllRemoved,z=ie.renderNotifications,$=(0,l.Z)(ie,N),ae=c.useState(),_e=(0,i.Z)(ae,2),Ie=_e[0],ke=_e[1],We=c.useRef(),je=c.createElement(B,{container:Ie,ref:We,prefixCls:K,motion:Q,maxCount:se,className:ee,style:X,onAllRemoved:le,renderNotifications:z}),Mt=c.useState([]),yt=(0,i.Z)(Mt,2),Pt=yt[0],tr=yt[1],Vt=c.useMemo(function(){return{open:function(Ke){var Ct=H($,Ke);(Ct.key===null||Ct.key===void 0)&&(Ct.key="rc-notification-".concat(W),W+=1),tr(function(jt){return[].concat((0,r.Z)(jt),[{type:"open",config:Ct}])})},close:function(Ke){tr(function(Ct){return[].concat((0,r.Z)(Ct),[{type:"close",key:Ke}])})},destroy:function(){tr(function(Ke){return[].concat((0,r.Z)(Ke),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){ke(J())}),c.useEffect(function(){We.current&&Pt.length&&(Pt.forEach(function(lr){switch(lr.type){case"open":We.current.open(lr.config);break;case"close":We.current.close(lr.key);break;case"destroy":We.current.destroy();break}}),tr(function(lr){return lr.filter(function(Ke){return!Pt.includes(Ke)})}))},[Pt]),[Vt,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 Q}});var r=e(54476),i=e(59301),l=e(11592),c=e(48736),f=e(33885),o=e(76190),h=e(76846),u=e(8654),a=i.createContext(null);function x(K){var se=K.children,ee=K.onBatchResize,X=i.useRef(0),le=i.useRef([]),z=i.useContext(a),$=i.useCallback(function(ae,_e,Ie){X.current+=1;var ke=X.current;le.current.push({size:ae,element:_e,data:Ie}),Promise.resolve().then(function(){ke===X.current&&(ee==null||ee(le.current),le.current=[])}),z==null||z(ae,_e,Ie)},[ee,z]);return i.createElement(a.Provider,{value:$},se)}var p=e(76374),y=new Map;function _(K){K.forEach(function(se){var ee,X=se.target;(ee=y.get(X))===null||ee===void 0||ee.forEach(function(le){return le(X)})})}var b=new p.Z(_),S=null,k=null;function R(K,se){y.has(K)||(y.set(K,new Set),b.observe(K)),y.get(K).add(se)}function A(K,se){y.has(K)&&(y.get(K).delete(se),y.get(K).size||(b.unobserve(K),y.delete(K)))}var I=e(67732),M=e(83652),B=e(42403),N=e(158),V=function(K){(0,B.Z)(ee,K);var se=(0,N.Z)(ee);function ee(){return(0,I.Z)(this,ee),se.apply(this,arguments)}return(0,M.Z)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(i.Component);function W(K,se){var ee=K.children,X=K.disabled,le=i.useRef(null),z=i.useRef(null),$=i.useContext(a),ae=typeof ee=="function",_e=ae?ee(le):ee,Ie=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ke=!ae&&i.isValidElement(_e)&&(0,u.Yr)(_e),We=ke?(0,u.C4)(_e):null,je=(0,u.x1)(We,le),Mt=function(){var Vt;return(0,h.ZP)(le.current)||(le.current&&(0,o.Z)(le.current)==="object"?(0,h.ZP)((Vt=le.current)===null||Vt===void 0?void 0:Vt.nativeElement):null)||(0,h.ZP)(z.current)};i.useImperativeHandle(se,function(){return Mt()});var yt=i.useRef(K);yt.current=K;var Pt=i.useCallback(function(tr){var Vt=yt.current,lr=Vt.onResize,Ke=Vt.data,Ct=tr.getBoundingClientRect(),jt=Ct.width,it=Ct.height,xt=tr.offsetWidth,pt=tr.offsetHeight,et=Math.floor(jt),Ze=Math.floor(it);if(Ie.current.width!==et||Ie.current.height!==Ze||Ie.current.offsetWidth!==xt||Ie.current.offsetHeight!==pt){var ge={width:et,height:Ze,offsetWidth:xt,offsetHeight:pt};Ie.current=ge;var Ae=xt===Math.round(jt)?jt:xt,Me=pt===Math.round(it)?it:pt,Ue=(0,f.Z)((0,f.Z)({},ge),{},{offsetWidth:Ae,offsetHeight:Me});$==null||$(Ue,tr,Ke),lr&&Promise.resolve().then(function(){lr(Ue,tr)})}},[]);return i.useEffect(function(){var tr=Mt();return tr&&!X&&R(tr,Pt),function(){return A(tr,Pt)}},[le.current,X]),i.createElement(V,{ref:z},ke?i.cloneElement(_e,{ref:je}):_e)}var H=i.forwardRef(W),te=H,ie="rc-observer-key";function oe(K,se){var ee=K.children,X=typeof ee=="function"?[ee]:(0,l.Z)(ee);return X.map(function(le,z){var $=(le==null?void 0:le.key)||"".concat(ie,"-").concat(z);return i.createElement(te,(0,r.Z)({},K,{key:$,ref:z===0?se:void 0}),le)})}var J=i.forwardRef(oe);J.Collection=x;var Q=J},55477:function(d,v,e){"use strict";e.d(v,{G:function(){return _},Z:function(){return R}});var r=e(54476),i=e(33885),l=e(75931),c=e(35593),f=e(59301),o={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:o,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:o,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 _(A){var I=A.children,M=A.prefixCls,B=A.id,N=A.overlayInnerStyle,V=A.className,W=A.style;return f.createElement("div",{className:y()("".concat(M,"-content"),V),style:W},f.createElement("div",{className:"".concat(M,"-inner"),id:B,role:"tooltip",style:N},typeof I=="function"?I():I))}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(I,M){var B=I.overlayClassName,N=I.trigger,V=N===void 0?["hover"]:N,W=I.mouseEnterDelay,H=W===void 0?0:W,te=I.mouseLeaveDelay,ie=te===void 0?.1:te,oe=I.overlayStyle,J=I.prefixCls,Q=J===void 0?"rc-tooltip":J,K=I.children,se=I.onVisibleChange,ee=I.afterVisibleChange,X=I.transitionName,le=I.animation,z=I.motion,$=I.placement,ae=$===void 0?"right":$,_e=I.align,Ie=_e===void 0?{}:_e,ke=I.destroyTooltipOnHide,We=ke===void 0?!1:ke,je=I.defaultVisible,Mt=I.getTooltipContainer,yt=I.overlayInnerStyle,Pt=I.arrowContent,tr=I.overlay,Vt=I.id,lr=I.showArrow,Ke=lr===void 0?!0:lr,Ct=(0,l.Z)(I,b),jt=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return jt.current});var it=(0,i.Z)({},Ct);"visible"in I&&(it.popupVisible=I.visible);var xt=function(){return f.createElement(_,{key:"content",prefixCls:Q,id:Vt,overlayInnerStyle:yt},tr)};return f.createElement(c.Z,(0,r.Z)({popupClassName:B,prefixCls:Q,popup:xt,action:V,builtinPlacements:a,popupPlacement:ae,ref:jt,popupAlign:Ie,getPopupContainer:Mt,onPopupVisibleChange:se,afterPopupVisibleChange:ee,popupTransitionName:X,popupAnimation:le,popupMotion:z,defaultPopupVisible:je,autoDestroy:We,mouseLeaveDelay:ie,popupStyle:oe,mouseEnterDelay:H,arrow:Ke},it),K)},k=(0,f.forwardRef)(S),R=k},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]:{},o=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?o=o.concat(l(h)):(0,r.Z)(h)&&h.props?o=o.concat(l(h.props.children,f)):o.push(h))}),o}},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 R},jL:function(){return b}});var r=e(33885),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",o="rc-util-key",h=new Map;function u(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},I=A.mark;return I?I.startsWith("data-")?I:"data-".concat(I):o}function a(A){if(A.attachTo)return A.attachTo;var I=document.querySelector("head");return I||document.body}function x(A){return A==="queue"?"prependQueue":A?"prepend":"append"}function p(A){return Array.from((h.get(A)||A).children).filter(function(I){return I.tagName==="STYLE"})}function y(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=I.csp,B=I.prepend,N=I.priority,V=N===void 0?0:N,W=x(B),H=W==="prependQueue",te=document.createElement("style");te.setAttribute(c,W),H&&V&&te.setAttribute(f,"".concat(V)),M!=null&&M.nonce&&(te.nonce=M==null?void 0:M.nonce),te.innerHTML=A;var ie=a(I),oe=ie.firstChild;if(B){if(H){var J=(I.styles||p(ie)).filter(function(Q){if(!["prepend","prependQueue"].includes(Q.getAttribute(c)))return!1;var K=Number(Q.getAttribute(f)||0);return V>=K});if(J.length)return ie.insertBefore(te,J[J.length-1].nextSibling),te}ie.insertBefore(te,oe)}else ie.appendChild(te);return te}function _(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(I);return(I.styles||p(M)).find(function(B){return B.getAttribute(u(I))===A})}function b(A){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(A,I);if(M){var B=a(I);B.removeChild(M)}}function S(A,I){var M=h.get(A);if(!M||!(0,l.Z)(document,M)){var B=y("",I),N=B.parentNode;h.set(A,N),A.removeChild(B)}}function k(){h.clear()}function R(A,I){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=a(M),N=p(B),V=(0,r.Z)((0,r.Z)({},M),{},{styles:N});S(B,V);var W=_(I,V);if(W){var H,te;if((H=V.csp)!==null&&H!==void 0&&H.nonce&&W.nonce!==((te=V.csp)===null||te===void 0?void 0:te.nonce)){var ie;W.nonce=(ie=V.csp)===null||ie===void 0?void 0:ie.nonce}return W.innerHTML!==A&&(W.innerHTML=A),W}var oe=y(A,V);return oe.setAttribute(u(V),I),oe}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return o}});var r=e(76190),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 o(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,o=c.height;if(f||o)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(76190),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(o){return o&&(0,r.Z)(o)==="object"&&(o.$$typeof===i||o.$$typeof===l)&&o.type===c}},1585:function(d,v,e){"use strict";var r;e.d(v,{s:function(){return A},v:function(){return V}});var i=e(75044),l=e(3202),c=e(76190),f=e(33885),o=e(4676),h=(0,f.Z)({},r||(r=e.t(o,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(H){}function _(H){var te=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;te&&(0,c.Z)(te)==="object"&&(te.usingClientEntryPoint=H)}var b="__rc_react_root__";function S(H,te){_(!0);var ie=te[b]||p(te);_(!1),ie.render(H),te[b]=ie}function k(H,te){a==null||a(H,te)}function R(H,te){}function A(H,te){if(p){S(H,te);return}k(H,te)}function I(H){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function H(te){return(0,i.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return oe.abrupt("return",Promise.resolve().then(function(){var J;(J=te[b])===null||J===void 0||J.unmount(),delete te[b]}));case 1:case"end":return oe.stop()}},H)})),M.apply(this,arguments)}function B(H){x(H)}function N(H){}function V(H){return W.apply(this,arguments)}function W(){return W=(0,l.Z)((0,i.Z)().mark(function H(te){return(0,i.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(p===void 0){oe.next=2;break}return oe.abrupt("return",I(te));case 2:B(te);case 3:case"end":return oe.stop()}},H)})),W.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(o){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(o){var y=getComputedStyle(o);a.scrollbarColor=y.scrollbarColor,a.scrollbarWidth=y.scrollbarWidth;var _=getComputedStyle(o,"::-webkit-scrollbar"),b=parseInt(_.width,10),S=parseInt(_.height,10);try{var k=b?"width: ".concat(_.width,";"):"",R=S?"height: ".concat(_.height,";"):"";(0,r.hq)(`
|
|
|
#`.concat(h,`::-webkit-scrollbar {
|
|
|
`).concat(k,`
|
|
|
`).concat(R,`
|
|
|
}`),h)}catch(M){console.error(M),x=b,p=S}}document.body.appendChild(u);var A=o&&x&&!isNaN(x)?x:u.offsetWidth-u.clientWidth,I=o&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:A,height:I}}function c(o){return typeof document=="undefined"?0:((o||i===void 0)&&(i=l()),i.width)}function f(o){return typeof document=="undefined"||!o||!(o instanceof Element)?{width:0,height:0}:l(o)}},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 o,h=arguments.length,u=new Array(h),a=0;a<h;a++)u[a]=arguments[a];return(o=c.current)===null||o===void 0?void 0:o.call.apply(o,[c].concat(u))},[]);return f}},80402:function(d,v,e){"use strict";var r,i=e(42978),l=e(33885),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var o=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=o;o+=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 o=r.useRef({});return(!("value"in o.current)||f(o.current.condition,c))&&(o.current.value=l(),o.current.condition=c),o.current.value}},18929:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(42978),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function o(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),k=S[0],R=S[1],A=p!==void 0?p:k,I=_?_(A):A,M=(0,i.Z)(y),B=(0,c.Z)([A]),N=(0,r.Z)(B,2),V=N[0],W=N[1];(0,l.o)(function(){var te=V[0];k!==te&&M(k,te)},[V]),(0,l.o)(function(){f(p)||R(p)},[p]);var H=(0,i.Z)(function(te,ie){R(te,ie),W([A],ie)});return[I,H]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(42978),i=e(59301);function l(c){var f=i.useRef(!1),o=i.useState(c),h=(0,r.Z)(o,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 o.ZP}});var r=e(6089),i=e(18929),l=e(8654),c=e(97938),f=e(24434),o=e(48736)},13697:function(d,v,e){"use strict";var r=e(76190),i=e(48736);function l(c,f){var o=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(o&&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(k){return u(a[k],x[k],_)})}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(33885),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-",o="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(_,o)||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(o){l.delete(o)}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(o){var h=l.get(o);return c(o),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(76190),i=e(59301),l=e(23265),c=e(80547),f=e(34678),o=Number(i.version.split(".")[0]),h=function(S,k){typeof S=="function"?S(k):(0,r.Z)(S)==="object"&&S&&"current"in S&&(S.current=k)},u=function(){for(var S=arguments.length,k=new Array(S),R=0;R<S;R++)k[R]=arguments[R];var A=k.filter(Boolean);return A.length<=1?A[0]:function(I){k.forEach(function(M){h(M,I)})}},a=function(){for(var S=arguments.length,k=new Array(S),R=0;R<S;R++)k[R]=arguments[R];return(0,c.Z)(function(){return u.apply(void 0,k)},k,function(A,I){return A.length!==I.length||A.every(function(M,B){return M!==I[B]})})},x=function(S){var k,R;if(!S)return!1;if(p(S)&&o>=19)return!0;var A=(0,l.isMemo)(S)?S.type.type:S.type;return!(typeof A=="function"&&!((k=A.prototype)!==null&&k!==void 0&&k.render)&&A.$$typeof!==l.ForwardRef||typeof S=="function"&&!((R=S.prototype)!==null&&R!==void 0&&R.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 k=S;return k.props.propertyIsEnumerable("ref")?k.props.ref:k.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(76190),i=e(33885),l=e(94480),c=e(66712),f=e(97938);function o(y,_,b,S){if(!_.length)return b;var k=(0,c.Z)(_),R=k[0],A=k.slice(1),I;return!y&&typeof R=="number"?I=[]:Array.isArray(y)?I=(0,l.Z)(y):I=(0,i.Z)({},y),S&&b===void 0&&A.length===1?delete I[R][A[0]]:I[R]=o(I[R],A,b,S),I}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:o(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(k){function R(A,I){var M=new Set(I),B=(0,f.Z)(k,A),N=Array.isArray(B);if(N||u(B)){if(!M.has(B)){M.add(B);var V=(0,f.Z)(S,A);N?S=h(S,A,[]):(!V||(0,r.Z)(V)!=="object")&&(S=h(S,A,a(B))),x(B).forEach(function(W){R([].concat((0,l.Z)(A),[W]),M)})}}else S=h(S,A,B)}R([])}),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 o(){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=o,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(I){return I&&I.__esModule?I:{default:I}}function c(I){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(B){return typeof B}:c=function(B){return B&&typeof Symbol=="function"&&B.constructor===Symbol&&B!==Symbol.prototype?"symbol":typeof B},c(I)}function f(I,M){var B=Object.keys(I);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(I);M&&(N=N.filter(function(V){return Object.getOwnPropertyDescriptor(I,V).enumerable})),B.push.apply(B,N)}return B}function o(I){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?f(B,!0).forEach(function(N){R(I,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(B)):f(B).forEach(function(N){Object.defineProperty(I,N,Object.getOwnPropertyDescriptor(B,N))})}return I}function h(I,M){if(I==null)return{};var B=u(I,M),N,V;if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(I);for(V=0;V<W.length;V++)N=W[V],!(M.indexOf(N)>=0)&&Object.prototype.propertyIsEnumerable.call(I,N)&&(B[N]=I[N])}return B}function u(I,M){if(I==null)return{};var B={},N=Object.keys(I),V,W;for(W=0;W<N.length;W++)V=N[W],!(M.indexOf(V)>=0)&&(B[V]=I[V]);return B}function a(I,M){if(!(I instanceof M))throw new TypeError("Cannot call a class as a function")}function x(I,M){for(var B=0;B<M.length;B++){var N=M[B];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(I,N.key,N)}}function p(I,M,B){return M&&x(I.prototype,M),B&&x(I,B),I}function y(I,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(I)}function _(I){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},_(I)}function b(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function S(I,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(M&&M.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),M&&k(I,M)}function k(I,M){return k=Object.setPrototypeOf||function(N,V){return N.__proto__=V,N},k(I,M)}function R(I,M,B){return M in I?Object.defineProperty(I,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):I[M]=B,I}var A=function(I){S(M,I);function M(){var B,N;a(this,M);for(var V=arguments.length,W=new Array(V),H=0;H<V;H++)W[H]=arguments[H];return N=y(this,(B=_(M)).call.apply(B,[this].concat(W))),R(b(N),"onClick",function(te){var ie=N.props,oe=ie.text,J=ie.onCopy,Q=ie.children,K=ie.options,se=r.default.Children.only(Q),ee=(0,i.default)(oe,K);J&&J(oe,ee),se&&se.props&&typeof se.props.onClick=="function"&&se.props.onClick(te)}),N}return p(M,[{key:"render",value:function(){var N=this.props,V=N.text,W=N.onCopy,H=N.options,te=N.children,ie=h(N,["text","onCopy","options","children"]),oe=r.default.Children.only(te);return r.default.cloneElement(oe,o({},ie,{onClick:this.onClick}))}}]),M}(r.default.PureComponent);v.CopyToClipboard=A,R(A,"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 T="https://reactjs.org/docs/error-decoder.html?invariant="+g,U=1;U<arguments.length;U++)T+="&args[]="+encodeURIComponent(arguments[U]);return"Minified React error #"+g+"; visit "+T+" 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,o={};function h(g,T){u(g,T),u(g+"Capture",T)}function u(g,T){for(o[g]=T,g=0;g<T.length;g++)f.add(T[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,T,U,ve){if(U!==null&&U.type===0)return!1;switch(typeof T){case"function":case"symbol":return!0;case"boolean":return ve?!1:U!==null?!U.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function k(g,T,U,ve){if(T===null||typeof T=="undefined"||S(g,T,U,ve))return!0;if(ve)return!1;if(U!==null)switch(U.type){case 3:return!T;case 4:return T===!1;case 5:return isNaN(T);case 6:return isNaN(T)||1>T}return!1}function R(g,T,U,ve,Le,ot,Bt){this.acceptsBooleans=T===2||T===3||T===4,this.attributeName=ve,this.attributeNamespace=Le,this.mustUseProperty=U,this.propertyName=g,this.type=T,this.sanitizeURL=ot,this.removeEmptyString=Bt}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){A[g]=new R(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var T=g[0];A[T]=new R(T,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){A[g]=new R(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){A[g]=new R(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){A[g]=new R(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){A[g]=new R(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){A[g]=new R(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){A[g]=new R(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){A[g]=new R(g,5,!1,g.toLowerCase(),null,!1,!1)});var I=/[\-:]([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 T=g.replace(I,M);A[T]=new R(T,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var T=g.replace(I,M);A[T]=new R(T,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var T=g.replace(I,M);A[T]=new R(T,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){A[g]=new R(g,1,!1,g.toLowerCase(),null,!1,!1)}),A.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(g){A[g]=new R(g,1,!1,g.toLowerCase(),null,!0,!0)});function B(g,T,U,ve){var Le=A.hasOwnProperty(T)?A[T]:null,ot=Le!==null?Le.type===0:ve?!1:!(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N");ot||(k(T,U,Le,ve)&&(U=null),ve||Le===null?b(T)&&(U===null?g.removeAttribute(T):g.setAttribute(T,""+U)):Le.mustUseProperty?g[Le.propertyName]=U===null?Le.type===3?!1:"":U:(T=Le.attributeName,ve=Le.attributeNamespace,U===null?g.removeAttribute(T):(Le=Le.type,U=Le===3||Le===4&&U===!0?"":""+U,ve?g.setAttributeNS(ve,T,U):g.setAttribute(T,U))))}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,V=60103,W=60106,H=60107,te=60108,ie=60114,oe=60109,J=60110,Q=60112,K=60113,se=60120,ee=60115,X=60116,le=60121,z=60128,$=60129,ae=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var Ie=Symbol.for;V=Ie("react.element"),W=Ie("react.portal"),H=Ie("react.fragment"),te=Ie("react.strict_mode"),ie=Ie("react.profiler"),oe=Ie("react.provider"),J=Ie("react.context"),Q=Ie("react.forward_ref"),K=Ie("react.suspense"),se=Ie("react.suspense_list"),ee=Ie("react.memo"),X=Ie("react.lazy"),le=Ie("react.block"),Ie("react.scope"),z=Ie("react.opaque.id"),$=Ie("react.debug_trace_mode"),ae=Ie("react.offscreen"),_e=Ie("react.legacy_hidden")}var ke=typeof Symbol=="function"&&Symbol.iterator;function We(g){return g===null||typeof g!="object"?null:(g=ke&&g[ke]||g["@@iterator"],typeof g=="function"?g:null)}var je;function Mt(g){if(je===void 0)try{throw Error()}catch(U){var T=U.stack.trim().match(/\n( *(at )?)/);je=T&&T[1]||""}return`
|
|
|
`+je+g}var yt=!1;function Pt(g,T){if(!g||yt)return"";yt=!0;var U=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(T)if(T=function(){throw Error()},Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(Or){var ve=Or}Reflect.construct(g,[],T)}else{try{T.call()}catch(Or){ve=Or}g.call(T.prototype)}else{try{throw Error()}catch(Or){ve=Or}g()}}catch(Or){if(Or&&ve&&typeof Or.stack=="string"){for(var Le=Or.stack.split(`
|
|
|
`),ot=ve.stack.split(`
|
|
|
`),Bt=Le.length-1,nr=ot.length-1;1<=Bt&&0<=nr&&Le[Bt]!==ot[nr];)nr--;for(;1<=Bt&&0<=nr;Bt--,nr--)if(Le[Bt]!==ot[nr]){if(Bt!==1||nr!==1)do if(Bt--,nr--,0>nr||Le[Bt]!==ot[nr])return`
|
|
|
`+Le[Bt].replace(" at new "," at ");while(1<=Bt&&0<=nr);break}}}finally{yt=!1,Error.prepareStackTrace=U}return(g=g?g.displayName||g.name:"")?Mt(g):""}function tr(g){switch(g.tag){case 5:return Mt(g.type);case 16:return Mt("Lazy");case 13:return Mt("Suspense");case 19:return Mt("SuspenseList");case 0:case 2:case 15:return g=Pt(g.type,!1),g;case 11:return g=Pt(g.type.render,!1),g;case 22:return g=Pt(g.type._render,!1),g;case 1:return g=Pt(g.type,!0),g;default:return""}}function Vt(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 H:return"Fragment";case W:return"Portal";case ie:return"Profiler";case te:return"StrictMode";case K:return"Suspense";case se:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case J:return(g.displayName||"Context")+".Consumer";case oe:return(g._context.displayName||"Context")+".Provider";case Q:var T=g.render;return T=T.displayName||T.name||"",g.displayName||(T!==""?"ForwardRef("+T+")":"ForwardRef");case ee:return Vt(g.type);case le:return Vt(g._render);case X:T=g._payload,g=g._init;try{return Vt(g(T))}catch(U){}}return null}function lr(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function Ke(g){var T=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(T==="checkbox"||T==="radio")}function Ct(g){var T=Ke(g)?"checked":"value",U=Object.getOwnPropertyDescriptor(g.constructor.prototype,T),ve=""+g[T];if(!g.hasOwnProperty(T)&&typeof U!="undefined"&&typeof U.get=="function"&&typeof U.set=="function"){var Le=U.get,ot=U.set;return Object.defineProperty(g,T,{configurable:!0,get:function(){return Le.call(this)},set:function(Bt){ve=""+Bt,ot.call(this,Bt)}}),Object.defineProperty(g,T,{enumerable:U.enumerable}),{getValue:function(){return ve},setValue:function(Bt){ve=""+Bt},stopTracking:function(){g._valueTracker=null,delete g[T]}}}}function jt(g){g._valueTracker||(g._valueTracker=Ct(g))}function it(g){if(!g)return!1;var T=g._valueTracker;if(!T)return!0;var U=T.getValue(),ve="";return g&&(ve=Ke(g)?g.checked?"true":"false":g.value),g=ve,g!==U?(T.setValue(g),!0):!1}function xt(g){if(g=g||(typeof document!="undefined"?document:void 0),typeof g=="undefined")return null;try{return g.activeElement||g.body}catch(T){return g.body}}function pt(g,T){var U=T.checked;return i({},T,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:U!=null?U:g._wrapperState.initialChecked})}function et(g,T){var U=T.defaultValue==null?"":T.defaultValue,ve=T.checked!=null?T.checked:T.defaultChecked;U=lr(T.value!=null?T.value:U),g._wrapperState={initialChecked:ve,initialValue:U,controlled:T.type==="checkbox"||T.type==="radio"?T.checked!=null:T.value!=null}}function Ze(g,T){T=T.checked,T!=null&&B(g,"checked",T,!1)}function ge(g,T){Ze(g,T);var U=lr(T.value),ve=T.type;if(U!=null)ve==="number"?(U===0&&g.value===""||g.value!=U)&&(g.value=""+U):g.value!==""+U&&(g.value=""+U);else if(ve==="submit"||ve==="reset"){g.removeAttribute("value");return}T.hasOwnProperty("value")?Me(g,T.type,U):T.hasOwnProperty("defaultValue")&&Me(g,T.type,lr(T.defaultValue)),T.checked==null&&T.defaultChecked!=null&&(g.defaultChecked=!!T.defaultChecked)}function Ae(g,T,U){if(T.hasOwnProperty("value")||T.hasOwnProperty("defaultValue")){var ve=T.type;if(!(ve!=="submit"&&ve!=="reset"||T.value!==void 0&&T.value!==null))return;T=""+g._wrapperState.initialValue,U||T===g.value||(g.value=T),g.defaultValue=T}U=g.name,U!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,U!==""&&(g.name=U)}function Me(g,T,U){(T!=="number"||xt(g.ownerDocument)!==g)&&(U==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+U&&(g.defaultValue=""+U))}function Ue(g){var T="";return r.Children.forEach(g,function(U){U!=null&&(T+=U)}),T}function Ge(g,T){return g=i({children:void 0},T),(T=Ue(T.children))&&(g.children=T),g}function nt(g,T,U,ve){if(g=g.options,T){T={};for(var Le=0;Le<U.length;Le++)T["$"+U[Le]]=!0;for(U=0;U<g.length;U++)Le=T.hasOwnProperty("$"+g[U].value),g[U].selected!==Le&&(g[U].selected=Le),Le&&ve&&(g[U].defaultSelected=!0)}else{for(U=""+lr(U),T=null,Le=0;Le<g.length;Le++){if(g[Le].value===U){g[Le].selected=!0,ve&&(g[Le].defaultSelected=!0);return}T!==null||g[Le].disabled||(T=g[Le])}T!==null&&(T.selected=!0)}}function ut(g,T){if(T.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},T,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function Kt(g,T){var U=T.value;if(U==null){if(U=T.children,T=T.defaultValue,U!=null){if(T!=null)throw Error(c(92));if(Array.isArray(U)){if(!(1>=U.length))throw Error(c(93));U=U[0]}T=U}T==null&&(T=""),U=T}g._wrapperState={initialValue:lr(U)}}function Zt(g,T){var U=lr(T.value),ve=lr(T.defaultValue);U!=null&&(U=""+U,U!==g.value&&(g.value=U),T.defaultValue==null&&g.defaultValue!==U&&(g.defaultValue=U)),ve!=null&&(g.defaultValue=""+ve)}function De(g){var T=g.textContent;T===g._wrapperState.initialValue&&T!==""&&T!==null&&(g.value=T)}var Je={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Wt(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,T){return g==null||g==="http://www.w3.org/1999/xhtml"?Wt(T):g==="http://www.w3.org/2000/svg"&&T==="foreignObject"?"http://www.w3.org/1999/xhtml":g}var zt,Ft=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(T,U,ve,Le){MSApp.execUnsafeLocalFunction(function(){return g(T,U,ve,Le)})}:g}(function(g,T){if(g.namespaceURI!==Je.svg||"innerHTML"in g)g.innerHTML=T;else{for(zt=zt||document.createElement("div"),zt.innerHTML="<svg>"+T.valueOf().toString()+"</svg>",T=zt.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;T.firstChild;)g.appendChild(T.firstChild)}});function At(g,T){if(T){var U=g.firstChild;if(U&&U===g.lastChild&&U.nodeType===3){U.nodeValue=T;return}}g.textContent=T}var Yt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ye=["Webkit","ms","Moz","O"];Object.keys(Yt).forEach(function(g){Ye.forEach(function(T){T=T+g.charAt(0).toUpperCase()+g.substring(1),Yt[T]=Yt[g]})});function ce(g,T,U){return T==null||typeof T=="boolean"||T===""?"":U||typeof T!="number"||T===0||Yt.hasOwnProperty(g)&&Yt[g]?(""+T).trim():T+"px"}function pe(g,T){g=g.style;for(var U in T)if(T.hasOwnProperty(U)){var ve=U.indexOf("--")===0,Le=ce(U,T[U],ve);U==="float"&&(U="cssFloat"),ve?g.setProperty(U,Le):g[U]=Le}}var Dt=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,T){if(T){if(Dt[g]&&(T.children!=null||T.dangerouslySetInnerHTML!=null))throw Error(c(137,g));if(T.dangerouslySetInnerHTML!=null){if(T.children!=null)throw Error(c(60));if(!(typeof T.dangerouslySetInnerHTML=="object"&&"__html"in T.dangerouslySetInnerHTML))throw Error(c(61))}if(T.style!=null&&typeof T.style!="object")throw Error(c(62))}}function ft(g,T){if(g.indexOf("-")===-1)return typeof T.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 St=null,Oe=null,wt=null;function ye(g){if(g=ds(g)){if(typeof St!="function")throw Error(c(280));var T=g.stateNode;T&&(T=bs(T),St(g.stateNode,g.type,T))}}function Xe(g){Oe?wt?wt.push(g):wt=[g]:Oe=g}function vt(){if(Oe){var g=Oe,T=wt;if(wt=Oe=null,ye(g),T)for(g=0;g<T.length;g++)ye(T[g])}}function Rt(g,T){return g(T)}function Ne(g,T,U,ve,Le){return g(T,U,ve,Le)}function Dr(){}var Et=Rt,Yr=!1,Jr=!1;function Er(){(Oe!==null||wt!==null)&&(Dr(),vt())}function $r(g,T,U){if(Jr)return g(T,U);Jr=!0;try{return Et(g,T,U)}finally{Jr=!1,Er()}}function _r(g,T){var U=g.stateNode;if(U===null)return null;var ve=bs(U);if(ve===null)return null;U=ve[T];e:switch(T){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(U&&typeof U!="function")throw Error(c(231,T,typeof U));return U}var Hr=!1;if(a)try{var on={};Object.defineProperty(on,"passive",{get:function(){Hr=!0}}),window.addEventListener("test",on,on),window.removeEventListener("test",on,on)}catch(g){Hr=!1}function pn(g,T,U,ve,Le,ot,Bt,nr,Or){var _n=Array.prototype.slice.call(arguments,3);try{T.apply(U,_n)}catch(ki){this.onError(ki)}}var or=!1,kt=null,mt=!1,gt=null,Nt={onError:function(g){or=!0,kt=g}};function Ar(g,T,U,ve,Le,ot,Bt,nr,Or){or=!1,kt=null,pn.apply(Nt,arguments)}function vr(g,T,U,ve,Le,ot,Bt,nr,Or){if(Ar.apply(this,arguments),or){if(or){var _n=kt;or=!1,kt=null}else throw Error(c(198));mt||(mt=!0,gt=_n)}}function at(g){var T=g,U=g;if(g.alternate)for(;T.return;)T=T.return;else{g=T;do T=g,T.flags&1026&&(U=T.return),g=T.return;while(g)}return T.tag===3?U:null}function Nr(g){if(g.tag===13){var T=g.memoizedState;if(T===null&&(g=g.alternate,g!==null&&(T=g.memoizedState)),T!==null)return T.dehydrated}return null}function bn(g){if(at(g)!==g)throw Error(c(188))}function Yn(g){var T=g.alternate;if(!T){if(T=at(g),T===null)throw Error(c(188));return T!==g?null:g}for(var U=g,ve=T;;){var Le=U.return;if(Le===null)break;var ot=Le.alternate;if(ot===null){if(ve=Le.return,ve!==null){U=ve;continue}break}if(Le.child===ot.child){for(ot=Le.child;ot;){if(ot===U)return bn(Le),g;if(ot===ve)return bn(Le),T;ot=ot.sibling}throw Error(c(188))}if(U.return!==ve.return)U=Le,ve=ot;else{for(var Bt=!1,nr=Le.child;nr;){if(nr===U){Bt=!0,U=Le,ve=ot;break}if(nr===ve){Bt=!0,ve=Le,U=ot;break}nr=nr.sibling}if(!Bt){for(nr=ot.child;nr;){if(nr===U){Bt=!0,U=ot,ve=Le;break}if(nr===ve){Bt=!0,ve=ot,U=Le;break}nr=nr.sibling}if(!Bt)throw Error(c(189))}}if(U.alternate!==ve)throw Error(c(190))}if(U.tag!==3)throw Error(c(188));return U.stateNode.current===U?g:T}function mr(g){if(g=Yn(g),!g)return null;for(var T=g;;){if(T.tag===5||T.tag===6)return T;if(T.child)T.child.return=T,T=T.child;else{if(T===g)break;for(;!T.sibling;){if(!T.return||T.return===g)return null;T=T.return}T.sibling.return=T.return,T=T.sibling}}return null}function rn(g,T){for(var U=g.alternate;T!==null;){if(T===g||T===U)return!0;T=T.return}return!1}var gn,Mn,ai,hi,Vi=!1,Yi=[],Ri=null,Ii=null,Ti=null,Ai=new Map,oi=new Map,Hi=[],xi="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 xe(g,T,U,ve,Le){return{blockedOn:g,domEventName:T,eventSystemFlags:U|16,nativeEvent:Le,targetContainers:[ve]}}function Kn(g,T){switch(g){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":Ii=null;break;case"mouseover":case"mouseout":Ti=null;break;case"pointerover":case"pointerout":Ai.delete(T.pointerId);break;case"gotpointercapture":case"lostpointercapture":oi.delete(T.pointerId)}}function qn(g,T,U,ve,Le,ot){return g===null||g.nativeEvent!==ot?(g=xe(T,U,ve,Le,ot),T!==null&&(T=ds(T),T!==null&&Mn(T)),g):(g.eventSystemFlags|=ve,T=g.targetContainers,Le!==null&&T.indexOf(Le)===-1&&T.push(Le),g)}function Jn(g,T,U,ve,Le){switch(T){case"focusin":return Ri=qn(Ri,g,T,U,ve,Le),!0;case"dragenter":return Ii=qn(Ii,g,T,U,ve,Le),!0;case"mouseover":return Ti=qn(Ti,g,T,U,ve,Le),!0;case"pointerover":var ot=Le.pointerId;return Ai.set(ot,qn(Ai.get(ot)||null,g,T,U,ve,Le)),!0;case"gotpointercapture":return ot=Le.pointerId,oi.set(ot,qn(oi.get(ot)||null,g,T,U,ve,Le)),!0}return!1}function oa(g){var T=fs(g.target);if(T!==null){var U=at(T);if(U!==null){if(T=U.tag,T===13){if(T=Nr(U),T!==null){g.blockedOn=T,hi(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){ai(U)})});return}}else if(T===3&&U.stateNode.hydrate){g.blockedOn=U.tag===3?U.stateNode.containerInfo:null;return}}}g.blockedOn=null}function Di(g){if(g.blockedOn!==null)return!1;for(var T=g.targetContainers;0<T.length;){var U=Aa(g.domEventName,g.eventSystemFlags,T[0],g.nativeEvent);if(U!==null)return T=ds(U),T!==null&&Mn(T),g.blockedOn=U,!1;T.shift()}return!0}function Ci(g,T,U){Di(g)&&U.delete(T)}function pi(){for(Vi=!1;0<Yi.length;){var g=Yi[0];if(g.blockedOn!==null){g=ds(g.blockedOn),g!==null&&gn(g);break}for(var T=g.targetContainers;0<T.length;){var U=Aa(g.domEventName,g.eventSystemFlags,T[0],g.nativeEvent);if(U!==null){g.blockedOn=U;break}T.shift()}g.blockedOn===null&&Yi.shift()}Ri!==null&&Di(Ri)&&(Ri=null),Ii!==null&&Di(Ii)&&(Ii=null),Ti!==null&&Di(Ti)&&(Ti=null),Ai.forEach(Ci),oi.forEach(Ci)}function Qt(g,T){g.blockedOn===T&&(g.blockedOn=null,Vi||(Vi=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,pi)))}function dt(g){function T(Le){return Qt(Le,g)}if(0<Yi.length){Qt(Yi[0],g);for(var U=1;U<Yi.length;U++){var ve=Yi[U];ve.blockedOn===g&&(ve.blockedOn=null)}}for(Ri!==null&&Qt(Ri,g),Ii!==null&&Qt(Ii,g),Ti!==null&&Qt(Ti,g),Ai.forEach(T),oi.forEach(T),U=0;U<Hi.length;U++)ve=Hi[U],ve.blockedOn===g&&(ve.blockedOn=null);for(;0<Hi.length&&(U=Hi[0],U.blockedOn===null);)oa(U),U.blockedOn===null&&Hi.shift()}function rt(g,T){var U={};return U[g.toLowerCase()]=T.toLowerCase(),U["Webkit"+g]="webkit"+T,U["Moz"+g]="moz"+T,U}var It={animationend:rt("Animation","AnimationEnd"),animationiteration:rt("Animation","AnimationIteration"),animationstart:rt("Animation","AnimationStart"),transitionend:rt("Transition","TransitionEnd")},ht={},sr={};a&&(sr=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 cr(g){if(ht[g])return ht[g];if(!It[g])return g;var T=It[g],U;for(U in T)if(T.hasOwnProperty(U)&&U in sr)return ht[g]=T[U];return g}var Cr=cr("animationend"),Rr=cr("animationiteration"),He=cr("animationstart"),tt=cr("transitionend"),we=new Map,st=new Map,ar=["abort","abort",Cr,"animationEnd",Rr,"animationIteration",He,"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",tt,"transitionEnd","waiting","waiting"];function kr(g,T){for(var U=0;U<g.length;U+=2){var ve=g[U],Le=g[U+1];Le="on"+(Le[0].toUpperCase()+Le.slice(1)),st.set(ve,T),we.set(ve,Le),h(Le,[ve])}}var Ir=l.unstable_now;Ir();var xr=8;function jr(g){if(1&g)return xr=15,1;if(2&g)return xr=14,2;if(4&g)return xr=13,4;var T=24&g;return T!==0?(xr=12,T):g&32?(xr=11,32):(T=192&g,T!==0?(xr=10,T):g&256?(xr=9,256):(T=3584&g,T!==0?(xr=8,T):g&4096?(xr=7,4096):(T=4186112&g,T!==0?(xr=6,T):(T=62914560&g,T!==0?(xr=5,T):g&67108864?(xr=4,67108864):g&134217728?(xr=3,134217728):(T=805306368&g,T!==0?(xr=2,T):1073741824&g?(xr=1,1073741824):(xr=8,g))))))}function En(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 yr(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 cn(g,T){var U=g.pendingLanes;if(U===0)return xr=0;var ve=0,Le=0,ot=g.expiredLanes,Bt=g.suspendedLanes,nr=g.pingedLanes;if(ot!==0)ve=ot,Le=xr=15;else if(ot=U&134217727,ot!==0){var Or=ot&~Bt;Or!==0?(ve=jr(Or),Le=xr):(nr&=ot,nr!==0&&(ve=jr(nr),Le=xr))}else ot=U&~Bt,ot!==0?(ve=jr(ot),Le=xr):nr!==0&&(ve=jr(nr),Le=xr);if(ve===0)return 0;if(ve=31-gi(ve),ve=U&((0>ve?0:1<<ve)<<1)-1,T!==0&&T!==ve&&!(T&Bt)){if(jr(T),Le<=xr)return T;xr=Le}if(T=g.entangledLanes,T!==0)for(g=g.entanglements,T&=ve;0<T;)U=31-gi(T),Le=1<<U,ve|=g[U],T&=~Le;return ve}function an(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function dn(g,T){switch(g){case 15:return 1;case 14:return 2;case 12:return g=mn(24&~T),g===0?dn(10,T):g;case 10:return g=mn(192&~T),g===0?dn(8,T):g;case 8:return g=mn(3584&~T),g===0&&(g=mn(4186112&~T),g===0&&(g=512)),g;case 2:return T=mn(805306368&~T),T===0&&(T=268435456),T}throw Error(c(358,g))}function mn(g){return g&-g}function Oa(g){for(var T=[],U=0;31>U;U++)T.push(g);return T}function Ei(g,T,U){g.pendingLanes|=T;var ve=T-1;g.suspendedLanes&=ve,g.pingedLanes&=ve,g=g.eventTimes,T=31-gi(T),g[T]=U}var gi=Math.clz32?Math.clz32:Xi,$n=Math.log,Pi=Math.LN2;function Xi(g){return g===0?32:31-($n(g)/Pi|0)|0}var Pa=l.unstable_UserBlockingPriority,qs=l.unstable_runWithPriority,ja=!0;function Ws(g,T,U,ve){Yr||Dr();var Le=as,ot=Yr;Yr=!0;try{Ne(Le,g,T,U,ve)}finally{(Yr=ot)||Er()}}function mo(g,T,U,ve){qs(Pa,as.bind(null,g,T,U,ve))}function as(g,T,U,ve){if(ja){var Le;if((Le=(T&4)===0)&&0<Yi.length&&-1<xi.indexOf(g))g=xe(null,g,T,U,ve),Yi.push(g);else{var ot=Aa(g,T,U,ve);if(ot===null)Le&&Kn(g,ve);else{if(Le){if(-1<xi.indexOf(g)){g=xe(ot,g,T,U,ve),Yi.push(g);return}if(Jn(ot,g,T,U,ve))return;Kn(g,ve)}Wr(g,T,ve,null,U)}}}}function Aa(g,T,U,ve){var Le=Ut(ve);if(Le=fs(Le),Le!==null){var ot=at(Le);if(ot===null)Le=null;else{var Bt=ot.tag;if(Bt===13){if(Le=Nr(ot),Le!==null)return Le;Le=null}else if(Bt===3){if(ot.stateNode.hydrate)return ot.tag===3?ot.stateNode.containerInfo:null;Le=null}else ot!==Le&&(Le=null)}}return Wr(g,T,ve,Le,U),null}var $i=null,Gs=null,_s=null;function Js(){if(_s)return _s;var g,T=Gs,U=T.length,ve,Le="value"in $i?$i.value:$i.textContent,ot=Le.length;for(g=0;g<U&&T[g]===Le[g];g++);var Bt=U-g;for(ve=1;ve<=Bt&&T[U-ve]===Le[ot-ve];ve++);return _s=Le.slice(g,1<ve?1-ve:void 0)}function zi(g){var T=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&T===13&&(g=13)):g=T,g===10&&(g=13),32<=g||g===13?g:0}function Xs(){return!0}function No(){return!1}function Ga(g){function T(U,ve,Le,ot,Bt){this._reactName=U,this._targetInst=Le,this.type=ve,this.nativeEvent=ot,this.target=Bt,this.currentTarget=null;for(var nr in g)g.hasOwnProperty(nr)&&(U=g[nr],this[nr]=U?U(ot):ot[nr]);return this.isDefaultPrevented=(ot.defaultPrevented!=null?ot.defaultPrevented:ot.returnValue===!1)?Xs:No,this.isPropagationStopped=No,this}return i(T.prototype,{preventDefault:function(){this.defaultPrevented=!0;var U=this.nativeEvent;U&&(U.preventDefault?U.preventDefault():typeof U.returnValue!="unknown"&&(U.returnValue=!1),this.isDefaultPrevented=Xs)},stopPropagation:function(){var U=this.nativeEvent;U&&(U.stopPropagation?U.stopPropagation():typeof U.cancelBubble!="unknown"&&(U.cancelBubble=!0),this.isPropagationStopped=Xs)},persist:function(){},isPersistent:Xs}),T}var Fs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ci=Ga(Fs),oo=i({},Fs,{view:0,detail:0}),Fn=Ga(oo),os,Oo,eo,ha=i({},oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:us,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!==eo&&(eo&&g.type==="mousemove"?(os=g.screenX-eo.screenX,Oo=g.screenY-eo.screenY):Oo=os=0,eo=g),os)},movementY:function(g){return"movementY"in g?g.movementY:Oo}}),ns=Ga(ha),Qi=i({},ha,{dataTransfer:0}),js=Ga(Qi),wo=i({},oo,{relatedTarget:0}),Qo=Ga(wo),Uo=i({},Fs,{animationName:0,elapsedTime:0,pseudoElement:0}),uo=Ga(Uo),Eo=i({},Fs,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}}),ko=Ga(Eo),zo=i({},Fs,{data:0}),Ro=Ga(zo),Zo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},eu={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"},_i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function mi(g){var T=this.nativeEvent;return T.getModifierState?T.getModifierState(g):(g=_i[g])?!!T[g]:!1}function us(){return mi}var ms=i({},oo,{key:function(g){if(g.key){var T=Zo[g.key]||g.key;if(T!=="Unidentified")return T}return g.type==="keypress"?(g=zi(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?eu[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:us,charCode:function(g){return g.type==="keypress"?zi(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?zi(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}}),Ka=Ga(ms),Va=i({},ha,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),As=Ga(Va),uu=i({},oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:us}),Ts=Ga(uu),lu=i({},Fs,{propertyName:0,elapsedTime:0,pseudoElement:0}),yu=Ga(lu),Cu=i({},ha,{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}),Fu=Ga(Cu),xl=[9,13,27,32],Ho=a&&"CompositionEvent"in window,Lo=null;a&&"documentMode"in document&&(Lo=document.documentMode);var Mo=a&&"TextEvent"in window&&!Lo,zu=a&&(!Ho||Lo&&8<Lo&&11>=Lo),vo=" ",Zu=!1;function Pu(g,T){switch(g){case"keyup":return xl.indexOf(T.keyCode)!==-1;case"keydown":return T.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cu(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var vu=!1;function to(g,T){switch(g){case"compositionend":return cu(T);case"keypress":return T.which!==32?null:(Zu=!0,vo);case"textInput":return g=T.data,g===vo&&Zu?null:g;default:return null}}function To(g,T){if(vu)return g==="compositionend"||!Ho&&Pu(g,T)?(g=Js(),_s=Gs=$i=null,vu=!1,g):null;switch(g){case"paste":return null;case"keypress":if(!(T.ctrlKey||T.altKey||T.metaKey)||T.ctrlKey&&T.altKey){if(T.char&&1<T.char.length)return T.char;if(T.which)return String.fromCharCode(T.which)}return null;case"compositionend":return zu&&T.locale!=="ko"?null:T.data;default:return null}}var fu={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 Xt(g){var T=g&&g.nodeName&&g.nodeName.toLowerCase();return T==="input"?!!fu[g.type]:T==="textarea"}function fr(g,T,U,ve){Xe(ve),T=ln(T,"onChange"),0<T.length&&(U=new ci("onChange","change",null,U,ve),g.push({event:U,listeners:T}))}var ir=null,dr=null;function Sr(g){Qe(g,0)}function vn(g){var T=Fo(g);if(it(T))return g}function Wn(g,T){if(g==="change")return T}var Dn=!1;if(a){var jn;if(a){var ui="oninput"in document;if(!ui){var ei=document.createElement("div");ei.setAttribute("oninput","return;"),ui=typeof ei.oninput=="function"}jn=ui}else jn=!1;Dn=jn&&(!document.documentMode||9<document.documentMode)}function ur(){ir&&(ir.detachEvent("onpropertychange",Mr),dr=ir=null)}function Mr(g){if(g.propertyName==="value"&&vn(dr)){var T=[];if(fr(T,dr,g,Ut(g)),g=Sr,Yr)g(T);else{Yr=!0;try{Rt(g,T)}finally{Yr=!1,Er()}}}}function Fr(g,T,U){g==="focusin"?(ur(),ir=T,dr=U,ir.attachEvent("onpropertychange",Mr)):g==="focusout"&&ur()}function Sn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return vn(dr)}function Tn(g,T){if(g==="click")return vn(T)}function _t(g,T){if(g==="input"||g==="change")return vn(T)}function Un(g,T){return g===T&&(g!==0||1/g===1/T)||g!==g&&T!==T}var Hn=typeof Object.is=="function"?Object.is:Un,Li=Object.prototype.hasOwnProperty;function ia(g,T){if(Hn(g,T))return!0;if(typeof g!="object"||g===null||typeof T!="object"||T===null)return!1;var U=Object.keys(g),ve=Object.keys(T);if(U.length!==ve.length)return!1;for(ve=0;ve<U.length;ve++)if(!Li.call(T,U[ve])||!Hn(g[U[ve]],T[U[ve]]))return!1;return!0}function Kr(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function ba(g,T){var U=Kr(g);g=0;for(var ve;U;){if(U.nodeType===3){if(ve=g+U.textContent.length,g<=T&&ve>=T)return{node:U,offset:T-g};g=ve}e:{for(;U;){if(U.nextSibling){U=U.nextSibling;break e}U=U.parentNode}U=void 0}U=Kr(U)}}function qi(g,T){return g&&T?g===T?!0:g&&g.nodeType===3?!1:T&&T.nodeType===3?qi(g,T.parentNode):"contains"in g?g.contains(T):g.compareDocumentPosition?!!(g.compareDocumentPosition(T)&16):!1:!1}function Ia(){for(var g=window,T=xt();T instanceof g.HTMLIFrameElement;){try{var U=typeof T.contentWindow.location.href=="string"}catch(ve){U=!1}if(U)g=T.contentWindow;else break;T=xt(g.document)}return T}function lo(g){var T=g&&g.nodeName&&g.nodeName.toLowerCase();return T&&(T==="input"&&(g.type==="text"||g.type==="search"||g.type==="tel"||g.type==="url"||g.type==="password")||T==="textarea"||g.contentEditable==="true")}var Ks=a&&"documentMode"in document&&11>=document.documentMode,Wi=null,co=null,fo=null,vs=!1;function ls(g,T,U){var ve=U.window===U?U.document:U.nodeType===9?U:U.ownerDocument;vs||Wi==null||Wi!==xt(ve)||(ve=Wi,"selectionStart"in ve&&lo(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}),fo&&ia(fo,ve)||(fo=ve,ve=ln(co,"onSelect"),0<ve.length&&(T=new ci("onSelect","select",null,T,U),g.push({event:T,listeners:ve}),T.target=Wi)))}kr("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),kr("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),kr(ar,2);for(var Jo="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),So=0;So<Jo.length;So++)st.set(Jo[So],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 An="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ua=new Set("cancel close invalid load scroll toggle".split(" ").concat(An));function is(g,T,U){var ve=g.type||"unknown-event";g.currentTarget=U,vr(ve,T,void 0,g),g.currentTarget=null}function Qe(g,T){T=(T&4)!==0;for(var U=0;U<g.length;U++){var ve=g[U],Le=ve.event;ve=ve.listeners;e:{var ot=void 0;if(T)for(var Bt=ve.length-1;0<=Bt;Bt--){var nr=ve[Bt],Or=nr.instance,_n=nr.currentTarget;if(nr=nr.listener,Or!==ot&&Le.isPropagationStopped())break e;is(Le,nr,_n),ot=Or}else for(Bt=0;Bt<ve.length;Bt++){if(nr=ve[Bt],Or=nr.instance,_n=nr.currentTarget,nr=nr.listener,Or!==ot&&Le.isPropagationStopped())break e;is(Le,nr,_n),ot=Or}}}if(mt)throw g=gt,mt=!1,gt=null,g}function Re(g,T){var U=Ba(T),ve=g+"__bubble";U.has(ve)||(Br(T,g,2,!1),U.add(ve))}var Lt="_reactListening"+Math.random().toString(36).slice(2);function Ht(g){g[Lt]||(g[Lt]=!0,f.forEach(function(T){Ua.has(T)||pr(T,!1,g,null),pr(T,!0,g,null)}))}function pr(g,T,U,ve){var Le=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,ot=U;if(g==="selectionchange"&&U.nodeType!==9&&(ot=U.ownerDocument),ve!==null&&!T&&Ua.has(g)){if(g!=="scroll")return;Le|=2,ot=ve}var Bt=Ba(ot),nr=g+"__"+(T?"capture":"bubble");Bt.has(nr)||(T&&(Le|=4),Br(ot,g,Le,T),Bt.add(nr))}function Br(g,T,U,ve){var Le=st.get(T);switch(Le===void 0?2:Le){case 0:Le=Ws;break;case 1:Le=mo;break;default:Le=as}U=Le.bind(null,T,U,g),Le=void 0,!Hr||T!=="touchstart"&&T!=="touchmove"&&T!=="wheel"||(Le=!0),ve?Le!==void 0?g.addEventListener(T,U,{capture:!0,passive:Le}):g.addEventListener(T,U,!0):Le!==void 0?g.addEventListener(T,U,{passive:Le}):g.addEventListener(T,U,!1)}function Wr(g,T,U,ve,Le){var ot=ve;if(!(T&1)&&!(T&2)&&ve!==null)e:for(;;){if(ve===null)return;var Bt=ve.tag;if(Bt===3||Bt===4){var nr=ve.stateNode.containerInfo;if(nr===Le||nr.nodeType===8&&nr.parentNode===Le)break;if(Bt===4)for(Bt=ve.return;Bt!==null;){var Or=Bt.tag;if((Or===3||Or===4)&&(Or=Bt.stateNode.containerInfo,Or===Le||Or.nodeType===8&&Or.parentNode===Le))return;Bt=Bt.return}for(;nr!==null;){if(Bt=fs(nr),Bt===null)return;if(Or=Bt.tag,Or===5||Or===6){ve=ot=Bt;continue e}nr=nr.parentNode}}ve=ve.return}$r(function(){var _n=ot,ki=Ut(U),za=[];e:{var Gn=we.get(g);if(Gn!==void 0){var pa=ci,Za=g;switch(g){case"keypress":if(zi(U)===0)break e;case"keydown":case"keyup":pa=Ka;break;case"focusin":Za="focus",pa=Qo;break;case"focusout":Za="blur",pa=Qo;break;case"beforeblur":case"afterblur":pa=Qo;break;case"click":if(U.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":pa=ns;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":pa=js;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":pa=Ts;break;case Cr:case Rr:case He:pa=uo;break;case tt:pa=yu;break;case"scroll":pa=Fn;break;case"wheel":pa=Fu;break;case"copy":case"cut":case"paste":pa=ko;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":pa=As}var Fa=(T&4)!==0,en=!Fa&&g==="scroll",Ur=Fa?Gn!==null?Gn+"Capture":null:Gn;Fa=[];for(var Qr=_n,Pn;Qr!==null;){Pn=Qr;var Nn=Pn.stateNode;if(Pn.tag===5&&Nn!==null&&(Pn=Nn,Ur!==null&&(Nn=_r(Qr,Ur),Nn!=null&&Fa.push(yn(Qr,Nn,Pn)))),en)break;Qr=Qr.return}0<Fa.length&&(Gn=new pa(Gn,Za,null,U,ki),za.push({event:Gn,listeners:Fa}))}}if(!(T&7)){e:{if(Gn=g==="mouseover"||g==="pointerover",pa=g==="mouseout"||g==="pointerout",Gn&&!(T&16)&&(Za=U.relatedTarget||U.fromElement)&&(fs(Za)||Za[Ui]))break e;if((pa||Gn)&&(Gn=ki.window===ki?ki:(Gn=ki.ownerDocument)?Gn.defaultView||Gn.parentWindow:window,pa?(Za=U.relatedTarget||U.toElement,pa=_n,Za=Za?fs(Za):null,Za!==null&&(en=at(Za),Za!==en||Za.tag!==5&&Za.tag!==6)&&(Za=null)):(pa=null,Za=_n),pa!==Za)){if(Fa=ns,Nn="onMouseLeave",Ur="onMouseEnter",Qr="mouse",(g==="pointerout"||g==="pointerover")&&(Fa=As,Nn="onPointerLeave",Ur="onPointerEnter",Qr="pointer"),en=pa==null?Gn:Fo(pa),Pn=Za==null?Gn:Fo(Za),Gn=new Fa(Nn,Qr+"leave",pa,U,ki),Gn.target=en,Gn.relatedTarget=Pn,Nn=null,fs(ki)===_n&&(Fa=new Fa(Ur,Qr+"enter",Za,U,ki),Fa.target=Pn,Fa.relatedTarget=en,Nn=Fa),en=Nn,pa&&Za)t:{for(Fa=pa,Ur=Za,Qr=0,Pn=Fa;Pn;Pn=xn(Pn))Qr++;for(Pn=0,Nn=Ur;Nn;Nn=xn(Nn))Pn++;for(;0<Qr-Pn;)Fa=xn(Fa),Qr--;for(;0<Pn-Qr;)Ur=xn(Ur),Pn--;for(;Qr--;){if(Fa===Ur||Ur!==null&&Fa===Ur.alternate)break t;Fa=xn(Fa),Ur=xn(Ur)}Fa=null}else Fa=null;pa!==null&&ti(za,Gn,pa,Fa,!1),Za!==null&&en!==null&&ti(za,en,Za,Fa,!0)}}e:{if(Gn=_n?Fo(_n):window,pa=Gn.nodeName&&Gn.nodeName.toLowerCase(),pa==="select"||pa==="input"&&Gn.type==="file")var Ya=Wn;else if(Xt(Gn))if(Dn)Ya=_t;else{Ya=Sn;var Ki=Fr}else(pa=Gn.nodeName)&&pa.toLowerCase()==="input"&&(Gn.type==="checkbox"||Gn.type==="radio")&&(Ya=Tn);if(Ya&&(Ya=Ya(g,_n))){fr(za,Ya,U,ki);break e}Ki&&Ki(g,Gn,_n),g==="focusout"&&(Ki=Gn._wrapperState)&&Ki.controlled&&Gn.type==="number"&&Me(Gn,"number",Gn.value)}switch(Ki=_n?Fo(_n):window,g){case"focusin":(Xt(Ki)||Ki.contentEditable==="true")&&(Wi=Ki,co=_n,fo=null);break;case"focusout":fo=co=Wi=null;break;case"mousedown":vs=!0;break;case"contextmenu":case"mouseup":case"dragend":vs=!1,ls(za,U,ki);break;case"selectionchange":if(Ks)break;case"keydown":case"keyup":ls(za,U,ki)}var qa;if(Ho)e:{switch(g){case"compositionstart":var ps="onCompositionStart";break e;case"compositionend":ps="onCompositionEnd";break e;case"compositionupdate":ps="onCompositionUpdate";break e}ps=void 0}else vu?Pu(g,U)&&(ps="onCompositionEnd"):g==="keydown"&&U.keyCode===229&&(ps="onCompositionStart");ps&&(zu&&U.locale!=="ko"&&(vu||ps!=="onCompositionStart"?ps==="onCompositionEnd"&&vu&&(qa=Js()):($i=ki,Gs="value"in $i?$i.value:$i.textContent,vu=!0)),Ki=ln(_n,ps),0<Ki.length&&(ps=new Ro(ps,g,null,U,ki),za.push({event:ps,listeners:Ki}),qa?ps.data=qa:(qa=cu(U),qa!==null&&(ps.data=qa)))),(qa=Mo?to(g,U):To(g,U))&&(_n=ln(_n,"onBeforeInput"),0<_n.length&&(ki=new Ro("onBeforeInput","beforeinput",null,U,ki),za.push({event:ki,listeners:_n}),ki.data=qa))}Qe(za,T)})}function yn(g,T,U){return{instance:g,listener:T,currentTarget:U}}function ln(g,T){for(var U=T+"Capture",ve=[];g!==null;){var Le=g,ot=Le.stateNode;Le.tag===5&&ot!==null&&(Le=ot,ot=_r(g,U),ot!=null&&ve.unshift(yn(g,ot,Le)),ot=_r(g,T),ot!=null&&ve.push(yn(g,ot,Le))),g=g.return}return ve}function xn(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function ti(g,T,U,ve,Le){for(var ot=T._reactName,Bt=[];U!==null&&U!==ve;){var nr=U,Or=nr.alternate,_n=nr.stateNode;if(Or!==null&&Or===ve)break;nr.tag===5&&_n!==null&&(nr=_n,Le?(Or=_r(U,ot),Or!=null&&Bt.unshift(yn(U,Or,nr))):Le||(Or=_r(U,ot),Or!=null&&Bt.push(yn(U,Or,nr)))),U=U.return}Bt.length!==0&&g.push({event:T,listeners:Bt})}function ni(){}var vi=null,ji=null;function ga(g,T){switch(g){case"button":case"input":case"select":case"textarea":return!!T.autoFocus}return!1}function Ji(g,T){return g==="textarea"||g==="option"||g==="noscript"||typeof T.children=="string"||typeof T.children=="number"||typeof T.dangerouslySetInnerHTML=="object"&&T.dangerouslySetInnerHTML!==null&&T.dangerouslySetInnerHTML.__html!=null}var Mi=typeof setTimeout=="function"?setTimeout:void 0,Da=typeof clearTimeout=="function"?clearTimeout:void 0;function Oi(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function Si(g){for(;g!=null;g=g.nextSibling){var T=g.nodeType;if(T===1||T===3)break}return g}function Ea(g){g=g.previousSibling;for(var T=0;g;){if(g.nodeType===8){var U=g.data;if(U==="$"||U==="$!"||U==="$?"){if(T===0)return g;T--}else U==="/$"&&T++}g=g.previousSibling}return null}var Co=0;function Us(g){return{$$typeof:z,toString:g,valueOf:g}}var Xa=Math.random().toString(36).slice(2),Qa="__reactFiber$"+Xa,cs="__reactProps$"+Xa,Ui="__reactContainer$"+Xa,La="__reactEvents$"+Xa;function fs(g){var T=g[Qa];if(T)return T;for(var U=g.parentNode;U;){if(T=U[Ui]||U[Qa]){if(U=T.alternate,T.child!==null||U!==null&&U.child!==null)for(g=Ea(g);g!==null;){if(U=g[Qa])return U;g=Ea(g)}return T}g=U,U=g.parentNode}return null}function ds(g){return g=g[Qa]||g[Ui],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function Fo(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function bs(g){return g[cs]||null}function Ba(g){var T=g[La];return T===void 0&&(T=g[La]=new Set),T}var go=[],Ja=-1;function yo(g){return{current:g}}function Ra(g){0>Ja||(g.current=go[Ja],go[Ja]=null,Ja--)}function hs(g,T){Ja++,go[Ja]=g.current,g.current=T}var ro={},Ma=yo(ro),be=yo(!1),Se=ro;function br(g,T){var U=g.type.contextTypes;if(!U)return ro;var ve=g.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===T)return ve.__reactInternalMemoizedMaskedChildContext;var Le={},ot;for(ot in U)Le[ot]=T[ot];return ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=T,g.__reactInternalMemoizedMaskedChildContext=Le),Le}function tn(g){return g=g.childContextTypes,g!=null}function gr(){Ra(be),Ra(Ma)}function qr(g,T,U){if(Ma.current!==ro)throw Error(c(168));hs(Ma,T),hs(be,U)}function On(g,T,U){var ve=g.stateNode;if(g=T.childContextTypes,typeof ve.getChildContext!="function")return U;ve=ve.getChildContext();for(var Le in ve)if(!(Le in g))throw Error(c(108,Vt(T)||"Unknown",Le));return i({},U,ve)}function ii(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||ro,Se=Ma.current,hs(Ma,g),hs(be,be.current),!0}function Gi(g,T,U){var ve=g.stateNode;if(!ve)throw Error(c(169));U?(g=On(g,T,Se),ve.__reactInternalMemoizedMergedChildContext=g,Ra(be),Ra(Ma),hs(Ma,g)):Ra(be),hs(be,U)}var zn=null,Zn=null,wn=l.unstable_runWithPriority,ua=l.unstable_scheduleCallback,es=l.unstable_cancelCallback,Wo=l.unstable_shouldYield,bo=l.unstable_requestPaint,Iu=l.unstable_now,Zl=l.unstable_getCurrentPriorityLevel,wl=l.unstable_ImmediatePriority,El=l.unstable_UserBlockingPriority,Uc=l.unstable_NormalPriority,Hu=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,Z={},Y=bo!==void 0?bo:function(){},ne=null,he=null,Te=!1,qe=Iu(),Tt=1e4>qe?Iu:function(){return Iu()-qe};function $t(){switch(Zl()){case wl:return 99;case El:return 98;case Uc:return 97;case Hu:return 96;case Ve:return 95;default:throw Error(c(332))}}function rr(g){switch(g){case 99:return wl;case 98:return El;case 97:return Uc;case 96:return Hu;case 95:return Ve;default:throw Error(c(332))}}function Tr(g,T){return g=rr(g),wn(g,T)}function Gr(g,T,U){return g=rr(g),ua(g,T,U)}function fn(){if(he!==null){var g=he;he=null,es(g)}Cn()}function Cn(){if(!Te&&ne!==null){Te=!0;var g=0;try{var T=ne;Tr(99,function(){for(;g<T.length;g++){var U=T[g];do U=U(!0);while(U!==null)}}),ne=null}catch(U){throw ne!==null&&(ne=ne.slice(g+1)),ua(wl,fn),U}finally{Te=!1}}}var Bn=N.ReactCurrentBatchConfig;function Xn(g,T){if(g&&g.defaultProps){T=i({},T),g=g.defaultProps;for(var U in g)T[U]===void 0&&(T[U]=g[U]);return T}return T}var Fi=yo(null),Zi=null,aa=null,Sa=null;function Cs(){Sa=aa=Zi=null}function Ps(g){var T=Fi.current;Ra(Fi),g.type._context._currentValue=T}function Ds(g,T){for(;g!==null;){var U=g.alternate;if((g.childLanes&T)===T){if(U===null||(U.childLanes&T)===T)break;U.childLanes|=T}else g.childLanes|=T,U!==null&&(U.childLanes|=T);g=g.return}}function Os(g,T){Zi=g,Sa=aa=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&T&&(Lu=!0),g.firstContext=null)}function ka(g,T){if(Sa!==g&&T!==!1&&T!==0)if((typeof T!="number"||T===1073741823)&&(Sa=g,T=1073741823),T={context:g,observedBits:T,next:null},aa===null){if(Zi===null)throw Error(c(308));aa=T,Zi.dependencies={lanes:0,firstContext:T,responders:null}}else aa=aa.next=T;return g._currentValue}var no=!1;function xs(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Pr(g,T){g=g.updateQueue,T.updateQueue===g&&(T.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function Po(g,T){return{eventTime:g,lane:T,tag:0,payload:null,callback:null,next:null}}function Go(g,T){if(g=g.updateQueue,g!==null){g=g.shared;var U=g.pending;U===null?T.next=T:(T.next=U.next,U.next=T),g.pending=T}}function bu(g,T){var U=g.updateQueue,ve=g.alternate;if(ve!==null&&(ve=ve.updateQueue,U===ve)){var Le=null,ot=null;if(U=U.firstBaseUpdate,U!==null){do{var Bt={eventTime:U.eventTime,lane:U.lane,tag:U.tag,payload:U.payload,callback:U.callback,next:null};ot===null?Le=ot=Bt:ot=ot.next=Bt,U=U.next}while(U!==null);ot===null?Le=ot=T:ot=ot.next=T}else Le=ot=T;U={baseState:ve.baseState,firstBaseUpdate:Le,lastBaseUpdate:ot,shared:ve.shared,effects:ve.effects},g.updateQueue=U;return}g=U.lastBaseUpdate,g===null?U.firstBaseUpdate=T:g.next=T,U.lastBaseUpdate=T}function Bs(g,T,U,ve){var Le=g.updateQueue;no=!1;var ot=Le.firstBaseUpdate,Bt=Le.lastBaseUpdate,nr=Le.shared.pending;if(nr!==null){Le.shared.pending=null;var Or=nr,_n=Or.next;Or.next=null,Bt===null?ot=_n:Bt.next=_n,Bt=Or;var ki=g.alternate;if(ki!==null){ki=ki.updateQueue;var za=ki.lastBaseUpdate;za!==Bt&&(za===null?ki.firstBaseUpdate=_n:za.next=_n,ki.lastBaseUpdate=Or)}}if(ot!==null){za=Le.baseState,Bt=0,ki=_n=Or=null;do{nr=ot.lane;var Gn=ot.eventTime;if((ve&nr)===nr){ki!==null&&(ki=ki.next={eventTime:Gn,lane:0,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null});e:{var pa=g,Za=ot;switch(nr=T,Gn=U,Za.tag){case 1:if(pa=Za.payload,typeof pa=="function"){za=pa.call(Gn,za,nr);break e}za=pa;break e;case 3:pa.flags=pa.flags&-4097|64;case 0:if(pa=Za.payload,nr=typeof pa=="function"?pa.call(Gn,za,nr):pa,nr==null)break e;za=i({},za,nr);break e;case 2:no=!0}}ot.callback!==null&&(g.flags|=32,nr=Le.effects,nr===null?Le.effects=[ot]:nr.push(ot))}else Gn={eventTime:Gn,lane:nr,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null},ki===null?(_n=ki=Gn,Or=za):ki=ki.next=Gn,Bt|=nr;if(ot=ot.next,ot===null){if(nr=Le.shared.pending,nr===null)break;ot=nr.next,nr.next=null,Le.lastBaseUpdate=nr,Le.shared.pending=null}}while(!0);ki===null&&(Or=za),Le.baseState=Or,Le.firstBaseUpdate=_n,Le.lastBaseUpdate=ki,ze|=Bt,g.lanes=Bt,g.memoizedState=za}}function Ko(g,T,U){if(g=T.effects,T.effects=null,g!==null)for(T=0;T<g.length;T++){var ve=g[T],Le=ve.callback;if(Le!==null){if(ve.callback=null,ve=U,typeof Le!="function")throw Error(c(191,Le));Le.call(ve)}}}var Du=new r.Component().refs;function cc(g,T,U,ve){T=g.memoizedState,U=U(ve,T),U=U==null?T:i({},T,U),g.memoizedState=U,g.lanes===0&&(g.updateQueue.baseState=U)}var Sl={isMounted:function(g){return(g=g._reactInternals)?at(g)===g:!1},enqueueSetState:function(g,T,U){g=g._reactInternals;var ve=_u(),Le=Il(g),ot=Po(ve,Le);ot.payload=T,U!=null&&(ot.callback=U),Go(g,ot),ic(g,Le,ve)},enqueueReplaceState:function(g,T,U){g=g._reactInternals;var ve=_u(),Le=Il(g),ot=Po(ve,Le);ot.tag=1,ot.payload=T,U!=null&&(ot.callback=U),Go(g,ot),ic(g,Le,ve)},enqueueForceUpdate:function(g,T){g=g._reactInternals;var U=_u(),ve=Il(g),Le=Po(U,ve);Le.tag=2,T!=null&&(Le.callback=T),Go(g,Le),ic(g,ve,U)}};function ss(g,T,U,ve,Le,ot,Bt){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ve,ot,Bt):T.prototype&&T.prototype.isPureReactComponent?!ia(U,ve)||!ia(Le,ot):!0}function ll(g,T,U){var ve=!1,Le=ro,ot=T.contextType;return typeof ot=="object"&&ot!==null?ot=ka(ot):(Le=tn(T)?Se:Ma.current,ve=T.contextTypes,ot=(ve=ve!=null)?br(g,Le):ro),T=new T(U,ot),g.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,T.updater=Sl,g.stateNode=T,T._reactInternals=g,ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=Le,g.__reactInternalMemoizedMaskedChildContext=ot),T}function Ns(g,T,U,ve){g=T.state,typeof T.componentWillReceiveProps=="function"&&T.componentWillReceiveProps(U,ve),typeof T.UNSAFE_componentWillReceiveProps=="function"&&T.UNSAFE_componentWillReceiveProps(U,ve),T.state!==g&&Sl.enqueueReplaceState(T,T.state,null)}function Wu(g,T,U,ve){var Le=g.stateNode;Le.props=U,Le.state=g.memoizedState,Le.refs=Du,xs(g);var ot=T.contextType;typeof ot=="object"&&ot!==null?Le.context=ka(ot):(ot=tn(T)?Se:Ma.current,Le.context=br(g,ot)),Bs(g,U,Le,ve),Le.state=g.memoizedState,ot=T.getDerivedStateFromProps,typeof ot=="function"&&(cc(g,T,ot,U),Le.state=g.memoizedState),typeof T.getDerivedStateFromProps=="function"||typeof Le.getSnapshotBeforeUpdate=="function"||typeof Le.UNSAFE_componentWillMount!="function"&&typeof Le.componentWillMount!="function"||(T=Le.state,typeof Le.componentWillMount=="function"&&Le.componentWillMount(),typeof Le.UNSAFE_componentWillMount=="function"&&Le.UNSAFE_componentWillMount(),T!==Le.state&&Sl.enqueueReplaceState(Le,Le.state,null),Bs(g,U,Le,ve),Le.state=g.memoizedState),typeof Le.componentDidMount=="function"&&(g.flags|=4)}var el=Array.isArray;function Vo(g,T,U){if(g=U.ref,g!==null&&typeof g!="function"&&typeof g!="object"){if(U._owner){if(U=U._owner,U){if(U.tag!==1)throw Error(c(309));var ve=U.stateNode}if(!ve)throw Error(c(147,g));var Le=""+g;return T!==null&&T.ref!==null&&typeof T.ref=="function"&&T.ref._stringRef===Le?T.ref:(T=function(ot){var Bt=ve.refs;Bt===Du&&(Bt=ve.refs={}),ot===null?delete Bt[Le]:Bt[Le]=ot},T._stringRef=Le,T)}if(typeof g!="string")throw Error(c(284));if(!U._owner)throw Error(c(290,g))}return g}function zs(g,T){if(g.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(T)==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":T))}function fc(g){function T(en,Ur){if(g){var Qr=en.lastEffect;Qr!==null?(Qr.nextEffect=Ur,en.lastEffect=Ur):en.firstEffect=en.lastEffect=Ur,Ur.nextEffect=null,Ur.flags=8}}function U(en,Ur){if(!g)return null;for(;Ur!==null;)T(en,Ur),Ur=Ur.sibling;return null}function ve(en,Ur){for(en=new Map;Ur!==null;)Ur.key!==null?en.set(Ur.key,Ur):en.set(Ur.index,Ur),Ur=Ur.sibling;return en}function Le(en,Ur){return en=Dl(en,Ur),en.index=0,en.sibling=null,en}function ot(en,Ur,Qr){return en.index=Qr,g?(Qr=en.alternate,Qr!==null?(Qr=Qr.index,Qr<Ur?(en.flags=2,Ur):Qr):(en.flags=2,Ur)):Ur}function Bt(en){return g&&en.alternate===null&&(en.flags=2),en}function nr(en,Ur,Qr,Pn){return Ur===null||Ur.tag!==6?(Ur=Af(Qr,en.mode,Pn),Ur.return=en,Ur):(Ur=Le(Ur,Qr),Ur.return=en,Ur)}function Or(en,Ur,Qr,Pn){return Ur!==null&&Ur.elementType===Qr.type?(Pn=Le(Ur,Qr.props),Pn.ref=Vo(en,Ur,Qr),Pn.return=en,Pn):(Pn=Fc(Qr.type,Qr.key,Qr.props,null,en.mode,Pn),Pn.ref=Vo(en,Ur,Qr),Pn.return=en,Pn)}function _n(en,Ur,Qr,Pn){return Ur===null||Ur.tag!==4||Ur.stateNode.containerInfo!==Qr.containerInfo||Ur.stateNode.implementation!==Qr.implementation?(Ur=sf(Qr,en.mode,Pn),Ur.return=en,Ur):(Ur=Le(Ur,Qr.children||[]),Ur.return=en,Ur)}function ki(en,Ur,Qr,Pn,Nn){return Ur===null||Ur.tag!==7?(Ur=au(Qr,en.mode,Pn,Nn),Ur.return=en,Ur):(Ur=Le(Ur,Qr),Ur.return=en,Ur)}function za(en,Ur,Qr){if(typeof Ur=="string"||typeof Ur=="number")return Ur=Af(""+Ur,en.mode,Qr),Ur.return=en,Ur;if(typeof Ur=="object"&&Ur!==null){switch(Ur.$$typeof){case V:return Qr=Fc(Ur.type,Ur.key,Ur.props,null,en.mode,Qr),Qr.ref=Vo(en,null,Ur),Qr.return=en,Qr;case W:return Ur=sf(Ur,en.mode,Qr),Ur.return=en,Ur}if(el(Ur)||We(Ur))return Ur=au(Ur,en.mode,Qr,null),Ur.return=en,Ur;zs(en,Ur)}return null}function Gn(en,Ur,Qr,Pn){var Nn=Ur!==null?Ur.key:null;if(typeof Qr=="string"||typeof Qr=="number")return Nn!==null?null:nr(en,Ur,""+Qr,Pn);if(typeof Qr=="object"&&Qr!==null){switch(Qr.$$typeof){case V:return Qr.key===Nn?Qr.type===H?ki(en,Ur,Qr.props.children,Pn,Nn):Or(en,Ur,Qr,Pn):null;case W:return Qr.key===Nn?_n(en,Ur,Qr,Pn):null}if(el(Qr)||We(Qr))return Nn!==null?null:ki(en,Ur,Qr,Pn,null);zs(en,Qr)}return null}function pa(en,Ur,Qr,Pn,Nn){if(typeof Pn=="string"||typeof Pn=="number")return en=en.get(Qr)||null,nr(Ur,en,""+Pn,Nn);if(typeof Pn=="object"&&Pn!==null){switch(Pn.$$typeof){case V:return en=en.get(Pn.key===null?Qr:Pn.key)||null,Pn.type===H?ki(Ur,en,Pn.props.children,Nn,Pn.key):Or(Ur,en,Pn,Nn);case W:return en=en.get(Pn.key===null?Qr:Pn.key)||null,_n(Ur,en,Pn,Nn)}if(el(Pn)||We(Pn))return en=en.get(Qr)||null,ki(Ur,en,Pn,Nn,null);zs(Ur,Pn)}return null}function Za(en,Ur,Qr,Pn){for(var Nn=null,Ya=null,Ki=Ur,qa=Ur=0,ps=null;Ki!==null&&qa<Qr.length;qa++){Ki.index>qa?(ps=Ki,Ki=null):ps=Ki.sibling;var rs=Gn(en,Ki,Qr[qa],Pn);if(rs===null){Ki===null&&(Ki=ps);break}g&&Ki&&rs.alternate===null&&T(en,Ki),Ur=ot(rs,Ur,qa),Ya===null?Nn=rs:Ya.sibling=rs,Ya=rs,Ki=ps}if(qa===Qr.length)return U(en,Ki),Nn;if(Ki===null){for(;qa<Qr.length;qa++)Ki=za(en,Qr[qa],Pn),Ki!==null&&(Ur=ot(Ki,Ur,qa),Ya===null?Nn=Ki:Ya.sibling=Ki,Ya=Ki);return Nn}for(Ki=ve(en,Ki);qa<Qr.length;qa++)ps=pa(Ki,en,qa,Qr[qa],Pn),ps!==null&&(g&&ps.alternate!==null&&Ki.delete(ps.key===null?qa:ps.key),Ur=ot(ps,Ur,qa),Ya===null?Nn=ps:Ya.sibling=ps,Ya=ps);return g&&Ki.forEach(function(Ul){return T(en,Ul)}),Nn}function Fa(en,Ur,Qr,Pn){var Nn=We(Qr);if(typeof Nn!="function")throw Error(c(150));if(Qr=Nn.call(Qr),Qr==null)throw Error(c(151));for(var Ya=Nn=null,Ki=Ur,qa=Ur=0,ps=null,rs=Qr.next();Ki!==null&&!rs.done;qa++,rs=Qr.next()){Ki.index>qa?(ps=Ki,Ki=null):ps=Ki.sibling;var Ul=Gn(en,Ki,rs.value,Pn);if(Ul===null){Ki===null&&(Ki=ps);break}g&&Ki&&Ul.alternate===null&&T(en,Ki),Ur=ot(Ul,Ur,qa),Ya===null?Nn=Ul:Ya.sibling=Ul,Ya=Ul,Ki=ps}if(rs.done)return U(en,Ki),Nn;if(Ki===null){for(;!rs.done;qa++,rs=Qr.next())rs=za(en,rs.value,Pn),rs!==null&&(Ur=ot(rs,Ur,qa),Ya===null?Nn=rs:Ya.sibling=rs,Ya=rs);return Nn}for(Ki=ve(en,Ki);!rs.done;qa++,rs=Qr.next())rs=pa(Ki,en,qa,rs.value,Pn),rs!==null&&(g&&rs.alternate!==null&&Ki.delete(rs.key===null?qa:rs.key),Ur=ot(rs,Ur,qa),Ya===null?Nn=rs:Ya.sibling=rs,Ya=rs);return g&&Ki.forEach(function(sd){return T(en,sd)}),Nn}return function(en,Ur,Qr,Pn){var Nn=typeof Qr=="object"&&Qr!==null&&Qr.type===H&&Qr.key===null;Nn&&(Qr=Qr.props.children);var Ya=typeof Qr=="object"&&Qr!==null;if(Ya)switch(Qr.$$typeof){case V:e:{for(Ya=Qr.key,Nn=Ur;Nn!==null;){if(Nn.key===Ya){switch(Nn.tag){case 7:if(Qr.type===H){U(en,Nn.sibling),Ur=Le(Nn,Qr.props.children),Ur.return=en,en=Ur;break e}break;default:if(Nn.elementType===Qr.type){U(en,Nn.sibling),Ur=Le(Nn,Qr.props),Ur.ref=Vo(en,Nn,Qr),Ur.return=en,en=Ur;break e}}U(en,Nn);break}else T(en,Nn);Nn=Nn.sibling}Qr.type===H?(Ur=au(Qr.props.children,en.mode,Pn,Qr.key),Ur.return=en,en=Ur):(Pn=Fc(Qr.type,Qr.key,Qr.props,null,en.mode,Pn),Pn.ref=Vo(en,Ur,Qr),Pn.return=en,en=Pn)}return Bt(en);case W:e:{for(Nn=Qr.key;Ur!==null;){if(Ur.key===Nn)if(Ur.tag===4&&Ur.stateNode.containerInfo===Qr.containerInfo&&Ur.stateNode.implementation===Qr.implementation){U(en,Ur.sibling),Ur=Le(Ur,Qr.children||[]),Ur.return=en,en=Ur;break e}else{U(en,Ur);break}else T(en,Ur);Ur=Ur.sibling}Ur=sf(Qr,en.mode,Pn),Ur.return=en,en=Ur}return Bt(en)}if(typeof Qr=="string"||typeof Qr=="number")return Qr=""+Qr,Ur!==null&&Ur.tag===6?(U(en,Ur.sibling),Ur=Le(Ur,Qr),Ur.return=en,en=Ur):(U(en,Ur),Ur=Af(Qr,en.mode,Pn),Ur.return=en,en=Ur),Bt(en);if(el(Qr))return Za(en,Ur,Qr,Pn);if(We(Qr))return Fa(en,Ur,Qr,Pn);if(Ya&&zs(en,Qr),typeof Qr=="undefined"&&!Nn)switch(en.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Vt(en.type)||"Component"))}return U(en,Ur)}}var xu=fc(!0),Hl=fc(!1),Io={},tu=yo(Io),cl=yo(Io),Wl=yo(Io);function ru(g){if(g===Io)throw Error(c(174));return g}function Gl(g,T){switch(hs(Wl,T),hs(cl,g),hs(tu,Io),g=T.nodeType,g){case 9:case 11:T=(T=T.documentElement)?T.namespaceURI:Ot(null,"");break;default:g=g===8?T.parentNode:T,T=g.namespaceURI||null,g=g.tagName,T=Ot(T,g)}Ra(tu),hs(tu,T)}function Kl(){Ra(tu),Ra(cl),Ra(Wl)}function Vl(g){ru(Wl.current);var T=ru(tu.current),U=Ot(T,g.type);T!==U&&(hs(cl,g),hs(tu,U))}function dc(g){cl.current===g&&(Ra(tu),Ra(cl))}var io=yo(0);function zc(g){for(var T=g;T!==null;){if(T.tag===13){var U=T.memoizedState;if(U!==null&&(U=U.dehydrated,U===null||U.data==="$?"||U.data==="$!"))return T}else if(T.tag===19&&T.memoizedProps.revealOrder!==void 0){if(T.flags&64)return T}else if(T.child!==null){T.child.return=T,T=T.child;continue}if(T===g)break;for(;T.sibling===null;){if(T.return===null||T.return===g)return null;T=T.return}T.sibling.return=T.return,T=T.sibling}return null}var Bu=null,fl=null,wu=!1;function Zc(g,T){var U=iu(5,null,null,0);U.elementType="DELETED",U.type="DELETED",U.stateNode=T,U.return=g,U.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=U,g.lastEffect=U):g.firstEffect=g.lastEffect=U}function cf(g,T){switch(g.tag){case 5:var U=g.type;return T=T.nodeType!==1||U.toLowerCase()!==T.nodeName.toLowerCase()?null:T,T!==null?(g.stateNode=T,!0):!1;case 6:return T=g.pendingProps===""||T.nodeType!==3?null:T,T!==null?(g.stateNode=T,!0):!1;case 13:return!1;default:return!1}}function fi(g){if(wu){var T=fl;if(T){var U=T;if(!cf(g,T)){if(T=Si(U.nextSibling),!T||!cf(g,T)){g.flags=g.flags&-1025|2,wu=!1,Bu=g;return}Zc(Bu,U)}Bu=g,fl=Si(T.firstChild)}else g.flags=g.flags&-1025|2,wu=!1,Bu=g}}function ff(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;Bu=g}function kl(g){if(g!==Bu)return!1;if(!wu)return ff(g),wu=!0,!1;var T=g.type;if(g.tag!==5||T!=="head"&&T!=="body"&&!Ji(T,g.memoizedProps))for(T=fl;T;)Zc(g,T),T=Si(T.nextSibling);if(ff(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));e:{for(g=g.nextSibling,T=0;g;){if(g.nodeType===8){var U=g.data;if(U==="/$"){if(T===0){fl=Si(g.nextSibling);break e}T--}else U!=="$"&&U!=="$!"&&U!=="$?"||T++}g=g.nextSibling}fl=null}}else fl=Bu?Si(g.stateNode.nextSibling):null;return!0}function hc(){fl=Bu=null,wu=!1}var Rl=[];function Hc(){for(var g=0;g<Rl.length;g++)Rl[g]._workInProgressVersionPrimary=null;Rl.length=0}var Ll=N.ReactCurrentDispatcher,Ou=N.ReactCurrentBatchConfig,Yl=0,ts=null,$o=null,gu=null,ql=!1,Ml=!1;function ku(){throw Error(c(321))}function du(g,T){if(T===null)return!1;for(var U=0;U<T.length&&U<g.length;U++)if(!Hn(g[U],T[U]))return!1;return!0}function If(g,T,U,ve,Le,ot){if(Yl=ot,ts=T,T.memoizedState=null,T.updateQueue=null,T.lanes=0,Ll.current=g===null||g.memoizedState===null?_f:_c,g=U(ve,Le),Ml){ot=0;do{if(Ml=!1,!(25>ot))throw Error(c(301));ot+=1,gu=$o=null,T.updateQueue=null,Ll.current=mf,g=U(ve,Le)}while(Ml)}if(Ll.current=pc,T=$o!==null&&$o.next!==null,Yl=0,gu=$o=ts=null,ql=!1,T)throw Error(c(300));return g}function dl(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gu===null?ts.memoizedState=gu=g:gu=gu.next=g,gu}function Yo(){if($o===null){var g=ts.alternate;g=g!==null?g.memoizedState:null}else g=$o.next;var T=gu===null?ts.memoizedState:gu.next;if(T!==null)gu=T,$o=g;else{if(g===null)throw Error(c(310));$o=g,g={memoizedState:$o.memoizedState,baseState:$o.baseState,baseQueue:$o.baseQueue,queue:$o.queue,next:null},gu===null?ts.memoizedState=gu=g:gu=gu.next=g}return gu}function tl(g,T){return typeof T=="function"?T(g):T}function Tc(g){var T=Yo(),U=T.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ve=$o,Le=ve.baseQueue,ot=U.pending;if(ot!==null){if(Le!==null){var Bt=Le.next;Le.next=ot.next,ot.next=Bt}ve.baseQueue=Le=ot,U.pending=null}if(Le!==null){Le=Le.next,ve=ve.baseState;var nr=Bt=ot=null,Or=Le;do{var _n=Or.lane;if((Yl&_n)===_n)nr!==null&&(nr=nr.next={lane:0,action:Or.action,eagerReducer:Or.eagerReducer,eagerState:Or.eagerState,next:null}),ve=Or.eagerReducer===g?Or.eagerState:g(ve,Or.action);else{var ki={lane:_n,action:Or.action,eagerReducer:Or.eagerReducer,eagerState:Or.eagerState,next:null};nr===null?(Bt=nr=ki,ot=ve):nr=nr.next=ki,ts.lanes|=_n,ze|=_n}Or=Or.next}while(Or!==null&&Or!==Le);nr===null?ot=ve:nr.next=Bt,Hn(ve,T.memoizedState)||(Lu=!0),T.memoizedState=ve,T.baseState=ot,T.baseQueue=nr,U.lastRenderedState=ve}return[T.memoizedState,U.dispatch]}function Xl(g){var T=Yo(),U=T.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ve=U.dispatch,Le=U.pending,ot=T.memoizedState;if(Le!==null){U.pending=null;var Bt=Le=Le.next;do ot=g(ot,Bt.action),Bt=Bt.next;while(Bt!==Le);Hn(ot,T.memoizedState)||(Lu=!0),T.memoizedState=ot,T.baseQueue===null&&(T.baseState=ot),U.lastRenderedState=ot}return[ot,ve]}function Ta(g,T,U){var ve=T._getVersion;ve=ve(T._source);var Le=T._workInProgressVersionPrimary;if(Le!==null?g=Le===ve:(g=g.mutableReadLanes,(g=(Yl&g)===g)&&(T._workInProgressVersionPrimary=ve,Rl.push(T))),g)return U(T._source);throw Rl.push(T),Error(c(350))}function df(g,T,U,ve){var Le=po;if(Le===null)throw Error(c(349));var ot=T._getVersion,Bt=ot(T._source),nr=Ll.current,Or=nr.useState(function(){return Ta(Le,T,U)}),_n=Or[1],ki=Or[0];Or=gu;var za=g.memoizedState,Gn=za.refs,pa=Gn.getSnapshot,Za=za.source;za=za.subscribe;var Fa=ts;return g.memoizedState={refs:Gn,source:T,subscribe:ve},nr.useEffect(function(){Gn.getSnapshot=U,Gn.setSnapshot=_n;var en=ot(T._source);if(!Hn(Bt,en)){en=U(T._source),Hn(ki,en)||(_n(en),en=Il(Fa),Le.mutableReadLanes|=en&Le.pendingLanes),en=Le.mutableReadLanes,Le.entangledLanes|=en;for(var Ur=Le.entanglements,Qr=en;0<Qr;){var Pn=31-gi(Qr),Nn=1<<Pn;Ur[Pn]|=en,Qr&=~Nn}}},[U,T,ve]),nr.useEffect(function(){return ve(T._source,function(){var en=Gn.getSnapshot,Ur=Gn.setSnapshot;try{Ur(en(T._source));var Qr=Il(Fa);Le.mutableReadLanes|=Qr&Le.pendingLanes}catch(Pn){Ur(function(){throw Pn})}})},[T,ve]),Hn(pa,U)&&Hn(Za,T)&&Hn(za,ve)||(g={pending:null,dispatch:null,lastRenderedReducer:tl,lastRenderedState:ki},g.dispatch=_n=Yc.bind(null,ts,g),Or.queue=g,Or.baseQueue=null,ki=Ta(Le,T,U),Or.memoizedState=Or.baseState=ki),ki}function hf(g,T,U){var ve=Yo();return df(ve,g,T,U)}function hl(g){var T=dl();return typeof g=="function"&&(g=g()),T.memoizedState=T.baseState=g,g=T.queue={pending:null,dispatch:null,lastRenderedReducer:tl,lastRenderedState:g},g=g.dispatch=Yc.bind(null,ts,g),[T.memoizedState,g]}function pl(g,T,U,ve){return g={tag:g,create:T,destroy:U,deps:ve,next:null},T=ts.updateQueue,T===null?(T={lastEffect:null},ts.updateQueue=T,T.lastEffect=g.next=g):(U=T.lastEffect,U===null?T.lastEffect=g.next=g:(ve=U.next,U.next=g,g.next=ve,T.lastEffect=g)),g}function Uf(g){var T=dl();return g={current:g},T.memoizedState=g}function Wc(){return Yo().memoizedState}function Ru(g,T,U,ve){var Le=dl();ts.flags|=g,Le.memoizedState=pl(1|T,U,void 0,ve===void 0?null:ve)}function Gc(g,T,U,ve){var Le=Yo();ve=ve===void 0?null:ve;var ot=void 0;if($o!==null){var Bt=$o.memoizedState;if(ot=Bt.destroy,ve!==null&&du(ve,Bt.deps)){pl(T,U,ot,ve);return}}ts.flags|=g,Le.memoizedState=pl(1|T,U,ot,ve)}function Cc(g,T){return Ru(516,4,g,T)}function Ql(g,T){return Gc(516,4,g,T)}function Kc(g,T){return Gc(4,2,g,T)}function Pc(g,T){if(typeof T=="function")return g=g(),T(g),function(){T(null)};if(T!=null)return g=g(),T.current=g,function(){T.current=null}}function Nu(g,T,U){return U=U!=null?U.concat([g]):null,Gc(4,2,Pc.bind(null,T,g),U)}function _l(){}function Ic(g,T){var U=Yo();T=T===void 0?null:T;var ve=U.memoizedState;return ve!==null&&T!==null&&du(T,ve[1])?ve[0]:(U.memoizedState=[g,T],g)}function pf(g,T){var U=Yo();T=T===void 0?null:T;var ve=U.memoizedState;return ve!==null&&T!==null&&du(T,ve[1])?ve[0]:(g=g(),U.memoizedState=[g,T],g)}function Vc(g,T){var U=$t();Tr(98>U?98:U,function(){g(!0)}),Tr(97<U?97:U,function(){var ve=Ou.transition;Ou.transition=1;try{g(!1),T()}finally{Ou.transition=ve}})}function Yc(g,T,U){var ve=_u(),Le=Il(g),ot={lane:Le,action:U,eagerReducer:null,eagerState:null,next:null},Bt=T.pending;if(Bt===null?ot.next=ot:(ot.next=Bt.next,Bt.next=ot),T.pending=ot,Bt=g.alternate,g===ts||Bt!==null&&Bt===ts)Ml=ql=!0;else{if(g.lanes===0&&(Bt===null||Bt.lanes===0)&&(Bt=T.lastRenderedReducer,Bt!==null))try{var nr=T.lastRenderedState,Or=Bt(nr,U);if(ot.eagerReducer=Bt,ot.eagerState=Or,Hn(Or,nr))return}catch(_n){}finally{}ic(g,Le,ve)}}var pc={readContext:ka,useCallback:ku,useContext:ku,useEffect:ku,useImperativeHandle:ku,useLayoutEffect:ku,useMemo:ku,useReducer:ku,useRef:ku,useState:ku,useDebugValue:ku,useDeferredValue:ku,useTransition:ku,useMutableSource:ku,useOpaqueIdentifier:ku,unstable_isNewReconciler:!1},_f={readContext:ka,useCallback:function(g,T){return dl().memoizedState=[g,T===void 0?null:T],g},useContext:ka,useEffect:Cc,useImperativeHandle:function(g,T,U){return U=U!=null?U.concat([g]):null,Ru(4,2,Pc.bind(null,T,g),U)},useLayoutEffect:function(g,T){return Ru(4,2,g,T)},useMemo:function(g,T){var U=dl();return T=T===void 0?null:T,g=g(),U.memoizedState=[g,T],g},useReducer:function(g,T,U){var ve=dl();return T=U!==void 0?U(T):T,ve.memoizedState=ve.baseState=T,g=ve.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:T},g=g.dispatch=Yc.bind(null,ts,g),[ve.memoizedState,g]},useRef:Uf,useState:hl,useDebugValue:_l,useDeferredValue:function(g){var T=hl(g),U=T[0],ve=T[1];return Cc(function(){var Le=Ou.transition;Ou.transition=1;try{ve(g)}finally{Ou.transition=Le}},[g]),U},useTransition:function(){var g=hl(!1),T=g[0];return g=Vc.bind(null,g[1]),Uf(g),[g,T]},useMutableSource:function(g,T,U){var ve=dl();return ve.memoizedState={refs:{getSnapshot:T,setSnapshot:null},source:g,subscribe:U},df(ve,g,T,U)},useOpaqueIdentifier:function(){if(wu){var g=!1,T=Us(function(){throw g||(g=!0,U("r:"+(Co++).toString(36))),Error(c(355))}),U=hl(T)[1];return!(ts.mode&2)&&(ts.flags|=516,pl(5,function(){U("r:"+(Co++).toString(36))},void 0,null)),T}return T="r:"+(Co++).toString(36),hl(T),T},unstable_isNewReconciler:!1},_c={readContext:ka,useCallback:Ic,useContext:ka,useEffect:Ql,useImperativeHandle:Nu,useLayoutEffect:Kc,useMemo:pf,useReducer:Tc,useRef:Wc,useState:function(){return Tc(tl)},useDebugValue:_l,useDeferredValue:function(g){var T=Tc(tl),U=T[0],ve=T[1];return Ql(function(){var Le=Ou.transition;Ou.transition=1;try{ve(g)}finally{Ou.transition=Le}},[g]),U},useTransition:function(){var g=Tc(tl)[0];return[Wc().current,g]},useMutableSource:hf,useOpaqueIdentifier:function(){return Tc(tl)[0]},unstable_isNewReconciler:!1},mf={readContext:ka,useCallback:Ic,useContext:ka,useEffect:Ql,useImperativeHandle:Nu,useLayoutEffect:Kc,useMemo:pf,useReducer:Xl,useRef:Wc,useState:function(){return Xl(tl)},useDebugValue:_l,useDeferredValue:function(g){var T=Xl(tl),U=T[0],ve=T[1];return Ql(function(){var Le=Ou.transition;Ou.transition=1;try{ve(g)}finally{Ou.transition=Le}},[g]),U},useTransition:function(){var g=Xl(tl)[0];return[Wc().current,g]},useMutableSource:hf,useOpaqueIdentifier:function(){return Xl(tl)[0]},unstable_isNewReconciler:!1},ml=N.ReactCurrentOwner,Lu=!1;function Vs(g,T,U,ve){T.child=g===null?Hl(T,null,U,ve):xu(T,g.child,U,ve)}function vf(g,T,U,ve,Le){U=U.render;var ot=T.ref;return Os(T,Le),ve=If(g,T,U,ve,ot,Le),g!==null&&!Lu?(T.updateQueue=g.updateQueue,T.flags&=-517,g.lanes&=~Le,Xo(g,T,Le)):(T.flags|=1,Vs(g,T,ve,Le),T.child)}function Df(g,T,U,ve,Le,ot){if(g===null){var Bt=U.type;return typeof Bt=="function"&&!Ef(Bt)&&Bt.defaultProps===void 0&&U.compare===null&&U.defaultProps===void 0?(T.tag=15,T.type=Bt,Dc(g,T,Bt,ve,Le,ot)):(g=Fc(U.type,null,ve,T,T.mode,ot),g.ref=T.ref,g.return=T,T.child=g)}return Bt=g.child,!(Le&ot)&&(Le=Bt.memoizedProps,U=U.compare,U=U!==null?U:ia,U(Le,ve)&&g.ref===T.ref)?Xo(g,T,ot):(T.flags|=1,g=Dl(Bt,ve),g.ref=T.ref,g.return=T,T.child=g)}function Dc(g,T,U,ve,Le,ot){if(g!==null&&ia(g.memoizedProps,ve)&&g.ref===T.ref)if(Lu=!1,(ot&Le)!==0)g.flags&16384&&(Lu=!0);else return T.lanes=g.lanes,Xo(g,T,ot);return Ao(g,T,U,ve,ot)}function ks(g,T,U){var ve=T.pendingProps,Le=ve.children,ot=g!==null?g.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(T.mode&4))T.memoizedState={baseLanes:0},ca(T,U);else if(U&1073741824)T.memoizedState={baseLanes:0},ca(T,ot!==null?ot.baseLanes:U);else return g=ot!==null?ot.baseLanes|U:U,T.lanes=T.childLanes=1073741824,T.memoizedState={baseLanes:g},ca(T,g),null;else ot!==null?(ve=ot.baseLanes|U,T.memoizedState=null):ve=U,ca(T,ve);return Vs(g,T,Le,U),T.child}function ho(g,T){var U=T.ref;(g===null&&U!==null||g!==null&&g.ref!==U)&&(T.flags|=128)}function Ao(g,T,U,ve,Le){var ot=tn(U)?Se:Ma.current;return ot=br(T,ot),Os(T,Le),U=If(g,T,U,ve,ot,Le),g!==null&&!Lu?(T.updateQueue=g.updateQueue,T.flags&=-517,g.lanes&=~Le,Xo(g,T,Le)):(T.flags|=1,Vs(g,T,U,Le),T.child)}function $u(g,T,U,ve,Le){if(tn(U)){var ot=!0;ii(T)}else ot=!1;if(Os(T,Le),T.stateNode===null)g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),ll(T,U,ve),Wu(T,U,ve,Le),ve=!0;else if(g===null){var Bt=T.stateNode,nr=T.memoizedProps;Bt.props=nr;var Or=Bt.context,_n=U.contextType;typeof _n=="object"&&_n!==null?_n=ka(_n):(_n=tn(U)?Se:Ma.current,_n=br(T,_n));var ki=U.getDerivedStateFromProps,za=typeof ki=="function"||typeof Bt.getSnapshotBeforeUpdate=="function";za||typeof Bt.UNSAFE_componentWillReceiveProps!="function"&&typeof Bt.componentWillReceiveProps!="function"||(nr!==ve||Or!==_n)&&Ns(T,Bt,ve,_n),no=!1;var Gn=T.memoizedState;Bt.state=Gn,Bs(T,ve,Bt,Le),Or=T.memoizedState,nr!==ve||Gn!==Or||be.current||no?(typeof ki=="function"&&(cc(T,U,ki,ve),Or=T.memoizedState),(nr=no||ss(T,U,nr,ve,Gn,Or,_n))?(za||typeof Bt.UNSAFE_componentWillMount!="function"&&typeof Bt.componentWillMount!="function"||(typeof Bt.componentWillMount=="function"&&Bt.componentWillMount(),typeof Bt.UNSAFE_componentWillMount=="function"&&Bt.UNSAFE_componentWillMount()),typeof Bt.componentDidMount=="function"&&(T.flags|=4)):(typeof Bt.componentDidMount=="function"&&(T.flags|=4),T.memoizedProps=ve,T.memoizedState=Or),Bt.props=ve,Bt.state=Or,Bt.context=_n,ve=nr):(typeof Bt.componentDidMount=="function"&&(T.flags|=4),ve=!1)}else{Bt=T.stateNode,Pr(g,T),nr=T.memoizedProps,_n=T.type===T.elementType?nr:Xn(T.type,nr),Bt.props=_n,za=T.pendingProps,Gn=Bt.context,Or=U.contextType,typeof Or=="object"&&Or!==null?Or=ka(Or):(Or=tn(U)?Se:Ma.current,Or=br(T,Or));var pa=U.getDerivedStateFromProps;(ki=typeof pa=="function"||typeof Bt.getSnapshotBeforeUpdate=="function")||typeof Bt.UNSAFE_componentWillReceiveProps!="function"&&typeof Bt.componentWillReceiveProps!="function"||(nr!==za||Gn!==Or)&&Ns(T,Bt,ve,Or),no=!1,Gn=T.memoizedState,Bt.state=Gn,Bs(T,ve,Bt,Le);var Za=T.memoizedState;nr!==za||Gn!==Za||be.current||no?(typeof pa=="function"&&(cc(T,U,pa,ve),Za=T.memoizedState),(_n=no||ss(T,U,_n,ve,Gn,Za,Or))?(ki||typeof Bt.UNSAFE_componentWillUpdate!="function"&&typeof Bt.componentWillUpdate!="function"||(typeof Bt.componentWillUpdate=="function"&&Bt.componentWillUpdate(ve,Za,Or),typeof Bt.UNSAFE_componentWillUpdate=="function"&&Bt.UNSAFE_componentWillUpdate(ve,Za,Or)),typeof Bt.componentDidUpdate=="function"&&(T.flags|=4),typeof Bt.getSnapshotBeforeUpdate=="function"&&(T.flags|=256)):(typeof Bt.componentDidUpdate!="function"||nr===g.memoizedProps&&Gn===g.memoizedState||(T.flags|=4),typeof Bt.getSnapshotBeforeUpdate!="function"||nr===g.memoizedProps&&Gn===g.memoizedState||(T.flags|=256),T.memoizedProps=ve,T.memoizedState=Za),Bt.props=ve,Bt.state=Za,Bt.context=Or,ve=_n):(typeof Bt.componentDidUpdate!="function"||nr===g.memoizedProps&&Gn===g.memoizedState||(T.flags|=4),typeof Bt.getSnapshotBeforeUpdate!="function"||nr===g.memoizedProps&&Gn===g.memoizedState||(T.flags|=256),ve=!1)}return Pe(g,T,U,ve,ot,Le)}function Pe(g,T,U,ve,Le,ot){ho(g,T);var Bt=(T.flags&64)!==0;if(!ve&&!Bt)return Le&&Gi(T,U,!1),Xo(g,T,ot);ve=T.stateNode,ml.current=T;var nr=Bt&&typeof U.getDerivedStateFromError!="function"?null:ve.render();return T.flags|=1,g!==null&&Bt?(T.child=xu(T,g.child,null,ot),T.child=xu(T,null,nr,ot)):Vs(g,T,nr,ot),T.memoizedState=ve.state,Le&&Gi(T,U,!0),T.child}function Jl(g){var T=g.stateNode;T.pendingContext?qr(g,T.pendingContext,T.pendingContext!==T.context):T.context&&qr(g,T.context,!1),Gl(g,T.containerInfo)}var qo={dehydrated:null,retryLane:0};function mc(g,T,U){var ve=T.pendingProps,Le=io.current,ot=!1,Bt;return(Bt=(T.flags&64)!==0)||(Bt=g!==null&&g.memoizedState===null?!1:(Le&2)!==0),Bt?(ot=!0,T.flags&=-65):g!==null&&g.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(Le|=1),hs(io,Le&1),g===null?(ve.fallback!==void 0&&fi(T),g=ve.children,Le=ve.fallback,ot?(g=hu(T,g,Le,U),T.child.memoizedState={baseLanes:U},T.memoizedState=qo,g):typeof ve.unstable_expectedLoadTime=="number"?(g=hu(T,g,Le,U),T.child.memoizedState={baseLanes:U},T.memoizedState=qo,T.lanes=33554432,g):(U=Sf({mode:"visible",children:g},T.mode,U,null),U.return=T,T.child=U)):g.memoizedState!==null?ot?(ve=Al(g,T,ve.children,ve.fallback,U),ot=T.child,Le=g.child.memoizedState,ot.memoizedState=Le===null?{baseLanes:U}:{baseLanes:Le.baseLanes|U},ot.childLanes=g.childLanes&~U,T.memoizedState=qo,ve):(U=Gu(g,T,ve.children,U),T.memoizedState=null,U):ot?(ve=Al(g,T,ve.children,ve.fallback,U),ot=T.child,Le=g.child.memoizedState,ot.memoizedState=Le===null?{baseLanes:U}:{baseLanes:Le.baseLanes|U},ot.childLanes=g.childLanes&~U,T.memoizedState=qo,ve):(U=Gu(g,T,ve.children,U),T.memoizedState=null,U)}function hu(g,T,U,ve){var Le=g.mode,ot=g.child;return T={mode:"hidden",children:T},!(Le&2)&&ot!==null?(ot.childLanes=0,ot.pendingProps=T):ot=Sf(T,Le,0,null),U=au(U,Le,ve,null),ot.return=g,U.return=g,ot.sibling=U,g.child=ot,U}function Gu(g,T,U,ve){var Le=g.child;return g=Le.sibling,U=Dl(Le,{mode:"visible",children:U}),!(T.mode&2)&&(U.lanes=ve),U.return=T,U.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,T.firstEffect=T.lastEffect=g),T.child=U}function Al(g,T,U,ve,Le){var ot=T.mode,Bt=g.child;g=Bt.sibling;var nr={mode:"hidden",children:U};return!(ot&2)&&T.child!==Bt?(U=T.child,U.childLanes=0,U.pendingProps=nr,Bt=U.lastEffect,Bt!==null?(T.firstEffect=U.firstEffect,T.lastEffect=Bt,Bt.nextEffect=null):T.firstEffect=T.lastEffect=null):U=Dl(Bt,nr),g!==null?ve=Dl(g,ve):(ve=au(ve,ot,Le,null),ve.flags|=2),ve.return=T,U.return=T,U.sibling=ve,T.child=U,ve}function ec(g,T){g.lanes|=T;var U=g.alternate;U!==null&&(U.lanes|=T),Ds(g.return,T)}function Ku(g,T,U,ve,Le,ot){var Bt=g.memoizedState;Bt===null?g.memoizedState={isBackwards:T,rendering:null,renderingStartTime:0,last:ve,tail:U,tailMode:Le,lastEffect:ot}:(Bt.isBackwards=T,Bt.rendering=null,Bt.renderingStartTime=0,Bt.last=ve,Bt.tail=U,Bt.tailMode=Le,Bt.lastEffect=ot)}function rl(g,T,U){var ve=T.pendingProps,Le=ve.revealOrder,ot=ve.tail;if(Vs(g,T,ve.children,U),ve=io.current,ve&2)ve=ve&1|2,T.flags|=64;else{if(g!==null&&g.flags&64)e:for(g=T.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&ec(g,U);else if(g.tag===19)ec(g,U);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===T)break e;for(;g.sibling===null;){if(g.return===null||g.return===T)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}ve&=1}if(hs(io,ve),!(T.mode&2))T.memoizedState=null;else switch(Le){case"forwards":for(U=T.child,Le=null;U!==null;)g=U.alternate,g!==null&&zc(g)===null&&(Le=U),U=U.sibling;U=Le,U===null?(Le=T.child,T.child=null):(Le=U.sibling,U.sibling=null),Ku(T,!1,Le,U,ot,T.lastEffect);break;case"backwards":for(U=null,Le=T.child,T.child=null;Le!==null;){if(g=Le.alternate,g!==null&&zc(g)===null){T.child=Le;break}g=Le.sibling,Le.sibling=U,U=Le,Le=g}Ku(T,!0,U,null,ot,T.lastEffect);break;case"together":Ku(T,!1,null,null,void 0,T.lastEffect);break;default:T.memoizedState=null}return T.child}function Xo(g,T,U){if(g!==null&&(T.dependencies=g.dependencies),ze|=T.lanes,U&T.childLanes){if(g!==null&&T.child!==g.child)throw Error(c(153));if(T.child!==null){for(g=T.child,U=Dl(g,g.pendingProps),T.child=U,U.return=T;g.sibling!==null;)g=g.sibling,U=U.sibling=Dl(g,g.pendingProps),U.return=T;U.sibling=null}return T.child}return null}var gf,qc,vc,vl;gf=function(g,T){for(var U=T.child;U!==null;){if(U.tag===5||U.tag===6)g.appendChild(U.stateNode);else if(U.tag!==4&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===T)break;for(;U.sibling===null;){if(U.return===null||U.return===T)return;U=U.return}U.sibling.return=U.return,U=U.sibling}},qc=function(){},vc=function(g,T,U,ve){var Le=g.memoizedProps;if(Le!==ve){g=T.stateNode,ru(tu.current);var ot=null;switch(U){case"input":Le=pt(g,Le),ve=pt(g,ve),ot=[];break;case"option":Le=Ge(g,Le),ve=Ge(g,ve),ot=[];break;case"select":Le=i({},Le,{value:void 0}),ve=i({},ve,{value:void 0}),ot=[];break;case"textarea":Le=ut(g,Le),ve=ut(g,ve),ot=[];break;default:typeof Le.onClick!="function"&&typeof ve.onClick=="function"&&(g.onclick=ni)}Ce(U,ve);var Bt;U=null;for(_n in Le)if(!ve.hasOwnProperty(_n)&&Le.hasOwnProperty(_n)&&Le[_n]!=null)if(_n==="style"){var nr=Le[_n];for(Bt in nr)nr.hasOwnProperty(Bt)&&(U||(U={}),U[Bt]="")}else _n!=="dangerouslySetInnerHTML"&&_n!=="children"&&_n!=="suppressContentEditableWarning"&&_n!=="suppressHydrationWarning"&&_n!=="autoFocus"&&(o.hasOwnProperty(_n)?ot||(ot=[]):(ot=ot||[]).push(_n,null));for(_n in ve){var Or=ve[_n];if(nr=Le!=null?Le[_n]:void 0,ve.hasOwnProperty(_n)&&Or!==nr&&(Or!=null||nr!=null))if(_n==="style")if(nr){for(Bt in nr)!nr.hasOwnProperty(Bt)||Or&&Or.hasOwnProperty(Bt)||(U||(U={}),U[Bt]="");for(Bt in Or)Or.hasOwnProperty(Bt)&&nr[Bt]!==Or[Bt]&&(U||(U={}),U[Bt]=Or[Bt])}else U||(ot||(ot=[]),ot.push(_n,U)),U=Or;else _n==="dangerouslySetInnerHTML"?(Or=Or?Or.__html:void 0,nr=nr?nr.__html:void 0,Or!=null&&nr!==Or&&(ot=ot||[]).push(_n,Or)):_n==="children"?typeof Or!="string"&&typeof Or!="number"||(ot=ot||[]).push(_n,""+Or):_n!=="suppressContentEditableWarning"&&_n!=="suppressHydrationWarning"&&(o.hasOwnProperty(_n)?(Or!=null&&_n==="onScroll"&&Re("scroll",g),ot||nr===Or||(ot=[])):typeof Or=="object"&&Or!==null&&Or.$$typeof===z?Or.toString():(ot=ot||[]).push(_n,Or))}U&&(ot=ot||[]).push("style",U);var _n=ot;(T.updateQueue=_n)&&(T.flags|=4)}},vl=function(g,T,U,ve){U!==ve&&(T.flags|=4)};function ju(g,T){if(!wu)switch(g.tailMode){case"hidden":T=g.tail;for(var U=null;T!==null;)T.alternate!==null&&(U=T),T=T.sibling;U===null?g.tail=null:U.sibling=null;break;case"collapsed":U=g.tail;for(var ve=null;U!==null;)U.alternate!==null&&(ve=U),U=U.sibling;ve===null?T||g.tail===null?g.tail=null:g.tail.sibling=null:ve.sibling=null}}function Of(g,T,U){var ve=T.pendingProps;switch(T.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 tn(T.type)&&gr(),null;case 3:return Kl(),Ra(be),Ra(Ma),Hc(),ve=T.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(g===null||g.child===null)&&(kl(T)?T.flags|=4:ve.hydrate||(T.flags|=256)),qc(T),null;case 5:dc(T);var Le=ru(Wl.current);if(U=T.type,g!==null&&T.stateNode!=null)vc(g,T,U,ve,Le),g.ref!==T.ref&&(T.flags|=128);else{if(!ve){if(T.stateNode===null)throw Error(c(166));return null}if(g=ru(tu.current),kl(T)){ve=T.stateNode,U=T.type;var ot=T.memoizedProps;switch(ve[Qa]=T,ve[cs]=ot,U){case"dialog":Re("cancel",ve),Re("close",ve);break;case"iframe":case"object":case"embed":Re("load",ve);break;case"video":case"audio":for(g=0;g<An.length;g++)Re(An[g],ve);break;case"source":Re("error",ve);break;case"img":case"image":case"link":Re("error",ve),Re("load",ve);break;case"details":Re("toggle",ve);break;case"input":et(ve,ot),Re("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!ot.multiple},Re("invalid",ve);break;case"textarea":Kt(ve,ot),Re("invalid",ve)}Ce(U,ot),g=null;for(var Bt in ot)ot.hasOwnProperty(Bt)&&(Le=ot[Bt],Bt==="children"?typeof Le=="string"?ve.textContent!==Le&&(g=["children",Le]):typeof Le=="number"&&ve.textContent!==""+Le&&(g=["children",""+Le]):o.hasOwnProperty(Bt)&&Le!=null&&Bt==="onScroll"&&Re("scroll",ve));switch(U){case"input":jt(ve),Ae(ve,ot,!0);break;case"textarea":jt(ve),De(ve);break;case"select":case"option":break;default:typeof ot.onClick=="function"&&(ve.onclick=ni)}ve=g,T.updateQueue=ve,ve!==null&&(T.flags|=4)}else{switch(Bt=Le.nodeType===9?Le:Le.ownerDocument,g===Je.html&&(g=Wt(U)),g===Je.html?U==="script"?(g=Bt.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ve.is=="string"?g=Bt.createElement(U,{is:ve.is}):(g=Bt.createElement(U),U==="select"&&(Bt=g,ve.multiple?Bt.multiple=!0:ve.size&&(Bt.size=ve.size))):g=Bt.createElementNS(g,U),g[Qa]=T,g[cs]=ve,gf(g,T,!1,!1),T.stateNode=g,Bt=ft(U,ve),U){case"dialog":Re("cancel",g),Re("close",g),Le=ve;break;case"iframe":case"object":case"embed":Re("load",g),Le=ve;break;case"video":case"audio":for(Le=0;Le<An.length;Le++)Re(An[Le],g);Le=ve;break;case"source":Re("error",g),Le=ve;break;case"img":case"image":case"link":Re("error",g),Re("load",g),Le=ve;break;case"details":Re("toggle",g),Le=ve;break;case"input":et(g,ve),Le=pt(g,ve),Re("invalid",g);break;case"option":Le=Ge(g,ve);break;case"select":g._wrapperState={wasMultiple:!!ve.multiple},Le=i({},ve,{value:void 0}),Re("invalid",g);break;case"textarea":Kt(g,ve),Le=ut(g,ve),Re("invalid",g);break;default:Le=ve}Ce(U,Le);var nr=Le;for(ot in nr)if(nr.hasOwnProperty(ot)){var Or=nr[ot];ot==="style"?pe(g,Or):ot==="dangerouslySetInnerHTML"?(Or=Or?Or.__html:void 0,Or!=null&&Ft(g,Or)):ot==="children"?typeof Or=="string"?(U!=="textarea"||Or!=="")&&At(g,Or):typeof Or=="number"&&At(g,""+Or):ot!=="suppressContentEditableWarning"&&ot!=="suppressHydrationWarning"&&ot!=="autoFocus"&&(o.hasOwnProperty(ot)?Or!=null&&ot==="onScroll"&&Re("scroll",g):Or!=null&&B(g,ot,Or,Bt))}switch(U){case"input":jt(g),Ae(g,ve,!1);break;case"textarea":jt(g),De(g);break;case"option":ve.value!=null&&g.setAttribute("value",""+lr(ve.value));break;case"select":g.multiple=!!ve.multiple,ot=ve.value,ot!=null?nt(g,!!ve.multiple,ot,!1):ve.defaultValue!=null&&nt(g,!!ve.multiple,ve.defaultValue,!0);break;default:typeof Le.onClick=="function"&&(g.onclick=ni)}ga(U,ve)&&(T.flags|=4)}T.ref!==null&&(T.flags|=128)}return null;case 6:if(g&&T.stateNode!=null)vl(g,T,g.memoizedProps,ve);else{if(typeof ve!="string"&&T.stateNode===null)throw Error(c(166));U=ru(Wl.current),ru(tu.current),kl(T)?(ve=T.stateNode,U=T.memoizedProps,ve[Qa]=T,ve.nodeValue!==U&&(T.flags|=4)):(ve=(U.nodeType===9?U:U.ownerDocument).createTextNode(ve),ve[Qa]=T,T.stateNode=ve)}return null;case 13:return Ra(io),ve=T.memoizedState,T.flags&64?(T.lanes=U,T):(ve=ve!==null,U=!1,g===null?T.memoizedProps.fallback!==void 0&&kl(T):U=g.memoizedState!==null,ve&&!U&&T.mode&2&&(g===null&&T.memoizedProps.unstable_avoidThisFallback!==!0||io.current&1?D===0&&(D=3):((D===0||D===3)&&(D=4),po===null||!(ze&134217727)&&!(un&134217727)||Tu(po,Qn))),(ve||U)&&(T.flags|=4),null);case 4:return Kl(),qc(T),g===null&&Ht(T.stateNode.containerInfo),null;case 10:return Ps(T),null;case 17:return tn(T.type)&&gr(),null;case 19:if(Ra(io),ve=T.memoizedState,ve===null)return null;if(ot=(T.flags&64)!==0,Bt=ve.rendering,Bt===null)if(ot)ju(ve,!1);else{if(D!==0||g!==null&&g.flags&64)for(g=T.child;g!==null;){if(Bt=zc(g),Bt!==null){for(T.flags|=64,ju(ve,!1),ot=Bt.updateQueue,ot!==null&&(T.updateQueue=ot,T.flags|=4),ve.lastEffect===null&&(T.firstEffect=null),T.lastEffect=ve.lastEffect,ve=U,U=T.child;U!==null;)ot=U,g=ve,ot.flags&=2,ot.nextEffect=null,ot.firstEffect=null,ot.lastEffect=null,Bt=ot.alternate,Bt===null?(ot.childLanes=0,ot.lanes=g,ot.child=null,ot.memoizedProps=null,ot.memoizedState=null,ot.updateQueue=null,ot.dependencies=null,ot.stateNode=null):(ot.childLanes=Bt.childLanes,ot.lanes=Bt.lanes,ot.child=Bt.child,ot.memoizedProps=Bt.memoizedProps,ot.memoizedState=Bt.memoizedState,ot.updateQueue=Bt.updateQueue,ot.type=Bt.type,g=Bt.dependencies,ot.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),U=U.sibling;return hs(io,io.current&1|2),T.child}g=g.sibling}ve.tail!==null&&Tt()>ws&&(T.flags|=64,ot=!0,ju(ve,!1),T.lanes=33554432)}else{if(!ot)if(g=zc(Bt),g!==null){if(T.flags|=64,ot=!0,U=g.updateQueue,U!==null&&(T.updateQueue=U,T.flags|=4),ju(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!Bt.alternate&&!wu)return T=T.lastEffect=ve.lastEffect,T!==null&&(T.nextEffect=null),null}else 2*Tt()-ve.renderingStartTime>ws&&U!==1073741824&&(T.flags|=64,ot=!0,ju(ve,!1),T.lanes=33554432);ve.isBackwards?(Bt.sibling=T.child,T.child=Bt):(U=ve.last,U!==null?U.sibling=Bt:T.child=Bt,ve.last=Bt)}return ve.tail!==null?(U=ve.tail,ve.rendering=U,ve.tail=U.sibling,ve.lastEffect=T.lastEffect,ve.renderingStartTime=Tt(),U.sibling=null,T=io.current,hs(io,ot?T&1|2:T&1),U):null;case 23:case 24:return Ca(),g!==null&&g.memoizedState!==null!=(T.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(T.flags|=4),null}throw Error(c(156,T.tag))}function yf(g){switch(g.tag){case 1:tn(g.type)&&gr();var T=g.flags;return T&4096?(g.flags=T&-4097|64,g):null;case 3:if(Kl(),Ra(be),Ra(Ma),Hc(),T=g.flags,T&64)throw Error(c(285));return g.flags=T&-4097|64,g;case 5:return dc(g),null;case 13:return Ra(io),T=g.flags,T&4096?(g.flags=T&-4097|64,g):null;case 19:return Ra(io),null;case 4:return Kl(),null;case 10:return Ps(g),null;case 23:case 24:return Ca(),null;default:return null}}function Tl(g,T){try{var U="",ve=T;do U+=tr(ve),ve=ve.return;while(ve);var Le=U}catch(ot){Le=`
|
|
|
Error generating stack: `+ot.message+`
|
|
|
`+ot.stack}return{value:g,source:T,stack:Le}}function Fl(g,T){try{console.error(T.value)}catch(U){setTimeout(function(){throw U})}}var Xc=typeof WeakMap=="function"?WeakMap:Map;function tc(g,T,U){U=Po(-1,U),U.tag=3,U.payload={element:null};var ve=T.value;return U.callback=function(){Rs||(Rs=!0,nu=ve),Fl(g,T)},U}function Eu(g,T,U){U=Po(-1,U),U.tag=3;var ve=g.type.getDerivedStateFromError;if(typeof ve=="function"){var Le=T.value;U.payload=function(){return Fl(g,T),ve(Le)}}var ot=g.stateNode;return ot!==null&&typeof ot.componentDidCatch=="function"&&(U.callback=function(){typeof ve!="function"&&(ao===null?ao=new Set([this]):ao.add(this),Fl(g,T));var Bt=T.stack;this.componentDidCatch(T.value,{componentStack:Bt!==null?Bt:""})}),U}var Oc=typeof WeakSet=="function"?WeakSet:Set;function Qc(g){var T=g.ref;if(T!==null)if(typeof T=="function")try{T(null)}catch(U){Ju(g,U)}else T.current=null}function kf(g,T){switch(T.tag){case 0:case 11:case 15:case 22:return;case 1:if(T.flags&256&&g!==null){var U=g.memoizedProps,ve=g.memoizedState;g=T.stateNode,T=g.getSnapshotBeforeUpdate(T.elementType===T.type?U:Xn(T.type,U),ve),g.__reactInternalSnapshotBeforeUpdate=T}return;case 3:T.flags&256&&Oi(T.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function kc(g,T,U){switch(U.tag){case 0:case 11:case 15:case 22:if(T=U.updateQueue,T=T!==null?T.lastEffect:null,T!==null){g=T=T.next;do{if((g.tag&3)===3){var ve=g.create;g.destroy=ve()}g=g.next}while(g!==T)}if(T=U.updateQueue,T=T!==null?T.lastEffect:null,T!==null){g=T=T.next;do{var Le=g;ve=Le.next,Le=Le.tag,Le&4&&Le&1&&(ef(U,g),Lf(U,g)),g=ve}while(g!==T)}return;case 1:g=U.stateNode,U.flags&4&&(T===null?g.componentDidMount():(ve=U.elementType===U.type?T.memoizedProps:Xn(U.type,T.memoizedProps),g.componentDidUpdate(ve,T.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),T=U.updateQueue,T!==null&&Ko(U,T,g);return;case 3:if(T=U.updateQueue,T!==null){if(g=null,U.child!==null)switch(U.child.tag){case 5:g=U.child.stateNode;break;case 1:g=U.child.stateNode}Ko(U,T,g)}return;case 5:g=U.stateNode,T===null&&U.flags&4&&ga(U.type,U.memoizedProps)&&g.focus();return;case 6:return;case 4:return;case 12:return;case 13:U.memoizedState===null&&(U=U.alternate,U!==null&&(U=U.memoizedState,U!==null&&(U=U.dehydrated,U!==null&&dt(U))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function pu(g,T){for(var U=g;;){if(U.tag===5){var ve=U.stateNode;if(T)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=U.stateNode;var Le=U.memoizedProps.style;Le=Le!=null&&Le.hasOwnProperty("display")?Le.display:null,ve.style.display=ce("display",Le)}}else if(U.tag===6)U.stateNode.nodeValue=T?"":U.memoizedProps;else if((U.tag!==23&&U.tag!==24||U.memoizedState===null||U===g)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===g)break;for(;U.sibling===null;){if(U.return===null||U.return===g)return;U=U.return}U.sibling.return=U.return,U=U.sibling}}function rc(g,T){if(Zn&&typeof Zn.onCommitFiberUnmount=="function")try{Zn.onCommitFiberUnmount(zn,T)}catch(ot){}switch(T.tag){case 0:case 11:case 14:case 15:case 22:if(g=T.updateQueue,g!==null&&(g=g.lastEffect,g!==null)){var U=g=g.next;do{var ve=U,Le=ve.destroy;if(ve=ve.tag,Le!==void 0)if(ve&4)ef(T,U);else{ve=T;try{Le()}catch(ot){Ju(ve,ot)}}U=U.next}while(U!==g)}break;case 1:if(Qc(T),g=T.stateNode,typeof g.componentWillUnmount=="function")try{g.props=T.memoizedProps,g.state=T.memoizedState,g.componentWillUnmount()}catch(ot){Ju(T,ot)}break;case 5:Qc(T);break;case 4:xf(g,T)}}function bf(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 Jc(g){return g.tag===5||g.tag===3||g.tag===4}function nl(g){e:{for(var T=g.return;T!==null;){if(Jc(T))break e;T=T.return}throw Error(c(160))}var U=T;switch(T=U.stateNode,U.tag){case 5:var ve=!1;break;case 3:T=T.containerInfo,ve=!0;break;case 4:T=T.containerInfo,ve=!0;break;default:throw Error(c(161))}U.flags&16&&(At(T,""),U.flags&=-17);e:t:for(U=g;;){for(;U.sibling===null;){if(U.return===null||Jc(U.return)){U=null;break e}U=U.return}for(U.sibling.return=U.return,U=U.sibling;U.tag!==5&&U.tag!==6&&U.tag!==18;){if(U.flags&2||U.child===null||U.tag===4)continue t;U.child.return=U,U=U.child}if(!(U.flags&2)){U=U.stateNode;break e}}ve?gc(g,U,T):Bl(g,U,T)}function gc(g,T,U){var ve=g.tag,Le=ve===5||ve===6;if(Le)g=Le?g.stateNode:g.stateNode.instance,T?U.nodeType===8?U.parentNode.insertBefore(g,T):U.insertBefore(g,T):(U.nodeType===8?(T=U.parentNode,T.insertBefore(g,U)):(T=U,T.appendChild(g)),U=U._reactRootContainer,U!=null||T.onclick!==null||(T.onclick=ni));else if(ve!==4&&(g=g.child,g!==null))for(gc(g,T,U),g=g.sibling;g!==null;)gc(g,T,U),g=g.sibling}function Bl(g,T,U){var ve=g.tag,Le=ve===5||ve===6;if(Le)g=Le?g.stateNode:g.stateNode.instance,T?U.insertBefore(g,T):U.appendChild(g);else if(ve!==4&&(g=g.child,g!==null))for(Bl(g,T,U),g=g.sibling;g!==null;)Bl(g,T,U),g=g.sibling}function xf(g,T){for(var U=T,ve=!1,Le,ot;;){if(!ve){ve=U.return;e:for(;;){if(ve===null)throw Error(c(160));switch(Le=ve.stateNode,ve.tag){case 5:ot=!1;break e;case 3:Le=Le.containerInfo,ot=!0;break e;case 4:Le=Le.containerInfo,ot=!0;break e}ve=ve.return}ve=!0}if(U.tag===5||U.tag===6){e:for(var Bt=g,nr=U,Or=nr;;)if(rc(Bt,Or),Or.child!==null&&Or.tag!==4)Or.child.return=Or,Or=Or.child;else{if(Or===nr)break e;for(;Or.sibling===null;){if(Or.return===null||Or.return===nr)break e;Or=Or.return}Or.sibling.return=Or.return,Or=Or.sibling}ot?(Bt=Le,nr=U.stateNode,Bt.nodeType===8?Bt.parentNode.removeChild(nr):Bt.removeChild(nr)):Le.removeChild(U.stateNode)}else if(U.tag===4){if(U.child!==null){Le=U.stateNode.containerInfo,ot=!0,U.child.return=U,U=U.child;continue}}else if(rc(g,U),U.child!==null){U.child.return=U,U=U.child;continue}if(U===T)break;for(;U.sibling===null;){if(U.return===null||U.return===T)return;U=U.return,U.tag===4&&(ve=!1)}U.sibling.return=U.return,U=U.sibling}}function Rc(g,T){switch(T.tag){case 0:case 11:case 14:case 15:case 22:var U=T.updateQueue;if(U=U!==null?U.lastEffect:null,U!==null){var ve=U=U.next;do(ve.tag&3)===3&&(g=ve.destroy,ve.destroy=void 0,g!==void 0&&g()),ve=ve.next;while(ve!==U)}return;case 1:return;case 5:if(U=T.stateNode,U!=null){ve=T.memoizedProps;var Le=g!==null?g.memoizedProps:ve;g=T.type;var ot=T.updateQueue;if(T.updateQueue=null,ot!==null){for(U[cs]=ve,g==="input"&&ve.type==="radio"&&ve.name!=null&&Ze(U,ve),ft(g,Le),T=ft(g,ve),Le=0;Le<ot.length;Le+=2){var Bt=ot[Le],nr=ot[Le+1];Bt==="style"?pe(U,nr):Bt==="dangerouslySetInnerHTML"?Ft(U,nr):Bt==="children"?At(U,nr):B(U,Bt,nr,T)}switch(g){case"input":ge(U,ve);break;case"textarea":Zt(U,ve);break;case"select":g=U._wrapperState.wasMultiple,U._wrapperState.wasMultiple=!!ve.multiple,ot=ve.value,ot!=null?nt(U,!!ve.multiple,ot,!1):g!==!!ve.multiple&&(ve.defaultValue!=null?nt(U,!!ve.multiple,ve.defaultValue,!0):nt(U,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(T.stateNode===null)throw Error(c(162));T.stateNode.nodeValue=T.memoizedProps;return;case 3:U=T.stateNode,U.hydrate&&(U.hydrate=!1,dt(U.containerInfo));return;case 12:return;case 13:T.memoizedState!==null&&(na=Tt(),pu(T.child,!0)),Lc(T);return;case 19:Lc(T);return;case 17:return;case 23:case 24:pu(T,T.memoizedState!==null);return}throw Error(c(163))}function Lc(g){var T=g.updateQueue;if(T!==null){g.updateQueue=null;var U=g.stateNode;U===null&&(U=g.stateNode=new Oc),T.forEach(function(ve){var Le=sl.bind(null,g,ve);U.has(ve)||(U.add(ve),ve.then(Le,Le))})}}function Rf(g,T){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(T=T.memoizedState,T!==null&&T.dehydrated===null):!1}var il=Math.ceil,Nl=N.ReactCurrentDispatcher,nc=N.ReactCurrentOwner,ma=0,po=null,_o=null,Qn=0,Vu=0,C=yo(0),D=0,L=null,me=0,ze=0,un=0,li=0,la=null,na=0,ws=1/0;function Ys(){ws=Tt()+500}var si=null,Rs=!1,nu=null,ao=null,xo=!1,Cl=null,$l=90,yc=[],Pl=[],gl=null,Yu=0,bc=null,Su=-1,yl=0,Ls=0,qu=null,xc=!1;function _u(){return ma&48?Tt():Su!==-1?Su:Su=Tt()}function Il(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return $t()===99?1:2;if(yl===0&&(yl=me),Bn.transition!==0){Ls!==0&&(Ls=la!==null?la.pendingLanes:0),g=yl;var T=4186112&~Ls;return T&=-T,T===0&&(g=4186112&~g,T=g&-g,T===0&&(T=8192)),T}return g=$t(),ma&4&&g===98?g=dn(12,yl):(g=En(g),g=dn(g,yl)),g}function ic(g,T,U){if(50<Yu)throw Yu=0,bc=null,Error(c(185));if(g=Mc(g,T),g===null)return null;Ei(g,T,U),g===po&&(un|=T,D===4&&Tu(g,Qn));var ve=$t();T===1?ma&8&&!(ma&48)?kn(g):(Uu(g,U),ma===0&&(Ys(),fn())):(!(ma&4)||ve!==98&&ve!==99||(gl===null?gl=new Set([g]):gl.add(g)),Uu(g,U)),la=g}function Mc(g,T){g.lanes|=T;var U=g.alternate;for(U!==null&&(U.lanes|=T),U=g,g=g.return;g!==null;)g.childLanes|=T,U=g.alternate,U!==null&&(U.childLanes|=T),U=g,g=g.return;return U.tag===3?U.stateNode:null}function Uu(g,T){for(var U=g.callbackNode,ve=g.suspendedLanes,Le=g.pingedLanes,ot=g.expirationTimes,Bt=g.pendingLanes;0<Bt;){var nr=31-gi(Bt),Or=1<<nr,_n=ot[nr];if(_n===-1){if(!(Or&ve)||Or&Le){_n=T,jr(Or);var ki=xr;ot[nr]=10<=ki?_n+250:6<=ki?_n+5e3:-1}}else _n<=T&&(g.expiredLanes|=Or);Bt&=~Or}if(ve=cn(g,g===po?Qn:0),T=xr,ve===0)U!==null&&(U!==Z&&es(U),g.callbackNode=null,g.callbackPriority=0);else{if(U!==null){if(g.callbackPriority===T)return;U!==Z&&es(U)}T===15?(U=kn.bind(null,g),ne===null?(ne=[U],he=ua(wl,Cn)):ne.push(U),U=Z):T===14?U=Gr(99,kn.bind(null,g)):(U=yr(T),U=Gr(U,Au.bind(null,g))),g.callbackPriority=T,g.callbackNode=U}}function Au(g){if(Su=-1,Ls=yl=0,ma&48)throw Error(c(327));var T=g.callbackNode;if(ac()&&g.callbackNode!==T)return null;var U=cn(g,g===po?Qn:0);if(U===0)return null;var ve=U,Le=ma;ma|=16;var ot=fa();(po!==g||Qn!==ve)&&(Ys(),xa(g,ve));do try{al();break}catch(nr){Ms(g,nr)}while(!0);if(Cs(),Nl.current=ot,ma=Le,_o!==null?ve=0:(po=null,Qn=0,ve=D),me&un)xa(g,0);else if(ve!==0){if(ve===2&&(ma|=64,g.hydrate&&(g.hydrate=!1,Oi(g.containerInfo)),U=an(g),U!==0&&(ve=$s(g,U))),ve===1)throw T=L,xa(g,0),Tu(g,U),Uu(g,Tt()),T;switch(g.finishedWork=g.current.alternate,g.finishedLanes=U,ve){case 0:case 1:throw Error(c(345));case 2:jl(g);break;case 3:if(Tu(g,U),(U&62914560)===U&&(ve=na+500-Tt(),10<ve)){if(cn(g,0)!==0)break;if(Le=g.suspendedLanes,(Le&U)!==U){_u(),g.pingedLanes|=g.suspendedLanes&Le;break}g.timeoutHandle=Mi(jl.bind(null,g),ve);break}jl(g);break;case 4:if(Tu(g,U),(U&4186112)===U)break;for(ve=g.eventTimes,Le=-1;0<U;){var Bt=31-gi(U);ot=1<<Bt,Bt=ve[Bt],Bt>Le&&(Le=Bt),U&=~ot}if(U=Le,U=Tt()-U,U=(120>U?120:480>U?480:1080>U?1080:1920>U?1920:3e3>U?3e3:4320>U?4320:1960*il(U/1960))-U,10<U){g.timeoutHandle=Mi(jl.bind(null,g),U);break}jl(g);break;case 5:jl(g);break;default:throw Error(c(329))}}return Uu(g,Tt()),g.callbackNode===T?Au.bind(null,g):null}function Tu(g,T){for(T&=~li,T&=~un,g.suspendedLanes|=T,g.pingedLanes&=~T,g=g.expirationTimes;0<T;){var U=31-gi(T),ve=1<<U;g[U]=-1,T&=~ve}}function kn(g){if(ma&48)throw Error(c(327));if(ac(),g===po&&g.expiredLanes&Qn){var T=Qn,U=$s(g,T);me&un&&(T=cn(g,T),U=$s(g,T))}else T=cn(g,0),U=$s(g,T);if(g.tag!==0&&U===2&&(ma|=64,g.hydrate&&(g.hydrate=!1,Oi(g.containerInfo)),T=an(g),T!==0&&(U=$s(g,T))),U===1)throw U=L,xa(g,0),Tu(g,T),Uu(g,Tt()),U;return g.finishedWork=g.current.alternate,g.finishedLanes=T,jl(g),Uu(g,Tt()),null}function ri(){if(gl!==null){var g=gl;gl=null,g.forEach(function(T){T.expiredLanes|=24&T.pendingLanes,Uu(T,Tt())})}fn()}function ea(g,T){var U=ma;ma|=1;try{return g(T)}finally{ma=U,ma===0&&(Ys(),fn())}}function Na(g,T){var U=ma;ma&=-2,ma|=8;try{return g(T)}finally{ma=U,ma===0&&(Ys(),fn())}}function ca(g,T){hs(C,Vu),Vu|=T,me|=T}function Ca(){Vu=C.current,Ra(C)}function xa(g,T){g.finishedWork=null,g.finishedLanes=0;var U=g.timeoutHandle;if(U!==-1&&(g.timeoutHandle=-1,Da(U)),_o!==null)for(U=_o.return;U!==null;){var ve=U;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&gr();break;case 3:Kl(),Ra(be),Ra(Ma),Hc();break;case 5:dc(ve);break;case 4:Kl();break;case 13:Ra(io);break;case 19:Ra(io);break;case 10:Ps(ve);break;case 23:case 24:Ca()}U=U.return}po=g,_o=Dl(g.current,null),Qn=Vu=me=T,D=0,L=null,li=un=ze=0}function Ms(g,T){do{var U=_o;try{if(Cs(),Ll.current=pc,ql){for(var ve=ts.memoizedState;ve!==null;){var Le=ve.queue;Le!==null&&(Le.pending=null),ve=ve.next}ql=!1}if(Yl=0,gu=$o=ts=null,Ml=!1,nc.current=null,U===null||U.return===null){D=1,L=T,_o=null;break}e:{var ot=g,Bt=U.return,nr=U,Or=T;if(T=Qn,nr.flags|=2048,nr.firstEffect=nr.lastEffect=null,Or!==null&&typeof Or=="object"&&typeof Or.then=="function"){var _n=Or;if(!(nr.mode&2)){var ki=nr.alternate;ki?(nr.updateQueue=ki.updateQueue,nr.memoizedState=ki.memoizedState,nr.lanes=ki.lanes):(nr.updateQueue=null,nr.memoizedState=null)}var za=(io.current&1)!==0,Gn=Bt;do{var pa;if(pa=Gn.tag===13){var Za=Gn.memoizedState;if(Za!==null)pa=Za.dehydrated!==null;else{var Fa=Gn.memoizedProps;pa=Fa.fallback===void 0?!1:Fa.unstable_avoidThisFallback!==!0?!0:!za}}if(pa){var en=Gn.updateQueue;if(en===null){var Ur=new Set;Ur.add(_n),Gn.updateQueue=Ur}else en.add(_n);if(!(Gn.mode&2)){if(Gn.flags|=64,nr.flags|=16384,nr.flags&=-2981,nr.tag===1)if(nr.alternate===null)nr.tag=17;else{var Qr=Po(-1,1);Qr.tag=2,Go(nr,Qr)}nr.lanes|=1;break e}Or=void 0,nr=T;var Pn=ot.pingCache;if(Pn===null?(Pn=ot.pingCache=new Xc,Or=new Set,Pn.set(_n,Or)):(Or=Pn.get(_n),Or===void 0&&(Or=new Set,Pn.set(_n,Or))),!Or.has(nr)){Or.add(nr);var Nn=Vf.bind(null,ot,_n,nr);_n.then(Nn,Nn)}Gn.flags|=4096,Gn.lanes=T;break e}Gn=Gn.return}while(Gn!==null);Or=Error((Vt(nr.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.`)}D!==5&&(D=2),Or=Tl(Or,nr),Gn=Bt;do{switch(Gn.tag){case 3:ot=Or,Gn.flags|=4096,T&=-T,Gn.lanes|=T;var Ya=tc(Gn,ot,T);bu(Gn,Ya);break e;case 1:ot=Or;var Ki=Gn.type,qa=Gn.stateNode;if(!(Gn.flags&64)&&(typeof Ki.getDerivedStateFromError=="function"||qa!==null&&typeof qa.componentDidCatch=="function"&&(ao===null||!ao.has(qa)))){Gn.flags|=4096,T&=-T,Gn.lanes|=T;var ps=Eu(Gn,ot,T);bu(Gn,ps);break e}}Gn=Gn.return}while(Gn!==null)}Qu(U)}catch(rs){T=rs,_o===U&&U!==null&&(_o=U=U.return);continue}break}while(!0)}function fa(){var g=Nl.current;return Nl.current=pc,g===null?pc:g}function $s(g,T){var U=ma;ma|=16;var ve=fa();po===g&&Qn===T||xa(g,T);do try{Xu();break}catch(Le){Ms(g,Le)}while(!0);if(Cs(),ma=U,Nl.current=ve,_o!==null)throw Error(c(261));return po=null,Qn=0,D}function Xu(){for(;_o!==null;)bl(_o)}function al(){for(;_o!==null&&!Wo();)bl(_o)}function bl(g){var T=nf(g.alternate,g,Vu);g.memoizedProps=g.pendingProps,T===null?Qu(g):_o=T,nc.current=null}function Qu(g){var T=g;do{var U=T.alternate;if(g=T.return,T.flags&2048){if(U=yf(T),U!==null){U.flags&=2047,_o=U;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(U=Of(U,T,Vu),U!==null){_o=U;return}if(U=T,U.tag!==24&&U.tag!==23||U.memoizedState===null||Vu&1073741824||!(U.mode&4)){for(var ve=0,Le=U.child;Le!==null;)ve|=Le.lanes|Le.childLanes,Le=Le.sibling;U.childLanes=ve}g!==null&&!(g.flags&2048)&&(g.firstEffect===null&&(g.firstEffect=T.firstEffect),T.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=T.firstEffect),g.lastEffect=T.lastEffect),1<T.flags&&(g.lastEffect!==null?g.lastEffect.nextEffect=T:g.firstEffect=T,g.lastEffect=T))}if(T=T.sibling,T!==null){_o=T;return}_o=T=g}while(T!==null);D===0&&(D=5)}function jl(g){var T=$t();return Tr(99,Kf.bind(null,g,T)),null}function Kf(g,T){do ac();while(Cl!==null);if(ma&48)throw Error(c(327));var U=g.finishedWork;if(U===null)return null;if(g.finishedWork=null,g.finishedLanes=0,U===g.current)throw Error(c(177));g.callbackNode=null;var ve=U.lanes|U.childLanes,Le=ve,ot=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 Bt=g.eventTimes,nr=g.expirationTimes;0<ot;){var Or=31-gi(ot),_n=1<<Or;Le[Or]=0,Bt[Or]=-1,nr[Or]=-1,ot&=~_n}if(gl!==null&&!(ve&24)&&gl.has(g)&&gl.delete(g),g===po&&(_o=po=null,Qn=0),1<U.flags?U.lastEffect!==null?(U.lastEffect.nextEffect=U,ve=U.firstEffect):ve=U:ve=U.firstEffect,ve!==null){if(Le=ma,ma|=32,nc.current=null,vi=ja,Bt=Ia(),lo(Bt)){if("selectionStart"in Bt)nr={start:Bt.selectionStart,end:Bt.selectionEnd};else e:if(nr=(nr=Bt.ownerDocument)&&nr.defaultView||window,(_n=nr.getSelection&&nr.getSelection())&&_n.rangeCount!==0){nr=_n.anchorNode,ot=_n.anchorOffset,Or=_n.focusNode,_n=_n.focusOffset;try{nr.nodeType,Or.nodeType}catch(rs){nr=null;break e}var ki=0,za=-1,Gn=-1,pa=0,Za=0,Fa=Bt,en=null;t:for(;;){for(var Ur;Fa!==nr||ot!==0&&Fa.nodeType!==3||(za=ki+ot),Fa!==Or||_n!==0&&Fa.nodeType!==3||(Gn=ki+_n),Fa.nodeType===3&&(ki+=Fa.nodeValue.length),(Ur=Fa.firstChild)!==null;)en=Fa,Fa=Ur;for(;;){if(Fa===Bt)break t;if(en===nr&&++pa===ot&&(za=ki),en===Or&&++Za===_n&&(Gn=ki),(Ur=Fa.nextSibling)!==null)break;Fa=en,en=Fa.parentNode}Fa=Ur}nr=za===-1||Gn===-1?null:{start:za,end:Gn}}else nr=null;nr=nr||{start:0,end:0}}else nr=null;ji={focusedElem:Bt,selectionRange:nr},ja=!1,qu=null,xc=!1,si=ve;do try{wf()}catch(rs){if(si===null)throw Error(c(330));Ju(si,rs),si=si.nextEffect}while(si!==null);qu=null,si=ve;do try{for(Bt=g;si!==null;){var Qr=si.flags;if(Qr&16&&At(si.stateNode,""),Qr&128){var Pn=si.alternate;if(Pn!==null){var Nn=Pn.ref;Nn!==null&&(typeof Nn=="function"?Nn(null):Nn.current=null)}}switch(Qr&1038){case 2:nl(si),si.flags&=-3;break;case 6:nl(si),si.flags&=-3,Rc(si.alternate,si);break;case 1024:si.flags&=-1025;break;case 1028:si.flags&=-1025,Rc(si.alternate,si);break;case 4:Rc(si.alternate,si);break;case 8:nr=si,xf(Bt,nr);var Ya=nr.alternate;bf(nr),Ya!==null&&bf(Ya)}si=si.nextEffect}}catch(rs){if(si===null)throw Error(c(330));Ju(si,rs),si=si.nextEffect}while(si!==null);if(Nn=ji,Pn=Ia(),Qr=Nn.focusedElem,Bt=Nn.selectionRange,Pn!==Qr&&Qr&&Qr.ownerDocument&&qi(Qr.ownerDocument.documentElement,Qr)){for(Bt!==null&&lo(Qr)&&(Pn=Bt.start,Nn=Bt.end,Nn===void 0&&(Nn=Pn),"selectionStart"in Qr?(Qr.selectionStart=Pn,Qr.selectionEnd=Math.min(Nn,Qr.value.length)):(Nn=(Pn=Qr.ownerDocument||document)&&Pn.defaultView||window,Nn.getSelection&&(Nn=Nn.getSelection(),nr=Qr.textContent.length,Ya=Math.min(Bt.start,nr),Bt=Bt.end===void 0?Ya:Math.min(Bt.end,nr),!Nn.extend&&Ya>Bt&&(nr=Bt,Bt=Ya,Ya=nr),nr=ba(Qr,Ya),ot=ba(Qr,Bt),nr&&ot&&(Nn.rangeCount!==1||Nn.anchorNode!==nr.node||Nn.anchorOffset!==nr.offset||Nn.focusNode!==ot.node||Nn.focusOffset!==ot.offset)&&(Pn=Pn.createRange(),Pn.setStart(nr.node,nr.offset),Nn.removeAllRanges(),Ya>Bt?(Nn.addRange(Pn),Nn.extend(ot.node,ot.offset)):(Pn.setEnd(ot.node,ot.offset),Nn.addRange(Pn)))))),Pn=[],Nn=Qr;Nn=Nn.parentNode;)Nn.nodeType===1&&Pn.push({element:Nn,left:Nn.scrollLeft,top:Nn.scrollTop});for(typeof Qr.focus=="function"&&Qr.focus(),Qr=0;Qr<Pn.length;Qr++)Nn=Pn[Qr],Nn.element.scrollLeft=Nn.left,Nn.element.scrollTop=Nn.top}ja=!!vi,ji=vi=null,g.current=U,si=ve;do try{for(Qr=g;si!==null;){var Ki=si.flags;if(Ki&36&&kc(Qr,si.alternate,si),Ki&128){Pn=void 0;var qa=si.ref;if(qa!==null){var ps=si.stateNode;switch(si.tag){case 5:Pn=ps;break;default:Pn=ps}typeof qa=="function"?qa(Pn):qa.current=Pn}}si=si.nextEffect}}catch(rs){if(si===null)throw Error(c(330));Ju(si,rs),si=si.nextEffect}while(si!==null);si=null,Y(),ma=Le}else g.current=U;if(xo)xo=!1,Cl=g,$l=T;else for(si=ve;si!==null;)T=si.nextEffect,si.nextEffect=null,si.flags&8&&(Ki=si,Ki.sibling=null,Ki.stateNode=null),si=T;if(ve=g.pendingLanes,ve===0&&(ao=null),ve===1?g===bc?Yu++:(Yu=0,bc=g):Yu=0,U=U.stateNode,Zn&&typeof Zn.onCommitFiberRoot=="function")try{Zn.onCommitFiberRoot(zn,U,void 0,(U.current.flags&64)===64)}catch(rs){}if(Uu(g,Tt()),Rs)throw Rs=!1,g=nu,nu=null,g;return ma&8||fn(),null}function wf(){for(;si!==null;){var g=si.alternate;xc||qu===null||(si.flags&8?rn(si,qu)&&(xc=!0):si.tag===13&&Rf(g,si)&&rn(si,qu)&&(xc=!0));var T=si.flags;T&256&&kf(g,si),!(T&512)||xo||(xo=!0,Gr(97,function(){return ac(),null})),si=si.nextEffect}}function ac(){if($l!==90){var g=97<$l?97:$l;return $l=90,Tr(g,tf)}return!1}function Lf(g,T){yc.push(T,g),xo||(xo=!0,Gr(97,function(){return ac(),null}))}function ef(g,T){Pl.push(T,g),xo||(xo=!0,Gr(97,function(){return ac(),null}))}function tf(){if(Cl===null)return!1;var g=Cl;if(Cl=null,ma&48)throw Error(c(331));var T=ma;ma|=32;var U=Pl;Pl=[];for(var ve=0;ve<U.length;ve+=2){var Le=U[ve],ot=U[ve+1],Bt=Le.destroy;if(Le.destroy=void 0,typeof Bt=="function")try{Bt()}catch(Or){if(ot===null)throw Error(c(330));Ju(ot,Or)}}for(U=yc,yc=[],ve=0;ve<U.length;ve+=2){Le=U[ve],ot=U[ve+1];try{var nr=Le.create;Le.destroy=nr()}catch(Or){if(ot===null)throw Error(c(330));Ju(ot,Or)}}for(nr=g.current.firstEffect;nr!==null;)g=nr.nextEffect,nr.nextEffect=null,nr.flags&8&&(nr.sibling=null,nr.stateNode=null),nr=g;return ma=T,fn(),!0}function rf(g,T,U){T=Tl(U,T),T=tc(g,T,1),Go(g,T),T=_u(),g=Mc(g,1),g!==null&&(Ei(g,1,T),Uu(g,T))}function Ju(g,T){if(g.tag===3)rf(g,g,T);else for(var U=g.return;U!==null;){if(U.tag===3){rf(U,g,T);break}else if(U.tag===1){var ve=U.stateNode;if(typeof U.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&(ao===null||!ao.has(ve))){g=Tl(T,g);var Le=Eu(U,g,1);if(Go(U,Le),Le=_u(),U=Mc(U,1),U!==null)Ei(U,1,Le),Uu(U,Le);else if(typeof ve.componentDidCatch=="function"&&(ao===null||!ao.has(ve)))try{ve.componentDidCatch(T,g)}catch(ot){}break}}U=U.return}}function Vf(g,T,U){var ve=g.pingCache;ve!==null&&ve.delete(T),T=_u(),g.pingedLanes|=g.suspendedLanes&U,po===g&&(Qn&U)===U&&(D===4||D===3&&(Qn&62914560)===Qn&&500>Tt()-na?xa(g,0):li|=U),Uu(g,T)}function sl(g,T){var U=g.stateNode;U!==null&&U.delete(T),T=0,T===0&&(T=g.mode,T&2?T&4?(yl===0&&(yl=me),T=mn(62914560&~yl),T===0&&(T=4194304)):T=$t()===99?1:2:T=1),U=_u(),g=Mc(g,T),g!==null&&(Ei(g,T,U),Uu(g,U))}var nf;nf=function(g,T,U){var ve=T.lanes;if(g!==null)if(g.memoizedProps!==T.pendingProps||be.current)Lu=!0;else if(U&ve)Lu=!!(g.flags&16384);else{switch(Lu=!1,T.tag){case 3:Jl(T),hc();break;case 5:Vl(T);break;case 1:tn(T.type)&&ii(T);break;case 4:Gl(T,T.stateNode.containerInfo);break;case 10:ve=T.memoizedProps.value;var Le=T.type._context;hs(Fi,Le._currentValue),Le._currentValue=ve;break;case 13:if(T.memoizedState!==null)return U&T.child.childLanes?mc(g,T,U):(hs(io,io.current&1),T=Xo(g,T,U),T!==null?T.sibling:null);hs(io,io.current&1);break;case 19:if(ve=(U&T.childLanes)!==0,g.flags&64){if(ve)return rl(g,T,U);T.flags|=64}if(Le=T.memoizedState,Le!==null&&(Le.rendering=null,Le.tail=null,Le.lastEffect=null),hs(io,io.current),ve)break;return null;case 23:case 24:return T.lanes=0,ks(g,T,U)}return Xo(g,T,U)}else Lu=!1;switch(T.lanes=0,T.tag){case 2:if(ve=T.type,g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),g=T.pendingProps,Le=br(T,Ma.current),Os(T,U),Le=If(null,T,ve,g,Le,U),T.flags|=1,typeof Le=="object"&&Le!==null&&typeof Le.render=="function"&&Le.$$typeof===void 0){if(T.tag=1,T.memoizedState=null,T.updateQueue=null,tn(ve)){var ot=!0;ii(T)}else ot=!1;T.memoizedState=Le.state!==null&&Le.state!==void 0?Le.state:null,xs(T);var Bt=ve.getDerivedStateFromProps;typeof Bt=="function"&&cc(T,ve,Bt,g),Le.updater=Sl,T.stateNode=Le,Le._reactInternals=T,Wu(T,ve,g,U),T=Pe(null,T,ve,!0,ot,U)}else T.tag=0,Vs(null,T,Le,U),T=T.child;return T;case 16:Le=T.elementType;e:{switch(g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),g=T.pendingProps,ot=Le._init,Le=ot(Le._payload),T.type=Le,ot=T.tag=af(Le),g=Xn(Le,g),ot){case 0:T=Ao(null,T,Le,g,U);break e;case 1:T=$u(null,T,Le,g,U);break e;case 11:T=vf(null,T,Le,g,U);break e;case 14:T=Df(null,T,Le,Xn(Le.type,g),ve,U);break e}throw Error(c(306,Le,""))}return T;case 0:return ve=T.type,Le=T.pendingProps,Le=T.elementType===ve?Le:Xn(ve,Le),Ao(g,T,ve,Le,U);case 1:return ve=T.type,Le=T.pendingProps,Le=T.elementType===ve?Le:Xn(ve,Le),$u(g,T,ve,Le,U);case 3:if(Jl(T),ve=T.updateQueue,g===null||ve===null)throw Error(c(282));if(ve=T.pendingProps,Le=T.memoizedState,Le=Le!==null?Le.element:null,Pr(g,T),Bs(T,ve,null,U),ve=T.memoizedState.element,ve===Le)hc(),T=Xo(g,T,U);else{if(Le=T.stateNode,(ot=Le.hydrate)&&(fl=Si(T.stateNode.containerInfo.firstChild),Bu=T,ot=wu=!0),ot){if(g=Le.mutableSourceEagerHydrationData,g!=null)for(Le=0;Le<g.length;Le+=2)ot=g[Le],ot._workInProgressVersionPrimary=g[Le+1],Rl.push(ot);for(U=Hl(T,null,ve,U),T.child=U;U;)U.flags=U.flags&-3|1024,U=U.sibling}else Vs(g,T,ve,U),hc();T=T.child}return T;case 5:return Vl(T),g===null&&fi(T),ve=T.type,Le=T.pendingProps,ot=g!==null?g.memoizedProps:null,Bt=Le.children,Ji(ve,Le)?Bt=null:ot!==null&&Ji(ve,ot)&&(T.flags|=16),ho(g,T),Vs(g,T,Bt,U),T.child;case 6:return g===null&&fi(T),null;case 13:return mc(g,T,U);case 4:return Gl(T,T.stateNode.containerInfo),ve=T.pendingProps,g===null?T.child=xu(T,null,ve,U):Vs(g,T,ve,U),T.child;case 11:return ve=T.type,Le=T.pendingProps,Le=T.elementType===ve?Le:Xn(ve,Le),vf(g,T,ve,Le,U);case 7:return Vs(g,T,T.pendingProps,U),T.child;case 8:return Vs(g,T,T.pendingProps.children,U),T.child;case 12:return Vs(g,T,T.pendingProps.children,U),T.child;case 10:e:{ve=T.type._context,Le=T.pendingProps,Bt=T.memoizedProps,ot=Le.value;var nr=T.type._context;if(hs(Fi,nr._currentValue),nr._currentValue=ot,Bt!==null)if(nr=Bt.value,ot=Hn(nr,ot)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(nr,ot):1073741823)|0,ot===0){if(Bt.children===Le.children&&!be.current){T=Xo(g,T,U);break e}}else for(nr=T.child,nr!==null&&(nr.return=T);nr!==null;){var Or=nr.dependencies;if(Or!==null){Bt=nr.child;for(var _n=Or.firstContext;_n!==null;){if(_n.context===ve&&_n.observedBits&ot){nr.tag===1&&(_n=Po(-1,U&-U),_n.tag=2,Go(nr,_n)),nr.lanes|=U,_n=nr.alternate,_n!==null&&(_n.lanes|=U),Ds(nr.return,U),Or.lanes|=U;break}_n=_n.next}}else Bt=nr.tag===10&&nr.type===T.type?null:nr.child;if(Bt!==null)Bt.return=nr;else for(Bt=nr;Bt!==null;){if(Bt===T){Bt=null;break}if(nr=Bt.sibling,nr!==null){nr.return=Bt.return,Bt=nr;break}Bt=Bt.return}nr=Bt}Vs(g,T,Le.children,U),T=T.child}return T;case 9:return Le=T.type,ot=T.pendingProps,ve=ot.children,Os(T,U),Le=ka(Le,ot.unstable_observedBits),ve=ve(Le),T.flags|=1,Vs(g,T,ve,U),T.child;case 14:return Le=T.type,ot=Xn(Le,T.pendingProps),ot=Xn(Le.type,ot),Df(g,T,Le,ot,ve,U);case 15:return Dc(g,T,T.type,T.pendingProps,ve,U);case 17:return ve=T.type,Le=T.pendingProps,Le=T.elementType===ve?Le:Xn(ve,Le),g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),T.tag=1,tn(ve)?(g=!0,ii(T)):g=!1,Os(T,U),ll(T,ve,Le),Wu(T,ve,Le,U),Pe(null,T,ve,!0,g,U);case 19:return rl(g,T,U);case 23:return ks(g,T,U);case 24:return ks(g,T,U)}throw Error(c(156,T.tag))};function Mf(g,T,U,ve){this.tag=g,this.key=U,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=T,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 iu(g,T,U,ve){return new Mf(g,T,U,ve)}function Ef(g){return g=g.prototype,!(!g||!g.isReactComponent)}function af(g){if(typeof g=="function")return Ef(g)?1:0;if(g!=null){if(g=g.$$typeof,g===Q)return 11;if(g===ee)return 14}return 2}function Dl(g,T){var U=g.alternate;return U===null?(U=iu(g.tag,T,g.key,g.mode),U.elementType=g.elementType,U.type=g.type,U.stateNode=g.stateNode,U.alternate=g,g.alternate=U):(U.pendingProps=T,U.type=g.type,U.flags=0,U.nextEffect=null,U.firstEffect=null,U.lastEffect=null),U.childLanes=g.childLanes,U.lanes=g.lanes,U.child=g.child,U.memoizedProps=g.memoizedProps,U.memoizedState=g.memoizedState,U.updateQueue=g.updateQueue,T=g.dependencies,U.dependencies=T===null?null:{lanes:T.lanes,firstContext:T.firstContext},U.sibling=g.sibling,U.index=g.index,U.ref=g.ref,U}function Fc(g,T,U,ve,Le,ot){var Bt=2;if(ve=g,typeof g=="function")Ef(g)&&(Bt=1);else if(typeof g=="string")Bt=5;else e:switch(g){case H:return au(U.children,Le,ot,T);case $:Bt=8,Le|=16;break;case te:Bt=8,Le|=1;break;case ie:return g=iu(12,U,T,Le|8),g.elementType=ie,g.type=ie,g.lanes=ot,g;case K:return g=iu(13,U,T,Le),g.type=K,g.elementType=K,g.lanes=ot,g;case se:return g=iu(19,U,T,Le),g.elementType=se,g.lanes=ot,g;case ae:return Sf(U,Le,ot,T);case _e:return g=iu(24,U,T,Le),g.elementType=_e,g.lanes=ot,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case oe:Bt=10;break e;case J:Bt=9;break e;case Q:Bt=11;break e;case ee:Bt=14;break e;case X:Bt=16,ve=null;break e;case le:Bt=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return T=iu(Bt,U,T,Le),T.elementType=g,T.type=ve,T.lanes=ot,T}function au(g,T,U,ve){return g=iu(7,g,ve,T),g.lanes=U,g}function Sf(g,T,U,ve){return g=iu(23,g,ve,T),g.elementType=ae,g.lanes=U,g}function Af(g,T,U){return g=iu(6,g,null,T),g.lanes=U,g}function sf(g,T,U){return T=iu(4,g.children!==null?g.children:[],g.key,T),T.lanes=U,T.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},T}function Bc(g,T,U){this.tag=T,this.containerInfo=g,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=U,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Oa(0),this.expirationTimes=Oa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Oa(0),this.mutableSourceEagerHydrationData=null}function Ff(g,T,U){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:W,key:ve==null?null:""+ve,children:g,containerInfo:T,implementation:U}}function Nc(g,T,U,ve){var Le=T.current,ot=_u(),Bt=Il(Le);e:if(U){U=U._reactInternals;t:{if(at(U)!==U||U.tag!==1)throw Error(c(170));var nr=U;do{switch(nr.tag){case 3:nr=nr.stateNode.context;break t;case 1:if(tn(nr.type)){nr=nr.stateNode.__reactInternalMemoizedMergedChildContext;break t}}nr=nr.return}while(nr!==null);throw Error(c(171))}if(U.tag===1){var Or=U.type;if(tn(Or)){U=On(U,Or,nr);break e}}U=nr}else U=ro;return T.context===null?T.context=U:T.pendingContext=U,T=Po(ot,Bt),T.payload={element:g},ve=ve===void 0?null:ve,ve!==null&&(T.callback=ve),Go(Le,T),ic(Le,Bt,ot),Bt}function zf(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 Yf(g,T){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var U=g.retryLane;g.retryLane=U!==0&&U<T?U:T}}function Bf(g,T){Yf(g,T),(g=g.alternate)&&Yf(g,T)}function qf(){return null}function Zf(g,T,U){var ve=U!=null&&U.hydrationOptions!=null&&U.hydrationOptions.mutableSources||null;if(U=new Bc(g,T,U!=null&&U.hydrate===!0),T=iu(3,null,null,T===2?7:T===1?3:0),U.current=T,T.stateNode=U,xs(T),g[Ui]=U.current,Ht(g.nodeType===8?g.parentNode:g),ve)for(g=0;g<ve.length;g++){T=ve[g];var Le=T._getVersion;Le=Le(T._source),U.mutableSourceEagerHydrationData==null?U.mutableSourceEagerHydrationData=[T,Le]:U.mutableSourceEagerHydrationData.push(T,Le)}this._internalRoot=U}Zf.prototype.render=function(g){Nc(g,this._internalRoot,null,null)},Zf.prototype.unmount=function(){var g=this._internalRoot,T=g.containerInfo;Nc(null,g,null,function(){T[Ui]=null})};function of(g){return!(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11&&(g.nodeType!==8||g.nodeValue!==" react-mount-point-unstable "))}function id(g,T){if(T||(T=g?g.nodeType===9?g.documentElement:g.firstChild:null,T=!(!T||T.nodeType!==1||!T.hasAttribute("data-reactroot"))),!T)for(var U;U=g.lastChild;)g.removeChild(U);return new Zf(g,0,T?{hydrate:!0}:void 0)}function Hf(g,T,U,ve,Le){var ot=U._reactRootContainer;if(ot){var Bt=ot._internalRoot;if(typeof Le=="function"){var nr=Le;Le=function(){var _n=zf(Bt);nr.call(_n)}}Nc(T,Bt,g,Le)}else{if(ot=U._reactRootContainer=id(U,ve),Bt=ot._internalRoot,typeof Le=="function"){var Or=Le;Le=function(){var _n=zf(Bt);Or.call(_n)}}Na(function(){Nc(T,Bt,g,Le)})}return zf(Bt)}gn=function(g){if(g.tag===13){var T=_u();ic(g,4,T),Bf(g,4)}},Mn=function(g){if(g.tag===13){var T=_u();ic(g,67108864,T),Bf(g,67108864)}},ai=function(g){if(g.tag===13){var T=_u(),U=Il(g);ic(g,U,T),Bf(g,U)}},hi=function(g,T){return T()},St=function(g,T,U){switch(T){case"input":if(ge(g,U),T=U.name,U.type==="radio"&&T!=null){for(U=g;U.parentNode;)U=U.parentNode;for(U=U.querySelectorAll("input[name="+JSON.stringify(""+T)+'][type="radio"]'),T=0;T<U.length;T++){var ve=U[T];if(ve!==g&&ve.form===g.form){var Le=bs(ve);if(!Le)throw Error(c(90));it(ve),ge(ve,Le)}}}break;case"textarea":Zt(g,U);break;case"select":T=U.value,T!=null&&nt(g,!!U.multiple,T,!1)}},Rt=ea,Ne=function(g,T,U,ve,Le){var ot=ma;ma|=4;try{return Tr(98,g.bind(null,T,U,ve,Le))}finally{ma=ot,ma===0&&(Ys(),fn())}},Dr=function(){!(ma&49)&&(ri(),ac())},Et=function(g,T){var U=ma;ma|=2;try{return g(T)}finally{ma=U,ma===0&&(Ys(),fn())}};function Nf(g,T){var U=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!of(T))throw Error(c(200));return Ff(g,T,null,U)}var ad={Events:[ds,Fo,bs,Xe,vt,ac,{current:!1}]},Tf={findFiberByHostInstance:fs,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Jf={bundleType:Tf.bundleType,version:Tf.version,rendererPackageName:Tf.rendererPackageName,rendererConfig:Tf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=mr(g),g===null?null:g.stateNode},findFiberByHostInstance:Tf.findFiberByHostInstance||qf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Wf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wf.isDisabled&&Wf.supportsFiber)try{zn=Wf.inject(Jf),Zn=Wf}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ad,v.createPortal=Nf,v.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var T=g._reactInternals;if(T===void 0)throw typeof g.render=="function"?Error(c(188)):Error(c(268,Object.keys(g)));return g=mr(T),g=g===null?null:g.stateNode,g},v.flushSync=function(g,T){var U=ma;if(U&48)return g(T);ma|=1;try{if(g)return Tr(99,g.bind(null,T))}finally{ma=U,fn()}},v.hydrate=function(g,T,U){if(!of(T))throw Error(c(200));return Hf(null,g,T,!0,U)},v.render=function(g,T,U){if(!of(T))throw Error(c(200));return Hf(null,g,T,!1,U)},v.unmountComponentAtNode=function(g){if(!of(g))throw Error(c(40));return g._reactRootContainer?(Na(function(){Hf(null,null,g,!1,function(){g._reactRootContainer=null,g[Ui]=null})}),!0):!1},v.unstable_batchedUpdates=ea,v.unstable_createPortal=function(g,T){return Nf(g,T,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,T,U,ve){if(!of(U))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return Hf(g,T,U,!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 o,h,u;if(Array.isArray(c)){if(o=c.length,o!=f.length)return!1;for(h=o;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(o=c.length,o!=f.length)return!1;for(h=o;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),o=u.length,o!==Object.keys(f).length)return!1;for(h=o;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,u[h]))return!1;if(v&&c instanceof Element)return!1;for(h=o;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,o){try{return l(f,o)}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,o=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,k=e?Symbol.for("react.fundamental"):60117,R=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function I(B){if(typeof B=="object"&&B!==null){var N=B.$$typeof;switch(N){case r:switch(B=B.type,B){case u:case a:case l:case f:case c:case p:return B;default:switch(B=B&&B.$$typeof,B){case h:case x:case b:case _:case o:return B;default:return N}}case i:return N}}}function M(B){return I(B)===a}v.AsyncMode=u,v.ConcurrentMode=a,v.ContextConsumer=h,v.ContextProvider=o,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(B){return M(B)||I(B)===u},v.isConcurrentMode=M,v.isContextConsumer=function(B){return I(B)===h},v.isContextProvider=function(B){return I(B)===o},v.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},v.isForwardRef=function(B){return I(B)===x},v.isFragment=function(B){return I(B)===l},v.isLazy=function(B){return I(B)===b},v.isMemo=function(B){return I(B)===_},v.isPortal=function(B){return I(B)===i},v.isProfiler=function(B){return I(B)===f},v.isStrictMode=function(B){return I(B)===c},v.isSuspense=function(B){return I(B)===p},v.isValidElementType=function(B){return typeof B=="string"||typeof B=="function"||B===l||B===a||B===f||B===c||B===p||B===y||typeof B=="object"&&B!==null&&(B.$$typeof===b||B.$$typeof===_||B.$$typeof===o||B.$$typeof===h||B.$$typeof===x||B.$$typeof===k||B.$$typeof===R||B.$$typeof===A||B.$$typeof===S)},v.typeOf=I},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"),o=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(k){if(typeof k=="object"&&k!==null){var R=k.$$typeof;switch(R){case e:switch(k=k.type,k){case i:case c:case l:case a:case x:return k;default:switch(k=k&&k.$$typeof,k){case h:case o:case u:case y:case p:case f:return k;default:return R}}case r:return R}}}v.ContextConsumer=o,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(k){return S(k)===o},v.isContextProvider=function(k){return S(k)===f},v.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===e},v.isForwardRef=function(k){return S(k)===u},v.isFragment=function(k){return S(k)===i},v.isLazy=function(k){return S(k)===y},v.isMemo=function(k){return S(k)===p},v.isPortal=function(k){return S(k)===r},v.isProfiler=function(k){return S(k)===c},v.isStrictMode=function(k){return S(k)===l},v.isSuspense=function(k){return S(k)===a},v.isSuspenseList=function(k){return S(k)===x},v.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===i||k===c||k===l||k===a||k===x||k===_||typeof k=="object"&&k!==null&&(k.$$typeof===y||k.$$typeof===p||k.$$typeof===f||k.$$typeof===o||k.$$typeof===u||k.$$typeof===b||k.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 k},rU:function(){return _}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(A){for(var I=1;I<arguments.length;I++){var M=arguments[I];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(A[B]=M[B])}return A},c.apply(this,arguments)}function f(A,I){if(A==null)return{};var M={},B=Object.keys(A),N,V;for(V=0;V<B.length;V++)N=B[V],!(I.indexOf(N)>=0)&&(M[N]=A[N]);return M}const o=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(A,I){if(!A){typeof console!="undefined"&&console.warn(I);try{throw new Error(I)}catch(M){}}}function a(A){let{basename:I,children:M,window:B}=A,N=useRef();N.current==null&&(N.current=createBrowserHistory({window:B}));let V=N.current,[W,H]=useState({action:V.action,location:V.location});return useLayoutEffect(()=>V.listen(H),[V]),createElement(Router,{basename:I,children:M,location:W.location,navigationType:W.action,navigator:V})}function x(A){let{basename:I,children:M,window:B}=A,N=useRef();N.current==null&&(N.current=createHashHistory({window:B}));let V=N.current,[W,H]=useState({action:V.action,location:V.location});return useLayoutEffect(()=>V.listen(H),[V]),createElement(Router,{basename:I,children:M,location:W.location,navigationType:W.action,navigator:V})}function p(A){let{basename:I,children:M,history:B}=A;const[N,V]=useState({action:B.action,location:B.location});return useLayoutEffect(()=>B.listen(V),[B]),createElement(Router,{basename:I,children:M,location:N.location,navigationType:N.action,navigator:B})}function y(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}const _=(0,r.forwardRef)(function(I,M){let{onClick:B,reloadDocument:N,replace:V=!1,state:W,target:H,to:te}=I,ie=f(I,o),oe=(0,i.oQ)(te),J=S(te,{replace:V,state:W,target:H});function Q(K){B&&B(K),!K.defaultPrevented&&!N&&J(K)}return(0,r.createElement)("a",c({},ie,{href:oe,onClick:Q,ref:M,target:H}))}),b=null;function S(A,I){let{target:M,replace:B,state:N}=I===void 0?{}:I,V=(0,i.s0)(),W=(0,i.TH)(),H=(0,i.WU)(A);return(0,r.useCallback)(te=>{if(te.button===0&&(!M||M==="_self")&&!y(te)){te.preventDefault();let ie=!!B||(0,l.Ep)(W)===(0,l.Ep)(H);V(A,{replace:ie,state:N})}},[W,V,H,B,N,M,A])}function k(A){let I=(0,r.useRef)(R(A)),M=(0,i.TH)(),B=(0,r.useMemo)(()=>{let W=R(M.search);for(let H of I.current.keys())W.has(H)||I.current.getAll(H).forEach(te=>{W.append(H,te)});return W},[M.search]),N=(0,i.s0)(),V=(0,r.useCallback)((W,H)=>{N("?"+R(W),H)},[N]);return[B,V]}function R(A){return A===void 0&&(A=""),new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((I,M)=>{let B=A[M];return I.concat(Array.isArray(B)?B.map(N=>[M,N]):[[M,B]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return it},Fg:function(){return Ke},Gn:function(){return x},TH:function(){return ae},UO:function(){return yt},V$:function(){return tr},WU:function(){return Pt},bx:function(){return je},fp:function(){return p},j3:function(){return Ct},oQ:function(){return z},s0:function(){return ke}});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 o(Ze,ge){if(!Ze)throw new Error(ge)}function h(Ze,ge){if(!Ze){typeof console!="undefined"&&console.warn(ge);try{throw new Error(ge)}catch(Ae){}}}const u={};function a(Ze,ge,Ae){!ge&&!u[Ze]&&(u[Ze]=!0)}function x(Ze,ge){return ge===void 0&&(ge={}),Ze.replace(/:(\w+)/g,(Ae,Me)=>(ge[Me]==null&&o(!1),ge[Me])).replace(/\/*\*$/,Ae=>ge["*"]==null?"":ge["*"].replace(/^\/*/,"/"))}function p(Ze,ge,Ae){Ae===void 0&&(Ae="/");let Me=typeof ge=="string"?(0,r.cP)(ge):ge,Ue=K(Me.pathname||"/",Ae);if(Ue==null)return null;let Ge=y(Ze);_(Ge);let nt=null;for(let ut=0;nt==null&&ut<Ge.length;++ut)nt=V(Ge[ut],Ue);return nt}function y(Ze,ge,Ae,Me){return ge===void 0&&(ge=[]),Ae===void 0&&(Ae=[]),Me===void 0&&(Me=""),Ze.forEach((Ue,Ge)=>{let nt={relativePath:Ue.path||"",caseSensitive:Ue.caseSensitive===!0,childrenIndex:Ge,route:Ue};nt.relativePath.startsWith("/")&&(nt.relativePath.startsWith(Me)||o(!1),nt.relativePath=nt.relativePath.slice(Me.length));let ut=se([Me,nt.relativePath]),Kt=Ae.concat(nt);Ue.children&&Ue.children.length>0&&(Ue.index===!0&&o(!1),y(Ue.children,ge,Kt,ut)),!(Ue.path==null&&!Ue.index)&&ge.push({path:ut,score:B(ut,Ue.index),routesMeta:Kt})}),ge}function _(Ze){Ze.sort((ge,Ae)=>ge.score!==Ae.score?Ae.score-ge.score:N(ge.routesMeta.map(Me=>Me.childrenIndex),Ae.routesMeta.map(Me=>Me.childrenIndex)))}const b=/^:\w+$/,S=3,k=2,R=1,A=10,I=-2,M=Ze=>Ze==="*";function B(Ze,ge){let Ae=Ze.split("/"),Me=Ae.length;return Ae.some(M)&&(Me+=I),ge&&(Me+=k),Ae.filter(Ue=>!M(Ue)).reduce((Ue,Ge)=>Ue+(b.test(Ge)?S:Ge===""?R:A),Me)}function N(Ze,ge){return Ze.length===ge.length&&Ze.slice(0,-1).every((Me,Ue)=>Me===ge[Ue])?Ze[Ze.length-1]-ge[ge.length-1]:0}function V(Ze,ge){let{routesMeta:Ae}=Ze,Me={},Ue="/",Ge=[];for(let nt=0;nt<Ae.length;++nt){let ut=Ae[nt],Kt=nt===Ae.length-1,Zt=Ue==="/"?ge:ge.slice(Ue.length)||"/",De=W({path:ut.relativePath,caseSensitive:ut.caseSensitive,end:Kt},Zt);if(!De)return null;Object.assign(Me,De.params);let Je=ut.route;Ge.push({params:Me,pathname:se([Ue,De.pathname]),pathnameBase:ee(se([Ue,De.pathnameBase])),route:Je}),De.pathnameBase!=="/"&&(Ue=se([Ue,De.pathnameBase]))}return Ge}function W(Ze,ge){typeof Ze=="string"&&(Ze={path:Ze,caseSensitive:!1,end:!0});let[Ae,Me]=H(Ze.path,Ze.caseSensitive,Ze.end),Ue=ge.match(Ae);if(!Ue)return null;let Ge=Ue[0],nt=Ge.replace(/(.)\/+$/,"$1"),ut=Ue.slice(1);return{params:Me.reduce((Zt,De,Je)=>{if(De==="*"){let Wt=ut[Je]||"";nt=Ge.slice(0,Ge.length-Wt.length).replace(/(.)\/+$/,"$1")}return Zt[De]=te(ut[Je]||"",De),Zt},{}),pathname:Ge,pathnameBase:nt,pattern:Ze}}function H(Ze,ge,Ae){ge===void 0&&(ge=!1),Ae===void 0&&(Ae=!0);let Me=[],Ue="^"+Ze.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(nt,ut)=>(Me.push(ut),"([^\\/]+)"));return Ze.endsWith("*")?(Me.push("*"),Ue+=Ze==="*"||Ze==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):Ue+=Ae?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(Ue,ge?void 0:"i"),Me]}function te(Ze,ge){try{return decodeURIComponent(Ze)}catch(Ae){return Ze}}function ie(Ze,ge){ge===void 0&&(ge="/");let{pathname:Ae,search:Me="",hash:Ue=""}=typeof Ze=="string"?(0,r.cP)(Ze):Ze;return{pathname:Ae?Ae.startsWith("/")?Ae:oe(Ae,ge):ge,search:X(Me),hash:le(Ue)}}function oe(Ze,ge){let Ae=ge.replace(/\/+$/,"").split("/");return Ze.split("/").forEach(Ue=>{Ue===".."?Ae.length>1&&Ae.pop():Ue!=="."&&Ae.push(Ue)}),Ae.length>1?Ae.join("/"):"/"}function J(Ze,ge,Ae){let Me=typeof Ze=="string"?(0,r.cP)(Ze):Ze,Ue=Ze===""||Me.pathname===""?"/":Me.pathname,Ge;if(Ue==null)Ge=Ae;else{let ut=ge.length-1;if(Ue.startsWith("..")){let Kt=Ue.split("/");for(;Kt[0]==="..";)Kt.shift(),ut-=1;Me.pathname=Kt.join("/")}Ge=ut>=0?ge[ut]:"/"}let nt=ie(Me,Ge);return Ue&&Ue!=="/"&&Ue.endsWith("/")&&!nt.pathname.endsWith("/")&&(nt.pathname+="/"),nt}function Q(Ze){return Ze===""||Ze.pathname===""?"/":typeof Ze=="string"?(0,r.cP)(Ze).pathname:Ze.pathname}function K(Ze,ge){if(ge==="/")return Ze;if(!Ze.toLowerCase().startsWith(ge.toLowerCase()))return null;let Ae=Ze.charAt(ge.length);return Ae&&Ae!=="/"?null:Ze.slice(ge.length)||"/"}const se=Ze=>Ze.join("/").replace(/\/\/+/g,"/"),ee=Ze=>Ze.replace(/\/+$/,"").replace(/^\/*/,"/"),X=Ze=>!Ze||Ze==="?"?"":Ze.startsWith("?")?Ze:"?"+Ze,le=Ze=>!Ze||Ze==="#"?"":Ze.startsWith("#")?Ze:"#"+Ze;function z(Ze){$()||o(!1);let{basename:ge,navigator:Ae}=(0,i.useContext)(l),{hash:Me,pathname:Ue,search:Ge}=Pt(Ze),nt=Ue;if(ge!=="/"){let ut=Q(Ze),Kt=ut!=null&&ut.endsWith("/");nt=Ue==="/"?ge+(Kt?"/":""):se([ge,Ue])}return Ae.createHref({pathname:nt,search:Ge,hash:Me})}function $(){return(0,i.useContext)(c)!=null}function ae(){return $()||o(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function Ie(Ze){$()||o(!1);let{pathname:ge}=ae();return useMemo(()=>W(Ze,ge),[ge,Ze])}function ke(){$()||o(!1);let{basename:Ze,navigator:ge}=(0,i.useContext)(l),{matches:Ae}=(0,i.useContext)(f),{pathname:Me}=ae(),Ue=JSON.stringify(Ae.map(ut=>ut.pathnameBase)),Ge=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{Ge.current=!0}),(0,i.useCallback)(function(ut,Kt){if(Kt===void 0&&(Kt={}),!Ge.current)return;if(typeof ut=="number"){ge.go(ut);return}let Zt=J(ut,JSON.parse(Ue),Me);Ze!=="/"&&(Zt.pathname=se([Ze,Zt.pathname])),(Kt.replace?ge.replace:ge.push)(Zt,Kt.state)},[Ze,ge,Ue,Me])}const We=(0,i.createContext)(null);function je(){return(0,i.useContext)(We)}function Mt(Ze){let ge=(0,i.useContext)(f).outlet;return ge&&(0,i.createElement)(We.Provider,{value:Ze},ge)}function yt(){let{matches:Ze}=(0,i.useContext)(f),ge=Ze[Ze.length-1];return ge?ge.params:{}}function Pt(Ze){let{matches:ge}=(0,i.useContext)(f),{pathname:Ae}=ae(),Me=JSON.stringify(ge.map(Ue=>Ue.pathnameBase));return(0,i.useMemo)(()=>J(Ze,JSON.parse(Me),Ae),[Ze,Me,Ae])}function tr(Ze,ge){$()||o(!1);let{matches:Ae}=(0,i.useContext)(f),Me=Ae[Ae.length-1],Ue=Me?Me.params:{},Ge=Me?Me.pathname:"/",nt=Me?Me.pathnameBase:"/",ut=Me&&Me.route,Kt=ae(),Zt;if(ge){var De;let zt=typeof ge=="string"?(0,r.cP)(ge):ge;nt==="/"||(De=zt.pathname)!=null&&De.startsWith(nt)||o(!1),Zt=zt}else Zt=Kt;let Je=Zt.pathname||"/",Wt=nt==="/"?Je:Je.slice(nt.length)||"/",Ot=p(Ze,{pathname:Wt});return Vt(Ot&&Ot.map(zt=>Object.assign({},zt,{params:Object.assign({},Ue,zt.params),pathname:se([nt,zt.pathname]),pathnameBase:zt.pathnameBase==="/"?nt:se([nt,zt.pathnameBase])})),Ae)}function Vt(Ze,ge){return ge===void 0&&(ge=[]),Ze==null?null:Ze.reduceRight((Ae,Me,Ue)=>(0,i.createElement)(f.Provider,{children:Me.route.element!==void 0?Me.route.element:Ae,value:{outlet:Ae,matches:ge.concat(Ze.slice(0,Ue+1))}}),null)}function lr(Ze){let{basename:ge,children:Ae,initialEntries:Me,initialIndex:Ue}=Ze,Ge=useRef();Ge.current==null&&(Ge.current=createMemoryHistory({initialEntries:Me,initialIndex:Ue}));let nt=Ge.current,[ut,Kt]=useState({action:nt.action,location:nt.location});return useLayoutEffect(()=>nt.listen(Kt),[nt]),createElement(it,{basename:ge,children:Ae,location:ut.location,navigationType:ut.action,navigator:nt})}function Ke(Ze){let{to:ge,replace:Ae,state:Me}=Ze;$()||o(!1);let Ue=ke();return(0,i.useEffect)(()=>{Ue(ge,{replace:Ae,state:Me})}),null}function Ct(Ze){return Mt(Ze.context)}function jt(Ze){o(!1)}function it(Ze){let{basename:ge="/",children:Ae=null,location:Me,navigationType:Ue=r.aU.Pop,navigator:Ge,static:nt=!1}=Ze;$()&&o(!1);let ut=ee(ge),Kt=(0,i.useMemo)(()=>({basename:ut,navigator:Ge,static:nt}),[ut,Ge,nt]);typeof Me=="string"&&(Me=(0,r.cP)(Me));let{pathname:Zt="/",search:De="",hash:Je="",state:Wt=null,key:Ot="default"}=Me,zt=(0,i.useMemo)(()=>{let Ft=K(Zt,ut);return Ft==null?null:{pathname:Ft,search:De,hash:Je,state:Wt,key:Ot}},[ut,Zt,De,Je,Wt,Ot]);return zt==null?null:(0,i.createElement)(l.Provider,{value:Kt},(0,i.createElement)(c.Provider,{children:Ae,value:{location:zt,navigationType:Ue}}))}function xt(Ze){let{children:ge,location:Ae}=Ze;return tr(pt(ge),Ae)}function pt(Ze){let ge=[];return Children.forEach(Ze,Ae=>{if(!isValidElement(Ae))return;if(Ae.type===Fragment){ge.push.apply(ge,pt(Ae.props.children));return}Ae.type!==jt&&o(!1);let Me={caseSensitive:Ae.props.caseSensitive,element:Ae.props.element,index:Ae.props.index,path:Ae.props.path};Ae.props.children&&(Me.children=pt(Ae.props.children)),ge.push(Me)}),ge}function et(Ze){return Vt(Ze)}},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,o=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"),o=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(X){return X===null||typeof X!="object"?null:(X=x&&X[x]||X["@@iterator"],typeof X=="function"?X:null)}function y(X){for(var le="https://reactjs.org/docs/error-decoder.html?invariant="+X,z=1;z<arguments.length;z++)le+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+X+"; 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(X,le,z){this.props=X,this.context=le,this.refs=b,this.updater=z||_}S.prototype.isReactComponent={},S.prototype.setState=function(X,le){if(typeof X!="object"&&typeof X!="function"&&X!=null)throw Error(y(85));this.updater.enqueueSetState(this,X,le,"setState")},S.prototype.forceUpdate=function(X){this.updater.enqueueForceUpdate(this,X,"forceUpdate")};function k(){}k.prototype=S.prototype;function R(X,le,z){this.props=X,this.context=le,this.refs=b,this.updater=z||_}var A=R.prototype=new k;A.constructor=R,r(A,S.prototype),A.isPureReactComponent=!0;var I={current:null},M=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function N(X,le,z){var $,ae={},_e=null,Ie=null;if(le!=null)for($ in le.ref!==void 0&&(Ie=le.ref),le.key!==void 0&&(_e=""+le.key),le)M.call(le,$)&&!B.hasOwnProperty($)&&(ae[$]=le[$]);var ke=arguments.length-2;if(ke===1)ae.children=z;else if(1<ke){for(var We=Array(ke),je=0;je<ke;je++)We[je]=arguments[je+2];ae.children=We}if(X&&X.defaultProps)for($ in ke=X.defaultProps,ke)ae[$]===void 0&&(ae[$]=ke[$]);return{$$typeof:i,type:X,key:_e,ref:Ie,props:ae,_owner:I.current}}function V(X,le){return{$$typeof:i,type:X.type,key:le,ref:X.ref,props:X.props,_owner:X._owner}}function W(X){return typeof X=="object"&&X!==null&&X.$$typeof===i}function H(X){var le={"=":"=0",":":"=2"};return"$"+X.replace(/[=:]/g,function(z){return le[z]})}var te=/\/+/g;function ie(X,le){return typeof X=="object"&&X!==null&&X.key!=null?H(""+X.key):le.toString(36)}function oe(X,le,z,$,ae){var _e=typeof X;(_e==="undefined"||_e==="boolean")&&(X=null);var Ie=!1;if(X===null)Ie=!0;else switch(_e){case"string":case"number":Ie=!0;break;case"object":switch(X.$$typeof){case i:case l:Ie=!0}}if(Ie)return Ie=X,ae=ae(Ie),X=$===""?"."+ie(Ie,0):$,Array.isArray(ae)?(z="",X!=null&&(z=X.replace(te,"$&/")+"/"),oe(ae,le,z,"",function(je){return je})):ae!=null&&(W(ae)&&(ae=V(ae,z+(!ae.key||Ie&&Ie.key===ae.key?"":(""+ae.key).replace(te,"$&/")+"/")+X)),le.push(ae)),1;if(Ie=0,$=$===""?".":$+":",Array.isArray(X))for(var ke=0;ke<X.length;ke++){_e=X[ke];var We=$+ie(_e,ke);Ie+=oe(_e,le,z,We,ae)}else if(We=p(X),typeof We=="function")for(X=We.call(X),ke=0;!(_e=X.next()).done;)_e=_e.value,We=$+ie(_e,ke++),Ie+=oe(_e,le,z,We,ae);else if(_e==="object")throw le=""+X,Error(y(31,le==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":le));return Ie}function J(X,le,z){if(X==null)return X;var $=[],ae=0;return oe(X,$,"","",function(_e){return le.call(z,_e,ae++)}),$}function Q(X){if(X._status===-1){var le=X._result;le=le(),X._status=0,X._result=le,le.then(function(z){X._status===0&&(z=z.default,X._status=1,X._result=z)},function(z){X._status===0&&(X._status=2,X._result=z)})}if(X._status===1)return X._result;throw X._result}var K={current:null};function se(){var X=K.current;if(X===null)throw Error(y(321));return X}var ee={ReactCurrentDispatcher:K,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},assign:r};v.Children={map:J,forEach:function(X,le,z){J(X,function(){le.apply(this,arguments)},z)},count:function(X){var le=0;return J(X,function(){le++}),le},toArray:function(X){return J(X,function(le){return le})||[]},only:function(X){if(!W(X))throw Error(y(143));return X}},v.Component=S,v.PureComponent=R,v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,v.cloneElement=function(X,le,z){if(X==null)throw Error(y(267,X));var $=r({},X.props),ae=X.key,_e=X.ref,Ie=X._owner;if(le!=null){if(le.ref!==void 0&&(_e=le.ref,Ie=I.current),le.key!==void 0&&(ae=""+le.key),X.type&&X.type.defaultProps)var ke=X.type.defaultProps;for(We in le)M.call(le,We)&&!B.hasOwnProperty(We)&&($[We]=le[We]===void 0&&ke!==void 0?ke[We]:le[We])}var We=arguments.length-2;if(We===1)$.children=z;else if(1<We){ke=Array(We);for(var je=0;je<We;je++)ke[je]=arguments[je+2];$.children=ke}return{$$typeof:i,type:X.type,key:ae,ref:_e,props:$,_owner:Ie}},v.createContext=function(X,le){return le===void 0&&(le=null),X={$$typeof:f,_calculateChangedBits:le,_currentValue:X,_currentValue2:X,_threadCount:0,Provider:null,Consumer:null},X.Provider={$$typeof:c,_context:X},X.Consumer=X},v.createElement=N,v.createFactory=function(X){var le=N.bind(null,X);return le.type=X,le},v.createRef=function(){return{current:null}},v.forwardRef=function(X){return{$$typeof:o,render:X}},v.isValidElement=W,v.lazy=function(X){return{$$typeof:u,_payload:{_status:-1,_result:X},_init:Q}},v.memo=function(X,le){return{$$typeof:h,type:X,compare:le===void 0?null:le}},v.useCallback=function(X,le){return se().useCallback(X,le)},v.useContext=function(X,le){return se().useContext(X,le)},v.useDebugValue=function(){},v.useEffect=function(X,le){return se().useEffect(X,le)},v.useImperativeHandle=function(X,le,z){return se().useImperativeHandle(X,le,z)},v.useLayoutEffect=function(X,le){return se().useLayoutEffect(X,le)},v.useMemo=function(X,le){return se().useMemo(X,le)},v.useReducer=function(X,le,z){return se().useReducer(X,le,z)},v.useRef=function(X){return se().useRef(X)},v.useState=function(X){return se().useState(X)},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 I},MT:function(){return y},UY:function(){return R},md:function(){return B},qC:function(){return M}});var r=e(33885);function i(N){return"Minified Redux error #"+N+"; visit https://redux.js.org/Errors?code="+N+" 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 o(N){if(typeof N!="object"||N===null)return!1;for(var V=N;Object.getPrototypeOf(V)!==null;)V=Object.getPrototypeOf(V);return Object.getPrototypeOf(N)===V}function h(N){if(N===void 0)return"undefined";if(N===null)return"null";var V=typeof N;switch(V){case"boolean":case"string":case"number":case"symbol":case"function":return V}if(Array.isArray(N))return"array";if(x(N))return"date";if(a(N))return"error";var W=u(N);switch(W){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return W}return V.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(N){return typeof N.constructor=="function"?N.constructor.name:null}function a(N){return N instanceof Error||typeof N.message=="string"&&N.constructor&&typeof N.constructor.stackTraceLimit=="number"}function x(N){return N instanceof Date?!0:typeof N.toDateString=="function"&&typeof N.getDate=="function"&&typeof N.setDate=="function"}function p(N){var V=typeof N;return V}function y(N,V,W){var H;if(typeof V=="function"&&typeof W=="function"||typeof W=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof V=="function"&&typeof W=="undefined"&&(W=V,V=void 0),typeof W!="undefined"){if(typeof W!="function")throw new Error(i(1));return W(y)(N,V)}if(typeof N!="function")throw new Error(i(2));var te=N,ie=V,oe=[],J=oe,Q=!1;function K(){J===oe&&(J=oe.slice())}function se(){if(Q)throw new Error(i(3));return ie}function ee($){if(typeof $!="function")throw new Error(i(4));if(Q)throw new Error(i(5));var ae=!0;return K(),J.push($),function(){if(ae){if(Q)throw new Error(i(6));ae=!1,K();var Ie=J.indexOf($);J.splice(Ie,1),oe=null}}}function X($){if(!o($))throw new Error(i(7));if(typeof $.type=="undefined")throw new Error(i(8));if(Q)throw new Error(i(9));try{Q=!0,ie=te(ie,$)}finally{Q=!1}for(var ae=oe=J,_e=0;_e<ae.length;_e++){var Ie=ae[_e];Ie()}return $}function le($){if(typeof $!="function")throw new Error(i(10));te=$,X({type:f.REPLACE})}function z(){var $,ae=ee;return $={subscribe:function(Ie){if(typeof Ie!="object"||Ie===null)throw new Error(i(11));function ke(){Ie.next&&Ie.next(se())}ke();var We=ae(ke);return{unsubscribe:We}}},$[l]=function(){return this},$}return X({type:f.INIT}),H={dispatch:X,subscribe:ee,getState:se,replaceReducer:le},H[l]=z,H}var _=null;function b(N){typeof console!="undefined"&&typeof console.error=="function"&&console.error(N);try{throw new Error(N)}catch(V){}}function S(N,V,W,H){var te=Object.keys(V),ie=W&&W.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(te.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(!o(N))return"The "+ie+' has unexpected type of "'+p(N)+'". Expected argument to be an object with the following '+('keys: "'+te.join('", "')+'"');var oe=Object.keys(N).filter(function(J){return!V.hasOwnProperty(J)&&!H[J]});if(oe.forEach(function(J){H[J]=!0}),!(W&&W.type===f.REPLACE)&&oe.length>0)return"Unexpected "+(oe.length>1?"keys":"key")+" "+('"'+oe.join('", "')+'" found in '+ie+". ")+"Expected to find one of the known reducer keys instead: "+('"'+te.join('", "')+'". Unexpected keys will be ignored.')}function k(N){Object.keys(N).forEach(function(V){var W=N[V],H=W(void 0,{type:f.INIT});if(typeof H=="undefined")throw new Error(i(12));if(typeof W(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function R(N){for(var V=Object.keys(N),W={},H=0;H<V.length;H++){var te=V[H];typeof N[te]=="function"&&(W[te]=N[te])}var ie=Object.keys(W),oe,J;try{k(W)}catch(Q){J=Q}return function(K,se){if(K===void 0&&(K={}),J)throw J;if(0)var ee;for(var X=!1,le={},z=0;z<ie.length;z++){var $=ie[z],ae=W[$],_e=K[$],Ie=ae(_e,se);if(typeof Ie=="undefined"){var ke=se&&se.type;throw new Error(i(14))}le[$]=Ie,X=X||Ie!==_e}return X=X||ie.length!==Object.keys(K).length,X?le:K}}function A(N,V){return function(){return V(N.apply(this,arguments))}}function I(N,V){if(typeof N=="function")return A(N,V);if(typeof N!="object"||N===null)throw new Error(i(16));var W={};for(var H in N){var te=N[H];typeof te=="function"&&(W[H]=A(te,V))}return W}function M(){for(var N=arguments.length,V=new Array(N),W=0;W<N;W++)V[W]=arguments[W];return V.length===0?function(H){return H}:V.length===1?V[0]:V.reduce(function(H,te){return function(){return H(te.apply(void 0,arguments))}})}function B(){for(var N=arguments.length,V=new Array(N),W=0;W<N;W++)V[W]=arguments[W];return function(H){return function(){var te=H.apply(void 0,arguments),ie=function(){throw new Error(i(15))},oe={getState:te.getState,dispatch:function(){return ie.apply(void 0,arguments)}},J=V.map(function(Q){return Q(oe)});return ie=M.apply(void 0,J)(te.dispatch),(0,r.Z)((0,r.Z)({},te),{},{dispatch:ie})}}}},58246:function(d){var v=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ee,X,le){ee[X]=le.value},c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ee,X,le){return Object.defineProperty(ee,X,{value:le,enumerable:!0,configurable:!0,writable:!0}),ee[X]}try{a({},"")}catch(ee){a=function(X,le,z){return X[le]=z}}function x(ee,X,le,z){var $=X&&X.prototype instanceof R?X:R,ae=Object.create($.prototype),_e=new Q(z||[]);return l(ae,"_invoke",{value:te(ee,le,_e)}),ae}e.wrap=x;function p(ee,X,le){try{return{type:"normal",arg:ee.call(X,le)}}catch(z){return{type:"throw",arg:z}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",k={};function R(){}function A(){}function I(){}var M={};a(M,o,function(){return this});var B=Object.getPrototypeOf,N=B&&B(B(K([])));N&&N!==r&&i.call(N,o)&&(M=N);var V=I.prototype=R.prototype=Object.create(M);A.prototype=I,l(V,"constructor",{value:I,configurable:!0}),l(I,"constructor",{value:A,configurable:!0}),A.displayName=a(I,u,"GeneratorFunction");function W(ee){["next","throw","return"].forEach(function(X){a(ee,X,function(le){return this._invoke(X,le)})})}e.isGeneratorFunction=function(ee){var X=typeof ee=="function"&&ee.constructor;return X?X===A||(X.displayName||X.name)==="GeneratorFunction":!1},e.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,I):(ee.__proto__=I,a(ee,u,"GeneratorFunction")),ee.prototype=Object.create(V),ee},e.awrap=function(ee){return{__await:ee}};function H(ee,X){function le(ae,_e,Ie,ke){var We=p(ee[ae],ee,_e);if(We.type==="throw")ke(We.arg);else{var je=We.arg,Mt=je.value;return Mt&&typeof Mt=="object"&&i.call(Mt,"__await")?X.resolve(Mt.__await).then(function(yt){le("next",yt,Ie,ke)},function(yt){le("throw",yt,Ie,ke)}):X.resolve(Mt).then(function(yt){je.value=yt,Ie(je)},function(yt){return le("throw",yt,Ie,ke)})}}var z;function $(ae,_e){function Ie(){return new X(function(ke,We){le(ae,_e,ke,We)})}return z=z?z.then(Ie,Ie):Ie()}l(this,"_invoke",{value:$})}W(H.prototype),a(H.prototype,h,function(){return this}),e.AsyncIterator=H,e.async=function(ee,X,le,z,$){$===void 0&&($=Promise);var ae=new H(x(ee,X,le,z),$);return e.isGeneratorFunction(X)?ae:ae.next().then(function(_e){return _e.done?_e.value:ae.next()})};function te(ee,X,le){var z=y;return function(ae,_e){if(z===b)throw new Error("Generator is already running");if(z===S){if(ae==="throw")throw _e;return se()}for(le.method=ae,le.arg=_e;;){var Ie=le.delegate;if(Ie){var ke=ie(Ie,le);if(ke){if(ke===k)continue;return ke}}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 We=p(ee,X,le);if(We.type==="normal"){if(z=le.done?S:_,We.arg===k)continue;return{value:We.arg,done:le.done}}else We.type==="throw"&&(z=S,le.method="throw",le.arg=We.arg)}}}function ie(ee,X){var le=X.method,z=ee.iterator[le];if(z===c)return X.delegate=null,le==="throw"&&ee.iterator.return&&(X.method="return",X.arg=c,ie(ee,X),X.method==="throw")||le!=="return"&&(X.method="throw",X.arg=new TypeError("The iterator does not provide a '"+le+"' method")),k;var $=p(z,ee.iterator,X.arg);if($.type==="throw")return X.method="throw",X.arg=$.arg,X.delegate=null,k;var ae=$.arg;if(!ae)return X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,k;if(ae.done)X[ee.resultName]=ae.value,X.next=ee.nextLoc,X.method!=="return"&&(X.method="next",X.arg=c);else return ae;return X.delegate=null,k}W(V),a(V,u,"Generator"),a(V,o,function(){return this}),a(V,"toString",function(){return"[object Generator]"});function oe(ee){var X={tryLoc:ee[0]};1 in ee&&(X.catchLoc=ee[1]),2 in ee&&(X.finallyLoc=ee[2],X.afterLoc=ee[3]),this.tryEntries.push(X)}function J(ee){var X=ee.completion||{};X.type="normal",delete X.arg,ee.completion=X}function Q(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(oe,this),this.reset(!0)}e.keys=function(ee){var X=Object(ee),le=[];for(var z in X)le.push(z);return le.reverse(),function $(){for(;le.length;){var ae=le.pop();if(ae in X)return $.value=ae,$.done=!1,$}return $.done=!0,$}};function K(ee){if(ee){var X=ee[o];if(X)return X.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var le=-1,z=function $(){for(;++le<ee.length;)if(i.call(ee,le))return $.value=ee[le],$.done=!1,$;return $.value=c,$.done=!0,$};return z.next=z}}return{next:se}}e.values=K;function se(){return{value:c,done:!0}}return Q.prototype={constructor:Q,reset:function(ee){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(J),!ee)for(var X in this)X.charAt(0)==="t"&&i.call(this,X)&&!isNaN(+X.slice(1))&&(this[X]=c)},stop:function(){this.done=!0;var ee=this.tryEntries[0],X=ee.completion;if(X.type==="throw")throw X.arg;return this.rval},dispatchException:function(ee){if(this.done)throw ee;var X=this;function le(ke,We){return ae.type="throw",ae.arg=ee,X.next=ke,We&&(X.method="next",X.arg=c),!!We}for(var z=this.tryEntries.length-1;z>=0;--z){var $=this.tryEntries[z],ae=$.completion;if($.tryLoc==="root")return le("end");if($.tryLoc<=this.prev){var _e=i.call($,"catchLoc"),Ie=i.call($,"finallyLoc");if(_e&&Ie){if(this.prev<$.catchLoc)return le($.catchLoc,!0);if(this.prev<$.finallyLoc)return le($.finallyLoc)}else if(_e){if(this.prev<$.catchLoc)return le($.catchLoc,!0)}else if(Ie){if(this.prev<$.finallyLoc)return le($.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(ee,X){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 $=z;break}}$&&(ee==="break"||ee==="continue")&&$.tryLoc<=X&&X<=$.finallyLoc&&($=null);var ae=$?$.completion:{};return ae.type=ee,ae.arg=X,$?(this.method="next",this.next=$.finallyLoc,k):this.complete(ae)},complete:function(ee,X){if(ee.type==="throw")throw ee.arg;return ee.type==="break"||ee.type==="continue"?this.next=ee.arg:ee.type==="return"?(this.rval=this.arg=ee.arg,this.method="return",this.next="end"):ee.type==="normal"&&X&&(this.next=X),k},finish:function(ee){for(var X=this.tryEntries.length-1;X>=0;--X){var le=this.tryEntries[X];if(le.finallyLoc===ee)return this.complete(le.completion,le.afterLoc),J(le),k}},catch:function(ee){for(var X=this.tryEntries.length-1;X>=0;--X){var le=this.tryEntries[X];if(le.tryLoc===ee){var z=le.completion;if(z.type==="throw"){var $=z.arg;J(le)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(ee,X,le){return this.delegate={iterator:K(ee),resultName:X,nextLoc:le},this.method==="next"&&(this.arg=c),k}},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 Q(K,se){var ee=-1;return K.some(function(X,le){return X[0]===se?(ee=le,!0):!1}),ee}return function(){function K(){this.__entries__=[]}return Object.defineProperty(K.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),K.prototype.get=function(se){var ee=Q(this.__entries__,se),X=this.__entries__[ee];return X&&X[1]},K.prototype.set=function(se,ee){var X=Q(this.__entries__,se);~X?this.__entries__[X][1]=ee:this.__entries__.push([se,ee])},K.prototype.delete=function(se){var ee=this.__entries__,X=Q(ee,se);~X&&ee.splice(X,1)},K.prototype.has=function(se){return!!~Q(this.__entries__,se)},K.prototype.clear=function(){this.__entries__.splice(0)},K.prototype.forEach=function(se,ee){ee===void 0&&(ee=null);for(var X=0,le=this.__entries__;X<le.length;X++){var z=le[X];se.call(ee,z[1],z[0])}},K}()}(),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(Q){return setTimeout(function(){return Q(Date.now())},1e3/60)}}(),f=2;function o(Q,K){var se=!1,ee=!1,X=0;function le(){se&&(se=!1,Q()),ee&&$()}function z(){c(le)}function $(){var ae=Date.now();if(se){if(ae-X<f)return;ee=!0}else se=!0,ee=!1,setTimeout(z,K);X=ae}return $}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function Q(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=o(this.refresh.bind(this),h)}return Q.prototype.addObserver=function(K){~this.observers_.indexOf(K)||this.observers_.push(K),this.connected_||this.connect_()},Q.prototype.removeObserver=function(K){var se=this.observers_,ee=se.indexOf(K);~ee&&se.splice(ee,1),!se.length&&this.connected_&&this.disconnect_()},Q.prototype.refresh=function(){var K=this.updateObservers_();K&&this.refresh()},Q.prototype.updateObservers_=function(){var K=this.observers_.filter(function(se){return se.gatherActive(),se.hasActive()});return K.forEach(function(se){return se.broadcastActive()}),K.length>0},Q.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)},Q.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)},Q.prototype.onTransitionEnd_=function(K){var se=K.propertyName,ee=se===void 0?"":se,X=u.some(function(le){return!!~ee.indexOf(le)});X&&this.refresh()},Q.getInstance=function(){return this.instance_||(this.instance_=new Q),this.instance_},Q.instance_=null,Q}(),p=function(Q,K){for(var se=0,ee=Object.keys(K);se<ee.length;se++){var X=ee[se];Object.defineProperty(Q,X,{value:K[X],enumerable:!1,writable:!1,configurable:!0})}return Q},y=function(Q){var K=Q&&Q.ownerDocument&&Q.ownerDocument.defaultView;return K||l},_=V(0,0,0,0);function b(Q){return parseFloat(Q)||0}function S(Q){for(var K=[],se=1;se<arguments.length;se++)K[se-1]=arguments[se];return K.reduce(function(ee,X){var le=Q["border-"+X+"-width"];return ee+b(le)},0)}function k(Q){for(var K=["top","right","bottom","left"],se={},ee=0,X=K;ee<X.length;ee++){var le=X[ee],z=Q["padding-"+le];se[le]=b(z)}return se}function R(Q){var K=Q.getBBox();return V(0,0,K.width,K.height)}function A(Q){var K=Q.clientWidth,se=Q.clientHeight;if(!K&&!se)return _;var ee=y(Q).getComputedStyle(Q),X=k(ee),le=X.left+X.right,z=X.top+X.bottom,$=b(ee.width),ae=b(ee.height);if(ee.boxSizing==="border-box"&&(Math.round($+le)!==K&&($-=S(ee,"left","right")+le),Math.round(ae+z)!==se&&(ae-=S(ee,"top","bottom")+z)),!M(Q)){var _e=Math.round($+le)-K,Ie=Math.round(ae+z)-se;Math.abs(_e)!==1&&($-=_e),Math.abs(Ie)!==1&&(ae-=Ie)}return V(X.left,X.top,$,ae)}var I=function(){return typeof SVGGraphicsElement!="undefined"?function(Q){return Q instanceof y(Q).SVGGraphicsElement}:function(Q){return Q instanceof y(Q).SVGElement&&typeof Q.getBBox=="function"}}();function M(Q){return Q===y(Q).document.documentElement}function B(Q){return i?I(Q)?R(Q):A(Q):_}function N(Q){var K=Q.x,se=Q.y,ee=Q.width,X=Q.height,le=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,z=Object.create(le.prototype);return p(z,{x:K,y:se,width:ee,height:X,top:se,right:K+ee,bottom:X+se,left:K}),z}function V(Q,K,se,ee){return{x:Q,y:K,width:se,height:ee}}var W=function(){function Q(K){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=V(0,0,0,0),this.target=K}return Q.prototype.isActive=function(){var K=B(this.target);return this.contentRect_=K,K.width!==this.broadcastWidth||K.height!==this.broadcastHeight},Q.prototype.broadcastRect=function(){var K=this.contentRect_;return this.broadcastWidth=K.width,this.broadcastHeight=K.height,K},Q}(),H=function(){function Q(K,se){var ee=N(se);p(this,{target:K,contentRect:ee})}return Q}(),te=function(){function Q(K,se,ee){if(this.activeObservations_=[],this.observations_=new r,typeof K!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=K,this.controller_=se,this.callbackCtx_=ee}return Q.prototype.observe=function(K){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(K instanceof y(K).Element))throw new TypeError('parameter 1 is not of type "Element".');var se=this.observations_;se.has(K)||(se.set(K,new W(K)),this.controller_.addObserver(this),this.controller_.refresh())}},Q.prototype.unobserve=function(K){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(K instanceof y(K).Element))throw new TypeError('parameter 1 is not of type "Element".');var se=this.observations_;se.has(K)&&(se.delete(K),se.size||this.controller_.removeObserver(this))}},Q.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},Q.prototype.gatherActive=function(){var K=this;this.clearActive(),this.observations_.forEach(function(se){se.isActive()&&K.activeObservations_.push(se)})},Q.prototype.broadcastActive=function(){if(this.hasActive()){var K=this.callbackCtx_,se=this.activeObservations_.map(function(ee){return new H(ee.target,ee.broadcastRect())});this.callback_.call(K,se,K),this.clearActive()}},Q.prototype.clearActive=function(){this.activeObservations_.splice(0)},Q.prototype.hasActive=function(){return this.activeObservations_.length>0},Q}(),ie=typeof WeakMap!="undefined"?new WeakMap:new r,oe=function(){function Q(K){if(!(this instanceof Q))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var se=x.getInstance(),ee=new te(K,se,this);ie.set(this,ee)}return Q}();["observe","unobserve","disconnect"].forEach(function(Q){oe.prototype[Q]=function(){var K;return(K=ie.get(this))[Q].apply(K,arguments)}});var J=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:oe}();v.Z=J},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,o=f.now();v.unstable_now=function(){return f.now()-o}}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($){throw setTimeout(a,0),$}};e=function(z){h!==null?setTimeout(e,0,z):(h=z,setTimeout(a,0))},r=function(z,$){u=setTimeout(z,$)},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,k=5,R=0;v.unstable_shouldYield=function(){return v.unstable_now()>=R},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"):k=0<z?Math.floor(1e3/z):5};var A=new MessageChannel,I=A.port2;A.port1.onmessage=function(){if(b!==null){var z=v.unstable_now();R=z+k;try{b(!0,z)?I.postMessage(null):(_=!1,b=null)}catch($){throw I.postMessage(null),$}}else _=!1},e=function(z){b=z,_||(_=!0,I.postMessage(null))},r=function(z,$){S=x(function(){z(v.unstable_now())},$)},i=function(){p(S),S=-1}}function M(z,$){var ae=z.length;z.push($);e:for(;;){var _e=ae-1>>>1,Ie=z[_e];if(Ie!==void 0&&0<V(Ie,$))z[_e]=$,z[ae]=Ie,ae=_e;else break e}}function B(z){return z=z[0],z===void 0?null:z}function N(z){var $=z[0];if($!==void 0){var ae=z.pop();if(ae!==$){z[0]=ae;e:for(var _e=0,Ie=z.length;_e<Ie;){var ke=2*(_e+1)-1,We=z[ke],je=ke+1,Mt=z[je];if(We!==void 0&&0>V(We,ae))Mt!==void 0&&0>V(Mt,We)?(z[_e]=Mt,z[je]=ae,_e=je):(z[_e]=We,z[ke]=ae,_e=ke);else if(Mt!==void 0&&0>V(Mt,ae))z[_e]=Mt,z[je]=ae,_e=je;else break e}}return $}return null}function V(z,$){var ae=z.sortIndex-$.sortIndex;return ae!==0?ae:z.id-$.id}var W=[],H=[],te=1,ie=null,oe=3,J=!1,Q=!1,K=!1;function se(z){for(var $=B(H);$!==null;){if($.callback===null)N(H);else if($.startTime<=z)N(H),$.sortIndex=$.expirationTime,M(W,$);else break;$=B(H)}}function ee(z){if(K=!1,se(z),!Q)if(B(W)!==null)Q=!0,e(X);else{var $=B(H);$!==null&&r(ee,$.startTime-z)}}function X(z,$){Q=!1,K&&(K=!1,i()),J=!0;var ae=oe;try{for(se($),ie=B(W);ie!==null&&(!(ie.expirationTime>$)||z&&!v.unstable_shouldYield());){var _e=ie.callback;if(typeof _e=="function"){ie.callback=null,oe=ie.priorityLevel;var Ie=_e(ie.expirationTime<=$);$=v.unstable_now(),typeof Ie=="function"?ie.callback=Ie:ie===B(W)&&N(W),se($)}else N(W);ie=B(W)}if(ie!==null)var ke=!0;else{var We=B(H);We!==null&&r(ee,We.startTime-$),ke=!1}return ke}finally{ie=null,oe=ae,J=!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(){Q||J||(Q=!0,e(X))},v.unstable_getCurrentPriorityLevel=function(){return oe},v.unstable_getFirstCallbackNode=function(){return B(W)},v.unstable_next=function(z){switch(oe){case 1:case 2:case 3:var $=3;break;default:$=oe}var ae=oe;oe=$;try{return z()}finally{oe=ae}},v.unstable_pauseExecution=function(){},v.unstable_requestPaint=le,v.unstable_runWithPriority=function(z,$){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var ae=oe;oe=z;try{return $()}finally{oe=ae}},v.unstable_scheduleCallback=function(z,$,ae){var _e=v.unstable_now();switch(typeof ae=="object"&&ae!==null?(ae=ae.delay,ae=typeof ae=="number"&&0<ae?_e+ae:_e):ae=_e,z){case 1:var Ie=-1;break;case 2:Ie=250;break;case 5:Ie=1073741823;break;case 4:Ie=1e4;break;default:Ie=5e3}return Ie=ae+Ie,z={id:te++,callback:$,priorityLevel:z,startTime:ae,expirationTime:Ie,sortIndex:-1},ae>_e?(z.sortIndex=ae,M(H,z),B(W)===null&&z===B(H)&&(K?i():K=!0,r(ee,ae-_e))):(z.sortIndex=Ie,M(W,z),Q||J||(Q=!0,e(X))),z},v.unstable_wrapCallback=function(z){var $=oe;return function(){var ae=oe;oe=$;try{return z.apply(this,arguments)}finally{oe=ae}}}},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 o=i[f];if(e[o]!==r[o]||!Object.prototype.hasOwnProperty.call(r,o))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),o=Object.keys(r);if(f.length!==o.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,o=r.useLayoutEffect,h=r.useDebugValue;function u(y,_){var b=_(),S=c({inst:{value:b,getSnapshot:_}}),k=S[0].inst,R=S[1];return o(function(){k.value=b,k.getSnapshot=_,a(k)&&R({inst:k})},[y,b,_]),f(function(){return a(k)&&R({inst:k}),y(function(){a(k)&&R({inst:k})})},[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,o=r.useRef,h=r.useEffect,u=r.useMemo,a=r.useDebugValue;v.useSyncExternalStoreWithSelector=function(x,p,y,_,b){var S=o(null);if(S.current===null){var k={hasValue:!1,value:null};S.current=k}else k=S.current;S=u(function(){function A(V){if(!I){if(I=!0,M=V,V=_(V),b!==void 0&&k.hasValue){var W=k.value;if(b(W,V))return B=W}return B=V}if(W=B,c(M,V))return W;var H=_(V);return b!==void 0&&b(W,H)?(M=V,W):(M=V,B=H)}var I=!1,M,B,N=y===void 0?null:y;return[function(){return A(p())},N===null?void 0:function(){return A(N())}]},[p,y,_,b]);var R=f(x,S[0],S[1]);return h(function(){k.hasValue=!0,k.value=R},[R]),a(R),R}},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 o=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(!o(S))throw TypeError("Stringified UUID is invalid");return S}var x=a;function p(_,b,S){_=_||{};var k=_.random||(_.rng||l)();if(k[6]=k[6]&15|64,k[8]=k[8]&63|128,b){S=S||0;for(var R=0;R<16;++R)b[S+R]=k[R];return b}return x(k)}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 o=1;o<f;o++)c[o-1]=arguments[o];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 o=2;o<f;o++)c[o-2]=arguments[o];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(){},43968:function(d){function v(e,r){this.v=e,this.k=r}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},20943:function(d,v,e){var r=e(35859);function i(){var l,c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.toStringTag||"@@toStringTag";function u(k,R,A,I){var M=R&&R.prototype instanceof x?R:x,B=Object.create(M.prototype);return r(B,"_invoke",function(N,V,W){var H,te,ie,oe=0,J=W||[],Q=!1,K={p:0,n:0,v:l,a:se,f:se.bind(l,4),d:function(X,le){return H=X,te=0,ie=l,K.n=le,a}};function se(ee,X){for(te=ee,ie=X,c=0;!Q&&oe&&!le&&c<J.length;c++){var le,z=J[c],$=K.p,ae=z[2];ee>3?(le=ae===X)&&(ie=z[(te=z[4])?5:(te=3,3)],z[4]=z[5]=l):z[0]<=$&&((le=ee<2&&$<z[1])?(te=0,K.v=X,K.n=z[1]):$<ae&&(le=ee<3||z[0]>X||X>ae)&&(z[4]=ee,z[5]=X,K.n=ae,te=0))}if(le||ee>1)return a;throw Q=!0,X}return function(ee,X,le){if(oe>1)throw TypeError("Generator is already running");for(Q&&X===1&&se(X,le),te=X,ie=le;(c=te<2?l:ie)||!Q;){H||(te?te<3?(te>1&&(K.n=-1),se(te,ie)):K.n=ie:K.v=ie);try{if(oe=2,H){if(te||(ee="next"),c=H[ee]){if(!(c=c.call(H,ie)))throw TypeError("iterator result is not an object");if(!c.done)return c;ie=c.value,te<2&&(te=0)}else te===1&&(c=H.return)&&c.call(H),te<2&&(ie=TypeError("The iterator does not provide a '"+ee+"' method"),te=1);H=l}else if((c=(Q=K.n<0)?ie:N.call(V,K))!==a)break}catch(z){H=l,te=1,ie=z}finally{oe=1}}return{value:c,done:Q}}}(k,A,I),!0),B}var a={};function x(){}function p(){}function y(){}c=Object.getPrototypeOf;var _=[][o]?c(c([][o]())):(r(c={},o,function(){return this}),c),b=y.prototype=x.prototype=Object.create(_);function S(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,y):(k.__proto__=y,r(k,h,"GeneratorFunction")),k.prototype=Object.create(b),k}return p.prototype=y,r(b,"constructor",y),r(y,"constructor",p),p.displayName="GeneratorFunction",r(y,h,"GeneratorFunction"),r(b),r(b,h,"Generator"),r(b,o,function(){return this}),r(b,"toString",function(){return"[object Generator]"}),(d.exports=i=function(){return{w:u,m:S}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},36490:function(d,v,e){var r=e(66142);function i(l,c,f,o,h){var u=r(l,c,f,o,h);return u.next().then(function(a){return a.done?a.value:u.next()})}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},66142:function(d,v,e){var r=e(20943),i=e(70715);function l(c,f,o,h,u){return new i(r().w(c,f,o,h),u||Promise)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},70715:function(d,v,e){var r=e(43968),i=e(35859);function l(c,f){function o(u,a,x,p){try{var y=c[u](a),_=y.value;return _ instanceof r?f.resolve(_.v).then(function(b){o("next",b,x,p)},function(b){o("throw",b,x,p)}):f.resolve(_).then(function(b){y.value=b,x(y)},function(b){return o("throw",b,x,p)})}catch(b){p(b)}}var h;this.next||(i(l.prototype),i(l.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(u,a,x){function p(){return new f(function(y,_){o(u,x,y,_)})}return h=h?h.then(p,p):p()},!0)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},35859:function(d){function v(e,r,i,l){var c=Object.defineProperty;try{c({},"",{})}catch(f){c=0}d.exports=v=function(o,h,u,a){function x(p,y){v(o,p,function(_){return this._invoke(p,y,_)})}h?c?c(o,h,{value:u,enumerable:!a,configurable:!a,writable:!a}):o[h]=u:(x("next",0),x("throw",1),x("return",2))},d.exports.__esModule=!0,d.exports.default=d.exports,v(e,r,i,l)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},27419:function(d){function v(e){var r=Object(e),i=[];for(var l in r)i.unshift(l);return function c(){for(;i.length;)if((l=i.pop())in r)return c.value=l,c.done=!1,c;return c.done=!0,c}}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},68037:function(d,v,e){var r=e(43968),i=e(20943),l=e(36490),c=e(66142),f=e(70715),o=e(27419),h=e(88562);function u(){"use strict";var a=i(),x=a.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function y(S){var k=typeof S=="function"&&S.constructor;return!!k&&(k===p||(k.displayName||k.name)==="GeneratorFunction")}var _={throw:1,return:2,break:3,continue:3};function b(S){var k,R;return function(A){k||(k={stop:function(){return R(A.a,2)},catch:function(){return A.v},abrupt:function(M,B){return R(A.a,_[M],B)},delegateYield:function(M,B,N){return k.resultName=B,R(A.d,h(M),N)},finish:function(M){return R(A.f,M)}},R=function(M,B,N){A.p=k.prev,A.n=k.next;try{return M(B,N)}finally{k.next=A.n}}),k.resultName&&(k[k.resultName]=A.v,k.resultName=void 0),k.sent=A.v,k.next=A.n;try{return S.call(this,k)}finally{A.p=k.prev,A.n=k.next}}}return(d.exports=u=function(){return{wrap:function(R,A,I,M){return a.w(b(R),A,I,M&&M.reverse())},isGeneratorFunction:y,mark:a.m,awrap:function(R,A){return new r(R,A)},AsyncIterator:f,async:function(R,A,I,M,B){return(y(A)?c:l)(b(R),A,I,M,B)},keys:o,values:h}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=u,d.exports.__esModule=!0,d.exports.default=d.exports},88562:function(d,v,e){var r=e(33906).default;function i(l){if(l!=null){var c=l[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],f=0;if(c)return c.call(l);if(typeof l.next=="function")return l;if(!isNaN(l.length))return{next:function(){return l&&f>=l.length&&(l=void 0),{value:l&&l[f++],done:!l}}}}throw new TypeError(r(l)+" is not iterable")}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},33906: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},329:function(d,v,e){var r=e(68037)();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 o="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(o=f(o,c(u)))}return o}function c(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return l.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var h="";for(var u in o)i.call(o,u)&&o[u]&&(h=f(h,u));return h}function f(o,h){return h?o?o+" "+h:o+h:o}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),o=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 k=h(b,a);return k!==void 0?k:(k=h(b,x),function(){r(k,this)})}return h(b,x)},_=function(b,S,k){return arguments.length<3&&!o(b)&&(k=f(y(c(b),S))),k===void 0?function(){}:l(k,b)};d.exports=function(b,S,k,R){var A;if(arguments.length<4){if(o(S)&&k==="sync-dispose")return;A=_(S,k)}else A=_(void 0,k,R);p(b.stack,A)}},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(o){f[c][o]=!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),o=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,k=i(b.slice),R=l(b,"resizable","get"),A=l(b,"maxByteLength","get"),I=i(S.getInt8),M=i(S.setInt8);d.exports=(u||h)&&function(B,N,V){var W=o(B),H=N===void 0?W:c(N),te=!R||!R(B),ie;if(f(B))throw new y("ArrayBuffer is detached");if(u&&(B=a(B,{transfer:[B]}),W===H&&(V||te)))return B;if(W>=H&&(!V||te))ie=k(B,0,H);else{var oe=V&&!te&&A?{maxByteLength:A(B)}:void 0;ie=new x(H,oe);for(var J=new p(B),Q=new p(ie),K=_(H,W),se=0;se<K;se++)M(Q,se,I(J,se))}return u||h(B),ie}},58261:function(d,v,e){"use strict";var r=e(3737),i=e(35454),l=e(92916),c=e(55327),f=e(31946),o=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),k=e(6145),R=e(94844),A=R.enforce,I=R.get,M=l.Int8Array,B=M&&M.prototype,N=l.Uint8ClampedArray,V=N&&N.prototype,W=M&&_(M),H=B&&_(B),te=Object.prototype,ie=l.TypeError,oe=S("toStringTag"),J=k("TYPED_ARRAY_TAG"),Q="TypedArrayConstructor",K=r&&!!b&&h(l.opera)!=="Opera",se=!1,ee,X,le,z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},ae=function(Pt){if(!f(Pt))return!1;var tr=h(Pt);return tr==="DataView"||o(z,tr)||o($,tr)},_e=function(yt){var Pt=_(yt);if(f(Pt)){var tr=I(Pt);return tr&&o(tr,Q)?tr[Q]:_e(Pt)}},Ie=function(yt){if(!f(yt))return!1;var Pt=h(yt);return o(z,Pt)||o($,Pt)},ke=function(yt){if(Ie(yt))return yt;throw new ie("Target is not a typed array")},We=function(yt){if(c(yt)&&(!b||y(W,yt)))return yt;throw new ie(u(yt)+" is not a typed array constructor")},je=function(yt,Pt,tr,Vt){if(i){if(tr)for(var lr in z){var Ke=l[lr];if(Ke&&o(Ke.prototype,yt))try{delete Ke.prototype[yt]}catch(Ct){try{Ke.prototype[yt]=Pt}catch(jt){}}}(!H[yt]||tr)&&x(H,yt,tr?Pt:K&&B[yt]||Pt,Vt)}},Mt=function(yt,Pt,tr){var Vt,lr;if(i){if(b){if(tr){for(Vt in z)if(lr=l[Vt],lr&&o(lr,yt))try{delete lr[yt]}catch(Ke){}}if(!W[yt]||tr)try{return x(W,yt,tr?Pt:K&&W[yt]||Pt)}catch(Ke){}else return}for(Vt in z)lr=l[Vt],lr&&(!lr[yt]||tr)&&x(lr,yt,Pt)}};for(ee in z)X=l[ee],le=X&&X.prototype,le?A(le)[Q]=X:K=!1;for(ee in $)X=l[ee],le=X&&X.prototype,le&&(A(le)[Q]=X);if((!K||!c(W)||W===Function.prototype)&&(W=function(){throw new ie("Incorrect invocation")},K))for(ee in z)l[ee]&&b(l[ee],W);if((!K||!H||H===te)&&(H=W.prototype,K))for(ee in z)l[ee]&&b(l[ee].prototype,H);if(K&&_(V)!==H&&b(V,H),i&&!o(H,oe)){se=!0,p(H,oe,{configurable:!0,get:function(){return f(this)?this[J]:void 0}});for(ee in z)l[ee]&&a(l[ee],J,ee)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:K,TYPED_ARRAY_TAG:se&&J,aTypedArray:ke,aTypedArrayConstructor:We,exportTypedArrayMethod:je,exportTypedArrayStaticMethod:Mt,getTypedArrayConstructor:_e,isView:ae,isTypedArray:Ie,TypedArray:W,TypedArrayPrototype:H}},91669:function(d,v,e){"use strict";var r=e(92916),i=e(94237),l=e(35454),c=e(3737),f=e(8090),o=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),k=e(53456),R=e(58218),A=e(80689).f,I=e(75202),M=e(71698),B=e(94573),N=e(94844),V=f.PROPER,W=f.CONFIGURABLE,H="ArrayBuffer",te="DataView",ie="prototype",oe="Wrong length",J="Wrong index",Q=N.getterFor(H),K=N.getterFor(te),se=N.set,ee=r[H],X=ee,le=X&&X[ie],z=r[te],$=z&&z[ie],ae=Object.prototype,_e=r.Array,Ie=r.RangeError,ke=i(I),We=i([].reverse),je=S.pack,Mt=S.unpack,yt=function(Me){return[Me&255]},Pt=function(Me){return[Me&255,Me>>8&255]},tr=function(Me){return[Me&255,Me>>8&255,Me>>16&255,Me>>24&255]},Vt=function(Me){return Me[3]<<24|Me[2]<<16|Me[1]<<8|Me[0]},lr=function(Me){return je(b(Me),23,4)},Ke=function(Me){return je(Me,52,8)},Ct=function(Me,Ue,Ge){h(Me[ie],Ue,{configurable:!0,get:function(){return Ge(this)[Ue]}})},jt=function(Me,Ue,Ge,nt){var ut=K(Me),Kt=_(Ge),Zt=!!nt;if(Kt+Ue>ut.byteLength)throw new Ie(J);var De=ut.bytes,Je=Kt+ut.byteOffset,Wt=M(De,Je,Je+Ue);return Zt?Wt:We(Wt)},it=function(Me,Ue,Ge,nt,ut,Kt){var Zt=K(Me),De=_(Ge),Je=nt(+ut),Wt=!!Kt;if(De+Ue>Zt.byteLength)throw new Ie(J);for(var Ot=Zt.bytes,zt=De+Zt.byteOffset,Ft=0;Ft<Ue;Ft++)Ot[zt+Ft]=Je[Wt?Ft:Ue-Ft-1]};if(!c)X=function(Ue){x(this,le);var Ge=_(Ue);se(this,{type:H,bytes:ke(_e(Ge),0),byteLength:Ge}),l||(this.byteLength=Ge,this.detached=!1)},le=X[ie],z=function(Ue,Ge,nt){x(this,$),x(Ue,le);var ut=Q(Ue),Kt=ut.byteLength,Zt=p(Ge);if(Zt<0||Zt>Kt)throw new Ie("Wrong offset");if(nt=nt===void 0?Kt-Zt:y(nt),Zt+nt>Kt)throw new Ie(oe);se(this,{type:te,buffer:Ue,byteLength:nt,byteOffset:Zt,bytes:ut.bytes}),l||(this.buffer=Ue,this.byteLength=nt,this.byteOffset=Zt)},$=z[ie],l&&(Ct(X,"byteLength",Q),Ct(z,"buffer",K),Ct(z,"byteLength",K),Ct(z,"byteOffset",K)),u($,{getInt8:function(Ue){return jt(this,1,Ue)[0]<<24>>24},getUint8:function(Ue){return jt(this,1,Ue)[0]},getInt16:function(Ue){var Ge=jt(this,2,Ue,arguments.length>1?arguments[1]:!1);return(Ge[1]<<8|Ge[0])<<16>>16},getUint16:function(Ue){var Ge=jt(this,2,Ue,arguments.length>1?arguments[1]:!1);return Ge[1]<<8|Ge[0]},getInt32:function(Ue){return Vt(jt(this,4,Ue,arguments.length>1?arguments[1]:!1))},getUint32:function(Ue){return Vt(jt(this,4,Ue,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(Ue){return Mt(jt(this,4,Ue,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(Ue){return Mt(jt(this,8,Ue,arguments.length>1?arguments[1]:!1),52)},setInt8:function(Ue,Ge){it(this,1,Ue,yt,Ge)},setUint8:function(Ue,Ge){it(this,1,Ue,yt,Ge)},setInt16:function(Ue,Ge){it(this,2,Ue,Pt,Ge,arguments.length>2?arguments[2]:!1)},setUint16:function(Ue,Ge){it(this,2,Ue,Pt,Ge,arguments.length>2?arguments[2]:!1)},setInt32:function(Ue,Ge){it(this,4,Ue,tr,Ge,arguments.length>2?arguments[2]:!1)},setUint32:function(Ue,Ge){it(this,4,Ue,tr,Ge,arguments.length>2?arguments[2]:!1)},setFloat32:function(Ue,Ge){it(this,4,Ue,lr,Ge,arguments.length>2?arguments[2]:!1)},setFloat64:function(Ue,Ge){it(this,8,Ue,Ke,Ge,arguments.length>2?arguments[2]:!1)}});else{var xt=V&&ee.name!==H;if(!a(function(){ee(1)})||!a(function(){new ee(-1)})||a(function(){return new ee,new ee(1.5),new ee(NaN),ee.length!==1||xt&&!W})){X=function(Ue){return x(this,le),new ee(_(Ue))},X[ie]=le;for(var pt=A(ee),et=0,Ze;pt.length>et;)(Ze=pt[et++])in X||o(X,Ze,ee[Ze]);le.constructor=X}else xt&&W&&o(ee,"name",H);R&&k($)!==ae&&R($,ae);var ge=new z(new X(2)),Ae=i($.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&u($,{setInt8:function(Ue,Ge){Ae(this,Ue,Ge<<24>>24)},setUint8:function(Ue,Ge){Ae(this,Ue,Ge<<24>>24)}},{unsafe:!0})}B(X,H),B(z,te),d.exports={ArrayBuffer:X,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 o=r(this),h=l(o),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;)o[a++]=f;return o}},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),o=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"),k=i(p("Array","values")),R=i(k([]).next),A=function(){return new I(this)},I=function(M){this.iterator=k(M)};I.prototype.next=function(){return R(this.iterator)},d.exports=function(B){var N=this,V=arguments.length,W=V>1?arguments[1]:void 0,H=V>2?arguments[2]:void 0;return new(x("Promise"))(function(te){var ie=l(B);W!==void 0&&(W=r(W,H));var oe=a(ie,S),J=oe?void 0:u(ie)||A,Q=c(N)?new N:[],K=oe?f(ie,oe):new _(h(o(ie,J)));te(b(K,W,Q))})}},69478:function(d,v,e){"use strict";var r=e(82762);d.exports=function(i,l,c){for(var f=0,o=arguments.length>2?c:r(l),h=new i(o);o>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),o=e(39812),h=e(82762),u=e(69392),a=e(85428),x=e(26006),p=Array;d.exports=function(_){var b=l(_),S=o(this),k=arguments.length,R=k>1?arguments[1]:void 0,A=R!==void 0;A&&(R=r(R,k>2?arguments[2]:void 0));var I=x(b),M=0,B,N,V,W,H,te;if(I&&!(this===p&&f(I)))for(W=a(b,I),H=W.next,N=S?new this:[];!(V=i(H,W)).done;M++)te=A?c(W,R,[V.value,M],!0):V.value,u(N,M,te);else for(B=h(b),N=S?new this(B):p(B);B>M;M++)te=A?R(b[M],M):b[M],u(N,M,te);return N.length=M,N}},33940:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),o=e(2786),h=o.Map,u=o.get,a=o.has,x=o.set,p=i([].push);d.exports=function(_){for(var b=c(this),S=l(b),k=r(_,arguments.length>1?arguments[1]:void 0),R=new h,A=f(S),I=0,M,B;A>I;I++)B=S[I],M=k(B,I,b),a(R,M)?p(u(R,M),B):x(R,M,[B]);return R}},36444:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(17818),o=e(82762),h=e(20132),u=e(69478),a=Array,x=i([].push);d.exports=function(p,y,_,b){for(var S=c(p),k=l(S),R=r(y,_),A=h(null),I=o(k),M=0,B,N,V;I>M;M++)V=k[M],N=f(R(V,M,S)),N in A?x(A[N],V):A[N]=[V];if(b&&(B=b(S),B!==a))for(N in A)A[N]=u(B,A[N]);return A}},22999:function(d,v,e){"use strict";var r=e(80524),i=e(51981),l=e(82762),c=function(f){return function(o,h,u){var a=r(o),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(o){var h=o===1;return function(u,a,x){for(var p=l(u),y=i(p),_=c(y),b=r(a,x),S,k;_-- >0;)if(S=y[_],k=b(S,_,p),k)switch(o){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),o=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,k=a===5||b;return function(R,A,I,M){for(var B=c(R),N=l(B),V=f(N),W=r(A,I),H=0,te=M||o,ie=x?te(R,V):p||S?te(R,0):void 0,oe,J;V>H;H++)if((k||H in N)&&(oe=N[H],J=W(oe,H,B),a))if(x)ie[H]=J;else if(J)switch(a){case 3:return!0;case 5:return oe;case 6:return H;case 2:h(ie,oe)}else switch(a){case 4:return!1;case 7:h(ie,oe)}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),o=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=o(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 o=[],h=o.constructor={};return h[c]=function(){return{foo:1}},o[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,o=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,k=h?-1:1;if(x<2)for(;;){if(S in _){p=_[S],S+=k;break}if(S+=k,h?S<0:b<=S)throw new f("Reduce of empty array with no initial value")}for(;h?S>=0:b>S;S+=k)S in _&&(p=a(p,_[S],S,y));return p}};d.exports={left:o(!1),right:o(!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(o){return o instanceof TypeError}}();d.exports=f?function(o,h){if(i(o)&&!c(o,"length").writable)throw new l("Cannot set read only .length");return o.length=h}:function(o,h){return o.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(o,h,u){for(var a=i(o),x=r(h,a),p=r(u===void 0?a:u,a),y=c(f(p-x,0)),_=0;x<p;x++,_++)l(y,_,o[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(o,h){var u=o.length,a=i(u/2);return u<8?c(o,h):f(o,l(r(o,0,a),h),l(r(o,a),h),h)},c=function(o,h){for(var u=o.length,a=1,x,p;a<u;){for(p=a,x=o[a];p&&h(o[p-1],x)>0;)o[p]=o[--p];p!==a++&&(o[p]=x)}return o},f=function(o,h,u,a){for(var x=h.length,p=u.length,y=0,_=0;y<x||_<p;)o[y+_]=y<x&&_<p?a(h[y],u[_])<=0?h[y++]:u[_++]:y<x?h[y++]:u[_++];return o};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"),o=Array;d.exports=function(h){var u;return r(h)&&(u=h.constructor,i(u)&&(u===o||r(u.prototype))?u=void 0:l(u)&&(u=u[f],u===null&&(u=void 0))),u===void 0?o: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),o=0;o<c;o++)f[o]=i[c-o-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),o=e(2786),h=e(95037),u=o.Map,a=o.has,x=o.set,p=r([].push);d.exports=function(_){var b=f(this),S=c(b),k=[],R=new u,A=l(_)?function(N){return N}:i(_),I,M,B;for(I=0;I<S;I++)M=b[I],B=A(M),a(R,B)||x(R,B,M);return h(R,function(N){p(k,N)}),k}},82041:function(d,v,e){"use strict";var r=e(82762),i=e(56902),l=RangeError;d.exports=function(c,f,o,h){var u=r(c),a=i(o),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),o=e(94844),h=e(65911),u=e(14052),a=e(25587),x=h("Promise"),p="AsyncFromSyncIterator",y=o.set,_=o.getterFor(p),b=function(k,R,A){var I=k.done;x.resolve(k.value).then(function(M){R(a(M,I))},A)},S=function(R){R.type=p,y(this,R)};S.prototype=f(l(u),{next:function(){var R=_(this);return new x(function(A,I){var M=i(r(R.next,R.iterator));b(M,A,I)})},return:function(){var k=_(this).iterator;return new x(function(R,A){var I=c(k,"return");if(I===void 0)return R(a(void 0,!0));var M=i(r(I,k));b(M,R,A)})}}),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,o,h){try{var u=l(c,"return");if(u)return i("Promise").resolve(r(u,c)).then(function(){f(o)},function(a){h(a)})}catch(a){return h(a)}f(o)}},31342:function(d,v,e){"use strict";var r=e(89945),i=e(80734),l=e(80449),c=e(20132),f=e(68151),o=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"),k="AsyncIteratorHelper",R="WrapForValidAsyncIterator",A=u.set,I=function(N){var V=!N,W=u.getterFor(N?R:k),H=function(te){var ie=i(function(){return W(te)}),oe=ie.error,J=ie.value;return oe||V&&J.done?{exit:!0,value:oe?b.reject(J):b.resolve(y(void 0,!0))}:{exit:!1,value:J}};return o(c(p),{next:function(){var ie=H(this),oe=ie.value;if(ie.exit)return oe;var J=i(function(){return l(oe.nextHandler(b))}),Q=J.error,K=J.value;return Q&&(oe.done=!0),Q?b.reject(K):b.resolve(K)},return:function(){var te=H(this),ie=te.value;if(te.exit)return ie;ie.done=!0;var oe=ie.iterator,J,Q,K=i(function(){if(ie.inner)try{_(ie.inner.iterator,"normal")}catch(se){return _(oe,"throw",se)}return x(oe,"return")});return J=Q=K.value,K.error?b.reject(Q):J===void 0?b.resolve(y(void 0,!0)):(K=i(function(){return r(J,oe)}),Q=K.value,K.error?b.reject(Q):N?b.resolve(Q):b.resolve(Q).then(function(se){return l(se),y(void 0,!0)}))}})},M=I(!0),B=I(!1);f(B,S,"Async Iterator Helper"),d.exports=function(N,V){var W=function(te,ie){ie?(ie.iterator=te.iterator,ie.next=te.next):ie=te,ie.type=V?R:k,ie.nextHandler=N,ie.counter=0,ie.done=!1,A(this,ie)};return W.prototype=V?M:B,W}},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),o=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,k,R){l(S);var A=k!==void 0;(A||!p)&&i(k);var I=h(S),M=o("Promise"),B=I.iterator,N=I.next,V=0;return new M(function(W,H){var te=function(oe){u(B,H,oe,H)},ie=function(){try{if(A)try{f(V)}catch(oe){te(oe)}M.resolve(l(r(N,B))).then(function(oe){try{if(l(oe).done)p?(R.length=V,W(R)):W(b?!1:_||void 0);else{var J=oe.value;try{if(A){var Q=k(J,V),K=function(se){if(y)ie();else if(_)se?ie():u(B,W,!1,H);else if(p)try{R[V++]=se,ie()}catch(ee){te(ee)}else se?u(B,W,b||J,H):ie()};c(Q)?M.resolve(Q).then(K,te):K(Q)}else R[V++]=J,ie()}catch(se){te(se)}}}catch(se){H(se)}},H)}catch(oe){H(oe)}};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),o=e(31342),h=e(25587),u=e(28255),a=o(function(x){var p=this,y=p.iterator,_=p.mapper;return new x(function(b,S){var k=function(A){p.done=!0,S(A)},R=function(A){u(y,k,A,k)};x.resolve(l(r(p.next,y))).then(function(A){try{if(l(A).done)p.done=!0,b(h(void 0,!0));else{var I=A.value;try{var M=_(I,p.counter++),B=function(N){b(h(N,!1))};c(M)?x.resolve(M).then(B,R):B(M)}catch(N){R(N)}}}catch(N){k(N)}},k)})});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),o=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])||o(_,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,o){try{return o?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(o){}d.exports=function(o,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}}}},o(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"),o=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=o(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),o=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),o(a,function(k){i(h,_,S(k,b++))})):o(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),o=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(k,R,A,I){var M=k(function(H,te){f(H,B),b(H,{type:R,index:r(null),first:void 0,last:void 0,size:0}),p||(H.size=0),o(te)||h(te,H[I],{that:H,AS_ENTRIES:A})}),B=M.prototype,N=S(R),V=function(H,te,ie){var oe=N(H),J=W(H,te),Q,K;return J?J.value=ie:(oe.last=J={index:K=y(te,!0),key:te,value:ie,previous:Q=oe.last,next:void 0,removed:!1},oe.first||(oe.first=J),Q&&(Q.next=J),p?oe.size++:H.size++,K!=="F"&&(oe.index[K]=J)),H},W=function(H,te){var ie=N(H),oe=y(te),J;if(oe!=="F")return ie.index[oe];for(J=ie.first;J;J=J.next)if(J.key===te)return J};return l(B,{clear:function(){for(var te=this,ie=N(te),oe=ie.index,J=ie.first;J;)J.removed=!0,J.previous&&(J.previous=J.previous.next=void 0),delete oe[J.index],J=J.next;ie.first=ie.last=void 0,p?ie.size=0:te.size=0},delete:function(H){var te=this,ie=N(te),oe=W(te,H);if(oe){var J=oe.next,Q=oe.previous;delete ie.index[oe.index],oe.removed=!0,Q&&(Q.next=J),J&&(J.previous=Q),ie.first===oe&&(ie.first=J),ie.last===oe&&(ie.last=Q),p?ie.size--:te.size--}return!!oe},forEach:function(te){for(var ie=N(this),oe=c(te,arguments.length>1?arguments[1]:void 0),J;J=J?J.next:ie.first;)for(oe(J.value,J.key,this);J&&J.removed;)J=J.previous},has:function(te){return!!W(this,te)}}),l(B,A?{get:function(te){var ie=W(this,te);return ie&&ie.value},set:function(te,ie){return V(this,te===0?0:te,ie)}}:{add:function(te){return V(this,te=te===0?0:te,te)}}),p&&i(B,"size",{configurable:!0,get:function(){return N(this).size}}),M},setStrong:function(k,R,A){var I=R+" Iterator",M=S(R),B=S(I);u(k,R,function(N,V){b(this,{type:I,target:N,state:M(N),kind:V,last:void 0})},function(){for(var N=B(this),V=N.kind,W=N.last;W&&W.removed;)W=W.previous;return!N.target||!(N.last=W=W?W.next:N.state.first)?(N.target=void 0,a(void 0,!0)):a(V==="keys"?W.key:V==="values"?W.value:[W.key,W.value],!1)},A?"entries":"values",!A,!0),x(R)}}},39656:function(d,v,e){"use strict";var r=e(94237),i=e(66477),l=e(2074).getWeakData,c=e(56472),f=e(80449),o=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,k=r([].splice),R=0,A=function(B){return B.frozen||(B.frozen=new I)},I=function(){this.entries=[]},M=function(B,N){return b(B.entries,function(V){return V[0]===N})};I.prototype={get:function(B){var N=M(this,B);if(N)return N[1]},has:function(B){return!!M(this,B)},set:function(B,N){var V=M(this,B);V?V[1]=N:this.entries.push([B,N])},delete:function(B){var N=S(this.entries,function(V){return V[0]===B});return~N&&k(this.entries,N,1),!!~N}},d.exports={getConstructor:function(B,N,V,W){var H=B(function(J,Q){c(J,te),y(J,{type:N,id:R++,frozen:void 0}),o(Q)||u(Q,J[W],{that:J,AS_ENTRIES:V})}),te=H.prototype,ie=_(N),oe=function(J,Q,K){var se=ie(J),ee=l(f(Q),!0);return ee===!0?A(se).set(Q,K):ee[se.id]=K,J};return i(te,{delete:function(J){var Q=ie(this);if(!h(J))return!1;var K=l(J);return K===!0?A(Q).delete(J):K&&x(K,Q.id)&&delete K[Q.id]},has:function(Q){var K=ie(this);if(!h(Q))return!1;var se=l(Q);return se===!0?A(K).has(Q):se&&x(se,K.id)}}),i(te,V?{get:function(Q){var K=ie(this);if(h(Q)){var se=l(Q);return se===!0?A(K).get(Q):se?se[K.id]:void 0}},set:function(Q,K){return oe(this,Q,K)}}:{add:function(Q){return oe(this,Q,!0)}}),H}}},48059:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(20865),f=e(2291),o=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(k,R,A){var I=k.indexOf("Map")!==-1,M=k.indexOf("Weak")!==-1,B=I?"set":"add",N=i[k],V=N&&N.prototype,W=N,H={},te=function(ee){var X=l(V[ee]);f(V,ee,ee==="add"?function(z){return X(this,z===0?0:z),this}:ee==="delete"?function(le){return M&&!p(le)?!1:X(this,le===0?0:le)}:ee==="get"?function(z){return M&&!p(z)?void 0:X(this,z===0?0:z)}:ee==="has"?function(z){return M&&!p(z)?!1:X(this,z===0?0:z)}:function(z,$){return X(this,z===0?0:z,$),this})},ie=c(k,!a(N)||!(M||V.forEach&&!y(function(){new N().entries().next()})));if(ie)W=A.getConstructor(R,k,I,B),o.enable();else if(c(k,!0)){var oe=new W,J=oe[B](M?{}:-0,1)!==oe,Q=y(function(){oe.has(1)}),K=_(function(ee){new N(ee)}),se=!M&&y(function(){for(var ee=new N,X=5;X--;)ee[B](X,X);return!ee.has(-0)});K||(W=R(function(ee,X){u(ee,V);var le=S(new N,ee,W);return x(X)||h(X,le[B],{that:le,AS_ENTRIES:I}),le}),W.prototype=V,V.constructor=W),(Q||se)&&(te("delete"),te("has"),I&&te("get")),(se||J)&&te(B),M&&V.clear&&delete V.clear}return H[k]=W,r({global:!0,constructor:!0,forced:W!==N},H),b(W,k),M||A.setStrong(W,k,I),W}},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,o=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 o),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,o,h){for(var u=i(o),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(o,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(o){}}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(o,h,u,a){var x=l(i(o)),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,o){return i.f(c,f,l(1,o))}:function(c,f,o){return c[f]=o,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,o){var h=r(f);h in c?i.f(c,h,l(0,o)):c[h]=o}},32494:function(d,v,e){"use strict";var r=e(94237),i=e(3338),l=e(85571).start,c=RangeError,f=isFinite,o=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),k=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 A=this,I=p(A),M=_(A),B=I<0?"-":I>9999?"+":"";return B+l(o(I),B?6:4,0)+"-"+l(S(A)+1,2,0)+"-"+l(x(A),2,0)+"T"+l(y(A),2,0)+":"+l(b(A),2,0)+":"+l(k(A),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,o,h,u){u||(u={});var a=u.enumerable,x=u.name!==void 0?u.name:o;if(r(h)&&l(h,x,u),u.global)a?f[o]=h:c(o,h);else{try{u.unsafe?f[o]&&(a=!0):delete f[o]}catch(p){}a?f[o]=h:i.f(f,o,{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,o=r.MessageChannel,h=!1,u,a,x,p;if(l)h=function(y){c(y,{transfer:[y]})};else if(f)try{o||(u=i("worker_threads"),u&&(o=u.MessageChannel)),o&&(a=new o,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,o=f&&f.v8,h,u;o&&(h=o.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]*/,o=f.test(c);d.exports=function(h,u){if(o&&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,o,h,u){l&&(c?c(f,o):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,o=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=o?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),o=e(24538),h=e(20865);d.exports=function(u,a){var x=u.target,p=u.global,y=u.stat,_,b,S,k,R,A;if(p?b=r:y?b=r[x]||f(x,{}):b=(r[x]||{}).prototype,b)for(S in a){if(R=a[S],u.dontCallGetSet?(A=i(b,S),k=A&&A.value):k=b[S],_=h(p?S:x+(y?".":"#")+S,u.forced),!_&&k!==void 0){if(typeof R==typeof k)continue;o(R,k)}(u.sham||k&&k.sham)&&l(R,"sham",!0),c(b,S,R,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),o=e(68151),h=f("species"),u=RegExp.prototype;d.exports=function(a,x,p,y){var _=f(a),b=!c(function(){var A={};return A[_]=function(){return 7},""[a](A)!==7}),S=b&&!c(function(){var A=!1,I=/a/;return a==="split"&&(I={},I.constructor={},I.constructor[h]=function(){return I},I.flags="",I[_]=/./[_]),I.exec=function(){return A=!0,null},I[_](""),!A});if(!b||!S||p){var k=r(/./[_]),R=x(_,""[a],function(A,I,M,B,N){var V=r(A),W=I.exec;return W===l||W===u.exec?b&&!N?{done:!0,value:k(I,M,B)}:{done:!0,value:V(M,I,B)}:{done:!1}});i(String.prototype,a,R[0]),i(u,_,R[1])}y&&o(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(o,h,u,a,x,p,y,_){for(var b=x,S=0,k=y?c(y,_):!1,R,A;S<a;)S in u&&(R=k?k(u[S],S,h):u[S],p>0&&r(R)?(A=i(R),b=f(o,h,R,A,b,p-1)-1):(l(b+1),o[b]=R),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,o){return i(f),o===void 0?f:l?c(f,o):function(){return f.apply(o,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),o=e(40486),h=Function,u=r([].concat),a=r([].join),x={},p=function(y,_,b){if(!c(x,_)){for(var S=[],k=0;k<_;k++)S[k]="a["+k+"]";x[_]=h("C,a","return new C("+a(S,",")+")")}return x[_](y,b)};d.exports=o?h.bind:function(_){var b=i(this),S=b.prototype,k=f(arguments,1),R=function(){var I=u(k,f(arguments));return this instanceof R?p(b,I.length,I):b.apply(_,I)};return l(S)&&(R.prototype=S),R}},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"),o=f&&function(){}.name==="something",h=f&&(!r||r&&c(l,"name").configurable);d.exports={EXISTS:f,PROPER:o,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(o){}}},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),o=e(53776),h=e(59893),u=e(57975),a=h("asyncIterator");d.exports=function(x){var p=l(x),y=!0,_=o(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),o=e(53776),h=e(59893),u=h("asyncIterator");d.exports=function(a,x){var p=arguments.length<2?o(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,o){(!o||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),o=f("iterator");d.exports=function(h){if(!l(h))return i(h,o)||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),o=TypeError;d.exports=function(h,u){var a=arguments.length<2?f(h):u;if(i(a))return l(r(a,h));throw new o(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),o=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"?o(a,p):(typeof p=="number"||c(p)==="Number"||c(p)==="String")&&o(a,f(p))}var y=a.length,_=!0;return function(b,S){if(_)return _=!1,S;if(i(this))return S;for(var k=0;k<y;k++)if(a[k]===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),o="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(o);var _=c(y);if(_<0)throw new h(o);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),o=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,k=y.length,R=u;return _!==void 0&&(_=i(_),R=h),f(b,R,function(A,I){var M;switch(c(I,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,S);case"<":M=_[o(I,1,-1)];break;default:var B=+I;if(B===0)return A;if(B>k){var N=l(B/10);return N===0?A:N<=k?y[N-1]===void 0?c(I,1):y[N-1]+c(I,1):A}M=y[B-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,o){return l(i(f),o)}},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,k=0,R,A,I;for(h=e(h),h!==h||h===1/0?(A=h!==h?1:0,R=y):(R=i(l(h)/c),I=r(2,-R),h*I<1&&(R--,I*=2),R+_>=1?h+=b/I:h+=b*r(2,1-_),h*I>=2&&(R++,I/=2),R+_>=y?(A=0,R=y):R+_>=1?(A=(h*I-1)*r(2,u),R+=_):(A=h*r(2,_-1)*r(2,u),R=0));u>=8;)x[k++]=A&255,A/=256,u-=8;for(R=R<<u|A,p+=u;p>0;)x[k++]=R&255,R/=256,p-=8;return x[--k]|=S*128,x},o=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--],k=S&127,R;for(S>>=7;_>0;)k=k*256+h[b--],_-=8;for(R=k&(1<<-_)-1,k>>=-_,_+=u;_>0;)R=R*256+h[b--],_-=8;if(k===0)k=1-y;else{if(k===p)return R?NaN:S?-1/0:1/0;R+=r(2,u),k-=y}return(S?-1:1)*R*r(2,k-u)};d.exports={pack:f,unpack:o}},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(o){return l(o)==="String"?f(o,""):c(o)}:c},25576:function(d,v,e){"use strict";var r=e(55327),i=e(31946),l=e(58218);d.exports=function(c,f,o){var h,u;return l&&r(h=f.constructor)&&h!==o&&i(u=h.prototype)&&u!==o.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),o=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(B){o(B,_,{value:{objectID:"O"+b++,weakData:{}}})},k=function(B,N){if(!c(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!f(B,_)){if(!a(B))return"F";if(!N)return"E";S(B)}return B[_].objectID},R=function(B,N){if(!f(B,_)){if(!a(B))return!0;if(!N)return!1;S(B)}return B[_].weakData},A=function(B){return p&&y&&a(B)&&!f(B,_)&&S(B),B},I=function(){M.enable=function(){},y=!0;var B=h.f,N=i([].splice),V={};V[_]=1,B(V).length&&(h.f=function(W){for(var H=B(W),te=0,ie=H.length;te<ie;te++)if(H[te]===_){N(H,te,1);break}return H},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:I,fastKey:k,getWeakData:R,onFreeze:A};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),o=e(77398),h=e(11898),u=e(54406),a="Object already initialized",x=i.TypeError,p=i.WeakMap,y,_,b,S=function(I){return b(I)?_(I):y(I,{})},k=function(I){return function(M){var B;if(!l(M)||(B=_(M)).type!==I)throw new x("Incompatible receiver, "+I+" required");return B}};if(r||o.state){var R=o.state||(o.state=new p);R.get=R.get,R.has=R.has,R.set=R.set,y=function(I,M){if(R.has(I))throw new x(a);return M.facade=I,R.set(I,M),M},_=function(I){return R.get(I)||{}},b=function(I){return R.has(I)}}else{var A=h("state");u[A]=!0,y=function(I,M){if(f(I,A))throw new x(a);return M.facade=I,c(I,A,M),M},_=function(I){return f(I,A)?I[A]:{}},b=function(I){return f(I,A)}}d.exports={set:y,get:_,has:b,enforce:S,getterFor:k}},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),o=e(15212),h=function(){},u=[],a=f("Reflect","construct"),x=/^\s*(?:class|function)\b/,p=r(x.exec),y=!x.test(h),_=function(k){if(!l(k))return!1;try{return a(h,u,k),!0}catch(R){return!1}},b=function(k){if(!l(k))return!1;switch(c(k)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!p(x,o(k))}catch(R){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=o[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()},o=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),o=c("iterator"),h=Object;d.exports=function(u){if(l(u))return!1;var a=h(u);return a[o]!==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 o;return r(f)&&((o=f[c])!==void 0?!!o: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(o){return typeof o=="symbol"}:function(o){var h=r("Symbol");return i(h)&&l(h.prototype,f(o))}},43545:function(d,v,e){"use strict";var r=e(89945);d.exports=function(i,l,c){for(var f=c?i:i.iterator,o=i.next,h,u;!(h=r(o,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),o=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,k){var R=k&&k.that,A=!!(k&&k.AS_ENTRIES),I=!!(k&&k.IS_RECORD),M=!!(k&&k.IS_ITERATOR),B=!!(k&&k.INTERRUPTED),N=r(S,R),V,W,H,te,ie,oe,J,Q=function(se){return V&&x(V,"normal",se),new y(!0,se)},K=function(se){return A?(l(se),B?N(se[0],se[1],Q):N(se[0],se[1])):B?N(se,Q):N(se)};if(I)V=b.iterator;else if(M)V=b;else{if(W=a(b),!W)throw new p(c(b)+" is not iterable");if(f(W)){for(H=0,te=o(b);te>H;H++)if(ie=K(b[H]),ie&&h(_,ie))return ie;return new y(!1)}V=u(b,W)}for(oe=I?b.next:V.next;!(J=i(oe,V)).done;){try{ie=K(J.value)}catch(se){x(V,"throw",se)}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,o){var h,u;i(c);try{if(h=l(c,"return"),!h){if(f==="throw")throw o;return o}h=r(h,c)}catch(a){u=!0,h=a}if(f==="throw")throw o;if(u)throw h;return i(h),o}},83126:function(d,v,e){"use strict";var r=e(46571).IteratorPrototype,i=e(20132),l=e(35012),c=e(94573),f=e(48074),o=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]=o,h}},20547:function(d,v,e){"use strict";var r=e(89945),i=e(20132),l=e(68151),c=e(66477),f=e(59893),o=e(94844),h=e(53776),u=e(46571).IteratorPrototype,a=e(25587),x=e(67996),p=f("toStringTag"),y="IteratorHelper",_="WrapForValidIterator",b=o.set,S=function(A){var I=o.getterFor(A?_:y);return c(i(u),{next:function(){var B=I(this);if(A)return B.nextHandler();try{var N=B.done?void 0:B.nextHandler();return a(N,B.done)}catch(V){throw B.done=!0,V}},return:function(){var M=I(this),B=M.iterator;if(M.done=!0,A){var N=h(B,"return");return N?r(N,B):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(V){return x(B,"throw",V)}return x(B,"normal"),a(void 0,!0)}})},k=S(!0),R=S(!1);l(R,p,"Iterator Helper"),d.exports=function(A,I){var M=function(N,V){V?(V.iterator=N.iterator,V.next=N.next):V=N,V.type=I?_:y,V.nextHandler=A,V.counter=0,V.done=!1,b(this,V)};return M.prototype=I?k:R,M}},24019:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(16697),c=e(8090),f=e(55327),o=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,k=c.CONFIGURABLE,R=b.IteratorPrototype,A=b.BUGGY_SAFARI_ITERATORS,I=y("iterator"),M="keys",B="values",N="entries",V=function(){return this};d.exports=function(W,H,te,ie,oe,J,Q){o(te,H,ie);var K=function(ke){if(ke===oe&&z)return z;if(!A&&ke&&ke in X)return X[ke];switch(ke){case M:return function(){return new te(this,ke)};case B:return function(){return new te(this,ke)};case N:return function(){return new te(this,ke)}}return function(){return new te(this)}},se=H+" Iterator",ee=!1,X=W.prototype,le=X[I]||X["@@iterator"]||oe&&X[oe],z=!A&&le||K(oe),$=H==="Array"&&X.entries||le,ae,_e,Ie;if($&&(ae=h($.call(new W)),ae!==Object.prototype&&ae.next&&(!l&&h(ae)!==R&&(u?u(ae,R):f(ae[I])||p(ae,I,V)),a(ae,se,!0,!0),l&&(_[se]=V))),S&&oe===B&&le&&le.name!==B&&(!l&&k?x(X,"name",B):(ee=!0,z=function(){return i(le,this)})),oe)if(_e={values:K(B),keys:J?z:K(M),entries:K(N)},Q)for(Ie in _e)(A||ee||!(Ie in X))&&p(X,Ie,_e[Ie]);else r({target:H,proto:!0,forced:A||ee},_e);return(!l||Q)&&X[I]!==z&&p(X,I,z,{name:oe}),_[H]=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),o=e(46319),h=f(function(){var u=this.iterator,a=l(r(this.next,u)),x=this.done=!!a.done;if(!x)return o(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),o=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])||o(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),o=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),k=f&&!i(function(){return y(function(){},"length",{value:8}).length!==8}),R=String(String).split("String"),A=d.exports=function(I,M,B){_(p(M),0,7)==="Symbol("&&(M="["+b(p(M),/^Symbol\(([^)]*)\)/,"$1")+"]"),B&&B.getter&&(M="get "+M),B&&B.setter&&(M="set "+M),(!c(I,"name")||o&&I.name!==M)&&(f?y(I,"name",{value:M,configurable:!0}):I.name=M),k&&B&&c(B,"arity")&&I.length!==B.arity&&y(I,"length",{value:B.arity});try{B&&c(B,"constructor")&&B.constructor?f&&y(I,"prototype",{writable:!1}):I.prototype&&(I.prototype=void 0)}catch(V){}var N=a(I);return c(N,"source")||(N.source=S(R,typeof M=="string"?M:"")),I};Function.prototype.toString=A(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,o=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])}):o(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(o){return r(o,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(o){return o+c-c};d.exports=function(o,h,u,a){var x=+o,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(o){return r(o,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,o=+r,h=+i,u=+l,a=+c;return f!==f||o!==o||h!==h||u!==u||a!==a?NaN:f===1/0||f===-1/0?f:(f-o)*(a-u)/(h-o)+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),o=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,k,R,A,I,M;if(!S){var B=new f,N=function(){var V,W;for(a&&(V=y.domain)&&V.exit();W=B.get();)try{W()}catch(H){throw B.head&&k(),H}V&&V.enter()};!o&&!a&&!u&&x&&p?(R=!0,A=p.createTextNode(""),new x(N).observe(A,{characterData:!0}),k=function(){A.data=R=!R}):!h&&_&&_.resolve?(I=_.resolve(void 0),I.constructor=_,M=i(I.then,I),k=function(){M(N)}):a?k=function(){y.nextTick(N)}:(c=i(c,r),k=function(){c(N)}),S=function(V){B.head||k(),B.add(V)}}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,o;this.promise=new c(function(h,u){if(f!==void 0||o!==void 0)throw new i("Bad Promise constructor");f=h,o=u}),this.resolve=r(f),this.reject=r(o)};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,o=e(19268),h=l("".charAt),u=r.parseFloat,a=r.Symbol,x=a&&a.iterator,p=1/u(o+"-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,o=e(19268),h=r.parseInt,u=r.Symbol,a=u&&u.iterator,x=/^[+-]?0x/i,p=l(x.exec),y=h(o+"08")!==8||h(o+"0x16")!==22||a&&!i(function(){h(Object(a))});d.exports=y?function(b,S){var k=f(c(b));return h(k,S>>>0||(p(x,k)?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),o=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(R,A,I,M,B,N){if(typeof R!=M||A!==1/0&&A!==-1/0&&typeof A!=M)throw new _(u);if(R===1/0||R===-1/0)throw new y(u);var V=A>R,W=!1,H;if(I===void 0)H=void 0;else if(f(I))H=I.step,W=!!I.inclusive;else if(typeof I==M)H=I;else throw new _(u);if(c(H)&&(H=V?N:-N),typeof H!=M)throw new _(u);if(H===1/0||H===-1/0||H===B&&R!==A)throw new y(u);var te=R!==R||A!==A||H!==H||A>R!=H>B;x(this,{type:a,start:R,end:A,step:H,inclusive:W,hitsEnd:te,currentCount:B,zero:B}),h||(this.start=R,this.end=A,this.step=H,this.inclusive=W)},a,function(){var R=p(this);if(R.hitsEnd)return l(void 0,!0);var A=R.start,I=R.end,M=R.step,B=A+M*R.currentCount++;B===I&&(R.hitsEnd=!0);var N=R.inclusive,V;return I>A?V=N?B>I:B>=I:V=N?I>B:I>=B,V?(R.hitsEnd=!0,l(void 0,!0)):l(B,!1)}),S=function(k){o(b.prototype,k,{get:function(){return p(this)[k]},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),o=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"),k="abcdefghijklmnopqrst";return _[S]=7,k.split("").forEach(function(R){b[R]=R}),x({},_)[S]!==7||f(x({},b)).join("")!==k})?function(b,S){for(var k=u(b),R=arguments.length,A=1,I=o.f,M=h.f;R>A;)for(var B=a(arguments[A++]),N=I?y(f(B),I(B)):f(B),V=N.length,W=0,H;V>W;)H=N[W++],(!r||l(M,B,H))&&(k[H]=B[H]);return k}:x},20132:function(d,v,e){"use strict";var r=e(80449),i=e(55666),l=e(46678),c=e(54406),f=e(75171),o=e(86060),h=e(11898),u=">",a="<",x="prototype",p="script",y=h("IE_PROTO"),_=function(){},b=function(I){return a+p+u+I+a+"/"+p+u},S=function(I){I.write(b("")),I.close();var M=I.parentWindow.Object;return I=null,M},k=function(){var I=o("iframe"),M="java"+p+":",B;return I.style.display="none",f.appendChild(I),I.src=String(M),B=I.contentWindow.document,B.open(),B.write(b("document.F=Object")),B.close(),B.F},R,A=function(){try{R=new ActiveXObject("htmlfile")}catch(M){}A=typeof document!="undefined"?document.domain&&R?S(R):k():S(R);for(var I=l.length;I--;)delete A[x][l[I]];return A()};c[y]=!0,d.exports=Object.create||function(M,B){var N;return M!==null?(_[x]=r(M),N=new _,_[x]=null,N[y]=M):N=A(),B===void 0?N:i.f(N,B)}},55666:function(d,v,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),o=e(7733);v.f=r&&!i?Object.defineProperties:function(u,a){c(u);for(var x=f(a),p=o(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),o=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 k=u(_,b);k&&k[p]&&(_[b]=S.value,S={configurable:x in S?S[x]:k[x],enumerable:a in S?S[a]:k[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(k){}if("get"in S||"set"in S)throw new o("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),o=e(17818),h=e(32621),u=e(46796),a=Object.getOwnPropertyDescriptor;v.f=r?a:function(p,y){if(p=f(p),y=o(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):[],o=function(h){try{return l(h)}catch(u){return c(f)}};d.exports.f=function(u){return f&&r(u)==="Window"?o(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),o=c("IE_PROTO"),h=Object,u=h.prototype;d.exports=f?h.getPrototypeOf:function(a){var x=l(a);if(r(x,o))return x[o];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,o=r(function(){f(1)});d.exports=o||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),o=e(94029),h="Object Iterator",u=r.set,a=r.getterFor(h);d.exports=i(function(p,y){var _=o(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),o=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)&&o(p,y);for(;u.length>x;)i(a,y=u[x++])&&(~c(p,y)||o(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={},o;try{o=r(Object.prototype,"__proto__","set"),o(f,[]),c=f instanceof Array}catch(h){}return function(u,a){return i(u),l(a),c?o(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),o=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=o(_),S=f(b),k=x&&c(b)===null,R=S.length,A=0,I=[],M;R>A;)M=S[A++],(!r||(k?M in b:u(b,M)))&&a(I,y?[M,b[M]]:b[M]);return I}};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,o){var h,u;if(o==="string"&&i(h=f.toString)&&!l(u=r(h,f))||i(h=f.valueOf)&&!l(u=r(h,f))||o!=="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),o=i([].concat);d.exports=r("Reflect","ownKeys")||function(u){var a=l.f(f(u)),x=c.f;return x?o(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,o=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 k=o(y,_);if(k==="\\"){var R=h(y,_,_+2);if(i(a,R))S+=a[R],_+=2;else if(R==="\\u"){_+=2;var A=h(y,_,_+4);if(!u(x,A))throw new l("Bad Unicode escape at: "+_);S+=f(c(A,16)),_+=4}else throw new l('Unknown escape sequence: "'+R+'"')}else if(k==='"'){b=!1,_++;break}else{if(u(p,k))throw new l("Bad control character in string literal at: "+_);S+=k,_++}}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),o=e(59893),h=e(66994),u=e(91821),a=e(16697),x=e(46573),p=i&&i.prototype,y=o("species"),_=!1,b=l(r.PromiseRejectionEvent),S=c("Promise",function(){var k=f(i),R=k!==String(i);if(!R&&x===66||a&&!(p.catch&&p.finally))return!0;if(!x||x<51||!/native code/.test(k)){var A=new i(function(B){B(1)}),I=function(B){B(function(){},function(){})},M=A.constructor={};if(M[y]=I,_=A.then(function(){})instanceof I,!_)return!0}return!R&&(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 o=l.f(c),h=o.resolve;return h(f),o.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"),o=i([].push),h=l("metadata"),u=h.store||(h.store=new f),a=function(S,k,R){var A=u.get(S);if(!A){if(!R)return;u.set(S,A=new c)}var I=A.get(k);if(!I){if(!R)return;A.set(k,I=new c)}return I},x=function(S,k,R){var A=a(k,R,!1);return A===void 0?!1:A.has(S)},p=function(S,k,R){var A=a(k,R,!1);return A===void 0?void 0:A.get(S)},y=function(S,k,R,A){a(R,A,!0).set(S,k)},_=function(S,k){var R=a(S,k,!1),A=[];return R&&R.forEach(function(I,M){o(A,M)}),A},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),o=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 o("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),o=e(77898),h=e(20132),u=e(94844).get,a=e(6041),x=e(51224),p=o("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,_=y,b=i("".charAt),S=i("".indexOf),k=i("".replace),R=i("".slice),A=function(){var N=/a/,V=/b*/g;return r(y,N,"a"),r(y,V,"a"),N.lastIndex!==0||V.lastIndex!==0}(),I=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,B=A||M||I||a||x;B&&(_=function(V){var W=this,H=u(W),te=l(V),ie=H.raw,oe,J,Q,K,se,ee,X;if(ie)return ie.lastIndex=W.lastIndex,oe=r(_,ie,te),W.lastIndex=ie.lastIndex,oe;var le=H.groups,z=I&&W.sticky,$=r(c,W),ae=W.source,_e=0,Ie=te;if(z&&($=k($,"y",""),S($,"g")===-1&&($+="g"),Ie=R(te,W.lastIndex),W.lastIndex>0&&(!W.multiline||W.multiline&&b(te,W.lastIndex-1)!==`
|
|
|
`)&&(ae="(?: "+ae+")",Ie=" "+Ie,_e++),J=new RegExp("^(?:"+ae+")",$)),M&&(J=new RegExp("^"+ae+"$(?!\\s)",$)),A&&(Q=W.lastIndex),K=r(y,z?J:W,Ie),z?K?(K.input=R(K.input,_e),K[0]=R(K[0],_e),K.index=W.lastIndex,W.lastIndex+=K[0].length):W.lastIndex=0:A&&K&&(W.lastIndex=W.global?K.index+K[0].length:Q),M&&K&&K.length>1&&r(p,K[0],J,function(){for(se=1;se<arguments.length-2;se++)arguments[se]===void 0&&(K[se]=void 0)}),K&&le)for(K.groups=ee=h(null),se=0;se<le.length;se++)X=le[se],ee[X[0]]=K[X[1]];return K}),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(o){var h=o.flags;return h===void 0&&!("flags"in f)&&!i(o,"flags")&&l(f,o)?r(c,o):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}),o=c||r(function(){var h=l("^r","gy");return h.lastIndex=2,h.exec("str")!==null});d.exports={BROKEN_CARET:o,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),o=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,k=l(_)?_:u(_),R=S?o(arguments,y):[],A=S?function(){i(k,this,R)}:k;return p?x(A,b):x(A)}: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 o=new l;return i(f,function(h){c(o,h)}),o}},10038:function(d,v,e){"use strict";var r=e(17442),i=e(19691),l=e(61838),c=e(108),f=e(88203),o=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?o(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),o=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?o(_.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),o=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 o(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(o){var h=r(this),u=c(o);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),o=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 o(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,o=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):o(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(o){var h=r(o);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),o=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):o(_,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,o,h){f&&!h&&(f=f.prototype),f&&!i(f,c)&&r(f,c,{configurable:!0,value:o})}},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(o,h){var u=r(o).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,o=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(o(_,l(S)),b===p)return h(_,"");b<y&&o(_,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),o=r("".charCodeAt),h=r("".slice),u=function(a){return function(x,p){var y=l(c(x)),_=i(p),b=y.length,S,k;return _<0||_>=b?a?"":void 0:(S=o(y,_),S<55296||S>56319||_+1===b||(k=o(y,_+1))<56320||k>57343?a?f(y,_):S:a?h(y,_,_+2):(S-55296<<10)+(k-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),o=r(c),h=r("".slice),u=Math.ceil,a=function(x){return function(p,y,_){var b=l(f(p)),S=i(y),k=b.length,R=_===void 0?" ":l(_),A,I;return S<=k||R===""?b:(A=S-k,I=o(R,u(A/R.length)),I.length>A&&(I=h(I,0,A)),x?b+I:I+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),o=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,S=function(A,I){var M=o(A,I);return M>=a&&M<=x},k=function(A,I,M){if(M>=A.length)return-1;for(var B=0;I<M;I++){var N=R(o(A,I));if(N===-1)return-1;B=B*16+N}return B},R=function(A){return A>=a&&A<=x?A-a:A>=p&&A<=y?A-p+10:A>=_&&A<=b?A-_+10:-1};d.exports=function(A){for(var I="",M=0,B=0,N;(B=h(A,"\\",B))>-1;){if(I+=u(A,M,B),++B===A.length)return;var V=f(A,B++);switch(V){case"b":I+="\b";break;case"t":I+=" ";break;case"n":I+=`
|
|
|
`;break;case"v":I+="\v";break;case"f":I+="\f";break;case"r":I+="\r";break;case"\r":B<A.length&&f(A,B)===`
|
|
|
`&&++B;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(S(A,B))return;I+="\0";break;case"x":if(N=k(A,B,B+2),N===-1)return;B+=2,I+=l(N);break;case"u":if(B<A.length&&f(A,B)==="{"){var W=h(A,"}",++B);if(W===-1)return;N=k(A,B,W),B=W+1}else N=k(A,B,B+4),B+=4;if(N===-1||N>1114111)return;I+=c(N);break;default:if(S(V,0))return;I+=V}M=B}return I+u(A,M)}},93245:function(d,v,e){"use strict";var r=e(94237),i=2147483647,l=36,c=1,f=26,o=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,k=r(y.exec),R=Math.floor,A=String.fromCharCode,I=r("".charCodeAt),M=r([].join),B=r([].push),N=r("".replace),V=r("".split),W=r("".toLowerCase),H=function(J){for(var Q=[],K=0,se=J.length;K<se;){var ee=I(J,K++);if(ee>=55296&&ee<=56319&&K<se){var X=I(J,K++);(X&64512)===56320?B(Q,((ee&1023)<<10)+(X&1023)+65536):(B(Q,ee),K--)}else B(Q,ee)}return Q},te=function(J){return J+22+75*(J<26)},ie=function(J,Q,K){var se=0;for(J=K?R(J/h):J>>1,J+=R(J/Q);J>b*f>>1;)J=R(J/b),se+=l;return R(se+(b+1)*J/(J+o))},oe=function(J){var Q=[];J=H(J);var K=J.length,se=a,ee=0,X=u,le,z;for(le=0;le<J.length;le++)z=J[le],z<128&&B(Q,A(z));var $=Q.length,ae=$;for($&&B(Q,x);ae<K;){var _e=i;for(le=0;le<J.length;le++)z=J[le],z>=se&&z<_e&&(_e=z);var Ie=ae+1;if(_e-se>R((i-ee)/Ie))throw new S(_);for(ee+=(_e-se)*Ie,se=_e,le=0;le<J.length;le++){if(z=J[le],z<se&&++ee>i)throw new S(_);if(z===se){for(var ke=ee,We=l;;){var je=We<=X?c:We>=X+f?f:We-X;if(ke<je)break;var Mt=ke-je,yt=l-je;B(Q,A(te(je+Mt%yt))),ke=R(Mt/yt),We+=l}B(Q,A(te(ke))),X=ie(ee,Ie,ae===$),ee=0,ae++}}ee++,se++}return M(Q,"")};d.exports=function(J){var Q=[],K=V(N(W(J),y,"."),"."),se,ee;for(se=0;se<K.length;se++)ee=K[se],B(Q,k(p,ee)?"xn--"+oe(ee):ee);return M(Q,".")}},71049:function(d,v,e){"use strict";var r=e(56902),i=e(69905),l=e(95955),c=RangeError;d.exports=function(o){var h=i(l(this)),u="",a=r(o);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),o=RegExp("^["+c+"]+"),h=RegExp("(^|[^"+c+"])["+c+"]+$"),u=function(a){return function(x){var p=l(i(x));return a&1&&(p=f(p,o,"")),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),o=e(90946),h=r.structuredClone;d.exports=!!h&&!i(function(){if(f&&l>92||o&&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"),o=f&&f.prototype,h=o&&o.valueOf,u=l("toPrimitive");o&&!o[u]&&c(o,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),o=i("Symbol"),h=o.isWellKnownSymbol,u=i("Object","getOwnPropertyNames"),a=l(o.prototype.valueOf),x=r("wks"),p=0,y=u(o),_=y.length;p<_;p++)try{var b=y[p];c(o[b])&&f(b)}catch(S){}d.exports=function(k){if(h&&h(k))return!0;try{for(var R=a(k),A=0,I=u(x),M=I.length;A<M;A++)if(x[I[A]]==R)return!0}catch(B){}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),o=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,k=r.Dispatch,R=r.Function,A=r.MessageChannel,I=r.String,M=0,B={},N="onreadystatechange",V,W,H,te;o(function(){V=r.location});var ie=function(K){if(f(B,K)){var se=B[K];delete B[K],se()}},oe=function(K){return function(){ie(K)}},J=function(K){ie(K.data)},Q=function(K){r.postMessage(I(K),V.protocol+"//"+V.host)};(!_||!b)&&(_=function(se){x(arguments.length,1);var ee=c(se)?se:R(se),X=u(arguments,1);return B[++M]=function(){i(ee,void 0,X)},W(M),M},b=function(se){delete B[se]},y?W=function(K){S.nextTick(oe(K))}:k&&k.now?W=function(K){k.now(oe(K))}:A&&!p?(H=new A,te=H.port2,H.port1.onmessage=J,W=l(te.postMessage,te)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&V&&V.protocol!=="file:"&&!o(Q)?(W=Q,r.addEventListener("message",J,!1)):N in a("script")?W=function(K){h.appendChild(a("script"))[N]=function(){h.removeChild(this),ie(K)}}:W=function(K){setTimeout(oe(K),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 o=r(c);return o<0?i(o+f,0):l(o,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),o=i(f);if(f!==o)throw new l("Wrong length or index");return o}},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),o=e(59893),h=TypeError,u=o("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"),o=function(h){return c(h)&&typeof h.size=="number"&&i(h.has)&&i(h.keys)};d.exports=function(h){return o(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),o=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),k=e(17818),R=e(32621),A=e(97607),I=e(31946),M=e(18446),B=e(20132),N=e(16332),V=e(58218),W=e(80689).f,H=e(50706),te=e(90560).forEach,ie=e(51996),oe=e(64110),J=e(37691),Q=e(71256),K=e(94844),se=e(25576),ee=K.get,X=K.set,le=K.enforce,z=J.f,$=Q.f,ae=i.RangeError,_e=h.ArrayBuffer,Ie=_e.prototype,ke=h.DataView,We=o.NATIVE_ARRAY_BUFFER_VIEWS,je=o.TYPED_ARRAY_TAG,Mt=o.TypedArray,yt=o.TypedArrayPrototype,Pt=o.aTypedArrayConstructor,tr=o.isTypedArray,Vt="BYTES_PER_ELEMENT",lr="Wrong length",Ke=function(et,Ze){Pt(et);for(var ge=0,Ae=Ze.length,Me=new et(Ae);Ae>ge;)Me[ge]=Ze[ge++];return Me},Ct=function(et,Ze){oe(et,Ze,{configurable:!0,get:function(){return ee(this)[Ze]}})},jt=function(et){var Ze;return N(Ie,et)||(Ze=A(et))==="ArrayBuffer"||Ze==="SharedArrayBuffer"},it=function(et,Ze){return tr(et)&&!M(Ze)&&Ze in et&&p(+Ze)&&Ze>=0},xt=function(Ze,ge){return ge=k(ge),it(Ze,ge)?a(2,Ze[ge]):$(Ze,ge)},pt=function(Ze,ge,Ae){return ge=k(ge),it(Ze,ge)&&I(Ae)&&R(Ae,"value")&&!R(Ae,"get")&&!R(Ae,"set")&&!Ae.configurable&&(!R(Ae,"writable")||Ae.writable)&&(!R(Ae,"enumerable")||Ae.enumerable)?(Ze[ge]=Ae.value,Ze):z(Ze,ge,Ae)};c?(We||(Q.f=xt,J.f=pt,Ct(yt,"buffer"),Ct(yt,"byteOffset"),Ct(yt,"byteLength"),Ct(yt,"length")),r({target:"Object",stat:!0,forced:!We},{getOwnPropertyDescriptor:xt,defineProperty:pt}),d.exports=function(et,Ze,ge){var Ae=et.match(/\d+/)[0]/8,Me=et+(ge?"Clamped":"")+"Array",Ue="get"+et,Ge="set"+et,nt=i[Me],ut=nt,Kt=ut&&ut.prototype,Zt={},De=function(zt,Ft){var At=ee(zt);return At.view[Ue](Ft*Ae+At.byteOffset,!0)},Je=function(zt,Ft,At){var Yt=ee(zt);Yt.view[Ge](Ft*Ae+Yt.byteOffset,ge?S(At):At,!0)},Wt=function(zt,Ft){z(zt,Ft,{get:function(){return De(this,Ft)},set:function(At){return Je(this,Ft,At)},enumerable:!0})};We?f&&(ut=Ze(function(zt,Ft,At,Yt){return u(zt,Kt),se(function(){return I(Ft)?jt(Ft)?Yt!==void 0?new nt(Ft,b(At,Ae),Yt):At!==void 0?new nt(Ft,b(At,Ae)):new nt(Ft):tr(Ft)?Ke(ut,Ft):l(H,ut,Ft):new nt(_(Ft))}(),zt,ut)}),V&&V(ut,Mt),te(W(nt),function(zt){zt in ut||x(ut,zt,nt[zt])}),ut.prototype=Kt):(ut=Ze(function(zt,Ft,At,Yt){u(zt,Kt);var Ye=0,ce=0,pe,Dt,Ce;if(!I(Ft))Ce=_(Ft),Dt=Ce*Ae,pe=new _e(Dt);else if(jt(Ft)){pe=Ft,ce=b(At,Ae);var ft=Ft.byteLength;if(Yt===void 0){if(ft%Ae)throw new ae(lr);if(Dt=ft-ce,Dt<0)throw new ae(lr)}else if(Dt=y(Yt)*Ae,Dt+ce>ft)throw new ae(lr);Ce=Dt/Ae}else return tr(Ft)?Ke(ut,Ft):l(H,ut,Ft);for(X(zt,{buffer:pe,byteOffset:ce,byteLength:Dt,length:Ce,view:new ke(pe)});Ye<Ce;)Wt(zt,Ye++)}),V&&V(ut,Mt),Kt=ut.prototype=B(yt)),Kt.constructor!==ut&&x(Kt,"constructor",ut),le(Kt).TypedArrayConstructor=ut,je&&x(Kt,je,Me);var Ot=ut!==nt;Zt[Me]=ut,r({global:!0,constructor:!0,forced:Ot,sham:!We},Zt),Vt in ut||x(ut,Vt,Ae),Vt in Kt||x(Kt,Vt,Ae),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,o=r.Int8Array;d.exports=!c||!i(function(){o(1)})||!i(function(){new o(-1)})||!l(function(h){new o,new o(null),new o(1.5),new o(h)},!0)||i(function(){return new o(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),o=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(_),k=arguments.length,R=k>1?arguments[1]:void 0,A=R!==void 0,I=h(S),M,B,N,V,W,H,te,ie;if(I&&!u(I))for(te=o(S,I),ie=te.next,S=[];!(H=i(ie,te)).done;)S.push(H.value);for(A&&k>2&&(R=r(R,arguments[2])),B=f(S),N=new(x(b))(B),V=a(N),M=0;B>M;M++)W=A?R(S[M],M):S[M],N[M]=V?p(W):+W;return N}},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 o=new URL("b?a=1&b=2&c=3","http://a"),h=o.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),a="";return o.pathname="c%20d",h.forEach(function(x,p){h.delete("b"),a+=p+x}),u.delete("a",2),u.delete("b",void 0),c&&(!o.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!h.size&&(c||!l)||!h.sort||o.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 o=r.Symbol||(r.Symbol={});i(o,f)||c(o,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),o=e(14417),h=r.Symbol,u=i("wks"),a=o?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),o=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,k,R){var A="stackTraceLimit",I=R?2:1,M=b.split("."),B=M[M.length-1],N=r.apply(null,M);if(N){var V=N.prototype;if(!_&&i(V,"cause")&&delete V.cause,!k)return N;var W=r("Error"),H=S(function(te,ie){var oe=a(R?ie:te,void 0),J=R?new N(te):new N;return oe!==void 0&&l(J,"message",oe),p(J,H,J.stack,2),this&&c(V,this)&&u(J,this,H),arguments.length>I&&x(J,arguments[I]),J});if(H.prototype=V,B!=="Error"?f?f(H,W):o(H,W,{name:!0}):y&&A in N&&(h(H,N,A),h(H,N,"prepareStackTrace")),o(H,N),!_)try{V.name!==B&&l(V,"name",B),V.constructor=H}catch(te){}return H}}},93074:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(3338),f=e(78540),o="AggregateError",h=i(o),u=!c(function(){return h([1]).errors[0]!==1})&&c(function(){return h([1],o,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:f(o,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),o=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,k=[].push,R=function(M,B){var N=i(A,this),V;c?V=c(new S,N?l(this):A):(V=N?this:o(A),h(V,b,"Error")),B!==void 0&&h(V,"message",y(B)),x(V,R,V.stack,1),arguments.length>2&&a(V,arguments[2]);var W=[];return p(M,k,{that:W}),h(V,"errors",W),V};c?c(R,S):f(R,S,{name:!0});var A=R.prototype=o(S.prototype,{constructor:u(1,R),message:u(1,""),name:u(1,"AggregateError")});r({global:!0,constructor:!0,arity:2},{AggregateError:R})},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",o=l[f],h=i[f];r({global:!0,constructor:!0,forced:h!==o},{ArrayBuffer:o}),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),o=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(R,A){if(y&&A===void 0)return y(f(this),R);for(var I=f(this).byteLength,M=o(R,I),B=o(A===void 0?I:A,I),N=new(u(this,a))(h(B-M)),V=new x(this),W=new x(N),H=0;M<B;)b(W,H++,_(V,M++));return N}})},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),o=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 R=[];return R[_]=!1,R.concat()[0]!==R}),S=function(R){if(!c(R))return!1;var A=R[_];return A!==void 0?!!A:l(R)},k=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:k},{concat:function(A){var I=f(this),M=a(I,0),B=0,N,V,W,H,te;for(N=-1,W=arguments.length;N<W;N++)if(te=N===-1?I:arguments[N],S(te))for(H=o(te),h(B+H),V=0;V<H;V++,B++)V in te&&u(M,B,te[V]);else h(B+1),u(M,B++,te);return M.length=B,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(o){return i(this,o,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(o){return i(this,o,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),o=e(81427);r({target:"Array",proto:!0},{flatMap:function(u){var a=c(this),x=f(a),p;return l(u),p=o(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),o=e(81427);r({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,a=l(this),x=c(a),p=o(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),o=!!f&&1/f([1],1,-0)<0,h=o||!c("indexOf");r({target:"Array",proto:!0,forced:h},{indexOf:function(a){var x=arguments.length>1?arguments[1]:void 0;return o?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,o=e(24019),h=e(25587),u=e(16697),a=e(35454),x="Array Iterator",p=c.set,y=c.getterFor(x);d.exports=o(Array,"Array",function(b,S){p(this,{type:x,target:r(b),index:0,kind:S})},function(){var b=y(this),S=b.target,k=b.index++;if(!S||k>=S.length)return b.target=void 0,h(void 0,!0);switch(b.kind){case"keys":return h(k,!1);case"values":return h(S[k],!1)}return h([k,S[k]],!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),o=i([].join),h=l!==Object,u=h||!f("join",",");r({target:"Array",proto:!0,forced:u},{join:function(x){return o(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(o){return i(this,o,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,o=i(function(){function h(){}return!(f.of.call(h)instanceof h)});r({target:"Array",stat:!0,forced:o},{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),o=e(3338),h=o(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),o=!f&&c>79&&c<83,h=o||!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),o=!f&&c>79&&c<83,h=o||!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),o=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(R,A){var I=h(this),M=o(I),B=f(R,M),N=f(A===void 0?M:A,M),V,W,H;if(i(I)&&(V=I.constructor,l(V)&&(V===b||i(V.prototype))?V=void 0:c(V)&&(V=V[_],V===null&&(V=void 0)),V===b||V===void 0))return p(I,B,N);for(W=new(V===void 0?b:V)(S(N-B,0)),H=0;B<N;B++,H++)B in I&&u(W,H,I[B]);return W.length=H,W}})},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(o){return i(this,o,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),o=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=[],k=i(S.sort),R=i(S.push),A=u(function(){S.sort(void 0)}),I=u(function(){S.sort(null)}),M=x("sort"),B=!u(function(){if(_)return _<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var W="",H,te,ie,oe;for(H=65;H<76;H++){switch(te=String.fromCharCode(H),H){case 66:case 69:case 70:case 72:ie=3;break;case 68:case 71:ie=4;break;default:ie=2}for(oe=0;oe<47;oe++)S.push({k:te+oe,v:ie})}for(S.sort(function(J,Q){return Q.v-J.v}),oe=0;oe<S.length;oe++)te=S[oe].k.charAt(0),W.charAt(W.length-1)!==te&&(W+=te);return W!=="DGBEFHACIJK"}}),N=A||!I||!M||!B,V=function(W){return function(H,te){return te===void 0?-1:H===void 0?1:W!==void 0?+W(H,te)||0:h(H)>h(te)?1:-1}};r({target:"Array",proto:!0,forced:N},{sort:function(H){H!==void 0&&l(H);var te=c(this);if(B)return H===void 0?k(te):k(te,H);var ie=[],oe=f(te),J,Q;for(Q=0;Q<oe;Q++)Q in te&&R(ie,te[Q]);for(a(ie,V(H)),J=f(ie),Q=0;Q<J;)te[Q]=ie[Q++];for(;Q<oe;)o(te,Q++);return te}})},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),o=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(k,R){var A=i(this),I=f(A),M=l(k,I),B=arguments.length,N,V,W,H,te,ie;for(B===0?N=V=0:B===1?(N=0,V=I-M):(N=B-2,V=b(_(c(R),0),I-M)),h(I+N-V),W=u(A,V),H=0;H<V;H++)te=M+H,te in A&&a(W,H,A[te]);if(W.length=V,N<V){for(H=M;H<I-V;H++)te=H+V,ie=H+N,te in A?A[ie]=A[te]:x(A,ie);for(H=I;H>I-V+N;H--)x(A,H-1)}else if(N>V)for(H=I-V;H>M;H--)te=H+V-1,ie=H+N-1,te in A?A[ie]=A[te]:x(A,ie);for(H=0;H<N;H++)A[H+M]=arguments[H+2];return o(A,I-V+N),W}})},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),o=e(55174),h=e(81181),u=Array,a=i(o("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),o=e(80524),h=e(56902),u=Array,a=Math.max,x=Math.min;r({target:"Array",proto:!0},{toSpliced:function(y,_){var b=o(this),S=c(b),k=f(y,S),R=arguments.length,A=0,I,M,B,N;for(R===0?I=M=0:R===1?(I=0,M=S-k):(I=R-2,M=x(a(h(_),0),S-k)),B=l(S+I-M),N=u(B);A<k;A++)N[A]=b[A];for(;A<k+I;A++)N[A]=arguments[A-k+2];for(;A<B;A++)N[A]=b[A+M-I];return N}}),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),o=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){o(_+b);for(var S=_;S--;){var k=S+b;S in y?y[k]=y[S]:f(y,k)}for(var R=0;R<b;R++)y[R]=arguments[R]}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,o){return i(l(this),c,f,o)}})},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),o=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 o(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"),o=Date.prototype;r(o,f)||i(o,f,l)},76880:function(d,v,e){"use strict";var r=e(94237),i=e(2291),l=Date.prototype,c="Invalid Date",f="toString",o=r(l[f]),h=r(l.getTime);String(new Date(NaN))!==c&&i(l,f,function(){var a=h(this);return a===a?o(this):c})},31808:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(13743),c=e(78540),f="WebAssembly",o=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(o&&o[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),o=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,k=0,R,A;k<S;)R=c(_,k++),o(a,R)?b+=R:(A=f(R,0),A<256?b+="%"+x(A,2):b+="%u"+u(x(A,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),o=e(86528),h=f("hasInstance"),u=Function.prototype;h in u||l.f(u,h,{value:o(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,o=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,o(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),o=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),k=f("".charCodeAt),R=f("".replace),A=f(1 .toString),I=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,N=!p||o(function(){var te=i("Symbol")("stringify detection");return _([te])!=="[null]"||_({a:te})!=="{}"||_(Object(te))!=="{}"}),V=o(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),W=function(te,ie){var oe=a(arguments),J=x(ie);if(!(!h(J)&&(te===void 0||u(te))))return oe[1]=function(Q,K){if(h(J)&&(K=c(J,this,y(Q),K)),!u(K))return K},l(_,null,oe)},H=function(te,ie,oe){var J=S(oe,ie-1),Q=S(oe,ie+1);return b(M,te)&&!b(B,Q)||b(B,te)&&!b(M,J)?"\\u"+A(k(te,0),16):te};_&&r({target:"JSON",stat:!0,arity:3,forced:N||V},{stringify:function(ie,oe,J){var Q=a(arguments),K=l(N?W:_,null,Q);return V&&typeof K=="string"?R(K,I,H):K}})},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),o=e(2786),h=e(16697),u=o.Map,a=o.has,x=o.get,p=o.set,y=i([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(b,S){c(b),l(S);var k=new u,R=0;return f(b,function(A){var I=S(A,R++);a(k,I)?y(x(k,I),A):p(k,I,[A])}),k}})},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,o=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)+o: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 o=!(i&&1/i(0)>0);r({target:"Math",stat:!0,forced:o},{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(o){var h=+o;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(o){var h=+o;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(o){var h=o>>>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,o=!l||l(710)===1/0;r({target:"Math",stat:!0,forced:o},{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(o,h){var u=65535,a=+o,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,o=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))*(o/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 o=+f,h=i(o),u=i(-o);return h===1/0?1:u===1/0?-1:(h-u)/(l(o)+l(-o))}})},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),o=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,k=e(37691).f,R=e(49228),A=e(52971).trim,I="Number",M=c[I],B=f[I],N=M.prototype,V=c.TypeError,W=o("".slice),H=o("".charCodeAt),te=function(se){var ee=y(se,"number");return typeof ee=="bigint"?ee:ie(ee)},ie=function(se){var ee=y(se,"number"),X,le,z,$,ae,_e,Ie,ke;if(p(ee))throw new V("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=A(ee),X=H(ee,0),X===43||X===45){if(le=H(ee,2),le===88||le===120)return NaN}else if(X===48){switch(H(ee,1)){case 66:case 98:z=2,$=49;break;case 79:case 111:z=8,$=55;break;default:return+ee}for(ae=W(ee,2),_e=ae.length,Ie=0;Ie<_e;Ie++)if(ke=H(ae,Ie),ke<48||ke>$)return NaN;return parseInt(ae,z)}}return+ee},oe=h(I,!M(" 0o1")||!M("0b1")||M("+0x1")),J=function(se){return x(N,se)&&_(function(){R(se)})},Q=function(ee){var X=arguments.length<1?0:M(te(ee));return J(this)?a(Object(X),this,Q):X};Q.prototype=N,oe&&!i&&(N.constructor=Q),r({global:!0,constructor:!0,wrap:!0,forced:oe},{Number:Q});var K=function(se,ee){for(var X=l?b(ee):"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;X.length>le;le++)u(ee,z=X[le])&&!u(se,z)&&k(se,z,S(ee,z))};i&&B&&K(f[I],B),(oe||i)&&K(f[I],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),o=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),k=i(f),R=i("".slice),A=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",I=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)})},B=!A||!I()||!M();r({target:"Number",proto:!0,forced:B},{toExponential:function(V){var W=c(this);if(V===void 0)return S(W);var H=l(V);if(!x(W))return String(W);if(H<0||H>20)throw new u("Incorrect fraction digits");if(A)return S(W,H);var te="",ie="",oe=0,J="",Q="";if(W<0&&(te="-",W=-W),W===0)oe=0,ie=k("0",H+1);else{var K=o(W);oe=y(K);var se=0,ee=_(10,oe-H);se=b(W/ee),2*W>=(2*se+1)*ee&&(se+=1),se>=_(10,H+1)&&(se/=10,oe+=1),ie=a(se)}return H!==0&&(ie=R(ie,0,1)+"."+R(ie,1)),oe===0?(J="+",Q="0"):(J=oe>0?"+":"-",Q=a(p(oe))),ie+="e"+J+Q,te+ie}})},58055:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),o=e(3338),h=RangeError,u=String,a=Math.floor,x=i(f),p=i("".slice),y=i(1 .toFixed),_=function(I,M,B){return M===0?B:M%2===1?_(I,M-1,B*I):_(I*I,M/2,B)},b=function(I){for(var M=0,B=I;B>=4096;)M+=12,B/=4096;for(;B>=2;)M+=1,B/=2;return M},S=function(I,M,B){for(var N=-1,V=B;++N<6;)V+=M*I[N],I[N]=V%1e7,V=a(V/1e7)},k=function(I,M){for(var B=6,N=0;--B>=0;)N+=I[B],I[B]=a(N/M),N=N%M*1e7},R=function(I){for(var M=6,B="";--M>=0;)if(B!==""||M===0||I[M]!==0){var N=u(I[M]);B=B===""?N:B+x("0",7-N.length)+N}return B},A=o(function(){return y(8e-5,3)!=="0.000"||y(.9,0)!=="1"||y(1.255,2)!=="1.25"||y(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!o(function(){y({})});r({target:"Number",proto:!0,forced:A},{toFixed:function(M){var B=c(this),N=l(M),V=[0,0,0,0,0,0],W="",H="0",te,ie,oe,J;if(N<0||N>20)throw new h("Incorrect fraction digits");if(B!==B)return"NaN";if(B<=-1e21||B>=1e21)return u(B);if(B<0&&(W="-",B=-B),B>1e-21)if(te=b(B*_(2,69,1))-69,ie=te<0?B*_(2,-te,1):B/_(2,te,1),ie*=4503599627370496,te=52-te,te>0){for(S(V,0,ie),oe=N;oe>=7;)S(V,1e7,0),oe-=7;for(S(V,_(10,oe,1),0),oe=te-1;oe>=23;)k(V,8388608),oe-=23;k(V,1<<oe),S(V,1,1),k(V,2),H=R(V)}else S(V,0,ie),S(V,1<<-te,0),H=R(V)+x("0",N);return N>0?(J=H.length,H=W+(J<=N?"0."+x("0",N-J)+H:p(H,0,J-N)+"."+p(H,J-N))):H=W+H,H}})},93547:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=e(49228),f=i(1 .toPrecision),o=l(function(){return f(1,void 0)!=="1"})||!l(function(){f({})});r({target:"Number",proto:!0,forced:o},{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),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineGetter__:function(u,a){o.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),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineSetter__:function(u,a){o.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,o=Object.freeze,h=l(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!i},{freeze:function(a){return o&&c(a)?o(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 o={};return i(f,function(h,u){l(o,h,u)},{AS_ENTRIES:!0}),o}})},55639:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(80524),c=e(71256).f,f=e(35454),o=!f||i(function(){c(1)});r({target:"Object",stat:!0,forced:o,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),o=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&&o(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),o=!i||l(function(){c.f(1)});r({target:"Object",stat:!0,forced:o},{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),o=i(function(){c(1)});r({target:"Object",stat:!0,forced:o,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),o=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 k=o(y(S,b++));k in _?a(_[k],S):_[k]=[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),o=Object.isFrozen,h=f||i(function(){o(1)});r({target:"Object",stat:!0,forced:h},{isFrozen:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:o?o(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),o=Object.isSealed,h=f||i(function(){o(1)});r({target:"Object",stat:!0,forced:h},{isSealed:function(a){return!l(a)||f&&c(a)==="ArrayBuffer"?!0:o?o(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),o=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=o(x))}})},14645:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(94029),f=e(17818),o=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=o(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),o=Object.preventExtensions,h=f(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{preventExtensions:function(a){return o&&i(a)?o(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),o=Object.getPrototypeOf,h=Object.setPrototypeOf,u=Object.prototype,a="__proto__";if(r&&o&&h&&!(a in u))try{i(u,a,{configurable:!0,get:function(){return o(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),o=Object.seal,h=f(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!c},{seal:function(a){return o&&i(a)?o(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),o=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),k=[],R=0,A=1;o(a,function(I){var M=R++,B=!1;A++,i(S,x,I).then(function(N){B||(B=!0,k[M]={status:"fulfilled",value:N},--A||y(k))},function(N){B||(B=!0,k[M]={status:"rejected",reason:N},--A||y(k))})}),--A||y(k)});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),o=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),k=[],R=0,A=1;o(a,function(I){var M=R++,B=!1;A++,i(S,x,I).then(function(N){B||(B=!0,k[M]=N,--A||y(k))},_)}),--A||y(k)});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),o=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,k=b.reject,R=o(function(){var A=l(y.resolve),I=[],M=0,B=1,N=!1;h(p,function(V){var W=M++,H=!1;B++,i(A,y,V).then(function(te){H||N||(N=!0,S(te))},function(te){H||N||(H=!0,I[W]=te,--B||k(new _(I,a)))})}),--B||k(new _(I,a))});return R.error&&k(R.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),o=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&&o(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),o=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,k=e(72933),R=e(61810),A=e(80734),I=e(66790),M=e(94844),B=e(2451),N=e(82830),V=e(73446),W="Promise",H=N.CONSTRUCTOR,te=N.REJECTION_EVENT,ie=N.SUBCLASSING,oe=M.getterFor(W),J=M.set,Q=B&&B.prototype,K=B,se=Q,ee=c.TypeError,X=c.document,le=c.process,z=V.f,$=z,ae=!!(X&&X.createEvent&&c.dispatchEvent),_e="unhandledrejection",Ie="rejectionhandled",ke=0,We=1,je=2,Mt=1,yt=2,Pt,tr,Vt,lr,Ke=function(Me){var Ue;return y(Me)&&p(Ue=Me.then)?Ue:!1},Ct=function(Me,Ue){var Ge=Ue.value,nt=Ue.state===We,ut=nt?Me.ok:Me.fail,Kt=Me.resolve,Zt=Me.reject,De=Me.domain,Je,Wt,Ot;try{ut?(nt||(Ue.rejection===yt&&et(Ue),Ue.rejection=Mt),ut===!0?Je=Ge:(De&&De.enter(),Je=ut(Ge),De&&(De.exit(),Ot=!0)),Je===Me.promise?Zt(new ee("Promise-chain cycle")):(Wt=Ke(Je))?f(Wt,Je,Kt,Zt):Kt(Je)):Zt(Ge)}catch(zt){De&&!Ot&&De.exit(),Zt(zt)}},jt=function(Me,Ue){Me.notified||(Me.notified=!0,k(function(){for(var Ge=Me.reactions,nt;nt=Ge.get();)Ct(nt,Me);Me.notified=!1,Ue&&!Me.rejection&&xt(Me)}))},it=function(Me,Ue,Ge){var nt,ut;ae?(nt=X.createEvent("Event"),nt.promise=Ue,nt.reason=Ge,nt.initEvent(Me,!1,!0),c.dispatchEvent(nt)):nt={promise:Ue,reason:Ge},!te&&(ut=c["on"+Me])?ut(nt):Me===_e&&R("Unhandled promise rejection",Ge)},xt=function(Me){f(S,c,function(){var Ue=Me.facade,Ge=Me.value,nt=pt(Me),ut;if(nt&&(ut=A(function(){l?le.emit("unhandledRejection",Ge,Ue):it(_e,Ue,Ge)}),Me.rejection=l||pt(Me)?yt:Mt,ut.error))throw ut.value})},pt=function(Me){return Me.rejection!==Mt&&!Me.parent},et=function(Me){f(S,c,function(){var Ue=Me.facade;l?le.emit("rejectionHandled",Ue):it(Ie,Ue,Me.value)})},Ze=function(Me,Ue,Ge){return function(nt){Me(Ue,nt,Ge)}},ge=function(Me,Ue,Ge){Me.done||(Me.done=!0,Ge&&(Me=Ge),Me.value=Ue,Me.state=je,jt(Me,!0))},Ae=function(Me,Ue,Ge){if(!Me.done){Me.done=!0,Ge&&(Me=Ge);try{if(Me.facade===Ue)throw new ee("Promise can't be resolved itself");var nt=Ke(Ue);nt?k(function(){var ut={done:!1};try{f(nt,Ue,Ze(Ae,ut,Me),Ze(ge,ut,Me))}catch(Kt){ge(ut,Kt,Me)}}):(Me.value=Ue,Me.state=We,jt(Me,!1))}catch(ut){ge({done:!1},ut,Me)}}};if(H&&(K=function(Ue){_(this,se),x(Ue),f(Pt,this);var Ge=oe(this);try{Ue(Ze(Ae,Ge),Ze(ge,Ge))}catch(nt){ge(Ge,nt)}},se=K.prototype,Pt=function(Ue){J(this,{type:W,done:!1,notified:!1,parent:!1,reactions:new I,rejection:!1,state:ke,value:void 0})},Pt.prototype=o(se,"then",function(Ue,Ge){var nt=oe(this),ut=z(b(this,K));return nt.parent=!0,ut.ok=p(Ue)?Ue:!0,ut.fail=p(Ge)&&Ge,ut.domain=l?le.domain:void 0,nt.state===ke?nt.reactions.add(ut):k(function(){Ct(ut,nt)}),ut.promise}),tr=function(){var Me=new Pt,Ue=oe(Me);this.promise=Me,this.resolve=Ze(Ae,Ue),this.reject=Ze(ge,Ue)},V.f=z=function(Me){return Me===K||Me===Vt?new tr(Me):$(Me)},!i&&p(B)&&Q!==Object.prototype)){lr=Q.then,ie||o(Q,"then",function(Ue,Ge){var nt=this;return new K(function(ut,Kt){f(lr,nt,ut,Kt)}).then(Ue,Ge)},{unsafe:!0});try{delete Q.constructor}catch(Me){}h&&h(Q,se)}r({global:!0,constructor:!0,wrap:!0,forced:H},{Promise:K}),u(K,W,!1,!0),a(W)},43595:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(2451),c=e(3338),f=e(65911),o=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=o(_);return this.then(S?function(k){return u(b,_()).then(function(){return k})}:_,S?function(k){return u(b,_()).then(function(){throw k})}:_)}}),!i&&o(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),o=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);o(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(o){var h=l.f(this);return i(h.reject,void 0,o),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,o=e(15597),h=i("Promise"),u=l&&!f;r({target:"Promise",stat:!0,forced:l||f},{resolve:function(x){return o(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),o=!f(function(){Reflect.apply(function(){})});r({target:"Reflect",stat:!0,forced:o},{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),o=e(80449),h=e(31946),u=e(20132),a=e(3338),x=i("Reflect","construct"),p=Object.prototype,y=[].push,_=a(function(){function k(){}return!(x(function(){},[],k)instanceof k)}),b=!a(function(){x(function(){})}),S=_||b;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(R,A){f(R),o(A);var I=arguments.length<3?R:f(arguments[2]);if(b&&!_)return x(R,A,I);if(R===I){switch(A.length){case 0:return new R;case 1:return new R(A[0]);case 2:return new R(A[0],A[1]);case 3:return new R(A[0],A[1],A[2]);case 4:return new R(A[0],A[1],A[2],A[3])}var M=[null];return l(y,M,A),new(l(c,R,M))}var B=I.prototype,N=u(h(B)?B:p),V=l(R,N,A);return h(V)?V:N}})},57891:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(17818),f=e(37691),o=e(3338),h=o(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,o){var h=l(i(f),o);return h&&!h.configurable?!1:delete f[o]}})},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(o,h){return c.f(l(o),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(o){return l(i(o))}})},51832:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(31946),c=e(80449),f=e(60516),o=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=o.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(o){l(o);try{var h=i("Object","preventExtensions");return h&&h(o),!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(o,h){i(o),l(h);try{return c(o,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),o=e(3338),h=e(37691),u=e(71256),a=e(53456),x=e(35012);function p(_,b,S){var k=arguments.length<4?_:arguments[3],R=u.f(l(_),b),A,I,M;if(!R){if(c(I=a(_)))return p(I,b,S,k);R=x(0)}if(f(R)){if(R.writable===!1||!c(k))return!1;if(A=u.f(k,b)){if(A.get||A.set||A.writable===!1)return!1;A.value=S,h.f(k,b,A)}else h.f(k,b,x(0,S))}else{if(M=R.set,M===void 0)return!1;i(M,k,S)}return!0}var y=o(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),o=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),k=e(3338),R=e(32621),A=e(94844).enforce,I=e(51996),M=e(59893),B=e(6041),N=e(51224),V=M("match"),W=i.RegExp,H=W.prototype,te=i.SyntaxError,ie=l(H.exec),oe=l("".charAt),J=l("".replace),Q=l("".indexOf),K=l("".slice),se=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,X=/a/g,le=new W(ee)!==ee,z=_.MISSED_STICKY,$=_.UNSUPPORTED_Y,ae=r&&(!le||z||B||N||k(function(){return X[V]=!1,W(ee)!==ee||W(X)===X||String(W(ee,"i"))!=="/a/i"})),_e=function(Mt){for(var yt=Mt.length,Pt=0,tr="",Vt=!1,lr;Pt<=yt;Pt++){if(lr=oe(Mt,Pt),lr==="\\"){tr+=lr+oe(Mt,++Pt);continue}!Vt&&lr==="."?tr+="[\\s\\S]":(lr==="["?Vt=!0:lr==="]"&&(Vt=!1),tr+=lr)}return tr},Ie=function(Mt){for(var yt=Mt.length,Pt=0,tr="",Vt=[],lr=h(null),Ke=!1,Ct=!1,jt=0,it="",xt;Pt<=yt;Pt++){if(xt=oe(Mt,Pt),xt==="\\")xt+=oe(Mt,++Pt);else if(xt==="]")Ke=!1;else if(!Ke)switch(!0){case xt==="[":Ke=!0;break;case xt==="(":ie(se,K(Mt,Pt+1))&&(Pt+=2,Ct=!0),tr+=xt,jt++;continue;case(xt===">"&&Ct):if(it===""||R(lr,it))throw new te("Invalid capture group name");lr[it]=!0,Vt[Vt.length]=[it,jt],Ct=!1,it="";continue}Ct?it+=xt:tr+=xt}return[tr,Vt]};if(c("RegExp",ae)){for(var ke=function(yt,Pt){var tr=a(H,this),Vt=x(yt),lr=Pt===void 0,Ke=[],Ct=yt,jt,it,xt,pt,et,Ze;if(!tr&&Vt&&lr&&yt.constructor===ke)return yt;if((Vt||a(H,yt))&&(yt=yt.source,lr&&(Pt=y(Ct))),yt=yt===void 0?"":p(yt),Pt=Pt===void 0?"":p(Pt),Ct=yt,B&&"dotAll"in ee&&(it=!!Pt&&Q(Pt,"s")>-1,it&&(Pt=J(Pt,/s/g,""))),jt=Pt,z&&"sticky"in ee&&(xt=!!Pt&&Q(Pt,"y")>-1,xt&&$&&(Pt=J(Pt,/y/g,""))),N&&(pt=Ie(yt),yt=pt[0],Ke=pt[1]),et=f(W(yt,Pt),tr?this:H,ke),(it||xt||Ke.length)&&(Ze=A(et),it&&(Ze.dotAll=!0,Ze.raw=ke(_e(yt),jt)),xt&&(Ze.sticky=!0),Ke.length&&(Ze.groups=Ke)),yt!==Ct)try{o(et,"source",Ct===""?"(?:)":Ct)}catch(ge){}return et},We=u(W),je=0;We.length>je;)b(ke,W,We[je++]);H.constructor=ke,ke.prototype=H,S(i,"RegExp",ke,{constructor:!0})}I("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,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"dotAll",{configurable:!0,get:function(){if(this!==o){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),o=r.RegExp,h=o.prototype,u=i&&f(function(){var a=!0;try{o(".","d")}catch(R){a=!1}var x={},p="",y=a?"dgimsy":"gimsy",_=function(R,A){Object.defineProperty(x,R,{get:function(){return p+=A,!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 k=Object.getOwnPropertyDescriptor(h,"flags").get.call(x);return k!==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,o=RegExp.prototype,h=TypeError;r&&i&&c(o,"sticky",{configurable:!0,get:function(){if(this!==o){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),o=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:!o},{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),o=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(o(_));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),o=e(3338),h=i("".charAt),u=o(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),o=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(k){var R=f(h(this));o(k);var A=arguments.length>1?arguments[1]:void 0,I=R.length,M=A===void 0?I:y(c(A),I),B=f(k);return x?x(R,B,M):p(R,M-B.length,M)===B}})},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,o=String.fromCodePoint,h=i([].join),u=!!o&&o.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),o=e(86266),h=i("".indexOf);r({target:"String",proto:!0,forced:!o("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),o="String Iterator",h=l.set,u=l.getterFor(o);c(String,"String",function(a){h(this,{type:o,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),o=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),k=e(3338),R=e(59893),A=e(60473),I=e(52216),M=e(94338),B=e(94844),N=e(16697),V=R("matchAll"),W="RegExp String",H=W+" Iterator",te=B.set,ie=B.getterFor(H),oe=RegExp.prototype,J=TypeError,Q=l("".indexOf),K=l("".matchAll),se=!!K&&!k(function(){K("a",/./)}),ee=c(function(z,$,ae,_e){te(this,{type:H,regexp:z,string:$,global:ae,unicode:_e,done:!1})},W,function(){var z=ie(this);if(z.done)return f(void 0,!0);var $=z.regexp,ae=z.string,_e=M($,ae);return _e===null?(z.done=!0,f(void 0,!0)):z.global?(u(_e[0])===""&&($.lastIndex=I(ae,h($.lastIndex),z.unicode)),f(_e,!1)):(z.done=!0,f(_e,!1))}),X=function(le){var z=a(this),$=u(le),ae=A(z,RegExp),_e=u(_(z)),Ie,ke,We;return Ie=new ae(ae===RegExp?z.source:z,_e),ke=!!~Q(_e,"g"),We=!!~Q(_e,"u"),Ie.lastIndex=h(z.lastIndex),new ee(Ie,$,ke,We)};r({target:"String",proto:!0,forced:se},{matchAll:function(z){var $=o(this),ae,_e,Ie,ke;if(x(z)){if(se)return K($,z)}else{if(y(z)&&(ae=u(o(_(z))),!~Q(ae,"g")))throw new J("`.matchAll` does not allow non-global regexes");if(se)return K($,z);if(Ie=b(z,V),Ie===void 0&&N&&p(z)==="RegExp"&&(Ie=X),Ie)return i(Ie,z,$)}return _e=u($),ke=new RegExp(z,"g"),N?i(X,ke,_e):ke[V](_e)}}),N||V in oe||S(oe,V,X)},46302:function(d,v,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(61578),o=e(69905),h=e(95955),u=e(53776),a=e(52216),x=e(94338);i("match",function(p,y,_){return[function(S){var k=h(this),R=c(S)?void 0:u(S,p);return R?r(R,S,k):new RegExp(S)[p](o(k))},function(b){var S=l(this),k=o(b),R=_(y,S,k);if(R.done)return R.value;if(!S.global)return x(S,k);var A=S.unicode;S.lastIndex=0;for(var I=[],M=0,B;(B=x(S,k))!==null;){var N=o(B[0]);I[M]=N,N===""&&(S.lastIndex=a(k,f(S.lastIndex),A)),M++}return M===0?null:I}]})},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),o=e(82762),h=i([].push),u=i([].join);r({target:"String",stat:!0},{raw:function(x){var p=l(c(x).raw),y=o(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),o=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,k=l("".indexOf),R=l("".replace),A=l("".slice),I=Math.max,M=function(B,N,V){return V>B.length?-1:N===""?V:k(B,N,V)};r({target:"String",proto:!0},{replaceAll:function(N,V){var W=c(this),H,te,ie,oe,J,Q,K,se,ee,X=0,le=0,z="";if(!o(N)){if(H=h(N),H&&(te=u(c(x(N))),!~k(te,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ie=a(N,b),ie)return i(ie,N,W,V);if(_&&H)return R(u(W),N,V)}for(oe=u(W),J=u(N),Q=f(V),Q||(V=u(V)),K=J.length,se=I(1,K),X=M(oe,J,0);X!==-1;)ee=Q?u(V(J,X,oe)):p(J,oe,X,[],void 0,V),z+=A(oe,le,X)+ee,le=X+K,X=M(oe,J,X+se);return le<oe.length&&(z+=A(oe,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),o=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),k=e(94338),R=e(59893),A=R("replace"),I=Math.max,M=Math.min,B=l([].concat),N=l([].push),V=l("".indexOf),W=l("".slice),H=function(J){return J===void 0?J:String(J)},te=function(){return"a".replace(/./,"$0")==="$0"}(),ie=function(){return/./[A]?/./[A]("a","$0")==="":!1}(),oe=!f(function(){var J=/./;return J.exec=function(){var Q=[];return Q.groups={a:"7"},Q},"".replace(J,"$<a>")!=="7"});c("replace",function(J,Q,K){var se=ie?"$":"$0";return[function(X,le){var z=y(this),$=u(X)?void 0:b(X,A);return $?i($,X,z,le):i(Q,p(z),X,le)},function(ee,X){var le=o(this),z=p(ee);if(typeof X=="string"&&V(X,se)===-1&&V(X,"$<")===-1){var $=K(Q,le,z,X);if($.done)return $.value}var ae=h(X);ae||(X=p(X));var _e=le.global,Ie;_e&&(Ie=le.unicode,le.lastIndex=0);for(var ke=[],We;We=k(le,z),!(We===null||(N(ke,We),!_e));){var je=p(We[0]);je===""&&(le.lastIndex=_(z,x(le.lastIndex),Ie))}for(var Mt="",yt=0,Pt=0;Pt<ke.length;Pt++){We=ke[Pt];for(var tr=p(We[0]),Vt=I(M(a(We.index),z.length),0),lr=[],Ke,Ct=1;Ct<We.length;Ct++)N(lr,H(We[Ct]));var jt=We.groups;if(ae){var it=B([tr],lr,Vt,z);jt!==void 0&&N(it,jt),Ke=p(r(X,void 0,it))}else Ke=S(tr,z,Vt,lr,jt,X);Vt>=yt&&(Mt+=W(z,yt,Vt)+Ke,yt=Vt+tr.length)}return Mt+W(z,yt)}]},!oe||!te||ie)},62925:function(d,v,e){"use strict";var r=e(89945),i=e(8662),l=e(80449),c=e(4112),f=e(95955),o=e(5370),h=e(69905),u=e(53776),a=e(94338);i("search",function(x,p,y){return[function(b){var S=f(this),k=c(b)?void 0:u(b,x);return k?r(k,b,S):new RegExp(b)[x](h(S))},function(_){var b=l(this),S=h(_),k=y(p,b,S);if(k.done)return k.value;var R=b.lastIndex;o(R,0)||(b.lastIndex=0);var A=a(b,S);return o(b.lastIndex,R)||(b.lastIndex=R),A===null?-1:A.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),o=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),k=e(88736),R=e(19286),A=e(3338),I=R.UNSUPPORTED_Y,M=4294967295,B=Math.min,N=[].push,V=l(/./.exec),W=l(N),H=l("".slice),te=!A(function(){var ie=/(?:)/,oe=ie.exec;ie.exec=function(){return oe.apply(this,arguments)};var J="ab".split(ie);return J.length!==2||J[0]!=="a"||J[1]!=="b"});c("split",function(ie,oe,J){var Q;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?Q=function(K,se){var ee=y(u(this)),X=se===void 0?M:se>>>0;if(X===0)return[];if(K===void 0)return[ee];if(!h(K))return i(oe,ee,K,X);for(var le=[],z=(K.ignoreCase?"i":"")+(K.multiline?"m":"")+(K.unicode?"u":"")+(K.sticky?"y":""),$=0,ae=new RegExp(K.source,z+"g"),_e,Ie,ke;(_e=i(k,ae,ee))&&(Ie=ae.lastIndex,!(Ie>$&&(W(le,H(ee,$,_e.index)),_e.length>1&&_e.index<ee.length&&r(N,le,b(_e,1)),ke=_e[0].length,$=Ie,le.length>=X)));)ae.lastIndex===_e.index&&ae.lastIndex++;return $===ee.length?(ke||!V(ae,""))&&W(le,""):W(le,H(ee,$)),le.length>X?b(le,0,X):le}:"0".split(void 0,0).length?Q=function(K,se){return K===void 0&&se===0?[]:i(oe,this,K,se)}:Q=oe,[function(se,ee){var X=u(this),le=o(se)?void 0:_(se,ie);return le?i(le,se,X,ee):i(Q,y(X),se,ee)},function(K,se){var ee=f(this),X=y(K),le=J(Q,ee,X,se,Q!==oe);if(le.done)return le.value;var z=a(ee,RegExp),$=ee.unicode,ae=(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")+(I?"g":"y"),_e=new z(I?"^(?:"+ee.source+")":ee,ae),Ie=se===void 0?M:se>>>0;if(Ie===0)return[];if(X.length===0)return S(_e,X)===null?[X]:[];for(var ke=0,We=0,je=[];We<X.length;){_e.lastIndex=I?0:We;var Mt=S(_e,I?H(X,We):X),yt;if(Mt===null||(yt=B(p(_e.lastIndex+(I?We:0)),X.length))===ke)We=x(X,We,$);else{if(W(je,H(X,ke,We)),je.length===Ie)return je;for(var Pt=1;Pt<=Mt.length-1;Pt++)if(W(je,Mt[Pt]),je.length===Ie)return je;We=ke=yt}}return W(je,H(X,ke)),je}]},!te,I)},58127:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),o=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(k){var R=f(h(this));o(k);var A=c(y(arguments.length>1?arguments[1]:void 0,R.length)),I=f(k);return x?x(R,I,A):p(R,A,A+I.length)===I}})},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),o=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),k,R;return S===1/0&&(S=0),S<0&&(S=h(b+S,0)),k=y===void 0?b:c(y),k<=0||k===1/0?"":(R=u(S+k,b),S>=R?"":o(_,S,R))}})},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),o=e(3338),h=Array,u=l("".charAt),a=l("".charCodeAt),x=l([].join),p="".toWellFormed,y="\uFFFD",_=p&&o(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 k=S.length,R=h(k),A=0;A<k;A++){var I=a(S,A);(I&63488)!==55296?R[A]=u(S,A):I>=56320||A+1>=k||(a(S,A+1)&64512)!==56320?R[A]=y:(R[A]=u(S,A),R[++A]=u(S,A))}return x(R,"")}})},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),o=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),k=e(20132),R=e(7733),A=e(80689),I=e(53393),M=e(92635),B=e(71256),N=e(37691),V=e(55666),W=e(27597),H=e(2291),te=e(64110),ie=e(77898),oe=e(11898),J=e(54406),Q=e(6145),K=e(59893),se=e(38282),ee=e(94674),X=e(14311),le=e(94573),z=e(94844),$=e(90560).forEach,ae=oe("hidden"),_e="Symbol",Ie="prototype",ke=z.set,We=z.getterFor(_e),je=Object[Ie],Mt=i.Symbol,yt=Mt&&Mt[Ie],Pt=i.RangeError,tr=i.TypeError,Vt=i.QObject,lr=B.f,Ke=N.f,Ct=I.f,jt=W.f,it=c([].push),xt=ie("symbols"),pt=ie("op-symbols"),et=ie("wks"),Ze=!Vt||!Vt[Ie]||!Vt[Ie].findChild,ge=function(Je,Wt,Ot){var zt=lr(je,Wt);zt&&delete je[Wt],Ke(Je,Wt,Ot),zt&&Je!==je&&Ke(je,Wt,zt)},Ae=o&&u(function(){return k(Ke({},"a",{get:function(){return Ke(this,"a",{value:7}).a}})).a!==7})?ge:Ke,Me=function(Je,Wt){var Ot=xt[Je]=k(yt);return ke(Ot,{type:_e,tag:Je,description:Wt}),o||(Ot.description=Wt),Ot},Ue=function(Wt,Ot,zt){Wt===je&&Ue(pt,Ot,zt),p(Wt);var Ft=_(Ot);return p(zt),a(xt,Ft)?(zt.enumerable?(a(Wt,ae)&&Wt[ae][Ft]&&(Wt[ae][Ft]=!1),zt=k(zt,{enumerable:S(0,!1)})):(a(Wt,ae)||Ke(Wt,ae,S(1,{})),Wt[ae][Ft]=!0),Ae(Wt,Ft,zt)):Ke(Wt,Ft,zt)},Ge=function(Wt,Ot){p(Wt);var zt=y(Ot),Ft=R(zt).concat(De(zt));return $(Ft,function(At){(!o||l(ut,zt,At))&&Ue(Wt,At,zt[At])}),Wt},nt=function(Wt,Ot){return Ot===void 0?k(Wt):Ge(k(Wt),Ot)},ut=function(Wt){var Ot=_(Wt),zt=l(jt,this,Ot);return this===je&&a(xt,Ot)&&!a(pt,Ot)?!1:zt||!a(this,Ot)||!a(xt,Ot)||a(this,ae)&&this[ae][Ot]?zt:!0},Kt=function(Wt,Ot){var zt=y(Wt),Ft=_(Ot);if(!(zt===je&&a(xt,Ft)&&!a(pt,Ft))){var At=lr(zt,Ft);return At&&a(xt,Ft)&&!(a(zt,ae)&&zt[ae][Ft])&&(At.enumerable=!0),At}},Zt=function(Wt){var Ot=Ct(y(Wt)),zt=[];return $(Ot,function(Ft){!a(xt,Ft)&&!a(J,Ft)&&it(zt,Ft)}),zt},De=function(Je){var Wt=Je===je,Ot=Ct(Wt?pt:y(Je)),zt=[];return $(Ot,function(Ft){a(xt,Ft)&&(!Wt||a(je,Ft))&&it(zt,xt[Ft])}),zt};h||(Mt=function(){if(x(yt,this))throw new tr("Symbol is not a constructor");var Wt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),Ot=Q(Wt),zt=function(Ft){var At=this===void 0?i:this;At===je&&l(zt,pt,Ft),a(At,ae)&&a(At[ae],Ot)&&(At[ae][Ot]=!1);var Yt=S(1,Ft);try{Ae(At,Ot,Yt)}catch(Ye){if(!(Ye instanceof Pt))throw Ye;ge(At,Ot,Yt)}};return o&&Ze&&Ae(je,Ot,{configurable:!0,set:zt}),Me(Ot,Wt)},yt=Mt[Ie],H(yt,"toString",function(){return We(this).tag}),H(Mt,"withoutSetter",function(Je){return Me(Q(Je),Je)}),W.f=ut,N.f=Ue,V.f=Ge,B.f=Kt,A.f=I.f=Zt,M.f=De,se.f=function(Je){return Me(K(Je),Je)},o&&(te(yt,"description",{configurable:!0,get:function(){return We(this).description}}),f||H(je,"propertyIsEnumerable",ut,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Mt}),$(R(et),function(Je){ee(Je)}),r({target:_e,stat:!0,forced:!h},{useSetter:function(){Ze=!0},useSimple:function(){Ze=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:nt,defineProperty:Ue,defineProperties:Ge,getOwnPropertyDescriptor:Kt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Zt}),X(),le(Mt,_e),J[ae]=!0},44852:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(94237),f=e(32621),o=e(55327),h=e(16332),u=e(69905),a=e(64110),x=e(24538),p=l.Symbol,y=p&&p.prototype;if(i&&o(p)&&(!("description"in y)||p().description!==void 0)){var _={},b=function(){var N=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),V=h(y,this)?new p(N):N===void 0?p():p(N);return N===""&&(_[V]=!0),V};x(b,p),b.prototype=y,y.constructor=b;var S=String(p("description detection"))==="Symbol(description detection)",k=c(y.valueOf),R=c(y.toString),A=/^Symbol\((.*)\)[^)]+$/,I=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var N=k(this);if(f(_,N))return"";var V=R(N),W=S?M(V,7,-1):I(V,A,"$1");return W===""?void 0:W}}),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),o=e(60798),h=f("string-to-symbol-registry"),u=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{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),o=e(60798),h=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{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,o=i.exportTypedArrayMethod;o("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(o){return i(l(this),o,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),o=e(94237),h=e(3338),u=r.aTypedArray,a=r.exportTypedArrayMethod,x=o("".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(o){return i(l(this),o,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(o){return i(l(this),o,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(o){return i(l(this),o,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(o){return i(l(this),o,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,o){return i(this,c,f,o)}})},59022:function(d,v,e){"use strict";var r=e(69733);r("Float64",function(i){return function(c,f,o){return i(this,c,f,o)}})},5316:function(d,v,e){"use strict";var r=e(58261),i=e(90560).forEach,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("forEach",function(o){i(l(this),o,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(o){return i(l(this),o,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(o){return i(l(this),o,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,o){return i(this,c,f,o)}})},60330:function(d,v,e){"use strict";var r=e(69733);r("Int32",function(i){return function(c,f,o){return i(this,c,f,o)}})},19363:function(d,v,e){"use strict";var r=e(69733);r("Int8",function(i){return function(c,f,o){return i(this,c,f,o)}})},91927:function(d,v,e){"use strict";var r=e(92916),i=e(3338),l=e(94237),c=e(58261),f=e(11005),o=e(59893),h=o("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])}),k=!!b&&b.values&&b[h]===b.values&&b.values.name==="values",R=function(){return a(y(this))};_("entries",function(){return p(y(this))},S),_("keys",function(){return x(y(this))},S),_("values",R,S||!k,{name:"values"}),_(h,R,S||!k,{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 o=0,h=arguments.length,u=new(l(this))(h);h>o;)u[o]=arguments[o++];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(o){var h=arguments.length;return i(l(this),o,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(o){var h=arguments.length;return i(l(this),o,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 o=this,h=i(o).length,u=c(h/2),a=0,x;a<u;)x=o[a],o[a++]=o[--h],o[h]=x;return o})},89466:function(d,v,e){"use strict";var r=e(92916),i=e(89945),l=e(58261),c=e(82762),f=e(64135),o=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 k=new Uint8ClampedArray(2);return i(p,k,{length:1,0:3},1),k[1]!==3}),S=b&&l.NATIVE_ARRAY_BUFFER_VIEWS&&h(function(){var k=new a(2);return k.set(1),k.set("2",1),k[0]!==0||k[1]!==2});_("set",function(R){y(this);var A=f(arguments.length>1?arguments[1]:void 0,1),I=o(R);if(b)return i(p,this,I,A);var M=this.length,B=c(I),N=0;if(B+A>M)throw new u("Wrong length");for(;N<B;)this[A+N]=I[N++]},!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,o=r.exportTypedArrayMethod,h=l(function(){new Int8Array(1).slice()});o("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(o){return i(l(this),o,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),o=e(58261),h=e(78177),u=e(17687),a=e(46573),x=e(19684),p=o.aTypedArray,y=o.exportTypedArrayMethod,_=r.Uint16Array,b=_&&i(_.prototype.sort),S=!!b&&!(l(function(){b(new _(2),null)})&&l(function(){b(new _(2),{})})),k=!!b&&!l(function(){if(a)return a<74;if(h)return h<67;if(u)return!0;if(x)return x<602;var A=new _(516),I=Array(516),M,B;for(M=0;M<516;M++)B=M%4,A[M]=515-M,I[M]=M-2*B+3;for(b(A,function(N,V){return(N/4|0)-(V/4|0)}),M=0;M<516;M++)if(A[M]!==I[M])return!0}),R=function(A){return function(I,M){return A!==void 0?+A(I,M)||0:M!==M?-1:I!==I?1:I===0&&M===0?1/I>0&&1/M<0?1:-1:I>M}};y("sort",function(I){return I!==void 0&&c(I),k?b(this,I):f(p(this),R(I))},!k||S)},63079:function(d,v,e){"use strict";var r=e(58261),i=e(61578),l=e(51981),c=e(31384),f=r.aTypedArray,o=r.exportTypedArrayMethod;o("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),o=r.Int8Array,h=l.aTypedArray,u=l.exportTypedArrayMethod,a=[].toLocaleString,x=!!o&&c(function(){a.call(new o(1))}),p=c(function(){return[1,2].toLocaleString()!==new o([1,2]).toLocaleString()})||!c(function(){o.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,o=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(o(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,o=f&&f.prototype||{},h=[].toString,u=c([].join);i(function(){h.call({})})&&(h=function(){return u(this)});var a=o.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,o){return i(this,c,f,o)}})},63914:function(d,v,e){"use strict";var r=e(69733);r("Uint32",function(i){return function(c,f,o){return i(this,c,f,o)}})},55234:function(d,v,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,o){return i(this,c,f,o)}})},88104:function(d,v,e){"use strict";var r=e(69733);r("Uint8",function(i){return function(c,f,o){return i(this,c,f,o)}},!0)},77517:function(d,v,e){"use strict";var r=e(82041),i=e(58261),l=e(75406),c=e(56902),f=e(93303),o=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=o(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),o=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,k,R;S<b;){if(k=f(y,S++),k==="%"){if(f(y,S)==="u"){if(R=h(y,S+1,S+5),o(a,R)){_+=c(parseInt(R,16)),S+=5;continue}}else if(R=h(y,S,S+2),o(u,R)){_+=c(parseInt(R,16)),S+=2;continue}}_+=k}return _}})},58453:function(d,v,e){"use strict";var r=e(13247),i=e(92916),l=e(94237),c=e(66477),f=e(2074),o=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,k=y.isSealed,R=y.freeze,A=y.seal,I={},M={},B=!i.ActiveXObject&&"ActiveXObject"in i,N,V=function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},W=o("WeakMap",V,h),H=W.prototype,te=l(H.set),ie=function(){return r&&x(function(){var K=R([]);return te(new W,K,1),!S(K)})};if(p)if(B){N=h.getConstructor(V,"WeakMap",!0),f.enable();var oe=l(H.delete),J=l(H.has),Q=l(H.get);c(H,{delete:function(K){if(u(K)&&!b(K)){var se=a(this);return se.frozen||(se.frozen=new N),oe(this,K)||se.frozen.delete(K)}return oe(this,K)},has:function(se){if(u(se)&&!b(se)){var ee=a(this);return ee.frozen||(ee.frozen=new N),J(this,se)||ee.frozen.has(se)}return J(this,se)},get:function(se){if(u(se)&&!b(se)){var ee=a(this);return ee.frozen||(ee.frozen=new N),J(this,se)?Q(this,se):ee.frozen.get(se)}return Q(this,se)},set:function(se,ee){if(u(se)&&!b(se)){var X=a(this);X.frozen||(X.frozen=new N),J(this,se)?te(this,se,ee):X.frozen.set(se,ee)}else te(this,se,ee);return this}})}else ie()&&c(H,{set:function(se,ee){var X;return _(se)&&(S(se)?X=I:k(se)&&(X=M)),te(this,se,ee),X===I&&R(se),X===M&&A(se),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(o){var h=arguments.length>1?arguments[1]:void 0;return i(this,o,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 o=arguments.length>1?arguments[1]:void 0;return i(this,f,o)}}),l("group")},1905:function(d,v,e){"use strict";var r=e(94488),i=e(18589),l=Object.isFrozen,c=function(f,o){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"||o&&a===void 0))return!1;return u!==0};r({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(o){if(!c(o,!0))return!1;var h=o.raw;return h.length===o.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),o=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"),k=a("toStringTag"),R="AsyncDisposableStack",A=x.set,I=x.getterFor(R),M="async-dispose",B="disposed",N="pending",V=function(te){var ie=I(te);if(ie.state===B)throw new b(R+" already disposed");return ie},W=function(){A(f(this,H),{type:R,state:N,stack:[]}),i||(this.disposed=!1)},H=W.prototype;h(H,{disposeAsync:function(){var ie=this;return new y(function(oe,J){var Q=I(ie);if(Q.state===B)return oe(void 0);Q.state=B,i||(ie.disposed=!0);var K=Q.stack,se=K.length,ee=!1,X,le=function($){ee?X=new _($,X):(ee=!0,X=$),z()},z=function(){if(se){var $=K[--se];K[se]=null;try{y.resolve($()).then(z,le)}catch(ae){le(ae)}}else Q.stack=null,ee?J(X):oe(void 0)};z()})},use:function(ie){return p(V(this),ie,M),ie},adopt:function(ie,oe){var J=V(this);return c(oe),p(J,void 0,M,function(){return oe(ie)}),ie},defer:function(ie){var oe=V(this);c(ie),p(oe,void 0,M,ie)},move:function(){var ie=V(this),oe=new W;return I(oe).stack=ie.stack,ie.stack=[],ie.state=B,i||(this.disposed=!0),oe}}),i&&u(H,"disposed",{configurable:!0,get:function(){return I(this).state===B}}),o(H,S,H.disposeAsync,{name:"disposeAsync"}),o(H,k,R,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:W})},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),o=e(59893),h=e(14052),u=o("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),o=e(59893),h=e(14052),u=e(16697),a=o("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),o=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(R){y.done=!0,b(R)},k=function(){try{p.resolve(l(i(y.next,y.iterator))).then(function(R){try{l(R).done?(y.done=!0,_(u(void 0,!0))):y.remaining?(y.remaining--,k()):_(u(R.value,!1))}catch(A){S(A)}},S)}catch(R){S(R)}};k()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{drop:function(y){l(this);var _=o(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),o=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(k,R){var A=function(B){_.done=!0,R(B)},I=function(B){a(b,A,B,A)},M=function(){try{y.resolve(c(i(_.next,b))).then(function(B){try{if(c(B).done)_.done=!0,k(u(void 0,!0));else{var N=B.value;try{var V=S(N,_.counter++),W=function(H){H?k(u(N,!1)):M()};f(V)?y.resolve(V).then(W,I):W(V)}catch(H){I(H)}}}catch(H){A(H)}},A)}catch(B){A(B)}};M()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(_){return c(this),l(_),new p(o(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),o=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,k=b.mapper;return new _(function(R,A){var I=function(V){b.done=!0,A(V)},M=function(V){x(S,I,V,I)},B=function(){try{_.resolve(c(i(b.next,S))).then(function(V){try{if(c(V).done)b.done=!0,R(u(void 0,!0));else{var W=V.value;try{var H=k(W,b.counter++),te=function(ie){try{b.inner=a(ie),N()}catch(oe){M(oe)}};f(H)?_.resolve(H).then(te,M):te(H)}catch(ie){M(ie)}}}catch(ie){I(ie)}},I)}catch(V){I(V)}},N=function(){var V=b.inner;if(V)try{_.resolve(c(i(V.next,V.iterator))).then(function(W){try{c(W).done?(b.inner=null,B()):R(u(W.value,!1))}catch(H){M(H)}},M)}catch(W){M(W)}else B()};N()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(b){return c(this),l(b),new y(o(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),o=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 o(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),o=e(65911),h=e(10731),u=e(28255),a=o("Promise"),x=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(y){c(this),l(y);var _=h(this),b=_.iterator,S=_.next,k=arguments.length<2,R=k?void 0:arguments[1],A=0;return new a(function(I,M){var B=function(V){u(b,M,V,M)},N=function(){try{a.resolve(c(i(S,b))).then(function(V){try{if(c(V).done)k?M(new x("Reduce of empty iterator with no initial value")):I(R);else{var W=V.value;if(k)k=!1,R=W,N();else try{var H=y(R,W,A),te=function(ie){R=ie,N()};f(H)?a.resolve(H).then(te,B):te(H)}catch(ie){B(ie)}}A++}catch(ie){M(ie)}},M)}catch(V){M(V)}};N()})}})},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),o=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(k){return l(k).done?(y.done=!0,u(void 0,!0)):u(k.value,!1)}).then(null,function(k){throw y.done=!0,k})});r({target:"AsyncIterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var _=o(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,o){return new i(c,f,o,"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),o=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,o,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(o){var h=c(this,o,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,o=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(o(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),o=TypeError,h=i(DataView.prototype.setUint8);r({target:"DataView",proto:!0,forced:!0},{setUint8Clamped:function(a,x){if(l(this)!=="DataView")throw new o("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),o=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"),k="DisposableStack",R=x.set,A=x.getterFor(k),I="sync-dispose",M="disposed",B="pending",N=function(H){var te=A(H);if(te.state===M)throw new _(k+" already disposed");return te},V=function(){R(f(this,W),{type:k,state:B,stack:[]}),i||(this.disposed=!1)},W=V.prototype;h(W,{dispose:function(){var te=A(this);if(te.state!==M){te.state=M,i||(this.disposed=!0);for(var ie=te.stack,oe=ie.length,J=!1,Q;oe;){var K=ie[--oe];ie[oe]=null;try{K()}catch(se){J?Q=new y(se,Q):(J=!0,Q=se)}}if(te.stack=null,J)throw Q}},use:function(te){return p(N(this),te,I),te},adopt:function(te,ie){var oe=N(this);return c(ie),p(oe,void 0,I,function(){ie(te)}),te},defer:function(te){var ie=N(this);c(te),p(ie,void 0,I,te)},move:function(){var te=N(this),ie=new V;return A(ie).stack=te.stack,te.stack=[],te.state=M,i||(this.disposed=!0),ie}}),i&&u(W,"disposed",{configurable:!0,get:function(){return A(this).state===M}}),o(W,b,W.dispose,{name:"dispose"}),o(W,S,k,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:V})},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),o=e(35454),h=Object.getOwnPropertyDescriptor,u=/^\s*class\b/,a=i(u.exec),x=function(p){try{if(!o||!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),o=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",k="Iterator",R=p("toStringTag"),A=TypeError,I=i[k],M=b||!f(I)||I.prototype!==y||!a(function(){I({})}),B=function(){if(l(this,y),o(this)===y)throw new A("Abstract class Iterator not directly constructable")},N=function(V,W){_?h(y,V,{configurable:!0,get:function(){return W},set:function(H){if(c(this),this===y)throw new A("You can't redefine this property");x(this,V)?this[V]=H:u(this,V,H)}}):y[V]=W};x(y,R)||N(R,k),(M||!x(y,S)||y[S]===Object)&&N(S,B),B.prototype=y,r({global:!0,constructor:!0,forced:M},{Iterator:B})},46304:function(d,v,e){"use strict";var r=e(89945),i=e(2291),l=e(53776),c=e(32621),f=e(59893),o=e(46571).IteratorPrototype,h=f("dispose");c(o,h)||i(o,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),o=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=o(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),o=e(20547),h=e(46319),u=e(16697),a=o(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),o=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=o(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,o=e(20547),h=e(7157),u=e(16697),a=o(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,o,h){if(typeof f=="number")return new i(f,o,h,"number",0,1);if(typeof f=="bigint")return new i(f,o,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),o=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 o("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),o=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 _=o(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),o=e(16697);r({target:"Iterator",proto:!0,real:!0,forced:o},{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),o=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),k=e(42820),R=l.JSON,A=l.Number,I=l.SyntaxError,M=R&&R.parse,B=c("Object","keys"),N=Object.getOwnPropertyDescriptor,V=f("".charAt),W=f("".slice),H=f(/./.exec),te=f([].push),ie=/^\d$/,oe=/^[1-9]$/,J=/^(?:-|\d)$/,Q=/^[\t\n\r ]$/,K=0,se=1,ee=function(Ie,ke){Ie=p(Ie);var We=new $(Ie,0,""),je=We.parse(),Mt=je.value,yt=We.skip(Q,je.end);if(yt<Ie.length)throw new I('Unexpected extra character: "'+V(Ie,yt)+'" after the parsed data at: '+yt);return h(ke)?X({"":Mt},"",ke,je):Mt},X=function(Ie,ke,We,je){var Mt=Ie[ke],yt=je&&Mt===je.value,Pt=yt&&typeof je.source=="string"?{source:je.source}:{},tr,Vt,lr,Ke,Ct;if(u(Mt)){var jt=a(Mt),it=yt?je.nodes:jt?[]:{};if(jt)for(tr=it.length,lr=y(Mt),Ke=0;Ke<lr;Ke++)le(Mt,Ke,X(Mt,""+Ke,We,Ke<tr?it[Ke]:void 0));else for(Vt=B(Mt),lr=y(Vt),Ke=0;Ke<lr;Ke++)Ct=Vt[Ke],le(Mt,Ct,X(Mt,Ct,We,x(it,Ct)?it[Ct]:void 0))}return o(We,Ie,ke,Mt,Pt)},le=function(Ie,ke,We){if(i){var je=N(Ie,ke);if(je&&!je.configurable)return}We===void 0?delete Ie[ke]:_(Ie,ke,We)},z=function(Ie,ke,We,je){this.value=Ie,this.end=ke,this.source=We,this.nodes=je},$=function(Ie,ke){this.source=Ie,this.index=ke};$.prototype={fork:function(Ie){return new $(this.source,Ie)},parse:function(){var Ie=this.source,ke=this.skip(Q,this.index),We=this.fork(ke),je=V(Ie,ke);if(H(J,je))return We.number();switch(je){case"{":return We.object();case"[":return We.array();case'"':return We.string();case"t":return We.keyword(!0);case"f":return We.keyword(!1);case"n":return We.keyword(null)}throw new I('Unexpected character: "'+je+'" at: '+ke)},node:function(Ie,ke,We,je,Mt){return new z(ke,je,Ie?null:W(this.source,We,je),Mt)},object:function(){for(var Ie=this.source,ke=this.index+1,We=!1,je={},Mt={};ke<Ie.length;){if(ke=this.until(['"',"}"],ke),V(Ie,ke)==="}"&&!We){ke++;break}var yt=this.fork(ke).string(),Pt=yt.value;ke=yt.end,ke=this.until([":"],ke)+1,ke=this.skip(Q,ke),yt=this.fork(ke).parse(),_(Mt,Pt,yt),_(je,Pt,yt.value),ke=this.until([",","}"],yt.end);var tr=V(Ie,ke);if(tr===",")We=!0,ke++;else if(tr==="}"){ke++;break}}return this.node(se,je,this.index,ke,Mt)},array:function(){for(var Ie=this.source,ke=this.index+1,We=!1,je=[],Mt=[];ke<Ie.length;){if(ke=this.skip(Q,ke),V(Ie,ke)==="]"&&!We){ke++;break}var yt=this.fork(ke).parse();if(te(Mt,yt),te(je,yt.value),ke=this.until([",","]"],yt.end),V(Ie,ke)===",")We=!0,ke++;else if(V(Ie,ke)==="]"){ke++;break}}return this.node(se,je,this.index,ke,Mt)},string:function(){var Ie=this.index,ke=S(this.source,this.index+1);return this.node(K,ke.value,Ie,ke.end)},number:function(){var Ie=this.source,ke=this.index,We=ke;if(V(Ie,We)==="-"&&We++,V(Ie,We)==="0")We++;else if(H(oe,V(Ie,We)))We=this.skip(ie,++We);else throw new I("Failed to parse number at: "+We);if(V(Ie,We)==="."&&(We=this.skip(ie,++We)),V(Ie,We)==="e"||V(Ie,We)==="E"){We++,(V(Ie,We)==="+"||V(Ie,We)==="-")&&We++;var je=We;if(We=this.skip(ie,We),je===We)throw new I("Failed to parse number's exponent value at: "+We)}return this.node(K,A(W(Ie,ke,We)),ke,We)},keyword:function(Ie){var ke=""+Ie,We=this.index,je=We+ke.length;if(W(this.source,We,je)!==ke)throw new I("Failed to parse value at: "+We);return this.node(K,Ie,We,je)},skip:function(Ie,ke){for(var We=this.source;ke<We.length&&H(Ie,V(We,ke));ke++);return ke},until:function(Ie,ke){ke=this.skip(Q,ke);for(var We=V(this.source,ke),je=0;je<Ie.length;je++)if(Ie[je]===We)return ke;throw new I('Unexpected character: "'+We+'" at: '+ke)}};var ae=b(function(){var Ie="9007199254740993",ke;return M(Ie,function(We,je,Mt){ke=Mt.source}),ke!==Ie}),_e=k&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:ae},{parse:function(ke,We){return _e&&!h(We)?M(ke):ee(ke,We)}})},9196:function(d,v,e){"use strict";var r=e(94488),i=e(13247),l=e(82778),c=e(65911),f=e(89945),o=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,k=SyntaxError,R=c("JSON","parse"),A=c("JSON","stringify"),I=c("Object","create"),M=c("Object","freeze"),B=o("".charAt),N=o("".slice),V=o(/./.exec),W=o([].push),H=_(),te=H.length,ie="Unacceptable as raw JSON",oe=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(Q){var K=a(Q);if(K===""||V(oe,B(K,0))||V(oe,B(K,K.length-1)))throw new k(ie);var se=R(K);if(typeof se=="object"&&se!==null)throw new k(ie);var ee=I(null);return b(ee,{type:"RawJSON"}),x(ee,"rawJSON",K),i?M(ee):ee}}),A&&r({target:"JSON",stat:!0,arity:3,forced:!l},{stringify:function(Q,K,se){var ee=y(K),X=[],le=A(Q,function(We,je){var Mt=h(ee)?f(ee,this,S(We),je):je;return u(Mt)?H+(W(X,Mt.rawJSON)-1):Mt},se);if(typeof le!="string")return le;for(var z="",$=le.length,ae=0;ae<$;ae++){var _e=B(le,ae);if(_e==='"'){var Ie=p(le,++ae).end-1,ke=N(le,ae,Ie);z+=N(ke,0,te)===H?X[N(ke,te)]:'"'+ke+'"',ae=Ie}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),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},26259:function(d,v,e){"use strict";var r=e(94488),i=e(42683),l=e(2786),c=l.get,f=l.has,o=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),o(x,u,p)),p):(y=a.insert(u,x),o(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(o){var h=l(this),u=i(o,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),o=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 o;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(o){var h=l(this),u=i(o,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(o){var h=l(this),u=i(o,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(o){return c(l(this),function(h){if(i(h,o))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),o=e(2786).Map;r({target:"Map",stat:!0,forced:!0},{keyBy:function(u,a){var x=c(this)?this:o,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 o=l(i(this),function(h,u){if(h===f)return{key:u}},!0);return o&&o.key}})},83543:function(d,v,e){"use strict";var r=e(94488),i=e(80666),l=e(42683),c=e(2786),f=e(95037),o=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 o;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),o=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 o;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(o){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(o){var h=l(this),u=i(o,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,o=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?o(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,o,h){return i(h,l(o,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,o,h,u,a){return l(i(f,o,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,o){var h=l>>>0,u=c>>>0,a=f>>>0;return u+(o>>>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,o=+l,h=+c,u=o&f,a=h&f,x=o>>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,o){var h=l>>>0,u=c>>>0,a=f>>>0;return u-(o>>>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),o=e(94844),h="Seeded Random",u=h+" Generator",a='Math.seededPRNG() argument should have a "seed" field with a finite value.',x=o.set,p=o.getterFor(u),y=TypeError,_=c(function(S){x(this,{type:u,seed:S%2147483647})},h,function(){var S=p(this),k=S.seed=(S.seed*1103515245+12345)%2147483647;return f((k&1073741823)/1073741823,!1)});r({target:"Math",stat:!0,forced:!0},{seededPRNG:function(S){var k=i(S).seed;if(!l(k))throw new y(a);return new _(k)}})},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,o=+l,h=+c,u=o&f,a=h&f,x=o>>>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",o=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),k=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(A,I){var M=1;if(typeof A!="string")throw new u(c);if(!A.length)throw new h(c);if(y(A,0)==="-"&&(M=-1,A=S(A,1),!A.length))throw new h(c);var B=I===void 0?10:l(I);if(B<2||B>36)throw new o(f);if(!_(p,A))throw new h(c);var N=k(A,"."),V=a(N[0],B);if(N.length>1&&(V+=a(N[1],B)/x(B,N[1].length)),B===10&&b(V,B)!==A)throw new h(c);return M*V}})},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,o){return new i(c,f,o,"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),o=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),k=e(59893),R=e(94844),A=k("observable"),I="Observable",M="Subscription",B="SubscriptionObserver",N=R.getterFor,V=R.set,W=N(I),H=N(M),te=N(B),ie=function(se){this.observer=o(se),this.cleanup=void 0,this.subscriptionObserver=void 0};ie.prototype={type:M,clean:function(){var se=this.cleanup;if(se){this.cleanup=void 0;try{se()}catch(ee){S(ee)}}},close:function(){if(!l){var se=this.facade,ee=this.subscriptionObserver;se.closed=!0,ee&&(ee.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var oe=function(se,ee){var X=V(this,new ie(se)),le;l||(this.closed=!1);try{(le=p(se,"start"))&&i(le,se,this)}catch(_e){S(_e)}if(!X.isClosed()){var z=X.subscriptionObserver=new J(X);try{var $=ee(z),ae=$;a($)||(X.cleanup=u($.unsubscribe)?function(){ae.unsubscribe()}:f($))}catch(_e){z.error(_e);return}X.isClosed()&&X.clean()}};oe.prototype=_({},{unsubscribe:function(){var ee=H(this);ee.isClosed()||(ee.close(),ee.clean())}}),l&&b(oe.prototype,"closed",{configurable:!0,get:function(){return H(this).isClosed()}});var J=function(se){V(this,{type:B,subscriptionState:se}),l||(this.closed=!1)};J.prototype=_({},{next:function(ee){var X=te(this).subscriptionState;if(!X.isClosed()){var le=X.observer;try{var z=p(le,"next");z&&i(z,le,ee)}catch($){S($)}}},error:function(ee){var X=te(this).subscriptionState;if(!X.isClosed()){var le=X.observer;X.close();try{var z=p(le,"error");z?i(z,le,ee):S(ee)}catch($){S($)}X.clean()}},complete:function(){var ee=te(this).subscriptionState;if(!ee.isClosed()){var X=ee.observer;ee.close();try{var le=p(X,"complete");le&&i(le,X)}catch(z){S(z)}ee.clean()}}}),l&&b(J.prototype,"closed",{configurable:!0,get:function(){return te(this).subscriptionState.isClosed()}});var Q=function(ee){h(this,K),V(this,{type:I,subscriber:f(ee)})},K=Q.prototype;_(K,{subscribe:function(ee){var X=arguments.length;return new oe(u(ee)?{next:ee,error:X>1?arguments[1]:void 0,complete:X>2?arguments[2]:void 0}:x(ee)?ee:{},W(this).subscriber)}}),y(K,A,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:Q}),c(I)},14548:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(89945),c=e(80449),f=e(39812),o=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(R){return S.subscribe(R)})}var k=o(y);return new _(function(R){u(k,function(A,I){if(R.next(A),R.closed)return I()},{IS_ITERATOR:!0,INTERRUPTED:!0}),R.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 o=l(this)?this:i("Observable"),h=arguments.length,u=c(h),a=0;a<h;)u[a]=arguments[a++];return new o(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),o=l(c);return(o.error?f.reject:f.resolve)(o.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,o=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=o.get(a);return y.delete(x),!!y.size||o.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),o=e(65621),h=i(o),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 k=p(S,_);return k.length?b.length?h(u(b,k)):k: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,o=i.get,h=i.toKey,u=function(a,x,p){var y=f(a,x,p);if(y)return o(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,o=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:o(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),o=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":"")+o(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),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);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),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},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(o){return i(c,this,l(o))}})},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(o){var h=l(this),u=i(o,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),o=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 o;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(o){var h=l(this),u=i(o,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(o){return i(c,this,l(o))}})},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(o){return i(c,this,l(o))}})},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(o){return i(c,this,l(o))}})},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(o){return i(c,this,l(o))}})},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),o=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,_)}),o(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),o=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 o;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(o){var h=l(this),u=i(o,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(o){return i(c,this,l(o))}})},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(o){return i(c,this,l(o))}})},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),o=e(94844),h=e(13764),u=h.codeAt,a=h.charAt,x="String Iterator",p=o.set,y=o.getterFor(x),_=i(function(S){p(this,{type:x,string:S,index:0})},"String",function(){var S=y(this),k=S.string,R=S.index,A;return R>=k.length?l(void 0,!0):(A=a(k,R),S.index+=A.length,l({codePoint:u(A,0),position:R},!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),o=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),k=new y.WeakMap,R=y.get,A=y.has,I=y.set,M=Array,B=TypeError,N=Object.freeze||Object,V=Object.isFrozen,W=Math.min,H=c("".charAt),te=c("".slice),ie=c("".split),oe=c(/./.exec),J=/([\n\u2028\u2029]|\r\n?)/g,Q=RegExp("^["+S+"]*"),K=RegExp("[^"+S+"]"),se="Invalid tag",ee="Invalid opening line",X="Invalid closing line",le=function(ke){var We=ke.raw;if(r&&!V(We))throw new B("Raw template should be frozen");if(A(k,We))return R(k,We);var je=z(We),Mt=ae(je);return x(Mt,"raw",{value:N(je)}),N(Mt),I(k,We,Mt),Mt},z=function(ke){var We=h(ke),je=a(We),Mt=M(je),yt=M(je),Pt=0,tr,Vt,lr,Ke;if(!je)throw new B(se);for(;Pt<je;Pt++){var Ct=We[Pt];if(typeof Ct=="string")Mt[Pt]=ie(Ct,J);else throw new B(se)}for(Pt=0;Pt<je;Pt++){var jt=Pt+1===je;if(tr=Mt[Pt],Pt===0){if(tr.length===1||tr[0].length>0)throw new B(ee);tr[1]=""}if(jt){if(tr.length===1||oe(K,tr[tr.length-1]))throw new B(X);tr[tr.length-2]="",tr[tr.length-1]=""}for(var it=2;it<tr.length;it+=2){var xt=tr[it],pt=it+1===tr.length&&!jt,et=oe(Q,xt)[0];if(!pt&&et.length===xt.length){tr[it]="";continue}Vt=$(et,Vt)}}var Ze=Vt?Vt.length:0;for(Pt=0;Pt<je;Pt++){for(tr=Mt[Pt],lr=tr[0],Ke=1;Ke<tr.length;Ke+=2)lr+=tr[Ke]+te(tr[Ke+1],Ze);yt[Pt]=lr}return yt},$=function(ke,We){if(We===void 0||ke===We)return ke;for(var je=0,Mt=W(ke.length,We.length);je<Mt&&H(ke,je)===H(We,je);je++);return te(ke,0,je)},ae=function(ke){for(var We=0,je=ke.length,Mt=M(je);We<je;We++)Mt[We]=b(ke[We]);return Mt},_e=function(ke){return l(function(We){var je=p(arguments);return je[0]=le(o(We)),f(ke,this,je)},"")},Ie=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(We){return o(We),u(We)?_e(We):f(Ie,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),o=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),_=Error,b=function(R,A,I){var M=i(S,this),B;return c?B=c(new _,M?l(this):S):(B=M?this:o(S),h(B,y,"Error")),I!==void 0&&h(B,"message",x(I)),a(B,b,B.stack,1),h(B,"error",R),h(B,"suppressed",A),B};c?c(b,_):f(b,_,{name:!0});var S=b.prototype=o(_.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 o=c(f,"asyncDispose");o.enumerable&&o.configurable&&o.writable&&l(f,"asyncDispose",{value:o.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 o=c(f,"dispose");o.enumerable&&o.configurable&&o.writable&&l(f,"dispose",{value:o.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),o=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(o(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),o=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,k){var R=u(this),A=a(R),I=i(R),M=c(S,I),B=arguments.length,N=0,V,W,H,te,ie,oe,J;if(B===0)V=W=0;else if(B===1)V=0,W=I-M;else if(W=y(p(o(k),0),I-M),V=B-2,V){te=new A(V),H=l(te);for(var Q=2;Q<B;Q++)ie=arguments[Q],te[Q-2]=H?f(ie):+ie}for(oe=I+V-W,J=new A(oe);N<M;N++)J[N]=R[N];for(;N<M+V;N++)J[N]=te[N-M];for(;N<oe;N++)J[N]=R[N+W-V];return J},!_)},17230:function(d,v,e){"use strict";var r=e(94237),i=e(58261),l=e(69478),c=e(65621),f=i.aTypedArray,o=i.getTypedArrayConstructor,h=i.exportTypedArrayMethod,u=r(c);h("uniqueBy",function(x){return f(this),l(o(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),o=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),k=l("".slice),R=l([].push),A=/[\t\n\f\r ]/g,I="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function(B){f(B);var N=arguments.length>1?c(arguments[1]):void 0,V=a(N)==="base64"?x:p,W=N?!!N.strict:!1,H=W?B:S(B,A,"");if(H.length%4===0)k(H,-2)==="=="?H=k(H,0,-2):k(H,-1)==="="&&(H=k(H,0,-1));else if(W)throw new _("Input is not correctly padded");var te=H.length%4;switch(te){case 1:throw new _("Bad input length");case 2:H+="AA";break;case 3:H+="A"}for(var ie=[],oe=0,J=H.length,Q=function(ee){var X=b(H,oe+ee);if(!o(V,X))throw new _('Bad char in input: "'+X+'"');return V[X]<<18-6*ee};oe<J;oe+=4){var K=Q(0)+Q(1)+Q(2)+Q(3);R(ie,K>>16&255,K>>8&255,K&255)}var se=ie.length;if(te===2){if(W&&ie[se-2]!==0)throw new _(I);se-=2}else if(te===3){if(W&&ie[se-1]!==0)throw new _(I);se--}return h(y,ie,se)}})},57151:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(79606),f=i.Uint8Array,o=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 o("String should have an even number of characters");if(a(u,y))throw new o("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),o=e(66244),h=e(81750),u=o.i2c,a=o.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,k="",R=0,A=_.length,I,M=function(B){return p(S,I>>6*B&63)};R+2<A;R+=3)I=(_[R]<<16)+(_[R+1]<<8)+_[R+2],k+=M(3)+M(2)+M(1)+M(0);return R+2===A?(I=(_[R]<<16)+(_[R+1]<<8),k+=M(3)+M(2)+M(1)+"="):R+1===A&&(I=_[R]<<16,k+=M(3)+M(2)+"=="),k}})},18481:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(27270),f=i.Uint8Array,o=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=o(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),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},90965:function(d,v,e){"use strict";var r=e(94488),i=e(63619),l=e(42530),c=l.get,f=l.has,o=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),o(x,u,p)),p):(y=a.insert(u,x),o(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),o=0,h=arguments.length;o<h;o++)l(f,arguments[o]);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),o=!0,h,u=0,a=arguments.length;u<a;u++)h=l(f,arguments[u]),o=o&&h;return!!o}})},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),o=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),k=c("".replace),R=c(x.exec),A=!!_&&!o(function(){return _("aGk=")!=="hi"}),I=A&&o(function(){return _(" ")!==""}),M=A&&!o(function(){_("a")}),B=A&&!o(function(){_()}),N=A&&_.length!==1,V=!A||I||M||B||N;r({global:!0,bind:!0,enumerable:!0,forced:V},{atob:function(H){if(u(arguments.length,1),A&&!I&&!M)return f(_,i,H);var te=k(h(H),p,""),ie="",oe=0,J=0,Q,K,se;if(te.length%4===0&&(te=k(te,y,"")),Q=te.length,Q%4===1||R(x,te))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;oe<Q;)K=S(te,oe++),se=J%4?se*64+a[K]:a[K],J++%4&&(ie+=b(255&se>>(-2*J&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),o=e(3338),h=e(69905),u=e(57106),a=e(66244).i2c,x=l("btoa"),p=c("".charAt),y=c("".charCodeAt),_=!!x&&!o(function(){return x("hi")!=="aGk="}),b=_&&!o(function(){x()}),S=_&&o(function(){return x(null)!=="bnVsbA=="}),k=_&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!_||b||S||k},{btoa:function(A){if(u(arguments.length,1),_)return f(x,i,h(A));for(var I=h(A),M="",B=0,N=a,V,W;p(I,B)||(N="=",B%1);){if(W=y(I,B+=.75),W>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");V=V<<8|W,M+=p(N,63&V>>8-B%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),o=function(u){if(u&&u.forEach!==c)try{f(u,"forEach",c)}catch(a){u.forEach=c}};for(var h in i)i[h]&&o(r[h]&&r[h].prototype);o(l)},85425:function(d,v,e){"use strict";var r=e(92916),i=e(66749),l=e(9518),c=e(11005),f=e(68151),o=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(o(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),o=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),k=e(80739),R=e(94844),A=e(35454),I=e(16697),M="DOMException",B="DATA_CLONE_ERR",N=l("Error"),V=l(M)||function(){try{var yt=l("MessageChannel")||i("worker_threads").MessageChannel;new yt().port1.postMessage(new WeakMap)}catch(Pt){if(Pt.name===B&&Pt.code===25)return Pt.constructor}}(),W=V&&V.prototype,H=N.prototype,te=R.set,ie=R.getterFor(M),oe="stack"in new N(M),J=function(yt){return x(S,yt)&&S[yt].m?S[yt].c:0},Q=function(){p(this,K);var Pt=arguments.length,tr=b(Pt<1?void 0:arguments[0]),Vt=b(Pt<2?void 0:arguments[1],"Error"),lr=J(Vt);if(te(this,{type:M,name:Vt,message:tr,code:lr}),A||(this.name=Vt,this.message=tr,this.code=lr),oe){var Ke=new N(tr);Ke.name=M,h(this,"stack",o(1,k(Ke.stack,1)))}},K=Q.prototype=f(H),se=function(yt){return{enumerable:!0,configurable:!0,get:yt}},ee=function(yt){return se(function(){return ie(this)[yt]})};A&&(a(K,"code",ee("code")),a(K,"message",ee("message")),a(K,"name",ee("name"))),h(K,"constructor",o(1,Q));var X=c(function(){return!(new V instanceof N)}),le=X||c(function(){return H.toString!==_||String(new V(1,2))!=="2: 1"}),z=X||c(function(){return new V(1,"DataCloneError").code!==25}),$=X||V[B]!==25||W[B]!==25,ae=I?le||z||$:X;r({global:!0,constructor:!0,forced:ae},{DOMException:ae?Q:V});var _e=l(M),Ie=_e.prototype;le&&(I||V===_e)&&u(Ie,"toString",_),z&&A&&V===_e&&a(Ie,"code",se(function(){return J(y(this).name)}));for(var ke in S)if(x(S,ke)){var We=S[ke],je=We.s,Mt=o(6,We.c);x(_e,je)||h(_e,je,Mt),x(Ie,je)||h(Ie,je,Mt)}},41599:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(65911),c=e(35012),f=e(37691).f,o=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"),k=l(b),R=function(){h(this,A);var Q=arguments.length,K=a(Q<1?void 0:arguments[0]),se=a(Q<2?void 0:arguments[1],"Error"),ee=new k(K,se),X=new S(K);return X.name=b,f(ee,"stack",c(1,p(X.stack,1))),u(ee,this,R),ee},A=R.prototype=k.prototype,I="stack"in new S(b),M="stack"in new k(1,2),B=k&&y&&Object.getOwnPropertyDescriptor(i,b),N=!!B&&!(B.writable&&B.configurable),V=I&&!N&&!M;r({global:!0,constructor:!0,forced:_||V},{DOMException:V?R:k});var W=l(b),H=W.prototype;if(H.constructor!==W){_||f(H,"constructor",c(1,W));for(var te in x)if(o(x,te)){var ie=x[te],oe=ie.s;o(W,oe)||f(W,oe,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),o=e(90946),h=i.process;r({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(a){f(arguments.length,1),c(a);var x=o&&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,o=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");o(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),o=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),k=e(32621),R=e(69392),A=e(68151),I=e(82762),M=e(57106),B=e(81644),N=e(2786),V=e(19691),W=e(57002),H=e(39311),te=e(25406),ie=e(80426),oe=l.Object,J=l.Array,Q=l.Date,K=l.Error,se=l.TypeError,ee=l.PerformanceMark,X=c("DOMException"),le=N.Map,z=N.has,$=N.get,ae=N.set,_e=V.Set,Ie=V.add,ke=V.has,We=c("Object","keys"),je=f([].push),Mt=f((!0).valueOf),yt=f(1 .valueOf),Pt=f("".valueOf),tr=f(Q.prototype.getTime),Vt=h("structuredClone"),lr="DataCloneError",Ke="Transferring",Ct=function(De){return!o(function(){var Je=new l.Set([7]),Wt=De(Je),Ot=De(oe(7));return Wt===Je||!Wt.has(7)||!p(Ot)||+Ot!=7})&&De},jt=function(De,Je){return!o(function(){var Wt=new Je,Ot=De({a:Wt,b:Wt});return!(Ot&&Ot.a===Ot.b&&Ot.a instanceof Je&&Ot.a.stack===Wt.stack)})},it=function(De){return!o(function(){var Je=De(new l.AggregateError([1],Vt,{cause:3}));return Je.name!=="AggregateError"||Je.errors[0]!==1||Je.message!==Vt||Je.cause!==3})},xt=l.structuredClone,pt=r||!jt(xt,K)||!jt(xt,X)||!it(xt),et=!xt&&Ct(function(De){return new ee(Vt,{detail:De}).detail}),Ze=Ct(xt)||et,ge=function(De){throw new X("Uncloneable type: "+De,lr)},Ae=function(De,Je){throw new X((Je||"Cloning")+" of "+De+" cannot be properly polyfilled in this engine",lr)},Me=function(De,Je){return Ze||Ae(Je),Ze(De)},Ue=function(){var De;try{De=new l.DataTransfer}catch(Je){try{De=new l.ClipboardEvent("").clipboardData}catch(Wt){}}return De&&De.items&&De.files?De:null},Ge=function(De,Je,Wt){if(z(Je,De))return $(Je,De);var Ot=Wt||S(De),zt,Ft,At,Yt,Ye,ce;if(Ot==="SharedArrayBuffer")Ze?zt=Ze(De):zt=De;else{var pe=l.DataView;!pe&&!u(De.slice)&&Ae("ArrayBuffer");try{if(u(De.slice)&&!De.resizable)zt=De.slice(0);else for(Ft=De.byteLength,At=("maxByteLength"in De)?{maxByteLength:De.maxByteLength}:void 0,zt=new ArrayBuffer(Ft,At),Yt=new pe(De),Ye=new pe(zt),ce=0;ce<Ft;ce++)Ye.setUint8(ce,Yt.getUint8(ce))}catch(Dt){throw new X("ArrayBuffer is detached",lr)}}return ae(Je,De,zt),zt},nt=function(De,Je,Wt,Ot,zt){var Ft=l[Je];return p(Ft)||Ae(Je),new Ft(Ge(De.buffer,zt),Wt,Ot)},ut=function(De,Je){if(y(De)&&ge("Symbol"),!p(De))return De;if(Je){if(z(Je,De))return $(Je,De)}else Je=new le;var Wt=S(De),Ot,zt,Ft,At,Yt,Ye,ce,pe;switch(Wt){case"Array":Ft=J(I(De));break;case"Object":Ft={};break;case"Map":Ft=new le;break;case"Set":Ft=new _e;break;case"RegExp":Ft=new RegExp(De.source,B(De));break;case"Error":switch(zt=De.name,zt){case"AggregateError":Ft=new(c(zt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":Ft=new(c(zt));break;case"CompileError":case"LinkError":case"RuntimeError":Ft=new(c("WebAssembly",zt));break;default:Ft=new K}break;case"DOMException":Ft=new X(De.message,De.name);break;case"ArrayBuffer":case"SharedArrayBuffer":Ft=Ge(De,Je,Wt);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":Ye=Wt==="DataView"?De.byteLength:De.length,Ft=nt(De,Wt,De.byteOffset,Ye,Je);break;case"DOMQuad":try{Ft=new DOMQuad(ut(De.p1,Je),ut(De.p2,Je),ut(De.p3,Je),ut(De.p4,Je))}catch(Dt){Ft=Me(De,Wt)}break;case"File":if(Ze)try{Ft=Ze(De),S(Ft)!==Wt&&(Ft=void 0)}catch(Dt){}if(!Ft)try{Ft=new File([De],De.name,De)}catch(Dt){}Ft||Ae(Wt);break;case"FileList":if(At=Ue(),At){for(Yt=0,Ye=I(De);Yt<Ye;Yt++)At.items.add(ut(De[Yt],Je));Ft=At.files}else Ft=Me(De,Wt);break;case"ImageData":try{Ft=new ImageData(ut(De.data,Je),De.width,De.height,{colorSpace:De.colorSpace})}catch(Dt){Ft=Me(De,Wt)}break;default:if(Ze)Ft=Ze(De);else switch(Wt){case"BigInt":Ft=oe(De.valueOf());break;case"Boolean":Ft=oe(Mt(De));break;case"Number":Ft=oe(yt(De));break;case"String":Ft=oe(Pt(De));break;case"Date":Ft=new Q(tr(De));break;case"Blob":try{Ft=De.slice(0,De.size,De.type)}catch(Dt){Ae(Wt)}break;case"DOMPoint":case"DOMPointReadOnly":Ot=l[Wt];try{Ft=Ot.fromPoint?Ot.fromPoint(De):new Ot(De.x,De.y,De.z,De.w)}catch(Dt){Ae(Wt)}break;case"DOMRect":case"DOMRectReadOnly":Ot=l[Wt];try{Ft=Ot.fromRect?Ot.fromRect(De):new Ot(De.x,De.y,De.width,De.height)}catch(Dt){Ae(Wt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":Ot=l[Wt];try{Ft=Ot.fromMatrix?Ot.fromMatrix(De):new Ot(De)}catch(Dt){Ae(Wt)}break;case"AudioData":case"VideoFrame":u(De.clone)||Ae(Wt);try{Ft=De.clone()}catch(Dt){ge(Wt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Ae(Wt);default:ge(Wt)}}switch(ae(Je,De,Ft),Wt){case"Array":case"Object":for(ce=We(De),Yt=0,Ye=I(ce);Yt<Ye;Yt++)pe=ce[Yt],R(Ft,pe,ut(De[pe],Je));break;case"Map":De.forEach(function(Dt,Ce){ae(Ft,ut(Ce,Je),ut(Dt,Je))});break;case"Set":De.forEach(function(Dt){Ie(Ft,ut(Dt,Je))});break;case"Error":A(Ft,"message",ut(De.message,Je)),k(De,"cause")&&A(Ft,"cause",ut(De.cause,Je)),zt==="AggregateError"?Ft.errors=ut(De.errors,Je):zt==="SuppressedError"&&(Ft.error=ut(De.error,Je),Ft.suppressed=ut(De.suppressed,Je));case"DOMException":te&&A(Ft,"stack",ut(De.stack,Je))}return Ft},Kt=function(De,Je){if(!p(De))throw new se("Transfer option cannot be converted to a sequence");var Wt=[];_(De,function(Ce){je(Wt,b(Ce))});for(var Ot=0,zt=I(Wt),Ft=new _e,At,Yt,Ye,ce,pe,Dt;Ot<zt;){if(At=Wt[Ot++],Yt=S(At),Yt==="ArrayBuffer"?ke(Ft,At):z(Je,At))throw new X("Duplicate transferable",lr);if(Yt==="ArrayBuffer"){Ie(Ft,At);continue}if(ie)ce=xt(At,{transfer:[At]});else switch(Yt){case"ImageBitmap":Ye=l.OffscreenCanvas,a(Ye)||Ae(Yt,Ke);try{pe=new Ye(At.width,At.height),Dt=pe.getContext("bitmaprenderer"),Dt.transferFromImageBitmap(At),ce=pe.transferToImageBitmap()}catch(Ce){}break;case"AudioData":case"VideoFrame":(!u(At.clone)||!u(At.close))&&Ae(Yt,Ke);try{ce=At.clone(),At.close()}catch(Ce){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Ae(Yt,Ke)}if(ce===void 0)throw new X("This object cannot be transferred: "+Yt,lr);ae(Je,At,ce)}return Ft},Zt=function(De){W(De,function(Je){ie?Ze(Je,{transfer:[Je]}):u(Je.transfer)?Je.transfer():H?H(Je):Ae("ArrayBuffer",Ke)})};i({global:!0,enumerable:!0,sham:!ie,forced:pt},{structuredClone:function(Je){var Wt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,Ot=Wt?Wt.transfer:void 0,zt,Ft;Ot!==void 0&&(zt=new le,Ft=Kt(Ot,zt));var At=ut(Je,zt);return Ft&&Zt(Ft),At}})},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),o=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),k=e(80666),R=e(97607),A=e(80449),I=e(31946),M=e(69905),B=e(20132),N=e(35012),V=e(85428),W=e(26006),H=e(25587),te=e(57106),ie=e(59893),oe=e(63668),J=ie("iterator"),Q="URLSearchParams",K=Q+"Iterator",se=y.set,ee=y.getterFor(Q),X=y.getterFor(K),le=Object.getOwnPropertyDescriptor,z=function(zt){if(!f)return i[zt];var Ft=le(i,zt);return Ft&&Ft.value},$=z("fetch"),ae=z("Request"),_e=z("Headers"),Ie=ae&&ae.prototype,ke=_e&&_e.prototype,We=i.RegExp,je=i.TypeError,Mt=i.decodeURIComponent,yt=i.encodeURIComponent,Pt=c("".charAt),tr=c([].join),Vt=c([].push),lr=c("".replace),Ke=c([].shift),Ct=c([].splice),jt=c("".split),it=c("".slice),xt=/\+/g,pt=Array(4),et=function(zt){return pt[zt-1]||(pt[zt-1]=We("((?:%[\\da-f]{2}){"+zt+"})","gi"))},Ze=function(zt){try{return Mt(zt)}catch(Ft){return zt}},ge=function(zt){var Ft=lr(zt,xt," "),At=4;try{return Mt(Ft)}catch(Yt){for(;At;)Ft=lr(Ft,et(At--),Ze);return Ft}},Ae=/[!'()~]|%20/g,Me={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},Ue=function(zt){return Me[zt]},Ge=function(zt){return lr(yt(zt),Ae,Ue)},nt=p(function(Ft,At){se(this,{type:K,target:ee(Ft).entries,index:0,kind:At})},Q,function(){var Ft=X(this),At=Ft.target,Yt=Ft.index++;if(!At||Yt>=At.length)return Ft.target=void 0,H(void 0,!0);var Ye=At[Yt];switch(Ft.kind){case"keys":return H(Ye.key,!1);case"values":return H(Ye.value,!1)}return H([Ye.key,Ye.value],!1)},!0),ut=function(zt){this.entries=[],this.url=null,zt!==void 0&&(I(zt)?this.parseObject(zt):this.parseQuery(typeof zt=="string"?Pt(zt,0)==="?"?it(zt,1):zt:M(zt)))};ut.prototype={type:Q,bindURL:function(zt){this.url=zt,this.update()},parseObject:function(zt){var Ft=this.entries,At=W(zt),Yt,Ye,ce,pe,Dt,Ce,ft;if(At)for(Yt=V(zt,At),Ye=Yt.next;!(ce=l(Ye,Yt)).done;){if(pe=V(A(ce.value)),Dt=pe.next,(Ce=l(Dt,pe)).done||(ft=l(Dt,pe)).done||!l(Dt,pe).done)throw new je("Expected sequence with length 2");Vt(Ft,{key:M(Ce.value),value:M(ft.value)})}else for(var Ut in zt)S(zt,Ut)&&Vt(Ft,{key:Ut,value:M(zt[Ut])})},parseQuery:function(zt){if(zt)for(var Ft=this.entries,At=jt(zt,"&"),Yt=0,Ye,ce;Yt<At.length;)Ye=At[Yt++],Ye.length&&(ce=jt(Ye,"="),Vt(Ft,{key:ge(Ke(ce)),value:ge(tr(ce,"="))}))},serialize:function(){for(var zt=this.entries,Ft=[],At=0,Yt;At<zt.length;)Yt=zt[At++],Vt(Ft,Ge(Yt.key)+"="+Ge(Yt.value));return tr(Ft,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Kt=function(){_(this,Zt);var Ft=arguments.length>0?arguments[0]:void 0,At=se(this,new ut(Ft));f||(this.size=At.entries.length)},Zt=Kt.prototype;if(a(Zt,{append:function(Ft,At){var Yt=ee(this);te(arguments.length,2),Vt(Yt.entries,{key:M(Ft),value:M(At)}),f||this.length++,Yt.updateURL()},delete:function(zt){for(var Ft=ee(this),At=te(arguments.length,1),Yt=Ft.entries,Ye=M(zt),ce=At<2?void 0:arguments[1],pe=ce===void 0?ce:M(ce),Dt=0;Dt<Yt.length;){var Ce=Yt[Dt];if(Ce.key===Ye&&(pe===void 0||Ce.value===pe)){if(Ct(Yt,Dt,1),pe!==void 0)break}else Dt++}f||(this.size=Yt.length),Ft.updateURL()},get:function(Ft){var At=ee(this).entries;te(arguments.length,1);for(var Yt=M(Ft),Ye=0;Ye<At.length;Ye++)if(At[Ye].key===Yt)return At[Ye].value;return null},getAll:function(Ft){var At=ee(this).entries;te(arguments.length,1);for(var Yt=M(Ft),Ye=[],ce=0;ce<At.length;ce++)At[ce].key===Yt&&Vt(Ye,At[ce].value);return Ye},has:function(Ft){for(var At=ee(this).entries,Yt=te(arguments.length,1),Ye=M(Ft),ce=Yt<2?void 0:arguments[1],pe=ce===void 0?ce:M(ce),Dt=0;Dt<At.length;){var Ce=At[Dt++];if(Ce.key===Ye&&(pe===void 0||Ce.value===pe))return!0}return!1},set:function(Ft,At){var Yt=ee(this);te(arguments.length,1);for(var Ye=Yt.entries,ce=!1,pe=M(Ft),Dt=M(At),Ce=0,ft;Ce<Ye.length;Ce++)ft=Ye[Ce],ft.key===pe&&(ce?Ct(Ye,Ce--,1):(ce=!0,ft.value=Dt));ce||Vt(Ye,{key:pe,value:Dt}),f||(this.size=Ye.length),Yt.updateURL()},sort:function(){var Ft=ee(this);oe(Ft.entries,function(At,Yt){return At.key>Yt.key?1:-1}),Ft.updateURL()},forEach:function(Ft){for(var At=ee(this).entries,Yt=k(Ft,arguments.length>1?arguments[1]:void 0),Ye=0,ce;Ye<At.length;)ce=At[Ye++],Yt(ce.value,ce.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(Zt,J,Zt.entries,{name:"entries"}),h(Zt,"toString",function(){return ee(this).serialize()},{enumerable:!0}),f&&u(Zt,"size",{get:function(){return ee(this).entries.length},configurable:!0,enumerable:!0}),x(Kt,Q),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:Kt}),!o&&b(_e)){var De=c(ke.has),Je=c(ke.set),Wt=function(zt){if(I(zt)){var Ft=zt.body,At;if(R(Ft)===Q)return At=zt.headers?new _e(zt.headers):new _e,De(At,"content-type")||Je(At,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),B(zt,{body:N(0,M(Ft)),headers:N(0,At)})}return zt};if(b($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Ft){return $(Ft,arguments.length>1?Wt(arguments[1]):{})}}),b(ae)){var Ot=function(Ft){return _(this,Ie),new ae(Ft,arguments.length>1?Wt(arguments[1]):{})};Ie.constructor=Ot,Ot.prototype=Ie,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Ot})}}d.exports={URLSearchParams:Kt,getState:ee}},4890:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.append),u=i(o.delete),a=i(o.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(o,"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(V,W){x(S,{key:W,value:V})}),c(_,1);for(var k=l(y),R=l(b),A=0,I=0,M=!1,B=S.length,N;A<B;)N=S[A++],M||N.key===k?(M=!0,u(this,N.key)):I++;for(;I<B;)N=S[I++],N.key===k&&N.value===R||h(this,N.key,N.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,o=f.prototype,h=i(o.getAll),u=i(o.has),a=new f("a=1");(a.has("a",2)||!a.has("a",void 0))&&r(o,"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(_),k=0;k<b.length;)if(b[k++]===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),o=e(3299),h=i("URL"),u=o&&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),o=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),k=e(69905),R=e(94573),A=e(57106),I=e(91340),M=e(94844),B=M.set,N=M.getterFor("URL"),V=I.URLSearchParams,W=I.getState,H=c.URL,te=c.TypeError,ie=c.parseInt,oe=Math.floor,J=Math.pow,Q=o("".charAt),K=o(/./.exec),se=o([].join),ee=o(1 .toString),X=o([].pop),le=o([].push),z=o("".replace),$=o([].shift),ae=o("".split),_e=o("".slice),Ie=o("".toLowerCase),ke=o([].unshift),We="Invalid authority",je="Invalid scheme",Mt="Invalid host",yt="Invalid port",Pt=/[a-z]/i,tr=/[\d+-.a-z]/i,Vt=/\d/,lr=/^0x/i,Ke=/^[0-7]+$/,Ct=/^\d+$/,jt=/^[\da-f]+$/i,it=/[\0\t\n\r #%/:<>?@[\\\]^|]/,xt=/[\0\t\n\r #/:<>?@[\\\]^|]/,pt=/^[\u0000-\u0020]+/,et=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ze=/[\t\n\r]/g,ge,Ae=function(or){var kt=ae(or,"."),mt,gt,Nt,Ar,vr,at,Nr;if(kt.length&&kt[kt.length-1]===""&&kt.length--,mt=kt.length,mt>4)return or;for(gt=[],Nt=0;Nt<mt;Nt++){if(Ar=kt[Nt],Ar==="")return or;if(vr=10,Ar.length>1&&Q(Ar,0)==="0"&&(vr=K(lr,Ar)?16:8,Ar=_e(Ar,vr===8?1:2)),Ar==="")at=0;else{if(!K(vr===10?Ct:vr===8?Ke:jt,Ar))return or;at=ie(Ar,vr)}le(gt,at)}for(Nt=0;Nt<mt;Nt++)if(at=gt[Nt],Nt===mt-1){if(at>=J(256,5-mt))return null}else if(at>255)return null;for(Nr=X(gt),Nt=0;Nt<gt.length;Nt++)Nr+=gt[Nt]*J(256,3-Nt);return Nr},Me=function(or){var kt=[0,0,0,0,0,0,0,0],mt=0,gt=null,Nt=0,Ar,vr,at,Nr,bn,Yn,mr,rn=function(){return Q(or,Nt)};if(rn()===":"){if(Q(or,1)!==":")return;Nt+=2,mt++,gt=mt}for(;rn();){if(mt===8)return;if(rn()===":"){if(gt!==null)return;Nt++,mt++,gt=mt;continue}for(Ar=vr=0;vr<4&&K(jt,rn());)Ar=Ar*16+ie(rn(),16),Nt++,vr++;if(rn()==="."){if(vr===0||(Nt-=vr,mt>6))return;for(at=0;rn();){if(Nr=null,at>0)if(rn()==="."&&at<4)Nt++;else return;if(!K(Vt,rn()))return;for(;K(Vt,rn());){if(bn=ie(rn(),10),Nr===null)Nr=bn;else{if(Nr===0)return;Nr=Nr*10+bn}if(Nr>255)return;Nt++}kt[mt]=kt[mt]*256+Nr,at++,(at===2||at===4)&&mt++}if(at!==4)return;break}else if(rn()===":"){if(Nt++,!rn())return}else if(rn())return;kt[mt++]=Ar}if(gt!==null)for(Yn=mt-gt,mt=7;mt!==0&&Yn>0;)mr=kt[mt],kt[mt--]=kt[gt+Yn-1],kt[gt+--Yn]=mr;else if(mt!==8)return;return kt},Ue=function(or){for(var kt=null,mt=1,gt=null,Nt=0,Ar=0;Ar<8;Ar++)or[Ar]!==0?(Nt>mt&&(kt=gt,mt=Nt),gt=null,Nt=0):(gt===null&&(gt=Ar),++Nt);return Nt>mt&&(kt=gt,mt=Nt),kt},Ge=function(or){var kt,mt,gt,Nt;if(typeof or=="number"){for(kt=[],mt=0;mt<4;mt++)ke(kt,or%256),or=oe(or/256);return se(kt,".")}else if(typeof or=="object"){for(kt="",gt=Ue(or),mt=0;mt<8;mt++)Nt&&or[mt]===0||(Nt&&(Nt=!1),gt===mt?(kt+=mt?":":"::",Nt=!0):(kt+=ee(or[mt],16),mt<7&&(kt+=":")));return"["+kt+"]"}return or},nt={},ut=p({},nt,{" ":1,'"':1,"<":1,">":1,"`":1}),Kt=p({},ut,{"#":1,"?":1,"{":1,"}":1}),Zt=p({},Kt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),De=function(or,kt){var mt=b(or,0);return mt>32&&mt<127&&!x(kt,or)?or:encodeURIComponent(or)},Je={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Wt=function(or,kt){var mt;return or.length===2&&K(Pt,Q(or,0))&&((mt=Q(or,1))===":"||!kt&&mt==="|")},Ot=function(or){var kt;return or.length>1&&Wt(_e(or,0,2))&&(or.length===2||(kt=Q(or,2))==="/"||kt==="\\"||kt==="?"||kt==="#")},zt=function(or){return or==="."||Ie(or)==="%2e"},Ft=function(or){return or=Ie(or),or===".."||or==="%2e."||or===".%2e"||or==="%2e%2e"},At={},Yt={},Ye={},ce={},pe={},Dt={},Ce={},ft={},Ut={},St={},Oe={},wt={},ye={},Xe={},vt={},Rt={},Ne={},Dr={},Et={},Yr={},Jr={},Er=function(or,kt,mt){var gt=k(or),Nt,Ar,vr;if(kt){if(Ar=this.parse(gt),Ar)throw new te(Ar);this.searchParams=null}else{if(mt!==void 0&&(Nt=new Er(mt,!0)),Ar=this.parse(gt,null,Nt),Ar)throw new te(Ar);vr=W(new V),vr.bindURL(this),this.searchParams=vr}};Er.prototype={type:"URL",parse:function(or,kt,mt){var gt=this,Nt=kt||At,Ar=0,vr="",at=!1,Nr=!1,bn=!1,Yn,mr,rn,gn;for(or=k(or),kt||(gt.scheme="",gt.username="",gt.password="",gt.host=null,gt.port=null,gt.path=[],gt.query=null,gt.fragment=null,gt.cannotBeABaseURL=!1,or=z(or,pt,""),or=z(or,et,"$1")),or=z(or,Ze,""),Yn=y(or);Ar<=Yn.length;){switch(mr=Yn[Ar],Nt){case At:if(mr&&K(Pt,mr))vr+=Ie(mr),Nt=Yt;else{if(kt)return je;Nt=Ye;continue}break;case Yt:if(mr&&(K(tr,mr)||mr==="+"||mr==="-"||mr==="."))vr+=Ie(mr);else if(mr===":"){if(kt&&(gt.isSpecial()!==x(Je,vr)||vr==="file"&&(gt.includesCredentials()||gt.port!==null)||gt.scheme==="file"&&!gt.host))return;if(gt.scheme=vr,kt){gt.isSpecial()&&Je[gt.scheme]===gt.port&&(gt.port=null);return}vr="",gt.scheme==="file"?Nt=Xe:gt.isSpecial()&&mt&&mt.scheme===gt.scheme?Nt=ce:gt.isSpecial()?Nt=ft:Yn[Ar+1]==="/"?(Nt=pe,Ar++):(gt.cannotBeABaseURL=!0,le(gt.path,""),Nt=Et)}else{if(kt)return je;vr="",Nt=Ye,Ar=0;continue}break;case Ye:if(!mt||mt.cannotBeABaseURL&&mr!=="#")return je;if(mt.cannotBeABaseURL&&mr==="#"){gt.scheme=mt.scheme,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",gt.cannotBeABaseURL=!0,Nt=Jr;break}Nt=mt.scheme==="file"?Xe:Dt;continue;case ce:if(mr==="/"&&Yn[Ar+1]==="/")Nt=Ut,Ar++;else{Nt=Dt;continue}break;case pe:if(mr==="/"){Nt=St;break}else{Nt=Dr;continue}case Dt:if(gt.scheme=mt.scheme,mr===ge)gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query=mt.query;else if(mr==="/"||mr==="\\"&>.isSpecial())Nt=Ce;else if(mr==="?")gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query="",Nt=Yr;else if(mr==="#")gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",Nt=Jr;else{gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,gt.path=_(mt.path),gt.path.length--,Nt=Dr;continue}break;case Ce:if(gt.isSpecial()&&(mr==="/"||mr==="\\"))Nt=Ut;else if(mr==="/")Nt=St;else{gt.username=mt.username,gt.password=mt.password,gt.host=mt.host,gt.port=mt.port,Nt=Dr;continue}break;case ft:if(Nt=Ut,mr!=="/"||Q(vr,Ar+1)!=="/")continue;Ar++;break;case Ut:if(mr!=="/"&&mr!=="\\"){Nt=St;continue}break;case St:if(mr==="@"){at&&(vr="%40"+vr),at=!0,rn=y(vr);for(var Mn=0;Mn<rn.length;Mn++){var ai=rn[Mn];if(ai===":"&&!bn){bn=!0;continue}var hi=De(ai,Zt);bn?gt.password+=hi:gt.username+=hi}vr=""}else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&>.isSpecial()){if(at&&vr==="")return We;Ar-=y(vr).length+1,vr="",Nt=Oe}else vr+=mr;break;case Oe:case wt:if(kt&>.scheme==="file"){Nt=Rt;continue}else if(mr===":"&&!Nr){if(vr==="")return Mt;if(gn=gt.parseHost(vr),gn)return gn;if(vr="",Nt=ye,kt===wt)return}else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&>.isSpecial()){if(gt.isSpecial()&&vr==="")return Mt;if(kt&&vr===""&&(gt.includesCredentials()||gt.port!==null))return;if(gn=gt.parseHost(vr),gn)return gn;if(vr="",Nt=Ne,kt)return;continue}else mr==="["?Nr=!0:mr==="]"&&(Nr=!1),vr+=mr;break;case ye:if(K(Vt,mr))vr+=mr;else if(mr===ge||mr==="/"||mr==="?"||mr==="#"||mr==="\\"&>.isSpecial()||kt){if(vr!==""){var Vi=ie(vr,10);if(Vi>65535)return yt;gt.port=gt.isSpecial()&&Vi===Je[gt.scheme]?null:Vi,vr=""}if(kt)return;Nt=Ne;continue}else return yt;break;case Xe:if(gt.scheme="file",mr==="/"||mr==="\\")Nt=vt;else if(mt&&mt.scheme==="file")switch(mr){case ge:gt.host=mt.host,gt.path=_(mt.path),gt.query=mt.query;break;case"?":gt.host=mt.host,gt.path=_(mt.path),gt.query="",Nt=Yr;break;case"#":gt.host=mt.host,gt.path=_(mt.path),gt.query=mt.query,gt.fragment="",Nt=Jr;break;default:Ot(se(_(Yn,Ar),""))||(gt.host=mt.host,gt.path=_(mt.path),gt.shortenPath()),Nt=Dr;continue}else{Nt=Dr;continue}break;case vt:if(mr==="/"||mr==="\\"){Nt=Rt;break}mt&&mt.scheme==="file"&&!Ot(se(_(Yn,Ar),""))&&(Wt(mt.path[0],!0)?le(gt.path,mt.path[0]):gt.host=mt.host),Nt=Dr;continue;case Rt:if(mr===ge||mr==="/"||mr==="\\"||mr==="?"||mr==="#"){if(!kt&&Wt(vr))Nt=Dr;else if(vr===""){if(gt.host="",kt)return;Nt=Ne}else{if(gn=gt.parseHost(vr),gn)return gn;if(gt.host==="localhost"&&(gt.host=""),kt)return;vr="",Nt=Ne}continue}else vr+=mr;break;case Ne:if(gt.isSpecial()){if(Nt=Dr,mr!=="/"&&mr!=="\\")continue}else if(!kt&&mr==="?")gt.query="",Nt=Yr;else if(!kt&&mr==="#")gt.fragment="",Nt=Jr;else if(mr!==ge&&(Nt=Dr,mr!=="/"))continue;break;case Dr:if(mr===ge||mr==="/"||mr==="\\"&>.isSpecial()||!kt&&(mr==="?"||mr==="#")){if(Ft(vr)?(gt.shortenPath(),mr!=="/"&&!(mr==="\\"&>.isSpecial())&&le(gt.path,"")):zt(vr)?mr!=="/"&&!(mr==="\\"&>.isSpecial())&&le(gt.path,""):(gt.scheme==="file"&&!gt.path.length&&Wt(vr)&&(gt.host&&(gt.host=""),vr=Q(vr,0)+":"),le(gt.path,vr)),vr="",gt.scheme==="file"&&(mr===ge||mr==="?"||mr==="#"))for(;gt.path.length>1&>.path[0]==="";)$(gt.path);mr==="?"?(gt.query="",Nt=Yr):mr==="#"&&(gt.fragment="",Nt=Jr)}else vr+=De(mr,Kt);break;case Et:mr==="?"?(gt.query="",Nt=Yr):mr==="#"?(gt.fragment="",Nt=Jr):mr!==ge&&(gt.path[0]+=De(mr,nt));break;case Yr:!kt&&mr==="#"?(gt.fragment="",Nt=Jr):mr!==ge&&(mr==="'"&>.isSpecial()?gt.query+="%27":mr==="#"?gt.query+="%23":gt.query+=De(mr,nt));break;case Jr:mr!==ge&&(gt.fragment+=De(mr,ut));break}Ar++}},parseHost:function(or){var kt,mt,gt;if(Q(or,0)==="["){if(Q(or,or.length-1)!=="]"||(kt=Me(_e(or,1,-1)),!kt))return Mt;this.host=kt}else if(this.isSpecial()){if(or=S(or),K(it,or)||(kt=Ae(or),kt===null))return Mt;this.host=kt}else{if(K(xt,or))return Mt;for(kt="",mt=y(or),gt=0;gt<mt.length;gt++)kt+=De(mt[gt],nt);this.host=kt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(Je,this.scheme)},shortenPath:function(){var or=this.path,kt=or.length;kt&&(this.scheme!=="file"||kt!==1||!Wt(or[0],!0))&&or.length--},serialize:function(){var or=this,kt=or.scheme,mt=or.username,gt=or.password,Nt=or.host,Ar=or.port,vr=or.path,at=or.query,Nr=or.fragment,bn=kt+":";return Nt!==null?(bn+="//",or.includesCredentials()&&(bn+=mt+(gt?":"+gt:"")+"@"),bn+=Ge(Nt),Ar!==null&&(bn+=":"+Ar)):kt==="file"&&(bn+="//"),bn+=or.cannotBeABaseURL?vr[0]:vr.length?"/"+se(vr,"/"):"",at!==null&&(bn+="?"+at),Nr!==null&&(bn+="#"+Nr),bn},setHref:function(or){var kt=this.parse(or);if(kt)throw new te(kt);this.searchParams.update()},getOrigin:function(){var or=this.scheme,kt=this.port;if(or==="blob")try{return new $r(or.path[0]).origin}catch(mt){return"null"}return or==="file"||!this.isSpecial()?"null":or+"://"+Ge(this.host)+(kt!==null?":"+kt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(or){this.parse(k(or)+":",At)},getUsername:function(){return this.username},setUsername:function(or){var kt=y(k(or));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var mt=0;mt<kt.length;mt++)this.username+=De(kt[mt],Zt)}},getPassword:function(){return this.password},setPassword:function(or){var kt=y(k(or));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var mt=0;mt<kt.length;mt++)this.password+=De(kt[mt],Zt)}},getHost:function(){var or=this.host,kt=this.port;return or===null?"":kt===null?Ge(or):Ge(or)+":"+kt},setHost:function(or){this.cannotBeABaseURL||this.parse(or,Oe)},getHostname:function(){var or=this.host;return or===null?"":Ge(or)},setHostname:function(or){this.cannotBeABaseURL||this.parse(or,wt)},getPort:function(){var or=this.port;return or===null?"":k(or)},setPort:function(or){this.cannotHaveUsernamePasswordPort()||(or=k(or),or===""?this.port=null:this.parse(or,ye))},getPathname:function(){var or=this.path;return this.cannotBeABaseURL?or[0]:or.length?"/"+se(or,"/"):""},setPathname:function(or){this.cannotBeABaseURL||(this.path=[],this.parse(or,Ne))},getSearch:function(){var or=this.query;return or?"?"+or:""},setSearch:function(or){or=k(or),or===""?this.query=null:(Q(or,0)==="?"&&(or=_e(or,1)),this.query="",this.parse(or,Yr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var or=this.fragment;return or?"#"+or:""},setHash:function(or){if(or=k(or),or===""){this.fragment=null;return}Q(or,0)==="#"&&(or=_e(or,1)),this.fragment="",this.parse(or,Jr)},update:function(){this.query=this.searchParams.serialize()||null}};var $r=function(kt){var mt=a(this,_r),gt=A(arguments.length,1)>1?arguments[1]:void 0,Nt=B(mt,new Er(kt,!1,gt));i||(mt.href=Nt.serialize(),mt.origin=Nt.getOrigin(),mt.protocol=Nt.getProtocol(),mt.username=Nt.getUsername(),mt.password=Nt.getPassword(),mt.host=Nt.getHost(),mt.hostname=Nt.getHostname(),mt.port=Nt.getPort(),mt.pathname=Nt.getPathname(),mt.search=Nt.getSearch(),mt.searchParams=Nt.getSearchParams(),mt.hash=Nt.getHash())},_r=$r.prototype,Hr=function(or,kt){return{get:function(){return N(this)[or]()},set:kt&&function(mt){return N(this)[kt](mt)},configurable:!0,enumerable:!0}};if(i&&(u(_r,"href",Hr("serialize","setHref")),u(_r,"origin",Hr("getOrigin")),u(_r,"protocol",Hr("getProtocol","setProtocol")),u(_r,"username",Hr("getUsername","setUsername")),u(_r,"password",Hr("getPassword","setPassword")),u(_r,"host",Hr("getHost","setHost")),u(_r,"hostname",Hr("getHostname","setHostname")),u(_r,"port",Hr("getPort","setPort")),u(_r,"pathname",Hr("getPathname","setPathname")),u(_r,"search",Hr("getSearch","setSearch")),u(_r,"searchParams",Hr("getSearchParams")),u(_r,"hash",Hr("getHash","setHash"))),h(_r,"toJSON",function(){return N(this).serialize()},{enumerable:!0}),h(_r,"toString",function(){return N(this).serialize()},{enumerable:!0}),H){var on=H.createObjectURL,pn=H.revokeObjectURL;on&&h($r,"createObjectURL",f(on,H)),pn&&h($r,"revokeObjectURL",f(pn,H))}R($r,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:$r})},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 o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,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={},o=Object.keys(l),h,u;for(u=0;u<o.length;u++)h=o[u],!(c.indexOf(h)>=0)&&(f[h]=l[h]);return f}function i(l,c){if(l==null)return{};var f=r(l,c),o,h;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(h=0;h<u.length;h++)o=u[h],!(c.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(l,o)&&(f[o]=l[o])}return f}},87296:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(73825);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(o)).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(k){S=!0,x=k}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(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,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 o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.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,o=new Array(c);f<c;f++)o[f]=l[f];return o}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)}}},97047: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}},42028:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},31226: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}},3202:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c,f,o,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(o,h)}function i(l){return function(){var c=this,f=arguments;return new Promise(function(o,h){var u=l.apply(c,f);function a(p){r(u,o,h,a,x,"next",p)}function x(p){r(u,o,h,a,x,"throw",p)}a(void 0)})}}},67732: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")}},83652:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(88058);function i(c,f){for(var o=0;o<f.length;o++){var h=f[o];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,o){return f&&i(c.prototype,f),o&&i(c,o),Object.defineProperty(c,"prototype",{writable:!1}),c}},158:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(58289),i=e(75538),l=e(85458);function c(f){var o=(0,i.Z)();return function(){var h,u=(0,r.Z)(f);if(o){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)}}},20068:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(88058);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}},54476: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)}},58289: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)}},42403:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(18773);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)}},75538: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})()}},7553: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)}},23317: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.`)}},75682:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(20068);function i(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?Object(arguments[c]):{},o=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&o.push.apply(o,Object.getOwnPropertySymbols(f).filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable})),o.forEach(function(h){(0,r.Z)(l,h,f[h])})}return l}},33885:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(20068);function i(c,f){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,h))})}return c}},75931:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(85377);function i(l,c){if(l==null)return{};var f,o,h=(0,r.Z)(l,c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(o=0;o<u.length;o++)f=u[o],c.indexOf(f)===-1&&{}.propertyIsEnumerable.call(l,f)&&(h[f]=l[f])}return h}},85377: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}},85458:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(76190),i=e(31226);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)}},75044:function(d,v,e){"use strict";e.d(v,{Z:function(){return x}});function r(p,y){this.v=p,this.k=y}function i(p,y,_,b){var S=Object.defineProperty;try{S({},"",{})}catch(k){S=0}i=function(R,A,I,M){function B(N,V){i(R,N,function(W){return this._invoke(N,V,W)})}A?S?S(R,A,{value:I,enumerable:!M,configurable:!M,writable:!M}):R[A]=I:(B("next",0),B("throw",1),B("return",2))},i(p,y,_,b)}function l(){var p,y,_=typeof Symbol=="function"?Symbol:{},b=_.iterator||"@@iterator",S=_.toStringTag||"@@toStringTag";function k(W,H,te,ie){var oe=H&&H.prototype instanceof A?H:A,J=Object.create(oe.prototype);return i(J,"_invoke",function(Q,K,se){var ee,X,le,z=0,$=se||[],ae=!1,_e={p:0,n:0,v:p,a:Ie,f:Ie.bind(p,4),d:function(We,je){return ee=We,X=0,le=p,_e.n=je,R}};function Ie(ke,We){for(X=ke,le=We,y=0;!ae&&z&&!je&&y<$.length;y++){var je,Mt=$[y],yt=_e.p,Pt=Mt[2];ke>3?(je=Pt===We)&&(le=Mt[(X=Mt[4])?5:(X=3,3)],Mt[4]=Mt[5]=p):Mt[0]<=yt&&((je=ke<2&&yt<Mt[1])?(X=0,_e.v=We,_e.n=Mt[1]):yt<Pt&&(je=ke<3||Mt[0]>We||We>Pt)&&(Mt[4]=ke,Mt[5]=We,_e.n=Pt,X=0))}if(je||ke>1)return R;throw ae=!0,We}return function(ke,We,je){if(z>1)throw TypeError("Generator is already running");for(ae&&We===1&&Ie(We,je),X=We,le=je;(y=X<2?p:le)||!ae;){ee||(X?X<3?(X>1&&(_e.n=-1),Ie(X,le)):_e.n=le:_e.v=le);try{if(z=2,ee){if(X||(ke="next"),y=ee[ke]){if(!(y=y.call(ee,le)))throw TypeError("iterator result is not an object");if(!y.done)return y;le=y.value,X<2&&(X=0)}else X===1&&(y=ee.return)&&y.call(ee),X<2&&(le=TypeError("The iterator does not provide a '"+ke+"' method"),X=1);ee=p}else if((y=(ae=_e.n<0)?le:Q.call(K,_e))!==R)break}catch(Mt){ee=p,X=1,le=Mt}finally{z=1}}return{value:y,done:ae}}}(W,te,ie),!0),J}var R={};function A(){}function I(){}function M(){}y=Object.getPrototypeOf;var B=[][b]?y(y([][b]())):(i(y={},b,function(){return this}),y),N=M.prototype=A.prototype=Object.create(B);function V(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,M):(W.__proto__=M,i(W,S,"GeneratorFunction")),W.prototype=Object.create(N),W}return I.prototype=M,i(N,"constructor",M),i(M,"constructor",I),I.displayName="GeneratorFunction",i(M,S,"GeneratorFunction"),i(N),i(N,S,"Generator"),i(N,b,function(){return this}),i(N,"toString",function(){return"[object Generator]"}),(l=function(){return{w:k,m:V}})()}function c(p,y){function _(S,k,R,A){try{var I=p[S](k),M=I.value;return M instanceof r?y.resolve(M.v).then(function(B){_("next",B,R,A)},function(B){_("throw",B,R,A)}):y.resolve(M).then(function(B){I.value=B,R(I)},function(B){return _("throw",B,R,A)})}catch(B){A(B)}}var b;this.next||(i(c.prototype),i(c.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),i(this,"_invoke",function(S,k,R){function A(){return new y(function(I,M){_(S,R,I,M)})}return b=b?b.then(A,A):A()},!0)}function f(p,y,_,b,S){return new c(l().w(p,y,_,b),S||Promise)}function o(p,y,_,b,S){var k=f(p,y,_,b,S);return k.next().then(function(R){return R.done?R.value:k.next()})}function h(p){var y=Object(p),_=[];for(var b in y)_.unshift(b);return function S(){for(;_.length;)if((b=_.pop())in y)return S.value=b,S.done=!1,S;return S.done=!0,S}}var u=e(76190);function a(p){if(p!=null){var y=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],_=0;if(y)return y.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&_>=p.length&&(p=void 0),{value:p&&p[_++],done:!p}}}}throw new TypeError((0,u.Z)(p)+" is not iterable")}function x(){"use strict";var p=l(),y=p.m(x),_=(Object.getPrototypeOf?Object.getPrototypeOf(y):y.__proto__).constructor;function b(R){var A=typeof R=="function"&&R.constructor;return!!A&&(A===_||(A.displayName||A.name)==="GeneratorFunction")}var S={throw:1,return:2,break:3,continue:3};function k(R){var A,I;return function(M){A||(A={stop:function(){return I(M.a,2)},catch:function(){return M.v},abrupt:function(N,V){return I(M.a,S[N],V)},delegateYield:function(N,V,W){return A.resultName=V,I(M.d,a(N),W)},finish:function(N){return I(M.f,N)}},I=function(N,V,W){M.p=A.prev,M.n=A.next;try{return N(V,W)}finally{A.next=M.n}}),A.resultName&&(A[A.resultName]=M.v,A.resultName=void 0),A.sent=M.v,A.next=M.n;try{return R.call(this,A)}finally{M.p=A.prev,M.n=A.next}}}return(x=function(){return{wrap:function(I,M,B,N){return p.w(k(I),M,B,N&&N.reverse())},isGeneratorFunction:b,mark:p.m,awrap:function(I,M){return new r(I,M)},AsyncIterator:c,async:function(I,M,B,N,V){return(b(M)?f:o)(k(I),M,B,N,V)},keys:h,values:a}})()}},18773: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)}},42978:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(42028);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,_=[],b=!0,S=!1;try{if(p=(u=u.call(o)).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(k){S=!0,x=k}finally{try{if(!b&&u.return!=null&&(y=u.return(),Object(y)!==y))return}finally{if(S)throw x}}return _}}var l=e(3208),c=e(23317);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},66712:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(42028),i=e(7553),l=e(3208),c=e(23317);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},94480:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(97047);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(7553),c=e(3208);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 o(h){return i(h)||(0,l.Z)(h)||(0,c.Z)(h)||f()}},88058:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(76190);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.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+""}},76190: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)}},3208:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(97047);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}}},80360:function(d,v,e){"use strict";e.d(v,{ZP:function(){return Cf}});const r=Number.isFinite||function(O){return typeof O=="number"&&isFinite(O)},i=Number.isSafeInteger||function(O){return typeof O=="number"&&Math.abs(O)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(O){return O.NETWORK_ERROR="networkError",O.MEDIA_ERROR="mediaError",O.KEY_SYSTEM_ERROR="keySystemError",O.MUX_ERROR="muxError",O.OTHER_ERROR="otherError",O}({}),f=function(O){return O.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",O.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",O.KEY_SYSTEM_NO_SESSION="keySystemNoSession",O.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",O.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",O.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",O.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",O.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",O.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",O.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",O.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",O.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",O.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",O.MANIFEST_LOAD_ERROR="manifestLoadError",O.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",O.MANIFEST_PARSING_ERROR="manifestParsingError",O.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",O.LEVEL_EMPTY_ERROR="levelEmptyError",O.LEVEL_LOAD_ERROR="levelLoadError",O.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",O.LEVEL_PARSING_ERROR="levelParsingError",O.LEVEL_SWITCH_ERROR="levelSwitchError",O.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",O.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",O.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",O.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",O.FRAG_LOAD_ERROR="fragLoadError",O.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",O.FRAG_DECRYPT_ERROR="fragDecryptError",O.FRAG_PARSING_ERROR="fragParsingError",O.FRAG_GAP="fragGap",O.REMUX_ALLOC_ERROR="remuxAllocError",O.KEY_LOAD_ERROR="keyLoadError",O.KEY_LOAD_TIMEOUT="keyLoadTimeOut",O.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",O.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",O.BUFFER_APPEND_ERROR="bufferAppendError",O.BUFFER_APPENDING_ERROR="bufferAppendingError",O.BUFFER_STALLED_ERROR="bufferStalledError",O.BUFFER_FULL_ERROR="bufferFullError",O.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",O.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",O.ASSET_LIST_LOAD_ERROR="assetListLoadError",O.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",O.ASSET_LIST_PARSING_ERROR="assetListParsingError",O.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",O.INTERNAL_EXCEPTION="internalException",O.INTERNAL_ABORTED="aborted",O.ATTACH_MEDIA_ERROR="attachMediaError",O.UNKNOWN="unknown",O}({}),o=function(O){return O.MEDIA_ATTACHING="hlsMediaAttaching",O.MEDIA_ATTACHED="hlsMediaAttached",O.MEDIA_DETACHING="hlsMediaDetaching",O.MEDIA_DETACHED="hlsMediaDetached",O.MEDIA_ENDED="hlsMediaEnded",O.STALL_RESOLVED="hlsStallResolved",O.BUFFER_RESET="hlsBufferReset",O.BUFFER_CODECS="hlsBufferCodecs",O.BUFFER_CREATED="hlsBufferCreated",O.BUFFER_APPENDING="hlsBufferAppending",O.BUFFER_APPENDED="hlsBufferAppended",O.BUFFER_EOS="hlsBufferEos",O.BUFFERED_TO_END="hlsBufferedToEnd",O.BUFFER_FLUSHING="hlsBufferFlushing",O.BUFFER_FLUSHED="hlsBufferFlushed",O.MANIFEST_LOADING="hlsManifestLoading",O.MANIFEST_LOADED="hlsManifestLoaded",O.MANIFEST_PARSED="hlsManifestParsed",O.LEVEL_SWITCHING="hlsLevelSwitching",O.LEVEL_SWITCHED="hlsLevelSwitched",O.LEVEL_LOADING="hlsLevelLoading",O.LEVEL_LOADED="hlsLevelLoaded",O.LEVEL_UPDATED="hlsLevelUpdated",O.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",O.LEVELS_UPDATED="hlsLevelsUpdated",O.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",O.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",O.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",O.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",O.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",O.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",O.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",O.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",O.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",O.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",O.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",O.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",O.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",O.CUES_PARSED="hlsCuesParsed",O.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",O.INIT_PTS_FOUND="hlsInitPtsFound",O.FRAG_LOADING="hlsFragLoading",O.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",O.FRAG_LOADED="hlsFragLoaded",O.FRAG_DECRYPTED="hlsFragDecrypted",O.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",O.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",O.FRAG_PARSING_METADATA="hlsFragParsingMetadata",O.FRAG_PARSED="hlsFragParsed",O.FRAG_BUFFERED="hlsFragBuffered",O.FRAG_CHANGED="hlsFragChanged",O.FPS_DROP="hlsFpsDrop",O.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",O.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",O.ERROR="hlsError",O.DESTROYING="hlsDestroying",O.KEY_LOADING="hlsKeyLoading",O.KEY_LOADED="hlsKeyLoaded",O.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",O.BACK_BUFFER_REACHED="hlsBackBufferReached",O.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",O.ASSET_LIST_LOADING="hlsAssetListLoading",O.ASSET_LIST_LOADED="hlsAssetListLoaded",O.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",O.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",O.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",O.INTERSTITIAL_STARTED="hlsInterstitialStarted",O.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",O.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",O.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",O.INTERSTITIAL_ENDED="hlsInterstitialEnded",O.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",O.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",O.EVENT_CUE_ENTER="hlsEventCueEnter",O}({});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,s=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_=s}sample(t,n){const s=Math.pow(this.alpha_,t);this.estimate_=n*(1-s)+s*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,s,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_=s,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_:s,fast_:m,ttfb_:w}=this;s.halfLife!==t&&(this.slow_=new a(t,s.getEstimate(),s.getTotalWeight())),m.halfLife!==n&&(this.fast_=new a(n,m.getEstimate(),m.getTotalWeight())),w.halfLife!==t&&(this.ttfb_=new a(t,w.getEstimate(),w.getTotalWeight()))}sample(t,n){t=Math.max(t,this.minDelayMs_);const s=8*n,m=t/1e3,w=s/m;this.fast_.sample(m,w),this.slow_.sample(m,w)}sampleTTFB(t){const n=t/1e3,s=Math.sqrt(2)*Math.exp(-Math.pow(n,2)/2);this.ttfb_.sample(s,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(O,t,n){return(t=k(t))in O?Object.defineProperty(O,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):O[t]=n,O}function y(){return y=Object.assign?Object.assign.bind():function(O){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(O[s]=n[s])}return O},y.apply(null,arguments)}function _(O,t){var n=Object.keys(O);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(O);t&&(s=s.filter(function(m){return Object.getOwnPropertyDescriptor(O,m).enumerable})),n.push.apply(n,s)}return n}function b(O){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(s){p(O,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(s){Object.defineProperty(O,s,Object.getOwnPropertyDescriptor(n,s))})}return O}function S(O,t){if(typeof O!="object"||!O)return O;var n=O[Symbol.toPrimitive];if(n!==void 0){var s=n.call(O,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(O)}function k(O){var t=S(O,"string");return typeof t=="symbol"?t:t+""}class R{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 s=`[${t}]:`;this.trace=A,this.debug=n.debug.bind(null,s),this.log=n.log.bind(null,s),this.warn=n.warn.bind(null,s),this.info=n.info.bind(null,s),this.error=n.error.bind(null,s)}}const A=function(){},I={trace:A,debug:A,log:A,warn:A,info:A,error:A};function M(){return y({},I)}function B(O,t){const n=self.console[O];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${O}] >`):A}function N(O,t,n){return t[O]?t[O].bind(t):B(O,n)}const V=M();function W(O,t,n){const s=M();if(typeof console=="object"&&O===!0||typeof O=="object"){const m=["debug","log","info","warn","error"];m.forEach(w=>{s[w]=N(w,O,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.13`)}catch(w){return M()}m.forEach(w=>{V[w]=N(w,O)})}else y(V,s);return s}const H=V;function te(O=!0){return typeof self=="undefined"?void 0:(O||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ie(O){return typeof self!="undefined"&&O===self.ManagedMediaSource}function oe(O,t){const n=Object.keys(O),s=Object.keys(t),m=n.length,w=s.length;return!m||!w||m===w&&!n.some(P=>s.indexOf(P)===-1)}function J(O,t=!1){if(typeof TextDecoder!="undefined"){const G=new TextDecoder("utf-8").decode(O);if(t){const ue=G.indexOf("\0");return ue!==-1?G.substring(0,ue):G}return G.replace(/\0/g,"")}const n=O.length;let s,m,w,P="",j=0;for(;j<n;){if(s=O[j++],s===0&&t)return P;if(s===0||s===3)continue;switch(s>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:P+=String.fromCharCode(s);break;case 12:case 13:m=O[j++],P+=String.fromCharCode((s&31)<<6|m&63);break;case 14:m=O[j++],w=O[j++],P+=String.fromCharCode((s&15)<<12|(m&63)<<6|(w&63)<<0);break}}return P}function Q(O){let t="";for(let n=0;n<O.length;n++){let s=O[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}function K(O){return Uint8Array.from(O.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function se(O){return O&&O.__esModule&&Object.prototype.hasOwnProperty.call(O,"default")?O.default:O}var ee={exports:{}},X;function le(){return X||(X=1,function(O,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,w=/(?:\/|^)\.(?=\/)/g,P=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,j={buildAbsoluteURL:function(q,G,ue){if(ue=ue||{},q=q.trim(),G=G.trim(),!G){if(!ue.alwaysNormalize)return q;var de=j.parseURL(q);if(!de)throw new Error("Error trying to parse base URL.");return de.path=j.normalizePath(de.path),j.buildURLFromParts(de)}var Ee=j.parseURL(G);if(!Ee)throw new Error("Error trying to parse relative URL.");if(Ee.scheme)return ue.alwaysNormalize?(Ee.path=j.normalizePath(Ee.path),j.buildURLFromParts(Ee)):G;var Fe=j.parseURL(q);if(!Fe)throw new Error("Error trying to parse base URL.");if(!Fe.netLoc&&Fe.path&&Fe.path[0]!=="/"){var Be=m.exec(Fe.path);Fe.netLoc=Be[1],Fe.path=Be[2]}Fe.netLoc&&!Fe.path&&(Fe.path="/");var ct={scheme:Fe.scheme,netLoc:Ee.netLoc,path:null,params:Ee.params,query:Ee.query,fragment:Ee.fragment};if(!Ee.netLoc&&(ct.netLoc=Fe.netLoc,Ee.path[0]!=="/"))if(!Ee.path)ct.path=Fe.path,Ee.params||(ct.params=Fe.params,Ee.query||(ct.query=Fe.query));else{var lt=Fe.path,Gt=lt.substring(0,lt.lastIndexOf("/")+1)+Ee.path;ct.path=j.normalizePath(Gt)}return ct.path===null&&(ct.path=ue.alwaysNormalize?j.normalizePath(Ee.path):Ee.path),j.buildURLFromParts(ct)},parseURL:function(q){var G=s.exec(q);return G?{scheme:G[1]||"",netLoc:G[2]||"",path:G[3]||"",params:G[4]||"",query:G[5]||"",fragment:G[6]||""}:null},normalizePath:function(q){for(q=q.split("").reverse().join("").replace(w,"");q.length!==(q=q.replace(P,"")).length;);return q.split("").reverse().join("")},buildURLFromParts:function(q){return q.scheme+q.netLoc+q.path+q.params+q.query+q.fragment}};O.exports=j})()}(ee)),ee.exports}var z=le();class ${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 ae={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class _e{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,Mt(this,"stats")}setByteRange(t,n){const s=t.split("@",2);let m;s.length===1?m=(n==null?void 0:n.byteRangeEndOffset)||0:m=parseInt(s[1]),this._byteRange=[m,parseInt(s[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={[ae.AUDIO]:null,[ae.VIDEO]:null,[ae.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 $),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=z.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[ae.AUDIO]=null,t[ae.VIDEO]=null,t[ae.AUDIOVIDEO]=null}}function Ie(O){return O.sn!=="initSegment"}class ke extends _e{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.length){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(){var t;const{levelkeys:n}=this;if(!n||n.NONE)return null;if(n.identity)this._decryptdata||(this._decryptdata=n.identity.getDecryptData(this.sn));else if(!((t=this._decryptdata)!=null&&t.keyId)){const s=Object.keys(n);if(s.length===1){const m=this._decryptdata=n[s[0]]||null;m&&(this._decryptdata=m.getDecryptData(this.sn,n))}}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){var n;const s=Object.keys(this.levelkeys),m=s.length;if(m>1||m===1&&(n=this.levelkeys[s[0]])!=null&&n.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 Ie(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){const n=this.levelkeys;if(n){var s;const m=n[t];m&&!((s=this._decryptdata)!=null&&s.keyId)&&(this._decryptdata=m.getDecryptData(this.sn,n))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,s,m,w,P=!1){const{elementaryStreams:j}=this,q=j[t];if(!q){j[t]={startPTS:n,endPTS:s,startDTS:m,endDTS:w,partial:P};return}q.startPTS=Math.min(q.startPTS,n),q.endPTS=Math.max(q.endPTS,s),q.startDTS=Math.min(q.startDTS,m),q.endDTS=Math.max(q.endDTS,w)}}class We extends _e{constructor(t,n,s,m,w){super(s),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 P=t.enumeratedString("BYTERANGE");P&&this.setByteRange(P,w),w&&(this.fragOffset=w.fragOffset+w.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:t}=this;return!!(t.audio||t.video||t.audiovideo)}}function je(O,t){const n=Object.getPrototypeOf(O);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||je(n,t)}}function Mt(O,t){const n=je(O,t);n&&(n.enumerable=!0,Object.defineProperty(O,t,n))}const yt=Math.pow(2,32)-1,Pt=[].push,tr={video:1,audio:2,id3:3,text:4};function Vt(O){return String.fromCharCode.apply(null,O)}function lr(O,t){const n=O[t]<<8|O[t+1];return n<0?65536+n:n}function Ke(O,t){const n=jt(O,t);return n<0?4294967296+n:n}function Ct(O,t){let n=Ke(O,t);return n*=Math.pow(2,32),n+=Ke(O,t+4),n}function jt(O,t){return O[t]<<24|O[t+1]<<16|O[t+2]<<8|O[t+3]}function it(O){const t=O.byteLength;for(let n=0;n<t;){const s=Ke(O,n);if(s>8&&O[n+4]===109&&O[n+5]===111&&O[n+6]===111&&O[n+7]===102)return!0;n=s>1?n+s:t}return!1}function xt(O,t){const n=[];if(!t.length)return n;const s=O.byteLength;for(let m=0;m<s;){const w=Ke(O,m),P=Vt(O.subarray(m+4,m+8)),j=w>1?m+w:s;if(P===t[0])if(t.length===1)n.push(O.subarray(m+8,j));else{const q=xt(O.subarray(m+8,j),t.slice(1));q.length&&Pt.apply(n,q)}m=j}return n}function pt(O){const t=[],n=O[0];let s=8;const m=Ke(O,s);s+=4;let w=0,P=0;n===0?(w=Ke(O,s),P=Ke(O,s+4),s+=8):(w=Ct(O,s),P=Ct(O,s+8),s+=16),s+=2;let j=O.length+P;const q=lr(O,s);s+=2;for(let G=0;G<q;G++){let ue=s;const de=Ke(O,ue);ue+=4;const Ee=de&2147483647;if((de&2147483648)>>>31===1)return H.warn("SIDX has hierarchical references (not supported)"),null;const Be=Ke(O,ue);ue+=4,t.push({referenceSize:Ee,subsegmentDuration:Be,info:{duration:Be/m,start:j,end:j+Ee-1}}),j+=Ee,ue+=4,s=ue}return{earliestPresentationTime:w,timescale:m,version:n,referencesCount:q,references:t}}function et(O){const t=[],n=xt(O,["moov","trak"]);for(let m=0;m<n.length;m++){const w=n[m],P=xt(w,["tkhd"])[0];if(P){let j=P[0];const q=Ke(P,j===0?12:20),G=xt(w,["mdia","mdhd"])[0];if(G){j=G[0];const ue=Ke(G,j===0?12:20),de=xt(w,["mdia","hdlr"])[0];if(de){const Ee=Vt(de.subarray(8,12)),Fe={soun:ae.AUDIO,vide:ae.VIDEO}[Ee],Be=xt(w,["mdia","minf","stbl","stsd"])[0],ct=Ze(Be);Fe?(t[q]={timescale:ue,type:Fe,stsd:ct},t[Fe]=b({timescale:ue,id:q},ct)):t[q]={timescale:ue,type:Ee,stsd:ct}}}}}return xt(O,["moov","mvex","trex"]).forEach(m=>{const w=Ke(m,4),P=t[w];P&&(P.default={duration:Ke(m,12),flags:Ke(m,20)})}),t}function Ze(O){const t=O.subarray(8),n=t.subarray(86),s=Vt(t.subarray(4,8));let m=s,w;const P=s==="enca"||s==="encv";if(P){const G=xt(t,[s])[0].subarray(s==="enca"?28:78);xt(G,["sinf"]).forEach(de=>{const Ee=xt(de,["schm"])[0];if(Ee){const Fe=Vt(Ee.subarray(4,8));if(Fe==="cbcs"||Fe==="cenc"){const Be=xt(de,["frma"])[0];Be&&(m=Vt(Be))}}})}const j=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const q=xt(n,["avcC"])[0];q&&q.length>3&&(m+="."+Ue(q[1])+Ue(q[2])+Ue(q[3]),w=ge(j==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const q=xt(t,[s])[0],G=xt(q.subarray(28),["esds"])[0];if(G&&G.length>7){let ue=4;if(G[ue++]!==3)break;ue=Me(G,ue),ue+=2;const de=G[ue++];if(de&128&&(ue+=2),de&64&&(ue+=G[ue++]),G[ue++]!==4)break;ue=Me(G,ue);const Ee=G[ue++];if(Ee===64)m+="."+Ue(Ee);else break;if(ue+=12,G[ue++]!==5)break;ue=Me(G,ue);const Fe=G[ue++];let Be=(Fe&248)>>3;Be===31&&(Be+=1+((Fe&7)<<3)+((G[ue]&224)>>5)),m+="."+Be}break}case"hvc1":case"hev1":{const q=xt(n,["hvcC"])[0];if(q&&q.length>12){const G=q[1],ue=["","A","B","C"][G>>6],de=G&31,Ee=Ke(q,2),Fe=(G&32)>>5?"H":"L",Be=q[12],ct=q.subarray(6,12);m+="."+ue+de,m+="."+Ae(Ee).toString(16).toUpperCase(),m+="."+Fe+Be;let lt="";for(let Gt=ct.length;Gt--;){const Jt=ct[Gt];(Jt||lt)&&(lt="."+Jt.toString(16).toUpperCase()+lt)}m+=lt}w=ge(j=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=ge(m,n)||m;break}case"vp09":{const q=xt(n,["vpcC"])[0];if(q&&q.length>6){const G=q[4],ue=q[5],de=q[6]>>4&15;m+="."+Ge(G)+"."+Ge(ue)+"."+Ge(de)}break}case"av01":{const q=xt(n,["av1C"])[0];if(q&&q.length>2){const G=q[1]>>>5,ue=q[1]&31,de=q[2]>>>7?"H":"M",Ee=(q[2]&64)>>6,Fe=(q[2]&32)>>5,Be=G===2&&Ee?Fe?12:10:Ee?10:8,ct=(q[2]&16)>>4,lt=(q[2]&8)>>3,Gt=(q[2]&4)>>2,Jt=q[2]&3;m+="."+G+"."+Ge(ue)+de+"."+Ge(Be)+"."+ct+"."+lt+Gt+Jt+"."+Ge(1)+"."+Ge(1)+"."+Ge(1)+"."+0,w=ge("dav1",n)}break}}return{codec:m,encrypted:P,supplemental:w}}function ge(O,t){const n=xt(t,["dvvC"]),s=n.length?n[0]:xt(t,["dvcC"])[0];if(s){const m=s[2]>>1&127,w=s[2]<<5&32|s[3]>>3&31;return O+"."+Ge(m)+"."+Ge(w)}}function Ae(O){let t=0;for(let n=0;n<32;n++)t|=(O>>n&1)<<31-n;return t>>>0}function Me(O,t){const n=t+5;for(;O[t++]&128&&t<n;);return t}function Ue(O){return("0"+O.toString(16).toUpperCase()).slice(-2)}function Ge(O){return(O<10?"0":"")+O}function nt(O,t){if(!O||!t)return;const n=t.keyId;n&&t.isCommonEncryption&&Kt(O,(s,m)=>{const w=s.subarray(8,24);w.some(P=>P!==0)||(H.log(`[eme] Patching keyId in 'enc${m?"a":"v"}>sinf>>tenc' box: ${Q(w)} -> ${Q(n)}`),s.set(n,8))})}function ut(O){const t=[];return Kt(O,n=>t.push(n.subarray(8,24))),t}function Kt(O,t){xt(O,["moov","trak"]).forEach(s=>{const m=xt(s,["mdia","minf","stbl","stsd"])[0];if(!m)return;const w=m.subarray(8);let P=xt(w,["enca"]);const j=P.length>0;j||(P=xt(w,["encv"])),P.forEach(q=>{const G=j?q.subarray(28):q.subarray(78);xt(G,["sinf"]).forEach(de=>{const Ee=Zt(de);Ee&&t(Ee,j)})})})}function Zt(O){const t=xt(O,["schm"])[0];if(t){const n=Vt(t.subarray(4,8));if(n==="cbcs"||n==="cenc"){const s=xt(O,["schi","tenc"])[0];if(s)return s}}}function De(O,t,n){const s={},m=xt(O,["moof","traf"]);for(let w=0;w<m.length;w++){const P=m[w],j=xt(P,["tfhd"])[0],q=Ke(j,4),G=t[q];if(!G)continue;s[q]||(s[q]={start:NaN,duration:0,sampleCount:0,timescale:G.timescale,type:G.type});const ue=s[q],de=xt(P,["tfdt"])[0];if(de){const er=de[0];let wr=Ke(de,4);er===1&&(wr===yt?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(wr*=yt+1,wr+=Ke(de,8))),r(wr)&&(!r(ue.start)||wr<ue.start)&&(ue.start=wr)}const Ee=G.default,Fe=Ke(j,0)|(Ee==null?void 0:Ee.flags);let Be=(Ee==null?void 0:Ee.duration)||0;Fe&8&&(Fe&2?Be=Ke(j,12):Be=Ke(j,8));const ct=xt(P,["trun"]);let lt=ue.start||0,Gt=0,Jt=Be;for(let er=0;er<ct.length;er++){const wr=ct[er],zr=Ke(wr,4),hn=ue.sampleCount;ue.sampleCount+=zr;const Zr=wr[3]&1,sn=wr[3]&4,nn=wr[2]&1,Vr=wr[2]&2,In=wr[2]&4,wi=wr[2]&8;let ta=8,va=zr;for(Zr&&(ta+=4),sn&&zr&&(!(wr[ta+1]&1)&&ue.keyFrameIndex===void 0&&(ue.keyFrameIndex=hn),ta+=4,nn?(Jt=Ke(wr,ta),ta+=4):Jt=Be,Vr&&(ta+=4),wi&&(ta+=4),lt+=Jt,Gt+=Jt,va--);va--;)nn?(Jt=Ke(wr,ta),ta+=4):Jt=Be,Vr&&(ta+=4),In&&(wr[ta+1]&1||ue.keyFrameIndex===void 0&&(ue.keyFrameIndex=ue.sampleCount-(va+1),ue.keyFrameStart=lt),ta+=4),wi&&(ta+=4),lt+=Jt,Gt+=Jt;!Gt&&Be&&(Gt+=Be*zr)}ue.duration+=Gt}if(!Object.keys(s).some(w=>s[w].duration)){let w=1/0,P=0;const j=xt(O,["sidx"]);for(let q=0;q<j.length;q++){const G=pt(j[q]);if(G!=null&&G.references){w=Math.min(w,G.earliestPresentationTime/G.timescale);const ue=G.references.reduce((de,Ee)=>de+Ee.info.duration||0,0);P=Math.max(P,ue+G.earliestPresentationTime/G.timescale)}}P&&r(P)&&Object.keys(s).forEach(q=>{s[q].duration||(s[q].duration=P*s[q].timescale-s[q].start)})}return s}function Je(O){const t={valid:null,remainder:null},n=xt(O,["moof"]);if(n.length<2)return t.remainder=O,t;const s=n[n.length-1];return t.valid=O.slice(0,s.byteOffset-8),t.remainder=O.slice(s.byteOffset-8),t}function Wt(O,t){const n=new Uint8Array(O.length+t.length);return n.set(O),n.set(t,O.length),n}function Ot(O,t){const n=[],s=t.samples,m=t.timescale,w=t.id;let P=!1;return xt(s,["moof"]).map(q=>{const G=q.byteOffset-8;xt(q,["traf"]).map(de=>{const Ee=xt(de,["tfdt"]).map(Fe=>{const Be=Fe[0];let ct=Ke(Fe,4);return Be===1&&(ct*=Math.pow(2,32),ct+=Ke(Fe,8)),ct/m})[0];return Ee!==void 0&&(O=Ee),xt(de,["tfhd"]).map(Fe=>{const Be=Ke(Fe,4),ct=Ke(Fe,0)&16777215,lt=(ct&1)!==0,Gt=(ct&2)!==0,Jt=(ct&8)!==0;let er=0;const wr=(ct&16)!==0;let zr=0;const hn=(ct&32)!==0;let Zr=8;Be===w&&(lt&&(Zr+=8),Gt&&(Zr+=4),Jt&&(er=Ke(Fe,Zr),Zr+=4),wr&&(zr=Ke(Fe,Zr),Zr+=4),hn&&(Zr+=4),t.type==="video"&&(P=zt(t.codec)),xt(de,["trun"]).map(sn=>{const nn=sn[0],Vr=Ke(sn,0)&16777215,In=(Vr&1)!==0;let wi=0;const ta=(Vr&4)!==0,va=(Vr&256)!==0;let ra=0;const di=(Vr&512)!==0;let sa=0;const Bi=(Vr&1024)!==0,da=(Vr&2048)!==0;let $a=0;const yi=Ke(sn,4);let bi=8;In&&(wi=Ke(sn,bi),bi+=4),ta&&(bi+=4);let gs=wi+G;for(let ys=0;ys<yi;ys++){if(va?(ra=Ke(sn,bi),bi+=4):ra=er,di?(sa=Ke(sn,bi),bi+=4):sa=zr,Bi&&(bi+=4),da&&(nn===0?$a=Ke(sn,bi):$a=jt(sn,bi),bi+=4),t.type===ae.VIDEO){let Es=0;for(;Es<sa;){const Zs=Ke(s,gs);if(gs+=4,Ft(P,s[gs])){const mu=s.subarray(gs,gs+Zs);At(mu,P?2:1,O+$a/m,n)}gs+=Zs,Es+=Zs+4}}O+=ra/m}}))})})}),n}function zt(O){if(!O)return!1;const t=O.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function Ft(O,t){if(O){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function At(O,t,n,s){const m=Yt(O);let w=0;w+=t;let P=0,j=0,q=0;for(;w<m.length;){P=0;do{if(w>=m.length)break;q=m[w++],P+=q}while(q===255);j=0;do{if(w>=m.length)break;q=m[w++],j+=q}while(q===255);const G=m.length-w;let ue=w;if(j<G)w+=j;else if(j>G){H.error(`Malformed SEI payload. ${j} is too small, only ${G} bytes left to parse.`);break}if(P===4){if(m[ue++]===181){const Ee=lr(m,ue);if(ue+=2,Ee===49){const Fe=Ke(m,ue);if(ue+=4,Fe===1195456820){const Be=m[ue++];if(Be===3){const ct=m[ue++],lt=31&ct,Gt=64&ct,Jt=Gt?2+lt*3:0,er=new Uint8Array(Jt);if(Gt){er[0]=ct;for(let wr=1;wr<Jt;wr++)er[wr]=m[ue++]}s.push({type:Be,payloadType:P,pts:n,bytes:er})}}}}}else if(P===5&&j>16){const de=[];for(let Be=0;Be<16;Be++){const ct=m[ue++].toString(16);de.push(ct.length==1?"0"+ct:ct),(Be===3||Be===5||Be===7||Be===9)&&de.push("-")}const Ee=j-16,Fe=new Uint8Array(Ee);for(let Be=0;Be<Ee;Be++)Fe[Be]=m[ue++];s.push({payloadType:P,pts:n,uuid:de.join(""),userData:J(Fe),userDataBytes:Fe})}}}function Yt(O){const t=O.byteLength,n=[];let s=1;for(;s<t-2;)O[s]===0&&O[s+1]===0&&O[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return O;const m=t-n.length,w=new Uint8Array(m);let P=0;for(s=0;s<m;P++,s++)P===n[0]&&(P++,n.shift()),w[s]=O[P];return w}function Ye(O){const t=O[0];let n="",s="",m=0,w=0,P=0,j=0,q=0,G=0;if(t===0){for(;Vt(O.subarray(G,G+1))!=="\0";)n+=Vt(O.subarray(G,G+1)),G+=1;for(n+=Vt(O.subarray(G,G+1)),G+=1;Vt(O.subarray(G,G+1))!=="\0";)s+=Vt(O.subarray(G,G+1)),G+=1;s+=Vt(O.subarray(G,G+1)),G+=1,m=Ke(O,12),w=Ke(O,16),j=Ke(O,20),q=Ke(O,24),G=28}else if(t===1){G+=4,m=Ke(O,G),G+=4;const de=Ke(O,G);G+=4;const Ee=Ke(O,G);for(G+=4,P=4294967296*de+Ee,i(P)||(P=Number.MAX_SAFE_INTEGER,H.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),j=Ke(O,G),G+=4,q=Ke(O,G),G+=4;Vt(O.subarray(G,G+1))!=="\0";)n+=Vt(O.subarray(G,G+1)),G+=1;for(n+=Vt(O.subarray(G,G+1)),G+=1;Vt(O.subarray(G,G+1))!=="\0";)s+=Vt(O.subarray(G,G+1)),G+=1;s+=Vt(O.subarray(G,G+1)),G+=1}const ue=O.subarray(G,O.byteLength);return{schemeIdUri:n,value:s,timeScale:m,presentationTime:P,presentationTimeDelta:w,eventDuration:j,id:q,payload:ue}}function ce(O,...t){const n=t.length;let s=8,m=n;for(;m--;)s+=t[m].byteLength;const w=new Uint8Array(s);for(w[0]=s>>24&255,w[1]=s>>16&255,w[2]=s>>8&255,w[3]=s&255,w.set(O,4),m=0,s=8;m<n;m++)w.set(t[m],s),s+=t[m].byteLength;return w}function pe(O,t,n){if(O.byteLength!==16)throw new RangeError("Invalid system id");let s,m;s=0,m=new Uint8Array;let w;s>0?(w=new Uint8Array(4),t.length>0&&new DataView(w.buffer).setUint32(0,t.length,!1)):w=new Uint8Array;const P=new Uint8Array(4);return n.byteLength>0&&new DataView(P.buffer).setUint32(0,n.byteLength,!1),ce([112,115,115,104],new Uint8Array([s,0,0,0]),O,w,m,P,n)}function Dt(O){const t=[];if(O instanceof ArrayBuffer){const n=O.byteLength;let s=0;for(;s+32<n;){const m=new DataView(O,s),w=Ce(m);t.push(w),s+=w.size}}return t}function Ce(O){const t=O.getUint32(0),n=O.byteOffset,s=O.byteLength;if(s<t)return{offset:n,size:s};if(O.getUint32(4)!==1886614376)return{offset:n,size:t};const w=O.getUint32(8)>>>24;if(w!==0&&w!==1)return{offset:n,size:t};const P=O.buffer,j=Q(new Uint8Array(P,n+12,16));let q=null,G=null,ue=0;if(w===0)ue=28;else{const Ee=O.getUint32(28);if(!Ee||s<32+Ee*16)return{offset:n,size:t};q=[];for(let Fe=0;Fe<Ee;Fe++)q.push(new Uint8Array(P,n+32+Fe*16,16));ue=32+Ee*16}if(!ue)return{offset:n,size:t};const de=O.getUint32(ue);return t-32<de?{offset:n,size:t}:(G=new Uint8Array(P,n+ue+4,de),{version:w,systemId:j,kids:q,data:G,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 St(O,t){const n=Ut[t];return!!n&&!!n[O.slice(0,4)]}function Oe(O,t,n=!0){return!O.split(",").some(s=>!wt(s,t,n))}function wt(O,t,n=!0){var s;const m=te(n);return(s=m==null?void 0:m.isTypeSupported(ye(O,t)))!=null?s:!1}function ye(O,t){return`${t}/mp4;codecs=${O}`}function Xe(O){if(O){const t=O.substring(0,4);return Ut.video[t]}return 2}function vt(O){const t=ft();return O.split(",").reduce((n,s)=>{const w=t&&zt(s)?9:Ut.video[s];return w?(w*2+n)/(n?3:2):(Ut.audio[s]+n)/(n?2:1)},0)}const Rt={};function Ne(O,t=!0){if(Rt[O])return Rt[O];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[O];for(let m=0;m<n.length;m++){var s;if(wt(n[m],"audio",t))return Rt[O]=n[m],n[m];if(n[m]==="mp3"&&(s=te(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return O}const Dr=/flac|opus|mp4a\.40\.34/i;function Et(O,t=!0){return O.replace(Dr,n=>Ne(n.toLowerCase(),t))}function Yr(O,t){const n=[];if(O){const s=O.split(",");for(let m=0;m<s.length;m++)St(s[m],"video")||n.push(s[m])}return t&&n.push(t),n.join(",")}function Jr(O,t){if(O&&(O.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(O)!==-1)&&(Er(O,"audio")||Er(O,"video")))return O;if(t){const n=t.split(",");if(n.length>1){if(O){for(let s=n.length;s--;)if(n[s].substring(0,4)===O.substring(0,4))return n[s]}return n[0]}}return t||O}function Er(O,t){return St(O,t)&&wt(O,t)}function $r(O){const t=O.split(",");for(let n=0;n<t.length;n++){const s=t[n].split(".");s.length>2&&s[0]==="avc1"&&(t[n]=`avc1.${parseInt(s[1]).toString(16)}${("000"+parseInt(s[2]).toString(16)).slice(-4)}`)}return t.join(",")}function _r(O){if(O.startsWith("av01.")){const t=O.split("."),n=["0","111","01","01","01","0"];for(let s=t.length;s>4&&s<10;s++)t[s]=n[s-4];return t.join(".")}return O}function Hr(O){const t=te(O)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function on(O){return O.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const pn={supported:!0,powerEfficient:!0,smooth:!0},or={supported:!1,smooth:!1,powerEfficient:!1},kt={supported:!0,configurations:[],decodingInfoResults:[pn]};function mt(O,t){return{supported:!1,configurations:t,decodingInfoResults:[or],error:O}}function gt(O,t,n,s,m,w){const P=O.videoCodec,j=O.audioCodec?O.audioGroups:null,q=w==null?void 0:w.audioCodec,G=w==null?void 0:w.channels,ue=G?parseInt(G):q?1/0:2;let de=null;if(j!=null&&j.length)try{j.length===1&&j[0]?de=t.groups[j[0]].channels:de=j.reduce((Ee,Fe)=>{if(Fe){const Be=t.groups[Fe];if(!Be)throw new Error(`Audio track group ${Fe} not found`);Object.keys(Be.channels).forEach(ct=>{Ee[ct]=(Ee[ct]||0)+Be.channels[ct]})}return Ee},{2:0})}catch(Ee){return!0}return P!==void 0&&(P.split(",").some(Ee=>zt(Ee))||O.width>1920&&O.height>1088||O.height>1920&&O.width>1088||O.frameRate>Math.max(s,30)||O.videoRange!=="SDR"&&O.videoRange!==n||O.bitrate>Math.max(m,8e6))||!!de&&r(ue)&&Object.keys(de).some(Ee=>parseInt(Ee)>ue)}function Nt(O,t,n,s={}){const m=O.videoCodec;if(!m&&!O.audioCodec||!n)return Promise.resolve(kt);const w=[],P=Ar(O),j=P.length,q=vr(O,t,j>0),G=q.length;for(let ue=j||1*G||1;ue--;){const de={type:"media-source"};if(j&&(de.video=P[ue%j]),G){de.audio=q[ue%G];const Ee=de.audio.bitrate;de.video&&Ee&&(de.video.bitrate-=Ee)}w.push(de)}if(m){const ue=navigator.userAgent;if(m.split(",").some(de=>zt(de))&&ft())return Promise.resolve(mt(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${ue})`),w))}return Promise.all(w.map(ue=>{const de=bn(ue);return s[de]||(s[de]=n.decodingInfo(ue))})).then(ue=>({supported:!ue.some(de=>!de.supported),configurations:w,decodingInfoResults:ue})).catch(ue=>({supported:!1,configurations:w,decodingInfoResults:[],error:ue}))}function Ar(O){var t;const n=(t=O.videoCodec)==null?void 0:t.split(","),s=Nr(O),m=O.width||640,w=O.height||480,P=O.frameRate||30,j=O.videoRange.toLowerCase();return n?n.map(q=>{const G={contentType:ye(_r(q),"video"),width:m,height:w,bitrate:s,framerate:P};return j!=="sdr"&&(G.transferFunction=j),G}):[]}function vr(O,t,n){var s;const m=(s=O.audioCodec)==null?void 0:s.split(","),w=Nr(O);return m&&O.audioGroups?O.audioGroups.reduce((P,j)=>{var q;const G=j?(q=t.groups[j])==null?void 0:q.tracks:null;return G?G.reduce((ue,de)=>{if(de.groupId===j){const Ee=parseFloat(de.channels||"");m.forEach(Fe=>{const Be={contentType:ye(Fe,"audio"),bitrate:n?at(Fe,w):w};Ee&&(Be.channels=""+Ee),ue.push(Be)})}return ue},P):P},[]):[]}function at(O,t){if(t<=1)return 1;let n=128e3;return O==="ec-3"?n=768e3:O==="ac-3"&&(n=64e4),Math.min(t/2,n)}function Nr(O){return Math.ceil(Math.max(O.bitrate*.9,O.averageBitrate)/1e3)*1e3||1}function bn(O){let t="";const{audio:n,video:s}=O;if(s){const m=on(s.contentType);t+=`${m}_r${s.height}x${s.width}f${Math.ceil(s.framerate)}${s.transferFunction||"sd"}_${Math.ceil(s.bitrate/1e5)}`}if(n){const m=on(n.contentType);t+=`${s?"_":""}${m}_c${n.channels}`}return t}const Yn=["NONE","TYPE-0","TYPE-1",null];function mr(O){return Yn.indexOf(O)>-1}const rn=["SDR","PQ","HLG"];function gn(O){return!!O&&rn.indexOf(O)>-1}var Mn={No:"",Yes:"YES",v2:"v2"};function ai(O){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=O,m=s<t/2;return t&&m?n?Mn.v2:Mn.Yes:Mn.No}class hi{constructor(t,n,s){this.msn=void 0,this.part=void 0,this.skip=void 0,this.msn=t,this.part=n,this.skip=s}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 Vi{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(s=>!!s).map(s=>s.substring(0,4)).join(","),"supplemental"in t){var n;this.supplemental=t.supplemental;const s=(n=t.supplemental)==null?void 0:n.videoCodec;s&&s!==t.videoCodec&&(this.codecSet+=`,${s.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 Yi(this._audioGroups,t)}hasSubtitleGroup(t){return Yi(this._subtitleGroups,t)}get audioGroups(){return this._audioGroups}get subtitleGroups(){return this._subtitleGroups}addGroupId(t,n){if(n){if(t==="audio"){let s=this._audioGroups;s||(s=this._audioGroups=[]),s.indexOf(n)===-1&&s.push(n)}else if(t==="text"){let s=this._subtitleGroups;s||(s=this._subtitleGroups=[]),s.indexOf(n)===-1&&s.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 Yi(O,t){return!t||!O?!1:O.indexOf(t)!==-1}function Ri(){if(typeof matchMedia=="function"){const O=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(O.media!==t.media)return O.matches===!0}return!1}function Ii(O,t){let n=!1,s=[];if(O&&(n=O!=="SDR",s=[O]),t){s=t.allowedVideoRanges||rn.slice(0);const m=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&Ri(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const Ti=O=>{const t=new WeakSet;return(n,s)=>{if(O&&(s=O(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},Ai=(O,t)=>JSON.stringify(O,Ti(t));function oi(O,t,n,s,m){const w=Object.keys(O),P=s==null?void 0:s.channels,j=s==null?void 0:s.audioCodec,q=m==null?void 0:m.videoCodec,G=P&&parseInt(P)===2;let ue=!1,de=!1,Ee=1/0,Fe=1/0,Be=1/0,ct=1/0,lt=0,Gt=[];const{preferHDR:Jt,allowedVideoRanges:er}=Ii(t,m);for(let sn=w.length;sn--;){const nn=O[w[sn]];ue||(ue=nn.channels[2]>0),Ee=Math.min(Ee,nn.minHeight),Fe=Math.min(Fe,nn.minFramerate),Be=Math.min(Be,nn.minBitrate),er.filter(In=>nn.videoRanges[In]>0).length>0&&(de=!0)}Ee=r(Ee)?Ee:0,Fe=r(Fe)?Fe:0;const wr=Math.max(1080,Ee),zr=Math.max(30,Fe);Be=r(Be)?Be:n,n=Math.max(Be,n),de||(t=void 0);const hn=w.length>1;return{codecSet:w.reduce((sn,nn)=>{const Vr=O[nn];if(nn===sn)return sn;if(Gt=de?er.filter(In=>Vr.videoRanges[In]>0):[],hn){if(Vr.minBitrate>n)return Hi(nn,`min bitrate of ${Vr.minBitrate} > current estimate of ${n}`),sn;if(!Vr.hasDefaultAudio)return Hi(nn,"no renditions with default or auto-select sound found"),sn;if(j&&nn.indexOf(j.substring(0,4))%5!==0)return Hi(nn,`audio codec preference "${j}" not found`),sn;if(P&&!G){if(!Vr.channels[P])return Hi(nn,`no renditions with ${P} channel sound found (channels options: ${Object.keys(Vr.channels)})`),sn}else if((!j||G)&&ue&&Vr.channels[2]===0)return Hi(nn,"no renditions with stereo sound found"),sn;if(Vr.minHeight>wr)return Hi(nn,`min resolution of ${Vr.minHeight} > maximum of ${wr}`),sn;if(Vr.minFramerate>zr)return Hi(nn,`min framerate of ${Vr.minFramerate} > maximum of ${zr}`),sn;if(!Gt.some(In=>Vr.videoRanges[In]>0))return Hi(nn,`no variants with VIDEO-RANGE of ${Ai(Gt)} found`),sn;if(q&&nn.indexOf(q.substring(0,4))%5!==0)return Hi(nn,`video codec preference "${q}" not found`),sn;if(Vr.maxScore<lt)return Hi(nn,`max score of ${Vr.maxScore} < selected max of ${lt}`),sn}return sn&&(vt(nn)>=vt(sn)||Vr.fragmentError>O[sn].fragmentError)?sn:(ct=Vr.minIndex,lt=Vr.maxScore,nn)},void 0),videoRanges:Gt,preferHDR:Jt,minFramerate:Fe,minBitrate:Be,minIndex:ct}}function Hi(O,t){H.log(`[abr] start candidates with "${O}" ignored because ${t}`)}function xi(O){return O.reduce((t,n)=>{let s=t.groups[n.groupId];s||(s=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),s.tracks.push(n);const m=n.channels||"2";return s.channels[m]=(s.channels[m]||0)+1,s.hasDefault=s.hasDefault||n.default,s.hasAutoSelect=s.hasAutoSelect||n.autoselect,s.hasDefault&&(t.hasDefaultAudio=!0),s.hasAutoSelect&&(t.hasAutoSelectAudio=!0),t},{hasDefaultAudio:!1,hasAutoSelectAudio:!1,groups:{}})}function xe(O,t,n,s){return O.slice(n,s+1).reduce((m,w,P)=>{if(!w.codecSet)return m;const j=w.audioGroups;let q=m[w.codecSet];q||(m[w.codecSet]=q={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:P,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!j,fragmentError:0}),q.minBitrate=Math.min(q.minBitrate,w.bitrate);const G=Math.min(w.height,w.width);return q.minHeight=Math.min(q.minHeight,G),q.minFramerate=Math.min(q.minFramerate,w.frameRate),q.minIndex=Math.min(q.minIndex,P),q.maxScore=Math.max(q.maxScore,w.score),q.fragmentError+=w.fragmentError,q.videoRanges[w.videoRange]=(q.videoRanges[w.videoRange]||0)+1,j&&j.forEach(ue=>{if(!ue)return;const de=t.groups[ue];de&&(q.hasDefaultAudio=q.hasDefaultAudio||t.hasDefaultAudio?de.hasDefault:de.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(de.channels).forEach(Ee=>{q.channels[Ee]=(q.channels[Ee]||0)+de.channels[Ee]}))}),m},{})}function Kn(O){if(!O)return O;const{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:w}=O;return{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:w}}function qn(O,t,n){if("attrs"in O){const s=t.indexOf(O);if(s!==-1)return s}for(let s=0;s<t.length;s++){const m=t[s];if(Jn(O,m,n))return s}return-1}function Jn(O,t,n){const{groupId:s,name:m,lang:w,assocLang:P,default:j}=O,q=O.forced;return(s===void 0||t.groupId===s)&&(m===void 0||t.name===m)&&(w===void 0||oa(w,t.lang))&&(w===void 0||t.assocLang===P)&&(j===void 0||t.default===j)&&(q===void 0||t.forced===q)&&(!("characteristics"in O)||Di(O.characteristics||"",t.characteristics))&&(n===void 0||n(O,t))}function oa(O,t="--"){return O.length===t.length?O===t:O.startsWith(t)||t.startsWith(O)}function Di(O,t=""){const n=O.split(","),s=t.split(",");return n.length===s.length&&!n.some(m=>s.indexOf(m)===-1)}function Ci(O,t){const{audioCodec:n,channels:s}=O;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function pi(O,t,n,s,m){const w=t[s],j=t.reduce((Ee,Fe,Be)=>{const ct=Fe.uri;return(Ee[ct]||(Ee[ct]=[])).push(Be),Ee},{})[w.uri];j.length>1&&(s=Math.max.apply(Math,j));const q=w.videoRange,G=w.frameRate,ue=w.codecSet.substring(0,4),de=Qt(t,s,Ee=>{if(Ee.videoRange!==q||Ee.frameRate!==G||Ee.codecSet.substring(0,4)!==ue)return!1;const Fe=Ee.audioGroups,Be=n.filter(ct=>!Fe||Fe.indexOf(ct.groupId)!==-1);return qn(O,Be,m)>-1});return de>-1?de:Qt(t,s,Ee=>{const Fe=Ee.audioGroups,Be=n.filter(ct=>!Fe||Fe.indexOf(ct.groupId)!==-1);return qn(O,Be,m)>-1})}function Qt(O,t,n){for(let s=t;s>-1;s--)if(n(O[s]))return s;for(let s=t+1;s<O.length;s++)if(n(O[s]))return s;return-1}function dt(O,t){var n;return!!O&&O!==((n=t.loadLevelObj)==null?void 0:n.uri)}class rt extends R{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.supportedCache={},this.bwEstimator=void 0,this._abandonRulesCheck=n=>{var s;const{fragCurrent:m,partCurrent:w,hls:P}=this,{autoLevelEnabled:j,media:q}=P;if(!m||!q)return;const G=performance.now(),ue=w?w.stats:m.stats,de=w?w.duration:m.duration,Ee=G-ue.loading.start,Fe=P.minAutoLevel,Be=m.level,ct=this._nextAutoLevel;if(ue.aborted||ue.loaded&&ue.loaded===ue.total||Be<=Fe){this.clearTimer(),this._nextAutoLevel=-1;return}if(!j)return;const lt=ct>-1&&ct!==Be,Gt=!!n||lt;if(!Gt&&(q.paused||!q.playbackRate||!q.readyState))return;const Jt=P.mainForwardBufferInfo;if(!Gt&&Jt===null)return;const er=this.bwEstimator.getEstimateTTFB(),wr=Math.abs(q.playbackRate);if(Ee<=Math.max(er,1e3*(de/(wr*2))))return;const zr=Jt?Jt.len/wr:0,hn=ue.loading.first?ue.loading.first-ue.loading.start:-1,Zr=ue.loaded&&hn>-1,sn=this.getBwEstimate(),nn=P.levels,Vr=nn[Be],In=Math.max(ue.loaded,Math.round(de*(m.bitrate||Vr.averageBitrate)/8));let wi=Zr?Ee-hn:Ee;wi<1&&Zr&&(wi=Math.min(Ee,ue.loaded*8/sn));const ta=Zr?ue.loaded*1e3/wi:0,va=er/1e3,ra=ta?(In-ue.loaded)/ta:In*8/sn+va;if(ra<=zr)return;const di=ta?ta*8:sn,sa=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,Bi=this.hls.config.abrBandWidthUpFactor;let da=Number.POSITIVE_INFINITY,$a;for($a=Be-1;$a>Fe;$a--){const ys=nn[$a].maxBitrate,Es=!nn[$a].details||sa;if(da=this.getTimeToLoadFrag(va,di,de*ys,Es),da<Math.min(zr,de+va))break}if(da>=ra||da>de*10)return;Zr?this.bwEstimator.sample(Ee-Math.min(er,hn),ue.loaded):this.bwEstimator.sampleTTFB(Ee);const yi=nn[$a].maxBitrate;this.getBwEstimate()*Bi>yi&&this.resetEstimator(yi);const bi=this.findBestLevel(yi,Fe,$a,0,zr,1,1);bi>-1&&($a=bi),this.warn(`Fragment ${m.sn}${w?" part "+w.index:""} of level ${Be} is loading too slowly;
|
|
|
Fragment duration: ${m.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${zr.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${ra.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${da.toFixed(3)} s
|
|
|
TTFB estimate: ${hn|0} ms
|
|
|
Current BW estimate: ${r(sn)?sn|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${$a} @ ${yi|0} bps`),P.nextLoadLevel=P.nextAutoLevel=$a,this.clearTimer();const gs=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===$a&&$a>0){const ys=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${$a>0?"and switching down":""}
|
|
|
Fragment duration: ${m.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${ys.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,$a>Fe){let Es=this.findBestLevel(this.hls.levels[Fe].bitrate,Fe,$a,0,ys,1,1);Es===-1&&(Es=Fe),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Es,this.resetEstimator(this.hls.levels[Es].bitrate)}}};lt||ra>da*2?gs():this.timer=self.setInterval(gs,da*1e3),P.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:w,stats:ue})},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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(o.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=this.supportedCache=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(t,n){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.supportedCache={},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 s=n.frag;if(!this.ignoreFragment(s)){if(!s.bitrateTest){var m;this.fragCurrent=s,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 s=n.frag,{fragCurrent:m,partCurrent:w}=this;if(s&&m&&s.sn===m.sn&&s.level===m.level){const P=performance.now(),j=w?w.stats:s.stats,q=P-j.loading.start,G=j.loading.first?j.loading.first-j.loading.start:-1;if(j.loaded&&G>-1){const de=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(q-Math.min(de,G),j.loaded)}else this.bwEstimator.sampleTTFB(q)}break}}}getTimeToLoadFrag(t,n,s,m){const w=t+s/n,P=m?t+this.lastLevelLoadSec:0;return w+P}onLevelLoaded(t,n){const s=this.hls.config,{loading:m}=n.stats,w=m.end-m.first;r(w)&&(this.lastLevelLoadSec=w/1e3),n.details.live?this.bwEstimator.update(s.abrEwmaSlowLive,s.abrEwmaFastLive):this.bwEstimator.update(s.abrEwmaSlowVoD,s.abrEwmaFastVoD),this.timer>-1&&this._abandonRulesCheck(n.levelInfo)}onFragLoaded(t,{frag:n,part:s}){const m=s?s.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 w=s?s.duration:n.duration,P=this.hls.levels[n.level],j=(P.loaded?P.loaded.bytes:0)+m.loaded,q=(P.loaded?P.loaded.duration:0)+w;P.loaded={bytes:j,duration:q},P.realBitrate=Math.round(8*j/q)}if(n.bitrateTest){const w={stats:m,frag:n,part:s,id:n.type};this.onFragBuffered(o.FRAG_BUFFERED,w),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:s,part:m}=n,w=m!=null&&m.stats.loaded?m.stats:s.stats;if(w.aborted||this.ignoreFragment(s))return;const P=w.parsing.end-w.loading.start-Math.min(w.loading.first-w.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(P,w.loaded),w.bwEstimate=this.getBwEstimate(),s.bitrateTest?this.bitrateTestDelay=P/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,s=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,w=this.findBestLevel(s,n,t,0,m,1,1);if(w>-1)return w;const P=this.hls.firstLevel,j=Math.min(Math.max(P,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${P} clamped to ${j}`),j}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const t=this.forcedAutoLevel,s=this.bwEstimator.canEstimate(),m=this.lastLoadedFragLevel>-1;if(t!==-1&&(!s||!m||this.nextAutoLevelKey===this.getAutoLevelKey()))return t;const w=s&&m?this.getNextABRAutoLevel():this.firstAutoLevel;if(t!==-1){const P=this.hls.levels;if(P.length>Math.max(t,w)&&P[t].loadError<=P[w].loadError)return t}return this._nextAutoLevel=w,this.nextAutoLevelKey=this.getAutoLevelKey(),w}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:t,partCurrent:n,hls:s}=this;if(s.levels.length<=1)return s.loadLevel;const{maxAutoLevel:m,config:w,minAutoLevel:P}=s,j=n?n.duration:t?t.duration:0,q=this.getBwEstimate(),G=this.getStarvationDelay();let ue=w.abrBandWidthFactor,de=w.abrBandWidthUpFactor;if(G){const lt=this.findBestLevel(q,P,m,G,0,ue,de);if(lt>=0)return this.rebufferNotice=-1,lt}let Ee=j?Math.min(j,w.maxStarvationDelay):w.maxStarvationDelay;if(!G){const lt=this.bitrateTestDelay;lt&&(Ee=(j?Math.min(j,w.maxLoadingDelay):w.maxLoadingDelay)-lt,this.info(`bitrate test took ${Math.round(1e3*lt)}ms, set first fragment max fetchDuration to ${Math.round(1e3*Ee)} ms`),ue=de=1)}const Fe=this.findBestLevel(q,P,m,G,Ee,ue,de);if(this.rebufferNotice!==Fe&&(this.rebufferNotice=Fe,this.info(`${G?"rebuffering expected":"buffer is empty"}, optimal quality level ${Fe}`)),Fe>-1)return Fe;const Be=s.levels[P],ct=s.loadLevelObj;return ct&&(Be==null?void 0:Be.bitrate)<ct.bitrate?P:s.loadLevel}getStarvationDelay(){const t=this.hls,n=t.media;if(!n)return 1/0;const s=n&&n.playbackRate!==0?Math.abs(n.playbackRate):1,m=t.mainForwardBufferInfo;return(m?m.len:0)/s}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,s,m,w,P,j){var q;const G=m+w,ue=this.lastLoadedFragLevel,de=ue===-1?this.hls.firstLevel:ue,{fragCurrent:Ee,partCurrent:Fe}=this,{levels:Be,allAudioTracks:ct,loadLevel:lt,config:Gt}=this.hls;if(Be.length===1)return 0;const Jt=Be[de],er=!!((q=this.hls.latestLevelDetails)!=null&&q.live),wr=lt===-1||ue===-1;let zr,hn="SDR",Zr=(Jt==null?void 0:Jt.frameRate)||0;const{audioPreference:sn,videoPreference:nn}=Gt,Vr=this.audioTracksByGroup||(this.audioTracksByGroup=xi(ct));let In=-1;if(wr){if(this.firstSelection!==-1)return this.firstSelection;const di=this.codecTiers||(this.codecTiers=xe(Be,Vr,n,s)),sa=oi(di,hn,t,sn,nn),{codecSet:Bi,videoRanges:da,minFramerate:$a,minBitrate:yi,minIndex:bi,preferHDR:gs}=sa;In=bi,zr=Bi,hn=gs?da[da.length-1]:da[0],Zr=$a,t=Math.max(t,yi),this.log(`picked start tier ${Ai(sa)}`)}else zr=Jt==null?void 0:Jt.codecSet,hn=Jt==null?void 0:Jt.videoRange;const wi=Fe?Fe.duration:Ee?Ee.duration:0,ta=this.bwEstimator.getEstimateTTFB()/1e3,va=[];for(let di=s;di>=n;di--){var ra;const sa=Be[di],Bi=di>de;if(!sa)continue;if(Gt.useMediaCapabilities&&!sa.supportedResult&&!sa.supportedPromise){const Es=navigator.mediaCapabilities;typeof(Es==null?void 0:Es.decodingInfo)=="function"&>(sa,Vr,hn,Zr,t,sn)?(sa.supportedPromise=Nt(sa,Vr,Es,this.supportedCache),sa.supportedPromise.then(Zs=>{if(!this.hls)return;sa.supportedResult=Zs;const mu=this.hls.levels,ya=mu.indexOf(sa);Zs.error?this.warn(`MediaCapabilities decodingInfo error: "${Zs.error}" for level ${ya} ${Ai(Zs)}`):Zs.supported?Zs.decodingInfoResults.some(sc=>sc.smooth===!1||sc.powerEfficient===!1)&&this.log(`MediaCapabilities decodingInfo for level ${ya} not smooth or powerEfficient: ${Ai(Zs)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${ya} ${Ai(Zs)}`),ya>-1&&mu.length>1&&(this.log(`Removing unsupported level ${ya}`),this.hls.removeLevel(ya),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))}).catch(Zs=>{this.warn(`Error handling MediaCapabilities decodingInfo: ${Zs}`)})):sa.supportedResult=kt}if((zr&&sa.codecSet!==zr||hn&&sa.videoRange!==hn||Bi&&Zr>sa.frameRate||!Bi&&Zr>0&&Zr<sa.frameRate||(ra=sa.supportedResult)!=null&&(ra=ra.decodingInfoResults)!=null&&ra.some(Es=>Es.smooth===!1))&&(!wr||di!==In)){va.push(di);continue}const da=sa.details,$a=(Fe?da==null?void 0:da.partTarget:da==null?void 0:da.averagetargetduration)||wi;let yi;Bi?yi=j*t:yi=P*t;const bi=wi&&m>=wi*2&&w===0?sa.averageBitrate:sa.maxBitrate,gs=this.getTimeToLoadFrag(ta,yi,bi*$a,da===void 0);if(yi>=bi&&(di===ue||sa.loadError===0&&sa.fragmentError===0)&&(gs<=ta||!r(gs)||er&&!this.bitrateTestDelay||gs<G)){const Es=this.forcedAutoLevel;return di!==lt&&(Es===-1||Es!==lt)&&(va.length&&this.trace(`Skipped level(s) ${va.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Be[va[0]].codecs}" ${Be[va[0]].videoRange}; not compatible with "${zr}" ${hn}`),this.info(`switch candidate:${de}->${di} adjustedbw(${Math.round(yi)})-bitrate=${Math.round(yi-bi)} ttfb:${ta.toFixed(1)} avgDuration:${$a.toFixed(1)} maxFetchDuration:${G.toFixed(1)} fetchDuration:${gs.toFixed(1)} firstSelection:${wr} codecSet:${sa.codecSet} videoRange:${sa.videoRange} hls.loadLevel:${lt}`)),wr&&(this.firstSelection=di),di}}return-1}set nextAutoLevel(t){const n=this.deriveNextAutoLevel(t);this._nextAutoLevel!==n&&(this.nextAutoLevelKey="",this._nextAutoLevel=n)}deriveNextAutoLevel(t){const{maxAutoLevel:n,minAutoLevel:s}=this.hls;return Math.min(Math.max(t,s),n)}}const It={search:function(O,t){let n=0,s=O.length-1,m=null,w=null;for(;n<=s;){m=(n+s)/2|0,w=O[m];const P=t(w);if(P>0)n=m+1;else if(P<0)s=m-1;else return w}return null}};function ht(O,t,n){if(t===null||!Array.isArray(O)||!O.length||!r(t))return null;const s=O[0].programDateTime;if(t<(s||0))return null;const m=O[O.length-1].endProgramDateTime;if(t>=(m||0))return null;for(let w=0;w<O.length;++w){const P=O[w];if(Rr(t,n,P))return P}return null}function sr(O,t,n=0,s=0,m=.005){let w=null;if(O){w=t[1+O.sn-t[0].sn]||null;const j=O.endDTS-n;j>0&&j<15e-7&&(n+=15e-7),w&&O.level!==w.level&&w.end<=O.end&&(w=t[2+O.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(w=t[0]);if(w&&((!O||O.level===w.level)&&Cr(n,s,w)===0||cr(w,O,Math.min(m,s))))return w;const P=It.search(t,Cr.bind(null,n,s));return P&&(P!==O||!w)?P:w}function cr(O,t,n){if(t&&t.start===0&&t.level<O.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((m,w)=>(w[0]==="INF"&&(m+=parseFloat(w[1])),m),n);return O.start<=s}return!1}function Cr(O=0,t=0,n){if(n.start<=O&&n.start+n.duration>O)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=O?1:n.start-s>O&&n.start?-1:0}function Rr(O,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>O}function He(O,t,n){if(O&&O.startCC<=t&&O.endCC>=t){let s=O.fragments;const{fragmentHint:m}=O;m&&(s=s.concat(m));let w;return It.search(s,P=>P.cc<t?1:P.cc>t?-1:(w=P,P.end<=n?1:P.start>n?-1:0)),w||null}return null}function tt(O){switch(O.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 we(O){return O.details.startsWith("key")}function st(O){return we(O)&&!!O.frag&&!O.frag.decryptdata}function ar(O,t){const n=tt(t);return O.default[`${n?"timeout":"error"}Retry`]}function kr(O,t){const n=O.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*O.retryDelayMs,O.maxRetryDelayMs)}function Ir(O){return b(b({},O),{errorRetry:null,timeoutRetry:null})}function xr(O,t,n,s){if(!O)return!1;const m=s==null?void 0:s.code,w=t<O.maxNumRetry&&(jr(m)||!!n);return O.shouldRetry?O.shouldRetry(O,t,n,s,w):w}function jr(O){return En(O)||!!O&&(O<400||O>499)}function En(O){return O===0&&navigator.onLine===!1}var yr={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},cn={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,MoveAllAlternatesMatchingKey:4,SwitchToSDR:8};class an extends R{constructor(t){super("error-controller",t.logger),this.hls=void 0,this.playlistError=0,this.hls=t,this.registerListeners()}registerListeners(){const t=this.hls;t.on(o.ERROR,this.onError,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.ERROR,this.onError,this),t.off(o.ERROR,this.onErrorOut,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null}startLoad(t){}stopLoad(){this.playlistError=0}getVariantLevelIndex(t){return(t==null?void 0:t.type)===u.MAIN?t.level:this.getVariantIndex()}getVariantIndex(){var t;const n=this.hls,s=n.currentLevel;return(t=n.loadLevelObj)!=null&&t.details||s===-1?n.loadLevel:s}variantHasKey(t,n){if(t){var s;if((s=t.details)!=null&&s.hasKey(n))return!0;const m=t.audioGroups;if(m)return this.hls.allAudioTracks.filter(P=>m.indexOf(P.groupId)>=0).some(P=>{var j;return(j=P.details)==null?void 0:j.hasKey(n)})}return!1}onManifestLoading(){this.playlistError=0}onLevelUpdated(){this.playlistError=0}onError(t,n){var s;if(n.fatal)return;const m=this.hls,w=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((s=n.frag)!=null&&s.gap){n.errorAction=dn();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=yr.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var P;const q=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((P=n.context)!=null&&(P=P.levelDetails)!=null&&P.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,q):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,q))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(w==null?void 0:w.level)=="number"&&(n.errorAction=this.getPlaylistRetryOrSwitchAction(n,w.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(w){const q=m.loadLevelObj;if(q&&(w.type===h.AUDIO_TRACK&&q.hasAudioGroup(w.groupId)||w.type===h.SUBTITLE_TRACK&&q.hasSubtitleGroup(w.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=yr.SendAlternateToPenaltyBox,n.errorAction.flags=cn.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:n.errorAction={action:yr.SendAlternateToPenaltyBox,flags:cn.MoveAllAlternatesMatchingHDCP};return;case f.KEY_SYSTEM_SESSION_UPDATE_FAILED:case f.KEY_SYSTEM_STATUS_INTERNAL_ERROR:case f.KEY_SYSTEM_NO_SESSION:n.errorAction={action:yr.SendAlternateToPenaltyBox,flags:cn.MoveAllAlternatesMatchingKey};return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var j;n.errorAction=this.getLevelSwitchAction(n,(j=n.level)!=null?j: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=dn();return}n.type===c.KEY_SYSTEM_ERROR&&(n.levelRetry=!1,n.errorAction=dn())}getPlaylistRetryOrSwitchAction(t,n){const s=this.hls,m=ar(s.config.playlistLoadPolicy,t),w=this.playlistError++;if(xr(m,w,tt(t),t.response))return{action:yr.RetryRequest,flags:cn.None,retryConfig:m,retryCount:w};const j=this.getLevelSwitchAction(t,n);return m&&(j.retryConfig=m,j.retryCount=w),j}getFragRetryOrSwitchAction(t){const n=this.hls,s=this.getVariantLevelIndex(t.frag),m=n.levels[s],{fragLoadPolicy:w,keyLoadPolicy:P}=n.config,j=ar(we(t)?P:w,t),q=n.levels.reduce((ue,de)=>ue+de.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,!st(t)&&xr(j,q,tt(t),t.response)))return{action:yr.RetryRequest,flags:cn.None,retryConfig:j,retryCount:q};const G=this.getLevelSwitchAction(t,s);return j&&(G.retryConfig=j,G.retryCount=q),G}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const m=this.hls.levels[n];if(m){var w,P;const G=t.details;m.loadError++,G===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let ue=-1;const{levels:de,loadLevel:Ee,minAutoLevel:Fe,maxAutoLevel:Be}=s;!s.autoLevelEnabled&&!s.config.preserveManualLevelOnError&&(s.loadLevel=-1);const ct=(w=t.frag)==null?void 0:w.type,Gt=(ct===u.AUDIO&&G===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(G===f.BUFFER_ADD_CODEC_ERROR||G===f.BUFFER_APPEND_ERROR))&&de.some(({audioCodec:hn})=>m.audioCodec!==hn),er=t.sourceBufferName==="video"&&(G===f.BUFFER_ADD_CODEC_ERROR||G===f.BUFFER_APPEND_ERROR)&&de.some(({codecSet:hn,audioCodec:Zr})=>m.codecSet!==hn&&m.audioCodec===Zr),{type:wr,groupId:zr}=(P=t.context)!=null?P:{};for(let hn=de.length;hn--;){const Zr=(hn+Ee)%de.length;if(Zr!==Ee&&Zr>=Fe&&Zr<=Be&&de[Zr].loadError===0){var j,q;const sn=de[Zr];if(G===f.FRAG_GAP&&ct===u.MAIN&&t.frag){const nn=de[Zr].details;if(nn){const Vr=sr(t.frag,nn.fragments,t.frag.start);if(Vr!=null&&Vr.gap)continue}}else{if(wr===h.AUDIO_TRACK&&sn.hasAudioGroup(zr)||wr===h.SUBTITLE_TRACK&&sn.hasSubtitleGroup(zr))continue;if(ct===u.AUDIO&&(j=m.audioGroups)!=null&&j.some(nn=>sn.hasAudioGroup(nn))||ct===u.SUBTITLE&&(q=m.subtitleGroups)!=null&&q.some(nn=>sn.hasSubtitleGroup(nn))||Gt&&m.audioCodec===sn.audioCodec||er&&m.codecSet===sn.codecSet||!Gt&&m.codecSet!==sn.codecSet)continue}ue=Zr;break}}if(ue>-1&&s.loadLevel!==ue)return t.levelRetry=!0,this.playlistError=0,{action:yr.SendAlternateToPenaltyBox,flags:cn.None,nextAutoLevel:ue}}return{action:yr.SendAlternateToPenaltyBox,flags:cn.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.action){case yr.DoNothing:break;case yr.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 yr.RetryRequest:break}if(n.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(t){const n=this.hls,s=t.errorAction;if(!s)return;const{flags:m}=s,w=s.nextAutoLevel;switch(m){case cn.None:this.switchLevel(t,w);break;case cn.MoveAllAlternatesMatchingHDCP:{const q=this.getVariantLevelIndex(t.frag),G=n.levels[q],ue=G==null?void 0:G.attrs["HDCP-LEVEL"];if(s.hdcpLevel=ue,ue==="NONE")this.warn("HDCP policy resticted output with HDCP-LEVEL=NONE");else if(ue){n.maxHdcpLevel=Yn[Yn.indexOf(ue)-1],s.resolved=!0,this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}}case cn.MoveAllAlternatesMatchingKey:{const q=t.decryptdata;if(q){const G=this.hls.levels,ue=G.length;for(let Ee=ue;Ee--;)if(this.variantHasKey(G[Ee],q)){var P,j;this.log(`Banned key found in level ${Ee} (${G[Ee].bitrate}bps) or audio group "${(P=G[Ee].audioGroups)==null?void 0:P.join(",")}" (${(j=t.frag)==null?void 0:j.type} fragment) ${Q(q.keyId||[])}`),G[Ee].fragmentError++,G[Ee].loadError++,this.log(`Removing level ${Ee} with key error (${t.error})`),this.hls.removeLevel(Ee)}const de=t.frag;if(this.hls.levels.length<ue)s.resolved=!0;else if(de&&de.type!==u.MAIN){const Ee=de.decryptdata;Ee&&!q.matches(Ee)&&(s.resolved=!0)}}break}}s.resolved||this.switchLevel(t,w)}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 s=on(t.mimeType),m=this.hls.levels;for(let w=m.length;w--;)m[w][`${t.sourceBufferName}Codec`]===s&&(this.log(`Removing level ${w} for ${t.details} ("${s}" not supported)`),this.hls.removeLevel(w))}}}function dn(O){const t={action:yr.DoNothing,flags:cn.None};return O&&(t.resolved=!0),t}var mn={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Oa{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&&(t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this))}destroy(){this._unregisterListeners(),this.hls=this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const s=this.activePartLists[n];if(s)for(let m=s.length;m--;){const w=s[m];if(!w)break;if(w.start<=t&&t<=w.end&&w.loaded)return w}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,s){const{fragments:m}=this,w=Object.keys(m);for(let P=w.length;P--;){const j=m[w[P]];if((j==null?void 0:j.body.type)===n&&(!s||j.buffered)){const q=j.body;if(q.start<=t&&t<=q.end)return q}}return null}detectEvictedFragments(t,n,s,m,w){this.timeRanges&&(this.timeRanges[t]=n);const P=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(j=>{const q=this.fragments[j];if(!q||P>=q.body.sn)return;if(!q.buffered&&(!q.loaded||w)){q.body.type===s&&this.removeFragment(q.body);return}const G=q.range[t];if(G){if(G.time.length===0){this.removeFragment(q.body);return}G.time.some(ue=>{const de=!this.isTimeBuffered(ue.startPTS,ue.endPTS,n);return de&&this.removeFragment(q.body),de})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,m=gi(s),w=this.fragments[m];if(!w||w.buffered&&s.gap)return;const P=!s.relurl;Object.keys(n).forEach(j=>{const q=s.elementaryStreams[j];if(!q)return;const G=n[j],ue=P||q.partial===!0;w.range[j]=this.getBufferedTimes(s,t.part,ue,G)}),w.loaded=null,Object.keys(w.range).length?(w.buffered=!0,(w.body.endList=s.endList||w.body.endList)&&(this.endListFragments[w.body.type]=w),Ei(w)||this.removeParts(s.sn-1,s.type)):this.removeFragment(w.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=$n(s,m=>m.fragment.sn>=t))}fragBuffered(t,n){const s=gi(t);let m=this.fragments[s];!m&&n&&(m=this.fragments[s]={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,s,m){const w={time:[],partial:s},P=t.start,j=t.end,q=t.minEndPTS||j,G=t.maxStartPTS||P;for(let ue=0;ue<m.length;ue++){const de=m.start(ue)-this.bufferPadding,Ee=m.end(ue)+this.bufferPadding;if(G>=de&&q<=Ee){w.time.push({startPTS:Math.max(P,m.start(ue)),endPTS:Math.min(j,m.end(ue))});break}else if(P<Ee&&j>de){const Fe=Math.max(P,m.start(ue)),Be=Math.min(j,m.end(ue));Be>Fe&&(w.partial=!0,w.time.push({startPTS:Fe,endPTS:Be}))}else if(j<=de)break}return w}getPartialFragment(t){let n=null,s,m,w,P=0;const{bufferPadding:j,fragments:q}=this;return Object.keys(q).forEach(G=>{const ue=q[G];ue&&Ei(ue)&&(m=ue.body.start-j,w=ue.body.end+j,t>=m&&t<=w&&(s=Math.min(t-m,w-t),P<=s&&(n=ue.body,P=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Ei(n))}getState(t){const n=gi(t),s=this.fragments[n];return s?s.buffered?Ei(s)?mn.PARTIAL:mn.OK:mn.APPENDING:mn.NOT_LOADED}isTimeBuffered(t,n,s){let m,w;for(let P=0;P<s.length;P++){if(m=s.start(P)-this.bufferPadding,w=s.end(P)+this.bufferPadding,t>=m&&n<=w)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 s=n.frag,m=n.part?null:n,w=gi(s);this.fragments[w]={body:s,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:s,part:m,timeRanges:w,type:P}=n;if(s.sn==="initSegment")return;const j=s.type;if(m){let G=this.activePartLists[j];G||(this.activePartLists[j]=G=[]),G.push(m)}this.timeRanges=w;const q=w[P];this.detectEvictedFragments(P,q,j,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=gi(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,s=Object.keys(n);if(!t)return s.length>0;for(let m=s.length;m--;){const w=n[s[m]];if((w==null?void 0:w.body.type)===t)return!0}return!1}hasParts(t){var n;return!!((n=this.activePartLists[t])!=null&&n.length)}removeFragmentsInRange(t,n,s,m,w){m&&!this.hasGaps||Object.keys(this.fragments).forEach(P=>{const j=this.fragments[P];if(!j)return;const q=j.body;q.type!==s||m&&!q.gap||q.start<n&&q.end>t&&(j.buffered||w)&&this.removeFragment(q)})}removeFragment(t){const n=gi(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const m=t.sn;this.activePartLists[t.type]=$n(s,w=>w.fragment.sn!==m)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const n=(t=this.hls)==null||(t=t.latestLevelDetails)==null?void 0:t.partList;n&&n.forEach(s=>s.clearElementaryStreamInfo())}}function Ei(O){var t,n,s;return O.buffered&&!!(O.body.gap||(t=O.range.video)!=null&&t.partial||(n=O.range.audio)!=null&&n.partial||(s=O.range.audiovideo)!=null&&s.partial)}function gi(O){return`${O.type}_${O.level}_${O.sn}`}function $n(O,t){return O.filter(n=>{const s=t(n);return s||n.clearElementaryStreamInfo(),s})}var Pi={cbc:0,ctr:1};class Xi{constructor(t,n,s){this.subtle=void 0,this.aesIV=void 0,this.aesMode=void 0,this.subtle=t,this.aesIV=n,this.aesMode=s}decrypt(t,n){switch(this.aesMode){case Pi.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case Pi.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 Pa(O){const t=O.byteLength,n=t&&new DataView(O.buffer).getUint8(t-1);return n?O.slice(0,t-n):O}class qs{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),s=new Uint32Array(4);for(let m=0;m<4;m++)s[m]=n.getUint32(m*4);return s}initTable(){const t=this.sBox,n=this.invSBox,s=this.subMix,m=s[0],w=s[1],P=s[2],j=s[3],q=this.invSubMix,G=q[0],ue=q[1],de=q[2],Ee=q[3],Fe=new Uint32Array(256);let Be=0,ct=0,lt=0;for(lt=0;lt<256;lt++)lt<128?Fe[lt]=lt<<1:Fe[lt]=lt<<1^283;for(lt=0;lt<256;lt++){let Gt=ct^ct<<1^ct<<2^ct<<3^ct<<4;Gt=Gt>>>8^Gt&255^99,t[Be]=Gt,n[Gt]=Be;const Jt=Fe[Be],er=Fe[Jt],wr=Fe[er];let zr=Fe[Gt]*257^Gt*16843008;m[Be]=zr<<24|zr>>>8,w[Be]=zr<<16|zr>>>16,P[Be]=zr<<8|zr>>>24,j[Be]=zr,zr=wr*16843009^er*65537^Jt*257^Be*16843008,G[Gt]=zr<<24|zr>>>8,ue[Gt]=zr<<16|zr>>>16,de[Gt]=zr<<8|zr>>>24,Ee[Gt]=zr,Be?(Be=Jt^Fe[Fe[Fe[wr^Jt]]],ct^=Fe[Fe[ct]]):Be=ct=1}}expandKey(t){const n=this.uint8ArrayToUint32Array_(t);let s=!0,m=0;for(;m<n.length&&s;)s=n[m]===this.key[m],m++;if(s)return;this.key=n;const w=this.keySize=n.length;if(w!==4&&w!==6&&w!==8)throw new Error("Invalid aes key size="+w);const P=this.ksRows=(w+6+1)*4;let j,q;const G=this.keySchedule=new Uint32Array(P),ue=this.invKeySchedule=new Uint32Array(P),de=this.sBox,Ee=this.rcon,Fe=this.invSubMix,Be=Fe[0],ct=Fe[1],lt=Fe[2],Gt=Fe[3];let Jt,er;for(j=0;j<P;j++){if(j<w){Jt=G[j]=n[j];continue}er=Jt,j%w===0?(er=er<<8|er>>>24,er=de[er>>>24]<<24|de[er>>>16&255]<<16|de[er>>>8&255]<<8|de[er&255],er^=Ee[j/w|0]<<24):w>6&&j%w===4&&(er=de[er>>>24]<<24|de[er>>>16&255]<<16|de[er>>>8&255]<<8|de[er&255]),G[j]=Jt=(G[j-w]^er)>>>0}for(q=0;q<P;q++)j=P-q,q&3?er=G[j]:er=G[j-4],q<4||j<=4?ue[q]=er:ue[q]=Be[de[er>>>24]]^ct[de[er>>>16&255]]^lt[de[er>>>8&255]]^Gt[de[er&255]],ue[q]=ue[q]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,s){const m=this.keySize+6,w=this.invKeySchedule,P=this.invSBox,j=this.invSubMix,q=j[0],G=j[1],ue=j[2],de=j[3],Ee=this.uint8ArrayToUint32Array_(s);let Fe=Ee[0],Be=Ee[1],ct=Ee[2],lt=Ee[3];const Gt=new Int32Array(t),Jt=new Int32Array(Gt.length);let er,wr,zr,hn,Zr,sn,nn,Vr,In,wi,ta,va,ra,di;const sa=this.networkToHostOrderSwap;for(;n<Gt.length;){for(In=sa(Gt[n]),wi=sa(Gt[n+1]),ta=sa(Gt[n+2]),va=sa(Gt[n+3]),Zr=In^w[0],sn=va^w[1],nn=ta^w[2],Vr=wi^w[3],ra=4,di=1;di<m;di++)er=q[Zr>>>24]^G[sn>>16&255]^ue[nn>>8&255]^de[Vr&255]^w[ra],wr=q[sn>>>24]^G[nn>>16&255]^ue[Vr>>8&255]^de[Zr&255]^w[ra+1],zr=q[nn>>>24]^G[Vr>>16&255]^ue[Zr>>8&255]^de[sn&255]^w[ra+2],hn=q[Vr>>>24]^G[Zr>>16&255]^ue[sn>>8&255]^de[nn&255]^w[ra+3],Zr=er,sn=wr,nn=zr,Vr=hn,ra=ra+4;er=P[Zr>>>24]<<24^P[sn>>16&255]<<16^P[nn>>8&255]<<8^P[Vr&255]^w[ra],wr=P[sn>>>24]<<24^P[nn>>16&255]<<16^P[Vr>>8&255]<<8^P[Zr&255]^w[ra+1],zr=P[nn>>>24]<<24^P[Vr>>16&255]<<16^P[Zr>>8&255]<<8^P[sn&255]^w[ra+2],hn=P[Vr>>>24]<<24^P[Zr>>16&255]<<16^P[sn>>8&255]<<8^P[nn&255]^w[ra+3],Jt[n]=sa(er^Fe),Jt[n+1]=sa(hn^Be),Jt[n+2]=sa(zr^ct),Jt[n+3]=sa(wr^lt),Fe=In,Be=wi,ct=ta,lt=va,n=n+4}return Jt.buffer}}class ja{constructor(t,n,s){this.subtle=void 0,this.key=void 0,this.aesMode=void 0,this.subtle=t,this.key=n,this.aesMode=s}expandKey(){const t=Ws(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function Ws(O){switch(O){case Pi.cbc:return"AES-CBC";case Pi.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${O}`)}}const mo=16;class as{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 s=self.crypto;s&&(this.subtle=s.subtle||s.webkitSubtle)}catch(s){}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 s=new Uint8Array(t);return this.reset(),this.removePKCS7Padding?Pa(s):s}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,s,m){return this.useSoftware?new Promise((w,P)=>{const j=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(j,n,s,m);const q=this.flush();q?w(q.buffer):P(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,m)}softwareDecrypt(t,n,s,m){const{currentIV:w,currentResult:P,remainderData:j}=this;if(m!==Pi.cbc||n.byteLength!==16)return H.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),j&&(t=Wt(j,t),this.remainderData=null);const q=this.getValidChunk(t);if(!q.length)return null;w&&(s=w);let G=this.softwareDecrypter;G||(G=this.softwareDecrypter=new qs),G.expandKey(n);const ue=P;return this.currentResult=G.decrypt(q.buffer,0,s),this.currentIV=q.slice(-16).buffer,ue||null}webCryptoDecrypt(t,n,s,m){if(this.key!==n||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,n,s,m));this.key=n,this.fastAesKey=new ja(this.subtle,n,m)}return this.fastAesKey.expandKey().then(w=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new Xi(this.subtle,new Uint8Array(s),m).decrypt(t.buffer,w)):Promise.reject(new Error("web crypto not initialized"))).catch(w=>(H.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${w.name}: ${w.message}`),this.onWebCryptoError(t,n,s,m)))}onWebCryptoError(t,n,s,m){const w=this.enableSoftwareAES;if(w){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,s,m);const P=this.flush();if(P)return P.buffer}throw new Error("WebCrypto"+(w?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const s=t.length-t.length%mo;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(H.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const Aa=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 s=t.url;if(!s)return Promise.reject(new zi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,error:new Error(`Fragment does not have a ${s?"part list":"url"}`),networkDetails:null}));this.abort();const m=this.config,w=m.fLoader,P=m.loader;return new Promise((j,q)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Be=>Be[0]==="GAP")){q(_s(t));return}else t.gap=!1;const G=this.loader=w?new w(m):new P(m),ue=Gs(t);t.loader=G;const de=Ir(m.fragLoadPolicy.default),Ee={loadPolicy:de,timeout:de.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:Aa};t.stats=G.stats;const Fe={onSuccess:(Be,ct,lt,Gt)=>{this.resetLoader(t,G);let Jt=Be.data;lt.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(Jt.slice(0,16)),Jt=Jt.slice(16)),j({frag:t,part:null,payload:Jt,networkDetails:Gt})},onError:(Be,ct,lt,Gt)=>{this.resetLoader(t,G),q(new zi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},Be),error:new Error(`HTTP Error ${Be.code} ${Be.text}`),networkDetails:lt,stats:Gt}))},onAbort:(Be,ct,lt)=>{this.resetLoader(t,G),q(new zi({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:lt,stats:Be}))},onTimeout:(Be,ct,lt)=>{this.resetLoader(t,G),q(new zi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${Ee.timeout}ms`),networkDetails:lt,stats:Be}))}};n&&(Fe.onProgress=(Be,ct,lt,Gt)=>n({frag:t,part:null,payload:lt,networkDetails:Gt})),G.load(ue,Ee,Fe)})}loadPart(t,n,s){this.abort();const m=this.config,w=m.fLoader,P=m.loader;return new Promise((j,q)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){q(_s(t,n));return}const G=this.loader=w?new w(m):new P(m),ue=Gs(t,n);t.loader=G;const de=Ir(m.fragLoadPolicy.default),Ee={loadPolicy:de,timeout:de.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Aa};n.stats=G.stats,G.load(ue,Ee,{onSuccess:(Fe,Be,ct,lt)=>{this.resetLoader(t,G),this.updateStatsFromPart(t,n);const Gt={frag:t,part:n,payload:Fe.data,networkDetails:lt};s(Gt),j(Gt)},onError:(Fe,Be,ct,lt)=>{this.resetLoader(t,G),q(new zi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:ue.url,data:void 0},Fe),error:new Error(`HTTP Error ${Fe.code} ${Fe.text}`),networkDetails:ct,stats:lt}))},onAbort:(Fe,Be,ct)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,G),q(new zi({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:ct,stats:Fe}))},onTimeout:(Fe,Be,ct)=>{this.resetLoader(t,G),q(new zi({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${Ee.timeout}ms`),networkDetails:ct,stats:Fe}))}})})}updateStatsFromPart(t,n){const s=t.stats,m=n.stats,w=m.total;if(s.loaded+=m.loaded,w){const q=Math.round(t.duration/n.duration),G=Math.min(Math.round(s.loaded/w),q),de=(q-G)*Math.round(s.loaded/G);s.total=s.loaded+de}else s.total=Math.max(s.loaded,s.total);const P=s.loading,j=m.loading;P.start?P.first+=j.first-j.start:(P.start=j.start,P.first=j.first),P.end=j.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function Gs(O,t=null){const n=t||O,s={frag:O,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,w=n.byteRangeEndOffset;if(r(m)&&r(w)){var P;let j=m,q=w;if(O.sn==="initSegment"&&Js((P=O.decryptdata)==null?void 0:P.method)){const G=w-m;G%16&&(q=w+(16-G%16)),m!==0&&(s.resetIV=!0,j=m-16)}s.rangeStart=j,s.rangeEnd=q}return s}function _s(O,t){const n=new Error(`GAP ${O.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:O,error:n,networkDetails:null};return t&&(s.part=t),(t||O).stats.aborted=!0,new zi(s)}function Js(O){return O==="AES-128"||O==="AES-256"}class zi extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class Xs extends R{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 No{constructor(t,n,s,m=0,w=-1,P=!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=Ga(),this.buffering={audio:Ga(),video:Ga(),audiovideo:Ga()},this.level=t,this.sn=n,this.id=s,this.size=m,this.part=w,this.partial=P}}function Ga(){return{start:0,executeStart:0,executeEnd:0,end:0}}const Fs={length:0,start:()=>0,end:()=>0};class ci{static isBuffered(t,n){if(t){const s=ci.getBuffered(t);for(let m=s.length;m--;)if(n>=s.start(m)&&n<=s.end(m))return!0}return!1}static bufferedRanges(t){if(t){const n=ci.getBuffered(t);return ci.timeRangesToArray(n)}return[]}static timeRangesToArray(t){const n=[];for(let s=0;s<t.length;s++)n.push({start:t.start(s),end:t.end(s)});return n}static bufferInfo(t,n,s){if(t){const m=ci.bufferedRanges(t);if(m.length)return ci.bufferedInfo(m,n,s)}return{len:0,start:n,end:n,bufferedIndex:-1}}static bufferedInfo(t,n,s){n=Math.max(0,n),t.length>1&&t.sort((ue,de)=>ue.start-de.start||de.end-ue.end);let m=-1,w=[];if(s)for(let ue=0;ue<t.length;ue++){n>=t[ue].start&&n<=t[ue].end&&(m=ue);const de=w.length;if(de){const Ee=w[de-1].end;t[ue].start-Ee<s?t[ue].end>Ee&&(w[de-1].end=t[ue].end):w.push(t[ue])}else w.push(t[ue])}else w=t;let P=0,j,q=n,G=n;for(let ue=0;ue<w.length;ue++){const de=w[ue].start,Ee=w[ue].end;if(m===-1&&n>=de&&n<=Ee&&(m=ue),n+s>=de&&n<Ee)q=de,G=Ee,P=G-n;else if(n+s<de){j=de;break}}return{len:P,start:q||0,end:G||0,nextStart:j,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||Fs}catch(n){return H.log("failed to get media.buffered",n),Fs}}}const oo=/\{\$([a-zA-Z0-9-_]+)\}/g;function Fn(O){return oo.test(O)}function os(O,t){if(O.variableList!==null||O.hasVariableRefs){const n=O.variableList;return t.replace(oo,s=>{const m=s.substring(2,s.length-1),w=n==null?void 0:n[m];return w===void 0?(O.playlistParsingError||(O.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),s):w})}return t}function Oo(O,t,n){let s=O.variableList;s||(O.variableList=s={});let m,w;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const P=new self.URL(n).searchParams;if(P.has(m))w=P.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(P){O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${P.message}`))}}else m=t.NAME,w=t.VALUE;m in s?O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):s[m]=w||""}function eo(O,t,n){const s=t.IMPORT;if(n&&s in n){let m=O.variableList;m||(O.variableList=m={}),m[s]=n[s]}else O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const ha=/^(\d+)x(\d+)$/,ns=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Qi{constructor(t,n){typeof t=="string"&&(t=Qi.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 s=new Uint8Array(n.length/2);for(let m=0;m<n.length/2;m++)s[m]=parseInt(n.slice(m*2,m*2+2),16);return s}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 s=this[t];return s?parseFloat(s):n}enumeratedString(t){return this[t]}enumeratedStringList(t,n){const s=this[t];return(s?s.split(/[ ,]+/):[]).reduce((m,w)=>(m[w.toLowerCase()]=!0,m),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=ha.exec(this[t]);if(n!==null)return{width:parseInt(n[1],10),height:parseInt(n[2],10)}}static parseAttrList(t,n){let s;const m={},w='"';for(ns.lastIndex=0;(s=ns.exec(t))!==null;){const P=s[1].trim();let j=s[2];const q=j.indexOf(w)===0&&j.lastIndexOf(w)===j.length-1;let G=!1;if(q)j=j.slice(1,-1);else switch(P){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":G=!0}if(n&&(q||G))j=os(n,j);else if(!G&&!q)switch(P){case"CLOSED-CAPTIONS":if(j==="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":H.warn(`${t}: attribute ${P} is missing quotes`)}m[P]=j}return m}}const js="com.apple.hls.interstitial";function wo(O){return O!=="ID"&&O!=="CLASS"&&O!=="CUE"&&O!=="START-DATE"&&O!=="DURATION"&&O!=="END-DATE"&&O!=="END-ON-NEXT"}function Qo(O){return O==="SCTE35-OUT"||O==="SCTE35-IN"||O==="SCTE35-CMD"}class Uo{constructor(t,n,s=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:s,n){const w=n.attr;for(const P in w)if(Object.prototype.hasOwnProperty.call(t,P)&&t[P]!==w[P]){H.warn(`DATERANGE tag attribute: "${P}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=P;break}t=y(new Qi({}),w,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 w=(n==null?void 0:n.endDate)||new Date(this.attr["END-DATE"]);r(w.getTime())&&(this._endDate=w)}}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?(H.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===js}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 uo=10;class Eo{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,s=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!s||!!n||!this.live,this.advanced=this.endSN>t.endSN||n>0||n===0&&s>0,this.updated||this.advanced?this.misses=Math.floor(t.misses*.6):this.misses=t.misses+1}hasKey(t){return this.encryptedFragments.some(n=>{let s=n.decryptdata;return s||(n.setKeyFormat(t.keyFormat),s=n.decryptdata),!!s&&t.matches(s)})}get hasProgramDateTime(){return this.fragments.length?r(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||uo}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(){return this.fragments.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){return this.fragments.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 s=t.length;s--;)if(t[s].index>n)return t[s].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 ko(O,t){return O.length===t.length?!O.some((n,s)=>n!==t[s]):!1}function zo(O,t){return!O&&!t?!0:!O||!t?!1:ko(O,t)}function Ro(O){return O==="AES-128"||O==="AES-256"||O==="AES-256-CTR"}function Zo(O){switch(O){case"AES-128":case"AES-256":return Pi.cbc;case"AES-256-CTR":return Pi.ctr;default:throw new Error(`invalid full segment method ${O}`)}}function eu(O){return Uint8Array.from(atob(O),t=>t.charCodeAt(0))}function _i(O){return Uint8Array.from(unescape(encodeURIComponent(O)),t=>t.charCodeAt(0))}function mi(O){const t=_i(O).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function us(O){const t=function(s,m,w){const P=s[m];s[m]=s[w],s[w]=P};t(O,0,3),t(O,1,2),t(O,4,5),t(O,6,7)}function ms(O){const t=O.split(":");let n=null;if(t[0]==="data"&&t.length===2){const s=t[1].split(";"),m=s[s.length-1].split(",");if(m.length===2){const w=m[0]==="base64",P=m[1];w?(s.splice(-1,1),n=eu(P)):n=mi(P)}}return n}const Ka=typeof self!="undefined"?self:void 0;var Va={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},As={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function uu(O){switch(O){case As.FAIRPLAY:return Va.FAIRPLAY;case As.PLAYREADY:return Va.PLAYREADY;case As.WIDEVINE:return Va.WIDEVINE;case As.CLEARKEY:return Va.CLEARKEY}}function Ts(O){switch(O){case Va.FAIRPLAY:return As.FAIRPLAY;case Va.PLAYREADY:return As.PLAYREADY;case Va.WIDEVINE:return As.WIDEVINE;case Va.CLEARKEY:return As.CLEARKEY}}function lu(O){const{drmSystems:t,widevineLicenseUrl:n}=O,s=t?[Va.FAIRPLAY,Va.WIDEVINE,Va.PLAYREADY,Va.CLEARKEY].filter(m=>!!t[m]):[];return!s[Va.WIDEVINE]&&n&&s.push(Va.WIDEVINE),s}const yu=function(O){return Ka!=null&&(O=Ka.navigator)!=null&&O.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Cu(O,t,n,s){let m;switch(O){case Va.FAIRPLAY:m=["cenc","sinf"];break;case Va.WIDEVINE:case Va.PLAYREADY:m=["cenc"];break;case Va.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${O}`)}return Fu(m,t,n,s)}function Fu(O,t,n,s){return[{initDataTypes:O,persistentState:s.persistentState||"optional",distinctiveIdentifier:s.distinctiveIdentifier||"optional",sessionTypes:s.sessionTypes||[s.sessionType||"temporary"],audioCapabilities:t.map(w=>({contentType:`audio/mp4; codecs=${w}`,robustness:s.audioRobustness||"",encryptionScheme:s.audioEncryptionScheme||null})),videoCapabilities:n.map(w=>({contentType:`video/mp4; codecs=${w}`,robustness:s.videoRobustness||"",encryptionScheme:s.videoEncryptionScheme||null}))}]}function xl(O){var t;return!!O&&(O.sessionType==="persistent-license"||!!((t=O.sessionTypes)!=null&&t.some(n=>n==="persistent-license")))}function Ho(O){const t=new Uint16Array(O.buffer,O.byteOffset,O.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),P=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(P){const j=P.childNodes[0]?P.childNodes[0].nodeValue:P.getAttribute("VALUE");if(j){const q=eu(j).subarray(0,16);return us(q),q}}return null}let Lo={};class Mo{static clearKeyUriToKeyIdMap(){Lo={}}static setKeyIdForUri(t,n){Lo[t]=n}constructor(t,n,s,m=[1],w=null,P){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=s,this.keyFormatVersions=m,this.iv=w,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!Ro(t),P!=null&&P.startsWith("0x")&&(this.keyId=new Uint8Array(K(P)))}matches(t){return t.uri===this.uri&&t.method===this.method&&t.encrypted===this.encrypted&&t.keyFormat===this.keyFormat&&ko(t.keyFormatVersions,this.keyFormatVersions)&&zo(t.iv,this.iv)&&zo(t.keyId,this.keyId)}isSupported(){if(this.method){if(Ro(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case As.FAIRPLAY:case As.WIDEVINE:case As.PLAYREADY:case As.CLEARKEY:return["SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t,n){if(!this.encrypted||!this.uri)return null;if(Ro(this.method)){let w=this.iv;return w||(typeof t!="number"&&(H.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0),w=Zu(t)),new Mo(this.method,this.uri,"identity",this.keyFormatVersions,w)}if(this.keyId){const w=Lo[this.uri];if(w&&!ko(this.keyId,w)&&Mo.setKeyIdForUri(this.uri,this.keyId),this.pssh)return this}const s=ms(this.uri);if(s)switch(this.keyFormat){case As.WIDEVINE:if(this.pssh=s,!this.keyId){const w=Dt(s.buffer);if(w.length){var m;const P=w[0];this.keyId=(m=P.kids)!=null&&m.length?P.kids[0]:null}}this.keyId||(this.keyId=vo(n));break;case As.PLAYREADY:{const w=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=pe(w,null,s),this.keyId=Ho(s);break}default:{let w=s.subarray(0,16);if(w.length!==16){const P=new Uint8Array(16);P.set(w,16-w.length),w=P}this.keyId=w;break}}if(!this.keyId||this.keyId.byteLength!==16){let w;w=zu(n),w||(w=vo(n),w||(w=Lo[this.uri])),w&&(this.keyId=w,Mo.setKeyIdForUri(this.uri,w))}return this}}function zu(O){const t=O==null?void 0:O[As.WIDEVINE];return t?t.keyId:null}function vo(O){const t=O==null?void 0:O[As.PLAYREADY];if(t){const n=ms(t.uri);if(n)return Ho(n)}return null}function Zu(O){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=O>>8*(15-n)&255;return t}const Pu=/#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,cu=/#EXT-X-MEDIA:(.*)/g,vu=/^#EXT(?:INF|-X-TARGETDURATION):/m,to=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),To=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 fu{static findGroup(t,n){for(let s=0;s<t.length;s++){const m=t[s];if(m.id===n)return m}}static resolve(t,n){return z.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return vu.test(t)}static parseMasterPlaylist(t,n){const s=Fn(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},w=[];if(Pu.lastIndex=0,!t.startsWith("#EXTM3U"))return m.playlistParsingError=new Error("no EXTM3U delimiter"),m;let P;for(;(P=Pu.exec(t))!=null;)if(P[1]){var j;const G=new Qi(P[1],m),ue=os(m,P[2]),de={attrs:G,bitrate:G.decimalInteger("BANDWIDTH")||G.decimalInteger("AVERAGE-BANDWIDTH"),name:G.NAME,url:fu.resolve(ue,n)},Ee=G.decimalResolution("RESOLUTION");Ee&&(de.width=Ee.width,de.height=Ee.height),Sr(G.CODECS,de);const Fe=G["SUPPLEMENTAL-CODECS"];Fe&&(de.supplemental={},Sr(Fe,de.supplemental)),(j=de.unknownCodecs)!=null&&j.length||w.push(de),m.levels.push(de)}else if(P[3]){const G=P[3],ue=P[4];switch(G){case"SESSION-DATA":{const de=new Qi(ue,m),Ee=de["DATA-ID"];Ee&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[Ee]=de);break}case"SESSION-KEY":{const de=ir(ue,n,m);de.encrypted&&de.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(de)):H.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${ue}"`);break}case"DEFINE":{{const de=new Qi(ue,m);Oo(m,de,n)}break}case"CONTENT-STEERING":{const de=new Qi(ue,m);m.contentSteering={uri:fu.resolve(de["SERVER-URI"],n),pathwayId:de["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=dr(ue);break}}}const q=w.length>0&&w.length<m.levels.length;return m.levels=q?w:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,s){let m;const w={},P=s.levels,j={AUDIO:P.map(G=>({id:G.attrs.AUDIO,audioCodec:G.audioCodec})),SUBTITLES:P.map(G=>({id:G.attrs.SUBTITLES,textCodec:G.textCodec})),"CLOSED-CAPTIONS":[]};let q=0;for(cu.lastIndex=0;(m=cu.exec(t))!==null;){const G=new Qi(m[1],s),ue=G.TYPE;if(ue){const de=j[ue],Ee=w[ue]||[];w[ue]=Ee;const Fe=G.LANGUAGE,Be=G["ASSOC-LANGUAGE"],ct=G.CHANNELS,lt=G.CHARACTERISTICS,Gt=G["INSTREAM-ID"],Jt={attrs:G,bitrate:0,id:q++,groupId:G["GROUP-ID"]||"",name:G.NAME||Fe||"",type:ue,default:G.bool("DEFAULT"),autoselect:G.bool("AUTOSELECT"),forced:G.bool("FORCED"),lang:Fe,url:G.URI?fu.resolve(G.URI,n):""};if(Be&&(Jt.assocLang=Be),ct&&(Jt.channels=ct),lt&&(Jt.characteristics=lt),Gt&&(Jt.instreamId=Gt),de!=null&&de.length){const er=fu.findGroup(de,Jt.groupId)||de[0];vn(Jt,er,"audioCodec"),vn(Jt,er,"textCodec")}Ee.push(Jt)}}return w}static parseLevelPlaylist(t,n,s,m,w,P){var j;const q={url:n},G=new Eo(n),ue=G.fragments,de=[];let Ee=null,Fe=0,Be=0,ct=0,lt=0,Gt=0,Jt=null,er=new ke(m,q),wr,zr,hn,Zr=-1,sn=!1,nn=null,Vr;if(to.lastIndex=0,G.m3u8=t,G.hasVariableRefs=Fn(t),((j=to.exec(t))==null?void 0:j[0])!=="#EXTM3U")return G.playlistParsingError=new Error("Missing format identifier #EXTM3U"),G;for(;(wr=to.exec(t))!==null;){sn&&(sn=!1,er=new ke(m,q),er.playlistOffset=ct,er.setStart(ct),er.sn=Fe,er.cc=lt,Gt&&(er.bitrate=Gt),er.level=s,Ee&&(er.initSegment=Ee,Ee.rawProgramDateTime&&(er.rawProgramDateTime=Ee.rawProgramDateTime,Ee.rawProgramDateTime=null),nn&&(er.setByteRange(nn),nn=null)));const va=wr[1];if(va){er.duration=parseFloat(va);const ra=(" "+wr[2]).slice(1);er.title=ra||null,er.tagList.push(ra?["INF",va,ra]:["INF",va])}else if(wr[3]){if(r(er.duration)){er.playlistOffset=ct,er.setStart(ct),hn&&ui(er,hn,G),er.sn=Fe,er.level=s,er.cc=lt,ue.push(er);const ra=(" "+wr[3]).slice(1);er.relurl=os(G,ra),Dn(er,Jt,de),Jt=er,ct+=er.duration,Fe++,Be=0,sn=!0}}else{if(wr=wr[0].match(To),!wr){H.warn("No matches on slow regex match for level playlist!");continue}for(zr=1;zr<wr.length&&wr[zr]===void 0;zr++);const ra=(" "+wr[zr]).slice(1),di=(" "+wr[zr+1]).slice(1),sa=wr[zr+2]?(" "+wr[zr+2]).slice(1):null;switch(ra){case"BYTERANGE":Jt?er.setByteRange(di,Jt):er.setByteRange(di);break;case"PROGRAM-DATE-TIME":er.rawProgramDateTime=di,er.tagList.push(["PROGRAM-DATE-TIME",di]),Zr===-1&&(Zr=ue.length);break;case"PLAYLIST-TYPE":G.type&&ei(G,ra,wr),G.type=di.toUpperCase();break;case"MEDIA-SEQUENCE":G.startSN!==0?ei(G,ra,wr):ue.length>0&&ur(G,ra,wr),Fe=G.startSN=parseInt(di);break;case"SKIP":{G.skippedSegments&&ei(G,ra,wr);const Bi=new Qi(di,G),da=Bi.decimalInteger("SKIPPED-SEGMENTS");if(r(da)){G.skippedSegments+=da;for(let yi=da;yi--;)ue.push(null);Fe+=da}const $a=Bi.enumeratedString("RECENTLY-REMOVED-DATERANGES");$a&&(G.recentlyRemovedDateranges=(G.recentlyRemovedDateranges||[]).concat($a.split(" ")));break}case"TARGETDURATION":G.targetduration!==0&&ei(G,ra,wr),G.targetduration=Math.max(parseInt(di),1);break;case"VERSION":G.version!==null&&ei(G,ra,wr),G.version=parseInt(di);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":G.live||ei(G,ra,wr),G.live=!1;break;case"#":(di||sa)&&er.tagList.push(sa?[di,sa]:[di]);break;case"DISCONTINUITY":lt++,er.tagList.push(["DIS"]);break;case"GAP":er.gap=!0,er.tagList.push([ra]);break;case"BITRATE":er.tagList.push([ra,di]),Gt=parseInt(di)*1e3,r(Gt)?er.bitrate=Gt:Gt=0;break;case"DATERANGE":{const Bi=new Qi(di,G),da=new Uo(Bi,G.dateRanges[Bi.ID],G.dateRangeTagCount);G.dateRangeTagCount++,da.isValid||G.skippedSegments?G.dateRanges[da.id]=da:H.warn(`Ignoring invalid DATERANGE tag: "${di}"`),er.tagList.push(["EXT-X-DATERANGE",di]);break}case"DEFINE":{{const Bi=new Qi(di,G);"IMPORT"in Bi?eo(G,Bi,P):Oo(G,Bi,n)}break}case"DISCONTINUITY-SEQUENCE":G.startCC!==0?ei(G,ra,wr):ue.length>0&&ur(G,ra,wr),G.startCC=lt=parseInt(di);break;case"KEY":{const Bi=ir(di,n,G);if(Bi.isSupported()){if(Bi.method==="NONE"){hn=void 0;break}hn||(hn={});const da=hn[Bi.keyFormat];da!=null&&da.matches(Bi)||(da&&(hn=y({},hn)),hn[Bi.keyFormat]=Bi)}else H.warn(`[Keys] Ignoring unsupported EXT-X-KEY tag: "${di}"`);break}case"START":G.startTimeOffset=dr(di);break;case"MAP":{const Bi=new Qi(di,G);if(er.duration){const da=new ke(m,q);jn(da,Bi,s,hn),Ee=da,er.initSegment=Ee,Ee.rawProgramDateTime&&!er.rawProgramDateTime&&(er.rawProgramDateTime=Ee.rawProgramDateTime)}else{const da=er.byteRangeEndOffset;if(da){const $a=er.byteRangeStartOffset;nn=`${da-$a}@${$a}`}else nn=null;jn(er,Bi,s,hn),Ee=er,sn=!0}Ee.cc=lt;break}case"SERVER-CONTROL":{Vr&&ei(G,ra,wr),Vr=new Qi(di),G.canBlockReload=Vr.bool("CAN-BLOCK-RELOAD"),G.canSkipUntil=Vr.optionalFloat("CAN-SKIP-UNTIL",0),G.canSkipDateRanges=G.canSkipUntil>0&&Vr.bool("CAN-SKIP-DATERANGES"),G.partHoldBack=Vr.optionalFloat("PART-HOLD-BACK",0),G.holdBack=Vr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{G.partTarget&&ei(G,ra,wr);const Bi=new Qi(di);G.partTarget=Bi.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Bi=G.partList;Bi||(Bi=G.partList=[]);const da=Be>0?Bi[Bi.length-1]:void 0,$a=Be++,yi=new Qi(di,G),bi=new We(yi,er,q,$a,da);Bi.push(bi),er.duration+=bi.duration;break}case"PRELOAD-HINT":{const Bi=new Qi(di,G);G.preloadHint=Bi;break}case"RENDITION-REPORT":{const Bi=new Qi(di,G);G.renditionReports=G.renditionReports||[],G.renditionReports.push(Bi);break}default:H.warn(`line parsed but not handled: ${wr}`);break}}}Jt&&!Jt.relurl?(ue.pop(),ct-=Jt.duration,G.partList&&(G.fragmentHint=Jt)):G.partList&&(Dn(er,Jt,de),er.cc=lt,G.fragmentHint=er,hn&&ui(er,hn,G)),G.targetduration||(G.playlistParsingError=new Error("Missing Target Duration"));const In=ue.length,wi=ue[0],ta=ue[In-1];if(ct+=G.skippedSegments*G.targetduration,ct>0&&In&&ta){G.averagetargetduration=ct/In;const va=ta.sn;G.endSN=va!=="initSegment"?va:0,G.live||(ta.endList=!0),Zr>0&&(Wn(ue,Zr),wi&&de.unshift(wi))}return G.fragmentHint&&(ct+=G.fragmentHint.duration),G.totalduration=ct,de.length&&G.dateRangeTagCount&&wi&&Xt(de,G),G.endCC=lt,G}}function Xt(O,t){let n=O.length;if(!n)if(t.hasProgramDateTime){const j=t.fragments[t.fragments.length-1];O.push(j),n++}else return;const s=O[n-1],m=t.live?1/0:t.totalduration,w=Object.keys(t.dateRanges);for(let j=w.length;j--;){const q=t.dateRanges[w[j]],G=q.startDate.getTime();q.tagAnchor=s.ref;for(let ue=n;ue--;){var P;if(((P=O[ue])==null?void 0:P.sn)<t.startSN)break;const de=fr(t,G,O,ue,m);if(de!==-1){q.tagAnchor=t.fragments[de].ref;break}}}}function fr(O,t,n,s,m){const w=n[s];if(w){const j=w.programDateTime;if(t>=j||s===0){var P;const q=(((P=n[s+1])==null?void 0:P.start)||m)-w.start;if(t<=j+q*1e3){const G=n[s].sn-O.startSN;if(G<0)return-1;const ue=O.fragments;if(ue.length>n.length){const Ee=(n[s+1]||ue[ue.length-1]).sn-O.startSN;for(let Fe=Ee;Fe>G;Fe--){const Be=ue[Fe].programDateTime;if(t>=Be&&t<Be+ue[Fe].duration*1e3)return Fe}}return G}}}return-1}function ir(O,t,n){var s,m;const w=new Qi(O,n),P=(s=w.METHOD)!=null?s:"",j=w.URI,q=w.hexadecimalInteger("IV"),G=w.KEYFORMATVERSIONS,ue=(m=w.KEYFORMAT)!=null?m:"identity";j&&w.IV&&!q&&H.error(`Invalid IV: ${w.IV}`);const de=j?fu.resolve(j,t):"",Ee=(G||"1").split("/").map(Number).filter(Number.isFinite);return new Mo(P,de,ue,Ee,q,w.KEYID)}function dr(O){const n=new Qi(O).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function Sr(O,t){let n=(O||"").split(/[ ,]+/).filter(s=>s);["video","audio","text"].forEach(s=>{const m=n.filter(w=>St(w,s));m.length&&(t[`${s}Codec`]=m.map(w=>w.split("/")[0]).join(","),n=n.filter(w=>m.indexOf(w)===-1))}),t.unknownCodecs=n}function vn(O,t,n){const s=t[n];s&&(O[n]=s)}function Wn(O,t){let n=O[t];for(let s=t;s--;){const m=O[s];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function Dn(O,t,n){O.rawProgramDateTime?n.push(O):t!=null&&t.programDateTime&&(O.programDateTime=t.endProgramDateTime)}function jn(O,t,n,s){O.relurl=t.URI,t.BYTERANGE&&O.setByteRange(t.BYTERANGE),O.level=n,O.sn="initSegment",s&&(O.levelkeys=s),O.initSegment=null}function ui(O,t,n){O.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&s.push(O)}function ei(O,t,n){O.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function ur(O,t,n){O.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Mr(O,t){const n=t.startPTS;if(r(n)){let s=0,m;t.sn>O.sn?(s=n-O.start,m=O):(s=O.start-n,m=t),m.duration!==s&&m.setDuration(s)}else t.sn>O.sn?O.cc===t.cc&&O.minEndPTS?t.setStart(O.start+(O.minEndPTS-O.start)):t.setStart(O.start+O.duration):t.setStart(Math.max(O.start-t.duration,0))}function Fr(O,t,n,s,m,w,P){s-n<=0&&(P.warn("Fragment should have a positive duration",t),s=n+t.duration,w=m+t.duration);let q=n,G=s;const ue=t.startPTS,de=t.endPTS;if(r(ue)){const Gt=Math.abs(ue-n);O&&Gt>O.totalduration?P.warn(`media timestamps and playlist times differ by ${Gt}s for level ${t.level} ${O.url}`):r(t.deltaPTS)?t.deltaPTS=Math.max(Gt,t.deltaPTS):t.deltaPTS=Gt,q=Math.max(n,ue),n=Math.min(n,ue),m=t.startDTS!==void 0?Math.min(m,t.startDTS):m,G=Math.min(s,de),s=Math.max(s,de),w=t.endDTS!==void 0?Math.max(w,t.endDTS):w}const Ee=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(s-t.start),t.startPTS=n,t.maxStartPTS=q,t.startDTS=m,t.endPTS=s,t.minEndPTS=G,t.endDTS=w;const Fe=t.sn;if(!O||Fe<O.startSN||Fe>O.endSN)return 0;let Be;const ct=Fe-O.startSN,lt=O.fragments;for(lt[ct]=t,Be=ct;Be>0;Be--)Mr(lt[Be],lt[Be-1]);for(Be=ct;Be<lt.length-1;Be++)Mr(lt[Be],lt[Be+1]);return O.fragmentHint&&Mr(lt[lt.length-1],O.fragmentHint),O.PTSKnown=O.alignedSliding=!0,Ee}function Sn(O,t,n){if(O===t)return;let s=null;const m=O.fragments;for(let ue=m.length-1;ue>=0;ue--){const de=m[ue].initSegment;if(de){s=de;break}}O.fragmentHint&&delete O.fragmentHint.endPTS;let w;Un(O,t,(ue,de,Ee,Fe)=>{if((!t.startCC||t.skippedSegments)&&de.cc!==ue.cc){const Be=ue.cc-de.cc;for(let ct=Ee;ct<Fe.length;ct++)Fe[ct].cc+=Be;t.endCC=Fe[Fe.length-1].cc}r(ue.startPTS)&&r(ue.endPTS)&&(de.setStart(de.startPTS=ue.startPTS),de.startDTS=ue.startDTS,de.maxStartPTS=ue.maxStartPTS,de.endPTS=ue.endPTS,de.endDTS=ue.endDTS,de.minEndPTS=ue.minEndPTS,de.setDuration(ue.endPTS-ue.startPTS),de.duration&&(w=de),t.PTSKnown=t.alignedSliding=!0),ue.hasStreams&&(de.elementaryStreams=ue.elementaryStreams),de.loader=ue.loader,ue.hasStats&&(de.stats=ue.stats),ue.initSegment&&(de.initSegment=ue.initSegment,s=ue.initSegment)});const P=t.fragments,j=t.fragmentHint?P.concat(t.fragmentHint):P;if(s&&j.forEach(ue=>{var de;ue&&(!ue.initSegment||ue.initSegment.relurl===((de=s)==null?void 0:de.relurl))&&(ue.initSegment=s)}),t.skippedSegments){if(t.deltaUpdateFailed=P.some(ue=>!ue),t.deltaUpdateFailed){n.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let ue=t.skippedSegments;ue--;)P.shift();t.startSN=P[0].sn}else{t.canSkipDateRanges&&(t.dateRanges=Tn(O.dateRanges,t,n));const ue=O.fragments.filter(de=>de.rawProgramDateTime);if(O.hasProgramDateTime&&!t.hasProgramDateTime)for(let de=1;de<j.length;de++)j[de].programDateTime===null&&Dn(j[de],j[de-1],ue);Xt(ue,t)}t.endCC=P[P.length-1].cc}if(!t.startCC){var q;const ue=ba(O,t.startSN-1);t.startCC=(q=ue==null?void 0:ue.cc)!=null?q:P[0].cc}_t(O.partList,t.partList,(ue,de)=>{de.elementaryStreams=ue.elementaryStreams,de.stats=ue.stats}),w?Fr(t,w,w.startPTS,w.endPTS,w.startDTS,w.endDTS,n):Li(O,t),P.length&&(t.totalduration=t.edge-P[0].start),t.driftStartTime=O.driftStartTime,t.driftStart=O.driftStart;const G=t.advancedDateTime;if(t.advanced&&G){const ue=t.edge;t.driftStart||(t.driftStartTime=G,t.driftStart=ue),t.driftEndTime=G,t.driftEnd=ue}else t.driftEndTime=O.driftEndTime,t.driftEnd=O.driftEnd,t.advancedDateTime=O.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=O.requestScheduled)}function Tn(O,t,n){const{dateRanges:s,recentlyRemovedDateranges:m}=t,w=y({},O);m&&m.forEach(q=>{delete w[q]});const j=Object.keys(w).length;return j?(Object.keys(s).forEach(q=>{const G=w[q],ue=new Uo(s[q].attr,G);ue.isValid?(w[q]=ue,G||(ue.tagOrder+=j)):n.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${Ai(s[q].attr)}"`)}),w):s}function _t(O,t,n){if(O&&t){let s=0;for(let m=0,w=O.length;m<=w;m++){const P=O[m],j=t[m+s];P&&j&&P.index===j.index&&P.fragment.sn===j.fragment.sn?n(P,j):s--}}}function Un(O,t,n){const s=t.skippedSegments,m=Math.max(O.startSN,t.startSN)-t.startSN,w=(O.fragmentHint?1:0)+(s?t.endSN:Math.min(O.endSN,t.endSN))-t.startSN,P=t.startSN-O.startSN,j=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,q=O.fragmentHint?O.fragments.concat(O.fragmentHint):O.fragments;for(let G=m;G<=w;G++){const ue=q[P+G];let de=j[G];if(s&&!de&&ue&&(de=t.fragments[G]=ue),ue&&de){n(ue,de,G,j);const Ee=ue.relurl,Fe=de.relurl;if(Ee&&Ks(Ee,Fe)){t.playlistParsingError=Hn(`media sequence mismatch ${de.sn}:`,O,t,ue,de);return}else if(ue.cc!==de.cc){t.playlistParsingError=Hn(`discontinuity sequence mismatch (${ue.cc}!=${de.cc})`,O,t,ue,de);return}}}}function Hn(O,t,n,s,m){return new Error(`${O} ${m.url}
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}
|
|
|
|
|
|
Playlist starting @${n.startSN}
|
|
|
${n.m3u8}`)}function Li(O,t,n=!0){const s=t.startSN+t.skippedSegments-O.startSN,m=O.fragments,w=s>=0;let P=0;if(w&&s<m.length)P=m[s].start;else if(w&&t.startSN===O.endSN+1)P=O.fragmentEnd;else if(w&&n)P=O.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)P=O.fragmentStart;else return;ia(t,P)}function ia(O,t){if(t){const n=O.fragments;for(let s=O.skippedSegments;s<n.length;s++)n[s].addStart(t);O.fragmentHint&&O.fragmentHint.addStart(t)}}function Kr(O,t=1/0){let n=1e3*O.targetduration;if(O.updated){const s=O.fragments;if(s.length&&n*4>t){const w=s[s.length-1].duration*1e3;w<n&&(n=w)}}else n/=2;return Math.round(n)}function ba(O,t,n){if(!O)return null;let s=O.fragments[t-O.startSN];return s||(s=O.fragmentHint,s&&s.sn===t)?s:t<O.startSN&&n&&n.sn===t?n:null}function qi(O,t,n){return O?Ia(O.partList,t,n):null}function Ia(O,t,n){if(O)for(let s=O.length;s--;){const m=O[s];if(m.index===n&&m.fragment.sn===t)return m}return null}function lo(O){O.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function Ks(O,t){return O!==t&&t?Wi(O)!==Wi(t):!1}function Wi(O){return O.replace(/\?[^?]*$/,"")}function co(O,t){for(let s=0,m=O.length;s<m;s++){var n;if(((n=O[s])==null?void 0:n.cc)===t)return O[s]}return null}function fo(O,t){return!!(O&&t.startCC<O.endCC&&t.endCC>O.startCC)}function vs(O,t){const n=O.start+t;O.startPTS=n,O.setStart(n),O.endPTS=n+O.duration}function ls(O,t){const n=t.fragments;for(let s=0,m=n.length;s<m;s++)vs(n[s],O);t.fragmentHint&&vs(t.fragmentHint,O),t.alignedSliding=!0}function Jo(O,t){O&&(So(t,O),t.alignedSliding||An(t,O),!t.alignedSliding&&!t.skippedSegments&&Li(O,t,!1))}function So(O,t){if(!fo(t,O))return;const n=Math.min(t.endCC,O.endCC),s=co(t.fragments,n),m=co(O.fragments,n);if(!s||!m)return;H.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const w=s.start-m.start;ls(w,O)}function An(O,t){if(!O.hasProgramDateTime||!t.hasProgramDateTime)return;const n=O.fragments,s=t.fragments;if(!n.length||!s.length)return;let m,w;const P=Math.min(t.endCC,O.endCC);t.startCC<P&&O.startCC<P&&(m=co(s,P),w=co(n,P)),(!m||!w)&&(m=s[Math.floor(s.length/2)],w=co(n,m.cc)||n[Math.floor(n.length/2)]);const j=m.programDateTime,q=w.programDateTime;if(!j||!q)return;const G=(q-j)/1e3-(w.start-m.start);ls(G,O)}function Ua(O,t,n){is(O,t,n),O.addEventListener(t,n)}function is(O,t,n){O.removeEventListener(t,n)}const Qe={toString:function(O){let t="";const n=O.length;for(let s=0;s<n;s++)t+=`[${O.start(s).toFixed(3)}-${O.end(s).toFixed(3)}]`;return t}},Re={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 Lt extends Xs{constructor(t,n,s,m,w){super(m,t.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=Re.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:P,fragCurrent:j,media:q,mediaBuffer:G,state:ue}=this,de=q?q.currentTime:0,Ee=ci.bufferInfo(G||q,de,P.maxBufferHole),Fe=!Ee.len;if(this.log(`Media seeking to ${r(de)?de.toFixed(3):de}, state: ${ue}, ${Fe?"out of":"in"} buffer`),this.state===Re.ENDED)this.resetLoadingState();else if(j){const Be=P.maxFragLookUpTolerance,ct=j.start-Be,lt=j.start+j.duration+Be;if(Fe||lt<Ee.start||ct>Ee.end){const Gt=de>lt;(de<ct||Gt)&&(Gt&&j.loader&&(this.log(`Cancelling fragment load for seek (sn: ${j.sn})`),j.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(q){this.fragmentTracker.removeFragmentsInRange(de,1/0,this.playlistType,!0);const Be=this.lastCurrentTime;if(de>Be&&(this.lastCurrentTime=de),!this.loadingParts){const ct=Math.max(Ee.end,de),lt=this.shouldLoadParts(this.getLevelDetails(),ct);lt&&(this.log(`LL-Part loading ON after seeking to ${de.toFixed(2)} with buffer @${ct.toFixed(2)}`),this.loadingParts=lt)}}this.hls.hasEnoughToStart||(this.log(`Setting ${Fe?"startPosition":"nextLoadPosition"} to ${de} for seek without enough to start`),this.nextLoadPosition=de,Fe&&(this.startPosition=de)),Fe&&this.state===Re.IDLE&&this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=w,this.hls=t,this.fragmentLoader=new $i(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new as(t.config)}registerListeners(){const{hls:t}=this;t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.ERROR,this.onError,this)}doTick(){this.onTickEnd()}onTickEnd(){}startLoad(t){}stopLoad(){if(this.state===Re.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=Re.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 s=t.end||0,m=this.config.timelineOffset||0;if(s<=m)return!1;const w=t.buffered;this.config.maxBufferHole&&w&&w.length>1&&(t=ci.bufferedInfo(w,t.start,0));const P=t.nextStart;if(P&&P>m&&P<n.edge||this.media.currentTime<t.start)return!1;const q=n.partList;if(q!=null&&q.length){const ue=q[q.length-1];return ci.isBuffered(this.media,ue.start+ue.duration/2)}const G=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(G)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null)return this.levelLastLoaded.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 s=this.media=this.mediaBuffer=n.media;Ua(s,"seeking",this.onMediaSeeking),Ua(s,"ended",this.onMediaEnded);const m=this.config;this.levels&&m.autoStartLoad&&this.state===Re.STOPPED&&this.startLoad(m.startPosition)}onMediaDetaching(t,n){const s=!!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),is(m,"seeking",this.onMediaSeeking),is(m,"ended",this.onMediaEnded),this.keyLoader&&!s&&this.keyLoader.detach(),this.media=this.mediaBuffer=null,this.loopSn=void 0,s){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=Re.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,s){this.startFragRequested=!0,this._loadFragForPlayback(t,n,s)}_loadFragForPlayback(t,n,s){const m=w=>{const P=w.frag;if(this.fragContextChanged(P)){this.warn(`${P.type} sn: ${P.sn}${w.part?" part: "+w.part.index:""} of ${this.fragInfo(P,!1,w.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(P);return}P.stats.chunkCount++,this._handleFragmentLoadProgress(w)};this._doFragLoad(t,n,s,m).then(w=>{if(!w)return;const P=this.state,j=w.frag;if(this.fragContextChanged(j)){(P===Re.FRAG_LOADING||!this.fragCurrent&&P===Re.PARSING)&&(this.fragmentTracker.removeFragment(j),this.state=Re.IDLE);return}"payload"in w&&(this.log(`Loaded ${j.type} sn: ${j.sn} of ${this.playlistLabel()} ${j.level}`),this.hls.trigger(o.FRAG_LOADED,w)),this._handleFragmentLoadComplete(w)}).catch(w=>{this.state===Re.STOPPED||this.state===Re.ERROR||(this.warn(`Frag error: ${(w==null?void 0:w.message)||w}`),this.resetFragmentLoading(t))})}clearTrackerIfNeeded(t){var n;const{fragmentTracker:s}=this;if(s.getState(t)===mn.APPENDING){const w=t.type,P=this.getFwdBufferInfo(this.mediaBuffer,w),j=Math.max(t.duration,P?P.len:this.config.maxBufferLength),q=this.backtrackFragment;((q?t.sn-q.sn:0)===1||this.reduceMaxBufferLength(j,t.duration))&&s.removeFragment(t)}else((n=this.mediaBuffer)==null?void 0:n.buffered.length)===0?s.removeAllFragments():s.hasParts(t.type)&&(s.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),s.getState(t)===mn.PARTIAL&&s.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,s=null){if(!(t-n))return;const m={startOffset:t,endOffset:n,type:s};this.hls.trigger(o.BUFFER_FLUSHING,m)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(s=>{const m=s==null?void 0:s.frag;if(!m||this.fragContextChanged(m)||!this.levels)throw new Error("init load aborted");return s}).then(s=>{const{hls:m}=this,{frag:w,payload:P}=s,j=w.decryptdata;if(P&&P.byteLength>0&&j!=null&&j.key&&j.iv&&Ro(j.method)){const q=self.performance.now();return this.decrypter.decrypt(new Uint8Array(P),j.key.buffer,j.iv.buffer,Zo(j.method)).catch(G=>{throw m.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:G,reason:G.message,frag:w}),G}).then(G=>{const ue=self.performance.now();return m.trigger(o.FRAG_DECRYPTED,{frag:w,payload:G,stats:{tstart:q,tdecrypt:ue}}),s.payload=G,this.completeInitSegmentLoad(s)})}return this.completeInitSegmentLoad(s)}).catch(s=>{this.state===Re.STOPPED||this.state===Re.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}completeInitSegmentLoad(t){const{levels:n}=this;if(!n)throw new Error("init load aborted, missing levels");const s=t.frag.stats;this.state!==Re.STOPPED&&(this.state=Re.IDLE),t.frag.data=new Uint8Array(t.payload),s.parsing.start=s.buffering.start=self.performance.now(),s.parsing.end=s.buffering.end=self.performance.now(),this.tick()}unhandledEncryptionError(t,n){var s,m;const w=t.tracks;if(w&&!n.encrypted&&((s=w.audio)!=null&&s.encrypted||(m=w.video)!=null&&m.encrypted)&&(!this.config.emeEnabled||!this.keyLoader.emeController)){const P=this.media,j=new Error(`Encrypted track with no key in ${this.fragInfo(n)} (media ${P?"attached mediaKeys: "+P.mediaKeys:"detached"})`);return this.warn(j.message),!P||P.mediaKeys?!1:(this.hls.trigger(o.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,fatal:!1,error:j,frag:n}),this.resetTransmuxer(),!0)}return!1}fragContextChanged(t){const{fragCurrent:n}=this;return!t||!n||t.sn!==n.sn||t.level!==n.level}fragBufferedComplete(t,n){const s=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:${s?Qe.toString(ci.getBuffered(s)):"(detached)"})`),Ie(t)){var m;if(t.type!==u.SUBTITLE){const P=t.elementaryStreams;if(!Object.keys(P).some(j=>!!P[j])){this.state=Re.IDLE;return}}const w=(m=this.levels)==null?void 0:m[t.level];w!=null&&w.fragmentError&&(this.log(`Resetting level fragment error count of ${w.fragmentError} on frag buffered`),w.fragmentError=0)}this.state=Re.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:s,part:m,partsLoaded:w}=t,P=!w||w.length===0||w.some(q=>!q),j=new No(s.level,s.sn,s.stats.chunkCount+1,0,m?m.index:-1,!P);n.flush(j)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=null,m){var w;this.fragCurrent=t;const P=n.details;if(!this.levels||!P)throw new Error(`frag load aborted, missing level${P?"":" detail"}s`);let j=null;if(t.encrypted&&!((w=t.decryptdata)!=null&&w.key)){if(this.log(`Loading key for ${t.sn} of [${P.startSN}-${P.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=Re.KEY_LOADING,this.fragCurrent=t,j=this.keyLoader.load(t).then(Ee=>{if(!this.fragContextChanged(Ee.frag))return this.hls.trigger(o.KEY_LOADED,Ee),this.state===Re.KEY_LOADING&&(this.state=Re.IDLE),Ee}),this.hls.trigger(o.KEY_LOADING,{frag:t}),this.fragCurrent===null)return this.log("context changed in KEY_LOADING"),Promise.resolve(null)}else t.encrypted||(j=this.keyLoader.loadClear(t,P.encryptedFragments,this.startFragRequested),j&&this.log("[eme] blocking frag load until media-keys acquired"));const q=this.fragPrevious;if(Ie(t)&&(!q||t.sn!==q.sn)){const Ee=this.shouldLoadParts(n.details,t.end);Ee!==this.loadingParts&&(this.log(`LL-Part loading ${Ee?"ON":"OFF"} loading sn ${q==null?void 0:q.sn}->${t.sn}`),this.loadingParts=Ee)}if(s=Math.max(t.start,s||0),this.loadingParts&&Ie(t)){const Ee=P.partList;if(Ee&&m){s>P.fragmentEnd&&P.fragmentHint&&(t=P.fragmentHint);const Fe=this.getNextPart(Ee,t,s);if(Fe>-1){const Be=Ee[Fe];t=this.fragCurrent=Be.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Be.index} (${Fe}/${Ee.length-1}) of ${this.fragInfo(t,!1,Be)}) cc: ${t.cc} [${P.startSN}-${P.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Be.start+Be.duration,this.state=Re.FRAG_LOADING;let ct;return j?ct=j.then(lt=>!lt||this.fragContextChanged(lt.frag)?null:this.doFragPartsLoad(t,Be,n,m)).catch(lt=>this.handleFragLoadError(lt)):ct=this.doFragPartsLoad(t,Be,n,m).catch(lt=>this.handleFragLoadError(lt)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Be,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):ct}else if(!t.url||this.loadedEndOfParts(Ee,s))return Promise.resolve(null)}}if(Ie(t)&&this.loadingParts){var G;this.log(`LL-Part loading OFF after next part miss @${s.toFixed(2)} Check buffer at sn: ${t.sn} loaded parts: ${(G=P.partList)==null?void 0:G.filter(Ee=>Ee.loaded).map(Ee=>`[${Ee.start}-${Ee.end}]`)}`),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} ${"["+P.startSN+"-"+P.endSN+"]"}, target: ${parseFloat(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Re.FRAG_LOADING;const ue=this.config.progressive;let de;return ue&&j?de=j.then(Ee=>!Ee||this.fragContextChanged(Ee.frag)?null:this.fragmentLoader.load(t,m)).catch(Ee=>this.handleFragLoadError(Ee)):de=Promise.all([this.fragmentLoader.load(t,ue?m:void 0),j]).then(([Ee])=>(!ue&&m&&m(Ee),Ee)).catch(Ee=>this.handleFragLoadError(Ee)),this.hls.trigger(o.FRAG_LOADING,{frag:t,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):de}doFragPartsLoad(t,n,s,m){return new Promise((w,P)=>{var j;const q=[],G=(j=s.details)==null?void 0:j.partList,ue=de=>{this.fragmentLoader.loadPart(t,de,m).then(Ee=>{q[de.index]=Ee;const Fe=Ee.part;this.hls.trigger(o.FRAG_LOADED,Ee);const Be=qi(s.details,t.sn,de.index+1)||Ia(G,t.sn,de.index+1);if(Be)ue(Be);else return w({frag:t,part:Fe,partsLoaded:q})}).catch(P)};ue(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;n.frag&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):n.frag&&n.type===c.KEY_SYSTEM_ERROR?(n.frag.abortRequests(),this.resetStartWhenNotLoaded(),this.resetFragmentLoading(n.frag)):this.hls.trigger(o.ERROR,n)}else this.hls.trigger(o.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!==Re.PARSING){!this.fragCurrent&&this.state!==Re.STOPPED&&this.state!==Re.ERROR&&(this.state=Re.IDLE);return}const{frag:s,part:m,level:w}=n,P=self.performance.now();s.stats.parsing.end=P,m&&(m.stats.parsing.end=P);const j=this.getLevelDetails(),G=j&&s.sn>j.endSN||this.shouldLoadParts(j,s.end);G!==this.loadingParts&&(this.log(`LL-Part loading ${G?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=G),this.updateLevelTiming(s,m,w,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t.partList){var s;const w=t.partList[0];if(w.fragment.type===u.SUBTITLE)return!1;const P=w.end+(((s=t.fragmentHint)==null?void 0:s.duration)||0);if(n>=P){var m;if((this.hls.hasEnoughToStart?((m=this.media)==null?void 0:m.currentTime)||this.lastCurrentTime:this.getLoadPosition())>w.start-w.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:s}=this,{level:m,sn:w,part:P}=t;if(!(n!=null&&n[m]))return this.warn(`Levels object was unset while buffering fragment ${w} of ${this.playlistLabel()} ${m}. The current chunk will not be buffered.`),null;const j=n[m],q=j.details,G=P>-1?qi(q,w,P):null,ue=G?G.fragment:ba(q,w,s);return ue?(s&&s!==ue&&(ue.stats=s.stats),{frag:ue,part:G,level:j}):null}bufferFragmentData(t,n,s,m,w){if(this.state!==Re.PARSING)return;const{data1:P,data2:j}=t;let q=P;if(j&&(q=Wt(P,j)),!q.length)return;const G=this.initPTS[n.cc],ue=G?-G.baseTime/G.timescale:void 0,de={type:t.type,frag:n,part:s,chunkMeta:m,offset:ue,parent:n.type,data:q};if(this.hls.trigger(o.BUFFER_APPENDING,de),t.dropped&&t.independent&&!s){if(w)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!ci.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,m=ci.bufferInfo(n,s,0),w=t.duration,P=Math.min(this.config.maxFragLookUpTolerance*2,w*.25),j=Math.max(Math.min(t.start-P,m.end-P),s+P);t.start-j>P&&this.flushMainBuffer(j,t.start)}getFwdBufferInfo(t,n){var s;const m=this.getLoadPosition();if(!r(m))return null;const P=this.lastCurrentTime>m||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,P)}getFwdBufferInfoAtPos(t,n,s,m){const w=ci.bufferInfo(t,n,m);if(w.len===0&&w.nextStart!==void 0){const P=this.fragmentTracker.getBufferedFrag(n,s);if(P&&(w.nextStart<=P.end||P.gap)){const j=Math.max(Math.min(w.nextStart,P.end)-n,m);return ci.bufferInfo(t,n,j)}}return w}getMaxBufferLength(t){const{config:n}=this;let s;return t?s=Math.max(8*n.maxBufferSize/t,n.maxBufferLength):s=n.maxBufferLength,Math.min(s,n.maxMaxBufferLength)}reduceMaxBufferLength(t,n){const s=this.config,m=Math.max(Math.min(t-n,s.maxBufferLength),n),w=Math.max(t-n*3,s.maxMaxBufferLength/2,m);return w>=m?(s.maxMaxBufferLength=w,this.warn(`Reduce max buffer length to ${w}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){const s=this.fragmentTracker?this.fragmentTracker.getAppendedFrag(t,n):null;return s&&"fragment"in s?s.fragment:s}getNextFragment(t,n){const s=n.fragments,m=s.length;if(!m)return null;const{config:w}=this,P=s[0].start,j=w.lowLatencyMode&&!!n.partList;let q=null;if(n.live){const de=w.initialLiveManifestSize;if(m<de)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${de})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<P){var G;j&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),q=this.getInitialLiveFragment(n);const Ee=this.hls.startPosition,Fe=this.hls.liveSyncPosition,Be=q?(Ee!==-1&&Ee>=P?Ee:Fe)||q.start:t;this.log(`Setting startPosition to ${Be} to match start frag at live edge. mainStart: ${Ee} liveSyncPosition: ${Fe} frag.start: ${(G=q)==null?void 0:G.start}`),this.startPosition=this.nextLoadPosition=Be}}else t<=P&&(q=s[0]);if(!q){const de=this.loadingParts?n.partEnd:n.fragmentEnd;q=this.getFragmentAtPosition(t,de,n)}let ue=this.filterReplacedPrimary(q,n);if(!ue&&q){const de=q.sn-n.startSN;ue=this.filterReplacedPrimary(s[de+1]||null,n)}return this.mapToInitFragWhenRequired(ue)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===mn.OK||s===mn.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,m,w){let P=null;if(t.gap&&(P=this.getNextFragment(this.nextLoadPosition,n),P&&!P.gap&&s.nextStart)){const j=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,s.nextStart,m,0);if(j!==null&&s.len+j.len>=w){const q=P.sn;return this.loopSn!==q&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${q}`),this.loopSn=q),null}}return this.loopSn=void 0,P}get primaryPrefetch(){if(Ht(this.config)){var t;if((t=this.hls.interstitialsManager)==null||(t=t.playingItem)==null?void 0:t.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(Ht(this.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,m=s==null?void 0:s.bufferingItem;if(m){const P=m.event;if(P){if(P.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 w=s==null?void 0:s.playerQueue;if(w)for(let P=w.length;P--;){const j=w[P].interstitial;if(j.appendInPlace&&t.start>=j.startTime&&t.end<=j.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!t.initSegment.data&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,s){let m=-1,w=!1,P=!0;for(let j=0,q=t.length;j<q;j++){const G=t[j];if(P=P&&!G.independent,m>-1&&s<G.start)break;const ue=G.loaded;ue?m=-1:(w||(G.independent||P)&&G.fragment===n)&&(G.fragment!==n&&this.warn(`Need buffer at ${s} but next unloaded part starts at ${G.start}`),m=j),w=ue}return m}loadedEndOfParts(t,n){let s;for(let m=t.length;m--;){if(s=t[m],!s.loaded)return!1;if(n>s.start)return!0}return!1}getInitialLiveFragment(t){const n=t.fragments,s=this.fragPrevious;let m=null;if(s){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${s.programDateTime}`),m=ht(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const w=s.sn+1;if(w>=t.startSN&&w<=t.endSN){const P=n[w-t.startSN];s.cc===P.cc&&(m=P,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=He(t,s.cc,s.end),m&&this.log(`Live playlist, switching playlist, load frag with same CC: ${m.sn}`))}}else{const w=this.hls.liveSyncPosition;w!==null&&(m=this.getFragmentAtPosition(w,this.bitrateTest?t.fragmentEnd:t.edge,t))}return m}getFragmentAtPosition(t,n,s){const{config:m}=this;let{fragPrevious:w}=this,{fragments:P,endSN:j}=s;const{fragmentHint:q}=s,{maxFragLookUpTolerance:G}=m,ue=s.partList,de=!!(this.loadingParts&&ue!=null&&ue.length&&q);de&&!this.bitrateTest&&ue[ue.length-1].fragment.sn===q.sn&&(P=P.concat(q),j=q.sn);let Ee;if(t<n){var Fe;const ct=t<this.lastCurrentTime||t>n-G||(Fe=this.media)!=null&&Fe.paused||!this.startFragRequested?0:G;Ee=sr(w,P,t,ct)}else Ee=P[P.length-1];if(Ee){const Be=Ee.sn-s.startSN,ct=this.fragmentTracker.getState(Ee);if((ct===mn.OK||ct===mn.PARTIAL&&Ee.gap)&&(w=Ee),w&&Ee.sn===w.sn&&(!de||ue[0].fragment.sn>Ee.sn||!s.live)&&Ee.level===w.level){const Gt=P[Be+1];Ee.sn<j&&this.fragmentTracker.getState(Gt)!==mn.OK?Ee=Gt:Ee=null}}return Ee}alignPlaylists(t,n,s){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const w=t.fragmentStart,P=!n,j=t.alignedSliding&&r(w);if(P||!j&&!w){Jo(s,t);const q=t.fragmentStart;return this.log(`Live playlist sliding: ${q.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),q}return w}waitForCdnTuneIn(t){return t.live&&t.canBlockReload&&t.partTarget&&t.tuneInGoal>Math.max(t.partHoldBack,t.partTarget*3)}setStartPosition(t,n){let s=this.startPosition;s<n&&(s=-1);const m=this.timelineOffset;if(s===-1){const w=this.startTimeOffset!==null,P=w?this.startTimeOffset:t.startTimeOffset;P!==null&&r(P)?(s=n+P,P<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${P} found in ${w?"multivariant":"media"} playlist`),this.startPosition=s):t.live?(s=this.hls.liveSyncPosition||n,this.log(`Setting startPosition to -1 to start at live edge ${s}`),this.startPosition=-1):(this.log("setting startPosition to 0 by default"),this.startPosition=s=0),this.lastCurrentTime=s+m}this.nextLoadPosition=s+m}getLoadPosition(){var t;const{media:n}=this;let s=0;return(t=this.hls)!=null&&t.hasEnoughToStart&&n?s=n.currentTime:this.nextLoadPosition>=0&&(s=this.nextLoadPosition),s}handleFragLoadAborted(t,n){this.transmuxer&&t.type===this.playlistType&&Ie(t)&&t.stats.aborted&&(this.log(`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!==Re.FRAG_LOADING_WAITING_RETRY)&&(this.state=Re.IDLE)}onFragmentOrKeyLoadError(t,n){var s;if(n.chunkMeta&&!n.frag){const Gt=this.getCurrentContext(n.chunkMeta);Gt&&(n.frag=Gt.frag)}const m=n.frag;if(!m||m.type!==t||!this.levels)return;if(this.fragContextChanged(m)){var w;this.warn(`Frag load error must match current frag to retry ${m.url} > ${(w=this.fragCurrent)==null?void 0:w.url}`);return}const P=n.details===f.FRAG_GAP;P&&this.fragmentTracker.fragBuffered(m,!0);const j=n.errorAction;if(!j){this.state=Re.ERROR;return}const{action:q,flags:G,retryCount:ue=0,retryConfig:de}=j,Ee=!!de,Fe=Ee&&q===yr.RetryRequest,Be=Ee&&!j.resolved&&G===cn.MoveAllAlternatesMatchingHost,ct=(s=this.hls.latestLevelDetails)==null?void 0:s.live;if(!Fe&&Be&&Ie(m)&&!m.endList&&ct&&!st(n))this.resetFragmentErrors(t),this.treatAsGap(m),j.resolved=!0;else if((Fe||Be)&&ue<de.maxNumRetry){var lt;const Gt=En((lt=n.response)==null?void 0:lt.code),Jt=kr(de,ue);if(this.resetStartWhenNotLoaded(),this.retryDate=self.performance.now()+Jt,this.state=Re.FRAG_LOADING_WAITING_RETRY,j.resolved=!0,Gt){this.log("Waiting for connection (offline)"),this.retryDate=1/0,n.reason="offline";return}this.warn(`Fragment ${m.sn} of ${t} ${m.level} errored with ${n.details}, retrying loading ${ue+1}/${de.maxNumRetry} in ${Jt}ms`)}else if(de)if(this.resetFragmentErrors(t),ue<de.maxNumRetry)!P&&q!==yr.RemoveAlternatePermanently&&(j.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${ue})`);return}else q===yr.SendAlternateToPenaltyBox?this.state=Re.WAITING_LEVEL:this.state=Re.ERROR;this.tickImmediate()}checkRetryDate(){const t=self.performance.now(),n=this.retryDate,s=n===1/0;(!n||t>=n||s&&!En(0))&&(s&&this.log("Connection restored (online)"),this.resetStartWhenNotLoaded(),this.state=Re.IDLE)}reduceLengthAndFlushBuffer(t){if(this.state===Re.PARSING||this.state===Re.PARSED){const n=t.frag,s=t.parent,m=this.getFwdBufferInfo(this.mediaBuffer,s),w=m&&m.len>.5;w&&this.reduceMaxBufferLength(m.len,(n==null?void 0:n.duration)||10);const P=!w;return P&&this.warn(`Buffer full error while media.currentTime (${this.getLoadPosition()}) is not buffered, flush ${s} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),P}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==Re.STOPPED&&(this.state=Re.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const m=ci.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,s),this.state===Re.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==Re.STOPPED&&(this.state=Re.IDLE)}resetStartWhenNotLoaded(){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const t=this.levelLastLoaded,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.log(`Loading context changed while buffering sn ${t.sn} of ${this.playlistLabel()} ${t.level===-1?"<removed>":t.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(),this.resetLoadingState()}removeUnbufferedFrags(t=0){this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)}updateLevelTiming(t,n,s,m){const w=s.details;if(!w){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((q,G)=>{const ue=t.elementaryStreams[G];if(ue){const de=ue.endPTS-ue.startPTS;if(de<=0)return this.warn(`Could not parse fragment ${t.sn} ${G} duration reliably (${de})`),q||!1;const Ee=m?0:Fr(w,t,ue.startPTS,ue.endPTS,ue.startDTS,ue.endDTS,this);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:w,level:s,drift:Ee,type:G,frag:t,start:ue.startPTS,end:ue.endPTS}),!0}return q},!1)){var j;if(s.fragmentError===0&&this.treatAsGap(t,s),((j=this.transmuxer)==null?void 0:j.error)===null){const q=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(q.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:q,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${s.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=Re.PARSED,this.log(`Parsed ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)})`),this.hls.trigger(o.FRAG_PARSED,{frag:t,part:n})}playlistLabel(){return this.playlistType===u.MAIN?"level":"track"}fragInfo(t,n=!0,s){var m,w;return`${this.playlistLabel()} ${t.level} (${s?"part":"frag"}:[${((m=n&&!s?t.startPTS:(s||t).start)!=null?m:NaN).toFixed(3)}-${((w=n&&!s?t.endPTS:(s||t).end)!=null?w:NaN).toFixed(3)}]${s&&t.type==="main"?"INDEPENDENT="+(s.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.resetLoadingState())}set state(t){const n=this._state;n!==t&&(this._state=t,this.log(`${n}->${t}`))}get state(){return this._state}}function Ht(O){return!!O.interstitialsController&&O.enableInterstitialPlayback!==!1}class pr{constructor(){this.chunks=[],this.dataLength=0}push(t){this.chunks.push(t),this.dataLength+=t.length}flush(){const{chunks:t,dataLength:n}=this;let s;if(t.length)t.length===1?s=t[0]:s=Br(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function Br(O,t){const n=new Uint8Array(t);let s=0;for(let m=0;m<O.length;m++){const w=O[m];n.set(w,s),s+=w.length}return n}var Wr={exports:{}},yn;function ln(){return yn||(yn=1,function(O){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function m(q,G,ue){this.fn=q,this.context=G,this.once=ue||!1}function w(q,G,ue,de,Ee){if(typeof ue!="function")throw new TypeError("The listener must be a function");var Fe=new m(ue,de||q,Ee),Be=n?n+G:G;return q._events[Be]?q._events[Be].fn?q._events[Be]=[q._events[Be],Fe]:q._events[Be].push(Fe):(q._events[Be]=Fe,q._eventsCount++),q}function P(q,G){--q._eventsCount===0?q._events=new s:delete q._events[G]}function j(){this._events=new s,this._eventsCount=0}j.prototype.eventNames=function(){var G=[],ue,de;if(this._eventsCount===0)return G;for(de in ue=this._events)t.call(ue,de)&&G.push(n?de.slice(1):de);return Object.getOwnPropertySymbols?G.concat(Object.getOwnPropertySymbols(ue)):G},j.prototype.listeners=function(G){var ue=n?n+G:G,de=this._events[ue];if(!de)return[];if(de.fn)return[de.fn];for(var Ee=0,Fe=de.length,Be=new Array(Fe);Ee<Fe;Ee++)Be[Ee]=de[Ee].fn;return Be},j.prototype.listenerCount=function(G){var ue=n?n+G:G,de=this._events[ue];return de?de.fn?1:de.length:0},j.prototype.emit=function(G,ue,de,Ee,Fe,Be){var ct=n?n+G:G;if(!this._events[ct])return!1;var lt=this._events[ct],Gt=arguments.length,Jt,er;if(lt.fn){switch(lt.once&&this.removeListener(G,lt.fn,void 0,!0),Gt){case 1:return lt.fn.call(lt.context),!0;case 2:return lt.fn.call(lt.context,ue),!0;case 3:return lt.fn.call(lt.context,ue,de),!0;case 4:return lt.fn.call(lt.context,ue,de,Ee),!0;case 5:return lt.fn.call(lt.context,ue,de,Ee,Fe),!0;case 6:return lt.fn.call(lt.context,ue,de,Ee,Fe,Be),!0}for(er=1,Jt=new Array(Gt-1);er<Gt;er++)Jt[er-1]=arguments[er];lt.fn.apply(lt.context,Jt)}else{var wr=lt.length,zr;for(er=0;er<wr;er++)switch(lt[er].once&&this.removeListener(G,lt[er].fn,void 0,!0),Gt){case 1:lt[er].fn.call(lt[er].context);break;case 2:lt[er].fn.call(lt[er].context,ue);break;case 3:lt[er].fn.call(lt[er].context,ue,de);break;case 4:lt[er].fn.call(lt[er].context,ue,de,Ee);break;default:if(!Jt)for(zr=1,Jt=new Array(Gt-1);zr<Gt;zr++)Jt[zr-1]=arguments[zr];lt[er].fn.apply(lt[er].context,Jt)}}return!0},j.prototype.on=function(G,ue,de){return w(this,G,ue,de,!1)},j.prototype.once=function(G,ue,de){return w(this,G,ue,de,!0)},j.prototype.removeListener=function(G,ue,de,Ee){var Fe=n?n+G:G;if(!this._events[Fe])return this;if(!ue)return P(this,Fe),this;var Be=this._events[Fe];if(Be.fn)Be.fn===ue&&(!Ee||Be.once)&&(!de||Be.context===de)&&P(this,Fe);else{for(var ct=0,lt=[],Gt=Be.length;ct<Gt;ct++)(Be[ct].fn!==ue||Ee&&!Be[ct].once||de&&Be[ct].context!==de)&<.push(Be[ct]);lt.length?this._events[Fe]=lt.length===1?lt[0]:lt:P(this,Fe)}return this},j.prototype.removeAllListeners=function(G){var ue;return G?(ue=n?n+G:G,this._events[ue]&&P(this,ue)):(this._events=new s,this._eventsCount=0),this},j.prototype.off=j.prototype.removeListener,j.prototype.addListener=j.prototype.on,j.prefixed=n,j.EventEmitter=j,O.exports=j}(Wr)),Wr.exports}var xn=ln(),ti=se(xn);const ni="1.6.13",vi={};function ji(){return typeof __HLS_WORKER_BUNDLE__=="function"}function ga(){const O=vi[ni];if(O)return O.clientCount++,O;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 vi[ni]=m,m}function Ji(O){const t=vi[O];if(t)return t.clientCount++,t;const n=new self.URL(O,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return vi[O]=m,m}function Mi(O){const t=vi[O||ni];if(t&&t.clientCount--===1){const{worker:s,objectURL:m}=t;delete vi[O||ni],m&&self.URL.revokeObjectURL(m),s.terminate()}}function Da(O,t){return t+10<=O.length&&O[t]===51&&O[t+1]===68&&O[t+2]===73&&O[t+3]<255&&O[t+4]<255&&O[t+6]<128&&O[t+7]<128&&O[t+8]<128&&O[t+9]<128}function Oi(O,t){return t+10<=O.length&&O[t]===73&&O[t+1]===68&&O[t+2]===51&&O[t+3]<255&&O[t+4]<255&&O[t+6]<128&&O[t+7]<128&&O[t+8]<128&&O[t+9]<128}function Si(O,t){let n=0;return n=(O[t]&127)<<21,n|=(O[t+1]&127)<<14,n|=(O[t+2]&127)<<7,n|=O[t+3]&127,n}function Ea(O,t){const n=t;let s=0;for(;Oi(O,t);){s+=10;const m=Si(O,t+6);s+=m,Da(O,t+10)&&(s+=10),t+=s}if(s>0)return O.subarray(n,n+s)}function Co(O,t,n,s){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],w=t[n+2],P=w>>2&15;if(P>12){const Fe=new Error(`invalid ADTS sampling index:${P}`);O.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Fe,reason:Fe.message});return}const j=(w>>6&3)+1,q=t[n+3]>>6&3|(w&1)<<2,G="mp4a.40."+j,ue=m[P];let de=P;(j===5||j===29)&&(de-=3);const Ee=[j<<3|(de&14)>>1,(de&1)<<7|q<<3];return H.log(`manifest codec:${s}, parsed codec:${G}, channels:${q}, rate:${ue} (ADTS object type:${j} sampling index:${P})`),{config:Ee,samplerate:ue,channelCount:q,codec:G,parsedCodec:G,manifestCodec:s}}function Us(O,t){return O[t]===255&&(O[t+1]&246)===240}function Xa(O,t){return O[t+1]&1?7:9}function Qa(O,t){return(O[t+3]&3)<<11|O[t+4]<<3|(O[t+5]&224)>>>5}function cs(O,t){return t+5<O.length}function Ui(O,t){return t+1<O.length&&Us(O,t)}function La(O,t){return cs(O,t)&&Us(O,t)&&Qa(O,t)<=O.length-t}function fs(O,t){if(Ui(O,t)){const n=Xa(O,t);if(t+n>=O.length)return!1;const s=Qa(O,t);if(s<=n)return!1;const m=t+s;return m===O.length||Ui(O,m)}return!1}function ds(O,t,n,s,m){if(!O.samplerate){const w=Co(t,n,s,m);if(!w)return;y(O,w)}}function Fo(O){return 9216e4/O}function bs(O,t){const n=Xa(O,t);if(t+n<=O.length){const s=Qa(O,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function Ba(O,t,n,s,m){const w=Fo(O.samplerate),P=s+m*w,j=bs(t,n);let q;if(j){const{frameLength:de,headerLength:Ee}=j,Fe=Ee+de,Be=Math.max(0,n+Fe-t.length);Be?(q=new Uint8Array(Fe-Ee),q.set(t.subarray(n+Ee,t.length),0)):q=t.subarray(n+Ee,n+Fe);const ct={unit:q,pts:P};return Be||O.samples.push(ct),{sample:ct,length:Fe,missing:Be}}const G=t.length-n;return q=new Uint8Array(G),q.set(t.subarray(n,t.length),0),{sample:{unit:q,pts:P},length:G,missing:-1}}function go(O,t){return Oi(O,t)&&Si(O,t+6)+10<=O.length-t}function Ja(O){return O instanceof ArrayBuffer?O:O.byteOffset==0&&O.byteLength==O.buffer.byteLength?O.buffer:new Uint8Array(O).buffer}function yo(O,t=0,n=1/0){return Ra(O,t,n,Uint8Array)}function Ra(O,t,n,s){const m=hs(O);let w=1;"BYTES_PER_ELEMENT"in s&&(w=s.BYTES_PER_ELEMENT);const P=ro(O)?O.byteOffset:0,j=(P+O.byteLength)/w,q=(P+t)/w,G=Math.floor(Math.max(0,Math.min(q,j))),ue=Math.floor(Math.min(G+Math.max(n,0),j));return new s(m,G,ue-G)}function hs(O){return O instanceof ArrayBuffer?O:O.buffer}function ro(O){return O&&O.buffer instanceof ArrayBuffer&&O.byteLength!==void 0&&O.byteOffset!==void 0}function Ma(O){const t={key:O.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(O.size<2)return;if(O.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=O.data.subarray(1).indexOf(0);if(s===-1)return;const m=J(yo(O.data,1,s)),w=O.data[2+s],P=O.data.subarray(3+s).indexOf(0);if(P===-1)return;const j=J(yo(O.data,3+s,P));let q;return m==="-->"?q=J(yo(O.data,4+s+P)):q=Ja(O.data.subarray(4+s+P)),t.mimeType=m,t.pictureType=w,t.description=j,t.data=q,t}function be(O){if(O.size<2)return;const t=J(O.data,!0),n=new Uint8Array(O.data.subarray(t.length+1));return{key:O.type,info:t,data:n.buffer}}function Se(O){if(O.size<2)return;if(O.type==="TXXX"){let n=1;const s=J(O.data.subarray(n),!0);n+=s.length+1;const m=J(O.data.subarray(n));return{key:O.type,info:s,data:m}}const t=J(O.data.subarray(1));return{key:O.type,info:"",data:t}}function br(O){if(O.type==="WXXX"){if(O.size<2)return;let n=1;const s=J(O.data.subarray(n),!0);n+=s.length+1;const m=J(O.data.subarray(n));return{key:O.type,info:s,data:m}}const t=J(O.data);return{key:O.type,info:"",data:t}}function tn(O){return O.type==="PRIV"?be(O):O.type[0]==="W"?br(O):O.type==="APIC"?Ma(O):Se(O)}function gr(O){const t=String.fromCharCode(O[0],O[1],O[2],O[3]),n=Si(O,4),s=10;return{type:t,size:n,data:O.subarray(s,s+n)}}const qr=10,On=10;function ii(O){let t=0;const n=[];for(;Oi(O,t);){const s=Si(O,t+6);O[t+5]>>6&1&&(t+=qr),t+=qr;const m=t+s;for(;t+On<m;){const w=gr(O.subarray(t)),P=tn(w);P&&n.push(P),t+=w.size+qr}Da(O,t)&&(t+=qr)}return n}function Gi(O){return O&&O.key==="PRIV"&&O.info==="com.apple.streaming.transportStreamTimestamp"}function zn(O){if(O.data.byteLength===8){const t=new Uint8Array(O.data),n=t[3]&1;let s=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return s/=45,n&&(s+=4772185884e-2),Math.round(s)}}function Zn(O){const t=ii(O);for(let n=0;n<t.length;n++){const s=t[n];if(Gi(s))return zn(s)}}let wn=function(O){return O.audioId3="org.id3",O.dateRange="com.apple.quicktime.HLS",O.emsg="https://aomedia.org/emsg/ID3",O.misbklv="urn:misb:KLV:bin:1910.1",O}({});function ua(O="",t=9e4){return{type:O,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class es{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,s,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,s){}demux(t,n){this.cachedData&&(t=Wt(this.cachedData,t),this.cachedData=null);let s=Ea(t,0),m=s?s.length:0,w;const P=this._audioTrack,j=this._id3Track,q=s?Zn(s):void 0,G=t.length;for((this.basePTS===null||this.frameIndex===0&&r(q))&&(this.basePTS=Wo(q,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),s&&s.length>0&&j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:wn.audioId3,duration:Number.POSITIVE_INFINITY});m<G;){if(this.canParse(t,m)){const ue=this.appendFrame(P,t,m);ue?(this.frameIndex++,this.lastPTS=ue.sample.pts,m+=ue.length,w=m):m=G}else go(t,m)?(s=Ea(t,m),j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:wn.audioId3,duration:Number.POSITIVE_INFINITY}),m+=s.length,w=m):m++;if(m===G&&w!==G){const ue=t.slice(w);this.cachedData?this.cachedData=Wt(this.cachedData,ue):this.cachedData=ue}}return{audioTrack:P,videoTrack:ua(),id3Track:j,textTrack:ua()}}demuxSampleAes(t,n,s){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:ua(),id3Track:this._id3Track,textTrack:ua()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const Wo=(O,t,n)=>{if(r(O))return O*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let bo=null;const Iu=[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],Zl=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],wl=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],El=[0,1,1,4];function Uc(O,t,n,s,m){if(n+24>t.length)return;const w=Hu(t,n);if(w&&n+w.frameLength<=t.length){const P=w.samplesPerFrame*9e4/w.sampleRate,j=s+m*P,q={unit:t.subarray(n,n+w.frameLength),pts:j,dts:j};return O.config=[],O.channelCount=w.channelCount,O.samplerate=w.sampleRate,O.samples.push(q),{sample:q,length:w.frameLength,missing:0}}}function Hu(O,t){const n=O[t+1]>>3&3,s=O[t+1]>>1&3,m=O[t+2]>>4&15,w=O[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&w!==3){const P=O[t+2]>>1&1,j=O[t+3]>>6,q=n===3?3-s:s===3?3:4,G=Iu[q*14+m-1]*1e3,de=Zl[(n===3?0:n===2?1:2)*3+w],Ee=j===3?1:2,Fe=wl[n][s],Be=El[s],ct=Fe*8*Be,lt=Math.floor(Fe*G/de+P)*Be;if(bo===null){const er=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);bo=er?parseInt(er[1]):0}return!!bo&&bo<=87&&s===2&&G>=224e3&&j===0&&(O[t+3]=O[t+3]|128),{sampleRate:de,channelCount:Ee,frameLength:lt,samplesPerFrame:ct}}}function Ve(O,t){return O[t]===255&&(O[t+1]&224)===224&&(O[t+1]&6)!==0}function Z(O,t){return t+1<O.length&&Ve(O,t)}function Y(O,t){return Ve(O,t)&&4<=O.length-t}function ne(O,t){if(t+1<O.length&&Ve(O,t)){const s=Hu(O,t);let m=4;s!=null&&s.frameLength&&(m=s.frameLength);const w=t+m;return w===O.length||Z(O,w)}return!1}class he extends es{constructor(t,n){super(),this.observer=void 0,this.config=void 0,this.observer=t,this.config=n}resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,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 s=Ea(t,0);let m=(s==null?void 0:s.length)||0;if(ne(t,m))return!1;for(let w=t.length;m<w;m++)if(fs(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return La(t,n)}appendFrame(t,n,s){ds(t,this.observer,n,s,t.manifestCodec);const m=Ba(t,n,s,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const Te=(O,t)=>{let n=0,s=5;t+=s;const m=new Uint32Array(1),w=new Uint32Array(1),P=new Uint8Array(1);for(;s>0;){P[0]=O[t];const j=Math.min(s,8),q=8-j;w[0]=4278190080>>>24+q<<q,m[0]=(P[0]&w[0])>>q,n=n?n<<j|m[0]:m[0],t+=1,s-=j}return n};class qe extends es{constructor(t){super(),this.observer=void 0,this.observer=t}resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,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,s){const m=Tt(t,n,s,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=Ea(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&Zn(n)!==void 0&&Te(t,s)<16}}function Tt(O,t,n,s,m){if(n+8>t.length||t[n]!==11||t[n+1]!==119)return-1;const w=t[n+4]>>6;if(w>=3)return-1;const j=[48e3,44100,32e3][w],q=t[n+4]&63,ue=[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][q*3+w]*2;if(n+ue>t.length)return-1;const de=t[n+6]>>5;let Ee=0;de===2?Ee+=2:(de&1&&de!==1&&(Ee+=2),de&4&&(Ee+=2));const Fe=(t[n+6]<<8|t[n+7])>>12-Ee&1,ct=[2,1,2,3,3,4,4,5][de]+Fe,lt=t[n+5]>>3,Gt=t[n+5]&7,Jt=new Uint8Array([w<<6|lt<<1|Gt>>2,(Gt&3)<<6|de<<3|Fe<<2|q>>4,q<<4&224]),er=1536/j*9e4,wr=s+m*er,zr=t.subarray(n,n+ue);return O.config=Jt,O.channelCount=ct,O.samplerate=j,O.samples.push({unit:zr,pts:wr}),ue}class $t extends es{resetInitSegment(t,n,s,m){super.resetInitSegment(t,n,s,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=Ea(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&Zn(n)!==void 0&&Te(t,s)<=16)return!1;for(let m=t.length;s<m;s++)if(ne(t,s))return H.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return Y(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return Uc(t,n,s,this.basePTS,this.frameIndex)}}const rr=/\/emsg[-/]ID3/i;class Tr{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,s,m){const w=this.videoTrack=ua("video",1),P=this.audioTrack=ua("audio",1),j=this.txtTrack=ua("text",1);if(this.id3Track=ua("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const q=et(t);if(q.video){const{id:G,timescale:ue,codec:de,supplemental:Ee}=q.video;w.id=G,w.timescale=j.timescale=ue,w.codec=de,w.supplemental=Ee}if(q.audio){const{id:G,timescale:ue,codec:de}=q.audio;P.id=G,P.timescale=ue,P.codec=de}j.id=tr.text,w.sampleDuration=0,w.duration=P.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return it(t)}demux(t,n){this.timeOffset=n;let s=t;const m=this.videoTrack,w=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=Wt(this.remainderData,t));const j=Je(s);this.remainderData=j.remainder,m.samples=j.valid||new Uint8Array}else m.samples=s;const P=this.extractID3Track(m,n);return w.samples=Ot(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:P,textTrack:this.txtTrack}}flush(){const t=this.timeOffset,n=this.videoTrack,s=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const m=this.extractID3Track(n,this.timeOffset);return s.samples=Ot(t,n),{videoTrack:n,audioTrack:ua(),id3Track:m,textTrack:ua()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const m=xt(t.samples,["emsg"]);m&&m.forEach(w=>{const P=Ye(w);if(rr.test(P.schemeIdUri)){const j=Gr(P,n);let q=P.eventDuration===4294967295?Number.POSITIVE_INFINITY:P.eventDuration/P.timeScale;q<=.001&&(q=Number.POSITIVE_INFINITY);const G=P.payload;s.samples.push({data:G,len:G.byteLength,dts:j,pts:j,type:wn.emsg,duration:q})}else if(this.config.enableEmsgKLVMetadata&&P.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const j=Gr(P,n);s.samples.push({data:P.payload,len:P.payload.byteLength,dts:j,pts:j,type:wn.misbklv,duration:Number.POSITIVE_INFINITY})}})}return s}demuxSampleAes(t,n,s){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 Gr(O,t){return r(O.presentationTime)?O.presentationTime/O.timeScale:t+O.presentationTimeDelta/O.timeScale}class fn{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new as(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,Pi.cbc)}decryptAacSample(t,n,s){const m=t[n].unit;if(m.length<=16)return;const w=m.subarray(16,m.length-m.length%16),P=w.buffer.slice(w.byteOffset,w.byteOffset+w.length);this.decryptBuffer(P).then(j=>{const q=new Uint8Array(j);m.set(q,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,s)}).catch(s)}decryptAacSamples(t,n,s){for(;;n++){if(n>=t.length){s();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,s),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,s=new Int8Array(n);let m=0;for(let w=32;w<t.length-16;w+=160,m+=16)s.set(t.subarray(w,w+16),m);return s}getAvcDecryptedUnit(t,n){const s=new Uint8Array(n);let m=0;for(let w=32;w<t.length-16;w+=160,m+=16)t.set(s.subarray(m,m+16),w);return t}decryptAvcSample(t,n,s,m,w){const P=Yt(w.data),j=this.getAvcEncryptedData(P);this.decryptBuffer(j.buffer).then(q=>{w.data=this.getAvcDecryptedUnit(P,q),this.decrypter.isSync()||this.decryptAvcSamples(t,n,s+1,m)}).catch(m)}decryptAvcSamples(t,n,s,m){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,s=0){if(n>=t.length){m();return}const w=t[n].units;for(;!(s>=w.length);s++){const P=w[s];if(!(P.data.length<=48||P.type!==1&&P.type!==5)&&(this.decryptAvcSample(t,n,s,m,P),!this.decrypter.isSync()))return}}}}class Cn{constructor(){this.VideoSample=null}createVideoSample(t,n,s){return{key:t,frame:!1,pts:n,dts:s,units:[],length:0}}getLastNalUnit(t){var n;let s=this.VideoSample,m;if((!s||s.units.length===0)&&(s=t[t.length-1]),(n=s)!=null&&n.units){const w=s.units;m=w[w.length-1]}return m}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const s=n.samples,m=s.length;if(m){const w=s[m-1];t.pts=w.pts,t.dts=w.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,s){const m=n.byteLength;let w=t.naluState||0;const P=w,j=[];let q=0,G,ue,de,Ee=-1,Fe=0;for(w===-1&&(Ee=0,Fe=this.getNALuType(n,0),w=0,q=1);q<m;){if(G=n[q++],!w){w=G?0:1;continue}if(w===1){w=G?0:2;continue}if(!G)w=3;else if(G===1){if(ue=q-w-1,Ee>=0){const Be={data:n.subarray(Ee,ue),type:Fe};j.push(Be)}else{const Be=this.getLastNalUnit(t.samples);Be&&(P&&q<=4-P&&Be.state&&(Be.data=Be.data.subarray(0,Be.data.byteLength-P)),ue>0&&(Be.data=Wt(Be.data,n.subarray(0,ue)),Be.state=0))}q<m?(de=this.getNALuType(n,q),Ee=q,Fe=de,w=0):w=-1}else w=0}if(Ee>=0&&w>=0){const Be={data:n.subarray(Ee,m),type:Fe,state:w};j.push(Be)}if(j.length===0){const Be=this.getLastNalUnit(t.samples);Be&&(Be.data=Wt(Be.data,n))}return t.naluState=w,j}}class Bn{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,s=t.byteLength-n,m=new Uint8Array(4),w=Math.min(4,n);if(w===0)throw new Error("no bytes available");m.set(t.subarray(s,s+w)),this.word=new DataView(m.buffer).getUint32(0),this.bitsAvailable=w*8,this.bytesAvailable-=w}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 s=this.word>>>32-n;if(t>32&&H.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?s<<n|this.readBits(n):s}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 Xn extends Cn{parsePES(t,n,s,m){const w=this.parseNALu(t,s.data,m);let P=this.VideoSample,j,q=!1;s.data=null,P&&w.length&&!t.audFound&&(this.pushAccessUnit(P,t),P=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),w.forEach(G=>{var ue,de;switch(G.type){case 1:{let ct=!1;j=!0;const lt=G.data;if(q&<.length>4){const Gt=this.readSliceType(lt);(Gt===2||Gt===4||Gt===7||Gt===9)&&(ct=!0)}if(ct){var Ee;(Ee=P)!=null&&Ee.frame&&!P.key&&(this.pushAccessUnit(P,t),P=this.VideoSample=null)}P||(P=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),P.frame=!0,P.key=ct;break}case 5:j=!0,(ue=P)!=null&&ue.frame&&!P.key&&(this.pushAccessUnit(P,t),P=this.VideoSample=null),P||(P=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),P.key=!0,P.frame=!0;break;case 6:{j=!0,At(G.data,1,s.pts,n.samples);break}case 7:{var Fe,Be;j=!0,q=!0;const ct=G.data,lt=this.readSPS(ct);if(!t.sps||t.width!==lt.width||t.height!==lt.height||((Fe=t.pixelRatio)==null?void 0:Fe[0])!==lt.pixelRatio[0]||((Be=t.pixelRatio)==null?void 0:Be[1])!==lt.pixelRatio[1]){t.width=lt.width,t.height=lt.height,t.pixelRatio=lt.pixelRatio,t.sps=[ct];const Gt=ct.subarray(1,4);let Jt="avc1.";for(let er=0;er<3;er++){let wr=Gt[er].toString(16);wr.length<2&&(wr="0"+wr),Jt+=wr}t.codec=Jt}break}case 8:j=!0,t.pps=[G.data];break;case 9:j=!0,t.audFound=!0,(de=P)!=null&&de.frame&&(this.pushAccessUnit(P,t),P=null),P||(P=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:j=!0;break;default:j=!1;break}P&&j&&P.units.push(G)}),m&&P&&(this.pushAccessUnit(P,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new Bn(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,m=8,w;for(let P=0;P<t;P++)m!==0&&(w=n.readEG(),m=(s+w+256)%256),s=m===0?s:m}readSPS(t){const n=new Bn(t);let s=0,m=0,w=0,P=0,j,q,G;const ue=n.readUByte.bind(n),de=n.readBits.bind(n),Ee=n.readUEG.bind(n),Fe=n.readBoolean.bind(n),Be=n.skipBits.bind(n),ct=n.skipEG.bind(n),lt=n.skipUEG.bind(n),Gt=this.skipScalingList.bind(this);ue();const Jt=ue();if(de(5),Be(3),ue(),lt(),Jt===100||Jt===110||Jt===122||Jt===244||Jt===44||Jt===83||Jt===86||Jt===118||Jt===128){const sn=Ee();if(sn===3&&Be(1),lt(),lt(),Be(1),Fe())for(q=sn!==3?8:12,G=0;G<q;G++)Fe()&&(G<6?Gt(16,n):Gt(64,n))}lt();const er=Ee();if(er===0)Ee();else if(er===1)for(Be(1),ct(),ct(),j=Ee(),G=0;G<j;G++)ct();lt(),Be(1);const wr=Ee(),zr=Ee(),hn=de(1);hn===0&&Be(1),Be(1),Fe()&&(s=Ee(),m=Ee(),w=Ee(),P=Ee());let Zr=[1,1];if(Fe()&&Fe())switch(ue()){case 1:Zr=[1,1];break;case 2:Zr=[12,11];break;case 3:Zr=[10,11];break;case 4:Zr=[16,11];break;case 5:Zr=[40,33];break;case 6:Zr=[24,11];break;case 7:Zr=[20,11];break;case 8:Zr=[32,11];break;case 9:Zr=[80,33];break;case 10:Zr=[18,11];break;case 11:Zr=[15,11];break;case 12:Zr=[64,33];break;case 13:Zr=[160,99];break;case 14:Zr=[4,3];break;case 15:Zr=[3,2];break;case 16:Zr=[2,1];break;case 255:{Zr=[ue()<<8|ue(),ue()<<8|ue()];break}}return{width:Math.ceil((wr+1)*16-s*2-m*2),height:(2-hn)*(zr+1)*16-(hn?2:4)*(w+P),pixelRatio:Zr}}}class Fi extends Cn{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,m){const w=this.parseNALu(t,s.data,m);let P=this.VideoSample,j,q=!1;s.data=null,P&&w.length&&!t.audFound&&(this.pushAccessUnit(P,t),P=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),w.forEach(G=>{var ue,de;switch(G.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:P||(P=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),P.frame=!0,j=!0;break;case 16:case 17:case 18:case 21:if(j=!0,q){var Ee;(Ee=P)!=null&&Ee.frame&&!P.key&&(this.pushAccessUnit(P,t),P=this.VideoSample=null)}P||(P=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),P.key=!0,P.frame=!0;break;case 19:case 20:j=!0,(ue=P)!=null&&ue.frame&&!P.key&&(this.pushAccessUnit(P,t),P=this.VideoSample=null),P||(P=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),P.key=!0,P.frame=!0;break;case 39:j=!0,At(G.data,2,s.pts,n.samples);break;case 32:j=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(G.data)),this.initVPS=G.data),t.vps=[G.data];break;case 33:if(j=!0,q=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],G.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Fe=this.readSPS(G.data);t.width=Fe.width,t.height=Fe.height,t.pixelRatio=Fe.pixelRatio,t.codec=Fe.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Be in Fe.params)t.params[Be]=Fe.params[Be]}this.pushParameterSet(t.sps,G.data,t.vps),P||(P=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),P.key=!0;break;case 34:if(j=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Fe=this.readPPS(G.data);for(const Be in Fe)t.params[Be]=Fe[Be]}this.pushParameterSet(t.pps,G.data,t.vps)}break;case 35:j=!0,t.audFound=!0,(de=P)!=null&&de.frame&&(this.pushAccessUnit(P,t),P=null),P||(P=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:j=!1;break}P&&j&&P.units.push(G)}),m&&P&&(this.pushAccessUnit(P,t),this.VideoSample=null)}pushParameterSet(t,n,s){(s&&s[0]===this.initVPS||!s&&!t.length)&&t.push(n)}getNALuType(t,n){return(t[n]&126)>>>1}ebsp2rbsp(t){const n=new Uint8Array(t.byteLength);let s=0;for(let m=0;m<t.byteLength;m++)m>=2&&t[m]===3&&t[m-1]===0&&t[m-2]===0||(n[s]=t[m],s++);return new Uint8Array(n.buffer,0,s)}pushAccessUnit(t,n){super.pushAccessUnit(t,n),this.initVPS&&(this.initVPS=null)}readVPS(t){const n=new Bn(t);n.readUByte(),n.readUByte(),n.readBits(4),n.skipBits(2),n.readBits(6);const s=n.readBits(3),m=n.readBoolean();return{numTemporalLayers:s+1,temporalIdNested:m}}readSPS(t){const n=new Bn(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const s=n.readBits(3);n.readBoolean();const m=n.readBits(2),w=n.readBoolean(),P=n.readBits(5),j=n.readUByte(),q=n.readUByte(),G=n.readUByte(),ue=n.readUByte(),de=n.readUByte(),Ee=n.readUByte(),Fe=n.readUByte(),Be=n.readUByte(),ct=n.readUByte(),lt=n.readUByte(),Gt=n.readUByte(),Jt=[],er=[];for(let so=0;so<s;so++)Jt.push(n.readBoolean()),er.push(n.readBoolean());if(s>0)for(let so=s;so<8;so++)n.readBits(2);for(let so=0;so<s;so++)Jt[so]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),er[so]&&n.readUByte();n.readUEG();const wr=n.readUEG();wr==3&&n.skipBits(1);const zr=n.readUEG(),hn=n.readUEG(),Zr=n.readBoolean();let sn=0,nn=0,Vr=0,In=0;Zr&&(sn+=n.readUEG(),nn+=n.readUEG(),Vr+=n.readUEG(),In+=n.readUEG());const wi=n.readUEG(),ta=n.readUEG(),va=n.readUEG(),ra=n.readBoolean();for(let so=ra?0:s;so<=s;so++)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 ol=0;ol<4;ol++)for(let oc=0;oc<(ol===3?2:6);oc++)if(!n.readBoolean())n.readUEG();else{const wc=Math.min(64,1<<4+(ol<<1));ol>1&&n.readEG();for(let Ol=0;Ol<wc;Ol++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const Bi=n.readUEG();let da=0;for(let so=0;so<Bi;so++){let ol=!1;if(so!==0&&(ol=n.readBoolean()),ol){so===Bi&&n.readUEG(),n.readBoolean(),n.readUEG();let oc=0;for(let uf=0;uf<=da;uf++){const wc=n.readBoolean();let Ol=!1;wc||(Ol=n.readBoolean()),(wc||Ol)&&oc++}da=oc}else{const oc=n.readUEG(),uf=n.readUEG();da=oc+uf;for(let wc=0;wc<oc;wc++)n.readUEG(),n.readBoolean();for(let wc=0;wc<uf;wc++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const so=n.readUEG();for(let ol=0;ol<so;ol++){for(let oc=0;oc<va+4;oc++)n.readBits(1);n.readBits(1)}}let yi=0,bi=1,gs=1,ys=!0,Es=1,Zs=0;n.readBoolean(),n.readBoolean();let mu=!1;if(n.readBoolean()){if(n.readBoolean()){const Pf=n.readUByte(),Xf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],jo=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Pf>0&&Pf<16?(bi=Xf[Pf-1],gs=jo[Pf-1]):Pf===255&&(bi=n.readBits(16),gs=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(),mu=n.readBoolean(),mu&&(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG()),n.readBoolean()&&(Es=n.readBits(32),Zs=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const jo=n.readBoolean(),ou=n.readBoolean();let Gf=!1;(jo||ou)&&(Gf=n.readBoolean(),Gf&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),Gf&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let yd=0;yd<=s;yd++){ys=n.readBoolean();const Od=ys||n.readBoolean();let bd=!1;Od?n.readEG():bd=n.readBoolean();const xd=bd?1:n.readUEG()+1;if(jo)for(let Qf=0;Qf<xd;Qf++)n.readUEG(),n.readUEG(),Gf&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(ou)for(let Qf=0;Qf<xd;Qf++)n.readUEG(),n.readUEG(),Gf&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),yi=n.readUEG())}let sc=zr,su=hn;if(Zr){let so=1,ol=1;wr===1?so=ol=2:wr==2&&(so=2),sc=zr-so*nn-so*sn,su=hn-ol*In-ol*Vr}const Bo=m?["A","B","C"][m]:"",Dd=j<<24|q<<16|G<<8|ue;let $c=0;for(let so=0;so<32;so++)$c=($c|(Dd>>so&1)<<31-so)>>>0;let fd=$c.toString(16);return P===1&&fd==="2"&&(fd="6"),{codecString:`hvc1.${Bo}${P}.${fd}.${w?"H":"L"}${Gt}.B0`,params:{general_tier_flag:w,general_profile_idc:P,general_profile_space:m,general_profile_compatibility_flags:[j,q,G,ue],general_constraint_indicator_flags:[de,Ee,Fe,Be,ct,lt],general_level_idc:Gt,bit_depth:wi+8,bit_depth_luma_minus8:wi,bit_depth_chroma_minus8:ta,min_spatial_segmentation_idc:yi,chroma_format_idc:wr,frame_rate:{fixed:ys,fps:Zs/Es}},width:sc,height:su,pixelRatio:[bi,gs]}}readPPS(t){const n=new Bn(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(),w=n.readBoolean();let P=1;return w&&m?P=0:w?P=3:m&&(P=2),{parallelismType:P}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const Zi=188;class aa{constructor(t,n,s,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=s,this.logger=m,this.videoParser=null}static probe(t,n){const s=aa.syncOffset(t);return s>0&&n.warn(`MPEG2-TS detected but first sync word found @ offset ${s}`),s!==-1}static syncOffset(t){const n=t.length;let s=Math.min(Zi*5,n-Zi)+1,m=0;for(;m<s;){let w=!1,P=-1,j=0;for(let q=m;q<n;q+=Zi)if(t[q]===71&&(n-q===Zi||t[q+Zi]===71)){if(j++,P===-1&&(P=q,P!==0&&(s=Math.min(P+Zi*99,t.length-Zi)+1)),w||(w=Sa(t,q)===0),w&&j>1&&(P===0&&j>2||q+Zi>s))return P}else{if(j)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:tr[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:t==="audio"?n:void 0}}resetInitSegment(t,n,s,m){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=aa.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=aa.createTrack("audio",m),this._id3Track=aa.createTrack("id3"),this._txtTrack=aa.createTrack("text"),this._audioTrack.segmentCodec="aac",this.videoParser=null,this.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=s}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:s}=this;t&&(t.pesData=null),n&&(n.pesData=null),s&&(s.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,s=!1,m=!1){s||(this.sampleAes=null);let w;const P=this._videoTrack,j=this._audioTrack,q=this._id3Track,G=this._txtTrack;let ue=P.pid,de=P.pesData,Ee=j.pid,Fe=q.pid,Be=j.pesData,ct=q.pesData,lt=null,Gt=this.pmtParsed,Jt=this._pmtId,er=t.length;if(this.remainderData&&(t=Wt(this.remainderData,t),er=t.length,this.remainderData=null),er<Zi&&!m)return this.remainderData=t,{audioTrack:j,videoTrack:P,id3Track:q,textTrack:G};const wr=Math.max(0,aa.syncOffset(t));er-=(er-wr)%Zi,er<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,er,t.buffer.byteLength-er));let zr=0;for(let Zr=wr;Zr<er;Zr+=Zi)if(t[Zr]===71){const sn=!!(t[Zr+1]&64),nn=Sa(t,Zr),Vr=(t[Zr+3]&48)>>4;let In;if(Vr>1){if(In=Zr+5+t[Zr+4],In===Zr+Zi)continue}else In=Zr+4;switch(nn){case ue:sn&&(de&&(w=ka(de,this.logger))&&(this.readyVideoParser(P.segmentCodec),this.videoParser!==null&&this.videoParser.parsePES(P,G,w,!1)),de={data:[],size:0}),de&&(de.data.push(t.subarray(In,Zr+Zi)),de.size+=Zr+Zi-In);break;case Ee:if(sn){if(Be&&(w=ka(Be,this.logger)))switch(j.segmentCodec){case"aac":this.parseAACPES(j,w);break;case"mp3":this.parseMPEGPES(j,w);break;case"ac3":this.parseAC3PES(j,w);break}Be={data:[],size:0}}Be&&(Be.data.push(t.subarray(In,Zr+Zi)),Be.size+=Zr+Zi-In);break;case Fe:sn&&(ct&&(w=ka(ct,this.logger))&&this.parseID3PES(q,w),ct={data:[],size:0}),ct&&(ct.data.push(t.subarray(In,Zr+Zi)),ct.size+=Zr+Zi-In);break;case 0:sn&&(In+=t[In]+1),Jt=this._pmtId=Cs(t,In);break;case Jt:{sn&&(In+=t[In]+1);const wi=Ps(t,In,this.typeSupported,s,this.observer,this.logger);ue=wi.videoPid,ue>0&&(P.pid=ue,P.segmentCodec=wi.segmentVideoCodec),Ee=wi.audioPid,Ee>0&&(j.pid=Ee,j.segmentCodec=wi.segmentAudioCodec),Fe=wi.id3Pid,Fe>0&&(q.pid=Fe),lt!==null&&!Gt&&(this.logger.warn(`MPEG-TS PMT found at ${Zr} after unknown PID '${lt}'. Backtracking to sync byte @${wr} to parse all TS packets.`),lt=null,Zr=wr-188),Gt=this.pmtParsed=!0;break}case 17:case 8191:break;default:lt=nn;break}}else zr++;zr>0&&Ds(this.observer,new Error(`Found ${zr} TS packet/s that do not start with 0x47`),void 0,this.logger),P.pesData=de,j.pesData=Be,q.pesData=ct;const hn={audioTrack:j,videoTrack:P,id3Track:q,textTrack:G};return m&&this.extractRemainingSamples(hn),hn}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:s,id3Track:m,textTrack:w}=t,P=s.pesData,j=n.pesData,q=m.pesData;let G;if(P&&(G=ka(P,this.logger))?(this.readyVideoParser(s.segmentCodec),this.videoParser!==null&&(this.videoParser.parsePES(s,w,G,!0),s.pesData=null)):s.pesData=P,j&&(G=ka(j,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,G);break;case"mp3":this.parseMPEGPES(n,G);break;case"ac3":this.parseAC3PES(n,G);break}n.pesData=null}else j!=null&&j.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=j;q&&(G=ka(q,this.logger))?(this.parseID3PES(m,G),m.pesData=null):m.pesData=q}demuxSampleAes(t,n,s){const m=this.demux(t,s,!0,!this.config.progressive),w=this.sampleAes=new fn(this.observer,this.config,n);return this.decrypt(m,w)}readyVideoParser(t){this.videoParser===null&&(t==="avc"?this.videoParser=new Xn:t==="hevc"&&(this.videoParser=new Fi))}decrypt(t,n){return new Promise(s=>{const{audioTrack:m,videoTrack:w}=t;m.samples&&m.segmentCodec==="aac"?n.decryptAacSamples(m.samples,0,()=>{w.samples?n.decryptAvcSamples(w.samples,0,0,()=>{s(t)}):s(t)}):w.samples&&n.decryptAvcSamples(w.samples,0,0,()=>{s(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 s=0;const m=this.aacOverFlow;let w=n.data;if(m){this.aacOverFlow=null;const de=m.missing,Ee=m.sample.unit.byteLength;if(de===-1)w=Wt(m.sample.unit,w);else{const Fe=Ee-de;m.sample.unit.set(w.subarray(0,de),Fe),t.samples.push(m.sample),s=m.missing}}let P,j;for(P=s,j=w.length;P<j-1&&!Ui(w,P);P++);if(P!==s){let de;const Ee=P<j-1;if(Ee?de=`AAC PES did not start with ADTS header,offset:${P}`:de="No ADTS header found in AAC PES",Ds(this.observer,new Error(de),Ee,this.logger),!Ee)return}ds(t,this.observer,w,P,this.audioCodec);let q;if(n.pts!==void 0)q=n.pts;else if(m){const de=Fo(t.samplerate);q=m.sample.pts+de}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let G=0,ue;for(;P<j;)if(ue=Ba(t,w,P,q,G),P+=ue.length,ue.missing){this.aacOverFlow=ue;break}else for(G++;P<j-1&&!Ui(w,P);P++);}parseMPEGPES(t,n){const s=n.data,m=s.length;let w=0,P=0;const j=n.pts;if(j===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;P<m;)if(Z(s,P)){const q=Uc(t,s,P,j,w);if(q)P+=q.length,w++;else break}else P++}parseAC3PES(t,n){{const s=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const w=s.length;let P=0,j=0,q;for(;j<w&&(q=Tt(t,s,j,m,P++))>0;)j+=q}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?wn.emsg:wn.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function Sa(O,t){return((O[t+1]&31)<<8)+O[t+2]}function Cs(O,t){return(O[t+10]&31)<<8|O[t+11]}function Ps(O,t,n,s,m,w){const P={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},j=(O[t+1]&15)<<8|O[t+2],q=t+3+j-4,G=(O[t+10]&15)<<8|O[t+11];for(t+=12+G;t<q;){const ue=Sa(O,t),de=(O[t+3]&15)<<8|O[t+4];switch(O[t]){case 207:if(!s){Os("ADTS AAC",w);break}case 15:P.audioPid===-1&&(P.audioPid=ue);break;case 21:P.id3Pid===-1&&(P.id3Pid=ue);break;case 219:if(!s){Os("H.264",w);break}case 27:P.videoPid===-1&&(P.videoPid=ue);break;case 3:case 4:!n.mpeg&&!n.mp3?w.log("MPEG audio found, not supported in this browser"):P.audioPid===-1&&(P.audioPid=ue,P.segmentAudioCodec="mp3");break;case 193:if(!s){Os("AC-3",w);break}case 129:n.ac3?P.audioPid===-1&&(P.audioPid=ue,P.segmentAudioCodec="ac3"):w.log("AC-3 audio found, not supported in this browser");break;case 6:if(P.audioPid===-1&&de>0){let Ee=t+5,Fe=de;for(;Fe>2;){switch(O[Ee]){case 106:n.ac3!==!0?w.log("AC-3 audio found, not supported in this browser for now"):(P.audioPid=ue,P.segmentAudioCodec="ac3");break}const ct=O[Ee+1]+2;Ee+=ct,Fe-=ct}}break;case 194:case 135:return Ds(m,new Error("Unsupported EC-3 in M2TS found"),void 0,w),P;case 36:P.videoPid===-1&&(P.videoPid=ue,P.segmentVideoCodec="hevc",w.log("HEVC in M2TS found"));break}t+=de+5}return P}function Ds(O,t,n,s){s.warn(`parsing error: ${t.message}`),O.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function Os(O,t){t.log(`${O} with AES-128-CBC encryption found in unencrypted stream`)}function ka(O,t){let n=0,s,m,w,P,j;const q=O.data;if(!O||O.size===0)return null;for(;q[0].length<19&&q.length>1;)q[0]=Wt(q[0],q[1]),q.splice(1,1);if(s=q[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(m=(s[4]<<8)+s[5],m&&m>O.size-6)return null;const ue=s[7];ue&192&&(P=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,ue&64?(j=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[18]&254)/2,P-j>54e5&&(t.warn(`${Math.round((P-j)/9e4)}s delta between PTS and DTS, align them`),P=j)):j=P),w=s[8];let de=w+9;if(O.size<=de)return null;O.size-=de;const Ee=new Uint8Array(O.size);for(let Fe=0,Be=q.length;Fe<Be;Fe++){s=q[Fe];let ct=s.byteLength;if(de)if(de>ct){de-=ct;continue}else s=s.subarray(de),ct-=de,de=0;Ee.set(s,n),n+=ct}return m&&(m-=w+3),{data:Ee,pts:P,dts:j,len:m}}return null}class no{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 xs=Math.pow(2,32)-1;class Pr{static init(){Pr.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 Pr.types)Pr.types.hasOwnProperty(t)&&(Pr.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]),s=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]);Pr.HDLR_TYPES={video:n,audio:s};const m=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),w=new Uint8Array([0,0,0,0,0,0,0,0]);Pr.STTS=Pr.STSC=Pr.STCO=w,Pr.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Pr.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Pr.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Pr.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const P=new Uint8Array([105,115,111,109]),j=new Uint8Array([97,118,99,49]),q=new Uint8Array([0,0,0,1]);Pr.FTYP=Pr.box(Pr.types.ftyp,P,q,P,j),Pr.DINF=Pr.box(Pr.types.dinf,Pr.box(Pr.types.dref,m))}static box(t,...n){let s=8,m=n.length;const w=m;for(;m--;)s+=n[m].byteLength;const P=new Uint8Array(s);for(P[0]=s>>24&255,P[1]=s>>16&255,P[2]=s>>8&255,P[3]=s&255,P.set(t,4),m=0,s=8;m<w;m++)P.set(n[m],s),s+=n[m].byteLength;return P}static hdlr(t){return Pr.box(Pr.types.hdlr,Pr.HDLR_TYPES[t])}static mdat(t){return Pr.box(Pr.types.mdat,t)}static mdhd(t,n){n*=t;const s=Math.floor(n/(xs+1)),m=Math.floor(n%(xs+1));return Pr.box(Pr.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,s>>24,s>>16&255,s>>8&255,s&255,m>>24,m>>16&255,m>>8&255,m&255,85,196,0,0]))}static mdia(t){return Pr.box(Pr.types.mdia,Pr.mdhd(t.timescale||0,t.duration||0),Pr.hdlr(t.type),Pr.minf(t))}static mfhd(t){return Pr.box(Pr.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"?Pr.box(Pr.types.minf,Pr.box(Pr.types.smhd,Pr.SMHD),Pr.DINF,Pr.stbl(t)):Pr.box(Pr.types.minf,Pr.box(Pr.types.vmhd,Pr.VMHD),Pr.DINF,Pr.stbl(t))}static moof(t,n,s){return Pr.box(Pr.types.moof,Pr.mfhd(t),Pr.traf(s,n))}static moov(t){let n=t.length;const s=[];for(;n--;)s[n]=Pr.trak(t[n]);return Pr.box.apply(null,[Pr.types.moov,Pr.mvhd(t[0].timescale||0,t[0].duration||0)].concat(s).concat(Pr.mvex(t)))}static mvex(t){let n=t.length;const s=[];for(;n--;)s[n]=Pr.trex(t[n]);return Pr.box.apply(null,[Pr.types.mvex,...s])}static mvhd(t,n){n*=t;const s=Math.floor(n/(xs+1)),m=Math.floor(n%(xs+1)),w=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,s>>24,s>>16&255,s>>8&255,s&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 Pr.box(Pr.types.mvhd,w)}static sdtp(t){const n=t.samples||[],s=new Uint8Array(4+n.length);let m,w;for(m=0;m<n.length;m++)w=n[m].flags,s[m+4]=w.dependsOn<<4|w.isDependedOn<<2|w.hasRedundancy;return Pr.box(Pr.types.sdtp,s)}static stbl(t){return Pr.box(Pr.types.stbl,Pr.stsd(t),Pr.box(Pr.types.stts,Pr.STTS),Pr.box(Pr.types.stsc,Pr.STSC),Pr.box(Pr.types.stsz,Pr.STSZ),Pr.box(Pr.types.stco,Pr.STCO))}static avc1(t){let n=[],s=[],m,w,P;for(m=0;m<t.sps.length;m++)w=t.sps[m],P=w.byteLength,n.push(P>>>8&255),n.push(P&255),n=n.concat(Array.prototype.slice.call(w));for(m=0;m<t.pps.length;m++)w=t.pps[m],P=w.byteLength,s.push(P>>>8&255),s.push(P&255),s=s.concat(Array.prototype.slice.call(w));const j=Pr.box(Pr.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),q=t.width,G=t.height,ue=t.pixelRatio[0],de=t.pixelRatio[1];return Pr.box(Pr.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,q>>8&255,q&255,G>>8&255,G&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),j,Pr.box(Pr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Pr.box(Pr.types.pasp,new Uint8Array([ue>>24,ue>>16&255,ue>>8&255,ue&255,de>>24,de>>16&255,de>>8&255,de&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 Pr.box(Pr.types.mp4a,Pr.audioStsd(t),Pr.box(Pr.types.esds,Pr.esds(t)))}static mp3(t){return Pr.box(Pr.types[".mp3"],Pr.audioStsd(t))}static ac3(t){return Pr.box(Pr.types["ac-3"],Pr.audioStsd(t),Pr.box(Pr.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return Pr.box(Pr.types.stsd,Pr.STSD,Pr.mp4a(t));if(n==="ac3"&&t.config)return Pr.box(Pr.types.stsd,Pr.STSD,Pr.ac3(t));if(n==="mp3"&&t.codec==="mp3")return Pr.box(Pr.types.stsd,Pr.STSD,Pr.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return Pr.box(Pr.types.stsd,Pr.STSD,Pr.avc1(t));if(n==="hevc"&&t.vps)return Pr.box(Pr.types.stsd,Pr.STSD,Pr.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,s=(t.duration||0)*(t.timescale||0),m=t.width||0,w=t.height||0,P=Math.floor(s/(xs+1)),j=Math.floor(s%(xs+1));return Pr.box(Pr.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,P>>24,P>>16&255,P>>8&255,P&255,j>>24,j>>16&255,j>>8&255,j&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,w>>8&255,w&255,0,0]))}static traf(t,n){const s=Pr.sdtp(t),m=t.id,w=Math.floor(n/(xs+1)),P=Math.floor(n%(xs+1));return Pr.box(Pr.types.traf,Pr.box(Pr.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),Pr.box(Pr.types.tfdt,new Uint8Array([1,0,0,0,w>>24,w>>16&255,w>>8&255,w&255,P>>24,P>>16&255,P>>8&255,P&255])),Pr.trun(t,s.length+16+20+8+16+8+8),s)}static trak(t){return t.duration=t.duration||4294967295,Pr.box(Pr.types.trak,Pr.tkhd(t),Pr.mdia(t))}static trex(t){const n=t.id;return Pr.box(Pr.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 s=t.samples||[],m=s.length,w=12+16*m,P=new Uint8Array(w);let j,q,G,ue,de,Ee;for(n+=8+w,P.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),j=0;j<m;j++)q=s[j],G=q.duration,ue=q.size,de=q.flags,Ee=q.cts,P.set([G>>>24&255,G>>>16&255,G>>>8&255,G&255,ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&255,de.isLeading<<2|de.dependsOn,de.isDependedOn<<6|de.hasRedundancy<<4|de.paddingValue<<1|de.isNonSync,de.degradPrio&61440,de.degradPrio&15,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255],12+16*j);return Pr.box(Pr.types.trun,P)}static initSegment(t){Pr.types||Pr.init();const n=Pr.moov(t);return Wt(Pr.FTYP,n)}static hvc1(t){const n=t.params,s=[t.vps,t.sps,t.pps],m=4,w=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),s.length]);let P=w.length;for(let Be=0;Be<s.length;Be+=1){P+=3;for(let ct=0;ct<s[Be].length;ct+=1)P+=2+s[Be][ct].length}const j=new Uint8Array(P);j.set(w,0),P=w.length;const q=s.length-1;for(let Be=0;Be<s.length;Be+=1){j.set(new Uint8Array([32+Be|(Be===q?128:0),0,s[Be].length]),P),P+=3;for(let ct=0;ct<s[Be].length;ct+=1)j.set(new Uint8Array([s[Be][ct].length>>8,s[Be][ct].length&255]),P),P+=2,j.set(s[Be][ct],P),P+=s[Be][ct].length}const G=Pr.box(Pr.types.hvcC,j),ue=t.width,de=t.height,Ee=t.pixelRatio[0],Fe=t.pixelRatio[1];return Pr.box(Pr.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,ue>>8&255,ue&255,de>>8&255,de&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]),G,Pr.box(Pr.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Pr.box(Pr.types.pasp,new Uint8Array([Ee>>24,Ee>>16&255,Ee>>8&255,Ee&255,Fe>>24,Fe>>16&255,Fe>>8&255,Fe&255])))}}Pr.types=void 0,Pr.HDLR_TYPES=void 0,Pr.STTS=void 0,Pr.STSC=void 0,Pr.STCO=void 0,Pr.STSZ=void 0,Pr.VMHD=void 0,Pr.SMHD=void 0,Pr.STSD=void 0,Pr.FTYP=void 0,Pr.DINF=void 0;const Po=9e4;function Go(O,t,n=1,s=!1){const m=O*t*n;return s?Math.round(m):m}function bu(O,t,n=1,s=!1){return Go(O,t,1/n,s)}function Bs(O,t=!1){return Go(O,1e3,1/Po,t)}function Ko(O,t=1){return Go(O,Po,1/t)}function Du(O){const{baseTime:t,timescale:n,trackId:s}=O;return`${t/n} (${t}/${n}) trackId: ${s}`}const cc=10*1e3,Sl=1024,ss=1152,ll=1536;let Ns=null,Wu=null;function el(O,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:O?2:1,isNonSync:O?0:1}}}class Vo extends R{constructor(t,n,s,m){if(super("mp4-remuxer",m),this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextVideoTs=null,this.nextAudioTs=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=n,this.typeSupported=s,this.ISGenerated=!1,Ns===null){const P=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);Ns=P?parseInt(P[1]):0}if(Wu===null){const w=navigator.userAgent.match(/Safari\/(\d+)/i);Wu=w?parseInt(w[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){const n=this._initPTS;(!n||!t||t.trackId!==n.trackId||t.baseTime!==n.baseTime||t.timescale!==n.timescale)&&this.log(`Reset initPTS: ${n&&Du(n)} > ${t&&Du(t)}`),this._initPTS=this._initDTS=t}resetNextTimestamp(){this.log("reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.log("ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(t){let n=!1;const s=t[0].pts,m=t.reduce((w,P)=>{let j=P.pts,q=j-w;return q<-4294967296&&(n=!0,j=zs(j,s),q=j-w),q>0?w:j},s);return n&&this.debug("PTS rollover detected"),m}remux(t,n,s,m,w,P,j,q){let G,ue,de,Ee,Fe,Be,ct=w,lt=w;const Gt=t.pid>-1,Jt=n.pid>-1,er=n.samples.length,wr=t.samples.length>0,zr=j&&er>0||er>1;if((!Gt||wr)&&(!Jt||zr)||this.ISGenerated||j){if(this.ISGenerated){var Zr,sn,nn,Vr;const va=this.videoTrackConfig;(va&&(n.width!==va.width||n.height!==va.height||((Zr=n.pixelRatio)==null?void 0:Zr[0])!==((sn=va.pixelRatio)==null?void 0:sn[0])||((nn=n.pixelRatio)==null?void 0:nn[1])!==((Vr=va.pixelRatio)==null?void 0:Vr[1]))||!va&&zr||this.nextAudioTs===null&&wr)&&this.resetInitSegment()}this.ISGenerated||(de=this.generateIS(t,n,w,P));const In=this.isVideoContiguous;let wi=-1,ta;if(zr&&(wi=fc(n.samples),!In&&this.config.forceKeyFrameOnDiscontinuity))if(Be=!0,wi>0){this.warn(`Dropped ${wi} out of ${er} video samples due to a missing keyframe`);const va=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(wi),n.dropped+=wi,lt+=(n.samples[0].pts-va)/n.inputTimeScale,ta=lt}else wi===-1&&(this.warn(`No keyframe found out of ${er} video samples`),Be=!1);if(this.ISGenerated){if(wr&&zr){const va=this.getVideoStartPts(n.samples),di=(zs(t.samples[0].pts,va)-va)/n.inputTimeScale;ct+=Math.max(0,di),lt+=Math.max(0,-di)}if(wr){if(t.samplerate||(this.warn("regenerate InitSegment as audio detected"),de=this.generateIS(t,n,w,P)),ue=this.remuxAudio(t,ct,this.isAudioContiguous,P,Jt||zr||q===u.AUDIO?lt:void 0),zr){const va=ue?ue.endPTS-ue.startPTS:0;n.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),de=this.generateIS(t,n,w,P)),G=this.remuxVideo(n,lt,In,va)}}else zr&&(G=this.remuxVideo(n,lt,In,0));G&&(G.firstKeyFrame=wi,G.independent=wi!==-1,G.firstKeyFramePTS=ta)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Fe=xu(s,w,this._initPTS,this._initDTS)),m.samples.length&&(Ee=Hl(m,w,this._initPTS))),{audio:ue,video:G,initSegment:de,independent:Be,text:Ee,id3:Fe}}computeInitPts(t,n,s,m){const w=Math.round(s*n);let P=zs(t,w);if(P<w+n)for(this.log(`Adjusting PTS for rollover in timeline near ${(w-P)/n} ${m}`);P<w+n;)P+=8589934592;return P-w}generateIS(t,n,s,m){const w=t.samples,P=n.samples,j=this.typeSupported,q={},G=this._initPTS;let ue=!G||m,de="audio/mp4",Ee,Fe,Be,ct=-1;if(ue&&(Ee=Fe=1/0),t.config&&w.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":j.mpeg?(de="audio/mpeg",t.codec=""):j.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}q.audio={id:"audio",container:de,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&j.mpeg?new Uint8Array(0):Pr.initSegment([t]),metadata:{channelCount:t.channelCount}},ue&&(ct=t.id,Be=t.inputTimeScale,!G||Be!==G.timescale?Ee=Fe=this.computeInitPts(w[0].pts,Be,s,"audio"):ue=!1)}if(n.sps&&n.pps&&P.length){if(n.timescale=n.inputTimeScale,q.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:Pr.initSegment([n]),metadata:{width:n.width,height:n.height}},ue)if(ct=n.id,Be=n.inputTimeScale,!G||Be!==G.timescale){const lt=this.getVideoStartPts(P),Gt=zs(P[0].dts,lt),Jt=this.computeInitPts(Gt,Be,s,"video"),er=this.computeInitPts(lt,Be,s,"video");Fe=Math.min(Fe,Jt),Ee=Math.min(Ee,er)}else ue=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(q).length)return this.ISGenerated=!0,ue?(G&&this.warn(`Timestamps at playlist time: ${m?"":"~"}${s} ${Ee/Be} != initPTS: ${G.baseTime/G.timescale} (${G.baseTime}/${G.timescale}) trackId: ${G.trackId}`),this.log(`Found initPTS at playlist time: ${s} offset: ${Ee/Be} (${Ee}/${Be}) trackId: ${ct}`),this._initPTS={baseTime:Ee,timescale:Be,trackId:ct},this._initDTS={baseTime:Fe,timescale:Be,trackId:ct}):Ee=Be=void 0,{tracks:q,initPTS:Ee,timescale:Be,trackId:ct}}remuxVideo(t,n,s,m){const w=t.inputTimeScale,P=t.samples,j=[],q=P.length,G=this._initPTS,ue=G.baseTime*w/G.timescale;let de=this.nextVideoTs,Ee=8,Fe=this.videoSampleDuration,Be,ct,lt=Number.POSITIVE_INFINITY,Gt=Number.NEGATIVE_INFINITY,Jt=!1;if(!s||de===null){const yi=ue+n*w,bi=P[0].pts-zs(P[0].dts,P[0].pts);Ns&&de!==null&&Math.abs(yi-bi-(de+ue))<15e3?s=!0:de=yi-bi-ue}const er=de+ue;for(let yi=0;yi<q;yi++){const bi=P[yi];bi.pts=zs(bi.pts,er),bi.dts=zs(bi.dts,er),bi.dts<P[yi>0?yi-1:yi].dts&&(Jt=!0)}Jt&&P.sort(function(yi,bi){const gs=yi.dts-bi.dts,ys=yi.pts-bi.pts;return gs||ys}),Be=P[0].dts,ct=P[P.length-1].dts;const wr=ct-Be,zr=wr?Math.round(wr/(q-1)):Fe||t.inputTimeScale/30;if(s){const yi=Be-er,bi=yi>zr,gs=yi<-1;if((bi||gs)&&(bi?this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Bs(yi,!0)} ms (${yi}dts) hole between fragments detected at ${n.toFixed(3)}`):this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Bs(-yi,!0)} ms (${yi}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!gs||er>=P[0].pts||Ns)){Be=er;const ys=P[0].pts-yi;if(bi)P[0].dts=Be,P[0].pts=ys;else{let Es=!0;for(let Zs=0;Zs<P.length&&!(P[Zs].dts>ys&&Es);Zs++){const mu=P[Zs].pts;if(P[Zs].dts-=yi,P[Zs].pts-=yi,Zs<P.length-1){const ya=P[Zs+1].pts,sc=P[Zs].pts,su=ya<=sc,Bo=ya<=mu;Es=su==Bo}}}this.log(`Video: Initial PTS/DTS adjusted: ${Bs(ys,!0)}/${Bs(Be,!0)}, delta: ${Bs(yi,!0)} ms`)}}Be=Math.max(0,Be);let hn=0,Zr=0,sn=Be;for(let yi=0;yi<q;yi++){const bi=P[yi],gs=bi.units,ys=gs.length;let Es=0;for(let Zs=0;Zs<ys;Zs++)Es+=gs[Zs].data.length;Zr+=Es,hn+=ys,bi.length=Es,bi.dts<sn?(bi.dts=sn,sn+=zr/4|0||1):sn=bi.dts,lt=Math.min(bi.pts,lt),Gt=Math.max(bi.pts,Gt)}ct=P[q-1].dts;const nn=Zr+4*hn+8;let Vr;try{Vr=new Uint8Array(nn)}catch(yi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:yi,bytes:nn,reason:`fail allocating video mdat ${nn}`});return}const In=new DataView(Vr.buffer);In.setUint32(0,nn),Vr.set(Pr.types.mdat,4);let wi=!1,ta=Number.POSITIVE_INFINITY,va=Number.POSITIVE_INFINITY,ra=Number.NEGATIVE_INFINITY,di=Number.NEGATIVE_INFINITY;for(let yi=0;yi<q;yi++){const bi=P[yi],gs=bi.units;let ys=0;for(let mu=0,ya=gs.length;mu<ya;mu++){const sc=gs[mu],su=sc.data,Bo=sc.data.byteLength;In.setUint32(Ee,Bo),Ee+=4,Vr.set(su,Ee),Ee+=Bo,ys+=4+Bo}let Es;if(yi<q-1)Fe=P[yi+1].dts-bi.dts,Es=P[yi+1].pts-bi.pts;else{const mu=this.config,ya=yi>0?bi.dts-P[yi-1].dts:zr;if(Es=yi>0?bi.pts-P[yi-1].pts:zr,mu.stretchShortVideoTrack&&this.nextAudioTs!==null){const sc=Math.floor(mu.maxBufferHole*w),su=(m?lt+m*w:this.nextAudioTs+ue)-bi.pts;su>sc?(Fe=su-ya,Fe<0?Fe=ya:wi=!0,this.log(`It is approximately ${su/90} ms to the next segment; using duration ${Fe/90} ms for the last video frame.`)):Fe=ya}else Fe=ya}const Zs=Math.round(bi.pts-bi.dts);ta=Math.min(ta,Fe),ra=Math.max(ra,Fe),va=Math.min(va,Es),di=Math.max(di,Es),j.push(el(bi.key,Fe,ys,Zs))}if(j.length){if(Ns){if(Ns<70){const yi=j[0].flags;yi.dependsOn=2,yi.isNonSync=0}}else if(Wu&&di-va<ra-ta&&zr/ra<.025&&j[0].cts===0){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let yi=Be;for(let bi=0,gs=j.length;bi<gs;bi++){const ys=yi+j[bi].duration,Es=yi+j[bi].cts;if(bi<gs-1){const Zs=ys+j[bi+1].cts;j[bi].duration=Zs-Es}else j[bi].duration=bi?j[bi-1].duration:zr;j[bi].cts=0,yi=ys}}}Fe=wi||!Fe?zr:Fe;const sa=ct+Fe;this.nextVideoTs=de=sa-ue,this.videoSampleDuration=Fe,this.isVideoContiguous=!0;const $a={data1:Pr.moof(t.sequenceNumber++,Be,y(t,{samples:j})),data2:Vr,startPTS:(lt-ue)/w,endPTS:(Gt+Fe-ue)/w,startDTS:(Be-ue)/w,endDTS:de/w,type:"video",hasAudio:!1,hasVideo:!0,nb:j.length,dropped:t.dropped};return t.samples=[],t.dropped=0,$a}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return ss;case"ac3":return ll;default:return Sl}}remuxAudio(t,n,s,m,w){const P=t.inputTimeScale,j=t.samplerate?t.samplerate:P,q=P/j,G=this.getSamplesPerFrame(t),ue=G*q,de=this._initPTS,Ee=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Fe=[],Be=w!==void 0;let ct=t.samples,lt=Ee?0:8,Gt=this.nextAudioTs||-1;const Jt=de.baseTime*P/de.timescale,er=Jt+n*P;if(this.isAudioContiguous=s=s||ct.length&&Gt>0&&(m&&Math.abs(er-(Gt+Jt))<9e3||Math.abs(zs(ct[0].pts,er)-(Gt+Jt))<20*ue),ct.forEach(function(di){di.pts=zs(di.pts,er)}),!s||Gt<0){const di=ct.length;if(ct=ct.filter(sa=>sa.pts>=0),di!==ct.length&&this.warn(`Removed ${ct.length-di} of ${di} samples (initPTS ${Jt} / ${P})`),!ct.length)return;w===0?Gt=0:m&&!Be?Gt=Math.max(0,er-Jt):Gt=ct[0].pts-Jt}if(t.segmentCodec==="aac"){const di=this.config.maxAudioFramesDrift;for(let sa=0,Bi=Gt+Jt;sa<ct.length;sa++){const da=ct[sa],$a=da.pts,yi=$a-Bi,bi=Math.abs(1e3*yi/P);if(yi<=-di*ue&&Be)sa===0&&(this.warn(`Audio frame @ ${($a/P).toFixed(3)}s overlaps marker by ${Math.round(1e3*yi/P)} ms.`),this.nextAudioTs=Gt=$a-Jt,Bi=$a);else if(yi>=di*ue&&bi<cc&&Be){let gs=Math.round(yi/ue);for(Bi=$a-gs*ue;Bi<0&&gs&&ue;)gs--,Bi+=ue;sa===0&&(this.nextAudioTs=Gt=Bi-Jt),this.warn(`Injecting ${gs} audio frames @ ${((Bi-Jt)/P).toFixed(3)}s due to ${Math.round(1e3*yi/P)} ms gap.`);for(let ys=0;ys<gs;ys++){let Es=no.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);Es||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),Es=da.unit.subarray()),ct.splice(sa,0,{unit:Es,pts:Bi}),Bi+=ue,sa++}}da.pts=Bi,Bi+=ue}}let wr=null,zr=null,hn,Zr=0,sn=ct.length;for(;sn--;)Zr+=ct[sn].unit.byteLength;for(let di=0,sa=ct.length;di<sa;di++){const Bi=ct[di],da=Bi.unit;let $a=Bi.pts;if(zr!==null){const bi=Fe[di-1];bi.duration=Math.round(($a-zr)/q)}else if(s&&t.segmentCodec==="aac"&&($a=Gt+Jt),wr=$a,Zr>0){Zr+=lt;try{hn=new Uint8Array(Zr)}catch(bi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:bi,bytes:Zr,reason:`fail allocating audio mdat ${Zr}`});return}Ee||(new DataView(hn.buffer).setUint32(0,Zr),hn.set(Pr.types.mdat,4))}else return;hn.set(da,lt);const yi=da.byteLength;lt+=yi,Fe.push(el(!0,G,yi,0)),zr=$a}const nn=Fe.length;if(!nn)return;const Vr=Fe[Fe.length-1];Gt=zr-Jt,this.nextAudioTs=Gt+q*Vr.duration;const In=Ee?new Uint8Array(0):Pr.moof(t.sequenceNumber++,wr/q,y({},t,{samples:Fe}));t.samples=[];const wi=(wr-Jt)/P,ta=Gt/P,ra={data1:In,data2:hn,startPTS:wi,endPTS:ta,startDTS:wi,endDTS:ta,type:"audio",hasAudio:!0,hasVideo:!1,nb:nn};return this.isAudioContiguous=!0,ra}}function zs(O,t){let n;if(t===null)return O;for(t<O?n=-8589934592:n=8589934592;Math.abs(O-t)>4294967296;)O+=n;return O}function fc(O){for(let t=0;t<O.length;t++)if(O[t].key)return t;return-1}function xu(O,t,n,s){const m=O.samples.length;if(!m)return;const w=O.inputTimeScale;for(let j=0;j<m;j++){const q=O.samples[j];q.pts=zs(q.pts-n.baseTime*w/n.timescale,t*w)/w,q.dts=zs(q.dts-s.baseTime*w/s.timescale,t*w)/w}const P=O.samples;return O.samples=[],{samples:P}}function Hl(O,t,n){const s=O.samples.length;if(!s)return;const m=O.inputTimeScale;for(let P=0;P<s;P++){const j=O.samples[P];j.pts=zs(j.pts-n.baseTime*m/n.timescale,t*m)/m}O.samples.sort((P,j)=>P.pts-j.pts);const w=O.samples;return O.samples=[],{samples:w}}class Io extends R{constructor(t,n,s,m){super("passthrough-remuxer",m),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.isVideoContiguous=!1}destroy(){}resetTimeStamp(t){this.lastEndTime=null;const n=this.initPTS;n&&t&&n.baseTime===t.baseTime&&n.timescale===t.timescale||(this.initPTS=t)}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(t,n,s,m){this.audioCodec=n,this.videoCodec=s,this.generateInitSegment(t,m),this.emitInitSegment=!0}generateInitSegment(t,n){let{audioCodec:s,videoCodec:m}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const{audio:w,video:P}=this.initData=et(t);if(n)nt(t,n);else{const q=w||P;q!=null&&q.encrypted&&this.warn(`Init segment with encrypted track with has no key ("${q.codec}")!`)}w&&(s=Wl(w,ae.AUDIO,this)),P&&(m=Wl(P,ae.VIDEO,this));const j={};w&&P?j.audiovideo={container:"video/mp4",codec:s+","+m,supplemental:P.supplemental,encrypted:P.encrypted,initSegment:t,id:"main"}:w?j.audio={container:"audio/mp4",codec:s,encrypted:w.encrypted,initSegment:t,id:"audio"}:P?j.video={container:"video/mp4",codec:m,supplemental:P.supplemental,encrypted:P.encrypted,initSegment:t,id:"main"}:this.warn("initSegment does not contain moov or trak boxes."),this.initTracks=j}remux(t,n,s,m,w,P){var j,q;let{initPTS:G,lastEndTime:ue}=this;const de={audio:void 0,video:void 0,text:m,id3:s,initSegment:void 0};r(ue)||(ue=this.lastEndTime=w||0);const Ee=n.samples;if(!Ee.length)return de;const Fe={initPTS:void 0,timescale:void 0,trackId:void 0};let Be=this.initData;if((j=Be)!=null&&j.length||(this.generateInitSegment(Ee),Be=this.initData),!((q=Be)!=null&&q.length))return this.warn("Failed to generate initSegment."),de;this.emitInitSegment&&(Fe.tracks=this.initTracks,this.emitInitSegment=!1);const ct=De(Ee,Be,this),lt=Be.audio?ct[Be.audio.id]:null,Gt=Be.video?ct[Be.video.id]:null,Jt=tu(Gt,1/0),er=tu(lt,1/0),wr=tu(Gt,0,!0),zr=tu(lt,0,!0);let hn=w,Zr=0;const sn=lt&&(!Gt||!G&&er<Jt||G&&G.trackId===Be.audio.id),nn=sn?lt:Gt;if(nn){const Bi=nn.timescale,da=nn.start-w*Bi,$a=sn?Be.audio.id:Be.video.id;hn=nn.start/Bi,Zr=sn?zr-er:wr-Jt,(P||!G)&&(cl(G,hn,w,Zr)||Bi!==G.timescale)&&(G&&this.warn(`Timestamps at playlist time: ${P?"":"~"}${w} ${da/Bi} != initPTS: ${G.baseTime/G.timescale} (${G.baseTime}/${G.timescale}) trackId: ${G.trackId}`),this.log(`Found initPTS at playlist time: ${w} offset: ${hn-w} (${da}/${Bi}) trackId: ${$a}`),G=null,Fe.initPTS=da,Fe.timescale=Bi,Fe.trackId=$a)}else this.warn(`No audio or video samples found for initPTS at playlist time: ${w}`);G?(Fe.initPTS=G.baseTime,Fe.timescale=G.timescale,Fe.trackId=G.trackId):((!Fe.timescale||Fe.trackId===void 0||Fe.initPTS===void 0)&&(this.warn("Could not set initPTS"),Fe.initPTS=hn,Fe.timescale=1,Fe.trackId=-1),this.initPTS=G={baseTime:Fe.initPTS,timescale:Fe.timescale,trackId:Fe.trackId});const Vr=hn-G.baseTime/G.timescale,In=Vr+Zr;Zr>0?this.lastEndTime=In:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const wi=!!Be.audio,ta=!!Be.video;let va="";wi&&(va+="audio"),ta&&(va+="video");const ra=(Be.audio?Be.audio.encrypted:!1)||(Be.video?Be.video.encrypted:!1),di={data1:Ee,startPTS:Vr,startDTS:Vr,endPTS:In,endDTS:In,type:va,hasAudio:wi,hasVideo:ta,nb:1,dropped:0,encrypted:ra};de.audio=wi&&!ta?di:void 0,de.video=ta?di:void 0;const sa=Gt==null?void 0:Gt.sampleCount;if(sa){const Bi=Gt.keyFrameIndex,da=Bi!==-1;di.nb=sa,di.dropped=Bi===0||this.isVideoContiguous?0:da?Bi:sa,di.independent=da,di.firstKeyFrame=Bi,da&&Gt.keyFrameStart&&(di.firstKeyFramePTS=(Gt.keyFrameStart-G.baseTime)/G.timescale),this.isVideoContiguous||(de.independent=da),this.isVideoContiguous||(this.isVideoContiguous=da),di.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${Bi}/${sa} dropped: ${di.dropped} start: ${di.firstKeyFramePTS||"NA"}`)}return de.initSegment=Fe,de.id3=xu(s,w,G,G),m.samples.length&&(de.text=Hl(m,w,G)),de}}function tu(O,t,n=!1){return(O==null?void 0:O.start)!==void 0?(O.start+(n?O.duration:0))/O.timescale:t}function cl(O,t,n,s){if(O===null)return!0;const m=Math.max(s,1),w=t-O.baseTime/O.timescale;return Math.abs(w-n)>m}function Wl(O,t,n){const s=O.codec;return s&&s.length>4?s:t===ae.AUDIO?s==="ec-3"||s==="ac-3"||s==="alac"?s:s==="fLaC"||s==="Opus"?Et(s,!1):(n.warn(`Unhandled audio codec "${s}" in mp4 MAP`),s||"mp4a"):(n.warn(`Unhandled video codec "${s}" in mp4 MAP`),s||"avc1")}let ru;try{ru=self.performance.now.bind(self.performance)}catch(O){ru=Date.now}const Gl=[{demux:Tr,remux:Io},{demux:aa,remux:Vo},{demux:he,remux:Vo},{demux:$t,remux:Vo}];Gl.splice(2,0,{demux:qe,remux:Vo});class Kl{constructor(t,n,s,m,w,P){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=s,this.id=w,this.logger=P}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,m){const w=s.transmuxing;w.executeStart=ru();let P=new Uint8Array(t);const{currentTransmuxState:j,transmuxConfig:q}=this;m&&(this.currentTransmuxState=m);const{contiguous:G,discontinuity:ue,trackSwitch:de,accurateTimeOffset:Ee,timeOffset:Fe,initSegmentChange:Be}=m||j,{audioCodec:ct,videoCodec:lt,defaultInitPts:Gt,duration:Jt,initSegmentData:er}=q,wr=Vl(P,n);if(wr&&Ro(wr.method)){const sn=this.getDecrypter(),nn=Zo(wr.method);if(sn.isSync()){let Vr=sn.softwareDecrypt(P,wr.key.buffer,wr.iv.buffer,nn);if(s.part>-1){const wi=sn.flush();Vr=wi&&wi.buffer}if(!Vr)return w.executeEnd=ru(),dc(s);P=new Uint8Array(Vr)}else return this.asyncResult=!0,this.decryptionPromise=sn.webCryptoDecrypt(P,wr.key.buffer,wr.iv.buffer,nn).then(Vr=>{const In=this.push(Vr,null,s);return this.decryptionPromise=null,In}),this.decryptionPromise}const zr=this.needsProbing(ue,de);if(zr){const sn=this.configureTransmuxer(P);if(sn)return this.logger.warn(`[transmuxer] ${sn.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:sn,reason:sn.message}),w.executeEnd=ru(),dc(s)}(ue||de||Be||zr)&&this.resetInitSegment(er,ct,lt,Jt,n),(ue||Be||zr)&&this.resetInitialTimestamp(Gt),G||this.resetContiguity();const hn=this.transmux(P,wr,Fe,Ee,s);this.asyncResult=io(hn);const Zr=this.currentTransmuxState;return Zr.contiguous=!0,Zr.discontinuity=!1,Zr.trackSwitch=!1,w.executeEnd=ru(),hn}flush(t){const n=t.transmuxing;n.executeStart=ru();const{decrypter:s,currentTransmuxState:m,decryptionPromise:w}=this;if(w)return this.asyncResult=!0,w.then(()=>this.flush(t));const P=[],{timeOffset:j}=m;if(s){const de=s.flush();de&&P.push(this.push(de.buffer,null,t))}const{demuxer:q,remuxer:G}=this;if(!q||!G){n.executeEnd=ru();const de=[dc(t)];return this.asyncResult?Promise.resolve(de):de}const ue=q.flush(j);return io(ue)?(this.asyncResult=!0,ue.then(de=>(this.flushRemux(P,de,t),P))):(this.flushRemux(P,ue,t),this.asyncResult?Promise.resolve(P):P)}flushRemux(t,n,s){const{audioTrack:m,videoTrack:w,id3Track:P,textTrack:j}=n,{accurateTimeOffset:q,timeOffset:G}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${s.sn}${s.part>-1?" part: "+s.part:""} of ${this.id===u.MAIN?"level":"track"} ${s.level}`);const ue=this.remuxer.remux(m,w,P,j,G,q,!0,this.id);t.push({remuxResult:ue,chunkMeta:s}),s.transmuxing.executeEnd=ru()}resetInitialTimestamp(t){const{demuxer:n,remuxer:s}=this;!n||!s||(n.resetTimeStamp(t),s.resetTimeStamp(t))}resetContiguity(){const{demuxer:t,remuxer:n}=this;!t||!n||(t.resetContiguity(),n.resetNextTimestamp())}resetInitSegment(t,n,s,m,w){const{demuxer:P,remuxer:j}=this;!P||!j||(P.resetInitSegment(t,n,s,m),j.resetInitSegment(t,n,s,w))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(t,n,s,m,w){let P;return n&&n.method==="SAMPLE-AES"?P=this.transmuxSampleAes(t,n,s,m,w):P=this.transmuxUnencrypted(t,s,m,w),P}transmuxUnencrypted(t,n,s,m){const{audioTrack:w,videoTrack:P,id3Track:j,textTrack:q}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(w,P,j,q,n,s,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,s,m,w){return this.demuxer.demuxSampleAes(t,n,s).then(P=>({remuxResult:this.remuxer.remux(P.audioTrack,P.videoTrack,P.id3Track,P.textTrack,s,m,!1,this.id),chunkMeta:w}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:m}=this;let w;for(let de=0,Ee=Gl.length;de<Ee;de++){var P;if((P=Gl[de].demux)!=null&&P.probe(t,this.logger)){w=Gl[de];break}}if(!w)return new Error("Failed to find demuxer by probing fragment data");const j=this.demuxer,q=this.remuxer,G=w.remux,ue=w.demux;(!q||!(q instanceof G))&&(this.remuxer=new G(s,n,m,this.logger)),(!j||!(j instanceof ue))&&(this.demuxer=new ue(s,n,m,this.logger),this.probe=ue.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new as(this.config)),t}}function Vl(O,t){let n=null;return O.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const dc=O=>({remuxResult:{},chunkMeta:O});function io(O){return"then"in O&&O.then instanceof Function}class zc{constructor(t,n,s,m,w){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=s,this.duration=m,this.defaultInitPts=w||null}}class Bu{constructor(t,n,s,m,w,P){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=s,this.trackSwitch=m,this.timeOffset=w,this.initSegmentChange=P}}let fl=0;class wu{constructor(t,n,s,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=fl++,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=q=>{const G=q.data,ue=this.hls;if(!(!ue||!(G!=null&&G.event)||G.instanceNo!==this.instanceNo))switch(G.event){case"init":{var de;const Ee=(de=this.workerContext)==null?void 0:de.objectURL;Ee&&self.URL.revokeObjectURL(Ee);break}case"transmuxComplete":{this.handleTransmuxComplete(G.data);break}case"flush":{this.onFlush(G.data);break}case"workerLog":{ue.logger[G.data.logType]&&ue.logger[G.data.logType](G.data.message);break}default:{G.data=G.data||{},G.data.frag=this.frag,G.data.part=this.part,G.data.id=this.id,ue.trigger(G.event,G.data);break}}},this.onWorkerError=q=>{if(!this.hls)return;const G=new Error(`${q.message} (${q.filename}:${q.lineno})`);this.hls.config.enableWorker=!1,this.hls.logger.warn(`Error in "${this.id}" Web Worker, fallback to inline`),this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:!1,event:"demuxerWorker",error:G})};const w=t.config;this.hls=t,this.id=n,this.useWorker=!!w.enableWorker,this.onTransmuxComplete=s,this.onFlush=m;const P=(q,G)=>{G=G||{},G.frag=this.frag||void 0,q===o.ERROR&&(G=G,G.parent=this.id,G.part=this.part,this.error=G.error),this.hls.trigger(q,G)};this.observer=new ti,this.observer.on(o.FRAG_DECRYPTED,P),this.observer.on(o.ERROR,P);const j=Hr(w.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const q=this.hls.logger;if(w.workerPath||ji()){try{w.workerPath?(q.log(`loading Web Worker ${w.workerPath} for "${n}"`),this.workerContext=Ji(w.workerPath)):(q.log(`injecting Web Worker for "${n}"`),this.workerContext=ga());const{worker:ue}=this.workerContext;ue.addEventListener("message",this.onWorkerMessage),ue.addEventListener("error",this.onWorkerError),ue.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:j,id:n,config:Ai(w)})}catch(ue){q.warn(`Error setting up "${n}" Web Worker, fallback to inline`,ue),this.terminateWorker(),this.error=null,this.transmuxer=new Kl(this.observer,j,w,"",n,t.logger)}return}}this.transmuxer=new Kl(this.observer,j,w,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=fl++;const n=this.hls.config,s=Hr(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:Ai(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Mi(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,s,m,w,P,j,q,G,ue){var de,Ee;G.transmuxing.start=self.performance.now();const{instanceNo:Fe,transmuxer:Be}=this,ct=P?P.start:w.start,lt=w.decryptdata,Gt=this.frag,Jt=!(Gt&&w.cc===Gt.cc),er=!(Gt&&G.level===Gt.level),wr=Gt?G.sn-Gt.sn:-1,zr=this.part?G.part-this.part.index:-1,hn=wr===0&&G.id>1&&G.id===(Gt==null?void 0:Gt.stats.chunkCount),Zr=!er&&(wr===1||wr===0&&(zr===1||hn&&zr<=0)),sn=self.performance.now();(er||wr||w.stats.parsing.start===0)&&(w.stats.parsing.start=sn),P&&(zr||!Zr)&&(P.stats.parsing.start=sn);const nn=!(Gt&&((de=w.initSegment)==null?void 0:de.url)===((Ee=Gt.initSegment)==null?void 0:Ee.url)),Vr=new Bu(Jt,Zr,q,er,ct,nn);if(!Zr||Jt||nn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${w.type} sn: ${G.sn}${G.part>-1?" part: "+G.part:""} ${this.id===u.MAIN?"level":"track"}: ${G.level} id: ${G.id}
|
|
|
discontinuity: ${Jt}
|
|
|
trackSwitch: ${er}
|
|
|
contiguous: ${Zr}
|
|
|
accurateTimeOffset: ${q}
|
|
|
timeOffset: ${ct}
|
|
|
initSegmentChange: ${nn}`);const In=new zc(s,m,n,j,ue);this.configureTransmuxer(In)}if(this.frag=w,this.part=P,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Fe,cmd:"demux",data:t,decryptdata:lt,chunkMeta:G,state:Vr},t instanceof ArrayBuffer?[t]:[]);else if(Be){const In=Be.push(t,lt,G,Vr);io(In)?In.then(wi=>{this.handleTransmuxComplete(wi)}).catch(wi=>{this.transmuxerError(wi,G,"transmuxer-interface push error")}):this.handleTransmuxComplete(In)}}flush(t){t.transmuxing.start=self.performance.now();const{instanceNo:n,transmuxer:s}=this;if(this.workerContext)this.workerContext.worker.postMessage({instanceNo:n,cmd:"flush",chunkMeta:t});else if(s){const m=s.flush(t);io(m)?m.then(w=>{this.handleFlushResult(w,t)}).catch(w=>{this.transmuxerError(w,t,"transmuxer-interface flush error")}):this.handleFlushResult(m,t)}}transmuxerError(t,n,s){this.hls&&(this.error=t,this.hls.trigger(o.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:s}))}handleFlushResult(t,n){t.forEach(s=>{this.handleTransmuxComplete(s)}),this.onFlush(n)}configureTransmuxer(t){const{instanceNo:n,transmuxer:s}=this;this.workerContext?this.workerContext.worker.postMessage({instanceNo:n,cmd:"configure",config:t}):s&&s.configure(t)}handleTransmuxComplete(t){t.chunkMeta.transmuxing.end=self.performance.now(),this.onTransmuxComplete(t)}}const Zc=100;class cf extends Lt{constructor(t,n,s){super(t,n,s,"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(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){const{hls:t}=this;t&&(super.unregisterListeners(),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.AUDIO_TRACKS_UPDATED,this.onAudioTracksUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this))}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:w,trackId:P}){if(s===u.MAIN){const j=n.cc,q=this.fragCurrent;if(this.initPTS[j]={baseTime:m,timescale:w,trackId:P},this.log(`InitPTS for cc: ${j} found from main: ${m/w} (${m}/${w}) trackId: ${P}`),this.mainAnchor=n,this.state===Re.WAITING_INIT_PTS){const G=this.waitingData;(!G&&!this.loadingParts||G&&G.frag.cc!==j)&&this.syncWithAnchor(n,G==null?void 0:G.frag)}else!this.hls.hasEnoughToStart&&q&&q.cc!==j?(q.abortRequests(),this.syncWithAnchor(n,q)):this.state===Re.IDLE&&this.tick()}}getLoadPosition(){return!this.startFragRequested&&this.nextLoadPosition>=0?this.nextLoadPosition:super.getLoadPosition()}syncWithAnchor(t,n){var s;const m=((s=this.mainFragLoading)==null?void 0:s.frag)||null;if(n&&(m==null?void 0:m.cc)===n.cc)return;const w=(m||t).cc,P=this.getLevelDetails(),j=this.getLoadPosition(),q=He(P,w,j);q&&(this.log(`Syncing with main frag at ${q.start} cc ${q.cc}`),this.startFragRequested=!1,this.nextLoadPosition=q.start,this.resetLoadingState(),this.state===Re.IDLE&&this.doTickIdle())}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=Re.STOPPED;return}const s=this.lastCurrentTime;this.stopLoad(),this.setInterval(Zc),s>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s,this.state=Re.IDLE):this.state=Re.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case Re.IDLE:this.doTickIdle();break;case Re.WAITING_TRACK:{const{levels:t,trackId:n}=this,s=t==null?void 0:t[n],m=s==null?void 0:s.details;if(m&&!this.waitForLive(s)){if(this.waitForCdnTuneIn(m))break;this.state=Re.WAITING_INIT_PTS}break}case Re.FRAG_LOADING_WAITING_RETRY:{this.checkRetryDate();break}case Re.WAITING_INIT_PTS:{const t=this.waitingData;if(t){const{frag:n,part:s,cache:m,complete:w}=t,P=this.mainAnchor;if(this.initPTS[n.cc]!==void 0){this.waitingData=null,this.state=Re.FRAG_LOADING;const j=m.flush().buffer,q={frag:n,part:s,payload:j,networkDetails:null};this._handleFragmentLoadProgress(q),w&&super._handleFragmentLoadComplete(q)}else P&&P.cc!==t.frag.cc&&this.syncWithAnchor(P,t.frag)}else this.state=Re.IDLE}}this.onTickEnd()}resetLoadingState(){const t=this.waitingData;t&&(this.fragmentTracker.removeFragment(t.frag),this.waitingData=null),super.resetLoadingState()}onTickEnd(){const{media:t}=this;t!=null&&t.readyState&&(this.lastCurrentTime=t.currentTime)}doTickIdle(){var t;const{hls:n,levels:s,media:m,trackId:w}=this,P=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!P.startFragPrefetch)||!(s!=null&&s[w]))return;const j=s[w],q=j.details;if(!q||this.waitForLive(j)||this.waitForCdnTuneIn(q)){this.state=Re.WAITING_TRACK,this.startFragRequested=!1;return}const G=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&G&&(this.bufferFlushed=!1,this.afterBufferFlushed(G,ae.AUDIO,u.AUDIO));const ue=this.getFwdBufferInfo(G,u.AUDIO);if(ue===null)return;if(!this.switchingTrack&&this._streamEnded(ue,q)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=Re.ENDED;return}const de=ue.len,Ee=n.maxBufferLength,Fe=q.fragments,Be=Fe[0].start,ct=this.getLoadPosition(),lt=this.flushing?ct:ue.end;if(this.switchingTrack&&m){const er=ct;q.PTSKnown&&er<Be&&(ue.end>Be||ue.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Be+.05)}if(de>=Ee&&!this.switchingTrack&<<Fe[Fe.length-1].start)return;let Gt=this.getNextFragment(lt,q);if(Gt&&this.isLoopLoading(Gt,lt)&&(Gt=this.getNextFragmentLoopLoading(Gt,q,ue,u.MAIN,Ee)),!Gt){this.bufferFlushed=!0;return}let Jt=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&Jt&&Ie(Gt)&&!Gt.endList&&(!q.live||!this.loadingParts&<<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(Jt)===mn.OK&&(this.mainFragLoading=Jt=null),Jt&&Ie(Jt))){if(Gt.start>Jt.end){const wr=this.fragmentTracker.getFragAtPos(lt,u.MAIN);wr&&wr.end>Jt.end&&(Jt=wr,this.mainFragLoading={frag:wr,targetBufferTime:null})}if(Gt.start>Jt.end)return}this.loadFragment(Gt,j,lt)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new Vi(s))}onAudioTrackSwitching(t,n){const s=!!n.url;this.trackId=n.id;const{fragCurrent:m}=this;m&&(m.abortRequests(),this.removeUnbufferedFrags(m.start)),this.resetLoadingState(),s?(this.switchingTrack=n,this.flushAudioIfNeeded(n),this.state!==Re.STOPPED&&(this.setInterval(Zc),this.state=Re.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 s=this.cachedTrackLoadedData;s&&(this.cachedTrackLoadedData=null,this.onAudioTrackLoaded(o.AUDIO_TRACK_LOADED,s))}onAudioTrackLoaded(t,n){var s;const{levels:m}=this,{details:w,id:P,groupId:j,track:q}=n;if(!m){this.warn(`Audio tracks reset while loading track ${P} "${q.name}" of "${j}"`);return}const G=this.mainDetails;if(!G||w.endCC>G.endCC||G.expired){this.cachedTrackLoadedData=n,this.state!==Re.STOPPED&&(this.state=Re.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${P} "${q.name}" of "${j}" loaded [${w.startSN},${w.endSN}]${w.lastPartSn?`[part-${w.lastPartSn}-${w.lastPartIndex}]`:""},duration:${w.totalduration}`);const ue=m[P];let de=0;if(w.live||(s=ue.details)!=null&&s.live){if(this.checkLiveUpdate(w),w.deltaUpdateFailed)return;if(ue.details){var Ee;de=this.alignPlaylists(w,ue.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}w.alignedSliding||(So(w,G),w.alignedSliding||An(w,G),de=w.fragmentStart)}ue.details=w,this.levelLastLoaded=ue,this.startFragRequested||this.setStartPosition(G,de),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:w,id:P,groupId:n.groupId}),this.state===Re.WAITING_TRACK&&!this.waitForCdnTuneIn(w)&&(this.state=Re.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:w}=t,{config:P,trackId:j,levels:q}=this;if(!q){this.warn(`Audio tracks were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const G=q[j];if(!G){this.warn("Audio track is undefined on fragment load progress");return}const ue=G.details;if(!ue){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const de=P.defaultAudioCodec||G.audioCodec||"mp4a.40.2";let Ee=this.transmuxer;Ee||(Ee=this.transmuxer=new wu(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Fe=this.initPTS[s.cc],Be=(n=s.initSegment)==null?void 0:n.data;if(Fe!==void 0){const lt=m?m.index:-1,Gt=lt!==-1,Jt=new No(s.level,s.sn,s.stats.chunkCount,w.byteLength,lt,Gt);Ee.push(w,Be,de,"",s,m,ue.totalduration,!1,Jt,Fe)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${ue.startSN} ,${ue.endSN}],track ${j}`);const{cache:ct}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new pr,complete:!1};ct.push(new Uint8Array(w)),this.state!==Re.STOPPED&&(this.state=Re.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 s=n.tracks.audio;s&&(this.mediaBuffer=s.buffer||null)}onFragLoading(t,n){!this.audioOnly&&n.frag.type===u.MAIN&&Ie(n.frag)&&(this.mainFragLoading=n,this.state===Re.IDLE&&this.tick())}onFragBuffered(t,n){const{frag:s,part:m}=n;if(s.type!==u.AUDIO){!this.audioOnly&&s.type===u.MAIN&&!s.elementaryStreams.video&&!s.elementaryStreams.audiovideo&&(this.audioOnly=!0,this.mainFragLoading=null);return}if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(Ie(s)){this.fragPrevious=s;const w=this.switchingTrack;w&&(this.bufferedTrack=w,this.switchingTrack=null,this.hls.trigger(o.AUDIO_TRACK_SWITCHED,b({},w)))}this.fragBufferedComplete(s,m),this.media&&this.tick()}onError(t,n){var s;if(n.fatal){this.state=Re.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===Re.WAITING_TRACK&&((s=n.context)==null?void 0:s.type)===h.AUDIO_TRACK&&(this.state=Re.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)||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!==ae.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==ae.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Re.ENDED&&(this.state=Re.IDLE);const s=this.mediaBuffer||this.media;s&&(this.afterBufferFlushed(s,n,u.AUDIO),this.tick())}}_handleTransmuxComplete(t){var n;const s="audio",{hls:m}=this,{remuxResult:w,chunkMeta:P}=t,j=this.getCurrentContext(P);if(!j){this.resetWhenMissingContext(P);return}const{frag:q,part:G,level:ue}=j,{details:de}=ue,{audio:Ee,text:Fe,id3:Be,initSegment:ct}=w;if(this.fragContextChanged(q)||!de){this.fragmentTracker.removeFragment(q);return}if(this.state=Re.PARSING,this.switchingTrack&&Ee&&this.completeAudioSwitch(this.switchingTrack),ct!=null&&ct.tracks){const lt=q.initSegment||q;if(this.unhandledEncryptionError(ct,q))return;this._bufferInitSegment(ue,ct.tracks,lt,P),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:lt,id:s,tracks:ct.tracks})}if(Ee){const{startPTS:lt,endPTS:Gt,startDTS:Jt,endDTS:er}=Ee;G&&(G.elementaryStreams[ae.AUDIO]={startPTS:lt,endPTS:Gt,startDTS:Jt,endDTS:er}),q.setElementaryStreamInfo(ae.AUDIO,lt,Gt,Jt,er),this.bufferFragmentData(Ee,q,G,P)}if(Be!=null&&(n=Be.samples)!=null&&n.length){const lt=y({id:s,frag:q,details:de},Be);m.trigger(o.FRAG_PARSING_METADATA,lt)}if(Fe){const lt=y({id:s,frag:q,details:de},Fe);m.trigger(o.FRAG_PARSING_USERDATA,lt)}}_bufferInitSegment(t,n,s,m){if(this.state!==Re.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const w=n.audio;w.id=u.AUDIO;const P=t.audioCodec;this.log(`Init audio buffer, container:${w.container}, codecs[level/parsed]=[${P}/${w.codec}]`),P&&P.split(",").length===1&&(w.levelCodec=P),this.hls.trigger(o.BUFFER_CODECS,n);const j=w.initSegment;if(j!=null&&j.byteLength){const q={type:"audio",frag:s,part:null,chunkMeta:m,parent:s.type,data:j};this.hls.trigger(o.BUFFER_APPENDING,q)}this.tickImmediate()}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===mn.NOT_LOADED||m===mn.PARTIAL){var w;if(!Ie(t))this._loadInitSegment(t,n);else if((w=n.details)!=null&&w.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=Re.WAITING_INIT_PTS;const P=this.mainDetails;P&&P.fragmentStart!==n.details.fragmentStart&&An(n.details,P)}else super.loadFragment(t,n,s)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:s,assocLang:m,characteristics:w,audioCodec:P,channels:j}=this.bufferedTrack;Jn({name:n,lang:s,assocLang:m,characteristics:w,audioCodec:P,channels:j},t,Ci)||(dt(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(o.AUDIO_TRACK_SWITCHED,b({},t))}}class fi extends R{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,s){const m=n==null?void 0:n.renditionReports;if(m){let w=-1;for(let P=0;P<m.length;P++){const j=m[P];let q;try{q=new self.URL(j.URI,n.url).href}catch(G){this.warn(`Could not construct new URL for Rendition Report: ${G}`),q=j.URI||""}if(q===t){w=P;break}else q===t.substring(0,q.length)&&(w=P)}if(w!==-1){const P=m[w],j=parseInt(P["LAST-MSN"])||n.lastPartSn;let q=parseInt(P["LAST-PART"])||n.lastPartIndex;if(this.hls.config.lowLatencyMode){const ue=Math.min(n.age-n.partTarget,n.targetduration);q>=0&&ue>n.partTarget&&(q+=1)}const G=s&&ai(s);return new hi(j,q>=0?q:void 0,G)}}}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(s){this.warn(`Could not construct new URL with HLS Delivery Directives: ${s}`)}return t}playlistLoaded(t,n,s){const{details:m,stats:w}=n,P=self.performance.now(),j=w.loading.first?Math.max(0,P-w.loading.first):0;m.advancedDateTime=Date.now()-j;const q=this.hls.config.timelineOffset;if(q!==m.appliedTimelineOffset){const ue=Math.max(q||0,0);m.appliedTimelineOffset=ue,m.fragments.forEach(de=>{de.setStart(de.playlistOffset+ue)})}if(m.live||s!=null&&s.live){const ue="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(s),s&&m.fragments.length>0){Sn(s,m,this);const Jt=m.playlistParsingError;if(Jt){this.warn(Jt);const er=this.hls;if(!er.config.ignorePlaylistParsingErrors){var G;const{networkDetails:wr}=n;er.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:Jt,reason:Jt.message,level:n.level||void 0,parent:(G=m.fragments[0])==null?void 0:G.type,networkDetails:wr,stats:w});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=w.loading.start);const de=this.hls.mainForwardBufferInfo,Ee=de?de.end-de.len:0,Fe=(m.edge-Ee)*1e3,Be=Kr(m,Fe);if(m.requestScheduled+Be<P?m.requestScheduled=P:m.requestScheduled+=Be,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let ct,lt,Gt;if(m.canBlockReload&&m.endSN&&m.advanced){const Jt=this.hls.config.lowLatencyMode,er=m.lastPartSn,wr=m.endSN,zr=m.lastPartIndex,hn=zr!==-1,Zr=er===wr;hn?Zr?(lt=wr+1,Gt=Jt?0:zr):(lt=er,Gt=Jt?zr+1:m.maxPartIndex):lt=wr+1;const sn=m.age,nn=sn+m.ageHeader;let Vr=Math.min(nn-m.partTarget,m.targetduration*1.5);if(Vr>0){if(nn>m.targetduration*3)this.log(`Playlist last advanced ${sn.toFixed(2)}s ago. Omitting segment and part directives.`),lt=void 0,Gt=void 0;else if(s!=null&&s.tuneInGoal&&nn-m.partTarget>s.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${s.tuneInGoal} to: ${Vr} with playlist age: ${m.age}`),Vr=0;else{const In=Math.floor(Vr/m.targetduration);if(lt+=In,Gt!==void 0){const wi=Math.round(Vr%m.targetduration/m.partTarget);Gt+=wi}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${sn.toFixed(2)}s goal: ${Vr} skip sn ${In} to part ${Gt}`)}m.tuneInGoal=Vr}if(ct=this.getDeliveryDirectives(m,n.deliveryDirectives,lt,Gt),Jt||!Zr){m.requestScheduled=P,this.loadingPlaylist(ue,ct);return}}else(m.canBlockReload||m.canSkipUntil)&&(ct=this.getDeliveryDirectives(m,n.deliveryDirectives,lt,Gt));ct&<!==void 0&&m.canBlockReload&&(m.requestScheduled=w.loading.first+Math.max(Be-j*2,Be/2)),this.scheduleLoading(ue,ct,m)}else this.clearTimer()}scheduleLoading(t,n,s){const m=s||t.details;if(!m){this.loadingPlaylist(t,n);return}const w=self.performance.now(),P=m.requestScheduled;if(w>=P){this.loadingPlaylist(t,n);return}const j=P-w;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(j)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),j)}getDeliveryDirectives(t,n,s,m){let w=ai(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,m=n.part,w=Mn.No),new hi(s,m,w)}checkRetry(t){const n=t.details,s=tt(t),m=t.errorAction,{action:w,retryCount:P=0,retryConfig:j}=m||{},q=!!m&&!!j&&(w===yr.RetryRequest||!m.resolved&&w===yr.SendAlternateToPenaltyBox);if(q){var G;if(P>=j.maxNumRetry)return!1;if(s&&(G=t.context)!=null&&G.deliveryDirectives)this.warn(`Retrying playlist loading ${P+1}/${j.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const ue=kr(j,P);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),ue),this.warn(`Retrying playlist loading ${P+1}/${j.maxNumRetry} after "${n}" in ${ue}ms`)}t.levelRetry=!0,m.resolved=!0}return q}}function ff(O,t){if(O.length!==t.length)return!1;for(let n=0;n<O.length;n++)if(!kl(O[n].attrs,t[n].attrs))return!1;return!0}function kl(O,t,n){const s=O["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>O[m]!==t[m])}function hc(O,t){return t.label.toLowerCase()===O.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(O.lang||"").toLowerCase())}class Rl extends fi{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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.AUDIO_TRACK_LOADED,this.onAudioTrackLoaded,this),t.off(o.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:s,groupId:m,details:w}=n,P=this.tracksInGroup[s];if(!P||P.groupId!==m){this.warn(`Audio track with id:${s} and group:${m} not found in active group ${P==null?void 0:P.groupId}`);return}const j=P.details;P.details=n.details,this.log(`Audio track ${s} "${P.name}" lang:${P.lang} group:${m} loaded [${w.startSN}-${w.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,j)}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 s=n.audioGroups||null,m=this.groupIds;let w=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(j=>(m==null?void 0:m.indexOf(j))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const j=this.tracks.filter(Ee=>!s||s.indexOf(Ee.groupId)!==-1);if(j.length)this.selectDefaultTrack&&!j.some(Ee=>Ee.default)&&(this.selectDefaultTrack=!1),j.forEach((Ee,Fe)=>{Ee.id=Fe});else if(!w&&!this.tracksInGroup.length)return;this.tracksInGroup=j;const q=this.hls.config.audioPreference;if(!w&&q){const Ee=qn(q,j,Ci);if(Ee>-1)w=j[Ee];else{const Fe=qn(q,this.tracks);w=this.tracks[Fe]}}let G=this.findTrackId(w);G===-1&&w&&(G=this.findTrackId(null));const ue={audioTracks:j};this.log(`Updating audio tracks, ${j.length} track(s) found in group(s): ${s==null?void 0:s.join(",")}`),this.hls.trigger(o.AUDIO_TRACKS_UPDATED,ue);const de=this.trackId;if(G!==-1&&de===-1)this.setAudioTrack(G);else if(j.length&&de===-1){var P;const Ee=new Error(`No audio track selected for current audio group-ID(s): ${(P=this.groupIds)==null?void 0:P.join(",")} track count: ${j.length}`);this.warn(Ee.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:Ee})}}}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 s=this.allAudioTracks;if(this.selectDefaultTrack=!1,s.length){const m=this.currentTrack;if(m&&Jn(t,m,Ci))return m;const w=qn(t,this.tracksInGroup,Ci);if(w>-1){const P=this.tracksInGroup[w];return this.setAudioTrack(w),P}else if(m){let P=n.loadLevel;P===-1&&(P=n.firstAutoLevel);const j=pi(t,n.levels,s,P,Ci);if(j===-1)return null;n.nextLoadLevel=j}if(t.channels||t.audioCodec){const P=qn(t,s);if(P>-1)return s[P]}}}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 s=this.currentTrack,m=n[t],w=m.details&&!m.details.live;if(t===this.trackId&&m===s&&w||(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(o.AUDIO_TRACK_SWITCHING,b({},m)),w))return;const P=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(P)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(!(this.selectDefaultTrack&&!m.default)&&(!t||Jn(t,m,Ci)))return s}if(t){const{name:s,lang:m,assocLang:w,characteristics:P,audioCodec:j,channels:q}=t;for(let G=0;G<n.length;G++){const ue=n[G];if(Jn({name:s,lang:m,assocLang:w,characteristics:P,audioCodec:j,channels:q},ue,Ci))return G}for(let G=0;G<n.length;G++){const ue=n[G];if(kl(t.attrs,ue.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return G}for(let G=0;G<n.length;G++){const ue=n[G];if(kl(t.attrs,ue.attrs,["LANGUAGE"]))return G}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&dt(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,w=this.getUrlWithDirectives(t.url,n),P=t.details,j=P==null?void 0:P.age;this.log(`Loading audio-track ${s} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&P.live?" age "+j.toFixed(1)+(P.type?" "+P.type||0:""):""} ${w}`),this.hls.trigger(o.AUDIO_TRACK_LOADING,{url:w,id:s,groupId:m,deliveryDirectives:n||null,track:t})}}class Hc{constructor(t){this.tracks=void 0,this.queues={video:[],audio:[],audiovideo:[]},this.tracks=t}destroy(){this.tracks=this.queues=null}append(t,n,s){if(this.queues===null||this.tracks===null)return;const m=this.queues[n];m.push(t),m.length===1&&!s&&this.executeNext(n)}appendBlocker(t){return new Promise(n=>{const s={label:"async-blocker",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.append(s,t)})}prependBlocker(t){return new Promise(n=>{if(this.queues){const s={label:"async-blocker-prepend",execute:n,onStart:()=>{},onComplete:()=>{},onError:()=>{}};this.queues[t].unshift(s)}})}removeBlockers(){this.queues!==null&&[this.queues.video,this.queues.audio,this.queues.audiovideo].forEach(t=>{var n;const s=(n=t[0])==null?void 0:n.label;(s==="async-blocker"||s==="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(w){var s;if(m.onError(w),this.queues===null||this.tracks===null)return;const P=(s=this.tracks[t])==null?void 0:s.buffer;P!=null&&P.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,s;return(n=this.queues)!=null&&n[t]||(s=this.tracks)!=null&&s[t]?`${t}: (${this.listSbInfo(t)}) ${this.listOps(t)}`:""}listSbInfo(t){var n;const s=(n=this.tracks)==null?void 0:n[t],m=s==null?void 0:s.buffer;return m?`SourceBuffer${m.updating?" updating":""}${s.ended?" ended":""}${s.ending?" ending":""}`:"none"}listOps(t){var n;return((n=this.queues)==null?void 0:n[t].map(s=>s.label).join(", "))||""}}const Ll=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Ou="HlsJsTrackRemovedError";class Yl extends Error{constructor(t){super(t),this.name=Ou}}class ts extends R{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=s=>{var m;this.hls&&((m=this.mediaSource)==null?void 0:m.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=s=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=s=>{const{media:m,mediaSource:w}=this;s&&this.log("Media source opened"),!(!m||!w)&&(w.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(o.MEDIA_ATTACHED,{media:m,mediaSource:w}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc:s,_objectUrl:m}=this;s!==m&&this.error(`Media element src was set while attaching MediaSource (${m} > ${s})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ie(te(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(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.BUFFER_RESET,this.onBufferReset,this),t.on(o.BUFFER_APPENDING,this.onBufferAppending,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.BUFFER_EOS,this.onBufferEos,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.FRAG_PARSED,this.onFragParsed,this),t.on(o.FRAG_CHANGED,this.onFragChanged,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.BUFFER_RESET,this.onBufferReset,this),t.off(o.BUFFER_APPENDING,this.onBufferAppending,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_EOS,this.onBufferEos,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.FRAG_PARSED,this.onFragParsed,this),t.off(o.FRAG_CHANGED,this.onFragChanged,this),t.off(o.ERROR,this.onError,this)}transferMedia(){const{media:t,mediaSource:n}=this;if(!t)return null;const s={};if(this.operationQueue){const w=this.isUpdating();w||this.operationQueue.removeBlockers();const P=this.isQueued();(w||P)&&this.warn(`Transfering MediaSource with${P?" operations in queue":""}${w?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const m=this.transferData;return!this.sourceBufferCount&&m&&m.mediaSource===n?y(s,m.tracks):this.sourceBuffers.forEach(w=>{const[P]=w;P&&(s[P]=y({},this.tracks[P]),this.removeBuffer(P)),w[0]=w[1]=null}),{media:t,mediaSource:n,tracks:s}}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 s;let m=2;(n.audio&&!n.video||!n.altAudio)&&(m=1),this.bufferCodecEventsTotal=m,this.log(`${m} bufferCodec event(s) expected.`),(s=this.transferData)!=null&&s.mediaSource&&this.sourceBufferCount&&m&&this.bufferCreated()}onMediaAttaching(t,n){const s=this.media=n.media;this.transferData=this.overrides=void 0;const m=te(this.appendSource);if(m){const w=!!n.mediaSource;(w||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const P=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(P),w)this._objectUrl=s.src,this.attachTransferred();else{const j=this._objectUrl=self.URL.createObjectURL(P);if(this.appendSource)try{s.removeAttribute("src");const q=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||q&&P instanceof q,$o(s),gu(s,j),s.load()}catch(q){s.src=j}else s.src=j}s.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(t){var n,s;this.log(`${((n=this.transferData)==null?void 0:n.mediaSource)===t?"transferred":"created"} media source: ${(s=t.constructor)==null?void 0:s.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 s=this.tracks,m=n.tracks,w=m?Object.keys(m):null,P=w?w.length:0,j=()=>{Promise.resolve().then(()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()})};if(m&&w&&P){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: ${Ai(s,(q,G)=>q==="initSegment"?void 0:G)};
|
|
|
transfer tracks: ${Ai(m,(q,G)=>q==="initSegment"?void 0:G)}}`),!oe(m,s)){n.mediaSource=null,n.tracks=void 0;const q=t.currentTime,G=this.details,ue=Math.max(q,(G==null?void 0:G.fragments[0].start)||0);if(ue-q>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${q} -> ${ue}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(s)}") start time: ${ue} currentTime: ${q}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=ue;return}this.transferData=void 0,w.forEach(q=>{const G=q,ue=m[G];if(ue){const de=ue.buffer;if(de){const Ee=this.fragmentTracker,Fe=ue.id;if(Ee.hasFragments(Fe)||Ee.hasParts(Fe)){const lt=ci.getBuffered(de);Ee.detectEvictedFragments(G,lt,Fe,null,!0)}const Be=ql(G),ct=[G,de];this.sourceBuffers[Be]=ct,de.updating&&this.operationQueue&&this.operationQueue.prependBlocker(G),this.trackSourceBuffer(G,ue)}}}),j(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),j()}get mediaSourceOpenOrEnded(){var t;const n=(t=this.mediaSource)==null?void 0:t.readyState;return n==="open"||n==="ended"}onMediaDetaching(t,n){const s=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:m,mediaSource:w,_objectUrl:P}=this;if(w){if(this.log(`media source ${s?"transferring":"detaching"}`),s)this.sourceBuffers.forEach(([j])=>{j&&this.removeBuffer(j)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const j=w.readyState==="open";try{const q=w.sourceBuffers;for(let G=q.length;G--;)j&&q[G].abort(),w.removeSourceBuffer(q[G]);j&&w.endOfStream()}catch(q){this.warn(`onMediaDetaching: ${q.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}w.removeEventListener("sourceopen",this._onMediaSourceOpen),w.removeEventListener("sourceended",this._onMediaSourceEnded),w.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(w.removeEventListener("startstreaming",this._onStartStreaming),w.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}m&&(m.removeEventListener("emptied",this._onMediaEmptied),s||(P&&self.URL.revokeObjectURL(P),this.mediaSrc===P?(m.removeAttribute("src"),this.appendSource&&$o(m),m.load()):this.warn("media|source.src was changed by a third party - skip cleanup")),this.media=null),this.hls.trigger(o.MEDIA_DETACHED,n)}onBufferReset(){this.sourceBuffers.forEach(([t])=>{t&&this.resetBuffer(t)}),this.initTracks()}resetBuffer(t){var n;const s=(n=this.tracks[t])==null?void 0:n.buffer;if(this.removeBuffer(t),s)try{var m;(m=this.mediaSource)!=null&&m.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(s)}catch(w){this.warn(`onBufferReset ${t}`,w)}delete this.tracks[t]}removeBuffer(t){this.removeBufferListeners(t),this.sourceBuffers[ql(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Hc(this.tracks)}onBufferCodecs(t,n){var s;const m=this.tracks,w=Object.keys(n);this.log(`BUFFER_CODECS: "${w}" (current SB count ${this.sourceBufferCount})`);const P="audiovideo"in n&&(m.audio||m.video)||m.audiovideo&&("audio"in n||"video"in n),j=!P&&this.sourceBufferCount&&this.media&&w.some(q=>!m[q]);if(P||j){this.warn(`Unsupported transition between "${Object.keys(m)}" and "${w}" SourceBuffers`);return}w.forEach(q=>{var G,ue;const de=n[q],{id:Ee,codec:Fe,levelCodec:Be,container:ct,metadata:lt,supplemental:Gt}=de;let Jt=m[q];const er=(G=this.transferData)==null||(G=G.tracks)==null?void 0:G[q],wr=er!=null&&er.buffer?er:Jt,zr=(wr==null?void 0:wr.pendingCodec)||(wr==null?void 0:wr.codec),hn=wr==null?void 0:wr.levelCodec;Jt||(Jt=m[q]={buffer:void 0,listeners:[],codec:Fe,supplemental:Gt,container:ct,levelCodec:Be,metadata:lt,id:Ee});const Zr=Jr(zr,hn),sn=Zr==null?void 0:Zr.replace(Ll,"$1");let nn=Jr(Fe,Be);const Vr=(ue=nn)==null?void 0:ue.replace(Ll,"$1");nn&&Zr&&sn!==Vr&&(q.slice(0,5)==="audio"&&(nn=Et(nn,this.appendSource)),this.log(`switching codec ${zr} to ${nn}`),nn!==(Jt.pendingCodec||Jt.codec)&&(Jt.pendingCodec=nn),Jt.container=ct,this.appendChangeType(q,ct,nn))}),(this.tracksReady||this.sourceBufferCount)&&(n.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&(this.bufferCodecEventsTotal>1&&!this.tracks.video&&!n.video&&((s=n.audio)==null?void 0:s.id)==="main"&&(this.log("Main audio-only"),this.bufferCodecEventsTotal=1),this.mediaSourceOpenOrEnded&&this.checkPendingTracks())}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((t,n)=>{const s=this.tracks[n];return t[n]={id:s.id,container:s.container,codec:s.codec,levelCodec:s.levelCodec},t},{})}appendChangeType(t,n,s){const m=`${n};codecs=${s}`,w={label:`change-type=${m}`,execute:()=>{const P=this.tracks[t];if(P){const j=P.buffer;j!=null&&j.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),j.changeType(m),P.codec=s,P.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:P=>{this.warn(`Failed to change ${t} SourceBuffer type`,P)}};this.append(w,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const s=t.start,m=s+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(s,u.MAIN))==null?void 0:n.gap)===!0)return;const P={label:"block-audio",execute:()=>{var j;const q=this.tracks.video;(this.lastVideoAppendEnd>m||q!=null&&q.buffer&&ci.isBuffered(q.buffer,m)||((j=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:j.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:j=>{this.warn("Error executing block-audio operation",j)}};this.blockedAudioAppend={op:P,frag:t},this.append(P,"audio",!0)}unblockAudio(){const{blockedAudioAppend:t,operationQueue:n}=this;t&&n&&(this.blockedAudioAppend=null,n.unblockAudio(t.op))}onBufferAppending(t,n){const{tracks:s}=this,{data:m,type:w,parent:P,frag:j,part:q,chunkMeta:G,offset:ue}=n,de=G.buffering[w],{sn:Ee,cc:Fe}=j,Be=self.performance.now();de.start=Be;const ct=j.stats.buffering,lt=q?q.stats.buffering:null;ct.start===0&&(ct.start=Be),lt&<.start===0&&(lt.start=Be);const Gt=s.audio;let Jt=!1;w==="audio"&&(Gt==null?void 0:Gt.container)==="audio/mpeg"&&(Jt=!this.lastMpegAudioChunk||G.id===1||this.lastMpegAudioChunk.sn!==G.sn,this.lastMpegAudioChunk=G);const er=s.video,wr=er==null?void 0:er.buffer;if(wr&&Ee!=="initSegment"){const Zr=q||j,sn=this.blockedAudioAppend;if(w==="audio"&&P!=="main"&&!this.blockedAudioAppend&&!(er.ending||er.ended)){const Vr=Zr.start+Zr.duration*.05,In=wr.buffered,wi=this.currentOp("video");!In.length&&!wi?this.blockAudio(Zr):!wi&&!ci.isBuffered(wr,Vr)&&this.lastVideoAppendEnd<Vr&&this.blockAudio(Zr)}else if(w==="video"){const nn=Zr.end;if(sn){const Vr=sn.frag.start;(nn>Vr||nn<this.lastVideoAppendEnd||ci.isBuffered(wr,Vr))&&this.unblockAudio()}this.lastVideoAppendEnd=nn}}const zr=(q||j).start,hn={label:`append-${w}`,execute:()=>{var Zr;de.executeStart=self.performance.now();const sn=(Zr=this.tracks[w])==null?void 0:Zr.buffer;sn&&(Jt?this.updateTimestampOffset(sn,zr,.1,w,Ee,Fe):ue!==void 0&&r(ue)&&this.updateTimestampOffset(sn,ue,1e-6,w,Ee,Fe)),this.appendExecutor(m,w)},onStart:()=>{},onComplete:()=>{const Zr=self.performance.now();de.executeEnd=de.end=Zr,ct.first===0&&(ct.first=Zr),lt&<.first===0&&(lt.first=Zr);const sn={};this.sourceBuffers.forEach(([nn,Vr])=>{nn&&(sn[nn]=ci.getBuffered(Vr))}),this.appendErrors[w]=0,w==="audio"||w==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(o.BUFFER_APPENDED,{type:w,frag:j,part:q,chunkMeta:G,parent:j.type,timeRanges:sn})},onError:Zr=>{var sn;const nn={type:c.MEDIA_ERROR,parent:j.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:w,frag:j,part:q,chunkMeta:G,error:Zr,err:Zr,fatal:!1},Vr=(sn=this.media)==null?void 0:sn.error;if(Zr.code===DOMException.QUOTA_EXCEEDED_ERR||Zr.name=="QuotaExceededError"||"quota"in Zr)nn.details=f.BUFFER_FULL_ERROR;else if(Zr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!Vr)nn.errorAction=dn(!0);else if(Zr.name===Ou&&this.sourceBufferCount===0)nn.errorAction=dn(!0);else{const In=++this.appendErrors[w];this.warn(`Failed ${In}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${w}" sourceBuffer (${Vr||"no media error"})`),(In>=this.hls.config.appendErrorMaxRetry||Vr)&&(nn.fatal=!0)}this.hls.trigger(o.ERROR,nn)}};this.log(`queuing "${w}" append sn: ${Ee}${q?" p: "+q.index:""} of ${j.type===u.MAIN?"level":"track"} ${j.level} cc: ${Fe}`),this.append(hn,w,this.isPending(this.tracks[w]))}getFlushOp(t,n,s){return this.log(`queuing "${t}" remove ${n}-${s}`),{label:"remove",execute:()=>{this.removeExecutor(t,n,s)},onStart:()=>{},onComplete:()=>{this.hls.trigger(o.BUFFER_FLUSHED,{type:t})},onError:m=>{this.warn(`Failed to remove ${n}-${s} from "${t}" SourceBuffer`,m)}}}onBufferFlushing(t,n){const{type:s,startOffset:m,endOffset:w}=n;s?this.append(this.getFlushOp(s,m,w),s):this.sourceBuffers.forEach(([P])=>{P&&this.append(this.getFlushOp(P,m,w),P)})}onFragParsed(t,n){const{frag:s,part:m}=n,w=[],P=m?m.elementaryStreams:s.elementaryStreams;P[ae.AUDIOVIDEO]?w.push("audiovideo"):(P[ae.AUDIO]&&w.push("audio"),P[ae.VIDEO]&&w.push("video"));const j=()=>{const q=self.performance.now();s.stats.buffering.end=q,m&&(m.stats.buffering.end=q);const G=m?m.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:m,stats:G,id:s.type})};w.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${s.type} level: ${s.level} sn: ${s.sn}`),this.blockBuffers(j,w).catch(q=>{this.warn(`Fragment buffered callback ${q}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{if(t){const n=this.tracks[t];if(n)return!n.ended||n.ending}return!1})}onBufferEos(t,n){var s;this.sourceBuffers.forEach(([P])=>{if(P){const j=this.tracks[P];(!n.type||n.type===P)&&(j.ending=!0,j.ended||(j.ended=!0,this.log(`${P} buffer reached EOS`)))}});const m=((s=this.overrides)==null?void 0:s.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([P])=>{var j;return P&&!((j=this.tracks[P])!=null&&j.ended)})?m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:P}=this;if(!P||P.readyState!=="open"){P&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${P.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),P.endOfStream(),this.hls.trigger(o.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(o.BUFFERED_TO_END,void 0)):n.type==="video"&&this.unblockAudio()}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(){this.blockUntilOpen(()=>{const t=this.getDurationAndRange();t&&this.updateMediaSource(t)})}onError(t,n){if(n.details===f.BUFFER_APPEND_ERROR&&n.frag){var s;const m=(s=n.errorAction)==null?void 0:s.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:s}=this;if(!s||n===null||!this.sourceBufferCount)return;const m=t.config,w=s.currentTime,P=n.levelTargetDuration,j=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(j)&&j>=0){const G=Math.max(j,P),ue=Math.floor(w/P)*P-G;this.flushBackBuffer(w,P,ue)}const q=m.frontBufferFlushThreshold;if(r(q)&&q>0){const G=Math.max(m.maxBufferLength,q),ue=Math.max(G,P),de=Math.floor(w/P)*P+ue;this.flushFrontBuffer(w,P,de)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([m,w])=>{if(w){const j=ci.getBuffered(w);if(j.length>0&&s>j.start(0)){var P;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const q=this.tracks[m];if((P=this.details)!=null&&P.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(q!=null&&q.ended){this.log(`Cannot flush ${m} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:s,type:m})}}})}flushFrontBuffer(t,n,s){this.sourceBuffers.forEach(([m,w])=>{if(w){const P=ci.getBuffered(w),j=P.length;if(j<2)return;const q=P.start(j-1),G=P.end(j-1);if(s>q||t>=q&&t<=G)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:q,endOffset:1/0,type:m})}})}getDurationAndRange(){var t;const{details:n,mediaSource:s}=this;if(!n||!this.media||(s==null?void 0:s.readyState)!=="open")return null;const m=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&s.setLiveSeekableRange){const G=Math.max(0,n.fragmentStart),ue=Math.max(G,m);return{duration:1/0,start:G,end:ue}}return{duration:1/0}}const w=(t=this.overrides)==null?void 0:t.duration;if(w)return r(w)?{duration:w}:null;const P=this.media.duration,j=r(s.duration)?s.duration:0;return m>j&&m>P||!r(P)?{duration:m}:null}updateMediaSource({duration:t,start:n,end:s}){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&&s!==void 0&&(this.log(`MediaSource duration is set to ${m.duration}. Setting seekable range to ${n}-${s}.`),m.setLiveSeekableRange(n,s)))}get tracksReady(){const t=this.pendingTrackCount;return t>0&&(t>=this.bufferCodecEventsTotal||this.isPending(this.tracks.audiovideo))}checkPendingTracks(){const{bufferCodecEventsTotal:t,pendingTrackCount:n,tracks:s}=this;if(this.log(`checkPendingTracks (pending: ${n} codec events expected: ${t}) ${Ai(s)}`),this.tracksReady){var m;const w=(m=this.transferData)==null?void 0:m.tracks;w&&Object.keys(w).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const t={};this.sourceBuffers.forEach(([n,s])=>{if(n){const m=this.tracks[n];t[n]={buffer:s,container:m.container,codec:m.codec,supplemental:m.supplemental,levelCodec:m.levelCodec,id:m.id,metadata:m.metadata}}}),this.hls.trigger(o.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(o.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:s}=this;if(!s)throw new Error("createSourceBuffers called when mediaSource was null");for(const w in t){const P=w,j=t[P];if(this.isPending(j)){const q=this.getTrackCodec(j,P),G=`${j.container};codecs=${q}`;j.codec=q,this.log(`creating sourceBuffer(${G})${this.currentOp(P)?" Queued":""} ${Ai(j)}`);try{const ue=s.addSourceBuffer(G),de=ql(P),Ee=[P,ue];n[de]=Ee,j.buffer=ue}catch(ue){var m;this.error(`error while trying to add sourceBuffer: ${ue.message}`),this.shiftAndExecuteNext(P),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[P],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:ue,sourceBufferName:P,mimeType:G,parent:j.id});return}this.trackSourceBuffer(P,j)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let m=t.codec;s&&(n==="video"||n==="audiovideo")&&Oe(s,"video")&&(m=Yr(m,s));const w=Jr(m,t.levelCodec);return w?n.slice(0,5)==="audio"?Et(w,this.appendSource):w:""}trackSourceBuffer(t,n){const s=n.buffer;if(!s)return;const m=this.getTrackCodec(n,t);this.tracks[t]={buffer:s,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",(w,P)=>{const j=P.removedRanges;j!=null&&j.length&&this.hls.trigger(o.BUFFER_FLUSHED,{type:w})})}get mediaSrc(){var t,n;const s=((t=this.media)==null||(n=t.querySelector)==null?void 0:n.call(t,"source"))||this.media;return s==null?void 0:s.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 s=this.currentOp(t);s&&(s.onComplete(),this.shiftAndExecuteNext(t))}onSBUpdateError(t,n){var s;const m=new Error(`${t} SourceBuffer error. MediaSource readyState: ${(s=this.mediaSource)==null?void 0:s.readyState}`);this.error(`${m}`,n),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_APPENDING_ERROR,sourceBufferName:t,error:m,fatal:!1});const w=this.currentOp(t);w&&w.onError(m)}updateTimestampOffset(t,n,s,m,w,P){const j=n-t.timestampOffset;Math.abs(j)>=s&&(this.log(`Updating ${m} SourceBuffer timestampOffset to ${n} (sn: ${w} cc: ${P})`),t.timestampOffset=n)}removeExecutor(t,n,s){const{media:m,mediaSource:w}=this,P=this.tracks[t],j=P==null?void 0:P.buffer;if(!m||!w||!j){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const q=r(m.duration)?m.duration:1/0,G=r(w.duration)?w.duration:1/0,ue=Math.max(0,n),de=Math.min(s,q,G);de>ue&&(!P.ending||P.ended)?(P.ended=!1,this.log(`Removing [${ue},${de}] from the ${t} SourceBuffer`),j.remove(ue,de)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],m=s==null?void 0:s.buffer;if(!m)throw new Yl(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);s.ending=!1,s.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:s}=this,m=n.map(P=>this.appendBlocker(P));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(P=>{s===this.operationQueue&&(t(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(t){t.forEach(n=>{var s;const m=(s=this.tracks[n])==null?void 0:s.buffer;!m||m.updating||this.shiftAndExecuteNext(n)})}append(t,n,s){this.operationQueue&&this.operationQueue.append(t,n,s)}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,s){const m=this.tracks[t];if(!m)return;const w=m.buffer;if(!w)return;const P=s.bind(this,t);m.listeners.push({event:n,listener:P}),w.addEventListener(n,P)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const s=n.buffer;s&&(n.listeners.forEach(m=>{s.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function $o(O){const t=O.querySelectorAll("source");[].slice.call(t).forEach(n=>{O.removeChild(n)})}function gu(O,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,O.appendChild(n)}function ql(O){return O==="audio"?1:0}class Ml{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(o.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:t}=this;t.off(o.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(t,n){const s=this.hls.levels[n.droppedLevel];this.isLevelAllowed(s)&&this.restrictedLevels.push({bitrate:s.bitrate,height:s.height,width:s.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 s=this.hls;this.restrictedLevels=[],this.firstLevel=n.firstLevel,s.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,s=this.getMaxLevel(t.length-1);s!==this.autoLevelCapping&&n.logger.log(`Setting autoLevelCapping to ${s}: ${t[s].height}p@${t[s].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),n.autoLevelCapping=s,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 s=n.filter((m,w)=>this.isLevelAllowed(m)&&w<=t);return this.clientRect=null,Ml.getMaxLevelByMediaSize(s,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 s=t.getBoundingClientRect();n.width=s.width,n.height=s.height,!n.width&&!n.height&&(n.width=s.right-s.left||t.width||0,n.height=s.bottom-s.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(s=>t.bitrate===s.bitrate&&t.width===s.width&&t.height===s.height)}static getMaxLevelByMediaSize(t,n,s){if(!(t!=null&&t.length))return-1;const m=(j,q)=>q?j.width!==q.width||j.height!==q.height:!0;let w=t.length-1;const P=Math.max(n,s);for(let j=0;j<t.length;j+=1){const q=t[j];if((q.width>=P||q.height>=P)&&m(q,t[j+1])){w=j;break}}return w}}const du={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},dl={HLS:"h"};class Yo{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof Yo?s:new Yo(s))),this.value=t,this.params=n}}const tl="Dict";function Tc(O){return Array.isArray(O)?JSON.stringify(O):O instanceof Map?"Map{}":O instanceof Set?"Set{}":typeof O=="object"?JSON.stringify(O):String(O)}function Xl(O,t,n,s){return new Error(`failed to ${O} "${Tc(t)}" as ${n}`,{cause:s})}function Ta(O,t,n){return Xl("serialize",O,t,n)}class df{constructor(t){this.description=t}}const hf="Bare Item",hl="Boolean";function pl(O){if(typeof O!="boolean")throw Ta(O,hl);return O?"?1":"?0"}function Uf(O){return btoa(String.fromCharCode(...O))}const Wc="Byte Sequence";function Ru(O){if(ArrayBuffer.isView(O)===!1)throw Ta(O,Wc);return`:${Uf(O)}:`}const Gc="Integer";function Cc(O){return O<-999999999999999||999999999999999<O}function Ql(O){if(Cc(O))throw Ta(O,Gc);return O.toString()}function Kc(O){return`@${Ql(O.getTime()/1e3)}`}function Pc(O,t){if(O<0)return-Pc(-O,t);const n=Math.pow(10,t);if(Math.abs(O*n%1-.5)<Number.EPSILON){const m=Math.floor(O*n);return(m%2===0?m:m+1)/n}else return Math.round(O*n)/n}const Nu="Decimal";function _l(O){const t=Pc(O,3);if(Math.floor(Math.abs(t)).toString().length>12)throw Ta(O,Nu);const n=t.toString();return n.includes(".")?n:`${n}.0`}const Ic="String",pf=/[\x00-\x1f\x7f]+/;function Vc(O){if(pf.test(O))throw Ta(O,Ic);return`"${O.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function Yc(O){return O.description||O.toString().slice(7,-1)}const pc="Token";function _f(O){const t=Yc(O);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw Ta(t,pc);return t}function _c(O){switch(typeof O){case"number":if(!r(O))throw Ta(O,hf);return Number.isInteger(O)?Ql(O):_l(O);case"string":return Vc(O);case"symbol":return _f(O);case"boolean":return pl(O);case"object":if(O instanceof Date)return Kc(O);if(O instanceof Uint8Array)return Ru(O);if(O instanceof df)return _f(O);default:throw Ta(O,hf)}}const mf="Key";function ml(O){if(/^[a-z*][a-z0-9\-_.*]*$/.test(O)===!1)throw Ta(O,mf);return O}function Lu(O){return O==null?"":Object.entries(O).map(([t,n])=>n===!0?`;${ml(t)}`:`;${ml(t)}=${_c(n)}`).join("")}function Vs(O){return O instanceof Yo?`${_c(O.value)}${Lu(O.params)}`:_c(O)}function vf(O){return`(${O.value.map(Vs).join(" ")})${Lu(O.params)}`}function Df(O,t={whitespace:!0}){if(typeof O!="object"||O==null)throw Ta(O,tl);const n=O instanceof Map?O.entries():Object.entries(O),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,w])=>{w instanceof Yo||(w=new Yo(w));let P=ml(m);return w.value===!0?P+=Lu(w.params):(P+="=",Array.isArray(w.value)?P+=vf(w):P+=Vs(w)),P}).join(`,${s}`)}function Dc(O,t){return Df(O,t)}const ks="CMCD-Object",ho="CMCD-Request",Ao="CMCD-Session",$u="CMCD-Status",Pe={br:ks,ab:ks,d:ks,ot:ks,tb:ks,tpb:ks,lb:ks,tab:ks,lab:ks,url:ks,pb:ho,bl:ho,tbl:ho,dl:ho,ltc:ho,mtp:ho,nor:ho,nrr:ho,rc:ho,sn:ho,sta:ho,su:ho,ttfb:ho,ttfbb:ho,ttlb:ho,cmsdd:ho,cmsds:ho,smrt:ho,df:ho,cs:ho,ts:ho,cid:Ao,pr:Ao,sf:Ao,sid:Ao,st:Ao,v:Ao,msd:Ao,bs:$u,bsd:$u,cdn:$u,rtp:$u,bg:$u,pt:$u,ec:$u,e:$u},Jl={REQUEST:ho};function qo(O){return Object.keys(O).reduce((t,n)=>{var s;return(s=O[n])===null||s===void 0||s.forEach(m=>t[m]=n),t},{})}function mc(O,t){const n={};if(!O)return n;const s=Object.keys(O),m=t?qo(t):{};return s.reduce((w,P)=>{var j;const q=Pe[P]||m[P]||Jl.REQUEST,G=(j=w[q])!==null&&j!==void 0?j:w[q]={};return G[P]=O[P],w},n)}function hu(O){return["ot","sf","st","e","sta"].includes(O)}function Gu(O){return typeof O=="number"?r(O):O!=null&&O!==""&&O!==!1}const Al="event";function ec(O,t){const n=new URL(O),s=new URL(t);if(n.origin!==s.origin)return O;const m=n.pathname.split("/").slice(1),w=s.pathname.split("/").slice(1,-1);for(;m[0]===w[0];)m.shift(),w.shift();for(;w.length;)w.shift(),m.unshift("..");return m.join("/")+n.search+n.hash}const Ku=O=>Math.round(O),rl=(O,t)=>Array.isArray(O)?O.map(n=>rl(n,t)):O instanceof Yo&&typeof O.value=="string"?new Yo(rl(O.value,t),O.params):(t.baseUrl&&(O=ec(O,t.baseUrl)),t.version===1?encodeURIComponent(O):O),Xo=O=>Ku(O/100)*100,qc={br:Ku,d:Ku,bl:Xo,dl:Xo,mtp:Xo,nor:(O,t)=>{let n=O;return t.version>=2&&(O instanceof Yo&&typeof O.value=="string"?n=new Yo([O]):typeof O=="string"&&(n=[O])),rl(n,t)},rtp:Xo,tb:Ku},vc="request",vl="response",ju=["ab","bg","bl","br","bs","bsd","cdn","cid","cs","df","ec","lab","lb","ltc","msd","mtp","pb","pr","pt","sf","sid","sn","st","sta","tab","tb","tbl","tpb","ts","v"],Of=["e"],yf=/^[a-zA-Z0-9-.]+-[a-zA-Z0-9-.]+$/;function Tl(O){return yf.test(O)}function Fl(O){return ju.includes(O)||Of.includes(O)||Tl(O)}const Xc=["d","dl","nor","ot","rtp","su"];function tc(O){return ju.includes(O)||Xc.includes(O)||Tl(O)}const Eu=["cmsdd","cmsds","rc","smrt","ttfb","ttfbb","ttlb","url"];function Oc(O){return ju.includes(O)||Xc.includes(O)||Eu.includes(O)||Tl(O)}const Qc=["bl","br","bs","cid","d","dl","mtp","nor","nrr","ot","pr","rtp","sf","sid","st","su","tb","v"];function kf(O){return Qc.includes(O)||Tl(O)}const kc={[vl]:Oc,[Al]:Fl,[vc]:tc};function pu(O,t={}){const n={};if(O==null||typeof O!="object")return n;const s=t.version||O.v||1,m=t.reportingMode||vc,w=s===1?kf:kc[m];let P=Object.keys(O).filter(w);const j=t.filter;typeof j=="function"&&(P=P.filter(j));const q=m===vl||m===Al;q&&!P.includes("ts")&&P.push("ts"),s>1&&!P.includes("v")&&P.push("v");const G=y({},qc,t.formatters),ue={version:s,reportingMode:m,baseUrl:t.baseUrl};return P.sort().forEach(de=>{let Ee=O[de];const Fe=G[de];if(typeof Fe=="function"&&(Ee=Fe(Ee,ue)),de==="v"){if(s===1)return;Ee=s}de=="pr"&&Ee===1||(q&&de==="ts"&&!r(Ee)&&(Ee=Date.now()),Gu(Ee)&&(hu(de)&&typeof Ee=="string"&&(Ee=new df(Ee)),n[de]=Ee))}),n}function rc(O,t={}){const n={};if(!O)return n;const s=pu(O,t),m=mc(s,t==null?void 0:t.customHeaderMap);return Object.entries(m).reduce((w,[P,j])=>{const q=Dc(j,{whitespace:!1});return q&&(w[P]=q),w},n)}function bf(O,t,n){return y(O,rc(t,n))}const Jc="CMCD";function nl(O,t={}){return O?Dc(pu(O,t),{whitespace:!1}):""}function gc(O,t={}){if(!O)return"";const n=nl(O,t);return encodeURIComponent(n)}function Bl(O,t={}){if(!O)return"";const n=gc(O,t);return`${Jc}=${n}`}const xf=/CMCD=[^&#]+/;function Rc(O,t,n){const s=Bl(t,n);if(!s)return O;if(xf.test(O))return O.replace(xf,s);const m=O.includes("?")?"&":"?";return`${O}${m}${s}`}class Lc{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:du.MANIFEST,su:!this.initialized})}catch(w){this.hls.logger.warn("Could not generate manifest CMCD data.",w)}},this.applyFragmentData=m=>{try{const{frag:w,part:P}=m,j=this.hls.levels[w.level],q=this.getObjectType(w),G={d:(P||w).duration*1e3,ot:q};(q===du.VIDEO||q===du.AUDIO||q==du.MUXED)&&(G.br=j.bitrate/1e3,G.tb=this.getTopBandwidth(q)/1e3,G.bl=this.getBufferLength(q));const ue=P?this.getNextPart(P):this.getNextFrag(w);ue!=null&&ue.url&&ue.url!==w.url&&(G.nor=ue.url),this.apply(m,G)}catch(w){this.hls.logger.warn("Could not generate segment CMCD data.",w)}},this.hls=t;const n=this.config=t.config,{cmcd:s}=n;s!=null&&(n.pLoader=this.createPlaylistLoader(),n.fLoader=this.createFragmentLoader(),this.sid=s.sessionId||t.sessionId,this.cid=s.contentId,this.useHeaders=s.useHeaders===!0,this.includeKeys=s.includeKeys,this.registerListeners())}registerListeners(){const t=this.hls;t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHED,this.onMediaDetached,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this)}unregisterListeners(){const t=this.hls;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHED,this.onMediaDetached,this),t.off(o.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 s,m;this.audioBuffer=(s=n.tracks.audio)==null?void 0:s.buffer,this.videoBuffer=(m=n.tracks.video)==null?void 0:m.buffer}createData(){var t;return{v:1,sf:dl.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 s=n.ot===du.INIT||n.ot===du.VIDEO||n.ot===du.MUXED;this.starved&&s&&(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((P,j)=>(m.includes(j)&&(P[j]=n[j]),P),{}));const w={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),bf(t.headers,n,w)):t.url=Rc(t.url,n,w)}getNextFrag(t){var n;const s=(n=this.hls.levels[t.level])==null?void 0:n.details;if(s){const m=t.sn-s.startSN;return s.fragments[m+1]}}getNextPart(t){var n;const{index:s,fragment:m}=t,w=(n=this.hls.levels[m.level])==null||(n=n.details)==null?void 0:n.partList;if(w){const{sn:P}=m;for(let j=w.length-1;j>=0;j--){const q=w[j];if(q.index===s&&q.fragment.sn===P)return w[j+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return du.TIMED_TEXT;if(t.sn==="initSegment")return du.INIT;if(n==="audio")return du.AUDIO;if(n==="main")return this.hls.audioTracks.length?du.VIDEO:du.MUXED}getTopBandwidth(t){let n=0,s;const m=this.hls;if(t===du.AUDIO)s=m.audioTracks;else{const w=m.maxAutoLevel,P=w>-1?w+1:m.levels.length;s=m.levels.slice(0,P)}return s.forEach(w=>{w.bitrate>n&&(n=w.bitrate)}),n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===du.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:ci.bufferInfo(s,n.currentTime,this.config.maxBufferHole).len*1e3}createPlaylistLoader(){const{pLoader:t}=this.config,n=this.applyPlaylistData,s=t||this.config.loader;return class{constructor(w){this.loader=void 0,this.loader=new s(w)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(w,P,j){n(w),this.loader.load(w,P,j)}}}createFragmentLoader(){const{fLoader:t}=this.config,n=this.applyFragmentData,s=t||this.config.loader;return class{constructor(w){this.loader=void 0,this.loader=new s(w)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(w,P,j){n(w),this.loader.load(w,P,j)}}}}const Rf=3e5;class il extends R{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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.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(s=>s!==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:s}=n;s!==null&&(this.pathwayId=s.pathwayId,this.uri=s.uri,this.started&&this.startLoad())}onManifestParsed(t,n){this.audioTracks=n.audioTracks,this.subtitleTracks=n.subtitleTracks}onError(t,n){const{errorAction:s}=n;if((s==null?void 0:s.action)===yr.SendAlternateToPenaltyBox&&s.flags===cn.MoveAllAlternatesMatchingHost){const m=this.levels;let w=this._pathwayPriority,P=this.pathwayId;if(n.context){const{groupId:j,pathwayId:q,type:G}=n.context;j&&m?P=this.getPathwayForGroupId(j,G,P):q&&(P=q)}P in this.penalizedPathways||(this.penalizedPathways[P]=performance.now()),!w&&m&&(w=this.pathways()),w&&w.length>1&&(this.updatePathwayPriority(w),s.resolved=this.pathwayId!==P),n.details===f.BUFFER_APPEND_ERROR&&!n.fatal?s.resolved=!0:s.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${P} levels: ${m&&m.length} priorities: ${Ai(w)} penalized: ${Ai(this.penalizedPathways)}`)}}filterParsedLevels(t){this.levels=t;let n=this.getLevelsForPathway(this.pathwayId);if(n.length===0){const s=t[0].pathwayId;this.log(`No levels found in Pathway ${this.pathwayId}. Setting initial Pathway to "${s}"`),n=this.getLevelsForPathway(s),this.pathwayId=s}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 s=this.penalizedPathways,m=performance.now();Object.keys(s).forEach(w=>{m-s[w]>Rf&&delete s[w]});for(let w=0;w<t.length;w++){const P=t[w];if(P in s)continue;if(P===this.pathwayId)return;const j=this.hls.nextLoadLevel,q=this.hls.levels[j];if(n=this.getLevelsForPathway(P),n.length>0){this.log(`Setting Pathway to "${P}"`),this.pathwayId=P,lo(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const G=this.hls.levels[j];q&&G&&this.levels&&(G.attrs["STABLE-VARIANT-ID"]!==q.attrs["STABLE-VARIANT-ID"]&&G.bitrate!==q.bitrate&&this.log(`Unstable Pathways change from bitrate ${q.bitrate} to ${G.bitrate}`),this.hls.nextLoadLevel=j);break}}}getPathwayForGroupId(t,n,s){const m=this.getLevelsForPathway(s).concat(this.levels||[]);for(let w=0;w<m.length;w++)if(n===h.AUDIO_TRACK&&m[w].hasAudioGroup(t)||n===h.SUBTITLE_TRACK&&m[w].hasSubtitleGroup(t))return m[w].pathwayId;return s}clonePathways(t){const n=this.levels;if(!n)return;const s={},m={};t.forEach(w=>{const{ID:P,"BASE-ID":j,"URI-REPLACEMENT":q}=w;if(n.some(ue=>ue.pathwayId===P))return;const G=this.getLevelsForPathway(j).map(ue=>{const de=new Qi(ue.attrs);de["PATHWAY-ID"]=P;const Ee=de.AUDIO&&`${de.AUDIO}_clone_${P}`,Fe=de.SUBTITLES&&`${de.SUBTITLES}_clone_${P}`;Ee&&(s[de.AUDIO]=Ee,de.AUDIO=Ee),Fe&&(m[de.SUBTITLES]=Fe,de.SUBTITLES=Fe);const Be=nc(ue.uri,de["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",q),ct=new Vi({attrs:de,audioCodec:ue.audioCodec,bitrate:ue.bitrate,height:ue.height,name:ue.name,url:Be,videoCodec:ue.videoCodec,width:ue.width});if(ue.audioGroups)for(let lt=1;lt<ue.audioGroups.length;lt++)ct.addGroupId("audio",`${ue.audioGroups[lt]}_clone_${P}`);if(ue.subtitleGroups)for(let lt=1;lt<ue.subtitleGroups.length;lt++)ct.addGroupId("text",`${ue.subtitleGroups[lt]}_clone_${P}`);return ct});n.push(...G),Nl(this.audioTracks,s,q,P),Nl(this.subtitleTracks,m,q,P)})}loadSteeringManifest(t){const n=this.hls.config,s=n.loader;this.loader&&this.loader.destroy(),this.loader=new s(n);let m;try{m=new self.URL(t)}catch(ue){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const ue=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+ue)}const w={responseType:"json",url:m.href},P=n.steeringManifestLoadPolicy.default,j=P.errorRetry||P.timeoutRetry||{},q={loadPolicy:P,timeout:P.maxLoadTimeMs,maxRetry:j.maxNumRetry||0,retryDelay:j.retryDelayMs||0,maxRetryDelay:j.maxRetryDelayMs||0},G={onSuccess:(ue,de,Ee,Fe)=>{this.log(`Loaded steering manifest: "${m}"`);const Be=ue.data;if((Be==null?void 0:Be.VERSION)!==1){this.log(`Steering VERSION ${Be.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Be.TTL;const{"RELOAD-URI":ct,"PATHWAY-CLONES":lt,"PATHWAY-PRIORITY":Gt}=Be;if(ct)try{this.uri=new self.URL(ct,m).href}catch(er){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${ct}`);return}this.scheduleRefresh(this.uri||Ee.url),lt&&this.clonePathways(lt);const Jt={steeringManifest:Be,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,Jt),Gt&&this.updatePathwayPriority(Gt)},onError:(ue,de,Ee,Fe)=>{if(this.log(`Error loading steering manifest: ${ue.code} ${ue.text} (${de.url})`),this.stopLoad(),ue.code===410){this.enabled=!1,this.log(`Steering manifest ${de.url} no longer available`);return}let Be=this.timeToLoad*1e3;if(ue.code===429){const ct=this.loader;if(typeof(ct==null?void 0:ct.getResponseHeader)=="function"){const lt=ct.getResponseHeader("Retry-After");lt&&(Be=parseFloat(lt)*1e3)}this.log(`Steering manifest ${de.url} rate limited`);return}this.scheduleRefresh(this.uri||de.url,Be)},onTimeout:(ue,de,Ee)=>{this.log(`Timeout loading steering manifest (${de.url})`),this.scheduleRefresh(this.uri||de.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(w,q,G)}scheduleRefresh(t,n=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var s;const m=(s=this.hls)==null?void 0:s.media;if(m&&!m.ended){this.loadSteeringManifest(t);return}this.scheduleRefresh(t,this.timeToLoad*1e3)},n)}}function Nl(O,t,n,s){O&&Object.keys(t).forEach(m=>{const w=O.filter(P=>P.groupId===m).map(P=>{const j=y({},P);return j.details=void 0,j.attrs=new Qi(j.attrs),j.url=j.attrs.URI=nc(P.url,P.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),j.groupId=j.attrs["GROUP-ID"]=t[m],j.attrs["PATHWAY-ID"]=s,j});O.push(...w)})}function nc(O,t,n,s){const{HOST:m,PARAMS:w,[n]:P}=s;let j;t&&(j=P==null?void 0:P[t],j&&(O=j));const q=new self.URL(O);return m&&!j&&(q.host=m),w&&Object.keys(w).sort().forEach(G=>{G&&q.searchParams.set(G,w[G])}),q.href}class ma extends R{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.mediaKeys=null,this.setMediaKeysQueue=ma.CDMCleanupPromise?[ma.CDMCleanupPromise]:[],this.bannedKeyIds={},this.onMediaEncrypted=n=>{const{initDataType:s,initData:m}=n,w=`"${n.type}" event: init data type: "${s}"`;if(this.debug(w),m!==null){if(!this.keyFormatPromise){let P=Object.keys(this.keySystemAccessPromises);P.length||(P=lu(this.config));const j=P.map(Ts).filter(q=>!!q);this.keyFormatPromise=this.getKeyFormatPromise(j)}this.keyFormatPromise.then(P=>{const j=uu(P);if(s!=="sinf"||j!==Va.FAIRPLAY){this.log(`Ignoring "${n.type}" event with init data type: "${s}" for selected key-system ${j}`);return}let q;try{const Fe=Vt(new Uint8Array(m)),Be=eu(JSON.parse(Fe).sinf),ct=Zt(Be);if(!ct)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");q=new Uint8Array(ct.subarray(8,24))}catch(Fe){this.warn(`${w} Failed to parse sinf: ${Fe}`);return}const G=Q(q),{keyIdToKeySessionPromise:ue,mediaKeySessions:de}=this;let Ee=ue[G];for(let Fe=0;Fe<de.length;Fe++){const Be=de[Fe],ct=Be.decryptdata;if(!ct.keyId)continue;const lt=Q(ct.keyId);if(ko(q,ct.keyId)||ct.uri.replace(/-/g,"").indexOf(G)!==-1){if(Ee=ue[lt],!Ee)continue;if(ct.pssh)break;delete ue[lt],ct.pssh=new Uint8Array(m),ct.keyId=q,Ee=ue[G]=Ee.then(()=>this.generateRequestWithPreferredKeySession(Be,s,m,"encrypted-event-key-match")),Ee.catch(Gt=>this.handleError(Gt));break}}Ee||this.handleError(new Error(`Key ID ${G} not encountered in playlist. Key-system sessions ${de.length}.`))}).catch(P=>this.handleError(P))}},this.onWaitingForKey=n=>{this.log(`"${n.type}" event`)},this.hls=t,this.config=t.config,this.registerListeners()}destroy(){this.onDestroying(),this.onMediaDetached();const t=this.config;t.requestMediaKeySystemAccessFunc=null,t.licenseXhrSetup=t.licenseResponseCallback=void 0,t.drmSystems=t.drmSystemOptions={},this.hls=this.config=this.keyIdToKeySessionPromise=null,this.onMediaEncrypted=this.onWaitingForKey=null}registerListeners(){this.hls.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.on(o.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.on(o.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.on(o.DESTROYING,this.onDestroying,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),this.hls.off(o.MEDIA_DETACHED,this.onMediaDetached,this),this.hls.off(o.MANIFEST_LOADING,this.onManifestLoading,this),this.hls.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),this.hls.off(o.DESTROYING,this.onDestroying,this)}getLicenseServerUrl(t){const{drmSystems:n,widevineLicenseUrl:s}=this.config,m=n==null?void 0:n[t];if(m)return m.licenseUrl;if(t===Va.WIDEVINE&&s)return s}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,s=n==null?void 0:n[t];if(s)return s.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,s=(P,j,q)=>!!P&&q.indexOf(P)===j,m=n.map(P=>P.audioCodec).filter(s),w=n.map(P=>P.videoCodec).filter(s);return m.length+w.length===0&&w.push("avc1.42e01e"),new Promise((P,j)=>{const q=G=>{const ue=G.shift();this.getMediaKeysPromise(ue,m,w).then(de=>P({keySystem:ue,mediaKeys:de})).catch(de=>{G.length?q(G):de instanceof Qn?j(de):j(new Qn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:de,fatal:!0},de.message))})};q(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${s}`;return yu===null&&self.location.protocol==="http:"&&(m=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(m))}return s(t,n)}getMediaKeysPromise(t,n,s){var m;const w=Cu(t,n,s,this.config.drmSystemOptions||{});let P=this.keySystemAccessPromises[t],j=(m=P)==null?void 0:m.keySystemAccess;if(!j){this.log(`Requesting encrypted media "${t}" key-system access with config: ${Ai(w)}`),j=this.requestMediaKeySystemAccess(t,w);const q=P=this.keySystemAccessPromises[t]={keySystemAccess:j};return j.catch(G=>{this.log(`Failed to obtain access to key-system "${t}": ${G}`)}),j.then(G=>{this.log(`Access for key-system "${G.keySystem}" obtained`);const ue=this.fetchServerCertificate(t);this.log(`Create media-keys for "${t}"`);const de=q.mediaKeys=G.createMediaKeys().then(Ee=>(this.log(`Media-keys created for "${t}"`),q.hasMediaKeys=!0,ue.then(Fe=>Fe?this.setMediaKeysServerCertificate(Ee,t,Fe):Ee)));return de.catch(Ee=>{this.error(`Failed to create media-keys for "${t}"}: ${Ee}`)}),de})}return j.then(()=>P.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:s}){this.log(`Creating key-system session "${n}" keyId: ${Q(t.keyId||[])} keyUri: ${t.uri}`);const m=s.createSession(),w={decryptdata:t,keySystem:n,mediaKeys:s,mediaKeysSession:m,keyStatus:"status-pending"};return this.mediaKeySessions.push(w),w}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const s=this.createMediaKeySessionContext(t),m=po(n),w="cenc";this.keyIdToKeySessionPromise[m]=this.generateRequestWithPreferredKeySession(s,w,n.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(t)}updateKeySession(t,n){const s=t.mediaKeysSession;return this.log(`Updating key-session "${s.sessionId}" for keyId ${Q(t.decryptdata.keyId||[])}
|
|
|
} (data length: ${n.byteLength})`),s.update(n)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(t=>({keySystem:t,hasMediaKeys:this.keySystemAccessPromises[t].hasMediaKeys})).filter(({hasMediaKeys:t})=>!!t).map(({keySystem:t})=>Ts(t)).filter(t=>!!t)}getKeySystemAccess(t){return this.getKeySystemSelectionPromise(t).then(({keySystem:n,mediaKeys:s})=>this.attemptSetMediaKeys(n,s))}selectKeySystem(t){return new Promise((n,s)=>{this.getKeySystemSelectionPromise(t).then(({keySystem:m})=>{const w=Ts(m);w?n(w):s(new Error(`Unable to find format for key-system "${m}"`))}).catch(s)})}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){const n=lu(this.config),s=t.map(uu).filter(m=>!!m&&n.indexOf(m)!==-1);return this.selectKeySystem(s)}getKeyStatus(t){const{mediaKeySessions:n}=this;for(let s=0;s<n.length;s++){const m=_o(t,n[s]);if(m)return m}}loadKey(t){const n=t.keyInfo.decryptdata,s=po(n),m=this.bannedKeyIds[s];if(m||this.getKeyStatus(n)==="internal-error"){const j=Vu(m||"internal-error",n);return this.handleError(j,t.frag),Promise.reject(j)}const w=`(keyId: ${s} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${w}`);const P=this.keyIdToKeySessionPromise[s];if(!P){const j=this.getKeySystemForKeyPromise(n).then(({keySystem:q,mediaKeys:G})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${w}`),this.attemptSetMediaKeys(q,G).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:q,mediaKeys:G,decryptdata:n}))))).then(q=>{const G="cenc",ue=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(q,G,ue,"playlist-key")});return j.catch(q=>this.handleError(q,t.frag)),this.keyIdToKeySessionPromise[s]=j,j}return P.catch(j=>{if(j instanceof Qn){const q=b({},j.data);this.getKeyStatus(n)==="internal-error"&&(q.decryptdata=n);const G=new Qn(q,j.message);this.handleError(G,t.frag)}}),P}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t,n){if(this.hls)if(t instanceof Qn){n&&(t.data.frag=n);const s=t.data.decryptdata;this.error(`${t.message}${s?` (${Q(s.keyId||[])})`:""}`),this.hls.trigger(o.ERROR,t.data)}else this.error(t.message),this.hls.trigger(o.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0})}getKeySystemForKeyPromise(t){const n=po(t),s=this.keyIdToKeySessionPromise[n];if(!s){const m=uu(t.keyFormat),w=m?[m]:lu(this.config);return this.attemptKeySystemAccess(w)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=lu(this.config)),t.length===0)throw new Qn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${Ai({drmSystems:this.config.drmSystems})}`);return this.attemptKeySystemAccess(t)}attemptSetMediaKeys(t,n){if(this.mediaKeys===n)return Promise.resolve();const s=this.setMediaKeysQueue.slice();this.log(`Setting media-keys for "${t}"`);const m=Promise.all(s).then(()=>{if(!this.media)throw this.mediaKeys=null,new Error("Attempted to set mediaKeys without media element attached");return this.media.setMediaKeys(n)});return this.mediaKeys=n,this.setMediaKeysQueue.push(m),m.then(()=>{this.log(`Media-keys set for "${t}"`),s.push(m),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(w=>s.indexOf(w)===-1)})}generateRequestWithPreferredKeySession(t,n,s,m){var w;const P=(w=this.config.drmSystems)==null||(w=w[t.keySystem])==null?void 0:w.generateRequest;if(P)try{const Be=P.call(this.hls,n,s,t);if(!Be)throw new Error("Invalid response from configured generateRequest filter");n=Be.initDataType,s=Be.initData?Be.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Be){if(this.warn(Be.message),this.hls&&this.hls.config.debug)throw Be}if(s===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const j=po(t.decryptdata),q=t.decryptdata.uri;this.log(`Generating key-session request for "${m}" keyId: ${j} URI: ${q} (init data type: ${n} length: ${s.byteLength})`);const G=new ti,ue=t._onmessage=Be=>{const ct=t.mediaKeysSession;if(!ct){G.emit("error",new Error("invalid state"));return}const{messageType:lt,message:Gt}=Be;this.log(`"${lt}" message event for session "${ct.sessionId}" message size: ${Gt.byteLength}`),lt==="license-request"||lt==="license-renewal"?this.renewLicense(t,Gt).catch(Jt=>{G.eventNames().length?G.emit("error",Jt):this.handleError(Jt)}):lt==="license-release"?t.keySystem===Va.FAIRPLAY&&this.updateKeySession(t,_i("acknowledged")).then(()=>this.removeSession(t)).catch(Jt=>this.handleError(Jt)):this.warn(`unhandled media key message type "${lt}"`)},de=(Be,ct)=>{ct.keyStatus=Be;let lt;Be.startsWith("usable")?G.emit("resolved"):Be==="internal-error"||Be==="output-restricted"||Be==="output-downscaled"?lt=Vu(Be,ct.decryptdata):Be==="expired"?lt=new Error(`key expired (keyId: ${j})`):Be==="released"?lt=new Error("key released"):Be==="status-pending"||this.warn(`unhandled key status change "${Be}" (keyId: ${j})`),lt&&(G.eventNames().length?G.emit("error",lt):this.handleError(lt))},Ee=t._onkeystatuseschange=Be=>{if(!t.mediaKeysSession){G.emit("error",new Error("invalid state"));return}const lt=this.getKeyStatuses(t);if(!Object.keys(lt).some(wr=>lt[wr]!=="status-pending"))return;if(lt[j]==="expired"){this.log(`Expired key ${Ai(lt)} in key-session "${t.mediaKeysSession.sessionId}"`),this.renewKeySession(t);return}let Jt=lt[j];if(Jt)de(Jt,t);else{var er;t.keyStatusTimeouts||(t.keyStatusTimeouts={}),(er=t.keyStatusTimeouts)[j]||(er[j]=self.setTimeout(()=>{if(!t.mediaKeysSession||!this.mediaKeys)return;const zr=this.getKeyStatus(t.decryptdata);if(zr&&zr!=="status-pending")return this.log(`No status for keyId ${j} in key-session "${t.mediaKeysSession.sessionId}". Using session key-status ${zr} from other session.`),de(zr,t);this.log(`key status for ${j} in key-session "${t.mediaKeysSession.sessionId}" timed out after 1000ms`),Jt="internal-error",de(Jt,t)},1e3)),this.log(`No status for keyId ${j} (${Ai(lt)}).`)}};Ua(t.mediaKeysSession,"message",ue),Ua(t.mediaKeysSession,"keystatuseschange",Ee);const Fe=new Promise((Be,ct)=>{G.on("error",ct),G.on("resolved",Be)});return t.mediaKeysSession.generateRequest(n,s).then(()=>{this.log(`Request generated for key-session "${t.mediaKeysSession.sessionId}" keyId: ${j} URI: ${q}`)}).catch(Be=>{throw new Qn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Be,decryptdata:t.decryptdata,fatal:!1},`Error generating key-session request: ${Be}`)}).then(()=>Fe).catch(Be=>(G.removeAllListeners(),this.removeSession(t).then(()=>{throw Be}))).then(()=>(G.removeAllListeners(),t))}getKeyStatuses(t){const n={};return t.mediaKeysSession.keyStatuses.forEach((s,m)=>{if(typeof m=="string"&&typeof s=="object"){const j=m;m=s,s=j}const w="buffer"in m?new Uint8Array(m.buffer,m.byteOffset,m.byteLength):new Uint8Array(m);t.keySystem===Va.PLAYREADY&&w.length===16&&us(w);const P=Q(w);s==="internal-error"&&(this.bannedKeyIds[P]=s),this.log(`key status change "${s}" for keyStatuses keyId: ${P} key-session "${t.mediaKeysSession.sessionId}"`),n[P]=s}),n}fetchServerCertificate(t){const n=this.config,s=n.loader,m=new s(n),w=this.getServerCertificateUrl(t);return w?(this.log(`Fetching server certificate for "${t}"`),new Promise((P,j)=>{const q={responseType:"arraybuffer",url:w},G=n.certLoadPolicy.default,ue={loadPolicy:G,timeout:G.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(Ee,Fe,Be,ct)=>{P(Ee.data)},onError:(Ee,Fe,Be,ct)=>{j(new Qn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Be,response:b({url:q.url,data:void 0},Ee)},`"${t}" certificate request failed (${w}). Status: ${Ee.code} (${Ee.text})`))},onTimeout:(Ee,Fe,Be)=>{j(new Qn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Be,response:{url:q.url,data:void 0}},`"${t}" certificate request timed out (${w})`))},onAbort:(Ee,Fe,Be)=>{j(new Error("aborted"))}};m.load(q,ue,de)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((m,w)=>{t.setServerCertificate(s).then(P=>{this.log(`setServerCertificate ${P?"success":"not supported by CDM"} (${s.byteLength}) on "${n}"`),m(t)}).catch(P=>{w(new Qn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:P,fatal:!0},P.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(s=>this.updateKeySession(t,new Uint8Array(s)).catch(m=>{throw new Qn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,decryptdata:t.decryptdata,error:m,fatal:!1},m.message)}))}unpackPlayReadyKeyMessage(t,n){const s=String.fromCharCode.apply(null,new Uint16Array(n.buffer));if(!s.includes("PlayReadyKeyMessage"))return t.setRequestHeader("Content-Type","text/xml; charset=utf-8"),n;const m=new DOMParser().parseFromString(s,"application/xml"),w=m.querySelectorAll("HttpHeader");if(w.length>0){let ue;for(let de=0,Ee=w.length;de<Ee;de++){var P,j;ue=w[de];const Fe=(P=ue.querySelector("name"))==null?void 0:P.textContent,Be=(j=ue.querySelector("value"))==null?void 0:j.textContent;Fe&&Be&&t.setRequestHeader(Fe,Be)}}const q=m.querySelector("Challenge"),G=q==null?void 0:q.textContent;if(!G)throw new Error("Cannot find <Challenge> in key message");return _i(atob(G))}setupLicenseXHR(t,n,s,m){const w=this.config.licenseXhrSetup;return w?Promise.resolve().then(()=>{if(!s.decryptdata)throw new Error("Key removed");return w.call(this.hls,t,n,s,m)}).catch(P=>{if(!s.decryptdata)throw P;return t.open("POST",n,!0),w.call(this.hls,t,n,s,m)}).then(P=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:P||m})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:m}))}requestLicense(t,n){const s=this.config.keyLoadPolicy.default;return new Promise((m,w)=>{const P=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${P}`);const j=new XMLHttpRequest;j.responseType="arraybuffer",j.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return w(new Error("invalid state"));if(j.readyState===4)if(j.status===200){this._requestLicenseFailureCount=0;let q=j.response;this.log(`License received ${q instanceof ArrayBuffer?q.byteLength:q}`);const G=this.config.licenseResponseCallback;if(G)try{q=G.call(this.hls,j,P,t)}catch(ue){this.error(ue)}m(q)}else{const q=s.errorRetry,G=q?q.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>G||j.status>=400&&j.status<500)w(new Qn({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,decryptdata:t.decryptdata,fatal:!0,networkDetails:j,response:{url:P,data:void 0,code:j.status,text:j.statusText}},`License Request XHR failed (${P}). Status: ${j.status} (${j.statusText})`));else{const ue=G-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${ue} attempts left`),this.requestLicense(t,n).then(m,w)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=j,this.setupLicenseXHR(j,P,t,n).then(({xhr:q,licenseChallenge:G})=>{t.keySystem==Va.PLAYREADY&&(G=this.unpackPlayReadyKeyMessage(q,G)),q.send(G)}).catch(w)})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,Ua(s,"encrypted",this.onMediaEncrypted),Ua(s,"waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(is(t,"encrypted",this.onMediaEncrypted),is(t,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var t;if(this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},this.bannedKeyIds={},!this.mediaKeys&&!this.mediaKeySessions.length)return;const n=this.media,s=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,Mo.clearKeyUriToKeyIdMap();const m=s.length;ma.CDMCleanupPromise=Promise.all(s.map(w=>this.removeSession(w)).concat((n==null||(t=n.setMediaKeys(null))==null?void 0:t.catch(w=>{this.log(`Could not clear media keys: ${w}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${w}`)})}))||Promise.resolve())).catch(w=>{this.log(`Could not close sessions and clear media keys: ${w}`),this.hls&&this.hls.trigger(o.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: ${w}`)})}).then(()=>{m&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this.keyFormatPromise=null,this.bannedKeyIds={}}onManifestLoaded(t,{sessionKeys:n}){if(!(!n||!this.config.emeEnabled)&&!this.keyFormatPromise){const s=n.reduce((m,w)=>(m.indexOf(w.keyFormat)===-1&&m.push(w.keyFormat),m),[]);this.log(`Selecting key-system from session-keys ${s.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(s)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:s,decryptdata:m}=t;if(n){this.log(`Remove licenses and keys and close session "${n.sessionId}" keyId: ${Q((m==null?void 0:m.keyId)||[])}`),t._onmessage&&(n.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(n.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),s&&s.readyState!==XMLHttpRequest.DONE&&s.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const w=this.mediaKeySessions.indexOf(t);w>-1&&this.mediaKeySessions.splice(w,1);const{keyStatusTimeouts:P}=t;P&&Object.keys(P).forEach(G=>self.clearTimeout(P[G]));const{drmSystemOptions:j}=this.config;return(xl(j)?new Promise((G,ue)=>{self.setTimeout(()=>ue(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(G).catch(ue)}):Promise.resolve()).catch(G=>{this.log(`Could not remove session: ${G}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${G}`)})}).then(()=>n.close()).catch(G=>{this.log(`Could not close session: ${G}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${G}`)})})}return Promise.resolve()}}ma.CDMCleanupPromise=void 0;function po(O){if(!O)throw new Error("Could not read keyId of undefined decryptdata");if(O.keyId===null)throw new Error("keyId is null");return Q(O.keyId)}function _o(O,t){if(O.keyId&&t.mediaKeysSession.keyStatuses.has(O.keyId))return t.mediaKeysSession.keyStatuses.get(O.keyId);if(O.matches(t.decryptdata))return t.keyStatus}class Qn 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}}function Vu(O,t){const n=O==="output-restricted",s=n?f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR;return new Qn({type:c.KEY_SYSTEM_ERROR,details:s,fatal:!1,decryptdata:t},n?"HDCP level output restricted":`key status changed to "${O}"`)}class C{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(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListeners(){this.hls.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),this.hls.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}destroy(){this.timer&&clearInterval(this.timer),this.unregisterListeners(),this.isVideoPlaybackQualityAvailable=!1,this.media=null}onMediaAttaching(t,n){const s=this.hls.config;if(s.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),s.fpsDroppedMonitoringPeriod)}}onMediaDetaching(){this.media=null}checkFPS(t,n,s){const m=performance.now();if(n){if(this.lastTime){const w=m-this.lastTime,P=s-this.lastDroppedFrames,j=n-this.lastDecodedFrames,q=1e3*P/w,G=this.hls;if(G.trigger(o.FPS_DROP,{currentDropped:P,currentDecoded:j,totalDroppedFrames:s}),q>0&&P>G.config.fpsDroppedMonitoringThreshold*j){let ue=G.currentLevel;G.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+ue),ue>0&&(G.autoLevelCapping===-1||G.autoLevelCapping>=ue)&&(ue=ue-1,G.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:ue,droppedLevel:G.currentLevel}),G.autoLevelCapping=ue,this.streamController.nextLevelSwitch())}}this.lastTime=m,this.lastDroppedFrames=s,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 D(O,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=O,t.dispatchEvent(n)}function L(O,t){const n=O.mode;if(n==="disabled"&&(O.mode="hidden"),O.cues&&!O.cues.getCueById(t.id))try{if(O.addCue(t),!O.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){H.debug(`[texttrack-utils]: ${s}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,O.addCue(m)}catch(m){H.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(O.mode=n)}function me(O,t){const n=O.mode;if(n==="disabled"&&(O.mode="hidden"),O.cues)for(let s=O.cues.length;s--;)t&&O.cues[s].removeEventListener("enter",t),O.removeCue(O.cues[s]);n==="disabled"&&(O.mode=n)}function ze(O,t,n,s){const m=O.mode;if(m==="disabled"&&(O.mode="hidden"),O.cues&&O.cues.length>0){const w=li(O.cues,t,n);for(let P=0;P<w.length;P++)(!s||s(w[P]))&&O.removeCue(w[P])}m==="disabled"&&(O.mode=m)}function un(O,t){if(t<=O[0].startTime)return 0;const n=O.length-1;if(t>O[n].endTime)return-1;let s=0,m=n,w;for(;s<=m;)if(w=Math.floor((m+s)/2),t<O[w].startTime)m=w-1;else if(t>O[w].startTime&&s<n)s=w+1;else return w;return O[s].startTime-t<t-O[m].startTime?s:m}function li(O,t,n){const s=[],m=un(O,t);if(m>-1)for(let w=m,P=O.length;w<P;w++){const j=O[w];if(j.startTime>=t&&j.endTime<=n)s.push(j);else if(j.startTime>n)return s}return s}function la(O){const t=[];for(let n=0;n<O.length;n++){const s=O[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(O[n])}return t}class na extends fi{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 s=la(this.media.textTracks);for(let w=0;w<s.length;w++)if(s[w].mode==="hidden")n=s[w];else if(s[w].mode==="showing"){n=s[w];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(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(o.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 s=this.media;if(!s)return;const m=!!n.transferMedia;if(self.clearInterval(this.subtitlePollingInterval),this.useTextTrackPolling||s.textTracks.removeEventListener("change",this.asyncPollTrackChange),this.trackId>-1&&(this.queuedDefaultTrack=this.trackId),this.subtitleTrack=-1,this.media=null,m)return;la(s.textTracks).forEach(P=>{me(P)})}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:s,groupId:m,details:w}=n,P=this.tracksInGroup[s];if(!P||P.groupId!==m){this.warn(`Subtitle track with id:${s} and group:${m} not found in active group ${P==null?void 0:P.groupId}`);return}const j=P.details;P.details=n.details,this.log(`Subtitle track ${s} "${P.name}" lang:${P.lang} group:${m} loaded [${w.startSN}-${w.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,j)}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 s=n.subtitleGroups||null,m=this.groupIds;let w=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(P=>(m==null?void 0:m.indexOf(P))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const P=this.tracks.filter(ue=>!s||s.indexOf(ue.groupId)!==-1);if(P.length)this.selectDefaultTrack&&!P.some(ue=>ue.default)&&(this.selectDefaultTrack=!1),P.forEach((ue,de)=>{ue.id=de});else if(!w&&!this.tracksInGroup.length)return;this.tracksInGroup=P;const j=this.hls.config.subtitlePreference;if(!w&&j){this.selectDefaultTrack=!1;const ue=qn(j,P);if(ue>-1)w=P[ue];else{const de=qn(j,this.tracks);w=this.tracks[de]}}let q=this.findTrackId(w);q===-1&&w&&(q=this.findTrackId(null));const G={subtitleTracks:P};this.log(`Updating subtitle tracks, ${P.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,G),q!==-1&&this.trackId===-1&&this.setSubtitleTrack(q)}}findTrackId(t){const n=this.tracksInGroup,s=this.selectDefaultTrack;for(let m=0;m<n.length;m++){const w=n[m];if(!(s&&!w.default||!s&&!t)&&(!t||Jn(w,t)))return m}if(t){for(let m=0;m<n.length;m++){const w=n[m];if(kl(t.attrs,w.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const w=n[m];if(kl(t.attrs,w.attrs,["LANGUAGE"]))return m}}return-1}findTrackForTextTrack(t){if(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(hc(m,t))return s}}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 s=this.currentTrack;if(s&&Jn(t,s))return s;const m=qn(t,this.tracksInGroup);if(m>-1){const w=this.tracksInGroup[m];return this.setSubtitleTrack(m),w}else{if(s)return null;{const w=qn(t,n);if(w>-1)return n[w]}}}}return null}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,w=this.getUrlWithDirectives(t.url,n),P=t.details,j=P==null?void 0:P.age;this.log(`Loading subtitle ${s} "${t.name}" lang:${t.lang} group:${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&P.live?" age "+j.toFixed(1)+(P.type?" "+P.type||0:""):""} ${w}`),this.hls.trigger(o.SUBTITLE_TRACK_LOADING,{url:w,id:s,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=la(t.textTracks),s=this.currentTrack;let m;if(s&&(m=n.filter(w=>hc(s,w))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${s.name}" and language "${s.lang}"`)),[].slice.call(n).forEach(w=>{w.mode!=="disabled"&&w!==m&&(w.mode="disabled")}),m){const w=this.subtitleDisplay?"showing":"hidden";m.mode!==w&&(m.mode=w)}}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 s=this.currentTrack,m=n[t]||null;if(this.trackId=t,this.currentTrack=m,this.toggleTrackModes(),!m){this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:t});return}const w=!!m.details&&!m.details.live;if(t===this.trackId&&m===s&&w)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:P,groupId:j="",name:q,type:G,url:ue}=m;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:P,groupId:j,name:q,type:G,url:ue});const de=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(de)}}function ws(){try{return crypto.randomUUID()}catch(O){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 w=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(m=="x"?w:w&3|8).toString(16)})}}}function Ys(O){let t=5381,n=O.length;for(;n;)t=t*33^O.charCodeAt(--n);return(t>>>0).toString()}const si=.025;let Rs=function(O){return O[O.Point=0]="Point",O[O.Range=1]="Range",O}({});function nu(O,t,n){return`${O.identifier}-${n+1}-${Ys(t)}`}class ao{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){var n;if(t>0&&t>=this.assetList.length)return!0;const s=this.playoutLimit;return t<=0||isNaN(s)?!1:s===0?!0:(((n=this.assetList[t])==null?void 0:n.startOffset)||0)>s}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 xo(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,s=xo(n,t);return n-s<.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 xo(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)<si))}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"?Rs.Range:Rs.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 yc(this)}}function xo(O,t){return O-t.start<t.duration/2&&!(Math.abs(O-(t.start+t.duration))<si)?t.start:t.start+t.duration}function Cl(O,t,n){const s=new self.URL(O,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function $l(O,t){for(;(n=O.assetList[++t])!=null&&n.error;)var n;return t}function yc(O){return`["${O.identifier}" ${O.cue.pre?"<pre>":O.cue.post?"<post>":""}${O.timelineStart.toFixed(2)}-${O.resumeTime.toFixed(2)}]`}function Pl(O){const t=O.timelineStart,n=O.duration||0;return`["${O.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class gl{constructor(t,n,s,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=()=>{this.reachedPlayout(this.currentTime)&&this.hls&&this.hls.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const w=this.hls=new t(n);this.interstitial=s,this.assetItem=m;const P=()=>{this.hasDetails=!0};w.once(o.LEVEL_LOADED,P),w.once(o.AUDIO_TRACK_LOADED,P),w.once(o.SUBTITLE_TRACK_LOADED,P),w.on(o.MEDIA_ATTACHING,(j,{media:q})=>{this.removeMediaListeners(),this.mediaAttached=q,this.interstitial.playoutLimit&&(q.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&w.on(o.BUFFER_APPENDED,()=>{const ue=this.bufferedEnd;this.reachedPlayout(ue)&&(this._bufferedEosTime=ue,w.trigger(o.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){return this.interstitial.appendInPlace}loadSource(){const t=this.hls;if(t)if(t.url)t.levels.length&&!t.started&&t.startLoad(-1,!0);else{let n=this.assetItem.uri;try{n=Cl(n,t.config.primarySessionId||"").href}catch(s){}t.loadSource(n)}}bufferedInPlaceToEnd(t){var n;if(!this.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t)return!1;const s=Math.min(this._bufferedEosTime||1/0,this.duration),m=this.timelineOffset,w=ci.bufferInfo(t,m,0);return this.getAssetTime(w.end)>=s-.02}reachedPlayout(t){const s=this.interstitial.playoutLimit;return this.startOffset+t>=s}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=ci.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;if(!t)return 0;const n=this.interstitial.playoutLimit;if(n){const s=n-this.startOffset;if(s>0&&s<t)return s}return t}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 s=t-n;if(Math.abs(s)>11111111111111112e-21&&this.hls){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,s=this.duration;return Math.min(Math.max(0,t-n),s)}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&&this.hls.destroy(),this.hls=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){var n;this.loadSource(),(n=this.hls)==null||n.attachMedia(t)}detachMedia(){var t;this.removeMediaListeners(),this.mediaAttached=null,(t=this.hls)==null||t.detachMedia()}resumeBuffering(){var t;(t=this.hls)==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.hls)==null||t.pauseBuffering()}transferMedia(){var t;return this.bufferSnapShot(),((t=this.hls)==null?void 0:t.transferMedia())||null}resetDetails(){const t=this.hls;if(t&&this.hasDetails){t.stopLoad();const n=s=>delete s.details;t.levels.forEach(n),t.allAudioTracks.forEach(n),t.allSubtitleTracks.forEach(n),this.hasDetails=!1}}on(t,n,s){var m;(m=this.hls)==null||m.on(t,n)}once(t,n,s){var m;(m=this.hls)==null||m.once(t,n)}off(t,n,s){var m;(m=this.hls)==null||m.off(t,n)}toString(){var t;return`HlsAssetPlayer: ${Pl(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const Yu=.033;class bc extends R{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((s,m)=>t<=m.startOffset&&n>m.startOffset?(delete m.error,s+1):s,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 s=-1;t.nextEvent?s=this.findEventIndex(t.nextEvent.identifier)-1:t.previousEvent&&(s=this.findEventIndex(t.previousEvent.identifier)+1);const m=this.items;if(m)for(m[s]||(n===void 0&&(n=t.start),s=this.findItemIndexAtTime(n));s>=0&&(w=m[s])!=null&&w.event;){var w;s--}return s}findItemIndexAtTime(t,n){const s=this.items;if(s)for(let m=0;m<s.length;m++){let w=s[m];if(n&&n!=="primary"&&(w=w[n]),t===w.start||t>w.start&&t<w.end)return m}return-1}findJumpRestrictedIndex(t,n){const s=this.items;if(s)for(let m=t;m<=n&&s[m];m++){const w=s[m].event;if(w!=null&&w.restrictions.jump&&!w.appendInPlace)return m}return-1}findEventIndex(t){const n=this.items;if(n)for(let m=n.length;m--;){var s;if(((s=n[m].event)==null?void 0:s.identifier)===t)return m}return-1}findAssetIndex(t,n){const s=t.assetList,m=s.length;if(m>1)for(let w=0;w<m;w++){const P=s[w];if(!P.error){const j=P.timelineStart;if(n===j||n>j&&(n<j+(P.duration||0)||w===m-1))return w}}return 0}get assetIdAtEnd(){var t;const n=(t=this.items)==null||(t=t[this.length-1])==null?void 0:t.event;if(n){const s=n.assetList,m=s[s.length-1];if(m)return m.identifier}return null}parseInterstitialDateRanges(t,n){const s=t.main.details,{dateRanges:m}=s,w=this.events,P=this.parseDateRanges(m,{url:s.url},n),j=Object.keys(m),q=w?w.filter(G=>!j.includes(G.identifier)):[];P.length&&P.sort((G,ue)=>{const de=G.cue.pre,Ee=G.cue.post,Fe=ue.cue.pre,Be=ue.cue.post;if(de&&!Fe)return-1;if(Fe&&!de||Ee&&!Be)return 1;if(Be&&!Ee)return-1;if(!de&&!Fe&&!Ee&&!Be){const ct=G.startTime,lt=ue.startTime;if(ct!==lt)return ct-lt}return G.dateRange.tagOrder-ue.dateRange.tagOrder}),this.events=P,q.forEach(G=>{this.removeEvent(G)}),this.updateSchedule(t,q)}updateSchedule(t,n=[],s=!1){const m=this.events||[];if(m.length||n.length||this.length<2){const w=this.items,P=this.parseSchedule(m,t);(s||n.length||(w==null?void 0:w.length)!==P.length||P.some((q,G)=>Math.abs(q.playout.start-w[G].playout.start)>.005||Math.abs(q.playout.end-w[G].playout.end)>.005))&&(this.items=P,this.onScheduleUpdate(n,w))}}parseDateRanges(t,n,s){const m=[],w=Object.keys(t);for(let P=0;P<w.length;P++){const j=w[P],q=t[j];if(q.isInterstitial){let G=this.eventMap[j];G?G.setDateRange(q):(G=new ao(q,n),this.eventMap[j]=G,s===!1&&(G.appendInPlace=s)),m.push(G)}}return m}parseSchedule(t,n){const s=[],m=n.main.details,w=m.live?1/0:m.edge;let P=0;if(t=t.filter(q=>!q.error&&!(q.cue.once&&q.hasPlayed)),t.length){this.resolveOffsets(t,n);let q=0,G=0;if(t.forEach((ue,de)=>{const Ee=ue.cue.pre,Fe=ue.cue.post,Be=t[de-1]||null,ct=ue.appendInPlace,lt=Fe?w:ue.startOffset,Gt=ue.duration,Jt=ue.timelineOccupancy===Rs.Range?Gt:0,er=ue.resumptionOffset,wr=(Be==null?void 0:Be.startTime)===lt,zr=lt+ue.cumulativeDuration;let hn=ct?zr+Gt:lt+er;if(Ee||!Fe&<<=0){const sn=G;G+=Jt,ue.timelineStart=zr;const nn=P;P+=Gt,s.push({event:ue,start:zr,end:hn,playout:{start:nn,end:P},integrated:{start:sn,end:G}})}else if(lt<=w){if(!wr){const Vr=lt-q;if(Vr>Yu){const In=q,wi=G;G+=Vr;const ta=P;P+=Vr;const va={previousEvent:t[de-1]||null,nextEvent:ue,start:In,end:In+Vr,playout:{start:ta,end:P},integrated:{start:wi,end:G}};s.push(va)}else Vr>0&&Be&&(Be.cumulativeDuration+=Vr,s[s.length-1].end=lt)}Fe&&(hn=zr),ue.timelineStart=zr;const sn=G;G+=Jt;const nn=P;P+=Gt,s.push({event:ue,start:zr,end:hn,playout:{start:nn,end:P},integrated:{start:sn,end:G}})}else return;const Zr=ue.resumeTime;Fe||Zr>w?q=w:q=Zr}),q<w){var j;const ue=q,de=G,Ee=w-q;G+=Ee;const Fe=P;P+=Ee,s.push({previousEvent:((j=s[s.length-1])==null?void 0:j.event)||null,nextEvent:null,start:q,end:ue+Ee,playout:{start:Fe,end:P},integrated:{start:de,end:G}})}this.setDurations(w,P,G)}else s.push({previousEvent:null,nextEvent:null,start:0,end:w,playout:{start:0,end:w},integrated:{start:0,end:w}}),this.setDurations(w,w,w);return s}setDurations(t,n,s){this.durations={primary:t,playout:n,integrated:s}}resolveOffsets(t,n){const s=n.main.details,m=s.live?1/0:s.edge;let w=0,P=-1;t.forEach((j,q)=>{const G=j.cue.pre,ue=j.cue.post,de=G?0:ue?m:j.startTime;this.updateAssetDurations(j),P===de?j.cumulativeDuration=w:(w=0,P=de),!ue&&j.snapOptions.in&&(j.resumeAnchor=sr(null,s.fragments,j.startOffset+j.resumptionOffset,0,0)||void 0),j.appendInPlace&&!j.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(j,n)||(j.appendInPlace=!1)),!j.appendInPlace&&q+1<t.length&&t[q+1].startTime-t[q].resumeTime<Yu&&(t[q+1].appendInPlace=!1,t[q+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${j}`));const Fe=r(j.resumeOffset)?j.resumeOffset:j.duration;w+=Fe})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(s-m)>si?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${m}`),!1):!Object.keys(n).some(P=>{const j=n[P].details,q=j.edge;if(s>=q)return this.log(`"${t.identifier}" resumption ${s} past ${P} playlist end ${q}`),!1;const G=sr(null,j.fragments,s);if(!G)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${P} playlist (${j.fragStart}-${j.fragmentEnd})`),!0;const ue=P==="audio"?.175:0;return Math.abs(G.start-s)<si+ue||Math.abs(G.end-s)<si+ue?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${P} fragment bounds (${G.start}-${G.end} sn: ${G.sn} cc: ${G.cc})`),!0)})}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let s=0,m=!1,w=!1;for(let P=0;P<t.assetList.length;P++){const j=t.assetList[P],q=n+s;j.startOffset=s,j.timelineStart=q,m||(m=j.duration===null),w||(w=!!j.error);const G=j.error?0:j.duration||0;s+=G}m&&!w?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function Su(O){return`[${O.event?'"'+O.event.identifier+'"':"primary"}: ${O.start.toFixed(2)}-${O.end.toFixed(2)}]`}class yl{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let m;try{m=Cl(s,this.hls.sessionId,t.baseUrl)}catch(Ee){const Fe=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,Ee,s);this.hls.trigger(o.ERROR,Fe);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const w=this.hls.config,P=w.loader,j=new P(w),q={responseType:"json",url:m.href},G=w.interstitialAssetListLoadPolicy.default,ue={loadPolicy:G,timeout:G.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(Ee,Fe,Be,ct)=>{const lt=Ee.data,Gt=lt==null?void 0:lt.ASSETS;if(!Array.isArray(Gt)){const Jt=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Be.url,Fe,ct);this.hls.trigger(o.ERROR,Jt);return}t.assetListResponse=lt,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:lt,networkDetails:ct})},onError:(Ee,Fe,Be,ct)=>{const lt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${Ee.code} ${Ee.text} (${Fe.url})`),Fe.url,ct,Be);this.hls.trigger(o.ERROR,lt)},onTimeout:(Ee,Fe,Be)=>{const ct=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Fe.url})`),Fe.url,Ee,Be);this.hls.trigger(o.ERROR,ct)}};return j.load(q,ue,de),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),j}assignAssetListError(t,n,s,m,w,P){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:s,networkDetails:P,stats:w}}}function Ls(O){O==null||O.play().catch(()=>{})}function qu(O,t){return`[${O}] Advancing timeline position to ${t}`}class xc extends R{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 s=this.currentTime;if(s===void 0||this.playbackDisabled||!this.schedule)return;const m=s-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const P=m<=-.01;this.timelinePos=s,this.bufferedPos=s;const j=this.playingItem;if(!j){this.checkBuffer();return}if(P&&this.schedule.resetErrorsInRange(s,s-m)&&this.updateSchedule(!0),this.checkBuffer(),P&&s<j.start||s>=j.end){var q;const Fe=this.findItemIndex(j);let Be=this.schedule.findItemIndexAtTime(s);if(Be===-1&&(Be=Fe+(P?-1:1),this.log(`seeked ${P?"back ":""}to position not covered by schedule ${s} (resolving from ${Fe} to ${Be})`)),!this.isInterstitial(j)&&(q=this.media)!=null&&q.paused&&(this.shouldPlay=!1),!P&&Be>Fe){const ct=this.schedule.findJumpRestrictedIndex(Fe+1,Be);if(ct>Fe){this.setSchedulePosition(ct);return}}this.setSchedulePosition(Be);return}const G=this.playingAsset;if(!G){if(this.playingLastItem&&this.isInterstitial(j)){const Fe=j.event.assetList[0];Fe&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,Fe))}return}const ue=G.timelineStart,de=G.duration||0;if(P&&s<ue||s>=ue+de){var Ee;(Ee=j.event)!=null&&Ee.appendInPlace&&(this.clearInterstitial(j.event,j),this.flushFrontBuffer(s)),this.setScheduleToAssetAtTime(s,G)}},this.onTimeupdate=()=>{const s=this.currentTime;if(s===void 0||this.playbackDisabled)return;if(s>this.timelinePos)this.timelinePos=s,s>this.bufferedPos&&this.checkBuffer();else return;const m=this.playingItem;if(!m||this.playingLastItem)return;if(s>=m.end){this.timelinePos=m.end;const j=this.findItemIndex(m);this.setSchedulePosition(j+1)}const w=this.playingAsset;if(!w)return;const P=w.timelineStart+(w.duration||0);s>=P&&this.setScheduleToAssetAtTime(s,w)},this.onScheduleUpdate=(s,m)=>{const w=this.schedule;if(!w)return;const P=this.playingItem,j=w.events||[],q=w.items||[],G=w.durations,ue=s.map(ct=>ct.identifier),de=!!(j.length||ue.length);(de||m)&&this.log(`INTERSTITIALS_UPDATED (${j.length}): ${j}
|
|
|
Schedule: ${q.map(ct=>Su(ct))} pos: ${this.timelinePos}`),ue.length&&this.log(`Removed events ${ue}`);let Ee=null,Fe=null;P&&(Ee=this.updateItem(P,this.timelinePos),this.itemsMatch(P,Ee)?this.playingItem=Ee:this.waitingItem=this.endedItem=null),this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const Be=this.bufferingItem;if(Be&&(Fe=this.updateItem(Be,this.bufferedPos),this.itemsMatch(Be,Fe)?this.bufferingItem=Fe:Be.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(Be.event,null))),s.forEach(ct=>{ct.assetList.forEach(lt=>{this.clearAssetPlayer(lt.identifier,null)})}),this.playerQueue.forEach(ct=>{if(ct.interstitial.appendInPlace){const lt=ct.assetItem.timelineStart,Gt=ct.timelineOffset-lt;if(Gt)try{ct.timelineOffset=lt}catch(Jt){Math.abs(Gt)>si&&this.warn(`${Jt} ("${ct.assetId}" ${ct.timelineOffset}->${lt})`)}}}),de||m){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:j.slice(0),schedule:q.slice(0),durations:G,removedIds:ue}),this.isInterstitial(P)&&ue.includes(P.event.identifier)){this.warn(`Interstitial "${P.event.identifier}" removed while playing`),this.primaryFallback(P.event);return}P&&this.trimInPlace(Ee,P),Be&&Fe!==Ee&&this.trimInPlace(Fe,Be),this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new yl(t),this.schedule=new bc(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t&&(t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(o.MEDIA_ENDED,this.onMediaEnded,this),t.on(o.ERROR,this.onError,this),t.on(o.DESTROYING,this.onDestroying,this))}unregisterListeners(){const t=this.hls;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(o.MEDIA_ENDED,this.onMediaEnded,this),t.off(o.ERROR,this.onError,this),t.off(o.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.schedule=this.manager=null,this.hls=this.HlsPlayerClass=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){is(t,"play",this.onPlay),is(t,"pause",this.onPause),is(t,"seeking",this.onSeeking),is(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const s=this.media=n.media;Ua(s,"seeking",this.onSeeking),Ua(s,"timeupdate",this.onTimeupdate),Ua(s,"play",this.onPlay),Ua(s,"pause",this.onPause)}onMediaAttached(t,n){const s=this.effectivePlayingItem,m=this.detachedData;if(this.detachedData=null,s===null)this.checkStart();else if(!m){this.clearScheduleState();const w=this.findItemIndex(s);this.setSchedulePosition(w)}}clearScheduleState(){this.log("clear schedule state"),this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const s=!!n.transferMedia,m=this.media;if(this.media=null,!s&&(m&&this.removeMediaListeners(m),this.detachedData)){const w=this.getBufferingPlayer();w&&(this.log(`Removing schedule state for detachedData and ${w}`),this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,w.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.hls)return null;if(this.manager)return this.manager;const t=this,n=()=>t.bufferingItem||t.waitingItem,s=de=>de&&t.getAssetPlayer(de.identifier),m=(de,Ee,Fe,Be,ct)=>{if(de){let lt=de[Ee].start;const Gt=de.event;if(Gt){if(Ee==="playout"||Gt.timelineOccupancy!==Rs.Point){const Jt=s(Fe);(Jt==null?void 0:Jt.interstitial)===Gt&&(lt+=Jt.assetItem.startOffset+Jt[ct])}}else{const Jt=Be==="bufferedPos"?P():t[Be];lt+=Jt-de.start}return lt}return 0},w=(de,Ee)=>{var Fe;if(de!==0&&Ee!=="primary"&&(Fe=t.schedule)!=null&&Fe.length){var Be;const ct=t.schedule.findItemIndexAtTime(de),lt=(Be=t.schedule.items)==null?void 0:Be[ct];if(lt){const Gt=lt[Ee].start-lt.start;return de+Gt}}return de},P=()=>{const de=t.bufferedPos;return de===Number.MAX_VALUE?j("primary"):Math.max(de,0)},j=de=>{var Ee,Fe;return(Ee=t.primaryDetails)!=null&&Ee.live?t.primaryDetails.edge:((Fe=t.schedule)==null?void 0:Fe.durations[de])||0},q=(de,Ee)=>{var Fe,Be;const ct=t.effectivePlayingItem;if(ct!=null&&(Fe=ct.event)!=null&&Fe.restrictions.skip||!t.schedule)return;t.log(`seek to ${de} "${Ee}"`);const lt=t.effectivePlayingItem,Gt=t.schedule.findItemIndexAtTime(de,Ee),Jt=(Be=t.schedule.items)==null?void 0:Be[Gt],er=t.getBufferingPlayer(),wr=er==null?void 0:er.interstitial,zr=wr==null?void 0:wr.appendInPlace,hn=lt&&t.itemsMatch(lt,Jt);if(lt&&(zr||hn)){const Zr=s(t.playingAsset),sn=(Zr==null?void 0:Zr.media)||t.primaryMedia;if(sn){const nn=Ee==="primary"?sn.currentTime:m(lt,Ee,t.playingAsset,"timelinePos","currentTime"),Vr=de-nn,In=(zr?nn:sn.currentTime)+Vr;if(In>=0&&(!Zr||zr||In<=Zr.duration)){sn.currentTime=In;return}}}if(Jt){let Zr=de;if(Ee!=="primary"){const nn=Jt[Ee].start,Vr=de-nn;Zr=Jt.start+Vr}const sn=!t.isInterstitial(Jt);if((!t.isInterstitial(lt)||lt.event.appendInPlace)&&(sn||Jt.event.appendInPlace)){const nn=t.media||(zr?er==null?void 0:er.media:null);nn&&(nn.currentTime=Zr)}else if(lt){const nn=t.findItemIndex(lt);if(Gt>nn){const In=t.schedule.findJumpRestrictedIndex(nn+1,Gt);if(In>nn){t.setSchedulePosition(In);return}}let Vr=0;if(sn)t.timelinePos=Zr,t.checkBuffer();else{const In=Jt.event.assetList,wi=de-(Jt[Ee]||Jt).start;for(let ta=In.length;ta--;){const va=In[ta];if(va.duration&&wi>=va.startOffset&&wi<va.startOffset+va.duration){Vr=ta;break}}}t.setSchedulePosition(Gt,Vr)}}},G=()=>{const de=t.effectivePlayingItem;if(t.isInterstitial(de))return de;const Ee=n();return t.isInterstitial(Ee)?Ee:null},ue={get bufferedEnd(){const de=n(),Ee=t.bufferingItem;if(Ee&&Ee===de){var Fe;return m(Ee,"playout",t.bufferingAsset,"bufferedPos","bufferedEnd")-Ee.playout.start||((Fe=t.bufferingAsset)==null?void 0:Fe.startOffset)||0}return 0},get currentTime(){const de=G(),Ee=t.effectivePlayingItem;return Ee&&Ee===de?m(Ee,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-Ee.playout.start:0},set currentTime(de){const Ee=G(),Fe=t.effectivePlayingItem;Fe&&Fe===Ee&&q(de+Fe.playout.start,"playout")},get duration(){const de=G();return de?de.playout.end-de.playout.start:0},get assetPlayers(){var de;const Ee=(de=G())==null?void 0:de.event.assetList;return Ee?Ee.map(Fe=>t.getAssetPlayer(Fe.identifier)):[]},get playingIndex(){var de;const Ee=(de=G())==null?void 0:de.event;return Ee&&t.effectivePlayingAsset?Ee.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return G()}};return this.manager={get events(){var de;return((de=t.schedule)==null||(de=de.events)==null?void 0:de.slice(0))||[]},get schedule(){var de;return((de=t.schedule)==null||(de=de.items)==null?void 0:de.slice(0))||[]},get interstitialPlayer(){return G()?ue:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const de=n();return t.findItemIndex(de)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const de=t.effectivePlayingItem;return t.findItemIndex(de)},primary:{get bufferedEnd(){return P()},get currentTime(){const de=t.timelinePos;return de>0?de:0},set currentTime(de){q(de,"primary")},get duration(){return j("primary")},get seekableStart(){var de;return((de=t.primaryDetails)==null?void 0:de.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(de){q(de,"integrated")},get duration(){return j("integrated")},get seekableStart(){var de;return w(((de=t.primaryDetails)==null?void 0:de.fragmentStart)||0,"integrated")}},skip:()=>{const de=t.effectivePlayingItem,Ee=de==null?void 0:de.event;if(Ee&&!Ee.restrictions.skip){const Fe=t.findItemIndex(de);if(Ee.appendInPlace){const Be=de.playout.start+de.event.duration;q(Be+.001,"playout")}else t.advanceAfterAssetEnded(Ee,Fe,1/0)}}}}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,s=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!s?!1:this.findItemIndex(n)===s.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n;if(this.mediaSelection===null)return;const s=this.waitingItem||this.playingItem;if(this.isInterstitial(s)&&!s.event.appendInPlace)return;let m=this.media;!m&&(t=this.bufferingItem)!=null&&(t=t.event)!=null&&t.appendInPlace&&(m=this.primaryMedia);const w=(n=m)==null?void 0:n.currentTime;if(!(w===void 0||!r(w)))return w}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 s=this.getAssetPlayer(t);s&&this.transferMediaFromPlayer(s,n)}transferMediaFromPlayer(t,n){const s=t.interstitial.appendInPlace,m=t.media;if(s&&m===this.primaryMedia){if(this.bufferingAsset=null,(!n||this.isInterstitial(n)&&!n.event.appendInPlace)&&n&&m){this.detachedData={media:m};return}const w=t.transferMedia();this.log(`transfer MediaSource from ${t} ${Ai(w)}`),this.detachedData=w}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var s,m;if(t.media===n)return;let w=null;const P=this.hls,j=t!==P,q=j&&t.interstitial.appendInPlace,G=(s=this.detachedData)==null?void 0:s.mediaSource;let ue;if(P.media)q&&(w=P.transferMedia(),this.detachedData=w),ue="Primary";else if(G){const Be=this.getBufferingPlayer();Be?(w=Be.transferMedia(),ue=`${Be}`):ue="detached MediaSource"}else ue="detached media";if(!w){if(G)w=this.detachedData,this.log(`using detachedData: MediaSource ${Ai(w)}`);else if(!this.detachedData||P.media===n){const Be=this.playerQueue;Be.length>1&&Be.forEach(ct=>{if(j&&ct.interstitial.appendInPlace!==q){const lt=ct.interstitial;this.clearInterstitial(ct.interstitial,null),lt.appendInPlace=!1,lt.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${lt}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const de=w&&"mediaSource"in w&&((m=w.mediaSource)==null?void 0:m.readyState)!=="closed",Ee=de&&w?w:n;this.log(`${de?"transfering MediaSource":"attaching media"} to ${j?t:"Primary"} from ${ue} (media.currentTime: ${n.currentTime})`);const Fe=this.schedule;if(Ee===w&&Fe){const Be=j&&t.assetId===Fe.assetIdAtEnd;Ee.overrides={duration:Fe.duration,endOfStream:!j||Be,cueRemoval:!j}}t.attachMedia(Ee)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t==null?void 0:t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const s=this.timelinePos,m=this.effectivePlayingItem;if(s===-1){const w=this.hls.startPosition;if(this.log(qu("checkStart",w)),this.timelinePos=w,n.length&&n[0].cue.pre){const P=t.findEventIndex(n[0].identifier);this.setSchedulePosition(P)}else if(w>=0||!this.primaryLive){const P=this.timelinePos=w>0?w:0,j=t.findItemIndexAtTime(P);this.setSchedulePosition(j)}}else if(m&&!this.playingItem){const w=t.findItemIndex(m);this.setSchedulePosition(w)}}advanceAssetBuffering(t,n){const s=t.event,m=s.findAssetIndex(n),w=$l(s,m);if(!s.isAssetPastPlayoutLimit(w))this.bufferedToEvent(t,w);else if(this.schedule){var P;const j=(P=this.schedule.items)==null?void 0:P[this.findItemIndex(t)+1];j&&this.bufferedToItem(j)}}advanceAfterAssetEnded(t,n,s){const m=$l(t,s);if(t.isAssetPastPlayoutLimit(m)){if(this.schedule){const w=this.schedule.items;if(w){const P=n+1,j=w.length;if(P>=j){this.setSchedulePosition(-1);return}const q=t.resumeTime;this.timelinePos<q&&(this.log(qu("advanceAfterAssetEnded",q)),this.timelinePos=q,t.appendInPlace&&this.advanceInPlace(q),this.checkBuffer(this.bufferedPos<q)),this.setSchedulePosition(P)}}}else{if(t.appendInPlace){const w=t.assetList[m];w&&this.advanceInPlace(w.timelineStart)}this.setSchedulePosition(n,m)}}setScheduleToAssetAtTime(t,n){const s=this.schedule;if(!s)return;const m=n.parentIdentifier,w=s.getEvent(m);if(w){const P=s.findEventIndex(m),j=s.findAssetIndex(w,t);this.advanceAfterAssetEnded(w,P,j-1)}}setSchedulePosition(t,n){var s;const m=(s=this.schedule)==null?void 0:s.items;if(!m||this.playbackDisabled)return;const w=t>=0?m[t]:null;this.log(`setSchedulePosition ${t}, ${n} (${w&&Su(w)}) pos: ${this.timelinePos}`);const P=this.waitingItem||this.playingItem,j=this.playingLastItem;if(this.isInterstitial(P)){const ue=P.event,de=this.playingAsset,Ee=de==null?void 0:de.identifier,Fe=Ee?this.getAssetPlayer(Ee):null;if(Fe&&Ee&&(!this.eventItemsMatch(P,w)||n!==void 0&&Ee!==ue.assetList[n].identifier)){var q;const Be=ue.findAssetIndex(de);if(this.log(`INTERSTITIAL_ASSET_ENDED ${Be+1}/${ue.assetList.length} ${Pl(de)}`),this.endedAsset=de,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:de,assetListIndex:Be,event:ue,schedule:m.slice(0),scheduleIndex:t,player:Fe}),P!==this.playingItem){this.itemsMatch(P,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(ue,this.findItemIndex(this.playingItem),Be);return}this.retreiveMediaSource(Ee,w),Fe.media&&!((q=this.detachedData)!=null&&q.mediaSource)&&Fe.detachMedia()}if(!this.eventItemsMatch(P,w)&&(this.endedItem=P,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${ue} ${Su(P)}`),ue.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:ue,schedule:m.slice(0),scheduleIndex:t}),ue.cue.once)){var G;this.updateSchedule();const Be=(G=this.schedule)==null?void 0:G.items;if(w&&Be){const ct=this.findItemIndex(w);this.advanceSchedule(ct,Be,n,P,j)}return}}this.advanceSchedule(t,m,n,P,j)}advanceSchedule(t,n,s,m,w){const P=this.schedule;if(!P)return;const j=n[t]||null,q=this.primaryMedia,G=this.playerQueue;if(G.length&&G.forEach(ue=>{const de=ue.interstitial,Ee=P.findEventIndex(de.identifier);(Ee<t||Ee>t+1)&&this.clearInterstitial(de,j)}),this.isInterstitial(j)){this.timelinePos=Math.min(Math.max(this.timelinePos,j.start),j.end);const ue=j.event;if(s===void 0){s=P.findAssetIndex(ue,this.timelinePos);const Be=$l(ue,s-1);if(ue.isAssetPastPlayoutLimit(Be)||ue.appendInPlace&&this.timelinePos===j.end){this.advanceAfterAssetEnded(ue,t,s);return}s=Be}const de=this.waitingItem;this.assetsBuffered(j,q)||this.setBufferingItem(j);let Ee=this.preloadAssets(ue,s);if(this.eventItemsMatch(j,de||m)||(this.waitingItem=j,this.log(`INTERSTITIAL_STARTED ${Su(j)} ${ue.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:ue,schedule:n.slice(0),scheduleIndex:t})),!ue.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${ue}`);return}if(ue.assetListLoader&&(ue.assetListLoader.destroy(),ue.assetListLoader=void 0),!q){this.log(`Waiting for attachMedia to start Interstitial ${ue}`);return}this.waitingItem=this.endedItem=null,this.playingItem=j;const Fe=ue.assetList[s];if(!Fe){this.advanceAfterAssetEnded(ue,t,s||0);return}if(Ee||(Ee=this.getAssetPlayer(Fe.identifier)),Ee===null||Ee.destroyed){const Be=ue.assetList.length;this.warn(`asset ${s+1}/${Be} player destroyed ${ue}`),Ee=this.createAssetPlayer(ue,Fe,s),Ee.loadSource()}if(!this.eventItemsMatch(j,this.bufferingItem)&&ue.appendInPlace&&this.isAssetBuffered(Fe))return;this.startAssetPlayer(Ee,s,n,t,q),this.shouldPlay&&Ls(Ee.media)}else j?(this.resumePrimary(j,t,m),this.shouldPlay&&Ls(this.hls.media)):w&&this.isInterstitial(m)&&(this.endedItem=null,this.playingItem=m,m.event.appendInPlace||this.attachPrimary(P.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t;return(t=this.mediaSelection)==null?void 0:t.main.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,s){var m,w;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${Su(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let j=this.timelinePos;(j<t.start||j>=t.end)&&(j=this.getPrimaryResumption(t,n),this.log(qu("resumePrimary",j)),this.timelinePos=j),this.attachPrimary(j,t)}if(!s)return;const P=(w=this.schedule)==null?void 0:w.items;P&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${Su(t)}`),this.hls.trigger(o.INTERSTITIALS_PRIMARY_RESUMED,{schedule:P.slice(0),scheduleIndex:n}),this.checkBuffer())}getPrimaryResumption(t,n){const s=t.start;if(this.primaryLive){const m=this.primaryDetails;if(n===0)return this.hls.startPosition;if(m&&(s<m.fragmentStart||s>m.edge))return this.hls.liveSyncPosition||-1}return s}isAssetBuffered(t){const n=this.getAssetPlayer(t.identifier);return n!=null&&n.hls?n.hls.bufferedToEnd:ci.bufferInfo(this.primaryMedia,this.timelinePos,0).end+1>=t.timelineStart+(t.duration||0)}attachPrimary(t,n,s){n?this.setBufferingItem(n):this.bufferingItem=this.playingItem,this.bufferingAsset=null;const m=this.primaryMedia;if(!m)return;const w=this.hls;w.media?this.checkBuffer():(this.transferMediaTo(w,m),s&&this.startLoadingPrimaryAt(t,s)),s||(this.log(qu("attachPrimary",t)),this.timelinePos=t,this.startLoadingPrimaryAt(t,s))}startLoadingPrimaryAt(t,n){var s;const m=this.hls;!m.loadingEnabled||!m.media||Math.abs((((s=m.mainForwardBufferInfo)==null?void 0:s.start)||m.media.currentTime)-t)>.5?m.startLoad(t,n):m.bufferingEnabled||m.resumeBuffering()}onManifestLoading(){var t;this.stopLoad(),(t=this.schedule)==null||t.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(o.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(o.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1||!this.schedule)return;const s=this.hls.levels[n.level];if(!s.details)return;const m=b(b({},this.mediaSelection||this.altSelection),{},{main:s});this.mediaSelection=m,this.schedule.parseInterstitialDateRanges(m,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(t,n){const s=this.hls.audioTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{audio:s});return}const w=b(b({},m),{},{audio:s});this.mediaSelection=w}onSubtitleTrackUpdated(t,n){const s=this.hls.subtitleTracks[n.id],m=this.mediaSelection;if(!m){this.altSelection=b(b({},this.altSelection),{},{subtitles:s});return}const w=b(b({},m),{},{subtitles:s});this.mediaSelection=w}onAudioTrackSwitching(t,n){const s=Kn(n);this.playerQueue.forEach(({hls:m})=>m&&(m.setAudioOption(n)||m.setAudioOption(s)))}onSubtitleTrackSwitch(t,n){const s=Kn(n);this.playerQueue.forEach(({hls:m})=>m&&(m.setSubtitleOption(n)||n.id!==-1&&m.setSubtitleOption(s)))}onBufferCodecs(t,n){const s=n.tracks;s&&(this.requiredTracks=s)}onBufferAppended(t,n){this.checkBuffer()}onBufferFlushed(t,n){const s=this.playingItem;if(s&&!this.itemsMatch(s,this.bufferingItem)&&!this.isInterstitial(s)){const m=this.timelinePos;this.bufferedPos=m,this.checkBuffer()}}onBufferedToEnd(t){if(!this.schedule)return;const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let m=0;m<n.length;m++){const w=n[m];if(w.cue.post){var s;const P=this.schedule.findEventIndex(w.identifier),j=(s=this.schedule.items)==null?void 0:s[P];this.isInterstitial(j)&&this.eventItemsMatch(j,this.bufferingItem)&&this.bufferedToItem(j,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(t){const n=this.playingItem;if(!this.playingLastItem&&n){const s=this.findItemIndex(n);this.setSchedulePosition(s+1)}else this.shouldPlay=!1}updateItem(t,n){var s;const m=(s=this.schedule)==null?void 0:s.items;if(t&&m){const w=this.findItemIndex(t,n);return m[w]||null}return null}trimInPlace(t,n){if(this.isInterstitial(t)&&t.event.appendInPlace&&n.end-t.end>.25){t.event.assetList.forEach((w,P)=>{t.event.isAssetPastPlayoutLimit(P)&&this.clearAssetPlayer(w.identifier,null)});const s=t.end+.25,m=ci.bufferInfo(this.primaryMedia,s,0);(m.end>s||(m.nextStart||0)>s)&&(this.log(`trim buffered interstitial ${Su(t)} (was ${Su(n)})`),this.attachPrimary(s,null,!0),this.flushFrontBuffer(s))}}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 s;return!!n&&(t===n||t.event.identifier===((s=n.event)==null?void 0:s.identifier))}findItemIndex(t,n){return t&&this.schedule?this.schedule.findItemIndex(t,n):-1}updateSchedule(t=!1){var n;const s=this.mediaSelection;s&&((n=this.schedule)==null||n.updateSchedule(s,[],t))}checkBuffer(t){var n;const s=(n=this.schedule)==null?void 0:n.items;if(!s)return;const m=ci.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=m.len<1),this.updateBufferedPos(m.end,s,t)}updateBufferedPos(t,n,s){const m=this.schedule,w=this.bufferingItem;if(this.bufferedPos>t||!m)return;if(n.length===1&&this.itemsMatch(n[0],w)){this.bufferedPos=t;return}const P=this.playingItem,j=this.findItemIndex(P);let q=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var G;const ue=this.findItemIndex(w),de=Math.min(ue+1,n.length-1),Ee=n[de];if((q===-1&&w&&t>=w.end||(G=Ee.event)!=null&&G.appendInPlace&&t+.01>=Ee.start)&&(q=de),this.isInterstitial(w)){const Fe=w.event;if(de-j>1&&Fe.appendInPlace===!1||Fe.assetList.length===0&&Fe.assetListLoader)return}if(this.bufferedPos=t,q>ue&&q>j)this.bufferedToItem(Ee);else{const Fe=this.primaryDetails;this.primaryLive&&Fe&&t>Fe.edge-Fe.targetduration&&Ee.start<Fe.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Ee)&&this.preloadAssets(Ee.event,0)}}else s&&P&&!this.itemsMatch(P,w)&&(q===j?this.bufferedToItem(P):q===j+1&&this.bufferedToItem(n[q]))}assetsBuffered(t,n){return t.event.assetList.length===0?!1:!t.event.assetList.some(m=>{const w=this.getAssetPlayer(m.identifier);return!(w!=null&&w.bufferedInPlaceToEnd(n))})}setBufferingItem(t){const n=this.bufferingItem,s=this.schedule;if(!this.itemsMatch(t,n)&&s){const{items:m,events:w}=s;if(!m||!w)return n;const P=this.isInterstitial(t),j=this.getBufferingPlayer();this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos));const q=j?j.remaining:n?n.end-this.timelinePos:0;if(this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${Su(t)}`+(n?` (${q.toFixed(2)} remaining)`:"")),!this.playbackDisabled)if(P){const G=s.findAssetIndex(t.event,this.bufferedPos);t.event.assetList.forEach((ue,de)=>{const Ee=this.getAssetPlayer(ue.identifier);Ee&&(de===G&&Ee.loadSource(),Ee.resumeBuffering())})}else this.hls.resumeBuffering(),this.playerQueue.forEach(G=>G.pauseBuffering());this.hls.trigger(o.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:w.slice(0),schedule:m.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}else this.bufferingItem!==t&&(this.bufferingItem=t);return n}bufferedToItem(t,n=0){const s=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(s!==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),s=this.getPrimaryResumption(t,n);this.startLoadingPrimaryAt(s)}bufferedToEvent(t,n){const s=t.event,m=s.assetList.length===0&&!s.assetListLoader,w=s.cue.once;if(m||!w){const P=this.preloadAssets(s,n);if(P!=null&&P.interstitial.appendInPlace){const j=this.primaryMedia;j&&this.bufferAssetPlayer(P,j)}}}preloadAssets(t,n){const s=t.assetUrl,m=t.assetList.length,w=m===0&&!t.assetListLoader,P=t.cue.once;if(w){const q=t.timelineStart;if(t.appendInPlace){var j;const Ee=this.playingItem;!this.isInterstitial(Ee)&&(Ee==null||(j=Ee.nextEvent)==null?void 0:j.identifier)===t.identifier&&this.flushFrontBuffer(q+.25)}let G,ue=0;if(!this.playingItem&&this.primaryLive&&(ue=this.hls.startPosition,ue===-1&&(ue=this.hls.liveSyncPosition||0)),ue&&!(t.cue.pre||t.cue.post)){const Ee=ue-q;Ee>0&&(G=Math.round(Ee*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:m} ${t}${G?` live-start: ${ue} start-offset: ${G}`:""}`),s)return this.createAsset(t,0,0,q,t.duration,s);const de=this.assetListLoader.loadAssetList(t,G);de&&(t.assetListLoader=de)}else if(!P&&m){for(let G=n;G<m;G++){const ue=t.assetList[G],de=this.getAssetPlayerQueueIndex(ue.identifier);(de===-1||this.playerQueue[de].destroyed)&&!ue.error&&this.createAssetPlayer(t,ue,G)}const q=t.assetList[n];if(q){const G=this.getAssetPlayer(q.identifier);return G&&G.loadSource(),G}}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(o.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:m})})}getAssetPlayerQueueIndex(t){const n=this.playerQueue;for(let s=0;s<n.length;s++)if(t===n[s].assetId)return s;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 s=0;s<t.length;s++)if(t[s].media===n)return t[s]}return null}createAsset(t,n,s,m,w,P){const j={parentIdentifier:t.identifier,identifier:nu(t,P,n),duration:w,startOffset:s,timelineStart:m,uri:P};return this.createAssetPlayer(t,j,n)}createAssetPlayer(t,n,s){const m=this.hls,w=m.userConfig;let P=w.videoPreference;const j=m.loadLevelObj||m.levels[m.currentLevel];(P||j)&&(P=y({},P),j.videoCodec&&(P.videoCodec=j.videoCodec),j.videoRange&&(P.allowedVideoRanges=[j.videoRange]));const q=m.audioTracks[m.audioTrack],G=m.subtitleTracks[m.subtitleTrack];let ue=0;if(this.primaryLive||t.appendInPlace){const wr=this.timelinePos-n.timelineStart;if(wr>1){const zr=n.duration;zr&&wr<zr&&(ue=wr)}}const de=n.identifier,Ee=b(b({},w),{},{maxMaxBufferLength:Math.min(180,m.config.maxMaxBufferLength),autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:de,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:ue,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:P,audioPreference:q||w.audioPreference,subtitlePreference:G||w.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(Ee.timelineOffset=n.timelineStart));const Fe=Ee.cmcd;Fe!=null&&Fe.sessionId&&Fe.contentId&&(Ee.cmcd=y({},Fe,{contentId:Ys(n.uri)})),this.getAssetPlayer(de)&&this.warn(`Duplicate date range identifier ${t} and asset ${de}`);const Be=new gl(this.HlsPlayerClass,Ee,t,n);this.playerQueue.push(Be),t.assetList[s]=n;let ct=!0;const lt=wr=>{if(wr.live){var zr;const sn=new Error(`Interstitials MUST be VOD assets ${t}`),nn={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:sn},Vr=((zr=this.schedule)==null?void 0:zr.findEventIndex(t.identifier))||-1;this.handleAssetItemError(nn,t,Vr,s,sn.message);return}const hn=wr.edge-wr.fragmentStart,Zr=n.duration;(ct||Zr===null||hn>Zr)&&(ct=!1,this.log(`Interstitial asset "${de}" duration change ${Zr} > ${hn}`),n.duration=hn,this.updateSchedule())};Be.on(o.LEVEL_UPDATED,(wr,{details:zr})=>lt(zr)),Be.on(o.LEVEL_PTS_UPDATED,(wr,{details:zr})=>lt(zr)),Be.on(o.EVENT_CUE_ENTER,()=>this.onInterstitialCueEnter());const Gt=(wr,zr)=>{const hn=this.getAssetPlayer(de);if(hn&&zr.tracks){hn.off(o.BUFFER_CODECS,Gt),hn.tracks=zr.tracks;const Zr=this.primaryMedia;this.bufferingAsset===hn.assetItem&&Zr&&!hn.media&&this.bufferAssetPlayer(hn,Zr)}};Be.on(o.BUFFER_CODECS,Gt);const Jt=()=>{var wr;const zr=this.getAssetPlayer(de);if(this.log(`buffered to end of asset ${zr}`),!zr||!this.schedule)return;const hn=this.schedule.findEventIndex(t.identifier),Zr=(wr=this.schedule.items)==null?void 0:wr[hn];this.isInterstitial(Zr)&&this.advanceAssetBuffering(Zr,n)};Be.on(o.BUFFERED_TO_END,Jt);const er=wr=>()=>{if(!this.getAssetPlayer(de)||!this.schedule)return;this.shouldPlay=!0;const hn=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,hn,wr)};return Be.once(o.MEDIA_ENDED,er(s)),Be.once(o.PLAYOUT_LIMIT_REACHED,er(1/0)),Be.on(o.ERROR,(wr,zr)=>{if(!this.schedule)return;const hn=this.getAssetPlayer(de);if(zr.details===f.BUFFER_STALLED_ERROR){if(hn!=null&&hn.appendInPlace){this.handleInPlaceStall(t);return}this.onTimeupdate(),this.checkBuffer(!0);return}this.handleAssetItemError(zr,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${zr.error} ${t}`)}),Be.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(de)||!this.schedule)return;const zr=new Error(`Asset player destroyed unexpectedly ${de}`),hn={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:zr};this.handleAssetItemError(hn,t,this.schedule.findEventIndex(t.identifier),s,zr.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${Pl(n)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:Be}),Be}clearInterstitial(t,n){t.assetList.forEach(s=>{this.clearAssetPlayer(s.identifier,n)}),t.reset()}resetAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);if(n!==-1){this.log(`reset asset player "${t}" after error`);const s=this.playerQueue[n];this.transferMediaFromPlayer(s,null),s.resetDetails()}}clearAssetPlayer(t,n){const s=this.getAssetPlayerQueueIndex(t);if(s!==-1){const m=this.playerQueue[s];this.log(`clear ${m} toSegment: ${n&&Su(n)}`),this.transferMediaFromPlayer(m,n),this.playerQueue.splice(s,1),m.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,s,m,w){const{interstitial:P,assetItem:j,assetId:q}=t,G=P.assetList.length,ue=this.playingAsset;this.endedAsset=null,this.playingAsset=j,(!ue||ue.identifier!==q)&&(ue&&(this.clearAssetPlayer(ue.identifier,s[m]),delete ue.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${G} ${Pl(j)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:j,assetListIndex:n,event:P,schedule:s.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,w)}bufferAssetPlayer(t,n){var s,m;if(!this.schedule)return;const{interstitial:w,assetItem:P}=t,j=this.schedule.findEventIndex(w.identifier),q=(s=this.schedule.items)==null?void 0:s[j];if(!q)return;t.loadSource(),this.setBufferingItem(q),this.bufferingAsset=P;const G=this.getBufferingPlayer();if(G===t)return;const ue=w.appendInPlace;if(ue&&(G==null?void 0:G.interstitial.appendInPlace)===!1)return;const de=(G==null?void 0:G.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(ue&&P!==this.playingAsset){if(!t.tracks){this.log(`Waiting for track info before buffering ${t}`);return}if(de&&!oe(de,t.tracks)){const Ee=new Error(`Asset ${Pl(P)} SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(de)}')`),Fe={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Ee},Be=w.findAssetIndex(P);this.handleAssetItemError(Fe,w,j,Be,Ee.message);return}}this.transferMediaTo(t,n)}handleInPlaceStall(t){const n=this.schedule,s=this.primaryMedia;if(!n||!s)return;const m=s.currentTime,w=n.findAssetIndex(t,m),P=t.assetList[w];if(P){const j=this.getAssetPlayer(P.identifier);if(j){const q=j.currentTime||m-P.timelineStart,G=j.duration-q;if(this.warn(`Stalled at ${q} of ${q+G} in ${j} ${t} (media.currentTime: ${m})`),q&&(G/s.playbackRate<.5||j.bufferedInPlaceToEnd(s))&&j.hls){const ue=n.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,ue,w)}}}}advanceInPlace(t){const n=this.primaryMedia;n&&n.currentTime<t&&(n.currentTime=t)}handleAssetItemError(t,n,s,m,w){if(t.details===f.BUFFER_STALLED_ERROR)return;const P=n.assetList[m]||null;if(this.warn(`INTERSTITIAL_ASSET_ERROR ${P&&Pl(P)} ${t.error}`),!this.schedule)return;const j=(P==null?void 0:P.identifier)||"",q=this.getAssetPlayerQueueIndex(j),G=this.playerQueue[q]||null,ue=this.schedule.items,de=y({},t,{fatal:!1,errorAction:dn(!0),asset:P,assetListIndex:m,event:n,schedule:ue,scheduleIndex:s,player:G});if(this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,de),!t.fatal)return;const Ee=this.playingAsset,Fe=this.bufferingAsset,Be=new Error(w);if(P&&(this.clearAssetPlayer(j,null),P.error=Be),!n.assetList.some(ct=>!ct.error))n.error=Be;else for(let ct=m;ct<n.assetList.length;ct++)this.resetAssetPlayer(n.assetList[ct].identifier);this.updateSchedule(!0),n.error?this.primaryFallback(n):Ee&&Ee.identifier===j?this.advanceAfterAssetEnded(n,s,m):Fe&&Fe.identifier===j&&this.isInterstitial(this.bufferingItem)&&this.advanceAssetBuffering(this.bufferingItem,Fe)}primaryFallback(t){const n=t.timelineStart,s=this.effectivePlayingItem;if(s){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${Su(s)} error: ${t.error}`);let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const w=this.updateItem(s,m);if(this.itemsMatch(s,w)&&this.clearInterstitial(t,null),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n)),!this.schedule)return;const P=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(P)}else this.checkStart()}onAssetListLoaded(t,n){var s,m;const w=n.event,P=w.identifier,j=n.assetListResponse.ASSETS;if(!((s=this.schedule)!=null&&s.hasEvent(P)))return;const q=w.timelineStart,G=w.duration;let ue=0;j.forEach((ct,lt)=>{const Gt=parseFloat(ct.DURATION);this.createAsset(w,lt,ue,q+ue,Gt,ct.URI),ue+=Gt}),w.duration=ue,this.log(`Loaded asset-list with duration: ${ue} (was: ${G}) ${w}`);const de=this.waitingItem,Ee=(de==null?void 0:de.event.identifier)===P;this.updateSchedule();const Fe=(m=this.bufferingItem)==null?void 0:m.event;if(Ee){var Be;const ct=this.schedule.findEventIndex(P),lt=(Be=this.schedule.items)==null?void 0:Be[ct];if(lt){if(!this.playingItem&&this.timelinePos>lt.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==ct){w.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${w}`),this.updateSchedule(!0),this.primaryFallback(w);return}this.setBufferingItem(lt)}this.setSchedulePosition(ct)}else if((Fe==null?void 0:Fe.identifier)===P){const ct=w.assetList[0];if(ct){const lt=this.getAssetPlayer(ct.identifier);if(Fe.appendInPlace){const Gt=this.primaryMedia;lt&&Gt&&this.bufferAssetPlayer(lt,Gt)}else lt&<.loadSource()}}}onError(t,n){if(this.schedule)switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const s=n.interstitial;s&&(this.updateSchedule(!0),this.primaryFallback(s));break}case f.BUFFER_STALLED_ERROR:{const s=this.endedItem||this.waitingItem||this.playingItem;if(this.isInterstitial(s)&&s.event.appendInPlace){this.handleInPlaceStall(s.event);return}this.log(`Primary player stall @${this.timelinePos} bufferedPos: ${this.bufferedPos}`),this.onTimeupdate(),this.checkBuffer(!0);break}}}}const _u=500;class Il extends Lt{constructor(t,n,s){super(t,n,s,"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(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.on(o.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_LOADED,this.onSubtitleTrackLoaded,this),t.off(o.SUBTITLE_FRAG_PROCESSED,this.onSubtitleFragProcessed,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}startLoad(t,n){this.stopLoad(),this.state=Re.IDLE,this.setInterval(_u),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:s,success:m}=n;if(this.fragContextChanged(s)||(Ie(s)&&(this.fragPrevious=s),this.state=Re.IDLE),!m)return;const w=this.tracksBuffered[this.currentTrackId];if(!w)return;let P;const j=s.start;for(let G=0;G<w.length;G++)if(j>=w[G].start&&j<=w[G].end){P=w[G];break}const q=s.start+s.duration;P?P.end=q:(P={start:j,end:q},w.push(P)),this.fragmentTracker.fragBuffered(s),this.fragBufferedComplete(s,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:s,endOffset:m}=n;if(s===0&&m!==Number.POSITIVE_INFINITY){const w=m-1;if(w<=0)return;n.endOffsetSubtitles=Math.max(0,w),this.tracksBuffered.forEach(P=>{for(let j=0;j<P.length;){if(P[j].end<=w){P.shift();continue}else if(P[j].start<w)P[j].start=w;else break;j++}}),this.fragmentTracker.removeFragmentsInRange(s,w,u.SUBTITLE)}}onError(t,n){const s=n.frag;(s==null?void 0:s.type)===u.SUBTITLE&&(n.details===f.FRAG_GAP&&this.fragmentTracker.fragBuffered(s,!0),this.fragCurrent&&this.fragCurrent.abortRequests(),this.state!==Re.STOPPED&&(this.state=Re.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&ff(this.levels,n)){this.levels=n.map(s=>new Vi(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const m=new Vi(s);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 s;if(this.currentTrackId=n.id,!((s=this.levels)!=null&&s.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!==Re.STOPPED&&this.setInterval(_u)}onSubtitleTrackLoaded(t,n){var s;const{currentTrackId:m,levels:w}=this,{details:P,id:j}=n;if(!w){this.warn(`Subtitle tracks were reset while loading level ${j}`);return}const q=w[j];if(j>=w.length||!q)return;this.log(`Subtitle track ${j} loaded [${P.startSN},${P.endSN}]${P.lastPartSn?`[part-${P.lastPartSn}-${P.lastPartIndex}]`:""},duration:${P.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let G=0;if(P.live||(s=q.details)!=null&&s.live){if(P.deltaUpdateFailed)return;const de=this.mainDetails;if(!de){this.startFragRequested=!1;return}const Ee=de.fragments[0];if(!q.details)P.hasProgramDateTime&&de.hasProgramDateTime?(An(P,de),G=P.fragmentStart):Ee&&(G=Ee.start,ia(P,G));else{var ue;G=this.alignPlaylists(P,q.details,(ue=this.levelLastLoaded)==null?void 0:ue.details),G===0&&Ee&&(G=Ee.start,ia(P,G))}de&&!this.startFragRequested&&this.setStartPosition(de,G)}q.details=P,this.levelLastLoaded=q,j===m&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:P,id:j,groupId:n.groupId}),this.tick(),P.live&&!this.fragCurrent&&this.media&&this.state===Re.IDLE&&(sr(null,P.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),q.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:s}=t,m=n.decryptdata,w=this.hls;if(!this.fragContextChanged(n)&&s&&s.byteLength>0&&m!=null&&m.key&&m.iv&&Ro(m.method)){const P=performance.now();this.decrypter.decrypt(new Uint8Array(s),m.key.buffer,m.iv.buffer,Zo(m.method)).catch(j=>{throw w.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:j,reason:j.message,frag:n}),j}).then(j=>{const q=performance.now();w.trigger(o.FRAG_DECRYPTED,{frag:n,payload:j,stats:{tstart:P,tdecrypt:q}})}).catch(j=>{this.warn(`${j.name}: ${j.message}`),this.state=Re.IDLE})}}doTick(){if(!this.media){this.state=Re.IDLE;return}if(this.state===Re.IDLE){const{currentTrackId:t,levels:n}=this,s=n==null?void 0:n[t];if(!s||!n.length||!s.details||this.waitForLive(s))return;const{config:m}=this,w=this.getLoadPosition(),P=ci.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],w,m.maxBufferHole),{end:j,len:q}=P,G=s.details,ue=this.hls.maxBufferLength+G.levelTargetDuration;if(q>ue)return;const de=G.fragments,Ee=de.length,Fe=G.edge;let Be=null;const ct=this.fragPrevious;if(j<Fe){const Jt=m.maxFragLookUpTolerance,er=j>Fe-Jt?0:Jt;Be=sr(ct,de,Math.max(de[0].start,j),er),!Be&&ct&&ct.start<de[0].start&&(Be=de[0])}else Be=de[Ee-1];if(Be=this.filterReplacedPrimary(Be,s.details),!Be)return;const lt=Be.sn-G.startSN,Gt=de[lt-1];if(Gt&&Gt.cc===Be.cc&&this.fragmentTracker.getState(Gt)===mn.NOT_LOADED&&(Be=Gt),this.fragmentTracker.getState(Be)===mn.NOT_LOADED){const Jt=this.mapToInitFragWhenRequired(Be);Jt&&this.loadFragment(Jt,s,j)}}}loadFragment(t,n,s){Ie(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new ic(this.tracksBuffered[this.currentTrackId]||[])}}class ic{constructor(t){this.buffered=void 0;const n=(s,m,w)=>{if(m=m>>>0,m>w-1)throw new DOMException(`Failed to execute '${s}' on 'TimeRanges': The index provided (${m}) is greater than the maximum bound (${w})`);return t[m][s]};this.buffered={get length(){return t.length},end(s){return n("end",s,t.length)},start(s){return n("start",s,t.length)}}}}const Mc={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},Uu=O=>String.fromCharCode(Mc[O]||O),Au=15,Tu=100,kn={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},ri={17:2,18:4,21:6,22:8,23:10,19:13,20:15},ea={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Na={25:2,26:4,29:6,30:8,31:10,27:13,28:15},ca=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Ca{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;H.log(`${this.time} [${t}] ${s}`)}}}const xa=function(t){const n=[];for(let s=0;s<t.length;s++)n.push(t[s].toString(16));return n};class Ms{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 s=0;s<n.length;s++){const m=n[s];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 fa{constructor(){this.uchar=" ",this.penState=new Ms}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 $s{constructor(t){this.chars=[],this.pos=0,this.currPenState=new Ms,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<Tu;n++)this.chars.push(new fa);this.logger=t}equals(t){for(let n=0;n<Tu;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<Tu;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<Tu;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>Tu&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Tu)}moveCursor(t){const n=this.pos+t;if(t>1)for(let s=this.pos+1;s<n+1;s++)this.chars[s].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=Uu(t);if(this.pos>=Tu){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<Tu;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 s=0;s<Tu;s++){const m=this.chars[s].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 Xu{constructor(t){this.rows=[],this.currRow=Au-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<Au;n++)this.rows.push(new $s(t));this.logger=t}reset(){for(let t=0;t<Au;t++)this.rows[t].clear();this.currRow=Au-1}equals(t){let n=!0;for(let s=0;s<Au;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<Au;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<Au;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 = "+Ai(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let j=0;j<Au;j++)this.rows[j].clear();const w=this.currRow+1-this.nrRollUpRows,P=this.lastOutputScreen;if(P){const j=P.rows[w].cueStartTime,q=this.logger.time;if(j!==null&&q!==null&&j<q)for(let G=0;G<this.nrRollUpRows;G++)this.rows[n-this.nrRollUpRows+G+1].copy(P.rows[w+G])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const w=t.indent,P=Math.max(w-1,0);s.setCursor(t.indent),t.color=s.chars[P].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 = "+Ai(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 s="",m=-1;for(let w=0;w<Au;w++){const P=this.rows[w].getTextString();P&&(m=w+1,t?n.push("Row "+m+": '"+P+"'"):n.push(P.trim()))}return n.length>0&&(t?s="["+n.join(" | ")+"]":s=n.join(`
|
|
|
`)),s}getTextAndFormat(){return this.rows}}class al{constructor(t,n,s){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 Xu(s),this.nonDisplayedMemory=new Xu(s),this.lastOutputScreen=new Xu(s),this.currRollUpRow=this.displayedMemory.rows[Au-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.logger=s}reset(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.outputFilter.reset(),this.currRollUpRow=this.displayedMemory.rows[Au-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 s=0;s<t.length;s++)this.writeScreen.insertChar(t[s]);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 s=Math.floor(t/2)-16,m=["white","green","blue","cyan","red","yellow","magenta"];n.foreground=m[s]}this.logger.log(2,"MIDROW: "+Ai(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 bl{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=Kf(),this.logger=void 0;const m=this.logger=new Ca;this.channels=[null,new al(t,n,m),new al(t+1,s,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 s=0;s<n.length;s+=2){const m=n[s]&127,w=n[s+1]&127;let P=!1,j=null;if(m===0&&w===0)continue;this.logger.log(3,()=>"["+xa([n[s],n[s+1]])+"] -> ("+xa([m,w])+")");const q=this.cmdHistory;if(m>=16&&m<=31){if(jl(m,w,q)){Qu(null,null,q),this.logger.log(3,()=>"Repeated command ("+xa([m,w])+") is dropped");continue}Qu(m,w,this.cmdHistory),P=this.parseCmd(m,w),P||(P=this.parseMidrow(m,w)),P||(P=this.parsePAC(m,w)),P||(P=this.parseBackgroundAttributes(m,w))}else Qu(null,null,q);if(!P&&(j=this.parseChars(m,w),j)){const ue=this.currentChannel;ue&&ue>0?this.channels[ue].insertChars(j):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!P&&!j&&this.logger.log(2,()=>"Couldn't parse cleaned data "+xa([m,w])+" orig: "+xa([n[s],n[s+1]]))}}parseCmd(t,n){const s=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=33&&n<=35;if(!(s||m))return!1;const w=t===20||t===21||t===23?1:2,P=this.channels[w];return t===20||t===21||t===28||t===29?n===32?P.ccRCL():n===33?P.ccBS():n===34?P.ccAOF():n===35?P.ccAON():n===36?P.ccDER():n===37?P.ccRU(2):n===38?P.ccRU(3):n===39?P.ccRU(4):n===40?P.ccFON():n===41?P.ccRDC():n===42?P.ccTR():n===43?P.ccRTD():n===44?P.ccEDM():n===45?P.ccCR():n===46?P.ccENM():n===47&&P.ccEOC():P.ccTO(n-32),this.currentChannel=w,!0}parseMidrow(t,n){let s=0;if((t===17||t===25)&&n>=32&&n<=47){if(t===17?s=1:s=2,s!==this.currentChannel)return this.logger.log(0,"Mismatch channel in midrow parsing"),!1;const m=this.channels[s];return m?(m.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+xa([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let s;const m=(t>=17&&t<=23||t>=25&&t<=31)&&n>=64&&n<=127,w=(t===16||t===24)&&n>=64&&n<=95;if(!(m||w))return!1;const P=t<=23?1:2;n>=64&&n<=95?s=P===1?kn[t]:ea[t]:s=P===1?ri[t]:Na[t];const j=this.channels[P];return j?(j.setPAC(this.interpretPAC(s,n)),this.currentChannel=P,!0):!1}interpretPAC(t,n){let s;const m={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?s=n-96:s=n-64,m.underline=(s&1)===1,s<=13?m.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(s/2)]:s<=15?(m.italics=!0,m.color="white"):m.indent=Math.floor((s-16)/2)*4,m}parseChars(t,n){let s,m=null,w=null;if(t>=25?(s=2,w=t-8):(s=1,w=t),w>=17&&w<=19){let P;w===17?P=n+80:w===18?P=n+112:P=n+144,this.logger.log(2,()=>"Special char '"+Uu(P)+"' in channel "+s),m=[P]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+xa(m).join(",")),m}parseBackgroundAttributes(t,n){const s=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(s||m))return!1;let w;const P={};t===16||t===24?(w=Math.floor((n-32)/2),P.background=ca[w],n%2===1&&(P.background=P.background+"_semi")):n===45?P.background="transparent":(P.foreground="black",n===47&&(P.underline=!0));const j=t<=23?1:2;return this.channels[j].setBkgData(P),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Qu(null,null,this.cmdHistory)}cueSplitAtTime(t){for(let n=0;n<this.channels.length;n++){const s=this.channels[n];s&&s.cueSplitAtTime(t)}}}function Qu(O,t,n){n.a=O,n.b=t}function jl(O,t,n){return n.a===O&&n.b===t}function Kf(){return{a:null,b:null}}var wf=function(){if(Ka!=null&&Ka.VTTCue)return self.VTTCue;const O=["","lr","rl"],t=["start","middle","end","left","right"];function n(j,q){if(typeof q!="string"||!Array.isArray(j))return!1;const G=q.toLowerCase();return~j.indexOf(G)?G:!1}function s(j){return n(O,j)}function m(j){return n(t,j)}function w(j,...q){let G=1;for(;G<arguments.length;G++){const ue=arguments[G];for(const de in ue)j[de]=ue[de]}return j}function P(j,q,G){const ue=this,de={enumerable:!0};ue.hasBeenReset=!1;let Ee="",Fe=!1,Be=j,ct=q,lt=G,Gt=null,Jt="",er=!0,wr="auto",zr="start",hn=50,Zr="middle",sn=50,nn="middle";Object.defineProperty(ue,"id",w({},de,{get:function(){return Ee},set:function(Vr){Ee=""+Vr}})),Object.defineProperty(ue,"pauseOnExit",w({},de,{get:function(){return Fe},set:function(Vr){Fe=!!Vr}})),Object.defineProperty(ue,"startTime",w({},de,{get:function(){return Be},set:function(Vr){if(typeof Vr!="number")throw new TypeError("Start time must be set to a number.");Be=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"endTime",w({},de,{get:function(){return ct},set:function(Vr){if(typeof Vr!="number")throw new TypeError("End time must be set to a number.");ct=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"text",w({},de,{get:function(){return lt},set:function(Vr){lt=""+Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"region",w({},de,{get:function(){return Gt},set:function(Vr){Gt=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"vertical",w({},de,{get:function(){return Jt},set:function(Vr){const In=s(Vr);if(In===!1)throw new SyntaxError("An invalid or illegal string was specified.");Jt=In,this.hasBeenReset=!0}})),Object.defineProperty(ue,"snapToLines",w({},de,{get:function(){return er},set:function(Vr){er=!!Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"line",w({},de,{get:function(){return wr},set:function(Vr){if(typeof Vr!="number"&&Vr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");wr=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"lineAlign",w({},de,{get:function(){return zr},set:function(Vr){const In=m(Vr);if(!In)throw new SyntaxError("An invalid or illegal string was specified.");zr=In,this.hasBeenReset=!0}})),Object.defineProperty(ue,"position",w({},de,{get:function(){return hn},set:function(Vr){if(Vr<0||Vr>100)throw new Error("Position must be between 0 and 100.");hn=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"positionAlign",w({},de,{get:function(){return Zr},set:function(Vr){const In=m(Vr);if(!In)throw new SyntaxError("An invalid or illegal string was specified.");Zr=In,this.hasBeenReset=!0}})),Object.defineProperty(ue,"size",w({},de,{get:function(){return sn},set:function(Vr){if(Vr<0||Vr>100)throw new Error("Size must be between 0 and 100.");sn=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"align",w({},de,{get:function(){return nn},set:function(Vr){const In=m(Vr);if(!In)throw new SyntaxError("An invalid or illegal string was specified.");nn=In,this.hasBeenReset=!0}})),ue.displayState=void 0}return P.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},P}();class ac{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function Lf(O){function t(s,m,w,P){return(s|0)*3600+(m|0)*60+(w|0)+parseFloat(P||0)}const n=O.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 ef{constructor(){this.values=Object.create(null)}set(t,n){!this.get(t)&&n!==""&&(this.values[t]=n)}get(t,n,s){return s?this.has(t)?this.values[t]:n[s]:this.has(t)?this.values[t]:n}has(t){return t in this.values}alt(t,n,s){for(let m=0;m<s.length;++m)if(n===s[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 s=parseFloat(n);if(s>=0&&s<=100)return this.set(t,s),!0}return!1}}function tf(O,t,n,s){const m=s?O.split(s):[O];for(const w in m){if(typeof m[w]!="string")continue;const P=m[w].split(n);if(P.length!==2)continue;const j=P[0],q=P[1];t(j,q)}}const rf=new wf(0,0,""),Ju=rf.align==="middle"?"middle":"center";function Vf(O,t,n){const s=O;function m(){const j=Lf(O);if(j===null)throw new Error("Malformed timestamp: "+s);return O=O.replace(/^[^\sa-zA-Z-]+/,""),j}function w(j,q){const G=new ef;tf(j,function(Ee,Fe){let Be;switch(Ee){case"region":for(let ct=n.length-1;ct>=0;ct--)if(n[ct].id===Fe){G.set(Ee,n[ct].region);break}break;case"vertical":G.alt(Ee,Fe,["rl","lr"]);break;case"line":Be=Fe.split(","),G.integer(Ee,Be[0]),G.percent(Ee,Be[0])&&G.set("snapToLines",!1),G.alt(Ee,Be[0],["auto"]),Be.length===2&&G.alt("lineAlign",Be[1],["start",Ju,"end"]);break;case"position":Be=Fe.split(","),G.percent(Ee,Be[0]),Be.length===2&&G.alt("positionAlign",Be[1],["start",Ju,"end","line-left","line-right","auto"]);break;case"size":G.percent(Ee,Fe);break;case"align":G.alt(Ee,Fe,["start",Ju,"end","left","right"]);break}},/:/,/\s/),q.region=G.get("region",null),q.vertical=G.get("vertical","");let ue=G.get("line","auto");ue==="auto"&&rf.line===-1&&(ue=-1),q.line=ue,q.lineAlign=G.get("lineAlign","start"),q.snapToLines=G.get("snapToLines",!0),q.size=G.get("size",100),q.align=G.get("align",Ju);let de=G.get("position","auto");de==="auto"&&rf.position===50&&(de=q.align==="start"||q.align==="left"?0:q.align==="end"||q.align==="right"?100:50),q.position=de}function P(){O=O.replace(/^\s+/,"")}if(P(),t.startTime=m(),P(),O.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);O=O.slice(3),P(),t.endTime=m(),P(),w(O,t)}function sl(O){return O.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class nf{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new ac,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 s(){let w=n.buffer,P=0;for(w=sl(w);P<w.length&&w[P]!=="\r"&&w[P]!==`
|
|
|
`;)++P;const j=w.slice(0,P);return w[P]==="\r"&&++P,w[P]===`
|
|
|
`&&++P,n.buffer=w.slice(P),j}function m(w){tf(w,function(P,j){},/:/)}try{let w="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;w=s();const j=w.match(/^()?WEBVTT([ \t].*)?$/);if(!(j!=null&&j[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let P=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(P?P=!1:w=s(),n.state){case"HEADER":/:/.test(w)?m(w):w||(n.state="ID");continue;case"NOTE":w||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(w)){n.state="NOTE";break}if(!w)continue;if(n.cue=new wf(0,0,""),n.state="CUE",w.indexOf("-->")===-1){n.cue.id=w;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{Vf(w,n.cue,n.regionList)}catch(j){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const j=w.indexOf("-->")!==-1;if(!w||j&&(P=!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+=w}continue;case"BADCUE":w||(n.state="ID")}}}catch(w){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 Mf=/\r\n|\n\r|\n|\r/g,iu=function(t,n,s=0){return t.slice(s,s+n.length)===n},Ef=function(t){let n=parseInt(t.slice(-3));const s=parseInt(t.slice(-6,-4)),m=parseInt(t.slice(-9,-7)),w=t.length>9?parseInt(t.substring(0,t.indexOf(":"))):0;if(!r(n)||!r(s)||!r(m)||!r(w))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${t}`);return n+=1e3*s,n+=60*1e3*m,n+=60*60*1e3*w,n};function af(O,t,n){return Ys(O.toString())+Ys(t.toString())+Ys(n)}const Dl=function(t,n,s){let m=t[n],w=t[m.prevCC];if(!w||!w.new&&m.new){t.ccOffset=t.presentationOffset=m.start,m.new=!1;return}for(;(P=w)!=null&&P.new;){var P;t.ccOffset+=m.start-w.start,m.new=!1,m=w,w=t[m.prevCC]}t.presentationOffset=s};function Fc(O,t,n,s,m,w,P){const j=new nf,q=J(new Uint8Array(O)).trim().replace(Mf,`
|
|
|
`).split(`
|
|
|
`),G=[],ue=t?Ko(t.baseTime,t.timescale):0;let de="00:00.000",Ee=0,Fe=0,Be,ct=!0;j.oncue=function(lt){const Gt=n[s];let Jt=n.ccOffset;const er=(Ee-ue)/9e4;if(Gt!=null&&Gt.new&&(Fe!==void 0?Jt=n.ccOffset=Gt.start:Dl(n,s,er)),er){if(!t){Be=new Error("Missing initPTS for VTT MPEGTS");return}Jt=er-n.presentationOffset}const wr=lt.endTime-lt.startTime,zr=zs((lt.startTime+Jt-Fe)*9e4,m*9e4)/9e4;lt.startTime=Math.max(zr,0),lt.endTime=Math.max(zr+wr,0);const hn=lt.text.trim();lt.text=decodeURIComponent(encodeURIComponent(hn)),lt.id||(lt.id=af(lt.startTime,lt.endTime,hn)),lt.endTime>0&&G.push(lt)},j.onparsingerror=function(lt){Be=lt},j.onflush=function(){if(Be){P(Be);return}w(G)},q.forEach(lt=>{if(ct)if(iu(lt,"X-TIMESTAMP-MAP=")){ct=!1,lt.slice(16).split(",").forEach(Gt=>{iu(Gt,"LOCAL:")?de=Gt.slice(6):iu(Gt,"MPEGTS:")&&(Ee=parseInt(Gt.slice(7)))});try{Fe=Ef(de)/1e3}catch(Gt){Be=Gt}return}else lt===""&&(ct=!1);j.parse(lt+`
|
|
|
`)}),j.flush()}const au="stpp.ttml.im1t",Sf=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Af=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,sf={left:"start",center:"center",right:"end",start:"start",end:"end"};function Bc(O,t,n,s){const m=xt(new Uint8Array(O),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const w=m.map(j=>J(j)),P=bu(t.baseTime,1,t.timescale);try{w.forEach(j=>n(Ff(j,P)))}catch(j){s(j)}}function Ff(O,t){const m=new DOMParser().parseFromString(O,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const w={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},P=Object.keys(w).reduce((de,Ee)=>(de[Ee]=m.getAttribute(`ttp:${Ee}`)||w[Ee],de),{}),j=m.getAttribute("xml:space")!=="preserve",q=zf(Nc(m,"styling","style")),G=zf(Nc(m,"layout","region")),ue=Nc(m,"body","[begin]");return[].map.call(ue,de=>{const Ee=Yf(de,j);if(!Ee||!de.hasAttribute("begin"))return null;const Fe=of(de.getAttribute("begin"),P),Be=of(de.getAttribute("dur"),P);let ct=of(de.getAttribute("end"),P);if(Fe===null)throw Zf(de);if(ct===null){if(Be===null)throw Zf(de);ct=Fe+Be}const lt=new wf(Fe-t,ct-t,Ee);lt.id=af(lt.startTime,lt.endTime,lt.text);const Gt=G[de.getAttribute("region")],Jt=q[de.getAttribute("style")],er=Bf(Gt,Jt,q),{textAlign:wr}=er;if(wr){const zr=sf[wr];zr&&(lt.lineAlign=zr),lt.align=wr}return y(lt,er),lt}).filter(de=>de!==null)}function Nc(O,t,n){const s=O.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function zf(O){return O.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Yf(O,t){return[].slice.call(O.childNodes).reduce((n,s,m)=>{var w;return s.nodeName==="br"&&m?n+`
|
|
|
`:(w=s.childNodes)!=null&&w.length?Yf(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Bf(O,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const w=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],P=O!=null&&O.hasAttribute("style")?O.getAttribute("style"):null;return P&&n.hasOwnProperty(P)&&(m=n[P]),w.reduce((j,q)=>{const G=qf(t,s,q)||qf(O,s,q)||qf(m,s,q);return G&&(j[q]=G),j},{})}function qf(O,t,n){return O&&O.hasAttributeNS(t,n)?O.getAttributeNS(t,n):null}function Zf(O){return new Error(`Could not parse ttml timestamp ${O}`)}function of(O,t){if(!O)return null;let n=Lf(O);return n===null&&(Sf.test(O)?n=id(O,t):Af.test(O)&&(n=Hf(O,t))),n}function id(O,t){const n=Sf.exec(O),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function Hf(O,t){const n=Af.exec(O),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class Nf{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,s){(this.startTime===null||this.startTime>t)&&(this.startTime=t),this.endTime=n,this.screen=s,this.timelineController.createCaptionsTrack(this.trackName)}reset(){this.cueRanges=[],this.startTime=null}}class ad{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=g(),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(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.on(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.on(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.on(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this)}destroy(){const{hls:t}=this;t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.SUBTITLE_TRACKS_UPDATED,this.onSubtitleTracksUpdated,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_PARSING_USERDATA,this.onFragParsingUserdata,this),t.off(o.FRAG_DECRYPTED,this.onFragDecrypted,this),t.off(o.INIT_PTS_FOUND,this.onInitPtsFound,this),t.off(o.SUBTITLE_TRACKS_CLEARED,this.onSubtitleTracksCleared,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),this.hls=this.config=this.media=null,this.cea608Parser1=this.cea608Parser2=void 0}initCea608Parsers(){const t=new Nf(this,"textTrack1"),n=new Nf(this,"textTrack2"),s=new Nf(this,"textTrack3"),m=new Nf(this,"textTrack4");this.cea608Parser1=new bl(1,t,n),this.cea608Parser2=new bl(3,s,m)}addCues(t,n,s,m,w){let P=!1;for(let j=w.length;j--;){const q=w[j],G=Wf(q[0],q[1],n,s);if(G>=0&&(q[0]=Math.min(q[0],n),q[1]=Math.max(q[1],s),P=!0,G/(s-n)>.5))return}if(P||w.push([n,s]),this.config.renderTextTracksNatively){const j=this.captionsTracks[t];this.Cues.newCue(j,n,s,m)}else{const j=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:j,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:w,trackId:P}){const{unparsedVttFrags:j}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:w,trackId:P}),j.length&&(this.unparsedVttFrags=[],j.forEach(q=>{this.initPTS[q.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,q):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:q.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m<s.textTracks.length;m++){const w=s.textTracks[m];if(Jf(w,{name:t,lang:n,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return w}return null}createCaptionsTrack(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)}createNativeTrack(t){if(this.captionsTracks[t])return;const{captionsProperties:n,captionsTracks:s,media:m}=this,{label:w,languageCode:P}=n[t],j=this.getExistingTrack(w,P);if(j)s[t]=j,me(s[t]),D(s[t],m);else{const q=this.createTextTrack("captions",w,P);q&&(q[t]=!0,s[t]=q)}}createNonNativeTrack(t){if(this.nonNativeCaptionsTracks[t])return;const n=this.captionsProperties[t];if(!n)return;const s=n.label,m={_id:t,label:s,kind:"captions",default:n.media?!!n.media.default:!1,closedCaptions:n.media};this.nonNativeCaptionsTracks[t]=m,this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[m]})}createTextTrack(t,n,s){const m=this.media;if(m)return m.addTextTrack(t,n,s)}onMediaAttaching(t,n){this.media=n.media,n.mediaSource||this._cleanTracks()}onMediaDetaching(t,n){const s=!!n.transferMedia;if(this.media=null,s)return;const{captionsTracks:m}=this;Object.keys(m).forEach(w=>{me(m[w]),delete m[w]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=g(),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 s=0;s<n.length;s++)me(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],m=s.some(w=>w.textCodec===au);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(ff(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const P=this.media,j=P?la(P.textTracks):null;if(this.tracks.forEach((q,G)=>{let ue;if(j){let de=null;for(let Ee=0;Ee<j.length;Ee++)if(j[Ee]&&Jf(j[Ee],q)){de=j[Ee],j[Ee]=null;break}de&&(ue=de)}if(ue)me(ue);else{const de=Tf(q);ue=this.createTextTrack(de,q.name,q.lang),ue&&(ue.mode="disabled")}ue&&this.textTracks.push(ue)}),j!=null&&j.length){const q=j.filter(G=>G!==null).map(G=>G.label);q.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${q.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const P=this.tracks.map(j=>({label:j.name,kind:j.type.toLowerCase(),default:j.default,subtitleTrack:j}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:P})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const m=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!m)return;const w=`textTrack${m[1]}`,P=this.captionsProperties[w];P&&(P.label=s.name,s.lang&&(P.languageCode=s.lang),P.media=s)})}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 s,m;const{cea608Parser1:w,cea608Parser2:P,lastSn:j}=this,{cc:q,sn:G}=n.frag,ue=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;w&&P&&(G!==j+1||G===j&&ue!==this.lastPartIndex+1||q!==this.lastCc)&&(w.reset(),P.reset()),this.lastCc=q,this.lastSn=G,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const w=s.decryptdata,P="stats"in n;if(w==null||!w.encrypted||P){const j=this.tracks[s.level],q=this.vttCCs;q[s.cc]||(q[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),j&&j.textCodec===au?this._parseIMSC1(s,m):this._parseVTTs(n)}}else this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:new Error("Empty subtitle payload")})}_parseIMSC1(t,n){const s=this.hls;Bc(n,this.initPTS[t.cc],m=>{this._appendCues(m,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},m=>{s.logger.log(`Failed to parse IMSC1: ${m}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:m})})}_parseVTTs(t){var n;const{frag:s,payload:m}=t,{initPTS:w,unparsedVttFrags:P}=this,j=w.length-1;if(!w[s.cc]&&j===-1){P.push(t);return}const q=this.hls,G=(n=s.initSegment)!=null&&n.data?Wt(s.initSegment.data,new Uint8Array(m)).buffer:m;Fc(G,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),q.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const de=ue.message==="Missing initPTS for VTT MPEGTS";de?P.push(t):this._fallbackToIMSC1(s,m),q.logger.log(`Failed to parse VTT cue: ${ue}`),!(de&&j>s.cc)&&q.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||Bc(n,this.initPTS[t.cc],()=>{s.textCodec=au,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const m=this.textTracks[n];if(!m||m.mode==="disabled")return;t.forEach(w=>L(m,w))}else{const m=this.tracks[n];if(!m)return;const w=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:w})}}onFragDecrypted(t,n){const{frag:s}=n;s.type===u.SUBTITLE&&this.onFragLoaded(o.FRAG_LOADED,n)}onSubtitleTracksCleared(){this.tracks=[],this.captionsTracks={}}onFragParsingUserdata(t,n){if(!this.enabled||!this.config.enableCEA708Captions)return;const{frag:s,samples:m}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let w=0;w<m.length;w++){const P=m[w].bytes;if(P){this.cea608Parser1||this.initCea608Parsers();const j=this.extractCea608Data(P);this.cea608Parser1.addData(m[w].pts,j[0]),this.cea608Parser2.addData(m[w].pts,j[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:s,endOffsetSubtitles:m,type:w}){const{media:P}=this;if(!(!P||P.currentTime<s)){if(!w||w==="video"){const{captionsTracks:j}=this;Object.keys(j).forEach(q=>ze(j[q],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:j}=this;Object.keys(j).forEach(q=>ze(j[q],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let w=0;w<s;w++){const P=t[m++],j=127&t[m++],q=127&t[m++];if(j===0&&q===0)continue;if((4&P)!==0){const ue=3&P;(ue===0||ue===1)&&(n[ue].push(j),n[ue].push(q))}}return n}}function Tf(O){return O.characteristics&&/transcribes-spoken-dialog/gi.test(O.characteristics)&&/describes-music-and-sound/gi.test(O.characteristics)?"captions":"subtitles"}function Jf(O,t){return!!O&&O.kind===Tf(t)&&hc(t,O)}function Wf(O,t,n,s){return Math.min(t,s)-Math.max(O,n)}function g(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const T=/\s/,U={newCue(O,t,n,s){const m=[];let w,P,j,q,G;const ue=self.VTTCue||self.TextTrackCue;for(let Ee=0;Ee<s.rows.length;Ee++)if(w=s.rows[Ee],j=!0,q=0,G="",!w.isEmpty()){var de;for(let ct=0;ct<w.chars.length;ct++)T.test(w.chars[ct].uchar)&&j?q++:(G+=w.chars[ct].uchar,j=!1);w.cueStartTime=t,t===n&&(n+=1e-4),q>=16?q--:q++;const Fe=sl(G.trim()),Be=af(t,n,Fe);O!=null&&(de=O.cues)!=null&&de.getCueById(Be)||(P=new ue(t,n,Fe),P.id=Be,P.line=Ee+1,P.align="left",P.position=10+Math.min(80,Math.floor(q*8/32)*10),m.push(P))}return O&&m.length&&(m.sort((Ee,Fe)=>Ee.line==="auto"||Fe.line==="auto"?0:Ee.line>8&&Fe.line>8?Fe.line-Ee.line:Ee.line-Fe.line),m.forEach(Ee=>L(O,Ee))),m}};function ve(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(O){}return!1}const Le=/(\d+)-(\d+)\/(\d+)/;class ot{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||_n,this.controller=new self.AbortController,this.stats=new $}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,s){const m=this.stats;if(m.loading.start)throw new Error("Loader can only be used once.");m.loading.start=self.performance.now();const w=Bt(t,this.controller.signal),P=t.responseType==="arraybuffer",j=P?"byteLength":"length",{maxTimeToFirstByteMs:q,maxLoadTimeMs:G}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,w),self.clearTimeout(this.requestTimeout),n.timeout=q&&r(q)?q:G,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(io(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(de=>{var Ee;this.response=this.loader=de;const Fe=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=G,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},G-(Fe-m.loading.start)),!de.ok){const{status:ct,statusText:lt}=de;throw new ki(lt||"fetch, bad network response",ct,de)}m.loading.first=Fe,m.total=Or(de.headers)||m.total;const Be=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Be&&r(n.highWaterMark)?this.loadProgressively(de,m,t,n.highWaterMark,Be):P?de.arrayBuffer():t.responseType==="json"?de.json():de.text()}).then(de=>{var Ee,Fe;const Be=this.response;if(!Be)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const ct=de[j];ct&&(m.loaded=m.total=ct);const lt={url:Be.url,data:de,code:Be.status},Gt=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Gt&&!r(n.highWaterMark)&&Gt(m,t,de,Be),(Fe=this.callbacks)==null||Fe.onSuccess(lt,m,t,Be)}).catch(de=>{var Ee;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Fe=de&&de.code||0,Be=de?de.message:null;(Ee=this.callbacks)==null||Ee.onError({code:Fe,text:Be},t,de?de.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,s,m=0,w){const P=new pr,j=t.body.getReader(),q=()=>j.read().then(G=>{if(G.done)return P.dataLength&&w(n,s,P.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=G.value,de=ue.length;return n.loaded+=de,de<m||P.dataLength?(P.push(ue),P.dataLength>=m&&w(n,s,P.flush().buffer,t)):w(n,s,ue.buffer,t),q()}).catch(()=>Promise.reject());return q()}}function Bt(O,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},O.headers))};return O.rangeEnd&&n.headers.set("Range","bytes="+O.rangeStart+"-"+String(O.rangeEnd-1)),n}function nr(O){const t=Le.exec(O);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Or(O){const t=O.get("Content-Range");if(t){const s=nr(t);if(r(s))return s}const n=O.get("Content-Length");if(n)return parseInt(n)}function _n(O,t){return new self.Request(O.url,t)}class ki extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const za=/^age:\s*[\d.]+\s*$/im;class Gn{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 $,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,s){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=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,m=this.stats;m.loading.first=0,m.loaded=0,m.aborted=!1;const w=this.xhrSetup;w?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return w(s,n.url)}).catch(P=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),w(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(P=>{var j;(j=this.callbacks)==null||j.onError({code:s.status,text:P.message},n,s,m)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const m=n.headers,{maxTimeToFirstByteMs:w,maxLoadTimeMs:P}=s.loadPolicy;if(m)for(const j in m)t.setRequestHeader(j,m[j]);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),s.timeout=w&&r(w)?w:P,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout),t.send()}readystatechange(){const{context:t,loader:n,stats:s}=this;if(!t||!n)return;const m=n.readyState,w=this.config;if(!s.aborted&&m>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),w.timeout!==w.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),w.timeout=w.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),w.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const G=n.status,ue=n.responseType==="text"?n.responseText:null;if(G>=200&&G<300){const Be=ue!=null?ue:n.response;if(Be!=null){var P,j;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ct=n.responseType==="arraybuffer"?Be.byteLength:Be.length;s.loaded=s.total=ct,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const lt=(P=this.callbacks)==null?void 0:P.onProgress;lt&<(s,t,Be,n);const Gt={url:n.responseURL,data:Be,code:G};(j=this.callbacks)==null||j.onSuccess(Gt,s,t,n);return}}const de=w.loadPolicy.errorRetry,Ee=s.retry,Fe={url:t.url,data:void 0,code:G};if(xr(de,Ee,!1,Fe))this.retry(de);else{var q;H.error(`${G} while loading ${t.url}`),(q=this.callbacks)==null||q.onError({code:G,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(xr(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const m=this.callbacks;m&&(this.abortInternal(),m.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=kr(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.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&&za.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 pa={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},Za=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,startOnSegmentBoundary:!1,maxBufferSize:60*1e3*1e3,maxFragLookUpTolerance:.25,maxBufferHole:.1,detectStallWithCurrentTimeMs:1250,highBufferWatchdogPeriod:2,nudgeOffset:.1,nudgeMaxRetry:3,nudgeOnVideoHole:!0,liveSyncMode:"edge",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:Gn,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:rt,bufferController:ts,capLevelController:Ml,errorController:an,fpsController:C,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:yu,requireKeySystemAccessOnStart:!1,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,preserveManualLevelOnError:!1,certLoadPolicy:{default:pa},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},Fa()),{},{subtitleStreamController:Il,subtitleTrackController:na,timelineController:ad,audioStreamController:cf,audioTrackController:Rl,emeController:ma,cmcdController:Lc,contentSteeringController:il,interstitialsController:xc});function Fa(){return{cueHandler:U,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 en(O,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 s=Ur(O),m=["manifest","level","frag"],w=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(P=>{const j=`${P==="level"?"playlist":P}LoadPolicy`,q=t[j]===void 0,G=[];w.forEach(ue=>{const de=`${P}Loading${ue}`,Ee=t[de];if(Ee!==void 0&&q){G.push(de);const Fe=s[j].default;switch(t[j]={default:Fe},ue){case"TimeOut":Fe.maxLoadTimeMs=Ee,Fe.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":Fe.errorRetry.maxNumRetry=Ee,Fe.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":Fe.errorRetry.retryDelayMs=Ee,Fe.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":Fe.errorRetry.maxRetryDelayMs=Ee,Fe.timeoutRetry.maxRetryDelayMs=Ee;break}}}),G.length&&n.warn(`hls.js config: "${G.join('", "')}" setting(s) are deprecated, use "${j}": ${Ai(t[j])}`)}),b(b({},s),t)}function Ur(O){return O&&typeof O=="object"?Array.isArray(O)?O.map(Ur):Object.keys(O).reduce((t,n)=>(t[n]=Ur(O[n]),t),{}):O}function Qr(O,t){const n=O.loader;n!==ot&&n!==Gn?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),O.progressive=!1):ve()&&(O.loader=ot,O.progressive=!0,O.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Pn=2,Nn=.1,Ya=.05,Ki=100;class qa extends Xs{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,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 s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.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(Ki),this.mediaSource=n.mediaSource;const s=this.media=n.media;Ua(s,"playing",this.onMediaPlaying),Ua(s,"waiting",this.onMediaWaiting),Ua(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(is(s,"playing",this.onMediaPlaying),is(s,"waiting",this.onMediaWaiting),is(s,"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 s,m;const w=(s=this.hls)==null?void 0:s.config;if(!w)return;const P=this.media;if(!P)return;const{seeking:j}=P,q=this.seeking&&!j,G=!this.seeking&&j,ue=P.paused&&!j||P.ended||P.playbackRate===0;if(this.seeking=j,t!==n){n&&(this.ended=0),this.moved=!0,j||(this.nudgeRetry=0,w.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(G||q){q&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&P.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!ci.getBuffered(P).length){this.nudgeRetry=0;return}const de=ci.bufferInfo(P,t,0),Ee=de.nextStart||0,Fe=this.fragmentTracker;if(j&&Fe&&this.hls){const hn=ps(this.hls.inFlightFragments,t),Zr=de.len>Pn,sn=!Ee||hn||Ee-t>Pn&&!Fe.getPartialFragment(t);if(Zr||sn)return;this.moved=!1}const Be=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Fe){if(!(de.len>0)&&!Ee)return;const Zr=Math.max(Ee,de.start||0)-t,nn=!!(Be!=null&&Be.live)?Be.targetduration*2:Pn,Vr=Ul(t,Fe);if(Zr>0&&(Zr<=nn||Vr)){P.paused||this._trySkipBufferHole(Vr);return}}const ct=w.detectStallWithCurrentTimeMs,lt=self.performance.now(),Gt=this.waiting;let Jt=this.stalled;if(Jt===null)if(Gt>0&<-Gt<ct)Jt=this.stalled=Gt;else{this.stalled=lt;return}const er=lt-Jt;if(!j&&(er>=ct||Gt)&&this.hls){var wr;if(((wr=this.mediaSource)==null?void 0:wr.readyState)==="ended"&&!(Be!=null&&Be.live)&&Math.abs(t-((Be==null?void 0:Be.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(de),!this.media||!this.hls)return}const zr=ci.bufferInfo(P,t,w.maxBufferHole);this._tryFixBufferStall(zr,er,t)}stallResolved(t){const n=this.stalled;if(n&&this.hls&&(this.stalled=null,this.stallReported)){const s=self.performance.now()-n;this.log(`playback not stuck anymore @${t}, after ${Math.round(s)}ms`),this.stallReported=!1,this.waiting=0,this.hls.trigger(o.STALL_RESOLVED,{})}}nudgeOnVideoHole(t,n){var s;const m=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&m&&m.length>1&&t>m.end(0)){const w=ci.bufferedInfo(ci.timeRangesToArray(this.buffered.audio),t,0);if(w.len>1&&n>=w.start){const P=ci.timeRangesToArray(m),j=ci.bufferedInfo(P,n,0).bufferedIndex;if(j>-1&&j<P.length-1){const q=ci.bufferedInfo(P,t,0).bufferedIndex,G=P[j].end,ue=P[j+1].start;if((q===-1||q>j)&&ue-G<1&&t-G<2){const de=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${G} -> ${ue} buffered index: ${q}`);this.warn(de.message),this.media.currentTime+=1e-6;let Ee=Ul(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const Fe=ci.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:de,reason:de.message,frag:Ee,buffer:Fe.len,bufferInfo:Fe})}}}}}_tryFixBufferStall(t,n,s){var m,w;const{fragmentTracker:P,media:j}=this,q=(m=this.hls)==null?void 0:m.config;if(!j||!P||!q)return;const G=(w=this.hls)==null?void 0:w.latestLevelDetails,ue=Ul(s,P);if((ue||G!=null&&G.live&&s<G.fragmentStart)&&(this._trySkipBufferHole(ue)||!this.media))return;const de=t.buffered,Ee=this.adjacentTraversal(t,s);(de&&de.length>1&&t.len>q.maxBufferHole||t.nextStart&&(t.nextStart-s<q.maxBufferHole||Ee))&&(n>q.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,m=t.nextStart;if(s&&m){const w=s.getFragAtPos(n,u.MAIN),P=s.getFragAtPos(m,u.MAIN);if(w&&P)return P.sn-w.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:w}=this;if(!m&&w!==null&&s&&n){this.stallReported=!0;const P=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${Ai(t)})`);this.warn(P.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:P,buffer:t.len,bufferInfo:t,stalled:{start:w}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,w=(n=this.hls)==null?void 0:n.config;if(!m||!s||!w)return 0;const P=m.currentTime,j=ci.bufferInfo(m,P,0),q=P<j.start?j.start:j.nextStart;if(q&&this.hls){const ue=j.len<=w.maxBufferHole,de=j.len>0&&j.len<1&&m.readyState<3,Ee=q-P;if(Ee>0&&(ue||de)){if(Ee>w.maxBufferHole){let Be=!1;if(P===0){const ct=s.getAppendedFrag(0,u.MAIN);ct&&q<ct.end&&(Be=!0)}if(!Be&&t){var G;if(!((G=this.hls.loadLevelObj)!=null&&G.details)||ps(this.hls.inFlightFragments,q))return 0;let lt=!1,Gt=t.end;for(;Gt<q;){const Jt=Ul(Gt,s);if(Jt)Gt+=Jt.duration;else{lt=!0;break}}if(lt)return 0}}const Fe=Math.max(q+Ya,P+Nn);if(this.warn(`skipping hole, adjusting currentTime from ${P} to ${Fe}`),this.moved=!0,m.currentTime=Fe,!(t!=null&&t.gap)){const Be=new Error(`fragment loaded with buffer holes, seeking from ${P} to ${Fe}`),ct={type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Be,reason:Be.message,buffer:j.len,bufferInfo:j};t&&("fragment"in t?ct.part=t:ct.frag=t),this.hls.trigger(o.ERROR,ct)}return Fe}}return 0}_tryNudgeBuffer(t){const{hls:n,media:s,nudgeRetry:m}=this,w=n==null?void 0:n.config;if(!s||!w)return 0;const P=s.currentTime;if(this.nudgeRetry++,m<w.nudgeMaxRetry){const j=P+(m+1)*w.nudgeOffset,q=new Error(`Nudging 'currentTime' from ${P} to ${j}`);this.warn(q.message),s.currentTime=j,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:q,fatal:!1,buffer:t.len,bufferInfo:t})}else{const j=new Error(`Playhead still not moving while enough data buffered @${P} after ${w.nudgeMaxRetry} nudges`);this.error(j.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:j,fatal:!0,buffer:t.len,bufferInfo:t})}}}function ps(O,t){const n=rs(O.main);if(n&&n.start<=t)return n;const s=rs(O.audio);return s&&s.start<=t?s:null}function rs(O){if(!O)return null;switch(O.state){case Re.IDLE:case Re.STOPPED:case Re.ENDED:case Re.ERROR:return null}return O.frag}function Ul(O,t){return t.getAppendedFrag(O,u.MAIN)||t.getPartialFragment(O)}const sd=.25;function od(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function ud(O,t,n,s,m){let w=new O(t,n,"");try{w.value=s,m&&(w.type=m)}catch(P){w=new O(t,n,Ai(m?b({type:m},s):s))}return w}const ed=(()=>{const O=od();try{O&&new O(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Sd{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.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&&(t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&me(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 s=t[n];if(s.kind==="metadata"&&s.label==="id3")return D(s,this.media),s}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media||!this.hls)return;const{enableEmsgMetadataCues:s,enableID3MetadataCues:m}=this.hls.config;if(!s&&!m)return;const{samples:w}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const P=od();if(P)for(let j=0;j<w.length;j++){const q=w[j].type;if(q===wn.emsg&&!s||!m)continue;const G=ii(w[j].data),ue=w[j].pts;let de=ue+w[j].duration;de>ed&&(de=ed),de-ue<=0&&(de=ue+sd);for(let Fe=0;Fe<G.length;Fe++){const Be=G[Fe];if(!Gi(Be)){this.updateId3CueEnds(ue,q);const ct=ud(P,ue,de,Be,q);ct&&this.id3Track.addCue(ct)}}}}updateId3CueEnds(t,n){var s;const m=(s=this.id3Track)==null?void 0:s.cues;if(m)for(let w=m.length;w--;){const P=m[w];P.type===n&&P.startTime<t&&P.endTime===ed&&(P.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:m}){const{id3Track:w,hls:P}=this;if(!P)return;const{config:{enableEmsgMetadataCues:j,enableID3MetadataCues:q}}=P;if(w&&(j||q)){let G;m==="audio"?G=ue=>ue.type===wn.audioId3&&q:m==="video"?G=ue=>ue.type===wn.emsg&&j:G=ue=>ue.type===wn.audioId3&&q||ue.type===wn.emsg&&j,ze(w,n,s,G)}}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.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:m,enableDateRangeMetadataCues:w,interstitialsController:P}=this.hls.config;if(!w)return;const j=od();if(s&&m&&!P){const{fragmentStart:ct,fragmentEnd:lt}=t;let Gt=this.assetCue;Gt?(Gt.startTime=ct,Gt.endTime=lt):j&&(Gt=this.assetCue=ud(j,ct,lt,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Gt&&(Gt.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Gt),Gt.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:q}=this,{dateRanges:G}=t,ue=Object.keys(G);let de=this.dateRangeCuesAppended;if(q&&n){var Ee;if((Ee=q.cues)!=null&&Ee.length){const ct=Object.keys(de).filter(lt=>!ue.includes(lt));for(let lt=ct.length;lt--;){var Fe;const Gt=ct[lt],Jt=(Fe=de[Gt])==null?void 0:Fe.cues;delete de[Gt],Jt&&Object.keys(Jt).forEach(er=>{const wr=Jt[er];if(wr){wr.removeEventListener("enter",this.onEventCueEnter);try{q.removeCue(wr)}catch(zr){}}})}}else de=this.dateRangeCuesAppended={}}const Be=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Be==null?void 0:Be.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ct=0;ct<ue.length;ct++){const lt=ue[ct],Gt=G[lt],Jt=Gt.startTime,er=de[lt],wr=(er==null?void 0:er.cues)||{};let zr=(er==null?void 0:er.durationKnown)||!1,hn=ed;const{duration:Zr,endDate:sn}=Gt;if(sn&&Zr!==null)hn=Jt+Zr,zr=!0;else if(Gt.endOnNext&&!zr){const Vr=ue.reduce((In,wi)=>{if(wi!==Gt.id){const ta=G[wi];if(ta.class===Gt.class&&ta.startDate>Gt.startDate&&(!In||Gt.startDate<In.startDate))return ta}return In},null);Vr&&(hn=Vr.startTime,zr=!0)}const nn=Object.keys(Gt.attr);for(let Vr=0;Vr<nn.length;Vr++){const In=nn[Vr];if(!wo(In))continue;const wi=wr[In];if(wi)zr&&!(er!=null&&er.durationKnown)?wi.endTime=hn:Math.abs(wi.startTime-Jt)>.01&&(wi.startTime=Jt,wi.endTime=hn);else if(j){let ta=Gt.attr[In];Qo(In)&&(ta=K(ta));const ra=ud(j,Jt,hn,{key:In,data:ta},wn.dateRange);ra&&(ra.id=lt,this.id3Track.addCue(ra),wr[In]=ra,P&&(In==="X-ASSET-LIST"||In==="X-ASSET-URL")&&ra.addEventListener("enter",this.onEventCueEnter))}}de[lt]={cues:wr,dateRange:Gt,durationKnown:zr}}}}}class Ad{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,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:w,maxLiveSyncPlaybackRate:P}=this.config;if(!w||P===1||!s.live)return;const j=this.targetLatency;if(j===null)return;const q=m-j,G=Math.min(this.maxLatency,j+s.targetduration);if(q<G&&q>.05&&this.forwardBufferLength>1){const de=Math.min(2,Math.max(1,P)),Ee=Math.round(2/(1+Math.exp(-.75*q-this.edgeStalled))*20)/20,Fe=Math.min(de,Math.max(1,Ee));this.changeMediaPlaybackRate(n,Fe)}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:s,targetduration:m}=t,{liveSyncDuration:w,liveSyncDurationCount:P,lowLatencyMode:j}=this.config,q=this.hls.userConfig;let G=j&&s||n;(this._targetLatencyUpdated||q.liveSyncDuration||q.liveSyncDurationCount||G===0)&&(G=w!==void 0?w:P*m);const ue=m;return G+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}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 s=this.levelDetails;if(s===null)return null;const m=s.edge,w=t-n-this.edgeStalled,P=m-s.totalduration,j=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(P,w),j)}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 s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.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 s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,m;t.playbackRate!==n&&((s=this.hls)==null||s.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 Td extends fi{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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.ERROR,this.onError,this)}_unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.MANIFEST_LOADED,this.onManifestLoaded,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.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 s=this.hls.config.preferManagedMediaSource,m=[],w={},P={};let j=!1,q=!1,G=!1;n.levels.forEach(ue=>{const de=ue.attrs;let{audioCodec:Ee,videoCodec:Fe}=ue;Ee&&(ue.audioCodec=Ee=Et(Ee,s)||void 0),Fe&&(Fe=ue.videoCodec=$r(Fe));const{width:Be,height:ct,unknownCodecs:lt}=ue,Gt=(lt==null?void 0:lt.length)||0;if(j||(j=!!(Be&&ct)),q||(q=!!Fe),G||(G=!!Ee),Gt||Ee&&!this.isAudioSupported(Ee)||Fe&&!this.isVideoSupported(Fe)){this.log(`Some or all CODECS not supported "${de.CODECS}"`);return}const{CODECS:Jt,"FRAME-RATE":er,"HDCP-LEVEL":wr,"PATHWAY-ID":zr,RESOLUTION:hn,"VIDEO-RANGE":Zr}=de,nn=`${`${zr||"."}-`}${ue.bitrate}-${hn}-${er}-${Jt}-${Zr}-${wr}`;if(w[nn])if(w[nn].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const Vr=P[nn]+=1;ue.attrs["PATHWAY-ID"]=new Array(Vr+1).join(".");const In=this.createLevel(ue);w[nn]=In,m.push(In)}else w[nn].addGroupId("audio",de.AUDIO),w[nn].addGroupId("text",de.SUBTITLES);else{const Vr=this.createLevel(ue);w[nn]=Vr,P[nn]=1,m.push(Vr)}}),this.filterAndSortMediaOptions(m,n,j,q,G)}createLevel(t){const n=new Vi(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const m=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(m.message),n.supportedResult=mt(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,s,m,w){var P;let j=[],q=[],G=t;const ue=((P=n.stats)==null?void 0:P.parsing)||{};if((s||m)&&w&&(G=G.filter(({videoCodec:Jt,videoRange:er,width:wr,height:zr})=>(!!Jt||!!(wr&&zr))&&gn(er))),G.length===0){Promise.resolve().then(()=>{if(this.hls){let Jt="no level with compatible codecs found in manifest",er=Jt;n.levels.length&&(er=`one or more CODECS in variant not supported: ${Ai(n.levels.map(zr=>zr.attrs.CODECS).filter((zr,hn,Zr)=>Zr.indexOf(zr)===hn))}`,this.warn(er),Jt+=` (${er})`);const wr=new Error(Jt);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:wr,reason:er})}}),ue.end=performance.now();return}n.audioTracks&&(j=n.audioTracks.filter(Jt=>!Jt.audioCodec||this.isAudioSupported(Jt.audioCodec)),hd(j)),n.subtitles&&(q=n.subtitles,hd(q));const de=G.slice(0);G.sort((Jt,er)=>{if(Jt.attrs["HDCP-LEVEL"]!==er.attrs["HDCP-LEVEL"])return(Jt.attrs["HDCP-LEVEL"]||"")>(er.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&Jt.height!==er.height)return Jt.height-er.height;if(Jt.frameRate!==er.frameRate)return Jt.frameRate-er.frameRate;if(Jt.videoRange!==er.videoRange)return rn.indexOf(Jt.videoRange)-rn.indexOf(er.videoRange);if(Jt.videoCodec!==er.videoCodec){const wr=Xe(Jt.videoCodec),zr=Xe(er.videoCodec);if(wr!==zr)return zr-wr}if(Jt.uri===er.uri&&Jt.codecSet!==er.codecSet){const wr=vt(Jt.codecSet),zr=vt(er.codecSet);if(wr!==zr)return zr-wr}return Jt.averageBitrate!==er.averageBitrate?Jt.averageBitrate-er.averageBitrate:0});let Ee=de[0];if(this.steering&&(G=this.steering.filterParsedLevels(G),G.length!==de.length)){for(let Jt=0;Jt<de.length;Jt++)if(de[Jt].pathwayId===G[0].pathwayId){Ee=de[Jt];break}}this._levels=G;for(let Jt=0;Jt<G.length;Jt++)if(G[Jt]===Ee){var Fe;this._firstLevel=Jt;const er=Ee.bitrate,wr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${G.length} level(s) found, first bitrate: ${er}`),((Fe=this.hls.userConfig)==null?void 0:Fe.abrEwmaDefaultEstimate)===void 0){const zr=Math.min(er,this.hls.config.abrEwmaDefaultEstimateMax);zr>wr&&wr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=zr)}break}const Be=w&&!m,ct=this.hls.config,lt=!!(ct.audioStreamController&&ct.audioTrackController),Gt={levels:G,audioTracks:j,subtitleTracks:q,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:w,video:m,altAudio:lt&&!Be&&j.some(Jt=>!!Jt.url)};ue.end=performance.now(),this.hls.trigger(o.MANIFEST_PARSED,Gt)}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 ue=new Error("invalid level idx"),de=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:de,error:ue,reason:ue.message}),de)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,w=m?m.attrs["PATHWAY-ID"]:void 0,P=n[t],j=P.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=P,s===t&&m&&w===j)return;this.log(`Switching to level ${t} (${P.height?P.height+"p ":""}${P.videoRange?P.videoRange+" ":""}${P.codecSet?P.codecSet+" ":""}@${P.bitrate})${j?" with Pathway "+j:""} from level ${s}${w?" with Pathway "+w:""}`);const q={level:t,attrs:P.attrs,details:P.details,bitrate:P.bitrate,averageBitrate:P.averageBitrate,maxBitrate:P.maxBitrate,realBitrate:P.realBitrate,width:P.width,height:P.height,codecSet:P.codecSet,audioCodec:P.audioCodec,videoCodec:P.videoCodec,audioGroups:P.audioGroups,subtitleGroups:P.subtitleGroups,loaded:P.loaded,loadError:P.loadError,fragmentError:P.fragmentError,name:P.name,id:P.id,uri:P.uri,url:P.url,urlId:0,audioGroupIds:P.audioGroupIds,textGroupIds:P.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,q);const G=P.details;if(!G||G.live){const ue=this.switchParams(P.uri,m==null?void 0:m.details,G);this.loadPlaylist(ue)}}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(),s=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=s}}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 s=n.elementaryStreams;if(!Object.keys(s).some(w=>!!s[w]))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 s;const{level:m,details:w}=n,P=n.levelInfo;if(!P){var j;this.warn(`Invalid level index ${m}`),(j=n.deliveryDirectives)!=null&&j.skip&&(w.deltaUpdateFailed=!0);return}if(P===this.currentLevel||n.withoutMultiVariant){P.fragmentError===0&&(P.loadError=0);let q=P.details;q===n.details&&q.advanced&&(q=void 0),this.playlistLoaded(m,n,q)}else(s=n.deliveryDirectives)!=null&&s.skip&&(w.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,w=t.attrs["PATHWAY-ID"],P=t.details,j=P==null?void 0:P.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${w?" Pathway "+w:""}${j&&P.live?" age "+j.toFixed(1)+(P.type?" "+P.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,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 s=this._levels.filter((w,P)=>P!==t?!0:(this.steering&&this.steering.removeLevel(w),w===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,w.details&&w.details.fragments.forEach(j=>j.level=-1)),!1));lo(s),this._levels=s,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=s.length-1;this._firstLevel=Math.min(this._firstLevel,m),this._startLevel&&(this._startLevel=Math.min(this._startLevel,m)),this.hls.trigger(o.LEVELS_UPDATED,{levels:s})}onLevelsUpdated(t,{levels:n}){this._levels=n}checkMaxAutoUpdated(){const{autoLevelCapping:t,maxAutoLevel:n,maxHdcpLevel:s}=this.hls;this._maxAutoLevel!==n&&(this._maxAutoLevel=n,this.hls.trigger(o.MAX_AUTO_LEVEL_UPDATED,{autoLevelCapping:t,levels:this.levels,maxAutoLevel:n,minAutoLevel:this.hls.minAutoLevel,maxHdcpLevel:s}))}}function hd(O){const t={};O.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function pd(){return self.SourceBuffer||self.WebKitSourceBuffer}function _d(){if(!te())return!1;const t=pd();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Cd(){if(!_d())return!1;const O=te();return typeof(O==null?void 0:O.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>O.isTypeSupported(ye(t,"video")))||["mp4a.40.2","fLaC"].some(t=>O.isTypeSupported(ye(t,"audio"))))}function Pd(){var O;const t=pd();return typeof(t==null||(O=t.prototype)==null?void 0:O.changeType)=="function"}const md=100;class vd extends Lt{constructor(t,n,s){super(t,n,s,"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,w=m?m.currentTime:null;if(w===null||!r(w)||(this.log(`Media seeked to ${w.toFixed(3)}`),!this.getBufferedFrag(w)))return;const P=this.getFwdBufferInfoAtPos(m,w,u.MAIN,0);if(P===null||P.len===0){this.warn(`Main forward buffer length at ${w} on "seeked" event ${P?P.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.on(o.BUFFER_CREATED,this.onBufferCreated,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this)}unregisterListeners(){super.unregisterListeners();const{hls:t}=this;t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.FRAG_LOAD_EMERGENCY_ABORTED,this.onFragLoadEmergencyAborted,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_SWITCHED,this.onAudioTrackSwitched,this),t.off(o.BUFFER_CREATED,this.onBufferCreated,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this)}onHandlerDestroying(){this.onMediaPlaying=this.onMediaSeeked=null,this.unregisterListeners(),super.onHandlerDestroying()}startLoad(t,n){if(this.levels){const{lastCurrentTime:s,hls:m}=this;if(this.stopLoad(),this.setInterval(md),this.level=-1,!this.startFragRequested){let w=m.startLevel;w===-1&&(m.config.testBandwidth&&this.levels.length>1?(w=0,this.bitrateTest=!0):w=m.firstAutoLevel),m.nextLoadLevel=w,this.level=m.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Re.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Re.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Re.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],m=s==null?void 0:s.details;if(m&&(!m.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(m))break;this.state=Re.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Re.IDLE;break}break}case Re.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===Re.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:s,media:m}=this;if(n===null||!m&&!this.primaryPrefetch&&(this.startFragRequested||!t.config.startFragPrefetch)||this.altAudio&&this.audioOnly)return;const w=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[w]))return;const P=s[w],j=this.getMainFwdBufferInfo();if(j===null)return;const q=this.getLevelDetails();if(q&&this._streamEnded(j,q)){const ct={};this.altAudio===2&&(ct.type="video"),this.hls.trigger(o.BUFFER_EOS,ct),this.state=Re.ENDED;return}if(!this.buffering)return;t.loadLevel!==w&&t.manualLevel===-1&&this.log(`Adapting to level ${w} from level ${this.level}`),this.level=t.nextLoadLevel=w;const G=P.details;if(!G||this.state===Re.WAITING_LEVEL||this.waitForLive(P)){this.level=w,this.state=Re.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=j.len,de=this.getMaxBufferLength(P.maxBitrate);if(ue>=de)return;this.backtrackFragment&&this.backtrackFragment.start>j.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:j.end;let Fe=this.getNextFragment(Ee,G);if(this.couldBacktrack&&!this.fragPrevious&&Fe&&Ie(Fe)&&this.fragmentTracker.getState(Fe)!==mn.OK){var Be;const lt=((Be=this.backtrackFragment)!=null?Be:Fe).sn-G.startSN,Gt=G.fragments[lt-1];Gt&&Fe.cc===Gt.cc&&(Fe=Gt,this.fragmentTracker.removeFragment(Gt))}else this.backtrackFragment&&j.len&&(this.backtrackFragment=null);if(Fe&&this.isLoopLoading(Fe,Ee)){if(!Fe.gap){const lt=this.audioOnly&&!this.altAudio?ae.AUDIO:ae.VIDEO,Gt=(lt===ae.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Gt&&this.afterBufferFlushed(Gt,lt,u.MAIN)}Fe=this.getNextFragmentLoopLoading(Fe,G,j,u.MAIN,de)}Fe&&(Fe.initSegment&&!Fe.initSegment.data&&!this.bitrateTest&&(Fe=Fe.initSegment),this.loadFragment(Fe,P,Ee))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===mn.NOT_LOADED||m===mn.PARTIAL?Ie(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,s):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 s;const m=this.getAppendedFrag(n.currentTime);m&&m.start>1&&this.flushMainBuffer(0,m.start-1);const w=this.getLevelDetails();if(w!=null&&w.live){const j=this.getMainFwdBufferInfo();if(!j||j.len<w.targetduration*2)return}if(!n.paused&&t){const j=this.hls.nextLoadLevel,q=t[j],G=this.fragLastKbps;G&&this.fragCurrent?s=this.fragCurrent.duration*q.maxBitrate/(1e3*G)+1:s=0}else s=0;const P=this.getBufferedFrag(n.currentTime+s);if(P){const j=this.followingBufferedFrag(P);if(j){this.abortCurrentFrag();const q=j.maxStartPTS?j.maxStartPTS:j.start,G=j.duration,ue=Math.max(P.end,q+Math.min(Math.max(G-this.config.maxFragLookUpTolerance,G*(this.couldBacktrack?.5:.125)),G*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(ue,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 Re.KEY_LOADING:case Re.FRAG_LOADING:case Re.FRAG_LOADING_WAITING_RETRY:case Re.PARSING:case Re.PARSED:this.state=Re.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 s=n.media;Ua(s,"playing",this.onMediaPlaying),Ua(s,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:s}=this;s&&(is(s,"playing",this.onMediaPlaying),is(s,"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(o.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 s=!1,m=!1;for(let w=0;w<n.levels.length;w++){const P=n.levels[w].audioCodec;P&&(s=s||P.indexOf("mp4a.40.2")!==-1,m=m||P.indexOf("mp4a.40.5")!==-1)}this.audioCodecSwitch=s&&m&&!Pd(),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:s}=this;if(!s||this.state!==Re.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Re.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:w}=this,P=n.level,j=n.details,q=j.totalduration;if(!m){this.warn(`Levels were reset while loading level ${P}`);return}this.log(`Level ${P} loaded [${j.startSN},${j.endSN}]${j.lastPartSn?`[part-${j.lastPartSn}-${j.lastPartIndex}]`:""}, cc [${j.startCC}, ${j.endCC}] duration:${q}`);const G=n.levelInfo,ue=this.fragCurrent;ue&&(this.state===Re.FRAG_LOADING||this.state===Re.FRAG_LOADING_WAITING_RETRY)&&ue.level!==n.level&&ue.loader&&this.abortCurrentFrag();let de=0;if(j.live||(s=G.details)!=null&&s.live){var Ee;if(this.checkLiveUpdate(j),j.deltaUpdateFailed)return;de=this.alignPlaylists(j,G.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}if(G.details=j,this.levelLastLoaded=G,w||this.setStartPosition(j,de),this.hls.trigger(o.LEVEL_UPDATED,{details:j,level:P}),this.state===Re.WAITING_LEVEL){if(this.waitForCdnTuneIn(j))return;this.state=Re.IDLE}w&&j.live&&this.synchronizeToLiveEdge(j),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,w=this.getLoadPosition(),P=t.fragmentStart,j=t.edge,q=w>=P-n.maxFragLookUpTolerance&&w<=j;if(m!==null&&s.duration>m&&(w<m||!q)){const ue=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;if((!q&&s.readyState<4||w<j-ue)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),s.readyState))if(this.warn(`Playback: ${w.toFixed(3)} is located too far from the end of live sliding playlist: ${j}, reset currentTime to : ${m.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var G;const de=ci.bufferInfo(s,m,0);if(!((G=de.buffered)!=null&&G.length)){s.currentTime=m;return}if(de.start<=w){s.currentTime=m;return}const{nextStart:Fe}=ci.bufferedInfo(de.buffered,w,0);Fe&&(s.currentTime=Fe)}else s.currentTime=m}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:w}=t,{levels:P}=this;if(!P){this.warn(`Levels were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const j=P[s.level];if(!j){this.warn(`Level ${s.level} not found on progress`);return}const q=j.details;if(!q){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const G=j.videoCodec,ue=q.PTSKnown||!q.live,de=(n=s.initSegment)==null?void 0:n.data,Ee=this._getAudioCodec(j),Fe=this.transmuxer=this.transmuxer||new wu(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Be=m?m.index:-1,ct=Be!==-1,lt=new No(s.level,s.sn,s.stats.chunkCount,w.byteLength,Be,ct),Gt=this.initPTS[s.cc];Fe.push(w,de,Ee,G,s,m,q.totalduration,ue,lt,Gt)}onAudioTrackSwitching(t,n){const s=this.hls,m=this.altAudio===2;if(dt(n.url,s))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 P=this.fragCurrent;P&&(this.log("Switching to main audio track, cancel main fragment load"),P.abortRequests(),this.fragmentTracker.removeFragment(P)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),s.once(o.BUFFER_FLUSHED,()=>{this.hls&&this.hls.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=dt(n.url,this.hls);if(s){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=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let m,w,P=!1;for(const j in s){const q=s[j];if(q.id==="main"){if(w=j,m=q,j==="video"){const G=s[j];G&&(this.videoBuffer=G.buffer)}}else P=!0}P&&m?(this.log(`Alternate track found, use ${w}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:m}=n,w=s.type===u.MAIN;if(w){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${m?" p: "+m.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===Re.PARSED&&(this.state=Re.IDLE);return}const j=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*j.total/(j.buffering.end-j.loading.first)),Ie(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const P=this.media;P&&(!this._hasEnoughToStart&&ci.getBuffered(P).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),w&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Re.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===Re.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Re.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Re.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ae.AUDIO||!this.altAudio){const s=(n===ae.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;s&&(this.afterBufferFlushed(s,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 s=this.startPosition;if(s>=0&&n<s){if(t.seeking){this.log(`could not seek to ${s}, already seeking at ${n}`);return}const m=this.timelineOffset;m&&s&&(s+=m);const w=this.getLevelDetails(),P=ci.getBuffered(t),j=P.length?P.start(0):0,q=j-s,G=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||q>0&&(q<G||this.loadingParts&&q<2*((w==null?void 0:w.partTarget)||0)))&&(this.log(`adjusting start position by ${q} to match buffer start`),s+=q,this.startPosition=s),n<s&&(this.log(`seek to target start position ${s} from current time ${n} buffer start ${j}`),t.currentTime=s)}}_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(s=>{const{hls:m}=this,w=s==null?void 0:s.frag;if(!w||this.fragContextChanged(w))return;n.fragmentError=0,this.state=Re.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const P=w.stats;P.parsing.start=P.parsing.end=P.buffering.start=P.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),w.bitrateTest=!1}).catch(s=>{this.state===Re.STOPPED||this.state===Re.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:m,chunkMeta:w}=t,P=this.getCurrentContext(w);if(!P){this.resetWhenMissingContext(w);return}const{frag:j,part:q,level:G}=P,{video:ue,text:de,id3:Ee,initSegment:Fe}=m,{details:Be}=G,ct=this.altAudio?void 0:m.audio;if(this.fragContextChanged(j)){this.fragmentTracker.removeFragment(j);return}if(this.state=Re.PARSING,Fe){const lt=Fe.tracks;if(lt){const wr=j.initSegment||j;if(this.unhandledEncryptionError(Fe,j))return;this._bufferInitSegment(G,lt,wr,w),s.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:wr,id:n,tracks:lt})}const Gt=Fe.initPTS,Jt=Fe.timescale,er=this.initPTS[j.cc];if(r(Gt)&&(!er||er.baseTime!==Gt||er.timescale!==Jt)){const wr=Fe.trackId;this.initPTS[j.cc]={baseTime:Gt,timescale:Jt,trackId:wr},s.trigger(o.INIT_PTS_FOUND,{frag:j,id:n,initPTS:Gt,timescale:Jt,trackId:wr})}}if(ue&&Be){ct&&ue.type==="audiovideo"&&this.logMuxedErr(j);const lt=Be.fragments[j.sn-1-Be.startSN],Gt=j.sn===Be.startSN,Jt=!lt||j.cc>lt.cc;if(m.independent!==!1){const{startPTS:er,endPTS:wr,startDTS:zr,endDTS:hn}=ue;if(q)q.elementaryStreams[ue.type]={startPTS:er,endPTS:wr,startDTS:zr,endDTS:hn};else if(ue.firstKeyFrame&&ue.independent&&w.id===1&&!Jt&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Zr=this.getMainFwdBufferInfo(),sn=(Zr?Zr.end:this.getLoadPosition())+this.config.maxBufferHole,nn=ue.firstKeyFramePTS?ue.firstKeyFramePTS:er;if(!Gt&&sn<nn-this.config.maxBufferHole&&!Jt){this.backtrack(j);return}else Jt&&(j.gap=!0);j.setElementaryStreamInfo(ue.type,j.start,wr,j.start,hn,!0)}else Gt&&er-(Be.appliedTimelineOffset||0)>Pn&&(j.gap=!0);j.setElementaryStreamInfo(ue.type,er,wr,zr,hn),this.backtrackFragment&&(this.backtrackFragment=j),this.bufferFragmentData(ue,j,q,w,Gt||Jt)}else if(Gt||Jt)j.gap=!0;else{this.backtrack(j);return}}if(ct){const{startPTS:lt,endPTS:Gt,startDTS:Jt,endDTS:er}=ct;q&&(q.elementaryStreams[ae.AUDIO]={startPTS:lt,endPTS:Gt,startDTS:Jt,endDTS:er}),j.setElementaryStreamInfo(ae.AUDIO,lt,Gt,Jt,er),this.bufferFragmentData(ct,j,q,w)}if(Be&&Ee!=null&&Ee.samples.length){const lt={id:n,frag:j,details:Be,samples:Ee.samples};s.trigger(o.FRAG_PARSING_METADATA,lt)}if(Be&&de){const lt={id:n,frag:j,details:Be,samples:de.samples};s.trigger(o.FRAG_PARSING_USERDATA,lt)}}logMuxedErr(t){this.warn(`${Ie(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Re.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:w,video:P,audiovideo:j}=n;if(w){const G=t.audioCodec;let ue=Jr(w.codec,G);ue==="mp4a"&&(ue="mp4a.40.5");const de=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const Ee=w.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&de.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&de.indexOf("android")!==-1&&w.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),G&&G!==ue&&this.log(`Swapping manifest audio codec "${G}" for "${ue}"`),w.levelCodec=ue,w.id=u.MAIN,this.log(`Init audio buffer, container:${w.container}, codecs[selected/level/parsed]=[${ue||""}/${G||""}/${w.codec}]`),delete n.audiovideo}if(P){P.levelCodec=t.videoCodec,P.id=u.MAIN;const G=P.codec;if((G==null?void 0:G.length)===4)switch(G){case"hvc1":case"hev1":P.codec="hvc1.1.6.L120.90";break;case"av01":P.codec="av01.0.04M.08";break;case"avc1":P.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${P.container}, codecs[level/parsed]=[${t.videoCodec||""}/${G}]${P.codec!==G?" parsed-corrected="+P.codec:""}${P.supplemental?" supplemental="+P.supplemental:""}`),delete n.audiovideo}j&&(this.log(`Init audiovideo buffer, container:${j.container}, codecs[level/parsed]=[${t.codecs}/${j.codec}]`),delete n.video,delete n.audio);const q=Object.keys(n);if(q.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;q.forEach(G=>{const de=n[G].initSegment;de!=null&&de.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:G,data:de,frag:s,part:null,chunkMeta:m,parent:s.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,s=t==null?void 0:t[n];return s?this.getMaxBufferLength(s.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=Re.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(ci.isBuffered(t,s)?n=this.getAppendedFrag(s):ci.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,w=n.level;(!m||n.sn!==m.sn||m.level!==w)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==w)&&this.hls.trigger(o.LEVEL_SWITCHED,{level:w}))}}}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 s=this.getLevelDetails(),m=this.currentFrag||(s?sr(null,s.fragments,n):null);if(m){const w=m.programDateTime;if(w!==null){const P=w+(n-m.start)*1e3;return new Date(P)}}}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 Id extends R{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const m=this.keyIdToKeyInfo[s].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.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,m,w){return new zi({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:w,error:s,networkDetails:m})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let m=0,w=n.length;m<w;m++){const P=n[m];if(t.cc<=P.cc&&(!Ie(t)||!Ie(P)||t.sn<P.sn)||!s&&m==w-1)return this.emeController.selectKeySystemFormat(P).then(j=>{if(!this.emeController)return;P.setKeyFormat(j);const q=uu(j);if(q)return this.emeController.getKeySystemAccess([q])})}if(this.config.requireKeySystemAccessOnStart){const m=lu(this.config);if(m.length)return this.emeController.getKeySystemAccess(m)}}return null}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 s,m;n&&t.setKeyFormat(n);const w=t.decryptdata;if(!w){const G=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:`Missing decryption data on fragment in onKeyLoading (emeEnabled with controller: ${this.emeController&&this.config.emeEnabled})`);return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,G))}const P=w.uri;if(!P)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${P}"`)));const j=ld(w);let q=this.keyIdToKeyInfo[j];if((s=q)!=null&&s.decryptdata.key)return w.key=q.decryptdata.key,Promise.resolve({frag:t,keyInfo:q});if(this.emeController&&(m=q)!=null&&m.keyLoadPromise)switch(this.emeController.getKeyStatus(q.decryptdata)){case"usable":case"usable-in-future":return q.keyLoadPromise.then(ue=>{const{keyInfo:de}=ue;return w.key=de.decryptdata.key,{frag:t,keyInfo:de}})}switch(this.log(`${this.keyIdToKeyInfo[j]?"Rel":"L"}oading${w.keyId?" keyId: "+Q(w.keyId):""} URI: ${w.uri} from ${t.type} ${t.level}`),q=this.keyIdToKeyInfo[j]={decryptdata:w,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},w.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return w.keyFormat==="identity"?this.loadKeyHTTP(q,t):this.loadKeyEME(q,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(q,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${w.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){var m;if(!t.decryptdata.keyId&&(m=n.initSegment)!=null&&m.data){const P=ut(n.initSegment.data);if(P.length){const j=P[0];j.some(q=>q!==0)&&(this.log(`Using keyId found in init segment ${Q(j)}`),t.decryptdata.keyId=j,Mo.setKeyIdForUri(t.decryptdata.uri,j))}}const w=this.emeController.loadKey(s);return(t.keyLoadPromise=w.then(P=>(t.mediaKeySessionContext=P,s))).catch(P=>{throw t.keyLoadPromise=null,"data"in P&&(P.data.frag=n),P})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,w=new m(s);return n.keyLoader=t.loader=w,t.keyLoadPromise=new Promise((P,j)=>{const q={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},G=s.keyLoadPolicy.default,ue={loadPolicy:G,timeout:G.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},de={onSuccess:(Ee,Fe,Be,ct)=>{const{frag:lt,keyInfo:Gt}=Be,Jt=ld(Gt.decryptdata);if(!lt.decryptdata||Gt!==this.keyIdToKeyInfo[Jt])return j(this.createKeyLoadError(lt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ct));Gt.decryptdata.key=lt.decryptdata.key=new Uint8Array(Ee.data),lt.keyLoader=null,Gt.loader=null,P({frag:lt,keyInfo:Gt})},onError:(Ee,Fe,Be,ct)=>{this.resetLoader(Fe),j(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Be,b({url:q.url,data:void 0},Ee)))},onTimeout:(Ee,Fe,Be)=>{this.resetLoader(Fe),j(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Be))},onAbort:(Ee,Fe,Be)=>{this.resetLoader(Fe),j(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Be))}};w.load(q,ue,de)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,w=s.loader;n.keyLoader===w&&(n.keyLoader=null,s.loader=null);const P=ld(s.decryptdata)||m;delete this.keyIdToKeyInfo[P],w&&w.destroy()}}function ld(O){if(O.keyFormat!==As.FAIRPLAY){const t=O.keyId;if(t)return Q(t)}return O.uri}function gd(O){const{type:t}=O;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function cd(O,t){let n=O.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class td{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(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_LOADING,this.onLevelLoading,this),t.on(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.on(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}unregisterListeners(){const{hls:t}=this;t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_LOADING,this.onLevelLoading,this),t.off(o.AUDIO_TRACK_LOADING,this.onAudioTrackLoading,this),t.off(o.SUBTITLE_TRACK_LOADING,this.onSubtitleTrackLoading,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this)}createInternalLoader(t){const n=this.hls.config,s=n.pLoader,m=n.loader,w=s||m,P=new w(n);return this.loaders[t.type]=P,P}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:s}=n;this.variableList=null,this.load({id:null,level:0,responseType:"text",type:h.MANIFEST,url:s,deliveryDirectives:null,levelOrTrack:null})}onLevelLoading(t,n){const{id:s,level:m,pathwayId:w,url:P,deliveryDirectives:j,levelInfo:q}=n;this.load({id:s,level:m,pathwayId:w,responseType:"text",type:h.LEVEL,url:P,deliveryDirectives:j,levelOrTrack:q})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:w,deliveryDirectives:P,track:j}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:w,deliveryDirectives:P,levelOrTrack:j})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:w,deliveryDirectives:P,track:j}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:w,deliveryDirectives:P,levelOrTrack:j})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(w=>w===m.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let m=this.getInternalLoader(t);if(m){const G=this.hls.logger,ue=m.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?G.log(`[playlist-loader]: ignore ${t.url} ongoing request`):G.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}G.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let w;if(t.type===h.MANIFEST?w=s.manifestLoadPolicy.default:w=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let G;if(t.type===h.LEVEL&&t.level!==null?G=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?G=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(G=this.hls.subtitleTracks[t.id].details),G){const ue=G.partTarget,de=G.targetduration;if(ue&&de){const Ee=Math.max(ue*3,de*.8)*1e3;w=y({},w,{maxTimeToFirstByteMs:Math.min(Ee,w.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,w.maxTimeToFirstByteMs)})}}}const P=w.errorRetry||w.timeoutRetry||{},j={loadPolicy:w,timeout:w.maxLoadTimeMs,maxRetry:P.maxNumRetry||0,retryDelay:P.retryDelayMs||0,maxRetryDelay:P.maxRetryDelayMs||0},q={onSuccess:(G,ue,de,Ee)=>{const Fe=this.getInternalLoader(de);this.resetInternalLoader(de.type);const Be=G.data;ue.parsing.start=performance.now(),fu.isMediaPlaylist(Be)||de.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(G,ue,de,Ee||null,Fe):this.handleMasterPlaylist(G,ue,de,Ee)},onError:(G,ue,de,Ee)=>{this.handleNetworkError(ue,de,!1,G,Ee)},onTimeout:(G,ue,de)=>{this.handleNetworkError(ue,de,!0,void 0,G)}};m.load(t,j,q)}checkAutostartLoad(){if(!this.hls)return;const{config:{autoStartLoad:t,startPosition:n},forceStartLoad:s}=this.hls;(t||s)&&(this.hls.logger.log(`${t?"auto":"force"} startLoad with configured startPosition ${n}`),this.hls.startLoad(n))}handleMasterPlaylist(t,n,s,m){const w=this.hls,P=t.data,j=cd(t,s),q=fu.parseMasterPlaylist(P,j);if(q.playlistParsingError){n.parsing.end=performance.now(),this.handleManifestParsingError(t,s,q.playlistParsingError,m,n);return}const{contentSteering:G,levels:ue,sessionData:de,sessionKeys:Ee,startTimeOffset:Fe,variableList:Be}=q;this.variableList=Be,ue.forEach(Jt=>{const{unknownCodecs:er}=Jt;if(er){const{preferManagedMediaSource:wr}=this.hls.config;let{audioCodec:zr,videoCodec:hn}=Jt;for(let Zr=er.length;Zr--;){const sn=er[Zr];Oe(sn,"audio",wr)?(Jt.audioCodec=zr=zr?`${zr},${sn}`:sn,Ut.audio[zr.substring(0,4)]=2,er.splice(Zr,1)):Oe(sn,"video",wr)&&(Jt.videoCodec=hn=hn?`${hn},${sn}`:sn,Ut.video[hn.substring(0,4)]=2,er.splice(Zr,1))}}});const{AUDIO:ct=[],SUBTITLES:lt,"CLOSED-CAPTIONS":Gt}=fu.parseMasterPlaylistMedia(P,j,q);ct.length&&!ct.some(er=>!er.url)&&ue[0].audioCodec&&!ue[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ct.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Qi({}),bitrate:0,url:""})),w.trigger(o.MANIFEST_LOADED,{levels:ue,audioTracks:ct,subtitles:lt,captions:Gt,contentSteering:G,url:j,stats:n,networkDetails:m,sessionData:de,sessionKeys:Ee,startTimeOffset:Fe,variableList:Be})}handleTrackOrLevelPlaylist(t,n,s,m,w){const P=this.hls,{id:j,level:q,type:G}=s,ue=cd(t,s),de=r(q)?q:r(j)?j:0,Ee=gd(s),Fe=fu.parseLevelPlaylist(t.data,ue,de,Ee,0,this.variableList);if(G===h.MANIFEST){const Be={attrs:new Qi({}),bitrate:0,details:Fe,name:"",url:ue};Fe.requestScheduled=n.loading.start+Kr(Fe,0),P.trigger(o.MANIFEST_LOADED,{levels:[Be],audioTracks:[],url:ue,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Fe,this.handlePlaylistLoaded(Fe,t,n,s,m,w)}handleManifestParsingError(t,n,s,m,w){this.hls.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.MANIFEST_PARSING_ERROR,fatal:n.type===h.MANIFEST,url:t.url,err:s,error:s,reason:s.message,response:t,context:n,networkDetails:m,stats:w})}handleNetworkError(t,n,s=!1,m,w){let P=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?P+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(P+=` id: ${t.id} group-id: "${t.groupId}"`);const j=new Error(P);this.hls.logger.warn(`[playlist-loader]: ${P}`);let q=f.UNKNOWN,G=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:q=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,G=!0;break;case h.LEVEL:q=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,G=!1;break;case h.AUDIO_TRACK:q=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,G=!1;break;case h.SUBTITLE_TRACK:q=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,G=!1;break}ue&&this.resetInternalLoader(t.type);const de={type:c.NETWORK_ERROR,details:q,fatal:G,url:t.url,loader:ue,context:t,error:j,networkDetails:n,stats:w};if(m){const Ee=(n==null?void 0:n.url)||t.url;de.response=b({url:Ee,data:void 0},m)}this.hls.trigger(o.ERROR,de)}handlePlaylistLoaded(t,n,s,m,w,P){const j=this.hls,{type:q,level:G,levelOrTrack:ue,id:de,groupId:Ee,deliveryDirectives:Fe}=m,Be=cd(n,m),ct=gd(m);let lt=typeof m.level=="number"&&ct===u.MAIN?G:void 0;const Gt=t.playlistParsingError;if(Gt){if(this.hls.logger.warn(`${Gt} ${t.url}`),!j.config.ignorePlaylistParsingErrors){j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Be,error:Gt,reason:Gt.message,response:n,context:m,level:lt,parent:ct,networkDetails:w,stats:s});return}t.playlistParsingError=null}if(!t.fragments.length){const Jt=t.playlistParsingError=new Error("No Segments found in Playlist");j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Be,error:Jt,reason:Jt.message,response:n,context:m,level:lt,parent:ct,networkDetails:w,stats:s});return}switch(t.live&&P&&(P.getCacheAge&&(t.ageHeader=P.getCacheAge()||0),(!P.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),q){case h.MANIFEST:case h.LEVEL:if(lt){if(!ue)lt=0;else if(ue!==j.levels[lt]){const Jt=j.levels.indexOf(ue);Jt>-1&&(lt=Jt)}}j.trigger(o.LEVEL_LOADED,{details:t,levelInfo:ue||j.levels[0],level:lt||0,id:de||0,stats:s,networkDetails:w,deliveryDirectives:Fe,withoutMultiVariant:q===h.MANIFEST});break;case h.AUDIO_TRACK:j.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:Ee||"",stats:s,networkDetails:w,deliveryDirectives:Fe});break;case h.SUBTITLE_TRACK:j.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:ue,id:de||0,groupId:Ee||"",stats:s,networkDetails:w,deliveryDirectives:Fe});break}}}class Cf{static get version(){return ni}static isMSESupported(){return _d()}static isSupported(){return Cd()}static getMediaSource(){return te()}static get Events(){return o}static get MetadataSchema(){return wn}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return Cf.defaultConfig?Cf.defaultConfig:Za}static set DefaultConfig(t){Cf.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 ti,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=W(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=en(Cf.DefaultConfig,t,n);this.userConfig=t,s.progressive&&Qr(s,n);const{abrController:m,bufferController:w,capLevelController:P,errorController:j,fpsController:q}=s,G=new j(this),ue=this.abrController=new m(this),de=new Oa(this),Ee=s.interstitialsController,Fe=Ee?this.interstitialsController=new Ee(this,Cf):null,Be=this.bufferController=new w(this,de),ct=this.capLevelController=new P(this),lt=new q(this),Gt=new td(this),Jt=s.contentSteeringController,er=Jt?new Jt(this):null,wr=this.levelController=new Td(this,er),zr=new Sd(this),hn=new Id(this.config,this.logger),Zr=this.streamController=new vd(this,de,hn),sn=this.gapController=new qa(this,de);ct.setStreamController(Zr),lt.setStreamController(Zr);const nn=[Gt,wr,Zr];Fe&&nn.splice(1,0,Fe),er&&nn.splice(1,0,er),this.networkControllers=nn;const Vr=[ue,Be,sn,ct,lt,zr,de];this.audioTrackController=this.createController(s.audioTrackController,nn);const In=s.audioStreamController;In&&nn.push(this.audioStreamController=new In(this,de,hn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,nn);const wi=s.subtitleStreamController;wi&&nn.push(this.subtititleStreamController=new wi(this,de,hn)),this.createController(s.timelineController,Vr),hn.emeController=this.emeController=this.createController(s.emeController,Vr),this.cmcdController=this.createController(s.cmcdController,Vr),this.latencyController=this.createController(Ad,Vr),this.coreComponents=Vr,nn.push(G);const ta=G.onErrorOut;typeof ta=="function"&&this.on(o.ERROR,ta,G),this.on(o.MANIFEST_LOADED,Gt.onManifestLoaded,Gt)}createController(t,n){if(t){const s=new t(this);return n&&n.push(s),s}return null}on(t,n,s=this){this._emitter.on(t,n,s)}once(t,n,s=this){this._emitter.once(t,n,s)}removeAllListeners(t){this._emitter.removeAllListeners(t)}off(t,n,s=this,m){this._emitter.off(t,n,s,m)}listeners(t){return this._emitter.listeners(t)}emit(t,n,s){return this._emitter.emit(t,n,s)}trigger(t,n){if(this.config.debug)return this.emit(t,t,n);try{return this.emit(t,t,n)}catch(s){if(this.logger.error("An internal error happened while handling event "+t+'. Error message: "'+s.message+'". Here is a stacktrace:',s),!this.triggeringException){this.triggeringException=!0;const m=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:m,event:t,error:s}),this.triggeringException=!1}}return!1}listenerCount(t){return this._emitter.listenerCount(t)}destroy(){this.logger.log("destroy"),this.trigger(o.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 w=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:w});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,s=n?t.media:t,m=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,m)}detachMedia(){this.logger.log("detachMedia"),this.trigger(o.MEDIA_DETACHING,{}),this._media=null}transferMedia(){this._media=null;const t=this.bufferController.transferMedia();return this.trigger(o.MEDIA_DETACHING,{transferMedia:t}),t}loadSource(t){this.stopLoad();const n=this.media,s=this._url,m=this._url=z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${m}`),n&&s&&(s!==m||this.bufferController.hasSourceTypes())&&(this.detachMedia(),this.attachMedia(n)),this.trigger(o.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 s=0;s<this.networkControllers.length&&(this.networkControllers[s].startLoad(t,n),!(!this.started||!this.networkControllers));s++);}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=ws()),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){mr(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 s=t.length;for(let m=0;m<s;m++)if(t[m].maxBitrate>=n)return m;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let m;if(n===-1&&t!=null&&t.length?m=t.length-1:m=n,s)for(let w=m;w--;){const P=t[w].attrs["HDCP-LEVEL"];if(P&&P<=s)return w}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 s=xi(n);return Nt(t,s,navigator.mediaCapabilities)}}Cf.defaultConfig=void 0},53280:function(d,v,e){"use strict";e.d(v,{D:function(){return i}});function r(l,c,f){var o=f||{},h=o.noTrailing,u=h===void 0?!1:h,a=o.noLeading,x=a===void 0?!1:a,p=o.debounceMode,y=p===void 0?void 0:p,_,b=!1,S=0;function k(){_&&clearTimeout(_)}function R(I){var M=I||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var I=arguments.length,M=new Array(I),B=0;B<I;B++)M[B]=arguments[B];var N=this,V=Date.now()-S;if(b)return;function W(){S=Date.now(),c.apply(N,M)}function H(){_=void 0}!x&&y&&!_&&W(),k(),y===void 0&&V>l?x?(S=Date.now(),u||(_=setTimeout(y?H:W,l))):W():u!==!0&&(_=setTimeout(y?H:W,y===void 0?l-V:l))}return A.cancel=R,A}function i(l,c,f){var o=f||{},h=o.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",70:"p__Declaration__Research__Project__Edit__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",146:"p__Declaration__Research__ConferenceResearch__Edit__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",233:"p__Declaration__Research__TeachWin__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",492:"p__Declaration__Research__projectconclusion__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",957:"p__Declaration__Research__TeachWin__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",1053:"p__Declaration__Research__projectconclusion__Edit__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",1279:"p__Declaration__Research__Instruction__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",1428:"p__Declaration__Research__teacherwork__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",1538:"p__Declaration__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",2029:"p__Declaration__Review__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2086:"p__Declaration__Research__ConferenceResearch__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",2385:"p__Declaration__Research__Paper__Edit__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",2625:"p__Declaration__Research__TeachCompetition__index",2654:"p__Declaration__Research__SocialServices__Edit__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",3261:"p__Declaration__Research__ResearchAward__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",3417:"p__Declaration__Research__undergraduatework__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",3677:"p__Declaration__Research__IntellectualProperty__Edit__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",3914:"p__Declaration__Filds__index",3935:"p__Classrooms__Lists__GroupHomework__index",3939:"p__Declaration__Research__TeachBook__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3996:"p__Declaration__Research__TeachMeeting__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",4292:"p__Declaration__Research__TeachPaper__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",5017:"p__Declaration__Research__SocialServices__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5089:"p__Declaration__Research__Project__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",5232:"p__Declaration__Research__TeachPaper__Edit__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5301:"p__Declaration__Research__Paper__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",5450:"p__Declaration__Statistics__Teacher__index",5470:"p__Shixuns__Detail__Collaborators__index",5472:"p__Declaration__Research__TeachProject__Edit__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",5781:"p__Declaration__Research__teacherwork__Edit__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5807:"p__Declaration__Research__Monograph__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",5908:"p__Declaration__Research__TechnologyTransfer__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",6290:"p__Declaration__Research__TeachCompetition__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",7280:"p__Declaration__Research__Monograph__Edit__index",7285:"p__Declaration__Home__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",7529:"p__Declaration__Research__IntellectualProperty__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7577:"p__Declaration__Research__WorkloadManage__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7608:"p__Declaration__Research__ResearchAward__Edit__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7676:"p__Declaration__Research__undergraduatework__Edit__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8063:"p__Declaration__Statistics__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",8205:"p__Declaration__Research__TeachProject__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",8902:"p__Declaration__Research__TeachMeeting__Edit__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",9376:"p__Declaration__Innovation__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",9516:"p__Declaration__Research__TechnologyTransfer__Edit__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",9938:"p__Declaration__Statistics__Person__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index",9995:"p__Declaration__Research__TeachBook__Edit__index"}[d]||d)+"."+{26:"3d44d9b8",67:"1164e008",70:"b605d26f",109:"dfab0a90",146:"22459daa",195:"edc50b86",233:"bc8e2828",264:"0dea506d",265:"f28c199a",292:"58c65749",310:"147a52e9",316:"1f60ada6",337:"21191812",342:"81267f35",354:"d4d139cf",470:"0c40d871",479:"222ad745",485:"ac05f467",492:"0db28aec",508:"605d8203",532:"06d30c0c",533:"8cfb95b4",547:"9ddb7845",556:"b398d9f9",559:"4d988a1e",570:"086835bf",576:"a8f4d243",629:"44a1d9a5",643:"4118a673",661:"94ec4899",671:"4a609b8d",672:"456635a3",680:"0d47881f",699:"fcdda647",700:"c767fe73",737:"0ef5558e",741:"ac5fd360",799:"96eee931",869:"b5e964a8",895:"978ae8a8",921:"66adf78b",928:"fbadd512",957:"4cf65f51",981:"24da50c7",1006:"f0d08a53",1043:"ca392bf0",1045:"7005051d",1048:"148c7399",1053:"2a27a09c",1070:"d0423c34",1093:"644a4cbc",1144:"c90eccaf",1148:"5c25f416",1154:"8cb80842",1196:"6beb3137",1211:"1af6bd20",1253:"f67d5064",1257:"d980c931",1265:"6ee25cf6",1274:"5f6ea65a",1276:"3144f496",1279:"3d4f9b34",1343:"a7c41aa2",1416:"c7ad4d84",1423:"8979699d",1427:"87a9d0c5",1428:"9859f1dc",1450:"bbea6da9",1461:"fcec49f1",1462:"fcf08abc",1470:"a3201568",1475:"7b7b5354",1482:"11ee0a06",1512:"bf354e36",1520:"27ae6a3d",1538:"c2bcaf80",1545:"5ba757e8",1578:"cafe3c17",1581:"2ca55c43",1582:"e4b395c5",1646:"e6e27b60",1657:"ee5435db",1660:"1d5b0cd3",1674:"f6d50a8c",1702:"b154920f",1713:"f55cf62f",1717:"01056f64",1727:"e2461977",1783:"defe7fe2",1799:"fd16a875",1831:"2b741732",1836:"162347e0",1855:"373f1139",1880:"bc68a462",1939:"22a5ab49",1953:"bac9bdc5",1962:"5a18ce8b",2011:"59d51f98",2029:"86f42397",2045:"fd25c51c",2076:"6d0342d9",2086:"ef714bef",2102:"afe5fc0b",2141:"907e9d36",2216:"e9fcdacf",2240:"737f9cf5",2249:"f4830452",2254:"cfea0bac",2300:"916242a9",2303:"95cf80a2",2307:"e21a3026",2338:"da563fb2",2339:"2e4c957e",2385:"654575cf",2386:"192e235c",2396:"f1ee34d1",2404:"fde0ec69",2412:"a8ad5756",2425:"1372a983",2443:"ea540b6f",2476:"458f1de1",2494:"68080a87",2501:"0381654d",2529:"6a7e6e14",2538:"de4a3723",2539:"de5f59b9",2548:"1a30e336",2570:"38cd4f66",2594:"e87d3761",2603:"286e6ed0",2625:"7d634ec5",2654:"f05b5525",2659:"9ccbf5c6",2707:"4a746d42",2806:"cefc5b99",2819:"723bd00d",2823:"0ab87c34",2826:"875c9ed9",2829:"38b3a6ce",2837:"54a82605",2865:"b82641f3",2875:"6a231172",2884:"787ac3b5",2969:"ab3357d7",2983:"37ee97ac",3006:"be56cff0",3016:"9b963d70",3133:"9bf3f89c",3141:"6d6e0dc1",3157:"5fdda407",3183:"777c5c68",3198:"8e655451",3212:"4a7cf8ec",3220:"a36ed25d",3247:"b76fac6d",3260:"f23c7194",3261:"f75ca201",3276:"7290f0b6",3282:"d34f5871",3317:"fea196ae",3332:"290c497e",3355:"77a3e371",3356:"3deb962a",3391:"5c98058b",3417:"0e068f2e",3433:"13b971ae",3442:"56ccbb93",3447:"0e808ab8",3451:"21b95c02",3496:"3604a092",3509:"904905ed",3550:"3dc83156",3581:"46bbe070",3585:"41c2ef52",3665:"c0721d54",3668:"751cbbe4",3677:"738f5c06",3697:"481a10d9",3747:"9970c1f2",3754:"93841cea",3777:"d5b0f2f1",3784:"121465cb",3805:"9dbcb95e",3862:"d5eb3dad",3873:"ffa313d7",3885:"f87f7f15",3910:"40046335",3914:"bc1298bb",3935:"9d424a26",3939:"13266eda",3951:"9f79a91c",3987:"5cecd51b",3996:"f31567f5",4014:"27a8e97c",4017:"4bad3a95",4030:"ce211a16",4038:"5382bb91",4056:"85f9d979",4058:"8cc4673a",4078:"960d45d2",4088:"236723f3",4093:"1dd08d74",4105:"aa58500d",4144:"dc9ac47f",4164:"f919dfc0",4216:"a120d958",4217:"65cd425d",4227:"223a5e95",4259:"2ac1bc43",4264:"b6147992",4292:"ffec3429",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4413:"f3c3c585",4449:"4c84e434",4492:"e2287487",4496:"add1353b",4498:"0f4a94ca",4504:"96381e0a",4514:"1bcec51a",4520:"a450f15f",4546:"24c91e0d",4565:"63c7acae",4572:"c8b35dcf",4599:"61def4cb",4601:"70326c42",4610:"2034a195",4621:"8aee896b",4628:"ece2c60c",4662:"f945e8fb",4685:"c33f1528",4715:"d08934e3",4736:"c586c8f1",4741:"783c9d76",4757:"1a448477",4766:"f316aed9",4770:"b32a345a",4775:"b811482a",4790:"619413e4",4795:"bffccf87",4797:"a24e92db",4800:"2cdfb352",4849:"12981948",4850:"1edda4b7",4862:"a05c98a8",4884:"f9b0d964",4889:"cda3781a",4928:"b197ead8",4973:"3526893e",4994:"e24c1e7f",5017:"e6e5c8e3",5022:"00573169",5043:"ea8fa2e9",5048:"e926489e",5060:"85dafcc6",5089:"753032c3",5096:"1d138734",5111:"18f5f24a",5125:"986d8a2f",5148:"d3f60661",5176:"1e01be3e",5179:"a8ceab14",5186:"94be53f9",5191:"3ee4f397",5232:"e76e7690",5238:"248921b4",5290:"5dabcdc2",5297:"e9e91462",5301:"bee6c536",5319:"d01d090b",5321:"1163c84e",5335:"77919e04",5354:"7ae70604",5357:"c4019ce9",5359:"163adebe",5382:"1f87c043",5402:"f3899912",5416:"454536b7",5434:"38b302a6",5450:"7aa93298",5455:"3be83d4c",5470:"34edabe5",5472:"50c4754c",5494:"d89549c4",5518:"a022c9c3",5549:"8e120308",5572:"1354fdab",5573:"66cc902b",5599:"db57dda5",5624:"94879b15",5631:"e00d3d36",5650:"1a871fed",5679:"4a090bef",5705:"b5d2e9fb",5729:"e32dcdc3",5764:"e0d7e586",5775:"63745790",5781:"de7fc385",5786:"f7049f6d",5798:"cdb2fc3b",5807:"599743e9",5816:"de2e56ea",5825:"11bb2b45",5876:"5eded409",5888:"dfee874e",5891:"3d04d199",5895:"11c85919",5902:"ffce04e2",5908:"3f80b252",5915:"a4797b5e",5972:"dafb2eab",5992:"1a395771",6029:"223deaab",6034:"38f75440",6045:"d268f87f",6047:"3ce45acd",6052:"e9bc6c52",6063:"07be411c",6069:"51c4682d",6126:"99519171",6127:"fe1e453e",6170:"bd89a917",6265:"3cb2982f",6270:"a36a38b5",6277:"f5255d7f",6290:"ab9133ea",6328:"11ee70b5",6350:"3d070b03",6366:"99dd6578",6378:"7f3a946a",6411:"3b971528",6434:"9f4f6baa",6444:"d0bf6b76",6452:"25a87f39",6531:"891fd077",6541:"313e5d6b",6583:"00b0d016",6587:"8fe30a8b",6634:"86d45b9f",6651:"72304670",6685:"0993e52b",6729:"ba235d72",6741:"df3b1fee",6758:"a36c7ba0",6774:"59d4d618",6784:"ed828f0c",6788:"e1ed94df",6796:"93f6b0f4",6805:"a443a8a0",6820:"87fa228e",6845:"afecb1fc",6882:"2334dc29",6883:"6cb80143",6904:"7352b80e",6913:"1cdfd8cb",6963:"4cee8534",6982:"25706fa0",7008:"510680ee",7043:"3579d56f",7045:"f61e96b9",7046:"5b288baa",7058:"22023aa8",7062:"160e3208",7084:"46ccce72",7156:"e7466006",7178:"b161e733",7182:"875d1729",7242:"863edb57",7260:"8d8e0d45",7280:"6aad508d",7285:"d3c329ca",7331:"2e27a23b",7333:"0aec9b9d",7365:"1005464f",7395:"6d26babb",7460:"7d34fd62",7477:"5cc4e447",7482:"2910ed1a",7527:"938a36d5",7529:"2d988a22",7545:"ff2cabb0",7560:"b192f1c3",7577:"70905f69",7589:"10ceffec",7591:"c8233ce9",7608:"ccd2e0f6",7614:"bdc098f1",7622:"9544c614",7676:"f1d74a20",7686:"4fcec9f9",7706:"c2a79e40",7806:"3ea1eeef",7852:"416bb81e",7855:"ee77c4d4",7857:"f4776f2d",7878:"b2b1ad05",7884:"63aa9805",7922:"ef3484fe",7948:"d6d92233",7964:"29aed9a1",8014:"794a62da",8062:"352f3731",8063:"c1f05634",8072:"ffd712c1",8077:"f6483fe7",8085:"54254553",8089:"d536b13a",8143:"5551e319",8155:"24234d13",8161:"83c5fa9a",8205:"fd1a0926",8237:"8683561b",8241:"b6b391cf",8302:"2f3b9444",8307:"3487f129",8340:"9c80795a",8350:"07df8a75",8365:"3b0fc154",8398:"a2072a84",8431:"24fae701",8435:"975f50eb",8447:"fb9824b9",8517:"d3e3dbdc",8561:"333e8ec9",8563:"619e80cf",8634:"db65a486",8639:"8bc266b7",8665:"da244279",8688:"77765373",8689:"a50618b7",8723:"31d9339f",8737:"ce7dad23",8776:"0ad26240",8782:"daf43d31",8787:"521c4045",8797:"216cce02",8823:"c22bf978",8827:"efa80c6f",8842:"9f25a3e2",8866:"22ae64b9",8882:"6c3f6e8d",8885:"67f748cc",8898:"d002bcd8",8902:"f59df966",8909:"98823b61",8920:"7f82440c",8963:"790aecdd",8982:"714e405f",8999:"81b983be",9076:"54da8643",9104:"bbcb2345",9133:"9f48d83c",9205:"1435f629",9215:"74a03ee8",9252:"0d791a59",9260:"cf5f8140",9313:"e0b42e83",9332:"04f76013",9360:"db72ebea",9366:"b87b00e7",9376:"e9e06989",9391:"ba8dd6ac",9404:"9fcc3d3e",9408:"fffacc2c",9416:"1ae10c85",9487:"ceee1ed2",9489:"435b8555",9507:"292edfee",9516:"7b953d93",9519:"3a122c87",9554:"ed358e7b",9559:"f794af19",9590:"5853f187",9647:"39a84edb",9649:"e896ed91",9674:"de382d75",9677:"46706c27",9695:"75f827ec",9715:"f73a226d",9716:"0a028f03",9785:"1d342859",9788:"8fce3ace",9890:"fd35aef4",9891:"fbea5ba4",9895:"b8e31ff2",9921:"72ffb9c0",9922:"595dff59",9928:"5989f5e0",9938:"eeb85a2d",9944:"35a37eb7",9950:"74f6dfb2",9968:"17466785",9995:"2e99d8a3"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",70:"p__Declaration__Research__Project__Edit__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",146:"p__Declaration__Research__ConferenceResearch__Edit__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",233:"p__Declaration__Research__TeachWin__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",492:"p__Declaration__Research__projectconclusion__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",957:"p__Declaration__Research__TeachWin__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",1053:"p__Declaration__Research__projectconclusion__Edit__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",1279:"p__Declaration__Research__Instruction__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",1428:"p__Declaration__Research__teacherwork__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",1538:"p__Declaration__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",2029:"p__Declaration__Review__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2086:"p__Declaration__Research__ConferenceResearch__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",2385:"p__Declaration__Research__Paper__Edit__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",2625:"p__Declaration__Research__TeachCompetition__index",2654:"p__Declaration__Research__SocialServices__Edit__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",3261:"p__Declaration__Research__ResearchAward__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",3417:"p__Declaration__Research__undergraduatework__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",3677:"p__Declaration__Research__IntellectualProperty__Edit__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3914:"p__Declaration__Filds__index",3935:"p__Classrooms__Lists__GroupHomework__index",3939:"p__Declaration__Research__TeachBook__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",3996:"p__Declaration__Research__TeachMeeting__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",4292:"p__Declaration__Research__TeachPaper__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",5017:"p__Declaration__Research__SocialServices__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5089:"p__Declaration__Research__Project__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",5232:"p__Declaration__Research__TeachPaper__Edit__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5301:"p__Declaration__Research__Paper__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",5450:"p__Declaration__Statistics__Teacher__index",5470:"p__Shixuns__Detail__Collaborators__index",5472:"p__Declaration__Research__TeachProject__Edit__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",5781:"p__Declaration__Research__teacherwork__Edit__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5807:"p__Declaration__Research__Monograph__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",5908:"p__Declaration__Research__TechnologyTransfer__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",6290:"p__Declaration__Research__TeachCompetition__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",7280:"p__Declaration__Research__Monograph__Edit__index",7285:"p__Declaration__Home__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",7529:"p__Declaration__Research__IntellectualProperty__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7577:"p__Declaration__Research__WorkloadManage__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7608:"p__Declaration__Research__ResearchAward__Edit__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7676:"p__Declaration__Research__undergraduatework__Edit__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8063:"p__Declaration__Statistics__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",8205:"p__Declaration__Research__TeachProject__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",8902:"p__Declaration__Research__TeachMeeting__Edit__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",9376:"p__Declaration__Innovation__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",9516:"p__Declaration__Research__TechnologyTransfer__Edit__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",9938:"p__Declaration__Statistics__Person__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index",9995:"p__Declaration__Research__TeachBook__Edit__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",70:"2bd1bed1",109:"1a7fc455",146:"a97d03cb",195:"65632591",233:"8a4b910a",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",492:"47ea426e",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"4c1ff0fa",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",957:"c985bd0f",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1053:"de715ff5",1070:"e67e9e01",1148:"754fff63",1196:"03cdfb68",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1279:"27e9950f",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1428:"cd183b71",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1538:"d0c9713b",1545:"04d6c7d3",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"08a9e890",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2029:"ad1abbc6",2045:"dcfad42d",2076:"09b07fa0",2086:"3be58587",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2385:"71706e93",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2625:"91933aee",2654:"34617fc2",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"904823c3",2983:"c8c482f7",3006:"7fce4e74",3141:"72791f8b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3261:"8d7ff238",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3417:"28108ef7",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"99f7daed",3668:"86f20630",3677:"176044a4",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3914:"3b542c2b",3935:"cd50aa32",3939:"2bb62050",3951:"4a9249b1",3996:"062d37ae",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"e39011c7",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4292:"ce82aee0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"aca6ff45",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"afeb6eca",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5017:"52f8550b",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5089:"baca593f",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5232:"dc11c918",5238:"3d814a61",5297:"5426028f",5301:"4c239299",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5450:"c6dc8e5c",5470:"b25021a2",5472:"ea09b168",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5781:"1300a259",5786:"37a81eaa",5798:"ce1cf7da",5807:"b42f7279",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5908:"fa502a9a",5915:"bc9c3e69",5972:"c7a91e8e",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"cc24b0fc",6277:"12e50919",6290:"f1d35571",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6583:"7d33505d",6587:"9c49e7fa",6634:"df151169",6651:"b07fe216",6685:"f5f5b969",6729:"aea3b7f5",6741:"b838eb14",6758:"558cc090",6784:"1affe817",6788:"9cd39ff5",6796:"89c76e37",6805:"5b253c81",6820:"cebdf1cf",6845:"b7aabf70",6882:"c2d2eada",6883:"7740a702",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",6982:"3043a9c3",7008:"fe74a83d",7043:"25478869",7045:"48f6fc4c",7046:"c7301ded",7058:"984a456a",7062:"fe78dd10",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7280:"502dfca6",7285:"f1adbccb",7395:"5c10e8d8",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"6b64ff47",7529:"6a5bc8ab",7545:"1f6a7624",7560:"d82e43ca",7577:"809a1d66",7589:"2a3e68f3",7608:"fd79cfde",7614:"de9ee12f",7622:"ca0e645a",7676:"3d4e5d6f",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8063:"4f44db0b",8072:"540f746b",8077:"0b2c51d9",8085:"0b7f10a8",8143:"b6ca83ad",8155:"d345abd7",8205:"8884214e",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"664121ad",8882:"f3e42f72",8885:"de905169",8902:"1ec0798f",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9376:"4f44db0b",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9516:"801f5e52",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9938:"4f44db0b",9944:"1ba31055",9995:"55cf9889"}[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"),o=0;o<f.length;o++){var h=f[o];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,o){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),o(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 o=c[f],h=o.getAttribute("data-href")||o.getAttribute("href");if(o.rel==="stylesheet"&&(h===i||h===l))return o}for(var u=document.getElementsByTagName("style"),f=0;f<u.length;f++){var o=u[f],h=o.getAttribute("data-href");if(h===i||h===l)return o}},e=function(i){return new Promise(function(l,c){var f=__webpack_require__.miniCssF(i),o=__webpack_require__.p+f;if(v(f,o))return l();d(i,o,null,l,c)})},r={4620:0};__webpack_require__.f.miniCss=function(i,l){var c={26:1,67:1,70:1,109:1,146:1,195:1,233:1,264:1,265:1,292:1,310:1,337:1,342:1,479:1,485:1,492: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,957:1,1006:1,1043:1,1045:1,1048:1,1053:1,1070:1,1148:1,1196:1,1211:1,1253:1,1257:1,1265:1,1276:1,1279:1,1343:1,1416:1,1423:1,1427:1,1428:1,1450:1,1461:1,1470:1,1475:1,1482:1,1512:1,1520:1,1538: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,2029:1,2045:1,2076:1,2086:1,2102:1,2141:1,2216:1,2240:1,2254:1,2303:1,2307:1,2338:1,2339:1,2385: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,2625:1,2654: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,3261:1,3276:1,3282:1,3317:1,3332:1,3355:1,3356:1,3391:1,3417:1,3433:1,3442:1,3447:1,3451:1,3496:1,3509:1,3581:1,3585:1,3665:1,3668:1,3677:1,3747:1,3784:1,3873:1,3910:1,3914:1,3935:1,3939:1,3951:1,3996: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,4292: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,5017:1,5022:1,5043:1,5048:1,5089:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5232:1,5238:1,5297:1,5301:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5450:1,5470:1,5472:1,5518:1,5549:1,5572:1,5573:1,5599:1,5624:1,5650:1,5705:1,5729:1,5775:1,5781:1,5786:1,5798:1,5807:1,5816:1,5825:1,5888:1,5891:1,5895:1,5908:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6290:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6583:1,6587:1,6634:1,6651:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7242:1,7260:1,7280:1,7285:1,7395:1,7460:1,7477:1,7482:1,7527:1,7529:1,7545:1,7560:1,7577:1,7589:1,7608:1,7614:1,7622:1,7676:1,7806:1,7852:1,7855:1,7857:1,7878:1,7884:1,7922:1,7948:1,8014:1,8062:1,8063:1,8072:1,8077:1,8085:1,8143:1,8155:1,8205: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,8902:1,8982:1,8999:1,9076:1,9133:1,9205:1,9215:1,9332:1,9360:1,9366:1,9376:1,9391:1,9404:1,9408:1,9416:1,9487:1,9489:1,9507:1,9516: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,9938:1,9944:1,9995: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),o=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;o.message="Loading chunk "+r+` failed.
|
|
|
(`+a+": "+x+")",o.name="ChunkLoadError",o.type=a,o.request=x,l[1](o)}};__webpack_require__.l(f,h,"chunk-"+r,r)}};var v=function(r,i){var l=i[0],c=i[1],f=i[2],o,h,u=0;if(l.some(function(x){return d[x]!==0})){for(o in c)__webpack_require__.o(c,o)&&(__webpack_require__.m[o]=c[o]);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),o=__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),k=__webpack_require__(93074),R=__webpack_require__(96331),A=__webpack_require__(2924),I=__webpack_require__(26425),M=__webpack_require__(32125),B=__webpack_require__(16137),N=__webpack_require__(48435),V=__webpack_require__(11553),W=__webpack_require__(70365),H=__webpack_require__(33717),te=__webpack_require__(17482),ie=__webpack_require__(23708),oe=__webpack_require__(65033),J=__webpack_require__(52732),Q=__webpack_require__(99382),K=__webpack_require__(88437),se=__webpack_require__(68440),ee=__webpack_require__(13412),X=__webpack_require__(11005),le=__webpack_require__(70348),z=__webpack_require__(19801),$=__webpack_require__(91550),ae=__webpack_require__(85223),_e=__webpack_require__(7154),Ie=__webpack_require__(67788),ke=__webpack_require__(96009),We=__webpack_require__(9402),je=__webpack_require__(62489),Mt=__webpack_require__(80881),yt=__webpack_require__(62837),Pt=__webpack_require__(4705),tr=__webpack_require__(13941),Vt=__webpack_require__(1148),lr=__webpack_require__(82445),Ke=__webpack_require__(27267),Ct=__webpack_require__(96353),jt=__webpack_require__(90308),it=__webpack_require__(84818),xt=__webpack_require__(80585),pt=__webpack_require__(89170),et=__webpack_require__(71012),Ze=__webpack_require__(84203),ge=__webpack_require__(22112),Ae=__webpack_require__(81440),Me=__webpack_require__(25430),Ue=__webpack_require__(70105),Ge=__webpack_require__(71390),nt=__webpack_require__(96844),ut=__webpack_require__(83578),Kt=__webpack_require__(69762),Zt=__webpack_require__(76880),De=__webpack_require__(65009),Je=__webpack_require__(28796),Wt=__webpack_require__(56450),Ot=__webpack_require__(78342),zt=__webpack_require__(13161),Ft=__webpack_require__(54226),At=__webpack_require__(70201),Yt=__webpack_require__(34941),Ye=__webpack_require__(85671),ce=__webpack_require__(35152),pe=__webpack_require__(85660),Dt=__webpack_require__(80031),Ce=__webpack_require__(34434),ft=__webpack_require__(83579),Ut=__webpack_require__(74307),St=__webpack_require__(97423),Oe=__webpack_require__(93321),wt=__webpack_require__(82277),ye=__webpack_require__(61425),Xe=__webpack_require__(61873),vt=__webpack_require__(9307),Rt=__webpack_require__(8821),Ne=__webpack_require__(64385),Dr=__webpack_require__(64099),Et=__webpack_require__(62455),Yr=__webpack_require__(79965),Jr=__webpack_require__(59118),Er=__webpack_require__(275),$r=__webpack_require__(31919),_r=__webpack_require__(51284),Hr=__webpack_require__(10177),on=__webpack_require__(85690),pn=__webpack_require__(92114),or=__webpack_require__(1017),kt=__webpack_require__(14480),mt=__webpack_require__(40516),gt=__webpack_require__(76345),Nt=__webpack_require__(7282),Ar=__webpack_require__(58055),vr=__webpack_require__(93547),at=__webpack_require__(31237),Nr=__webpack_require__(17954),bn=__webpack_require__(58580),Yn=__webpack_require__(47146),mr=__webpack_require__(40416),rn=__webpack_require__(7615),gn=__webpack_require__(72820),Mn=__webpack_require__(86070),ai=__webpack_require__(23569),hi=__webpack_require__(55639),Vi=__webpack_require__(63046),Yi=__webpack_require__(464),Ri=__webpack_require__(51082),Ii=__webpack_require__(83850),Ti=__webpack_require__(41990),Ai=__webpack_require__(15787),oi=__webpack_require__(55888),Hi=__webpack_require__(53827),xi=__webpack_require__(78143),xe=__webpack_require__(66419),Kn=__webpack_require__(75765),qn=__webpack_require__(14645),Jn=__webpack_require__(71122),oa=__webpack_require__(42084),Di=__webpack_require__(25070),Ci=__webpack_require__(77140),pi=__webpack_require__(15954),Qt=__webpack_require__(4266),dt=__webpack_require__(49988),rt=__webpack_require__(38823),It=__webpack_require__(24627),ht=__webpack_require__(4045),sr=__webpack_require__(50747),cr=__webpack_require__(43595),Cr=__webpack_require__(92324),Rr=__webpack_require__(23551),He=__webpack_require__(74521),tt=__webpack_require__(57891),we=__webpack_require__(84138),st=__webpack_require__(51832),ar=__webpack_require__(37135),kr=__webpack_require__(6474),Ir=__webpack_require__(40135),xr=__webpack_require__(7982),jr=__webpack_require__(14893),En=__webpack_require__(49233),yr=__webpack_require__(92130),cn=__webpack_require__(42844),an=__webpack_require__(6536),dn=__webpack_require__(27228),mn=__webpack_require__(62921),Oa=__webpack_require__(44001),Ei=__webpack_require__(92262),gi=__webpack_require__(54744),$n=__webpack_require__(38214),Pi=__webpack_require__(12756),Xi=__webpack_require__(93379),Pa=__webpack_require__(62007),qs=__webpack_require__(90572),ja=__webpack_require__(37343),Ws=__webpack_require__(45945),mo=__webpack_require__(75551),as=__webpack_require__(32493),Aa=__webpack_require__(20852),$i=__webpack_require__(46302),Gs=__webpack_require__(18827),_s=__webpack_require__(76718),Js=__webpack_require__(79172),zi=__webpack_require__(32192),Xs=__webpack_require__(42828),No=__webpack_require__(5658),Ga=__webpack_require__(55629),Fs=__webpack_require__(62925),ci=__webpack_require__(9595),oo=__webpack_require__(58127),Fn=__webpack_require__(70917),os=__webpack_require__(53427),Oo=__webpack_require__(70878),eo=__webpack_require__(49257),ha=__webpack_require__(72910),ns=__webpack_require__(34932),Qi=__webpack_require__(81046),js=__webpack_require__(85744),wo=__webpack_require__(13494),Qo=__webpack_require__(56338),Uo=__webpack_require__(66755),uo=__webpack_require__(68709),Eo=__webpack_require__(4939),ko=__webpack_require__(81927),zo=__webpack_require__(60462),Ro=__webpack_require__(72571),Zo=__webpack_require__(71200),eu=__webpack_require__(85767),_i=__webpack_require__(84432),mi=__webpack_require__(59022),us=__webpack_require__(19363),ms=__webpack_require__(51054),Ka=__webpack_require__(60330),Va=__webpack_require__(55234),As=__webpack_require__(88104),uu=__webpack_require__(64336),Ts=__webpack_require__(63914),lu=__webpack_require__(35246),yu=__webpack_require__(83470),Cu=__webpack_require__(79641),Fu=__webpack_require__(72397),xl=__webpack_require__(24860),Ho=__webpack_require__(19320),Lo=__webpack_require__(56233),Mo=__webpack_require__(59419),zu=__webpack_require__(64344),vo=__webpack_require__(5316),Zu=__webpack_require__(93744),Pu=__webpack_require__(19299),cu=__webpack_require__(15286),vu=__webpack_require__(91927),to=__webpack_require__(27730),To=__webpack_require__(58707),fu=__webpack_require__(41356),Xt=__webpack_require__(51606),fr=__webpack_require__(8966),ir=__webpack_require__(38458),dr=__webpack_require__(71957),Sr=__webpack_require__(89466),vn=__webpack_require__(69653),Wn=__webpack_require__(96519),Dn=__webpack_require__(95576),jn=__webpack_require__(63079),ui=__webpack_require__(8995),ei=__webpack_require__(23080),ur=__webpack_require__(74701),Mr=__webpack_require__(91809),Fr=__webpack_require__(77517),Sn=__webpack_require__(30149),Tn=__webpack_require__(55410),_t=__webpack_require__(46161),Un=__webpack_require__(14800),Hn=__webpack_require__(91130),Li=__webpack_require__(2722),ia=__webpack_require__(55885),Kr=__webpack_require__(39034),ba=__webpack_require__(8604),qi=__webpack_require__(64963),Ia=__webpack_require__(25178),lo=__webpack_require__(1905),Ks=__webpack_require__(94306),Wi=__webpack_require__(11762),co=__webpack_require__(93164),fo=__webpack_require__(88900),vs=__webpack_require__(54815),ls=__webpack_require__(81138),Jo=__webpack_require__(37252),So=__webpack_require__(81673),An=__webpack_require__(48966),Ua=__webpack_require__(13015),is=__webpack_require__(78527),Qe=__webpack_require__(20511),Re=__webpack_require__(78366),Lt=__webpack_require__(27427),Ht=__webpack_require__(43890),pr=__webpack_require__(55844),Br=__webpack_require__(71361),Wr=__webpack_require__(44550),yn=__webpack_require__(413),ln=__webpack_require__(77464),xn=__webpack_require__(77703),ti=__webpack_require__(93854),ni=__webpack_require__(962),vi=__webpack_require__(44169),ji=__webpack_require__(56272),ga=__webpack_require__(43466),Ji=__webpack_require__(48156),Mi=__webpack_require__(93236),Da=__webpack_require__(42212),Oi=__webpack_require__(63923),Si=__webpack_require__(2278),Ea=__webpack_require__(36955),Co=__webpack_require__(77326),Us=__webpack_require__(53571),Xa=__webpack_require__(28670),Qa=__webpack_require__(31050),cs=__webpack_require__(25321),Ui=__webpack_require__(96364),La=__webpack_require__(46304),fs=__webpack_require__(55163),ds=__webpack_require__(78722),Fo=__webpack_require__(35977),bs=__webpack_require__(81848),Ba=__webpack_require__(52867),go=__webpack_require__(72211),Ja=__webpack_require__(84862),yo=__webpack_require__(92381),Ra=__webpack_require__(19517),hs=__webpack_require__(69667),ro=__webpack_require__(80820),Ma=__webpack_require__(87873),be=__webpack_require__(54609),Se=__webpack_require__(28566),br=__webpack_require__(51697),tn=__webpack_require__(61872),gr=__webpack_require__(76077),qr=__webpack_require__(9196),On=__webpack_require__(5369),ii=__webpack_require__(26259),Gi=__webpack_require__(47736),zn=__webpack_require__(28220),Zn=__webpack_require__(62060),wn=__webpack_require__(49350),ua=__webpack_require__(20126),es=__webpack_require__(18090),Wo=__webpack_require__(14309),bo=__webpack_require__(17822),Iu=__webpack_require__(83543),Zl=__webpack_require__(13853),wl=__webpack_require__(25188),El=__webpack_require__(10215),Uc=__webpack_require__(3432),Hu=__webpack_require__(90486),Ve=__webpack_require__(6736),Z=__webpack_require__(8774),Y=__webpack_require__(94065),ne=__webpack_require__(93036),he=__webpack_require__(75708),Te=__webpack_require__(84624),qe=__webpack_require__(66233),Tt=__webpack_require__(43710),$t=__webpack_require__(92762),rr=__webpack_require__(24467),Tr=__webpack_require__(68465),Gr=__webpack_require__(77004),fn=__webpack_require__(83925),Cn=__webpack_require__(51117),Bn=__webpack_require__(87236),Xn=__webpack_require__(83733),Fi=__webpack_require__(92044),Zi=__webpack_require__(29190),aa=__webpack_require__(10775),Sa=__webpack_require__(19593),Cs=__webpack_require__(26502),Ps=__webpack_require__(10174),Ds=__webpack_require__(96378),Os=__webpack_require__(58216),ka=__webpack_require__(41401),no=__webpack_require__(79908),xs=__webpack_require__(82531),Pr=__webpack_require__(79890),Po=__webpack_require__(88472),Go=__webpack_require__(38944),bu=__webpack_require__(78423),Bs=__webpack_require__(65713),Ko=__webpack_require__(22968),Du=__webpack_require__(17564),cc=__webpack_require__(1220),Sl=__webpack_require__(44886),ss=__webpack_require__(57019),ll=__webpack_require__(35295),Ns=__webpack_require__(80286),Wu=__webpack_require__(38487),el=__webpack_require__(29916),Vo=__webpack_require__(25541),zs=__webpack_require__(45612),fc=__webpack_require__(34926),xu=__webpack_require__(98080),Hl=__webpack_require__(68255),Io=__webpack_require__(96351),tu=__webpack_require__(16450),cl=__webpack_require__(60244),Wl=__webpack_require__(86921),ru=__webpack_require__(82928),Gl=__webpack_require__(42947),Kl=__webpack_require__(71568),Vl=__webpack_require__(94194),dc=__webpack_require__(30556),io=__webpack_require__(32100),zc=__webpack_require__(93102),Bu=__webpack_require__(1821),fl=__webpack_require__(82074),wu=__webpack_require__(13578),Zc=__webpack_require__(59348),cf=__webpack_require__(62882),fi=__webpack_require__(37457),ff=__webpack_require__(70654),kl=__webpack_require__(90252),hc=__webpack_require__(29482),Rl=__webpack_require__(51630),Hc=__webpack_require__(61933),Ll=__webpack_require__(619),Ou=__webpack_require__(99675),Yl=__webpack_require__(52548),ts=__webpack_require__(53637),$o=__webpack_require__(57482),gu=__webpack_require__(59725),ql=__webpack_require__(17610),Ml=__webpack_require__(56966),ku=__webpack_require__(11507),du=__webpack_require__(16315),If=__webpack_require__(60239),dl=__webpack_require__(49381),Yo=__webpack_require__(17230),tl=__webpack_require__(62720),Tc=__webpack_require__(57151),Xl=__webpack_require__(48732),Ta=__webpack_require__(18481),df=__webpack_require__(55055),hf=__webpack_require__(7195),hl=__webpack_require__(89179),pl=__webpack_require__(90965),Uf=__webpack_require__(67725),Wc=__webpack_require__(59884),Ru=__webpack_require__(89202),Gc=__webpack_require__(97815),Cc=__webpack_require__(11593),Ql=__webpack_require__(7597),Kc=__webpack_require__(55182),Pc=__webpack_require__(34366),Nu=__webpack_require__(85425),_l=__webpack_require__(64522),Ic=__webpack_require__(41599),pf=__webpack_require__(86465),Vc=__webpack_require__(78437),Yc=__webpack_require__(73624),pc=__webpack_require__(62059),_f=__webpack_require__(10305),_c=__webpack_require__(41208),mf=__webpack_require__(25204),ml=__webpack_require__(40061),Lu=__webpack_require__(47803),Vs=__webpack_require__(7893),vf=__webpack_require__(4890),Df=__webpack_require__(5340),Dc=__webpack_require__(61650),ks=__webpack_require__(58246),ho=__webpack_require__(65873),Ao=__webpack_require__(63579),$u=__webpack_require__(87296),Pe=__webpack_require__(59301),Jl=__webpack_require__(4676),qo=__webpack_require__(35338),mc=__webpack_require__(16371);function hu(kn){var ri=kn.id,ea=kn.basename,Na=kn.cb,ca=new URLSearchParams({route:ri,url:window.location.href}).toString(),Ca="".concat(Gu(window.umiServerLoaderPath||ea),"__serverLoader?").concat(ca);fetch(Ca,{credentials:"include"}).then(function(xa){return xa.json()}).then(Na).catch(console.error)}function Gu(){var kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return kn.endsWith("/")?kn:"".concat(kn,"/")}var Al=__webpack_require__(38127),ec=__webpack_require__(38329),Ku=__webpack_require__(8616),rl=["content"],Xo=["content"],gf=/^(http:|https:)?\/\//;function qc(kn){return gf.test(kn)||kn.startsWith("/")&&!kn.startsWith("/*")||kn.startsWith("./")||kn.startsWith("../")}var vc=function(){return Pe.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},vl=function(ri){var ea,Na=ri.loaderData,ca=ri.htmlPageOpts,Ca=ri.manifest,xa=(Ca==null||(ea=Ca.assets)===null||ea===void 0?void 0:ea["umi.css"])||"";return Pe.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Na||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(ca||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(xa,"'")}})};function ju(kn){var ri=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof kn=="string")return qc(kn)?(0,Ao.Z)({src:kn},ri):{content:kn};if((0,Ku.Z)(kn)==="object")return(0,Ao.Z)((0,Ao.Z)({},kn),ri);throw new Error("Invalid script type: ".concat((0,Ku.Z)(kn)))}function Of(kn){return qc(kn)?{type:"link",href:kn}:{type:"style",content:kn}}var yf=function(ri){var ea,Na,ca,Ca,xa,Ms,fa=ri.htmlPageOpts;return Pe.createElement(Pe.Fragment,null,(fa==null?void 0:fa.title)&&Pe.createElement("title",null,fa.title),fa==null||(ea=fa.favicons)===null||ea===void 0?void 0:ea.map(function($s,Xu){return Pe.createElement("link",{key:Xu,rel:"shortcut icon",href:$s})}),(fa==null?void 0:fa.description)&&Pe.createElement("meta",{name:"description",content:fa.description}),(fa==null||(Na=fa.keywords)===null||Na===void 0?void 0:Na.length)&&Pe.createElement("meta",{name:"keywords",content:fa.keywords.join(",")}),fa==null||(ca=fa.metas)===null||ca===void 0?void 0:ca.map(function($s){return Pe.createElement("meta",{key:$s.name,name:$s.name,content:$s.content})}),fa==null||(Ca=fa.links)===null||Ca===void 0?void 0:Ca.map(function($s,Xu){return Pe.createElement("link",(0,ec.Z)({key:Xu},$s))}),fa==null||(xa=fa.styles)===null||xa===void 0?void 0:xa.map(function($s,Xu){var al=Of($s),bl=al.type,Qu=al.href,jl=al.content;if(bl==="link")return Pe.createElement("link",{key:Xu,rel:"stylesheet",href:Qu});if(bl==="style")return Pe.createElement("style",{key:Xu},jl)}),fa==null||(Ms=fa.headScripts)===null||Ms===void 0?void 0:Ms.map(function($s,Xu){var al=ju($s),bl=al.content,Qu=(0,Al.Z)(al,rl);return Pe.createElement("script",(0,ec.Z)({dangerouslySetInnerHTML:{__html:bl},key:Xu},Qu))}))};function Tl(kn){var ri,ea=kn.children,Na=kn.loaderData,ca=kn.manifest,Ca=kn.htmlPageOpts,xa=kn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ms=kn.mountElementId;if(xa!=null&&xa.pureHtml)return Pe.createElement("html",null,Pe.createElement("head",null),Pe.createElement("body",null,Pe.createElement(vc,null),Pe.createElement("div",{id:Ms},ea),Pe.createElement(vl,{manifest:ca,loaderData:Na,htmlPageOpts:Ca})));if(xa!=null&&xa.pureApp)return Pe.createElement(Pe.Fragment,null,ea);var fa=typeof window=="undefined"?ca==null?void 0:ca.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return Pe.createElement("html",{suppressHydrationWarning:!0,lang:(Ca==null?void 0:Ca.lang)||"en"},Pe.createElement("head",null,Pe.createElement("meta",{charSet:"utf-8"}),Pe.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),fa&&Pe.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:fa}),Pe.createElement(yf,{htmlPageOpts:Ca})),Pe.createElement("body",null,Pe.createElement(vc,null),Pe.createElement("div",{id:Ms},ea),Pe.createElement(vl,{manifest:ca,loaderData:Na,htmlPageOpts:Ca}),Ca==null||(ri=Ca.scripts)===null||ri===void 0?void 0:ri.map(function($s,Xu){var al=ju($s),bl=al.content,Qu=(0,Al.Z)(al,Xo);return Pe.createElement("script",(0,ec.Z)({dangerouslySetInnerHTML:{__html:bl},key:Xu},Qu))})))}var Fl=Pe.createContext(void 0);function Xc(){return Pe.useContext(Fl)}var tc=["redirect"];function Eu(kn){var ri=kn.routesById,ea=kn.parentId,Na=kn.routeComponents,ca=kn.useStream,Ca=ca===void 0?!0:ca;return Object.keys(ri).filter(function(xa){return ri[xa].parentId===ea}).map(function(xa){var Ms=Qc((0,Ao.Z)((0,Ao.Z)({route:ri[xa],routeComponent:Na[xa],loadingComponent:kn.loadingComponent,reactRouter5Compat:kn.reactRouter5Compat},kn.reactRouter5Compat&&{hasChildren:Object.keys(ri).filter(function($s){return ri[$s].parentId===xa}).length>0}),{},{useStream:Ca})),fa=Eu({routesById:ri,routeComponents:Na,parentId:Ms.id,loadingComponent:kn.loadingComponent,reactRouter5Compat:kn.reactRouter5Compat,useStream:Ca});return fa.length>0&&(Ms.children=fa,Ms.routes=fa),Ms})}function Oc(kn){var ri=(0,qo.UO)(),ea=(0,qo.Gn)(kn.to,ri),Na=(0,mc.T$)(),ca=(0,qo.TH)();if(Na!=null&&Na.keepQuery){var Ca=ca.search+ca.hash;ea+=Ca}var xa=(0,Ao.Z)((0,Ao.Z)({},kn),{},{to:ea});return Pe.createElement(qo.Fg,(0,ec.Z)({replace:!0},xa))}function Qc(kn){var ri=kn.route,ea=kn.useStream,Na=ea===void 0?!0:ea,ca=ri.redirect,Ca=(0,Al.Z)(ri,tc),xa=kn.reactRouter5Compat?kc:pu;return(0,Ao.Z)({element:ca?Pe.createElement(Oc,{to:ca}):Pe.createElement(Fl.Provider,{value:{route:kn.route}},Pe.createElement(xa,{loader:Pe.memo(kn.routeComponent),loadingComponent:kn.loadingComponent||kf,hasChildren:kn.hasChildren,useStream:Na}))},Ca)}function kf(){return Pe.createElement("div",null)}function kc(kn){var ri=Xc(),ea=ri.route,Na=(0,mc.Ov)(),ca=Na.history,Ca=Na.clientRoutes,xa=(0,qo.UO)(),Ms={params:xa,isExact:!0,path:ea.path,url:ca.location.pathname},fa=kn.loader,$s={location:ca.location,match:Ms,history:ca,params:xa,route:ea,routes:Ca};return kn.useStream?Pe.createElement(Pe.Suspense,{fallback:Pe.createElement(kn.loadingComponent,null)},Pe.createElement(fa,$s,kn.hasChildren&&Pe.createElement(qo.j3,null))):Pe.createElement(fa,$s,kn.hasChildren&&Pe.createElement(qo.j3,null))}function pu(kn){var ri=kn.loader;return kn.useStream?Pe.createElement(Pe.Suspense,{fallback:Pe.createElement(kn.loadingComponent,null)},Pe.createElement(ri,null)):Pe.createElement(ri,null)}var rc=null;function bf(){return rc}function Jc(kn){var ri=kn.history,ea=Pe.useState({action:ri.action,location:ri.location}),Na=(0,$u.Z)(ea,2),ca=Na[0],Ca=Na[1];return(0,Pe.useLayoutEffect)(function(){return ri.listen(Ca)},[ri]),(0,Pe.useLayoutEffect)(function(){function xa(Ms){kn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:kn.routes,clientRoutes:kn.clientRoutes,location:Ms.location,action:Ms.action,basename:kn.basename,isFirst:!!Ms.isFirst}})}return xa({location:ca.location,action:ca.action,isFirst:!0}),ri.listen(xa)},[ri,kn.routes,kn.clientRoutes]),Pe.createElement(qo.F0,{navigator:ri,location:ca.location,basename:kn.basename},kn.children)}function nl(){var kn=(0,mc.Ov)(),ri=kn.clientRoutes;return(0,qo.V$)(ri)}var gc=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],Bl=function(ri,ea){var Na=ri.basename||"/",ca=Eu({routesById:ri.routes,routeComponents:ri.routeComponents,loadingComponent:ri.loadingComponent,reactRouter5Compat:ri.reactRouter5Compat,useStream:ri.useStream});ri.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:ca}});for(var Ca=Pe.createElement(Jc,{basename:Na,pluginManager:ri.pluginManager,routes:ri.routes,clientRoutes:ca,history:ri.history},ea),xa=0,Ms=gc;xa<Ms.length;xa++){var fa=Ms[xa];Ca=ri.pluginManager.applyPlugins({type:"modify",key:fa,initialValue:Ca,args:{routes:ri.routes,history:ri.history,plugin:ri.pluginManager}})}var $s=function(){var al=(0,Pe.useState)({}),bl=(0,$u.Z)(al,2),Qu=bl[0],jl=bl[1],Kf=(0,Pe.useState)(window.__UMI_LOADER_DATA__||{}),wf=(0,$u.Z)(Kf,2),ac=wf[0],Lf=wf[1],ef=(0,Pe.useCallback)(function(tf,rf){var Ju,Vf=(((Ju=(0,qo.fp)(ca,tf,Na))===null||Ju===void 0?void 0:Ju.map(function(sl){return sl.route.id}))||[]).filter(Boolean);Vf.forEach(function(sl){var nf,Mf;if(window.__umi_route_prefetch__){var iu,Ef=(iu=ri.routeComponents[sl])===null||iu===void 0||(iu=iu._payload)===null||iu===void 0?void 0:iu._result;typeof Ef=="function"&&Ef()}var af=(nf=ri.routes[sl])===null||nf===void 0?void 0:nf.clientLoader,Dl=!!af,Fc=(Mf=ri.routes[sl])===null||Mf===void 0?void 0:Mf.hasServerLoader;!rf&&Fc&&!Dl&&!window.__UMI_LOADER_DATA__&&hu({id:sl,basename:Na,cb:function(Bc){Pe.startTransition(function(){Lf(function(Ff){return(0,Ao.Z)((0,Ao.Z)({},Ff),{},(0,ho.Z)({},sl,Bc))})})}});var au=!!Qu[sl],Sf=Dl&&af.hydrate||!Fc,Af=Fc&&!window.__UMI_LOADER_DATA__;Dl&&!au&&(Sf||Af)&&af({serverLoader:function(){return hu({id:sl,basename:Na,cb:function(Ff){Pe.startTransition(function(){Lf(function(Nc){return(0,Ao.Z)((0,Ao.Z)({},Nc),{},(0,ho.Z)({},sl,Ff))})})}})}}).then(function(sf){jl(function(Bc){return(0,Ao.Z)((0,Ao.Z)({},Bc),{},(0,ho.Z)({},sl,sf))})})})},[Qu]);return(0,Pe.useEffect)(function(){return ef(window.location.pathname,!0),ri.history.listen(function(tf){ef(tf.location.pathname)})},[]),(0,Pe.useLayoutEffect)(function(){typeof ri.callback=="function"&&ri.callback()},[]),Pe.createElement(mc.Il.Provider,{value:{routes:ri.routes,routeComponents:ri.routeComponents,clientRoutes:ca,pluginManager:ri.pluginManager,rootElement:ri.rootElement,basename:Na,clientLoaderData:Qu,serverLoaderData:ac,preloadRoute:ef,history:ri.history}},Ca)};return $s};function xf(kn){var ri=kn.rootElement||document.getElementById("root"),ea=Bl(kn,Pe.createElement(nl,null));if(kn.components)return ea;if(kn.hydrate){var Na=window.__UMI_LOADER_DATA__||{},ca=window.__UMI_METADATA_LOADER_DATA__||{},Ca={metadata:ca,loaderData:Na,mountElementId:kn.mountElementId},xa=kn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||kn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;Jl.hydrateRoot(xa?ri:document,xa?Pe.createElement(ea,null):Pe.createElement(Tl,Ca,Pe.createElement(ea,null)));return}if(Jl.createRoot){rc=Jl.createRoot(ri),rc.render(Pe.createElement(ea,null));return}Jl.render(Pe.createElement(ea,null),ri)}var Rc=(kn,ri,ea)=>new Promise((Na,ca)=>{var Ca=fa=>{try{Ms(ea.next(fa))}catch($s){ca($s)}},xa=fa=>{try{Ms(ea.throw(fa))}catch($s){ca($s)}},Ms=fa=>fa.done?Na(fa.value):Promise.resolve(fa.value).then(Ca,xa);Ms((ea=ea.apply(kn,ri)).next())});function Lc(){return Rc(this,null,function*(){return{routes:{1:{path:"/",parentId:"@@/global-layout",id:"1"},2:{path:"/paperlibrary",parentId:"1",id:"2"},3:{path:"/paperlibrary",parentId:"2",id:"3"},4:{path:"/paperlibrary/add",parentId:"2",id:"4"},5:{path:"/paperlibrary/add/:id",parentId:"2",id:"5"},6:{path:"/paperlibrary/see/:id",parentId:"2",id:"6"},7:{path:"/paperlibrary/edit_select/:id",parentId:"2",id:"7"},8:{path:"/paperlibrary/exchangequestion",parentId:"2",id:"8"},9:{path:"/paths",parentId:"1",id:"9"},10:{path:"/paths",parentId:"9",id:"10"},11:{path:"/paths/higherVocationalEducation",parentId:"9",id:"11"},12:{path:"/paths/new",parentId:"9",id:"12"},13:{path:"/paths/guidance",exact:!0,parentId:"9",id:"13"},14:{path:"/paths/:pathId",parentId:"9",id:"14"},15:{path:"/paths/:pathId/statistics",parentId:"9",id:"15"},16:{path:"/paths/:pathId/edit",parentId:"9",id:"16"},17:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/add",parentId:"9",id:"17"},18:{path:"/paths/:pathId/:stageId/program_homework/:categoryId/edit",parentId:"9",id:"18"},19:{path:"/classrooms",parentId:"1",id:"19"},20:{path:"/classrooms",parentId:"19",id:"20"},21:{path:"/classrooms/examList",parentId:"19",id:"21"},22:{path:"/classrooms/classicCases",parentId:"19",id:"22"},23:{path:"/classrooms/index",parentId:"19",id:"23"},24:{path:"/classrooms/new",parentId:"19",id:"24"},25:{path:"/classrooms/:coursesId/edit",parentId:"19",id:"25"},26:{path:"/classrooms/news/:subjectid/newgold/:id",parentId:"19",id:"26"},27:{path:"/classrooms/:coursesId/newgolds/settings",parentId:"19",id:"27"},28:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/review_detail/:userId",parentId:"19",id:"28"},29:{path:"/classrooms/:coursesId/common_homework/:categoryId/review_detail/:userId",parentId:"19",id:"29"},30:{path:"/classrooms/:coursesId/program_homework/:categoryId/review_detail/:userId",parentId:"19",id:"30"},31:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/detail",parentId:"19",id:"31"},32:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"32"},33:{path:"/classrooms/:coursesId/common_homework/:categoryId/:homeworkId/comment",parentId:"19",id:"33"},34:{path:"/classrooms/:coursesId/shixun_homework/:categoryId/:homeworkId/commitsummary",parentId:"19",id:"34"},35:{path:"/classrooms/:coursesId/group_homework/:categoryId/detail",parentId:"19",id:"35"},36:{path:"/classrooms/:coursesId/common_homework/:categoryId/detail",parentId:"19",id:"36"},37:{path:"/classrooms/:coursesId/common_homework/:categoryId/review/:userId",parentId:"19",id:"37"},38:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/review/:userId",parentId:"19",id:"38"},39:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/post",parentId:"19",id:"39"},40:{path:"/classrooms/:coursesId/group_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"40"},41:{path:"/classrooms/:coursesId/exercise/:categoryId/detail/:userId/review_detail",parentId:"19",id:"41"},42:{path:"/classrooms/:coursesId/exercise/:categoryId/detail",parentId:"19",id:"42"},43:{path:"/classrooms/:coursesId/exercise/:categoryId/preview_select",parentId:"19",id:"43"},44:{path:"/classrooms/:coursesId/exercise/:categoryId/:login/initate_answer",parentId:"19",id:"44"},45:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login",parentId:"19",id:"45"},46:{path:"/classrooms/:coursesId/exercisenotice/:categoryId/users/:login",parentId:"19",id:"46"},47:{path:"/classrooms/:coursesId/exercise/:categoryId/random/edit",parentId:"19",id:"47"},48:{path:"/classrooms/:coursesId/exercise/:categoryId/random/preview",parentId:"19",id:"48"},49:{path:"/classrooms/:coursesId/exercise/add",parentId:"19",id:"49"},50:{path:"/classrooms/:coursesId/exercise/add/:exerciseId",parentId:"19",id:"50"},51:{path:"/classrooms/:coursesId/exercise/:exerciseId/reviews/group",parentId:"19",id:"51"},52:{path:"/classrooms/:coursesId/exercise/:exerciseId/review/:userId",parentId:"19",id:"52"},53:{path:"/classrooms/:coursesId/exercise/:exerciseId/centralizeReview/:userId",parentId:"19",id:"53"},54:{path:"/classrooms/:coursesId/exercise/:exerciseId/export_blank",parentId:"19",id:"54"},55:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup",parentId:"19",id:"55"},56:{path:"/classrooms/:coursesId/exercise/:exerciseId/sumup/edit",parentId:"19",id:"56"},57:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId",parentId:"19",id:"57"},58:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId",parentId:"19",id:"58"},59:{path:"/classrooms/:coursesId/exercise/:exerciseId/analysis/:studentId/code",parentId:"19",id:"59"},60:{path:"/classrooms/:coursesId/shixun_homework/:exerciseId/analysis/:studentId/code",parentId:"19",id:"60"},61:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/detail",parentId:"19",id:"61"},62:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/add",parentId:"19",id:"62"},63:{path:"/classrooms/:coursesId/graduation_topics/:categoryId/edit",parentId:"19",id:"63"},64:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/add",parentId:"19",id:"64"},65:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/edit",parentId:"19",id:"65"},66:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId/detail",parentId:"19",id:"66"},67:{path:"/classrooms/:coursesId/common_homework/:categoryId/add",parentId:"19",id:"67"},68:{path:"/classrooms/:coursesId/common_homework/:categoryId/edit",parentId:"19",id:"68"},69:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/post",parentId:"19",id:"69"},70:{path:"/classrooms/:coursesId/common_homework/:commonHomeworkId/:homeworkId/edit",parentId:"19",id:"70"},71:{path:"/classrooms/:coursesId/group_homework/:categoryId/add",parentId:"19",id:"71"},72:{path:"/classrooms/:coursesId/group_homework/:categoryId/edit",parentId:"19",id:"72"},73:{path:"/classrooms/:coursesId/poll/:categoryId/add",parentId:"19",id:"73"},74:{path:"/classrooms/:coursesId/poll/:categoryId/edit",parentId:"19",id:"74"},75:{path:"/classrooms/:coursesId/poll/:categoryId/detail",parentId:"19",id:"75"},76:{path:"/classrooms/:coursesId/poll/:categoryId/users/:login",parentId:"19",id:"76"},77:{path:"/classrooms/:coursesId/poll/:categoryId/questionnaireInfo/:login",parentId:"19",id:"77"},78:{path:"/classrooms/:coursesId/board/:categoryId/Add",parentId:"19",id:"78"},79:{path:"/classrooms/:coursesId/board/:categoryId/Edit/:boardId",parentId:"19",id:"79"},80:{path:"/classrooms/:coursesId/board/:categoryId/Detail/:boardId",parentId:"19",id:"80"},81:{path:"/classrooms/:courseId/template/:templateId",parentId:"19",id:"81"},82:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report/:reportId",parentId:"19",id:"82"},83:{path:"/classrooms/guidance",parentId:"19",id:"83"},84:{path:"/classrooms/:courseId/common_homework/:homeworkId/lab-report-view/:workId",parentId:"19",id:"84"},85:{path:"/classrooms/:coursesId/exercise/:categoryId/users/:login/check",parentId:"19",id:"85"},86:{path:"/classrooms/:coursesId/Studentdetail/:login",parentId:"19",id:"86"},87:{path:"/classrooms/:coursesId/StudentSituation/:categoryId/:login",parentId:"19",id:"87"},88:{path:"/classrooms/:coursesId/engineering/datail",parentId:"19",id:"88"},89:{path:"/classrooms/:coursesId/program_homework/:categoryId/add",parentId:"19",id:"89"},90:{path:"/classrooms/:coursesId/program_homework/:categoryId/edit",parentId:"19",id:"90"},91:{path:"/classrooms/:coursesId/program_homework/ranking",parentId:"19",id:"91"},92:{path:"/classrooms/:coursesId/program_homework/:categoryId/detail",parentId:"19",id:"92"},93:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/ranking",parentId:"19",id:"93"},94:{path:"/classrooms/:coursesId/program_homework/:categoryId/:homeworkId/:user_id/comment",parentId:"19",id:"94"},95:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer",parentId:"19",id:"95"},96:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/add",parentId:"19",id:"96"},97:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/edit",parentId:"19",id:"97"},98:{path:"/classrooms/:coursesId/program_homework/:categoryId/answer/:answerid/detail",parentId:"19",id:"98"},99:{path:"/classrooms/:videoId/video_info",parentId:"19",id:"99"},100:{path:"/classrooms/",parentId:"19",id:"100"},101:{path:"/classrooms/:coursesId/shixun_homework/:categoryId",parentId:"100",id:"101"},102:{path:"/classrooms/:coursesId/shixun_homework",parentId:"100",id:"102"},103:{path:"/classrooms/:coursesId/graduation_topics/:categoryId",parentId:"100",id:"103"},104:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"104"},105:{path:"/classrooms/:coursesId/graduation_tasks/:categoryId",parentId:"100",id:"105"},106:{path:"/classrooms/:coursesId/exercise/:categoryId",parentId:"100",id:"106"},107:{path:"/classrooms/:coursesId/exercise",parentId:"100",id:"107"},108:{path:"/classrooms/:coursesId/poll/:categoryId",parentId:"100",id:"108"},109:{path:"/classrooms/:coursesId/poll",parentId:"100",id:"109"},110:{path:"/classrooms/:coursesId/common_homework/:categoryId",parentId:"100",id:"110"},111:{path:"/classrooms/:coursesId/common_homework",parentId:"100",id:"111"},112:{path:"/classrooms/:coursesId/group_homework/:categoryId",parentId:"100",id:"112"},113:{path:"/classrooms/:coursesId/group_homework",parentId:"100",id:"113"},114:{path:"/classrooms/:coursesId/teachers",parentId:"100",id:"114"},115:{path:"/classrooms/:coursesId/students",parentId:"100",id:"115"},116:{path:"/classrooms/:coursesId/assistant",parentId:"100",id:"116"},117:{path:"/classrooms/:coursesId/program_homework",parentId:"100",id:"117"},118:{path:"/classrooms/:coursesId/program_homework/:categoryId",parentId:"100",id:"118"},119:{path:"/classrooms/:coursesId/engineering",parentId:"100",id:"119"},120:{path:"/classrooms/:coursesId/learning_path",parentId:"100",id:"120"},121:{path:"/classrooms/:coursesId/resource_recommend",parentId:"100",id:"121"},122:{path:"/classrooms/:coursesId/attendance",parentId:"100",id:"122"},123:{path:"/classrooms/:coursesId/attendance/StudetnSign",parentId:"100",id:"123"},124:{path:"/classrooms/:coursesId/attendance/:categoryId/:tabId/detail",parentId:"100",id:"124"},125:{path:"/classrooms/:coursesId/announcement",parentId:"100",id:"125"},126:{path:"/classrooms/:coursesId/announcement/:categoryId",parentId:"100",id:"126"},127:{path:"/classrooms/:coursesId/online_learning",parentId:"100",id:"127"},128:{path:"/classrooms/:coursesId/online_learning/:categoryId",parentId:"100",id:"128"},129:{path:"/classrooms/:coursesId/attachment/:categoryId",parentId:"100",id:"129"},130:{path:"/classrooms/:coursesId/attachment",parentId:"100",id:"130"},131:{path:"/classrooms/:coursesId/video",parentId:"100",id:"131"},132:{path:"/classrooms/:coursesId/video/:categoryId",parentId:"100",id:"132"},133:{path:"/classrooms/:coursesId/video/:categoryId/statistics",parentId:"100",id:"133"},134:{path:"/classrooms/:coursesId/video/:username/upload",parentId:"100",id:"134"},135:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId",parentId:"100",id:"135"},136:{path:"/classrooms/:coursesId/video/:categoryId/statistics/:videoId/:userId",parentId:"100",id:"136"},137:{path:"/classrooms/:coursesId/live_video/:categoryId",parentId:"100",id:"137"},138:{path:"/classrooms/:coursesId/live_video",parentId:"100",id:"138"},139:{path:"/classrooms/:coursesId/video/:categoryId/studentstatistics",parentId:"100",id:"139"},140:{path:"/classrooms/:coursesId/board/:categoryId",parentId:"100",id:"140"},141:{path:"/classrooms/:coursesId/board",parentId:"100",id:"141"},142:{path:"/classrooms/:coursesId/course_group",parentId:"100",id:"142"},143:{path:"/classrooms/:coursesId/course_group/:categoryId",parentId:"100",id:"143"},144:{path:"/classrooms/:coursesId/course_group/:categoryId/detail",parentId:"100",id:"144"},145:{path:"/classrooms/:coursesId/not_course_group/:categoryId",parentId:"100",id:"145"},146:{path:"/classrooms/:coursesId/not_course_group",parentId:"100",id:"146"},147:{path:"/classrooms/:coursesId/statistics/",parentId:"100",id:"147"},148:{path:"/classrooms/:coursesId/statistics/:categoryId",parentId:"100",id:"148"},149:{path:"/classrooms/:coursesId/statistics_video/:categoryId",parentId:"100",id:"149"},150:{path:"/classrooms/:coursesId/statistics_quality/:categoryId",parentId:"100",id:"150"},151:{path:"/classrooms/:coursesId/statistics_user_portrait/:categoryId",parentId:"100",id:"151"},152:{path:"/classrooms/:coursesId/student_statistics/:categoryId",parentId:"100",id:"152"},153:{path:"/classrooms/:coursesId/student_statistics/:categoryId/:listId/:type",parentId:"100",id:"153"},154:{path:"/classrooms/:coursesId/video_statistics/:categoryId/Student/:studentid",parentId:"100",id:"154"},155:{path:"/classrooms/:coursesId/exportlist/:type",parentId:"100",id:"155"},156:{path:"/classrooms/:coursesId",parentId:"100",id:"156"},157:{path:"/classrooms/:coursesId/template",parentId:"100",id:"157"},158:{path:"/competitions",parentId:"1",id:"158"},159:{path:"/competitions/index",parentId:"158",id:"159"},160:{path:"/competitions/:identifier/list",parentId:"158",id:"160"},161:{path:"/competitions/exports",parentId:"158",id:"161"},162:{path:"/competitions",parentId:"158",id:"162"},163:{path:"/competitions/:identifier",parentId:"158",id:"163"},164:{path:"/competitions/index/:identifier",parentId:"158",id:"164"},165:{path:"/competitions/:identifier/detail/enroll",parentId:"158",id:"165"},166:{path:"/competitions/:identifier/detail/UpdateTeanname/:Teannameid",parentId:"158",id:"166"},167:{path:"/competitions/:identifier/detail/teamDetail/:Teamid",parentId:"158",id:"167"},168:{path:"/competitions/detail/:identifier",parentId:"158",id:"168"},169:{path:"/forums",parentId:"1",id:"169"},170:{path:"/forums",parentId:"169",id:"170"},171:{path:"/forums/categories/:memoType",parentId:"169",id:"171"},172:{path:"/forums/new",parentId:"169",id:"172"},173:{path:"/forums/:memoId/edit",parentId:"169",id:"173"},174:{path:"/forums/:memoId",parentId:"169",id:"174"},175:{path:"/problemset",parentId:"1",id:"175"},176:{path:"/problemset",parentId:"175",id:"176"},177:{path:"/problemset/newitem",parentId:"175",id:"177"},178:{path:"/problemset/:type/:id",parentId:"175",id:"178"},179:{path:"/problemset/preview",parentId:"175",id:"179"},180:{path:"/problemset/preview_new",parentId:"175",id:"180"},181:{path:"/problemset/preview_select",parentId:"175",id:"181"},182:{path:"/shixuns",parentId:"1",id:"182"},183:{path:"/shixuns",parentId:"182",id:"183"},184:{path:"/shixuns/exports",parentId:"182",id:"184"},185:{path:"/shixuns/new",parentId:"182",id:"185"},186:{path:"/shixuns/new/CreateImg",parentId:"182",id:"186"},187:{path:"/shixuns/new/:id/imagepreview",parentId:"182",id:"187"},188:{path:"/shixuns/:id/Merge",parentId:"182",id:"188"},189:{path:"/shixuns/:id/Split",parentId:"182",id:"189"},190:{path:"/shixuns/:id/edit",parentId:"182",id:"190"},191:{path:"shixuns/:id/edit/warehouse",parentId:"190",id:"191"},192:{path:"/shixuns/:id/edit/newquestion",parentId:"190",id:"192"},193:{path:"/shixuns/:id/edit/:challengesId/editquestion",parentId:"190",id:"193"},194:{path:"/shixuns/:id/edit/:challengesId/editquestion/:questionId",parentId:"190",id:"194"},195:{path:"/shixuns/:id/edit/new",parentId:"190",id:"195"},196:{path:"/shixuns/:id/edit/:challengesId/editcheckpoint",parentId:"190",id:"196"},197:{path:"/shixuns/:id/edit/:challengesId/tab=2",parentId:"190",id:"197"},198:{path:"/shixuns/:id/edit/:challengesId/tab=3",parentId:"190",id:"198"},199:{path:"/shixuns/:id/edit/:challengesId/tab=4",parentId:"190",id:"199"},200:{path:"/shixuns/:id",parentId:"182",id:"200"},201:{path:"/shixuns/:id/challenges",parentId:"200",id:"201"},202:{path:"/shixuns/:id/repository",parentId:"200",id:"202"},203:{path:"/shixuns/:id/secret_repository",parentId:"200",id:"203"},204:{path:"/shixuns/:id/collaborators",parentId:"200",id:"204"},205:{path:"/shixuns/:id/dataset",parentId:"200",id:"205"},206:{path:"/shixuns/:id/dataset/jupyterEdit",parentId:"200",id:"206"},207:{path:"/shixuns/:id/shixun_discuss",parentId:"200",id:"207"},208:{path:"/shixuns/:id/ranking_list",parentId:"200",id:"208"},209:{path:"/shixuns/:id/settings",parentId:"200",id:"209"},210:{path:"/shixuns/:id/repository/:repoId/commits",parentId:"200",id:"210"},211:{path:"/shixuns/:id/secret_repository/:repoId/commits",parentId:"200",id:"211"},212:{path:"/shixuns/:id/repository/upload_file",parentId:"200",id:"212"},213:{path:"/shixuns/:id/secret_repository/upload_file",parentId:"200",id:"213"},214:{path:"/shixuns/:id/repository/add_file",parentId:"200",id:"214"},215:{path:"/shixuns/:id/secret_repository/add_file",parentId:"200",id:"215"},216:{path:"/shixuns/:id/repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"216"},217:{path:"/shixuns/:id/secret_repository/master/shixun_show/:fileId",exact:!1,parentId:"200",id:"217"},218:{path:"/shixuns/:id/audit_situation",parentId:"200",id:"218"},219:{path:"/shixuns/:id/fork_list",parentId:"200",id:"219"},220:{path:"/users",parentId:"1",id:"220"},221:{path:"/users/:username/videos/protocol",parentId:"220",id:"221"},222:{path:"/users/:username/videos/resourceProtocol",parentId:"220",id:"222"},223:{path:"/users/:username/videos/success",parentId:"220",id:"223"},224:{path:"/users/:username/topicbank/:topicstype",parentId:"220",id:"224"},225:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"220",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"220",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"220",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"220",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"220",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"220",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"220",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"220",id:"232"},233:{path:"/users/:username/experiment-img/add",parentId:"220",id:"233"},234:{path:"/users/:username",parentId:"220",id:"234"},235:{path:"/users/:username",parentId:"234",id:"235"},236:{path:"/users/:username/baseInfo/edit",parentId:"234",id:"236"},237:{path:"/users/:username/baseInfo",parentId:"234",id:"237"},238:{path:"/users/:username/realNameCertification",parentId:"234",id:"238"},239:{path:"/users/:username/careerCertification",parentId:"234",id:"239"},240:{path:"/users/:username/classrooms",parentId:"234",id:"240"},241:{path:"/users/:username/shixuns",parentId:"234",id:"241"},242:{path:"/users/:username/dataSet",parentId:"234",id:"242"},243:{path:"/users/:username/userPortrait",parentId:"234",id:"243"},244:{path:"/users/:username/learningPath",parentId:"234",id:"244"},245:{path:"/users/:username/teach-group",parentId:"234",id:"245"},246:{path:"/users/:username/competitions",parentId:"234",id:"246"},247:{path:"/users/:username/experiment-img",parentId:"234",id:"247"},248:{path:"/users/:username/experiment-img/:experid/detail",parentId:"234",id:"248"},249:{path:"/users/:username/certificate",parentId:"234",id:"249"},250:{path:"/users/:username/otherResources",parentId:"234",id:"250"},251:{path:"/users/:username/classmanagement",parentId:"234",id:"251"},252:{path:"/users/:username/classmanagement/:couserid",parentId:"234",id:"252"},253:{path:"/users/:username/paths",parentId:"234",id:"253"},254:{path:"/users/:username/projects",parentId:"234",id:"254"},255:{path:"/users/:username/videos",parentId:"234",id:"255"},256:{path:"/users/:username/videos/upload",parentId:"234",id:"256"},257:{path:"/users/:username/topics/:topicstype",parentId:"234",id:"257"},258:{path:"/users/:username/vspaces",parentId:"234",id:"258"},259:{path:"/users/:username/resourcesCenter",parentId:"234",id:"259"},260:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"234",id:"260"},261:{path:"/users/:username/resourceGuarantee",parentId:"234",id:"261"},262:{path:"/users/:username/resourceAllocation",parentId:"234",id:"262"},263:{parentId:"1",id:"263"},264:{path:"/problems",parentId:"263",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems/batchAdd",parentId:"264",id:"266"},267:{path:"/problems/newcreate",parentId:"263",id:"267"},268:{path:"/problems/newedit/:id",exact:!0,parentId:"263",id:"268"},269:{path:"/problems/:id/edit",exact:!0,parentId:"263",id:"269"},270:{path:"/problems/new",exact:!0,parentId:"263",id:"270"},271:{path:"/problems/:id/oj/:save_identifier",parentId:"263",id:"271"},272:{path:"/problems/:id/record-detail/:submitId",parentId:"263",id:"272"},273:{path:"/problems/add",parentId:"263",id:"273"},274:{path:"/problems/:id/ojedit",parentId:"263",id:"274"},275:{path:"/engineering",parentId:"1",id:"275"},276:{path:"/engineering",parentId:"275",id:"276"},277:{path:"/engineering/teacherList",parentId:"276",id:"277"},278:{path:"/engineering/studentList",parentId:"276",id:"278"},279:{path:"/engineering/training/program",parentId:"276",id:"279"},280:{path:"/engineering/training/program/add",parentId:"276",id:"280"},281:{path:"/engineering/training/program/edit",parentId:"276",id:"281"},282:{path:"/engineering/training/objectives",parentId:"276",id:"282"},283:{path:"/engineering/graduated/index",parentId:"276",id:"283"},284:{path:"/engineering/graduated/matrix",parentId:"276",id:"284"},285:{path:"/engineering/course/list",parentId:"276",id:"285"},286:{path:"/engineering/course/setting",parentId:"276",id:"286"},287:{path:"/engineering/course/matrix",parentId:"276",id:"287"},288:{path:"/engineering/navigation",parentId:"276",id:"288"},289:{path:"/engineering/evaluate/course",parentId:"276",id:"289"},290:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"276",id:"290"},291:{path:"/engineering/evaluate/norm",parentId:"276",id:"291"},292:{path:"/engineering/evaluate/document",parentId:"276",id:"292"},293:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"276",id:"293"},294:{path:"/engineering/*",redirect:"/404",parentId:"276",id:"294"},295:{path:"/innovation",parentId:"1",id:"295"},296:{path:"/innovation/tasks/:taskId",parentId:"295",id:"296"},297:{path:"/innovation",parentId:"295",id:"297"},298:{path:"/innovation/project",parentId:"297",id:"298"},299:{path:"/innovation/dataset",parentId:"297",id:"299"},300:{path:"/innovation/mirror",parentId:"297",id:"300"},301:{path:"/innovation/my-project",parentId:"297",id:"301"},302:{path:"/innovation/my-dataset",parentId:"297",id:"302"},303:{path:"/innovation/my-mirror",parentId:"297",id:"303"},304:{path:"/innovation/project/create",parentId:"297",id:"304"},305:{path:"/innovation/project/edit/:id",parentId:"297",id:"305"},306:{path:"/innovation/project/detail/:taskId",parentId:"297",id:"306"},307:{path:"/tasks",parentId:"1",id:"307"},308:{path:"/tasks/:taskId",exact:!0,parentId:"307",id:"308"},309:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"307",id:"309"},310:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"307",id:"310"},311:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"307",id:"311"},312:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"307",id:"312"},313:{path:"/myproblems",parentId:"1",id:"313"},314:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"313",id:"314"},315:{path:"/myproblems/:id",exact:!0,parentId:"313",id:"315"},316:{path:"/account",parentId:"1",id:"316"},317:{path:"/account",parentId:"316",id:"317"},318:{path:"/account/profile",parentId:"317",id:"318"},319:{path:"/account/profile/edit",parentId:"317",id:"319"},320:{path:"/account/certification",parentId:"317",id:"320"},321:{path:"/account/secure",parentId:"317",id:"321"},322:{path:"/account/binding",parentId:"317",id:"322"},323:{path:"/account/Results",parentId:"317",id:"323"},324:{path:"/ch",parentId:"1",id:"324"},325:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"324",id:"325"},326:{path:"/ch/rest/",exact:!0,parentId:"324",id:"326"},327:{path:"/ch/rest/:id",exact:!0,parentId:"324",id:"327"},328:{path:"/order",parentId:"1",id:"328"},329:{path:"/order",parentId:"328",id:"329"},330:{path:"/order/invoice",parentId:"328",id:"330"},331:{path:"/order/records",parentId:"328",id:"331"},332:{path:"/order/apply",parentId:"328",id:"332"},333:{path:"/order/view",parentId:"328",id:"333"},334:{path:"/order/:courseId/information",parentId:"328",id:"334"},335:{path:"/order/:courseId/pay",parentId:"328",id:"335"},336:{path:"/order/:orderNum/result",parentId:"328",id:"336"},337:{path:"/messages",parentId:"1",id:"337"},338:{path:"/messages/:userId/user_tidings",parentId:"337",id:"338"},339:{path:"/messages/:userId/private_messages",parentId:"337",id:"339"},340:{path:"/messages/:userId/message_detail",parentId:"337",id:"340"},341:{path:"/vtrs",parentId:"1",id:"341"},342:{path:"/vtrs/:virtual_spacesId",parentId:"341",id:"342"},343:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"342",id:"344"},345:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"342",id:"345"},346:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"342",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"342",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"342",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"342",id:"349"},350:{path:"/vtrs/:virtual_spacesId/survey",parentId:"342",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"342",id:"351"},352:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"342",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"342",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"342",id:"354"},355:{path:"/vtrs/:virtual_spacesId/material",parentId:"342",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"342",id:"356"},357:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"342",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"342",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"342",id:"359"},360:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"342",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"342",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"342",id:"362"},363:{path:"/vtrs/:virtual_spacesId/settings",parentId:"342",id:"363"},364:{path:"/vtrs/:virtual_spacesId/resources",parentId:"342",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"342",id:"365"},366:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"342",id:"366"},367:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"342",id:"367"},368:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"342",id:"368"},369:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"342",id:"369"},370:{path:"/vtrs/:virtual_spacesId/*",parentId:"342",id:"370"},371:{path:"/101",parentId:"1",id:"371"},372:{path:"/101/:virtual_spacesId",parentId:"371",id:"372"},373:{path:"/101/:virtual_spacesId",exact:!0,parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"372",id:"374"},375:{path:"/101/:virtual_spacesId/experiment",parentId:"372",id:"375"},376:{path:"/101/:virtual_spacesId/announcement",parentId:"372",id:"376"},377:{path:"/101/:virtual_spacesId/announcement/add",parentId:"372",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"372",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"372",id:"379"},380:{path:"/101/:virtual_spacesId/survey",parentId:"372",id:"380"},381:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"372",id:"381"},382:{path:"/101/:virtual_spacesId/knowledge",parentId:"372",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"372",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"372",id:"384"},385:{path:"/101/:virtual_spacesId/material",parentId:"372",id:"385"},386:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"372",id:"386"},387:{path:"/101/:virtual_spacesId/lesson",parentId:"372",id:"387"},388:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"372",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"372",id:"389"},390:{path:"/101/:virtual_spacesId/discussion",parentId:"372",id:"390"},391:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"372",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"372",id:"392"},393:{path:"/101/:virtual_spacesId/settings",parentId:"372",id:"393"},394:{path:"/101/:virtual_spacesId/resources",parentId:"372",id:"394"},395:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"372",id:"395"},396:{path:"/101/:virtual_spacesId/Plan",parentId:"372",id:"396"},397:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"372",id:"397"},398:{path:"/101/:virtual_spacesId/digtal",parentId:"372",id:"398"},399:{path:"/101/:virtual_spacesId/homepage",parentId:"372",id:"399"},400:{path:"/101/:virtual_spacesId/*",parentId:"372",id:"400"},401:{path:"/administration",parentId:"1",id:"401"},402:{path:"/administration",parentId:"401",id:"402"},403:{path:"/administration/college",parentId:"402",id:"403"},404:{path:"/administration/student",parentId:"402",id:"404"},405:{path:"/administration/student/:studentId/edit",parentId:"402",id:"405"},406:{path:"/administration/profession",parentId:"402",id:"406"},407:{path:"/graduations",parentId:"1",id:"407"},408:{path:"/graduations",exact:!0,parentId:"407",id:"408"},409:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"407",id:"409"},410:{path:"/graduations/:id",parentId:"407",id:"410"},411:{path:"/graduations/:id/index",parentId:"410",id:"411"},412:{path:"/graduations/:id/topics",parentId:"410",id:"412"},413:{path:"/graduations/:id/student_selection",parentId:"410",id:"413"},414:{path:"/graduations/:id/tasks",parentId:"410",id:"414"},415:{path:"/graduations/:id/opening_report",parentId:"410",id:"415"},416:{path:"/graduations/:id/midterm_report",parentId:"410",id:"416"},417:{path:"/graduations/:id/thesis",parentId:"410",id:"417"},418:{path:"/graduations/:id/final_defense",parentId:"410",id:"418"},419:{path:"/graduations/:id/final_thesis",parentId:"410",id:"419"},420:{path:"/graduations/:id/settings",parentId:"410",id:"420"},421:{path:"/graduations/:id/teachers",parentId:"410",id:"421"},422:{path:"/graduations/:id/students",parentId:"410",id:"422"},423:{path:"/graduations/:id/archives",parentId:"410",id:"423"},424:{path:"/graduations/:id/grading_summary",parentId:"410",id:"424"},425:{path:"/dataset",parentId:"1",id:"425"},426:{path:"/dataset",exact:!0,parentId:"425",id:"426"},427:{path:"/dataset/:id/detail",exact:!0,parentId:"425",id:"427"},428:{path:"/knowledgegraph",parentId:"1",id:"428"},429:{path:"/knowledgegraph/:pathId",parentId:"428",id:"429"},430:{path:"/knowledgegraph/:pathId/statistics",parentId:"428",id:"430"},431:{path:"/declaration",parentId:"1",id:"431"},432:{path:"/declaration",parentId:"431",id:"432"},433:{path:"/declaration/home",parentId:"432",id:"433"},434:{path:"/declaration/fileds",parentId:"432",id:"434"},435:{path:"/declaration/review",parentId:"432",id:"435"},436:{path:"/declaration/innovation",parentId:"432",id:"436"},437:{path:"/declaration/statistics",parentId:"432",id:"437"},438:{path:"/declaration/statistics/person",parentId:"432",id:"438"},439:{path:"/declaration/statistics/teacher",parentId:"432",id:"439"},440:{path:"/declaration/research/instruction",parentId:"432",id:"440"},441:{path:"/declaration/research/paper",parentId:"432",id:"441"},442:{path:"/declaration/research/teachCompetition",parentId:"432",id:"442"},443:{path:"/declaration/research/teachProject",parentId:"432",id:"443"},444:{path:"/declaration/research/workloadManage",parentId:"432",id:"444"},445:{path:"/declaration/research/socialServices",parentId:"432",id:"445"},446:{path:"/declaration/research/projectconclusion",parentId:"432",id:"446"},447:{path:"/declaration/research/teacherwork",parentId:"432",id:"447"},448:{path:"/declaration/research/undergraduatework",parentId:"432",id:"448"},449:{path:"/declaration/research/teachWin",parentId:"432",id:"449"},450:{path:"/declaration/research/teachPaper",parentId:"432",id:"450"},451:{path:"/declaration/research/teachBook",parentId:"432",id:"451"},452:{path:"/declaration/research/teachMeeting",parentId:"432",id:"452"},453:{path:"/declaration/research/project",parentId:"432",id:"453"},454:{path:"/declaration/research/monograph",parentId:"432",id:"454"},455:{path:"/declaration/research/intellectualProperty",parentId:"432",id:"455"},456:{path:"/declaration/research/researchAward",parentId:"432",id:"456"},457:{path:"/declaration/research/technologyTransfer",parentId:"432",id:"457"},458:{path:"/declaration/research/conferenceResearch",parentId:"432",id:"458"},459:{path:"/declaration/research/paper/edit",parentId:"431",id:"459"},460:{path:"/declaration/research/teachCompetition/edit",parentId:"431",id:"460"},461:{path:"/declaration/research/teachProject/edit",parentId:"431",id:"461"},462:{path:"/declaration/research/socialServices/edit",parentId:"431",id:"462"},463:{path:"/declaration/research/projectconclusion/edit",parentId:"431",id:"463"},464:{path:"/declaration/research/teacherwork/edit",parentId:"431",id:"464"},465:{path:"/declaration/research/undergraduatework/edit",parentId:"431",id:"465"},466:{path:"/declaration/research/teachWin/edit",parentId:"431",id:"466"},467:{path:"/declaration/research/teachPaper/edit",parentId:"431",id:"467"},468:{path:"/declaration/research/teachBook/edit",parentId:"431",id:"468"},469:{path:"/declaration/research/teachMeeting/edit",parentId:"431",id:"469"},470:{path:"/declaration/research/project/edit",parentId:"431",id:"470"},471:{path:"/declaration/research/monograph/edit",parentId:"431",id:"471"},472:{path:"/declaration/research/intellectualProperty/edit",parentId:"431",id:"472"},473:{path:"/declaration/research/researchAward/edit",parentId:"431",id:"473"},474:{path:"/declaration/research/technologyTransfer/edit",parentId:"431",id:"474"},475:{path:"/declaration/research/conferenceResearch/edit",parentId:"431",id:"475"},476:{path:"/declaration/research/paper/review",parentId:"431",id:"476"},477:{path:"/declaration/research/teachCompetition/review",parentId:"431",id:"477"},478:{path:"/declaration/research/teachProject/review",parentId:"431",id:"478"},479:{path:"/declaration/research/socialServices/review",parentId:"431",id:"479"},480:{path:"/declaration/research/projectconclusion/review",parentId:"431",id:"480"},481:{path:"/declaration/research/teacherwork/review",parentId:"431",id:"481"},482:{path:"/declaration/research/undergraduatework/review",parentId:"431",id:"482"},483:{path:"/declaration/research/teachWin/review",parentId:"431",id:"483"},484:{path:"/declaration/research/teachPaper/review",parentId:"431",id:"484"},485:{path:"/declaration/research/teachBook/review",parentId:"431",id:"485"},486:{path:"/declaration/research/teachMeeting/review",parentId:"431",id:"486"},487:{path:"/declaration/research/project/review",parentId:"431",id:"487"},488:{path:"/declaration/research/monograph/review",parentId:"431",id:"488"},489:{path:"/declaration/research/intellectualProperty/review",parentId:"431",id:"489"},490:{path:"/declaration/research/researchAward/review",parentId:"431",id:"490"},491:{path:"/declaration/research/technologyTransfer/review",parentId:"431",id:"491"},492:{path:"/declaration/research/conferenceResearch/review",parentId:"431",id:"492"},493:{path:"/declaration/research/paper/view",parentId:"431",id:"493"},494:{path:"/declaration/research/teachCompetition/view",parentId:"431",id:"494"},495:{path:"/declaration/research/teachProject/view",parentId:"431",id:"495"},496:{path:"/declaration/research/socialServices/view",parentId:"431",id:"496"},497:{path:"/declaration/research/projectconclusion/view",parentId:"431",id:"497"},498:{path:"/declaration/research/teacherwork/view",parentId:"431",id:"498"},499:{path:"/declaration/research/undergraduatework/view",parentId:"431",id:"499"},500:{path:"/declaration/research/teachWin/view",parentId:"431",id:"500"},501:{path:"/declaration/research/teachPaper/view",parentId:"431",id:"501"},502:{path:"/declaration/research/teachBook/view",parentId:"431",id:"502"},503:{path:"/declaration/research/teachMeeting/view",parentId:"431",id:"503"},504:{path:"/declaration/research/project/view",parentId:"431",id:"504"},505:{path:"/declaration/research/monograph/view",parentId:"431",id:"505"},506:{path:"/declaration/research/intellectualProperty/view",parentId:"431",id:"506"},507:{path:"/declaration/research/researchAward/view",parentId:"431",id:"507"},508:{path:"/declaration/research/technologyTransfer/view",parentId:"431",id:"508"},509:{path:"/declaration/research/conferenceResearch/view",parentId:"431",id:"509"},510:{path:"/onlinenum",parentId:"1",id:"510"},511:{path:"/onlinenum",parentId:"510",id:"511"},512:{path:"/shixuncontext",parentId:"1",id:"512"},513:{path:"/shixuncontext",parentId:"512",id:"513"},514:{path:"/shixuncontext/:Id/detail",parentId:"512",id:"514"},515:{path:"/educoder-demo",exact:!0,parentId:"1",id:"515"},516:{path:"/training",parentId:"1",id:"516"},517:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"516",id:"517"},518:{path:"/largeScreen",exact:!0,parentId:"1",id:"518"},519:{path:"/quality",parentId:"1",id:"519"},520:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"519",id:"520"},521:{path:"/otherlogin",exact:!0,parentId:"1",id:"521"},522:{path:"/otherloginqq",exact:!0,parentId:"1",id:"522"},523:{path:"/otherloginstart",exact:!0,parentId:"1",id:"523"},524:{path:"/pathsoverview",exact:!0,parentId:"1",id:"524"},525:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"525"},526:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"526"},527:{path:"/login",parentId:"1",id:"527"},528:{path:"/login",parentId:"527",id:"528"},529:{path:"/user",parentId:"1",id:"529"},530:{path:"/user/login",parentId:"529",id:"530"},531:{path:"/user/register",parentId:"529",id:"531"},532:{path:"/user/reset-password",parentId:"529",id:"532"},533:{path:"/colleges",parentId:"1",id:"533"},534:{path:"/colleges/:id/statistics",parentId:"533",id:"534"},535:{path:"/help",parentId:"1",id:"535"},536:{path:"/help/:id",parentId:"535",id:"536"},537:{path:"/video",parentId:"1",id:"537"},538:{path:"/video/:videoId",parentId:"537",id:"538"},539:{path:"/terminal",parentId:"1",id:"539"},540:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"540"},541:{path:"/",parentId:"1",id:"541"},542:{path:"/",exact:!0,parentId:"541",id:"542"},543:{path:"/api/*",exact:!0,parentId:"541",id:"543"},544:{path:"/search",exact:!0,parentId:"541",id:"544"},545:{path:"/moop_cases",exact:!0,parentId:"541",id:"545"},546:{path:"/moop_cases/new",exact:!0,parentId:"541",id:"546"},547:{path:"/moop_cases/:caseId",exact:!0,parentId:"541",id:"547"},548:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"541",id:"548"},549:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"541",id:"549"},550:{path:"/randompaper",exact:!0,parentId:"541",id:"550"},551:{path:"/randompaper/edit/:id",exact:!0,parentId:"541",id:"551"},552:{path:"/randompaper/detail/:id",exact:!0,parentId:"541",id:"552"},553:{path:"/403",parentId:"541",id:"553"},554:{path:"/500",parentId:"541",id:"554"},555:{path:"/404",parentId:"541",id:"555"},556:{path:"/download",parentId:"541",id:"556"},557:{path:"/iwce",parentId:"541",id:"557"},558:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"541",id:"558"},559:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"541",id:"559"},560:{path:"/Activities",parentId:"541",id:"560"},561:{path:"/iwce/:itemname",parentId:"541",id:"561"},562:{path:"/hpc-course",parentId:"541",id:"562"},563:{path:"/user_agents",parentId:"541",id:"563"},564:{path:"/three",parentId:"541",id:"564"},565:{path:"/introduction",parentId:"541",id:"565"},566:{path:"/chatgpt",parentId:"541",id:"566"},567:{path:"/*",parentId:"541",id:"567"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:Pe.lazy(()=>__webpack_require__.e(4775).then(__webpack_require__.bind(__webpack_require__,54775))),2:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),3:Pe.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,71269))),4:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,64971))),5:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,64971))),6:Pe.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,41934))),7:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(699),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,49902))),8:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(699),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,94997))),9:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),10:Pe.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,60034))),11:Pe.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,58088))),12:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,37996))),13:Pe.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,31953))),14:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,30538))),15:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,93731))),16:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,37996))),17:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(699),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,49902))),18:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(699),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,49902))),19:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),20:Pe.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,82395))),21:Pe.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,70097))),22:Pe.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,78871))),23:Pe.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,82395))),24:Pe.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,15780))),25:Pe.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,15780))),26:Pe.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,36298))),27:Pe.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,36298))),28:Pe.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,14690))),29:Pe.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,60318))),30:Pe.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,60170))),31:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,82831))),32:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,79637))),33:Pe.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,23564))),34:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,70101))),35:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,1961))),36:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,8296))),37:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,78681))),38:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,88343))),39:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,33459))),40:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,87298))),41:Pe.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,15096))),42:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,30493))),43:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(699),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,49902))),44:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,12008))),45:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,41371))),46:Pe.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,54185))),47:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,47661))),48:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,85150))),49:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,22807))),50:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,22807))),51:Pe.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,16125))),52:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(1093),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,88595))),53:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(1093),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,88595))),54:Pe.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,63970))),55:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,8384))),56:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,59263))),57:Pe.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,794))),58:Pe.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,794))),59:Pe.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,59845))),60:Pe.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,59845))),61:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,38160))),62:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,37324))),63:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,14307))),64:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,46701))),65:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,33578))),66:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,38906))),67:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,96457))),68:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,77278))),69:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,28159))),70:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,42335))),71:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,96087))),72:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,85218))),73:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,87521))),74:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,53206))),75:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,68489))),76:Pe.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,60772))),77:Pe.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,94870))),78:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,80295))),79:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,72728))),80:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,39897))),81:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,95546))),82:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,54305))),83:Pe.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,31953))),84:Pe.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,12150))),85:Pe.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,75423))),86:Pe.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,64553))),87:Pe.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,16129))),88:Pe.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,9121))),89:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,47127))),90:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,47127))),91:Pe.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,49242))),92:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,44239))),93:Pe.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,57893))),94:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,16202))),95:Pe.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,31688))),96:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,43996))),97:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,47221))),98:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,99281))),99:Pe.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,76332))),100:Pe.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,16949))),101:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,76907))),102:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,76907))),103:Pe.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,38115))),104:Pe.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,22248))),105:Pe.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,22248))),106:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,64768))),107:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,64768))),108:Pe.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,29147))),109:Pe.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,29147))),110:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(661),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,48968))),111:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(661),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,48968))),112:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(661),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,71319))),113:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(661),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,71319))),114:Pe.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,29901))),115:Pe.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,40193))),116:Pe.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,91664))),117:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,79686))),118:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,79686))),119:Pe.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,15533))),120:Pe.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,91038))),121:Pe.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,95648))),122:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,61015))),123:Pe.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,40592))),124:Pe.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29760))),125:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,21132))),126:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,21132))),127:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,38766))),128:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,38766))),129:Pe.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,88661))),130:Pe.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,88661))),131:Pe.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,19697))),132:Pe.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,19697))),133:Pe.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,82621))),134:Pe.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,68011))),135:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,42435))),136:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,46459))),137:Pe.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,31158))),138:Pe.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,31158))),139:Pe.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,8812))),140:Pe.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,26948))),141:Pe.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,26948))),142:Pe.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,49709))),143:Pe.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,49709))),144:Pe.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,13192))),145:Pe.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,72392))),146:Pe.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,72392))),147:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,15992))),148:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,15992))),149:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,34823))),150:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,90429))),151:Pe.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,12590))),152:Pe.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,71259))),153:Pe.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,3232))),154:Pe.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,51150))),155:Pe.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,97129))),156:Pe.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,37491))),157:Pe.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,20486))),158:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),159:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(470),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,33509))),160:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(470),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,33509))),161:Pe.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,85793))),162:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(470),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,33509))),163:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9313),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,90090))),164:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9313),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,90090))),165:Pe.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,44083))),166:Pe.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,83364))),167:Pe.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,3240))),168:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9313),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,40944))),169:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),170:Pe.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,68742))),171:Pe.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,13042))),172:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,93485))),173:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,93485))),174:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,77711))),175:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),176:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(699),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,49902))),177:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,74982))),178:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,74982))),179:Pe.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,75147))),180:Pe.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37184))),181:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(699),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,49902))),182:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),183:Pe.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,45800))),184:Pe.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,40874))),185:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,6499))),186:Pe.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,16893))),187:Pe.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,94430))),188:Pe.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,1189))),189:Pe.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,90845))),190:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(3016),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,74487))),191:Pe.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,79241))),192:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,16365))),193:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,16889))),194:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,16889))),195:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,86220))),196:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,86220))),197:Pe.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,47348))),198:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,9749))),199:Pe.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,9351))),200:Pe.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,90503))),201:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,26751))),202:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,97939))),203:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,97939))),204:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,34469))),205:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,6081))),206:Pe.lazy(()=>Promise.all([__webpack_require__.e(3016),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,94555))),207:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,33249))),208:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,58010))),209:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,25305))),210:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,59041))),211:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,59041))),212:Pe.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,19312))),213:Pe.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,19312))),214:Pe.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,59616))),215:Pe.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,59616))),216:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,97939))),217:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,97939))),218:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84177))),219:Pe.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,45279))),220:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),221:Pe.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,32473))),222:Pe.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,51235))),223:Pe.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,23931))),224:Pe.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,45258))),225:Pe.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,75404))),226:Pe.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,75404))),227:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,3376))),228:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,73943))),229:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,20349))),230:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,61882))),231:Pe.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,43724))),232:Pe.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,72408))),233:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,89674))),234:Pe.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,57242))),235:Pe.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,10933))),236:Pe.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,65793))),237:Pe.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,22086))),238:Pe.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,99111))),239:Pe.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,64598))),240:Pe.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,10933))),241:Pe.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,30661))),242:Pe.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,87291))),243:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,38779))),244:Pe.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,82791))),245:Pe.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,82164))),246:Pe.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,72354))),247:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,80733))),248:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,79165))),249:Pe.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,93385))),250:Pe.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,94176))),251:Pe.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,46183))),252:Pe.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,65469))),253:Pe.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,71855))),254:Pe.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,93722))),255:Pe.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,37082))),256:Pe.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,2441))),257:Pe.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,70722))),258:Pe.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,34002))),259:Pe.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,33918))),260:Pe.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,5946))),261:Pe.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,86367))),262:Pe.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,599))),263:Pe.lazy(()=>__webpack_require__.e(4775).then(__webpack_require__.bind(__webpack_require__,54775))),264:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),265:Pe.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,88929))),266:Pe.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,3444))),267:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,61620))),268:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,61620))),269:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,43327))),270:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,43327))),271:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,11909))),272:Pe.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,71216))),273:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,82542))),274:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,82542))),275:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),276:Pe.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,82276))),277:Pe.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,27723))),278:Pe.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,74148))),279:Pe.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,85553))),280:Pe.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,87576))),281:Pe.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,706))),282:Pe.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,24038))),283:Pe.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,37919))),284:Pe.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,24641))),285:Pe.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,51957))),286:Pe.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,87239))),287:Pe.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,1350))),288:Pe.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,89130))),289:Pe.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,84850))),290:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,50324))),291:Pe.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,67602))),292:Pe.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,20923))),293:Pe.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,19994))),294:Pe.lazy(()=>__webpack_require__.e(4775).then(__webpack_require__.bind(__webpack_require__,54775))),295:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),296:Pe.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,58134))),297:Pe.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,57811))),298:Pe.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,72762))),299:Pe.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,79929))),300:Pe.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,12762))),301:Pe.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,54756))),302:Pe.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,92874))),303:Pe.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,15624))),304:Pe.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,78816))),305:Pe.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,78816))),306:Pe.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,85233))),307:Pe.lazy(()=>__webpack_require__.e(4775).then(__webpack_require__.bind(__webpack_require__,54775))),308:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(1093),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,90357))),309:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,26175))),310:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(1093),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,90357))),311:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,26175))),312:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(1093),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,90357))),313:Pe.lazy(()=>__webpack_require__.e(4775).then(__webpack_require__.bind(__webpack_require__,54775))),314:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,85806))),315:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1093),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,73441))),316:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),317:Pe.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,54612))),318:Pe.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,51113))),319:Pe.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,80191))),320:Pe.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,12969))),321:Pe.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,82379))),322:Pe.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,11350))),323:Pe.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,92536))),324:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),325:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,34633))),326:Pe.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,57335))),327:Pe.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,57335))),328:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),329:Pe.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,27535))),330:Pe.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,86567))),331:Pe.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,24548))),332:Pe.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,29775))),333:Pe.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,18543))),334:Pe.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,27294))),335:Pe.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,65007))),336:Pe.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,53026))),337:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),338:Pe.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,60289))),339:Pe.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,74801))),340:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,8556))),341:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),342:Pe.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,46136))),343:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,95396))),344:Pe.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,61285))),345:Pe.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,1622))),346:Pe.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,8557))),347:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,98015))),348:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,98015))),349:Pe.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,33114))),350:Pe.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,79673))),351:Pe.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,68779))),352:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,82451))),353:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,50754))),354:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,50754))),355:Pe.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,1861))),356:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,99750))),357:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,25686))),358:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,79889))),359:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,79889))),360:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,80872))),361:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,70356))),362:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,70356))),363:Pe.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,97578))),364:Pe.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,83163))),365:Pe.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,48469))),366:Pe.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,70009))),367:Pe.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,52676))),368:Pe.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,88911))),369:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,95396))),370:Pe.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,99334))),371:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),372:Pe.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,46136))),373:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,95396))),374:Pe.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,61285))),375:Pe.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,1622))),376:Pe.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,8557))),377:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,98015))),378:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,98015))),379:Pe.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,33114))),380:Pe.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,79673))),381:Pe.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,68779))),382:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,82451))),383:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,50754))),384:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,50754))),385:Pe.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,1861))),386:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,99750))),387:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,25686))),388:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,79889))),389:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,79889))),390:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,80872))),391:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,70356))),392:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,70356))),393:Pe.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,97578))),394:Pe.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,83163))),395:Pe.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,48469))),396:Pe.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,70009))),397:Pe.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,52676))),398:Pe.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,88911))),399:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,95396))),400:Pe.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,99334))),401:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),402:Pe.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,47549))),403:Pe.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,68289))),404:Pe.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,39639))),405:Pe.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,96681))),406:Pe.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,34794))),407:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),408:Pe.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,82456))),409:Pe.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,11243))),410:Pe.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,35675))),411:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,27196))),412:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,81694))),413:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,11637))),414:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,4838))),415:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,96900))),416:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,96900))),417:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,96900))),418:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,96900))),419:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,96900))),420:Pe.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,88069))),421:Pe.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,47224))),422:Pe.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,47224))),423:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,43719))),424:Pe.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,13239))),425:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),426:Pe.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,49096))),427:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,55315))),428:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),429:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,27575))),430:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,7208))),431:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),432:Pe.lazy(()=>__webpack_require__.e(1538).then(__webpack_require__.bind(__webpack_require__,67948))),433:Pe.lazy(()=>__webpack_require__.e(7285).then(__webpack_require__.bind(__webpack_require__,13502))),434:Pe.lazy(()=>__webpack_require__.e(3914).then(__webpack_require__.bind(__webpack_require__,4720))),435:Pe.lazy(()=>__webpack_require__.e(2029).then(__webpack_require__.bind(__webpack_require__,92413))),436:Pe.lazy(()=>__webpack_require__.e(9376).then(__webpack_require__.bind(__webpack_require__,75951))),437:Pe.lazy(()=>__webpack_require__.e(8063).then(__webpack_require__.bind(__webpack_require__,35862))),438:Pe.lazy(()=>__webpack_require__.e(9938).then(__webpack_require__.bind(__webpack_require__,71930))),439:Pe.lazy(()=>__webpack_require__.e(5450).then(__webpack_require__.bind(__webpack_require__,1996))),440:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(1279)]).then(__webpack_require__.bind(__webpack_require__,64779))),441:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5301)]).then(__webpack_require__.bind(__webpack_require__,29753))),442:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2625)]).then(__webpack_require__.bind(__webpack_require__,70669))),443:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8205)]).then(__webpack_require__.bind(__webpack_require__,43601))),444:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7577)]).then(__webpack_require__.bind(__webpack_require__,54465))),445:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5017)]).then(__webpack_require__.bind(__webpack_require__,78081))),446:Pe.lazy(()=>__webpack_require__.e(492).then(__webpack_require__.bind(__webpack_require__,67289))),447:Pe.lazy(()=>__webpack_require__.e(1428).then(__webpack_require__.bind(__webpack_require__,33831))),448:Pe.lazy(()=>__webpack_require__.e(3417).then(__webpack_require__.bind(__webpack_require__,66472))),449:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(233)]).then(__webpack_require__.bind(__webpack_require__,2714))),450:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4292)]).then(__webpack_require__.bind(__webpack_require__,97897))),451:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3939)]).then(__webpack_require__.bind(__webpack_require__,54455))),452:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3996)]).then(__webpack_require__.bind(__webpack_require__,2087))),453:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5089)]).then(__webpack_require__.bind(__webpack_require__,86875))),454:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5807)]).then(__webpack_require__.bind(__webpack_require__,32645))),455:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7529)]).then(__webpack_require__.bind(__webpack_require__,71946))),456:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(3261)]).then(__webpack_require__.bind(__webpack_require__,70251))),457:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5908)]).then(__webpack_require__.bind(__webpack_require__,99605))),458:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(2086)]).then(__webpack_require__.bind(__webpack_require__,9502))),459:Pe.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,86653))),460:Pe.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,37914))),461:Pe.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,36599))),462:Pe.lazy(()=>__webpack_require__.e(2654).then(__webpack_require__.bind(__webpack_require__,85637))),463:Pe.lazy(()=>__webpack_require__.e(1053).then(__webpack_require__.bind(__webpack_require__,46291))),464:Pe.lazy(()=>__webpack_require__.e(5781).then(__webpack_require__.bind(__webpack_require__,81552))),465:Pe.lazy(()=>__webpack_require__.e(7676).then(__webpack_require__.bind(__webpack_require__,46833))),466:Pe.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,11653))),467:Pe.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,63006))),468:Pe.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,43630))),469:Pe.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,5058))),470:Pe.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,75330))),471:Pe.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,45774))),472:Pe.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,35310))),473:Pe.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,12845))),474:Pe.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,70173))),475:Pe.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,87149))),476:Pe.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,86653))),477:Pe.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,37914))),478:Pe.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,36599))),479:Pe.lazy(()=>__webpack_require__.e(2654).then(__webpack_require__.bind(__webpack_require__,85637))),480:Pe.lazy(()=>__webpack_require__.e(1053).then(__webpack_require__.bind(__webpack_require__,46291))),481:Pe.lazy(()=>__webpack_require__.e(5781).then(__webpack_require__.bind(__webpack_require__,81552))),482:Pe.lazy(()=>__webpack_require__.e(7676).then(__webpack_require__.bind(__webpack_require__,46833))),483:Pe.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,11653))),484:Pe.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,63006))),485:Pe.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,43630))),486:Pe.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,5058))),487:Pe.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,75330))),488:Pe.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,45774))),489:Pe.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,35310))),490:Pe.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,12845))),491:Pe.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,70173))),492:Pe.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,87149))),493:Pe.lazy(()=>__webpack_require__.e(2385).then(__webpack_require__.bind(__webpack_require__,86653))),494:Pe.lazy(()=>__webpack_require__.e(6290).then(__webpack_require__.bind(__webpack_require__,37914))),495:Pe.lazy(()=>__webpack_require__.e(5472).then(__webpack_require__.bind(__webpack_require__,36599))),496:Pe.lazy(()=>__webpack_require__.e(2654).then(__webpack_require__.bind(__webpack_require__,85637))),497:Pe.lazy(()=>__webpack_require__.e(1053).then(__webpack_require__.bind(__webpack_require__,46291))),498:Pe.lazy(()=>__webpack_require__.e(5781).then(__webpack_require__.bind(__webpack_require__,81552))),499:Pe.lazy(()=>__webpack_require__.e(7676).then(__webpack_require__.bind(__webpack_require__,46833))),500:Pe.lazy(()=>__webpack_require__.e(957).then(__webpack_require__.bind(__webpack_require__,11653))),501:Pe.lazy(()=>__webpack_require__.e(5232).then(__webpack_require__.bind(__webpack_require__,63006))),502:Pe.lazy(()=>__webpack_require__.e(9995).then(__webpack_require__.bind(__webpack_require__,43630))),503:Pe.lazy(()=>__webpack_require__.e(8902).then(__webpack_require__.bind(__webpack_require__,5058))),504:Pe.lazy(()=>__webpack_require__.e(70).then(__webpack_require__.bind(__webpack_require__,75330))),505:Pe.lazy(()=>__webpack_require__.e(7280).then(__webpack_require__.bind(__webpack_require__,45774))),506:Pe.lazy(()=>__webpack_require__.e(3677).then(__webpack_require__.bind(__webpack_require__,35310))),507:Pe.lazy(()=>__webpack_require__.e(7608).then(__webpack_require__.bind(__webpack_require__,12845))),508:Pe.lazy(()=>__webpack_require__.e(9516).then(__webpack_require__.bind(__webpack_require__,70173))),509:Pe.lazy(()=>__webpack_require__.e(146).then(__webpack_require__.bind(__webpack_require__,87149))),510:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),511:Pe.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,65685))),512:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),513:Pe.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,24120))),514:Pe.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,30667))),515:Pe.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,86731))),516:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),517:Pe.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,97040))),518:Pe.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,36194))),519:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),520:Pe.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,10479))),521:Pe.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,92456))),522:Pe.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,90842))),523:Pe.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,94715))),524:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,58826))),525:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,34482))),526:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,70529))),527:Pe.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,24526))),528:Pe.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,40218))),529:Pe.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,78107))),530:Pe.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,40218))),531:Pe.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,23554))),532:Pe.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,57470))),533:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),534:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,41390))),535:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),536:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,44749))),537:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),538:Pe.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,82664))),539:Pe.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,95279))),540:Pe.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,68513))),541:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,89206))),542:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(470),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,76284))),543:Pe.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,98663))),544:Pe.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,93257))),545:Pe.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,31955))),546:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,26185))),547:Pe.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,43691))),548:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,26185))),549:Pe.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,40166))),550:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,47661))),551:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,47661))),552:Pe.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,94527))),553:Pe.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,85166))),554:Pe.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,5265))),555:Pe.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,88515))),556:Pe.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,28429))),557:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,53926))),558:Pe.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,15416))),559:Pe.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,61015))),560:Pe.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,27954))),561:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,53926))),562:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,53926))),563:Pe.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,65301))),564:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,44513))),565:Pe.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,32294))),566:Pe.lazy(()=>Promise.all([__webpack_require__.e(6350),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,34928))),567:Pe.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,88515))),"@@/global-layout":Pe.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,80245)))}}})}var Rf=__webpack_require__(15702),il=__webpack_require__(40059),Nl=__webpack_require__(71418),nc=__webpack_require__(21934),ma=()=>Pe.createElement(Nl.Z,{size:"middle",className:nc.Z.loading}),po=__webpack_require__(92123),_o=__webpack_require__(56656),Qn=__webpack_require__.n(_o),Vu=__webpack_require__(91392),C=__webpack_require__.n(Vu),D=__webpack_require__(29256),L=__webpack_require__.n(D),me=__webpack_require__(81626),ze=__webpack_require__.n(me),un=__webpack_require__(71912),li=__webpack_require__.n(un),la=__webpack_require__(48228),na=__webpack_require__.n(la),ws=__webpack_require__(27112),Ys=__webpack_require__.n(ws),si=__webpack_require__(36867),Rs=__webpack_require__.n(si),nu=__webpack_require__(53501),ao=__webpack_require__.n(nu),xo=__webpack_require__(22982),Cl=__webpack_require__.n(xo),$l=__webpack_require__(54449),yc=__webpack_require__.n($l),Pl=__webpack_require__(10564),gl=__webpack_require__.n(Pl),Yu=__webpack_require__(92468),bc=__webpack_require__.n(Yu),Su=__webpack_require__(27082),yl=__webpack_require__.n(Su);Qn().extend(L()),Qn().extend(ze()),Qn().extend(li()),Qn().extend(na()),Qn().extend(Ys()),Qn().extend(Rs()),Qn().extend(ao()),Qn().extend(Cl()),Qn().extend(yc()),Qn().extend(gl()),Qn().extend(bc()),Qn().extend(yl()),Qn().extend(C());var Ls=Object.defineProperty,qu=Object.getOwnPropertySymbols,xc=Object.prototype.hasOwnProperty,_u=Object.prototype.propertyIsEnumerable,Il=(kn,ri,ea)=>ri in kn?Ls(kn,ri,{enumerable:!0,configurable:!0,writable:!0,value:ea}):kn[ri]=ea,ic=(kn,ri)=>{for(var ea in ri||(ri={}))xc.call(ri,ea)&&Il(kn,ea,ri[ea]);if(qu)for(var ea of qu(ri))_u.call(ri,ea)&&Il(kn,ea,ri[ea]);return kn},Mc=(kn,ri,ea)=>new Promise((Na,ca)=>{var Ca=fa=>{try{Ms(ea.next(fa))}catch($s){ca($s)}},xa=fa=>{try{Ms(ea.throw(fa))}catch($s){ca($s)}},Ms=fa=>fa.done?Na(fa.value):Promise.resolve(fa.value).then(Ca,xa);Ms((ea=ea.apply(kn,ri)).next())});const Uu="/react/build/",Au=!1;function Tu(){return Mc(this,null,function*(){const kn=(0,Rf.gD)(),{routes:ri,routeComponents:ea}=yield Lc(kn);yield kn.applyPlugins({key:"patchRoutes",type:po.ApplyPluginsType.event,args:{routes:ri,routeComponents:ea}});const Na=kn.applyPlugins({key:"modifyContextOpts",type:po.ApplyPluginsType.modify,initialValue:{}}),ca=Na.basename||"/",Ca=Na.historyType||"browser",xa=(0,il.fi)(ic({type:Ca,basename:ca},Na.historyOpts));return kn.applyPlugins({key:"render",type:po.ApplyPluginsType.compose,initialValue(){const Ms={useStream:!0,routes:ri,routeComponents:ea,pluginManager:kn,mountElementId:"root",rootElement:Na.rootElement||document.getElementById("root"),loadingComponent:ma,publicPath:Uu,runtimePublicPath:Au,history:xa,historyType:Ca,basename:ca,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Na.callback},fa=kn.applyPlugins({key:"modifyClientRenderOpts",type:po.ApplyPluginsType.modify,initialValue:Ms});return xf(fa)}})()})}Tu(),typeof window!="undefined"&&(window.g_umi={version:"4.5.0"})})()})();
|