|
|
(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return ue},blueDark:function(){return Ne},cyan:function(){return ie},cyanDark:function(){return Ze},geekblue:function(){return q},geekblueDark:function(){return Lt},generate:function(){return A},gold:function(){return Y},goldDark:function(){return se},gray:function(){return ee},green:function(){return ae},greenDark:function(){return De},grey:function(){return oe},greyDark:function(){return jt},lime:function(){return G},limeDark:function(){return Ie},magenta:function(){return K},magentaDark:function(){return kt},orange:function(){return j},orangeDark:function(){return $},presetDarkPalettes:function(){return Wt},presetPalettes:function(){return Q},presetPrimaryColors:function(){return D},purple:function(){return J},purpleDark:function(){return bt},red:function(){return M},redDark:function(){return le},volcano:function(){return B},volcanoDark:function(){return Z},yellow:function(){return V},yellowDark:function(){return _e}});var r=e(4635);const i=Math.round;function l(zt,We){const St=zt.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],Ft=St.map(tt=>parseFloat(tt));for(let tt=0;tt<3;tt+=1)Ft[tt]=We(Ft[tt]||0,St[tt]||"",tt);return St[3]?Ft[3]=St[3].includes("%")?Ft[3]/100:Ft[3]:Ft[3]=1,Ft}const c=(zt,We,St)=>St===0?zt:zt/100;function f(zt,We){const St=We||255;return zt>St?St:zt<0?0:zt}class o{constructor(We){(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 St(Ft){return Ft[0]in We&&Ft[1]in We&&Ft[2]in We}if(We)if(typeof We=="string"){let tt=function(_t){return Ft.startsWith(_t)};const Ft=We.trim();/^#?[A-F\d]{3,8}$/i.test(Ft)?this.fromHexString(Ft):tt("rgb")?this.fromRgbString(Ft):tt("hsl")?this.fromHslString(Ft):(tt("hsv")||tt("hsb"))&&this.fromHsvString(Ft)}else if(We instanceof o)this.r=We.r,this.g=We.g,this.b=We.b,this.a=We.a,this._h=We._h,this._s=We._s,this._l=We._l,this._v=We._v;else if(St("rgb"))this.r=f(We.r),this.g=f(We.g),this.b=f(We.b),this.a=typeof We.a=="number"?f(We.a,1):1;else if(St("hsl"))this.fromHsl(We);else if(St("hsv"))this.fromHsv(We);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(We))}setR(We){return this._sc("r",We)}setG(We){return this._sc("g",We)}setB(We){return this._sc("b",We)}setA(We){return this._sc("a",We,1)}setHue(We){const St=this.toHsv();return St.h=We,this._c(St)}getLuminance(){function We(_t){const dt=_t/255;return dt<=.03928?dt/12.92:Math.pow((dt+.055)/1.055,2.4)}const St=We(this.r),Ft=We(this.g),tt=We(this.b);return .2126*St+.7152*Ft+.0722*tt}getHue(){if(typeof this._h=="undefined"){const We=this.getMax()-this.getMin();We===0?this._h=0:this._h=i(60*(this.r===this.getMax()?(this.g-this.b)/We+(this.g<this.b?6:0):this.g===this.getMax()?(this.b-this.r)/We+2:(this.r-this.g)/We+4))}return this._h}getSaturation(){if(typeof this._s=="undefined"){const We=this.getMax()-this.getMin();We===0?this._s=0:this._s=We/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(We=10){const St=this.getHue(),Ft=this.getSaturation();let tt=this.getLightness()-We/100;return tt<0&&(tt=0),this._c({h:St,s:Ft,l:tt,a:this.a})}lighten(We=10){const St=this.getHue(),Ft=this.getSaturation();let tt=this.getLightness()+We/100;return tt>1&&(tt=1),this._c({h:St,s:Ft,l:tt,a:this.a})}mix(We,St=50){const Ft=this._c(We),tt=St/100,_t=qe=>(Ft[qe]-this[qe])*tt+this[qe],dt={r:i(_t("r")),g:i(_t("g")),b:i(_t("b")),a:i(_t("a")*100)/100};return this._c(dt)}tint(We=10){return this.mix({r:255,g:255,b:255,a:1},We)}shade(We=10){return this.mix({r:0,g:0,b:0,a:1},We)}onBackground(We){const St=this._c(We),Ft=this.a+St.a*(1-this.a),tt=_t=>i((this[_t]*this.a+St[_t]*St.a*(1-this.a))/Ft);return this._c({r:tt("r"),g:tt("g"),b:tt("b"),a:Ft})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(We){return this.r===We.r&&this.g===We.g&&this.b===We.b&&this.a===We.a}clone(){return this._c(this)}toHexString(){let We="#";const St=(this.r||0).toString(16);We+=St.length===2?St:"0"+St;const Ft=(this.g||0).toString(16);We+=Ft.length===2?Ft:"0"+Ft;const tt=(this.b||0).toString(16);if(We+=tt.length===2?tt:"0"+tt,typeof this.a=="number"&&this.a>=0&&this.a<1){const _t=i(this.a*255).toString(16);We+=_t.length===2?_t:"0"+_t}return We}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const We=this.getHue(),St=i(this.getSaturation()*100),Ft=i(this.getLightness()*100);return this.a!==1?`hsla(${We},${St}%,${Ft}%,${this.a})`:`hsl(${We},${St}%,${Ft}%)`}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(We,St,Ft){const tt=this.clone();return tt[We]=f(St,Ft),tt}_c(We){return new this.constructor(We)}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(We){const St=We.replace("#","");function Ft(tt,_t){return parseInt(St[tt]+St[_t||tt],16)}St.length<6?(this.r=Ft(0),this.g=Ft(1),this.b=Ft(2),this.a=St[3]?Ft(3)/255:1):(this.r=Ft(0,1),this.g=Ft(2,3),this.b=Ft(4,5),this.a=St[6]?Ft(6,7)/255:1)}fromHsl({h:We,s:St,l:Ft,a:tt}){if(this._h=We%360,this._s=St,this._l=Ft,this.a=typeof tt=="number"?tt:1,St<=0){const ze=i(Ft*255);this.r=ze,this.g=ze,this.b=ze}let _t=0,dt=0,qe=0;const Be=We/60,Ee=(1-Math.abs(2*Ft-1))*St,Re=Ee*(1-Math.abs(Be%2-1));Be>=0&&Be<1?(_t=Ee,dt=Re):Be>=1&&Be<2?(_t=Re,dt=Ee):Be>=2&&Be<3?(dt=Ee,qe=Re):Be>=3&&Be<4?(dt=Re,qe=Ee):Be>=4&&Be<5?(_t=Re,qe=Ee):Be>=5&&Be<6&&(_t=Ee,qe=Re);const He=Ft-Ee/2;this.r=i((_t+He)*255),this.g=i((dt+He)*255),this.b=i((qe+He)*255)}fromHsv({h:We,s:St,v:Ft,a:tt}){this._h=We%360,this._s=St,this._v=Ft,this.a=typeof tt=="number"?tt:1;const _t=i(Ft*255);if(this.r=_t,this.g=_t,this.b=_t,St<=0)return;const dt=We/60,qe=Math.floor(dt),Be=dt-qe,Ee=i(Ft*(1-St)*255),Re=i(Ft*(1-St*Be)*255),He=i(Ft*(1-St*(1-Be))*255);switch(qe){case 0:this.g=He,this.b=Ee;break;case 1:this.r=Re,this.b=Ee;break;case 2:this.r=Ee,this.b=He;break;case 3:this.r=Ee,this.g=Re;break;case 4:this.r=He,this.g=Ee;break;case 5:default:this.g=Ee,this.b=Re;break}}fromHsvString(We){const St=l(We,c);this.fromHsv({h:St[0],s:St[1],v:St[2],a:St[3]})}fromHslString(We){const St=l(We,c);this.fromHsl({h:St[0],s:St[1],l:St[2],a:St[3]})}fromRgbString(We){const St=l(We,(Ft,tt)=>tt.includes("%")?i(Ft/100*255):Ft);this.r=St[0],this.g=St[1],this.b=St[2],this.a=St[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(zt,We,St){var Ft;return Math.round(zt.h)>=60&&Math.round(zt.h)<=240?Ft=St?Math.round(zt.h)-h*We:Math.round(zt.h)+h*We:Ft=St?Math.round(zt.h)+h*We:Math.round(zt.h)-h*We,Ft<0?Ft+=360:Ft>=360&&(Ft-=360),Ft}function k(zt,We,St){if(zt.h===0&&zt.s===0)return zt.s;var Ft;return St?Ft=zt.s-u*We:We===_?Ft=zt.s+u:Ft=zt.s+a*We,Ft>1&&(Ft=1),St&&We===y&&Ft>.1&&(Ft=.1),Ft<.06&&(Ft=.06),Math.round(Ft*100)/100}function R(zt,We,St){var Ft;return St?Ft=zt.v+x*We:Ft=zt.v-p*We,Ft=Math.max(0,Math.min(1,Ft)),Math.round(Ft*100)/100}function A(zt){for(var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},St=[],Ft=new o(zt),tt=Ft.toHsv(),_t=y;_t>0;_t-=1){var dt=new o({h:S(tt,_t,!0),s:k(tt,_t,!0),v:R(tt,_t,!0)});St.push(dt)}St.push(Ft);for(var qe=1;qe<=_;qe+=1){var Be=new o({h:S(tt,qe),s:k(tt,qe),v:R(tt,qe)});St.push(Be)}return We.theme==="dark"?b.map(function(Ee){var Re=Ee.index,He=Ee.amount;return new o(We.backgroundColor||"#141414").mix(St[Re],He).toHexString()}):St.map(function(Ee){return Ee.toHexString()})}var D={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var j=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];j.primary=j[5];var Y=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Y.primary=Y[5];var V=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];V.primary=V[5];var G=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];G.primary=G[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ie=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ie.primary=ie[5];var ue=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];ue.primary=ue[5];var q=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];q.primary=q[5];var J=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];J.primary=J[5];var K=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];K.primary=K[5];var oe=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];oe.primary=oe[5];var ee=oe,Q={red:M,volcano:B,orange:j,gold:Y,yellow:V,lime:G,green:ae,cyan:ie,blue:ue,geekblue:q,purple:J,magenta:K,grey:oe},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 se=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];se.primary=se[5];var _e=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];_e.primary=_e[5];var Ie=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Ie.primary=Ie[5];var De=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];De.primary=De[5];var Ze=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];Ze.primary=Ze[5];var Ne=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];Ne.primary=Ne[5];var Lt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Lt.primary=Lt[5];var bt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];bt.primary=bt[5];var kt=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];kt.primary=kt[5];var jt=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];jt.primary=jt[5];var Wt={red:le,volcano:Z,orange:$,gold:se,yellow:_e,lime:Ie,green:De,cyan:Ze,blue:Ne,geekblue:Lt,purple:bt,magenta:kt,grey:jt}},93083:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return Js},NaNLinter:function(){return $a},StyleContext:function(){return ie},StyleProvider:function(){return ae},Theme:function(){return kt},_experimental:function(){return Au},createCache:function(){return V},createTheme:function(){return Wt},extractStyle:function(){return So},genCalc:function(){return De},getComputedToken:function(){return mr},legacyLogicalPropertiesTransformer:function(){return jo},legacyNotSelectorLinter:function(){return vs},logicalPropertiesLinter:function(){return Ys},parentSelectorLinter:function(){return ja},px2remTransformer:function(){return hu},token2CSSVar:function(){return Le},unit:function(){return nr},useCSSVarRegister:function(){return Oo},useCacheToken:function(){return nn},useStyleRegister:function(){return qa}});var r=e(50298),i=e(4635),l=e(95190),c=e(20439);function f(tr){for(var hr=0,ur,vr=0,wr=tr.length;wr>=4;++vr,wr-=4)ur=tr.charCodeAt(vr)&255|(tr.charCodeAt(++vr)&255)<<8|(tr.charCodeAt(++vr)&255)<<16|(tr.charCodeAt(++vr)&255)<<24,ur=(ur&65535)*1540483477+((ur>>>16)*59797<<16),ur^=ur>>>24,hr=(ur&65535)*1540483477+((ur>>>16)*59797<<16)^(hr&65535)*1540483477+((hr>>>16)*59797<<16);switch(wr){case 3:hr^=(tr.charCodeAt(vr+2)&255)<<16;case 2:hr^=(tr.charCodeAt(vr+1)&255)<<8;case 1:hr^=tr.charCodeAt(vr)&255,hr=(hr&65535)*1540483477+((hr>>>16)*59797<<16)}return hr^=hr>>>13,hr=(hr&65535)*1540483477+((hr>>>16)*59797<<16),((hr^hr>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(62646),p=e(80547),y=e(13697),_=e(99153),b=e(84851),S="%";function k(tr){return tr.join(S)}var R=function(){function tr(hr){(0,_.Z)(this,tr),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),this.instanceId=hr}return(0,b.Z)(tr,[{key:"get",value:function(ur){return this.opGet(k(ur))}},{key:"opGet",value:function(ur){return this.cache.get(ur)||null}},{key:"update",value:function(ur,vr){return this.opUpdate(k(ur),vr)}},{key:"opUpdate",value:function(ur,vr){var wr=this.cache.get(ur),vn=vr(wr);vn===null?this.cache.delete(ur):this.cache.set(ur,vn)}}]),tr}(),A=R,D=["children"],M="data-token-hash",B="data-css-hash",j="data-cache-path",Y="__cssinjs_instance__";function V(){var tr=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var hr=document.body.querySelectorAll("style[".concat(B,"]"))||[],ur=document.head.firstChild;Array.from(hr).forEach(function(wr){wr[Y]=wr[Y]||tr,wr[Y]===tr&&document.head.insertBefore(wr,ur)});var vr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(wr){var vn=wr.getAttribute(B);if(vr[vn]){if(wr[Y]===tr){var xn;(xn=wr.parentNode)===null||xn===void 0||xn.removeChild(wr)}}else vr[vn]=!0})}return new A(tr)}var G=u.createContext({hashPriority:"low",cache:V(),defaultCache:!0}),ae=function(hr){var ur=hr.children,vr=(0,x.Z)(hr,D),wr=u.useContext(G),vn=(0,p.Z)(function(){var xn=(0,c.Z)({},wr);Object.keys(vr).forEach(function(Rn){var Kn=vr[Rn];vr[Rn]!==void 0&&(xn[Rn]=Kn)});var Nn=vr.cache;return xn.cache=xn.cache||V(),xn.defaultCache=!Nn&&wr.defaultCache,xn},[wr,vr],function(xn,Nn){return!(0,y.Z)(xn[0],Nn[0],!0)||!(0,y.Z)(xn[1],Nn[1],!0)});return u.createElement(G.Provider,{value:vn},ur)},ie=G,ue=e(93664),q=e(47273),J=e(13028),K=e(19257),oe=e(93046),ee=(0,b.Z)(function tr(){(0,_.Z)(this,tr)}),Q=ee,le="CALC_UNIT",Z=new RegExp(le,"g");function $(tr){return typeof tr=="number"?"".concat(tr).concat(le):tr}var se=function(tr){(0,K.Z)(ur,tr);var hr=(0,oe.Z)(ur);function ur(vr,wr){var vn;(0,_.Z)(this,ur),vn=hr.call(this),(0,i.Z)((0,J.Z)(vn),"result",""),(0,i.Z)((0,J.Z)(vn),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(vn),"lowPriority",void 0);var xn=(0,ue.Z)(vr);return vn.unitlessCssVar=wr,vr instanceof ur?vn.result="(".concat(vr.result,")"):xn==="number"?vn.result=$(vr):xn==="string"&&(vn.result=vr),vn}return(0,b.Z)(ur,[{key:"add",value:function(wr){return wr instanceof ur?this.result="".concat(this.result," + ").concat(wr.getResult()):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," + ").concat($(wr))),this.lowPriority=!0,this}},{key:"sub",value:function(wr){return wr instanceof ur?this.result="".concat(this.result," - ").concat(wr.getResult()):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," - ").concat($(wr))),this.lowPriority=!0,this}},{key:"mul",value:function(wr){return this.lowPriority&&(this.result="(".concat(this.result,")")),wr instanceof ur?this.result="".concat(this.result," * ").concat(wr.getResult(!0)):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," * ").concat(wr)),this.lowPriority=!1,this}},{key:"div",value:function(wr){return this.lowPriority&&(this.result="(".concat(this.result,")")),wr instanceof ur?this.result="".concat(this.result," / ").concat(wr.getResult(!0)):(typeof wr=="number"||typeof wr=="string")&&(this.result="".concat(this.result," / ").concat(wr)),this.lowPriority=!1,this}},{key:"getResult",value:function(wr){return this.lowPriority||wr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(wr){var vn=this,xn=wr||{},Nn=xn.unit,Rn=!0;return typeof Nn=="boolean"?Rn=Nn:Array.from(this.unitlessCssVar).some(function(Kn){return vn.result.includes(Kn)})&&(Rn=!1),this.result=this.result.replace(Z,Rn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),ur}(Q),_e=function(tr){(0,K.Z)(ur,tr);var hr=(0,oe.Z)(ur);function ur(vr){var wr;return(0,_.Z)(this,ur),wr=hr.call(this),(0,i.Z)((0,J.Z)(wr),"result",0),vr instanceof ur?wr.result=vr.result:typeof vr=="number"&&(wr.result=vr),wr}return(0,b.Z)(ur,[{key:"add",value:function(wr){return wr instanceof ur?this.result+=wr.result:typeof wr=="number"&&(this.result+=wr),this}},{key:"sub",value:function(wr){return wr instanceof ur?this.result-=wr.result:typeof wr=="number"&&(this.result-=wr),this}},{key:"mul",value:function(wr){return wr instanceof ur?this.result*=wr.result:typeof wr=="number"&&(this.result*=wr),this}},{key:"div",value:function(wr){return wr instanceof ur?this.result/=wr.result:typeof wr=="number"&&(this.result/=wr),this}},{key:"equal",value:function(){return this.result}}]),ur}(Q),Ie=function(hr,ur){var vr=hr==="css"?se:_e;return function(wr){return new vr(wr,ur)}},De=Ie;function Ze(tr,hr){if(tr.length!==hr.length)return!1;for(var ur=0;ur<tr.length;ur++)if(tr[ur]!==hr[ur])return!1;return!0}var Ne=function(){function tr(){(0,_.Z)(this,tr),(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)(tr,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(ur){var vr,wr,vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,xn={map:this.cache};return ur.forEach(function(Nn){if(!xn)xn=void 0;else{var Rn;xn=(Rn=xn)===null||Rn===void 0||(Rn=Rn.map)===null||Rn===void 0?void 0:Rn.get(Nn)}}),(vr=xn)!==null&&vr!==void 0&&vr.value&&vn&&(xn.value[1]=this.cacheCallTimes++),(wr=xn)===null||wr===void 0?void 0:wr.value}},{key:"get",value:function(ur){var vr;return(vr=this.internalGet(ur,!0))===null||vr===void 0?void 0:vr[0]}},{key:"has",value:function(ur){return!!this.internalGet(ur)}},{key:"set",value:function(ur,vr){var wr=this;if(!this.has(ur)){if(this.size()+1>tr.MAX_CACHE_SIZE+tr.MAX_CACHE_OFFSET){var vn=this.keys.reduce(function(Kn,lr){var Br=(0,r.Z)(Kn,2),xr=Br[1];return wr.internalGet(lr)[1]<xr?[lr,wr.internalGet(lr)[1]]:Kn},[this.keys[0],this.cacheCallTimes]),xn=(0,r.Z)(vn,1),Nn=xn[0];this.delete(Nn)}this.keys.push(ur)}var Rn=this.cache;ur.forEach(function(Kn,lr){if(lr===ur.length-1)Rn.set(Kn,{value:[vr,wr.cacheCallTimes++]});else{var Br=Rn.get(Kn);Br?Br.map||(Br.map=new Map):Rn.set(Kn,{map:new Map}),Rn=Rn.get(Kn).map}})}},{key:"deleteByPath",value:function(ur,vr){var wr=ur.get(vr[0]);if(vr.length===1){var vn;return wr.map?ur.set(vr[0],{map:wr.map}):ur.delete(vr[0]),(vn=wr.value)===null||vn===void 0?void 0:vn[0]}var xn=this.deleteByPath(wr.map,vr.slice(1));return(!wr.map||wr.map.size===0)&&!wr.value&&ur.delete(vr[0]),xn}},{key:"delete",value:function(ur){if(this.has(ur))return this.keys=this.keys.filter(function(vr){return!Ze(vr,ur)}),this.deleteByPath(this.cache,ur)}}]),tr}();(0,i.Z)(Ne,"MAX_CACHE_SIZE",20),(0,i.Z)(Ne,"MAX_CACHE_OFFSET",5);var Lt=e(48736),bt=0,kt=function(){function tr(hr){(0,_.Z)(this,tr),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(hr)?hr:[hr],this.id=bt,hr.length===0&&(0,Lt.Kp)(hr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),bt+=1}return(0,b.Z)(tr,[{key:"getDerivativeToken",value:function(ur){return this.derivatives.reduce(function(vr,wr){return wr(ur,vr)},void 0)}}]),tr}(),jt=new Ne;function Wt(tr){var hr=Array.isArray(tr)?tr:[tr];return jt.has(hr)||jt.set(hr,new kt(hr)),jt.get(hr)}var zt=new WeakMap,We={};function St(tr,hr){for(var ur=zt,vr=0;vr<hr.length;vr+=1){var wr=hr[vr];ur.has(wr)||ur.set(wr,new WeakMap),ur=ur.get(wr)}return ur.has(We)||ur.set(We,tr()),ur.get(We)}var Ft=new WeakMap;function tt(tr){var hr=Ft.get(tr)||"";return hr||(Object.keys(tr).forEach(function(ur){var vr=tr[ur];hr+=ur,vr instanceof kt?hr+=vr.id:vr&&(0,ue.Z)(vr)==="object"?hr+=tt(vr):hr+=vr}),hr=o(hr),Ft.set(tr,hr)),hr}function _t(tr,hr){return o("".concat(hr,"_").concat(tt(tr)))}var dt="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),qe="_bAmBoO_";function Be(tr,hr,ur){if((0,q.Z)()){var vr,wr;(0,h.hq)(tr,dt);var vn=document.createElement("div");vn.style.position="fixed",vn.style.left="0",vn.style.top="0",hr==null||hr(vn),document.body.appendChild(vn);var xn=ur?ur(vn):(vr=getComputedStyle(vn).content)===null||vr===void 0?void 0:vr.includes(qe);return(wr=vn.parentNode)===null||wr===void 0||wr.removeChild(vn),(0,h.jL)(dt),xn}return!1}var Ee=null;function Re(){return Ee===void 0&&(Ee=Be("@layer ".concat(dt," { .").concat(dt,' { content: "').concat(qe,'"!important; } }'),function(tr){tr.className=dt})),Ee}var He=void 0;function ze(){return He===void 0&&(He=Be(":where(.".concat(dt,') { content: "').concat(qe,'"!important; }'),function(tr){tr.className=dt})),He}var Ye=void 0;function ht(){return Ye===void 0&&(Ye=Be(".".concat(dt," { inset-block: 93px !important; }"),function(tr){tr.className=dt},function(tr){return getComputedStyle(tr).bottom==="93px"})),Ye}var xt=(0,q.Z)();function nr(tr){return typeof tr=="number"?"".concat(tr,"px"):tr}function er(tr,hr,ur){var vr,wr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},vn=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(vn)return tr;var xn=(0,c.Z)((0,c.Z)({},wr),{},(vr={},(0,i.Z)(vr,M,hr),(0,i.Z)(vr,B,ur),vr)),Nn=Object.keys(xn).map(function(Rn){var Kn=xn[Rn];return Kn?"".concat(Rn,'="').concat(Kn,'"'):null}).filter(function(Rn){return Rn}).join(" ");return"<style ".concat(Nn,">").concat(tr,"</style>")}var Le=function(hr){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(ur?"".concat(ur,"-"):"").concat(hr).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},Qe=function(hr,ur,vr){return Object.keys(hr).length?".".concat(ur).concat(vr!=null&&vr.scope?".".concat(vr.scope):"","{").concat(Object.entries(hr).map(function(wr){var vn=(0,r.Z)(wr,2),xn=vn[0],Nn=vn[1];return"".concat(xn,":").concat(Nn,";")}).join(""),"}"):""},Qt=function(hr,ur,vr){var wr={},vn={};return Object.entries(hr).forEach(function(xn){var Nn,Rn,Kn=(0,r.Z)(xn,2),lr=Kn[0],Br=Kn[1];if(vr!=null&&(Nn=vr.preserve)!==null&&Nn!==void 0&&Nn[lr])vn[lr]=Br;else if((typeof Br=="string"||typeof Br=="number")&&!(vr!=null&&(Rn=vr.ignore)!==null&&Rn!==void 0&&Rn[lr])){var xr,hn=Le(lr,vr==null?void 0:vr.prefix);wr[hn]=typeof Br=="number"&&!(vr!=null&&(xr=vr.unitless)!==null&&xr!==void 0&&xr[lr])?"".concat(Br,"px"):String(Br),vn[lr]="var(".concat(hn,")")}}),[vn,Qe(wr,ur,{scope:vr==null?void 0:vr.scope})]},Rt=e(34280),Vt=(0,c.Z)({},a),Gt=Vt.useInsertionEffect,Tt=function(hr,ur,vr){u.useMemo(hr,vr),(0,Rt.Z)(function(){return ur(!0)},vr)},qt=Gt?function(tr,hr,ur){return Gt(function(){return tr(),hr()},ur)}:Tt,Ue=qt,fe=(0,c.Z)({},a),pe=fe.useInsertionEffect,Ot=function(hr){var ur=[],vr=!1;function wr(vn){vr||ur.push(vn)}return u.useEffect(function(){return vr=!1,function(){vr=!0,ur.length&&ur.forEach(function(vn){return vn()})}},hr),wr},Ce=function(){return function(hr){hr()}},ct=typeof pe!="undefined"?Ot:Ce,Kt=ct;function At(){return!1}var Te=!1;function Et(){return Te}var ye=At;if(0)var et,yt;function Nt(tr,hr,ur,vr,wr){var vn=u.useContext(ie),xn=vn.cache,Nn=[tr].concat((0,l.Z)(hr)),Rn=k(Nn),Kn=Kt([Rn]),lr=ye(),Br=function(lt){xn.opUpdate(Rn,function(Cn){var Yn=Cn||[void 0,void 0],ii=(0,r.Z)(Yn,2),Ki=ii[0],Nr=Ki===void 0?0:Ki,Wr=ii[1],ma=Wr,Ci=ma||ur(),na=[Nr,Ci];return lt?lt(na):na})};u.useMemo(function(){Br()},[Rn]);var xr=xn.opGet(Rn),hn=xr[1];return Ue(function(){wr==null||wr(hn)},function(Wn){return Br(function(lt){var Cn=(0,r.Z)(lt,2),Yn=Cn[0],ii=Cn[1];return Wn&&Yn===0&&(wr==null||wr(hn)),[Yn+1,ii]}),function(){xn.opUpdate(Rn,function(lt){var Cn=lt||[],Yn=(0,r.Z)(Cn,2),ii=Yn[0],Ki=ii===void 0?0:ii,Nr=Yn[1],Wr=Ki-1;return Wr===0?(Kn(function(){(Wn||!xn.opGet(Rn))&&(vr==null||vr(Nr,!1))}),null):[Ki-1,Nr]})}},[Rn]),hn}var Fe={},Ir="css",Ct=new Map;function Gr(tr){Ct.set(tr,(Ct.get(tr)||0)+1)}function Qr(tr,hr){if(typeof document!="undefined"){var ur=document.querySelectorAll("style[".concat(M,'="').concat(tr,'"]'));ur.forEach(function(vr){if(vr[Y]===hr){var wr;(wr=vr.parentNode)===null||wr===void 0||wr.removeChild(vr)}})}}var Mr=0;function Fr(tr,hr){Ct.set(tr,(Ct.get(tr)||0)-1);var ur=Array.from(Ct.keys()),vr=ur.filter(function(wr){var vn=Ct.get(wr)||0;return vn<=0});ur.length-vr.length>Mr&&vr.forEach(function(wr){Qr(wr,hr),Ct.delete(wr)})}var mr=function(hr,ur,vr,wr){var vn=vr.getDerivativeToken(hr),xn=(0,c.Z)((0,c.Z)({},vn),ur);return wr&&(xn=wr(xn)),xn},$r="token";function nn(tr,hr){var ur=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},vr=(0,u.useContext)(ie),wr=vr.cache.instanceId,vn=vr.container,xn=ur.salt,Nn=xn===void 0?"":xn,Rn=ur.override,Kn=Rn===void 0?Fe:Rn,lr=ur.formatToken,Br=ur.getComputedToken,xr=ur.cssVar,hn=St(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(hr)))},hr),Wn=tt(hn),lt=tt(Kn),Cn=xr?tt(xr):"",Yn=Nt($r,[Nn,tr.id,Wn,lt,Cn],function(){var ii,Ki=Br?Br(hn,Kn,tr):mr(hn,Kn,tr,lr),Nr=(0,c.Z)({},Ki),Wr="";if(xr){var ma=Qt(Ki,xr.key,{prefix:xr.prefix,ignore:xr.ignore,unitless:xr.unitless,preserve:xr.preserve}),Ci=(0,r.Z)(ma,2);Ki=Ci[0],Wr=Ci[1]}var na=_t(Ki,Nn);Ki._tokenKey=na,Nr._tokenKey=_t(Nr,Nn);var Ds=(ii=xr==null?void 0:xr.key)!==null&&ii!==void 0?ii:na;Ki._themeKey=Ds,Gr(Ds);var ai="".concat(Ir,"-").concat(o(na));return Ki._hashId=ai,[Ki,ai,Nr,Wr,(xr==null?void 0:xr.key)||""]},function(ii){Fr(ii[0]._themeKey,wr)},function(ii){var Ki=(0,r.Z)(ii,4),Nr=Ki[0],Wr=Ki[3];if(xr&&Wr){var ma=(0,h.hq)(Wr,o("css-variables-".concat(Nr._themeKey)),{mark:B,prepend:"queue",attachTo:vn,priority:-999});ma[Y]=wr,ma.setAttribute(M,Nr._themeKey)}});return Yn}var cn=function(hr,ur,vr){var wr=(0,r.Z)(hr,5),vn=wr[2],xn=wr[3],Nn=wr[4],Rn=vr||{},Kn=Rn.plain;if(!xn)return null;var lr=vn._tokenKey,Br=-999,xr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(Br)},hn=er(xn,Nn,lr,xr,Kn);return[Br,lr,hn]},Xt=e(14809),mt={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},ut=mt,ft="-ms-",$t="-moz-",yr="-webkit-",gr="comm",it="rule",Tr="decl",fn="@page",Ln="@media",Vr="@import",Zn="@charset",Hn="@viewport",Pn="@supports",yn="@document",Vn="@namespace",oi="@keyframes",mi="@font-face",Di="@counter-style",ji="@font-feature-values",gi="@layer",Ea="@scope",ui=Math.abs,Ji=String.fromCharCode,It=Object.assign;function gt(tr,hr){return yi(tr,0)^45?(((hr<<2^yi(tr,0))<<2^yi(tr,1))<<2^yi(tr,2))<<2^yi(tr,3):0}function Oi(tr){return tr.trim()}function Xi(tr,hr){return(tr=hr.exec(tr))?tr[0]:tr}function vi(tr,hr,ur){return tr.replace(hr,ur)}function ya(tr,hr,ur){return tr.indexOf(hr,ur)}function yi(tr,hr){return tr.charCodeAt(hr)|0}function qn(tr,hr,ur){return tr.slice(hr,ur)}function Sn(tr){return tr.length}function rr(tr){return tr.length}function vt(tr,hr){return hr.push(tr),tr}function nt(tr,hr){return tr.map(hr).join("")}function Dt(tr,hr){return tr.filter(function(ur){return!Xi(ur,hr)})}function pt(tr,hr){for(var ur="",vr=0;vr<tr.length;vr++)ur+=hr(tr[vr],vr,tr,hr)||"";return ur}function cr(tr,hr,ur,vr){switch(tr.type){case gi:if(tr.children.length)break;case Vr:case Vn:case Tr:return tr.return=tr.return||tr.value;case gr:return"";case oi:return tr.return=tr.value+"{"+pt(tr.children,vr)+"}";case it:if(!Sn(tr.value=tr.props.join(",")))return""}return Sn(ur=pt(tr.children,vr))?tr.return=tr.value+"{"+ur+"}":""}var dr=1,Ar=1,Zr=0,$e=0,Je=0,xe="";function st(tr,hr,ur,vr,wr,vn,xn,Nn){return{value:tr,root:hr,parent:ur,type:vr,props:wr,children:vn,line:dr,column:Ar,length:xn,return:"",siblings:Nn}}function ir(tr,hr){return assign(st("",null,null,"",null,null,0,tr.siblings),tr,{length:-tr.length},hr)}function Rr(tr){for(;tr.root;)tr=ir(tr.root,{children:[tr]});append(tr,tr.siblings)}function Dr(){return Je}function Pr(){return Je=$e>0?yi(xe,--$e):0,Ar--,Je===10&&(Ar=1,dr--),Je}function jr(){return Je=$e<Zr?yi(xe,$e++):0,Ar++,Je===10&&(Ar=1,dr++),Je}function pn(){return yi(xe,$e)}function Cr(){return $e}function ln(tr,hr){return qn(xe,tr,hr)}function rn(tr){switch(tr){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 sn(tr){return dr=Ar=1,Zr=Sn(xe=tr),$e=0,[]}function wn(tr){return xe="",tr}function pa(tr){return Oi(ln($e-1,Mi(tr===91?tr+2:tr===40?tr+1:tr)))}function Ei(tr){return wn(mn(sn(tr)))}function hi(tr){for(;(Je=pn())&&Je<33;)jr();return rn(tr)>2||rn(Je)>3?"":" "}function mn(tr){for(;jr();)switch(rn(Je)){case 0:append(Ha($e-1),tr);break;case 2:append(pa(Je),tr);break;default:append(from(Je),tr)}return tr}function ni(tr,hr){for(;--hr&&jr()&&!(Je<48||Je>102||Je>57&&Je<65||Je>70&&Je<97););return ln(tr,Cr()+(hr<6&&pn()==32&&jr()==32))}function Mi(tr){for(;jr();)switch(Je){case tr:return $e;case 34:case 39:tr!==34&&tr!==39&&Mi(Je);break;case 40:tr===41&&Mi(tr);break;case 92:jr();break}return $e}function ca(tr,hr){for(;jr()&&tr+Je!==57;)if(tr+Je===84&&pn()===47)break;return"/*"+ln(hr,$e-1)+"*"+Ji(tr===47?tr:jr())}function Ha(tr){for(;!rn(pn());)jr();return ln(tr,$e)}function Ta(tr){return wn(fs("",null,null,null,[""],tr=sn(tr),0,[0],tr))}function fs(tr,hr,ur,vr,wr,vn,xn,Nn,Rn){for(var Kn=0,lr=0,Br=xn,xr=0,hn=0,Wn=0,lt=1,Cn=1,Yn=1,ii=0,Ki="",Nr=wr,Wr=vn,ma=vr,Ci=Ki;Cn;)switch(Wn=ii,ii=jr()){case 40:if(Wn!=108&&yi(Ci,Br-1)==58){ya(Ci+=vi(pa(ii),"&","&\f"),"&\f",ui(Kn?Nn[Kn-1]:0))!=-1&&(Yn=-1);break}case 34:case 39:case 91:Ci+=pa(ii);break;case 9:case 10:case 13:case 32:Ci+=hi(Wn);break;case 92:Ci+=ni(Cr()-1,7);continue;case 47:switch(pn()){case 42:case 47:vt(Wa(ca(jr(),Cr()),hr,ur,Rn),Rn),(rn(Wn||1)==5||rn(pn()||1)==5)&&Sn(Ci)&&qn(Ci,-1,void 0)!==" "&&(Ci+=" ");break;default:Ci+="/"}break;case 123*lt:Nn[Kn++]=Sn(Ci)*Yn;case 125*lt:case 59:case 0:switch(ii){case 0:case 125:Cn=0;case 59+lr:Yn==-1&&(Ci=vi(Ci,/\f/g,"")),hn>0&&(Sn(Ci)-Br||lt===0&&Wn===47)&&vt(hn>32?pi(Ci+";",vr,ur,Br-1,Rn):pi(vi(Ci," ","")+";",vr,ur,Br-2,Rn),Rn);break;case 59:Ci+=";";default:if(vt(ma=Es(Ci,hr,ur,Kn,lr,wr,Nn,Ki,Nr=[],Wr=[],Br,vn),vn),ii===123)if(lr===0)fs(Ci,hr,ma,ma,Nr,vn,Br,Nn,Wr);else{switch(xr){case 99:if(yi(Ci,3)===110)break;case 108:if(yi(Ci,2)===97)break;default:lr=0;case 100:case 109:case 115:}lr?fs(tr,ma,ma,vr&&vt(Es(tr,ma,ma,0,0,wr,Nn,Ki,wr,Nr=[],Br,Wr),Wr),wr,Wr,Br,Nn,vr?Nr:Wr):fs(Ci,ma,ma,ma,[""],Wr,0,Nn,Wr)}}Kn=lr=hn=0,lt=Yn=1,Ki=Ci="",Br=xn;break;case 58:Br=1+Sn(Ci),hn=Wn;default:if(lt<1){if(ii==123)--lt;else if(ii==125&<++==0&&Pr()==125)continue}switch(Ci+=Ji(ii),ii*lt){case 38:Yn=lr>0?1:(Ci+="\f",-1);break;case 44:Nn[Kn++]=(Sn(Ci)-1)*Yn,Yn=1;break;case 64:pn()===45&&(Ci+=pa(jr())),xr=pn(),lr=Br=Sn(Ki=Ci+=Ha(Cr())),ii++;break;case 45:Wn===45&&Sn(Ci)==2&&(lt=0)}}return vn}function Es(tr,hr,ur,vr,wr,vn,xn,Nn,Rn,Kn,lr,Br){for(var xr=wr-1,hn=wr===0?vn:[""],Wn=rr(hn),lt=0,Cn=0,Yn=0;lt<vr;++lt)for(var ii=0,Ki=qn(tr,xr+1,xr=ui(Cn=xn[lt])),Nr=tr;ii<Wn;++ii)(Nr=Oi(Cn>0?hn[ii]+" "+Ki:vi(Ki,/&\f/g,hn[ii])))&&(Rn[Yn++]=Nr);return st(tr,hr,ur,wr===0?it:Nn,Rn,Kn,lr,Br)}function Wa(tr,hr,ur,vr){return st(tr,hr,ur,gr,Ji(Dr()),qn(tr,2,-2),0,vr)}function pi(tr,hr,ur,vr,wr){return st(tr,hr,ur,Tr,qn(tr,0,vr),qn(tr,vr+1,-1),vr,wr)}function ra(tr,hr){var ur=hr.path,vr=hr.parentSelectors;(0,Lt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(ur?"Error in ".concat(ur,": "):"").concat(tr).concat(vr.length?" Selector: ".concat(vr.join(" | ")):""))}var os=function(hr,ur,vr){if(hr==="content"){var wr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,vn=["normal","none","initial","inherit","unset"];(typeof ur!="string"||vn.indexOf(ur)===-1&&!wr.test(ur)&&(ur.charAt(0)!==ur.charAt(ur.length-1)||ur.charAt(0)!=='"'&&ur.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(ur,"\"'`."),vr)}},Ga=null,Is=function(hr,ur,vr){hr==="animation"&&vr.hashId&&ur!=="none"&&lintWarning("You seem to be using hashed animation '".concat(ur,"', in which case 'animationName' with Keyframe as value is recommended."),vr)},Vi=null;function ms(tr){var hr,ur=((hr=tr.match(/:not\(([^)]*)\)/))===null||hr===void 0?void 0:hr[1])||"",vr=ur.split(/(\[[^[]*])|(?=[.#])/).filter(function(wr){return wr});return vr.length>1}function bo(tr){return tr.parentSelectors.reduce(function(hr,ur){return hr?ur.includes("&")?ur.replace(/&/g,hr):"".concat(hr," ").concat(ur):ur},"")}var Fi=function(hr,ur,vr){var wr=bo(vr),vn=wr.match(/:not\([^)]*\)/g)||[];vn.length>0&&vn.some(ms)&&ra("Concat ':not' selector not support in legacy browsers.",vr)},vs=Fi,Na=function(hr,ur,vr){switch(hr){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":ra("You seem to be using non-logical property '".concat(hr,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof ur=="string"){var wr=ur.split(" ").map(function(Nn){return Nn.trim()});wr.length===4&&wr[1]!==wr[3]&&ra("You seem to be using '".concat(hr,"' property with different left ").concat(hr," and right ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;case"clear":case"textAlign":(ur==="left"||ur==="right")&&ra("You seem to be using non-logical value '".concat(ur,"' of ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr);return;case"borderRadius":if(typeof ur=="string"){var vn=ur.split("/").map(function(Nn){return Nn.trim()}),xn=vn.reduce(function(Nn,Rn){if(Nn)return Nn;var Kn=Rn.split(" ").map(function(lr){return lr.trim()});return Kn.length>=2&&Kn[0]!==Kn[1]||Kn.length===3&&Kn[1]!==Kn[2]||Kn.length===4&&Kn[2]!==Kn[3]?!0:Nn},!1);xn&&ra("You seem to be using non-logical value '".concat(ur,"' of ").concat(hr,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),vr)}return;default:}},Ys=Na,In=function(hr,ur,vr){(typeof ur=="string"&&/NaN/g.test(ur)||Number.isNaN(ur))&&ra("Unexpected 'NaN' in property '".concat(hr,": ").concat(ur,"'."),vr)},$a=In,cs=function(hr,ur,vr){vr.parentSelectors.some(function(wr){var vn=wr.split(",");return vn.some(function(xn){return xn.split("&").length>2})})&&ra("Should not use more than one `&` in a selector.",vr)},ja=cs,Ui="data-ant-cssinjs-cache-path",Ra="_FILE_STYLE__";function Da(tr){return Object.keys(tr).map(function(hr){var ur=tr[hr];return"".concat(hr,":").concat(ur)}).join(";")}var ws,Xs=!0;function xo(tr){var hr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ws=tr,Xs=hr}function ho(){if(!ws&&(ws={},(0,q.Z)())){var tr=document.createElement("div");tr.className=Ui,tr.style.position="fixed",tr.style.visibility="hidden",tr.style.top="-9999px",document.body.appendChild(tr);var hr=getComputedStyle(tr).content||"";hr=hr.replace(/^"/,"").replace(/"$/,""),hr.split(";").forEach(function(wr){var vn=wr.split(":"),xn=(0,r.Z)(vn,2),Nn=xn[0],Rn=xn[1];ws[Nn]=Rn});var ur=document.querySelector("style[".concat(Ui,"]"));if(ur){var vr;Xs=!1,(vr=ur.parentNode)===null||vr===void 0||vr.removeChild(ur)}document.body.removeChild(tr)}}function wa(tr){return ho(),!!ws[tr]}function gs(tr){var hr=ws[tr],ur=null;if(hr&&(0,q.Z)())if(Xs)ur=Ra;else{var vr=document.querySelector("style[".concat(B,'="').concat(ws[tr],'"]'));vr?ur=vr.innerHTML:delete ws[tr]}return[ur,hr]}var Zs="_skip_check_",no="_multi_value_";function Eo(tr){var hr=pt(Ta(tr),cr);return hr.replace(/\{%%%\:[^;];}/g,";")}function wo(tr){return(0,ue.Z)(tr)==="object"&&tr&&(Zs in tr||no in tr)}function po(tr,hr,ur){if(!hr)return tr;var vr=".".concat(hr),wr=ur==="low"?":where(".concat(vr,")"):vr,vn=tr.split(",").map(function(xn){var Nn,Rn=xn.trim().split(/\s+/),Kn=Rn[0]||"",lr=((Nn=Kn.match(/^\w+/))===null||Nn===void 0?void 0:Nn[0])||"";return Kn="".concat(lr).concat(wr).concat(Kn.slice(lr.length)),[Kn].concat((0,l.Z)(Rn.slice(1))).join(" ")});return vn.join(",")}var ci=function tr(hr){var ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},vr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},wr=vr.root,vn=vr.injectHash,xn=vr.parentSelectors,Nn=ur.hashId,Rn=ur.layer,Kn=ur.path,lr=ur.hashPriority,Br=ur.transformers,xr=Br===void 0?[]:Br,hn=ur.linters,Wn=hn===void 0?[]:hn,lt="",Cn={};function Yn(Nr){var Wr=Nr.getName(Nn);if(!Cn[Wr]){var ma=tr(Nr.style,ur,{root:!1,parentSelectors:xn}),Ci=(0,r.Z)(ma,1),na=Ci[0];Cn[Wr]="@keyframes ".concat(Nr.getName(Nn)).concat(na)}}function ii(Nr){var Wr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Nr.forEach(function(ma){Array.isArray(ma)?ii(ma,Wr):ma&&Wr.push(ma)}),Wr}var Ki=ii(Array.isArray(hr)?hr:[hr]);return Ki.forEach(function(Nr){var Wr=typeof Nr=="string"&&!wr?{}:Nr;if(typeof Wr=="string")lt+="".concat(Wr,`
|
|
|
`);else if(Wr._keyframe)Yn(Wr);else{var ma=xr.reduce(function(Ci,na){var Ds;return(na==null||(Ds=na.visit)===null||Ds===void 0?void 0:Ds.call(na,Ci))||Ci},Wr);Object.keys(ma).forEach(function(Ci){var na=ma[Ci];if((0,ue.Z)(na)==="object"&&na&&(Ci!=="animationName"||!na._keyframe)&&!wo(na)){var Ds=!1,ai=Ci.trim(),Ws=!1;(wr||vn)&&Nn?ai.startsWith("@")?Ds=!0:ai==="&"?ai=po("",Nn,lr):ai=po(Ci,Nn,lr):wr&&!Nn&&(ai==="&"||ai==="")&&(ai="",Ws=!0);var Uo=tr(na,ur,{root:Ws,injectHash:Ds,parentSelectors:[].concat((0,l.Z)(xn),[ai])}),Ls=(0,r.Z)(Uo,2),va=Ls[0],Va=Ls[1];Cn=(0,c.Z)((0,c.Z)({},Cn),Va),lt+="".concat(ai).concat(va)}else{let Ns=function($s,Ke){var Xe=$s.replace(/[A-Z]/g,function(Yt){return"-".concat(Yt.toLowerCase())}),Bt=Ke;!ut[$s]&&typeof Bt=="number"&&Bt!==0&&(Bt="".concat(Bt,"px")),$s==="animationName"&&Ke!==null&&Ke!==void 0&&Ke._keyframe&&(Yn(Ke),Bt=Ke.getName(Nn)),lt+="".concat(Xe,":").concat(Bt,";")};var ys,Mn=(ys=na==null?void 0:na.value)!==null&&ys!==void 0?ys:na;(0,ue.Z)(na)==="object"&&na!==null&&na!==void 0&&na[no]&&Array.isArray(Mn)?Mn.forEach(function($s){Ns(Ci,$s)}):Ns(Ci,Mn)}})}}),wr?Rn&&(lt&&(lt="@layer ".concat(Rn.name," {").concat(lt,"}")),Rn.dependencies&&(Cn["@layer ".concat(Rn.name)]=Rn.dependencies.map(function(Nr){return"@layer ".concat(Nr,", ").concat(Rn.name,";")}).join(`
|
|
|
`))):lt="{".concat(lt,"}"),[lt,Cn]};function si(tr,hr){return o("".concat(tr.join("%")).concat(hr))}function Ua(){return null}var Qa="style";function qa(tr,hr){var ur=tr.token,vr=tr.path,wr=tr.hashId,vn=tr.layer,xn=tr.nonce,Nn=tr.clientOnly,Rn=tr.order,Kn=Rn===void 0?0:Rn,lr=u.useContext(ie),Br=lr.autoClear,xr=lr.mock,hn=lr.defaultCache,Wn=lr.hashPriority,lt=lr.container,Cn=lr.ssrInline,Yn=lr.transformers,ii=lr.linters,Ki=lr.cache,Nr=lr.layer,Wr=ur._tokenKey,ma=[Wr];Nr&&ma.push("layer"),ma.push.apply(ma,(0,l.Z)(vr));var Ci=xt,na=Nt(Qa,ma,function(){var Ls=ma.join("|");if(wa(Ls)){var va=gs(Ls),Va=(0,r.Z)(va,2),ys=Va[0],Mn=Va[1];if(ys)return[ys,Wr,Mn,{},Nn,Kn]}var Ns=hr(),$s=ci(Ns,{hashId:wr,hashPriority:Wn,layer:Nr?vn:void 0,path:vr.join("-"),transformers:Yn,linters:ii}),Ke=(0,r.Z)($s,2),Xe=Ke[0],Bt=Ke[1],Yt=Eo(Xe),pr=si(ma,Yt);return[Yt,Wr,pr,Bt,Nn,Kn]},function(Ls,va){var Va=(0,r.Z)(Ls,3),ys=Va[2];(va||Br)&&xt&&(0,h.jL)(ys,{mark:B})},function(Ls){var va=(0,r.Z)(Ls,4),Va=va[0],ys=va[1],Mn=va[2],Ns=va[3];if(Ci&&Va!==Ra){var $s={mark:B,prepend:Nr?!1:"queue",attachTo:lt,priority:Kn},Ke=typeof xn=="function"?xn():xn;Ke&&($s.csp={nonce:Ke});var Xe=[],Bt=[];Object.keys(Ns).forEach(function(pr){pr.startsWith("@layer")?Xe.push(pr):Bt.push(pr)}),Xe.forEach(function(pr){(0,h.hq)(Eo(Ns[pr]),"_layer-".concat(pr),(0,c.Z)((0,c.Z)({},$s),{},{prepend:!0}))});var Yt=(0,h.hq)(Va,Mn,$s);Yt[Y]=Ki.instanceId,Yt.setAttribute(M,Wr),Bt.forEach(function(pr){(0,h.hq)(Eo(Ns[pr]),"_effect-".concat(pr),$s)})}}),Ds=(0,r.Z)(na,3),ai=Ds[0],Ws=Ds[1],Uo=Ds[2];return function(Ls){var va;if(!Cn||Ci||!hn)va=u.createElement(Ua,null);else{var Va;va=u.createElement("style",(0,Xt.Z)({},(Va={},(0,i.Z)(Va,M,Ws),(0,i.Z)(Va,B,Uo),Va),{dangerouslySetInnerHTML:{__html:ai}}))}return u.createElement(u.Fragment,null,va,Ls)}}var Qs=function(hr,ur,vr){var wr=(0,r.Z)(hr,6),vn=wr[0],xn=wr[1],Nn=wr[2],Rn=wr[3],Kn=wr[4],lr=wr[5],Br=vr||{},xr=Br.plain;if(Kn)return null;var hn=vn,Wn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(lr)};return hn=er(vn,xn,Nn,Wn,xr),Rn&&Object.keys(Rn).forEach(function(lt){if(!ur[lt]){ur[lt]=!0;var Cn=Eo(Rn[lt]),Yn=er(Cn,xn,"_effect-".concat(lt),Wn,xr);lt.startsWith("@layer")?hn=Yn+hn:hn+=Yn}}),[lr,Nn,hn]},qs="cssVar",Qo=function(hr,ur){var vr=hr.key,wr=hr.prefix,vn=hr.unitless,xn=hr.ignore,Nn=hr.token,Rn=hr.scope,Kn=Rn===void 0?"":Rn,lr=(0,u.useContext)(ie),Br=lr.cache.instanceId,xr=lr.container,hn=Nn._tokenKey,Wn=[].concat((0,l.Z)(hr.path),[vr,Kn,hn]),lt=Nt(qs,Wn,function(){var Cn=ur(),Yn=Qt(Cn,vr,{prefix:wr,unitless:vn,ignore:xn,scope:Kn}),ii=(0,r.Z)(Yn,2),Ki=ii[0],Nr=ii[1],Wr=si(Wn,Nr);return[Ki,Nr,Wr,vr]},function(Cn){var Yn=(0,r.Z)(Cn,3),ii=Yn[2];xt&&(0,h.jL)(ii,{mark:B})},function(Cn){var Yn=(0,r.Z)(Cn,3),ii=Yn[1],Ki=Yn[2];if(ii){var Nr=(0,h.hq)(ii,Ki,{mark:B,prepend:"queue",attachTo:xr,priority:-999});Nr[Y]=Br,Nr.setAttribute(M,vr)}});return lt},ds=function(hr,ur,vr){var wr=(0,r.Z)(hr,4),vn=wr[1],xn=wr[2],Nn=wr[3],Rn=vr||{},Kn=Rn.plain;if(!vn)return null;var lr=-999,Br={"data-rc-order":"prependQueue","data-rc-priority":"".concat(lr)},xr=er(vn,Nn,xn,Br,Kn);return[lr,xn,xr]},Oo=Qo,ko,Ho=(ko={},(0,i.Z)(ko,Qa,Qs),(0,i.Z)(ko,$r,cn),(0,i.Z)(ko,qs,ds),ko);function Su(tr){return tr!==null}function So(tr,hr){var ur=typeof hr=="boolean"?{plain:hr}:hr||{},vr=ur.plain,wr=vr===void 0?!1:vr,vn=ur.types,xn=vn===void 0?["style","token","cssVar"]:vn,Nn=new RegExp("^(".concat((typeof xn=="string"?[xn]:xn).join("|"),")%")),Rn=Array.from(tr.cache.keys()).filter(function(xr){return Nn.test(xr)}),Kn={},lr={},Br="";return Rn.map(function(xr){var hn=xr.replace(Nn,"").replace(/%/g,"|"),Wn=xr.split("%"),lt=(0,r.Z)(Wn,1),Cn=lt[0],Yn=Ho[Cn],ii=Yn(tr.cache.get(xr)[1],Kn,{plain:wr});if(!ii)return null;var Ki=(0,r.Z)(ii,3),Nr=Ki[0],Wr=Ki[1],ma=Ki[2];return xr.startsWith("style")&&(lr[hn]=Wr),[Nr,ma]}).filter(Su).sort(function(xr,hn){var Wn=(0,r.Z)(xr,1),lt=Wn[0],Cn=(0,r.Z)(hn,1),Yn=Cn[0];return lt-Yn}).forEach(function(xr){var hn=(0,r.Z)(xr,2),Wn=hn[1];Br+=Wn}),Br+=er(".".concat(Ui,'{content:"').concat(Da(lr),'";}'),void 0,void 0,(0,i.Z)({},Ui,Ui),wr),Br}var _o=function(){function tr(hr,ur){(0,_.Z)(this,tr),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=hr,this.style=ur}return(0,b.Z)(tr,[{key:"getName",value:function(){var ur=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ur?"".concat(ur,"-").concat(this.name):this.name}}]),tr}(),Js=_o;function $u(tr){if(typeof tr=="number")return[[tr],!1];var hr=String(tr).trim(),ur=hr.match(/(.*)(!important)/),vr=(ur?ur[1]:hr).trim().split(/\s+/),wr=[],vn=0;return[vr.reduce(function(xn,Nn){if(Nn.includes("(")||Nn.includes(")")){var Rn=Nn.split("(").length-1,Kn=Nn.split(")").length-1;vn+=Rn-Kn}return vn>=0&&wr.push(Nn),vn===0&&(xn.push(wr.join(" ")),wr=[]),xn},[]),!!ur]}function Ro(tr){return tr.notSplit=!0,tr}var Lo={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:Ro(["borderTop","borderBottom"]),borderBlockStart:Ro(["borderTop"]),borderBlockEnd:Ro(["borderBottom"]),borderInline:Ro(["borderLeft","borderRight"]),borderInlineStart:Ro(["borderLeft"]),borderInlineEnd:Ro(["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 Hs(tr,hr){var ur=tr;return hr&&(ur="".concat(ur," !important")),{_skip_check_:!0,value:ur}}var du={visit:function(hr){var ur={};return Object.keys(hr).forEach(function(vr){var wr=hr[vr],vn=Lo[vr];if(vn&&(typeof wr=="number"||typeof wr=="string")){var xn=$u(wr),Nn=(0,r.Z)(xn,2),Rn=Nn[0],Kn=Nn[1];vn.length&&vn.notSplit?vn.forEach(function(lr){ur[lr]=Hs(wr,Kn)}):vn.length===1?ur[vn[0]]=Hs(Rn[0],Kn):vn.length===2?vn.forEach(function(lr,Br){var xr;ur[lr]=Hs((xr=Rn[Br])!==null&&xr!==void 0?xr:Rn[0],Kn)}):vn.length===4?vn.forEach(function(lr,Br){var xr,hn;ur[lr]=Hs((xr=(hn=Rn[Br])!==null&&hn!==void 0?hn:Rn[Br-2])!==null&&xr!==void 0?xr:Rn[0],Kn)}):ur[vr]=wr}else ur[vr]=wr}),ur}},jo=du,Ao=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function Bs(tr,hr){var ur=Math.pow(10,hr+1),vr=Math.floor(tr*ur);return Math.round(vr/10)*10/ur}var Rs=function(){var hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ur=hr.rootValue,vr=ur===void 0?16:ur,wr=hr.precision,vn=wr===void 0?5:wr,xn=hr.mediaQuery,Nn=xn===void 0?!1:xn,Rn=function(Br,xr){if(!xr)return Br;var hn=parseFloat(xr);if(hn<=1)return Br;var Wn=Bs(hn/vr,vn);return"".concat(Wn,"rem")},Kn=function(Br){var xr=(0,c.Z)({},Br);return Object.entries(Br).forEach(function(hn){var Wn=(0,r.Z)(hn,2),lt=Wn[0],Cn=Wn[1];if(typeof Cn=="string"&&Cn.includes("px")){var Yn=Cn.replace(Ao,Rn);xr[lt]=Yn}!ut[lt]&&typeof Cn=="number"&&Cn!==0&&(xr[lt]="".concat(Cn,"px").replace(Ao,Rn));var ii=lt.trim();if(ii.startsWith("@")&&ii.includes("px")&&Nn){var Ki=lt.replace(Ao,Rn);xr[Ki]=xr[lt],delete xr[lt]}}),xr};return{visit:Kn}},hu=Rs,Au={supportModernCSS:function(){return ze()&&ht()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return le}});var r=e(14809),i=e(50298),l=e(4635),c=e(62646),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(20439),p=e(93664),y=e(810),_=e(96452),b=e(48736);function S(Z){return Z.replace(/-(.)/g,function($,se){return se.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($,se){var _e=Z[se];switch(se){case"class":$.className=_e,delete $.class;break;default:delete $[se],$[S(se)]=_e}return $},{})}function D(Z,$,se){return se?f.createElement(Z.tag,(0,x.Z)((0,x.Z)({key:$},A(Z.attrs)),se),(Z.children||[]).map(function(_e,Ie){return D(_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 D(_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 j={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},Y=`
|
|
|
.anticon {
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
color: inherit;
|
|
|
font-style: normal;
|
|
|
line-height: 0;
|
|
|
text-align: center;
|
|
|
text-transform: none;
|
|
|
vertical-align: -0.125em;
|
|
|
text-rendering: optimizeLegibility;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
|
|
|
.anticon > * {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.anticon svg {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.anticon::before {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.anticon .anticon-icon {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.anticon[tabindex] {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.anticon-spin::before,
|
|
|
.anticon-spin {
|
|
|
display: inline-block;
|
|
|
-webkit-animation: loadingCircle 1s infinite linear;
|
|
|
animation: loadingCircle 1s infinite linear;
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
`,V=function($){var se=(0,f.useContext)(a.Z),_e=se.csp,Ie=se.prefixCls,De=se.layer,Ze=Y;Ie&&(Ze=Ze.replace(/anticon/g,Ie)),De&&(Ze="@layer ".concat(De,` {
|
|
|
`).concat(Ze,`
|
|
|
}`)),(0,f.useEffect)(function(){var Ne=$.current,Lt=(0,_.A)(Ne);(0,y.hq)(Ze,"@ant-design-icons",{prepend:!De,csp:_e,attachTo:Lt})},[])},G=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ie(Z){var $=Z.primaryColor,se=Z.secondaryColor;ae.primaryColor=$,ae.secondaryColor=se||M($),ae.calculated=!!se}function ue(){return(0,x.Z)({},ae)}var q=function($){var se=$.icon,_e=$.className,Ie=$.onClick,De=$.style,Ze=$.primaryColor,Ne=$.secondaryColor,Lt=(0,c.Z)($,G),bt=f.useRef(),kt=ae;if(Ze&&(kt={primaryColor:Ze,secondaryColor:Ne||M(Ze)}),V(bt),k(R(se),"icon should be icon definiton, but got ".concat(se)),!R(se))return null;var jt=se;return jt&&typeof jt.icon=="function"&&(jt=(0,x.Z)((0,x.Z)({},jt),{},{icon:jt.icon(kt.primaryColor,kt.secondaryColor)})),D(jt.icon,"svg-".concat(jt.name),(0,x.Z)((0,x.Z)({className:_e,onClick:Ie,style:De,"data-icon":jt.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Lt),{},{ref:bt}))};q.displayName="IconReact",q.getTwoToneColors=ue,q.setTwoToneColors=ie;var J=q;function K(Z){var $=B(Z),se=(0,i.Z)($,2),_e=se[0],Ie=se[1];return J.setTwoToneColors({primaryColor:_e,secondaryColor:Ie})}function oe(){var Z=J.getTwoToneColors();return Z.calculated?[Z.primaryColor,Z.secondaryColor]:Z.primaryColor}var ee=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];K(u.blue.primary);var Q=f.forwardRef(function(Z,$){var se=Z.className,_e=Z.icon,Ie=Z.spin,De=Z.rotate,Ze=Z.tabIndex,Ne=Z.onClick,Lt=Z.twoToneColor,bt=(0,c.Z)(Z,ee),kt=f.useContext(a.Z),jt=kt.prefixCls,Wt=jt===void 0?"anticon":jt,zt=kt.rootClassName,We=h()(zt,Wt,(0,l.Z)((0,l.Z)({},"".concat(Wt,"-").concat(_e.name),!!_e.name),"".concat(Wt,"-spin"),!!Ie||_e.name==="loading"),se),St=Ze;St===void 0&&Ne&&(St=-1);var Ft=De?{msTransform:"rotate(".concat(De,"deg)"),transform:"rotate(".concat(De,"deg)")}:void 0,tt=B(Lt),_t=(0,i.Z)(tt,2),dt=_t[0],qe=_t[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":_e.name},bt,{ref:$,tabIndex:St,onClick:Ne,className:We}),f.createElement(J,{icon:_e,primaryColor:dt,secondaryColor:qe,style:Ft}))});Q.displayName="AntdIcon",Q.getTwoToneColor=oe,Q.setTwoToneColor=K;var le=Q},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(14809),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(14809),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(14809),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(14809),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(14809),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(14809),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),D=Math.min(S,k,R),M=0,B=0,j=(A+D)/2;if(A===D)B=0,M=0;else{var Y=A-D;switch(B=j>.5?Y/(2-A-D):Y/(A+D),A){case S:M=(k-R)/Y+(k<R?6:0);break;case k:M=(R-S)/Y+2;break;case R:M=(S-k)/Y+4;break;default:break}M/=6}return{h:M,s:B,l:j}}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,D,M;if(S=(0,r.sh)(S,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)D=R,M=R,A=R;else{var B=R<.5?R*(1+k):R+k-R*k,j=2*R-B;A=c(j,B,S+.3333333333333333),D=c(j,B,S),M=c(j,B,S-.3333333333333333)}return{r:A*255,g:D*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),D=Math.min(S,k,R),M=0,B=A,j=A-D,Y=A===0?0:j/A;if(A===D)M=0;else{switch(A){case S:M=(k-R)/j+(k<R?6:0);break;case k:M=(R-S)/j+2;break;case R:M=(S-k)/j+4;break;default:break}M/=6}return{h:M,s:Y,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),D=S-A,M=R*(1-k),B=R*(1-D*k),j=R*(1-(1-D)*k),Y=A%6,V=[R,B,M,M,j,R][Y],G=[j,R,R,B,M,M][Y],ae=[M,M,j,R,R,B][Y];return{r:V*255,g:G*255,b:ae*255}}function u(S,k,R,A){var D=[(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&&D[0].startsWith(D[0].charAt(1))&&D[1].startsWith(D[1].charAt(1))&&D[2].startsWith(D[2].charAt(1))?D[0].charAt(0)+D[1].charAt(0)+D[2].charAt(0):D.join("")}function a(S,k,R,A,D){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 D&&M[0].startsWith(M[0].charAt(1))&&M[1].startsWith(M[1].charAt(1))&&M[2].startsWith(M[2].charAt(1))&&M[3].startsWith(M[3].charAt(1))?M[0].charAt(0)+M[1].charAt(0)+M[2].charAt(0)+M[3].charAt(0):M.join("")}function x(S,k,R,A){var D=[(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 D.join("")}function p(S){return Math.round(parseFloat(S)*255).toString(16)}function y(S){return _(S)/255}function _(S){return parseInt(S,16)}function b(S){return{r:S>>16,g:(S&65280)>>8,b:S&255}}},93796:function(d,v,e){"use strict";e.d(v,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},9915:function(d,v,e){"use strict";e.d(v,{ky:function(){return y},uA:function(){return c},uz:function(){return p}});var r=e(12722),i=e(93796),l=e(12187);function c(_){var b={r:0,g:0,b:0},S=1,k=null,R=null,A=null,D=!1,M=!1;return typeof _=="string"&&(_=p(_)),typeof _=="object"&&(y(_.r)&&y(_.g)&&y(_.b)?(b=(0,r.rW)(_.r,_.g,_.b),D=!0,M=String(_.r).substr(-1)==="%"?"prgb":"rgb"):y(_.h)&&y(_.s)&&y(_.v)?(k=(0,l.JX)(_.s),R=(0,l.JX)(_.v),b=(0,r.WE)(_.h,k,R),D=!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),D=!0,M="hsl"),Object.prototype.hasOwnProperty.call(_,"a")&&(S=_.a)),S=(0,l.Yq)(S),{ok:D,format:_.format||M,r:Math.min(255,Math.max(b.r,0)),g:Math.min(255,Math.max(b.g,0)),b:Math.min(255,Math.max(b.b,0)),a:S}}var f="[-\\+]?\\d+%?",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 V}});var r=e(50298),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(95190),x=e(34280),p=[];function y(G,ae){var ie=i.useState(function(){if(!(0,c.Z)())return null;var _e=document.createElement("div");return _e}),ue=(0,r.Z)(ie,1),q=ue[0],J=i.useRef(!1),K=i.useContext(u),oe=i.useState(p),ee=(0,r.Z)(oe,2),Q=ee[0],le=ee[1],Z=K||(J.current?void 0:function(_e){le(function(Ie){var De=[_e].concat((0,a.Z)(Ie));return De})});function $(){q.parentElement||document.body.appendChild(q),J.current=!0}function se(){var _e;(_e=q.parentElement)===null||_e===void 0||_e.removeChild(q),J.current=!1}return(0,x.Z)(function(){return G?K?K($):$():se(),se},[G]),(0,x.Z)(function(){Q.length&&(Q.forEach(function(_e){return _e()}),le(p))},[Q]),[q,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(G){var ae=!!G,ie=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),ue=(0,r.Z)(ie,1),q=ue[0];(0,x.Z)(function(){if(ae){var J=(0,b.o)(document.body).width,K=S();(0,_.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(K?"width: calc(100% - ".concat(J,"px);"):"",`
|
|
|
}`),q)}else(0,_.jL)(q);return function(){(0,_.jL)(q)}},[ae,q])}var D=!1;function M(G){return typeof G=="boolean"&&(D=G),D}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},j=i.forwardRef(function(G,ae){var ie=G.open,ue=G.autoLock,q=G.getContainer,J=G.debug,K=G.autoDestroy,oe=K===void 0?!0:K,ee=G.children,Q=i.useState(ie),le=(0,r.Z)(Q,2),Z=le[0],$=le[1],se=Z||ie;i.useEffect(function(){(oe||ie)&&$(ie)},[ie,oe]);var _e=i.useState(function(){return B(q)}),Ie=(0,r.Z)(_e,2),De=Ie[0],Ze=Ie[1];i.useEffect(function(){var tt=B(q);Ze(tt!=null?tt:null)});var Ne=y(se&&!De,J),Lt=(0,r.Z)(Ne,2),bt=Lt[0],kt=Lt[1],jt=De!=null?De:bt;A(ue&&ie&&(0,c.Z)()&&(jt===bt||jt===document.body));var Wt=null;if(ee&&(0,o.Yr)(ee)&&ae){var zt=ee;Wt=zt.ref}var We=(0,o.x1)(Wt,ae);if(!se||!(0,c.Z)()||De===void 0)return null;var St=jt===!1||M(),Ft=ee;return ae&&(Ft=i.cloneElement(ee,{ref:We})),i.createElement(u.Provider,{value:kt},St?Ft:(0,l.createPortal)(Ft,jt))}),Y=j,V=Y},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return Ft}});var r=e(20439),i=e(50298),l=e(62646),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(14809),k=e(77900),R=e(8654);function A(tt){var _t=tt.prefixCls,dt=tt.align,qe=tt.arrow,Be=tt.arrowPos,Ee=qe||{},Re=Ee.className,He=Ee.content,ze=Be.x,Ye=ze===void 0?0:ze,ht=Be.y,xt=ht===void 0?0:ht,nr=b.useRef();if(!dt||!dt.points)return null;var er={position:"absolute"};if(dt.autoArrow!==!1){var Le=dt.points[0],Qe=dt.points[1],Qt=Le[0],Rt=Le[1],Vt=Qe[0],Gt=Qe[1];Qt===Vt||!["t","b"].includes(Qt)?er.top=xt:Qt==="t"?er.top=0:er.bottom=0,Rt===Gt||!["l","r"].includes(Rt)?er.left=Ye:Rt==="l"?er.left=0:er.right=0}return b.createElement("div",{ref:nr,className:o()("".concat(_t,"-arrow"),Re),style:er},He)}function D(tt){var _t=tt.prefixCls,dt=tt.open,qe=tt.zIndex,Be=tt.mask,Ee=tt.motion;return Be?b.createElement(k.default,(0,S.Z)({},Ee,{motionAppear:!0,visible:dt,removeOnLeave:!0}),function(Re){var He=Re.className;return b.createElement("div",{style:{zIndex:qe},className:o()("".concat(_t,"-mask"),He)})}):null}var M=b.memo(function(tt){var _t=tt.children;return _t},function(tt,_t){return _t.cache}),B=M,j=b.forwardRef(function(tt,_t){var dt=tt.popup,qe=tt.className,Be=tt.prefixCls,Ee=tt.style,Re=tt.target,He=tt.onVisibleChanged,ze=tt.open,Ye=tt.keepDom,ht=tt.fresh,xt=tt.onClick,nr=tt.mask,er=tt.arrow,Le=tt.arrowPos,Qe=tt.align,Qt=tt.motion,Rt=tt.maskMotion,Vt=tt.forceRender,Gt=tt.getPopupContainer,Tt=tt.autoDestroy,qt=tt.portal,Ue=tt.zIndex,fe=tt.onMouseEnter,pe=tt.onMouseLeave,Ot=tt.onPointerEnter,Ce=tt.ready,ct=tt.offsetX,Kt=tt.offsetY,At=tt.offsetR,Te=tt.offsetB,Et=tt.onAlign,ye=tt.onPrepare,et=tt.stretch,yt=tt.targetWidth,Nt=tt.targetHeight,Fe=typeof dt=="function"?dt():dt,Ir=ze||Ye,Ct=(Gt==null?void 0:Gt.length)>0,Gr=b.useState(!Gt||!Ct),Qr=(0,i.Z)(Gr,2),Mr=Qr[0],Fr=Qr[1];if((0,y.Z)(function(){!Mr&&Ct&&Re&&Fr(!0)},[Mr,Ct,Re]),!Mr)return null;var mr="auto",$r={left:"-1000vw",top:"-1000vh",right:mr,bottom:mr};if(Ce||!ze){var nn,cn=Qe.points,Xt=Qe.dynamicInset||((nn=Qe._experimental)===null||nn===void 0?void 0:nn.dynamicInset),mt=Xt&&cn[0][1]==="r",ut=Xt&&cn[0][0]==="b";mt?($r.right=At,$r.left=mr):($r.left=ct,$r.right=mr),ut?($r.bottom=Te,$r.top=mr):($r.top=Kt,$r.bottom=mr)}var ft={};return et&&(et.includes("height")&&Nt?ft.height=Nt:et.includes("minHeight")&&Nt&&(ft.minHeight=Nt),et.includes("width")&&yt?ft.width=yt:et.includes("minWidth")&&yt&&(ft.minWidth=yt)),ze||(ft.pointerEvents="none"),b.createElement(qt,{open:Vt||Ir,getContainer:Gt&&function(){return Gt(Re)},autoDestroy:Tt},b.createElement(D,{prefixCls:Be,open:ze,zIndex:Ue,mask:nr,motion:Rt}),b.createElement(h.Z,{onResize:Et,disabled:!ze},function($t){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Vt,leavedClassName:"".concat(Be,"-hidden")},Qt,{onAppearPrepare:ye,onEnterPrepare:ye,visible:ze,onVisibleChanged:function(gr){var it;Qt==null||(it=Qt.onVisibleChanged)===null||it===void 0||it.call(Qt,gr),He(gr)}}),function(yr,gr){var it=yr.className,Tr=yr.style,fn=o()(Be,it,qe);return b.createElement("div",{ref:(0,R.sQ)($t,_t,gr),className:fn,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Le.x||0,"px"),"--arrow-y":"".concat(Le.y||0,"px")},$r),ft),Tr),{},{boxSizing:"border-box",zIndex:Ue},Ee),onMouseEnter:fe,onMouseLeave:pe,onPointerEnter:Ot,onClick:xt},er&&b.createElement(A,{prefixCls:Be,arrow:er,arrowPos:Le,align:Qe}),b.createElement(B,{cache:!ze&&!ht},Fe))})}))}),Y=j,V=b.forwardRef(function(tt,_t){var dt=tt.children,qe=tt.getTriggerDOMNode,Be=(0,R.Yr)(dt),Ee=b.useCallback(function(He){(0,R.mH)(_t,qe?qe(He):He)},[qe]),Re=(0,R.x1)(Ee,dt.ref);return Be?b.cloneElement(dt,{ref:Re}):dt}),G=V,ae=b.createContext(null),ie=ae;function ue(tt){return tt?Array.isArray(tt)?tt:[tt]:[]}function q(tt,_t,dt,qe){return b.useMemo(function(){var Be=ue(dt!=null?dt:_t),Ee=ue(qe!=null?qe:_t),Re=new Set(Be),He=new Set(Ee);return tt&&(Re.has("hover")&&(Re.delete("hover"),Re.add("click")),He.has("hover")&&(He.delete("hover"),He.add("click"))),[Re,He]},[tt,_t,dt,qe])}var J=e(29194);function K(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],_t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],dt=arguments.length>2?arguments[2]:void 0;return dt?tt[0]===_t[0]:tt[0]===_t[0]&&tt[1]===_t[1]}function oe(tt,_t,dt,qe){for(var Be=dt.points,Ee=Object.keys(tt),Re=0;Re<Ee.length;Re+=1){var He,ze=Ee[Re];if(K((He=tt[ze])===null||He===void 0?void 0:He.points,Be,qe))return"".concat(_t,"-placement-").concat(ze)}return""}function ee(tt,_t,dt,qe){return _t||(dt?{motionName:"".concat(tt,"-").concat(dt)}:qe?{motionName:qe}:null)}function Q(tt){return tt.ownerDocument.defaultView}function le(tt){for(var _t=[],dt=tt==null?void 0:tt.parentElement,qe=["hidden","scroll","clip","auto"];dt;){var Be=Q(dt).getComputedStyle(dt),Ee=Be.overflowX,Re=Be.overflowY,He=Be.overflow;[Ee,Re,He].some(function(ze){return qe.includes(ze)})&&_t.push(dt),dt=dt.parentElement}return _t}function Z(tt){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(tt)?_t:tt}function $(tt){return Z(parseFloat(tt),0)}function se(tt,_t){var dt=(0,r.Z)({},tt);return(_t||[]).forEach(function(qe){if(!(qe instanceof HTMLBodyElement||qe instanceof HTMLHtmlElement)){var Be=Q(qe).getComputedStyle(qe),Ee=Be.overflow,Re=Be.overflowClipMargin,He=Be.borderTopWidth,ze=Be.borderBottomWidth,Ye=Be.borderLeftWidth,ht=Be.borderRightWidth,xt=qe.getBoundingClientRect(),nr=qe.offsetHeight,er=qe.clientHeight,Le=qe.offsetWidth,Qe=qe.clientWidth,Qt=$(He),Rt=$(ze),Vt=$(Ye),Gt=$(ht),Tt=Z(Math.round(xt.width/Le*1e3)/1e3),qt=Z(Math.round(xt.height/nr*1e3)/1e3),Ue=(Le-Qe-Vt-Gt)*Tt,fe=(nr-er-Qt-Rt)*qt,pe=Qt*qt,Ot=Rt*qt,Ce=Vt*Tt,ct=Gt*Tt,Kt=0,At=0;if(Ee==="clip"){var Te=$(Re);Kt=Te*Tt,At=Te*qt}var Et=xt.x+Ce-Kt,ye=xt.y+pe-At,et=Et+xt.width+2*Kt-Ce-ct-Ue,yt=ye+xt.height+2*At-pe-Ot-fe;dt.left=Math.max(dt.left,Et),dt.top=Math.max(dt.top,ye),dt.right=Math.min(dt.right,et),dt.bottom=Math.min(dt.bottom,yt)}}),dt}function _e(tt){var _t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,dt="".concat(_t),qe=dt.match(/^(.*)\%$/);return qe?tt*(parseFloat(qe[1])/100):parseFloat(dt)}function Ie(tt,_t){var dt=_t||[],qe=(0,i.Z)(dt,2),Be=qe[0],Ee=qe[1];return[_e(tt.width,Be),_e(tt.height,Ee)]}function De(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[tt[0],tt[1]]}function Ze(tt,_t){var dt=_t[0],qe=_t[1],Be,Ee;return dt==="t"?Ee=tt.y:dt==="b"?Ee=tt.y+tt.height:Ee=tt.y+tt.height/2,qe==="l"?Be=tt.x:qe==="r"?Be=tt.x+tt.width:Be=tt.x+tt.width/2,{x:Be,y:Ee}}function Ne(tt,_t){var dt={t:"b",b:"t",l:"r",r:"l"};return tt.map(function(qe,Be){return Be===_t?dt[qe]||"c":qe}).join("")}function Lt(tt,_t,dt,qe,Be,Ee,Re){var He=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Be[qe]||{}}),ze=(0,i.Z)(He,2),Ye=ze[0],ht=ze[1],xt=b.useRef(0),nr=b.useMemo(function(){return _t?le(_t):[]},[_t]),er=b.useRef({}),Le=function(){er.current={}};tt||Le();var Qe=(0,x.Z)(function(){if(_t&&dt&&tt){let Ra=function(ws,Xs){var xo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fn,ho=Fe.x+ws,wa=Fe.y+Xs,gs=ho+nn,Zs=wa+$r,no=Math.max(ho,xo.left),Eo=Math.max(wa,xo.top),wo=Math.min(gs,xo.right),po=Math.min(Zs,xo.bottom);return Math.max(0,(wo-no)*(po-Eo))},Da=function(){ir=Fe.y+rr,Rr=ir+$r,Dr=Fe.x+Sn,Pr=Dr+nn};var Vt,Gt,Tt=_t,qt=Tt.ownerDocument,Ue=Q(Tt),fe=Ue.getComputedStyle(Tt),pe=fe.width,Ot=fe.height,Ce=fe.position,ct=Tt.style.left,Kt=Tt.style.top,At=Tt.style.right,Te=Tt.style.bottom,Et=Tt.style.overflow,ye=(0,r.Z)((0,r.Z)({},Be[qe]),Ee),et=qt.createElement("div");(Vt=Tt.parentElement)===null||Vt===void 0||Vt.appendChild(et),et.style.left="".concat(Tt.offsetLeft,"px"),et.style.top="".concat(Tt.offsetTop,"px"),et.style.position=Ce,et.style.height="".concat(Tt.offsetHeight,"px"),et.style.width="".concat(Tt.offsetWidth,"px"),Tt.style.left="0",Tt.style.top="0",Tt.style.right="auto",Tt.style.bottom="auto",Tt.style.overflow="hidden";var yt;if(Array.isArray(dt))yt={x:dt[0],y:dt[1],width:0,height:0};else{var Nt=dt.getBoundingClientRect();yt={x:Nt.x,y:Nt.y,width:Nt.width,height:Nt.height}}var Fe=Tt.getBoundingClientRect(),Ir=qt.documentElement,Ct=Ir.clientWidth,Gr=Ir.clientHeight,Qr=Ir.scrollWidth,Mr=Ir.scrollHeight,Fr=Ir.scrollTop,mr=Ir.scrollLeft,$r=Fe.height,nn=Fe.width,cn=yt.height,Xt=yt.width,mt={left:0,top:0,right:Ct,bottom:Gr},ut={left:-mr,top:-Fr,right:Qr-mr,bottom:Mr-Fr},ft=ye.htmlRegion,$t="visible",yr="visibleFirst";ft!=="scroll"&&ft!==yr&&(ft=$t);var gr=ft===yr,it=se(ut,nr),Tr=se(mt,nr),fn=ft===$t?Tr:it,Ln=gr?Tr:fn;Tt.style.left="auto",Tt.style.top="auto",Tt.style.right="0",Tt.style.bottom="0";var Vr=Tt.getBoundingClientRect();Tt.style.left=ct,Tt.style.top=Kt,Tt.style.right=At,Tt.style.bottom=Te,Tt.style.overflow=Et,(Gt=Tt.parentElement)===null||Gt===void 0||Gt.removeChild(et);var Zn=Z(Math.round(nn/parseFloat(pe)*1e3)/1e3),Hn=Z(Math.round($r/parseFloat(Ot)*1e3)/1e3);if(Zn===0||Hn===0||(0,u.Sh)(dt)&&!(0,J.Z)(dt))return;var Pn=ye.offset,yn=ye.targetOffset,Vn=Ie(Fe,Pn),oi=(0,i.Z)(Vn,2),mi=oi[0],Di=oi[1],ji=Ie(yt,yn),gi=(0,i.Z)(ji,2),Ea=gi[0],ui=gi[1];yt.x-=Ea,yt.y-=ui;var Ji=ye.points||[],It=(0,i.Z)(Ji,2),gt=It[0],Oi=It[1],Xi=De(Oi),vi=De(gt),ya=Ze(yt,Xi),yi=Ze(Fe,vi),qn=(0,r.Z)({},ye),Sn=ya.x-yi.x+mi,rr=ya.y-yi.y+Di,vt=Ra(Sn,rr),nt=Ra(Sn,rr,Tr),Dt=Ze(yt,["t","l"]),pt=Ze(Fe,["t","l"]),cr=Ze(yt,["b","r"]),dr=Ze(Fe,["b","r"]),Ar=ye.overflow||{},Zr=Ar.adjustX,$e=Ar.adjustY,Je=Ar.shiftX,xe=Ar.shiftY,st=function(Xs){return typeof Xs=="boolean"?Xs:Xs>=0},ir,Rr,Dr,Pr;Da();var jr=st($e),pn=vi[0]===Xi[0];if(jr&&vi[0]==="t"&&(Rr>Ln.bottom||er.current.bt)){var Cr=rr;pn?Cr-=$r-cn:Cr=Dt.y-dr.y-Di;var ln=Ra(Sn,Cr),rn=Ra(Sn,Cr,Tr);ln>vt||ln===vt&&(!gr||rn>=nt)?(er.current.bt=!0,rr=Cr,Di=-Di,qn.points=[Ne(vi,0),Ne(Xi,0)]):er.current.bt=!1}if(jr&&vi[0]==="b"&&(ir<Ln.top||er.current.tb)){var sn=rr;pn?sn+=$r-cn:sn=cr.y-pt.y-Di;var wn=Ra(Sn,sn),pa=Ra(Sn,sn,Tr);wn>vt||wn===vt&&(!gr||pa>=nt)?(er.current.tb=!0,rr=sn,Di=-Di,qn.points=[Ne(vi,0),Ne(Xi,0)]):er.current.tb=!1}var Ei=st(Zr),hi=vi[1]===Xi[1];if(Ei&&vi[1]==="l"&&(Pr>Ln.right||er.current.rl)){var mn=Sn;hi?mn-=nn-Xt:mn=Dt.x-dr.x-mi;var ni=Ra(mn,rr),Mi=Ra(mn,rr,Tr);ni>vt||ni===vt&&(!gr||Mi>=nt)?(er.current.rl=!0,Sn=mn,mi=-mi,qn.points=[Ne(vi,1),Ne(Xi,1)]):er.current.rl=!1}if(Ei&&vi[1]==="r"&&(Dr<Ln.left||er.current.lr)){var ca=Sn;hi?ca+=nn-Xt:ca=cr.x-pt.x-mi;var Ha=Ra(ca,rr),Ta=Ra(ca,rr,Tr);Ha>vt||Ha===vt&&(!gr||Ta>=nt)?(er.current.lr=!0,Sn=ca,mi=-mi,qn.points=[Ne(vi,1),Ne(Xi,1)]):er.current.lr=!1}Da();var fs=Je===!0?0:Je;typeof fs=="number"&&(Dr<Tr.left&&(Sn-=Dr-Tr.left-mi,yt.x+Xt<Tr.left+fs&&(Sn+=yt.x-Tr.left+Xt-fs)),Pr>Tr.right&&(Sn-=Pr-Tr.right-mi,yt.x>Tr.right-fs&&(Sn+=yt.x-Tr.right+fs)));var Es=xe===!0?0:xe;typeof Es=="number"&&(ir<Tr.top&&(rr-=ir-Tr.top-Di,yt.y+cn<Tr.top+Es&&(rr+=yt.y-Tr.top+cn-Es)),Rr>Tr.bottom&&(rr-=Rr-Tr.bottom-Di,yt.y>Tr.bottom-Es&&(rr+=yt.y-Tr.bottom+Es)));var Wa=Fe.x+Sn,pi=Wa+nn,ra=Fe.y+rr,os=ra+$r,Ga=yt.x,Is=Ga+Xt,Vi=yt.y,ms=Vi+cn,bo=Math.max(Wa,Ga),Fi=Math.min(pi,Is),vs=(bo+Fi)/2,Na=vs-Wa,Ys=Math.max(ra,Vi),In=Math.min(os,ms),$a=(Ys+In)/2,cs=$a-ra;Re==null||Re(_t,qn);var ja=Vr.right-Fe.x-(Sn+Fe.width),Ui=Vr.bottom-Fe.y-(rr+Fe.height);ht({ready:!0,offsetX:Sn/Zn,offsetY:rr/Hn,offsetR:ja/Zn,offsetB:Ui/Hn,arrowX:Na/Zn,arrowY:cs/Hn,scaleX:Zn,scaleY:Hn,align:qn})}}),Qt=function(){xt.current+=1;var Gt=xt.current;Promise.resolve().then(function(){xt.current===Gt&&Qe()})},Rt=function(){ht(function(Gt){return(0,r.Z)((0,r.Z)({},Gt),{},{ready:!1})})};return(0,y.Z)(Rt,[qe]),(0,y.Z)(function(){tt||Rt()},[tt]),[Ye.ready,Ye.offsetX,Ye.offsetY,Ye.offsetR,Ye.offsetB,Ye.arrowX,Ye.arrowY,Ye.scaleX,Ye.scaleY,Ye.align,Qt]}var bt=e(95190);function kt(tt,_t,dt,qe,Be){(0,y.Z)(function(){if(tt&&_t&&dt){let xt=function(){qe(),Be()};var Ee=_t,Re=dt,He=le(Ee),ze=le(Re),Ye=Q(Re),ht=new Set([Ye].concat((0,bt.Z)(He),(0,bt.Z)(ze)));return ht.forEach(function(nr){nr.addEventListener("scroll",xt,{passive:!0})}),Ye.addEventListener("resize",xt,{passive:!0}),qe(),function(){ht.forEach(function(nr){nr.removeEventListener("scroll",xt),Ye.removeEventListener("resize",xt)})}}},[tt,_t,dt])}var jt=e(48736),Wt=e(16089);function zt(tt,_t,dt,qe,Be,Ee,Re,He){var ze=b.useRef(tt),Ye=b.useRef(!1);ze.current!==tt&&(Ye.current=!0,ze.current=tt),b.useEffect(function(){var ht=(0,Wt.Z)(function(){Ye.current=!1});return function(){Wt.Z.cancel(ht)}},[tt]),b.useEffect(function(){if(_t&&qe&&(!Be||Ee)){var ht=function(){var Ce=!1,ct=function(Te){var Et=Te.target;Ce=Re(Et)},Kt=function(Te){var Et=Te.target;!Ye.current&&ze.current&&!Ce&&!Re(Et)&&He(!1)};return[ct,Kt]},xt=ht(),nr=(0,i.Z)(xt,2),er=nr[0],Le=nr[1],Qe=ht(),Qt=(0,i.Z)(Qe,2),Rt=Qt[0],Vt=Qt[1],Gt=Q(qe);Gt.addEventListener("mousedown",er,!0),Gt.addEventListener("click",Le,!0),Gt.addEventListener("contextmenu",Le,!0);var Tt=(0,a.A)(dt);if(Tt&&(Tt.addEventListener("mousedown",Rt,!0),Tt.addEventListener("click",Vt,!0),Tt.addEventListener("contextmenu",Vt,!0)),0)var qt,Ue,fe,pe;return function(){Gt.removeEventListener("mousedown",er,!0),Gt.removeEventListener("click",Le,!0),Gt.removeEventListener("contextmenu",Le,!0),Tt&&(Tt.removeEventListener("mousedown",Rt,!0),Tt.removeEventListener("click",Vt,!0),Tt.removeEventListener("contextmenu",Vt,!0))}}},[_t,dt,qe,Be,Ee])}var We=["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 St(){var tt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,_t=b.forwardRef(function(dt,qe){var Be=dt.prefixCls,Ee=Be===void 0?"rc-trigger-popup":Be,Re=dt.children,He=dt.action,ze=He===void 0?"hover":He,Ye=dt.showAction,ht=dt.hideAction,xt=dt.popupVisible,nr=dt.defaultPopupVisible,er=dt.onPopupVisibleChange,Le=dt.afterPopupVisibleChange,Qe=dt.mouseEnterDelay,Qt=dt.mouseLeaveDelay,Rt=Qt===void 0?.1:Qt,Vt=dt.focusDelay,Gt=dt.blurDelay,Tt=dt.mask,qt=dt.maskClosable,Ue=qt===void 0?!0:qt,fe=dt.getPopupContainer,pe=dt.forceRender,Ot=dt.autoDestroy,Ce=dt.destroyPopupOnHide,ct=dt.popup,Kt=dt.popupClassName,At=dt.popupStyle,Te=dt.popupPlacement,Et=dt.builtinPlacements,ye=Et===void 0?{}:Et,et=dt.popupAlign,yt=dt.zIndex,Nt=dt.stretch,Fe=dt.getPopupClassNameFromAlign,Ir=dt.fresh,Ct=dt.alignPoint,Gr=dt.onPopupClick,Qr=dt.onPopupAlign,Mr=dt.arrow,Fr=dt.popupMotion,mr=dt.maskMotion,$r=dt.popupTransitionName,nn=dt.popupAnimation,cn=dt.maskTransitionName,Xt=dt.maskAnimation,mt=dt.className,ut=dt.getTriggerDOMNode,ft=(0,l.Z)(dt,We),$t=Ot||Ce||!1,yr=b.useState(!1),gr=(0,i.Z)(yr,2),it=gr[0],Tr=gr[1];(0,y.Z)(function(){Tr((0,_.Z)())},[]);var fn=b.useRef({}),Ln=b.useContext(ie),Vr=b.useMemo(function(){return{registerSubPopup:function(si,Ua){fn.current[si]=Ua,Ln==null||Ln.registerSubPopup(si,Ua)}}},[Ln]),Zn=(0,p.Z)(),Hn=b.useState(null),Pn=(0,i.Z)(Hn,2),yn=Pn[0],Vn=Pn[1],oi=(0,x.Z)(function(ci){(0,u.Sh)(ci)&&yn!==ci&&Vn(ci),Ln==null||Ln.registerSubPopup(Zn,ci)}),mi=b.useState(null),Di=(0,i.Z)(mi,2),ji=Di[0],gi=Di[1],Ea=b.useRef(null),ui=(0,x.Z)(function(ci){(0,u.Sh)(ci)&&ji!==ci&&(gi(ci),Ea.current=ci)}),Ji=b.Children.only(Re),It=(Ji==null?void 0:Ji.props)||{},gt={},Oi=(0,x.Z)(function(ci){var si,Ua,Qa=ji;return(Qa==null?void 0:Qa.contains(ci))||((si=(0,a.A)(Qa))===null||si===void 0?void 0:si.host)===ci||ci===Qa||(yn==null?void 0:yn.contains(ci))||((Ua=(0,a.A)(yn))===null||Ua===void 0?void 0:Ua.host)===ci||ci===yn||Object.values(fn.current).some(function(qa){return(qa==null?void 0:qa.contains(ci))||ci===qa})}),Xi=ee(Ee,Fr,nn,$r),vi=ee(Ee,mr,Xt,cn),ya=b.useState(nr||!1),yi=(0,i.Z)(ya,2),qn=yi[0],Sn=yi[1],rr=xt!=null?xt:qn,vt=(0,x.Z)(function(ci){xt===void 0&&Sn(ci)});(0,y.Z)(function(){Sn(xt||!1)},[xt]);var nt=b.useRef(rr);nt.current=rr;var Dt=b.useRef([]);Dt.current=[];var pt=(0,x.Z)(function(ci){var si;vt(ci),((si=Dt.current[Dt.current.length-1])!==null&&si!==void 0?si:rr)!==ci&&(Dt.current.push(ci),er==null||er(ci))}),cr=b.useRef(),dr=function(){clearTimeout(cr.current)},Ar=function(si){var Ua=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;dr(),Ua===0?pt(si):cr.current=setTimeout(function(){pt(si)},Ua*1e3)};b.useEffect(function(){return dr},[]);var Zr=b.useState(!1),$e=(0,i.Z)(Zr,2),Je=$e[0],xe=$e[1];(0,y.Z)(function(ci){(!ci||rr)&&xe(!0)},[rr]);var st=b.useState(null),ir=(0,i.Z)(st,2),Rr=ir[0],Dr=ir[1],Pr=b.useState([0,0]),jr=(0,i.Z)(Pr,2),pn=jr[0],Cr=jr[1],ln=function(si){Cr([si.clientX,si.clientY])},rn=Lt(rr,yn,Ct?pn:ji,Te,ye,et,Qr),sn=(0,i.Z)(rn,11),wn=sn[0],pa=sn[1],Ei=sn[2],hi=sn[3],mn=sn[4],ni=sn[5],Mi=sn[6],ca=sn[7],Ha=sn[8],Ta=sn[9],fs=sn[10],Es=q(it,ze,Ye,ht),Wa=(0,i.Z)(Es,2),pi=Wa[0],ra=Wa[1],os=pi.has("click"),Ga=ra.has("click")||ra.has("contextMenu"),Is=(0,x.Z)(function(){Je||fs()}),Vi=function(){nt.current&&Ct&&Ga&&Ar(!1)};kt(rr,ji,yn,Is,Vi),(0,y.Z)(function(){Is()},[pn,Te]),(0,y.Z)(function(){rr&&!(ye!=null&&ye[Te])&&Is()},[JSON.stringify(et)]);var ms=b.useMemo(function(){var ci=oe(ye,Ee,Ta,Ct);return o()(ci,Fe==null?void 0:Fe(Ta))},[Ta,Fe,ye,Ee,Ct]);b.useImperativeHandle(qe,function(){return{nativeElement:Ea.current,forceAlign:Is}});var bo=b.useState(0),Fi=(0,i.Z)(bo,2),vs=Fi[0],Na=Fi[1],Ys=b.useState(0),In=(0,i.Z)(Ys,2),$a=In[0],cs=In[1],ja=function(){if(Nt&&ji){var si=ji.getBoundingClientRect();Na(si.width),cs(si.height)}},Ui=function(){ja(),Is()},Ra=function(si){xe(!1),fs(),Le==null||Le(si)},Da=function(){return new Promise(function(si){ja(),Dr(function(){return si})})};(0,y.Z)(function(){Rr&&(fs(),Rr(),Dr(null))},[Rr]);function ws(ci,si,Ua,Qa){gt[ci]=function(qa){var Qs;Qa==null||Qa(qa),Ar(si,Ua);for(var qs=arguments.length,Qo=new Array(qs>1?qs-1:0),ds=1;ds<qs;ds++)Qo[ds-1]=arguments[ds];(Qs=It[ci])===null||Qs===void 0||Qs.call.apply(Qs,[It,qa].concat(Qo))}}(os||Ga)&&(gt.onClick=function(ci){var si;nt.current&&Ga?Ar(!1):!nt.current&&os&&(ln(ci),Ar(!0));for(var Ua=arguments.length,Qa=new Array(Ua>1?Ua-1:0),qa=1;qa<Ua;qa++)Qa[qa-1]=arguments[qa];(si=It.onClick)===null||si===void 0||si.call.apply(si,[It,ci].concat(Qa))}),zt(rr,Ga,ji,yn,Tt,Ue,Oi,Ar);var Xs=pi.has("hover"),xo=ra.has("hover"),ho,wa;Xs&&(ws("onMouseEnter",!0,Qe,function(ci){ln(ci)}),ws("onPointerEnter",!0,Qe,function(ci){ln(ci)}),ho=function(si){(rr||Je)&&yn!==null&&yn!==void 0&&yn.contains(si.target)&&Ar(!0,Qe)},Ct&&(gt.onMouseMove=function(ci){var si;(si=It.onMouseMove)===null||si===void 0||si.call(It,ci)})),xo&&(ws("onMouseLeave",!1,Rt),ws("onPointerLeave",!1,Rt),wa=function(){Ar(!1,Rt)}),pi.has("focus")&&ws("onFocus",!0,Vt),ra.has("focus")&&ws("onBlur",!1,Gt),pi.has("contextMenu")&&(gt.onContextMenu=function(ci){var si;nt.current&&ra.has("contextMenu")?Ar(!1):(ln(ci),Ar(!0)),ci.preventDefault();for(var Ua=arguments.length,Qa=new Array(Ua>1?Ua-1:0),qa=1;qa<Ua;qa++)Qa[qa-1]=arguments[qa];(si=It.onContextMenu)===null||si===void 0||si.call.apply(si,[It,ci].concat(Qa))}),mt&&(gt.className=o()(It.className,mt));var gs=(0,r.Z)((0,r.Z)({},It),gt),Zs={},no=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];no.forEach(function(ci){ft[ci]&&(Zs[ci]=function(){for(var si,Ua=arguments.length,Qa=new Array(Ua),qa=0;qa<Ua;qa++)Qa[qa]=arguments[qa];(si=gs[ci])===null||si===void 0||si.call.apply(si,[gs].concat(Qa)),ft[ci].apply(ft,Qa)})});var Eo=b.cloneElement(Ji,(0,r.Z)((0,r.Z)({},gs),Zs)),wo={x:ni,y:Mi},po=Mr?(0,r.Z)({},Mr!==!0?Mr:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!rr,ref:ui,onResize:Ui},b.createElement(G,{getTriggerDOMNode:ut},Eo)),b.createElement(ie.Provider,{value:Vr},b.createElement(Y,{portal:tt,ref:oi,prefixCls:Ee,popup:ct,className:o()(Kt,ms),style:At,target:ji,onMouseEnter:ho,onMouseLeave:wa,onPointerEnter:ho,zIndex:yt,open:rr,keepDom:Je,fresh:Ir,onClick:Gr,mask:Tt,motion:Xi,maskMotion:vi,onVisibleChanged:Ra,onPrepare:Da,forceRender:pe,autoDestroy:$t,getPopupContainer:fe,align:Ta,arrow:po,arrowPos:wo,ready:wn,offsetX:pa,offsetY:Ei,offsetR:hi,offsetB:mn,onAlign:Is,stretch:Nt,targetWidth:vs/ca,targetHeight:$a/Ha})))});return _t}var Ft=St(c.Z)},8944:function(){"use strict"},5755:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},49535:function(d,v){"use strict";function e(i){const l={},c={channels:l,subscribe:function(f,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},2339:function(d,v,e){"use strict";e.d(v,{zt:function(){return na},$j:function(){return ma},Ue:function(){return Xs},I0:function(){return Uo},v9:function(){return ko}});var r={};e.r(r),e.d(r,{actionChannel:function(){return Xt},all:function(){return Fe},apply:function(){return Qr},call:function(){return Gr},cancel:function(){return nn},cancelled:function(){return mt},cps:function(){return Mr},flush:function(){return ut},fork:function(){return Fr},getContext:function(){return ft},join:function(){return $r},put:function(){return Nt},race:function(){return Ir},select:function(){return cn},setContext:function(){return $t},spawn:function(){return mr},take:function(){return et},takeEvery:function(){return vt},takeLatest:function(){return nt},takem:function(){return yt},throttle:function(){return Dt}});var i=e(59301),l=e(88590),c=e(59781),f=Object.assign||function(Ke){for(var Xe=1;Xe<arguments.length;Xe++){var Bt=arguments[Xe];for(var Yt in Bt)Object.prototype.hasOwnProperty.call(Bt,Yt)&&(Ke[Yt]=Bt[Yt])}return Ke},o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ke){return typeof Ke}:function(Ke){return Ke&&typeof Symbol=="function"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?"symbol":typeof Ke},h=function(Xe){return"@@redux-saga/"+Xe},u=h("TASK"),a=h("HELPER"),x=h("MATCH"),p=h("CANCEL_PROMISE"),y=h("SAGA_ACTION"),_=h("SELF_CANCELLATION"),b=function(Xe){return function(){return Xe}},S=b(!0),k=null,R=function(){},A=function(Xe){return Xe};function D(Ke,Xe,Bt){if(!Xe(Ke))throw le("error","uncaught at check",Bt),new Error(Bt)}var M=Object.prototype.hasOwnProperty;function B(Ke,Xe){return j.notUndef(Ke)&&M.call(Ke,Xe)}var j={undef:function(Xe){return Xe==null},notUndef:function(Xe){return Xe!=null},func:function(Xe){return typeof Xe=="function"},number:function(Xe){return typeof Xe=="number"},string:function(Xe){return typeof Xe=="string"},array:Array.isArray,object:function(Xe){return Xe&&!j.array(Xe)&&(typeof Xe=="undefined"?"undefined":o(Xe))==="object"},promise:function(Xe){return Xe&&j.func(Xe.then)},iterator:function(Xe){return Xe&&j.func(Xe.next)&&j.func(Xe.throw)},iterable:function(Xe){return Xe&&j.func(Symbol)?j.func(Xe[Symbol.iterator]):j.array(Xe)},task:function(Xe){return Xe&&Xe[u]},observable:function(Xe){return Xe&&j.func(Xe.subscribe)},buffer:function(Xe){return Xe&&j.func(Xe.isEmpty)&&j.func(Xe.take)&&j.func(Xe.put)},pattern:function(Xe){return Xe&&(j.string(Xe)||(typeof Xe=="undefined"?"undefined":o(Xe))==="symbol"||j.func(Xe)||j.array(Xe))},channel:function(Xe){return Xe&&j.func(Xe.take)&&j.func(Xe.close)},helper:function(Xe){return Xe&&Xe[a]},stringableFunc:function(Xe){return j.func(Xe)&&B(Xe,"toString")}},Y={assign:function(Xe,Bt){for(var Yt in Bt)B(Bt,Yt)&&(Xe[Yt]=Bt[Yt])}};function V(Ke,Xe){var Bt=Ke.indexOf(Xe);Bt>=0&&Ke.splice(Bt,1)}var G={from:function(Xe){var Bt=Array(Xe.length);for(var Yt in Xe)B(Xe,Yt)&&(Bt[Yt]=Xe[Yt]);return Bt}};function ae(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Xe=f({},Ke),Bt=new Promise(function(Yt,pr){Xe.resolve=Yt,Xe.reject=pr});return Xe.promise=Bt,Xe}function ie(Ke){for(var Xe=[],Bt=0;Bt<Ke;Bt++)Xe.push(ae());return Xe}function ue(Ke){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Bt=void 0,Yt=new Promise(function(pr){Bt=setTimeout(function(){return pr(Xe)},Ke)});return Yt[p]=function(){return clearTimeout(Bt)},Yt}function q(){var Ke,Xe=!0,Bt=void 0,Yt=void 0;return Ke={},Ke[u]=!0,Ke.isRunning=function(){return Xe},Ke.result=function(){return Bt},Ke.error=function(){return Yt},Ke.setRunning=function(Lr){return Xe=Lr},Ke.setResult=function(Lr){return Bt=Lr},Ke.setError=function(Lr){return Yt=Lr},Ke}function J(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Ke}}var K=J(),oe=function(Xe){throw Xe},ee=function(Xe){return{value:Xe,done:!0}};function Q(Ke){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:oe,Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Yt=arguments[3],pr={name:Bt,next:Ke,throw:Xe,return:ee};return Yt&&(pr[a]=!0),typeof Symbol!="undefined"&&(pr[Symbol.iterator]=function(){return pr}),pr}function le(Ke,Xe){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Ke+": "+Xe+`
|
|
|
`+(Bt&&Bt.stack||Bt)):console[Ke](Xe,Bt)}function Z(Ke,Xe){return function(){return Ke.apply(void 0,arguments)}}var $=function(Xe,Bt){return Xe+" has been deprecated in favor of "+Bt+", please update your code"},se=function(Xe){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: `+Xe+`
|
|
|
`)},_e=function(Xe,Bt){return(Xe?Xe+".":"")+"setContext(props): argument "+Bt+" is not a plain object"},Ie=function(Xe){return function(Bt){return Xe(Object.defineProperty(Bt,y,{value:!0}))}},De=function Ke(Xe){return function(){for(var Bt=arguments.length,Yt=Array(Bt),pr=0;pr<Bt;pr++)Yt[pr]=arguments[pr];var Lr=[],zr=Xe.apply(void 0,Yt);return{next:function(tn){return Lr.push(tn),zr.next(tn)},clone:function(){var tn=Ke(Xe).apply(void 0,Yt);return Lr.forEach(function(gn){return tn.next(gn)}),tn},return:function(tn){return zr.return(tn)},throw:function(tn){return zr.throw(tn)}}}},Ze="Channel's Buffer overflow!",Ne=1,Lt=2,bt=3,kt=4,jt={isEmpty:S,put:R,take:R};function Wt(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Xe=arguments[1],Bt=new Array(Ke),Yt=0,pr=0,Lr=0,zr=function(Xn){Bt[pr]=Xn,pr=(pr+1)%Ke,Yt++},_n=function(){if(Yt!=0){var Xn=Bt[Lr];return Bt[Lr]=null,Yt--,Lr=(Lr+1)%Ke,Xn}},tn=function(){for(var Xn=[];Yt;)Xn.push(_n());return Xn};return{isEmpty:function(){return Yt==0},put:function(Xn){if(Yt<Ke)zr(Xn);else{var ei=void 0;switch(Xe){case Ne:throw new Error(Ze);case bt:Bt[pr]=Xn,pr=(pr+1)%Ke,Lr=pr;break;case kt:ei=2*Ke,Bt=tn(),Yt=Bt.length,pr=Bt.length,Lr=0,Bt.length=ei,Ke=ei,zr(Xn);break;default:}}},take:_n,flush:tn}}var zt={none:function(){return jt},fixed:function(Xe){return Wt(Xe,Ne)},dropping:function(Xe){return Wt(Xe,Lt)},sliding:function(Xe){return Wt(Xe,bt)},expanding:function(Xe){return Wt(Xe,kt)}},We=[],St=0;function Ft(Ke){try{_t(),Ke()}finally{dt()}}function tt(Ke){We.push(Ke),St||(_t(),qe())}function _t(){St++}function dt(){St--}function qe(){dt();for(var Ke=void 0;!St&&(Ke=We.shift())!==void 0;)Ft(Ke)}var Be=Object.assign||function(Ke){for(var Xe=1;Xe<arguments.length;Xe++){var Bt=arguments[Xe];for(var Yt in Bt)Object.prototype.hasOwnProperty.call(Bt,Yt)&&(Ke[Yt]=Bt[Yt])}return Ke},Ee="@@redux-saga/CHANNEL_END",Re={type:Ee},He=function(Xe){return Xe&&Xe.type===Ee};function ze(){var Ke=[];function Xe(Yt){return Ke.push(Yt),function(){return V(Ke,Yt)}}function Bt(Yt){for(var pr=Ke.slice(),Lr=0,zr=pr.length;Lr<zr;Lr++)pr[Lr](Yt)}return{subscribe:Xe,emit:Bt}}var Ye="invalid buffer passed to channel factory function",ht="Saga was provided with an undefined action";function xt(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zt.fixed(),Xe=!1,Bt=[];D(Ke,j.buffer,Ye);function Yt(){if(Xe&&Bt.length)throw se("Cannot have a closed channel with pending takers");if(Bt.length&&!Ke.isEmpty())throw se("Cannot have pending takers with non empty buffer")}function pr(tn){if(Yt(),D(tn,j.notUndef,ht),!Xe){if(!Bt.length)return Ke.put(tn);for(var gn=0;gn<Bt.length;gn++){var Xn=Bt[gn];if(!Xn[x]||Xn[x](tn))return Bt.splice(gn,1),Xn(tn)}}}function Lr(tn){Yt(),D(tn,j.func,"channel.take's callback must be a function"),Xe&&Ke.isEmpty()?tn(Re):Ke.isEmpty()?(Bt.push(tn),tn.cancel=function(){return V(Bt,tn)}):tn(Ke.take())}function zr(tn){if(Yt(),D(tn,j.func,"channel.flush' callback must be a function"),Xe&&Ke.isEmpty()){tn(Re);return}tn(Ke.flush())}function _n(){if(Yt(),!Xe&&(Xe=!0,Bt.length)){var tn=Bt;Bt=[];for(var gn=0,Xn=tn.length;gn<Xn;gn++)tn[gn](Re)}}return{take:Lr,put:pr,flush:zr,close:_n,get __takers__(){return Bt},get __closed__(){return Xe}}}function nr(Ke){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:zt.none(),Bt=arguments[2];arguments.length>2&&D(Bt,j.func,"Invalid match function passed to eventChannel");var Yt=xt(Xe),pr=function(){Yt.__closed__||(Lr&&Lr(),Yt.close())},Lr=Ke(function(zr){if(He(zr)){pr();return}Bt&&!Bt(zr)||Yt.put(zr)});if(Yt.__closed__&&Lr(),!j.func(Lr))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Yt.take,flush:Yt.flush,close:pr}}function er(Ke){var Xe=nr(function(Bt){return Ke(function(Yt){if(Yt[y]){Bt(Yt);return}tt(function(){return Bt(Yt)})})});return Be({},Xe,{take:function(Yt,pr){arguments.length>1&&(D(pr,j.func,"channel.take's matcher argument must be a function"),Yt[x]=pr),Xe.take(Yt)}})}var Le=h("IO"),Qe="TAKE",Qt="PUT",Rt="ALL",Vt="RACE",Gt="CALL",Tt="CPS",qt="FORK",Ue="JOIN",fe="CANCEL",pe="SELECT",Ot="ACTION_CHANNEL",Ce="CANCELLED",ct="FLUSH",Kt="GET_CONTEXT",At="SET_CONTEXT",Te=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,Et=function(Xe,Bt){var Yt;return Yt={},Yt[Le]=!0,Yt[Xe]=Bt,Yt},ye=function(Xe){return D(gr.fork(Xe),j.object,"detach(eff): argument must be a fork effect"),Xe[qt].detached=!0,Xe};function et(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&D(arguments[0],j.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),j.pattern(Ke))return Et(Qe,{pattern:Ke});if(j.channel(Ke))return Et(Qe,{channel:Ke});throw new Error("take(patternOrChannel): argument "+String(Ke)+" is not valid channel or a valid pattern")}et.maybe=function(){var Ke=et.apply(void 0,arguments);return Ke[Qe].maybe=!0,Ke};var yt=Z(et.maybe,$("takem","take.maybe"));function Nt(Ke,Xe){return arguments.length>1?(D(Ke,j.notUndef,"put(channel, action): argument channel is undefined"),D(Ke,j.channel,"put(channel, action): argument "+Ke+" is not a valid channel"),D(Xe,j.notUndef,"put(channel, action): argument action is undefined")):(D(Ke,j.notUndef,"put(action): argument action is undefined"),Xe=Ke,Ke=null),Et(Qt,{channel:Ke,action:Xe})}Nt.resolve=function(){var Ke=Nt.apply(void 0,arguments);return Ke[Qt].resolve=!0,Ke},Nt.sync=Z(Nt.resolve,$("put.sync","put.resolve"));function Fe(Ke){return Et(Rt,Ke)}function Ir(Ke){return Et(Vt,Ke)}function Ct(Ke,Xe,Bt){D(Xe,j.notUndef,Ke+": argument fn is undefined");var Yt=null;if(j.array(Xe)){var pr=Xe;Yt=pr[0],Xe=pr[1]}else if(Xe.fn){var Lr=Xe;Yt=Lr.context,Xe=Lr.fn}return Yt&&j.string(Xe)&&j.func(Yt[Xe])&&(Xe=Yt[Xe]),D(Xe,j.func,Ke+": argument "+Xe+" is not a function"),{context:Yt,fn:Xe,args:Bt}}function Gr(Ke){for(var Xe=arguments.length,Bt=Array(Xe>1?Xe-1:0),Yt=1;Yt<Xe;Yt++)Bt[Yt-1]=arguments[Yt];return Et(Gt,Ct("call",Ke,Bt))}function Qr(Ke,Xe){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Et(Gt,Ct("apply",{context:Ke,fn:Xe},Bt))}function Mr(Ke){for(var Xe=arguments.length,Bt=Array(Xe>1?Xe-1:0),Yt=1;Yt<Xe;Yt++)Bt[Yt-1]=arguments[Yt];return Et(Tt,Ct("cps",Ke,Bt))}function Fr(Ke){for(var Xe=arguments.length,Bt=Array(Xe>1?Xe-1:0),Yt=1;Yt<Xe;Yt++)Bt[Yt-1]=arguments[Yt];return Et(qt,Ct("fork",Ke,Bt))}function mr(Ke){for(var Xe=arguments.length,Bt=Array(Xe>1?Xe-1:0),Yt=1;Yt<Xe;Yt++)Bt[Yt-1]=arguments[Yt];return ye(Fr.apply(void 0,[Ke].concat(Bt)))}function $r(){for(var Ke=arguments.length,Xe=Array(Ke),Bt=0;Bt<Ke;Bt++)Xe[Bt]=arguments[Bt];if(Xe.length>1)return Fe(Xe.map(function(pr){return $r(pr)}));var Yt=Xe[0];return D(Yt,j.notUndef,"join(task): argument task is undefined"),D(Yt,j.task,"join(task): argument "+Yt+" is not a valid Task object "+Te),Et(Ue,Yt)}function nn(){for(var Ke=arguments.length,Xe=Array(Ke),Bt=0;Bt<Ke;Bt++)Xe[Bt]=arguments[Bt];if(Xe.length>1)return Fe(Xe.map(function(pr){return nn(pr)}));var Yt=Xe[0];return Xe.length===1&&(D(Yt,j.notUndef,"cancel(task): argument task is undefined"),D(Yt,j.task,"cancel(task): argument "+Yt+" is not a valid Task object "+Te)),Et(fe,Yt||_)}function cn(Ke){for(var Xe=arguments.length,Bt=Array(Xe>1?Xe-1:0),Yt=1;Yt<Xe;Yt++)Bt[Yt-1]=arguments[Yt];return arguments.length===0?Ke=A:(D(Ke,j.notUndef,"select(selector,[...]): argument selector is undefined"),D(Ke,j.func,"select(selector,[...]): argument "+Ke+" is not a function")),Et(pe,{selector:Ke,args:Bt})}function Xt(Ke,Xe){return D(Ke,j.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(D(Xe,j.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),D(Xe,j.buffer,"actionChannel(pattern, buffer): argument "+Xe+" is not a valid buffer")),Et(Ot,{pattern:Ke,buffer:Xe})}function mt(){return Et(Ce,{})}function ut(Ke){return D(Ke,j.channel,"flush(channel): argument "+Ke+" is not valid channel"),Et(ct,Ke)}function ft(Ke){return D(Ke,j.string,"getContext(prop): argument "+Ke+" is not a string"),Et(Kt,Ke)}function $t(Ke){return D(Ke,j.object,_e(null,Ke)),Et(At,Ke)}var yr=function(Xe){return function(Bt){return Bt&&Bt[Le]&&Bt[Xe]}},gr={take:yr(Qe),put:yr(Qt),all:yr(Rt),race:yr(Vt),call:yr(Gt),cps:yr(Tt),fork:yr(qt),join:yr(Ue),cancel:yr(fe),select:yr(pe),actionChannel:yr(Ot),cancelled:yr(Ce),flush:yr(ct),getContext:yr(Kt),setContext:yr(At)},it=Object.assign||function(Ke){for(var Xe=1;Xe<arguments.length;Xe++){var Bt=arguments[Xe];for(var Yt in Bt)Object.prototype.hasOwnProperty.call(Bt,Yt)&&(Ke[Yt]=Bt[Yt])}return Ke},Tr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ke){return typeof Ke}:function(Ke){return Ke&&typeof Symbol=="function"&&Ke.constructor===Symbol&&Ke!==Symbol.prototype?"symbol":typeof Ke};function fn(Ke,Xe){for(var Bt in Xe){var Yt=Xe[Bt];Yt.configurable=Yt.enumerable=!0,"value"in Yt&&(Yt.writable=!0),Object.defineProperty(Ke,Bt,Yt)}return Ke}var Ln="proc first argument (Saga function result) must be an iterator",Vr={toString:function(){return"@@redux-saga/CHANNEL_END"}},Zn={toString:function(){return"@@redux-saga/TASK_CANCEL"}},Hn={wildcard:function(){return S},default:function(Xe){return(typeof Xe=="undefined"?"undefined":Tr(Xe))==="symbol"?function(Bt){return Bt.type===Xe}:function(Bt){return Bt.type===String(Xe)}},array:function(Xe){return function(Bt){return Xe.some(function(Yt){return Pn(Yt)(Bt)})}},predicate:function(Xe){return function(Bt){return Xe(Bt)}}};function Pn(Ke){return(Ke==="*"?Hn.wildcard:j.array(Ke)?Hn.array:j.stringableFunc(Ke)?Hn.default:j.func(Ke)?Hn.predicate:Hn.default)(Ke)}function yn(Ke,Xe,Bt){var Yt=[],pr=void 0,Lr=!1;_n(Xe);function zr(gn){tn(),Bt(gn,!0)}function _n(gn){Yt.push(gn),gn.cont=function(Xn,ei){Lr||(V(Yt,gn),gn.cont=R,ei?zr(Xn):(gn===Xe&&(pr=Xn),Yt.length||(Lr=!0,Bt(pr))))}}function tn(){Lr||(Lr=!0,Yt.forEach(function(gn){gn.cont=R,gn.cancel()}),Yt=[])}return{addTask:_n,cancelAll:tn,abort:zr,getTasks:function(){return Yt},taskNames:function(){return Yt.map(function(Xn){return Xn.name})}}}function Vn(Ke){var Xe=Ke.context,Bt=Ke.fn,Yt=Ke.args;if(j.iterator(Bt))return Bt;var pr=void 0,Lr=void 0;try{pr=Bt.apply(Xe,Yt)}catch(zr){Lr=zr}return j.iterator(pr)?pr:Q(Lr?function(){throw Lr}:function(){var zr=void 0,_n={done:!1,value:pr},tn=function(Xn){return{done:!0,value:Xn}};return function(gn){return zr?tn(gn):(zr=!0,_n)}}())}var oi=function(Xe){return{fn:Xe}};function mi(Ke){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return R},Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,Yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,pr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Lr=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},zr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,_n=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",tn=arguments[8];D(Ke,j.iterator,Ln);var gn="[...effects]",Xn=Z(ts,$(gn,"all("+gn+")")),ei=Lr.sagaMonitor,bi=Lr.logger,wi=Lr.onError,zi=bi||le,Bi=function(Xr){var En=Xr.sagaStack;!En&&Xr.stack&&(En=Xr.stack.split(`
|
|
|
`)[0].indexOf(Xr.message)!==-1?Xr.stack:"Error: "+Xr.message+`
|
|
|
`+Xr.stack),zi("error","uncaught at "+_n,En||Xr.message||Xr)},xi=er(Xe),ga=Object.create(pr);Yi.cancel=R;var Ti=Jr(zr,_n,Ke,tn),fi={name:_n,cancel:eo,isRunning:!0},oa=yn(_n,fi,La);function eo(){fi.isRunning&&!fi.isCancelled&&(fi.isCancelled=!0,Yi(Zn))}function Ss(){Ke._isRunning&&!Ke._isCancelled&&(Ke._isCancelled=!0,oa.cancelAll(),La(Zn))}return tn&&(tn.cancel=Ss),Ke._isRunning=!0,Yi(),Ti;function Yi(br,Xr){if(!fi.isRunning)throw new Error("Trying to resume an already finished generator");try{var En=void 0;Xr?En=Ke.throw(br):br===Zn?(fi.isCancelled=!0,Yi.cancel(),En=j.func(Ke.return)?Ke.return(Zn):{done:!0,value:Zn}):br===Vr?En=j.func(Ke.return)?Ke.return():{done:!0}:En=Ke.next(br),En.done?(fi.isMainRunning=!1,fi.cont&&fi.cont(En.value)):ea(En.value,zr,"",Yi)}catch(Jn){fi.isCancelled&&Bi(Jn),fi.isMainRunning=!1,fi.cont(Jn,!0)}}function La(br,Xr){Ke._isRunning=!1,xi.close(),Xr?(br instanceof Error&&Object.defineProperty(br,"sagaStack",{value:"at "+_n+`
|
|
|
`+(br.sagaStack||br.stack),configurable:!0}),Ti.cont||(br instanceof Error&&wi?wi(br):Bi(br)),Ke._error=br,Ke._isAborted=!0,Ke._deferredEnd&&Ke._deferredEnd.reject(br)):(Ke._result=br,Ke._deferredEnd&&Ke._deferredEnd.resolve(br)),Ti.cont&&Ti.cont(br,Xr),Ti.joiners.forEach(function(En){return En.cb(br,Xr)}),Ti.joiners=null}function ea(br,Xr){var En=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Jn=arguments[3],Ri=K();ei&&ei.effectTriggered({effectId:Ri,parentEffectId:Xr,label:En,effect:br});var Dn=void 0;function On(ua,Hi){Dn||(Dn=!0,Jn.cancel=R,ei&&(Hi?ei.effectRejected(Ri,ua):ei.effectResolved(Ri,ua)),Jn(ua,Hi))}On.cancel=R,Jn.cancel=function(){if(!Dn){Dn=!0;try{On.cancel()}catch(ua){Bi(ua)}On.cancel=R,ei&&ei.effectCancelled(Ri)}};var Fn=void 0;return j.promise(br)?ki(br,On):j.helper(br)?ao(oi(br),Ri,On):j.iterator(br)?ba(br,Ri,_n,On):j.array(br)?Xn(br,Ri,On):(Fn=gr.take(br))?Ka(Fn,On):(Fn=gr.put(br))?Fa(Fn,On):(Fn=gr.all(br))?ts(Fn,Ri,On):(Fn=gr.race(br))?Zi(Fn,Ri,On):(Fn=gr.call(br))?io(Fn,Ri,On):(Fn=gr.cps(br))?Ja(Fn,On):(Fn=gr.fork(br))?ao(Fn,Ri,On):(Fn=gr.join(br))?es(Fn,On):(Fn=gr.cancel(br))?js(Fn,On):(Fn=gr.select(br))?Ba(Fn,On):(Fn=gr.actionChannel(br))?Os(Fn,On):(Fn=gr.flush(br))?ge(Fn,On):(Fn=gr.cancelled(br))?fa(Fn,On):(Fn=gr.getContext(br))?we(Fn,On):(Fn=gr.setContext(br))?Sr(Fn,On):On(br)}function ki(br,Xr){var En=br[p];j.func(En)?Xr.cancel=En:j.func(br.abort)&&(Xr.cancel=function(){return br.abort()}),br.then(Xr,function(Jn){return Xr(Jn,!0)})}function ba(br,Xr,En,Jn){mi(br,Xe,Bt,Yt,ga,Lr,Xr,En,Jn)}function Ka(br,Xr){var En=br.channel,Jn=br.pattern,Ri=br.maybe;En=En||xi;var Dn=function(Fn){return Fn instanceof Error?Xr(Fn,!0):He(Fn)&&!Ri?Xr(Vr):Xr(Fn)};try{En.take(Dn,Pn(Jn))}catch(On){return Xr(On,!0)}Xr.cancel=Dn.cancel}function Fa(br,Xr){var En=br.channel,Jn=br.action,Ri=br.resolve;tt(function(){var Dn=void 0;try{Dn=(En?En.put:Bt)(Jn)}catch(On){if(En||Ri)return Xr(On,!0);Bi(On)}if(Ri&&j.promise(Dn))ki(Dn,Xr);else return Xr(Dn)})}function io(br,Xr,En){var Jn=br.context,Ri=br.fn,Dn=br.args,On=void 0;try{On=Ri.apply(Jn,Dn)}catch(Fn){return En(Fn,!0)}return j.promise(On)?ki(On,En):j.iterator(On)?ba(On,Xr,Ri.name,En):En(On)}function Ja(br,Xr){var En=br.context,Jn=br.fn,Ri=br.args;try{var Dn=function(Fn,ua){return j.undef(Fn)?Xr(ua):Xr(Fn,!0)};Jn.apply(En,Ri.concat(Dn)),Dn.cancel&&(Xr.cancel=function(){return Dn.cancel()})}catch(On){return Xr(On,!0)}}function ao(br,Xr,En){var Jn=br.context,Ri=br.fn,Dn=br.args,On=br.detached,Fn=Vn({context:Jn,fn:Ri,args:Dn});try{_t();var ua=mi(Fn,Xe,Bt,Yt,ga,Lr,Xr,Ri.name,On?null:R);On?En(ua):Fn._isRunning?(oa.addTask(ua),En(ua)):Fn._error?oa.abort(Fn._error):En(ua)}finally{qe()}}function es(br,Xr){if(br.isRunning()){var En={task:Ti,cb:Xr};Xr.cancel=function(){return V(br.joiners,En)},br.joiners.push(En)}else br.isAborted()?Xr(br.error(),!0):Xr(br.result())}function js(br,Xr){br===_&&(br=Ti),br.isRunning()&&br.cancel(),Xr()}function ts(br,Xr,En){var Jn=Object.keys(br);if(!Jn.length)return En(j.array(br)?[]:{});var Ri=0,Dn=void 0,On={},Fn={};function ua(){Ri===Jn.length&&(Dn=!0,En(j.array(br)?G.from(it({},On,{length:Jn.length})):On))}Jn.forEach(function(Hi){var vo=function(ru,hl){Dn||(hl||He(ru)||ru===Vr||ru===Zn?(En.cancel(),En(ru,hl)):(On[Hi]=ru,Ri++,ua()))};vo.cancel=R,Fn[Hi]=vo}),En.cancel=function(){Dn||(Dn=!0,Jn.forEach(function(Hi){return Fn[Hi].cancel()}))},Jn.forEach(function(Hi){return ea(br[Hi],Xr,Hi,Fn[Hi])})}function Zi(br,Xr,En){var Jn=void 0,Ri=Object.keys(br),Dn={};Ri.forEach(function(On){var Fn=function(Hi,vo){if(!Jn){if(vo)En.cancel(),En(Hi,!0);else if(!He(Hi)&&Hi!==Vr&&Hi!==Zn){var so;En.cancel(),Jn=!0;var ru=(so={},so[On]=Hi,so);En(j.array(br)?[].slice.call(it({},ru,{length:Ri.length})):ru)}}};Fn.cancel=R,Dn[On]=Fn}),En.cancel=function(){Jn||(Jn=!0,Ri.forEach(function(On){return Dn[On].cancel()}))},Ri.forEach(function(On){Jn||ea(br[On],Xr,On,Dn[On])})}function Ba(br,Xr){var En=br.selector,Jn=br.args;try{var Ri=En.apply(void 0,[Yt()].concat(Jn));Xr(Ri)}catch(Dn){Xr(Dn,!0)}}function Os(br,Xr){var En=br.pattern,Jn=br.buffer,Ri=Pn(En);Ri.pattern=En,Xr(nr(Xe,Jn||zt.fixed(),Ri))}function fa(br,Xr){Xr(!!fi.isCancelled)}function ge(br,Xr){br.flush(Xr)}function we(br,Xr){Xr(ga[br])}function Sr(br,Xr){Y.assign(ga,br),Xr()}function Jr(br,Xr,En,Jn){var Ri,Dn,On;return En._deferredEnd=null,Dn={},Dn[u]=!0,Dn.id=br,Dn.name=Xr,Ri="done",On={},On[Ri]=On[Ri]||{},On[Ri].get=function(){if(En._deferredEnd)return En._deferredEnd.promise;var Fn=ae();return En._deferredEnd=Fn,En._isRunning||(En._error?Fn.reject(En._error):Fn.resolve(En._result)),Fn.promise},Dn.cont=Jn,Dn.joiners=[],Dn.cancel=Ss,Dn.isRunning=function(){return En._isRunning},Dn.isCancelled=function(){return En._isCancelled},Dn.isAborted=function(){return En._isAborted},Dn.result=function(){return En._result},Dn.error=function(){return En._error},Dn.setContext=function(ua){D(ua,j.object,_e("task",ua)),Y.assign(ga,ua)},fn(Dn,On),Dn}}var Di="runSaga(storeInterface, saga, ...args)",ji=Di+": saga argument must be a Generator function!";function gi(Ke,Xe){for(var Bt=arguments.length,Yt=Array(Bt>2?Bt-2:0),pr=2;pr<Bt;pr++)Yt[pr-2]=arguments[pr];var Lr=void 0;j.iterator(Ke)?(Lr=Ke,Ke=Xe):(D(Xe,j.func,ji),Lr=Xe.apply(void 0,Yt),D(Lr,j.iterator,ji));var zr=Ke,_n=zr.subscribe,tn=zr.dispatch,gn=zr.getState,Xn=zr.context,ei=zr.sagaMonitor,bi=zr.logger,wi=zr.onError,zi=K();ei&&(ei.effectTriggered=ei.effectTriggered||R,ei.effectResolved=ei.effectResolved||R,ei.effectRejected=ei.effectRejected||R,ei.effectCancelled=ei.effectCancelled||R,ei.actionDispatched=ei.actionDispatched||R,ei.effectTriggered({effectId:zi,root:!0,parentEffectId:0,effect:{root:!0,saga:Xe,args:Yt}}));var Bi=mi(Lr,_n,Ie(tn),gn,Xn,{sagaMonitor:ei,logger:bi,onError:wi},zi,Xe.name);return ei&&ei.effectResolved(zi,Bi),Bi}function Ea(Ke,Xe){var Bt={};for(var Yt in Ke)Xe.indexOf(Yt)>=0||Object.prototype.hasOwnProperty.call(Ke,Yt)&&(Bt[Yt]=Ke[Yt]);return Bt}function ui(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Xe=Ke.context,Bt=Xe===void 0?{}:Xe,Yt=Ea(Ke,["context"]),pr=Yt.sagaMonitor,Lr=Yt.logger,zr=Yt.onError;if(j.func(Yt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Lr&&!j.func(Lr))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(zr&&!j.func(zr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Yt.emitter&&!j.func(Yt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function _n(tn){var gn=tn.getState,Xn=tn.dispatch,ei=ze();return ei.emit=(Yt.emitter||A)(ei.emit),_n.run=gi.bind(null,{context:Bt,subscribe:ei.subscribe,dispatch:Xn,getState:gn,sagaMonitor:pr,logger:Lr,onError:zr}),function(bi){return function(wi){pr&&pr.actionDispatched&&pr.actionDispatched(wi);var zi=bi(wi);return ei.emit(wi),zi}}}return _n.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},_n.setContext=function(tn){D(tn,j.object,_e("sagaMiddleware",tn)),Y.assign(Bt,tn)},_n}var Ji={done:!0,value:void 0},It={};function gt(Ke){return j.channel(Ke)?"channel":Array.isArray(Ke)?String(Ke.map(function(Xe){return String(Xe)})):String(Ke)}function Oi(Ke,Xe){var Bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Yt=void 0,pr=Xe;function Lr(zr,_n){if(pr===It)return Ji;if(_n)throw pr=It,_n;Yt&&Yt(zr);var tn=Ke[pr](),gn=tn[0],Xn=tn[1],ei=tn[2];return pr=gn,Yt=ei,pr===It?Ji:Xn}return Q(Lr,function(zr){return Lr(null,zr)},Bt,!0)}function Xi(Ke,Xe){for(var Bt=arguments.length,Yt=Array(Bt>2?Bt-2:0),pr=2;pr<Bt;pr++)Yt[pr-2]=arguments[pr];var Lr={done:!1,value:et(Ke)},zr=function(Xn){return{done:!1,value:Fr.apply(void 0,[Xe].concat(Yt,[Xn]))}},_n=void 0,tn=function(Xn){return _n=Xn};return Oi({q1:function(){return["q2",Lr,tn]},q2:function(){return _n===Re?[It]:["q1",zr(_n)]}},"q1","takeEvery("+gt(Ke)+", "+Xe.name+")")}function vi(Ke,Xe){for(var Bt=arguments.length,Yt=Array(Bt>2?Bt-2:0),pr=2;pr<Bt;pr++)Yt[pr-2]=arguments[pr];var Lr={done:!1,value:et(Ke)},zr=function(wi){return{done:!1,value:Fr.apply(void 0,[Xe].concat(Yt,[wi]))}},_n=function(wi){return{done:!1,value:nn(wi)}},tn=void 0,gn=void 0,Xn=function(wi){return tn=wi},ei=function(wi){return gn=wi};return Oi({q1:function(){return["q2",Lr,ei]},q2:function(){return gn===Re?[It]:tn?["q3",_n(tn)]:["q1",zr(gn),Xn]},q3:function(){return["q1",zr(gn),Xn]}},"q1","takeLatest("+gt(Ke)+", "+Xe.name+")")}function ya(Ke,Xe,Bt){for(var Yt=arguments.length,pr=Array(Yt>3?Yt-3:0),Lr=3;Lr<Yt;Lr++)pr[Lr-3]=arguments[Lr];var zr=void 0,_n=void 0,tn={done:!1,value:Xt(Xe,zt.sliding(1))},gn=function(){return{done:!1,value:et(_n)}},Xn=function(Bi){return{done:!1,value:Fr.apply(void 0,[Bt].concat(pr,[Bi]))}},ei={done:!1,value:Gr(ue,Ke)},bi=function(Bi){return zr=Bi},wi=function(Bi){return _n=Bi};return Oi({q1:function(){return["q2",tn,wi]},q2:function(){return["q3",gn(),bi]},q3:function(){return zr===Re?[It]:["q4",Xn(zr)]},q4:function(){return["q2",ei]}},"q1","throttle("+gt(Xe)+", "+Bt.name+")")}var yi=function(Xe){return"import { "+Xe+" } from 'redux-saga' has been deprecated in favor of import { "+Xe+` } from 'redux-saga/effects'.
|
|
|
The latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.
|
|
|
Therefore yield `+Xe+" will return task descriptor to your saga and execute next lines of code."},qn=null,Sn=null,rr=null;function vt(Ke,Xe){for(var Bt=arguments.length,Yt=Array(Bt>2?Bt-2:0),pr=2;pr<Bt;pr++)Yt[pr-2]=arguments[pr];return Fr.apply(void 0,[Xi,Ke,Xe].concat(Yt))}function nt(Ke,Xe){for(var Bt=arguments.length,Yt=Array(Bt>2?Bt-2:0),pr=2;pr<Bt;pr++)Yt[pr-2]=arguments[pr];return Fr.apply(void 0,[vi,Ke,Xe].concat(Yt))}function Dt(Ke,Xe,Bt){for(var Yt=arguments.length,pr=Array(Yt>3?Yt-3:0),Lr=3;Lr<Yt;Lr++)pr[Lr-3]=arguments[Lr];return Fr.apply(void 0,[ya,Ke,Xe,Bt].concat(pr))}var pt=ui,cr=e(44520),dr=e.n(cr),Ar=e(93664),Zr=e(78639),$e=e.n(Zr),Je=e(95190),xe=e(21696),st=e(56754),ir=e.n(st),Rr=e(99153),Dr=e(84851),Pr=e(89381),jr=e.n(Pr),pn=e(60288),Cr=e(50298),ln=e(55267),rn=e.n(ln),sn=Array.isArray.bind(Array),wn=function(Xe){return typeof Xe=="function"},pa=function(Xe){return Xe},Ei=function(){},hi=function(Xe,Bt){for(var Yt=0,pr=Xe.length;Yt<pr;Yt+=1)if(Bt(Xe[Yt],Yt))return Yt;return-1},mn=Object.freeze({isPlainObject:$e(),isArray:sn,isFunction:wn,returnSelf:pa,noop:Ei,findIndex:hi});function ni(Ke,Xe){var Bt=Ke.namespace,Yt=Ke.reducers,pr=Ke.effects,Lr=Ke.subscriptions;invariant(Bt,"[app.model] namespace should be defined"),invariant(typeof Bt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Bt))),invariant(!Xe.some(function(zr){return zr.namespace===Bt}),"[app.model] namespace should be unique"),Yt&&(invariant(isPlainObject(Yt)||sn(Yt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Yt))),invariant(!sn(Yt)||isPlainObject(Yt[0])&&wn(Yt[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))),Lr&&(invariant(isPlainObject(Lr),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Lr))),invariant(Mi(Lr),"[app.model] subscription should be function"))}function Mi(Ke){return Object.keys(Ke).every(function(Xe){return wn(Ke[Xe])})}var ca="/";function Ha(Ke,Xe,Bt){return Object.keys(Ke).reduce(function(Yt,pr){ir()(pr.indexOf("".concat(Xe).concat(ca))!==0,"[prefixNamespace]: ".concat(Bt," ").concat(pr," should not be prefixed with namespace ").concat(Xe));var Lr="".concat(Xe).concat(ca).concat(pr);return Yt[Lr]=Ke[pr],Yt},{})}function Ta(Ke){var Xe=Ke.namespace,Bt=Ke.reducers,Yt=Ke.effects;if(Bt)if(sn(Bt)){var pr=(0,xe.Z)(Bt),Lr=pr[0],zr=pr.slice(1);Ke.reducers=[Ha(Lr,Xe,"reducer")].concat((0,Je.Z)(zr))}else Ke.reducers=Ha(Bt,Xe,"reducer");return Yt&&(Ke.effects=Ha(Yt,Xe,"effect")),Ke}var fs=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function Es(Ke){return Object.keys(Ke).reduce(function(Xe,Bt){return fs.indexOf(Bt)>-1&&(Xe[Bt]=Ke[Bt]),Xe},{})}var Wa=function(){function Ke(){(0,Rr.Z)(this,Ke),this._handleActions=null,this.hooks=fs.reduce(function(Xe,Bt){return Xe[Bt]=[],Xe},{})}return(0,Dr.Z)(Ke,[{key:"use",value:function(Bt){dr()($e()(Bt),"plugin.use: plugin should be plain object");var Yt=this.hooks;for(var pr in Bt)Object.prototype.hasOwnProperty.call(Bt,pr)&&(dr()(Yt[pr],"plugin.use: unknown plugin property: ".concat(pr)),pr==="_handleActions"?this._handleActions=Bt[pr]:pr==="extraEnhancers"?Yt[pr]=Bt[pr]:Yt[pr].push(Bt[pr]))}},{key:"apply",value:function(Bt,Yt){var pr=this.hooks,Lr=["onError","onHmr"];dr()(Lr.indexOf(Bt)>-1,"plugin.apply: hook ".concat(Bt," cannot be applied"));var zr=pr[Bt];return function(){if(zr.length){var _n=!0,tn=!1,gn=void 0;try{for(var Xn=zr[Symbol.iterator](),ei;!(_n=(ei=Xn.next()).done);_n=!0){var bi=ei.value;bi.apply(void 0,arguments)}}catch(wi){tn=!0,gn=wi}finally{try{!_n&&Xn.return!=null&&Xn.return()}finally{if(tn)throw gn}}}else Yt&&Yt.apply(void 0,arguments)}}},{key:"get",value:function(Bt){var Yt=this.hooks;return dr()(Bt in Yt,"plugin.get: hook ".concat(Bt," cannot be got")),Bt==="extraReducers"?pi(Yt[Bt]):Bt==="onReducer"?ra(Yt[Bt]):Yt[Bt]}}]),Ke}();function pi(Ke){var Xe={},Bt=!0,Yt=!1,pr=void 0;try{for(var Lr=Ke[Symbol.iterator](),zr;!(Bt=(zr=Lr.next()).done);Bt=!0){var _n=zr.value;Xe=(0,l.Z)({},Xe,_n)}}catch(tn){Yt=!0,pr=tn}finally{try{!Bt&&Lr.return!=null&&Lr.return()}finally{if(Yt)throw pr}}return Xe}function ra(Ke){return function(Xe){var Bt=!0,Yt=!1,pr=void 0;try{for(var Lr=Ke[Symbol.iterator](),zr;!(Bt=(zr=Lr.next()).done);Bt=!0){var _n=zr.value;Xe=_n(Xe)}}catch(tn){Yt=!0,pr=tn}finally{try{!Bt&&Lr.return!=null&&Lr.return()}finally{if(Yt)throw pr}}return Xe}}function os(Ke){var Xe=Ke.reducers,Bt=Ke.initialState,Yt=Ke.plugin,pr=Ke.sagaMiddleware,Lr=Ke.promiseMiddleware,zr=Ke.createOpts.setupMiddlewares,_n=zr===void 0?pa:zr,tn=Yt.get("extraEnhancers");dr()(sn(tn),"[app.start] extraEnhancers should be array, but got ".concat((0,Ar.Z)(tn)));var gn=Yt.get("onAction"),Xn=_n([Lr,pr].concat((0,Je.Z)(jr()(gn)))),ei=c.qC,bi=[c.md.apply(void 0,(0,Je.Z)(Xn))].concat((0,Je.Z)(tn));return(0,c.MT)(Xe,Bt,ei.apply(void 0,(0,Je.Z)(bi)))}function Ga(Ke,Xe){var Bt="".concat(Xe.namespace).concat(ca).concat(Ke),Yt=Bt.replace(/\/@@[^/]+?$/,""),pr=Array.isArray(Xe.reducers)?Xe.reducers[0][Yt]:Xe.reducers&&Xe.reducers[Yt];return pr||Xe.effects&&Xe.effects[Yt]?Bt:Ke}function Is(Ke,Xe,Bt,Yt){var pr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return rn().mark(function Lr(){var zr;return rn().wrap(function(tn){for(;;)switch(tn.prev=tn.next){case 0:tn.t0=rn().keys(Ke);case 1:if((tn.t1=tn.t0()).done){tn.next=7;break}if(zr=tn.t1.value,!Object.prototype.hasOwnProperty.call(Ke,zr)){tn.next=5;break}return tn.delegateYield(rn().mark(function gn(){var Xn,ei;return rn().wrap(function(wi){for(;;)switch(wi.prev=wi.next){case 0:return Xn=Vi(zr,Ke[zr],Xe,Bt,Yt,pr),wi.next=3,Fr(Xn);case 3:return ei=wi.sent,wi.next=6,Fr(rn().mark(function zi(){return rn().wrap(function(xi){for(;;)switch(xi.prev=xi.next){case 0:return xi.next=2,et("".concat(Xe.namespace,"/@@CANCEL_EFFECTS"));case 2:return xi.next=4,nn(ei);case 4:case"end":return xi.stop()}},zi)}));case 6:case"end":return wi.stop()}},gn)})(),"t2",5);case 5:tn.next=1;break;case 7:case"end":return tn.stop()}},Lr)})}function Vi(Ke,Xe,Bt,Yt,pr,Lr){var zr=rn().mark(zi),_n=Xe,tn="takeEvery",gn,Xn;if(Array.isArray(Xe)){var ei=(0,Cr.Z)(Xe,1);_n=ei[0];var bi=Xe[1];bi&&bi.type&&(tn=bi.type,tn==="throttle"&&(dr()(bi.ms,"app.start: opts.ms should be defined if type is throttle"),gn=bi.ms),tn==="poll"&&(dr()(bi.delay,"app.start: opts.delay should be defined if type is poll"),Xn=bi.delay)),dr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(tn)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function wi(){}function zi(){var xi,ga,Ti,fi,oa,eo,Ss,Yi,La,ea=arguments;return rn().wrap(function(ba){for(;;)switch(ba.prev=ba.next){case 0:for(xi=ea.length,ga=new Array(xi),Ti=0;Ti<xi;Ti++)ga[Ti]=ea[Ti];return fi=ga.length>0?ga[0]:{},oa=fi.__dva_resolve,eo=oa===void 0?wi:oa,Ss=fi.__dva_reject,Yi=Ss===void 0?wi:Ss,ba.prev=2,ba.next=5,Nt({type:"".concat(Ke).concat(ca,"@@start")});case 5:return ba.next=7,_n.apply(void 0,(0,Je.Z)(ga.concat(ms(Bt,Lr))));case 7:return La=ba.sent,ba.next=10,Nt({type:"".concat(Ke).concat(ca,"@@end")});case 10:eo(La),ba.next=17;break;case 13:ba.prev=13,ba.t0=ba.catch(2),Yt(ba.t0,{key:Ke,effectArgs:ga}),ba.t0._dontReject||Yi(ba.t0);case 17:case"end":return ba.stop()}},zr,null,[[2,13]])}var Bi=bo(pr,zi,Bt,Ke);switch(tn){case"watcher":return zi;case"takeLatest":return rn().mark(function xi(){return rn().wrap(function(Ti){for(;;)switch(Ti.prev=Ti.next){case 0:return Ti.next=2,nt(Ke,Bi);case 2:case"end":return Ti.stop()}},xi)});case"throttle":return rn().mark(function xi(){return rn().wrap(function(Ti){for(;;)switch(Ti.prev=Ti.next){case 0:return Ti.next=2,Dt(gn,Ke,Bi);case 2:case"end":return Ti.stop()}},xi)});case"poll":return rn().mark(function xi(){var ga,Ti,fi,oa,eo,Ss,Yi;return rn().wrap(function(ea){for(;;)switch(ea.prev=ea.next){case 0:fi=function(ba,Ka){var Fa;return rn().wrap(function(Ja){for(;;)switch(Ja.prev=Ja.next){case 0:Fa=ba.call;case 1:return Ja.next=4,Fa(Bi,Ka);case 4:return Ja.next=6,Fa(Ti,Xn);case 6:Ja.next=1;break;case 8:case"end":return Ja.stop()}},ga)},Ti=function(ba){return new Promise(function(Ka){return setTimeout(Ka,ba)})},ga=rn().mark(fi),oa=Gr,eo=et,Ss=Ir;case 4:return ea.next=7,eo("".concat(Ke,"-start"));case 7:return Yi=ea.sent,ea.next=10,Ss([oa(fi,r,Yi),eo("".concat(Ke,"-stop"))]);case 10:ea.next=4;break;case 12:case"end":return ea.stop()}},xi)});default:return rn().mark(function xi(){return rn().wrap(function(Ti){for(;;)switch(Ti.prev=Ti.next){case 0:return Ti.next=2,vt(Ke,Bi);case 2:case"end":return Ti.stop()}},xi)})}}function ms(Ke,Xe){function Bt(zr,_n){dr()(zr,"dispatch: action should be a plain Object with type");var tn=Xe.namespacePrefixWarning,gn=tn===void 0?!0:tn;gn&&ir()(zr.indexOf("".concat(Ke.namespace).concat(ca))!==0,"[".concat(_n,"] ").concat(zr," should not be prefixed with namespace ").concat(Ke.namespace))}function Yt(zr){var _n=zr.type;return Bt(_n,"sagaEffects.put"),Nt((0,l.Z)({},zr,{type:Ga(_n,Ke)}))}function pr(zr){var _n=zr.type;return Bt(_n,"sagaEffects.put.resolve"),Nt.resolve((0,l.Z)({},zr,{type:Ga(_n,Ke)}))}Yt.resolve=pr;function Lr(zr){return typeof zr=="string"?(Bt(zr,"sagaEffects.take"),et(Ga(zr,Ke))):Array.isArray(zr)?et(zr.map(function(_n){return typeof _n=="string"?(Bt(_n,"sagaEffects.take"),Ga(_n,Ke)):_n})):et(zr)}return(0,l.Z)({},r,{put:Yt,take:Lr})}function bo(Ke,Xe,Bt,Yt){var pr=!0,Lr=!1,zr=void 0;try{for(var _n=Ke[Symbol.iterator](),tn;!(pr=(tn=_n.next()).done);pr=!0){var gn=tn.value;Xe=gn(Xe,r,Bt,Yt)}}catch(Xn){Lr=!0,zr=Xn}finally{try{!pr&&_n.return!=null&&_n.return()}finally{if(Lr)throw zr}}return Xe}function Fi(Ke){return Ke}function vs(Ke){var Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Fi;return function(Bt,Yt){var pr=Yt.type;return dr()(pr,"dispatch: action should be a plain Object with type"),Ke===pr?Xe(Bt,Yt):Bt}}function Na(){for(var Ke=arguments.length,Xe=new Array(Ke),Bt=0;Bt<Ke;Bt++)Xe[Bt]=arguments[Bt];return function(Yt,pr){return Xe.reduce(function(Lr,zr){return zr(Lr,pr)},Yt)}}function Ys(Ke,Xe){var Bt=Object.keys(Ke).map(function(pr){return vs(pr,Ke[pr])}),Yt=Na.apply(void 0,(0,Je.Z)(Bt));return function(){var pr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Xe,Lr=arguments.length>1?arguments[1]:void 0;return Yt(pr,Lr)}}function In(Ke,Xe,Bt){return Array.isArray(Ke)?Ke[1]((Bt||Ys)(Ke[0],Xe)):(Bt||Ys)(Ke||{},Xe)}function $a(Ke){return function(){return function(Bt){return function(Yt){var pr=Yt.type;return Xe(pr)?new Promise(function(Lr,zr){Bt((0,l.Z)({__dva_resolve:Lr,__dva_reject:zr},Yt))}):Bt(Yt)}}};function Xe(Bt){if(!Bt||typeof Bt!="string")return!1;var Yt=Bt.split(ca),pr=(0,Cr.Z)(Yt,1),Lr=pr[0],zr=Ke._models.filter(function(_n){return _n.namespace===Lr})[0];return!!(zr&&zr.effects&&zr.effects[Bt])}}function cs(Ke,Xe){return function(Bt){var Yt=Bt.type;return dr()(Yt,"dispatch: action should be a plain Object with type"),ir()(Yt.indexOf("".concat(Xe.namespace).concat(ca))!==0,"dispatch: ".concat(Yt," should not be prefixed with namespace ").concat(Xe.namespace)),Ke((0,l.Z)({},Bt,{type:Ga(Yt,Xe)}))}}function ja(Ke,Xe,Bt,Yt){var pr=[],Lr=[];for(var zr in Ke)if(Object.prototype.hasOwnProperty.call(Ke,zr)){var _n=Ke[zr],tn=_n({dispatch:cs(Bt._store.dispatch,Xe),history:Bt._history},Yt);wn(tn)?pr.push(tn):Lr.push(zr)}return{funcs:pr,nonFuncs:Lr}}function Ui(Ke,Xe){if(Ke[Xe]){var Bt=Ke[Xe],Yt=Bt.funcs,pr=Bt.nonFuncs;ir()(pr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(pr.join(", ")));var Lr=!0,zr=!1,_n=void 0;try{for(var tn=Yt[Symbol.iterator](),gn;!(Lr=(gn=tn.next()).done);Lr=!0){var Xn=gn.value;Xn()}}catch(ei){zr=!0,_n=ei}finally{try{!Lr&&tn.return!=null&&tn.return()}finally{if(zr)throw _n}}delete Ke[Xe]}}var Ra=Ei,Da=hi,ws={namespace:"@@dva",state:0,reducers:{UPDATE:function(Xe){return Xe+1}}};function Xs(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Bt=Xe.initialReducer,Yt=Xe.setupApp,pr=Yt===void 0?Ra:Yt,Lr=new Wa;Lr.use(Es(Ke));var zr={_models:[Ta((0,l.Z)({},ws))],_store:null,_plugin:Lr,use:Lr.use.bind(Lr),model:_n,start:ei};return zr;function _n(bi){var wi=Ta((0,l.Z)({},bi));return zr._models.push(wi),wi}function tn(bi,wi,zi,Bi){Bi=_n(Bi);var xi=zr._store;xi.asyncReducers[Bi.namespace]=In(Bi.reducers,Bi.state,Lr._handleActions),xi.replaceReducer(bi()),Bi.effects&&xi.runSaga(zr._getSaga(Bi.effects,Bi,wi,Lr.get("onEffect"),Ke)),Bi.subscriptions&&(zi[Bi.namespace]=ja(Bi.subscriptions,Bi,zr,wi))}function gn(bi,wi,zi,Bi){var xi=zr._store;delete xi.asyncReducers[Bi],delete wi[Bi],xi.replaceReducer(bi()),xi.dispatch({type:"@@dva/UPDATE"}),xi.dispatch({type:"".concat(Bi,"/@@CANCEL_EFFECTS")}),Ui(zi,Bi),zr._models=zr._models.filter(function(ga){return ga.namespace!==Bi})}function Xn(bi,wi,zi,Bi,xi){var ga=zr._store,Ti=xi.namespace,fi=Da(zr._models,function(oa){return oa.namespace===Ti});~fi&&(ga.dispatch({type:"".concat(Ti,"/@@CANCEL_EFFECTS")}),delete ga.asyncReducers[Ti],delete wi[Ti],Ui(zi,Ti),zr._models.splice(fi,1)),zr.model(xi),ga.dispatch({type:"@@dva/UPDATE"})}function ei(){var bi=function(Sr,Jr){Sr&&(typeof Sr=="string"&&(Sr=new Error(Sr)),Sr.preventDefault=function(){Sr._dontReject=!0},Lr.apply("onError",function(br){throw new Error(br.stack||br)})(Sr,zr._store.dispatch,Jr))},wi=pt(),zi=$a(zr);zr._getSaga=Is.bind(null);var Bi=[],xi=(0,l.Z)({},Bt),ga=!0,Ti=!1,fi=void 0;try{for(var oa=zr._models[Symbol.iterator](),eo;!(ga=(eo=oa.next()).done);ga=!0){var Ss=eo.value;xi[Ss.namespace]=In(Ss.reducers,Ss.state,Lr._handleActions),Ss.effects&&Bi.push(zr._getSaga(Ss.effects,Ss,bi,Lr.get("onEffect"),Ke))}}catch(we){Ti=!0,fi=we}finally{try{!ga&&oa.return!=null&&oa.return()}finally{if(Ti)throw fi}}var Yi=Lr.get("onReducer"),La=Lr.get("extraReducers");dr()(Object.keys(La).every(function(we){return!(we in xi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(xi).join(", "))),zr._store=os({reducers:ge(),initialState:Ke.initialState||{},plugin:Lr,createOpts:Xe,sagaMiddleware:wi,promiseMiddleware:zi});var ea=zr._store;ea.runSaga=wi.run,ea.asyncReducers={};var ki=Lr.get("onStateChange"),ba=!0,Ka=!1,Fa=void 0;try{for(var io=function(){var Sr=ao.value;ea.subscribe(function(){Sr(ea.getState())})},Ja=ki[Symbol.iterator](),ao;!(ba=(ao=Ja.next()).done);ba=!0)io()}catch(we){Ka=!0,Fa=we}finally{try{!ba&&Ja.return!=null&&Ja.return()}finally{if(Ka)throw Fa}}Bi.forEach(wi.run),pr(zr);var es={},js=!0,ts=!1,Zi=void 0;try{for(var Ba=this._models[Symbol.iterator](),Os;!(js=(Os=Ba.next()).done);js=!0){var fa=Os.value;fa.subscriptions&&(es[fa.namespace]=ja(fa.subscriptions,fa,zr,bi))}}catch(we){ts=!0,Zi=we}finally{try{!js&&Ba.return!=null&&Ba.return()}finally{if(ts)throw Zi}}zr.model=tn.bind(zr,ge,bi,es),zr.unmodel=gn.bind(zr,ge,xi,es),zr.replaceModel=Xn.bind(zr,ge,xi,es,bi);function ge(){return Yi((0,c.UY)((0,l.Z)({},xi,La,zr._store?zr._store.asyncReducers:{})))}}}var xo=e(37573),ho=e(45097),wa=e(4676);function gs(Ke){Ke()}let Zs=gs;const no=Ke=>Zs=Ke,Eo=()=>Zs,wo=Symbol.for("react-redux-context"),po=typeof globalThis!="undefined"?globalThis:{};function ci(){var Ke;if(!i.createContext)return{};const Xe=(Ke=po[wo])!=null?Ke:po[wo]=new Map;let Bt=Xe.get(i.createContext);return Bt||(Bt=i.createContext(null),Xe.set(i.createContext,Bt)),Bt}const si=ci();var Ua=null;function Qa(Ke=si){return function(){return(0,i.useContext)(Ke)}}const qa=Qa(),Qs=()=>{throw new Error("uSES not initialized!")};let qs=Qs;const Qo=Ke=>{qs=Ke},ds=(Ke,Xe)=>Ke===Xe;function Oo(Ke=si){const Xe=Ke===si?qa:Qa(Ke);return function(Yt,pr={}){const{equalityFn:Lr=ds,stabilityCheck:zr=void 0,noopCheck:_n=void 0}=typeof pr=="function"?{equalityFn:pr}:pr,{store:tn,subscription:gn,getServerState:Xn,stabilityCheck:ei,noopCheck:bi}=Xe(),wi=(0,i.useRef)(!0),zi=(0,i.useCallback)({[Yt.name](xi){return Yt(xi)}}[Yt.name],[Yt,ei,zr]),Bi=qs(gn.addNestedSub,tn.getState,Xn||tn.getState,zi,Lr);return(0,i.useDebugValue)(Bi),Bi}}const ko=Oo();var Ho=e(14809),Su=e(74126),So=e(94266),_o=e.n(So),Js=e(23265);const $u=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Ro(Ke,Xe,Bt,Yt,{areStatesEqual:pr,areOwnPropsEqual:Lr,areStatePropsEqual:zr}){let _n=!1,tn,gn,Xn,ei,bi;function wi(Ti,fi){return tn=Ti,gn=fi,Xn=Ke(tn,gn),ei=Xe(Yt,gn),bi=Bt(Xn,ei,gn),_n=!0,bi}function zi(){return Xn=Ke(tn,gn),Xe.dependsOnOwnProps&&(ei=Xe(Yt,gn)),bi=Bt(Xn,ei,gn),bi}function Bi(){return Ke.dependsOnOwnProps&&(Xn=Ke(tn,gn)),Xe.dependsOnOwnProps&&(ei=Xe(Yt,gn)),bi=Bt(Xn,ei,gn),bi}function xi(){const Ti=Ke(tn,gn),fi=!zr(Ti,Xn);return Xn=Ti,fi&&(bi=Bt(Xn,ei,gn)),bi}function ga(Ti,fi){const oa=!Lr(fi,gn),eo=!pr(Ti,tn,fi,gn);return tn=Ti,gn=fi,oa&&eo?zi():oa?Bi():eo?xi():bi}return function(fi,oa){return _n?ga(fi,oa):wi(fi,oa)}}function Lo(Ke,Xe){let{initMapStateToProps:Bt,initMapDispatchToProps:Yt,initMergeProps:pr}=Xe,Lr=(0,Su.Z)(Xe,$u);const zr=Bt(Ke,Lr),_n=Yt(Ke,Lr),tn=pr(Ke,Lr);return Ro(zr,_n,tn,Ke,Lr)}function Hs(Ke,Xe){const Bt={};for(const Yt in Ke){const pr=Ke[Yt];typeof pr=="function"&&(Bt[Yt]=(...Lr)=>Xe(pr(...Lr)))}return Bt}function du(Ke){return function(Bt){const Yt=Ke(Bt);function pr(){return Yt}return pr.dependsOnOwnProps=!1,pr}}function jo(Ke){return Ke.dependsOnOwnProps?!!Ke.dependsOnOwnProps:Ke.length!==1}function Ao(Ke,Xe){return function(Yt,{displayName:pr}){const Lr=function(_n,tn){return Lr.dependsOnOwnProps?Lr.mapToProps(_n,tn):Lr.mapToProps(_n,void 0)};return Lr.dependsOnOwnProps=!0,Lr.mapToProps=function(_n,tn){Lr.mapToProps=Ke,Lr.dependsOnOwnProps=jo(Ke);let gn=Lr(_n,tn);return typeof gn=="function"&&(Lr.mapToProps=gn,Lr.dependsOnOwnProps=jo(gn),gn=Lr(_n,tn)),gn},Lr}}function Bs(Ke,Xe){return(Bt,Yt)=>{throw new Error(`Invalid value of type ${typeof Ke} for ${Xe} argument when connecting component ${Yt.wrappedComponentName}.`)}}function Rs(Ke){return Ke&&typeof Ke=="object"?du(Xe=>Hs(Ke,Xe)):Ke?typeof Ke=="function"?Ao(Ke,"mapDispatchToProps"):Bs(Ke,"mapDispatchToProps"):du(Xe=>({dispatch:Xe}))}function hu(Ke){return Ke?typeof Ke=="function"?Ao(Ke,"mapStateToProps"):Bs(Ke,"mapStateToProps"):du(()=>({}))}function Au(Ke,Xe,Bt){return(0,Ho.Z)({},Bt,Ke,Xe)}function tr(Ke){return function(Bt,{displayName:Yt,areMergedPropsEqual:pr}){let Lr=!1,zr;return function(tn,gn,Xn){const ei=Ke(tn,gn,Xn);return Lr?pr(ei,zr)||(zr=ei):(Lr=!0,zr=ei),zr}}}function hr(Ke){return Ke?typeof Ke=="function"?tr(Ke):Bs(Ke,"mergeProps"):()=>Au}function ur(){const Ke=Eo();let Xe=null,Bt=null;return{clear(){Xe=null,Bt=null},notify(){Ke(()=>{let Yt=Xe;for(;Yt;)Yt.callback(),Yt=Yt.next})},get(){let Yt=[],pr=Xe;for(;pr;)Yt.push(pr),pr=pr.next;return Yt},subscribe(Yt){let pr=!0,Lr=Bt={callback:Yt,next:null,prev:Bt};return Lr.prev?Lr.prev.next=Lr:Xe=Lr,function(){!pr||Xe===null||(pr=!1,Lr.next?Lr.next.prev=Lr.prev:Bt=Lr.prev,Lr.prev?Lr.prev.next=Lr.next:Xe=Lr.next)}}}}const vr={notify(){},get:()=>[]};function wr(Ke,Xe){let Bt,Yt=vr,pr=0,Lr=!1;function zr(Bi){Xn();const xi=Yt.subscribe(Bi);let ga=!1;return()=>{ga||(ga=!0,xi(),ei())}}function _n(){Yt.notify()}function tn(){zi.onStateChange&&zi.onStateChange()}function gn(){return Lr}function Xn(){pr++,Bt||(Bt=Xe?Xe.addNestedSub(tn):Ke.subscribe(tn),Yt=ur())}function ei(){pr--,Bt&&pr===0&&(Bt(),Bt=void 0,Yt.clear(),Yt=vr)}function bi(){Lr||(Lr=!0,Xn())}function wi(){Lr&&(Lr=!1,ei())}const zi={addNestedSub:zr,notifyNestedSubs:_n,handleChangeWrapper:tn,isSubscribed:gn,trySubscribe:bi,tryUnsubscribe:wi,getListeners:()=>Yt};return zi}const xn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Nn(Ke,Xe){return Ke===Xe?Ke!==0||Xe!==0||1/Ke===1/Xe:Ke!==Ke&&Xe!==Xe}function Rn(Ke,Xe){if(Nn(Ke,Xe))return!0;if(typeof Ke!="object"||Ke===null||typeof Xe!="object"||Xe===null)return!1;const Bt=Object.keys(Ke),Yt=Object.keys(Xe);if(Bt.length!==Yt.length)return!1;for(let pr=0;pr<Bt.length;pr++)if(!Object.prototype.hasOwnProperty.call(Xe,Bt[pr])||!Nn(Ke[Bt[pr]],Xe[Bt[pr]]))return!1;return!0}const Kn=["reactReduxForwardedRef"];let lr=Qs;const Br=Ke=>{lr=Ke},xr=null,hn=[null,null],Wn=Ke=>{try{return JSON.stringify(Ke)}catch(Xe){return String(Ke)}};function lt(Ke,Xe,Bt){xn(()=>Ke(...Xe),Bt)}function Cn(Ke,Xe,Bt,Yt,pr,Lr){Ke.current=Yt,Bt.current=!1,pr.current&&(pr.current=null,Lr())}function Yn(Ke,Xe,Bt,Yt,pr,Lr,zr,_n,tn,gn,Xn){if(!Ke)return()=>{};let ei=!1,bi=null;const wi=()=>{if(ei||!_n.current)return;const Bi=Xe.getState();let xi,ga;try{xi=Yt(Bi,pr.current)}catch(Ti){ga=Ti,bi=Ti}ga||(bi=null),xi===Lr.current?zr.current||gn():(Lr.current=xi,tn.current=xi,zr.current=!0,Xn())};return Bt.onStateChange=wi,Bt.trySubscribe(),wi(),()=>{if(ei=!0,Bt.tryUnsubscribe(),Bt.onStateChange=null,bi)throw bi}}const ii=()=>xr;function Ki(Ke,Xe){return Ke===Xe}let Nr=!1;function Wr(Ke,Xe,Bt,{pure:Yt,areStatesEqual:pr=Ki,areOwnPropsEqual:Lr=Rn,areStatePropsEqual:zr=Rn,areMergedPropsEqual:_n=Rn,forwardRef:tn=!1,context:gn=si}={}){const Xn=gn,ei=hu(Ke),bi=Rs(Xe),wi=hr(Bt),zi=!!Ke;return xi=>{const ga=xi.displayName||xi.name||"Component",Ti=`Connect(${ga})`,fi={shouldHandleStateChanges:zi,displayName:Ti,wrappedComponentName:ga,WrappedComponent:xi,initMapStateToProps:ei,initMapDispatchToProps:bi,initMergeProps:wi,areStatesEqual:pr,areStatePropsEqual:zr,areOwnPropsEqual:Lr,areMergedPropsEqual:_n};function oa(Yi){const[La,ea,ki]=i.useMemo(()=>{const{reactReduxForwardedRef:Dn}=Yi,On=(0,Su.Z)(Yi,Kn);return[Yi.context,Dn,On]},[Yi]),ba=i.useMemo(()=>La&&La.Consumer&&(0,Js.isContextConsumer)(i.createElement(La.Consumer,null))?La:Xn,[La,Xn]),Ka=i.useContext(ba),Fa=!!Yi.store&&!!Yi.store.getState&&!!Yi.store.dispatch,io=!!Ka&&!!Ka.store,Ja=Fa?Yi.store:Ka.store,ao=io?Ka.getServerState:Ja.getState,es=i.useMemo(()=>Lo(Ja.dispatch,fi),[Ja]),[js,ts]=i.useMemo(()=>{if(!zi)return hn;const Dn=wr(Ja,Fa?void 0:Ka.subscription),On=Dn.notifyNestedSubs.bind(Dn);return[Dn,On]},[Ja,Fa,Ka]),Zi=i.useMemo(()=>Fa?Ka:(0,Ho.Z)({},Ka,{subscription:js}),[Fa,Ka,js]),Ba=i.useRef(),Os=i.useRef(ki),fa=i.useRef(),ge=i.useRef(!1),we=i.useRef(!1),Sr=i.useRef(!1),Jr=i.useRef();xn(()=>(Sr.current=!0,()=>{Sr.current=!1}),[]);const br=i.useMemo(()=>()=>fa.current&&ki===Os.current?fa.current:es(Ja.getState(),ki),[Ja,ki]),Xr=i.useMemo(()=>On=>js?Yn(zi,Ja,js,es,Os,Ba,ge,Sr,fa,ts,On):()=>{},[js]);lt(Cn,[Os,Ba,ge,ki,fa,ts]);let En;try{En=lr(Xr,br,ao?()=>es(ao(),ki):br)}catch(Dn){throw Jr.current&&(Dn.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${Jr.current.stack}
|
|
|
|
|
|
`),Dn}xn(()=>{Jr.current=void 0,fa.current=void 0,Ba.current=En});const Jn=i.useMemo(()=>i.createElement(xi,(0,Ho.Z)({},En,{ref:ea})),[ea,xi,En]);return i.useMemo(()=>zi?i.createElement(ba.Provider,{value:Zi},Jn):Jn,[ba,Jn,Zi])}const Ss=i.memo(oa);if(Ss.WrappedComponent=xi,Ss.displayName=oa.displayName=Ti,tn){const La=i.forwardRef(function(ki,ba){return i.createElement(Ss,(0,Ho.Z)({},ki,{reactReduxForwardedRef:ba}))});return La.displayName=Ti,La.WrappedComponent=xi,_o()(La,xi)}return _o()(Ss,xi)}}var ma=Wr;function Ci({store:Ke,context:Xe,children:Bt,serverState:Yt,stabilityCheck:pr="once",noopCheck:Lr="once"}){const zr=i.useMemo(()=>{const gn=wr(Ke);return{store:Ke,subscription:gn,getServerState:Yt?()=>Yt:void 0,stabilityCheck:pr,noopCheck:Lr}},[Ke,Yt,pr,Lr]),_n=i.useMemo(()=>Ke.getState(),[Ke]);xn(()=>{const{subscription:gn}=zr;return gn.onStateChange=gn.notifyNestedSubs,gn.trySubscribe(),_n!==Ke.getState()&&gn.notifyNestedSubs(),()=>{gn.tryUnsubscribe(),gn.onStateChange=void 0}},[zr,_n]);const tn=Xe||si;return i.createElement(tn.Provider,{value:zr},Bt)}var na=Ci;function Ds(Ke=si){const Xe=Ke===si?qa:Qa(Ke);return function(){const{store:Yt}=Xe();return Yt}}const ai=Ds();function Ws(Ke=si){const Xe=Ke===si?ai:Ds(Ke);return function(){return Xe().dispatch}}const Uo=Ws();Qo(ho.useSyncExternalStoreWithSelector),Br(xo.useSyncExternalStore),no(wa.unstable_batchedUpdates);var Ls=Object.defineProperty,va=Object.getOwnPropertySymbols,Va=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,Mn=(Ke,Xe,Bt)=>Xe in Ke?Ls(Ke,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Bt}):Ke[Xe]=Bt,Ns=(Ke,Xe)=>{for(var Bt in Xe||(Xe={}))Va.call(Xe,Bt)&&Mn(Ke,Bt,Xe[Bt]);if(va)for(var Bt of va(Xe))ys.call(Xe,Bt)&&Mn(Ke,Bt,Xe[Bt]);return Ke};function $s(Ke){const Xe=create(Ke,{initialReducer:{},setupApp(){}}),Bt=Xe.start;return Xe.router=Yt,Xe.start=pr,Xe;function Yt(Lr){Xe._router=Lr}function pr(Lr){if(typeof Lr!="undefined")throw new Error("dva.start() should not be called with any arguments.");Xe._store||Bt.call(Xe);const zr=Xe._store,_n=Xe._router;return tn=>React.createElement(Provider,{store:zr},_n(Ns({app:Xe},tn)))}}},58293:function(d,v,e){"use strict";e.d(v,{fi:function(){return _},m8:function(){return p}});var r=e(19340),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(R,A,D)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:D}):R[A]=D,a=(R,A)=>{for(var D in A||(A={}))o.call(A,D)&&u(R,D,A[D]);if(f)for(var D of f(A))h.call(A,D)&&u(R,D,A[D]);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(D,M){A.push(S(D,A),M)},replace(D,M){A.replace(S(D,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 D=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:D})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},41920:function(d,v,e){"use strict";e.d(v,{gD:function(){return cn},We:function(){return Xt}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return Ye}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Ce}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Kt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return Mr}});var o=e(8591),h=e(61186),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(mt){o.ZP.error(mt.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 D(){return D=Object.assign||function(mt){for(var ut=1;ut<arguments.length;ut++){var ft=arguments[ut];for(var $t in ft)Object.prototype.hasOwnProperty.call(ft,$t)&&(mt[$t]=ft[$t])}return mt},D.apply(this,arguments)}function M(mt,ut){mt.prototype=Object.create(ut.prototype),mt.prototype.constructor=mt,B(mt,ut)}function B(mt,ut){return B=Object.setPrototypeOf||function(ft,$t){return ft.__proto__=$t,ft},B(mt,ut)}function j(mt,ut){if(mt==null)return{};var ft,$t,yr={},gr=Object.keys(mt);for($t=0;$t<gr.length;$t++)ut.indexOf(ft=gr[$t])>=0||(yr[ft]=mt[ft]);return yr}var Y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},V={rel:["amphtml","canonical","alternate"]},G={type:["application/ld+json"]},ae={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(Y).map(function(mt){return Y[mt]}),ue={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},q=Object.keys(ue).reduce(function(mt,ut){return mt[ue[ut]]=ut,mt},{}),J=function(mt,ut){for(var ft=mt.length-1;ft>=0;ft-=1){var $t=mt[ft];if(Object.prototype.hasOwnProperty.call($t,ut))return $t[ut]}return null},K=function(mt){var ut=J(mt,Y.TITLE),ft=J(mt,"titleTemplate");if(Array.isArray(ut)&&(ut=ut.join("")),ft&&ut)return ft.replace(/%s/g,function(){return ut});var $t=J(mt,"defaultTitle");return ut||$t||void 0},oe=function(mt){return J(mt,"onChangeClientState")||function(){}},ee=function(mt,ut){return ut.filter(function(ft){return ft[mt]!==void 0}).map(function(ft){return ft[mt]}).reduce(function(ft,$t){return D({},ft,$t)},{})},Q=function(mt,ut){return ut.filter(function(ft){return ft[Y.BASE]!==void 0}).map(function(ft){return ft[Y.BASE]}).reverse().reduce(function(ft,$t){if(!ft.length)for(var yr=Object.keys($t),gr=0;gr<yr.length;gr+=1){var it=yr[gr].toLowerCase();if(mt.indexOf(it)!==-1&&$t[it])return ft.concat($t)}return ft},[])},le=function(mt,ut,ft){var $t={};return ft.filter(function(yr){return!!Array.isArray(yr[mt])||(yr[mt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+mt+' should be of type "Array". Instead found type "'+typeof yr[mt]+'"'),!1)}).map(function(yr){return yr[mt]}).reverse().reduce(function(yr,gr){var it={};gr.filter(function(Zn){for(var Hn,Pn=Object.keys(Zn),yn=0;yn<Pn.length;yn+=1){var Vn=Pn[yn],oi=Vn.toLowerCase();ut.indexOf(oi)===-1||Hn==="rel"&&Zn[Hn].toLowerCase()==="canonical"||oi==="rel"&&Zn[oi].toLowerCase()==="stylesheet"||(Hn=oi),ut.indexOf(Vn)===-1||Vn!=="innerHTML"&&Vn!=="cssText"&&Vn!=="itemprop"||(Hn=Vn)}if(!Hn||!Zn[Hn])return!1;var mi=Zn[Hn].toLowerCase();return $t[Hn]||($t[Hn]={}),it[Hn]||(it[Hn]={}),!$t[Hn][mi]&&(it[Hn][mi]=!0,!0)}).reverse().forEach(function(Zn){return yr.push(Zn)});for(var Tr=Object.keys(it),fn=0;fn<Tr.length;fn+=1){var Ln=Tr[fn],Vr=D({},$t[Ln],it[Ln]);$t[Ln]=Vr}return yr},[]).reverse()},Z=function(mt,ut){if(Array.isArray(mt)&&mt.length){for(var ft=0;ft<mt.length;ft+=1)if(mt[ft][ut])return!0}return!1},$=function(mt){return Array.isArray(mt)?mt.join(""):mt},se=function(mt,ut){return Array.isArray(mt)?mt.reduce(function(ft,$t){return function(yr,gr){for(var it=Object.keys(yr),Tr=0;Tr<it.length;Tr+=1)if(gr[it[Tr]]&&gr[it[Tr]].includes(yr[it[Tr]]))return!0;return!1}($t,ut)?ft.priority.push($t):ft.default.push($t),ft},{priority:[],default:[]}):{default:mt}},_e=function(mt,ut){var ft;return D({},mt,((ft={})[ut]=void 0,ft))},Ie=[Y.NOSCRIPT,Y.SCRIPT,Y.STYLE],De=function(mt,ut){return ut===void 0&&(ut=!0),ut===!1?String(mt):String(mt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},Ze=function(mt){return Object.keys(mt).reduce(function(ut,ft){var $t=mt[ft]!==void 0?ft+'="'+mt[ft]+'"':""+ft;return ut?ut+" "+$t:$t},"")},Ne=function(mt,ut){return ut===void 0&&(ut={}),Object.keys(mt).reduce(function(ft,$t){return ft[ue[$t]||$t]=mt[$t],ft},ut)},Lt=function(mt,ut){return ut.map(function(ft,$t){var yr,gr=((yr={key:$t})["data-rh"]=!0,yr);return Object.keys(ft).forEach(function(it){var Tr=ue[it]||it;Tr==="innerHTML"||Tr==="cssText"?gr.dangerouslySetInnerHTML={__html:ft.innerHTML||ft.cssText}:gr[Tr]=ft[it]}),x.createElement(mt,gr)})},bt=function(mt,ut,ft){switch(mt){case Y.TITLE:return{toComponent:function(){return yr=ut.titleAttributes,(gr={key:$t=ut.title})["data-rh"]=!0,it=Ne(yr,gr),[x.createElement(Y.TITLE,it,$t)];var $t,yr,gr,it},toString:function(){return function($t,yr,gr,it){var Tr=Ze(gr),fn=$(yr);return Tr?"<"+$t+' data-rh="true" '+Tr+">"+De(fn,it)+"</"+$t+">":"<"+$t+' data-rh="true">'+De(fn,it)+"</"+$t+">"}(mt,ut.title,ut.titleAttributes,ft)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Ne(ut)},toString:function(){return Ze(ut)}};default:return{toComponent:function(){return Lt(mt,ut)},toString:function(){return function($t,yr,gr){return yr.reduce(function(it,Tr){var fn=Object.keys(Tr).filter(function(Zn){return!(Zn==="innerHTML"||Zn==="cssText")}).reduce(function(Zn,Hn){var Pn=Tr[Hn]===void 0?Hn:Hn+'="'+De(Tr[Hn],gr)+'"';return Zn?Zn+" "+Pn:Pn},""),Ln=Tr.innerHTML||Tr.cssText||"",Vr=Ie.indexOf($t)===-1;return it+"<"+$t+' data-rh="true" '+fn+(Vr?"/>":">"+Ln+"</"+$t+">")},"")}(mt,ut,ft)}}}},kt=function(mt){var ut=mt.baseTag,ft=mt.bodyAttributes,$t=mt.encode,yr=mt.htmlAttributes,gr=mt.noscriptTags,it=mt.styleTags,Tr=mt.title,fn=Tr===void 0?"":Tr,Ln=mt.titleAttributes,Vr=mt.linkTags,Zn=mt.metaTags,Hn=mt.scriptTags,Pn={toComponent:function(){},toString:function(){return""}};if(mt.prioritizeSeoTags){var yn=function(Vn){var oi=Vn.linkTags,mi=Vn.scriptTags,Di=Vn.encode,ji=se(Vn.metaTags,ae),gi=se(oi,V),Ea=se(mi,G);return{priorityMethods:{toComponent:function(){return[].concat(Lt(Y.META,ji.priority),Lt(Y.LINK,gi.priority),Lt(Y.SCRIPT,Ea.priority))},toString:function(){return bt(Y.META,ji.priority,Di)+" "+bt(Y.LINK,gi.priority,Di)+" "+bt(Y.SCRIPT,Ea.priority,Di)}},metaTags:ji.default,linkTags:gi.default,scriptTags:Ea.default}}(mt);Pn=yn.priorityMethods,Vr=yn.linkTags,Zn=yn.metaTags,Hn=yn.scriptTags}return{priority:Pn,base:bt(Y.BASE,ut,$t),bodyAttributes:bt("bodyAttributes",ft,$t),htmlAttributes:bt("htmlAttributes",yr,$t),link:bt(Y.LINK,Vr,$t),meta:bt(Y.META,Zn,$t),noscript:bt(Y.NOSCRIPT,gr,$t),script:bt(Y.SCRIPT,Hn,$t),style:bt(Y.STYLE,it,$t),title:bt(Y.TITLE,{title:fn,titleAttributes:Ln},$t)}},jt=[],Wt=function(mt,ut){var ft=this;ut===void 0&&(ut=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function($t){ft.context.helmet=$t},helmetInstances:{get:function(){return ft.canUseDOM?jt:ft.instances},add:function($t){(ft.canUseDOM?jt:ft.instances).push($t)},remove:function($t){var yr=(ft.canUseDOM?jt:ft.instances).indexOf($t);(ft.canUseDOM?jt:ft.instances).splice(yr,1)}}},this.context=mt,this.canUseDOM=ut,ut||(mt.helmet=kt({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},zt=x.createContext({}),We=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),St=typeof document!="undefined",Ft=function(mt){function ut(ft){var $t;return($t=mt.call(this,ft)||this).helmetData=new Wt($t.props.context,ut.canUseDOM),$t}return M(ut,mt),ut.prototype.render=function(){return x.createElement(zt.Provider,{value:this.helmetData.value},this.props.children)},ut}(x.Component);Ft.canUseDOM=St,Ft.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},Ft.defaultProps={context:{}},Ft.displayName="HelmetProvider";var tt=function(mt,ut){var ft,$t=document.head||document.querySelector(Y.HEAD),yr=$t.querySelectorAll(mt+"[data-rh]"),gr=[].slice.call(yr),it=[];return ut&&ut.length&&ut.forEach(function(Tr){var fn=document.createElement(mt);for(var Ln in Tr)Object.prototype.hasOwnProperty.call(Tr,Ln)&&(Ln==="innerHTML"?fn.innerHTML=Tr.innerHTML:Ln==="cssText"?fn.styleSheet?fn.styleSheet.cssText=Tr.cssText:fn.appendChild(document.createTextNode(Tr.cssText)):fn.setAttribute(Ln,Tr[Ln]===void 0?"":Tr[Ln]));fn.setAttribute("data-rh","true"),gr.some(function(Vr,Zn){return ft=Zn,fn.isEqualNode(Vr)})?gr.splice(ft,1):it.push(fn)}),gr.forEach(function(Tr){return Tr.parentNode.removeChild(Tr)}),it.forEach(function(Tr){return $t.appendChild(Tr)}),{oldTags:gr,newTags:it}},_t=function(mt,ut){var ft=document.getElementsByTagName(mt)[0];if(ft){for(var $t=ft.getAttribute("data-rh"),yr=$t?$t.split(","):[],gr=[].concat(yr),it=Object.keys(ut),Tr=0;Tr<it.length;Tr+=1){var fn=it[Tr],Ln=ut[fn]||"";ft.getAttribute(fn)!==Ln&&ft.setAttribute(fn,Ln),yr.indexOf(fn)===-1&&yr.push(fn);var Vr=gr.indexOf(fn);Vr!==-1&&gr.splice(Vr,1)}for(var Zn=gr.length-1;Zn>=0;Zn-=1)ft.removeAttribute(gr[Zn]);yr.length===gr.length?ft.removeAttribute("data-rh"):ft.getAttribute("data-rh")!==it.join(",")&&ft.setAttribute("data-rh",it.join(","))}},dt=function(mt,ut){var ft=mt.baseTag,$t=mt.htmlAttributes,yr=mt.linkTags,gr=mt.metaTags,it=mt.noscriptTags,Tr=mt.onChangeClientState,fn=mt.scriptTags,Ln=mt.styleTags,Vr=mt.title,Zn=mt.titleAttributes;_t(Y.BODY,mt.bodyAttributes),_t(Y.HTML,$t),function(Vn,oi){Vn!==void 0&&document.title!==Vn&&(document.title=$(Vn)),_t(Y.TITLE,oi)}(Vr,Zn);var Hn={baseTag:tt(Y.BASE,ft),linkTags:tt(Y.LINK,yr),metaTags:tt(Y.META,gr),noscriptTags:tt(Y.NOSCRIPT,it),scriptTags:tt(Y.SCRIPT,fn),styleTags:tt(Y.STYLE,Ln)},Pn={},yn={};Object.keys(Hn).forEach(function(Vn){var oi=Hn[Vn],mi=oi.newTags,Di=oi.oldTags;mi.length&&(Pn[Vn]=mi),Di.length&&(yn[Vn]=Hn[Vn].oldTags)}),ut&&ut(),Tr(mt,Pn,yn)},qe=null,Be=function(mt){function ut(){for(var $t,yr=arguments.length,gr=new Array(yr),it=0;it<yr;it++)gr[it]=arguments[it];return($t=mt.call.apply(mt,[this].concat(gr))||this).rendered=!1,$t}M(ut,mt);var ft=ut.prototype;return ft.shouldComponentUpdate=function($t){return!A()($t,this.props)},ft.componentDidUpdate=function(){this.emitChange()},ft.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},ft.emitChange=function(){var $t,yr,gr=this.props.context,it=gr.setHelmet,Tr=null,fn=($t=gr.helmetInstances.get().map(function(Ln){var Vr=D({},Ln.props);return delete Vr.context,Vr}),{baseTag:Q(["href"],$t),bodyAttributes:ee("bodyAttributes",$t),defer:J($t,"defer"),encode:J($t,"encodeSpecialCharacters"),htmlAttributes:ee("htmlAttributes",$t),linkTags:le(Y.LINK,["rel","href"],$t),metaTags:le(Y.META,["name","charset","http-equiv","property","itemprop"],$t),noscriptTags:le(Y.NOSCRIPT,["innerHTML"],$t),onChangeClientState:oe($t),scriptTags:le(Y.SCRIPT,["src","innerHTML"],$t),styleTags:le(Y.STYLE,["cssText"],$t),title:K($t),titleAttributes:ee("titleAttributes",$t),prioritizeSeoTags:Z($t,"prioritizeSeoTags")});Ft.canUseDOM?(yr=fn,qe&&cancelAnimationFrame(qe),yr.defer?qe=requestAnimationFrame(function(){dt(yr,function(){qe=null})}):(dt(yr),qe=null)):kt&&(Tr=kt(fn)),it(Tr)},ft.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},ft.render=function(){return this.init(),null},ut}(x.Component);Be.propTypes={context:We.isRequired},Be.displayName="HelmetDispatcher";var Ee=["children"],Re=["children"],He=function(mt){function ut(){return mt.apply(this,arguments)||this}M(ut,mt);var ft=ut.prototype;return ft.shouldComponentUpdate=function($t){return!b()(_e(this.props,"helmetData"),_e($t,"helmetData"))},ft.mapNestedChildrenToProps=function($t,yr){if(!yr)return null;switch($t.type){case Y.SCRIPT:case Y.NOSCRIPT:return{innerHTML:yr};case Y.STYLE:return{cssText:yr};default:throw new Error("<"+$t.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},ft.flattenArrayTypeChildren=function($t){var yr,gr=$t.child,it=$t.arrayTypeChildren;return D({},it,((yr={})[gr.type]=[].concat(it[gr.type]||[],[D({},$t.newChildProps,this.mapNestedChildrenToProps(gr,$t.nestedChildren))]),yr))},ft.mapObjectTypeChildren=function($t){var yr,gr,it=$t.child,Tr=$t.newProps,fn=$t.newChildProps,Ln=$t.nestedChildren;switch(it.type){case Y.TITLE:return D({},Tr,((yr={})[it.type]=Ln,yr.titleAttributes=D({},fn),yr));case Y.BODY:return D({},Tr,{bodyAttributes:D({},fn)});case Y.HTML:return D({},Tr,{htmlAttributes:D({},fn)});default:return D({},Tr,((gr={})[it.type]=D({},fn),gr))}},ft.mapArrayTypeChildrenToProps=function($t,yr){var gr=D({},yr);return Object.keys($t).forEach(function(it){var Tr;gr=D({},gr,((Tr={})[it]=$t[it],Tr))}),gr},ft.warnOnInvalidChildren=function($t,yr){return k()(ie.some(function(gr){return $t.type===gr}),typeof $t.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 <"+$t.type+"> elements. Refer to our API for more information."),k()(!yr||typeof yr=="string"||Array.isArray(yr)&&!yr.some(function(gr){return typeof gr!="string"}),"Helmet expects a string as a child of <"+$t.type+">. Did you forget to wrap your children in braces? ( <"+$t.type+">{``}</"+$t.type+"> ) Refer to our API for more information."),!0},ft.mapChildrenToProps=function($t,yr){var gr=this,it={};return x.Children.forEach($t,function(Tr){if(Tr&&Tr.props){var fn=Tr.props,Ln=fn.children,Vr=j(fn,Ee),Zn=Object.keys(Vr).reduce(function(Pn,yn){return Pn[q[yn]||yn]=Vr[yn],Pn},{}),Hn=Tr.type;switch(typeof Hn=="symbol"?Hn=Hn.toString():gr.warnOnInvalidChildren(Tr,Ln),Hn){case Y.FRAGMENT:yr=gr.mapChildrenToProps(Ln,yr);break;case Y.LINK:case Y.META:case Y.NOSCRIPT:case Y.SCRIPT:case Y.STYLE:it=gr.flattenArrayTypeChildren({child:Tr,arrayTypeChildren:it,newChildProps:Zn,nestedChildren:Ln});break;default:yr=gr.mapObjectTypeChildren({child:Tr,newProps:yr,newChildProps:Zn,nestedChildren:Ln})}}}),this.mapArrayTypeChildrenToProps(it,yr)},ft.render=function(){var $t=this.props,yr=$t.children,gr=j($t,Re),it=D({},gr),Tr=gr.helmetData;return yr&&(it=this.mapChildrenToProps(yr,it)),!Tr||Tr instanceof Wt||(Tr=new Wt(Tr.context,Tr.instances)),Tr?x.createElement(Be,D({},it,{context:Tr.value,helmetData:void 0})):x.createElement(zt.Consumer,null,function(fn){return x.createElement(Be,D({},it,{context:fn}))})},ut}(x.Component);He.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},He.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},He.displayName="Helmet";const ze={},Ye=mt=>x.createElement(Ft,{context:ze},mt);var ht=e(92736),xt=e(25690),nr=e(93083),er=e(61337),Le=e(28440),Qe=e.n(Le),Qt=Object.defineProperty,Rt=Object.getOwnPropertySymbols,Vt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,Tt=(mt,ut,ft)=>ut in mt?Qt(mt,ut,{enumerable:!0,configurable:!0,writable:!0,value:ft}):mt[ut]=ft,qt=(mt,ut)=>{for(var ft in ut||(ut={}))Vt.call(ut,ft)&&Tt(mt,ft,ut[ft]);if(Rt)for(var ft of Rt(ut))Gt.call(ut,ft)&&Tt(mt,ft,ut[ft]);return mt},Ue=(mt,ut)=>{var ft={};for(var $t in mt)Vt.call(mt,$t)&&ut.indexOf($t)<0&&(ft[$t]=mt[$t]);if(mt!=null&&Rt)for(var $t of Rt(mt))ut.indexOf($t)<0&&Gt.call(mt,$t)&&(ft[$t]=mt[$t]);return ft};let fe=null;const pe=()=>(fe||(fe=Xt().applyPlugins({key:"antd",type:xt.ApplyPluginsType.modify,initialValue:qt({},{componentSize:"middle"})})),fe);function Ot({children:mt}){let ut=mt;const[ft,$t]=x.useState(()=>{const gr=pe(),{appConfig:it}=gr;return Ue(gr,["appConfig"])}),yr=gr=>{$t(it=>Qe()({},it,typeof gr=="function"?gr(it):gr))};return ft.prefixCls&&ht.ZP.config({prefixCls:ft.prefixCls}),ft.iconPrefixCls&&ht.ZP.config({iconPrefixCls:ft.iconPrefixCls}),ft.theme&&ht.ZP.config({theme:ft.theme}),ut=x.createElement(ht.ZP,qt({},ft),ut),ut=x.createElement(nr.StyleProvider,{hashPriority:"high"},ut),ut=x.createElement(er.C.Provider,{value:yr},x.createElement(er.S.Provider,{value:ft},ut)),ut}function Ce(mt){return x.createElement(Ot,null,mt)}var ct=e(64839);function Kt(mt,ut){return x.createElement(ct.j,ut,mt)}var At=e(65517),Te=e(18956),Et=e(81863),ye=Object.defineProperty,et=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,Nt=Object.prototype.propertyIsEnumerable,Fe=(mt,ut,ft)=>ut in mt?ye(mt,ut,{enumerable:!0,configurable:!0,writable:!0,value:ft}):mt[ut]=ft,Ir=(mt,ut)=>{for(var ft in ut||(ut={}))yt.call(ut,ft)&&Fe(mt,ft,ut[ft]);if(et)for(var ft of et(ut))Nt.call(ut,ft)&&Fe(mt,ft,ut[ft]);return mt};function Ct(){var mt,ut;const ft=getLocale();(mt=moment)!=null&&mt.locale&&moment.locale(((ut=localeInfo[ft])==null?void 0:ut.momentLocale)||"zh-cn"),setIntl(ft)}const Gr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,Qr=mt=>{var ut;const ft=(0,Te.Kd)(),[$t,yr]=x.useState(ft),[gr,it]=x.useState(()=>(0,Te.lw)($t,!0)),Tr=Vr=>{var Zn,Hn;(Zn=u())!=null&&Zn.locale&&u().locale(((Hn=Te.H8[Vr])==null?void 0:Hn.momentLocale)||"en"),yr(Vr),it((0,Te.lw)(Vr))};Gr(()=>(Te.B.on(Te.PZ,Tr),()=>{Te.B.off(Te.PZ,Tr)}),[]);const fn=Ir({},Et.Z),Ln=(0,Te.Mg)();return x.createElement(ht.ZP,{direction:Ln,locale:((ut=Te.H8[$t])==null?void 0:ut.antd)||fn},x.createElement(Te.eU,{value:gr},mt.children))};function Mr(mt){return x.createElement(Qr,null,mt)}function Fr(mt){return mt.default?typeof mt.default=="function"?mt.default():mt.default:mt}function mr(){return[{apply:Fr(r),path:void 0},{apply:i,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0},{apply:f,path:void 0}]}function $r(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let nn=null;function cn(){return nn=xt.PluginManager.create({plugins:mr(),validKeys:$r()}),nn}function Xt(){return nn}},25690:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return St},Link:function(){return J},Outlet:function(){return K.j3},PluginManager:function(){return Ft},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return tt.m8},useAppData:function(){return G.Ov},useDispatch:function(){return f.I0},useLocation:function(){return K.TH},useOutletContext:function(){return K.bx},useParams:function(){return K.UO},useSearchParams:function(){return V.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(61337);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(2339),o=e(64839),h=e(18956),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,b=(Ye,ht,xt)=>ht in Ye?u(Ye,ht,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Ye[ht]=xt,S=(Ye,ht)=>{for(var xt in ht||(ht={}))y.call(ht,xt)&&b(Ye,xt,ht[xt]);if(p)for(var xt of p(ht))_.call(ht,xt)&&b(Ye,xt,ht[xt]);return Ye},k=(Ye,ht)=>a(Ye,x(ht)),R=(Ye,ht)=>{var xt={};for(var nr in Ye)y.call(Ye,nr)&&ht.indexOf(nr)<0&&(xt[nr]=Ye[nr]);if(Ye!=null&&p)for(var nr of p(Ye))ht.indexOf(nr)<0&&_.call(Ye,nr)&&(xt[nr]=Ye[nr]);return xt};const A=Ye=>{var ht=Ye,{overlayClassName:xt}=ht,nr=R(ht,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:xt},nr))},D=Ye=>Ye.reduce((ht,xt)=>xt.lang?k(S({},ht),{[xt.lang]:xt}):ht,{}),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=Ye=>React.createElement(React.Fragment,null);var j=e(38329),Y=e(38127),V=e(32451),G=e(91231),ae=e(87296);function ie(Ye,ht){var xt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},nr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var er=r.useRef(typeof IntersectionObserver=="function"),Le=r.useRef(null);return r.useEffect(function(){if(!(!Ye.current||!er.current||nr.disabled))return Le.current=new IntersectionObserver(function(Qe){var Qt=(0,ae.Z)(Qe,1),Rt=Qt[0];ht(Rt)},xt),Le.current.observe(Ye.current),function(){var Qe;(Qe=Le.current)===null||Qe===void 0||Qe.disconnect()}},[ht,xt,nr.disabled,Ye]),Le.current}var ue=["prefetch"];function q(Ye){var ht=r.useRef(null);return r.useEffect(function(){Ye&&(typeof Ye=="function"?Ye(ht.current):Ye.current=ht.current)}),ht}var J=r.forwardRef(function(Ye,ht){var xt,nr=Ye.prefetch,er=(0,Y.Z)(Ye,ue),Le=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},Qe=Le.defaultPrefetch,Qt=Le.defaultPrefetchTimeout,Rt=(nr===!0?"intent":nr===!1?"none":nr)||Qe;if(!["intent","render","viewport","none"].includes(Rt))throw new Error("Invalid prefetch value ".concat(Rt," found in Link component"));var Vt=(0,G.Ov)(),Gt=typeof Ye.to=="string"?Ye.to:(xt=Ye.to)===null||xt===void 0?void 0:xt.pathname,Tt=r.useRef(!1),qt=q(ht),Ue=function(Ot){if(Rt==="intent"){var Ce=Ot.target||{};Ce.preloadTimeout||(Ce.preloadTimeout=setTimeout(function(){var ct;Ce.preloadTimeout=null,(ct=Vt.preloadRoute)===null||ct===void 0||ct.call(Vt,Gt)},Ye.prefetchTimeout||Qt))}},fe=function(Ot){if(Rt==="intent"){var Ce=Ot.target||{};Ce.preloadTimeout&&(clearTimeout(Ce.preloadTimeout),Ce.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(Rt==="render"&&!Tt.current){var pe;(pe=Vt.preloadRoute)===null||pe===void 0||pe.call(Vt,Gt),Tt.current=!0}},[Rt,Gt]),ie(qt,function(pe){if(pe!=null&&pe.isIntersecting){var Ot;(Ot=Vt.preloadRoute)===null||Ot===void 0||Ot.call(Vt,Gt)}},{rootMargin:"100px"},{disabled:Rt!=="viewport"}),Gt?r.createElement(V.rU,(0,j.Z)({onMouseEnter:Ue,onMouseLeave:fe,ref:qt},er),Ye.children):null}),K=e(35338),oe=e(8616);function ee(){"use strict";ee=function(){return ht};var Ye,ht={},xt=Object.prototype,nr=xt.hasOwnProperty,er=Object.defineProperty||function(Mr,Fr,mr){Mr[Fr]=mr.value},Le=typeof Symbol=="function"?Symbol:{},Qe=Le.iterator||"@@iterator",Qt=Le.asyncIterator||"@@asyncIterator",Rt=Le.toStringTag||"@@toStringTag";function Vt(Mr,Fr,mr){return Object.defineProperty(Mr,Fr,{value:mr,enumerable:!0,configurable:!0,writable:!0}),Mr[Fr]}try{Vt({},"")}catch(Mr){Vt=function(mr,$r,nn){return mr[$r]=nn}}function Gt(Mr,Fr,mr,$r){var nn=Fr&&Fr.prototype instanceof Ce?Fr:Ce,cn=Object.create(nn.prototype),Xt=new Gr($r||[]);return er(cn,"_invoke",{value:Nt(Mr,mr,Xt)}),cn}function Tt(Mr,Fr,mr){try{return{type:"normal",arg:Mr.call(Fr,mr)}}catch($r){return{type:"throw",arg:$r}}}ht.wrap=Gt;var qt="suspendedStart",Ue="suspendedYield",fe="executing",pe="completed",Ot={};function Ce(){}function ct(){}function Kt(){}var At={};Vt(At,Qe,function(){return this});var Te=Object.getPrototypeOf,Et=Te&&Te(Te(Qr([])));Et&&Et!==xt&&nr.call(Et,Qe)&&(At=Et);var ye=Kt.prototype=Ce.prototype=Object.create(At);function et(Mr){["next","throw","return"].forEach(function(Fr){Vt(Mr,Fr,function(mr){return this._invoke(Fr,mr)})})}function yt(Mr,Fr){function mr(nn,cn,Xt,mt){var ut=Tt(Mr[nn],Mr,cn);if(ut.type!=="throw"){var ft=ut.arg,$t=ft.value;return $t&&(0,oe.Z)($t)=="object"&&nr.call($t,"__await")?Fr.resolve($t.__await).then(function(yr){mr("next",yr,Xt,mt)},function(yr){mr("throw",yr,Xt,mt)}):Fr.resolve($t).then(function(yr){ft.value=yr,Xt(ft)},function(yr){return mr("throw",yr,Xt,mt)})}mt(ut.arg)}var $r;er(this,"_invoke",{value:function(cn,Xt){function mt(){return new Fr(function(ut,ft){mr(cn,Xt,ut,ft)})}return $r=$r?$r.then(mt,mt):mt()}})}function Nt(Mr,Fr,mr){var $r=qt;return function(nn,cn){if($r===fe)throw new Error("Generator is already running");if($r===pe){if(nn==="throw")throw cn;return{value:Ye,done:!0}}for(mr.method=nn,mr.arg=cn;;){var Xt=mr.delegate;if(Xt){var mt=Fe(Xt,mr);if(mt){if(mt===Ot)continue;return mt}}if(mr.method==="next")mr.sent=mr._sent=mr.arg;else if(mr.method==="throw"){if($r===qt)throw $r=pe,mr.arg;mr.dispatchException(mr.arg)}else mr.method==="return"&&mr.abrupt("return",mr.arg);$r=fe;var ut=Tt(Mr,Fr,mr);if(ut.type==="normal"){if($r=mr.done?pe:Ue,ut.arg===Ot)continue;return{value:ut.arg,done:mr.done}}ut.type==="throw"&&($r=pe,mr.method="throw",mr.arg=ut.arg)}}}function Fe(Mr,Fr){var mr=Fr.method,$r=Mr.iterator[mr];if($r===Ye)return Fr.delegate=null,mr==="throw"&&Mr.iterator.return&&(Fr.method="return",Fr.arg=Ye,Fe(Mr,Fr),Fr.method==="throw")||mr!=="return"&&(Fr.method="throw",Fr.arg=new TypeError("The iterator does not provide a '"+mr+"' method")),Ot;var nn=Tt($r,Mr.iterator,Fr.arg);if(nn.type==="throw")return Fr.method="throw",Fr.arg=nn.arg,Fr.delegate=null,Ot;var cn=nn.arg;return cn?cn.done?(Fr[Mr.resultName]=cn.value,Fr.next=Mr.nextLoc,Fr.method!=="return"&&(Fr.method="next",Fr.arg=Ye),Fr.delegate=null,Ot):cn:(Fr.method="throw",Fr.arg=new TypeError("iterator result is not an object"),Fr.delegate=null,Ot)}function Ir(Mr){var Fr={tryLoc:Mr[0]};1 in Mr&&(Fr.catchLoc=Mr[1]),2 in Mr&&(Fr.finallyLoc=Mr[2],Fr.afterLoc=Mr[3]),this.tryEntries.push(Fr)}function Ct(Mr){var Fr=Mr.completion||{};Fr.type="normal",delete Fr.arg,Mr.completion=Fr}function Gr(Mr){this.tryEntries=[{tryLoc:"root"}],Mr.forEach(Ir,this),this.reset(!0)}function Qr(Mr){if(Mr||Mr===""){var Fr=Mr[Qe];if(Fr)return Fr.call(Mr);if(typeof Mr.next=="function")return Mr;if(!isNaN(Mr.length)){var mr=-1,$r=function nn(){for(;++mr<Mr.length;)if(nr.call(Mr,mr))return nn.value=Mr[mr],nn.done=!1,nn;return nn.value=Ye,nn.done=!0,nn};return $r.next=$r}}throw new TypeError((0,oe.Z)(Mr)+" is not iterable")}return ct.prototype=Kt,er(ye,"constructor",{value:Kt,configurable:!0}),er(Kt,"constructor",{value:ct,configurable:!0}),ct.displayName=Vt(Kt,Rt,"GeneratorFunction"),ht.isGeneratorFunction=function(Mr){var Fr=typeof Mr=="function"&&Mr.constructor;return!!Fr&&(Fr===ct||(Fr.displayName||Fr.name)==="GeneratorFunction")},ht.mark=function(Mr){return Object.setPrototypeOf?Object.setPrototypeOf(Mr,Kt):(Mr.__proto__=Kt,Vt(Mr,Rt,"GeneratorFunction")),Mr.prototype=Object.create(ye),Mr},ht.awrap=function(Mr){return{__await:Mr}},et(yt.prototype),Vt(yt.prototype,Qt,function(){return this}),ht.AsyncIterator=yt,ht.async=function(Mr,Fr,mr,$r,nn){nn===void 0&&(nn=Promise);var cn=new yt(Gt(Mr,Fr,mr,$r),nn);return ht.isGeneratorFunction(Fr)?cn:cn.next().then(function(Xt){return Xt.done?Xt.value:cn.next()})},et(ye),Vt(ye,Rt,"Generator"),Vt(ye,Qe,function(){return this}),Vt(ye,"toString",function(){return"[object Generator]"}),ht.keys=function(Mr){var Fr=Object(Mr),mr=[];for(var $r in Fr)mr.push($r);return mr.reverse(),function nn(){for(;mr.length;){var cn=mr.pop();if(cn in Fr)return nn.value=cn,nn.done=!1,nn}return nn.done=!0,nn}},ht.values=Qr,Gr.prototype={constructor:Gr,reset:function(Fr){if(this.prev=0,this.next=0,this.sent=this._sent=Ye,this.done=!1,this.delegate=null,this.method="next",this.arg=Ye,this.tryEntries.forEach(Ct),!Fr)for(var mr in this)mr.charAt(0)==="t"&&nr.call(this,mr)&&!isNaN(+mr.slice(1))&&(this[mr]=Ye)},stop:function(){this.done=!0;var Fr=this.tryEntries[0].completion;if(Fr.type==="throw")throw Fr.arg;return this.rval},dispatchException:function(Fr){if(this.done)throw Fr;var mr=this;function $r(ft,$t){return Xt.type="throw",Xt.arg=Fr,mr.next=ft,$t&&(mr.method="next",mr.arg=Ye),!!$t}for(var nn=this.tryEntries.length-1;nn>=0;--nn){var cn=this.tryEntries[nn],Xt=cn.completion;if(cn.tryLoc==="root")return $r("end");if(cn.tryLoc<=this.prev){var mt=nr.call(cn,"catchLoc"),ut=nr.call(cn,"finallyLoc");if(mt&&ut){if(this.prev<cn.catchLoc)return $r(cn.catchLoc,!0);if(this.prev<cn.finallyLoc)return $r(cn.finallyLoc)}else if(mt){if(this.prev<cn.catchLoc)return $r(cn.catchLoc,!0)}else{if(!ut)throw new Error("try statement without catch or finally");if(this.prev<cn.finallyLoc)return $r(cn.finallyLoc)}}}},abrupt:function(Fr,mr){for(var $r=this.tryEntries.length-1;$r>=0;--$r){var nn=this.tryEntries[$r];if(nn.tryLoc<=this.prev&&nr.call(nn,"finallyLoc")&&this.prev<nn.finallyLoc){var cn=nn;break}}cn&&(Fr==="break"||Fr==="continue")&&cn.tryLoc<=mr&&mr<=cn.finallyLoc&&(cn=null);var Xt=cn?cn.completion:{};return Xt.type=Fr,Xt.arg=mr,cn?(this.method="next",this.next=cn.finallyLoc,Ot):this.complete(Xt)},complete:function(Fr,mr){if(Fr.type==="throw")throw Fr.arg;return Fr.type==="break"||Fr.type==="continue"?this.next=Fr.arg:Fr.type==="return"?(this.rval=this.arg=Fr.arg,this.method="return",this.next="end"):Fr.type==="normal"&&mr&&(this.next=mr),Ot},finish:function(Fr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var $r=this.tryEntries[mr];if($r.finallyLoc===Fr)return this.complete($r.completion,$r.afterLoc),Ct($r),Ot}},catch:function(Fr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var $r=this.tryEntries[mr];if($r.tryLoc===Fr){var nn=$r.completion;if(nn.type==="throw"){var cn=nn.arg;Ct($r)}return cn}}throw new Error("illegal catch attempt")},delegateYield:function(Fr,mr,$r){return this.delegate={iterator:Qr(Fr),resultName:mr,nextLoc:$r},this.method==="next"&&(this.arg=Ye),Ot}},ht}var Q=e(63579);function le(Ye,ht,xt,nr,er,Le,Qe){try{var Qt=Ye[Le](Qe),Rt=Qt.value}catch(Vt){xt(Vt);return}Qt.done?ht(Rt):Promise.resolve(Rt).then(nr,er)}function Z(Ye){return function(){var ht=this,xt=arguments;return new Promise(function(nr,er){var Le=Ye.apply(ht,xt);function Qe(Rt){le(Le,nr,er,Qe,Qt,"next",Rt)}function Qt(Rt){le(Le,nr,er,Qe,Qt,"throw",Rt)}Qe(void 0)})}}var $=e(99227);function se(Ye,ht){var xt=typeof Symbol!="undefined"&&Ye[Symbol.iterator]||Ye["@@iterator"];if(!xt){if(Array.isArray(Ye)||(xt=(0,$.Z)(Ye))||ht&&Ye&&typeof Ye.length=="number"){xt&&(Ye=xt);var nr=0,er=function(){};return{s:er,n:function(){return nr>=Ye.length?{done:!0}:{done:!1,value:Ye[nr++]}},e:function(Vt){throw Vt},f:er}}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 Le=!0,Qe=!1,Qt;return{s:function(){xt=xt.call(Ye)},n:function(){var Vt=xt.next();return Le=Vt.done,Vt},e:function(Vt){Qe=!0,Qt=Vt},f:function(){try{!Le&&xt.return!=null&&xt.return()}finally{if(Qe)throw Qt}}}}var _e=e(73825);function Ie(Ye){if(typeof Symbol!="undefined"&&Ye[Symbol.iterator]!=null||Ye["@@iterator"]!=null)return Array.from(Ye)}var De=e(66160);function Ze(Ye){return(0,_e.Z)(Ye)||Ie(Ye)||(0,$.Z)(Ye)||(0,De.Z)()}function Ne(Ye,ht){if(!(Ye instanceof ht))throw new TypeError("Cannot call a class as a function")}var Lt=e(89878);function bt(Ye,ht){for(var xt=0;xt<ht.length;xt++){var nr=ht[xt];nr.enumerable=nr.enumerable||!1,nr.configurable=!0,"value"in nr&&(nr.writable=!0),Object.defineProperty(Ye,(0,Lt.Z)(nr.key),nr)}}function kt(Ye,ht,xt){return ht&&bt(Ye.prototype,ht),xt&&bt(Ye,xt),Object.defineProperty(Ye,"prototype",{writable:!1}),Ye}var jt=e(65873);function Wt(Ye,ht){if(!Ye)throw new Error(ht)}function zt(Ye){var ht=Ye.fns,xt=Ye.args;if(ht.length===1)return ht[0];var nr=ht.pop();return ht.reduce(function(er,Le){return function(){return Le(er,xt)}},nr)}function We(Ye){return!!Ye&&(0,oe.Z)(Ye)==="object"&&typeof Ye.then=="function"}var St=function(Ye){return Ye.compose="compose",Ye.modify="modify",Ye.event="event",Ye}({}),Ft=function(){function Ye(ht){Ne(this,Ye),(0,jt.Z)(this,"opts",void 0),(0,jt.Z)(this,"hooks",{}),this.opts=ht}return kt(Ye,[{key:"register",value:function(xt){var nr=this;Wt(xt.apply,"plugin register failed, apply must supplied"),Object.keys(xt.apply).forEach(function(er){Wt(nr.opts.validKeys.indexOf(er)>-1,"register failed, invalid key ".concat(er," ").concat(xt.path?"from plugin ".concat(xt.path):"",".")),nr.hooks[er]=(nr.hooks[er]||[]).concat(xt.apply[er])})}},{key:"getHooks",value:function(xt){var nr=xt.split("."),er=Ze(nr),Le=er[0],Qe=er.slice(1),Qt=this.hooks[Le]||[];return Qe.length&&(Qt=Qt.map(function(Rt){try{var Vt=Rt,Gt=se(Qe),Tt;try{for(Gt.s();!(Tt=Gt.n()).done;){var qt=Tt.value;Vt=Vt[qt]}}catch(Ue){Gt.e(Ue)}finally{Gt.f()}return Vt}catch(Ue){return null}}).filter(Boolean)),Qt}},{key:"applyPlugins",value:function(xt){var nr=xt.key,er=xt.type,Le=xt.initialValue,Qe=xt.args,Qt=xt.async,Rt=this.getHooks(nr)||[];switch(Qe&&Wt((0,oe.Z)(Qe)==="object","applyPlugins failed, args must be plain object."),Qt&&Wt(er===St.modify||er===St.event,"async only works with modify and event type."),er){case St.modify:return Qt?Rt.reduce(function(){var Vt=Z(ee().mark(function Gt(Tt,qt){var Ue;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Wt(typeof qt=="function"||(0,oe.Z)(qt)==="object"||We(qt),"applyPlugins failed, all hooks for key ".concat(nr," must be function, plain object or Promise.")),!We(Tt)){pe.next=5;break}return pe.next=4,Tt;case 4:Tt=pe.sent;case 5:if(typeof qt!="function"){pe.next=16;break}if(Ue=qt(Tt,Qe),!We(Ue)){pe.next=13;break}return pe.next=10,Ue;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Ue);case 14:pe.next=21;break;case 16:if(!We(qt)){pe.next=20;break}return pe.next=19,qt;case 19:qt=pe.sent;case 20:return pe.abrupt("return",(0,Q.Z)((0,Q.Z)({},Tt),qt));case 21:case"end":return pe.stop()}},Gt)}));return function(Gt,Tt){return Vt.apply(this,arguments)}}(),We(Le)?Le:Promise.resolve(Le)):Rt.reduce(function(Vt,Gt){return Wt(typeof Gt=="function"||(0,oe.Z)(Gt)==="object","applyPlugins failed, all hooks for key ".concat(nr," must be function or plain object.")),typeof Gt=="function"?Gt(Vt,Qe):(0,Q.Z)((0,Q.Z)({},Vt),Gt)},Le);case St.event:return Z(ee().mark(function Vt(){var Gt,Tt,qt,Ue;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:Gt=se(Rt),pe.prev=1,Gt.s();case 3:if((Tt=Gt.n()).done){pe.next=12;break}if(qt=Tt.value,Wt(typeof qt=="function","applyPlugins failed, all hooks for key ".concat(nr," must be function.")),Ue=qt(Qe),!(Qt&&We(Ue))){pe.next=10;break}return pe.next=10,Ue;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),Gt.e(pe.t0);case 17:return pe.prev=17,Gt.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Vt,null,[[1,14,17,20]])}))();case St.compose:return function(){return zt({fns:Rt.concat(Le),args:Qe})()}}}}],[{key:"create",value:function(xt){var nr=new Ye({validKeys:xt.validKeys});return xt.plugins.forEach(function(er){nr.register(er)}),nr}}]),Ye}(),tt=e(58293);let _t=0,dt=0;function qe(Ye,ht){}function Be(Ye){return JSON.stringify(Ye,null,2)}function Ee(Ye){const ht=Ye.length>1?Ye.map(Re).join(" "):Ye[0];return typeof ht=="object"?`${Be(ht)}`:ht.toString()}function Re(Ye){return typeof Ye=="object"?`${JSON.stringify(Ye)}`:Ye.toString()}const He={log(...Ye){Ee(Ye)},info(...Ye){Ee(Ye)},warn(...Ye){Ee(Ye)},error(...Ye){Ee(Ye)},group(){dt++},groupCollapsed(){dt++},groupEnd(){dt&&--dt},clear(){},trace(...Ye){console.trace(...Ye)},profile(...Ye){console.profile(...Ye)},profileEnd(...Ye){console.profileEnd(...Ye)}},ze=()=>{}},61337:function(d,v,e){"use strict";e.d(v,{C:function(){return l},S:function(){return i}});var r=e(59301);const i=r.createContext(null),l=r.createContext(()=>{console.error("The 'useAntdConfigSetter()' method depends on the antd 'ConfigProvider', requires one of 'antd.configProvider' / 'antd.dark' / 'antd.compact' to be enabled.")})},64839:function(d,v,e){"use strict";e.d(v,{j:function(){return mc},Q:function(){return Dc}});var r=e(2339),i=e(89880),l=e.n(i),c=e(59301),f=e(25690),o=e(98750),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(I,O,L)=>O in I?h(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,y=(I,O)=>{for(var L in O||(O={}))a.call(O,L)&&p(I,L,O[L]);if(u)for(var L of u(O))x.call(O,L)&&p(I,L,O[L]);return I},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:I},{call:O,put:L}){return yield O(o.n1,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(o.bz,I)},*getSchoolOption({payload:I},{call:O,put:L}){return yield O(o.GY,I)},*getDepartmentOption({payload:I},{call:O,put:L}){return yield O(o.Ql,I)},*appplyDepartment({payload:I},{call:O,put:L}){return yield O(o.Zm,I)},*updateAccount({payload:I},{call:O,put:L}){return yield O(o.sG,I)},*cancelRealNameAuth({payload:I},{call:O,put:L}){return yield O(o.P,I)},*cancelProfessionalAuth({payload:I},{call:O,put:L}){return yield O(o.$f,I)},*applyProfessionalAuth({payload:I},{call:O,put:L}){return yield O(o.Ow,I)},*applyRealNameAuth({payload:I},{call:O,put:L}){return yield O(o.ht,I)},*getCode({payload:I},{call:O,put:L}){return yield O(o.Cq,I)},*bindPhone({payload:I},{call:O,put:L}){return yield O(o.eF,I)},*bindEmail({payload:I},{call:O,put:L}){return yield O(o.I8,I)},*updatePassword({payload:I},{call:O,put:L}){return yield O(o.gQ,I)},*unbindAccount({payload:I},{call:O,put:L}){return yield O(o.wi,I)},*getBasicInfo({payload:I},{call:O,put:L}){const me=yield O(o.o9,I);return yield L({type:"save",payload:{basicInfo:y({},me)}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:y({},I)}})}},reducers:{save(I,O){return y(y({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},S=e(97402),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,D=Object.prototype.propertyIsEnumerable,M=(I,O,L)=>O in I?k(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,B=(I,O)=>{for(var L in O||(O={}))A.call(O,L)&&M(I,L,O[L]);if(R)for(var L of R(O))D.call(O,L)&&M(I,L,O[L]);return I},Y={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:I,callback:O},{call:L,put:me}){return yield L(S.nZ,I)},*informUp({payload:I,callback:O},{call:L,put:me}){return yield L(S.TO,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:B({},I)}})}},reducers:{save(I,O){return B(B({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},V=e(44203),G=Object.defineProperty,ae=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,q=(I,O,L)=>O in I?G(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,J=(I,O)=>{for(var L in O||(O={}))ie.call(O,L)&&q(I,L,O[L]);if(ae)for(var L of ae(O))ue.call(O,L)&&q(I,L,O[L]);return I},oe={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(V.SV,I);return yield me({type:"save",payload:{allList:J({},Oe)}}),Oe},*mineAttachment({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(V.zI,I);return yield me({type:"save",payload:{mineList:J({},Oe)}}),Oe},*fileImport({payload:I,callback:O},{call:L,put:me}){return yield L(V.tO,I)},*getDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(V.Nm,I);return yield me({type:"save",payload:{detail:J({},Oe)}}),Oe},*updateVisits({payload:I,callback:O},{call:L,put:me}){return yield L(V.H,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:J({},I)}})}},reducers:{save(I,O){return J(J({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},ee=e(32967),Q=Object.defineProperty,le=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,se=(I,O,L)=>O in I?Q(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,_e=(I,O)=>{for(var L in O||(O={}))Z.call(O,L)&&se(I,L,O[L]);if(le)for(var L of le(O))$.call(O,L)&&se(I,L,O[L]);return I},De={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ee.yq,I);return yield me({type:"save",payload:{boardsCategoryList:_e({},Oe.data)}}),Oe.data},*getBoardsDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ee.dI,I);return yield me({type:"save",payload:{boardsDetail:_e({},Oe.data)}}),Oe.data},*setTopping({payload:I,callback:O},{call:L,put:me}){return yield L(ee.cc,I)},*escTopping({payload:I,callback:O},{call:L,put:me}){return yield L(ee.CJ,I)},*getReplyList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ee.PC,I);yield me({type:"save",payload:{replyList:_e({},Oe.data)}})},*createReply({payload:I,callback:O},{call:L,put:me}){return yield L(ee.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:me}){return yield L(ee.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:me}){return yield L(ee.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:me}){return yield L(ee.Mf,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:_e({},I)}})}},reducers:{save(I,O){return _e(_e({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Ze=e(81722),Ne=Object.defineProperty,Lt=Object.getOwnPropertySymbols,bt=Object.prototype.hasOwnProperty,kt=Object.prototype.propertyIsEnumerable,jt=(I,O,L)=>O in I?Ne(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Wt=(I,O)=>{for(var L in O||(O={}))bt.call(O,L)&&jt(I,L,O[L]);if(Lt)for(var L of Lt(O))kt.call(O,L)&&jt(I,L,O[L]);return I},We={namespace:"exercise",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,exerciseList:{},userExerciseList:{},statisticsList:{},exerciseCoursesList:{},brankList:{},editData:{},endGroups:{},actionTabs:{removeEventListenerExitScreen:!1},publishGroups:{},commonHeader:{},reviewExercise:{},reviewGroupExercise:{},workSetting:{},editRandomExercises:{},redoModal:{},exerciseUserInfo:{},examinationIntelligentSettings:{},exerciseExportHeadData:{},codeReviewDetail:{},exerciseIdentityPhotos:{},checkDomain:window.document.domain==="kepukehuan.educoder.net"||window.document.domain==="test-kepukehuan.educoder.net",order_type:"",order:"",updateIndex:null,saveExerciseDownUsers:null,NormalResult:{},course_groups:[],SumupDetail:{},ScoreRangesData:{}},effects:{*getScoreRangesData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.$Q,I);return yield me({type:"save",payload:{ScoreRangesData:Oe==null?void 0:Oe.data}}),Oe},*getQuestionResult({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze._U,I);return yield me({type:"save",payload:{NormalResult:Oe}}),Oe},*getUserExercise({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.xA,I);return yield me({type:"save",payload:{userExerciseList:Wt({},(Oe==null?void 0:Oe.data)||{})}}),console.log("getUserExercise-res:",Oe),Oe==null?void 0:Oe.data},*getExerciseIdentityPhotos({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.J,I);return yield me({type:"save",payload:{exerciseIdentityPhotos:Wt({},(Oe==null?void 0:Oe.data)||{})}}),Oe==null?void 0:Oe.data},*getExerciseExportHeadData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.iw,I);return yield me({type:"save",payload:{exerciseExportHeadData:Wt({},Oe)}}),Oe},*getExerciseUserInfo({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.Ty,I);return(Oe==null?void 0:Oe.status)===0&&(yield me({type:"save",payload:Wt({},{exerciseUserInfo:Wt({},Oe.data)})})),Oe},*getExaminationIntelligentSettings({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.sA,I);return yield me({type:"save",payload:{examinationIntelligentSettings:Wt({},Oe)}}),Oe},*getRandomEditExercises({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.yu,I);return yield me({type:"save",payload:{editRandomExercises:Wt({},Oe)}}),Oe},*getExerciseList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.G$,I);if(Oe!=null&&Oe.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Oe.total_exercise_users)}catch(qr){}return yield me({type:"save",payload:{exerciseList:Wt({},Oe)}}),yield me({type:"save",payload:{order_type:I.order_type,order:I.order}}),Oe},*getExerciseStatistics({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze._u,I);return yield me({type:"save",payload:{statisticsList:Wt({},Oe)}}),Oe},*getBrankList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.n$,I);return yield me({type:"save",payload:{brankList:Wt({},Oe)}}),Oe},*saveBanks({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.lf,I)},*getExerciseCourses({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.N3,I);return yield me({type:"save",payload:{exerciseCoursesList:Wt({},Oe)}}),Oe},*addExercise({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.uR,I)},*editExercise({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.qf,I);return yield me({type:"save",payload:{editData:Wt({},Oe)}}),Oe},*getTagDiscipline({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.YY,I);return yield me({type:"save",payload:{tagDisciplineData:Wt({},Oe)}}),Oe},*editExerciseQuestion({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.Di,I)},*addExerciseQuestion({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.MK,I)},*exeriseMoveUpDown({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.GK,I)},*getEndGroups({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.KE,I);return yield me({type:"save",payload:{endGroups:Wt({},Oe)}}),Oe},*getPublishGroups({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.ux,I);return yield me({type:"save",payload:{publishGroups:Wt({},Oe)}}),Oe},*getCommonHeader({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.UK,I);return yield me({type:"save",payload:{commonHeader:Wt({},Oe)}}),Oe},*getReviewExercise({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.BJ,I);return yield me({type:"save",payload:{reviewExercise:Wt({},Oe)}}),Oe},*postReviewExercise({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.pu,I);return yield me({type:"save",payload:{reviewExercise:Wt({},Oe)}}),Oe},*getCentralizeReviewExercise({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.X4,I);return yield me({type:"save",payload:{reviewExercise:Wt({},Oe)}}),Oe},*clearData({payload:I,callback:O},{call:L,put:me}){yield me({type:"save",payload:{[I.key]:{}}})},*getReviewGroupExercise({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.W4,I);return yield me({type:"save",payload:{reviewGroupExercise:Wt({},Oe)}}),Oe},*getWorkSetting({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.Ul,I);return yield me({type:"save",payload:{workSetting:Wt({},Oe)}}),Oe},*getRedoModal({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.tX,I);return yield me({type:"save",payload:{redoModal:Wt({},Oe)}}),Oe},*getRedoListModal({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.s,I);return yield me({type:"save",payload:{redoModal:Wt({},Oe)}}),Oe},*getCodeReviewDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:Wt({},Oe)}}),Oe},*changeScore({payload:I,callback:O},{call:L,put:me}){return yield L(Ze.gG,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Wt({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:I==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:I},{call:O,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:I}})}},reducers:{save(I,O){return Wt(Wt({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},St=e(24059),Ft=Object.defineProperty,tt=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,qe=(I,O,L)=>O in I?Ft(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Be=(I,O)=>{for(var L in O||(O={}))_t.call(O,L)&&qe(I,L,O[L]);if(tt)for(var L of tt(O))dt.call(O,L)&&qe(I,L,O[L]);return I},Re={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(St.x_,I);return yield me({type:"save",payload:{detailList:Be({},Oe)}}),Oe},*getTasksListDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(St.QA,I);return yield me({type:"save",payload:{detailTaskList:Be({},Oe)}}),Oe},*getTopisDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(St.B6,I);return yield me({type:"save",payload:{detail:Be({},Oe)}}),Oe},*getTasksDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(St.y3,I);return yield me({type:"save",payload:{tasksDetail:Be({},Oe)}}),Oe},*refuseTopic({payload:I,callback:O},{call:L,put:me}){return yield L(St.mM,I)},*agreeTopic({payload:I,callback:O},{call:L,put:me}){return yield L(St.je,I)},*getReplyList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(St.PC,I);yield me({type:"save",payload:{replyList:Be({},Oe)}})},*createReply({payload:I,callback:O},{call:L,put:me}){return yield L(St.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:me}){return yield L(St.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:me}){return yield L(St.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:me}){return yield L(St.Mf,I)},*addTopicDefaultData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(St.y0,I);yield me({type:"save",payload:{addTopicData:Be({},Oe)}})},*editTopicDefaultData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(St.hL,I);return yield me({type:"save",payload:{editTopicData:Be({},Oe)}}),Oe},*editTasksDefaultData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(St._n,I);return yield me({type:"save",payload:{editTasksData:Be({},Oe)}}),Oe},*addTopic({payload:I,callback:O},{call:L,put:me}){return yield L(St.Gr,I)},*editTopic({payload:I,callback:O},{call:L,put:me}){return yield L(St.wA,I)},*addTasks({payload:I,callback:O},{call:L,put:me}){return yield L(St.Sv,I)},*editTasks({payload:I,callback:O},{call:L,put:me}){return yield L(St.RP,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Be({},I)}})}},reducers:{save(I,O){return Be(Be({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},He=e(89392),ze=e(1247),Ye=Object.defineProperty,ht=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,nr=Object.prototype.propertyIsEnumerable,er=(I,O,L)=>O in I?Ye(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Le=(I,O)=>{for(var L in O||(O={}))xt.call(O,L)&&er(I,L,O[L]);if(ht)for(var L of ht(O))nr.call(O,L)&&er(I,L,O[L]);return I},Qt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.h$,I);try{sessionStorage.all_student_works=JSON.stringify(Oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(qr){}return yield me({type:"save",payload:{workList:Le({},Oe)}}),Oe},*getShixunWorkHeadInfo({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.fK,I);try{}catch(qr){}return yield me({type:"save",payload:{headerInfo:Oe==null?void 0:Oe.data}}),Oe},*getShixunWorkList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.Z8,I);try{sessionStorage.all_student_works=JSON.stringify(Oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(I),localStorage.setItem("all_student_works_param",JSON.stringify(I))}catch(qr){}return yield me({type:"save",payload:{shixunWorkList:Oe==null?void 0:Oe.data,homeworkAssistantPermissions:Oe.homework_assistant_permissions,shixunAssistantPermission:Oe.shixun_assistant_permission,courseAssistantPermission:Oe.course_assistant_permission}}),Oe},*getCodeReview({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.RP,I);return yield me({type:"save",payload:{codeReview:Le({},Oe)}}),Oe},*getCodeReviewDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.Xn,I);return yield me({type:"save",payload:{codeReviewDetail:Le({},Oe)}}),Oe},*getWorkDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.to,I);return yield me({type:"save",payload:{workDetail:Le({},Oe)}}),Oe},*updateWork({payload:I,callback:O},{call:L,put:me}){return yield L(ze.H,I)},*getShixunWorkReport({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.sw,I);try{Oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(qr){}return yield me({type:"save",payload:{shixunWorkReport:Le({},Oe)}}),Oe},*getShixunWorkReports({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.cz,I);try{Oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(qr){}return yield me({type:"save",payload:{shixunWorkReport:Le({},Oe)}}),Oe},*getWorkSetting({payload:I,callback:O},{call:L,put:me}){var Oe,qr;const Bn=yield L(ze.Ul,I);(Oe=Bn==null?void 0:Bn.group_settings)==null||Oe.map(Pi=>{Pi.value=Pi.group_name,Pi.id=Pi.group_id,Pi.group_id=[Pi.group_id]}),(qr=Bn==null?void 0:Bn.allow_late_settings)==null||qr.map(Pi=>{Pi.value=Pi.group_name,Pi.id=Pi.group_id,Pi.group_id=[Pi.group_id]});const dn={shixun_evaluation:Bn.shixun_evaluation,challenge_settings:Bn.challenge_settings};return yield me({type:"save",payload:{workSetting:Le({},Bn),changeData:(0,He.cloneDeep)(dn)}}),Bn},*updateSetting({payload:I,callback:O},{call:L,put:me}){return yield L(ze.m7,I)},*getCodeReviewCourse({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.JG,I);return yield me({type:"save",payload:{codeReviewCourse:Le({},Oe)}}),Oe},*exportShixunWorks({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.Dx,I)},*getReferenceAnswer({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.Q3,I);return yield me({type:"save",payload:{referenceAnswer:Le({},Oe)}}),Oe},*getPublishGroups({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.ux,I);return yield me({type:"save",payload:{publishGroups:Le({},Oe)}}),Oe},*getEndGroups({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.KE,I);return yield me({type:"save",payload:{endGroups:Le({},Oe)}}),Oe},*getBrankList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.n$,I);return yield me({type:"save",payload:{brankList:Le({},Oe)}}),Oe},*changeScore({payload:I,callback:O},{call:L,put:me}){return yield L(ze.gG,I)},*saveBanks({payload:I,callback:O},{call:L,put:me}){return yield L(ze.lf,I)},*addCommonHomeWorkDefaultData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.Qt,I);return yield me({type:"save",payload:{commonHomeWorkAddDefaultData:Le({},Oe)}}),Oe},*getSearchMemberList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.Lz,I);return yield me({type:"save",payload:{searchMemberList:Le({},Oe)}}),Oe},*getProjectList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.ku,I);return yield me({type:"save",payload:{searchProjectList:Le({},Oe)}}),Oe},*addStudentWorkDefaultData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.ak,I);return yield me({type:"save",payload:{studentWorkAddDefaultData:Le({},Oe)}}),Oe},*editStudentWorkDefaultData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.PW,I);return yield me({type:"save",payload:{studentWorkEditDefaultData:Le({},Oe)}}),Oe},*editCommonHomeWorkDefaultData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.BD,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Le({},Oe)}}),Oe},*editCommonHomeWorkDefaultBankData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.pH,I);return yield me({type:"save",payload:{commonHomeWorkEditDefaultData:Le({},Oe)}}),Oe},*getReplyList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.PC,I);yield me({type:"save",payload:{replyList:Le({},Oe)}})},*getStudentWorkDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.Hj,I);yield me({type:"save",payload:{studentWorkDetail:Le({},Oe)}})},*getStudentWorkSupplyDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.ub,I);yield me({type:"save",payload:{studentWorkSupplyDetail:Le({},Oe)}})},*getStudentWorkCommon({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.JA,I);yield me({type:"save",payload:{studentWorkCommon:Le({},Oe)}})},*getAllStudentWorks({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.ql,I);return yield me({type:"save",payload:{allStudentWorks:Le({},Oe)}}),Oe},*getFileRepeatResult({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.oN,I);return yield me({type:"save",payload:{codeReview:Le({},Oe)}}),Oe},*getFileRepeatDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ze.Ti,I);return yield me({type:"save",payload:{codeReviewDetail:Le({},Oe)}}),Oe},*createReply({payload:I,callback:O},{call:L,put:me}){return yield L(ze.PP,I)},*replyLike({payload:I,callback:O},{call:L,put:me}){return yield L(ze.NA,I)},*replyUnLike({payload:I,callback:O},{call:L,put:me}){return yield L(ze.YQ,I)},*deleteReply({payload:I,callback:O},{call:L,put:me}){return yield L(ze.Mf,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Le({},I)}})}},reducers:{save(I,O){return Le(Le({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Rt=e(82264),Vt=e(48790),Gt=Object.defineProperty,Tt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,fe=(I,O,L)=>O in I?Gt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,pe=(I,O)=>{for(var L in O||(O={}))qt.call(O,L)&&fe(I,L,O[L]);if(Tt)for(var L of Tt(O))Ue.call(O,L)&&fe(I,L,O[L]);return I},Ce={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:I},{call:O,put:L}){yield O(Rt.gq,I)},*getAssistantPermissions({payload:I},{call:O,put:L}){if(!(0,Vt.eB)())return;const me=yield O(Rt.rS,I);yield L({type:"save",payload:{AssistantObject:me.permissions}})},*getAiStatusQuery({payload:I},{call:O,put:L}){const me=yield O(Rt.LH,I);return yield L({type:"save",payload:{cal_finish_if:me.cal_finish_if}}),me},*updateCoursePortraitData({payload:I},{call:O,put:L}){return yield O(Rt.Z_,I)},*getUserPortraitConfig({payload:I},{call:O,put:L}){const me=yield O(Rt._0,I);return yield L({type:"save",payload:{userPortraitConfig:me.data}}),me},*updateUserPortraitConfig({payload:I},{call:O,put:L}){return yield O(Rt.r2,I)},*getClassroom({payload:I},{call:O,put:L}){const me=I,Oe=yield O(Rt.V8,I);return yield L({type:"save",payload:pe({listParams:me},Oe)}),Oe},*getClassroomTopBanner({payload:I},{call:O,put:L}){const me=yield O(Rt.U_,I);return yield L({type:"save",payload:{detailTopBanner:me.status?{copy_completed:!0}:pe({},me)}}),me.status?{copy_completed:!0}:me},*getClassroomLeftMenus({payload:I},{call:O,put:L}){const me=yield O(Rt.w9,I);let Oe=[...(me==null?void 0:me.course_modules)||[],...(me==null?void 0:me.hidden_modules)||[]],qr={};return Oe==null||Oe.forEach(Bn=>{qr[Bn.type]=Bn.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},me),detailLeftMenusNames:qr}}),me},*getClassroomShixunsList({payload:I},{call:O,put:L}){const me=yield O(Rt.Nd,I);yield L({type:"save",payload:{detailShixunsList:pe({},me)}})},*getClassroomTeacherShixunsList({payload:I},{call:O,put:L}){const me=yield O(Rt.Gk,I);return yield L({type:"save",payload:{detailShixunsList:pe({},me)}}),me},*getClassroomCommonList({payload:I},{call:O,put:L}){const me=yield O(Rt.Nd,I);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomTeacherCommonList({payload:I},{call:O,put:L}){const me=yield O(Rt.Gk,I);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}}),me},*getClassroomGraduationTopicsList({payload:I},{call:O,put:L}){const me=yield O(Rt.yV,I);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},me)}})},*getClassroomGraduationTaskList({payload:I},{call:O,put:L}){const me=yield O(Rt.R2,I);yield L({type:"save",payload:{detailGraduationTaskList:pe({},me)}})},*getClassroomExercisesList({payload:I},{call:O,put:L}){const me=yield O(Rt.N7,I);yield L({type:"save",payload:{detailExerciseList:pe({},me)}})},*getClassroomPollsList({payload:I},{call:O,put:L}){const me=yield O(Rt.BR,I);yield L({type:"save",payload:{detailPollsList:pe({},me)}})},*getCourseGroups({payload:I},{call:O,put:L}){const me=yield O(Rt.qB,I);yield L({type:"save",payload:{courseGroups:pe({},me)}})},*getAllCourseGroup({payload:I},{call:O,put:L}){const me=yield O(Rt.c_,I);return yield L({type:"save",payload:{allCourseGroups:pe({},me)}}),me},*getClassroomCommonHomeworksList({payload:I},{call:O,put:L}){const me=yield O(Rt.Al,I);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},me)}})},*getClassroomAttendancesList({payload:I},{call:O,put:L}){const me=yield O(Rt.Vw,I);yield L({type:"save",payload:{detailAttendancesList:pe({},me)}})},*getClassroomAttendancesStatistic({payload:I},{call:O,put:L}){const me=yield O(Rt.Ls,I);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},me)}})},*getAttendanceDetail({payload:I},{call:O,put:L}){const me=yield O(Rt.zg,I);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},me)}}),me},*getAnnouncementList({payload:I},{call:O,put:L}){const me=yield O(Rt.QZ,I);yield L({type:"save",payload:{detailAnnouncementList:pe({},me)}})},*getAttachmentList({payload:I},{call:O,put:L}){const me=yield O(Rt.KT,I);yield L({type:"save",payload:{detailAttachmentList:pe({},me.data)}})},*getCourseware({payload:I},{call:O,put:L}){const me=yield O(Rt.ZT,I);yield L({type:"save",payload:{detailCourseware:pe({},me.data)}})},*getVideoList({payload:I},{call:O,put:L}){const me=yield O(Rt.O3,I);yield L({type:"save",payload:{detailVideoList:pe({},me)}})},*getLiveVideoList({payload:I},{call:O,put:L}){const me=yield O(Rt.DJ,I);yield L({type:"save",payload:{detailLiveVideoList:pe({},me)}})},*getCoursesMine({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.Ed,I);return yield me({type:"save",payload:{courseMine:pe({},Oe)}}),Oe.data},*getBoardList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.KP,I);return yield me({type:"save",payload:{detailBoardList:pe({},Oe.data)}}),Oe.data},*getCourseGroupsList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.kW,I);return yield me({type:"save",payload:{detailCourseGroupsList:pe({},Oe)}}),Oe},*getCourseStudentsList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.J2,I);return yield me({type:"save",payload:{detailCoursStudentsList:pe({},Oe)}}),Oe.data},*getCourseStatistics({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.g4,I);return yield me({type:"save",payload:{detailCourseStatisticsList:pe({},Oe)}}),Oe},*getCourseActscore({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.t1,I);return yield me({type:"save",payload:{detailCourseActscore:pe({},Oe)}}),Oe},*getCourseWorkscore({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.GV,I);return yield me({type:"save",payload:{detailCourseWorkscore:pe({},Oe)}}),Oe},*getShixunLists({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.Pj,I);return yield me({type:"save",payload:{shixunLists:pe({},Oe)}}),Oe},*getExperimentLists({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt._9,I);return yield me({type:"save",payload:{shixunLists:pe({},Oe)}}),Oe},*getShixunAiRecommendLists({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.Hn,I);return yield me({type:"save",payload:{shixunAiRecommendLists:pe({},Oe)}}),Oe},*getCoursesLists({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.W7,I);return yield me({type:"save",payload:{coursesLists:pe({},Oe)}}),Oe},*createCoursesHomework({payload:I,callback:O},{call:L,put:me}){return yield L(Rt.Ds,I)},*createShixunHomework({payload:I,callback:O},{call:L,put:me}){return yield L(Rt.aQ,I)},*createExperiment({payload:I,callback:O},{call:L,put:me}){return yield L(Rt.BQ,I)},*getSchoolList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.K$,I);return yield me({type:"save",payload:{schoolList:pe({},Oe.school_names)}}),Oe.school_names},*searchSchoolTeacherList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.nQ,I);return yield me({type:"save",payload:{searchMemberList:pe({},Oe)}}),Oe},*getAllTaskList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.km,I);return yield me({type:"save",payload:{taskList:[...Oe.tasks]}}),Oe},*updateTaskPosition({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Rt.U8,I);return yield me({type:"save",payload:{actionTabs:{key:""}}}),Oe},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pe({},I)}})},*setUpdateData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateData:I}})}},reducers:{save(I,O){return pe(pe({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ct=Object.defineProperty,Kt=Object.getOwnPropertySymbols,At=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,Et=(I,O,L)=>O in I?ct(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ye=(I,O)=>{for(var L in O||(O={}))At.call(O,L)&&Et(I,L,O[L]);if(Kt)for(var L of Kt(O))Te.call(O,L)&&Et(I,L,O[L]);return I},yt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:I},{call:O,put:L}){const me=yield O(Rt.K$,I);yield L({type:"save",payload:{schoolList:(me==null?void 0:me.school_names)||[]}})},*getSearchCourseList({payload:I},{call:O,put:L}){const me=yield O(Rt.oM,I);yield L({type:"save",payload:{searchCourseList:(me==null?void 0:me.course_lists)||[]}})},*submitCourses({payload:I},{call:O,put:L}){return yield O(Rt.Bn,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(Rt.bz,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ye({},I)}})},*joincoursegroup({payload:I},{call:O,put:L}){return yield O(Rt.WK,I)}},reducers:{save(I,O){return ye(ye({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Nt=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,Gr=(I,O,L)=>O in I?Nt(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Qr=(I,O)=>{for(var L in O||(O={}))Ir.call(O,L)&&Gr(I,L,O[L]);if(Fe)for(var L of Fe(O))Ct.call(O,L)&&Gr(I,L,O[L]);return I},Fr={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:I},{call:O,put:L}){const me=yield O(Rt.Dd,I);yield L({type:"save",payload:{CourseUseInfos:me}})},*getRankList({payload:I},{call:O,put:L}){const me=yield O(Rt.Fg,I);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:I},{call:O,put:L}){const me=yield O(Rt.Gz,I);yield L({type:"save",payload:{SBody:me}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const me=yield O(Rt.Hl,I);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return Qr(Qr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},mr=e(7299),$r=Object.defineProperty,nn=Object.getOwnPropertySymbols,cn=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,mt=(I,O,L)=>O in I?$r(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ut=(I,O)=>{for(var L in O||(O={}))cn.call(O,L)&&mt(I,L,O[L]);if(nn)for(var L of nn(O))Xt.call(O,L)&&mt(I,L,O[L]);return I},$t={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.s3,I);return yield me({type:"save",payload:{pollsList:ut({},Oe)}}),Oe},*getCommonHeader({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.UK,I);return yield me({type:"save",payload:{commonHeader:ut({},Oe)}}),Oe},*getPollsStatistics({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.Qn,I);return yield me({type:"save",payload:{statisticsList:ut({},Oe)}}),Oe},*getBrankList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.n$,I);return yield me({type:"save",payload:{brankList:ut({},Oe)}}),Oe},*saveBanks({payload:I,callback:O},{call:L,put:me}){return yield L(mr.lf,I)},*getPollsCourses({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.Q9,I);return yield me({type:"save",payload:{pollsCoursesList:ut({},Oe)}}),Oe},*getPollsSetting({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.Hi,I);return yield me({type:"save",payload:{pollSetting:ut({},Oe)}}),Oe},*editPolls({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.Ye,I);return yield me({type:"save",payload:{editData:ut({},JSON.parse(JSON.stringify(Oe)))}}),Oe},*getEndGroups({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.KE,I);return yield me({type:"save",payload:{endGroups:ut({},Oe)}}),Oe},*getPublishGroups({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.ux,I);return yield me({type:"save",payload:{publishGroups:ut({},Oe)}}),Oe},*getExerciseBanks({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(mr.kp,I);return yield me({type:"save",payload:{exerciseBanks:ut({},Oe)}}),Oe},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ut({},I)}})}},reducers:{save(I,O){return ut(ut({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},yr=e(49234),gr=Object.defineProperty,it=Object.getOwnPropertySymbols,Tr=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,Ln=(I,O,L)=>O in I?gr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Vr=(I,O)=>{for(var L in O||(O={}))Tr.call(O,L)&&Ln(I,L,O[L]);if(it)for(var L of it(O))fn.call(O,L)&&Ln(I,L,O[L]);return I},Hn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:I},{call:O,put:L}){var me;const Oe=yield O(yr.gp,I);return(me=Oe==null?void 0:Oe.teacher_list)==null||me.map(qr=>(qr.key=qr.course_member_id,qr)),yield L({type:"save",payload:{list:Oe}}),Oe},*getStudentsList({payload:I},{call:O,put:L}){var me;const Oe=yield O(yr.ur,I);return(me=Oe==null?void 0:Oe.students)==null||me.map(qr=>(qr.key=qr.user_id,qr)),yield L({type:"save",payload:{studentsList:Oe}}),Oe},*getApplyList({payload:I},{call:O,put:L}){const me=yield O(yr.s,I);return yield L({type:"save",payload:{applyList:me}}),me},*getAllCourseGroups({payload:I},{call:O,put:L}){const me=yield O(yr.xV,I);return yield L({type:"save",payload:{allCourseGroups:me}}),me},*getGraduationGroupList({payload:I},{call:O,put:L}){const me=yield O(yr.Bg,I);return yield L({type:"save",payload:{graduationGroupList:me}}),me},*setAllCourseGroups({payload:I},{call:O,put:L}){const me=yield O(yr.oZ,I);return yield L({type:"save",payload:{setAllCourseGroups:me}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Vr({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(I,O){return Vr(Vr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Pn=e(69618),yn=Object.defineProperty,Vn=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,mi=Object.prototype.propertyIsEnumerable,Di=(I,O,L)=>O in I?yn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ji=(I,O)=>{for(var L in O||(O={}))oi.call(O,L)&&Di(I,L,O[L]);if(Vn)for(var L of Vn(O))mi.call(O,L)&&Di(I,L,O[L]);return I},Ea={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Pn.BQ,I);return yield me({type:"save",payload:{videoStatisticsList:ji({},Oe)}}),Oe},*getNewVideoStatisticsList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Pn.cU,I);return yield me({type:"save",payload:{newVideoStatisticsList:ji({},Oe)}}),Oe},*getVideoPeopleStatics({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Pn.Zx,I);return yield me({type:"save",payload:{videoPeopleStatics:ji({},Oe)}}),Oe},*getVideoDurationStatics({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Pn.Mz,I);return yield me({type:"save",payload:{videoDurationStatics:ji({},Oe)}}),Oe},*getVideoStatistics({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Pn.ZY,I);return yield me({type:"save",payload:{videoStatistics:ji({},Oe)}}),Oe},*getOneVideoStatisticsList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Pn.cU,I);return yield me({type:"save",payload:{oneVideoStatisticsList:ji({},Oe)}}),Oe},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ji({},I)}})},*getStudentVideoStatisticsList({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Pn.Vg,I);return yield me({type:"save",payload:{StudentvideoStatistics:ji({},Oe)}}),Oe}},reducers:{save(I,O){return ji(ji({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},ui=e(73801),Ji=Object.defineProperty,It=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,Xi=(I,O,L)=>O in I?Ji(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,vi=(I,O)=>{for(var L in O||(O={}))gt.call(O,L)&&Xi(I,L,O[L]);if(It)for(var L of It(O))Oi.call(O,L)&&Xi(I,L,O[L]);return I},yi={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:I,callback:O},{call:L,put:me}){return yield L(ui.cC,I)},*getGuides({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.Ax,I);return yield me({type:"save",payload:{GuidesData:Oe}}),Oe},*getWorkSubmitUpdateRes({payload:I,callback:O},{call:L,put:me}){return yield L(ui.zF,I)},*getList({payload:I},{call:O,put:L}){const me=I,Oe=yield O(ui.bQ,I);return yield L({type:"save",payload:vi({listParams:me},Oe)}),Oe},*getMemberWorks({payload:I},{call:O,put:L}){const me=yield O(ui.xx,I);return yield L({type:"save",payload:{MemberWorks:me||{}}}),me},*addApplytojoincourse({payload:I,callback:O},{call:L,put:me}){return yield L(ui.qS,I)},*competitionTeams({payload:I,callback:O},{call:L,put:me}){return yield L(ui.Pt,I)},*getStaff({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.Dh,I);return yield me({type:"save",payload:{Staff:Oe}}),Oe},*getHeader({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.Pg,I);return yield me({type:"save",payload:{Header:Oe}}),Oe},*getItem({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.rV,I);return yield me({type:"save",payload:{RightItems:Oe}}),Oe},*updateMdContent({payload:I,callback:O},{call:L,put:me}){return yield L(ui.zj,I)},*getTeamList({payload:I,callback:O},{call:L,put:me}){return yield L(ui.aq,I)},*getTeamDetail({payload:I,callback:O},{call:L,put:me}){return yield L(ui.Ze,I)},*UpTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ui.yS,I)},*DeleteTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ui.ps,I)},*ExitTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ui.vV,I)},*AddTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ui.FU,I)},*AddPersonnel({payload:I,callback:O},{call:L,put:me}){return yield L(ui.R9,I)},*JoinTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ui.zc,I)},*getTeacher({payload:I,callback:O},{call:L,put:me}){return yield L(ui.jS,I)},*getStudents({payload:I,callback:O},{call:L,put:me}){return yield L(ui.sK,I)},*SubmitTeam({payload:I,callback:O},{call:L,put:me}){return yield L(ui.rm,I)},*Reward({payload:I,callback:O},{call:L,put:me}){return yield L(ui.Qp,I)},*ChartRules({payload:I,callback:O},{call:L,put:me}){return yield L(ui.Ux,I)},*Charts({payload:I,callback:O},{call:L,put:me}){return yield L(ui.GQ,I)},*TabResults({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.ml,I);return yield me({type:"save",payload:{TabResultList:Oe}}),Oe},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:vi({},I)}})},*Results({payload:I,callback:O},{call:L,put:me}){return yield L(ui.u9,I)},*Prize({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.pU,I);return yield me({type:"save",payload:{Prizes:Oe}}),Oe},*Accounts({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.XJ,I);return yield me({type:"save",payload:{Account:Oe}}),Oe},*getVerification({payload:I,callback:O},{call:L,put:me}){return yield L(ui.Ni,I)},*PhoneBind({payload:I,callback:O},{call:L,put:me}){return yield L(ui.uZ,I)},*EmailBind({payload:I,callback:O},{call:L,put:me}){return yield L(ui.rk,I)},*Authentication({payload:I,callback:O},{call:L,put:me}){return yield L(ui.Vy,I)},*Professional({payload:I,callback:O},{call:L,put:me}){return yield L(ui.tC,I)},*setleader({payload:I,callback:O},{call:L,put:me}){return yield L(ui.tO,I)},*getShixun({payload:I,callback:O},{call:L,put:me}){return yield L(ui.qj,I)},*getCourse({payload:I,callback:O},{call:L,put:me}){return yield L(ui.XR,I)},*competition_teams({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.zz,I);return yield me({type:"save",payload:{competition_team:Oe}}),Oe},*all_team_members({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(ui.$P,I);return yield me({type:"save",payload:{all_team_member:Oe}}),Oe}},reducers:{save(I,O){return vi(vi({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},qn=e(1103),Sn=e(32026),rr=Object.defineProperty,vt=Object.defineProperties,nt=Object.getOwnPropertyDescriptors,Dt=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable,dr=(I,O,L)=>O in I?rr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Ar=(I,O)=>{for(var L in O||(O={}))pt.call(O,L)&&dr(I,L,O[L]);if(Dt)for(var L of Dt(O))cr.call(O,L)&&dr(I,L,O[L]);return I},Zr=(I,O)=>vt(I,nt(O)),Je={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[Sn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Sn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[Sn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Sn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ar({},I)}})},*getMajorList({payload:I},{call:O,put:L,select:me}){const{userInfo:Oe}=yield me(qr=>qr.user);if(Oe!=null&&Oe.school_id){const qr=yield O(qn.BA,Oe.school_id);qr&&qr.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Sn.k[0],value:qr.data.map(Bn=>({label:Bn.name,value:Bn.ec_major_school_id}))}}))}},*getYearList({payload:I},{call:O,put:L}){const me=yield O(qn.Nx,I);me&&me.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Sn.k[1],value:me.data.map(Oe=>({label:Oe.year,value:Oe.ec_year_id}))}}))},*getCourseResultDetail({payload:I},{call:O,put:L}){console.log(I,"payload");const me=yield O(qn.p1,I);me&&me.ec_course_target&&(yield L({type:"setEchartsData",payload:me}))},*getCourseResultDetailClass({payload:I},{call:O,put:L}){const me=yield O(qn.ff,I);me&&me.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[...me.class_name]}}}))},*setClassActive({payload:I},{call:O,put:L}){yield L({type:"save",payload:{classDataSource:Ar({},I)}})}},reducers:{save(I,O){return Ar(Ar({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){return Zr(Ar({},I),{headerData:Zr(Ar({},I.headerData),{dataSource:Zr(Ar({},I.headerData.dataSource),{[O.key]:Zr(Ar({},I.headerData.dataSource[O.key]),{dataList:O.value})})})})},setMajorOrYearActive(I,{payload:O}){return Zr(Ar({},I),{headerData:Zr(Ar({},I.headerData),{active:Zr(Ar({},I.headerData.active),{[O.key]:O.value})})})},setEchartsData(I,{payload:O}){let L={name:O.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},me={name:O.course_name||"",xData:[],seriesData:[]},Oe={};return O.ec_course_target.forEach((qr,Bn)=>{qr.position=Bn+1,L=Zr(Ar({},L),{dataSource:{xData:[...L.dataSource.xData,Bn+1],yBarData:[...L.dataSource.yBarData,qr.actual_grade],yLineData:[...L.dataSource.yLineData,qr.standard_grade]}});let dn=[],Pi={min:[],max:[]},Ya=[],Oa=[],Do=[];qr.student_data.detail.forEach((Ma,co)=>{let bs=Ma.score;dn.push(co+1),Pi.max.push(bs>=qr.student_data.goal_score?bs:null),Pi.min.push(bs>=qr.student_data.goal_score?null:bs),Ya.push(Ma.name),Oa.push(Ma.student_id),Do.push(Ma.clazz)}),Oe[Bn+1]={name:Bn+1,average_score:qr.student_data.average_score,goal_score:qr.student_data.goal_score,xData:dn,yData:Pi,name_data:Ya,student_ids:Oa,class_data:Do,goal_scoreData:new Array(qr.student_data.detail.length).fill(qr.student_data.goal_score),average_scoreData:new Array(qr.student_data.detail.length).fill(qr.student_data.average_score)}}),O.history.forEach(qr=>{me=Zr(Ar({},me),{xData:[...me.xData,qr.year],seriesData:[...me.seriesData,qr.total_score]})}),Zr(Ar({},I),{name:O.course_name||"",tabListData:O.ec_course_target,echartsData:{barData:L,lineData:me,scatterData:Oe}})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},xe=Object.defineProperty,st=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,Rr=Object.prototype.propertyIsEnumerable,Dr=(I,O,L)=>O in I?xe(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Pr=(I,O)=>{for(var L in O||(O={}))ir.call(O,L)&&Dr(I,L,O[L]);if(st)for(var L of st(O))Rr.call(O,L)&&Dr(I,L,O[L]);return I},pn={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Pr({},I)}})},*setShowMenu({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showMenu:I}})},*setMatrixVerify({payload:I},{call:O,put:L}){yield L({type:"save",payload:{matrixVerify:Pr({},I)}})}},reducers:{save(I,O){return Pr(Pr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Cr=e(96999),ln=Object.defineProperty,rn=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,wn=Object.getOwnPropertySymbols,pa=Object.prototype.hasOwnProperty,Ei=Object.prototype.propertyIsEnumerable,hi=(I,O,L)=>O in I?ln(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,mn=(I,O)=>{for(var L in O||(O={}))pa.call(O,L)&&hi(I,L,O[L]);if(wn)for(var L of wn(O))Ei.call(O,L)&&hi(I,L,O[L]);return I},ni=(I,O)=>rn(I,sn(O)),ca={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[Sn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Sn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[Sn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Sn.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:mn({},I)}})},*getMajorList({},{call:I,put:O,select:L}){const{userInfo:me}=yield L(Oe=>Oe.user);if(me!=null&&me.school_id){const Oe=yield I(qn.BA,me.school_id);if(Oe&&Oe.data){const qr=Cr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Sn.k[0],value:Oe.data.map(Bn=>({label:Bn.name,value:Bn.ec_major_school_id})),active:Oe.data.length>0?qr[0]||Oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:L,select:me}){const Oe=yield O(qn.Nx,I.id),{userInfo:qr}=yield me(Bn=>Bn.user);if(Oe&&Oe.data){const Bn=Cr.U.getItem(qr==null?void 0:qr.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Sn.k[1],value:Oe.data.map(dn=>({label:dn.year,value:dn.ec_year_id})),active:Oe.data.length>0?I.firstEnter?Bn[1]:Oe.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:I,put:O,select:L}){const{headerData:me}=yield L(Bn=>Bn.engineeringNavigtion),{userInfo:Oe}=yield L(Bn=>Bn.user);let qr={};if(me.active[Sn.k[1]]&&Oe.school_id){const Bn=[me.active[Sn.k[0]],me.active[Sn.k[1]]];Cr.U.setItem(Oe==null?void 0:Oe.login,Bn);const dn=yield I(qn.bA,{ec_year_id:me.active[Sn.k[1]],school_id:Oe.school_id});dn&&dn.data&&(qr=dn.data),yield O({type:"setTopPage",payload:qr})}},*putTopPageName({payload:I,callback:O},{call:L,put:me}){try{const Oe=yield L(qn.ay,I);O(Oe)}catch(Oe){let qr="";Oe&&(qr=JSON.stringify(Oe),Oe.message&&(qr=Oe.message)),O({message:qr,status:999})}}},reducers:{save(I,O){return mn(mn({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let L=I.headerData.active;return O.active&&(L=ni(mn({},L),{[O.key]:O.active})),ni(mn({},I),{headerData:ni(mn({},I.headerData),{dataSource:ni(mn({},I.headerData.dataSource),{[O.key]:ni(mn({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(I,{payload:O}){return ni(mn({},I),{headerData:ni(mn({},I.headerData),{active:ni(mn({},I.headerData.active),{[O.key]:O.value})})})},setTopPage(I,{payload:O}){return ni(mn({},I),{headerData:ni(mn({},I.headerData),{name:O.name,tabBarContent:{user_name:O.user_name,user_school:O.user_school,user_type:O.user_type}}),cardListData:ni(mn({},I.cardListData),{appraiseData:ni(mn({},I.cardListData.appraiseData),{norm:ni(mn({},I.cardListData.appraiseData.norm),{result:O.graduaiton_result,listData:I.cardListData.appraiseData.norm.listData.map(L=>ni(mn({},L),{value:O[L.key]||0}))}),course:ni(mn({},I.cardListData.appraiseData.course),{result:O.course_result,listData:I.cardListData.appraiseData.course.listData.map(L=>ni(mn({},L),{value:O[L.key]||0}))})}),teamData:{teach:ni(mn({},I.cardListData.teamData.teach),{tabBarContent:`${O.course_teachers?O.course_teachers.length:0}\u4EBA`,listData:O.course_teachers||[]}),work:ni(mn({},I.cardListData.teamData.work),{tabBarContent:`${O.work_teachers?O.work_teachers.length:0}\u4EBA`,listData:O.work_teachers||[]})}}),totalListData:I.totalListData.map(L=>ni(mn({},L),{value:O[L.key]||0}))})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Ha=Object.defineProperty,Ta=Object.defineProperties,fs=Object.getOwnPropertyDescriptors,Es=Object.getOwnPropertySymbols,Wa=Object.prototype.hasOwnProperty,pi=Object.prototype.propertyIsEnumerable,ra=(I,O,L)=>O in I?Ha(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,os=(I,O)=>{for(var L in O||(O={}))Wa.call(O,L)&&ra(I,L,O[L]);if(Es)for(var L of Es(O))pi.call(O,L)&&ra(I,L,O[L]);return I},Ga=(I,O)=>Ta(I,fs(O)),Vi={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:os({},I)}})},*getGraduationResultDetail({payload:I},{call:O,put:L}){const me=yield O(qn.gq,I);yield L({type:"save",payload:{dataSource:me}})}},reducers:{save(I,O){return os(os({},I),O.payload)},setDataSource(I,{payload:O}){let L=O;return Ga(os({},I),{dataSource:L})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ms=e(8591),bo=Object.defineProperty,Fi=Object.defineProperties,vs=Object.getOwnPropertyDescriptors,Na=Object.getOwnPropertySymbols,Ys=Object.prototype.hasOwnProperty,In=Object.prototype.propertyIsEnumerable,$a=(I,O,L)=>O in I?bo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,cs=(I,O)=>{for(var L in O||(O={}))Ys.call(O,L)&&$a(I,L,O[L]);if(Na)for(var L of Na(O))In.call(O,L)&&$a(I,L,O[L]);return I},ja=(I,O)=>Fi(I,vs(O)),Ui=(I,O)=>{var L={};for(var me in I)Ys.call(I,me)&&O.indexOf(me)<0&&(L[me]=I[me]);if(I!=null&&Na)for(var me of Na(I))O.indexOf(me)<0&&In.call(I,me)&&(L[me]=I[me]);return L},Da={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[Sn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Sn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[Sn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Sn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:cs({},I)}})},*getMajorList({},{call:I,put:O,select:L}){const{userInfo:me}=yield L(Oe=>Oe.user);if(me!=null&&me.school_id){const Oe=yield I(qn.BA,me.school_id);if(Oe&&Oe.data){const qr=Cr.U.getItem(me==null?void 0:me.login);yield O({type:"setMajorOrYearDataSource",payload:{key:Sn.k[0],value:Oe.data.map(Bn=>({label:Bn.name,value:Bn.ec_major_school_id})),active:Oe.data.length>0?qr[0]||Oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:I},{call:O,put:L,select:me}){const Oe=yield O(qn.Nx,I.id),{userInfo:qr}=yield me(Bn=>Bn.user);if(Oe&&Oe.data){const Bn=Cr.U.getItem(qr==null?void 0:qr.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Sn.k[1],value:Oe.data.map(dn=>({label:dn.year,value:dn.ec_year_id})),active:Oe.data.length>0?I.firstEnter?Bn[1]:Oe.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:I,put:O,select:L}){const{headerData:me}=yield L(Ya=>Ya.engineeringNormList),{userInfo:Oe}=yield L(Ya=>Ya.user);let qr=[],Bn=[],dn="";const Pi=me.active[Sn.k[1]];if(Pi){const Ya=[me.active[Sn.k[0]],me.active[Sn.k[1]]];Cr.U.setItem(Oe==null?void 0:Oe.login,Ya);const Oa=yield I(qn.eM,Pi);Oa&&Oa.graduation_requirements&&(dn=Oa.all_goal_value||"",qr=Oa.graduation_requirements.map(Do=>{var Ma=Do,{subitems:co}=Ma,bs=Ui(Ma,["subitems"]);return Bn.push(bs.id),ja(cs({},bs),{children:co})}))}yield O({type:"save",payload:{tabListData:qr,all_goal_value:dn,expandedRowKeys:Bn}})},*exportGraduation({},{call:I,select:O}){const{headerData:L}=yield O(me=>me.engineeringNormList);L.active[Sn.k[1]]&&(yield I(qn.OE,L.active[Sn.k[1]]))},*compute({payload:I},{call:O,put:L}){const me=I,{all:Oe}=me,qr=Ui(me,["all"]),Bn=yield O(Oe?qn.Qx:qn.Xl,qr);Bn&&Bn.status===0?(ms.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):ms.ZP.error(Bn.message)},*getFormulas({callback:I},{call:O,select:L}){const{headerData:me}=yield L(Oe=>Oe.engineeringNormList);if(me.active[Sn.k[1]]){const Oe=yield O(qn.mK,me.active[Sn.k[1]]);I(Oe)}},*setFormulas({payload:I,callback:O},{call:L}){const me=yield L(qn.y9,I);O(me)},*putGoalValue({payload:I},{call:O,put:L}){const me=yield O(qn.No,I);if(me&&me.status===0)ms.ZP.success("\u4FDD\u5B58\u6210\u529F"),yield L({type:"save",payload:{actionTabs:{key:"",params:{}}}}),yield L({type:"getGraduationResults"});else{let Oe="\u4FDD\u5B58\u5931\u8D25";me&&me.message&&(Oe=me.message),ms.ZP.error(Oe)}}},reducers:{save(I,O){return cs(cs({},I),O.payload)},setMajorOrYearDataSource(I,{payload:O}){let L=I.headerData.active;return O.active&&(L=ja(cs({},L),{[O.key]:O.active})),ja(cs({},I),{headerData:ja(cs({},I.headerData),{dataSource:ja(cs({},I.headerData.dataSource),{[O.key]:ja(cs({},I.headerData.dataSource[O.key]),{dataList:O.value})}),active:L})})},setMajorOrYearActive(I,{payload:O}){return ja(cs({},I),{headerData:ja(cs({},I.headerData),{active:ja(cs({},I.headerData.active),{[O.key]:O.value})})})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ws=e(94670),Xs=Object.defineProperty,xo=Object.getOwnPropertySymbols,ho=Object.prototype.hasOwnProperty,wa=Object.prototype.propertyIsEnumerable,gs=(I,O,L)=>O in I?Xs(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Zs=(I,O)=>{for(var L in O||(O={}))ho.call(O,L)&&gs(I,L,O[L]);if(xo)for(var L of xo(O))wa.call(O,L)&&gs(I,L,O[L]);return I},Eo={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:I},{call:O,put:L}){const me=yield O(ws.Si,I);return yield L({type:"save",payload:{forumsDetailData:Zs({},me)}}),me},*setForumsDetailData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{forumsDetailData:Zs({},I)}})}},reducers:{save(I,O){return Zs(Zs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},wo=Object.defineProperty,po=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,si=Object.prototype.propertyIsEnumerable,Ua=(I,O,L)=>O in I?wo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Qa=(I,O)=>{for(var L in O||(O={}))ci.call(O,L)&&Ua(I,L,O[L]);if(po)for(var L of po(O))si.call(O,L)&&Ua(I,L,O[L]);return I},Qs={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:I},{call:O,put:L}){const me=yield O(I.memoType==="shixun_discuss"?ws.kd:ws.bc,I);return delete I.memoType,yield L({type:"save",payload:{listParams:I,forumsData:Qa({},me)}}),me}},reducers:{save(I,O){return Qa(Qa({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},qs=e(22072),Qo=e(346),ds=e(28209),Oo=e.n(ds),ko=Object.defineProperty,Ho=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable,_o=(I,O,L)=>O in I?ko(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Js=(I,O)=>{for(var L in O||(O={}))Su.call(O,L)&&_o(I,L,O[L]);if(Ho)for(var L of Ho(O))So.call(O,L)&&_o(I,L,O[L]);return I},Ro={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:I},{call:O,put:L}){var me,Oe;const qr=yield O(qs.D2,I);Qo.Z.ONLYOFFICE=(me=qr==null?void 0:qr.setting)==null?void 0:me.office_server_url,Lo(qr);try{const Pi="5183666c72eec9e4",Ya="5183666c72eec9e4";var Bn=Oo().enc.Utf8.parse(Pi);let Oa=Oo().enc.Utf8.parse(Ya);var dn=Oo().AES.decrypt(((Oe=qr==null?void 0:qr.setting)==null?void 0:Oe.user_default_password)||"",Bn,{iv:Oa,mode:Oo().mode.CBC});qr.setting.user_default_password=dn.toString(Oo().enc.Utf8)}catch(Pi){}yield L({type:"save",payload:Js({},qr)})},*getSystemUpdate({payload:I},{call:O,put:L}){const me=yield O(qs.n0,I);yield L({type:"save",payload:{updateData:Js({},me)}})},*setTheme({payload:I},{call:O,put:L}){const me=yield O(qs.n0,I);yield L({type:"save",payload:{theme:I||"default"}})},*setShareData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{shareData:I}})},*setGlobalLoading({payload:I},{call:O,put:L}){yield L({type:"save",payload:{globalLoading:Js({},I)}})},*delayTipToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showTip:I}})},*headerToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeader:I}})},*footerToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showFooter:I}})},*headerFooterToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFooter:I}})},*delayTipToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showTip:I}})},*headerFixedToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showHeaderFixed:I}})},*onlyShowBackTopToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTop:I}})},*onlyShowBackTopIconToggle({payload:I},{call:O,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:I}})},*setOperateModel({payload:I},{call:O,put:L}){yield L({type:"save",payload:{operateModel:I}})},*setOperateModelPath({payload:I},{call:O,put:L}){yield L({type:"save",payload:{operateModelPath:I}})},*setShowQuestionBackTop({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showQuestionBackTop:I}})},*setInfoData({payload:I},{call:O,put:L}){yield L({type:"save",payload:{infoData:Js({},I)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Js({},I)}})}},reducers:{save(I,O){return Js(Js({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{})}}};const Lo=(I={})=>{var O,L,me,Oe,qr;if(window.self!==window.top||!((O=I.setting)!=null&&O.tab_logo_url))return;const Bn=document.createElement("link"),dn=document.getElementById("dynamic-favicon");Bn.id="dynamic-favicon",Bn.rel="shortcut icon",Bn.href=(L=I.setting)!=null&&L.tab_logo_url?`${Qo.Z.IMG_SERVER}/${(me=I.setting)==null?void 0:me.tab_logo_url}`:"",dn&&document.head.removeChild(dn),document.head.appendChild(Bn);try{(Oe=I.setting)!=null&&Oe.main_site||(document.querySelector('meta[name="keywords"]').content=(qr=I.setting)==null?void 0:qr.name,document.querySelector('meta[name="description"]').remove())}catch(Pi){}};var Hs=e(12309),du=Object.defineProperty,jo=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,Bs=Object.prototype.propertyIsEnumerable,Rs=(I,O,L)=>O in I?du(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,hu=(I,O)=>{for(var L in O||(O={}))Ao.call(O,L)&&Rs(I,L,O[L]);if(jo)for(var L of jo(O))Bs.call(O,L)&&Rs(I,L,O[L]);return I},tr={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:I},{call:O,put:L}){return yield O(Hs.Xh,I)},*getGraduationsFinalScore({payload:I},{call:O,put:L}){return yield O(Hs.H3,I)},*getDelGraduationsTasks({payload:I},{call:O,put:L}){return yield O(Hs.km,I)},*getGraduationsTasks({payload:I},{call:O,put:L}){const me=yield O(Hs.Xw,I);yield L({type:"save",payload:{Tasks:me}})},*getGraduationsTeachers({payload:I},{call:O,put:L}){var me;const Oe=yield O(Hs.AA,I);return(me=Oe==null?void 0:Oe.data)==null||me.map(qr=>(qr.key=qr.id,qr)),yield L({type:"save",payload:{teachers:Oe}}),Oe},*getGraduationsStudents({payload:I},{call:O,put:L}){var me;const Oe=yield O(Hs.eh,I);(me=Oe==null?void 0:Oe.data)==null||me.map(qr=>(qr.key=qr.id,qr)),yield L({type:"save",payload:{students:Oe}})},*getGraduationsNotices({payload:I},{call:O,put:L}){const me=yield O(Hs.Rk,I);yield L({type:"save",payload:{Notices:me}})},*getGraduationsInfo({payload:I},{call:O,put:L}){const me=yield O(Hs.F7,I);yield L({type:"save",payload:{graduation:me.graduation}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:hu({},I)}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:I},{call:O,put:L}){const me=yield O(Hs.Ou,I);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(I,O){return hu(hu({},I),O.payload)}}},hr=e(82220),ur=Object.defineProperty,vr=Object.defineProperties,wr=Object.getOwnPropertyDescriptors,vn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,Rn=(I,O,L)=>O in I?ur(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Kn=(I,O)=>{for(var L in O||(O={}))xn.call(O,L)&&Rn(I,L,O[L]);if(vn)for(var L of vn(O))Nn.call(O,L)&&Rn(I,L,O[L]);return I},lr=(I,O)=>vr(I,wr(O)),xr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:I},{call:O,put:L}){const me=yield O(hr.Tt,{payload:I});yield L({type:"save",payload:lr(Kn({},me),{isloading:!0})})},*query({payload:I},{call:O,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:I,callback:O},{call:L,put:me}){return yield L(hr.LA,I)},*UploadNotice({payload:I,callback:O},{call:L,put:me}){return yield L(hr.S_,I)}},reducers:{save(I,O){return Kn(Kn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},hn=Object.defineProperty,Wn=Object.defineProperties,lt=Object.getOwnPropertyDescriptors,Cn=Object.getOwnPropertySymbols,Yn=Object.prototype.hasOwnProperty,ii=Object.prototype.propertyIsEnumerable,Ki=(I,O,L)=>O in I?hn(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Nr=(I,O)=>{for(var L in O||(O={}))Yn.call(O,L)&&Ki(I,L,O[L]);if(Cn)for(var L of Cn(O))ii.call(O,L)&&Ki(I,L,O[L]);return I},Wr=(I,O)=>Wn(I,lt(O)),Ci={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(I,O){return Nr(Nr({},I),O.payload)},openModal(I,O){return Wr(Nr({},I),{visibleModalName:O.payload})},closeModal(I){return Wr(Nr({},I),{visibleModalName:""})},openSimpleModal(I,O){return Wr(Nr({},I),{simpleModalProps:Nr({visible:!0},O.payload)})},closeSimpleModal(I){return Wr(Nr({},I),{simpleModalProps:{visible:!1}})}}},na=e(38986),Ds=Object.defineProperty,ai=Object.getOwnPropertySymbols,Ws=Object.prototype.hasOwnProperty,Uo=Object.prototype.propertyIsEnumerable,Ls=(I,O,L)=>O in I?Ds(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,va=(I,O)=>{for(var L in O||(O={}))Ws.call(O,L)&&Ls(I,L,O[L]);if(ai)for(var L of ai(O))Uo.call(O,L)&&Ls(I,L,O[L]);return I},Va=(I,O,L)=>new Promise((me,Oe)=>{var qr=Pi=>{try{dn(L.next(Pi))}catch(Ya){Oe(Ya)}},Bn=Pi=>{try{dn(L.throw(Pi))}catch(Ya){Oe(Ya)}},dn=Pi=>Pi.done?me(Pi.value):Promise.resolve(Pi.value).then(qr,Bn);dn((L=L.apply(I,O)).next())});const ys=I=>Va(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/banner.json",{method:"get",params:va({},I)})}),Mn=I=>Va(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:va({},I)})}),Ns=I=>Va(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:va({},I)})}),$s=I=>Va(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:va({},I)})}),Ke=I=>Va(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects.json",{method:"post",body:va({},I)})}),Xe=I=>Va(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:va({},I)})}),Bt=I=>Va(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:va({},I)})}),Yt=I=>Va(void 0,null,function*(){return(0,na.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:va({},I)})});var pr=Object.defineProperty,Lr=Object.getOwnPropertySymbols,zr=Object.prototype.hasOwnProperty,_n=Object.prototype.propertyIsEnumerable,tn=(I,O,L)=>O in I?pr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,gn=(I,O)=>{for(var L in O||(O={}))zr.call(O,L)&&tn(I,L,O[L]);if(Lr)for(var L of Lr(O))_n.call(O,L)&&tn(I,L,O[L]);return I},ei={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:I},{call:O,put:L}){const{data:{adv:me,top_banner:Oe}}=yield O(ys,I);yield L({type:"save",payload:{BannerList:Oe,Adv:me}})},*getTopCategoryList({payload:I},{call:O,put:L}){const{data:{top_category_list:me}}=yield O(Mn,I);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},...me]}})},*getHotList({payload:I},{call:O,put:L}){const{data:{hot_list:me}}=yield O(Ns,I);yield L({type:"save",payload:{HotList:me}})},*getDiscountList({payload:I},{call:O,put:L}){const{data:{discount_list:me}}=yield O($s,I);yield L({type:"save",payload:{DiscountList:me}})},*getPaidSubjects({payload:I},{call:O,put:L}){const{data:me}=yield O(Ke,I);yield L({type:"save",payload:{SubjectList:me}})},*getTags({payload:I},{call:O,put:L}){const{data:{list:me}}=yield O(Xe,I);yield L({type:"save",payload:{Tags:me}})},*getUserComments({payload:I},{call:O,put:L}){const{data:{list:me}}=yield O(Bt,I);yield L({type:"save",payload:{UserComments:me}})},*getInfoShow({payload:I},{call:O,put:L}){const{data:me}=yield O(Yt,I);yield L({type:"save",payload:{InfoShow:me}})}},reducers:{save(I,O){return gn(gn({},I),O.payload)}}},wi={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},zi=e(50958),Bi=Object.defineProperty,xi=Object.getOwnPropertySymbols,ga=Object.prototype.hasOwnProperty,Ti=Object.prototype.propertyIsEnumerable,fi=(I,O,L)=>O in I?Bi(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,oa=(I,O)=>{for(var L in O||(O={}))ga.call(O,L)&&fi(I,L,O[L]);if(xi)for(var L of xi(O))Ti.call(O,L)&&fi(I,L,O[L]);return I},Ss={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:I},{call:O,put:L}){const me=yield O(zi.Ub,I);return yield L({type:"save",payload:{privateMessageDetails:me||[]}}),me},*getTidings({payload:I},{call:O,put:L}){const me=yield O(zi.AD,I);yield L({type:"save",payload:{tidingsList:me||[]}})},*getPrivateMessages({payload:I},{call:O,put:L}){const me=yield O(zi.V8,I);return yield L({type:"save",payload:{privateMessage:me||[]}}),me},*getUsersForPrivateMessages({payload:I},{call:O,put:L}){const me=yield O(zi.QJ,I);return yield L({type:"save",payload:{userPrivateMessage:me||[]}}),me},*unreadMessageInfo({payload:I},{call:O,put:L}){const me=yield O(zi.Ig,I);yield L({type:"save",payload:{unreadInfo:me||[]}})},*getRecentContacts({payload:I},{call:O,put:L}){const me=yield O(zi.Ko,I);return yield L({type:"save",payload:{recentContacts:me||[]}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:oa({},I)}})}},reducers:{save(I,O){return oa(oa({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},Yi=e(93629),La=e(51257),ea=e(32162),ki=Object.defineProperty,ba=Object.defineProperties,Ka=Object.getOwnPropertyDescriptors,Fa=Object.getOwnPropertySymbols,io=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,ao=(I,O,L)=>O in I?ki(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,es=(I,O)=>{for(var L in O||(O={}))io.call(O,L)&&ao(I,L,O[L]);if(Fa)for(var L of Fa(O))Ja.call(O,L)&&ao(I,L,O[L]);return I},js=(I,O)=>ba(I,Ka(O));const ts=(I,O)=>{var L,me,Oe,qr,Bn,dn,Pi,Ya,Oa;if(!I)return;const{exam:Do,single_questions:Ma,multiple_questions:co,judgement_questions:bs,program_questions:Oc,completion_questions:tc,subjective_questions:rc,practical_questions:vc,combination_questions:Mu,bprogram_questions:Ii}=I||{},nc=[es({type:"SINGLE",question_type:0,name:((L=O==null?void 0:O.find(ns=>ns.value==ea.fw[0].nameType))==null?void 0:L.name)||ea.fw[0].name},Ma),es({type:"MULTIPLE",question_type:1,name:((me=O==null?void 0:O.find(ns=>ns.value==ea.fw[1].nameType))==null?void 0:me.name)||ea.fw[1].name},co),es({type:"JUDGMENT",question_type:2,name:((Oe=O==null?void 0:O.find(ns=>ns.value==ea.fw[2].nameType))==null?void 0:Oe.name)||ea.fw[2].name},bs),es({type:"PROGRAM",question_type:6,name:((qr=O==null?void 0:O.find(ns=>ns.value==ea.fw[6].nameType))==null?void 0:qr.name)||ea.fw[6].name},Oc),es({type:"COMPLETION",question_type:3,name:((Bn=O==null?void 0:O.find(ns=>ns.value==ea.fw[3].nameType))==null?void 0:Bn.name)||ea.fw[3].name},tc),es({type:"SUBJECTIVE",question_type:4,name:((dn=O==null?void 0:O.find(ns=>ns.value==ea.fw[4].nameType))==null?void 0:dn.name)||ea.fw[4].name},rc),es({type:"PRACTICAL",question_type:5,name:((Pi=O==null?void 0:O.find(ns=>ns.value==ea.fw[5].nameType))==null?void 0:Pi.name)||ea.fw[5].name},vc),es({type:"COMBINATION",question_type:7,name:((Ya=O==null?void 0:O.find(ns=>ns.value==ea.fw[7].nameType))==null?void 0:Ya.name)||ea.fw[7].name},Mu),es({type:"BPROGRAM",question_type:8,name:((Oa=O==null?void 0:O.find(ns=>ns.value==ea.fw[8].nameType))==null?void 0:Oa.name)||ea.fw[8].name},Ii)],Fl=[];if(I.sort_by_qustion_type)for(const ns of I.qustion_type_order_name_en)Fl.push(nc.find(al=>al.type===ns));const Ks=(I.sort_by_qustion_type?Fl:nc).filter(ns=>(ns==null?void 0:ns.questions_count)>0).map((ns,al)=>{var sl;return es(es({},ns),{number:(0,La.EM)(al+1),questions:(sl=ns==null?void 0:ns.questions)==null?void 0:sl.map(El=>js(es({},El),{shixun:El.examination_bank_shixun_challenges,question_type:ns.question_type}))})});return{exam:Do,questionList:Ks}};var Zi=e(55305),Ba=Object.defineProperty,Os=Object.getOwnPropertySymbols,fa=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,we=(I,O,L)=>O in I?Ba(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Sr=(I,O)=>{for(var L in O||(O={}))fa.call(O,L)&&we(I,L,O[L]);if(Os)for(var L of Os(O))ge.call(O,L)&&we(I,L,O[L]);return I},br={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:I},{call:O,put:L}){return yield O(Yi.a2,I)},*postCheckExaminationBanks({payload:I},{call:O,put:L}){return yield O(Yi.q$,I)},*postPaperlibraryCopy({payload:I},{call:O,put:L}){return yield O(Yi.ID,I)},*getDisciplines({payload:I},{call:O,put:L}){const me=yield O(Yi.d1,I);return yield L({type:"save",payload:{disciplinesData:Sr({},me)}}),me},*getCustomDisciplines({payload:I},{call:O,put:L}){const me=yield O(Yi.ar,I);return yield L({type:"save",payload:{disciplinesData:Sr({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:L}){const me=yield O(Yi.d1,I),Oe=me==null?void 0:me.disciplines,qr=(0,Zi.L)(Oe);return yield L({type:"save",payload:{courseOptions:qr,disciplinesData:Sr({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:L}){const me=yield O(Yi.Dm,I);return yield L({type:"save",payload:{teachGroupData:Sr({},me)}}),me},*getPaperData({payload:I},{call:O,put:L}){const me=yield O(Yi.iT,I),Oe=yield O(Yi.cV,I),qr=ts(me,Oe.data);return yield L({type:"save",payload:{paperData:qr}}),me},*getPaperlibraryList({payload:I},{call:O,put:L}){return yield O(Yi.Gd,I)},*setPublic({payload:I},{call:O,put:L}){return yield O(Yi.DF,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(Yi.fn,I)},*getCourseList({payload:I},{call:O,put:L}){return yield O(Yi.tS,I)},*postBatchSendToCourse({payload:I},{call:O,put:L}){return yield O(Yi.lc,I)},*sendToClass({payload:I},{call:O,put:L}){return yield O(Yi.kp,I)},*adjustPosition({payload:I},{call:O,put:L}){return yield O(Yi.qN,I)},*setScore({payload:I},{call:O,put:L}){return yield O(Yi.ts,I)},*handleDeleteEditQuestion({payload:I},{call:O,put:L}){return yield O(Yi.NC,I)},*batchSetScore({payload:I},{call:O,put:L}){return yield O(Yi.YP,I)},*batchDelete({payload:I},{call:O,put:L}){return yield O(Yi.Hm,I)},*updatePaper({payload:I},{call:O,put:L}){return yield O(Yi.jK,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Sr({},I)}})}},reducers:{save(I,O){return Sr(Sr({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Xr=Object.defineProperty,En=Object.getOwnPropertySymbols,Jn=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Dn=(I,O,L)=>O in I?Xr(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,On=(I,O)=>{for(var L in O||(O={}))Jn.call(O,L)&&Dn(I,L,O[L]);if(En)for(var L of En(O))Ri.call(O,L)&&Dn(I,L,O[L]);return I},ua={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Yi.Dq,I);return yield me({type:"save",payload:{exerciseExportHeadData:On({},Oe)}}),Oe},*editExercise({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Yi.Di,I);return yield me({type:"save",payload:{editData:On({},Oe)}}),Oe},*getTagDiscipline({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Ze.YY,I);return yield me({type:"save",payload:{tagDisciplineData:On({},Oe)}}),Oe},*editExerciseQuestion({payload:I,callback:O},{call:L,put:me}){return yield L(Yi.oF,I)},*addExerciseQuestion({payload:I,callback:O},{call:L,put:me}){return yield L(Yi.oF,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:On({},I)}})}},reducers:{save(I,O){return On(On({},I),O.payload)},modifyTitle(I,O){const L=(0,He.cloneDeep)(I);return L.editData.exercise.exercise_name=O.payload,L}},subscriptions:{setup({dispatch:I,history:O}){}}},Hi=e(36714),vo=Object.defineProperty,so=Object.getOwnPropertySymbols,ru=Object.prototype.hasOwnProperty,hl=Object.prototype.propertyIsEnumerable,Yu=(I,O,L)=>O in I?vo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,pu=(I,O)=>{for(var L in O||(O={}))ru.call(O,L)&&Yu(I,L,O[L]);if(so)for(var L of so(O))hl.call(O,L)&&Yu(I,L,O[L]);return I},_u={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"All",editKey:-1},effects:{*getDiscusses({payload:I},{call:O,put:L}){const me=yield O(Hi.Ax,I);yield L({type:"save",payload:{discusses:pu({},me)}})},*getPathsDetail({payload:I},{call:O,put:L}){const me=yield O(Hi.lk,I);return yield L({type:"save",payload:{detail:pu({},me)}}),me},*getCourseDetail({payload:I},{call:O,put:L}){const me=yield O(Hi.Sp,I);return yield L({type:"save",payload:{detail:pu({},me)}}),me},*getRightData({payload:I},{call:O,put:L}){const me=yield O(Hi.AQ,I);yield L({type:"save",payload:{rightData:pu({},me)}})},*getCoureses({payload:I},{call:O,put:L}){const me=yield O(Hi.ue,I);yield L({type:"save",payload:{Courses:pu({},me)}})},*getStageChildrenData({payload:I},{call:O,put:L}){const me=yield O(Hi.w4,I);return yield L({type:"save",payload:{StageChildrenData:me}}),me},*getStageData({payload:I},{call:O,put:L}){var me,Oe;let qr=null;I!=null&&I.show_course_section?qr=yield O(Hi.yN,I):qr=yield O(Hi.p,I),yield L({type:"save",payload:{stageData:((me=qr==null?void 0:qr.data)==null?void 0:me.stages)||(qr==null?void 0:qr.stages)||[],isShowSchedule:((Oe=qr==null?void 0:qr.data)==null?void 0:Oe.is_show_schedule)||(qr==null?void 0:qr.is_show_schedule)||!1}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:pu({},I)}})}},reducers:{save(I,O){return pu(pu({},I),O.payload)}}},Ve=Object.defineProperty,H=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,he=(I,O,L)=>O in I?Ve(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Ae=(I,O)=>{for(var L in O||(O={}))X.call(O,L)&&he(I,L,O[L]);if(H)for(var L of H(O))ne.call(O,L)&&he(I,L,O[L]);return I},Pt={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:I},{call:O,put:L}){const me=I,Oe=yield O(Hi.tS,I);return yield L({type:"save",payload:Ae({listParams:me},Oe)}),Oe},*getMenus({payload:I},{call:O,put:L}){const me=yield O(Hi.fh,I);yield L({type:"save",payload:{menus:me}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Ae({},I)}})},*clearListParams({payload:I},{call:O,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(I,O){return Ae(Ae({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Ut=Object.defineProperty,sr=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,an=(I,O,L)=>O in I?Ut(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,bn=(I,O)=>{for(var L in O||(O={}))Er.call(O,L)&&an(I,L,O[L]);if(sr)for(var L of sr(O))Ht.call(O,L)&&an(I,L,O[L]);return I},Un={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:I},{call:O,put:L}){return yield O(Hi.tu,I)},*submitCourse({payload:I},{call:O,put:L}){return yield O(Hi.pU,I)},*getEditCourseData({payload:I},{call:O,put:L}){return yield O(Hi.mQ,I)},*getSchoolOption({payload:I},{call:O,put:L}){return yield O(Hi.GY,I)},*appplySchool({payload:I},{call:O,put:L}){return yield O(Hi.bz,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:bn({},I)}})}},reducers:{save(I,O){return bn(bn({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Si=Object.defineProperty,da=Object.defineProperties,ia=Object.getOwnPropertyDescriptors,la=Object.getOwnPropertySymbols,us=Object.prototype.hasOwnProperty,za=Object.prototype.propertyIsEnumerable,hs=(I,O,L)=>O in I?Si(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,rs=(I,O)=>{for(var L in O||(O={}))us.call(O,L)&&hs(I,L,O[L]);if(la)for(var L of la(O))za.call(O,L)&&hs(I,L,O[L]);return I},xa=(I,O)=>da(I,ia(O)),ks={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:I},{call:O,put:L}){const me=yield O(Hi.nq,I);yield L({type:"save",payload:{SubjectUseInfos:me}})},*getRankList({payload:I},{call:O,put:L}){const me=yield O(Hi.Fg,I);yield L({type:"save",payload:{RankList:xa(rs({},me),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(me==null?void 0:me.learn_list)||[]]})}})},*getStatisticsBody({payload:I},{call:O,put:L}){const me=yield O(Hi.Gz,I);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:L}){const me=yield O(Hi.hS,I);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const me=yield O(Hi.Hl,I);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return rs(rs({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},_i=e(46722),oo=Object.defineProperty,Co=Object.getOwnPropertySymbols,Mo=Object.prototype.hasOwnProperty,Ms=Object.prototype.propertyIsEnumerable,go=(I,O,L)=>O in I?oo(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ps=(I,O)=>{for(var L in O||(O={}))Mo.call(O,L)&&go(I,L,O[L]);if(Co)for(var L of Co(O))Ms.call(O,L)&&go(I,L,O[L]);return I},ju={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:I},{call:O,put:L}){const me=yield O(_i.ex,I);return yield L({type:"save",payload:{groupfolderList:me}}),me},*getDisciplines({payload:I},{call:O,put:L}){const me=yield O(_i.d1,I);return yield L({type:"save",payload:{disciplinesData:ps({},me)}}),me},*getEditDisciplines({payload:I},{call:O,put:L}){const me=yield O(_i.d1,I),Oe=me==null?void 0:me.disciplines,qr=(0,Zi.L)(Oe);return yield L({type:"save",payload:{courseOptions:qr,disciplinesData:ps({},me)}}),me},*getBasketList({payload:I},{call:O,put:L}){const me=yield O(_i.Qj,I);return yield L({type:"save",payload:{basketData:ps({},me)}}),me},*getTeachGroupData({payload:I},{call:O,put:L}){const me=yield O(_i.Dm,I);return yield L({type:"save",payload:{teachGroupData:ps({},me)}}),me},*getEditData({payload:I},{call:O,put:L}){const me=yield O(_i.FG,I);return yield L({type:"save",payload:{editData:ps({},me)}}),me},*getEditDataBprogram({payload:I},{call:O,put:L}){const me=yield O(_i.Bo,I);return yield L({type:"save",payload:{editData:ps({},me)}}),me},*getGroupData({payload:I},{call:O,put:L}){const me=yield O(_i.hI,I);return yield L({type:"save",payload:{groupData:ps({},me)}}),me},*getItemBanks({payload:I},{call:O,put:L}){const me=yield O(_i.Of,I);return yield L({type:"save",payload:{itemBanks:ps({},me)}}),me},*setPrivate({payload:I},{call:O,put:L}){return yield O(_i.Pl,I)},*revokePublish({payload:I},{call:O,put:L}){return yield O(_i.IJ,I)},*setPublic({payload:I},{call:O,put:L}){return yield O(_i.DF,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(_i.fn,I)},*startExperience({payload:I},{call:O,put:L}){return yield O(_i.Bd,I)},*cancel({payload:I},{call:O,put:L}){return yield O(_i.al,I)},*select({payload:I},{call:O,put:L}){return yield O(_i.Ys,I)},*examUnselectAll({payload:I},{call:O,put:L}){return yield O(_i.rV,I)},*basketDelete({payload:I},{call:O,put:L}){return yield O(_i.x5,I)},*unselectAll({payload:I},{call:O,put:L}){return yield O(_i.HF,I)},*addKnowledge({payload:I},{call:O,put:L}){return yield O(_i.U6,I)},*editProblemset({payload:I},{call:O,put:L}){return yield O(_i.Wk,I)},*addProblemset({payload:I},{call:O,put:L}){return yield O(_i.Mr,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:ps({},I)}})}},reducers:{save(I,O){return ps(ps({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Qu=Object.defineProperty,uu=Object.getOwnPropertySymbols,As=Object.prototype.hasOwnProperty,Uu=Object.prototype.propertyIsEnumerable,Cu=(I,O,L)=>O in I?Qu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,yo=(I,O)=>{for(var L in O||(O={}))As.call(O,L)&&Cu(I,L,O[L]);if(uu)for(var L of uu(O))Uu.call(O,L)&&Cu(I,L,O[L]);return I},_l={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:I},{call:O,put:L}){const me=yield O(_i.iT,I),Oe=(0,Zi.r)(me);return yield L({type:"save",payload:{paperData:Oe}}),me},*getEditDisciplines({payload:I},{call:O,put:L}){const me=yield O(_i.d1,I),Oe=me==null?void 0:me.disciplines,qr=(0,Zi.L)(Oe);return yield L({type:"save",payload:{courseOptions:qr,disciplinesData:yo({},me)}}),me},*setScore({payload:I},{call:O,put:L}){return yield O(_i.ts,I)},*handleDelete({payload:I},{call:O,put:L}){return yield O(_i.Cn,I)},*batchSetScore({payload:I},{call:O,put:L}){return yield O(_i.YP,I)},*batchDelete({payload:I},{call:O,put:L}){return yield O(_i.Hm,I)},*adjustPosition({payload:I},{call:O,put:L}){return yield O(_i.qN,I)},*newPreviewProblemset({payload:I},{call:O,put:L}){return yield O(_i.et,I)},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:yo({},I)}})}},reducers:{save(I,O){return yo(yo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},qo=e(506),ml=Object.defineProperty,Gs=Object.getOwnPropertySymbols,To=Object.prototype.hasOwnProperty,mu=Object.prototype.propertyIsEnumerable,Wl=(I,O,L)=>O in I?ml(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Tu=(I,O)=>{for(var L in O||(O={}))To.call(O,L)&&Wl(I,L,O[L]);if(Gs)for(var L of Gs(O))mu.call(O,L)&&Wl(I,L,O[L]);return I},Pl={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:I},{call:O,put:L}){const me=yield O(qo.Go,I);return yield L({type:"save",payload:{restful:Tu({},me)}}),me},*getRestfulDetail({payload:I},{call:O,put:L}){const me=yield O(qo.H5,I);return yield L({type:"save",payload:{restfulDetail:Tu({},(me==null?void 0:me.data)||{})}}),(me==null?void 0:me.data)||{}},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Tu({},I)}})}},reducers:{save(I,O){return Tu(Tu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},ri=e(75736);const xc=(I={})=>{var O,L,me,Oe,qr,Bn;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(O=I==null?void 0:I.content_info)==null?void 0:O.status,username:(L=I==null?void 0:I.content_info)==null?void 0:L.username,time:(me=I==null?void 0:I.content_info)==null?void 0:me.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(Oe=I==null?void 0:I.perference_info)==null?void 0:Oe.status,username:(qr=I==null?void 0:I.perference_info)==null?void 0:qr.username,time:(Bn=I==null?void 0:I.perference_info)==null?void 0:Bn.time}]};var to=Object.defineProperty,Ec=Object.defineProperties,Jo=Object.getOwnPropertyDescriptors,Pu=Object.getOwnPropertySymbols,qu=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable,jc=(I,O,L)=>O in I?to(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,mo=(I,O)=>{for(var L in O||(O={}))qu.call(O,L)&&jc(I,L,O[L]);if(Pu)for(var L of Pu(O))zo.call(O,L)&&jc(I,L,O[L]);return I},lf=(I,O)=>Ec(I,Jo(O)),Uc={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:I},{call:O,put:L}){const me=yield O(ri.Po,I);return yield L({type:"save",payload:{detail:mo({},me)}}),me},*getMirrorApplies({payload:I},{call:O,put:L}){const me=yield O(ri.tX,I);return yield L({type:"save",payload:{mirrorApplies:mo({},(me==null?void 0:me.data)||{})}}),me},*getRightData({payload:I},{call:O,put:L}){const me=yield O(ri.AQ,I);yield L({type:"save",payload:{rightData:mo({},me)}})},*getChallengesData({payload:I},{call:O,put:L}){const me=yield O(ri.n5,I);yield L({type:"save",payload:{challenges:mo({},me)}})},*saveCopyForExercise({payload:I},{call:O,put:L}){return yield O(ri.FB,I)},*execJupyter({payload:I},{call:O,put:L}){return yield O(ri.BK,I)},*execShixun({payload:I},{call:O,put:L}){const me=yield O(ri.Ir,I);return(me==null?void 0:me.status)===-3&&(0,La.eF)(),me},*openChallenge({payload:I},{call:O,put:L}){return yield O(ri.dK,I)},*challengeMoveUp({payload:I},{call:O,put:L}){return yield O(ri.zD,I)},*challengeMoveDown({payload:I},{call:O,put:L}){return yield O(ri.hn,I)},*cancelCollect({payload:I},{call:O,put:L}){return yield O(ri.rs,I)},*collect({payload:I},{call:O,put:L}){return yield O(ri.KM,I)},*searchUserCourses({payload:I},{call:O,put:L}){return yield O(ri._7,I)},*sendToCourse({payload:I},{call:O,put:L}){return yield O(ri.Q,I)},*cancelRelease({payload:I},{call:O,put:L}){return yield O(ri.Ne,I)},*cancelPublic({payload:I},{call:O,put:L}){return yield O(ri.Er,I)},*applyPublic({payload:I},{call:O,put:L}){return yield O(ri.WO,I)},*release({payload:I},{call:O,put:L}){return yield O(ri.Ar,I)},*updateAuditSituation({payload:I},{call:O,put:L}){return yield O(ri.LP,I)},*getCollaboratorsData({payload:I},{call:O,put:L}){return yield O(ri.j8,I)},*addCollaborator({payload:I},{call:O,put:L}){return yield O(ri.OV,I)},*addTeachGroupMember({payload:I},{call:O,put:L}){return yield O(ri.l3,I)},*getChangeManager({payload:I},{call:O,put:L}){return yield O(ri.P2,I)},*changeManager({payload:I},{call:O,put:L}){return yield O(ri.X$,I)},*deleteCollaborators({payload:I},{call:O,put:L}){return yield O(ri.xk,I)},*getRankingList({payload:I},{call:O,put:L}){return yield O(ri.E4,I)},*getMirrorScript({payload:I},{call:O,put:L}){return yield O(ri.Z2,I)},*getScriptContent({payload:I},{call:O,put:L}){return yield O(ri.Bj,I)},*getCustomScript({payload:I},{call:O,put:L}){return yield O(ri.Wi,I)},*updateSettingBasicInfo({payload:I},{call:O,put:L}){return yield O(ri.ZO,I)},*getShixunQuote({payload:I},{call:O,put:L}){return yield O(ri.Gr,I)},*deleteShixun({payload:I},{call:O,put:L}){return yield O(ri.Ps,I)},*permanentClose({payload:I},{call:O,put:L}){return yield O(ri.U9,I)},*getDepartments({payload:I},{call:O,put:L}){return yield O(ri.Ql,I)},*updatePermissionSetting({payload:I},{call:O,put:L}){return yield O(ri.aH,I)},*updateLearnSetting({payload:I},{call:O,put:L}){return yield O(ri.yE,I)},*updateSetting({payload:I},{call:O,put:L}){return yield O(ri.m7,I)},*getSetData({payload:I},{call:O,put:L}){return yield O(ri.U0,I)},*deleteDataSet({payload:I},{call:O,put:L}){return yield O(ri.uo,I)},*deleteGitFile({payload:I},{call:O,put:L}){return yield O(ri.sr,I)},*deleteGitFiles({payload:I},{call:O,put:L}){return yield O(ri.p0,I)},*moveGitFile({payload:I},{call:O,put:L}){return yield O(ri.IT,I)},*moveGitFiles({payload:I},{call:O,put:L}){return yield O(ri.t2,I)},*getRepository({payload:I},{call:O,put:L}){const me=yield O(ri.Ag,I);return yield L({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getRepositorys({payload:I},{call:O,put:L}){const me=yield O(ri.Wl,I);return yield L({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getRepositorys({payload:I},{call:O,put:L}){const me=yield O(ri.Wl,I);return yield L({type:"save",payload:{repository:mo({},me)}}),mo({},me)},*getSecretRepository({payload:I},{call:O,put:L}){const me=yield O(ri.w,I);return yield L({type:"save",payload:{secretRepository:mo({},me)}}),me},*addRepositoryFile({payload:I},{call:O,put:L}){return yield O(ri.v3,I)},*addRepositoryFiles({payload:I},{call:O,put:L}){return yield O(ri.fL,I)},*getRepositoryCommit({payload:I},{call:O,put:L}){return yield O(ri.Je,I)},*getFileContent({payload:I},{call:O,put:L}){const me=yield O(ri.LK,I);return yield L({type:"save",payload:{fileContent:lf(mo({},me),{params:I})}}),me},*getFileContents({payload:I},{call:O,put:L}){const me=yield O(ri.nu,I);return yield L({type:"save",payload:{fileContent:lf(mo({},me),{params:I})}}),me},*updateRepositoryFile({payload:I},{call:O,put:L}){return yield O(ri.kF,I)},*updateRepositoryFiles({payload:I},{call:O,put:L}){return yield O(ri.jq,I)},*uploadGitFolder({payload:I},{call:O,put:L}){return yield O(ri.Op,I)},*updateCollaboratorEditable({payload:I},{call:O,put:L}){return yield O(ri.Dz,I)},*getSettingsData({payload:I},{call:O,put:L}){const me=yield O(ri.DC,I);yield L({type:"save",payload:{setting:mo({},me)}})},*getChallengesNew({payload:I},{call:O,put:L}){const me=yield O(ri.km,I);yield L({type:"save",payload:{challengesNew:mo({},me)}})},*getChallengesEdit({payload:I},{call:O,put:L}){const me=yield O(ri.q0,I);return yield L({type:"save",payload:{challengesEdit:mo({},me)}}),me},*getAuditSituationData({payload:I},{call:O,put:L}){const me=yield O(ri.GI,I),Oe=xc(me);yield L({type:"save",payload:{auditSituationData:Oe}})},*getEditChallengesQuestion({payload:I},{call:O,put:L}){const me=yield O(ri.UQ,I);return yield L({type:"save",payload:{editChallengesQuestion:me}}),me},*getInfoWithJupyterLab({payload:I},{call:O,put:L}){const me=yield O(ri.mI,I);return yield L({type:"save",payload:{infoWithJupyterLab:me}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:mo({},I)}})}},reducers:{save(I,O){return console.log("reducers:",I,O),mo(mo({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Il=Object.defineProperty,vl=Object.getOwnPropertySymbols,Dl=Object.prototype.hasOwnProperty,Fo=Object.prototype.propertyIsEnumerable,Ol=(I,O,L)=>O in I?Il(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Us=(I,O)=>{for(var L in O||(O={}))Dl.call(O,L)&&Ol(I,L,O[L]);if(vl)for(var L of vl(O))Fo.call(O,L)&&Ol(I,L,O[L]);return I},Fs={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:I},{call:O,put:L}){const me=yield O(ri.he,I),Oe=Us({},I);return yield L({type:"save",payload:Us({listParams:Oe},me)}),me},*getMenus({payload:I},{call:O,put:L}){var me;const Oe=yield O(ri.I_,I);(me=Oe==null?void 0:Oe.disciplines)==null||me.map(qr=>(qr.sub_repertoires=qr.sub_disciplines,qr)),yield L({type:"save",payload:{menus:[...(Oe==null?void 0:Oe.disciplines)||[]]}})},*clearListParams({payload:I},{call:O,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(I,O){return Us(Us({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Gl=Object.defineProperty,gl=Object.getOwnPropertySymbols,nu=Object.prototype.hasOwnProperty,wc=Object.prototype.propertyIsEnumerable,Sc=(I,O,L)=>O in I?Gl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,iu=(I,O)=>{for(var L in O||(O={}))nu.call(O,L)&&Sc(I,L,O[L]);if(gl)for(var L of gl(O))wc.call(O,L)&&Sc(I,L,O[L]);return I},vu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:I},{call:O,put:L}){const me=yield O(ri.b8,I);return yield L({type:"save",payload:{newData:iu({},me)}}),me},*deleteAttachment({payload:I},{call:O,put:L}){return yield O(ri.OW,I)},*applyShixunMirror({payload:I},{call:O,put:L}){return yield O(ri.EH,I)},*submitShixuns({payload:I},{call:O,put:L}){return yield O(ri.eX,I)},*getShixunsJupyterLab({payload:I},{call:O,put:L}){const me=yield O(ri.Gu,I);return yield L({type:"save",payload:{newData:iu({},me)}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:iu({},I)}})},*getEnvironmentData({payload:I},{call:O,put:L}){const me=yield O(ri.K,I);return console.log(me,"response"),yield L({type:"save",payload:{environmentData:iu({},me.data)}}),me}},reducers:{save(I,O){return iu(iu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){}}},cc=Object.defineProperty,Ju=Object.getOwnPropertySymbols,ka=Object.prototype.hasOwnProperty,zc=Object.prototype.propertyIsEnumerable,Zc=(I,O,L)=>O in I?cc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,zu=(I,O)=>{for(var L in O||(O={}))ka.call(O,L)&&Zc(I,L,O[L]);if(Ju)for(var L of Ju(O))zc.call(O,L)&&Zc(I,L,O[L]);return I},ff={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:I},{call:O,put:L}){const me=yield O(ri.e,I);yield L({type:"save",payload:{ShixunUseInfos:me}})},*getRankList({payload:I},{call:O,put:L}){const me=yield O(ri.Fg,I);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:I},{call:O,put:L}){const me=yield O(ri.Gz,I);yield L({type:"save",payload:{SBody:me}})},*getOnlineCount({payload:I},{call:O,put:L}){const me=yield O(ri.hS,I);yield L({type:"save",payload:{OnlineCount:me==null?void 0:me.data}})},*getStatisticsHeader({payload:I},{call:O,put:L}){const me=yield O(ri.Hl,I);yield L({type:"save",payload:{SHeader:me}})}},reducers:{save(I,O){return zu(zu({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},fc=(I,O,L)=>new Promise((me,Oe)=>{var qr=Pi=>{try{dn(L.next(Pi))}catch(Ya){Oe(Ya)}},Bn=Pi=>{try{dn(L.throw(Pi))}catch(Ya){Oe(Ya)}},dn=Pi=>Pi.done?me(Pi.value):Promise.resolve(Pi.value).then(qr,Bn);dn((L=L.apply(I,O)).next())});function au(I){return fc(this,null,function*(){return(0,na.ZP)("/api/shixuns/new.json",{method:"Get",params:I})})}function Hc(I){return fc(this,null,function*(){return(0,na.ZP)(`/api/shixuns/${I.id}/required_status.json`,{method:"Get",params:{}})})}var Vl=Object.defineProperty,yl=Object.defineProperties,Wc=Object.getOwnPropertyDescriptors,Kl=Object.getOwnPropertySymbols,Wo=Object.prototype.hasOwnProperty,Iu=Object.prototype.propertyIsEnumerable,dc=(I,O,L)=>O in I?Vl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Zu=(I,O)=>{for(var L in O||(O={}))Wo.call(O,L)&&dc(I,L,O[L]);if(Kl)for(var L of Kl(O))Iu.call(O,L)&&dc(I,L,O[L]);return I},Cc=(I,O)=>yl(I,Wc(O)),Yl={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:I},{call:O,put:L}){yield L({type:"save",payload:Zu({},I)})},*getTestData({payload:I},{call:O,put:L}){const me=yield O(au,I);yield L({type:"save",payload:{data:me}})},*setUpdateIndex({payload:I},{call:O,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:I},{call:O,put:L}){const me=yield O(Hc,I);yield L({type:"save",payload:Zu({},me.data)})},*setSideBarTabs({payload:I},{call:O,put:L}){yield L({type:"sideBar",payload:Zu({},I)})}},reducers:{save(I,O){return Zu(Zu({},I),O.payload)},sideBar(I,O){return Cc(Zu({},I),{sideBar:Zu(Zu({},I.sideBar),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){}}},uo=e(86245),Xl=Object.defineProperty,Tc=Object.getOwnPropertySymbols,Du=Object.prototype.hasOwnProperty,Ou=Object.prototype.propertyIsEnumerable,lo=(I,O,L)=>O in I?Xl(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,el=(I,O)=>{for(var L in O||(O={}))Du.call(O,L)&&lo(I,L,O[L]);if(Tc)for(var L of Tc(O))Ou.call(O,L)&&lo(I,L,O[L]);return I},Pc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:I},{call:O,put:L}){const me=yield O(uo.JJ,I);return yield L({type:"save",payload:{homeworkBanksDetail:el({},me)}}),me},*getSystemUpdate({payload:I},{call:O,put:L}){const me=yield O(uo.n0,I);return yield L({type:"save",payload:{systemUpdate:el({},me)}}),me},*getHomepageInfo({payload:I},{call:O,put:L}){const me=yield O(uo.DA,I);return yield L({type:"save",payload:{homepageInfo:el({},me)}}),me},*signed({payload:I},{call:O,put:L}){return yield O(uo.qN,I)},*getCourses({payload:I},{call:O,put:L}){return yield O(uo.Ho,I)},*getShixuns({payload:I},{call:O,put:L}){return yield O(uo.rV,I)},*getPaths({payload:I},{call:O,put:L}){return yield O(uo.w3,I)},*getProjects({payload:I},{call:O,put:L}){return yield O(uo.mW,I)},*getVideos({payload:I},{call:O,put:L}){return yield O(uo.WY,I)},*getReviewVideos({payload:I},{call:O,put:L}){return yield O(uo.Qx,I)},*deleteVideo({payload:I},{call:O,put:L}){return yield O(uo.FM,I)},*getQuestionBanks({payload:I},{call:O,put:L}){return yield O(uo.ai,I)},*topicsSetPublic({payload:I},{call:O,put:L}){return yield O(uo.Cx,I)},*topicsDelete({payload:I},{call:O,put:L}){return yield O(uo.WS,I)},*topicGetCourseList({payload:I},{call:O,put:L}){return yield O(uo.gI,I)},*topicSendToClass({payload:I},{call:O,put:L}){return I.object_type==="videos"?yield O(uo.Fn,I):yield O(uo.Ef,I)},*logWatchHistory({payload:I},{call:O,put:L}){const me=yield O(uo.lO,I);return me==null?void 0:me.log_id},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:el({},I)}})}},reducers:{save(I,O){return el(el({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Vc=Object.defineProperty,bl=Object.getOwnPropertySymbols,Po=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable,je=(I,O,L)=>O in I?Vc(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,gu=(I,O)=>{for(var L in O||(O={}))Po.call(O,L)&&je(I,L,O[L]);if(bl)for(var L of bl(O))Rl.call(O,L)&&je(I,L,O[L]);return I},eu=(I,O)=>{var L={};for(var me in I)Po.call(I,me)&&O.indexOf(me)<0&&(L[me]=I[me]);if(I!=null&&bl)for(var me of bl(I))O.indexOf(me)<0&&Rl.call(I,me)&&(L[me]=I[me]);return L},No={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:I},{call:O,put:L}){const me=I,{to:Oe}=me,qr=eu(me,["to"]);if(!(yield O(uo.Es,qr)).status)try{Oe?f.history.replace(Oe):location.reload()}catch(dn){}},*showPopLogin({payload:I},{put:O}){yield O({type:"save",payload:{showPopLogin:I.showPopLogin,showClosable:I.showClosable}})},*setBindAccountModal({payload:I},{put:O}){yield O({type:"save",payload:{bindAccountModalVisible:I.bindAccountModalVisible,userInfoForBindAccountModal:I.userInfoForBindAccountModal,loginInfo:I.loginInfo}})},*getUserInfo({payload:I},{call:O,put:L}){const me=yield O(uo.bG,gu({},I));return localStorage.userInfo=JSON.stringify(me),yield L({type:"save",payload:{userInfo:gu({},me)}}),me},*getNavigationInfo({payload:I},{call:O,put:L}){const me=yield O(uo.x4,gu({},I));yield L({type:"save",payload:{navigationInfo:gu({},me)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:gu({},I)}})}},reducers:{save(I,O){return gu(gu({},I),O.payload)}}},Vs=e(49379),Go=Object.defineProperty,ku=Object.defineProperties,Io=Object.getOwnPropertyDescriptors,tl=Object.getOwnPropertySymbols,yu=Object.prototype.hasOwnProperty,hc=Object.prototype.propertyIsEnumerable,Ru=(I,O,L)=>O in I?Go(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,Vo=(I,O)=>{for(var L in O||(O={}))yu.call(O,L)&&Ru(I,L,O[L]);if(tl)for(var L of tl(O))hc.call(O,L)&&Ru(I,L,O[L]);return I},rl=(I,O)=>ku(I,Io(O));const bu=()=>{var I,O,L,me,Oe,qr,Bn;let dn=window.location.href.split("/");if(!dn.includes("video"))return;let Pi=(I=dn[dn.length-1])==null?void 0:I.split("?")[0];Pi=Number(Pi);const Ya=(L=(O=dn[dn.length-1])==null?void 0:O.split("?")[1])==null?void 0:L.split("=")[1];return((Oe=(me=dn[dn.length-1])==null?void 0:me.split("?")[1])==null?void 0:Oe.split("=")[0])==="subject_id"?{videoId:Pi,subject_id:Ya}:((Bn=(qr=dn[dn.length-1])==null?void 0:qr.split("?")[1])==null?void 0:Bn.split("=")[0])==="new_video_id"?{videoId:Pi,new_video_id:Ya}:{videoId:Pi,course_id:Ya}};var Kc={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:bu(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:I,callback:O},{call:L,put:me}){const Oe=yield L(Pn.O2,I);return O?O(Oe):yield me({type:"save",payload:{detail:Vo({},Oe)}}),Oe},*setVideoValue({payload:I},{call:O,put:L}){yield L({type:"save",payload:{detail:Vo({},I)}})},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:Vo({},I)}})},*setVideoTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{videoTabs:Vo({},I)}})},*setSelectValue({payload:I},{call:O,put:L}){yield L({type:"save",payload:{selectParams:Vo({},I)}})},*getStageData({payload:I},{call:O,put:L,select:me}){const Oe=yield O(Pn.yN,I),qr=yield O(Hi.lk,{id:I.subject_id}),{queryParams:Bn}=yield me(Ma=>Ma.videoDetail),{stages:dn=[]}=Oe,Pi=[];let Ya=[],Oa={};const Do=Ma=>{Ma.forEach(co=>{String(co.id)===String(Bn.videoId)&&(Oa=co),co.item_type==="VideoItem"?Pi.push(co):co.item_type==="Attachment"&&Ya.push(co),co.children&&co.children.length&&Do(co.children)})};dn==null||dn.forEach(Ma=>{Do(Ma.items)}),window.filterVideoSign=[...Pi],yield L({type:"save",payload:{stages:dn,active:Oa,cust_seq:qr.cust_seq,videoList:Pi,attachmentList:Ya}})},*getVideoData({payload:I},{call:O,put:L,select:me}){const Oe=yield O(Pn.fn,I),{categories:qr=[],coruse_videos:Bn=[]}=Oe;yield L({type:"save",payload:{stages:(qr==null?void 0:qr.length)>0?qr:[{coruse_videos:Bn,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:I},{call:O,put:L,select:me}){const Oe=yield O(Vs.R7,I),{queryParams:qr}=yield me(Do=>Do.videoDetail),{stages:Bn}=Oe;let dn=[],Pi=[],Ya={};const Oa=Do=>{Do.forEach(Ma=>{String(Ma.id)===String(qr.videoId)&&(Ya=Ma),Ma.item_type==="VideoItem"?dn.push(Ma):Ma.item_type==="Attachment"&&Pi.push(Ma),Ma.children&&Ma.children.length&&Oa(Ma.children)})};Bn==null||Bn.forEach(Do=>{Oa(Do.items)}),window.filterVideoSign=[...dn],yield L({type:"save",payload:{active:Ya,stages:Bn,cust_seq:!0,videoList:dn,attachmentList:Pi}})}},reducers:{save(I,O){return Vo(Vo({},I),O.payload)},handleListItemClick(I,O){const{videoList:L,attachmentList:me}=I,Oe=O.payload.videoId||O.payload.attachmentId,qr=[...L,...me].find(Bn=>`${Bn.id}`==`${Oe}`);return rl(Vo({},I),{active:qr,queryParams:Vo(Vo({},bu()),O.payload)})}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}},Zo=e(466),xu=Object.defineProperty,nl=Object.getOwnPropertySymbols,il=Object.prototype.hasOwnProperty,Ql=Object.prototype.propertyIsEnumerable,ql=(I,O,L)=>O in I?xu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,xl=(I,O)=>{for(var L in O||(O={}))il.call(O,L)&&ql(I,L,O[L]);if(nl)for(var L of nl(O))Ql.call(O,L)&&ql(I,L,O[L]);return I},Ml={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:I},{call:O,put:L}){const me=yield O(Zo.y2,I);return yield L({type:"save",payload:{Workplace:{BaseData:me.data}}}),me},*putEditDiscussion({payload:I},{call:O,put:L}){return yield O(Zo.CH,I)},*getDiscussionDetail({payload:I},{call:O,put:L}){const me=yield O(Zo.XQ,I);return yield L({type:"save",payload:{DiscussionDetail:me}}),me},*postDiscussionList({payload:I},{call:O,put:L}){return yield O(Zo.Ll,I)},*getDiscussionList({payload:I},{call:O,put:L}){const me=yield O(Zo.EA,I);return yield L({type:"save",payload:{DiscussionList:me}}),me},*postAddLessonRes({payload:I},{call:O,put:L}){return yield O(Zo.cZ,I)},*getLessonResourcesList({payload:I},{call:O,put:L}){const me=yield O(Zo.b,I);return yield L({type:"save",payload:{LessonResList:me}}),me},*putGoodLessonsDetail({payload:I},{call:O,put:L}){return yield O(Zo.To,I)},*getGoodLessonsDetail({payload:I},{call:O,put:L}){const me=yield O(Zo.FU,I);return yield L({type:"save",payload:{LessonDetail:me}}),me},*postGoodLessonsList({payload:I},{call:O,put:L}){return yield O(Zo.Vf,I)},*getGoodLessonsList({payload:I},{call:O,put:L}){const me=yield O(Zo.G_,I);return yield L({type:"save",payload:{LessonsList:me}}),me},*setActionTabs({payload:I},{call:O,put:L}){yield L({type:"save",payload:{actionTabs:xl({},I)}})},*setShowMenu({payload:I},{call:O,put:L}){yield L({type:"save",payload:{showMenu:I}})},*getVirtualSpacesDetails({payload:I},{call:O,put:L}){const me=yield O(Zo.sT,I);yield L({type:"save",payload:{virtualSpacesDetails:xl({},me)}})},*setVirtualSpacesLoading({payload:I},{call:O,put:L}){yield L({type:"save",payload:{loading:I}})},*getVirtualSpacesMenus({payload:I},{call:O,put:L}){const me=yield O(Zo.Sl,I);return yield L({type:"save",payload:{menus:me}}),me}},reducers:{save(I,O){return xl(xl({},I),O.payload)}},subscriptions:{setup({dispatch:I,history:O}){return O.listen(({pathname:L})=>{L==="/"&&I({type:"query"})})}}};const Jl={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:Y},model_3:{namespace:"classrooms.attachment",model:oe},model_4:{namespace:"classrooms.boards",model:De},model_5:{namespace:"classrooms.exercise",model:We},model_6:{namespace:"classrooms.graduation",model:Re},model_7:{namespace:"classrooms.homeworks",model:Qt},model_8:{namespace:"classrooms.index",model:Ce},model_9:{namespace:"classrooms.new",model:yt},model_10:{namespace:"classrooms.overview",model:Fr},model_11:{namespace:"classrooms.polls",model:$t},model_12:{namespace:"classrooms.teacher",model:Hn},model_13:{namespace:"classrooms.video",model:Ea},model_14:{namespace:"competitions.index",model:yi},model_15:{namespace:"engineering.evaluateDetail",model:Je},model_16:{namespace:"engineering.evaluateList",model:Sn.Z},model_17:{namespace:"engineering.index",model:pn},model_18:{namespace:"engineering.navigation",model:ca},model_19:{namespace:"engineering.normDetail",model:Vi},model_20:{namespace:"engineering.normList",model:Da},model_21:{namespace:"forums.detail",model:Eo},model_22:{namespace:"forums.index",model:Qs},model_23:{namespace:"globalSetting",model:Ro},model_24:{namespace:"graduations.index",model:tr},model_25:{namespace:"homePage",model:xr},model_26:{namespace:"innovation.index",model:Ci},model_27:{namespace:"intraincourse.index",model:ei},model_28:{namespace:"loading",model:wi},model_29:{namespace:"messages.index",model:Ss},model_30:{namespace:"paperlibrary.index",model:br},model_31:{namespace:"paperlibrary.newPaper",model:ua},model_32:{namespace:"paths.detail",model:_u},model_33:{namespace:"paths.index",model:Pt},model_34:{namespace:"paths.new",model:Un},model_35:{namespace:"paths.overview",model:ks},model_36:{namespace:"problemset.index",model:ju},model_37:{namespace:"problemset.preview",model:_l},model_38:{namespace:"resetFul.index",model:Pl},model_39:{namespace:"shixuns.detail",model:Uc},model_40:{namespace:"shixuns.index",model:Fs},model_41:{namespace:"shixuns.new",model:vu},model_42:{namespace:"shixuns.overview",model:ff},model_43:{namespace:"shixuns.practiceSetting",model:Yl},model_44:{namespace:"user.detail",model:Pc},model_45:{namespace:"user.index",model:No},model_46:{namespace:"video.detail",model:Kc},model_47:{namespace:"virtualSpaces.index",model:Ml}};var Eu=Object.defineProperty,Xc=Object.getOwnPropertySymbols,pc=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,lu=(I,O,L)=>O in I?Eu(I,O,{enumerable:!0,configurable:!0,writable:!0,value:L}):I[O]=L,ec=(I,O)=>{for(var L in O||(O={}))pc.call(O,L)&&lu(I,L,O[L]);if(Xc)for(var L of Xc(O))Lu.call(O,L)&&lu(I,L,O[L]);return I};let _c;function mc(I){const{pluginManager:O}=(0,f.useAppData)(),L=(0,c.useRef)(),me=O.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(ec({history:f.history},me.config||{}),{initialReducer:{},setupMiddlewares(Oe){return[...Oe]},setupApp(Oe){Oe._history=f.history}}),_c=L.current,L.current.use(l()()),(me.plugins||[]).forEach(Oe=>{L.current.use(Oe)});for(const Oe of Object.keys(Jl))L.current.model(ec({namespace:Jl[Oe].namespace},Jl[Oe].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},I.children)}function Dc(){return _c}},18956:function(d,v,e){"use strict";e.d(v,{PZ:function(){return vi},eU:function(){return a},B:function(){return Xi},Mg:function(){return pt},lw:function(){return vt},Kd:function(){return Dt},H8:function(){return yi}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f($e){return $e.displayName||$e.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p($e,Je){const{intlPropName:xe="intl",forwardRef:st=!1,enforceContext:ir=!0}=Je||{},Rr=Dr=>React.createElement(h,null,Pr=>(ir&&invariantIntlContext(Pr),React.createElement($e,Object.assign({},Dr,{[xe]:Pr},{ref:st?Dr.forwardedRef:null}))));return Rr.displayName=`injectIntl(${f($e)})`,Rr.WrappedComponent=$e,c(st?React.forwardRef((Dr,Pr)=>React.createElement(Rr,Object.assign({},Dr,{forwardedRef:Pr}))):Rr,$e)}var y;(function($e){$e[$e.literal=0]="literal",$e[$e.argument=1]="argument",$e[$e.number=2]="number",$e[$e.date=3]="date",$e[$e.time=4]="time",$e[$e.select=5]="select",$e[$e.plural=6]="plural",$e[$e.pound=7]="pound"})(y||(y={}));function _($e){return $e.type===y.literal}function b($e){return $e.type===y.argument}function S($e){return $e.type===y.number}function k($e){return $e.type===y.date}function R($e){return $e.type===y.time}function A($e){return $e.type===y.select}function D($e){return $e.type===y.plural}function M($e){return $e.type===y.pound}function B($e){return!!($e&&typeof $e=="object"&&$e.type===0)}function j($e){return!!($e&&typeof $e=="object"&&$e.type===1)}function Y($e){return{type:y.literal,value:$e}}function V($e,Je){return{type:y.number,value:$e,style:Je}}var G=function(){var $e=function(Je,xe){return $e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(st,ir){st.__proto__=ir}||function(st,ir){for(var Rr in ir)ir.hasOwnProperty(Rr)&&(st[Rr]=ir[Rr])},$e(Je,xe)};return function(Je,xe){$e(Je,xe);function st(){this.constructor=Je}Je.prototype=xe===null?Object.create(xe):(st.prototype=xe.prototype,new st)}}(),ae=function(){return ae=Object.assign||function($e){for(var Je,xe=1,st=arguments.length;xe<st;xe++){Je=arguments[xe];for(var ir in Je)Object.prototype.hasOwnProperty.call(Je,ir)&&($e[ir]=Je[ir])}return $e},ae.apply(this,arguments)},ie=function($e){G(Je,$e);function Je(xe,st,ir,Rr){var Dr=$e.call(this)||this;return Dr.message=xe,Dr.expected=st,Dr.found=ir,Dr.location=Rr,Dr.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(Dr,Je),Dr}return Je.buildMessage=function(xe,st){function ir(Cr){return Cr.charCodeAt(0).toString(16).toUpperCase()}function Rr(Cr){return Cr.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(ln){return"\\x0"+ir(ln)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(ln){return"\\x"+ir(ln)})}function Dr(Cr){return Cr.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(ln){return"\\x0"+ir(ln)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(ln){return"\\x"+ir(ln)})}function Pr(Cr){switch(Cr.type){case"literal":return'"'+Rr(Cr.text)+'"';case"class":var ln=Cr.parts.map(function(rn){return Array.isArray(rn)?Dr(rn[0])+"-"+Dr(rn[1]):Dr(rn)});return"["+(Cr.inverted?"^":"")+ln+"]";case"any":return"any character";case"end":return"end of input";case"other":return Cr.description}}function jr(Cr){var ln=Cr.map(Pr),rn,sn;if(ln.sort(),ln.length>0){for(rn=1,sn=1;rn<ln.length;rn++)ln[rn-1]!==ln[rn]&&(ln[sn]=ln[rn],sn++);ln.length=sn}switch(ln.length){case 1:return ln[0];case 2:return ln[0]+" or "+ln[1];default:return ln.slice(0,-1).join(", ")+", or "+ln[ln.length-1]}}function pn(Cr){return Cr?'"'+Rr(Cr)+'"':"end of input"}return"Expected "+jr(xe)+" but "+pn(st)+" found."},Je}(Error);function ue($e,Je){Je=Je!==void 0?Je:{};var xe={},st={start:Ke},ir=Ke,Rr=function(ge){return ge.join("")},Dr=function(ge){return ae({type:y.literal,value:ge},fa())},Pr="#",jr=ai("#",!1),pn=function(){return ae({type:y.pound},fa())},Cr=va("argumentElement"),ln="{",rn=ai("{",!1),sn="}",wn=ai("}",!1),pa=function(ge){return ae({type:y.argument,value:ge},fa())},Ei=va("numberSkeletonId"),hi=/^['\/{}]/,mn=Ws(["'","/","{","}"],!1,!1),ni=Uo(),Mi=va("numberSkeletonTokenOption"),ca="/",Ha=ai("/",!1),Ta=function(ge){return ge},fs=va("numberSkeletonToken"),Es=function(ge,we){return{stem:ge,options:we}},Wa=function(ge){return ae({type:0,tokens:ge},fa())},pi="::",ra=ai("::",!1),os=function(ge){return ge},Ga=function(){return Zi.push("numberArgStyle"),!0},Is=function(ge){return Zi.pop(),ge.replace(/\s*$/,"")},Vi=",",ms=ai(",",!1),bo="number",Fi=ai("number",!1),vs=function(ge,we,Sr){return ae({type:we==="number"?y.number:we==="date"?y.date:y.time,style:Sr&&Sr[2],value:ge},fa())},Na="'",Ys=ai("'",!1),In=/^[^']/,$a=Ws(["'"],!0,!1),cs=/^[^a-zA-Z'{}]/,ja=Ws([["a","z"],["A","Z"],"'","{","}"],!0,!1),Ui=/^[a-zA-Z]/,Ra=Ws([["a","z"],["A","Z"]],!1,!1),Da=function(ge){return ae({type:1,pattern:ge},fa())},ws=function(){return Zi.push("dateOrTimeArgStyle"),!0},Xs="date",xo=ai("date",!1),ho="time",wa=ai("time",!1),gs="plural",Zs=ai("plural",!1),no="selectordinal",Eo=ai("selectordinal",!1),wo="offset:",po=ai("offset:",!1),ci=function(ge,we,Sr,Jr){return ae({type:y.plural,pluralType:we==="plural"?"cardinal":"ordinal",value:ge,offset:Sr?Sr[2]:0,options:Jr.reduce(function(br,Xr){var En=Xr.id,Jn=Xr.value,Ri=Xr.location;return En in br&&Ds('Duplicate option "'+En+'" in plural element: "'+ma()+'"',Ci()),br[En]={value:Jn,location:Ri},br},{})},fa())},si="select",Ua=ai("select",!1),Qa=function(ge,we){return ae({type:y.select,value:ge,options:we.reduce(function(Sr,Jr){var br=Jr.id,Xr=Jr.value,En=Jr.location;return br in Sr&&Ds('Duplicate option "'+br+'" in select element: "'+ma()+'"',Ci()),Sr[br]={value:Xr,location:En},Sr},{})},fa())},qa="=",Qs=ai("=",!1),qs=function(ge){return Zi.push("select"),!0},Qo=function(ge,we){return Zi.pop(),ae({id:ge,value:we},fa())},ds=function(ge){return Zi.push("plural"),!0},Oo=function(ge,we){return Zi.pop(),ae({id:ge,value:we},fa())},ko=va("whitespace"),Ho=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Su=Ws([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),So=va("syntax pattern"),_o=/^[!-\/:-@[-\^`{-~\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]/,Js=Ws([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\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),$u=va("optional whitespace"),Ro=va("number"),Lo="-",Hs=ai("-",!1),du=function(ge,we){return we?ge?-we:we:0},jo=va("apostrophe"),Ao=va("double apostrophes"),Bs="''",Rs=ai("''",!1),hu=function(){return"'"},Au=function(ge,we){return ge+we.replace("''","'")},tr=function(ge){return ge!=="{"&&!(Os()&&ge==="#")&&!(Ba()&&ge==="}")},hr=`
|
|
|
`,ur=ai(`
|
|
|
`,!1),vr=function(ge){return ge==="{"||ge==="}"||Os()&&ge==="#"},wr=va("argNameOrNumber"),vn=va("argNumber"),xn="0",Nn=ai("0",!1),Rn=function(){return 0},Kn=/^[1-9]/,lr=Ws([["1","9"]],!1,!1),Br=/^[0-9]/,xr=Ws([["0","9"]],!1,!1),hn=function(ge){return parseInt(ge.join(""),10)},Wn=va("argName"),lt=0,Cn=0,Yn=[{line:1,column:1}],ii=0,Ki=[],Nr=0,Wr;if(Je.startRule!==void 0){if(!(Je.startRule in st))throw new Error(`Can't start parsing from rule "`+Je.startRule+'".');ir=st[Je.startRule]}function ma(){return $e.substring(Cn,lt)}function Ci(){return ys(Cn,lt)}function na(ge,we){throw we=we!==void 0?we:ys(Cn,lt),$s([va(ge)],$e.substring(Cn,lt),we)}function Ds(ge,we){throw we=we!==void 0?we:ys(Cn,lt),Ns(ge,we)}function ai(ge,we){return{type:"literal",text:ge,ignoreCase:we}}function Ws(ge,we,Sr){return{type:"class",parts:ge,inverted:we,ignoreCase:Sr}}function Uo(){return{type:"any"}}function Ls(){return{type:"end"}}function va(ge){return{type:"other",description:ge}}function Va(ge){var we=Yn[ge],Sr;if(we)return we;for(Sr=ge-1;!Yn[Sr];)Sr--;for(we=Yn[Sr],we={line:we.line,column:we.column};Sr<ge;)$e.charCodeAt(Sr)===10?(we.line++,we.column=1):we.column++,Sr++;return Yn[ge]=we,we}function ys(ge,we){var Sr=Va(ge),Jr=Va(we);return{start:{offset:ge,line:Sr.line,column:Sr.column},end:{offset:we,line:Jr.line,column:Jr.column}}}function Mn(ge){lt<ii||(lt>ii&&(ii=lt,Ki=[]),Ki.push(ge))}function Ns(ge,we){return new ie(ge,[],"",we)}function $s(ge,we,Sr){return new ie(ie.buildMessage(ge,we),ge,we,Sr)}function Ke(){var ge;return ge=Xe(),ge}function Xe(){var ge,we;for(ge=[],we=Bt();we!==xe;)ge.push(we),we=Bt();return ge}function Bt(){var ge;return ge=pr(),ge===xe&&(ge=zr(),ge===xe&&(ge=Ti(),ge===xe&&(ge=fi(),ge===xe&&(ge=oa(),ge===xe&&(ge=Lr()))))),ge}function Yt(){var ge,we,Sr;if(ge=lt,we=[],Sr=Fa(),Sr===xe&&(Sr=io(),Sr===xe&&(Sr=Ja())),Sr!==xe)for(;Sr!==xe;)we.push(Sr),Sr=Fa(),Sr===xe&&(Sr=io(),Sr===xe&&(Sr=Ja()));else we=xe;return we!==xe&&(Cn=ge,we=Rr(we)),ge=we,ge}function pr(){var ge,we;return ge=lt,we=Yt(),we!==xe&&(Cn=ge,we=Dr(we)),ge=we,ge}function Lr(){var ge,we;return ge=lt,$e.charCodeAt(lt)===35?(we=Pr,lt++):(we=xe,Nr===0&&Mn(jr)),we!==xe&&(Cn=ge,we=pn()),ge=we,ge}function zr(){var ge,we,Sr,Jr,br,Xr;return Nr++,ge=lt,$e.charCodeAt(lt)===123?(we=ln,lt++):(we=xe,Nr===0&&Mn(rn)),we!==xe?(Sr=ki(),Sr!==xe?(Jr=es(),Jr!==xe?(br=ki(),br!==xe?($e.charCodeAt(lt)===125?(Xr=sn,lt++):(Xr=xe,Nr===0&&Mn(wn)),Xr!==xe?(Cn=ge,we=pa(Jr),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe),Nr--,ge===xe&&(we=xe,Nr===0&&Mn(Cr)),ge}function _n(){var ge,we,Sr,Jr,br;if(Nr++,ge=lt,we=[],Sr=lt,Jr=lt,Nr++,br=La(),br===xe&&(hi.test($e.charAt(lt))?(br=$e.charAt(lt),lt++):(br=xe,Nr===0&&Mn(mn))),Nr--,br===xe?Jr=void 0:(lt=Jr,Jr=xe),Jr!==xe?($e.length>lt?(br=$e.charAt(lt),lt++):(br=xe,Nr===0&&Mn(ni)),br!==xe?(Jr=[Jr,br],Sr=Jr):(lt=Sr,Sr=xe)):(lt=Sr,Sr=xe),Sr!==xe)for(;Sr!==xe;)we.push(Sr),Sr=lt,Jr=lt,Nr++,br=La(),br===xe&&(hi.test($e.charAt(lt))?(br=$e.charAt(lt),lt++):(br=xe,Nr===0&&Mn(mn))),Nr--,br===xe?Jr=void 0:(lt=Jr,Jr=xe),Jr!==xe?($e.length>lt?(br=$e.charAt(lt),lt++):(br=xe,Nr===0&&Mn(ni)),br!==xe?(Jr=[Jr,br],Sr=Jr):(lt=Sr,Sr=xe)):(lt=Sr,Sr=xe);else we=xe;return we!==xe?ge=$e.substring(ge,lt):ge=we,Nr--,ge===xe&&(we=xe,Nr===0&&Mn(Ei)),ge}function tn(){var ge,we,Sr;return Nr++,ge=lt,$e.charCodeAt(lt)===47?(we=ca,lt++):(we=xe,Nr===0&&Mn(Ha)),we!==xe?(Sr=_n(),Sr!==xe?(Cn=ge,we=Ta(Sr),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe),Nr--,ge===xe&&(we=xe,Nr===0&&Mn(Mi)),ge}function gn(){var ge,we,Sr,Jr,br;if(Nr++,ge=lt,we=ki(),we!==xe)if(Sr=_n(),Sr!==xe){for(Jr=[],br=tn();br!==xe;)Jr.push(br),br=tn();Jr!==xe?(Cn=ge,we=Es(Sr,Jr),ge=we):(lt=ge,ge=xe)}else lt=ge,ge=xe;else lt=ge,ge=xe;return Nr--,ge===xe&&(we=xe,Nr===0&&Mn(fs)),ge}function Xn(){var ge,we,Sr;if(ge=lt,we=[],Sr=gn(),Sr!==xe)for(;Sr!==xe;)we.push(Sr),Sr=gn();else we=xe;return we!==xe&&(Cn=ge,we=Wa(we)),ge=we,ge}function ei(){var ge,we,Sr;return ge=lt,$e.substr(lt,2)===pi?(we=pi,lt+=2):(we=xe,Nr===0&&Mn(ra)),we!==xe?(Sr=Xn(),Sr!==xe?(Cn=ge,we=os(Sr),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe),ge===xe&&(ge=lt,Cn=lt,we=Ga(),we?we=void 0:we=xe,we!==xe?(Sr=Yt(),Sr!==xe?(Cn=ge,we=Is(Sr),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)),ge}function bi(){var ge,we,Sr,Jr,br,Xr,En,Jn,Ri,Dn,On,Fn,ua;return ge=lt,$e.charCodeAt(lt)===123?(we=ln,lt++):(we=xe,Nr===0&&Mn(rn)),we!==xe?(Sr=ki(),Sr!==xe?(Jr=es(),Jr!==xe?(br=ki(),br!==xe?($e.charCodeAt(lt)===44?(Xr=Vi,lt++):(Xr=xe,Nr===0&&Mn(ms)),Xr!==xe?(En=ki(),En!==xe?($e.substr(lt,6)===bo?(Jn=bo,lt+=6):(Jn=xe,Nr===0&&Mn(Fi)),Jn!==xe?(Ri=ki(),Ri!==xe?(Dn=lt,$e.charCodeAt(lt)===44?(On=Vi,lt++):(On=xe,Nr===0&&Mn(ms)),On!==xe?(Fn=ki(),Fn!==xe?(ua=ei(),ua!==xe?(On=[On,Fn,ua],Dn=On):(lt=Dn,Dn=xe)):(lt=Dn,Dn=xe)):(lt=Dn,Dn=xe),Dn===xe&&(Dn=null),Dn!==xe?(On=ki(),On!==xe?($e.charCodeAt(lt)===125?(Fn=sn,lt++):(Fn=xe,Nr===0&&Mn(wn)),Fn!==xe?(Cn=ge,we=vs(Jr,Jn,Dn),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe),ge}function wi(){var ge,we,Sr,Jr;if(ge=lt,$e.charCodeAt(lt)===39?(we=Na,lt++):(we=xe,Nr===0&&Mn(Ys)),we!==xe){if(Sr=[],Jr=Fa(),Jr===xe&&(In.test($e.charAt(lt))?(Jr=$e.charAt(lt),lt++):(Jr=xe,Nr===0&&Mn($a))),Jr!==xe)for(;Jr!==xe;)Sr.push(Jr),Jr=Fa(),Jr===xe&&(In.test($e.charAt(lt))?(Jr=$e.charAt(lt),lt++):(Jr=xe,Nr===0&&Mn($a)));else Sr=xe;Sr!==xe?($e.charCodeAt(lt)===39?(Jr=Na,lt++):(Jr=xe,Nr===0&&Mn(Ys)),Jr!==xe?(we=[we,Sr,Jr],ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)}else lt=ge,ge=xe;if(ge===xe)if(ge=[],we=Fa(),we===xe&&(cs.test($e.charAt(lt))?(we=$e.charAt(lt),lt++):(we=xe,Nr===0&&Mn(ja))),we!==xe)for(;we!==xe;)ge.push(we),we=Fa(),we===xe&&(cs.test($e.charAt(lt))?(we=$e.charAt(lt),lt++):(we=xe,Nr===0&&Mn(ja)));else ge=xe;return ge}function zi(){var ge,we;if(ge=[],Ui.test($e.charAt(lt))?(we=$e.charAt(lt),lt++):(we=xe,Nr===0&&Mn(Ra)),we!==xe)for(;we!==xe;)ge.push(we),Ui.test($e.charAt(lt))?(we=$e.charAt(lt),lt++):(we=xe,Nr===0&&Mn(Ra));else ge=xe;return ge}function Bi(){var ge,we,Sr,Jr;if(ge=lt,we=lt,Sr=[],Jr=wi(),Jr===xe&&(Jr=zi()),Jr!==xe)for(;Jr!==xe;)Sr.push(Jr),Jr=wi(),Jr===xe&&(Jr=zi());else Sr=xe;return Sr!==xe?we=$e.substring(we,lt):we=Sr,we!==xe&&(Cn=ge,we=Da(we)),ge=we,ge}function xi(){var ge,we,Sr;return ge=lt,$e.substr(lt,2)===pi?(we=pi,lt+=2):(we=xe,Nr===0&&Mn(ra)),we!==xe?(Sr=Bi(),Sr!==xe?(Cn=ge,we=os(Sr),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe),ge===xe&&(ge=lt,Cn=lt,we=ws(),we?we=void 0:we=xe,we!==xe?(Sr=Yt(),Sr!==xe?(Cn=ge,we=Is(Sr),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)),ge}function ga(){var ge,we,Sr,Jr,br,Xr,En,Jn,Ri,Dn,On,Fn,ua;return ge=lt,$e.charCodeAt(lt)===123?(we=ln,lt++):(we=xe,Nr===0&&Mn(rn)),we!==xe?(Sr=ki(),Sr!==xe?(Jr=es(),Jr!==xe?(br=ki(),br!==xe?($e.charCodeAt(lt)===44?(Xr=Vi,lt++):(Xr=xe,Nr===0&&Mn(ms)),Xr!==xe?(En=ki(),En!==xe?($e.substr(lt,4)===Xs?(Jn=Xs,lt+=4):(Jn=xe,Nr===0&&Mn(xo)),Jn===xe&&($e.substr(lt,4)===ho?(Jn=ho,lt+=4):(Jn=xe,Nr===0&&Mn(wa))),Jn!==xe?(Ri=ki(),Ri!==xe?(Dn=lt,$e.charCodeAt(lt)===44?(On=Vi,lt++):(On=xe,Nr===0&&Mn(ms)),On!==xe?(Fn=ki(),Fn!==xe?(ua=xi(),ua!==xe?(On=[On,Fn,ua],Dn=On):(lt=Dn,Dn=xe)):(lt=Dn,Dn=xe)):(lt=Dn,Dn=xe),Dn===xe&&(Dn=null),Dn!==xe?(On=ki(),On!==xe?($e.charCodeAt(lt)===125?(Fn=sn,lt++):(Fn=xe,Nr===0&&Mn(wn)),Fn!==xe?(Cn=ge,we=vs(Jr,Jn,Dn),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe),ge}function Ti(){var ge;return ge=bi(),ge===xe&&(ge=ga()),ge}function fi(){var ge,we,Sr,Jr,br,Xr,En,Jn,Ri,Dn,On,Fn,ua,Hi,vo,so;if(ge=lt,$e.charCodeAt(lt)===123?(we=ln,lt++):(we=xe,Nr===0&&Mn(rn)),we!==xe)if(Sr=ki(),Sr!==xe)if(Jr=es(),Jr!==xe)if(br=ki(),br!==xe)if($e.charCodeAt(lt)===44?(Xr=Vi,lt++):(Xr=xe,Nr===0&&Mn(ms)),Xr!==xe)if(En=ki(),En!==xe)if($e.substr(lt,6)===gs?(Jn=gs,lt+=6):(Jn=xe,Nr===0&&Mn(Zs)),Jn===xe&&($e.substr(lt,13)===no?(Jn=no,lt+=13):(Jn=xe,Nr===0&&Mn(Eo))),Jn!==xe)if(Ri=ki(),Ri!==xe)if($e.charCodeAt(lt)===44?(Dn=Vi,lt++):(Dn=xe,Nr===0&&Mn(ms)),Dn!==xe)if(On=ki(),On!==xe)if(Fn=lt,$e.substr(lt,7)===wo?(ua=wo,lt+=7):(ua=xe,Nr===0&&Mn(po)),ua!==xe?(Hi=ki(),Hi!==xe?(vo=ba(),vo!==xe?(ua=[ua,Hi,vo],Fn=ua):(lt=Fn,Fn=xe)):(lt=Fn,Fn=xe)):(lt=Fn,Fn=xe),Fn===xe&&(Fn=null),Fn!==xe)if(ua=ki(),ua!==xe){if(Hi=[],vo=Yi(),vo!==xe)for(;vo!==xe;)Hi.push(vo),vo=Yi();else Hi=xe;Hi!==xe?(vo=ki(),vo!==xe?($e.charCodeAt(lt)===125?(so=sn,lt++):(so=xe,Nr===0&&Mn(wn)),so!==xe?(Cn=ge,we=ci(Jr,Jn,Fn,Hi),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)}else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;return ge}function oa(){var ge,we,Sr,Jr,br,Xr,En,Jn,Ri,Dn,On,Fn,ua,Hi;if(ge=lt,$e.charCodeAt(lt)===123?(we=ln,lt++):(we=xe,Nr===0&&Mn(rn)),we!==xe)if(Sr=ki(),Sr!==xe)if(Jr=es(),Jr!==xe)if(br=ki(),br!==xe)if($e.charCodeAt(lt)===44?(Xr=Vi,lt++):(Xr=xe,Nr===0&&Mn(ms)),Xr!==xe)if(En=ki(),En!==xe)if($e.substr(lt,6)===si?(Jn=si,lt+=6):(Jn=xe,Nr===0&&Mn(Ua)),Jn!==xe)if(Ri=ki(),Ri!==xe)if($e.charCodeAt(lt)===44?(Dn=Vi,lt++):(Dn=xe,Nr===0&&Mn(ms)),Dn!==xe)if(On=ki(),On!==xe){if(Fn=[],ua=Ss(),ua!==xe)for(;ua!==xe;)Fn.push(ua),ua=Ss();else Fn=xe;Fn!==xe?(ua=ki(),ua!==xe?($e.charCodeAt(lt)===125?(Hi=sn,lt++):(Hi=xe,Nr===0&&Mn(wn)),Hi!==xe?(Cn=ge,we=Qa(Jr,Fn),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)}else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;else lt=ge,ge=xe;return ge}function eo(){var ge,we,Sr,Jr;return ge=lt,we=lt,$e.charCodeAt(lt)===61?(Sr=qa,lt++):(Sr=xe,Nr===0&&Mn(Qs)),Sr!==xe?(Jr=ba(),Jr!==xe?(Sr=[Sr,Jr],we=Sr):(lt=we,we=xe)):(lt=we,we=xe),we!==xe?ge=$e.substring(ge,lt):ge=we,ge===xe&&(ge=ts()),ge}function Ss(){var ge,we,Sr,Jr,br,Xr,En,Jn;return ge=lt,we=ki(),we!==xe?(Sr=ts(),Sr!==xe?(Jr=ki(),Jr!==xe?($e.charCodeAt(lt)===123?(br=ln,lt++):(br=xe,Nr===0&&Mn(rn)),br!==xe?(Cn=lt,Xr=qs(Sr),Xr?Xr=void 0:Xr=xe,Xr!==xe?(En=Xe(),En!==xe?($e.charCodeAt(lt)===125?(Jn=sn,lt++):(Jn=xe,Nr===0&&Mn(wn)),Jn!==xe?(Cn=ge,we=Qo(Sr,En),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe),ge}function Yi(){var ge,we,Sr,Jr,br,Xr,En,Jn;return ge=lt,we=ki(),we!==xe?(Sr=eo(),Sr!==xe?(Jr=ki(),Jr!==xe?($e.charCodeAt(lt)===123?(br=ln,lt++):(br=xe,Nr===0&&Mn(rn)),br!==xe?(Cn=lt,Xr=ds(Sr),Xr?Xr=void 0:Xr=xe,Xr!==xe?(En=Xe(),En!==xe?($e.charCodeAt(lt)===125?(Jn=sn,lt++):(Jn=xe,Nr===0&&Mn(wn)),Jn!==xe?(Cn=ge,we=Oo(Sr,En),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe)):(lt=ge,ge=xe),ge}function La(){var ge,we;return Nr++,Ho.test($e.charAt(lt))?(ge=$e.charAt(lt),lt++):(ge=xe,Nr===0&&Mn(Su)),Nr--,ge===xe&&(we=xe,Nr===0&&Mn(ko)),ge}function ea(){var ge,we;return Nr++,_o.test($e.charAt(lt))?(ge=$e.charAt(lt),lt++):(ge=xe,Nr===0&&Mn(Js)),Nr--,ge===xe&&(we=xe,Nr===0&&Mn(So)),ge}function ki(){var ge,we,Sr;for(Nr++,ge=lt,we=[],Sr=La();Sr!==xe;)we.push(Sr),Sr=La();return we!==xe?ge=$e.substring(ge,lt):ge=we,Nr--,ge===xe&&(we=xe,Nr===0&&Mn($u)),ge}function ba(){var ge,we,Sr;return Nr++,ge=lt,$e.charCodeAt(lt)===45?(we=Lo,lt++):(we=xe,Nr===0&&Mn(Hs)),we===xe&&(we=null),we!==xe?(Sr=js(),Sr!==xe?(Cn=ge,we=du(we,Sr),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe),Nr--,ge===xe&&(we=xe,Nr===0&&Mn(Ro)),ge}function Ka(){var ge,we;return Nr++,$e.charCodeAt(lt)===39?(ge=Na,lt++):(ge=xe,Nr===0&&Mn(Ys)),Nr--,ge===xe&&(we=xe,Nr===0&&Mn(jo)),ge}function Fa(){var ge,we;return Nr++,ge=lt,$e.substr(lt,2)===Bs?(we=Bs,lt+=2):(we=xe,Nr===0&&Mn(Rs)),we!==xe&&(Cn=ge,we=hu()),ge=we,Nr--,ge===xe&&(we=xe,Nr===0&&Mn(Ao)),ge}function io(){var ge,we,Sr,Jr,br,Xr;if(ge=lt,$e.charCodeAt(lt)===39?(we=Na,lt++):(we=xe,Nr===0&&Mn(Ys)),we!==xe)if(Sr=ao(),Sr!==xe){for(Jr=lt,br=[],$e.substr(lt,2)===Bs?(Xr=Bs,lt+=2):(Xr=xe,Nr===0&&Mn(Rs)),Xr===xe&&(In.test($e.charAt(lt))?(Xr=$e.charAt(lt),lt++):(Xr=xe,Nr===0&&Mn($a)));Xr!==xe;)br.push(Xr),$e.substr(lt,2)===Bs?(Xr=Bs,lt+=2):(Xr=xe,Nr===0&&Mn(Rs)),Xr===xe&&(In.test($e.charAt(lt))?(Xr=$e.charAt(lt),lt++):(Xr=xe,Nr===0&&Mn($a)));br!==xe?Jr=$e.substring(Jr,lt):Jr=br,Jr!==xe?($e.charCodeAt(lt)===39?(br=Na,lt++):(br=xe,Nr===0&&Mn(Ys)),br===xe&&(br=null),br!==xe?(Cn=ge,we=Au(Sr,Jr),ge=we):(lt=ge,ge=xe)):(lt=ge,ge=xe)}else lt=ge,ge=xe;else lt=ge,ge=xe;return ge}function Ja(){var ge,we,Sr,Jr;return ge=lt,we=lt,$e.length>lt?(Sr=$e.charAt(lt),lt++):(Sr=xe,Nr===0&&Mn(ni)),Sr!==xe?(Cn=lt,Jr=tr(Sr),Jr?Jr=void 0:Jr=xe,Jr!==xe?(Sr=[Sr,Jr],we=Sr):(lt=we,we=xe)):(lt=we,we=xe),we===xe&&($e.charCodeAt(lt)===10?(we=hr,lt++):(we=xe,Nr===0&&Mn(ur))),we!==xe?ge=$e.substring(ge,lt):ge=we,ge}function ao(){var ge,we,Sr,Jr;return ge=lt,we=lt,$e.length>lt?(Sr=$e.charAt(lt),lt++):(Sr=xe,Nr===0&&Mn(ni)),Sr!==xe?(Cn=lt,Jr=vr(Sr),Jr?Jr=void 0:Jr=xe,Jr!==xe?(Sr=[Sr,Jr],we=Sr):(lt=we,we=xe)):(lt=we,we=xe),we!==xe?ge=$e.substring(ge,lt):ge=we,ge}function es(){var ge,we;return Nr++,ge=lt,we=js(),we===xe&&(we=ts()),we!==xe?ge=$e.substring(ge,lt):ge=we,Nr--,ge===xe&&(we=xe,Nr===0&&Mn(wr)),ge}function js(){var ge,we,Sr,Jr,br;if(Nr++,ge=lt,$e.charCodeAt(lt)===48?(we=xn,lt++):(we=xe,Nr===0&&Mn(Nn)),we!==xe&&(Cn=ge,we=Rn()),ge=we,ge===xe){if(ge=lt,we=lt,Kn.test($e.charAt(lt))?(Sr=$e.charAt(lt),lt++):(Sr=xe,Nr===0&&Mn(lr)),Sr!==xe){for(Jr=[],Br.test($e.charAt(lt))?(br=$e.charAt(lt),lt++):(br=xe,Nr===0&&Mn(xr));br!==xe;)Jr.push(br),Br.test($e.charAt(lt))?(br=$e.charAt(lt),lt++):(br=xe,Nr===0&&Mn(xr));Jr!==xe?(Sr=[Sr,Jr],we=Sr):(lt=we,we=xe)}else lt=we,we=xe;we!==xe&&(Cn=ge,we=hn(we)),ge=we}return Nr--,ge===xe&&(we=xe,Nr===0&&Mn(vn)),ge}function ts(){var ge,we,Sr,Jr,br;if(Nr++,ge=lt,we=[],Sr=lt,Jr=lt,Nr++,br=La(),br===xe&&(br=ea()),Nr--,br===xe?Jr=void 0:(lt=Jr,Jr=xe),Jr!==xe?($e.length>lt?(br=$e.charAt(lt),lt++):(br=xe,Nr===0&&Mn(ni)),br!==xe?(Jr=[Jr,br],Sr=Jr):(lt=Sr,Sr=xe)):(lt=Sr,Sr=xe),Sr!==xe)for(;Sr!==xe;)we.push(Sr),Sr=lt,Jr=lt,Nr++,br=La(),br===xe&&(br=ea()),Nr--,br===xe?Jr=void 0:(lt=Jr,Jr=xe),Jr!==xe?($e.length>lt?(br=$e.charAt(lt),lt++):(br=xe,Nr===0&&Mn(ni)),br!==xe?(Jr=[Jr,br],Sr=Jr):(lt=Sr,Sr=xe)):(lt=Sr,Sr=xe);else we=xe;return we!==xe?ge=$e.substring(ge,lt):ge=we,Nr--,ge===xe&&(we=xe,Nr===0&&Mn(Wn)),ge}var Zi=["root"];function Ba(){return Zi.length>1}function Os(){return Zi[Zi.length-1]==="plural"}function fa(){return Je&&Je.captureLocation?{location:Ci()}:{}}if(Wr=ir(),Wr!==xe&<===$e.length)return Wr;throw Wr!==xe&<<$e.length&&Mn(Ls()),$s(Ki,ii<$e.length?$e.charAt(ii):null,ii<$e.length?ys(ii,ii+1):ys(ii,ii))}var q=ue,J=function(){for(var $e=0,Je=0,xe=arguments.length;Je<xe;Je++)$e+=arguments[Je].length;for(var st=Array($e),ir=0,Je=0;Je<xe;Je++)for(var Rr=arguments[Je],Dr=0,Pr=Rr.length;Dr<Pr;Dr++,ir++)st[ir]=Rr[Dr];return st},K=/(^|[^\\])#/g;function oe($e){$e.forEach(function(Je){!D(Je)&&!A(Je)||Object.keys(Je.options).forEach(function(xe){for(var st,ir=Je.options[xe],Rr=-1,Dr=void 0,Pr=0;Pr<ir.value.length;Pr++){var jr=ir.value[Pr];if(_(jr)&&K.test(jr.value)){Rr=Pr,Dr=jr;break}}if(Dr){var pn=Dr.value.replace(K,"$1{"+Je.value+", number}"),Cr=q(pn);(st=ir.value).splice.apply(st,J([Rr,1],Cr))}oe(ir.value)})})}function ee($e,Je){var xe=q($e,Je);return(!Je||Je.normalizeHashtagInPlural!==!1)&&oe(xe),xe}var Q=function(){for(var $e=0,Je=0,xe=arguments.length;Je<xe;Je++)$e+=arguments[Je].length;for(var st=Array($e),ir=0,Je=0;Je<xe;Je++)for(var Rr=arguments[Je],Dr=0,Pr=Rr.length;Dr<Pr;Dr++,ir++)st[ir]=Rr[Dr];return st};function le($e){return JSON.stringify($e.map(function(Je){return Je&&typeof Je=="object"?Z(Je):Je}))}function Z($e){return Object.keys($e).sort().map(function(Je){var xe;return xe={},xe[Je]=$e[Je],xe})}var $=function($e,Je){return Je===void 0&&(Je={}),function(){for(var xe,st=[],ir=0;ir<arguments.length;ir++)st[ir]=arguments[ir];var Rr=le(st),Dr=Rr&&Je[Rr];return Dr||(Dr=new((xe=$e).bind.apply(xe,Q([void 0],st))),Rr&&(Je[Rr]=Dr)),Dr}},se=$,_e=function(){return _e=Object.assign||function($e){for(var Je,xe=1,st=arguments.length;xe<st;xe++){Je=arguments[xe];for(var ir in Je)Object.prototype.hasOwnProperty.call(Je,ir)&&($e[ir]=Je[ir])}return $e},_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 De($e){var Je={};return $e.replace(Ie,function(xe){var st=xe.length;switch(xe[0]){case"G":Je.era=st===4?"long":st===5?"narrow":"short";break;case"y":Je.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":Je.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":Je.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":Je.weekday=st===4?"short":st===5?"narrow":"short";break;case"e":if(st<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");Je.weekday=["short","long","narrow","short"][st-4];break;case"c":if(st<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");Je.weekday=["short","long","narrow","short"][st-4];break;case"a":Je.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":Je.hourCycle="h12",Je.hour=["numeric","2-digit"][st-1];break;case"H":Je.hourCycle="h23",Je.hour=["numeric","2-digit"][st-1];break;case"K":Je.hourCycle="h11",Je.hour=["numeric","2-digit"][st-1];break;case"k":Je.hourCycle="h24",Je.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":Je.minute=["numeric","2-digit"][st-1];break;case"s":Je.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":Je.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""}),Je}function Ze($e){return $e.replace(/^(.*?)-/,"")}var Ne=/^\.(?:(0+)(\+|#+)?)?$/g,Lt=/^(@+)?(\+|#+)?$/g;function bt($e){var Je={};return $e.replace(Lt,function(xe,st,ir){return typeof ir!="string"?(Je.minimumSignificantDigits=st.length,Je.maximumSignificantDigits=st.length):ir==="+"?Je.minimumSignificantDigits=st.length:st[0]==="#"?Je.maximumSignificantDigits=st.length:(Je.minimumSignificantDigits=st.length,Je.maximumSignificantDigits=st.length+(typeof ir=="string"?ir.length:0)),""}),Je}function kt($e){switch($e){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 jt($e){var Je={},xe=kt($e);return xe||Je}function Wt($e){for(var Je={},xe=0,st=$e;xe<st.length;xe++){var ir=st[xe];switch(ir.stem){case"percent":Je.style="percent";continue;case"currency":Je.style="currency",Je.currency=ir.options[0];continue;case"group-off":Je.useGrouping=!1;continue;case"precision-integer":Je.maximumFractionDigits=0;continue;case"measure-unit":Je.style="unit",Je.unit=Ze(ir.options[0]);continue;case"compact-short":Je.notation="compact",Je.compactDisplay="short";continue;case"compact-long":Je.notation="compact",Je.compactDisplay="long";continue;case"scientific":Je=_e(_e(_e({},Je),{notation:"scientific"}),ir.options.reduce(function(Dr,Pr){return _e(_e({},Dr),jt(Pr))},{}));continue;case"engineering":Je=_e(_e(_e({},Je),{notation:"engineering"}),ir.options.reduce(function(Dr,Pr){return _e(_e({},Dr),jt(Pr))},{}));continue;case"notation-simple":Je.notation="standard";continue;case"unit-width-narrow":Je.currencyDisplay="narrowSymbol",Je.unitDisplay="narrow";continue;case"unit-width-short":Je.currencyDisplay="code",Je.unitDisplay="short";continue;case"unit-width-full-name":Je.currencyDisplay="name",Je.unitDisplay="long";continue;case"unit-width-iso-code":Je.currencyDisplay="symbol";continue}if(Ne.test(ir.stem)){if(ir.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");ir.stem.replace(Ne,function(Dr,Pr,jr){return Dr==="."?Je.maximumFractionDigits=0:jr==="+"?Je.minimumFractionDigits=jr.length:Pr[0]==="#"?Je.maximumFractionDigits=Pr.length:(Je.minimumFractionDigits=Pr.length,Je.maximumFractionDigits=Pr.length+(typeof jr=="string"?jr.length:0)),""}),ir.options.length&&(Je=_e(_e({},Je),bt(ir.options[0])));continue}if(Lt.test(ir.stem)){Je=_e(_e({},Je),bt(ir.stem));continue}var Rr=kt(ir.stem);Rr&&(Je=_e(_e({},Je),Rr))}return Je}var zt=function(){var $e=function(Je,xe){return $e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(st,ir){st.__proto__=ir}||function(st,ir){for(var Rr in ir)ir.hasOwnProperty(Rr)&&(st[Rr]=ir[Rr])},$e(Je,xe)};return function(Je,xe){$e(Je,xe);function st(){this.constructor=Je}Je.prototype=xe===null?Object.create(xe):(st.prototype=xe.prototype,new st)}}(),We=function(){for(var $e=0,Je=0,xe=arguments.length;Je<xe;Je++)$e+=arguments[Je].length;for(var st=Array($e),ir=0,Je=0;Je<xe;Je++)for(var Rr=arguments[Je],Dr=0,Pr=Rr.length;Dr<Pr;Dr++,ir++)st[ir]=Rr[Dr];return st},St=function($e){zt(Je,$e);function Je(xe,st){var ir=$e.call(this,xe)||this;return ir.variableId=st,ir}return Je}(Error);function Ft($e){return $e.length<2?$e:$e.reduce(function(Je,xe){var st=Je[Je.length-1];return!st||st.type!==0||xe.type!==0?Je.push(xe):st.value+=xe.value,Je},[])}function tt($e,Je,xe,st,ir,Rr,Dr){if($e.length===1&&_($e[0]))return[{type:0,value:$e[0].value}];for(var Pr=[],jr=0,pn=$e;jr<pn.length;jr++){var Cr=pn[jr];if(_(Cr)){Pr.push({type:0,value:Cr.value});continue}if(M(Cr)){typeof Rr=="number"&&Pr.push({type:0,value:xe.getNumberFormat(Je).format(Rr)});continue}var ln=Cr.value;if(!(ir&&ln in ir))throw new St('The intl string context variable "'+ln+'" was not provided to the string "'+Dr+'"');var rn=ir[ln];if(b(Cr)){(!rn||typeof rn=="string"||typeof rn=="number")&&(rn=typeof rn=="string"||typeof rn=="number"?String(rn):""),Pr.push({type:1,value:rn});continue}if(k(Cr)){var sn=typeof Cr.style=="string"?st.date[Cr.style]:void 0;Pr.push({type:0,value:xe.getDateTimeFormat(Je,sn).format(rn)});continue}if(R(Cr)){var sn=typeof Cr.style=="string"?st.time[Cr.style]:j(Cr.style)?De(Cr.style.pattern):void 0;Pr.push({type:0,value:xe.getDateTimeFormat(Je,sn).format(rn)});continue}if(S(Cr)){var sn=typeof Cr.style=="string"?st.number[Cr.style]:B(Cr.style)?Wt(Cr.style.tokens):void 0;Pr.push({type:0,value:xe.getNumberFormat(Je,sn).format(rn)});continue}if(A(Cr)){var wn=Cr.options[rn]||Cr.options.other;if(!wn)throw new RangeError('Invalid values for "'+Cr.value+'": "'+rn+'". Options are "'+Object.keys(Cr.options).join('", "')+'"');Pr.push.apply(Pr,tt(wn.value,Je,xe,st,ir));continue}if(D(Cr)){var wn=Cr.options["="+rn];if(!wn){if(!Intl.PluralRules)throw new St(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var pa=xe.getPluralRules(Je,{type:Cr.pluralType}).select(rn-(Cr.offset||0));wn=Cr.options[pa]||Cr.options.other}if(!wn)throw new RangeError('Invalid values for "'+Cr.value+'": "'+rn+'". Options are "'+Object.keys(Cr.options).join('", "')+'"');Pr.push.apply(Pr,tt(wn.value,Je,xe,st,ir,rn-(Cr.offset||0)));continue}}return Ft(Pr)}function _t($e,Je,xe,st,ir,Rr){var Dr=tt($e,Je,xe,st,ir,void 0,Rr);return Dr.length===1?Dr[0].value:Dr.reduce(function(Pr,jr){return Pr+=jr.value},"")}var dt,qe="@@",Be=/@@(\d+_\d+)@@/g,Ee=0;function Re(){return Date.now()+"_"+ ++Ee}function He($e,Je){return $e.split(Be).filter(Boolean).map(function(xe){return Je[xe]!=null?Je[xe]:xe}).reduce(function(xe,st){return xe.length&&typeof st=="string"&&typeof xe[xe.length-1]=="string"?xe[xe.length-1]+=st:xe.push(st),xe},[])}var ze=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Ye=Date.now()+"@@",ht=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function xt($e,Je,xe){var st=$e.tagName,ir=$e.outerHTML,Rr=$e.textContent,Dr=$e.childNodes;if(!st)return He(Rr||"",Je);st=st.toLowerCase();var Pr=~ht.indexOf(st),jr=xe[st];if(jr&&Pr)throw new St(st+" is a self-closing tag and can not be used, please use another tag name.");if(!Dr.length)return[ir];var pn=Array.prototype.slice.call(Dr).reduce(function(Cr,ln){return Cr.concat(xt(ln,Je,xe))},[]);return jr?typeof jr=="function"?[jr.apply(void 0,pn)]:[jr]:We(["<"+st+">"],pn,["</"+st+">"])}function nr($e,Je,xe,st,ir,Rr){var Dr=tt($e,Je,xe,st,ir,void 0,Rr),Pr={},jr=Dr.reduce(function(rn,sn){if(sn.type===0)return rn+=sn.value;var wn=Re();return Pr[wn]=sn.value,rn+=""+qe+wn+qe},"");if(!ze.test(jr))return He(jr,Pr);if(!ir)throw new St("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new St("Cannot format XML message without DOMParser");dt||(dt=new DOMParser);var pn=dt.parseFromString('<formatted-message id="'+Ye+'">'+jr+"</formatted-message>","text/html").getElementById(Ye);if(!pn)throw new St("Malformed HTML message "+jr);var Cr=Object.keys(ir).filter(function(rn){return!!pn.getElementsByTagName(rn).length});if(!Cr.length)return He(jr,Pr);var ln=Cr.filter(function(rn){return rn!==rn.toLowerCase()});if(ln.length)throw new St("HTML tag must be lowercased but the following tags are not: "+ln.join(", "));return Array.prototype.slice.call(pn.childNodes).reduce(function(rn,sn){return rn.concat(xt(sn,Pr,ir))},[])}var er=function(){return er=Object.assign||function($e){for(var Je,xe=1,st=arguments.length;xe<st;xe++){Je=arguments[xe];for(var ir in Je)Object.prototype.hasOwnProperty.call(Je,ir)&&($e[ir]=Je[ir])}return $e},er.apply(this,arguments)};function Le($e,Je){return Je?er(er(er({},$e||{}),Je||{}),Object.keys($e).reduce(function(xe,st){return xe[st]=er(er({},$e[st]),Je[st]||{}),xe},{})):$e}function Qe($e,Je){return Je?Object.keys($e).reduce(function(xe,st){return xe[st]=Le($e[st],Je[st]),xe},er({},$e)):$e}function Qt($e){return $e===void 0&&($e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:se(Intl.NumberFormat,$e.number),getDateTimeFormat:se(Intl.DateTimeFormat,$e.dateTime),getPluralRules:se(Intl.PluralRules,$e.pluralRules)}}var Rt=function(){function $e(Je,xe,st,ir){var Rr=this;if(xe===void 0&&(xe=$e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(Dr){return _t(Rr.ast,Rr.locales,Rr.formatters,Rr.formats,Dr,Rr.message)},this.formatToParts=function(Dr){return tt(Rr.ast,Rr.locales,Rr.formatters,Rr.formats,Dr,void 0,Rr.message)},this.formatHTMLMessage=function(Dr){return nr(Rr.ast,Rr.locales,Rr.formatters,Rr.formats,Dr,Rr.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(Rr.locales)[0]}},this.getAst=function(){return Rr.ast},typeof Je=="string"){if(this.message=Je,!$e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=$e.__parse(Je,{normalizeHashtagInPlural:!1})}else this.ast=Je;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Qe($e.formats,st),this.locales=xe,this.formatters=ir&&ir.formatters||Qt(this.formatterCache)}return $e.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,$e.__parse=ee,$e.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"}}},$e}(),Vt=Rt,Gt=Vt;function Tt($e,Je,xe){if(xe===void 0&&(xe=Error),!$e)throw new xe(Je)}const qt={38:"&",62:">",60:"<",34:""",39:"'"},Ue=/[&><"']/g;function fe($e){return(""+$e).replace(Ue,Je=>qt[Je.charCodeAt(0)])}function pe($e,Je,xe={}){return Je.reduce((st,ir)=>(ir in $e?st[ir]=$e[ir]:ir in xe&&(st[ir]=xe[ir]),st),{})}function Ot($e){Tt($e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ce($e,Je){const xe=Je?`
|
|
|
${Je.stack}`:"";return`[React Intl] ${$e}${xe}`}function ct($e){}const Kt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:ct};function At(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Te($e=At()){const Je=Intl.RelativeTimeFormat,xe=Intl.ListFormat,st=Intl.DisplayNames;return{getDateTimeFormat:se(Intl.DateTimeFormat,$e.dateTime),getNumberFormat:se(Intl.NumberFormat,$e.number),getMessageFormat:se(Gt,$e.message),getRelativeTimeFormat:se(Je,$e.relativeTime),getPluralRules:se(Intl.PluralRules,$e.pluralRules),getListFormat:se(xe,$e.list),getDisplayNames:se(st,$e.displayNames)}}function Et($e,Je,xe,st){const ir=$e&&$e[Je];let Rr;if(ir&&(Rr=ir[xe]),Rr)return Rr;st(Ce(`No ${Je} format named: ${xe}`))}const ye=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function et({locale:$e,formats:Je,onError:xe},st,ir={}){const{format:Rr}=ir,Dr=Rr&&Et(Je,"number",Rr,xe)||{},Pr=pe(ir,ye,Dr);return st($e,Pr)}function yt($e,Je,xe,st={}){try{return et($e,Je,st).format(xe)}catch(ir){$e.onError(Ce("Error formatting number.",ir))}return String(xe)}function Nt($e,Je,xe,st={}){try{return et($e,Je,st).formatToParts(xe)}catch(ir){$e.onError(Ce("Error formatting number.",ir))}return[]}const Fe=["numeric","style"];function Ir({locale:$e,formats:Je,onError:xe},st,ir={}){const{format:Rr}=ir,Dr=!!Rr&&Et(Je,"relative",Rr,xe)||{},Pr=pe(ir,Fe,Dr);return st($e,Pr)}function Ct($e,Je,xe,st,ir={}){st||(st="second"),Intl.RelativeTimeFormat||$e.onError(Ce(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return Ir($e,Je,ir).format(xe,st)}catch(Dr){$e.onError(Ce("Error formatting relative time.",Dr))}return String(xe)}const Gr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Qr({locale:$e,formats:Je,onError:xe,timeZone:st},ir,Rr,Dr={}){const{format:Pr}=Dr,jr=Object.assign(Object.assign({},st&&{timeZone:st}),Pr&&Et(Je,ir,Pr,xe));let pn=pe(Dr,Gr,jr);return ir==="time"&&!pn.hour&&!pn.minute&&!pn.second&&(pn=Object.assign(Object.assign({},pn),{hour:"numeric",minute:"numeric"})),Rr($e,pn)}function Mr($e,Je,xe,st={}){const ir=typeof xe=="string"?new Date(xe||0):xe;try{return Qr($e,"date",Je,st).format(ir)}catch(Rr){$e.onError(Ce("Error formatting date.",Rr))}return String(ir)}function Fr($e,Je,xe,st={}){const ir=typeof xe=="string"?new Date(xe||0):xe;try{return Qr($e,"time",Je,st).format(ir)}catch(Rr){$e.onError(Ce("Error formatting time.",Rr))}return String(ir)}function mr($e,Je,xe,st={}){const ir=typeof xe=="string"?new Date(xe||0):xe;try{return Qr($e,"date",Je,st).formatToParts(ir)}catch(Rr){$e.onError(Ce("Error formatting date.",Rr))}return[]}function $r($e,Je,xe,st={}){const ir=typeof xe=="string"?new Date(xe||0):xe;try{return Qr($e,"time",Je,st).formatToParts(ir)}catch(Rr){$e.onError(Ce("Error formatting time.",Rr))}return[]}const nn=["localeMatcher","type"];function cn({locale:$e,onError:Je},xe,st,ir={}){Intl.PluralRules||Je(Ce(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const Rr=pe(ir,nn);try{return xe($e,Rr).select(st)}catch(Dr){Je(Ce("Error formatting plural.",Dr))}return"other"}function Xt($e,Je){return Object.keys($e).reduce((xe,st)=>(xe[st]=Object.assign({timeZone:Je},$e[st]),xe),{})}function mt($e,Je){return Object.keys(Object.assign(Object.assign({},$e),Je)).reduce((st,ir)=>(st[ir]=Object.assign(Object.assign({},$e[ir]||{}),Je[ir]||{}),st),{})}function ut($e,Je){if(!Je)return $e;const xe=Gt.formats;return Object.assign(Object.assign(Object.assign({},xe),$e),{date:mt(Xt(xe.date,Je),Xt($e.date||{},Je)),time:mt(Xt(xe.time,Je),Xt($e.time||{},Je))})}const ft=$e=>r.createElement(r.Fragment,null,...$e);function $t({locale:$e,formats:Je,messages:xe,defaultLocale:st,defaultFormats:ir,onError:Rr,timeZone:Dr},Pr,jr={id:""},pn={}){const{id:Cr,defaultMessage:ln}=jr;Tt(!!Cr,"[React Intl] An `id` must be provided to format a message.");const rn=xe&&xe[String(Cr)];Je=ut(Je,Dr),ir=ut(ir,Dr);let sn=[];if(rn)try{sn=Pr.getMessageFormat(rn,$e,Je,{formatters:Pr}).formatHTMLMessage(pn)}catch(wn){Rr(Ce(`Error formatting message: "${Cr}" for locale: "${$e}"`+(ln?", using default message as fallback.":""),wn))}else(!ln||$e&&$e.toLowerCase()!==st.toLowerCase())&&Rr(Ce(`Missing message: "${Cr}" for locale: "${$e}"`+(ln?", using default message as fallback.":"")));if(!sn.length&&ln)try{sn=Pr.getMessageFormat(ln,st,ir).formatHTMLMessage(pn)}catch(wn){Rr(Ce(`Error formatting the default message for: "${Cr}"`,wn))}return sn.length?sn.length===1&&typeof sn[0]=="string"?sn[0]||ln||String(Cr):ft(sn):(Rr(Ce(`Cannot format message: "${Cr}", using message ${rn||ln?"source":"id"} as fallback.`)),typeof rn=="string"?rn||ln||String(Cr):ln||String(Cr))}function yr($e,Je,xe={id:""},st={}){const ir=Object.keys(st).reduce((Rr,Dr)=>{const Pr=st[Dr];return Rr[Dr]=typeof Pr=="string"?fe(Pr):Pr,Rr},{});return $t($e,Je,xe,ir)}var gr=e(18947),it=e.n(gr);const Tr=["localeMatcher","type","style"],fn=Date.now();function Ln($e){return`${fn}_${$e}_${fn}`}function Vr({locale:$e,onError:Je},xe,st,ir={}){Intl.ListFormat||Je(Ce(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const Dr=pe(ir,Tr);try{const Pr={},jr=st.map((Cr,ln)=>{if(typeof Cr=="object"){const rn=Ln(ln);return Pr[rn]=Cr,rn}return String(Cr)});return Object.keys(Pr).length?xe($e,Dr).formatToParts(jr).reduce((Cr,ln)=>{const rn=ln.value;return Pr[rn]?Cr.push(Pr[rn]):typeof Cr[Cr.length-1]=="string"?Cr[Cr.length-1]+=rn:Cr.push(rn),Cr},[]):xe($e,Dr).format(jr)}catch(Pr){Je(Ce("Error formatting list.",Pr))}return st}const Zn=["localeMatcher","style","type","fallback"];function Hn({locale:$e,onError:Je},xe,st,ir={}){Intl.DisplayNames||Je(Ce(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const Dr=pe(ir,Zn);try{return xe($e,Dr).of(st)}catch(Pr){Je(Ce("Error formatting display name.",Pr))}}const Pn=it()||gr;function yn($e){return{locale:$e.locale,timeZone:$e.timeZone,formats:$e.formats,textComponent:$e.textComponent,messages:$e.messages,defaultLocale:$e.defaultLocale,defaultFormats:$e.defaultFormats,onError:$e.onError}}function Vn($e,Je){const xe=Te(Je),st=Object.assign(Object.assign({},Kt),$e),{locale:ir,defaultLocale:Rr,onError:Dr}=st;return ir?!Intl.NumberFormat.supportedLocalesOf(ir).length&&Dr?Dr(Ce(`Missing locale data for locale: "${ir}" in Intl.NumberFormat. Using default locale: "${Rr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(ir).length&&Dr&&Dr(Ce(`Missing locale data for locale: "${ir}" in Intl.DateTimeFormat. Using default locale: "${Rr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(Dr&&Dr(Ce(`"locale" was not configured, using "${Rr}" 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:xe,formatNumber:yt.bind(null,st,xe.getNumberFormat),formatNumberToParts:Nt.bind(null,st,xe.getNumberFormat),formatRelativeTime:Ct.bind(null,st,xe.getRelativeTimeFormat),formatDate:Mr.bind(null,st,xe.getDateTimeFormat),formatDateToParts:mr.bind(null,st,xe.getDateTimeFormat),formatTime:Fr.bind(null,st,xe.getDateTimeFormat),formatTimeToParts:$r.bind(null,st,xe.getDateTimeFormat),formatPlural:cn.bind(null,st,xe.getPluralRules),formatMessage:$t.bind(null,st,xe),formatHTMLMessage:yr.bind(null,st,xe),formatList:Vr.bind(null,st,xe.getListFormat),formatDisplayName:Hn.bind(null,st,xe.getDisplayNames)})}class oi extends r.PureComponent{constructor(){super(...arguments),this.cache=At(),this.state={cache:this.cache,intl:Vn(yn(this.props),this.cache),prevConfig:yn(this.props)}}static getDerivedStateFromProps(Je,{prevConfig:xe,cache:st}){const ir=yn(Je);return Pn(xe,ir)?null:{intl:Vn(ir,st),prevConfig:ir}}render(){return Ot(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}oi.displayName="IntlProvider",oi.defaultProps=Kt;var mi=e(41920),Di=e(3424),ji=e.n(Di),gi=e(85239),Ea=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,Ji=Object.prototype.propertyIsEnumerable,It=($e,Je)=>{var xe={};for(var st in $e)ui.call($e,st)&&Je.indexOf(st)<0&&(xe[st]=$e[st]);if($e!=null&&Ea)for(var st of Ea($e))Je.indexOf(st)<0&&Ji.call($e,st)&&(xe[st]=$e[st]);return xe};let gt;const Oi=!0,Xi=new(ji()),vi=Symbol("LANG_CHANGE"),ya=($e,Je="")=>Object.keys($e).reduce((xe,st)=>{const ir=$e[st],Rr=Je?`${Je}.${st}`:st;return typeof ir=="string"?xe[Rr]=ir:Object.assign(xe,ya(ir,Rr)),xe},{}),yi={},qn=($e,Je,xe)=>{var st,ir,Rr,Dr;if(!$e)return;const Pr=(st=yi[$e])!=null&&st.messages?Object.assign({},yi[$e].messages,Je):Je,{momentLocale:jr=(ir=yi[$e])==null?void 0:ir.momentLocale,antd:pn=(Rr=yi[$e])==null?void 0:Rr.antd}=xe||{},Cr=(Dr=$e.split("-"))==null?void 0:Dr.join("-");yi[$e]={messages:Pr,locale:Cr,momentLocale:jr,antd:pn},Cr===Dt()&&Xi.emit(vi,Cr)},Sn=$e=>(0,mi.We)().applyPlugins({key:"locale",type:"modify",initialValue:$e}),rr=$e=>{const xe=Sn(yi[$e]),{cache:st}=xe,ir=It(xe,["cache"]);return Vn(ir,st)},vt=($e,Je)=>gt&&!Je&&!$e?gt:($e||($e=Dt()),$e&&yi[$e]?rr($e):yi["zh-CN"]?rr("zh-CN"):Vn({locale:"zh-CN",messages:{}})),nt=$e=>{gt=vt($e,!0)},Dt=()=>{const $e=Sn({});return typeof($e==null?void 0:$e.getLocale)=="function"?$e.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&Oi?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},pt=()=>{const $e=Dt();return["he","ar","fa","ku"].filter(st=>$e.startsWith(st)).length?"rtl":"ltr"},cr=($e,Je=!0)=>{(()=>{if(Dt()!==$e){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&Oi&&window.localStorage.setItem("umi_locale",$e||""),nt($e),Je)window.location.reload();else if(Xi.emit(vi,$e),window.dispatchEvent){const st=new Event("languagechange");window.dispatchEvent(st)}}})()};let dr=!0;const Ar=($e,Je)=>(dr&&(warning(!1,`Using this API will cause automatic refresh when switching languages, please use useIntl or injectIntl.
|
|
|
|
|
|
\u4F7F\u7528\u6B64 api \u4F1A\u9020\u6210\u5207\u6362\u8BED\u8A00\u7684\u65F6\u5019\u65E0\u6CD5\u81EA\u52A8\u5237\u65B0\uFF0C\u8BF7\u4F7F\u7528 useIntl \u6216 injectIntl\u3002
|
|
|
|
|
|
http://j.mp/37Fkd5Q
|
|
|
`),dr=!1),gt||nt(Dt()),gt.formatMessage($e,Je)),Zr=()=>Object.keys(yi)},6383: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(4787),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 G=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>G.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const V=p.filter(G=>(0,c.t)(G));return!V||!V.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(V.join(""))}let b=y.candidate.candidate.split(" "),[S,k,R,A,D,M,,B,...j]=b,Y=["rtp","rtpc"];if(console.log("event:",y),p.some(V=>V==D)||p.push(D),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+Y[k-1]),console.log(" protocol: "+R),console.log(" priority: "+A),console.log(" ip: "+D),console.log(" port: "+M),console.log(" type: "+B),j.length){console.log("attributes: ");for(let V=0;V<j.length;V+=2)console.log("> "+j[V]+": "+j[V+1])}}})},28426: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:D,Buttonclass:M,ButtonTwo:B,imgStyles:j,loading:Y=!1})=>r.createElement("section",{className:"tc animated fadeIn",style:p(p({},{color:"#999",margin:"100px auto",visibility:Y?"hidden":"visible"}),k)},r.createElement("img",{src:b||i,style:y(p({},j),{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:D},S),A),B&&B);v.Z=_},75617:function(d,v,e){"use strict";e.d(v,{Z:function(){return ae}});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(14809),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(ue,q){return r.createElement(h.Z,(0,c.Z)({},ue,{ref:q,icon:o}))},a=r.forwardRef(u),x=a,p=e(75975),y=e(6848),_=e(51257),b=e(81722),S=e(28426),k=e(346),R=e(44203),A=e(59301),D=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable,Y=(ie,ue,q)=>ue in ie?D(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:q}):ie[ue]=q,V=(ie,ue)=>{for(var q in ue||(ue={}))B.call(ue,q)&&Y(ie,q,ue[q]);if(M)for(var q of M(ue))j.call(ue,q)&&Y(ie,q,ue[q]);return ie},G=(ie,ue,q)=>new Promise((J,K)=>{var oe=le=>{try{Q(q.next(le))}catch(Z){K(Z)}},ee=le=>{try{Q(q.throw(le))}catch(Z){K(Z)}},Q=le=>le.done?J(le.value):Promise.resolve(le.value).then(oe,ee);Q((q=q.apply(ie,ue)).next())}),ae=({editOffice:ie="view",data:ue,theme:q,type:J,filename:K,monacoEditor:oe,className:ee,style:Q,close:le,onClose:Z,hasMask:$,disabledDownload:se,onImgDimensions:_e,showNodata:Ie,recordInfo:De})=>{const[Ze,Ne]=(0,r.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Lt,bt]=(0,r.useState)(""),[kt,jt]=(0,r.useState)(),Wt=window.ENV==="build"?"/react/build":"",zt=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,St=10*(1024*1024),Ft=(0,r.useRef)();ue!=null&&ue.startsWith("/api")&&J!=="txt"&&(ue=k.Z.API_SERVER+ue);const tt=Be=>Be.substring(Be.lastIndexOf("/")+1).split(".").pop();K&&oe&&(oe.filename=K),(0,r.useEffect)(()=>{var Be,Ee;const Re=(Ee=(Be=document.cookie)==null?void 0:Be.replace(/\s/g,""))==null?void 0:Ee.split(";");Re==null||Re.map(He=>{let ze=He.split("=");ze[0]==="_educoder_session"&&bt(ze[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(ue.indexOf("bigfilescdn.")>-1||ue.indexOf("bigfiles1")>-1?jt({url:ue,fileType:tt(ue),model:ue.indexOf("model=edit")?"edit":"view"}):_t())},[J,ue]);const _t=()=>G(void 0,null,function*(){console.log("data:",ue);let Be=ue;ue.startsWith("http")||(Be=location.origin+Be);let Ee=new URL(Be).pathname.split("/").pop();const Re=yield(0,b.gJ)({attachment_id:Ee});Re.url=zt+Re.url,jt(Re)}),dt=()=>{if(ue.startsWith("http")||ue.startsWith("blob:")){qe();return}(0,_.Nd)(K||"educoder",decodeURIComponent(ue))},qe=()=>{De&&(0,R.fc)({id:De==null?void 0:De.id,watch_type:1,course_id:De==null?void 0:De.course_id}),(0,_.Nd)(K||"educoder",decodeURIComponent(ue))};return console.log(ue,"data"),A.createElement("div",{style:V({},Q||{}),className:`${$&&i.bgBlack} ${J?i.wrp:"hide"}`},le&&A.createElement("div",{className:i.close,ref:Ft},!!_e&&A.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ft.current},A.createElement("span",{onClick:()=>{Z(),_e()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!se&&A.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ft.current},A.createElement("span",{onClick:qe},A.createElement("i",{className:"icon-quxiaozhiding"}))),A.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ft.current},A.createElement("span",{className:"",onClick:Z},A.createElement("i",{className:"icon-guanbi1"})))),A.createElement("div",{className:`${i[ee]} ${ee} ${i.monaco} ${J==="txt"?"show":"hide"}`},J==="txt"&&A.createElement(A.Fragment,null,A.createElement(p.ZP,V({},oe)))),J==="audio"&&A.createElement("audio",{src:(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?ue:`data:image/png;base64,${ue}`,autoPlay:!0}),J==="video"&&A.createElement(A.Fragment,null,(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?A.createElement("video",{controls:!0,src:`${ue}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${ue}`,autoPlay:!0})),J==="office"&&kt&&A.createElement("iframe",{src:`${Wt}/office.html?key=${kt.key}&url=${btoa(kt.url)}&callbackUrl=${zt+(kt.callbackUrl||"")}&fileType=${kt.fileType}&title=${kt.title||""}&model=${ie}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!se}`}),J==="html"&&A.createElement("iframe",{src:ue+"&disposition=inline"}),J==="pdf"&&A.createElement("iframe",{src:`${Wt}/js/pdfview/index.html?filename=${K||"educoder.pdf"}&url=${encodeURIComponent(ue)}&disabledDownload=${!!se}`}),J==="image"&&A.createElement("img",{src:(ue==null?void 0:ue.indexOf("http"))>-1||ue!=null&&ue.startsWith("/api")?ue:`data:image/png;base64,${ue}`}),(J==="other"||J==="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:dt,disabled:se},"\u4E0B\u8F7D")}):A.createElement(l.ZP,{type:"primary",size:"middle",onClick:dt,disabled:se},A.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},91842:function(d,v,e){"use strict";e.d(v,{z:function(){return V},Z:function(){return G}});var r=e(59301),i=e(8944),l=e(81428),c=e(64018),f=e(15360),o=e(346),h=e(51257),u=e(15342),a=e(1012),x=e(75617),p=e(59301),_=({html:ae})=>{const ie=(0,r.useRef)(null),ue=(0,r.useRef)(null),q=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 36px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,r.useEffect)(()=>{const J=ie.current.attachShadow({mode:"open"});ue.current=document.createElement("div"),ue.current.className="markdown-body",ue.current.innerHTML=ae,J.appendChild(ue.current);const K=document.createElement("style");return K.textContent=q,J.appendChild(K),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{ue.current&&(ue.current.innerHTML=ae)},[ae]),p.createElement("div",{ref:ie})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(ae,ie,ue)=>ie in ae?b(ae,ie,{enumerable:!0,configurable:!0,writable:!0,value:ue}):ae[ie]=ue,D=(ae,ie)=>{for(var ue in ie||(ie={}))k.call(ie,ue)&&A(ae,ue,ie[ue]);if(S)for(var ue of S(ie))R.call(ie,ue)&&A(ae,ue,ie[ue]);return ae};const M="@\u2581\u2581@",B="@\u2581@",j=/<pre[^>]*>/g;function Y(ae){let ie=document.createElement("div");return ie.innerHTML=ae,ie.childNodes.length===0?"":ie.childNodes[0].nodeValue}const V=(ae,ie)=>{ae=ae||"";const ue=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,q=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,J=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,K=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ie?ae.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(ue,(oe,ee,Q,le,Z,$,se)=>{const _e=ee||le||$,Ie=Q||Z||se||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Ie+"&t="+(0,h.Jn)(_e,Date.now())+(oe.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ae=ae.replace(K,(oe,ee,Q,le,Z,$,se)=>{const _e=ee||le||$,Ie=Q||Z||se||"?";return o.Z.API_SERVER+"/attachments/download/"+_e+Ie+"&t="+(0,h.Jn)(_e,Date.now())+(oe.indexOf(")")>-1?")":"&")}).replace(ue,(oe,ee,Q,le,Z,$,se)=>{const _e=ee||le||$,Ie=Q||Z||se||"?";return o.Z.API_SERVER+"/api/attachments/"+_e+Ie+"&t="+(0,h.Jn)(_e,Date.now())+(oe.indexOf(")")>-1?")":"&")}).replace(q,(oe,ee,Q,le,Z)=>{const $=ee||le,se=Q||Z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+$+se+$+se+"&t="+(0,h.Jn)($,Date.now())}).replace(J,(oe,ee,Q,le,Z)=>{const $=ee||le,se=Q||Z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+$+se+$+se+"&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,`
|
|
|
`),ae)};var G=({value:ae="",className:ie,showTextOnly:ue,showLines:q,style:J={},stylesPrev:K={},highlightKeywords:oe,showProgramFill:ee,isProgramFill:Q,disabledFill:le=!1,programFillValue:Z,onFillChange:$=Ie=>{},onFillBlur:se=()=>{},onFillFocus:_e=()=>{}})=>{let Ie=String(ae);const[De,Ze]=(0,r.useState)(""),[Ne,Lt]=(0,r.useState)("office"),[bt,kt]=(0,r.useState)([]),jt=(0,r.useRef)("a"+(0,a.Z)()),Wt={},zt=(ze,Ye,ht)=>{const xt=document.createElement(ze===B?"input":"textarea");xt.style.width="100%",xt.style.height=ze===B?"40px":"151px",xt.rows=5,xt.spellcheck=!1,xt.name="edu-program-fill",xt.placeholder="\u8BF7\u8F93\u5165",xt.dataset.id=Ye;const nr=Object.keys(Wt).length;return Wt[nr]=xt,`<span class="edu-program-fill-wrap ${ze===B?"":"show"}" style="width:${ze===B?"600px":"100%"}" title=${ht||""}><span>${xt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function We(ze){return ze=ze.replace(/!\[.*?\]\(.*?\)/g,""),ze=ze.replace(/\[.*?\]\(.*?\)/g,""),ze=ze.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),ze=ze.replace(/<embed.*?>/g,""),ze=ze.replace(/<img.*?>/g,""),ze=ze.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),ze=ze.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),ze=ze.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),ze=ze.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),ze}const St=ze=>ze.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Ye,ht){let xt=ht.replace(/(\n|\r)/g,"").split("}"),nr=[];return xt.map(er=>{er!=""&&nr.push(`.${jt.current} ${er}`)}),`<style>${nr.join("}")}</style>`}),Ft=(0,r.useMemo)(()=>{try{const xt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,nr=/\"\/api\/attachments\/|\"\/attachments\/download\//g,er=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Le=/\(\/attachments\/download\//g;Ie=Ie.replace(Le,"("+o.Z.API_SERVER+"/attachments/download/").replace(xt,"("+o.Z.API_SERVER+"/api/attachments/").replace(nr,'"'+o.Z.API_SERVER+"/api/attachments/").replace(er,'"'+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(xt){}if(ee){let xt=-1;return Ie=Ie.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(nr,er,Le){var Qe;return++xt,zt(nr,xt,(Qe=Z==null?void 0:Z[xt])==null?void 0:Qe.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${St(Ie||"")}</pre>`}let ze=St(Ie);ze=(0,l.ZP)(ze);const Ye=(0,l.ez)();Ie.match(/\[TOC\]/)&&(ze=ze.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),ze=ze.replace(/(__special_katext_id_\d+__)/g,(xt,nr)=>{const{type:er,expression:Le}=Ye[nr];return(0,u.renderToString)(Y(Le)||"",{displayMode:er==="block",throwOnError:!1,output:"html"})}),ze=ze.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const ht=document.createElement("div");if(ht.innerHTML=ze,ue)return ht.innerText;if(oe){const xt=oe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return qe(ht,xt),ht.innerHTML}return setTimeout(()=>Re(),500),ht.innerHTML},[Ie,oe]);(0,r.useEffect)(()=>{Be.current&&Be.current.querySelectorAll(["input","textarea"]).forEach(Ye=>{Ye.oninput=tt,Ye.onblur=_t,Ye.onfocus=dt})},[bt]),(0,r.useEffect)(()=>{var ze,Ye,ht,xt,nr;if(Z!=null&&Z.length)try{const er=Be.current.querySelectorAll(".edu-program-fill-score"),Le=Be.current.querySelectorAll('[name="edu-program-fill"]');for(const[Qe,Qt]of Le.entries())Qt.value=((ze=Z==null?void 0:Z[Qe])==null?void 0:ze.value)||"",((Ye=Z==null?void 0:Z[Qe])==null?void 0:Ye.type)==="warning"?Qt.className="program-fill-warning":((ht=Z==null?void 0:Z[Qe])==null?void 0:ht.type)==="success"?Qt.className="program-fill-success":Qt.className="";for(const[Qe,Qt]of er.entries())Qt.innerHTML=(xt=Z==null?void 0:Z[Qe])!=null&&xt.score?`${(nr=Z==null?void 0:Z[Qe])==null?void 0:nr.score}\u5206`:"";kt(Z)}catch(er){console.log(er,"error")}},[Z]);const tt=ze=>{bt[ze.target.dataset.id]=bt[ze.target.dataset.id]||{},bt[ze.target.dataset.id].value=ze.target.value,kt([...bt]),$(bt,ze.target.dataset.id)},_t=ze=>{bt[ze.target.dataset.id]=bt[ze.target.dataset.id]||{},bt[ze.target.dataset.id].value=ze.target.value,kt([...bt]),se(bt,ze.target.dataset.id)},dt=ze=>{bt[ze.target.dataset.id]=bt[ze.target.dataset.id]||{},bt[ze.target.dataset.id].value=ze.target.value,kt([...bt]),_e(bt,ze.target.dataset.id)};function qe(ze,Ye){return ze.childNodes.forEach(ht=>{var xt;if(ht.childNodes.length>0)qe(ht,Ye);else if(ht.nodeName!=="IMG")if(ht.innerHTML)ht.innerHTML=(xt=ht.innerHTML)==null?void 0:xt.replace(new RegExp(Ye,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const nr=document.createElement("span");nr.innerHTML=ht.textContent.replace(new RegExp(Ye,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),ht.replaceWith(nr)}})}const Be=(0,r.useRef)();l.jb.WebkitLineClamp=q,q&&(J=D(D({},J),l.jb));function Ee(ze){let Ye=ze.target;if(Ye.tagName.toUpperCase()==="A"){let ht=Ye.getAttribute("href");if(ht.indexOf("office")>-1)ze.preventDefault(),Ze(ht),Lt("office");else if(ht.indexOf("application/pdf")>-1)ze.preventDefault(),Ze(ht),Lt("pdf");else if(ht.indexOf("text/html")>-1)ze.preventDefault(),Ze(ht),Lt("html");else if(ht.startsWith("#")){ze.preventDefault();let xt=document.getElementById(ht.replace("#",""));xt&&xt.scrollIntoView(!0)}}}const Re=()=>{var ze;const Ye=(ze=Be.current)==null?void 0:ze.querySelectorAll("video");Ye==null||Ye.forEach(ht=>{if(ht.oncontextmenu=()=>!1,ht.src.indexOf(".m3u8")>-1&&!ht.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var xt=new f.ZP;xt.loadSource(ht.src),xt.attachMedia(ht)}}})};(0,r.useEffect)(()=>{if(Be.current&&Ft&&Ft.match(j)&&window.PR.prettyPrint(),Be.current)return Be.current.addEventListener("click",Ee),()=>{var ze;(ze=Be.current)==null||ze.removeEventListener("click",Ee),(0,l.AL)(),(0,l.Iy)()}},[Ft,Be.current,Ee]),(0,r.useEffect)(()=>{var ze;const Ye=ht=>{ht.preventDefault(),ht.clipboardData.setData("text",window.getSelection().toString())};return(ze=Be.current)==null||ze.addEventListener("copy",Ye),()=>{var ht;(ht=Be.current)==null||ht.removeEventListener("copy",Ye)}},[Be.current]);const He=ze=>/<style[\s\S]*?>/i.test(ze||"");return r.createElement(r.Fragment,null,ue&&r.createElement("div",{ref:Be},Ft),!ue&&!He(Ft)&&r.createElement("div",{ref:Be,style:D({},J),className:`${ie||""} ${le?"disabled-fill":""} markdown-body ${jt.current}`,dangerouslySetInnerHTML:{__html:Ft}}),!ue&&He(Ft)&&r.createElement(_,{html:Ft}),r.createElement(x.Z,{close:!0,data:De,type:De!=null&&De.length?Ne:"",style:D({},K),onClose:()=>Ze("")}))}},75975:function(d,v,e){"use strict";e.d(v,{SV:function(){return kt},ZP:function(){return bt}});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=(jt,Wt,zt)=>new Promise((We,St)=>{var Ft=dt=>{try{_t(zt.next(dt))}catch(qe){St(qe)}},tt=dt=>{try{_t(zt.throw(dt))}catch(qe){St(qe)}},_t=dt=>dt.done?We(dt.value):Promise.resolve(dt.value).then(Ft,tt);_t((zt=zt.apply(jt,Wt)).next())});const p={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"]}},y=(jt,Wt,zt,We)=>{const St=Wt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:zt.lineNumber,endColumn:zt.column});return Array.from(new Set(St.match(/\b\w{2,}\b/g)||[])).map(tt=>({label:tt,kind:jt.languages.CompletionItemKind.Text,insertText:tt,range:We}))},_=(jt,Wt,zt,We)=>{jt.languages.registerCompletionItemProvider(Wt,{provideCompletionItems(St,Ft){const tt=St.getWordUntilPosition(Ft),_t={startLineNumber:Ft.lineNumber,endLineNumber:Ft.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},dt=St.getLineContent(Ft.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...y(jt,St,Ft,_t),...zt.map(Be=>({label:Be,kind:jt.languages.CompletionItemKind.Keyword,documentation:Be,insertText:Be,insertTextRules:jt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:_t})),...We.map(Be=>({label:Be.label,kind:jt.languages.CompletionItemKind.Snippet,documentation:Be.content,insertText:dt.startsWith("#")?Be.content.replace(/#/,""):Be.content,insertTextRules:jt.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:_t}))]}}})};var b=jt=>{p.languages.forEach(Wt=>{jt.languages.registerDocumentFormattingEditProvider(Wt,{provideDocumentFormattingEdits(zt){return x(this,null,function*(){const We=a()(zt.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:zt.getFullModelRange(),text:We}]})}})}),_(jt,"java",c.keywords,c.quickKey),_(jt,"cpp",f.keywords,f.quickKey),_(jt,"c",l.keywords,[]),_(jt,"python",o.keywords,o.quickKey),_(jt,"scala",h.keywords,h.quickKey)};const S="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var k=Object.defineProperty,R=(jt,Wt,zt)=>Wt in jt?k(jt,Wt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):jt[Wt]=zt,A=(jt,Wt,zt)=>R(jt,typeof Wt!="symbol"?Wt+"":Wt,zt);const D=class Rd{constructor(Wt,zt,We){this.placeholder=Wt,this.editor=zt,this.monaco=We,zt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Rd.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};A(D,"ID","editor.widget.placeholderHint");var B=D,j=e(96236),Y=e(8591),V=e(6848),G=e(89392),ae=e(49535),ie=e(56102),ue=Object.defineProperty,q=Object.defineProperties,J=Object.getOwnPropertyDescriptors,K=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,Q=(jt,Wt,zt)=>Wt in jt?ue(jt,Wt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):jt[Wt]=zt,le=(jt,Wt)=>{for(var zt in Wt||(Wt={}))oe.call(Wt,zt)&&Q(jt,zt,Wt[zt]);if(K)for(var zt of K(Wt))ee.call(Wt,zt)&&Q(jt,zt,Wt[zt]);return jt},Z=(jt,Wt)=>q(jt,J(Wt)),$=(jt,Wt)=>{var zt={};for(var We in jt)oe.call(jt,We)&&Wt.indexOf(We)<0&&(zt[We]=jt[We]);if(jt!=null&&K)for(var We of K(jt))Wt.indexOf(We)<0&&ee.call(jt,We)&&(zt[We]=jt[We]);return zt},se=(jt,Wt,zt)=>new Promise((We,St)=>{var Ft=dt=>{try{_t(zt.next(dt))}catch(qe){St(qe)}},tt=dt=>{try{_t(zt.throw(dt))}catch(qe){St(qe)}},_t=dt=>dt.done?We(dt.value):Promise.resolve(dt.value).then(Ft,tt);_t((zt=zt.apply(jt,Wt)).next())});function _e(jt){return/^\d+$/.test(jt)?`${jt}px`:jt}function Ie(){}let De=!1;const Ze={"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 Ne(jt=[]){let Wt=jt;if(Array.isArray(jt)){for(let zt=0;zt<jt.length;zt++){let We=Ze[jt[zt]];if(We)return We}return Wt[0]}return Ze[Wt]||Wt}let Lt=null;var bt=jt=>{var Wt=jt,{width:zt="100%",height:We="100%",value:St,language:Ft="javascript",style:tt={},options:_t={},overrideServices:dt={},theme:qe="vs-dark",onEditBlur:Be,isCopy:Ee=!1,onSave:Re,autoHeight:He=!1,forbidCopy:ze=!1,onChange:Ye=Ie,editorDidMount:ht=Ie,onFocus:xt=Ie,onBreakPoint:nr=Ie,breakPointValue:er=[],filename:Le="educoder.txt",errorLine:Qe,errorContent:Qt="",highlightLine:Rt,openBreakPoint:Vt=!1,placeholder:Gt=""}=Wt,Tt=$(Wt,["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 qt=(0,r.useRef)(),Ue=(0,r.useRef)({}),fe=(0,r.useRef)(),pe=(0,r.useRef)(),Ot=(0,r.useRef)([]),Ce=(0,r.useRef)(!1),ct=(0,r.useRef)(),Kt=(0,r.useRef)(),At=(0,r.useRef)(!1),[Te,Et]=(0,r.useState)(!1);function ye(){let Xt;return qt.current&&(Xt=new i.Z(mt=>{for(let ut of mt)(ut.target.offsetHeight>0||ut.target.offsetWidth>0)&&Ue.current.instance.layout()}),Xt.observe(qt.current)),Xt}function et(){Y.ZP.warning({content:decodeURIComponent(S),key:"monaco-editor-tip"})}const yt=()=>{let Xt=Ue.current.instance;if(St!=null&&Xt&&Te){const mt=Xt.getModel();mt&&St!==mt.getValue()&&(De=!0,mt.setValue(St),Xt.layout(),De=!1)}};(0,r.useEffect)(()=>{const Xt=ae.Z.subscribe("formatDocument",mt=>{var ut;let ft=Ue.current.instance;(ut=ft==null?void 0:ft.getAction)==null||ut.call(ft,"editor.action.formatDocument").run()});return window.updateMonacoValue=mt=>{Ye(mt)},Xt},[]),(0,r.useEffect)(()=>{var Xt;let mt=Ue.current.instance;pe.current&&clearTimeout(pe.current),pe.current=setTimeout(()=>{yt()},500),St&&(St!=null&&St.length)&&((Xt=mt==null?void 0:mt.updateOptions)==null||Xt.call(mt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(St.split(/\r\n|\r|\n/g).length))+3,5)}))},[St,Te,Ue.current]),(0,r.useEffect)(()=>{if(Qe&&Ue.current&&Ue.current.instance){let mt=Ue.current.instance;mt.changeViewZones(function(ut){var ft=document.createElement("div");ft.style.padding="10px 20px",ft.style.width="calc(100% - 20px)",ft.className="my-error-line-wrp",ft.innerHTML=Qt,ut.addZone({afterLineNumber:Qe||11,heightInLines:3,domNode:ft})});var Xt={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}};mt.addOverlayWidget(Xt),mt.revealPositionInCenter({lineNumber:20,column:1})}},[Qe,Ue.current,Te]);const Nt=(Xt="",mt)=>{if(!Xt||Xt.trim()==="")return!0;const ft=Ue.current.instance.getModel().getLineTokens(mt);let $t=!1;for(let yr=0;yr<2;yr++)ft.getStandardTokenType(yr)===1&&($t=!0);return $t};(0,r.useEffect)(()=>{var Xt;const mt=(Xt=Ue.current)==null?void 0:Xt.instance;if(mt&&Te&&ze){const ut=mt.onDidBlurEditorWidget(()=>{At.current=!1}),ft=mt.onDidFocusEditorText(()=>{At.current=!0});return()=>{ut.dispose(),ft.dispose()}}},[Ue.current,Te,ze]),(0,r.useEffect)(()=>{var Xt;if((Xt=Ue.current)!=null&&Xt.instance&&Te&&Vt){let mt=Ue.current.instance,ut=mt.getModel();if(!ut)return;(()=>{var Pn;let yn=[],Vn=[];const oi=ut.getAllDecorations();for(let Di of oi)Di.options.className==="highlighted-line"&&(yn.push((Pn=Di==null?void 0:Di.range)==null?void 0:Pn.startLineNumber),Vn.push(Di==null?void 0:Di.id));if(Rt===yn[0])return;ut.deltaDecorations(Vn,[]);const mi=ut.getLineCount();Rt&&Rt<=mi&&(mt.deltaDecorations([],[{range:new Lt.Range(Rt,1,Rt,ut.getLineMaxColumn(Rt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),mt.revealLineInCenter(Rt))})();const $t=(Pn=!1)=>{var yn;let Vn=[],oi=[];const mi=ut.getAllDecorations();for(let Di of mi)Di.options.linesDecorationsClassName==="breakpoints-select"&&(Vn.push((yn=Di==null?void 0:Di.range)==null?void 0:yn.startLineNumber),oi.push(Di==null?void 0:Di.id));if(Pn)return{lines:Vn,ids:oi};nr(Vn)},yr=Pn=>se(void 0,null,function*(){let yn={range:new Lt.Range(Pn,1,Pn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield ut.deltaDecorations([],[yn]),$t()}),gr=Pn=>se(void 0,null,function*(){let yn=[];const Vn=mt.getLineDecorations(Pn);for(let oi of Vn)oi.options.linesDecorationsClassName==="breakpoints-select"&&yn.push(oi.id);yield ut.deltaDecorations(yn,[]),$t()}),it=Pn=>{let yn=mt.getLineDecorations(Pn);for(let Vn of yn)if(Vn.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,G.isEqual)(er,$t(!0).lines)){ut.deltaDecorations($t(!0).ids,[]);const Pn=er.map(yn=>({range:new Lt.Range(yn,1,yn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));ut.deltaDecorations([],Pn)}const Tr=mt.onDidChangeModelContent(Pn=>{let yn=mt.getPosition();if(yn){let Vn=yn.lineNumber;clearTimeout(Kt.current),Kt.current=setTimeout(()=>{Nt(ut.getLineContent(Vn),Vn)?gr(Vn):it(Vn)?(gr(Vn),yr(Vn)):$t()},100)}}),fn=mt.onMouseDown(Pn=>{var yn,Vn,oi;if(Pn.target.detail&&((oi=(Vn=(yn=Pn.target)==null?void 0:yn.element)==null?void 0:Vn.className)!=null&&oi.includes("line-numbers"))){let mi=Pn.target.position.lineNumber;if(Nt(ut.getLineContent(mi),mi))return;it(mi)?gr(mi):yr(mi)}}),Ln=Pn=>{let yn={range:new Lt.Range(Pn,1,Pn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ot.current=mt.deltaDecorations(Ot.current,[yn])},Vr=()=>{Ot.current=mt.deltaDecorations(Ot.current,[])},Zn=mt.onMouseMove(Pn=>{var yn,Vn,oi;if(Vr(),Pn.target.detail&&((oi=(Vn=(yn=Pn.target)==null?void 0:yn.element)==null?void 0:Vn.className)!=null&&oi.includes("line-numbers"))){let mi=Pn.target.position.lineNumber;if(Nt(ut.getLineContent(mi),mi))return;Ln(mi)}}),Hn=mt.onMouseLeave(()=>{Vr()});return()=>{Tr.dispose(),fn.dispose(),Zn.dispose(),Hn.dispose()}}},[Ue.current,Te,er,Rt,Vt,Ft]),(0,r.useEffect)(()=>{var Xt;(Xt=Ue.current)!=null&&Xt.instance&&Vt&&Ue.current.instance.setPosition({lineNumber:0,column:0})},[Rt]);function Fe(){let Xt=Ue.current.instance;if(Xt){const mt=Xt.getSelection(),ut=Ue.current.pastePos||{},ft=new Lt.Range(ut.startLineNumber||mt.endLineNumber,ut.startColumn||mt.endColumn,ut.endLineNumber||mt.endLineNumber,ut.endColumn||mt.endColumn);setTimeout(()=>{Xt.executeEdits("",[{range:ft,text:""}])},300)}}function Ir(Xt){(window.navigator.platform.match("Mac")?Xt.metaKey:Xt.ctrlKey)&&Xt.keyCode==83&&(Xt.preventDefault(),Re())}const Ct=()=>{if(He&&Ue.current.instance){const Xt=Ue.current.instance.getContentHeight();nn(Xt<We?We:Xt)}else nn(We)};function Gr(Xt){var mt=document.createEvent("MouseEvents");mt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Xt.dispatchEvent(mt)}const Qr=Xt=>{if(!At.current)return;const{keyCode:mt,ctrlKey:ut,metaKey:ft,target:$t,type:yr}=Xt;return(yr==="paste"||(mt===67||mt===86)&&(ft||ut))&&$t.nodeName==="TEXTAREA"&&(et(),Xt.preventDefault()),!1};function Mr(Xt,mt){var ut=window.URL||window.webkitURL||window,ft=new Blob([mt]),$t=document.createElementNS("http://www.w3.org/1999/xhtml","a");$t.href=ut.createObjectURL(ft),$t.download=Xt,Gr($t)}(0,r.useEffect)(()=>{Ct()},[Ct]),(0,r.useEffect)(()=>{qt.current&&!Te&&Promise.all([e.e(8909),e.e(6656)]).then(e.bind(e,71448)).then(Xt=>{try{Lt=Xt,Ue.current.instance=Lt.editor.create(qt.current,{value:St,language:Ne(Ft),theme:qe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},dt);const mt=Ue.current.instance;let $t=[...j.BH._menuItems].find(Tr=>Tr[0]._debugName=="EditorContext")[1],yr=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],gr=(Tr,fn)=>{var Ln,Vr;let Zn=Tr._first;do fn.includes((Vr=(Ln=Zn.element)==null?void 0:Ln.command)==null?void 0:Vr.id)&&Tr._remove(Zn);while(Zn=Zn.next)};if(ht(mt,Lt),setTimeout(()=>{Ct(),Ue.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Mr(Le||"educoder.txt",mt.getValue())}})},500),Ue.current.subscription=mt.onDidChangeModelContent(Tr=>{Ce.current?clearTimeout(ct.current):(Ct(),Ye(mt.getValue(),Tr)),ct.current=setTimeout(()=>{Ce.current=!1},500)}),window.Monaco||b(Lt,Ne(Ft)),ze&&(gr($t,yr),qt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Qr),window.removeEventListener("paste",Qr),window.addEventListener("keydown",Qr),window.addEventListener("paste",Qr)),window.Monaco=Lt,Be&&mt.onDidBlurEditorWidget(()=>{Be(mt.getValue())}),xt&&mt.onDidFocusEditorText(()=>{xt(mt.getValue())}),ze)try{mt.onDidPaste(Tr=>{const fn=mt.getSelection(),Ln=Ue.current.pastePos||{},Vr=new Lt.Range(Ln.startLineNumber||fn.endLineNumber,Ln.startColumn||fn.endColumn,Ln.endLineNumber||fn.endLineNumber,Ln.endColumn||fn.endColumn);mt.executeEdits("",[{range:Tr.range,text:""}])})}catch(Tr){}let it=ye();return Gt&&typeof Gt=="string"&&new B(Gt,mt,Lt),Et(!0),()=>{const Tr=Ue.current.instance;Tr.dispose();const fn=Tr.getModel();fn&&fn.dispose(),Ue.current.subscription&&Ue.current.subscription.dispose(),it.unobserve(qt.current)}}catch(mt){}})},[]),(0,r.useEffect)(()=>{if(Ue.current.instance&&Te)return document.addEventListener("keydown",Ir,!1),()=>{document.removeEventListener("keydown",Ir)}},[Re,Te]),(0,r.useEffect)(()=>{let Xt=Ue.current.instance;if(Xt&&Te){let mt=Ne(Ft);Lt.editor.setModelLanguage(Xt.getModel(),mt)}},[Ft,Te]),(0,r.useEffect)(()=>{Ue.current.instance&&Te&&Lt.editor.setTheme(qe)},[qe,Te]),(0,r.useEffect)(()=>{let Xt=Ue.current.instance;fe.current=_t,Xt&&Te&&(Xt.updateOptions(le({},_t)),setTimeout(()=>{Xt.getModel().updateOptions(le({},_t))},200))},[JSON.stringify(_t),Te]),(0,r.useEffect)(()=>{let Xt=Ue.current.instance;Xt&&Te&&Xt.layout()},[zt,We,Te]);const[Fr,mr]=(0,r.useState)(_e(zt)),[$r,nn]=(0,r.useState)(_e(We)),cn=Z(le({},tt),{width:Fr,height:$r,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:qt,style:cn},Ee&&r.createElement(ie.CopyToClipboard,{text:St,onCopy:()=>Y.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(V.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 kt({width:jt="100%",height:Wt="100%",original:zt,modified:We,language:St,options:Ft={}}){const tt=(0,r.useRef)(),[_t,dt]=(0,r.useState)(null);function qe(He){let ze;return tt.current&&(ze=new i.Z(Ye=>{for(let ht of Ye)(ht.target.offsetHeight>0||ht.target.offsetWidth>0)&&He.layout()}),ze.observe(tt.current)),ze}(0,r.useEffect)(()=>(tt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(He=>{Lt=He;const ze=Lt.editor.createDiffEditor(tt.current,Z(le({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},Ft),{wordWrap:!0}));dt(ze);let Ye=qe(ze);return()=>{ze.dispose();const ht=ze.getModel();ht&&ht.dispose(),Ye.unobserve(tt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{_t&&_t.setModel({original:Lt.editor.createModel(zt,St),modified:Lt.editor.createModel(We,St)})},[zt,We,St,_t]);const Be=_e(jt),Ee=_e(Wt),Re={width:Be,height:Ee};return r.createElement("div",{className:"my-diff-editor",ref:tt,style:Re})}},32026:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(1103),i=e(8591),l=e(96999),c=Object.defineProperty,f=Object.defineProperties,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 D in k)u.call(k,D)&&R.indexOf(D)<0&&(A[D]=k[D]);if(k!=null&&h)for(var D of h(k))R.indexOf(D)<0&&a.call(k,D)&&(A[D]=k[D]);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:D}){const{userInfo:M}=yield D(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const j=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(Y=>({label:Y.name,value:Y.ec_major_school_id})),active:B.data.length>0?j[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:D}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield D(j=>j.user);if(M&&M.data){const j=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(Y=>({label:Y.year,value:Y.ec_year_id})),active:M.data.length>0?k.firstEnter?j[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:D}){const{calc:M,page:B,per_page:j}=k,{headerData:Y,tabListData:V}=yield D(ie=>ie.engineeringEvaluteList),{userInfo:G}=yield D(ie=>ie.user);let ae=Y.active[b[1]];if(ae){let ie={id:ae,page:B||1,per_page:j||V.pageSize};M&&(ie=y(p({},ie),{page:V.pageNo}));const ue=yield R(r._y,ie),q=[Y.active[b[0]],Y.active[b[1]]];l.U.setItem(G==null?void 0:G.login,q),ue&&ue.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},V),{pageNo:ie.page,total:ue.count,pageSize:ie.per_page||V.pageSize,dataSource:ue.ec_courses.map((J,K)=>y(p({},J),{key:ie.page>1?(ie.page-1)*ie.per_page+K+1:K+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},V),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:D}=yield A(M=>M.engineeringEvaluteList);D.active[b[1]]&&(yield R(r.F,D.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const D=k,{all:M}=D,B=_(D,["all"]),j=yield R(M?r.At:r.PX,B);j&&j.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(j.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},55305:function(d,v,e){"use strict";e.d(v,{L:function(){return h},r:function(){return a}});var r=Object.defineProperty,i=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable,f=(x,p,y)=>p in x?r(x,p,{enumerable:!0,configurable:!0,writable:!0,value:y}):x[p]=y,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:D,combination_questions:M}=x||{},j=[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"},D),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(Y=>Y.questions_count>0).map((Y,V)=>o(o({},Y),{number:u[V+1]}));return{all_questions_count:p,all_score:y,questionList:j}}},96999:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(48790);const l=(f,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)}}},98750: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 D},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(38986),i=(j,Y,V)=>new Promise((G,ae)=>{var ie=J=>{try{q(V.next(J))}catch(K){ae(K)}},ue=J=>{try{q(V.throw(J))}catch(K){ae(K)}},q=J=>J.done?G(J.value):Promise.resolve(J.value).then(ie,ue);q((V=V.apply(j,Y)).next())});function l(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/avatar.json`,{method:"put",body:j})})}function c(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}.json`,{method:"get"})})}function f(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:j})})}function o(j){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:j})})}function h(j){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${j.id}/departments/for_option.json`,{method:"get",params:j})})}function u(j){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:j})})}function a(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}.json`,{method:"put",body:j})})}function x(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/authentication_apply.json`,{method:"delete"})})}function p(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/professional_auth_apply.json`,{method:"delete"})})}function y(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/professional_auth_apply.json`,{method:"post",body:j})})}function _(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.id}/authentication_apply.json`,{method:"post",body:j})})}function b(j){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:j})})}function S(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/phone_bind.json`,{method:"post",body:j})})}function k(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/email_bind.json`,{method:"post",body:j})})}function R(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.login}/password.json`,{method:"put",body:j})})}function A(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${j.basicInfoId}/open_users/${j.id}.json`,{method:"delete"})})}function D(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_authentication.json`,{method:"post",body:j})})}function M(j){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/cancel_professional_certification.json`,{method:"post",body:j})})}function B(j,Y){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${j.login}/videos/${j.id}/create_subject_video.json`,{method:"post",body:Y})})}},97402:function(d,v,e){"use strict";e.d(v,{An:function(){return y},TO:function(){return a},my:function(){return p},nZ:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,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(j){R(j)}},D=B=>{try{M(S.throw(B))}catch(j){R(j)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,D);M((S=S.apply(_,b)).next())});function a(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_up.json`,{method:"post",body:h({},_)})})}function x(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/inform_down.json`,{method:"post",body:h({},_)})})}function p(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/update_informs.json`,{method:"post",body:h({},_)})})}function y(_){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${_.coursesId}/new_informs.json`,{method:"post",body:h({},_)})})}},44203:function(d,v,e){"use strict";e.d(v,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return _},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,D,M)=>D in A?i(A,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[D]=M,h=(A,D)=>{for(var M in D||(D={}))c.call(D,M)&&o(A,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&o(A,M,D[M]);return A},u=(A,D,M)=>new Promise((B,j)=>{var Y=ae=>{try{G(M.next(ae))}catch(ie){j(ie)}},V=ae=>{try{G(M.throw(ae))}catch(ie){j(ie)}},G=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(Y,V);G((M=M.apply(A,D)).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:D}=A;return delete A.id,(0,r.ZP)(`/api/files/${D}.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)})})}},32967: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(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,D,M)=>D in A?i(A,D,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[D]=M,h=(A,D)=>{for(var M in D||(D={}))c.call(D,M)&&o(A,M,D[M]);if(l)for(var M of l(D))f.call(D,M)&&o(A,M,D[M]);return A},u=(A,D,M)=>new Promise((B,j)=>{var Y=ae=>{try{G(M.next(ae))}catch(ie){j(ie)}},V=ae=>{try{G(M.throw(ae))}catch(ie){j(ie)}},G=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(Y,V);G((M=M.apply(A,D)).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)})})}},82264:function(d,v,e){"use strict";e.d(v,{$T:function(){return gr},A:function(){return Gt},Ab:function(){return mi},Al:function(){return Q},BQ:function(){return dt},BR:function(){return ee},Bn:function(){return He},Cq:function(){return $t},DJ:function(){return Ne},Dd:function(){return _},Ds:function(){return Be},EO:function(){return Tt},Ed:function(){return Lt},F9:function(){return ht},FU:function(){return nr},Fg:function(){return b},GV:function(){return zt},Gk:function(){return q},Gm:function(){return Ft},Gz:function(){return S},Hl:function(){return k},Hn:function(){return V},ID:function(){return nn},IU:function(){return Ce},J2:function(){return jt},K$:function(){return Ee},KP:function(){return bt},KT:function(){return De},L$:function(){return Qt},LH:function(){return D},Lk:function(){return Ji},Ls:function(){return se},MA:function(){return Ln},Mc:function(){return ui},N7:function(){return oe},Nd:function(){return ue},Nl:function(){return Ot},Ns:function(){return cn},O3:function(){return Ze},Pj:function(){return St},QX:function(){return pe},QZ:function(){return Ie},R2:function(){return K},Rk:function(){return yr},S9:function(){return Rt},U8:function(){return mt},UD:function(){return Mr},U_:function(){return ae},Uy:function(){return mr},V8:function(){return Y},Vw:function(){return $},W0:function(){return Kt},W7:function(){return qe},WK:function(){return Vr},Wr:function(){return oi},YR:function(){return Ue},Z0:function(){return yt},ZL:function(){return Et},ZT:function(){return Di},ZX:function(){return Hn},Z_:function(){return M},_0:function(){return B},_9:function(){return tt},_B:function(){return gi},aP:function(){return At},aQ:function(){return _t},aZ:function(){return Le},al:function(){return Vt},bm:function(){return Qr},bz:function(){return ze},c_:function(){return ft},ds:function(){return Gr},fN:function(){return Zn},fr:function(){return qt},g4:function(){return Wt},gq:function(){return R},hf:function(){return Z},i:function(){return Nt},i6:function(){return Tr},i7:function(){return $r},iE:function(){return a},ih:function(){return Pn},kW:function(){return kt},km:function(){return Xt},nP:function(){return p},nQ:function(){return Ye},nX:function(){return Ir},oM:function(){return Re},oR:function(){return Ea},o_:function(){return Te},pf:function(){return Ct},pr:function(){return ji},pv:function(){return it},qB:function(){return le},r2:function(){return j},rS:function(){return A},s:function(){return yn},sb:function(){return Qe},sm:function(){return y},t1:function(){return We},tB:function(){return Vn},tR:function(){return xt},td:function(){return ct},uh:function(){return er},up:function(){return ut},v2:function(){return x},vV:function(){return ye},w9:function(){return ie},wR:function(){return fn},yS:function(){return fe},yV:function(){return J},yd:function(){return Fe},zg:function(){return _e}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(It,gt,Oi)=>gt in It?i(It,gt,{enumerable:!0,configurable:!0,writable:!0,value:Oi}):It[gt]=Oi,h=(It,gt)=>{for(var Oi in gt||(gt={}))c.call(gt,Oi)&&o(It,Oi,gt[Oi]);if(l)for(var Oi of l(gt))f.call(gt,Oi)&&o(It,Oi,gt[Oi]);return It},u=(It,gt,Oi)=>new Promise((Xi,vi)=>{var ya=Sn=>{try{qn(Oi.next(Sn))}catch(rr){vi(rr)}},yi=Sn=>{try{qn(Oi.throw(Sn))}catch(rr){vi(rr)}},qn=Sn=>Sn.done?Xi(Sn.value):Promise.resolve(Sn.value).then(ya,yi);qn((Oi=Oi.apply(It,gt)).next())});const a=It=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${It==null?void 0:It.course_id}/course_videos/configs.json`,{method:"put",body:It})}),x=It=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${It==null?void 0:It.course_id}/course_videos/list_for_config.json`,{method:"Get",params:It})}),p=It=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${It==null?void 0:It.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:It})}),y=It=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${It==null?void 0:It.course_id}/homework_commons/batch_late_setting`,{method:"post",body:It})}),_=It=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:It})}),b=It=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:It})}),S=It=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:It})}),k=It=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:It})});function R(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},It.permissions)})})}function A(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.course_id}/assistant_permissions.json`,{method:"Get",params:h({},It)})})}function D(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/ai_status_query.json`,{method:"Get",params:It})})}function M(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},It)})})}function B(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/get_user_portrait_config.json`,{method:"Get",params:It})})}function j(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/update_user_portrait_config.json?id=${It.coursesId}`,{method:"put",body:h({},It)})})}function Y(It){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},It)})})}function V(It){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},It)})})}function G(It){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},It)})})}function ae(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/top_banner.json`,{method:"get",params:h({},It)})})}function ie(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id||It.coursesId}/left_banner.json`,{method:"get",params:h({},It)})})}function ue(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/homework_commons.json`,{method:"get",params:h({},It)})})}function q(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/homework_commons/list.json`,{method:"get",params:h({},It)})})}function J(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/graduation_topics.json`,{method:"get",params:h({},It)})})}function K(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/graduation_tasks.json`,{method:"get",params:h({},It)})})}function oe(It){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${It.id}/exercises.json`,{method:"get",params:h({},It)})})}function ee(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/polls.json`,{method:"get",params:h({},It)})})}function Q(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/homework_commons.json`,{method:"get",params:h({},It)})})}function le(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/course_groups.json`,{method:"get",params:h({},It)})})}function Z(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/all_course_groups.json`,{method:"get",params:h({},It)})})}function $(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/attendances.json`,{method:"get",params:h({},It)})})}function se(It){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${It.coursesId}/attendances.json`,{method:"get",params:h({},It)})})}function _e(It){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${It.id}/edit.json`,{method:"get",params:h({},It)})})}function Ie(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/informs.json`,{method:"get",params:h({},It)})})}function De(It){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},It)})})}function Ze(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/course_videos.json`,{method:"get",params:h({},It)})})}function Ne(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/live_links.json`,{method:"get",params:h({},It)})})}function Lt(It){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},It)})})}function bt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${It.categoryId}/messages.json`,{method:"get",params:h({},It)})})}function kt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/course_groups.json`,{method:"get",params:h({},It)})})}function jt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/students.json`,{method:"get",params:h({},It)})})}function Wt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/statistics.json`,{method:"get",params:h({},It)})})}function zt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/work_score.json`,{method:"get",params:h({},It)})})}function We(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/act_score.json`,{method:"get",params:h({},It)})})}function St(It){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},It)})})}function Ft(It){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},It)})})}function tt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It==null?void 0:It.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},It)})})}function _t(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},It)})})}function dt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It==null?void 0:It.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},It)})})}function qe(It){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},It)})})}function Be(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},It)})})}function Ee(It){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:It})})}function Re(It){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:It})})}function He(It){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:It})})}function ze(It){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:It})})}function Ye(It){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:It})})}function ht(It){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},It)})})}function xt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.identifier}/add_student_groups.json`,{method:"post",body:It})})}function nr(It){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:It})})}function er(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/add_teacher.json`,{method:"post",body:It})})}function Le(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/add_students_by_search.json`,{method:"post",body:It})})}function Qe(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/set_public_or_private.json`,{method:"post",body:It})})}function Qt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/set_invite_code_halt.json`,{method:"post",body:It})})}function Rt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/duplicate_course.json`,{method:"post",body:It})})}function Vt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/update_end_date.json`,{method:"put",body:It})})}function Gt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}.json`,{method:"delete",body:It})})}function Tt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/settings.json`,{method:"get",params:h({},It)})})}function qt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}.json`,{method:"put",body:It})})}function Ue(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function fe(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},It)})})}function pe(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},It)})})}function Ot(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},It)})})}function Ce(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},It)})})}function ct(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},It)})})}function Kt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},It)})})}function At(It){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${It.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},It)})})}function Te(It){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${It.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},It)})})}function Et(It){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${It.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},It)})})}function ye(It){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${It.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},It)})})}function et(It){return u(this,null,function*(){return Fetch(`/api/homework_commons/${It.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},It)})})}function yt(It){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${It.id}.json`,{method:"delete",params:{export:!0}})})}function Nt(It){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${It.id}.json`,{method:"delete",params:{export:!0}})})}function Fe(It){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${It.id}/sticky_module.json`,{method:"get"})})}function Ir(It){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${It.id}/hidden_module.json`,{method:"get"})})}function Ct(It){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:It})})}function Gr(It){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${It.id}.json`,{method:"get",params:It})})}function Qr(It){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:It})})}function Mr(It){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:It})})}function Fr(It){return u(this,null,function*(){return Fetch(`/api/polls/${It.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},It)})})}function mr(It){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${It.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},It)})})}function $r(It){return(0,r.ZP)(`/api/polls/${It.categoryId}/start_answer.json`,{method:"get",params:h({},It)})}function nn(It){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${It.questionId}/poll_votes.json`,{method:"post",body:It})})}function cn(It){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${It.categoryId}/commit_poll.json`,{method:"post",body:It})})}function Xt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.courseId}/tasks_list.json`,{method:"get",params:It})})}function mt(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.courseId}/update_task_position.json`,{method:"post",body:It})})}function ut(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:It})})}function ft(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/all_course_groups.json`,{method:"get",params:It})})}function $t(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/polls/all_course_groups.json`,{method:"get",params:It})})}function yr(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/students.json`,{method:"get",params:It})})}function gr(It){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${It.categoryId}/rename_group.json`,{method:"POST",body:It})})}function it(It){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${It.categoryId}.json`,{method:"delete",body:It})})}function Tr(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/join_course_group.json`,{method:"POST",body:It})})}function fn(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/transfer_to_course_group.json`,{method:"post",body:It})})}function Ln(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/delete_from_course.json`,{method:"post",body:It})})}function Vr(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/join_course_group.json`,{method:"post",body:It})})}function Zn(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/exit_course.json`,{method:"post"})})}function Hn(It){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},It)})})}function Pn(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/mooc_users/${It.user_id}/edit.json`,{method:"get",params:It})})}function yn(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/mooc_users.json`,{method:"post",body:It})})}function Vn(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.coursesId}/mooc_users/${It.user_id}.json`,{method:"put",body:It})})}function oi(It){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${It.id}/move_category.json`,{method:"post",body:It})})}function mi(It){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${It.id}/move_category.json`,{method:"post",body:It})})}function Di(It){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It.id}/courseware.json`,{method:"get",params:It})})}function ji(It,gt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${It}/mark_wrong_topic.json`,{method:"get",params:gt})})}function gi(It,gt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${It}/cancel_wrong_topic.json`,{method:"get",params:gt})})}function Ea(It,gt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${It}/allow_end_group.json`,{method:"get",params:gt})})}function ui(It,gt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${It}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:gt})})}function Ji(It,gt){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${It}/get_content_for_commit_id.json`,{method:"get",params:gt})})}},73801:function(d,v,e){"use strict";e.d(v,{$M:function(){return Wt},$P:function(){return nr},Ax:function(){return x},Dh:function(){return k},FU:function(){return G},GQ:function(){return ee},IN:function(){return Be},JM:function(){return ze},Ju:function(){return jt},Mn:function(){return qe},Ni:function(){return se},Pg:function(){return R},Pt:function(){return S},Qp:function(){return K},R9:function(){return ae},Ux:function(){return oe},Vy:function(){return Ze},XJ:function(){return $},XR:function(){return bt},Ze:function(){return B},aq:function(){return M},bQ:function(){return _},bu:function(){return p},cC:function(){return a},jS:function(){return ue},lm:function(){return Ee},ml:function(){return le},o3:function(){return We},pA:function(){return Ft},pS:function(){return He},pU:function(){return Z},ps:function(){return V},q0:function(){return _t},qN:function(){return dt},qS:function(){return b},qj:function(){return Lt},qt:function(){return ht},rV:function(){return A},rZ:function(){return Ye},rk:function(){return Ie},rm:function(){return J},sK:function(){return q},sL:function(){return tt},su:function(){return Re},tC:function(){return De},tO:function(){return Ne},u9:function(){return Q},uZ:function(){return _e},vV:function(){return Y},xx:function(){return er},y8:function(){return kt},yS:function(){return j},zF:function(){return y},zc:function(){return ie},zj:function(){return D},zz:function(){return xt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Le,Qe,Qt)=>Qe in Le?i(Le,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Qt}):Le[Qe]=Qt,h=(Le,Qe)=>{for(var Qt in Qe||(Qe={}))c.call(Qe,Qt)&&o(Le,Qt,Qe[Qt]);if(l)for(var Qt of l(Qe))f.call(Qe,Qt)&&o(Le,Qt,Qe[Qt]);return Le},u=(Le,Qe,Qt)=>new Promise((Rt,Vt)=>{var Gt=Ue=>{try{qt(Qt.next(Ue))}catch(fe){Vt(fe)}},Tt=Ue=>{try{qt(Qt.throw(Ue))}catch(fe){Vt(fe)}},qt=Ue=>Ue.done?Rt(Ue.value):Promise.resolve(Ue.value).then(Gt,Tt);qt((Qt=Qt.apply(Le,Qe)).next())});const a=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/create_guide.json`,{method:"post",body:Le}),x=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/guides.json`,{method:"get",params:Le}),p=Le=>(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.competition_team_id}/edit_info.json`,{method:"put",body:Le});function y(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_result.json`,{method:"post",body:Le})})}function _(Le){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Le)})})}function b(Le){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Le})})}function S(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post"})})}function k(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_staff.json`,{method:"get"})})}function R(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/common_header.json`,{method:"get"})})}function A(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/${Le.url}`,{method:"get",params:h({},Le)})})}function D(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/update_md_content.json`,{method:"post",body:Le})})}function M(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function B(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}/edit.json`,{method:"get",params:Le})})}function j(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.Teannameid}.json`,{method:"put",body:Le})})}function Y(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}/leave.json`,{method:"post",body:Le})})}function V(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.id}.json`,{method:"delete"})})}function G(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"post",body:Le})})}function ae(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/add_managers.json`,{method:"post",body:Le})})}function ie(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/join.json`,{method:"post",body:Le})})}function ue(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/teachers.json`,{method:"get",params:Le})})}function q(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/students.json`,{method:"get",params:Le})})}function J(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/crud_team_members.json`,{method:"post",body:Le})})}function K(Le){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Le})})}function oe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/chart_rules.json`,{method:"get"})})}function ee(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/charts.json`,{method:"get",params:Le})})}function Q(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/results.json`,{method:"get",params:Le})})}function le(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/md_tab_rules.json`,{method:"get",params:Le})})}function Z(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize.json`,{method:"get",params:Le})})}function $(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.id}.json`,{method:"get",params:Le})})}function se(Le){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Le})})}function _e(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/phone_bind.json`,{method:"post",body:Le})})}function Ie(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/email_bind.json`,{method:"post",body:Le})})}function De(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/professional_auth_apply.json`,{method:"delete"})})}function Ze(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Le.userid}/authentication_apply.json`,{method:"delete"})})}function Ne(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/prize_leader_account.json`,{method:"put",body:Le})})}function Lt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/shixun_detail.json`,{method:"get"})})}function bt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams/${Le.teamid}/course_detail.json`,{method:"get"})})}function kt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Le.id}.json`,{method:"delete"})})}function jt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/get_certificate_info.json`,{method:"get",params:Le})})}function Wt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.id}/basic_setting.json`,{method:"post",body:Le})})}function zt(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function We(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/common_header.json`,{method:"get"})})}function St(Le){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Le})})}function Ft(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/search_managers.json`,{method:"get",params:Le})})}function tt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_managers.json`,{method:"get"})})}function _t(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/add_managers.json`,{method:"post",body:Le})})}function dt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/delete_managers.json`,{method:"delete",body:Le})})}function qe(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_picture.json`,{method:"get"})})}function Be(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/identifier_exist.json`,{method:"post",body:Le})})}function Ee(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/get_shixun_settings.json`,{method:"get"})})}function Re(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_add.json`,{method:"post",body:Le})})}function He(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_delete.json`,{method:"delete",body:Le})})}function ze(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/shixun_select.json`,{method:"post",body:Le})})}function Ye(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le}/info_finish.json`,{method:"get"})})}function ht(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le==null?void 0:Le.id}/competition_review.json`,{method:"post",body:h({},Le)})})}function xt(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_teams.json`,{method:"get",params:Le})})}function nr(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/all_team_members.json`,{method:"get",params:Le})})}function er(Le){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Le.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Le})})}},1103:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return D},ff:function(){return S},p1:function(){return k},_y:function(){return _},mK:function(){return Y},gq:function(){return G},eM:function(){return j},BA:function(){return ue},bA:function(){return J},Nx:function(){return q},Qx:function(){return M},At:function(){return R},PX:function(){return A},Xl:function(){return B},y9:function(){return V},No:function(){return ae},ay:function(){return K}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(oe,ee,Q)=>ee in oe?i(oe,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):oe[ee]=Q,a=(oe,ee)=>{for(var Q in ee||(ee={}))o.call(ee,Q)&&u(oe,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&u(oe,Q,ee[Q]);return oe},x=(oe,ee)=>l(oe,c(ee)),p=(oe,ee)=>{var Q={};for(var le in oe)o.call(oe,le)&&ee.indexOf(le)<0&&(Q[le]=oe[le]);if(oe!=null&&f)for(var le of f(oe))ee.indexOf(le)<0&&h.call(oe,le)&&(Q[le]=oe[le]);return Q},y=(oe,ee,Q)=>new Promise((le,Z)=>{var $=Ie=>{try{_e(Q.next(Ie))}catch(De){Z(De)}},se=Ie=>{try{_e(Q.throw(Ie))}catch(De){Z(De)}},_e=Ie=>Ie.done?le(Ie.value):Promise.resolve(Ie.value).then($,se);_e((Q=Q.apply(oe,ee)).next())});const _=oe=>y(void 0,null,function*(){var ee=oe,{id:Q}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:le})}),b=oe=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${oe}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:oe})=>(0,r.ZP)(`/api/ec_years/${oe}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:oe,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${oe}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:oe})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:oe}}),A=({ec_course_id:oe})=>(0,r.ZP)(`/api/ec_courses/${oe}/evaluations/evaluation_data`,{method:"POST"}),D=oe=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${oe}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:oe})=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:oe,id:ee})=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),j=oe=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results.json`,{method:"get"}),Y=oe=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/get_formulas.json`,{method:"get"}),V=({ec_year_id:oe,formula_one:ee,formula_two:Q,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:le}}),G=({ec_year_id:oe,id:ee})=>(0,r.ZP)(`/api/ec_years/${oe}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=oe=>{var ee=oe,{ec_year_id:Q,type:le,goal_value:Z}=ee,$=p(ee,["ec_year_id","type","goal_value"]);let se=`?type=${le}`,_e={method:"PUT"};return le==="all"&&(se+=`&goal_value=${Z}`),le==="each"&&(_e=x(a({},_e),{body:$})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${se}`,_e)};var ie=(oe,ee,Q)=>new Promise((le,Z)=>{var $=Ie=>{try{_e(Q.next(Ie))}catch(De){Z(De)}},se=Ie=>{try{_e(Q.throw(Ie))}catch(De){Z(De)}},_e=Ie=>Ie.done?le(Ie.value):Promise.resolve(Ie.value).then($,se);_e((Q=Q.apply(oe,ee)).next())});const ue=oe=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${oe}/ec_majors/get_major_list.json`,{method:"get"})}),q=oe=>ie(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${oe}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:oe,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${oe}/top_pages.json`,{method:"get",params:{school_id:ee}}),K=({id:oe,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${oe}?name=${ee}`,{method:"PUT"})},81722:function(d,v,e){"use strict";e.d(v,{$Q:function(){return D},$l:function(){return gr},BJ:function(){return dt},CD:function(){return Qe},Cd:function(){return ht},Cl:function(){return Fe},Di:function(){return zt},Fl:function(){return Ft},G$:function(){return le},GK:function(){return St},Ip:function(){return Ee},J:function(){return Z},KE:function(){return tt},L8:function(){return qt},LP:function(){return Re},MK:function(){return We},Mb:function(){return Mr},N0:function(){return V},N3:function(){return Ne},OO:function(){return R},P8:function(){return cn},PJ:function(){return se},PT:function(){return mr},Qc:function(){return ae},RK:function(){return Q},Ty:function(){return et},UH:function(){return ct},UK:function(){return Lt},Uj:function(){return er},Ul:function(){return Ye},VL:function(){return Vt},Vj:function(){return fe},W4:function(){return nr},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Be},Xn:function(){return Gr},Xo:function(){return ue},YY:function(){return Wt},Ym:function(){return j},Yu:function(){return Xt},ZD:function(){return nn},Zg:function(){return Ir},_B:function(){return Le},_F:function(){return Fr},_U:function(){return J},_u:function(){return _e},aU:function(){return Y},ab:function(){return Nt},cC:function(){return ye},cV:function(){return K},ck:function(){return $r},dp:function(){return G},eA:function(){return $t},fG:function(){return S},gA:function(){return oe},gG:function(){return Qr},gJ:function(){return mt},hk:function(){return y},hv:function(){return _},iB:function(){return b},iU:function(){return k},iw:function(){return Et},kp:function(){return Gt},lL:function(){return A},lf:function(){return Ze},n$:function(){return De},n7:function(){return q},nF:function(){return Ue},o3:function(){return ut},oS:function(){return He},oX:function(){return Rt},oy:function(){return yt},p7:function(){return B},pL:function(){return Qt},pu:function(){return qe},q6:function(){return Tt},qf:function(){return jt},qz:function(){return ze},s:function(){return At},sA:function(){return Ot},sS:function(){return ft},tX:function(){return Kt},uR:function(){return bt},ux:function(){return _t},wy:function(){return kt},xA:function(){return Te},yE:function(){return ie},yu:function(){return Ce},zP:function(){return M},zR:function(){return yr}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(it,Tr,fn)=>Tr in it?i(it,Tr,{enumerable:!0,configurable:!0,writable:!0,value:fn}):it[Tr]=fn,a=(it,Tr)=>{for(var fn in Tr||(Tr={}))o.call(Tr,fn)&&u(it,fn,Tr[fn]);if(f)for(var fn of f(Tr))h.call(Tr,fn)&&u(it,fn,Tr[fn]);return it},x=(it,Tr)=>l(it,c(Tr)),p=(it,Tr,fn)=>new Promise((Ln,Vr)=>{var Zn=yn=>{try{Pn(fn.next(yn))}catch(Vn){Vr(Vn)}},Hn=yn=>{try{Pn(fn.throw(yn))}catch(Vn){Vr(Vn)}},Pn=yn=>yn.done?Ln(yn.value):Promise.resolve(yn.value).then(Zn,Hn);Pn((fn=fn.apply(it,Tr)).next())});const y=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/list_student_score_by_question_type.json`,{method:"get",params:it}),_=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/list_student_score_by_question.json`,{method:"get",params:it}),b=it=>(0,r.ZP)(`/api/exercises/${it.exercise_id}/statistics/export_class_compare.xlsl`,{method:"get",params:it}),S=it=>(0,r.ZP)(`/api/exercises/${it.exercise_id}/statistics/class_question_compare.json`,{method:"get",params:it}),k=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/class_score_distribution.json`,{method:"get",params:it}),R=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/list_student_score.json`,{method:"get",params:it}),A=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/set_score_ranges.json`,{method:"put",body:it}),D=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/statistics/score_ranges.json`,{method:"get",params:it}),M=it=>(0,r.ZP)(`/api/exercises/${it.id}/sava_exam_summary.json`,{method:"post",body:it}),B=it=>(0,r.ZP)("/api/intelligent_reviews/exam_summary.json",{method:"post",body:it}),j=it=>(0,r.ZP)(`/api/exercises/${it.id}/generate_exam_summary.json`,{method:"post",body:it}),Y=it=>(0,r.ZP)(`/api/exercises/${it.id}/exam_summary_settings.json`,{method:"post",body:it}),V=it=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${it==null?void 0:it.exercise_id}/review_exercise_user.json`,{method:"post",body:it})}),G=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/code_check.json`,{method:"get",params:it}),ae=it=>(0,r.ZP)(`/api/exercises/${it.id}/reset_pwd.json`,{method:"post",body:it}),ie=it=>(0,r.ZP)(`/api/exercises/${it.id}/encrypt_or_decrypt.json`,{method:"post",body:it}),ue=it=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/delayed_time_or_force.json`,{method:"post",body:it})}),q=it=>p(void 0,null,function*(){return(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/exercise_time.json`,{method:"Get",params:it})}),J=it=>(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/exercise_question_result.json`,{method:"get",params:it}),K=it=>(0,r.ZP)(`/api/exercises/${it.id}/get_question_type_alias.json`,{method:"get",params:it});function oe(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it==null?void 0:it.id}/teacher_update.json`,{method:"post",body:a({},it)})})}function ee(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it==null?void 0:it.id}/adjust_comment.json`,{method:"post",body:a({},it)})})}function Q(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/edit_question_type_alias.json`,{method:"POST",body:it})})}function le(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_lists.json`,{method:"get",params:a({},it)})})}function Z(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_identity_photos.json`,{method:"get",params:a({},it)})})}function $(it){return p(this,null,function*(){return Fetch(`/api/exercises/${it.categoryId}/video_push_url.json`,{method:"get",params:a({},it)})})}function se(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/query_identity_photo_state.json`,{method:"get",params:a({},it)})})}function _e(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_result.json`,{method:"get",params:a({},it)})})}function Ie(it){return p(this,null,function*(){return Fetch(`/api/exercises/${it.categoryId}/exercise_score_area_setting.json`,{method:"post",body:a({},it)})})}function De(it){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},it)})})}function Ze(it){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"POST",body:a({},it)})})}function Ne(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises/publish_modal.json`,{method:"get",params:a({},it)})})}function Lt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/common_header.json`,{method:"get",params:a({},it)})})}function bt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises.json`,{method:"post",body:a({},it)})})}function kt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}.json`,{method:"put",body:a({},it)})})}function jt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}.json`,{method:"get",params:a({},it)})})}function Wt(it){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},it)})})}function zt(it){return p(this,null,function*(){const{id:Tr}=it;return delete it.id,(0,r.ZP)(`/api/exercise_questions/${Tr}.json`,{method:"put",body:a({},it)})})}function We(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_questions.json`,{method:"post",body:a({},it)})})}function St(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}/up_down.json`,{method:"post",body:a({},it)})})}function Ft(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}.json`,{method:"delete"})})}function tt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},it)})})}function _t(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/publish_groups.json`,{method:"get",params:a({},it)})})}function dt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},it)})})}function qe(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/consult_exercise.json`,{method:"post",body:a({},it)})})}function Be(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},it)})})}function Ee(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}/adjust_score.json`,{method:"post",body:a({},it)})})}function Re(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}/batch_adjust_score.json`,{method:"post",body:a({},it)})})}function He(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/adjust_score.json`,{method:"post",body:a({},it)})})}function ze(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/delayed_time.json`,{method:"post",body:a({},it)})})}function Ye(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_setting.json`,{method:"get",params:a({},it)})})}function ht(it){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${it.categoryId}/exercise_setting.json`,{method:"get",params:a({},it)})})}function xt(it){return p(this,null,function*(){return Fetch(`/api/exercises/${it.categoryId}/commit_setting.json`,{method:"post",body:a({},it)})})}function nr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/review_exercises_by_students.json`,{method:"post",body:a({},it)})})}function er(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_lists.xlsx`,{method:"get",params:x(a({},it),{export:!0})})})}function Le(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/user_exercise_detail.json`,{method:"get",params:x(a({},it),{login:null})})}function Qe(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/start.json`,{method:"get",params:a({},it)})}function Qt(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/start_unlock.json`,{method:"post",body:a({},it)})}function Rt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.questionId}/exercise_answers.json`,{method:"post",body:it})})}function Vt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/commit_exercise.json`,{method:"post",body:it})})}function Gt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/simulate_commit_exercise.json`,{method:"post",body:it})})}function Tt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/redo_exercise.json`,{method:"post",body:it})})}function qt(it){return(0,r.ZP)(`/api/${it.url}`,{method:"get",params:a({},it)})}function Ue(it){return(0,r.ZP)(`/api/problems/${it.id}/start.json`,{method:"get",params:a({},it)})}function fe(it){return(0,r.ZP)(`/api/exercises/${it.id}/begin_commit.json`,{method:"get",params:a({},it)})}function pe(it){return(0,r.ZP)(`/api/exercises/${it.id}/simulate_begin_commit.json`,{method:"get",params:a({},it)})}function Ot(it){return(0,r.ZP)("/api/examination_intelligent_settings/optional_items.json",{method:"post",body:a({},it)})}function Ce(it){return console.log("params:",it),(0,r.ZP)(`/api/exercises/${it.categoryId}/edit.json`,{method:"get",params:a({},it)})}function ct(it){return(0,r.ZP)(`/api/exercises/${it.id}/get_objective_scores.json`,{method:"get",params:a({},it)})}function Kt(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/redo_modal.json`,{method:"get",params:a({},it)})}function At(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/student_redo_lists.json`,{method:"get",params:a({},it)})}function Te(it){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:it})}function Et(it){return(0,r.ZP)(`/api/exercises/${it.id}/exercise_header.json`,{method:"get",params:a({},it)})}function ye(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/allow_close_camera.json`,{method:"post",body:a({},it)})}function et(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},it)})}function yt(it){return(0,r.ZP)(`/api/exercises/${it.id}/record_screen`,{method:"post",params:a({},it)})}function Nt(it){return(0,r.ZP)(`/api/exercises/${it.id}/unbind_ip.json`,{method:"post",body:a({},it)})}function Fe(it){return(0,r.ZP)(`/api/exercises/${it.id}/check_ip.json`,{method:"get",params:a({},it)})}function Ir(it){return(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/check_user_exercise.json`,{method:"get",params:a({},it)})}function Ct(it){return Fetch(`/api/exercises/${it.id}/make_up_students.json`,{method:"get",params:a({},it)})}function Gr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises/code_review_detail.json`,{method:"get",params:a({},it)})})}function Qr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.question_id}/adjust_score.json`,{method:"post",body:a({},it)})})}function Mr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${it.categoryId}/simulate_exercise.json`,{method:"post",body:a({},it)})})}function Fr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/simulate_start_answer.json`,{method:"get",params:a({},it)})})}function mr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_time.json`,{method:"get",params:a({},it)})})}function $r(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/commit_screen_at.json`,{method:"post",body:a({},it)})})}function nn(it,Tr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/unlock_user`,{method:"post",body:Tr})})}function cn(it,Tr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/save_screen_record.json`,{method:"post",body:Tr})})}function Xt(it,Tr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/screen_record_list.json`,{method:"get",params:Tr})})}function mt(it){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},it)})})}function ut(it){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:it})})}function ft(it,Tr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/mark.json`,{method:"post",body:Tr})})}function $t(it){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${it}/exit_delete_pod.json`,{method:"post",body:it})})}function yr(it){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:it})})}function gr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it==null?void 0:it.id}/send_to_item_bank.json`,{method:"post",body:a({},it)})})}},94670:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return R},Sr:function(){return D},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 j},vL:function(){return B},z5:function(){return Y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(V,G,ae)=>G in V?i(V,G,{enumerable:!0,configurable:!0,writable:!0,value:ae}):V[G]=ae,h=(V,G)=>{for(var ae in G||(G={}))c.call(G,ae)&&o(V,ae,G[ae]);if(l)for(var ae of l(G))f.call(G,ae)&&o(V,ae,G[ae]);return V},u=(V,G,ae)=>new Promise((ie,ue)=>{var q=oe=>{try{K(ae.next(oe))}catch(ee){ue(ee)}},J=oe=>{try{K(ae.throw(oe))}catch(ee){ue(ee)}},K=oe=>oe.done?ie(oe.value):Promise.resolve(oe.value).then(q,J);K((ae=ae.apply(V,G)).next())});function a(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:V})})}function x(V){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:V})})}function p(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/sticky_or_cancel.json`,{method:"post",body:V})})}function y(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"delete",body:V})})}function _(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:V})})}function b(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/edit.json`,{method:"get",params:V})})}function S(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},V)})})}function k(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"put",body:h({},V)})})}function R(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}.json`,{method:"get",params:V})})}function A(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"post",body:V})})}function D(V){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${V.user_id}/watch.json`,{method:"delete",body:h({},V)})})}function M(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/reward_code.json`,{method:"post",body:V})})}function B(V){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${V.id}/plus.json`,{method:"post",body:V})})}function j(V){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:V})})}function Y(V){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${V.id}/more_reply.json`,{method:"get",params:V})})}},22072:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,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{D(b.next(M))}catch(B){k(B)}},A=M=>{try{D(b.throw(M))}catch(B){k(B)}},D=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);D((b=b.apply(y,_)).next())});function a(y){return u(this,null,function*(){return(0,r.ZP)("/api/setting.json",{method:"Get",params:h({},y)})})}function x(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"Get"})})}function p(y){return u(this,null,function*(){return(0,r.ZP)("/api/search_records",{method:"post",body:y})})}},24059:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return j},Mf:function(){return D},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return G},Sv:function(){return V},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return _},wA:function(){return Y},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ie,ue,q)=>ue in ie?i(ie,ue,{enumerable:!0,configurable:!0,writable:!0,value:q}):ie[ue]=q,h=(ie,ue)=>{for(var q in ue||(ue={}))c.call(ue,q)&&o(ie,q,ue[q]);if(l)for(var q of l(ue))f.call(ue,q)&&o(ie,q,ue[q]);return ie},u=(ie,ue,q)=>new Promise((J,K)=>{var oe=le=>{try{Q(q.next(le))}catch(Z){K(Z)}},ee=le=>{try{Q(q.throw(le))}catch(Z){K(Z)}},Q=le=>le.done?J(le.value):Promise.resolve(le.value).then(oe,ee);Q((q=q.apply(ie,ue)).next())});function a(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function x(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/tasks_list.json`,{method:"get",params:h({},ie)})})}function p(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/show_detail.json`,{method:"get",params:h({},ie)})})}function y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}.json`,{method:"get",params:h({},ie)})})}function _(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ie)})})}function b(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ie)})})}function S(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ie.categoryId}/show_comment.json`,{method:"get",params:h({},ie)})})}function 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 D(ie){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ie)})})}function M(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ie)})})}function 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 j(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics`,{method:"post",body:h({},ie)})})}function Y(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_topics/${ie.categoryId}`,{method:"put",body:h({},ie)})})}function V(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ie.coursesId}/graduation_tasks`,{method:"post",body:h({},ie)})})}function G(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}.json`,{method:"put",body:h({},ie)})})}function ae(ie){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ie.categoryId}/edit.json`,{method:"get",params:h({},ie)})})}},12309:function(d,v,e){"use strict";e.d(v,{AA:function(){return Y},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return le},H3:function(){return _},HF:function(){return k},HH:function(){return y},Ib:function(){return oe},J3:function(){return o},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return J},Ps:function(){return c},Rk:function(){return ue},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ie},YS:function(){return G},Zd:function(){return Q},bS:function(){return D},ck:function(){return S},eh:function(){return j},il:function(){return h},j7:function(){return u},jW:function(){return V},km:function(){return ae},l5:function(){return B},rU:function(){return Z},xF:function(){return M},zC:function(){return K},zT:function(){return $}});var r=e(38986),i=(se,_e,Ie)=>new Promise((De,Ze)=>{var Ne=kt=>{try{bt(Ie.next(kt))}catch(jt){Ze(jt)}},Lt=kt=>{try{bt(Ie.throw(kt))}catch(jt){Ze(jt)}},bt=kt=>kt.done?De(kt.value):Promise.resolve(kt.value).then(Ne,Lt);bt((Ie=Ie.apply(se,_e)).next())});function l(se){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})}function c(se){return(0,r.ZP)(`/api/schools/${se.id}/departments/for_option.json`,{method:"get",params:se})}function f(se){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:se})}function o(se){return(0,r.ZP)("/api/graduations.json",{method:"get",params:se})}function h(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/authorized_redelivery.json`,{method:"POST",body:se})})}function u(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.stageid}/submit.json`,{method:"POST",body:se})})}function a(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_status.json`,{method:"get",params:se})})}function x(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/export_all_attachments.json`,{method:"get",params:se})})}function p(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_stages/${se.id}.json`,{method:"get",params:se})})}function y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/set_final_score.json`,{method:"POST",body:se})})}function _(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/student_tasks/final_score.json`,{method:"get",params:se})})}function b(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/set_novice_guide.json`,{method:"POST",body:se})})}function S(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices/${se.doid}/set_do.json`,{method:"POST",body:se})})}function k(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"POST",body:se})})}function R(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.identifier}/graduation_students/${se.id}/update_major.json`,{method:"PUT",body:se})})}function A(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"POST",body:se})})}function D(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers/search.json`,{method:"get",params:se})})}function M(se){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:se})})}function B(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students/search.json`,{method:"get",params:se})})}function j(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_students.json`,{method:"get",params:se})})}function Y(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_teachers.json`,{method:"get",params:se})})}function V(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks.json`,{method:"POST",body:se})})}function G(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.graduation_id}/graduation_tasks/${se.id}.json`,{method:"PUT",body:se})})}function ae(se){return i(this,null,function*(){var _e;return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks/${(_e=se.ids)==null?void 0:_e[0]}`,{method:"DELETE",body:{ids:se.ids}})})}function ie(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_tasks.json`,{method:"get",params:se})})}function ue(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}/graduation_notices.json`,{method:"get",params:se})})}function q(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se.id}.json`,{method:"get"})})}function J(se){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se==null?void 0:se.id}/common_header.json`,{method:"get"})})}function K(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/preview.json`,{method:"get"})})}function oe(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/not_pass.json`,{method:"post",body:_e})})}function ee(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/pass.json`,{method:"post",body:_e})})}function Q(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/not_pass.json`,{method:"post",body:_e})})}function le(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/pass.json`,{method:"post",body:_e})})}function Z(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_students/batch_delete`,{method:"delete",body:_e})})}function $(se,_e){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${se}/graduation_teachers/batch_delete`,{method:"delete",body:_e})})}},82220:function(d,v,e){"use strict";e.d(v,{LA:function(){return a},Rm:function(){return c},S_:function(){return x},Tt:function(){return o},cR:function(){return h},eX:function(){return l},h$:function(){return f},vm:function(){return u}});var r=e(38986),i=(p,y,_)=>new Promise((b,S)=>{var k=D=>{try{A(_.next(D))}catch(M){S(M)}},R=D=>{try{A(_.throw(D))}catch(M){S(M)}},A=D=>D.done?b(D.value):Promise.resolve(D.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})})}},50958:function(d,v,e){"use strict";e.d(v,{AD:function(){return a},Ig:function(){return x},Ko:function(){return _},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,A,D)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:D}):R[A]=D,h=(R,A)=>{for(var D in A||(A={}))c.call(A,D)&&o(R,D,A[D]);if(l)for(var D of l(A))f.call(A,D)&&o(R,D,A[D]);return R},u=(R,A,D)=>new Promise((M,B)=>{var j=G=>{try{V(D.next(G))}catch(ae){B(ae)}},Y=G=>{try{V(D.throw(G))}catch(ae){B(ae)}},V=G=>G.done?M(G.value):Promise.resolve(G.value).then(j,Y);V((D=D.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"})})}},49379:function(d,v,e){"use strict";e.d(v,{A2:function(){return b},CI:function(){return p},Ep:function(){return _},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return D},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(j,Y,V)=>Y in j?i(j,Y,{enumerable:!0,configurable:!0,writable:!0,value:V}):j[Y]=V,h=(j,Y)=>{for(var V in Y||(Y={}))c.call(Y,V)&&o(j,V,Y[V]);if(l)for(var V of l(Y))f.call(Y,V)&&o(j,V,Y[V]);return j},u=(j,Y,V)=>new Promise((G,ae)=>{var ie=J=>{try{q(V.next(J))}catch(K){ae(K)}},ue=J=>{try{q(V.throw(J))}catch(K){ae(K)}},q=J=>J.done?G(J.value):Promise.resolve(J.value).then(ie,ue);q((V=V.apply(j,Y)).next())});function a(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/online_learning.json`,{method:"get"})})}function x(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"put",body:j})})}function p(j){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${j.coursesId}/course_stages.json`,{method:"post",body:j})})}function y(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_shixun_to_stage.json`,{method:"post",body:j})})}function _(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/select_shixun_to_stage.json`,{method:"post",body:j})})}function b(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_video_to_stage.json`,{method:"post",body:j})})}function S(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/add_attachment_to_stage.json`,{method:"post",body:j})})}function k(j){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:j})})}function R(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/up_position.json`,{method:"post"})})}function A(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}/down_position.json`,{method:"post"})})}function D(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.id}.json`,{method:"delete"})})}function M(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/move_position.json`,{method:"post",body:h({},j)})})}function B(j){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${j.stage_id}/items/${j.id}`,{method:"delete"})})}},93629:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return ue},Dq:function(){return Ie},Gd:function(){return _},Hb:function(){return De},Hm:function(){return G},ID:function(){return u},JP:function(){return _e},NC:function(){return Y},Pl:function(){return S},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return V},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 Ze},kp:function(){return D},lc:function(){return A},oF:function(){return le},q$:function(){return h},qN:function(){return ae},tS:function(){return R},ts:function(){return B},un:function(){return K},w0:function(){return oe},wX:function(){return J},yE:function(){return f}});var r=e(38986),i=(Ne,Lt,bt)=>new Promise((kt,jt)=>{var Wt=St=>{try{We(bt.next(St))}catch(Ft){jt(Ft)}},zt=St=>{try{We(bt.throw(St))}catch(Ft){jt(Ft)}},We=St=>St.done?kt(St.value):Promise.resolve(St.value).then(Wt,zt);We((bt=bt.apply(Ne,Lt)).next())});const l=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne==null?void 0:Ne.id}/code_check.json`,{method:"get",params:Ne}),c=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/reset_pwd.json`,{method:"post",body:Ne}),f=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/encrypt_or_decrypt.json`,{method:"post",body:Ne}),o=Ne=>(0,r.ZP)("/api/examination_banks/exist_course.json",{method:"post",body:Ne}),h=Ne=>(0,r.ZP)("/api/examination_banks/check_examination_banks.json",{method:"post",body:Ne}),u=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/copy.json`,{method:"post",body:Ne}),a=Ne=>(0,r.ZP)(`/api/examination_banks/${Ne.id}/get_question_type_alias.json`,{method:"get",params:Ne});function x(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/edit_question_type_alias.json`,{method:"POST",body:Ne})})}function p(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:Ne})})}function y(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/disciplines/by_examination_banks.json",{method:"get",params:Ne})})}function _(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"get",params:Ne})})}function b(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/set_public.json`,{method:"post"})})}function S(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/set_private.json`,{method:"post"})})}function k(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"delete"})})}function R(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:Ne})})}const A=Ne=>(0,r.ZP)("/api/examination_banks/batch_send_to_course.json",{method:"post",body:Ne});function D(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/send_to_course.json`,{method:"post",body:Ne})})}function M(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"get",params:Ne})})}function B(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/set_score`,{method:"post",body:Ne})})}function j(Ne){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/set_shixun_score.json`,{method:"post",body:Ne})})}function Y(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}.json`,{method:"delete"})})}function V(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/batch_set_score.json`,{method:"post",body:Ne})})}function G(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/destroy_by_item_type.json`,{method:"delete",body:Ne})})}function ae(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/${Ne.itemId}/adjust_position.json`,{method:"post",body:Ne})})}function ie(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"put",body:Ne})})}function ue(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Ne})})}function q(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/set_batch_public.json",{method:"post",body:Ne})})}function J(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne==null?void 0:Ne.id}/set_public.json`,{method:"post",body:Ne})})}function K(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/examination_banks/create_exam.json",{method:"post",body:Ne})})}function oe(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/update_exam.json`,{method:"put",body:Ne})})}function ee(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/edit_exam.json`,{method:"get"})})}function Q(Ne,Lt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/examination_banks_item_banks.json`,{method:"post",body:Lt})})}function le(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}/examination_banks_item_banks/create_item_bank.json`,{method:"post",body:Ne})})}function Z(Ne,Lt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/sort_question_type.json`,{method:"post",body:Lt})})}function $(Ne){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne.exam_id}/examination_banks_item_banks/${Ne.question_id}.json`,{method:"delete"})})}function se(Ne,Lt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/batch_set_score.json`,{method:"post",body:Lt})})}function _e(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/simulate_exercise.json`,{method:"post"})})}function Ie(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/exercise_header.json`,{method:"get"})})}function De(Ne,Lt,bt){return i(this,null,function*(){const kt=new FormData;return kt.append("file",Lt),kt.append("sub_discipline_id",bt),(0,r.ZP)(`/api/examination_banks/${Ne}/import_item_banks.json`,{method:"post",body:kt},!0)})}function Ze(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Ne})})}},36714:function(d,v,e){"use strict";e.d(v,{$D:function(){return q},A2:function(){return Ee},A7:function(){return Kt},AQ:function(){return j},Ax:function(){return Le},Bn:function(){return Et},CI:function(){return Ye},DQ:function(){return pe},DU:function(){return Ft},EP:function(){return ue},Ep:function(){return Be},Er:function(){return se},Ex:function(){return Rt},FD:function(){return Ot},F_:function(){return St},Fg:function(){return x},GY:function(){return qt},Go:function(){return le},Gz:function(){return p},Hl:function(){return y},JS:function(){return bt},KM:function(){return oe},M2:function(){return He},MO:function(){return _e},Mt:function(){return ze},Mu:function(){return Qe},NV:function(){return Te},Q:function(){return Ie},Sp:function(){return B},VO:function(){return Ce},WD:function(){return Tt},WO:function(){return $},WW:function(){return Vt},_C:function(){return At},_V:function(){return er},bw:function(){return ie},bz:function(){return fe},c3:function(){return Lt},eJ:function(){return Q},ef:function(){return We},fh:function(){return k},fj:function(){return Z},hS:function(){return _},jT:function(){return ct},ke:function(){return Gt},lk:function(){return M},mQ:function(){return D},ms:function(){return xt},mx:function(){return Ze},nq:function(){return a},ol:function(){return Ue},p:function(){return V},p4:function(){return De},pU:function(){return A},rS:function(){return kt},rs:function(){return ee},s0:function(){return Re},sm:function(){return Ne},tS:function(){return b},tu:function(){return R},ue:function(){return Y},vf:function(){return dt},w4:function(){return G},xG:function(){return qe},xn:function(){return _t},yN:function(){return ae},yy:function(){return nr}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ye,et,yt)=>et in ye?i(ye,et,{enumerable:!0,configurable:!0,writable:!0,value:yt}):ye[et]=yt,h=(ye,et)=>{for(var yt in et||(et={}))c.call(et,yt)&&o(ye,yt,et[yt]);if(l)for(var yt of l(et))f.call(et,yt)&&o(ye,yt,et[yt]);return ye},u=(ye,et,yt)=>new Promise((Nt,Fe)=>{var Ir=Qr=>{try{Gr(yt.next(Qr))}catch(Mr){Fe(Mr)}},Ct=Qr=>{try{Gr(yt.throw(Qr))}catch(Mr){Fe(Mr)}},Gr=Qr=>Qr.done?Nt(Qr.value):Promise.resolve(Qr.value).then(Ir,Ct);Gr((yt=yt.apply(ye,et)).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 D(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 j(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/right_banner.json`,{method:"get",params:ye})})}function Y(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/spoc_courses.json`,{method:"get",params:ye})})}const V=ye=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:ye})}),G=ye=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${ye.id}/children.json`,{method:"Get",params:ye})});function ae(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 ue(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/delete_member.json`,{method:"Delete",body:ye})})}function q(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 J(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 oe(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 Q(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 se(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 De(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${ye.id}/send_to_course.json`,{method:"post",body:ye})})}function Ze(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/add_subject_members.json`,{method:"post",body:ye})})}function Ne(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/spoc_courses.json`,{method:"post",body:ye})})}function Lt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/appointment.json`,{method:"post",body:ye})})}function bt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.id}/join_excellent_course.json`,{method:"post",body:ye})})}function kt(ye){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:ye})})}function jt(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/statistics_info.json`,{method:"get",params:ye})})}function Wt(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/shixun_analyze.json`,{method:"get",params:ye})})}function zt(ye){return u(this,null,function*(){return Fetch(`/api/paths/${ye.id}/learning_analyze.json`,{method:"get",params:ye})})}function We(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/learning_statistics.json`,{method:"get",params:ye})})}function St(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/shixun_statistics.json`,{method:"get",params:ye})})}function Ft(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/study_analyze/${ye.type}.json`,{method:"get",params:ye})})}function tt(ye){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:ye})})}function _t(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}.json`,{method:"put",body:ye})})}function dt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_shixun_to_stage.json`,{method:"post",body:ye})})}const qe=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 Be(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/select_shixun_to_stage.json`,{method:"post",body:ye})})}function Ee(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_video_to_stage.json`,{method:"post",body:ye})})}function Re(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_attachment_to_stage.json`,{method:"post",body:ye})})}function He(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${ye.id}.json`,{method:"put",body:ye})})}function ze(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/add_blank_to_stage.json`,{method:"post",body:ye})})}function Ye(ye){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:ye})})}function ht(ye){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:ye})})}function xt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/up_position.json`,{method:"get"})})}function nr(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}/down_position.json`,{method:"get"})})}function er(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.id}.json`,{method:"delete"})})}function Le(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.pathId}/discusses.json`,{method:"get",params:h({},ye)})})}function Qe(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.coursesId}/excellent_discusses.json`,{method:"get",params:h({},ye)})})}function Qt(ye){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},ye)})})}function Rt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.stage_id}/items/move_position`,{method:"post",body:h({},ye)})})}function Vt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${ye.stage_id}/items/${ye.id}`,{method:"delete"})})}function Gt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ye.id}/excellent_discuss`,{method:"post",body:h({},ye)})})}function Tt(ye){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${ye.id}/post_discuss`,{method:"post",body:h({},ye)})})}function qt(ye){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:ye})})}function Ue(ye){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:ye})})}function fe(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 Ot(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 ct(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 Kt(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 At(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 Te(ye){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:ye})})}function Et(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})})}},7299:function(d,v,e){"use strict";e.d(v,{Fd:function(){return oe},Hi:function(){return y},IU:function(){return Y},KE:function(){return b},Kc:function(){return Q},MK:function(){return V},Q9:function(){return D},Qg:function(){return j},Qn:function(){return k},UK:function(){return p},W:function(){return Z},Ye:function(){return B},_c:function(){return a},hO:function(){return ue},iV:function(){return le},jy:function(){return G},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 ae},wo:function(){return ee},x$:function(){return J}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=($,se,_e)=>se in $?i($,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[se]=_e,h=($,se)=>{for(var _e in se||(se={}))c.call(se,_e)&&o($,_e,se[_e]);if(l)for(var _e of l(se))f.call(se,_e)&&o($,_e,se[_e]);return $},u=($,se,_e)=>new Promise((Ie,De)=>{var Ze=bt=>{try{Lt(_e.next(bt))}catch(kt){De(kt)}},Ne=bt=>{try{Lt(_e.throw(bt))}catch(kt){De(kt)}},Lt=bt=>bt.done?Ie(bt.value):Promise.resolve(bt.value).then(Ze,Ne);Lt((_e=_e.apply($,se)).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 D($){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 j($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function Y($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function V($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}/poll_questions.json`,{method:"post",body:h({},$)})})}function G($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function ae($){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 ue($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function q($){return u(this,null,function*(){return Fetch(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function J($){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 oe($){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 Q($){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({},$)})})}},46722:function(d,v,e){"use strict";e.d(v,{$c:function(){return ht},A1:function(){return ze},Bd:function(){return D},Bo:function(){return q},Cc:function(){return oe},Cn:function(){return le},DF:function(){return R},Dm:function(){return We},FG:function(){return ue},GW:function(){return St},HF:function(){return V},Hm:function(){return $},IJ:function(){return He},L5:function(){return zt},LS:function(){return tt},MZ:function(){return Ee},Mr:function(){return ie},NZ:function(){return Lt},Of:function(){return S},Pl:function(){return k},Qj:function(){return _},Qp:function(){return dt},RT:function(){return Le},Rp:function(){return _t},U6:function(){return G},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return Z},Ys:function(){return B},al:function(){return M},bF:function(){return xt},d1:function(){return y},dt:function(){return nr},et:function(){return _e},ex:function(){return b},fY:function(){return Ie},fn:function(){return A},hI:function(){return bt},hg:function(){return Be},iT:function(){return J},lS:function(){return Ne},nD:function(){return Ft},qN:function(){return se},rV:function(){return j},s:function(){return Ze},sD:function(){return Re},sS:function(){return Wt},ts:function(){return K},vi:function(){return Ye},wX:function(){return qe},x5:function(){return Y},zh:function(){return De}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Qe,Qt,Rt)=>Qt in Qe?i(Qe,Qt,{enumerable:!0,configurable:!0,writable:!0,value:Rt}):Qe[Qt]=Rt,a=(Qe,Qt)=>{for(var Rt in Qt||(Qt={}))o.call(Qt,Rt)&&u(Qe,Rt,Qt[Rt]);if(f)for(var Rt of f(Qt))h.call(Qt,Rt)&&u(Qe,Rt,Qt[Rt]);return Qe},x=(Qe,Qt)=>l(Qe,c(Qt)),p=(Qe,Qt,Rt)=>new Promise((Vt,Gt)=>{var Tt=fe=>{try{Ue(Rt.next(fe))}catch(pe){Gt(pe)}},qt=fe=>{try{Ue(Rt.throw(fe))}catch(pe){Gt(pe)}},Ue=fe=>fe.done?Vt(fe.value):Promise.resolve(fe.value).then(Tt,qt);Ue((Rt=Rt.apply(Qe,Qt)).next())});function y(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"get",params:x(a({},Qe),{clazz:"ItemBanksGroup"})})})}function _(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/basket_list.json",{method:"get",params:Qe})})}function b(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/for_problemset.json",{method:"post",body:Qe})})}function S(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/list.json",{method:"post",body:Qe})})}function k(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/set_private.json`,{method:"post"})})}function R(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/set_public.json`,{method:"post"})})}function A(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}.json`,{method:"delete"})})}function D(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Qe.id}/start.json`,{method:"get"})})}function M(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}.json`,{method:"delete",body:a({},Qe)})})}function B(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"post",body:Qe})})}function j(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Qe})})}function Y(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:Qe.type}})})}function V(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:Qe})})}function G(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"post",body:Qe})})}function ae(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}.json`,{method:"put",body:Qe})})}function ie(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:Qe})})}function ue(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/edit.json`,{method:"get"})})}function q(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/problems/${Qe.id}/edit.json`,{method:"get"})})}function J(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets.json",{method:"get",params:Qe})})}function K(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}/set_score.json`,{method:"post",body:Qe})})}function oe(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}/set_challenge_score.json`,{method:"post",body:Qe})})}function ee(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}/combination_set_score.json`,{method:"post",body:Qe})})}function Q(Qe){return p(this,null,function*(){return Fetch(`/api/examination_banks//${Qe.exerid}/examination_banks_item_banks/${Qe.id}/combination_set_score.json`,{method:"post",body:Qe})})}function le(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}.json`,{method:"delete"})})}function Z(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/batch_set_score.json",{method:"post",body:Qe})})}function $(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_item_type.json",{method:"delete",body:Qe})})}function se(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${Qe.id}/adjust_position.json`,{method:"post",body:Qe})})}function _e(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:Qe})})}function Ie(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Qe.id}/revoke_item.json`,{method:"delete",body:Qe})})}function De(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Qe.exam_id}/examination_banks_item_banks.json`,{method:"post",body:Qe})})}function Ze(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/join_to_collection.json`,{method:"post",params:Qe})})}function Ne(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/cancel_collection.json`,{method:"post",params:Qe})})}function Lt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:Qe})})}function bt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:Qe})})}function kt(Qe){return p(this,null,function*(){return Fetch(`/api/item_banks/${Qe.id}/join_to_group.json`,{method:"post",body:Qe})})}function jt(Qe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${Qe.id}.json`,{method:"put",body:Qe})})}function Wt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:Qe})})}function zt(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe.id}/feedback.json`,{method:"post",body:Qe})})}function We(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"get",params:Qe})})}function St(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:Qe})})}function Ft(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:Qe})})}function tt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:Qe})})}function _t(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:Qe})})}function dt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:Qe})})}function qe(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${Qe==null?void 0:Qe.id}/set_public.json`,{method:"post",body:Qe})})}function Be(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:Qe})})}function Ee(Qe){return(0,r.ZP)(`/api/problems/${Qe.identifier}/publish.json`,{method:"post",body:Qe})}function Re(Qe){return(0,r.ZP)(`/api/problems/${Qe.identifier}/cancel_publish.json`,{method:"post",body:Qe})}function He(Qe){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...Qe.id]}})}function ze(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Qe.id}/up_position.json`,{method:"get",params:Qe})})}function Ye(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${Qe.id}/down_position.json`,{method:"get",params:Qe})})}function ht(Qe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Qe.id}/edit_hack.json`,{method:"get",params:Qe})})}function xt(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:Qe})})}function nr(Qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:Qe})})}function er(Qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:Qe})})}function Le(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},506:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(38986),i=(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})})}},1247:function(d,v,e){"use strict";e.d(v,{Am:function(){return _},Ar:function(){return We},BD:function(){return Ye},Be:function(){return qe},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return G},Gw:function(){return S},H:function(){return Wt},H1:function(){return zt},Hj:function(){return xt},JA:function(){return er},JG:function(){return oe},KE:function(){return Z},Lz:function(){return He},Mf:function(){return jt},NA:function(){return bt},PC:function(){return Ne},PP:function(){return Lt},PW:function(){return tt},Q3:function(){return Q},QC:function(){return Le},Qt:function(){return ze},Qz:function(){return D},R$:function(){return Ue},RP:function(){return ue},Ti:function(){return At},Uc:function(){return Vt},Ul:function(){return J},VB:function(){return ct},Vs:function(){return Gt},Wr:function(){return R},Xn:function(){return q},YQ:function(){return kt},Yn:function(){return b},Z8:function(){return Y},ak:function(){return Ft},cN:function(){return B},co:function(){return Be},cz:function(){return De},fK:function(){return V},gG:function(){return Ze},gZ:function(){return Rt},h$:function(){return j},ku:function(){return Re},lf:function(){return se},m7:function(){return K},mQ:function(){return M},mz:function(){return dt},n$:function(){return $},oK:function(){return y},oN:function(){return Kt},pH:function(){return ht},pb:function(){return Ce},qP:function(){return Qe},ql:function(){return Qt},rN:function(){return Ee},sw:function(){return _e},t1:function(){return Ie},to:function(){return ie},ub:function(){return nr},ux:function(){return le},wS:function(){return Ot},wT:function(){return A},yT:function(){return St},yy:function(){return Tt},z2:function(){return _t}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Te,Et,ye)=>Et in Te?i(Te,Et,{enumerable:!0,configurable:!0,writable:!0,value:ye}):Te[Et]=ye,a=(Te,Et)=>{for(var ye in Et||(Et={}))o.call(Et,ye)&&u(Te,ye,Et[ye]);if(f)for(var ye of f(Et))h.call(Et,ye)&&u(Te,ye,Et[ye]);return Te},x=(Te,Et)=>l(Te,c(Et)),p=(Te,Et,ye)=>new Promise((et,yt)=>{var Nt=Ct=>{try{Ir(ye.next(Ct))}catch(Gr){yt(Gr)}},Fe=Ct=>{try{Ir(ye.throw(Ct))}catch(Gr){yt(Gr)}},Ir=Ct=>Ct.done?et(Ct.value):Promise.resolve(Ct.value).then(Nt,Fe);Ir((ye=ye.apply(Te,Et)).next())});const y=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.id}/update_journals.json`,{method:"post",body:Te})}),_=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/change_score.json`,{method:"post",body:Te})}),b=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/history_comment`,{method:"Get",params:Te})}),S=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Te==null?void 0:Te.homeworkId}/feedback_know`,{method:"Get",params:Te})}),k=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te==null?void 0:Te.userId}/student_work_feedbacks.json`,{method:"POST",body:Te})}),R=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Te==null?void 0:Te.userId}/feedback_list.json`,{method:"Get",params:Te})}),A=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Te==null?void 0:Te.userId}/histories.json`,{method:"Get",params:Te})}),D=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/feedback_list`,{method:"Get",params:Te})}),M=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Te})}),B=Te=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te==null?void 0:Te.homeworkId}/appeal_list`,{method:"Get",params:Te})});function j(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/works_list.json`,{method:"post",body:a({},Te)})})}function Y(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Te.categoryId}/student_works.json`,{method:"get",params:a({},Te)})})}function V(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Te.categoryId}/header_info.json`,{method:"get",params:a({},Te)})})}function G(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te}/query_game_url.json`,{method:"get"})})}function ae(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ie(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}.json`,{method:"get"})})}function ue(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/code_review_results.json`,{method:"get",params:a({},Te)})})}function q(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/code_review_detail.json`,{method:"get",params:a({},Te)})})}function J(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/settings.json`,{method:"get",params:a({},Te)})})}function K(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/update_settings.json`,{method:"post",body:a({},Te)})})}function oe(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/group_list.json`,{method:"get",params:a({},Te)})})}function ee(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/works_list.xlsx`,{method:"get",params:a({},Te)})})}function Q(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.coursesId}/reference_answer.json`,{method:"get",params:a({},Te)})})}function le(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/publish_groups.json`,{method:"get",params:a({},Te)})})}function Z(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/end_groups.json`,{method:"get",params:a({},Te)})})}function $(Te){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Te)})})}function se(Te){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Te)})})}function _e(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.homeworkId}/shixun_work_report.json`,{method:"get",params:Te})})}function Ie(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Te})})}function De(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Te.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Te),{id:Te.categoryId})})})}function Ze(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Te)})})}function Ne(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/show_comment.json`,{method:"get",params:a({},Te)})})}function Lt(Te){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Te)})})}function bt(Te){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Te)})})}function kt(Te){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Te)})})}function jt(Te){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Te)})})}function Wt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/update_explanation.json`,{method:"post",body:a({},Te)})})}function zt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Te.coursesId}/homework_commons.json`,{method:"post",body:a({},Te)})})}function We(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}.json`,{method:"put",body:a({},Te)})})}function St(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Te.id}.json`,{method:"put",body:a({},Te)})})}function Ft(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Te)})})}function tt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.homeworkId}/edit.json`,{method:"get",params:a({},Te)})})}function _t(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.homeworkId}.json`,{method:"put",body:a({},Te)})})}function dt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Te)})})}function qe(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Te)})})}function Be(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Te)})})}function Ee(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Re(Te){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Te)})})}function He(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Te)})})}function ze(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Te.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Te)})})}function Ye(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/edit.json`,{method:"get",params:a({},Te)})})}function ht(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Te.id}.json`,{method:"get",params:a({},Te)})})}function xt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.userId}.json`,{method:"get",params:a({},Te)})})}function nr(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.userId}/supply_attachments.json`,{method:"get",params:a({},Te)})})}function er(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.userId}/comment_list.json`,{method:"get",params:a({},Te)})})}function Le(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.userId}/destroy_score.json`,{method:"delete",body:a({},Te)})})}function Qe(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.userId}/add_score_reply.json`,{method:"post",body:a({},Te)})})}function Qt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/all_student_works.json`,{method:"get",params:a({},Te)})})}function Rt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Te)})})}function Vt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/score_status.json`,{method:"get",params:a({},Te)})})}function Gt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Te.categoryId}/update_score.json`,{method:"get",params:a({},Te)})})}function Tt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.userId}/add_score.json`,{method:"post",body:a({},Te)})})}function qt(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te.userId}/cancel_appeal.json`,{method:"post",body:a({},Te)})})}function Ue(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Te)})})}function fe(Te){return p(this,null,function*(){return Fetch(`/api/student_works/${Te.userId}/deal_appeal_score.json`,{method:"post",body:a({},Te)})})}function pe(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Te.id}/reset_my_game.json`,{method:"get",params:a({},Te)})})}function Ot(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.homeworkId}/commit_des.json`,{method:"get",params:a({},Te)})})}function Ce(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Te.homeworkId}/update_des.json`,{method:"post",body:a({},Te)})})}function ct(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Te.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Te)})})}function Kt(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Te.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Te)})})}function At(Te){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Te.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Te)})})}},75736:function(d,v,e){"use strict";e.d(v,{$Q:function(){return Fr},AE:function(){return Gt},AQ:function(){return M},Ag:function(){return Et},Ar:function(){return le},At:function(){return mt},BK:function(){return Y},Bj:function(){return Ft},DC:function(){return We},Dz:function(){return ut},E4:function(){return zt},EH:function(){return se},Ee:function(){return fn},Er:function(){return ee},FB:function(){return j},Fg:function(){return S},GI:function(){return De},Gr:function(){return dt},Gu:function(){return Ie},Gz:function(){return b},HS:function(){return It},Hl:function(){return y},IT:function(){return At},I_:function(){return A},Ir:function(){return V},Je:function(){return Fe},K:function(){return $t},K0:function(){return Tr},KM:function(){return q},K_:function(){return $r},LK:function(){return Ir},LP:function(){return Ze},Ne:function(){return oe},OV:function(){return Lt},OW:function(){return $},Op:function(){return Mr},P2:function(){return kt},Po:function(){return D},Ps:function(){return qe},Q:function(){return K},Q1:function(){return yr},QA:function(){return ji},Ql:function(){return Ee},Rs:function(){return Le},SG:function(){return Ji},Tn:function(){return qt},Tr:function(){return gi},U0:function(){return Ye},U9:function(){return Be},UQ:function(){return Ce},Ui:function(){return mr},Vx:function(){return it},WO:function(){return Q},WT:function(){return Ea},Wi:function(){return tt},Wl:function(){return ye},X$:function(){return jt},Yn:function(){return fe},Z2:function(){return St},ZO:function(){return _t},Zt:function(){return ft},_7:function(){return J},_9:function(){return pe},aH:function(){return Re},al:function(){return nr},b8:function(){return Z},bq:function(){return Ue},dK:function(){return G},e:function(){return k},eX:function(){return _e},eb:function(){return Qe},fL:function(){return Nt},h4:function(){return gr},hS:function(){return _},he:function(){return R},hn:function(){return ie},ii:function(){return er},im:function(){return Ot},j8:function(){return Ne},jq:function(){return Qr},kF:function(){return Gr},km:function(){return xt},l3:function(){return bt},m7:function(){return ze},mI:function(){return Di},n5:function(){return B},nu:function(){return Ct},p0:function(){return Kt},q0:function(){return Vt},q9:function(){return Xt},qA:function(){return cn},rO:function(){return Rt},rs:function(){return ue},sr:function(){return ct},t2:function(){return Te},tX:function(){return Ln},uo:function(){return ht},v3:function(){return yt},w:function(){return et},xK:function(){return Tt},xg:function(){return Qt},xk:function(){return Wt},yE:function(){return He},yx:function(){return mi},zD:function(){return ae},zH:function(){return nn}});var r=e(38986),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(gt,Oi,Xi)=>Oi in gt?i(gt,Oi,{enumerable:!0,configurable:!0,writable:!0,value:Xi}):gt[Oi]=Xi,a=(gt,Oi)=>{for(var Xi in Oi||(Oi={}))o.call(Oi,Xi)&&u(gt,Xi,Oi[Xi]);if(f)for(var Xi of f(Oi))h.call(Oi,Xi)&&u(gt,Xi,Oi[Xi]);return gt},x=(gt,Oi)=>l(gt,c(Oi)),p=(gt,Oi,Xi)=>new Promise((vi,ya)=>{var yi=rr=>{try{Sn(Xi.next(rr))}catch(vt){ya(vt)}},qn=rr=>{try{Sn(Xi.throw(rr))}catch(vt){ya(vt)}},Sn=rr=>rr.done?vi(rr.value):Promise.resolve(rr.value).then(yi,qn);Sn((Xi=Xi.apply(gt,Oi)).next())});const y=gt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:gt})}),_=gt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:gt})}),b=gt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:gt})}),S=gt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:gt})}),k=gt=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:gt})});function R(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},gt)})})}function A(gt){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},gt||{})})})}function D(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}.json`,{method:"Get",params:gt})})}function M(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/show_right.json`,{method:"Get"})})}function B(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges.json`,{method:"Get"})})}function j(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:gt.save_type}})})}function Y(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/jupyter_exec.json${gt.reset?`?reset=${gt.reset}`:""}`,{method:"Get",params:gt})})}function V(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/shixun_exec.json${gt.reset?`?reset=${gt.reset}`:""}`,{method:"Get",params:gt})})}function G(gt){return p(this,null,function*(){return(0,r.ZP)(gt.url,{method:"Get"})})}function ae(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.shixun_identifier}/challenges/${gt.challenge_id}/index_up.json`,{method:"Get"})})}function ie(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.shixun_identifier}/challenges/${gt.challenge_id}/index_down.json`,{method:"Get"})})}function ue(gt){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:gt.container_id,container_type:gt.container_type}})})}function q(gt){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:gt.container_id,container_type:gt.container_type}})})}function J(gt){return p(this,null,function*(){const{id:Oi}=gt||{};return(0,r.ZP)(`/api/shixuns/${Oi}/search_user_courses.json`,{method:"Get",params:gt})})}function K(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt==null?void 0:gt.id}/send_to_course.json`,{method:"Post",body:a({},gt)})})}function oe(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/cancel_publish.json`,{method:"Get"})})}function ee(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/apply_public.json`,{method:"post",body:a({},gt)})})}function le(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/publish.json`,{method:"Get"})})}function Z(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function $(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${gt.id}.json`,{method:"delete"})})}function se(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:gt})})}function _e(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:gt})})}function Ie(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:gt})})}function De(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/review_newest_record.json`,{method:"Get"})})}function Ze(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/review_shixun.json`,{method:"post",body:gt})})}function Ne(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/collaborators.json`,{method:"Get",params:gt})})}function Lt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/shixun_members_added.json`,{method:"post",body:gt})})}function bt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.identifier}/add_members_group.json`,{method:"post",body:gt})})}function kt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/change_manager.json`,{method:"Get",params:gt})})}function jt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/change_manager.json`,{method:"post",body:gt})})}function Wt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/collaborators_delete.json`,{method:"delete",body:{user_id:gt.userId}})})}function zt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/ranking_list.json`,{method:"Get"})})}function We(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/settings.json`,{method:"Get"})})}function St(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:gt.mirror_id}})})}function Ft(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/get_script_contents.json`,{method:"Get",params:gt})})}function tt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/get_custom_script.json`,{method:"Get",params:gt})})}function _t(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/update_for_jupyter.json`,{method:"put",body:gt})})}function dt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/shixun_quotes.json`,{method:"Get"})})}function qe(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}.json`,{method:"delete"})})}function Be(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/close.json`,{method:"post",body:gt})})}function Ee(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:gt})})}function Re(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/update_permission_setting.json`,{method:"post",body:gt})})}function He(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/update_learn_setting.json`,{method:"post",body:gt})})}function ze(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/update_setting`,{method:"post",body:gt})})}function Ye(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/get_data_sets.json`,{method:"Get",params:gt})})}function ht(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/destroy_data_sets.json`,{method:"Delete",body:{id:gt.deleteId}})})}function xt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/new.json`,{method:"get"})})}function nr(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.identifier}/challenges.json`,{method:"post",body:a({},gt)})})}function er(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengeId}/edit.json`,{method:"get",params:{tab:gt.tab}})})}function Le(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}.json`,{method:"put",body:a({},gt)})})}function Qe(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/choose_questions.json`,{method:"get"})})}function Qt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/move_position.json`,{method:"post",body:a({},gt)})})}function Rt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}.json`,{method:"delete",body:a({},gt)})})}function Vt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/edit.json`,{method:"get",params:a({},gt)})})}function Gt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengeId}/answer.json`,{method:"get",params:a({},gt)})})}function Tt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengeId}/crud_answer.json`,{method:"post",body:a({},gt)})})}function qt(gt){return p(this,null,function*(){if(gt.type===1)return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/create_choose_question.json`,{method:"post",body:a({},gt)});if(gt.type===2)return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/create_blank_question.json`,{method:"post",body:a({},gt)});if(gt.type===3)return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/create_judge_question.json`,{method:"post",body:a({},gt)})})}function Ue(gt){return p(this,null,function*(){if(gt.type===1)return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},gt),{choose_id:gt.questionId})});if(gt.type===2)return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},gt),{choose_id:gt.questionId})});if(gt.type===3)return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},gt),{choose_id:gt.questionId})})})}function fe(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:gt.questionId}})})}function pe(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:gt.questionId}})})}function Ot(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:gt.questionId}})})}function Ce(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/challenges/${gt.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},gt),{choose_id:gt.questionId})})})}function ct(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/delete_git_file.json`,{method:"Delete",body:gt})})}function Kt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${gt.id}/delete_git_file.json`,{method:"Delete",body:gt})})}function At(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/mv_file.json`,{method:"post",body:gt})})}function Te(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${gt.id}/mv_file.json`,{method:"post",body:gt})})}function Et(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/repository.json`,{method:"post",body:gt})})}function ye(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${gt.id}/repository.json`,{method:"post",body:gt})})}function et(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/secret_repository.json`,{method:"post",body:gt})})}function yt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/add_file.json`,{method:"post",body:gt})})}function Nt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${gt.id}/add_file.json`,{method:"post",body:gt})})}function Fe(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/commits.json`,{method:"post",body:gt})})}function Ir(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/file_content.json`,{method:"post",body:gt})})}function Ct(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${gt.id}/file_content.json`,{method:"post",body:gt})})}function Gr(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/update_file.json`,{method:"post",body:gt})})}function Qr(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${gt.id}/update_file.json`,{method:"post",body:gt})})}function Mr(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/upload_git_folder.json`,{method:"post",body:{path:gt.path,secret_repository:gt.secret_repository}})})}function Fr(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/${gt.url}`,{method:"Get"})})}function mr(gt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:gt})})}function $r(gt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:gt})})}function nn(gt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:gt})})}function cn(gt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:gt})})}function Xt(gt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:gt})})}function mt(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/fork_list.json`,{method:"Get",params:gt})})}function ut(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.identifier}/change_editable.json`,{method:"put",body:a({},gt)})})}function ft(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/set_secret_dir.json`,{method:"post",body:a({},gt)})})}function $t(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:gt})})}function yr(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:gt})})}function gr(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/init_repository.json`,{method:"post",body:a({},gt)})})}function it(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${gt.id}/init_repository.json`,{method:"post",body:a({},gt)})})}function Tr(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/update_secret_repository.json`,{method:"post",body:a({},gt)})})}function fn(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/exist_exercise.json`,{method:"get",params:a({},gt)})})}function Ln(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${gt.id}.json`,{method:"get",params:a({},gt)})})}function Vr(gt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${gt.id}/publish.json`,{method:"post",body:a({},gt)})})}function Zn(gt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${gt.id}/open_vnc.json`,{method:"post",params:a({},gt)})})}function Hn(gt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${gt.id}/open_webssh.json`,{method:"post",params:a({},gt)})})}function Pn(gt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${gt.id}/save_image.json`,{method:"post",body:a({},gt)})})}function yn(gt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${gt.id}/delete_image.json`,{method:"post",body:a({},gt)})})}function Vn(gt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${gt.id}/extend_vnc.json`,{method:"post",body:a({},gt)})})}function oi(gt){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${gt.id}/reset_vnc_link.json`,{method:"post",body:a({},gt)})})}function mi(gt){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},gt)})})}function Di(gt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},gt)})})}function ji(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},gt)})})}function gi(gt){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:gt})})}function Ea(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${gt}`,{method:"get",params:{is_initiative_study:1}})})}function ui(gt){return p(this,null,function*(){return Fetch(`/api/shixuns/${gt.id}/update_shixun_study_num.json`,{method:"post",body:a({},gt)})})}function Ji(gt){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:gt})})}function It(gt){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${gt}/recommend_config.json`,{method:"get"})})}},49234:function(d,v,e){"use strict";e.d(v,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return V},gp:function(){return a},iU:function(){return j},l3:function(){return R},mw:function(){return A},oZ:function(){return _},rM:function(){return D},r_:function(){return Y},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(G,ae,ie)=>ae in G?i(G,ae,{enumerable:!0,configurable:!0,writable:!0,value:ie}):G[ae]=ie,h=(G,ae)=>{for(var ie in ae||(ae={}))c.call(ae,ie)&&o(G,ie,ae[ie]);if(l)for(var ie of l(ae))f.call(ae,ie)&&o(G,ie,ae[ie]);return G},u=(G,ae,ie)=>new Promise((ue,q)=>{var J=ee=>{try{oe(ie.next(ee))}catch(Q){q(Q)}},K=ee=>{try{oe(ie.throw(ee))}catch(Q){q(Q)}},oe=ee=>ee.done?ue(ee.value):Promise.resolve(ee.value).then(J,K);oe((ie=ie.apply(G,ae)).next())});function a(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/teachers.json`,{method:"get",params:h({},G)})})}function x(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/apply_teachers.json`,{method:"get",params:h({},G)})})}function p(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/graduation_group_list.json`,{method:"get",params:h({},G)})})}function y(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/all_course_groups.json`,{method:"get",params:h({},G)})})}function _(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/set_course_group.json`,{method:"post",body:h({},G)})})}function b(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/join_graduation_group.json`,{method:"post",body:h({},G)})})}function S(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/create_graduation_group.json`,{method:"post",body:h({},G)})})}function k(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},G)})})}function R(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/delete_from_course.json`,{method:"post",body:h({},G)})})}function A(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/change_member_role.json`,{method:"post",body:h({},G)})})}function D(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/change_course_admin.json`,{method:"post",body:h({},G)})})}function M(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/teacher_application_review.json`,{method:"post",body:h({},G)})})}function B(G){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G.coursesId}/students.json`,{method:"get",params:h({},G)})})}function j(G,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/apply_students.json`,{method:"get",params:ae})})}function Y(G,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/join_student_checkout.json`,{method:"get",params:ae})})}function V(G,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${G}/student_application_review.json`,{method:"post",body:ae})})}},86245:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return J},DA:function(){return D},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return jt},FM:function(){return ie},Fn:function(){return Q},Gq:function(){return zt},Ho:function(){return B},IU:function(){return _e},JJ:function(){return le},Ol:function(){return Ne},Qx:function(){return ae},Tv:function(){return Z},V8:function(){return x},WS:function(){return K},WY:function(){return G},ai:function(){return q},bG:function(){return k},bJ:function(){return a},c0:function(){return Wt},dE:function(){return se},dt:function(){return $},gI:function(){return oe},lO:function(){return ue},mW:function(){return V},n0:function(){return A},nV:function(){return Ze},o1:function(){return Lt},qE:function(){return _},qN:function(){return M},rV:function(){return j},sh:function(){return De},vR:function(){return S},w3:function(){return Y},x4:function(){return R},z2:function(){return bt}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(We,St,Ft)=>St in We?i(We,St,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):We[St]=Ft,h=(We,St)=>{for(var Ft in St||(St={}))c.call(St,Ft)&&o(We,Ft,St[Ft]);if(l)for(var Ft of l(St))f.call(St,Ft)&&o(We,Ft,St[Ft]);return We},u=(We,St,Ft)=>new Promise((tt,_t)=>{var dt=Ee=>{try{Be(Ft.next(Ee))}catch(Re){_t(Re)}},qe=Ee=>{try{Be(Ft.throw(Ee))}catch(Re){_t(Re)}},Be=Ee=>Ee.done?tt(Ee.value):Promise.resolve(Ee.value).then(dt,qe);Be((Ft=Ft.apply(We,St)).next())});const a=We=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${We.id}/move.json`,{method:"post",body:We})}),x=We=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${We.id}.json`,{method:"delete",body:We})}),p=We=>u(void 0,null,function*(){return(0,r.ZP)(`/api/common_comments/${We.id}.json`,{method:"put",body:We})}),y=We=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"post",body:We})}),_=We=>u(void 0,null,function*(){return(0,r.ZP)("/api/common_comments.json",{method:"Get",params:We})});function b(We){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/login.json",{method:"post",body:h({},We)})})}function S(We){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/logout.json",{method:"get"})})}function k(We){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_user_info.json",{method:"get",params:h({},We)})})}function R(We){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_notice.json",{method:"get",params:h({},We)})})}function A(){return u(this,null,function*(){return(0,r.ZP)("/api/users/system_update.json",{method:"get"})})}function D(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/homepage_info.json`,{method:"get"})})}function M(We){return u(this,null,function*(){return(0,r.ZP)("/api/users/attendance.json",{method:"post"})})}function B(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/courses.json`,{method:"get",params:We})})}function j(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/shixuns.json`,{method:"get",params:We})})}function Y(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/subjects.json`,{method:"get",params:We})})}function V(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/projects.json`,{method:"get",params:We})})}function G(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/videos.json`,{method:"get",params:We})})}function ae(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/videos/review.json`,{method:"get",params:We})})}function ie(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/videos/${We.id}.json`,{method:"delete"})})}function ue(We){return u(this,null,function*(){return(0,r.ZP)("/api/watch_video_histories.json",{method:"post",body:We})})}function q(We){return u(this,null,function*(){return(0,r.ZP)("/api/users/question_banks.json",{method:"get",params:We})})}function J(We){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_public.json",{method:"post",body:We})})}function K(We){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:We})})}function oe(We){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/my_courses.json",{method:"get",params:We})})}function ee(We){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/send_to_course.json",{method:"post",body:We})})}function Q(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/videos/${We.object_id}/create_course_video.json`,{method:"post",body:We})})}function le(We){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${We.topicId}.json`,{method:"get",params:We})})}function Z(We){return u(this,null,function*(){return(0,r.ZP)("/api/question_banks/multi_delete.json",{method:"delete",body:h({},We)})})}function $(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/videos/batch_publish.json`,{method:"post",body:We})})}function se(We){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${We.identifier}/cancel.json`,{method:"delete",body:h({},We)})})}function _e(We){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},We)})})}function Ie(We){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/user_choice_learn_path.json",{method:"post",body:h({},We)})})}function De(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/persona.json",{method:"get"})})}function Ze(){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/user_learn_path.json",{method:"get"})})}function Ne(We){return(0,r.ZP)("/api/accounts/valid_email_and_phone.json",{method:"get",params:We})}function Lt(We){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:We})}function bt(We){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},We)})}function kt(We){return Fetch("/api/weapps/register.json",{method:"post",body:h({},We)})}function jt(We){return(0,r.ZP)(`/api/users/accounts/${We.login}/password.json`,{method:"put",body:h({},We)})}function Wt(We){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},We)})}function zt(We){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},We)})}},69618:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return B},Db:function(){return ue},Ju:function(){return ie},Mz:function(){return V},O2:function(){return _},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return Y},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return G}});var r=e(38986),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(q,J,K)=>J in q?i(q,J,{enumerable:!0,configurable:!0,writable:!0,value:K}):q[J]=K,h=(q,J)=>{for(var K in J||(J={}))c.call(J,K)&&o(q,K,J[K]);if(l)for(var K of l(J))f.call(J,K)&&o(q,K,J[K]);return q},u=(q,J,K)=>new Promise((oe,ee)=>{var Q=$=>{try{Z(K.next($))}catch(se){ee(se)}},le=$=>{try{Z(K.throw($))}catch(se){ee(se)}},Z=$=>$.done?oe($.value):Promise.resolve($.value).then(Q,le);Z((K=K.apply(q,J)).next())});function a(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_video_histories.json`,{method:"Get",params:h({},q)})})}function x(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/watch_statics.json`,{method:"Get",params:h({},q)})})}function p(q){return u(this,null,function*(){return(0,r.ZP)(`/api/course_videos/${q.videoId}/watch_histories.json`,{method:"Get",params:h({},q)})})}function y(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.coursesId}/own_watch_histories.json`,{method:"Get",params:h({},q)})})}function _(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}.json`,{method:"Get",params:h({},q)})})}function b(q){return u(this,null,function*(){return Fetch("/api/video_items.json",{method:"post",body:q})})}function S(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function k(q){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${q.id}/edit.json`,{method:"Get",params:h({},q)})})}function R(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/star.json`,{method:"post",body:q})})}function A(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}.json`,{method:"put",body:q})})}function D(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/send_to_course.json`,{method:"post",body:q})})}function M(q){return u(this,null,function*(){return Fetch("/api/users/my_courses.json",{method:"Get",params:h({},q)})})}function B(q){return u(this,null,function*(){return(0,r.ZP)(`/api/video_items/${q.id}/view_video.json`,{method:"post",body:q})})}function j(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function Y(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function V(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function G(q){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:q})})}function ae(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q==null?void 0:q.id}/course_videos_tree.json`,{method:"get",params:q})})}function ie(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function ue(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},466:function(d,v,e){"use strict";e.d(v,{A:function(){return V},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 Y},cZ:function(){return u},rV:function(){return D},sT:function(){return b},tS:function(){return j},xt:function(){return A},y2:function(){return l}});var r=e(38986),i=(G,ae,ie)=>new Promise((ue,q)=>{var J=ee=>{try{oe(ie.next(ee))}catch(Q){q(Q)}},K=ee=>{try{oe(ie.throw(ee))}catch(Q){q(Q)}},oe=ee=>ee.done?ue(ee.value):Promise.resolve(ee.value).then(J,K);oe((ie=ie.apply(G,ae)).next())});const l=G=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:G})});function c(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions/${G.id}.json`,{method:"put",body:G})})}function f(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions/${G.id}.json`,{method:"get",params:G})})}function o(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions.json`,{method:"post",body:G})})}function h(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/discussions.json`,{method:"get",params:G})})}function u(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}/add_resources.json`,{method:"post",body:G})})}function a(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}/lesson_resources_list.json`,{method:"get",params:G})})}function x(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}.json`,{method:"get",params:G})})}function p(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons/${G.id}.json`,{method:"put",body:G})})}function y(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons.json`,{method:"post",body:G})})}function _(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/good_lessons.json`,{method:"get",params:G})})}function b(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G==null?void 0:G.id}.json`,{method:"get"})})}function S(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G==null?void 0:G.id}/modules.json`,{method:"get"})})}function k(G){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${G.id}/videos/batch_publish.json`,{method:"post",body:G})})}function R(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/members.json`,{method:"post",body:G})})}function A(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_spacesId}/members/${G.id}/change_creator.json`,{method:"post",body:G})})}function D(G,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/shixuns.json`,{method:"get",params:ae})})}function M(G,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/shixuns`,{method:"post",body:ae})})}function B(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_classroom_id}/shixuns/${G.shixun_id}.json`,{method:"delete"})})}function j(G,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/subjects.json`,{method:"get",params:ae})})}function Y(G,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G}/subjects.json`,{method:"post",body:ae})})}function V(G){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${G.virtual_classroom_id}/subjects/${G.subject_id}.json`,{method:"delete"})})}},48790:function(d,v,e){"use strict";e.d(v,{$O:function(){return J},EO:function(){return ht},G5:function(){return Y},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return G},JA:function(){return Ye},JL:function(){return A},Jd:function(){return q},Ny:function(){return k},RV:function(){return ie},Rb:function(){return j},Rm:function(){return V},V9:function(){return $},Yh:function(){return Q},aN:function(){return b},aQ:function(){return u},ag:function(){return ze},bg:function(){return nr},d8:function(){return B},dE:function(){return ae},eB:function(){return ue},eY:function(){return er},fn:function(){return He},h:function(){return Gt},j5:function(){return _},m$:function(){return Le},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Qt},y8:function(){return xt}});var r=e(25690),i=(Tt=>(Tt[Tt.SuperAdmin=1]="SuperAdmin",Tt[Tt.Operation=2]="Operation",Tt[Tt.CertifiedTeacher=5]="CertifiedTeacher",Tt[Tt.TrainingProduction=8]="TrainingProduction",Tt[Tt.UncertifiedTeacher=12]="UncertifiedTeacher",Tt[Tt.Student=15]="Student",Tt))(i||{}),l=(Tt=>(Tt[Tt.SuperAdmin=1]="SuperAdmin",Tt[Tt.Operation=2]="Operation",Tt[Tt.Admin=5]="Admin",Tt[Tt.Teacher=8]="Teacher",Tt[Tt.Assistant=12]="Assistant",Tt[Tt.Student=15]="Student",Tt))(l||{}),c=(Tt=>(Tt[Tt.SuperAdmin=0]="SuperAdmin",Tt[Tt.Teacher=1]="Teacher",Tt[Tt.Student=2]="Student",Tt))(c||{});const f=Tt=>{const{user:qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ue}=qt;return Tt.some(fe=>fe==(Ue==null?void 0:Ue.role))},o=Tt=>{const{user:qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ue}=qt;return Ue!=null&&Ue.own?!0:Tt.some(fe=>{var pe;return fe==((pe=Ue==null?void 0:Ue.course)==null?void 0:pe.course_role)})},h=()=>{const{user:Tt}=(0,r.getDvaApp)()._store.getState(),{userInfo:qt}=Tt;return qt.main_site},u=()=>{var Tt;const{user:qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ue}=qt;return(Tt=Ue==null?void 0:Ue.course)==null?void 0:Tt.course_is_end},a=()=>{const{user:Tt}=getDvaApp()._store.getState(),{userInfo:qt}=Tt;return qt.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]),D=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),j=()=>o([1,5,2]),Y=()=>o([1,2,5,8]),V=()=>o([12]),G=()=>o([8]),ae=()=>o([15]),ie=()=>o([1,2,5,8,12,15]),ue=()=>o([1,2,5,8,12]),q=()=>{var Tt;const{user:qt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ue}=qt;return((Tt=Ue==null?void 0:Ue.course)==null?void 0:Tt.course_role)===null},J=()=>{var Tt;const{user:qt,globalSetting:Ue}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=qt,pe=((Tt=Ue==null?void 0:Ue.setting)==null?void 0:Tt.big_model_users)||[];return pe==null?void 0:pe.includes(fe==null?void 0:fe.login)},K=(Tt=!0,qt=!1)=>f([1,2,5,8,12,15]),oe=(Tt=!0,qt=!1)=>qt||!qt&&f([1]),ee=(Tt=!0,qt=!1)=>qt||!qt&&f([1,2]),Q=()=>f([15]),le=(Tt=!0,qt=!1)=>Tt?f([1,2,5,8,12,15]):qt||!qt&&f([1,2]),Z=(Tt=!0,qt=!1)=>Tt?f([1,2,5,8,12,15]):qt||!qt&&f([1,2]),$=(Tt=!0,qt=!1)=>{const{user:Ue}=(0,r.getDvaApp)()._store.getState(),{userInfo:fe}=Ue;return fe!=null&&fe.is_shixun_marker?!0:f([1,2,5,8])},se=(Tt=!0,qt=!1)=>Tt?f([1]):qt||!qt&&f([1]),_e=(Tt=!0,qt=!1)=>Tt?f([1,2]):qt||!qt&&f([1,2]),Ie=(Tt=!0,qt=!1)=>Tt?f([1,2,5,8,12,15]):qt||!qt&&f([1,2]),De=(Tt=!0,qt=!1)=>Tt?f([1,2,5,8,12]):qt||!qt&&f([1,2]),Ze=(Tt=!0,qt=!1)=>Tt?f([1,2,5]):qt||!qt&&f([1,2]),Ne=(Tt=!0,qt=!1)=>Tt?f([1]):!1,Lt=(Tt=!0,qt=!1)=>f([1,2,5,8,12,15]),bt=(Tt=!0,qt=!1)=>Tt?f([1]):qt||!qt&&f([1]),kt=(Tt=!0,qt=!1)=>Tt?f([1,2]):qt||!qt&&f([1,2]),jt=(Tt=!0,qt=!1)=>Tt?f([1,2,5,8,12,15]):qt||!qt&&f([1,2]),Wt=(Tt=!0,qt=!1)=>Tt?!1:qt||!qt&&f([1,2]),zt=(Tt=!0,qt=!1)=>Tt?qt||!qt&&f([1,2]):!1,We=(Tt=!0,qt=!1)=>Tt?f([1,2,5,8,12]):!1,St=(Tt=!0,qt=!1)=>Tt?!qt&&f([1,2,5,8,12]):!1,Ft=(Tt=!0,qt=!1)=>Tt?f([1,2,5]):qt||!qt&&f([1,2]),tt=(Tt=!0,qt=!1)=>f([1,2,5,8,12]),_t=(Tt=!0,qt=!1)=>Tt?f([1]):qt||!qt&&f([1]),dt=(Tt=!0,qt=!1)=>Tt?f([1,2]):qt||!qt&&f([1,2]),qe=(Tt=!0,qt=!1)=>Tt?f([1,2,5,8,12]):qt||!qt&&f([1,2]),Be=(Tt=!0,qt=!1)=>Tt?qt||!qt&&f([1,2]):!1,Ee=(Tt=!0,qt=!1)=>Tt?f([1,2,5,8,12]):qt||!qt&&f([1,2]),Re=(Tt=!0,qt=!1)=>o([8]),He=()=>f([1]),ze=()=>f([1,2]),Ye=()=>f([15]),ht=()=>f([1,2,5]),xt=()=>f([1,2,5,12]),nr=()=>{var Tt;const{user:qt}=(0,r.getDvaApp)()._store.getState();return!!((Tt=qt.userInfo)!=null&&Tt.login)},er=()=>{const{user:Tt}=(0,r.getDvaApp)()._store.getState();return Tt.userInfo},Le=()=>{var Tt,qt;const{user:Ue}=(0,r.getDvaApp)()._store.getState();return!!((qt=(Tt=Ue.userInfo)==null?void 0:Tt.path)!=null&&qt.own)},Qe=Tt=>{const{graduations:qt}=(0,r.getDvaApp)()._store.getState(),{details:Ue}=qt;return Tt.some(fe=>fe===(Ue==null?void 0:Ue.user_identity))},Qt=()=>Qe([0,1]),Rt=()=>Qe([0]),Vt=()=>Qe([1]),Gt=()=>Qe([2])},32162:function(d,v,e){"use strict";e.d(v,{a2:function(){return c},fw:function(){return r},gW:function(){return l},k:function(){return f},k4:function(){return i}});const r=[{id:0,name:"\u5355\u9009\u9898",nameType:"SINGLE"},{id:1,name:"\u591A\u9009\u9898",nameType:"MULTIPLE"},{id:2,name:"\u5224\u65AD\u9898",nameType:"JUDGMENT"},{id:3,name:"\u586B\u7A7A\u9898",nameType:"COMPLETION"},{id:4,name:"\u7B80\u7B54\u9898",nameType:"SUBJECTIVE"},{id:5,name:"\u5B9E\u8BAD\u9898",nameType:"PRACTICAL"},{id:6,name:"\u7F16\u7A0B\u9898",nameType:"PROGRAM"},{id:7,name:"\u7EC4\u5408\u9898",nameType:"COMBINATION"},{id:8,name:"\u7A0B\u5E8F\u586B\u7A7A\u9898",nameType:"BPROGRAM"}],i=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];var l=(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||{})},77935:function(d,v,e){"use strict";e.d(v,{F:function(){return r}});const r={load:"text/html",123:"application/vndlotus-1-2-3","3ds":"image/x-3ds","3g2":"video/3gpp","3ga":"video/3gpp","3gp":"video/3gpp","3gpp":"video/3gpp",602:"application/x-t602",669:"audio/x-mod","7z":"application/x-7z-compressed",a:"application/x-archive",aac:"audio/mp4",abw:"application/x-abiword",abwcrashed:"application/x-abiword",abwgz:"application/x-abiword",ac3:"audio/ac3",ace:"application/x-ace",adb:"text/x-adasrc",ads:"text/x-adasrc",afm:"application/x-font-afm",ag:"image/x-applix-graphics",ai:"application/illustrator",aif:"audio/x-aiff",aifc:"audio/x-aiff",aiff:"audio/x-aiff",al:"application/x-perl",alz:"application/x-alz",amr:"audio/amr",ani:"application/x-navi-animation","anim[1-9j]":"video/x-anim",anx:"application/annodex",ape:"audio/x-ape",arj:"application/x-arj",arw:"image/x-sony-arw",as:"application/x-applix-spreadsheet",asc:"text/plain",asf:"video/x-ms-asf",asp:"application/x-asp",ass:"text/x-ssa",asx:"audio/x-ms-asx",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",aw:"application/x-applix-word",awb:"audio/amr-wb",awk:"application/x-awk",axa:"audio/annodex",axv:"video/annodex",bak:"application/x-trash",bcpio:"application/x-bcpio",bdf:"application/x-font-bdf",bib:"text/x-bibtex",bin:"application/octet-stream",blend:"application/x-blender",blender:"application/x-blender",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip",c:"text/x-csrc","c++":"text/x-c++src",cab:"application/vndms-cab-compressed",cb7:"application/x-cb7",cbr:"application/x-cbr",cbt:"application/x-cbt",cbz:"application/x-cbz",cc:"text/x-c++src",cdf:"application/x-netcdf",cdr:"application/vndcorel-draw",cer:"application/x-x509-ca-cert",cert:"application/x-x509-ca-cert",cgm:"image/cgm",chm:"application/x-chm",chrt:"application/x-kchart",class:"application/x-java",cls:"text/x-tex",cmake:"text/x-cmake",cpio:"application/x-cpio",cpiogz:"application/x-cpio-compressed",cpp:"text/x-c++src",cr2:"image/x-canon-cr2",crt:"application/x-x509-ca-cert",crw:"image/x-canon-crw",cs:"text/x-csharp",csh:"application/x-csh",css:"text/css",cssl:"text/css",csv:"text/csv",cue:"application/x-cue",cur:"image/x-win-bitmap",cxx:"text/x-c++src",d:"text/x-dsrc",dar:"application/x-dar",dbf:"application/x-dbf",dc:"application/x-dc-rom",dcl:"text/x-dcl",dcm:"application/dicom",dcr:"image/x-kodak-dcr",dds:"image/x-dds",deb:"application/x-deb",der:"application/x-x509-ca-cert",desktop:"application/x-desktop",dia:"application/x-dia-diagram",diff:"text/x-patch",divx:"video/x-msvideo",djv:"image/vnddjvu",djvu:"image/vnddjvu",dng:"image/x-adobe-dng",doc:"application/msword",docbook:"application/docbook+xml",docm:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",docx:"application/vndopenxmlformats-officedocumentwordprocessingmldocument",dot:"text/vndgraphviz",dsl:"text/x-dsl",dtd:"application/xml-dtd",dtx:"text/x-tex",dv:"video/dv",dvi:"application/x-dvi",dvibz2:"application/x-bzdvi",dvigz:"application/x-gzdvi",dwg:"image/vnddwg",dxf:"image/vnddxf",e:"text/x-eiffel",egon:"application/x-egon",eif:"text/x-eiffel",el:"text/x-emacs-lisp",emf:"image/x-emf",emp:"application/vndemusic-emusic_package",ent:"application/xml-external-parsed-entity",eps:"image/x-eps",epsbz2:"image/x-bzeps",epsgz:"image/x-gzeps",epsf:"image/x-eps",epsfbz2:"image/x-bzeps",epsfgz:"image/x-gzeps",epsi:"image/x-eps",epsibz2:"image/x-bzeps",epsigz:"image/x-gzeps",epub:"application/epub+zip",erl:"text/x-erlang",es:"application/ecmascript",etheme:"application/x-e-theme",etx:"text/x-setext",exe:"application/x-ms-dos-executable",exr:"image/x-exr",ez:"application/andrew-inset",f:"text/x-fortran",f90:"text/x-fortran",f95:"text/x-fortran",fb2:"application/x-fictionbook+xml",fig:"image/x-xfig",fits:"image/fits",fl:"application/x-fluid",flac:"audio/x-flac",flc:"video/x-flic",fli:"video/x-flic",flv:"video/x-flv",flw:"application/x-kivio",fo:"text/x-xslfo",for:"text/x-fortran",g3:"image/fax-g3",gb:"application/x-gameboy-rom",gba:"application/x-gba-rom",gcrd:"text/directory",ged:"application/x-gedcom",gedcom:"application/x-gedcom",gen:"application/x-genesis-rom",gf:"application/x-tex-gf",gg:"application/x-sms-rom",gif:"image/gif",glade:"application/x-glade",gmo:"application/x-gettext-translation",gnc:"application/x-gnucash",gnd:"application/gnunet-directory",gnucash:"application/x-gnucash",gnumeric:"application/x-gnumeric",gnuplot:"application/x-gnuplot",gp:"application/x-gnuplot",gpg:"application/pgp-encrypted",gplt:"application/x-gnuplot",gra:"application/x-graphite",gsf:"application/x-font-type1",gsm:"audio/x-gsm",gtar:"application/x-tar",gv:"text/vndgraphviz",gvp:"text/x-google-video-pointer",gz:"application/x-gzip",h:"text/x-chdr","h++":"text/x-c++hdr",hdf:"application/x-hdf",hh:"text/x-c++hdr",hp:"text/x-c++hdr",hpgl:"application/vndhp-hpgl",hpp:"text/x-c++hdr",hs:"text/x-haskell",htm:"text/html",html:"text/html",hwp:"application/x-hwp",hwt:"application/x-hwt",hxx:"text/x-c++hdr",ica:"application/x-ica",icb:"image/x-tga",icns:"image/x-icns",ico:"image/vndmicrosofticon",ics:"text/calendar",idl:"text/x-idl",ief:"image/ief",iff:"image/x-iff",ilbm:"image/x-ilbm",ime:"text/x-imelody",imy:"text/x-imelody",ins:"text/x-tex",iptables:"text/x-iptables",iso:"application/x-cd-image",iso9660:"application/x-cd-image",it:"audio/x-it",j2k:"image/jp2",jad:"text/vndsunj2meapp-descriptor",jar:"application/x-java-archive",java:"text/x-java",jng:"image/x-jng",jnlp:"application/x-java-jnlp-file",jp2:"image/jp2",jpc:"image/jp2",jpe:"image/jpeg",jpeg:"image/jpeg",jpf:"image/jp2",jpg:"image/jpeg",jpr:"application/x-jbuilder-project",jpx:"image/jp2",js:"application/javascript",json:"application/json",jsonp:"application/jsonp",k25:"image/x-kodak-k25",kar:"audio/midi",karbon:"application/x-karbon",kdc:"image/x-kodak-kdc",kdelnk:"application/x-desktop",kexi:"application/x-kexiproject-sqlite3",kexic:"application/x-kexi-connectiondata",kexis:"application/x-kexiproject-shortcut",kfo:"application/x-kformula",kil:"application/x-killustrator",kino:"application/smil",kml:"application/vndgoogle-earthkml+xml",kmz:"application/vndgoogle-earthkmz",kon:"application/x-kontour",kpm:"application/x-kpovmodeler",kpr:"application/x-kpresenter",kpt:"application/x-kpresenter",kra:"application/x-krita",ksp:"application/x-kspread",kud:"application/x-kugar",kwd:"application/x-kword",kwt:"application/x-kword",la:"application/x-shared-library-la",latex:"text/x-tex",ldif:"text/x-ldif",lha:"application/x-lha",lhs:"text/x-literate-haskell",lhz:"application/x-lhz",log:"text/x-log",ltx:"text/x-tex",lua:"text/x-lua",lwo:"image/x-lwo",lwob:"image/x-lwo",lws:"image/x-lws",ly:"text/x-lilypond",lyx:"application/x-lyx",lz:"application/x-lzip",lzh:"application/x-lha",lzma:"application/x-lzma",lzo:"application/x-lzop",m:"text/x-matlab",m15:"audio/x-mod",m2t:"video/mpeg",m3u:"audio/x-mpegurl",m3u8:"audio/x-mpegurl",m4:"application/x-m4",m4a:"audio/mp4",m4b:"audio/x-m4b",m4v:"video/mp4",mab:"application/x-markaby",man:"application/x-troff-man",mbox:"application/mbox",md:"application/x-genesis-rom",mdb:"application/vndms-access",mdi:"image/vndms-modi",me:"text/x-troff-me",med:"audio/x-mod",metalink:"application/metalink+xml",mgp:"application/x-magicpoint",mid:"audio/midi",midi:"audio/midi",mif:"application/x-mif",minipsf:"audio/x-minipsf",mka:"audio/x-matroska",mkv:"video/x-matroska",ml:"text/x-ocaml",mli:"text/x-ocaml",mm:"text/x-troff-mm",mmf:"application/x-smaf",mml:"text/mathml",mng:"video/x-mng",mo:"application/x-gettext-translation",mo3:"audio/x-mo3",moc:"text/x-moc",mod:"audio/x-mod",mof:"text/x-mof",moov:"video/quicktime",mov:"video/quicktime",movie:"video/x-sgi-movie","mp+":"audio/x-musepack",mp2:"video/mpeg",mp3:"audio/mpeg",mp4:"video/mp4",mpc:"audio/x-musepack",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpga:"audio/mpeg",mpp:"audio/x-musepack",mrl:"text/x-mrml",mrml:"text/x-mrml",mrw:"image/x-minolta-mrw",ms:"text/x-troff-ms",msi:"application/x-msi",msod:"image/x-msod",msx:"application/x-msx-rom",mtm:"audio/x-mod",mup:"text/x-mup",mxf:"application/mxf",n64:"application/x-n64-rom",nb:"application/mathematica",nc:"application/x-netcdf",nds:"application/x-nintendo-ds-rom",nef:"image/x-nikon-nef",nes:"application/x-nes-rom",nfo:"text/x-nfo",not:"text/x-mup",nsc:"application/x-netshow-channel",nsv:"video/x-nsv",o:"application/x-object",obj:"application/x-tgif",ocl:"text/x-ocl",oda:"application/oda",odb:"application/vndoasisopendocumentdatabase",odc:"application/vndoasisopendocumentchart",odf:"application/vndoasisopendocumentformula",odg:"application/vndoasisopendocumentgraphics",odi:"application/vndoasisopendocumentimage",odm:"application/vndoasisopendocumenttext-master",odp:"application/vndoasisopendocumentpresentation",ods:"application/vndoasisopendocumentspreadsheet",odt:"application/vndoasisopendocumenttext",oga:"audio/ogg",ogg:"video/x-theora+ogg",ogm:"video/x-ogm+ogg",ogv:"video/ogg",ogx:"application/ogg",old:"application/x-trash",oleo:"application/x-oleo",opml:"text/x-opml+xml",ora:"image/openraster",orf:"image/x-olympus-orf",otc:"application/vndoasisopendocumentchart-template",otf:"application/x-font-otf",otg:"application/vndoasisopendocumentgraphics-template",oth:"application/vndoasisopendocumenttext-web",otp:"application/vndoasisopendocumentpresentation-template",ots:"application/vndoasisopendocumentspreadsheet-template",ott:"application/vndoasisopendocumenttext-template",owl:"application/rdf+xml",oxt:"application/vndopenofficeorgextension",p:"text/x-pascal",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7s:"application/pkcs7-signature",pack:"application/x-java-pack200",pak:"application/x-pak",par2:"application/x-par2",pas:"text/x-pascal",patch:"text/x-patch",pbm:"image/x-portable-bitmap",pcd:"image/x-photo-cd",pcf:"application/x-cisco-vpn-settings",pcfgz:"application/x-font-pcf",pcfz:"application/x-font-pcf",pcl:"application/vndhp-pcl",pcx:"image/x-pcx",pdb:"chemical/x-pdb",pdc:"application/x-aportisdoc",pdf:"application/pdf",pdfbz2:"application/x-bzpdf",pdfgz:"application/x-gzpdf",pef:"image/x-pentax-pef",pem:"application/x-x509-ca-cert",perl:"application/x-perl",pfa:"application/x-font-type1",pfb:"application/x-font-type1",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pgn:"application/x-chess-pgn",pgp:"application/pgp-encrypted",php:"application/x-php",php3:"application/x-php",php4:"application/x-php",pict:"image/x-pict",pict1:"image/x-pict",pict2:"image/x-pict",pickle:"application/python-pickle",pk:"application/x-tex-pk",pkipath:"application/pkix-pkipath",pkr:"application/pgp-keys",pl:"application/x-perl",pla:"audio/x-iriver-pla",pln:"application/x-planperfect",pls:"audio/x-scpls",pm:"application/x-perl",png:"image/png",pnm:"image/x-portable-anymap",pntg:"image/x-macpaint",po:"text/x-gettext-translation",por:"application/x-spss-por",pot:"text/x-gettext-translation-template",ppm:"image/x-portable-pixmap",pps:"application/vndms-powerpoint",ppt:"application/vndms-powerpoint",pptm:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",pptx:"application/vndopenxmlformats-officedocumentpresentationmlpresentation",ppz:"application/vndms-powerpoint",prc:"application/x-palm-database",ps:"application/postscript",psbz2:"application/x-bzpostscript",psgz:"application/x-gzpostscript",psd:"image/vndadobephotoshop",psf:"audio/x-psf",psfgz:"application/x-gz-font-linux-psf",psflib:"audio/x-psflib",psid:"audio/prssid",psw:"application/x-pocket-word",pw:"application/x-pw",py:"text/x-python",pyc:"application/x-python-bytecode",pyo:"application/x-python-bytecode",qif:"image/x-quicktime",qt:"video/quicktime",qtif:"image/x-quicktime",qtl:"application/x-quicktime-media-link",qtvr:"video/quicktime",ra:"audio/vndrn-realaudio",raf:"image/x-fuji-raf",ram:"application/ram",rar:"application/x-rar",ras:"image/x-cmu-raster",raw:"image/x-panasonic-raw",rax:"audio/vndrn-realaudio",rb:"application/x-ruby",rdf:"application/rdf+xml",rdfs:"application/rdf+xml",reg:"text/x-ms-regedit",rej:"application/x-reject",rgb:"image/x-rgb",rle:"image/rle",rm:"application/vndrn-realmedia",rmj:"application/vndrn-realmedia",rmm:"application/vndrn-realmedia",rms:"application/vndrn-realmedia",rmvb:"application/vndrn-realmedia",rmx:"application/vndrn-realmedia",roff:"text/troff",rp:"image/vndrn-realpix",rpm:"application/x-rpm",rss:"application/rss+xml",rt:"text/vndrn-realtext",rtf:"application/rtf",rtx:"text/richtext",rv:"video/vndrn-realvideo",rvx:"video/vndrn-realvideo",s3m:"audio/x-s3m",sam:"application/x-amipro",sami:"application/x-sami",sav:"application/x-spss-sav",scm:"text/x-scheme",sda:"application/vndstardivisiondraw",sdc:"application/vndstardivisioncalc",sdd:"application/vndstardivisionimpress",sdp:"application/sdp",sds:"application/vndstardivisionchart",sdw:"application/vndstardivisionwriter",sgf:"application/x-go-sgf",sgi:"image/x-sgi",sgl:"application/vndstardivisionwriter",sgm:"text/sgml",sgml:"text/sgml",sh:"application/x-shellscript",shar:"application/x-shar",shn:"application/x-shorten",siag:"application/x-siag",sid:"audio/prssid",sik:"application/x-trash",sis:"application/vndsymbianinstall",sisx:"x-epoc/x-sisx-app",sit:"application/x-stuffit",siv:"application/sieve",sk:"image/x-skencil",sk1:"image/x-skencil",skr:"application/pgp-keys",slk:"text/spreadsheet",smaf:"application/x-smaf",smc:"application/x-snes-rom",smd:"application/vndstardivisionmail",smf:"application/vndstardivisionmath",smi:"application/x-sami",smil:"application/smil",sml:"application/smil",sms:"application/x-sms-rom",snd:"audio/basic",so:"application/x-sharedlib",spc:"application/x-pkcs7-certificates",spd:"application/x-font-speedo",spec:"text/x-rpm-spec",spl:"application/x-shockwave-flash",spx:"audio/x-speex",sql:"text/x-sql",sr2:"image/x-sony-sr2",src:"application/x-wais-source",srf:"image/x-sony-srf",srt:"application/x-subrip",ssa:"text/x-ssa",stc:"application/vndsunxmlcalctemplate",std:"application/vndsunxmldrawtemplate",sti:"application/vndsunxmlimpresstemplate",stm:"audio/x-stm",stw:"application/vndsunxmlwritertemplate",sty:"text/x-tex",sub:"text/x-subviewer",sun:"image/x-sun-raster",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",svgz:"image/svg+xml-compressed",swf:"application/x-shockwave-flash",sxc:"application/vndsunxmlcalc",sxd:"application/vndsunxmldraw",sxg:"application/vndsunxmlwriterglobal",sxi:"application/vndsunxmlimpress",sxm:"application/vndsunxmlmath",sxw:"application/vndsunxmlwriter",sylk:"text/spreadsheet",t:"text/troff",t2t:"text/x-txt2tags",tar:"application/x-tar",tarbz:"application/x-bzip-compressed-tar",tarbz2:"application/x-bzip-compressed-tar",targz:"application/x-compressed-tar",tarlzma:"application/x-lzma-compressed-tar",tarlzo:"application/x-tzo",tarxz:"application/x-xz-compressed-tar",tarz:"application/x-tarz",tbz:"application/x-bzip-compressed-tar",tbz2:"application/x-bzip-compressed-tar",tcl:"text/x-tcl",tex:"text/x-tex",texi:"text/x-texinfo",texinfo:"text/x-texinfo",tga:"image/x-tga",tgz:"application/x-compressed-tar",theme:"application/x-theme",themepack:"application/x-windows-themepack",tif:"image/tiff",tiff:"image/tiff",tk:"text/x-tcl",tlz:"application/x-lzma-compressed-tar",tnef:"application/vndms-tnef",tnf:"application/vndms-tnef",toc:"application/x-cdrdao-toc",torrent:"application/x-bittorrent",tpic:"image/x-tga",tr:"text/troff",ts:"application/x-linguist",tsv:"text/tab-separated-values",tta:"audio/x-tta",ttc:"application/x-font-ttf",ttf:"application/x-font-ttf",ttx:"application/x-font-ttx",txt:"text/plain",txz:"application/x-xz-compressed-tar",tzo:"application/x-tzo",ufraw:"application/x-ufraw",ui:"application/x-designer",uil:"text/x-uil",ult:"audio/x-mod",uni:"audio/x-mod",uri:"text/x-uri",url:"text/x-uri",ustar:"application/x-ustar",vala:"text/x-vala",vapi:"text/x-vala",vcf:"text/directory",vcs:"text/calendar",vct:"text/directory",vda:"image/x-tga",vhd:"text/x-vhdl",vhdl:"text/x-vhdl",viv:"video/vivo",vivo:"video/vivo",vlc:"audio/x-mpegurl",vob:"video/mpeg",voc:"audio/x-voc",vor:"application/vndstardivisionwriter",vst:"image/x-tga",wav:"audio/x-wav",wax:"audio/x-ms-asx",wb1:"application/x-quattropro",wb2:"application/x-quattropro",wb3:"application/x-quattropro",wbmp:"image/vndwapwbmp",wcm:"application/vndms-works",wdb:"application/vndms-works",webm:"video/webm",wk1:"application/vndlotus-1-2-3",wk3:"application/vndlotus-1-2-3",wk4:"application/vndlotus-1-2-3",wks:"application/vndms-works",wma:"audio/x-ms-wma",wmf:"image/x-wmf",wml:"text/vndwapwml",wmls:"text/vndwapwmlscript",wmv:"video/x-ms-wmv",wmx:"audio/x-ms-asx",wp:"application/vndwordperfect",wp4:"application/vndwordperfect",wp5:"application/vndwordperfect",wp6:"application/vndwordperfect",wpd:"application/vndwordperfect",wpg:"application/x-wpg",wpl:"application/vndms-wpl",wpp:"application/vndwordperfect",wps:"application/vndms-works",wri:"application/x-mswrite",wrl:"model/vrml",wv:"audio/x-wavpack",wvc:"audio/x-wavpack-correction",wvp:"audio/x-wavpack",wvx:"audio/x-ms-asx",x3f:"image/x-sigma-x3f",xac:"application/x-gnucash",xbel:"application/x-xbel",xbl:"application/xml",xbm:"image/x-xbitmap",xcf:"image/x-xcf",xcfbz2:"image/x-compressed-xcf",xcfgz:"image/x-compressed-xcf",xhtml:"application/xhtml+xml",xi:"audio/x-xi",xla:"application/vndms-excel",xlc:"application/vndms-excel",xld:"application/vndms-excel",xlf:"application/x-xliff",xliff:"application/x-xliff",xll:"application/vndms-excel",xlm:"application/vndms-excel",xls:"application/vndms-excel",xlsm:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlsx:"application/vndopenxmlformats-officedocumentspreadsheetmlsheet",xlt:"application/vndms-excel",xlw:"application/vndms-excel",xm:"audio/x-xm",xmf:"audio/x-xmf",xmi:"text/x-xmi",xml:"application/xml",xpm:"image/x-xpixmap",xps:"application/vndms-xpsdocument",xsl:"application/xml",xslfo:"text/x-xslfo",xslt:"application/xml",xspf:"application/xspf+xml",xul:"application/vndmozillaxul+xml",xwd:"image/x-xwindowdump",xyz:"chemical/x-pdb",xz:"application/x-xz",w2p:"application/w2p",z:"application/x-compress",zabw:"application/x-abiword",zip:"application/zip"}},346:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});const r={PROXY_SERVER:"http://172.16.100.14",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"]},38986:function(d,v,e){"use strict";e.d(v,{IV:function(){return Z},U2:function(){return oe},ZP:function(){return ue},d4:function(){return ee},gz:function(){return le},rz:function(){return ie},v_:function(){return Q}});var r=e(346),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(25690),a=e(51257),x=e(89392),p=e.n(x),y=Object.defineProperty,_=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=($,se,_e)=>se in $?y($,se,{enumerable:!0,configurable:!0,writable:!0,value:_e}):$[se]=_e,D=($,se)=>{for(var _e in se||(se={}))k.call(se,_e)&&A($,_e,se[_e]);if(S)for(var _e of S(se))R.call(se,_e)&&A($,_e,se[_e]);return $},M=($,se)=>_($,b(se)),B=($,se,_e)=>new Promise((Ie,De)=>{var Ze=bt=>{try{Lt(_e.next(bt))}catch(kt){De(kt)}},Ne=bt=>{try{Lt(_e.throw(bt))}catch(kt){De(kt)}},Lt=bt=>bt.done?Ie(bt.value):Promise.resolve(bt.value).then(Ze,Ne);Lt((_e=_e.apply($,se)).next())});let j;const Y={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},V=($,se)=>B(void 0,null,function*(){if($.status>=200&&$.status<300)return $;const _e=Y[$.status]||$.statusText;let Ie;var De=$.json();yield De.then((Ne,Lt)=>{setTimeout(()=>{let bt=(0,u.getDvaApp)()},400),Ie=Ne.message,window.showNetworkErrorTip(Ne.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`),i.Z.error({style:{wordBreak:"break-all"},message:Ne.message||`\u8BF7\u6C42\u9519\u8BEF ${$.status}: ${$.message}`,description:Ne.message?"":_e})});const Ze=new Error(_e);throw Ze.name=$.status,Ze.response=$,{data:$,code:$.status,message:Ie||_e}}),G=($,se)=>{const _e=$.headers.get("Content-Type");return _e&&_e.match(/application\/json/i)&&$.clone().text().then(()=>{}),$};function ae($){try{return decodeURIComponent($),decodeURIComponent(encodeURIComponent($))===$}catch(se){return!1}}const ie=$=>{$=$||{};let se="";for(let _e in $)typeof $[_e]=="object"?Array.isArray($[_e])&&$[_e].forEach((Ie,De)=>{se+="&"+_e+"[]="+Ie}):$[_e]!==void 0&&(se+="&"+_e+"="+(ae($[_e])?$[_e]:encodeURIComponent($[_e])));return se.substr(1)};function ue($,se,_e,Ie){se.method||(se.method="get"),se.method=se.method.toUpperCase(),se.mode="cors";const De=D({},se),{user:Ze}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ne}=Ze,Lt=$+(De.body?JSON.stringify(De.body):""),bt=o().sha256().update(Lt).digest("hex"),kt={credentials:"include",withCredentials:!0},jt={};Ne!=null&&Ne.login&&(jt.zzud=Ne==null?void 0:Ne.login,Ne!=null&&Ne.school_id&&(jt.zzsud=Ne==null?void 0:Ne.school_id),De.params=D(D({},De.params||{}),jt));let Wt=D(D({},kt),(0,x.cloneDeep)(De));(Wt.method==="POST"||Wt.method==="PUT"||Wt.method==="PATCH"||Wt.method==="DELETE")&&(_e?(Wt.headers=M(D({_method:se.method.toUpperCase()},Wt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Wt.body=De.body):(Wt.headers=D({Accept:"application/json",_method:se.method.toUpperCase(),"Content-Type":"application/json; charset=utf-8","Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host},Wt.headers),Wt.body=JSON.stringify(De.body))),Wt.method=="GET"?(Wt.headers=M(D({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:se.method.toUpperCase()},Wt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),De.params&&ie(De.params)&&($+="?"+ie(De.params))):jt.zzud&&($+="?"+ie(D({},jt)));const zt=De.expirys&&60;let We;(_t=>{_t.json="application/json;charset=UTF-8",_t.form="application/x-www-form-urlencoded; charset=UTF-8"})(We||(We={}));let St;(_t=>{_t.get="GET",_t.post="POST"})(St||(St={}));const Ft=_t=>B(this,null,function*(){const dt=yield _t.arrayBuffer();let qe;const Be=new Blob([dt]);try{qe=_t.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(ze){qe="userfiles.zip"}const Ee=document.createElement("a"),Re=window.URL.createObjectURL(Be),He=qe;return Ee.href=Re,Ee.download=He,Ee.click(),window.URL.revokeObjectURL(Re),dt});let tt=r.Z.API_SERVER;return(window.ENV==="dev"||$.startsWith("http"))&&(tt=""),Wt.method=="GET"&&Wt.params&&Object.keys(Wt.params).map(_t=>{if(Wt.params[_t]&&!Array.isArray(Wt.params[_t]))try{Wt.params[_t]=encodeURIComponent(decodeURIComponent(Wt.params[_t]))}catch(dt){Wt.params[_t]=encodeURIComponent(Wt.params[_t])}}),(0,a.Ec)(Wt,$),Ie&&(tt=""),Wt.headers._method=Wt.method,Wt.headers["X-HTTP-Method-Override"]=Wt.method,Wt.method!=="GET"&&(Wt.method="POST"),fetch(tt+$,Wt).then(_t=>V(_t,D({url:r.Z.API_SERVER+$},Wt))).then(_t=>G(_t,bt)).then(_t=>B(this,null,function*(){var dt,qe,Be,Ee;try{const He=_t.headers.get("cs");He&&(0,a.d8)("_educoder_session",He,1)}catch(He){}if(_t.status===204)return _t.text();let Re;if(_t.headers.get("content-type").indexOf("application/json")>-1){Re=yield _t.json();try{const He=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,ze=/\"\/api\/attachments\/(\d+)\//g,Ye=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,ht=/\/api\/attachments\/(\d+)/g,xt=/\/attachments\/download\/(\d+)/g;let nr=JSON.stringify(Re).replace(ht,(er,Le,Qe,Qt)=>{const Rt=Le||Qe||Qt;return"/api/attachments/"+(0,a.Jn)(Rt)}).replace(xt,(er,Le,Qe)=>{const Qt=Le||Qe;return"/attachments/download/"+(0,a.Jn)(Qt)}).replace(He,(er,Le,Qe,Qt)=>{const Rt=Le||Qe||Qt;return"(/api/attachments/"+(0,a.Jn)(Rt)}).replace(ze,(er,Le,Qe)=>{const Qt=Le||Qe;return'"/api/attachments/'+(0,a.Jn)(Qt)}).replace(Ye,(er,Le,Qe)=>{const Qt=Le||Qe;return"(/files/uploads/"+(0,a.Jn)(Qt)}).replace(/\r\n/g,`
|
|
|
`);Re=JSON.parse(nr)}catch(He){}}else Wt.headers["Content-Type"]==="application/xml"?Re=yield _t.text():(dt=De.body)!=null&&dt.autoDownload||(qe=De.params)!=null&&qe.autoDownload?Re=yield Ft(_t):Re=yield _t.arrayBuffer();try{Re.status===401&&(!((Be=Wt.params)!=null&&Be.hidePopLogin)||!((Ee=Wt.body)!=null&&Ee.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Re.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(j=j||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),j.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(He){console.log("fetcherr",He)}return K(Re,$),Re})).catch(_t=>{try{const dt=_t.code;if(_t instanceof TypeError&&window.showNetworkErrorTip(`${$}<span class="ml10">${_t.message}</span>`),dt){if(dt===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}K(_t,$)}else $.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Wt.body}}):_t.message!=="403"&&window.showNetworkErrorTip(`${$}<span class="ml10">${_t.message}</span>`);return _t}catch(dt){}})}let q=!1,J=!1;const K=($,se)=>{var _e,Ie,De;if($.status==-6&&!J){J=!0,(0,a.d8)("_educoder_session","logout",1),(0,a.m5)(),setTimeout(()=>J=!1,500),l.default.info({title:"\u7CFB\u7EDF\u901A\u77E5",content:$.message,okText:"\u77E5\u9053\u4E86",maskStyle:{background:"#000"},onOk:()=>{window.location.reload()}});return}if($.status==-7){J=!0,setTimeout(()=>J=!1,500);let Ne="";(_e=$==null?void 0:$.data)!=null&&_e.exercise_list&&((De=(Ie=$==null?void 0:$.data)==null?void 0:Ie.exercise_list)==null||De.map(Lt=>{Ne+=`<a target="_blank" href="/classrooms/${Lt.identifier}/exercise">\u300A${Lt.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 ${Ne} \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&&!J){J=!0,setTimeout(()=>J=!1,500),c.ZP.warning({content:$.message,key:"message-key"});return}const Ze={403:"/403",404:"/404",500:"/500"};if(Ze[$.status]&&!q){const{user:Ne}=(0,u.getDvaApp)()._store.getState(),{userInfo:Lt}=Ne;throw window.location.pathname.indexOf("/users")>-1&&document.domain==="kepukehuan.educoder.net"&&(q=!0),setTimeout(()=>q=!1,500),sessionStorage.setItem("errorStatus",JSON.stringify($)),Object.values(Ze).includes(window.location.pathname)?console.log("\u5F53\u524D\u8DEF\u5F84\u5B58\u5728\u4E8E mapping \u4E2D, \u4E0D\u518D\u6267\u884C\u8DF3\u8F6C"):location.replace(Ze[$.status]),new Error("403")}};function oe($,se){return ue(`/api/${$}`,{method:"Get",params:se||{}})}function ee($,se){return ue(`/${$}`,{method:"Get",params:se})}function Q($,se){return ue(`/api/${$}`,{method:"Post",body:D({},se)})}function le($,se){return ue(`/api/${$}`,{method:"Put",body:D({},se)})}function Z($,se){return ue(`/api/${$}`,{method:"delete",body:D({},se||{})})}},11851:function(d,v,e){"use strict";e.d(v,{Bn:function(){return l},hw:function(){return i},mi:function(){return r}});const r="WTJJelpXRXdaakk0Tm1SbE56UTFPRFl5TXpnNVltWmtZVE0zTVdSalltST0=",i="WVdaak1UVmhOVEF3TkRRd05qZGlZemRsTVdZeFptSTROek5rT0daak1UYz0=",l="T1RkaE1XWTRaalJoTUdaaE9HUmxaR016T0RGa05XTTNPRFkwTkdJeVpUQT0="},81428:function(d,v,e){"use strict";e.d(v,{AL:function(){return 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(ae,ie){const ue=ae.match(/^(\s+)(?:```)/);if(ue===null)return ie;const q=ue[1];return ie.split(`
|
|
|
`).map(J=>{const K=J.match(/^\s+/);if(K===null)return J;const[oe]=K;return oe.length>=q.length?J.slice(q.length):J}).join(`
|
|
|
`)}let h=[],u=["<ul>"];const a=new(i()).Renderer,x=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function p(){h.length=0,u=["<ul>"]}const y={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function _(ae,ie,ue,q){if(ie>=ae.length||ae[ie].level<=ue)return ie;var J=ae[ie];q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ie++;var K=[];return ie=_(ae,ie,J.level,K),K.length>0&&(q.push("<ul>"),K.forEach(function(oe){q.push(oe)}),q.push("</ul>")),q.push("</li>"),ie=_(ae,ie,ue,q),ie}function b(){return _(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(ae){const ie=x.exec(ae);if(f+=1,ie)return{type:"heading",raw:ie[0],depth:ie[1].length,text:ie[2]}},fences(ae){const ie=this.rules.block.fences.exec(ae);if(ie){const ue=ie[0];let q=o(ue,ie[3]||"");const J=ie[2]?ie[2].trim():ie[2];if(["latex","katex","math"].indexOf(J)>=0){const K=A(),oe=q;q=K,D[K]={type:"block",expression:oe}}return{type:"code",raw:ue,lang:J,text:q}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const A=()=>`__special_katext_id_${R++}__`;let D={};function M(){return D}function B(){R=0,D={}}function j(ae){return ae=ae.replace(k,(ie,ue)=>{const q=A();return D[q]={type:"inline",expression:ue},q}),ae}const Y=a.listitem;a.listitem=function(ae){return Y(j(ae))};const V=a.paragraph;a.paragraph=function(ae){return V(j(ae))};const G=a.tablecell;a.tablecell=function(ae,ie){return G(j(ae),ie)},a.code=function(ae,ie,ue){const q=(ie||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`<p class='editormd-tex'>${ae}</p>`:`<pre class="prettyprint linenums"><code class="language-${ie}">${ue?ae:(0,l.escape)(ae,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(ue?ae:(0,l.escape)(ae,!0))+"</code></pre>"},a.heading=function(ae,ie,ue){let q=this.options.headerPrefix+ue.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:q,level:ie,text:ae}),"<h"+ie+' id="'+f+q+'">'+ae+"</h"+ie+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),v.ZP=i()},51257:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{AS:function(){return vtrsKey},BO:function(){return NewAntdDisabledDate},Br:function(){return getBlob},DH:function(){return timego},Dk:function(){return setDocumentTitle},Dw:function(){return onPreviewImage},EJ:function(){return HighLightedContent},EM:function(){return toChineseNumber},EN:function(){return preciseCalculation},Ec:function(){return setHeader},FH:function(){return downLoadFile},G5:function(){return sendAppStatus},G7:function(){return handleValidatorNickName},HJ:function(){return handleValidatorName},I9:function(){return RomanNumber},IS:function(){return isWechatBrowser},Il:function(){return setThreeComponent},JL:function(){return formatHomeWorkStatusToName},Jn:function(){return getImageUrl},L4:function(){return PollsStatus},L9:function(){return trackEvent},LR:function(){return download},Ll:function(){return checkIsClientExam},M:function(){return setmiyah},M2:function(){return randomArray},NY:function(){return setUrlQuery},Nd:function(){return downLoadLink},Oo:function(){return getCategoryName},Or:function(){return toWechatLogin},PF:function(){return formatRandomPaperDatas},Pq:function(){return cutName},Q8:function(){return disabledDate},QB:function(){return timeContrast},QE:function(){return releaseRuleDataAdjust},QH:function(){return downLoadFileIframe},Qq:function(){return JudgeSort},RD:function(){return bytesToSize},RG:function(){return copyTextFuc},Sp:function(){return rangeNumber},Tv:function(){return ImgSrcConvert},U6:function(){return HalfPastOne},UQ:function(){return HomeWorkDetailStatus},Uw:function(){return CommonWorkStatus},VV:function(){return StatusClassroomsTags},Vf:function(){return domScrollToTop},W:function(){return isUnOrNull},WX:function(){return isLocalApp},Y:function(){return HomeWorkCommonDetailStatus},YA:function(){return getHiddenName},ZJ:function(){return toDataUrl},_g:function(){return getMessagesUrl},_m:function(){return isKepuKehuan},ad:function(){return formatRandomPaperData},b9:function(){return isPc},cX:function(){return localSort},d0:function(){return disabledTime},d8:function(){return setCookie},db:function(){return getFileContentAndUrl},eF:function(){return bindPhone},eR:function(){return validateLength},ej:function(){return getCookie},en:function(){return parseUrl},fX:function(){return buildTree},hi:function(){return getExamRestrictionInfo},hv:function(){return NewAntdDisabledTime},i7:function(){return isChrome},j1:function(){return StatusGraduationProjectTags},jh:function(){return educationList},jt:function(){return showInstallWebRtcDoc},ju:function(){return ExerciseStatus},jz:function(){return replaceParamVal},k3:function(){return scrollToTop},kk:function(){return pointerEvents},lC:function(){return HomeWorkListStatus},lF:function(){return toWNumber},li:function(){return toTimeFormat},m5:function(){return clearAllCookies},nr:function(){return startExercise},oP:function(){return getJsonFromUrl},oV:function(){return ZimuSort},og:function(){return formatRate},oi:function(){return checkLocalOrPublicIp},pE:function(){return addJumping},pp:function(){return findEndWhitespace},qZ:function(){return arrTrans},qd:function(){return DayHalfPastOne},rK:function(){return HomeWorkShixunListStatus},rU:function(){return showTotal},rz:function(){return moveArray},s2:function(){return isMobileDevice},tP:function(){return cutFileName},tw:function(){return getTwoDecimalPlaces},uD:function(){return dealUploadChange},vA:function(){return HomeWorkShixunDetailStatus},vB:function(){return exerciseTips},vQ:function(){return copyToClipboard},xg:function(){return openNewWindow},y3:function(){return getBase64},yC:function(){return compareVersion}});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(59301),_utils_authority__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(48790),antd__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8591),antd__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(43418),antd__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(95237),antd__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(43604),_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6383),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(81722),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(77935),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(25690),md5__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(93735),md5__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(md5__WEBPACK_IMPORTED_MODULE_6__),_env__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(346),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(49535),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(91842),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(38986),crypto_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(28209),crypto_js__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_11__),_key__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(11851),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(61186),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(33656),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),uuid__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(1012),__defProp=Object.defineProperty,__defProps=Object.defineProperties,__getOwnPropDescs=Object.getOwnPropertyDescriptors,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(d,v,e)=>v in d?__defProp(d,v,{enumerable:!0,configurable:!0,writable:!0,value:e}):d[v]=e,__spreadValues=(d,v)=>{for(var e in v||(v={}))__hasOwnProp.call(v,e)&&__defNormalProp(d,e,v[e]);if(__getOwnPropSymbols)for(var e of __getOwnPropSymbols(v))__propIsEnum.call(v,e)&&__defNormalProp(d,e,v[e]);return d},__spreadProps=(d,v)=>__defProps(d,__getOwnPropDescs(v)),__async=(d,v,e)=>new Promise((r,i)=>{var l=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;if(d.link_url)return window.open(d.link_url);switch(d==null?void 0:d.container_type){case"TeacherChangeUserInfo":return window.open("/account/profile");case"TeacherResetUserPassword":return window.open("/account/secure");case"ApplyUserAuthentication":return window.open("/account/certification")}switch(d.container_type){case"ApplyUserAuthentication":if(d.tiding_type==="Apply"){if(d.auth_type===1)return window.open("/admins/identity_authentications");if(d.auth_type===2)return window.open("/admins/professional_authentications")}return d.tiding_type==="System"?window.open("/account/certification"):d.tiding_type==="Code"?window.open("/account/profile"):void 0;case"CancelUserAuthentication":return window.open("/account/certification");case"CancelUserProCertification":return window.open("/account/certification");case"ApplyAddMajor":return window.open("/account/profile");case"Major":return window.open("/account/profile");case"ApplyAddDepartment":return d.tiding_type==="Apply"?window.open("/admins/department_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAddSchools":return d.tiding_type==="Apply"?window.open("/admins/unit_applies"):d.tiding_type==="System"?window.open("/account/profile"):void 0;case"ApplyAction":switch(d.parent_container_type){case"ApplyShixun":if(d.tiding_type==="Apply")return window.open("/admins/shixun_authorizations");if(d.tiding_type==="System")return window.open(`/shixuns/${d.identifier}/challenges`);case"ApplySubject":if(d.tiding_type==="Apply")return window.open("/admins/subject_authorizations");if(d.tiding_type==="System")return window.open(`/paths/${d.parent_container_id}`);case"TrialAuthorization":if(d.tiding_type==="Apply")return window.open("/managements/trial_authorization");if(d.tiding_type==="System")return window.open("/account/profile")}return;case"JoinCourse":return window.open(`/classrooms/${d.belong_container_id}/teachers`);case"StudentJoinCourse":if(d.tiding_type==="Apply")return window.open(`/classrooms/${d.belong_container_id}/teachers`);if(d.tiding_type==="System")return window.open(`/classrooms/${d.belong_container_id}/students`);case"DealCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"TeacherJoinCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Course":return d.tiding_type==="Delete"?void 0:window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"ArchiveCourse":return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/`);case"Shixun":return window.open(`/shixuns/${d.identifier}/challenges`);case"Subject":return window.open(`/paths/${d.container_id}`);case"JournalsForMessage":switch(d.parent_container_type){case"Principal":return"";case"HomeworkCommon":return d.homework_type==="normal"?window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/question`):d.homework_type==="group"?window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/question`):d.homework_type==="practice"?window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=1`):"";case"GraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(d.link_url)}case"Memo":return window.open(`/forums/${d.parent_container_id}`);case"Message":return window.open("/forums/");case"Watcher":return window.open(`/users/${d.trigger_user.login}/classrooms`);case"PraiseTread":return"";case"Grade":return"";case"JoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ReporterJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"DealProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"ManagerJoinProject":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Poll":switch(d.parent_container_type){case"CommitPoll":return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`);default:return window.open(` /classrooms/${d.belong_container_id}/poll/${d.container_id}/detail`)}case"Exercise":switch(d.parent_container_type){case"CommitExercise":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);case"ExerciseScore":return window.open(` /classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`);default:return window.open(`/classrooms/${d.belong_container_id}/exercise/${d.container_id}/detail?tab=0`)}case"StudentGraduationTopic":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"DealStudentTopicSelect":return window.open(`/classrooms/${d.belong_container_id}/graduation_topics/${d.parent_container_id}/detail`);case"GraduationTask":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWork":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.container_id}`);case"GraduationWorkScore":return window.open(`/classrooms/${d.belong_container_id}/graduation_tasks/${d.parent_container_id}`);case"HomeworkCommon":switch(d.parent_container_type){case"AnonymousCommentFail":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"HomeworkPublish":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);case"AnonymousAppeal":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`);default:if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/detail`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/detail`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail?tabs=0`)}case"StudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/review/${d.container_id}`);if(d.homework_type==="practice")return window.open(`/classrooms/${d.belong_container_id}/shixun_homework/${d.parent_container_id}/detail`);case"StudentWorksScore":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"StudentWorksScoresAppeal":return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.trigger_user.id}/review/${d.parent_container_id}`);case"ChallengeWorkScore":return"";case"SendMessage":return window.open(`${_env__WEBPACK_IMPORTED_MODULE_7__.Z.API_SERVER}/admins/mirror_repositories`);case"Journal":return window.open(`/issues/${d.parent_container_id}`);case"Issue":return window.open(`/issues/${d.container_id}`);case"PullRequest":return window.open(_env__WEBPACK_IMPORTED_MODULE_7__.Z.FORGE+d.project_url);case"Department":return window.open("/account/profile");case"Library":if(d.tiding_type==="Apply")return window.open("/admins/library_applies");if(d.tiding_type==="System")return window.open(`/moop_cases/${d.container_id}`);case"ProjectPackage":return d.tiding_type==="Destroyed"||d.tiding_type==="Destroyed_end"?void 0:d.tiding_type==="Apply"?window.open("/admins/project_package_applies"):window.open(`/crowdsourcing/${d.container_id}`);case"Discuss":return d.parent_container_type==="Hack"&&d.extra?window.open(`/myproblems/${d.extra}/comment`):d.extra==="ai_reply"&&d.task_identifier?window.open(`/tasks/${d.task_identifier}?extra=extra`):window.open(`/shixuns/${d.identifier}/shixun_discuss`);case"Video":return d.tiding_type==="Apply"?window.open("/admins/video_applies"):d.tiding_type==="System"?window.open(`/users/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login}/videos`):"";case"PublicCourseStart":return window.open(`/classrooms/${d.container_id}/informs`);case"SubjectStartCourse":return window.open(`/paths/${d.container_id}`);case"ResubmitStudentWork":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}/${d.container_id}/appraise`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}/${d.container_id}/appraise`);case"AdjustScore":if(d.homework_type==="normal")return window.open(`/classrooms/${d.belong_container_id}/common_homework/${d.parent_container_id}`);if(d.homework_type==="group")return window.open(`/classrooms/${d.belong_container_id}/group_homework/${d.parent_container_id}`);case"LiveLink":return window.open(`/classrooms/${d.belong_container_id}/course_videos?open=live`);case"Hack":if(d.extra&&d.parent_container_type!=="HackDelete")return window.open(`/problems/${d.extra}/edit`);default:return}},checkLocalOrPublicIp=(d,v)=>__async(void 0,null,function*(){let e="",r;return new Promise((i,l)=>__async(void 0,null,function*(){if(d.ip_limit!=="no"||d.ip_bind_type)try{e=yield(0,_components_Exercise_ip__WEBPACK_IMPORTED_MODULE_2__.y)({ip_limit:d==null?void 0:d.ip_limit,ip_bind:d==null?void 0:d.ip_bind_type}),console.log(e,44)}catch(f){l(void 0)}const c=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Cl)({id:d.exerciseId,ip:e});if(c.status===0)i(c);else if(c.status===-5){(0,umi__WEBPACK_IMPORTED_MODULE_5__.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:{errorMessage:c==null?void 0:c.message,exercise_user_id:d==null?void 0:d.exercise_user_id,id:d.exerciseId,unlockClose:d.unlockClose}}});return}else i(c);if(d.errmsgHide||v)return!0;if(c.status===-1)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u7684IP\u4E0D\u5728\u8003\u8BD5\u5141\u8BB8\u7684\u8303\u56F4\u5185\uFF01"),okText:"\u6211\u77E5\u9053\u4E86"}),!1;if(c.status===-2)return r=antd__WEBPACK_IMPORTED_MODULE_15__.default.info({title:react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_16__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,{flex:"1"},"\u63D0\u793A"),react__WEBPACK_IMPORTED_MODULE_0__.createElement(antd__WEBPACK_IMPORTED_MODULE_17__.Z,null,react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>r.destroy()}))),icon:null,className:"custom-modal-divider",content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16 p20"},"\u60A8\u5DF2\u7ED1\u5B9A\u5F53\u524D\u8003\u8BD5IP\u5730\u5740\uFF1A",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},c.ip),"\u8BF7\u4F7F\u7528\u8BE5IP\u5730\u5740\u8FDB\u5165\u8003\u8BD5\u3002"),okText:"\u6211\u77E5\u9053\u4E86"}),!1}))}),checkDisabledExam=d=>new Promise((v,e)=>__async(void 0,null,function*(){const r=yield(0,_service_exercise__WEBPACK_IMPORTED_MODULE_3__.Zg)({id:d==null?void 0:d.exerciseId,coursesId:d==null?void 0:d.coursesId});if((r==null?void 0:r.status)===0){v("");return}setTimeout(()=>{window.location.reload()},2e3),e("")})),isKepuKehuan=()=>location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1,startExercise=d=>__async(void 0,null,function*(){var v,e,r;sessionStorage.removeItem("studentunlock");let i;if((location.pathname.indexOf("/classrooms/4RW9CYHY")>-1||location.pathname.indexOf("/classrooms/qb4ft587")>-1||location.pathname.indexOf("/classrooms/c5q9bsp2")>-1)&&!isPc()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({content:"\u8BF7\u4F7F\u7528\u7535\u8111\u53C2\u52A0\u8003\u8BD5\uFF01"});return}if(copyTextFuc(" ",!0),yield checkDisabledExam(d),d.ip_limit!=="no"||d.ip_bind){const l=yield checkLocalOrPublicIp(d,!0);if((l==null?void 0:l.status)!==0)return;if(!isChrome()){antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")});return}}if(d.forbid_screen){const l=new WebSocket("ws://localhost:8082");yield new Promise(c=>setTimeout(()=>c(),200)),sendAppStatus(l,d)}if(d.open_camera||d.screen_open||d.ip_limit!=="no"||d.identity_verify){if(!isChromeOrFirefox())return antd__WEBPACK_IMPORTED_MODULE_15__.default.info({icon:null,okText:"\u786E\u5B9A",width:500,content:react__WEBPACK_IMPORTED_MODULE_0__.createElement("div",{className:"font16"},"\u672C\u6B21\u8003\u8BD5\u5DF2\u5F00\u542F\u9632\u4F5C\u5F0A\u8BBE\u7F6E\uFF0C\u4EC5\u652F\u6301",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u3002",react__WEBPACK_IMPORTED_MODULE_0__.createElement("br",null),"\u8BF7\u4F7F\u7528",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u8C37\u6B4C"),"\u3001",react__WEBPACK_IMPORTED_MODULE_0__.createElement("span",{className:"c-red"},"\u706B\u72D0"),"\u6D4F\u89C8\u5668\u5F00\u59CB\u8003\u8BD5\u3002")}),!1;d.open_phone_video_recording?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login}/check`:d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(e=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:e.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${(r=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:r.login}`}else d.identity_verify&&d.current_status===2?window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}/check`:window.location.href=`/classrooms/${d.coursesId}/exercise/${d.exerciseId}/users/${d.login}`});var httpBuildQuery=function(d,v,e,r){if(console.log("param:",d),v=v||null,e=e||"&",r=r||null,!d)return"";var i=function(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(),i=(0,uuid__WEBPACK_IMPORTED_MODULE_18__.Z)();let l="method="+((e=d.method)==null?void 0:e.toLocaleUpperCase())+"&ak="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.mi)+"&sk="+getKey(_key__WEBPACK_IMPORTED_MODULE_19__.hw)+"&time="+r;return d.headers["X-EDU-Type"]="pc",d.headers["X-EDU-Timestamp"]=r,d.headers["X-EDU-Signature"]=md5__WEBPACK_IMPORTED_MODULE_6___default()(window.btoa(l)),d.headers["Pc-Authorization"]=getCookie("_educoder_session"),d.headers["X-Request-Id"]=i,d}catch(r){console.log("error:",r,d,v)}},setThreeComponent=()=>{(function(d){XMLHttpRequest.prototype.open=function(v,e,r=!0){const i=setHeader({method:v,headers:{}});d.call(this,v,e,r);try{e.indexOf(getTopLevelDomain())>-1&&(this.setRequestHeader("X-EDU-Type","pc"),this.setRequestHeader("X-EDU-Timestamps",i.headers["X-EDU-Timestamp"]),this.setRequestHeader("X-EDU-Signatures",i.headers["X-EDU-Signature"]),this.setRequestHeader("Pc-Authorization",getCookie("_educoder_session")))}catch(l){}}})(XMLHttpRequest.prototype.open),function(d){window.fetch=function(v,e){var r;return e=e||{},(r=e.headers)!=null&&r["X-EDU-Timestamp"]||setHeader(e),d.apply(this,arguments).then(function(i){return i})}}(window.fetch)},parseUrl=d=>{const v=/(\w+)=([^\#&]*)/gi,e={};return d.replace(v,function(r,i,l){e[i]=decodeURI(l)}),e},messageInfo=(d,v)=>{const r={1:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u6682\u672A\u53D1\u5E03\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",2:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u4E0D\u5B58\u5728\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",3:"\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u9762\u5411\u6307\u5B9A\u5355\u4F4D\u5F00\u653E\uFF0C\u8BF7\u8054\u7CFB\u672C\u8BFE\u5802\u6559\u5E08\u3002",4:`\u5F53\u524D\u5B9E\u8DF5\u9879\u76EE\u5C06\u4E8E${v}\u53D1\u5E03\uFF0C\u8BF7\u7B49\u5F85\u3002`}[d];antd__WEBPACK_IMPORTED_MODULE_14__.ZP.warning(r)},base64ToBlob=(d,v)=>{var e;const r=window.atob(d),i=r.length,l=new Uint8Array(i);for(let c=0;c<i;++c)l[c]=r.charCodeAt(c);return new Blob([l],{type:_contentType__WEBPACK_IMPORTED_MODULE_4__.F[(e=v.split("."))==null?void 0:e[1]]||"application/octet-stream"})},downloadFile=(d,v,e)=>{const r=base64ToBlob(v,e);if(window.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(r,d);else{const i=document.createElement("a");i.href=window.URL.createObjectURL(r),i.download=d,document.body.appendChild(i);const l=document.createEvent("MouseEvents");l.initEvent("click",!1,!1),i.dispatchEvent(l),document.body.removeChild(i)}},trackEvent=d=>{var v;if(d.length)try{window._czc.push(["_trackEvent",...d]),window==null||window.gtag("event",d[1],{event_category:d[0],event_label:d[2]||"",value:d[3]||"",user_id:((v=(0,_utils_authority__WEBPACK_IMPORTED_MODULE_1__.eY)())==null?void 0:v.login)||""})}catch(e){console.log("trackEvent:err:",e)}},trackEventCustom=d=>{if(d.length)try{window._czc.push(["_setCustomVar",...d])}catch(v){console.log("trackEvent:err:",v)}},onPreviewImage=d=>{const v=(i,l)=>{if(i.localName===l)return i;for(let c=0,f=i;f=f.parentNode;c++){if(f.localName===l)return f;if(f==document.documentElement)return!1}},e=d.target,r=v(e,"a");if(!(r!=null&&r.href)&&e.tagName.toUpperCase()==="IMG"){let i=e.src||e.getAttribute("src");i&&i.indexOf("/images/avatars/User")===-1&&(d.stopPropagation(),d.preventDefault(),_components_mediator__WEBPACK_IMPORTED_MODULE_8__.Z.publish("preview-image",i))}},getCategoryName=(d,v)=>{var e,r,i,l;if(d&&d!=""){let c=(e=d==null?void 0:d.filter(f=>f.type===location.pathname.split("/")[3]))==null?void 0:e[0];return v?(l=(i=(r=c==null?void 0:c.second_category)==null?void 0:r.filter(f=>f.category_id==v))==null?void 0:i[0])==null?void 0:l.category_name:c==null?void 0:c.name}return null},bindPhone=d=>{const v=antd__WEBPACK_IMPORTED_MODULE_15__.default.confirm({title:"\u5B8C\u5584\u624B\u673A\u53F7\u7801",content:"\u6309\u7167\u6709\u5173\u653F\u7B56\u89C4\u5B9A\uFF0C\u7279\u6B8A\u5B9E\u9A8C\u9700\u8981\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u624D\u80FD\u4F7F\u7528\uFF0C\u8BF7\u5148\u7ED1\u5B9A\u624B\u673A\u53F7\u7801",okText:"\u7ACB\u5373\u7ED1\u5B9A",cancelText:"\u53D6\u6D88",centered:!0,onOk:()=>{location.href="/account/secure"},onCancel:()=>{v.destroy(),d!=null&&d.onCancel&&d.onCancel()}})},copyTextFuc=(d="",v=!1)=>{const e=document.createElement("textarea");e.value=d,document.body.appendChild(e),e.select(),document.execCommand("Copy"),v||antd__WEBPACK_IMPORTED_MODULE_14__.ZP.success("\u590D\u5236\u6210\u529F"),document.body.removeChild(e)},getJsonFromUrl=d=>{if(d||(d=window.location.search),!d)return{};let v=d.substring(1),e={};return v.split("&").forEach(function(r){let i=r.split("=");e[i[0]]=decodeURIComponent(i[1])}),e},arrTrans=(d,v)=>{if(!v)return null;const e=[];return v.forEach((r,i)=>{const l=Math.floor(i/d);e[l]||(e[l]=[]),e[l].push(r)}),e},setDocumentTitle=d=>{checkIsClientExam()?document.title="\u5934\u6B4C\u8003\u8BD5\u7CFB\u7EDF":d!==""&&d&&(document.title=d||(document.domain.indexOf(".educoder.net")>-1?"\u5934\u6B4C\u5B9E\u8DF5\u6559\u5B66\u5E73\u53F0":""))},checkIsClientExam=()=>{var d;return(d=window==null?void 0:window.localStorage)==null?void 0:d.isClientExam},localSort={setItem:(d,v,e)=>{const r=d,i=localStorage.getItem(r),l=i!==null&&i!=="[object Object]"?JSON.parse(i):{};l[e]=v,localStorage.setItem(r,JSON.stringify(l))},getItem:(d,v)=>{const e=d,r=localStorage.getItem(e);return(r!==null&&r!=="[object Object]"?JSON.parse(r):{})[v]}},ImgSrcConvert=d=>d!=null&&d.startsWith("http")?d:_env__WEBPACK_IMPORTED_MODULE_7__.Z.IMG_SERVER+d,compareVersion=d=>{const v=getVersion(),e=d.split("."),r=v.split("."),i=Math.max(e.length,r.length);for(;e.length<i;)e.push("0");for(;r.length<i;)r.push("0");for(let l=0;l<i;l++){const c=parseInt(e[l]),f=parseInt(r[l]);if(c>f)return 1;if(c<f)return-1}return 0},getImageUrl=(d,v)=>{d=`${d}${v?","+v:""}`;const e=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().enc.Utf8.parse(window.atob(window.atob(_key__WEBPACK_IMPORTED_MODULE_19__.Bn)).substring(0,16)),r=crypto_js__WEBPACK_IMPORTED_MODULE_11___default().AES.encrypt(d||"",e,{iv:e,mode:crypto_js__WEBPACK_IMPORTED_MODULE_11___default().mode.CBC});return window.btoa(r.toString())},getVersion=()=>{const v=navigator.userAgent.toLowerCase().match(/version\/[\d.]+/gi);return v&&v[0].replace(/version\//,"")},isLocalApp=()=>navigator.userAgent.indexOf("ExerciseApp")>-1;function randomArray(d,v){let e=d.length,r,i;v=v||1;let l=function(){var c=Math.sin(v++)*1e3;return c-Math.floor(c)};for(;e!==0;)i=Math.floor(l()*e),e-=1,r=d[e],d[e]=d[i],d[i]=r;return d}function pointerEvents(d){const v=document.getElementsByTagName("iframe");for(let r=0;r<v.length;r++)v[r].style["pointer-events"]=d;const e=document.getElementsByTagName("canvas");for(let r=0;r<e.length;r++)e[r].style["pointer-events"]=d}const toDataUrl=d=>new Promise((v,e)=>{var r=new XMLHttpRequest;r.withCredentials=!0,r.onload=function(){var i=new FileReader;i.onloadend=function(){v(i.result)},i.readAsDataURL(r.response)},r.open("GET",d),r.responseType="blob",r.send()}),vtrsKey=(_b=(_a=location==null?void 0:location.pathname)==null?void 0:_a.split("/"))==null?void 0:_b[1];function scrollToTop(){window.scrollTo({left:0,top:0,behavior:"smooth"})}function domScrollToTop(d){var v;(v=document.querySelector(d))==null||v.scrollTo({left:0,top:0,behavior:"smooth"})}function dealUploadChange(d){var v,e,r,i,l;const c=(v=d.fileList)==null?void 0:v.map(f=>{var 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((D,M)=>{R.type===D.type&&y.push(D)})});const _=[];let b=0,S=0;const k=y.filter(R=>R.questions_count>0).map((R,A)=>{var D;return(D=R.questions)==null||D.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},4787:function(d,v,e){"use strict";e.d(v,{t:function(){return r}});const r=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;return c.test(l)},i=l=>{var c=/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.$/;return c.test(l)}},91231:function(d,v,e){"use strict";e.d(v,{Il:function(){return f},Ov:function(){return 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(j){var Y=b[j.route.id];Y&&(Object.assign(M,Y),B=!0)}),B?M:void 0}),R=_slicedToArray(k,2),A=R[0],D=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(j){Object.assign(B,j)}),D(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),D=i.useRef(null),[M,B]=(0,r.Z)(!1),j=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let G=null;return _&&(G=setTimeout(()=>{var ae;(ae=D.current)===null||ae===void 0||ae.focus()})),()=>{G&&clearTimeout(G)}},[]);const Y=G=>{f(G)&&(B(!0),G.then(function(){B(!1,!0),j.apply(void 0,arguments),A.current=!1},ae=>{if(B(!1,!0),A.current=!1,!(S!=null&&S()))return Promise.reject(ae)}))},V=G=>{if(A.current)return;if(A.current=!0,!R){j();return}let ae;if(b){if(ae=R(G),k&&!f(ae)){A.current=!1,j(G);return}}else if(R.length)ae=R(y),A.current=!1;else if(ae=R(),!ae){j();return}Y(ae)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:V,loading:M,prefixCls:x},p,{ref:D}),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,D]=i.useState(0),[M,B]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:j}=i.useContext(c.E_),Y=j(u||"select",_);i.useEffect(()=>{if(B(!0),typeof ResizeObserver!="undefined"){const G=new ResizeObserver(ie=>{const ue=ie[0].target;R(ue.offsetHeight+8),D(ue.offsetWidth)}),ae=setInterval(()=>{var ie;const ue=a?`.${a(Y)}`:`.${Y}-dropdown`,q=(ie=S.current)===null||ie===void 0?void 0:ie.querySelector(ue);q&&(clearInterval(ae),G.observe(q))},10);return()=>{clearInterval(ae),G.disconnect()}}},[]);let V=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>S.current});return x&&(V=x(V)),i.createElement("div",{ref:S,style:{paddingBottom:k,position:"relative",minWidth:A}},i.createElement(h,Object.assign({},V)))}return f(p)}},36785:function(d,v,e){"use strict";e.d(v,{o2:function(){return f},yT:function(){return o}});var r=e(95190),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 D=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(k){case"topLeft":case"bottomLeft":A.offset[0]=-D.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":A.offset[0]=D.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":A.offset[1]=-D.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":A.offset[1]=D.dropdownArrowOffset+b;break}A.overflow=i(k,D,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 ae}});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:ue,colorPrimary:q}=ie;return{[ue]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${q})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${ie.motionEaseOutCirc}`,`opacity 2s ${ie.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ie.motionEaseInOut}`,`opacity 0.35s ${ie.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ie=>[a(ie)]),p=e(70425),y=e(16089),_=e(77900),b=e(1585);function S(ie){const ue=(ie||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return ue&&ue[1]&&ue[2]&&ue[3]?!(ue[1]===ue[2]&&ue[2]===ue[3]):!0}function 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:ue,borderColor:q,backgroundColor:J}=getComputedStyle(ie);return k(ue)?ue:k(q)?q:k(J)?J:null}var A=e(4572);function D(ie){return Number.isNaN(ie)?0:ie}const M=ie=>{const{className:ue,target:q,component:J}=ie,K=f.useRef(null),[oe,ee]=f.useState(null),[Q,le]=f.useState([]),[Z,$]=f.useState(0),[se,_e]=f.useState(0),[Ie,De]=f.useState(0),[Ze,Ne]=f.useState(0),[Lt,bt]=f.useState(!1),kt={left:Z,top:se,width:Ie,height:Ze,borderRadius:Q.map(zt=>`${zt}px`).join(" ")};oe&&(kt["--wave-color"]=oe);function jt(){const zt=getComputedStyle(q);ee(R(q));const We=zt.position==="static",{borderLeftWidth:St,borderTopWidth:Ft}=zt;$(We?q.offsetLeft:D(-parseFloat(St))),_e(We?q.offsetTop:D(-parseFloat(Ft))),De(q.offsetWidth),Ne(q.offsetHeight);const{borderTopLeftRadius:tt,borderTopRightRadius:_t,borderBottomLeftRadius:dt,borderBottomRightRadius:qe}=zt;le([tt,_t,qe,dt].map(Be=>D(parseFloat(Be))))}if(f.useEffect(()=>{if(q){const zt=(0,y.Z)(()=>{jt(),bt(!0)});let We;return typeof ResizeObserver!="undefined"&&(We=new ResizeObserver(jt),We.observe(q)),()=>{y.Z.cancel(zt),We==null||We.disconnect()}}},[]),!Lt)return null;const Wt=(J==="Checkbox"||J==="Radio")&&(q==null?void 0:q.classList.contains(A.A));return f.createElement(_.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(zt,We)=>{var St;if(We.deadline||We.propertyName==="opacity"){const Ft=(St=K.current)===null||St===void 0?void 0:St.parentElement;(0,b.v)(Ft).then(()=>{Ft==null||Ft.remove()})}return!1}},zt=>{let{className:We}=zt;return f.createElement("div",{ref:K,className:i()(ue,{"wave-quick":Wt},We),style:kt})})};var j=(ie,ue)=>{var q;const{component:J}=ue;if(J==="Checkbox"&&!(!((q=ie.querySelector("input"))===null||q===void 0)&&q.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({},ue,{target:ie})),K)},Y=e(88088);function V(ie,ue,q){const{wave:J}=f.useContext(o.E_),[,K,oe]=(0,Y.Z)(),ee=(0,p.useEvent)(Z=>{const $=ie.current;if(J!=null&&J.disabled||!$)return;const se=$.querySelector(`.${A.A}`)||$,{showEffect:_e}=J||{};(_e||j)(se,{className:ue,token:K,component:q,event:Z,hashId:oe})}),Q=f.useRef();return Z=>{y.Z.cancel(Q.current),Q.current=(0,y.Z)(()=>{ee(Z)})}}var ae=ie=>{const{children:ue,disabled:q,component:J}=ie,{getPrefixCls:K}=(0,f.useContext)(o.E_),oe=(0,f.useRef)(null),ee=K("wave"),[,Q]=x(ee),le=V(oe,i()(ee,Q),J);if(f.useEffect(()=>{const $=oe.current;if(!$||$.nodeType!==1||q)return;const se=_e=>{!(0,c.Z)(_e.target)||!$.getAttribute||$.getAttribute("disabled")||$.disabled||$.className.includes("disabled")||$.className.includes("-leave")||le(_e)};return $.addEventListener("click",se,!0),()=>{$.removeEventListener("click",se,!0)}},[q]),!f.isValidElement(ue))return ue!=null?ue:null;const Z=(0,l.Yr)(ue)?(0,l.sQ)(ue.ref,oe):oe;return(0,h.Tm)(ue,{ref:Z})}},4572:function(d,v,e){"use strict";e.d(v,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,v,e){"use strict";e.d(v,{n:function(){return Rt},Z:function(){return qt}});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(Ue,fe){var pe={};for(var Ot in Ue)Object.prototype.hasOwnProperty.call(Ue,Ot)&&fe.indexOf(Ot)<0&&(pe[Ot]=Ue[Ot]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ot=Object.getOwnPropertySymbols(Ue);Ce<Ot.length;Ce++)fe.indexOf(Ot[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Ot[Ce])&&(pe[Ot[Ce]]=Ue[Ot[Ce]]);return pe};const _=r.createContext(void 0);var S=Ue=>{const{getPrefixCls:fe,direction:pe}=r.useContext(h.E_),{prefixCls:Ot,size:Ce,className:ct}=Ue,Kt=y(Ue,["prefixCls","size","className"]),At=fe("btn-group",Ot),[,,Te]=(0,p.Z)();let Et="";switch(Ce){case"large":Et="lg";break;case"small":Et="sm";break;case"middle":case void 0:break;default:}const ye=l()(At,{[`${At}-${Et}`]:Et,[`${At}-rtl`]:pe==="rtl"},ct,Te);return r.createElement(_.Provider,{value:Ce},r.createElement("div",Object.assign({},Kt,{className:ye})))},k=e(92343);const R=/^[\u4e00-\u9fa5]{2}$/,A=R.test.bind(R);function D(Ue){return typeof Ue=="string"}function M(Ue){return Ue==="text"||Ue==="link"}function B(Ue,fe){if(Ue==null)return;const pe=fe?" ":"";return typeof Ue!="string"&&typeof Ue!="number"&&D(Ue.type)&&A(Ue.props.children)?(0,k.Tm)(Ue,{children:Ue.props.children.split("").join(pe)}):D(Ue)?A(Ue)?r.createElement("span",null,Ue.split("").join(pe)):r.createElement("span",null,Ue):(0,k.M2)(Ue)?r.createElement("span",null,Ue):Ue}function j(Ue,fe){let pe=!1;const Ot=[];return r.Children.forEach(Ue,Ce=>{const ct=typeof Ce,Kt=ct==="string"||ct==="number";if(pe&&Kt){const At=Ot.length-1,Te=Ot[At];Ot[At]=`${Te}${Ce}`}else Ot.push(Ce);pe=Kt}),r.Children.map(Ot,Ce=>B(Ce,fe))}const Y=null,V=null,G=null;var ie=(0,r.forwardRef)((Ue,fe)=>{const{className:pe,style:Ot,children:Ce,prefixCls:ct}=Ue,Kt=l()(`${ct}-icon`,pe);return r.createElement("span",{ref:fe,className:Kt,style:Ot},Ce)}),ue=e(58617),q=e(77900);const J=(0,r.forwardRef)((Ue,fe)=>{let{prefixCls:pe,className:Ot,style:Ce,iconClassName:ct}=Ue;const Kt=l()(`${pe}-loading-icon`,Ot);return r.createElement(ie,{prefixCls:pe,className:Kt,style:Ce,ref:fe},r.createElement(ue.Z,{className:ct}))}),K=()=>({width:0,opacity:0,transform:"scale(0)"}),oe=Ue=>({width:Ue.scrollWidth,opacity:1,transform:"scale(1)"});var Q=Ue=>{const{prefixCls:fe,loading:pe,existIcon:Ot,className:Ce,style:ct}=Ue,Kt=!!pe;return Ot?r.createElement(J,{prefixCls:fe,className:Ce,style:ct}):r.createElement(q.default,{visible:Kt,motionName:`${fe}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:K,onAppearActive:oe,onEnterStart:K,onEnterActive:oe,onLeaveStart:oe,onLeaveActive:K},(At,Te)=>{let{className:Et,style:ye}=At;return r.createElement(J,{prefixCls:fe,className:Ce,style:Object.assign(Object.assign({},ct),ye),ref:Te,iconClassName:Et})})},le=e(17313),Z=e(37613),$=e(83116);const se=(Ue,fe)=>({[`> span, > ${Ue}`]:{"&:not(:last-child)":{[`&, & > ${Ue}`]:{"&:not(:disabled)":{borderInlineEndColor:fe}}},"&:not(:first-child)":{[`&, & > ${Ue}`]:{"&:not(:disabled)":{borderInlineStartColor:fe}}}}});var Ie=Ue=>{const{componentCls:fe,fontSize:pe,lineWidth:Ot,groupBorderColor:Ce,colorErrorHover:ct}=Ue;return{[`${fe}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${fe}`]:{"&:not(:last-child)":{[`&, & > ${fe}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Ot,[`&, & > ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[fe]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${fe}-icon-only`]:{fontSize:pe}},se(`${fe}-primary`,Ce),se(`${fe}-danger`,ct)]}};const De=Ue=>{const{componentCls:fe,iconCls:pe,fontWeight:Ot}=Ue;return{[fe]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Ot,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Ue.lineWidth}px ${Ue.lineType} transparent`,cursor:"pointer",transition:`all ${Ue.motionDurationMid} ${Ue.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Ue.lineHeight,color:Ue.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${fe}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:Ue.marginXS},[`&:not(${fe}-icon-only) > ${fe}-icon`]:{[`&${fe}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Ue.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,le.Qy)(Ue)),[`&-icon-only${fe}-compact-item`]:{flex:"none"},[`&-compact-item${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ue.lineWidth,insetInlineStart:-Ue.lineWidth,display:"inline-block",width:Ue.lineWidth,height:`calc(100% + ${Ue.lineWidth*2}px)`,backgroundColor:Ue.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${fe}-primary`]:{[`&:not([disabled]) + ${fe}-compact-vertical-item${fe}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ue.lineWidth,insetInlineStart:-Ue.lineWidth,display:"inline-block",width:`calc(100% + ${Ue.lineWidth*2}px)`,height:Ue.lineWidth,backgroundColor:Ue.colorPrimaryHover,content:'""'}}}}}}},Ze=(Ue,fe,pe)=>({[`&:not(:disabled):not(${Ue}-disabled)`]:{"&:hover":fe,"&:active":pe}}),Ne=Ue=>({minWidth:Ue.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Lt=Ue=>({borderRadius:Ue.controlHeight,paddingInlineStart:Ue.controlHeight/2,paddingInlineEnd:Ue.controlHeight/2}),bt=Ue=>({cursor:"not-allowed",borderColor:Ue.borderColorDisabled,color:Ue.colorTextDisabled,backgroundColor:Ue.colorBgContainerDisabled,boxShadow:"none"}),kt=(Ue,fe,pe,Ot,Ce,ct,Kt,At)=>({[`&${Ue}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:fe,borderColor:Ot||void 0,boxShadow:"none"},Ze(Ue,Object.assign({backgroundColor:fe},Kt),Object.assign({backgroundColor:fe},At))),{"&:disabled":{cursor:"not-allowed",color:Ce||void 0,borderColor:ct||void 0}})}),jt=Ue=>({[`&:disabled, &${Ue.componentCls}-disabled`]:Object.assign({},bt(Ue))}),Wt=Ue=>Object.assign({},jt(Ue)),zt=Ue=>({[`&:disabled, &${Ue.componentCls}-disabled`]:{cursor:"not-allowed",color:Ue.colorTextDisabled}}),We=Ue=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Wt(Ue)),{backgroundColor:Ue.defaultBg,borderColor:Ue.defaultBorderColor,color:Ue.defaultColor,boxShadow:Ue.defaultShadow}),Ze(Ue.componentCls,{color:Ue.colorPrimaryHover,borderColor:Ue.colorPrimaryHover},{color:Ue.colorPrimaryActive,borderColor:Ue.colorPrimaryActive})),kt(Ue.componentCls,Ue.ghostBg,Ue.defaultGhostColor,Ue.defaultGhostBorderColor,Ue.colorTextDisabled,Ue.colorBorder)),{[`&${Ue.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Ue.colorError,borderColor:Ue.colorError},Ze(Ue.componentCls,{color:Ue.colorErrorHover,borderColor:Ue.colorErrorBorderHover},{color:Ue.colorErrorActive,borderColor:Ue.colorErrorActive})),kt(Ue.componentCls,Ue.ghostBg,Ue.colorError,Ue.colorError,Ue.colorTextDisabled,Ue.colorBorder)),jt(Ue))}),St=Ue=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Wt(Ue)),{color:Ue.primaryColor,backgroundColor:Ue.colorPrimary,boxShadow:Ue.primaryShadow}),Ze(Ue.componentCls,{color:Ue.colorTextLightSolid,backgroundColor:Ue.colorPrimaryHover},{color:Ue.colorTextLightSolid,backgroundColor:Ue.colorPrimaryActive})),kt(Ue.componentCls,Ue.ghostBg,Ue.colorPrimary,Ue.colorPrimary,Ue.colorTextDisabled,Ue.colorBorder,{color:Ue.colorPrimaryHover,borderColor:Ue.colorPrimaryHover},{color:Ue.colorPrimaryActive,borderColor:Ue.colorPrimaryActive})),{[`&${Ue.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Ue.colorError,boxShadow:Ue.dangerShadow,color:Ue.dangerColor},Ze(Ue.componentCls,{backgroundColor:Ue.colorErrorHover},{backgroundColor:Ue.colorErrorActive})),kt(Ue.componentCls,Ue.ghostBg,Ue.colorError,Ue.colorError,Ue.colorTextDisabled,Ue.colorBorder,{color:Ue.colorErrorHover,borderColor:Ue.colorErrorHover},{color:Ue.colorErrorActive,borderColor:Ue.colorErrorActive})),jt(Ue))}),Ft=Ue=>Object.assign(Object.assign({},We(Ue)),{borderStyle:"dashed"}),tt=Ue=>Object.assign(Object.assign(Object.assign({color:Ue.colorLink},Ze(Ue.componentCls,{color:Ue.colorLinkHover,backgroundColor:Ue.linkHoverBg},{color:Ue.colorLinkActive})),zt(Ue)),{[`&${Ue.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ue.colorError},Ze(Ue.componentCls,{color:Ue.colorErrorHover},{color:Ue.colorErrorActive})),zt(Ue))}),_t=Ue=>Object.assign(Object.assign(Object.assign({},Ze(Ue.componentCls,{color:Ue.colorText,backgroundColor:Ue.textHoverBg},{color:Ue.colorText,backgroundColor:Ue.colorBgTextActive})),zt(Ue)),{[`&${Ue.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ue.colorError},zt(Ue)),Ze(Ue.componentCls,{color:Ue.colorErrorHover,backgroundColor:Ue.colorErrorBg},{color:Ue.colorErrorHover,backgroundColor:Ue.colorErrorBg}))}),dt=Ue=>{const{componentCls:fe}=Ue;return{[`${fe}-default`]:We(Ue),[`${fe}-primary`]:St(Ue),[`${fe}-dashed`]:Ft(Ue),[`${fe}-link`]:tt(Ue),[`${fe}-text`]:_t(Ue),[`${fe}-ghost`]:kt(Ue.componentCls,Ue.ghostBg,Ue.colorBgContainer,Ue.colorBgContainer,Ue.colorTextDisabled,Ue.colorBorder)}},qe=function(Ue){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:Ot,fontSize:Ce,lineHeight:ct,lineWidth:Kt,borderRadius:At,buttonPaddingHorizontal:Te,iconCls:Et}=Ue,ye=Math.max(0,(Ot-Ce*ct)/2-Kt),et=`${pe}-icon-only`;return[{[`${pe}${fe}`]:{fontSize:Ce,height:Ot,padding:`${ye}px ${Te}px`,borderRadius:At,[`&${et}`]:{width:Ot,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[Et]:{fontSize:Ue.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:Ue.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${Ue.motionDurationSlow} ${Ue.motionEaseInOut}, opacity ${Ue.motionDurationSlow} ${Ue.motionEaseInOut}`}}},{[`${pe}${pe}-circle${fe}`]:Ne(Ue)},{[`${pe}${pe}-round${fe}`]:Lt(Ue)}]},Be=Ue=>qe((0,Z.TS)(Ue,{fontSize:Ue.contentFontSize})),Ee=Ue=>{const fe=(0,Z.TS)(Ue,{controlHeight:Ue.controlHeightSM,fontSize:Ue.contentFontSizeSM,padding:Ue.paddingXS,buttonPaddingHorizontal:Ue.paddingInlineSM,borderRadius:Ue.borderRadiusSM,buttonIconOnlyFontSize:Ue.onlyIconSizeSM});return qe(fe,`${Ue.componentCls}-sm`)},Re=Ue=>{const fe=(0,Z.TS)(Ue,{controlHeight:Ue.controlHeightLG,fontSize:Ue.contentFontSizeLG,buttonPaddingHorizontal:Ue.paddingInlineLG,borderRadius:Ue.borderRadiusLG,buttonIconOnlyFontSize:Ue.onlyIconSizeLG});return qe(fe,`${Ue.componentCls}-lg`)},He=Ue=>{const{componentCls:fe}=Ue;return{[fe]:{[`&${fe}-block`]:{width:"100%"}}}},ze=Ue=>{const{paddingInline:fe,onlyIconSize:pe}=Ue;return(0,Z.TS)(Ue,{buttonPaddingHorizontal:fe,buttonIconOnlyFontSize:pe})},Ye=Ue=>({fontWeight:400,defaultShadow:`0 ${Ue.controlOutlineWidth}px 0 ${Ue.controlTmpOutline}`,primaryShadow:`0 ${Ue.controlOutlineWidth}px 0 ${Ue.controlOutline}`,dangerShadow:`0 ${Ue.controlOutlineWidth}px 0 ${Ue.colorErrorOutline}`,primaryColor:Ue.colorTextLightSolid,dangerColor:Ue.colorTextLightSolid,borderColorDisabled:Ue.colorBorder,defaultGhostColor:Ue.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Ue.colorBgContainer,paddingInline:Ue.paddingContentHorizontal-Ue.lineWidth,paddingInlineLG:Ue.paddingContentHorizontal-Ue.lineWidth,paddingInlineSM:8-Ue.lineWidth,onlyIconSize:Ue.fontSizeLG,onlyIconSizeSM:Ue.fontSizeLG-2,onlyIconSizeLG:Ue.fontSizeLG+2,groupBorderColor:Ue.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Ue.colorBgTextHover,defaultColor:Ue.colorText,defaultBg:Ue.colorBgContainer,defaultBorderColor:Ue.colorBorder,defaultBorderColorDisabled:Ue.colorBorder,contentFontSize:Ue.fontSize,contentFontSizeSM:Ue.fontSize,contentFontSizeLG:Ue.fontSizeLG});var ht=(0,$.Z)("Button",Ue=>{const fe=ze(Ue);return[De(fe),Ee(fe),Be(fe),Re(fe),He(fe),dt(fe),Ie(fe)]},Ye),xt=e(74207);function nr(Ue,fe){return{[`&-item:not(${fe}-last-item)`]:{marginBottom:-Ue.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function er(Ue,fe){return{[`&-item:not(${fe}-first-item):not(${fe}-last-item)`]:{borderRadius:0},[`&-item${fe}-first-item:not(${fe}-last-item)`]:{[`&, &${Ue}-sm, &${Ue}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${fe}-last-item:not(${fe}-first-item)`]:{[`&, &${Ue}-sm, &${Ue}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Le(Ue){const fe=`${Ue.componentCls}-compact-vertical`;return{[fe]:Object.assign(Object.assign({},nr(Ue,fe)),er(Ue.componentCls,fe))}}var Qe=(0,$.b)(["Button","compact"],Ue=>{const fe=ze(Ue);return[(0,xt.c)(fe),Le(fe)]},Ye),Qt=function(Ue,fe){var pe={};for(var Ot in Ue)Object.prototype.hasOwnProperty.call(Ue,Ot)&&fe.indexOf(Ot)<0&&(pe[Ot]=Ue[Ot]);if(Ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Ot=Object.getOwnPropertySymbols(Ue);Ce<Ot.length;Ce++)fe.indexOf(Ot[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ue,Ot[Ce])&&(pe[Ot[Ce]]=Ue[Ot[Ce]]);return pe};function Rt(Ue){return Ue==="danger"?{danger:!0}:{type:Ue}}function Vt(Ue){if(typeof Ue=="object"&&Ue){const fe=Ue==null?void 0:Ue.delay;return{loading:!1,delay:!Number.isNaN(fe)&&typeof fe=="number"?fe:0}}return{loading:!!Ue,delay:0}}const Gt=(Ue,fe)=>{var pe,Ot;const{loading:Ce=!1,prefixCls:ct,type:Kt="default",danger:At,shape:Te="default",size:Et,styles:ye,disabled:et,className:yt,rootClassName:Nt,children:Fe,icon:Ir,ghost:Ct=!1,block:Gr=!1,htmlType:Qr="button",classNames:Mr,style:Fr={}}=Ue,mr=Qt(Ue,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:$r,autoInsertSpaceInButton:nn,direction:cn,button:Xt}=(0,r.useContext)(h.E_),mt=$r("btn",ct),[ut,ft]=ht(mt),$t=(0,r.useContext)(u.Z),yr=et!=null?et:$t,gr=(0,r.useContext)(_),it=(0,r.useMemo)(()=>Vt(Ce),[Ce]),[Tr,fn]=(0,r.useState)(it.loading),[Ln,Vr]=(0,r.useState)(!1),Zn=(0,r.createRef)(),Hn=(0,f.sQ)(fe,Zn),Pn=r.Children.count(Fe)===1&&!Ir&&!M(Kt);(0,r.useEffect)(()=>{let yi=null;it.delay>0?yi=setTimeout(()=>{yi=null,fn(!0)},it.delay):fn(it.loading);function qn(){yi&&(clearTimeout(yi),yi=null)}return qn},[it]),(0,r.useEffect)(()=>{if(!Hn||!Hn.current||nn===!1)return;const yi=Hn.current.textContent;Pn&&A(yi)?Ln||Vr(!0):Ln&&Vr(!1)},[Hn]);const yn=yi=>{const{onClick:qn}=Ue;if(Tr||yr){yi.preventDefault();return}qn==null||qn(yi)},Vn=nn!==!1,{compactSize:oi,compactItemClassnames:mi}=(0,x.ri)(mt,cn),Di={large:"lg",small:"sm",middle:void 0},ji=(0,a.Z)(yi=>{var qn,Sn;return(Sn=(qn=Et!=null?Et:oi)!==null&&qn!==void 0?qn:gr)!==null&&Sn!==void 0?Sn:yi}),gi=ji&&Di[ji]||"",Ea=Tr?"loading":Ir,ui=(0,c.Z)(mr,["navigate"]),Ji=l()(mt,ft,{[`${mt}-${Te}`]:Te!=="default"&&Te,[`${mt}-${Kt}`]:Kt,[`${mt}-${gi}`]:gi,[`${mt}-icon-only`]:!Fe&&Fe!==0&&!!Ea,[`${mt}-background-ghost`]:Ct&&!M(Kt),[`${mt}-loading`]:Tr,[`${mt}-two-chinese-chars`]:Ln&&Vn&&!Tr,[`${mt}-block`]:Gr,[`${mt}-dangerous`]:!!At,[`${mt}-rtl`]:cn==="rtl"},mi,yt,Nt,Xt==null?void 0:Xt.className),It=Object.assign(Object.assign({},Xt==null?void 0:Xt.style),Fr),gt=l()(Mr==null?void 0:Mr.icon,(pe=Xt==null?void 0:Xt.classNames)===null||pe===void 0?void 0:pe.icon),Oi=Object.assign(Object.assign({},(ye==null?void 0:ye.icon)||{}),((Ot=Xt==null?void 0:Xt.styles)===null||Ot===void 0?void 0:Ot.icon)||{}),Xi=Ir&&!Tr?r.createElement(ie,{prefixCls:mt,className:gt,style:Oi},Ir):r.createElement(Q,{existIcon:!!Ir,prefixCls:mt,loading:!!Tr}),vi=Fe||Fe===0?j(Fe,Pn&&Vn):null;if(ui.href!==void 0)return ut(r.createElement("a",Object.assign({},ui,{className:l()(Ji,{[`${mt}-disabled`]:yr}),style:It,onClick:yn,ref:Hn}),Xi,vi));let ya=r.createElement("button",Object.assign({},mr,{type:Qr,className:Ji,style:It,onClick:yn,disabled:yr,ref:Hn}),Xi,vi,mi&&r.createElement(Qe,{key:"compact",prefixCls:mt}));return M(Kt)||(ya=r.createElement(o.Z,{component:"Button",disabled:!!Tr},ya)),ut(ya)},Tt=(0,r.forwardRef)(Gt);Tt.Group=S,Tt.__ANT_BUTTON=!0;var qt=Tt},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 zt},w6:function(){return kt}});var r=e(93083),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=We=>{const{locale:St={},children:Ft,_ANT_MARK__:tt}=We;f.useEffect(()=>(0,h.f)(St&&St.Modal),[St]);const _t=f.useMemo(()=>Object.assign(Object.assign({},St),{exist:!0}),[St]);return f.createElement(u.Z.Provider,{value:_t},Ft)},y=e(31724),_=e(45246),b=e(34117),S=e(36355),k=e(30071),R=e(64993),A=e(47273),D=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(We,St){const Ft={},tt=(qe,Be)=>{let Ee=qe.clone();return Ee=(Be==null?void 0:Be(Ee))||Ee,Ee.toRgbString()},_t=(qe,Be)=>{const Ee=new R.C(qe),Re=(0,k.generate)(Ee.toRgbString());Ft[`${Be}-color`]=tt(Ee),Ft[`${Be}-color-disabled`]=Re[1],Ft[`${Be}-color-hover`]=Re[4],Ft[`${Be}-color-active`]=Re[6],Ft[`${Be}-color-outline`]=Ee.clone().setAlpha(.2).toRgbString(),Ft[`${Be}-color-deprecated-bg`]=Re[0],Ft[`${Be}-color-deprecated-border`]=Re[2]};if(St.primaryColor){_t(St.primaryColor,"primary");const qe=new R.C(St.primaryColor),Be=(0,k.generate)(qe.toRgbString());Be.forEach((Re,He)=>{Ft[`primary-${He+1}`]=Re}),Ft["primary-color-deprecated-l-35"]=tt(qe,Re=>Re.lighten(35)),Ft["primary-color-deprecated-l-20"]=tt(qe,Re=>Re.lighten(20)),Ft["primary-color-deprecated-t-20"]=tt(qe,Re=>Re.tint(20)),Ft["primary-color-deprecated-t-50"]=tt(qe,Re=>Re.tint(50)),Ft["primary-color-deprecated-f-12"]=tt(qe,Re=>Re.setAlpha(Re.getAlpha()*.12));const Ee=new R.C(Be[0]);Ft["primary-color-active-deprecated-f-30"]=tt(Ee,Re=>Re.setAlpha(Re.getAlpha()*.3)),Ft["primary-color-active-deprecated-d-02"]=tt(Ee,Re=>Re.darken(2))}return St.successColor&&_t(St.successColor,"success"),St.warningColor&&_t(St.warningColor,"warning"),St.errorColor&&_t(St.errorColor,"error"),St.infoColor&&_t(St.infoColor,"info"),`
|
|
|
:root {
|
|
|
${Object.keys(Ft).map(qe=>`--${We}-${qe}: ${Ft[qe]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function j(We,St){const Ft=B(We,St);(0,A.Z)()&&(0,D.hq)(Ft,`${M}-dynamic-theme`)}var Y=e(1684),V=e(52946);function G(){const We=(0,f.useContext)(Y.Z),St=(0,f.useContext)(V.Z);return{componentDisabled:We,componentSize:St}}var ae=G,ie=e(13697);function ue(We,St){const Ft=We||{},tt=Ft.inherit===!1||!St?_.u_:St;return(0,l.Z)(()=>{if(!We)return St;const _t=Object.assign({},tt.components);return Object.keys(We.components||{}).forEach(dt=>{_t[dt]=Object.assign(Object.assign({},_t[dt]),We.components[dt])}),Object.assign(Object.assign(Object.assign({},tt),Ft),{token:Object.assign(Object.assign({},tt.token),Ft.token),components:_t})},[Ft,tt],(_t,dt)=>_t.some((qe,Be)=>{const Ee=dt[Be];return!(0,ie.Z)(qe,Ee,!0)}))}var q=e(77900),J=e(88088);function K(We){const{children:St}=We,[,Ft]=(0,J.Z)(),{motion:tt}=Ft,_t=f.useRef(!1);return _t.current=_t.current||tt===!1,_t.current?f.createElement(q.Provider,{motion:tt},St):St}var oe=e(73040),ee=function(We,St){var Ft={};for(var tt in We)Object.prototype.hasOwnProperty.call(We,tt)&&St.indexOf(tt)<0&&(Ft[tt]=We[tt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _t=0,tt=Object.getOwnPropertySymbols(We);_t<tt.length;_t++)St.indexOf(tt[_t])<0&&Object.prototype.propertyIsEnumerable.call(We,tt[_t])&&(Ft[tt[_t]]=We[tt[_t]]);return Ft};let Q=!1;const le=null,Z=null,$=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],se="ant";let _e,Ie,De;function Ze(){return _e||se}function Ne(){return Ie||S.oR}function Lt(We){return Object.keys(We).some(St=>St.endsWith("Color"))}const bt=We=>{let{prefixCls:St,iconPrefixCls:Ft,theme:tt}=We;St!==void 0&&(_e=St),Ft!==void 0&&(Ie=Ft),tt&&(Lt(tt)?j(Ze(),tt):De=tt)},kt=()=>({getPrefixCls:(We,St)=>St||(We?`${Ze()}-${We}`:Ze()),getIconPrefixCls:Ne,getRootPrefixCls:()=>_e||Ze(),getTheme:()=>De}),jt=We=>{const{children:St,csp:Ft,autoInsertSpaceInButton:tt,alert:_t,anchor:dt,form:qe,locale:Be,componentSize:Ee,direction:Re,space:He,virtual:ze,dropdownMatchSelectWidth:Ye,popupMatchSelectWidth:ht,popupOverflow:xt,legacyLocale:nr,parentContext:er,iconPrefixCls:Le,theme:Qe,componentDisabled:Qt,segmented:Rt,statistic:Vt,spin:Gt,calendar:Tt,carousel:qt,cascader:Ue,collapse:fe,typography:pe,checkbox:Ot,descriptions:Ce,divider:ct,drawer:Kt,skeleton:At,steps:Te,image:Et,layout:ye,list:et,mentions:yt,modal:Nt,progress:Fe,result:Ir,slider:Ct,breadcrumb:Gr,menu:Qr,pagination:Mr,input:Fr,empty:mr,badge:$r,radio:nn,rate:cn,switch:Xt,transfer:mt,avatar:ut,message:ft,tag:$t,table:yr,card:gr,tabs:it,timeline:Tr,timePicker:fn,upload:Ln,notification:Vr,tree:Zn,colorPicker:Hn,datePicker:Pn,wave:yn}=We,Vn=f.useCallback((vi,ya)=>{const{prefixCls:yi}=We;if(ya)return ya;const qn=yi||er.getPrefixCls("");return vi?`${qn}-${vi}`:qn},[er.getPrefixCls,We.prefixCls]),oi=Le||er.iconPrefixCls||S.oR,mi=oi!==er.iconPrefixCls,Di=Ft||er.csp,ji=(0,oe.Z)(oi,Di),gi=ue(Qe,er.theme),Ea={csp:Di,autoInsertSpaceInButton:tt,alert:_t,anchor:dt,locale:Be||nr,direction:Re,space:He,virtual:ze,popupMatchSelectWidth:ht!=null?ht:Ye,popupOverflow:xt,getPrefixCls:Vn,iconPrefixCls:oi,theme:gi,segmented:Rt,statistic:Vt,spin:Gt,calendar:Tt,carousel:qt,cascader:Ue,collapse:fe,typography:pe,checkbox:Ot,descriptions:Ce,divider:ct,drawer:Kt,skeleton:At,steps:Te,image:Et,input:Fr,layout:ye,list:et,mentions:yt,modal:Nt,progress:Fe,result:Ir,slider:Ct,breadcrumb:Gr,menu:Qr,pagination:Mr,empty:mr,badge:$r,radio:nn,rate:cn,switch:Xt,transfer:mt,avatar:ut,message:ft,tag:$t,table:yr,card:gr,tabs:it,timeline:Tr,timePicker:fn,upload:Ln,notification:Vr,tree:Zn,colorPicker:Hn,datePicker:Pn,wave:yn},ui=Object.assign({},er);Object.keys(Ea).forEach(vi=>{Ea[vi]!==void 0&&(ui[vi]=Ea[vi])}),$.forEach(vi=>{const ya=We[vi];ya&&(ui[vi]=ya)});const Ji=(0,l.Z)(()=>ui,ui,(vi,ya)=>{const yi=Object.keys(vi),qn=Object.keys(ya);return yi.length!==qn.length||yi.some(Sn=>vi[Sn]!==ya[Sn])}),It=f.useMemo(()=>({prefixCls:oi,csp:Di}),[oi,Di]);let gt=mi?ji(St):St;const Oi=f.useMemo(()=>{var vi,ya,yi,qn;return(0,c.T)(((vi=y.Z.Form)===null||vi===void 0?void 0:vi.defaultValidateMessages)||{},((yi=(ya=Ji.locale)===null||ya===void 0?void 0:ya.Form)===null||yi===void 0?void 0:yi.defaultValidateMessages)||{},((qn=Ji.form)===null||qn===void 0?void 0:qn.validateMessages)||{},(qe==null?void 0:qe.validateMessages)||{})},[Ji,qe==null?void 0:qe.validateMessages]);Object.keys(Oi).length>0&&(gt=f.createElement(o.Z.Provider,{value:Oi},St)),Be&&(gt=f.createElement(p,{locale:Be,_ANT_MARK__:a},gt)),(oi||Di)&&(gt=f.createElement(i.Z.Provider,{value:It},gt)),Ee&&(gt=f.createElement(V.q,{size:Ee},gt)),gt=f.createElement(K,null,gt);const Xi=f.useMemo(()=>{const vi=gi||{},{algorithm:ya,token:yi,components:qn}=vi,Sn=ee(vi,["algorithm","token","components"]),rr=ya&&(!Array.isArray(ya)||ya.length>0)?(0,r.createTheme)(ya):_.uH,vt={};return Object.entries(qn||{}).forEach(nt=>{let[Dt,pt]=nt;const cr=Object.assign({},pt);"algorithm"in cr&&(cr.algorithm===!0?cr.theme=rr:(Array.isArray(cr.algorithm)||typeof cr.algorithm=="function")&&(cr.theme=(0,r.createTheme)(cr.algorithm)),delete cr.algorithm),vt[Dt]=cr}),Object.assign(Object.assign({},Sn),{theme:rr,token:Object.assign(Object.assign({},b.Z),yi),components:vt})},[gi]);return Qe&&(gt=f.createElement(_.Mj.Provider,{value:Xi},gt)),Qt!==void 0&&(gt=f.createElement(Y.n,{disabled:Qt},gt)),f.createElement(S.E_.Provider,{value:Ji},gt)},Wt=We=>{const St=f.useContext(S.E_),Ft=f.useContext(u.Z);return f.createElement(jt,Object.assign({parentContext:St,legacyLocale:Ft},We))};Wt.ConfigContext=S.E_,Wt.SizeContext=V.Z,Wt.config=bt,Wt.useConfig=ae,Object.defineProperty(Wt,"SizeContext",{get:()=>V.Z});var zt=Wt},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:D,offset:M,push:B,pull:j,className:Y,children:V,flex:G,style:ae}=p,ie=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),ue=_("col",R),[q,J]=(0,o.c)(ue);let K={};a.forEach(Q=>{let le={};const Z=p[Q];typeof Z=="number"?le.span=Z:typeof Z=="object"&&(le=Z||{}),delete ie[Q],K=Object.assign(Object.assign({},K),{[`${ue}-${Q}-${le.span}`]:le.span!==void 0,[`${ue}-${Q}-order-${le.order}`]:le.order||le.order===0,[`${ue}-${Q}-offset-${le.offset}`]:le.offset||le.offset===0,[`${ue}-${Q}-push-${le.push}`]:le.push||le.push===0,[`${ue}-${Q}-pull-${le.pull}`]:le.pull||le.pull===0,[`${ue}-${Q}-flex-${le.flex}`]:le.flex||le.flex==="auto",[`${ue}-rtl`]:b==="rtl"})});const oe=l()(ue,{[`${ue}-${A}`]:A!==void 0,[`${ue}-order-${D}`]:D,[`${ue}-offset-${M}`]:M,[`${ue}-push-${B}`]:B,[`${ue}-pull-${j}`]:j},Y,K,J),ee={};if(S&&S[0]>0){const Q=S[0]/2;ee.paddingLeft=Q,ee.paddingRight=Q}return G&&(ee.flex=u(G),k===!1&&!ee.minWidth&&(ee.minWidth=0)),q(r.createElement("div",Object.assign({},ie,{style:Object.assign(Object.assign({},ee),ae),className:oe,ref:y}),V))});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 D=c.c4[A];if(!b[D])continue;const M=_[D];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:D,children:M,gutter:B=0,wrap:j}=_,Y=u(_,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:V,direction:G}=r.useContext(f.E_),[ae,ie]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[ue,q]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),J=p(R,ue),K=p(k,ue),oe=r.useRef(B),ee=(0,c.ZP)();r.useEffect(()=>{const bt=ee.subscribe(kt=>{q(kt);const jt=oe.current||0;(!Array.isArray(jt)&&typeof jt=="object"||Array.isArray(jt)&&(typeof jt[0]=="object"||typeof jt[1]=="object"))&&ie(kt)});return()=>ee.unsubscribe(bt)},[]);const Q=()=>{const bt=[void 0,void 0];return(Array.isArray(B)?B:[B,void 0]).forEach((jt,Wt)=>{if(typeof jt=="object")for(let zt=0;zt<c.c4.length;zt++){const We=c.c4[zt];if(ae[We]&&jt[We]!==void 0){bt[Wt]=jt[We];break}}else bt[Wt]=jt}),bt},le=V("row",S),[Z,$]=(0,h.V)(le),se=Q(),_e=l()(le,{[`${le}-no-wrap`]:j===!1,[`${le}-${K}`]:K,[`${le}-${J}`]:J,[`${le}-rtl`]:G==="rtl"},A,$),Ie={},De=se[0]!=null&&se[0]>0?se[0]/-2:void 0;De&&(Ie.marginLeft=De,Ie.marginRight=De),[,Ie.rowGap]=se;const[Ze,Ne]=se,Lt=r.useMemo(()=>({gutter:[Ze,Ne],wrap:j}),[Ze,Ne,j]);return Z(r.createElement(o.Z.Provider,{value:Lt},r.createElement("div",Object.assign({},Y,{className:_e,style:Object.assign(Object.assign({},Ie),D),ref:b}),M)))});v.Z=y},98242:function(d,v,e){"use strict";e.d(v,{V:function(){return u},c:function(){return a}});var r=e(83116),i=e(37613);const l=x=>{const{componentCls:p}=x;return{[p]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},c=x=>{const{componentCls:p}=x;return{[p]:{position:"relative",maxWidth:"100%",minHeight:1}}},f=(x,p)=>{const{componentCls:y,gridColumns:_}=x,b={};for(let S=_;S>=0;S--)S===0?(b[`${y}${p}-${S}`]={display:"none"},b[`${y}-push-${S}`]={insetInlineStart:"auto"},b[`${y}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-push-${S}`]={insetInlineStart:"auto"},b[`${y}${p}-pull-${S}`]={insetInlineEnd:"auto"},b[`${y}${p}-offset-${S}`]={marginInlineStart:0},b[`${y}${p}-order-${S}`]={order:0}):(b[`${y}${p}-${S}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${S/_*100}%`,maxWidth:`${S/_*100}%`}],b[`${y}${p}-push-${S}`]={insetInlineStart:`${S/_*100}%`},b[`${y}${p}-pull-${S}`]={insetInlineEnd:`${S/_*100}%`},b[`${y}${p}-offset-${S}`]={marginInlineStart:`${S/_*100}%`},b[`${y}${p}-order-${S}`]={order:S});return b},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 _t}});var r=e(95190),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(93083),S=e(17313),k=e(83116),R=e(37613);const A=dt=>{const{componentCls:qe,iconCls:Be,boxShadow:Ee,colorText:Re,colorSuccess:He,colorError:ze,colorWarning:Ye,colorInfo:ht,fontSizeLG:xt,motionEaseInOutCirc:nr,motionDurationSlow:er,marginXS:Le,paddingXS:Qe,borderRadiusLG:Qt,zIndexPopup:Rt,contentPadding:Vt,contentBg:Gt}=dt,Tt=`${qe}-notice`,qt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:Qe,transform:"translateY(0)",opacity:1}}),Ue=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:dt.height,padding:Qe,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),fe={padding:Qe,textAlign:"center",[`${qe}-custom-content > ${Be}`]:{verticalAlign:"text-bottom",marginInlineEnd:Le,fontSize:xt},[`${Tt}-content`]:{display:"inline-block",padding:Vt,background:Gt,borderRadius:Qt,boxShadow:Ee,pointerEvents:"all"},[`${qe}-success > ${Be}`]:{color:He},[`${qe}-error > ${Be}`]:{color:ze},[`${qe}-warning > ${Be}`]:{color:Ye},[`${qe}-info > ${Be},
|
|
|
${qe}-loading > ${Be}`]:{color:ht}};return[{[qe]:Object.assign(Object.assign({},(0,S.Wf)(dt)),{color:Re,position:"fixed",top:Le,width:"100%",pointerEvents:"none",zIndex:Rt,[`${qe}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${qe}-move-up-appear,
|
|
|
${qe}-move-up-enter
|
|
|
`]:{animationName:qt,animationDuration:er,animationPlayState:"paused",animationTimingFunction:nr},[`
|
|
|
${qe}-move-up-appear${qe}-move-up-appear-active,
|
|
|
${qe}-move-up-enter${qe}-move-up-enter-active
|
|
|
`]:{animationPlayState:"running"},[`${qe}-move-up-leave`]:{animationName:Ue,animationDuration:er,animationPlayState:"paused",animationTimingFunction:nr},[`${qe}-move-up-leave${qe}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[qe]:{[Tt]:Object.assign({},fe)}},{[`${qe}-notice-pure-panel`]:Object.assign(Object.assign({},fe),{padding:0,textAlign:"start"})}]};var D=(0,k.Z)("Message",dt=>{const qe=(0,R.TS)(dt,{height:150});return[A(qe)]},dt=>({zIndexPopup:dt.zIndexPopupBase+10,contentBg:dt.colorBgElevated,contentPadding:`${(dt.controlHeightLG-dt.fontSize*dt.lineHeight)/2}px ${dt.paddingSM}px`})),M=function(dt,qe){var Be={};for(var Ee in dt)Object.prototype.hasOwnProperty.call(dt,Ee)&&qe.indexOf(Ee)<0&&(Be[Ee]=dt[Ee]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ee=Object.getOwnPropertySymbols(dt);Re<Ee.length;Re++)qe.indexOf(Ee[Re])<0&&Object.prototype.propertyIsEnumerable.call(dt,Ee[Re])&&(Be[Ee[Re]]=dt[Ee[Re]]);return Be};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)},j=dt=>{let{prefixCls:qe,type:Be,icon:Ee,children:Re}=dt;return i.createElement("div",{className:p()(`${qe}-custom-content`,`${qe}-${Be}`)},Ee||B[Be],i.createElement("span",null,Re))};var V=dt=>{const{prefixCls:qe,className:Be,type:Ee,icon:Re,content:He}=dt,ze=M(dt,["prefixCls","className","type","icon","content"]),{getPrefixCls:Ye}=i.useContext(_.E_),ht=qe||Ye("message"),[,xt]=D(ht);return i.createElement(y.qX,Object.assign({},ze,{prefixCls:ht,className:p()(Be,xt,`${ht}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(j,{prefixCls:ht,type:Ee,icon:Re},He)}))},G=e(99267);function ae(dt,qe){return{motionName:qe!=null?qe:`${dt}-move-up`}}function ie(dt){let qe;const Be=new Promise(Re=>{qe=dt(()=>{Re(!0)})}),Ee=()=>{qe==null||qe()};return Ee.then=(Re,He)=>Be.then(Re,He),Ee.promise=Be,Ee}var ue=function(dt,qe){var Be={};for(var Ee in dt)Object.prototype.hasOwnProperty.call(dt,Ee)&&qe.indexOf(Ee)<0&&(Be[Ee]=dt[Ee]);if(dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Ee=Object.getOwnPropertySymbols(dt);Re<Ee.length;Re++)qe.indexOf(Ee[Re])<0&&Object.prototype.propertyIsEnumerable.call(dt,Ee[Re])&&(Be[Ee[Re]]=dt[Ee[Re]]);return Be};const q=8,J=3,K=dt=>{let{children:qe,prefixCls:Be}=dt;const[,Ee]=D(Be);return i.createElement(y.JB,{classNames:{list:Ee,notice:Ee}},qe)},oe=(dt,qe)=>{let{prefixCls:Be,key:Ee}=qe;return i.createElement(K,{prefixCls:Be,key:Ee},dt)},ee=i.forwardRef((dt,qe)=>{const{top:Be,prefixCls:Ee,getContainer:Re,maxCount:He,duration:ze=J,rtl:Ye,transitionName:ht,onAllRemoved:xt}=dt,{getPrefixCls:nr,getPopupContainer:er,message:Le}=i.useContext(_.E_),Qe=Ee||nr("message"),Qt=()=>({left:"50%",transform:"translateX(-50%)",top:Be!=null?Be:q}),Rt=()=>p()({[`${Qe}-rtl`]:Ye}),Vt=()=>ae(Qe,ht),Gt=i.createElement("span",{className:`${Qe}-close-x`},i.createElement(G.Z,{className:`${Qe}-close-icon`})),[Tt,qt]=(0,y.lm)({prefixCls:Qe,style:Qt,className:Rt,motion:Vt,closable:!1,closeIcon:Gt,duration:ze,getContainer:()=>(Re==null?void 0:Re())||(er==null?void 0:er())||document.body,maxCount:He,onAllRemoved:xt,renderNotifications:oe});return i.useImperativeHandle(qe,()=>Object.assign(Object.assign({},Tt),{prefixCls:Qe,message:Le})),qt});let Q=0;function le(dt){const qe=i.useRef(null);return[i.useMemo(()=>{const Ee=ht=>{var xt;(xt=qe.current)===null||xt===void 0||xt.close(ht)},Re=ht=>{if(!qe.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:xt,prefixCls:nr,message:er}=qe.current,Le=`${nr}-notice`,{content:Qe,icon:Qt,type:Rt,key:Vt,className:Gt,style:Tt,onClose:qt}=ht,Ue=ue(ht,["content","icon","type","key","className","style","onClose"]);let fe=Vt;return fe==null&&(Q+=1,fe=`antd-message-${Q}`),ie(pe=>(xt(Object.assign(Object.assign({},Ue),{key:fe,content:i.createElement(j,{prefixCls:nr,type:Rt,icon:Qt},Qe),placement:"top",className:p()(Rt&&`${Le}-${Rt}`,Gt,er==null?void 0:er.className),style:Object.assign(Object.assign({},er==null?void 0:er.style),Tt),onClose:()=>{qt==null||qt(),pe()}})),()=>{Ee(fe)}))},ze={open:Re,destroy:ht=>{var xt;ht!==void 0?Ee(ht):(xt=qe.current)===null||xt===void 0||xt.destroy()}};return["info","success","warning","error","loading"].forEach(ht=>{const xt=(nr,er,Le)=>{let Qe;nr&&typeof nr=="object"&&"content"in nr?Qe=nr:Qe={content:nr};let Qt,Rt;typeof er=="function"?Rt=er:(Qt=er,Rt=Le);const Vt=Object.assign(Object.assign({onClose:Rt,duration:Qt},Qe),{type:ht});return Re(Vt)};ze[ht]=xt}),ze},[]),i.createElement(ee,Object.assign({key:"message-holder"},dt,{ref:qe}))]}function Z(dt){return le(dt)}let $=null,se=dt=>dt(),_e=[],Ie={};function De(){const{prefixCls:dt,getContainer:qe,duration:Be,rtl:Ee,maxCount:Re,top:He}=Ie,ze=dt!=null?dt:(0,c.w6)().getPrefixCls("message"),Ye=(qe==null?void 0:qe())||document.body;return{prefixCls:ze,getContainer:()=>Ye,duration:Be,rtl:Ee,maxCount:Re,top:He}}const Ze=i.forwardRef((dt,qe)=>{const[Be,Ee]=i.useState(De),[Re,He]=le(Be),ze=(0,c.w6)(),Ye=ze.getRootPrefixCls(),ht=ze.getIconPrefixCls(),xt=ze.getTheme(),nr=()=>{Ee(De)};return i.useEffect(nr,[]),i.useImperativeHandle(qe,()=>{const er=Object.assign({},Re);return Object.keys(er).forEach(Le=>{er[Le]=function(){return nr(),Re[Le].apply(Re,arguments)}}),{instance:er,sync:nr}}),i.createElement(c.ZP,{prefixCls:Ye,iconPrefixCls:ht,theme:xt},He)});function Ne(){if(!$){const dt=document.createDocumentFragment(),qe={fragment:dt};$=qe,se(()=>{(0,l.s)(i.createElement(Ze,{ref:Be=>{const{instance:Ee,sync:Re}=Be||{};Promise.resolve().then(()=>{!qe.instance&&Ee&&(qe.instance=Ee,qe.sync=Re,Ne())})}}),dt)});return}$.instance&&(_e.forEach(dt=>{const{type:qe,skipped:Be}=dt;if(!Be)switch(qe){case"open":{se(()=>{const Ee=$.instance.open(Object.assign(Object.assign({},Ie),dt.config));Ee==null||Ee.then(dt.resolve),dt.setCloseFn(Ee)});break}case"destroy":se(()=>{$==null||$.instance.destroy(dt.key)});break;default:se(()=>{var Ee;const Re=(Ee=$.instance)[qe].apply(Ee,(0,r.Z)(dt.args));Re==null||Re.then(dt.resolve),dt.setCloseFn(Re)})}}),_e=[])}function Lt(dt){Ie=Object.assign(Object.assign({},Ie),dt),se(()=>{var qe;(qe=$==null?void 0:$.sync)===null||qe===void 0||qe.call($)})}function bt(dt){const qe=ie(Be=>{let Ee;const Re={type:"open",config:dt,resolve:Be,setCloseFn:He=>{Ee=He}};return _e.push(Re),()=>{Ee?se(()=>{Ee()}):Re.skipped=!0}});return Ne(),qe}function kt(dt,qe){const Be=ie(Ee=>{let Re;const He={type:dt,args:qe,resolve:Ee,setCloseFn:ze=>{Re=ze}};return _e.push(He),()=>{Re?se(()=>{Re()}):He.skipped=!0}});return Ne(),Be}function jt(dt){_e.push({type:"destroy",key:dt}),Ne()}const Wt=["success","info","warning","error","loading"],We={open:bt,destroy:jt,config:Lt,useMessage:Z,_InternalPanelDoNotUseOrYouWillBeFired:V};Wt.forEach(dt=>{We[dt]=function(){for(var qe=arguments.length,Be=new Array(qe),Ee=0;Ee<qe;Ee++)Be[Ee]=arguments[Ee];return kt(dt,Be)}});const St=()=>{};let Ft=null,tt=null;var _t=We},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return ct}});var r=e(95190),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:Kt,cancelButtonProps:At,cancelTextLocale:Te,isSilent:Et,mergedOkCancel:ye,rootPrefixCls:et,close:yt,onCancel:Nt,onConfirm:Fe}=(0,l.useContext)(b);return ye?l.createElement(_.Z,{isSilent:Et,actionFn:Nt,close:function(){yt==null||yt.apply(void 0,arguments),Fe==null||Fe(!1)},autoFocus:Kt==="cancel",buttonProps:At,prefixCls:`${et}-btn`},Te):null},D=()=>{const{autoFocusButton:Kt,close:At,isSilent:Te,okButtonProps:Et,rootPrefixCls:ye,okTextLocale:et,okType:yt,onConfirm:Nt,onOk:Fe}=(0,l.useContext)(b);return l.createElement(_.Z,{isSilent:Te,type:yt||"primary",actionFn:Fe,close:function(){At==null||At.apply(void 0,arguments),Nt==null||Nt(!0)},autoFocus:Kt==="ok",buttonProps:Et,prefixCls:`${ye}-btn`},et)},M=e(99267),B=e(86923),j=e(47729),Y=e(47273);const V=()=>(0,Y.Z)()&&window.document.documentElement;var G=e(36355),ae=e(32441),ie=e(33234),ue=e(11575),q=e(1684),J=e(3113),oe=()=>{const{cancelButtonProps:Kt,cancelTextLocale:At,onCancel:Te}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:Te},Kt),At)},ee=e(67797),le=()=>{const{confirmLoading:Kt,okButtonProps:At,okType:Te,okTextLocale:Et,onOk:ye}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ee.n)(Te),{loading:Kt,onClick:ye},At),Et)},Z=e(98044);function $(Kt,At){return l.createElement("span",{className:`${Kt}-close-x`},At||l.createElement(M.Z,{className:`${Kt}-close-icon`}))}const se=Kt=>{const{okText:At,okType:Te="primary",cancelText:Et,confirmLoading:ye,onOk:et,onCancel:yt,okButtonProps:Nt,cancelButtonProps:Fe,footer:Ir}=Kt,[Ct]=(0,y.Z)("Modal",(0,Z.A)()),Gr=At||(Ct==null?void 0:Ct.okText),Qr=Et||(Ct==null?void 0:Ct.cancelText),Mr={confirmLoading:ye,okButtonProps:Nt,cancelButtonProps:Fe,okTextLocale:Gr,cancelTextLocale:Qr,okType:Te,onOk:et,onCancel:yt},Fr=l.useMemo(()=>Mr,(0,r.Z)(Object.values(Mr)));let mr;return typeof Ir=="function"||typeof Ir=="undefined"?(mr=l.createElement(S,{value:Fr},l.createElement(oe,null),l.createElement(le,null)),typeof Ir=="function"&&(mr=Ir(mr,{OkBtn:le,CancelBtn:oe}))):mr=Ir,l.createElement(q.n,{disabled:!1},mr)};var _e=e(73819),Ie=function(Kt,At){var Te={};for(var Et in Kt)Object.prototype.hasOwnProperty.call(Kt,Et)&&At.indexOf(Et)<0&&(Te[Et]=Kt[Et]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Et=Object.getOwnPropertySymbols(Kt);ye<Et.length;ye++)At.indexOf(Et[ye])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Et[ye])&&(Te[Et[ye]]=Kt[Et[ye]]);return Te};let De;const Ze=Kt=>{De={x:Kt.pageX,y:Kt.pageY},setTimeout(()=>{De=null},100)};V()&&document.documentElement.addEventListener("click",Ze,!0);var Lt=Kt=>{var At;const{getPopupContainer:Te,getPrefixCls:Et,direction:ye,modal:et}=l.useContext(G.E_),yt=Hn=>{const{onCancel:Pn}=Kt;Pn==null||Pn(Hn)},Nt=Hn=>{const{onOk:Pn}=Kt;Pn==null||Pn(Hn)},{prefixCls:Fe,className:Ir,rootClassName:Ct,open:Gr,wrapClassName:Qr,centered:Mr,getContainer:Fr,closeIcon:mr,closable:$r,focusTriggerAfterClose:nn=!0,style:cn,visible:Xt,width:mt=520,footer:ut}=Kt,ft=Ie(Kt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),$t=Et("modal",Fe),yr=Et(),[gr,it]=(0,_e.ZP)($t),Tr=x()(Qr,{[`${$t}-centered`]:!!Mr,[`${$t}-wrap-rtl`]:ye==="rtl"}),fn=ut!==null&&l.createElement(se,Object.assign({},Kt,{onOk:Nt,onCancel:yt})),[Ln,Vr]=(0,j.Z)($r,mr,Hn=>$($t,Hn),l.createElement(M.Z,{className:`${$t}-close-icon`}),!0),Zn=(0,ue.H)(`.${$t}-content`);return gr(l.createElement(ie.BR,null,l.createElement(ae.Ux,{status:!0,override:!0},l.createElement(B.Z,Object.assign({width:mt},ft,{getContainer:Fr===void 0?Te:Fr,prefixCls:$t,rootClassName:x()(it,Ct),wrapClassName:Tr,footer:fn,visible:Gr!=null?Gr:Xt,mousePosition:(At=ft.mousePosition)!==null&&At!==void 0?At:De,onClose:yt,closable:Ln,closeIcon:Vr,focusTriggerAfterClose:nn,transitionName:(0,p.m)(yr,"zoom",Kt.transitionName),maskTransitionName:(0,p.m)(yr,"fade",Kt.maskTransitionName),className:x()(it,Ir,et==null?void 0:et.className),style:Object.assign(Object.assign({},et==null?void 0:et.style),cn),panelRef:Zn})))))},bt=e(17313),kt=e(83116);const jt=Kt=>{const{componentCls:At,titleFontSize:Te,titleLineHeight:Et,modalConfirmIconSize:ye,fontSize:et,lineHeight:yt}=Kt,Nt=`${At}-confirm`,Fe=Math.round(Te*Et),Ir=Math.round(et*yt);return{[Nt]:{"&-rtl":{direction:"rtl"},[`${Kt.antCls}-modal-header`]:{display:"none"},[`${Nt}-body-wrapper`]:Object.assign({},(0,bt.dF)()),[`${Nt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Kt.iconCls}`]:{flex:"none",fontSize:ye,marginInlineEnd:Kt.marginSM,marginTop:(Ir-ye)/2},[`&-has-title > ${Kt.iconCls}`]:{marginTop:(Fe-ye)/2}},[`${Nt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Kt.marginXS},[`${Nt}-title`]:{color:Kt.colorTextHeading,fontWeight:Kt.fontWeightStrong,fontSize:Te,lineHeight:Et},[`${Nt}-content`]:{color:Kt.colorText,fontSize:et,lineHeight:yt},[`${Nt}-btns`]:{textAlign:"end",marginTop:Kt.marginSM,[`${Kt.antCls}-btn + ${Kt.antCls}-btn`]:{marginBottom:0,marginInlineStart:Kt.marginXS}}},[`${Nt}-error ${Nt}-body > ${Kt.iconCls}`]:{color:Kt.colorError},[`${Nt}-warning ${Nt}-body > ${Kt.iconCls},
|
|
|
${Nt}-confirm ${Nt}-body > ${Kt.iconCls}`]:{color:Kt.colorWarning},[`${Nt}-info ${Nt}-body > ${Kt.iconCls}`]:{color:Kt.colorInfo},[`${Nt}-success ${Nt}-body > ${Kt.iconCls}`]:{color:Kt.colorSuccess}}};var Wt=(0,kt.b)(["Modal","confirm"],Kt=>{const At=(0,_e.B4)(Kt);return[jt(At)]},_e.eh,{order:-1e3}),zt=function(Kt,At){var Te={};for(var Et in Kt)Object.prototype.hasOwnProperty.call(Kt,Et)&&At.indexOf(Et)<0&&(Te[Et]=Kt[Et]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Et=Object.getOwnPropertySymbols(Kt);ye<Et.length;ye++)At.indexOf(Et[ye])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Et[ye])&&(Te[Et[ye]]=Kt[Et[ye]]);return Te};function We(Kt){const{prefixCls:At,icon:Te,okText:Et,cancelText:ye,confirmPrefixCls:et,type:yt,okCancel:Nt,footer:Fe,locale:Ir}=Kt,Ct=zt(Kt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Gr=Te;if(!Te&&Te!==null)switch(yt){case"info":Gr=l.createElement(u.Z,null);break;case"success":Gr=l.createElement(f.Z,null);break;case"error":Gr=l.createElement(o.Z,null);break;default:Gr=l.createElement(h.Z,null)}const Qr=Nt!=null?Nt:yt==="confirm",Mr=Kt.autoFocusButton===null?!1:Kt.autoFocusButton||"ok",[Fr]=(0,y.Z)("Modal"),mr=Ir||Fr,$r=Et||(Qr?mr==null?void 0:mr.okText:mr==null?void 0:mr.justOkText),nn=ye||(mr==null?void 0:mr.cancelText),cn=Object.assign({autoFocusButton:Mr,cancelTextLocale:nn,okTextLocale:$r,mergedOkCancel:Qr},Ct),Xt=l.useMemo(()=>cn,(0,r.Z)(Object.values(cn))),mt=l.createElement(l.Fragment,null,l.createElement(R,null),l.createElement(D,null)),ut=Kt.title!==void 0&&Kt.title!==null,ft=`${et}-body`;return l.createElement("div",{className:`${et}-body-wrapper`},l.createElement("div",{className:x()(ft,{[`${ft}-has-title`]:ut})},Gr,l.createElement("div",{className:`${et}-paragraph`},ut&&l.createElement("span",{className:`${et}-title`},Kt.title),l.createElement("div",{className:`${et}-content`},Kt.content))),Fe===void 0||typeof Fe=="function"?l.createElement(S,{value:Xt},l.createElement("div",{className:`${et}-btns`},typeof Fe=="function"?Fe(mt,{OkBtn:D,CancelBtn:R}):mt)):Fe,l.createElement(Wt,{prefixCls:At}))}var Ft=Kt=>{const{close:At,zIndex:Te,afterClose:Et,visible:ye,open:et,keyboard:yt,centered:Nt,getContainer:Fe,maskStyle:Ir,direction:Ct,prefixCls:Gr,wrapClassName:Qr,rootPrefixCls:Mr,iconPrefixCls:Fr,theme:mr,bodyStyle:$r,closable:nn=!1,closeIcon:cn,modalRender:Xt,focusTriggerAfterClose:mt,onConfirm:ut}=Kt,ft=`${Gr}-confirm`,$t=Kt.width||416,yr=Kt.style||{},gr=Kt.mask===void 0?!0:Kt.mask,it=Kt.maskClosable===void 0?!1:Kt.maskClosable,Tr=x()(ft,`${ft}-${Kt.type}`,{[`${ft}-rtl`]:Ct==="rtl"},Kt.className);return l.createElement(c.ZP,{prefixCls:Mr,iconPrefixCls:Fr,direction:Ct,theme:mr},l.createElement(Lt,{prefixCls:Gr,className:Tr,wrapClassName:x()({[`${ft}-centered`]:!!Kt.centered},Qr),onCancel:()=>{At==null||At({triggerCancel:!0}),ut==null||ut(!1)},open:et,title:"",footer:null,transitionName:(0,p.m)(Mr||"","zoom",Kt.transitionName),maskTransitionName:(0,p.m)(Mr||"","fade",Kt.maskTransitionName),mask:gr,maskClosable:it,maskStyle:Ir,style:yr,bodyStyle:$r,width:$t,zIndex:Te,afterClose:Et,keyboard:yt,centered:Nt,getContainer:Fe,closable:nn,closeIcon:cn,modalRender:Xt,focusTriggerAfterClose:mt},l.createElement(We,Object.assign({},Kt,{confirmPrefixCls:ft}))))},_t=[],dt=function(Kt,At){var Te={};for(var Et in Kt)Object.prototype.hasOwnProperty.call(Kt,Et)&&At.indexOf(Et)<0&&(Te[Et]=Kt[Et]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Et=Object.getOwnPropertySymbols(Kt);ye<Et.length;ye++)At.indexOf(Et[ye])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Et[ye])&&(Te[Et[ye]]=Kt[Et[ye]]);return Te};let qe="";function Be(){return qe}function Ee(Kt){const At=document.createDocumentFragment();let Te=Object.assign(Object.assign({},Kt),{close:yt,open:!0}),Et;function ye(){for(var Fe=arguments.length,Ir=new Array(Fe),Ct=0;Ct<Fe;Ct++)Ir[Ct]=arguments[Ct];const Gr=Ir.some(Qr=>Qr&&Qr.triggerCancel);Kt.onCancel&&Gr&&Kt.onCancel.apply(Kt,[()=>{}].concat((0,r.Z)(Ir.slice(1))));for(let Qr=0;Qr<_t.length;Qr++)if(_t[Qr]===yt){_t.splice(Qr,1);break}(0,i.v)(At)}function et(Fe){var{okText:Ir,cancelText:Ct,prefixCls:Gr,getContainer:Qr}=Fe,Mr=dt(Fe,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(Et),Et=setTimeout(()=>{const Fr=(0,Z.A)(),{getPrefixCls:mr,getIconPrefixCls:$r,getTheme:nn}=(0,c.w6)(),cn=mr(void 0,Be()),Xt=Gr||`${cn}-modal`,mt=$r(),ut=nn();let ft=Qr;ft===!1&&(ft=void 0),(0,i.s)(l.createElement(Ft,Object.assign({},Mr,{getContainer:ft,prefixCls:Xt,rootPrefixCls:cn,iconPrefixCls:mt,okText:Ir,locale:Fr,theme:ut,cancelText:Ct||Fr.cancelText})),At)})}function yt(){for(var Fe=arguments.length,Ir=new Array(Fe),Ct=0;Ct<Fe;Ct++)Ir[Ct]=arguments[Ct];Te=Object.assign(Object.assign({},Te),{open:!1,afterClose:()=>{typeof Kt.afterClose=="function"&&Kt.afterClose(),ye.apply(this,Ir)}}),Te.visible&&delete Te.visible,et(Te)}function Nt(Fe){typeof Fe=="function"?Te=Fe(Te):Te=Object.assign(Object.assign({},Te),Fe),et(Te)}return et(Te),_t.push(yt),{destroy:yt,update:Nt}}function Re(Kt){return Object.assign(Object.assign({},Kt),{type:"warning"})}function He(Kt){return Object.assign(Object.assign({},Kt),{type:"info"})}function ze(Kt){return Object.assign(Object.assign({},Kt),{type:"success"})}function Ye(Kt){return Object.assign(Object.assign({},Kt),{type:"error"})}function ht(Kt){return Object.assign(Object.assign({},Kt),{type:"confirm"})}function xt(Kt){let{rootPrefixCls:At}=Kt;qe=At}var nr=e(53487),er=function(Kt,At){var Te={};for(var Et in Kt)Object.prototype.hasOwnProperty.call(Kt,Et)&&At.indexOf(Et)<0&&(Te[Et]=Kt[Et]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Et=Object.getOwnPropertySymbols(Kt);ye<Et.length;ye++)At.indexOf(Et[ye])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Et[ye])&&(Te[Et[ye]]=Kt[Et[ye]]);return Te};const Le=Kt=>{const{prefixCls:At,className:Te,closeIcon:Et,closable:ye,type:et,title:yt,children:Nt}=Kt,Fe=er(Kt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Ir}=l.useContext(G.E_),Ct=Ir(),Gr=At||Ir("modal"),[,Qr]=(0,_e.ZP)(Gr),Mr=`${Gr}-confirm`;let Fr={};return et?Fr={closable:ye!=null?ye:!1,title:"",footer:"",children:l.createElement(We,Object.assign({},Kt,{prefixCls:Gr,confirmPrefixCls:Mr,rootPrefixCls:Ct,content:Nt}))}:Fr={closable:ye!=null?ye:!0,title:yt,footer:Kt.footer===void 0?l.createElement(se,Object.assign({},Kt)):Kt.footer,children:Nt},l.createElement(B.s,Object.assign({prefixCls:Gr,className:x()(Qr,`${Gr}-pure-panel`,et&&Mr,et&&`${Mr}-${et}`,Te)},Fe,{closeIcon:$(Gr,Et),closable:ye},Fr))};var Qe=(0,nr.i)(Le);function Qt(){const[Kt,At]=l.useState([]),Te=l.useCallback(Et=>(At(ye=>[].concat((0,r.Z)(ye),[Et])),()=>{At(ye=>ye.filter(et=>et!==Et))}),[]);return[Kt,Te]}var Rt=e(31724),Vt=function(Kt,At){var Te={};for(var Et in Kt)Object.prototype.hasOwnProperty.call(Kt,Et)&&At.indexOf(Et)<0&&(Te[Et]=Kt[Et]);if(Kt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Et=Object.getOwnPropertySymbols(Kt);ye<Et.length;ye++)At.indexOf(Et[ye])<0&&Object.prototype.propertyIsEnumerable.call(Kt,Et[ye])&&(Te[Et[ye]]=Kt[Et[ye]]);return Te};const Gt=(Kt,At)=>{var Te,{afterClose:Et,config:ye}=Kt,et=Vt(Kt,["afterClose","config"]);const[yt,Nt]=l.useState(!0),[Fe,Ir]=l.useState(ye),{direction:Ct,getPrefixCls:Gr}=l.useContext(G.E_),Qr=Gr("modal"),Mr=Gr(),Fr=()=>{var cn;Et(),(cn=Fe.afterClose)===null||cn===void 0||cn.call(Fe)},mr=function(){Nt(!1);for(var cn=arguments.length,Xt=new Array(cn),mt=0;mt<cn;mt++)Xt[mt]=arguments[mt];const ut=Xt.some(ft=>ft&&ft.triggerCancel);Fe.onCancel&&ut&&Fe.onCancel.apply(Fe,[()=>{}].concat((0,r.Z)(Xt.slice(1))))};l.useImperativeHandle(At,()=>({destroy:mr,update:cn=>{Ir(Xt=>Object.assign(Object.assign({},Xt),cn))}}));const $r=(Te=Fe.okCancel)!==null&&Te!==void 0?Te:Fe.type==="confirm",[nn]=(0,y.Z)("Modal",Rt.Z.Modal);return l.createElement(Ft,Object.assign({prefixCls:Qr,rootPrefixCls:Mr},Fe,{close:mr,open:yt,afterClose:Fr,okText:Fe.okText||($r?nn==null?void 0:nn.okText:nn==null?void 0:nn.justOkText),direction:Fe.direction||Ct,cancelText:Fe.cancelText||(nn==null?void 0:nn.cancelText)},et))};var Tt=l.forwardRef(Gt);let qt=0;const Ue=l.memo(l.forwardRef((Kt,At)=>{const[Te,Et]=Qt();return l.useImperativeHandle(At,()=>({patchElement:Et}),[]),l.createElement(l.Fragment,null,Te)}));function fe(){const Kt=l.useRef(null),[At,Te]=l.useState([]);l.useEffect(()=>{At.length&&((0,r.Z)(At).forEach(yt=>{yt()}),Te([]))},[At]);const Et=l.useCallback(et=>function(Nt){var Fe;qt+=1;const Ir=l.createRef();let Ct;const Gr=new Promise($r=>{Ct=$r});let Qr=!1,Mr;const Fr=l.createElement(Tt,{key:`modal-${qt}`,config:et(Nt),ref:Ir,afterClose:()=>{Mr==null||Mr()},isSilent:()=>Qr,onConfirm:$r=>{Ct($r)}});return Mr=(Fe=Kt.current)===null||Fe===void 0?void 0:Fe.patchElement(Fr),Mr&&_t.push(Mr),{destroy:()=>{function $r(){var nn;(nn=Ir.current)===null||nn===void 0||nn.destroy()}Ir.current?$r():Te(nn=>[].concat((0,r.Z)(nn),[$r]))},update:$r=>{function nn(){var cn;(cn=Ir.current)===null||cn===void 0||cn.update($r)}Ir.current?nn():Te(cn=>[].concat((0,r.Z)(cn),[nn]))},then:$r=>(Qr=!0,Gr.then($r))}},[]);return[l.useMemo(()=>({info:Et(He),success:Et(ze),error:Et(Ye),warning:Et(Re),confirm:Et(ht)}),[]),l.createElement(Ue,{key:"modal-holder",ref:Kt})]}var pe=fe;function Ot(Kt){return Ee(Re(Kt))}const Ce=Lt;Ce.useModal=pe,Ce.info=function(At){return Ee(He(At))},Ce.success=function(At){return Ee(ze(At))},Ce.error=function(At){return Ee(Ye(At))},Ce.warning=Ot,Ce.warn=Ot,Ce.confirm=function(At){return Ee(ht(At))},Ce.destroyAll=function(){for(;_t.length;){const At=_t.pop();At&&At()}},Ce.config=xt,Ce._InternalPanelDoNotUseOrYouWillBeFired=Qe;var ct=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 dt}});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(93083),S=e(17313),k=e(83116),R=e(37613),D=qe=>{const{componentCls:Be,width:Ee,notificationMarginEdge:Re}=qe,He=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),ze=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),Ye=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:Ee},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Be}-top, &${Be}-bottom`]:{marginInline:0},[`&${Be}-top`]:{[`${Be}-fade-enter${Be}-fade-enter-active, ${Be}-fade-appear${Be}-fade-appear-active`]:{animationName:He}},[`&${Be}-bottom`]:{[`${Be}-fade-enter${Be}-fade-enter-active, ${Be}-fade-appear${Be}-fade-appear-active`]:{animationName:ze}},[`&${Be}-topLeft, &${Be}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Re,[`${Be}-fade-enter${Be}-fade-enter-active, ${Be}-fade-appear${Be}-fade-appear-active`]:{animationName:Ye}}}};const M=qe=>{const{iconCls:Be,componentCls:Ee,boxShadow:Re,fontSizeLG:He,notificationMarginBottom:ze,borderRadiusLG:Ye,colorSuccess:ht,colorInfo:xt,colorWarning:nr,colorError:er,colorTextHeading:Le,notificationBg:Qe,notificationPadding:Qt,notificationMarginEdge:Rt,motionDurationMid:Vt,motionEaseInOut:Gt,fontSize:Tt,lineHeight:qt,width:Ue,notificationIconSize:fe,colorText:pe}=qe,Ot=`${Ee}-notice`,Ce=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Ue},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ct=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:qe.animationMaxHeight,marginBottom:ze,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Kt={position:"relative",width:Ue,maxWidth:`calc(100vw - ${Rt*2}px)`,marginBottom:ze,marginInlineStart:"auto",padding:Qt,overflow:"hidden",lineHeight:qt,wordWrap:"break-word",background:Qe,borderRadius:Ye,boxShadow:Re,[`${Ee}-close-icon`]:{fontSize:Tt,cursor:"pointer"},[`${Ot}-message`]:{marginBottom:qe.marginXS,color:Le,fontSize:He,lineHeight:qe.lineHeightLG},[`${Ot}-description`]:{fontSize:Tt,color:pe},[`&${Ot}-closable ${Ot}-message`]:{paddingInlineEnd:qe.paddingLG},[`${Ot}-with-icon ${Ot}-message`]:{marginBottom:qe.marginXS,marginInlineStart:qe.marginSM+fe,fontSize:He},[`${Ot}-with-icon ${Ot}-description`]:{marginInlineStart:qe.marginSM+fe,fontSize:Tt},[`${Ot}-icon`]:{position:"absolute",fontSize:fe,lineHeight:0,[`&-success${Be}`]:{color:ht},[`&-info${Be}`]:{color:xt},[`&-warning${Be}`]:{color:nr},[`&-error${Be}`]:{color:er}},[`${Ot}-close`]:{position:"absolute",top:qe.notificationPaddingVertical,insetInlineEnd:qe.notificationPaddingHorizontal,color:qe.colorIcon,outline:"none",width:qe.notificationCloseButtonSize,height:qe.notificationCloseButtonSize,borderRadius:qe.borderRadiusSM,transition:`background-color ${qe.motionDurationMid}, color ${qe.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:qe.colorIconHover,backgroundColor:qe.wireframe?"transparent":qe.colorFillContent}},[`${Ot}-btn`]:{float:"right",marginTop:qe.marginSM}};return[{[Ee]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(qe)),{position:"fixed",zIndex:qe.zIndexPopup,marginInlineEnd:Rt,[`${Ee}-hook-holder`]:{position:"relative"},[`&${Ee}-top, &${Ee}-bottom`]:{[Ot]:{marginInline:"auto auto"}},[`&${Ee}-topLeft, &${Ee}-bottomLeft`]:{[Ot]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${Ee}-fade-enter, ${Ee}-fade-appear`]:{animationDuration:qe.motionDurationMid,animationTimingFunction:Gt,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${Ee}-fade-leave`]:{animationTimingFunction:Gt,animationFillMode:"both",animationDuration:Vt,animationPlayState:"paused"},[`${Ee}-fade-enter${Ee}-fade-enter-active, ${Ee}-fade-appear${Ee}-fade-appear-active`]:{animationName:Ce,animationPlayState:"running"},[`${Ee}-fade-leave${Ee}-fade-leave-active`]:{animationName:ct,animationPlayState:"running"}}),D(qe)),{"&-rtl":{direction:"rtl",[`${Ot}-btn`]:{float:"left"}}})},{[Ee]:{[Ot]:Object.assign({},Kt)}},{[`${Ot}-pure-panel`]:Object.assign(Object.assign({},Kt),{margin:0})}]};var B=(0,k.Z)("Notification",qe=>{const Be=qe.paddingMD,Ee=qe.paddingLG,Re=(0,R.TS)(qe,{notificationBg:qe.colorBgElevated,notificationPaddingVertical:Be,notificationPaddingHorizontal:Ee,notificationIconSize:qe.fontSizeLG*qe.lineHeightLG,notificationCloseButtonSize:qe.controlHeightLG*.55,notificationMarginBottom:qe.margin,notificationPadding:`${qe.paddingMD}px ${qe.paddingContentHorizontalLG}px`,notificationMarginEdge:qe.marginLG,animationMaxHeight:150});return[M(Re)]},qe=>({zIndexPopup:qe.zIndexPopupBase+50,width:384})),j=function(qe,Be){var Ee={};for(var Re in qe)Object.prototype.hasOwnProperty.call(qe,Re)&&Be.indexOf(Re)<0&&(Ee[Re]=qe[Re]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Re=Object.getOwnPropertySymbols(qe);He<Re.length;He++)Be.indexOf(Re[He])<0&&Object.prototype.propertyIsEnumerable.call(qe,Re[He])&&(Ee[Re[He]]=qe[Re[He]]);return Ee};const Y={info:r.createElement(u.Z,null),success:r.createElement(c.Z,null),error:r.createElement(f.Z,null),warning:r.createElement(h.Z,null),loading:r.createElement(a.Z,null)};function V(qe,Be){return Be===null||Be===!1?null:Be||r.createElement("span",{className:`${qe}-close-x`},r.createElement(o.Z,{className:`${qe}-close-icon`}))}const G={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},ae=qe=>{const{prefixCls:Be,icon:Ee,type:Re,message:He,description:ze,btn:Ye,role:ht="alert"}=qe;let xt=null;return Ee?xt=r.createElement("span",{className:`${Be}-icon`},Ee):Re&&(xt=r.createElement(G[Re]||null,{className:p()(`${Be}-icon`,`${Be}-icon-${Re}`)})),r.createElement("div",{className:p()({[`${Be}-with-icon`]:xt}),role:ht},xt,r.createElement("div",{className:`${Be}-message`},He),r.createElement("div",{className:`${Be}-description`},ze),Ye&&r.createElement("div",{className:`${Be}-btn`},Ye))};var ue=qe=>{const{prefixCls:Be,className:Ee,icon:Re,type:He,message:ze,description:Ye,btn:ht,closable:xt=!0,closeIcon:nr}=qe,er=j(qe,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Le}=r.useContext(_.E_),Qe=Be||Le("notification"),Qt=`${Qe}-notice`,[,Rt]=B(Qe);return r.createElement(y.qX,Object.assign({},er,{prefixCls:Qe,className:p()(Ee,Rt,`${Qt}-pure-panel`),eventKey:"pure",duration:null,closable:xt,closeIcon:V(Qe,nr),content:r.createElement(ae,{prefixCls:Qt,icon:Re,type:He,message:ze,description:Ye,btn:ht})}))};function q(qe,Be,Ee){let Re;switch(qe){case"top":Re={left:"50%",transform:"translateX(-50%)",right:"auto",top:Be,bottom:"auto"};break;case"topLeft":Re={left:0,top:Be,bottom:"auto"};break;case"topRight":Re={right:0,top:Be,bottom:"auto"};break;case"bottom":Re={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:Ee};break;case"bottomLeft":Re={left:0,top:"auto",bottom:Ee};break;default:Re={right:0,top:"auto",bottom:Ee};break}return Re}function J(qe){return{motionName:`${qe}-fade`}}var K=function(qe,Be){var Ee={};for(var Re in qe)Object.prototype.hasOwnProperty.call(qe,Re)&&Be.indexOf(Re)<0&&(Ee[Re]=qe[Re]);if(qe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Re=Object.getOwnPropertySymbols(qe);He<Re.length;He++)Be.indexOf(Re[He])<0&&Object.prototype.propertyIsEnumerable.call(qe,Re[He])&&(Ee[Re[He]]=qe[Re[He]]);return Ee};const oe=24,ee=4.5,Q="topRight",le=qe=>{let{children:Be,prefixCls:Ee}=qe;const[,Re]=B(Ee);return r.createElement(y.JB,{classNames:{list:Re,notice:Re}},Be)},Z=(qe,Be)=>{let{prefixCls:Ee,key:Re}=Be;return r.createElement(le,{prefixCls:Ee,key:Re},qe)},$=r.forwardRef((qe,Be)=>{const{top:Ee,bottom:Re,prefixCls:He,getContainer:ze,maxCount:Ye,rtl:ht,onAllRemoved:xt}=qe,{getPrefixCls:nr,getPopupContainer:er,notification:Le}=r.useContext(_.E_),Qe=He||nr("notification"),Qt=qt=>q(qt,Ee!=null?Ee:oe,Re!=null?Re:oe),Rt=()=>p()({[`${Qe}-rtl`]:ht}),Vt=()=>J(Qe),[Gt,Tt]=(0,y.lm)({prefixCls:Qe,style:Qt,className:Rt,motion:Vt,closable:!0,closeIcon:V(Qe),duration:ee,getContainer:()=>(ze==null?void 0:ze())||(er==null?void 0:er())||document.body,maxCount:Ye,onAllRemoved:xt,renderNotifications:Z});return r.useImperativeHandle(Be,()=>Object.assign(Object.assign({},Gt),{prefixCls:Qe,notification:Le})),Tt});function se(qe){const Be=r.useRef(null);return[r.useMemo(()=>{const Re=ht=>{var xt;if(!Be.current)return;const{open:nr,prefixCls:er,notification:Le}=Be.current,Qe=`${er}-notice`,{message:Qt,description:Rt,icon:Vt,type:Gt,btn:Tt,className:qt,style:Ue,role:fe="alert",closeIcon:pe}=ht,Ot=K(ht,["message","description","icon","type","btn","className","style","role","closeIcon"]),Ce=V(Qe,pe);return nr(Object.assign(Object.assign({placement:(xt=qe==null?void 0:qe.placement)!==null&&xt!==void 0?xt:Q},Ot),{content:r.createElement(ae,{prefixCls:Qe,icon:Vt,type:Gt,message:Qt,description:Rt,btn:Tt,role:fe}),className:p()(Gt&&`${Qe}-${Gt}`,qt,Le==null?void 0:Le.className),style:Object.assign(Object.assign({},Le==null?void 0:Le.style),Ue),closeIcon:Ce,closable:!!Ce}))},ze={open:Re,destroy:ht=>{var xt,nr;ht!==void 0?(xt=Be.current)===null||xt===void 0||xt.close(ht):(nr=Be.current)===null||nr===void 0||nr.destroy()}};return["success","info","warning","error"].forEach(ht=>{ze[ht]=xt=>Re(Object.assign(Object.assign({},xt),{type:ht}))}),ze},[]),r.createElement($,Object.assign({key:"notification-holder"},qe,{ref:Be}))]}function _e(qe){return se(qe)}let Ie=null,De=qe=>qe(),Ze=[],Ne={};function Lt(){const{prefixCls:qe,getContainer:Be,rtl:Ee,maxCount:Re,top:He,bottom:ze}=Ne,Ye=qe!=null?qe:(0,l.w6)().getPrefixCls("notification"),ht=(Be==null?void 0:Be())||document.body;return{prefixCls:Ye,getContainer:()=>ht,rtl:Ee,maxCount:Re,top:He,bottom:ze}}const bt=r.forwardRef((qe,Be)=>{const[Ee,Re]=r.useState(Lt),[He,ze]=se(Ee),Ye=(0,l.w6)(),ht=Ye.getRootPrefixCls(),xt=Ye.getIconPrefixCls(),nr=Ye.getTheme(),er=()=>{Re(Lt)};return r.useEffect(er,[]),r.useImperativeHandle(Be,()=>{const Le=Object.assign({},He);return Object.keys(Le).forEach(Qe=>{Le[Qe]=function(){return er(),He[Qe].apply(He,arguments)}}),{instance:Le,sync:er}}),r.createElement(l.ZP,{prefixCls:ht,iconPrefixCls:xt,theme:nr},ze)});function kt(){if(!Ie){const qe=document.createDocumentFragment(),Be={fragment:qe};Ie=Be,De(()=>{(0,i.s)(r.createElement(bt,{ref:Ee=>{const{instance:Re,sync:He}=Ee||{};Promise.resolve().then(()=>{!Be.instance&&Re&&(Be.instance=Re,Be.sync=He,kt())})}}),qe)});return}Ie.instance&&(Ze.forEach(qe=>{switch(qe.type){case"open":{De(()=>{Ie.instance.open(Object.assign(Object.assign({},Ne),qe.config))});break}case"destroy":De(()=>{Ie==null||Ie.instance.destroy(qe.key)});break}}),Ze=[])}function jt(qe){Ne=Object.assign(Object.assign({},Ne),qe),De(()=>{var Be;(Be=Ie==null?void 0:Ie.sync)===null||Be===void 0||Be.call(Ie)})}function Wt(qe){Ze.push({type:"open",config:qe}),kt()}function zt(qe){Ze.push({type:"destroy",key:qe}),kt()}const We=["success","info","warning","error"],Ft={open:Wt,destroy:zt,config:jt,useNotification:_e,_InternalPanelDoNotUseOrYouWillBeFired:ue};We.forEach(qe=>{Ft[qe]=Be=>Wt(Object.assign(Object.assign({},Be),{type:qe}))});const tt=()=>{};let _t=null;var dt=Ft},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:D,isLastItem:M}=k,B=A==="vertical"?"-vertical-":"-";return i()(`${b}-compact${B}item`,{[`${b}-compact${B}first-item`]:D,[`${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:D,prefixCls:M,className:B,rootClassName:j,children:Y}=b,V=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),G=(0,o.Z)(ee=>R!=null?R:ee),ae=S("space-compact",M),[ie,ue]=(0,h.Z)(ae),q=i()(ae,ue,{[`${ae}-rtl`]:k==="rtl",[`${ae}-block`]:D,[`${ae}-vertical`]:A==="vertical"},B,j),J=c.useContext(a),K=(0,l.Z)(Y),oe=c.useMemo(()=>K.map((ee,Q)=>{const le=ee&&ee.key||`${ae}-item-${Q}`;return c.createElement(y,{key:le,compactSize:G,compactDirection:A,isFirstItem:Q===0&&(!J||(J==null?void 0:J.isFirstItem)),isLastItem:Q===K.length-1&&(!J||(J==null?void 0:J.isLastItem))},ee)}),[R,K,J]);return K.length===0?null:ie(c.createElement("div",Object.assign({className:q},V),oe))};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 Y}});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(93083),a=e(17313),x=e(83116),p=e(37613);const y=new u.Keyframes("antSpinMove",{to:{opacity:1}}),_=new u.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),b=V=>({[`${V.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(V)),{position:"absolute",display:"none",color:V.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${V.motionDurationSlow} ${V.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${V.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:V.contentHeight,[`${V.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-V.dotSize/2},[`${V.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(V.dotSize-V.fontSize)/2+2,textShadow:`0 1px 2px ${V.colorBgContainer}`,fontSize:V.fontSize},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSize/2)-10},"&-sm":{[`${V.componentCls}-dot`]:{margin:-V.dotSizeSM/2},[`${V.componentCls}-text`]:{paddingTop:(V.dotSizeSM-V.fontSize)/2+2},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSizeSM/2)-10}},"&-lg":{[`${V.componentCls}-dot`]:{margin:-(V.dotSizeLG/2)},[`${V.componentCls}-text`]:{paddingTop:(V.dotSizeLG-V.fontSize)/2+2},[`&${V.componentCls}-show-text ${V.componentCls}-dot`]:{marginTop:-(V.dotSizeLG/2)-10}}},[`${V.componentCls}-container`]:{position:"relative",transition:`opacity ${V.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:V.colorBgContainer,opacity:0,transition:`all ${V.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${V.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:V.spinDotDefault},[`${V.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:V.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(V.dotSize-V.marginXXS/2)/2,height:(V.dotSize-V.marginXXS/2)/2,backgroundColor:V.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:_,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${V.componentCls}-dot`]:{fontSize:V.dotSizeSM,i:{width:(V.dotSizeSM-V.marginXXS/2)/2,height:(V.dotSizeSM-V.marginXXS/2)/2}},[`&-lg ${V.componentCls}-dot`]:{fontSize:V.dotSizeLG,i:{width:(V.dotSizeLG-V.marginXXS)/2,height:(V.dotSizeLG-V.marginXXS)/2}},[`&${V.componentCls}-show-text ${V.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",V=>{const G=(0,p.TS)(V,{spinDotDefault:V.colorTextDescription});return[b(G)]},V=>({contentHeight:400,dotSize:V.controlHeightLG/2,dotSizeSM:V.controlHeightLG*.35,dotSizeLG:V.controlHeight})),k=function(V,G){var ae={};for(var ie in V)Object.prototype.hasOwnProperty.call(V,ie)&&G.indexOf(ie)<0&&(ae[ie]=V[ie]);if(V!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ie=Object.getOwnPropertySymbols(V);ue<ie.length;ue++)G.indexOf(ie[ue])<0&&Object.prototype.propertyIsEnumerable.call(V,ie[ue])&&(ae[ie[ue]]=V[ie[ue]]);return ae};const R=null;let A=null;function D(V,G){const{indicator:ae}=G,ie=`${V}-dot`;return ae===null?null:(0,o.l$)(ae)?(0,o.Tm)(ae,{className:i()(ae.props.className,ie)}):(0,o.l$)(A)?(0,o.Tm)(A,{className:i()(A.props.className,ie)}):c.createElement("span",{className:i()(ie,`${V}-dot-spin`)},c.createElement("i",{className:`${V}-dot-item`,key:1}),c.createElement("i",{className:`${V}-dot-item`,key:2}),c.createElement("i",{className:`${V}-dot-item`,key:3}),c.createElement("i",{className:`${V}-dot-item`,key:4}))}function M(V,G){return!!V&&!!G&&!isNaN(Number(G))}const B=V=>{const{spinPrefixCls:G,spinning:ae=!0,delay:ie=0,className:ue,rootClassName:q,size:J="default",tip:K,wrapperClassName:oe,style:ee,children:Q,hashId:le}=V,Z=k(V,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[$,se]=c.useState(()=>ae&&!M(ae,ie));c.useEffect(()=>{if(ae){const jt=(0,f.D)(ie,()=>{se(!0)});return jt(),()=>{var Wt;(Wt=jt==null?void 0:jt.cancel)===null||Wt===void 0||Wt.call(jt)}}se(!1)},[ie,ae]);const _e=c.useMemo(()=>typeof Q!="undefined",[Q]),{direction:Ie,spin:De}=c.useContext(h.E_),Ze=i()(G,De==null?void 0:De.className,{[`${G}-sm`]:J==="small",[`${G}-lg`]:J==="large",[`${G}-spinning`]:$,[`${G}-show-text`]:!!K,[`${G}-rtl`]:Ie==="rtl"},ue,q,le),Ne=i()(`${G}-container`,{[`${G}-blur`]:$}),Lt=(0,l.Z)(Z,["indicator","prefixCls"]),bt=Object.assign(Object.assign({},De==null?void 0:De.style),ee),kt=c.createElement("div",Object.assign({},Lt,{style:bt,className:Ze,"aria-live":"polite","aria-busy":$}),D(G,V),K&&_e?c.createElement("div",{className:`${G}-text`},K):null);return _e?c.createElement("div",Object.assign({},Lt,{className:i()(`${G}-nested-loading`,oe,le)}),$&&c.createElement("div",{key:"loading"},kt),c.createElement("div",{className:Ne,key:"container"},Q)):kt},j=V=>{const{prefixCls:G}=V,{getPrefixCls:ae}=c.useContext(h.E_),ie=ae("spin",G),[ue,q]=S(ie),J=Object.assign(Object.assign({},V),{spinPrefixCls:ie,hashId:q});return ue(c.createElement(B,Object.assign({},J)))};j.setDefaultIndicator=V=>{A=V};var Y=j},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(93083),i=e(95406);const l=new r.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),c=new r.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),f=function(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(93083),i=e(95406);const l=new r.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),c=new r.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),f=new r.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),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:D}=R,M=`${D}-${A}`,{inKeyframes:B,outKeyframes:j}=S[A];return[(0,i.R)(M,B,j,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:D}=l({contentRadius:b,limitVerticalRadius:S});return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,r.r)(a,x,p,_,y)),{"&:before":{background:_}})]},c(!!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:D}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),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:D}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:D}}})),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,D=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} ${D} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:M,height:M,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${l}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:o,zIndex:0,background:"transparent"}}}},45246:function(d,v,e){"use strict";e.d(v,{Mj:function(){return Y},u_:function(){return j},uH:function(){return B}});var r=e(93083),i=e(59301),l=e(30071),f=V=>{const{controlHeight:G}=V;return{controlHeightSM:G*.75,controlHeightXS:G*.5,controlHeightLG:G*1.25}};function o(V){const{sizeUnit:G,sizeStep:ae}=V;return{sizeXXL:G*(ae+8),sizeXL:G*(ae+4),sizeLG:G*(ae+2),sizeMD:G*(ae+1),sizeMS:G*ae,size:G*ae,sizeSM:G*(ae-1),sizeXS:G*(ae-2),sizeXXS:G*(ae-3)}}var h=e(34117),u=e(64993);function a(V,G){let{generateColorPalettes:ae,generateNeutralColorPalettes:ie}=G;const{colorSuccess:ue,colorWarning:q,colorError:J,colorInfo:K,colorPrimary:oe,colorBgBase:ee,colorTextBase:Q}=V,le=ae(oe),Z=ae(ue),$=ae(q),se=ae(J),_e=ae(K),Ie=ie(ee,Q),De=V.colorLink||V.colorInfo,Ze=ae(De);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:se[1],colorErrorBgHover:se[2],colorErrorBorder:se[3],colorErrorBorderHover:se[4],colorErrorHover:se[5],colorError:se[6],colorErrorActive:se[7],colorErrorTextHover:se[8],colorErrorText:se[9],colorErrorTextActive:se[10],colorWarningBg:$[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:Ze[4],colorLink:Ze[6],colorLinkActive:Ze[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=V=>{let G=V,ae=V,ie=V,ue=V;return V<6&&V>=5?G=V+1:V<16&&V>=6?G=V+2:V>=16&&(G=16),V<7&&V>=5?ae=4:V<8&&V>=7?ae=5:V<14&&V>=8?ae=6:V<16&&V>=14?ae=7:V>=16&&(ae=8),V<6&&V>=2?ie=1:V>=6&&(ie=2),V>4&&V<8?ue=4:V>=8&&(ue=6),{borderRadius:V>16?16:V,borderRadiusXS:ie,borderRadiusSM:ae,borderRadiusLG:G,borderRadiusOuter:ue}};function y(V){const{motionUnit:G,motionBase:ae,borderRadius:ie,lineWidth:ue}=V;return Object.assign({motionDurationFast:`${(ae+G).toFixed(1)}s`,motionDurationMid:`${(ae+G*2).toFixed(1)}s`,motionDurationSlow:`${(ae+G*3).toFixed(1)}s`,lineWidthBold:ue+1},p(ie))}const _=(V,G)=>new u.C(V).setAlpha(G).toRgbString(),b=(V,G)=>new u.C(V).darken(G).toHexString(),S=V=>{const G=(0,l.generate)(V);return{1:G[0],2:G[1],3:G[2],4:G[3],5:G[4],6:G[5],7:G[6],8:G[4],9:G[5],10:G[6]}},k=(V,G)=>{const ae=V||"#fff",ie=G||"#000";return{colorBgBase:ae,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(ae,4),colorBgContainer:b(ae,0),colorBgElevated:b(ae,0),colorBgSpotlight:_(ie,.85),colorBorder:b(ae,15),colorBorderSecondary:b(ae,6)}};function R(V){const G=new Array(10).fill(null).map((ae,ie)=>{const ue=ie-1,q=V*Math.pow(2.71828,ue/5),J=ie>1?Math.floor(q):Math.ceil(q);return Math.floor(J/2)*2});return G[1]=V,G.map(ae=>{const ie=ae+8;return{size:ae,lineHeight:ie/ae}})}var D=V=>{const G=R(V),ae=G.map(ue=>ue.size),ie=G.map(ue=>ue.lineHeight);return{fontSizeSM:ae[0],fontSize:ae[1],fontSizeLG:ae[2],fontSizeXL:ae[3],fontSizeHeading1:ae[6],fontSizeHeading2:ae[5],fontSizeHeading3:ae[4],fontSizeHeading4:ae[3],fontSizeHeading5:ae[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(V){const G=Object.keys(h.M).map(ae=>{const ie=(0,l.generate)(V[ae]);return new Array(10).fill(1).reduce((ue,q,J)=>(ue[`${ae}-${J+1}`]=ie[J],ue[`${ae}${J+1}`]=ie[J],ue),{})}).reduce((ae,ie)=>(ae=Object.assign(Object.assign({},ae),ie),ae),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},V),G),a(V,{generateColorPalettes:S,generateNeutralColorPalettes:k})),D(V.fontSize)),o(V)),f(V)),y(V))}const B=(0,r.createTheme)(M),j={token:h.Z,hashed:!0},Y=i.createContext(j)},33166:function(d,v,e){"use strict";e.d(v,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,v,e){"use strict";e.d(v,{M:function(){return r}});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},i=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
|
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});v.Z=i},88088:function(d,v,e){"use strict";e.d(v,{Z:function(){return S}});var r=e(93083),i=e(59301),l="5.9.0",c=l,f=e(45246),o=e(34117),h=e(64993);function u(k){return k>=0&&k<=255}function a(k,R){const{r:A,g:D,b:M,a:B}=new h.C(k).toRgb();if(B<1)return k;const{r:j,g:Y,b:V}=new h.C(R).toRgb();for(let G=.01;G<=1;G+=.01){const ae=Math.round((A-j*(1-G))/G),ie=Math.round((D-Y*(1-G))/G),ue=Math.round((M-V*(1-G))/G);if(u(ae)&&u(ie)&&u(ue))return new h.C({r:ae,g:ie,b:ue,a:Math.round(G*100)/100}).toRgbString()}return new h.C({r:A,g:D,b:M,a:1}).toRgbString()}var x=a,p=function(k,R){var A={};for(var D in k)Object.prototype.hasOwnProperty.call(k,D)&&R.indexOf(D)<0&&(A[D]=k[D]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(k);M<D.length;M++)R.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(k,D[M])&&(A[D[M]]=k[D[M]]);return A};function y(k){const{override:R}=k,A=p(k,["override"]),D=Object.assign({},R);Object.keys(o.Z).forEach(ue=>{delete D[ue]});const M=Object.assign(Object.assign({},A),D),B=480,j=576,Y=768,V=992,G=1200,ae=1600;if(M.motion===!1){const ue="0s";M.motionDurationFast=ue,M.motionDurationMid=ue,M.motionDurationSlow=ue}return Object.assign(Object.assign(Object.assign({},M),{colorFillContent:M.colorFillSecondary,colorFillContentHover:M.colorFill,colorFillAlter:M.colorFillQuaternary,colorBgContainerDisabled:M.colorFillTertiary,colorBorderBg:M.colorBgContainer,colorSplit:x(M.colorBorderSecondary,M.colorBgContainer),colorTextPlaceholder:M.colorTextQuaternary,colorTextDisabled:M.colorTextQuaternary,colorTextHeading:M.colorText,colorTextLabel:M.colorTextSecondary,colorTextDescription:M.colorTextTertiary,colorTextLightSolid:M.colorWhite,colorHighlight:M.colorError,colorBgTextHover:M.colorFillSecondary,colorBgTextActive:M.colorFill,colorIcon:M.colorTextTertiary,colorIconHover:M.colorText,colorErrorOutline:x(M.colorErrorBg,M.colorBgContainer),colorWarningOutline:x(M.colorWarningBg,M.colorBgContainer),fontSizeIcon:M.fontSizeSM,lineWidthFocus:M.lineWidth*4,lineWidth:M.lineWidth,controlOutlineWidth:M.lineWidth*2,controlInteractiveSize:M.controlHeight/2,controlItemBgHover:M.colorFillTertiary,controlItemBgActive:M.colorPrimaryBg,controlItemBgActiveHover:M.colorPrimaryBgHover,controlItemBgActiveDisabled:M.colorFill,controlTmpOutline:M.colorFillQuaternary,controlOutline:x(M.colorPrimaryBg,M.colorBgContainer),lineType:M.lineType,borderRadius:M.borderRadius,borderRadiusXS:M.borderRadiusXS,borderRadiusSM:M.borderRadiusSM,borderRadiusLG:M.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:M.sizeXXS,paddingXS:M.sizeXS,paddingSM:M.sizeSM,padding:M.size,paddingMD:M.sizeMD,paddingLG:M.sizeLG,paddingXL:M.sizeXL,paddingContentHorizontalLG:M.sizeLG,paddingContentVerticalLG:M.sizeMS,paddingContentHorizontal:M.sizeMS,paddingContentVertical:M.sizeSM,paddingContentHorizontalSM:M.size,paddingContentVerticalSM:M.sizeXS,marginXXS:M.sizeXXS,marginXS:M.sizeXS,marginSM:M.sizeSM,margin:M.size,marginMD:M.sizeMD,marginLG:M.sizeLG,marginXL:M.sizeXL,marginXXL:M.sizeXXL,boxShadow:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowSecondary:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowTertiary:`
|
|
|
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
|
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
|
`,screenXS:B,screenXSMin:B,screenXSMax:j-1,screenSM:j,screenSMMin:j,screenSMMax:Y-1,screenMD:Y,screenMDMin:Y,screenMDMax:V-1,screenLG:V,screenLGMin:V,screenLGMax:G-1,screenXL:G,screenXLMin:G,screenXLMax:ae-1,screenXXL:ae,screenXXLMin:ae,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
|
0 1px 2px -2px ${new h.C("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
|
0 3px 6px 0 ${new h.C("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
|
0 5px 12px 4px ${new h.C("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
|
`,boxShadowDrawerRight:`
|
|
|
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerLeft:`
|
|
|
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerUp:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowDrawerDown:`
|
|
|
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),D)}var _=function(k,R){var A={};for(var D in k)Object.prototype.hasOwnProperty.call(k,D)&&R.indexOf(D)<0&&(A[D]=k[D]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,D=Object.getOwnPropertySymbols(k);M<D.length;M++)R.indexOf(D[M])<0&&Object.prototype.propertyIsEnumerable.call(k,D[M])&&(A[D[M]]=k[D[M]]);return A};const b=(k,R,A)=>{const D=A.getDerivativeToken(k),{override:M}=R,B=_(R,["override"]);let j=Object.assign(Object.assign({},D),{override:M});return j=y(j),B&&Object.entries(B).forEach(Y=>{let[V,G]=Y;const{theme:ae}=G,ie=_(G,["theme"]);let ue=ie;ae&&(ue=b(Object.assign(Object.assign({},j),ie),{override:ie},ae)),j[V]=ue}),j};function S(){const{token:k,hashed:R,theme:A,components:D}=i.useContext(f.Mj),M=`${c}-${R||""}`,B=A||f.uH,[j,Y]=(0,r.useCacheToken)(B,[o.Z,k],{salt:M,override:Object.assign({override:k},D),getComputedToken:b,formatToken:y});return[B,j,R?Y:""]}},83116:function(d,v,e){"use strict";e.d(v,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(93083),l=e(70425),c=e(36355),f=e(17313),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[D,M,B]=(0,o.Z)(),{getPrefixCls:j,iconPrefixCls:Y,csp:V}=(0,r.useContext)(c.E_),G=j(),ae={theme:D,token:M,hashId:B,nonce:()=>V==null?void 0:V.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{clientOnly:!1,path:["Shared",G]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(Y),[(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{path:[R,A,Y]}),()=>{const{token:ie,flush:ue}=(0,h.ZP)(M),q=Object.assign({},M[k]);if(b.deprecatedTokens){const{deprecatedTokens:le}=b;le.forEach(Z=>{let[$,se]=Z;var _e;(q!=null&&q[$]||q!=null&&q[se])&&((_e=q[se])!==null&&_e!==void 0||(q[se]=q==null?void 0:q[$]))})}const J=typeof _=="function"?_((0,h.TS)(ie,q!=null?q:{})):_,K=Object.assign(Object.assign({},J),q),oe=`.${A}`,ee=(0,h.TS)(ie,{componentCls:oe,prefixCls:A,iconCls:`.${Y}`,antCls:`.${G}`},K),Q=y(ee,{hashId:B,prefixCls:A,rootPrefixCls:G,iconPrefixCls:Y,overrideComponentToken:q});return ue(k,K),[b.resetStyle===!1?null:(0,f.du)(M,A),Q]}),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(93083),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 ue}});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=q=>{const{componentCls:J,tooltipMaxWidth:K,tooltipColor:oe,tooltipBg:ee,tooltipBorderRadius:Q,zIndexPopup:le,controlHeight:Z,boxShadowSecondary:$,paddingSM:se,paddingXS:_e,tooltipRadiusOuter:Ie}=q;return[{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(q)),{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,[`${J}-inner`]:{minWidth:Z,minHeight:Z,padding:`${se/2}px ${_e}px`,color:oe,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:ee,borderRadius:Q,boxShadow:$,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${J}-inner`]:{borderRadius:Math.min(Q,b.qN)}},[`${J}-content`]:{position:"relative"}}),(0,S.Z)(q,(De,Ze)=>{let{darkColor:Ne}=Ze;return{[`&${J}-${De}`]:{[`${J}-inner`]:{backgroundColor:Ne},[`${J}-arrow`]:{"--antd-arrow-background-color":Ne}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,k.TS)(q,{borderRadiusOuter:Ie}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:Q,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:q.sizePopupArrow}}]};var D=(q,J)=>(0,R.Z)("Tooltip",oe=>{if(J===!1)return[];const{borderRadius:ee,colorTextLightSolid:Q,colorBgDefault:le,borderRadiusOuter:Z}=oe,$=(0,k.TS)(oe,{tooltipMaxWidth:250,tooltipColor:Q,tooltipBorderRadius:ee,tooltipBg:le,tooltipRadiusOuter:Z>4?4:Z});return[A($),(0,_._y)(oe,"zoom-big-fast")]},oe=>{let{zIndexPopupBase:ee,colorBgSpotlight:Q}=oe;return{zIndexPopup:ee+70,colorBgDefault:Q}},{resetStyle:!1})(q),M=e(36785);function B(q,J){const K=(0,M.o2)(J),oe=l()({[`${q}-${J}`]:J&&K}),ee={},Q={};return J&&!K&&(ee.background=J,Q["--antd-arrow-background-color"]=J),{className:oe,overlayStyle:ee,arrowStyle:Q}}var Y=q=>{const{prefixCls:J,className:K,placement:oe="top",title:ee,color:Q,overlayInnerStyle:le}=q,{getPrefixCls:Z}=r.useContext(a.E_),$=Z("tooltip",J),[se,_e]=D($,!0),Ie=B($,Q),De=Ie.arrowStyle,Ze=Object.assign(Object.assign({},le),Ie.overlayStyle),Ne=l()(_e,$,`${$}-pure`,`${$}-placement-${oe}`,K,Ie.className);return se(r.createElement("div",{className:Ne,style:De},r.createElement("div",{className:`${$}-arrow`}),r.createElement(c.G,Object.assign({},q,{className:_e,prefixCls:$,overlayInnerStyle:Ze}),ee)))},V=function(q,J){var K={};for(var oe in q)Object.prototype.hasOwnProperty.call(q,oe)&&J.indexOf(oe)<0&&(K[oe]=q[oe]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,oe=Object.getOwnPropertySymbols(q);ee<oe.length;ee++)J.indexOf(oe[ee])<0&&Object.prototype.propertyIsEnumerable.call(q,oe[ee])&&(K[oe[ee]]=q[oe[ee]]);return K};const G=(q,J)=>{const K={},oe=Object.assign({},q);return J.forEach(ee=>{q&&ee in q&&(K[ee]=q[ee],delete oe[ee])}),{picked:K,omitted:oe}};function ae(q,J){const K=q.type;if((K.__ANT_BUTTON===!0||q.type==="button")&&q.props.disabled||K.__ANT_SWITCH===!0&&(q.props.disabled||q.props.loading)||K.__ANT_RADIO===!0&&q.props.disabled){const{picked:oe,omitted:ee}=G(q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),Q=Object.assign(Object.assign({display:"inline-block"},oe),{cursor:"not-allowed",width:q.props.block?"100%":void 0}),le=Object.assign(Object.assign({},ee),{pointerEvents:"none"}),Z=(0,u.Tm)(q,{style:le,className:null});return r.createElement("span",{style:Q,className:l()(q.props.className,`${J}-disabled-compatible-wrapper`)},Z)}return q}const ie=r.forwardRef((q,J)=>{var K,oe;const{prefixCls:ee,openClassName:Q,getTooltipContainer:le,overlayClassName:Z,color:$,overlayInnerStyle:se,children:_e,afterOpenChange:Ie,afterVisibleChange:De,destroyTooltipOnHide:Ze,arrow:Ne=!0,title:Lt,overlay:bt,builtinPlacements:kt,arrowPointAtCenter:jt=!1,autoAdjustOverflow:Wt=!0}=q,zt=!!Ne,[,We]=(0,p.Z)(),{getPopupContainer:St,getPrefixCls:Ft,direction:tt}=r.useContext(a.E_),_t=r.useRef(null),dt=()=>{var Te;(Te=_t.current)===null||Te===void 0||Te.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:dt,forcePopupAlign:()=>{dt()}}));const[qe,Be]=(0,f.Z)(!1,{value:(K=q.open)!==null&&K!==void 0?K:q.visible,defaultValue:(oe=q.defaultOpen)!==null&&oe!==void 0?oe:q.defaultVisible}),Ee=!Lt&&!bt&&Lt!==0,Re=Te=>{var Et,ye;Be(Ee?!1:Te),Ee||((Et=q.onOpenChange)===null||Et===void 0||Et.call(q,Te),(ye=q.onVisibleChange)===null||ye===void 0||ye.call(q,Te))},He=r.useMemo(()=>{var Te,Et;let ye=jt;return typeof Ne=="object"&&(ye=(Et=(Te=Ne.pointAtCenter)!==null&&Te!==void 0?Te:Ne.arrowPointAtCenter)!==null&&Et!==void 0?Et:jt),kt||(0,h.Z)({arrowPointAtCenter:ye,autoAdjustOverflow:Wt,arrowWidth:zt?We.sizePopupArrow:0,borderRadius:We.borderRadius,offset:We.marginXXS,visibleFirst:!0})},[jt,Ne,kt,We]),ze=r.useMemo(()=>Lt===0?Lt:bt||Lt||"",[bt,Lt]),Ye=r.createElement(x.BR,null,typeof ze=="function"?ze():ze),{getPopupContainer:ht,placement:xt="top",mouseEnterDelay:nr=.1,mouseLeaveDelay:er=.1,overlayStyle:Le,rootClassName:Qe}=q,Qt=V(q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Rt=Ft("tooltip",ee),Vt=Ft(),Gt=q["data-popover-inject"];let Tt=qe;!("open"in q)&&!("visible"in q)&&Ee&&(Tt=!1);const qt=ae((0,u.l$)(_e)&&!(0,u.M2)(_e)?_e:r.createElement("span",null,_e),Rt),Ue=qt.props,fe=!Ue.className||typeof Ue.className=="string"?l()(Ue.className,Q||`${Rt}-open`):Ue.className,[pe,Ot]=D(Rt,!Gt),Ce=B(Rt,$),ct=Ce.arrowStyle,Kt=Object.assign(Object.assign({},se),Ce.overlayStyle),At=l()(Z,{[`${Rt}-rtl`]:tt==="rtl"},Ce.className,Qe,Ot);return pe(r.createElement(c.Z,Object.assign({},Qt,{showArrow:zt,placement:xt,mouseEnterDelay:nr,mouseLeaveDelay:er,prefixCls:Rt,overlayClassName:At,overlayStyle:Object.assign(Object.assign({},ct),Le),getTooltipContainer:ht||le||St,ref:_t,builtinPlacements:He,overlay:Ye,visible:Tt,onVisibleChange:Re,afterVisibleChange:Ie!=null?Ie:De,overlayInnerStyle:Kt,arrowContent:r.createElement("span",{className:`${Rt}-arrow-content`}),motion:{motionName:(0,o.m)(Vt,"zoom-big-fast",q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ze}),Tt?(0,u.Tm)(qt,{className:fe}):qt))});ie._InternalPanelDoNotUseOrYouWillBeFired=Y;var ue=ie},11575:function(d,v,e){"use strict";e.d(v,{H:function(){return f}});var r=e(70425),i=e(59301);function l(){}const c=i.createContext({add:l,remove:l});function f(h){const u=i.useContext(c),a=i.useRef();return(0,r.useEvent)(p=>{if(p){const y=h?p.querySelector(h):p;u.add(y),a.current=y}else u.remove(a.current)})}var 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"],D=[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",j="kwd",Y="com",V="typ",G="lit",ae="pun",ie="pln",ue="tag",q="dec",J="src",K="atn",oe="atv",ee="nocode",Q="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function le(tt){for(var _t=0,dt=!1,qe=!1,Be=0,Ee=tt.length;Be<Ee;++Be){var Re=tt[Be];if(Re.ignoreCase)qe=!0;else if(/[a-z]/i.test(Re.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){dt=!0,qe=!1;break}}var He={b:8,t:9,n:10,v:11,f:12,r:13};function ze(er){var Le=er.charCodeAt(0);if(Le!==92)return Le;var Qe=er.charAt(1);return Le=He[Qe],Le||("0"<=Qe&&Qe<="7"?parseInt(er.substring(1),8):Qe==="u"||Qe==="x"?parseInt(er.substring(2),16):er.charCodeAt(1))}function Ye(er){if(er<32)return(er<16?"\\x0":"\\x")+er.toString(16);var Le=String.fromCharCode(er);return Le==="\\"||Le==="-"||Le==="]"||Le==="^"?"\\"+Le:Le}function ht(er){var Le=er.substring(1,er.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),Qe=[],Qt=Le[0]==="^",Rt=["["];Qt&&Rt.push("^");for(var Vt=Qt?1:0,Gt=Le.length;Vt<Gt;++Vt){var Tt=Le[Vt];if(/\\[bdsw]/i.test(Tt))Rt.push(Tt);else{var qt=ze(Tt),Ue;Vt+2<Gt&&Le[Vt+1]==="-"?(Ue=ze(Le[Vt+2]),Vt+=2):Ue=qt,Qe.push([qt,Ue]),Ue<65||qt>122||(Ue<65||qt>90||Qe.push([Math.max(65,qt)|32,Math.min(Ue,90)|32]),Ue<97||qt>122||Qe.push([Math.max(97,qt)&-33,Math.min(Ue,122)&-33]))}}Qe.sort(function(Ce,ct){return Ce[0]-ct[0]||ct[1]-Ce[1]});for(var fe=[],pe=[],Vt=0;Vt<Qe.length;++Vt){var Ot=Qe[Vt];Ot[0]<=pe[1]+1?pe[1]=Math.max(pe[1],Ot[1]):fe.push(pe=Ot)}for(var Vt=0;Vt<fe.length;++Vt){var Ot=fe[Vt];Rt.push(Ye(Ot[0])),Ot[1]>Ot[0]&&(Ot[1]+1>Ot[0]&&Rt.push("-"),Rt.push(Ye(Ot[1])))}return Rt.push("]"),Rt.join("")}function xt(er){for(var Le=er.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),Qe=Le.length,Qt=[],Rt=0,Vt=0;Rt<Qe;++Rt){var Gt=Le[Rt];if(Gt==="(")++Vt;else if(Gt.charAt(0)==="\\"){var Tt=+Gt.substring(1);Tt&&(Tt<=Vt?Qt[Tt]=-1:Le[Rt]=Ye(Tt))}}for(var Rt=1;Rt<Qt.length;++Rt)Qt[Rt]===-1&&(Qt[Rt]=++_t);for(var Rt=0,Vt=0;Rt<Qe;++Rt){var Gt=Le[Rt];if(Gt==="(")++Vt,Qt[Vt]||(Le[Rt]="(?:");else if(Gt.charAt(0)==="\\"){var Tt=+Gt.substring(1);Tt&&Tt<=Vt&&(Le[Rt]="\\"+Qt[Tt])}}for(var Rt=0;Rt<Qe;++Rt)Le[Rt]==="^"&&Le[Rt+1]!=="^"&&(Le[Rt]="");if(er.ignoreCase&&dt)for(var Rt=0;Rt<Qe;++Rt){var Gt=Le[Rt],qt=Gt.charAt(0);Gt.length>=2&&qt==="["?Le[Rt]=ht(Gt):qt!=="\\"&&(Le[Rt]=Gt.replace(/[a-zA-Z]/g,function(pe){var Ot=pe.charCodeAt(0);return"["+String.fromCharCode(Ot&-33,Ot|32)+"]"}))}return Le.join("")}for(var nr=[],Be=0,Ee=tt.length;Be<Ee;++Be){var Re=tt[Be];if(Re.global||Re.multiline)throw new Error(""+Re);nr.push("(?:"+xt(Re)+")")}return new RegExp(nr.join("|"),qe?"gi":"g")}function Z(tt,_t){var dt=/(?:^|\s)nocode(?:\s|$)/,qe=[],Be=0,Ee=[],Re=0;function He(ze){var Ye=ze.nodeType;if(Ye==1){if(dt.test(ze.className))return;for(var ht=ze.firstChild;ht;ht=ht.nextSibling)He(ht);var xt=ze.nodeName.toLowerCase();(xt==="br"||xt==="li")&&(qe[Re]=`
|
|
|
`,Ee[Re<<1]=Be++,Ee[Re++<<1|1]=ze)}else if(Ye==3||Ye==4){var nr=ze.nodeValue;nr.length&&(_t?nr=nr.replace(/\r\n?/g,`
|
|
|
`):nr=nr.replace(/[ \t\r\n]+/g," "),qe[Re]=nr,Ee[Re<<1]=Be,Be+=nr.length,Ee[Re++<<1|1]=ze)}}return He(tt),{sourceCode:qe.join("").replace(/\n$/,""),spans:Ee}}function $(tt,_t,dt,qe,Be){if(dt){var Ee={sourceNode:tt,pre:1,langExtension:null,numberLines:null,sourceCode:dt,spans:null,basePos:_t,decorations:null};qe(Ee),Be.push.apply(Be,Ee.decorations)}}var se=/\S/;function _e(tt){for(var _t=void 0,dt=tt.firstChild;dt;dt=dt.nextSibling){var qe=dt.nodeType;_t=qe===1?_t?tt:dt:qe===3&&se.test(dt.nodeValue)?tt:_t}return _t===tt?void 0:_t}function Ie(tt,_t){var dt={},qe;(function(){for(var Re=tt.concat(_t),He=[],ze={},Ye=0,ht=Re.length;Ye<ht;++Ye){var xt=Re[Ye],nr=xt[3];if(nr)for(var er=nr.length;--er>=0;)dt[nr.charAt(er)]=xt;var Le=xt[1],Qe=""+Le;ze.hasOwnProperty(Qe)||(He.push(Le),ze[Qe]=null)}He.push(/[\0-\uffff]/),qe=le(He)})();var Be=_t.length,Ee=function(Re){for(var He=Re.sourceCode,ze=Re.basePos,Ye=Re.sourceNode,ht=[ze,ie],xt=0,nr=He.match(qe)||[],er={},Le=0,Qe=nr.length;Le<Qe;++Le){var Qt=nr[Le],Rt=er[Qt],Vt=void 0,Gt;if(typeof Rt=="string")Gt=!1;else{var Tt=dt[Qt.charAt(0)];if(Tt)Vt=Qt.match(Tt[1]),Rt=Tt[0];else{for(var qt=0;qt<Be;++qt)if(Tt=_t[qt],Vt=Qt.match(Tt[1]),Vt){Rt=Tt[0];break}Vt||(Rt=ie)}Gt=Rt.length>=5&&Rt.substring(0,5)==="lang-",Gt&&!(Vt&&typeof Vt[1]=="string")&&(Gt=!1,Rt=J),Gt||(er[Qt]=Rt)}var Ue=xt;if(xt+=Qt.length,!Gt)ht.push(ze+Ue,Rt);else{var fe=Vt[1],pe=Qt.indexOf(fe),Ot=pe+fe.length;Vt[2]&&(Ot=Qt.length-Vt[2].length,pe=Ot-fe.length);var Ce=Rt.substring(5);$(Ye,ze+Ue,Qt.substring(0,pe),Ee,ht),$(Ye,ze+Ue+pe,fe,jt(Ce,fe),ht),$(Ye,ze+Ue+Ot,Qt.substring(Ot),Ee,ht)}}Re.decorations=ht};return Ee}function De(tt){var _t=[],dt=[];tt.tripleQuotedStrings?_t.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):tt.multiLineStrings?_t.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):_t.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),tt.verbatimStrings&&dt.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var qe=tt.hashComments;qe&&(tt.cStyleComments?(qe>1?_t.push([Y,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):_t.push([Y,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),dt.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):_t.push([Y,/^#[^\r\n]*/,null,"#"])),tt.cStyleComments&&(dt.push([Y,/^\/\/[^\r\n]*/,null]),dt.push([Y,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Be=tt.regexLiterals;if(Be){var Ee=Be>1?"":`
|
|
|
\r`,Re=Ee?".":"[\\S\\s]",He="/(?=[^/*"+Ee+"])(?:[^/\\x5B\\x5C"+Ee+"]|\\x5C"+Re+"|\\x5B(?:[^\\x5C\\x5D"+Ee+"]|\\x5C"+Re+")*(?:\\x5D|$))+/";dt.push(["lang-regex",RegExp("^"+Q+"("+He+")")])}var ze=tt.types;ze&&dt.push([V,ze]);var Ye=(""+tt.keywords).replace(/^ | $/g,"");Ye.length&&dt.push([j,new RegExp("^(?:"+Ye.replace(/[\s,]+/g,"|")+")\\b"),null]),_t.push([ie,/^\s+/,null,` \r
|
|
|
\xA0`]);var ht="^.[^\\s\\w.$@'\"`/\\\\]*";return tt.regexLiterals&&(ht+="(?!s*/)"),dt.push([G,/^@[a-z_$][a-z_$@0-9]*/i,null],[V,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ie,/^[a-z_$][a-z_$@0-9]*/i,null],[G,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ie,/^\\[\s\S]?/,null],[ae,new RegExp(ht),null]),Ie(_t,dt)}var Ze=De({keywords:D,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Ne(tt,_t,dt){for(var qe=/(?:^|\s)nocode(?:\s|$)/,Be=/\r\n?|\n/,Ee=tt.ownerDocument,Re=Ee.createElement("li");tt.firstChild;)Re.appendChild(tt.firstChild);var He=[Re];function ze(Le){var Qe=Le.nodeType;if(Qe==1&&!qe.test(Le.className))if(Le.nodeName==="br")Ye(Le),Le.parentNode&&Le.parentNode.removeChild(Le);else for(var Qt=Le.firstChild;Qt;Qt=Qt.nextSibling)ze(Qt);else if((Qe==3||Qe==4)&&dt){var Rt=Le.nodeValue,Vt=Rt.match(Be);if(Vt){var Gt=Rt.substring(0,Vt.index);Le.nodeValue=Gt;var Tt=Rt.substring(Vt.index+Vt[0].length);if(Tt){var qt=Le.parentNode;qt.insertBefore(Ee.createTextNode(Tt),Le.nextSibling)}Ye(Le),Gt||Le.parentNode.removeChild(Le)}}}function Ye(Le){for(;!Le.nextSibling;)if(Le=Le.parentNode,!Le)return;function Qe(Vt,Gt){var Tt=Gt?Vt.cloneNode(!1):Vt,qt=Vt.parentNode;if(qt){var Ue=Qe(qt,1),fe=Vt.nextSibling;Ue.appendChild(Tt);for(var pe=fe;pe;pe=fe)fe=pe.nextSibling,Ue.appendChild(pe)}return Tt}for(var Qt=Qe(Le.nextSibling,0),Rt;(Rt=Qt.parentNode)&&Rt.nodeType===1;)Qt=Rt;He.push(Qt)}for(var ht=0;ht<He.length;++ht)ze(He[ht]);_t===(_t|0)&&He[0].setAttribute("value",_t);var xt=Ee.createElement("ol");xt.className="linenums";for(var nr=Math.max(0,_t-1|0)||0,ht=0,er=He.length;ht<er;++ht)Re=He[ht],Re.className="L"+(ht+nr)%10,Re.firstChild||Re.appendChild(Ee.createTextNode("\xA0")),xt.appendChild(Re);tt.appendChild(xt)}function Lt(tt){var _t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);_t=_t&&+_t[1]<=8;var dt=/\n/g,qe=tt.sourceCode,Be=qe.length,Ee=0,Re=tt.spans,He=Re.length,ze=0,Ye=tt.decorations,ht=Ye.length,xt=0;Ye[ht]=Be;var nr,er;for(er=nr=0;er<ht;)Ye[er]!==Ye[er+2]?(Ye[nr++]=Ye[er++],Ye[nr++]=Ye[er++]):er+=2;for(ht=nr,er=nr=0;er<ht;){for(var Le=Ye[er],Qe=Ye[er+1],Qt=er+2;Qt+2<=ht&&Ye[Qt+1]===Qe;)Qt+=2;Ye[nr++]=Le,Ye[nr++]=Qe,er=Qt}ht=Ye.length=nr;var Rt=tt.sourceNode,Vt="";Rt&&(Vt=Rt.style.display,Rt.style.display="none");try{for(var Gt=null;ze<He;){var Tt=Re[ze],qt=Re[ze+2]||Be,Ue=Ye[xt+2]||Be,Qt=Math.min(qt,Ue),fe=Re[ze+1],pe;if(fe.nodeType!==1&&(pe=qe.substring(Ee,Qt))){_t&&(pe=pe.replace(dt,"\r")),fe.nodeValue=pe;var Ot=fe.ownerDocument,Ce=Ot.createElement("span");Ce.className=Ye[xt+1];var ct=fe.parentNode;ct.replaceChild(Ce,fe),Ce.appendChild(fe),Ee<qt&&(Re[ze+1]=fe=Ot.createTextNode(qe.substring(Qt,qt)),ct.insertBefore(fe,Ce.nextSibling))}Ee=Qt,Ee>=qt&&(ze+=2),Ee>=Ue&&(xt+=2)}}finally{Rt&&(Rt.style.display=Vt)}}var bt={};function kt(tt,_t){for(var dt=_t.length;--dt>=0;){var qe=_t[dt];bt.hasOwnProperty(qe)?o.console&&console.warn("cannot override language handler %s",qe):bt[qe]=tt}}function jt(tt,_t){return tt&&bt.hasOwnProperty(tt)||(tt=/^\s*</.test(_t)?"default-markup":"default-code"),bt[tt]}kt(Ze,["default-code"]),kt(Ie([],[[ie,/^[^<?]+/],[q,/^<!\w[^>]*(?:>|$)/],[Y,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[ae,/^(?:<[%?]|[%?]>)/],["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"]),kt(Ie([[ie,/^[\s]+/,null,` \r
|
|
|
`],[oe,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[ue,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[K,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[ae,/^[=<>\/]+/],["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"]),kt(Ie([],[[oe,/^[\s\S]+/]]),["uq.val"]),kt(De({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),kt(De({keywords:"null,true,false"}),["json"]),kt(De({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),kt(De({keywords:p,cStyleComments:!0}),["java"]),kt(De({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),kt(De({keywords:k,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),kt(De({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),kt(De({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),kt(De({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),kt(De({keywords:_,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),kt(Ie([],[[B,/^[\s\S]+/]]),["regex"]);function Wt(tt){var _t=tt.langExtension;try{var dt=Z(tt.sourceNode,tt.pre),qe=dt.sourceCode;tt.sourceCode=qe,tt.spans=dt.spans,tt.basePos=0,jt(_t,qe)(tt),Lt(tt)}catch(Be){o.console&&console.log(Be&&Be.stack||Be)}}function zt(tt,_t,dt){var qe=dt||!1,Be=_t||null,Ee=document.createElement("div");Ee.innerHTML="<pre>"+tt+"</pre>",Ee=Ee.firstChild,qe&&Ne(Ee,qe,!0);var Re={langExtension:Be,numberLines:qe,sourceNode:Ee,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Wt(Re),Ee.innerHTML}function We(tt,_t){var dt=_t||document.body,qe=dt.ownerDocument||document;function Be(Tt){return dt.getElementsByTagName(Tt)}for(var Ee=[Be("pre"),Be("code"),Be("xmp")],Re=[],He=0;He<Ee.length;++He)for(var ze=0,Ye=Ee[He].length;ze<Ye;++ze)Re.push(Ee[He][ze]);Ee=null;var ht=Date;ht.now||(ht={now:function(){return+new Date}});var xt=0,nr=/\blang(?:uage)?-([\w.]+)(?!\S)/,er=/\bprettyprint\b/,Le=/\bprettyprinted\b/,Qe=/pre|xmp/i,Qt=/^code$/i,Rt=/^(?:pre|code|xmp)$/i,Vt={};function Gt(){for(var Tt=o.PR_SHOULD_USE_CONTINUATION?ht.now()+250:1/0;xt<Re.length&&ht.now()<Tt;xt++){for(var qt=Re[xt],Ue=Vt,fe=qt;fe=fe.previousSibling;){var pe=fe.nodeType,Ot=(pe===7||pe===8)&&fe.nodeValue;if(Ot?!/^\??prettify\b/.test(Ot):pe!==3||/\S/.test(fe.nodeValue))break;if(Ot){Ue={},Ot.replace(/\b(\w+)=([\w:.%+-]+)/g,function(Ct,Gr,Qr){Ue[Gr]=Qr});break}}var Ce=qt.className;if((Ue!==Vt||er.test(Ce))&&!Le.test(Ce)){for(var ct=!1,Kt=qt.parentNode;Kt;Kt=Kt.parentNode){var At=Kt.tagName;if(Rt.test(At)&&Kt.className&&er.test(Kt.className)){ct=!0;break}}if(!ct){qt.className+=" prettyprinted";var Te=Ue.lang;if(!Te){Te=Ce.match(nr);var Et;!Te&&(Et=_e(qt))&&Qt.test(Et.tagName)&&(Te=Et.className.match(nr)),Te&&(Te=Te[1])}var ye;if(Qe.test(qt.tagName))ye=1;else{var et=qt.currentStyle,yt=qe.defaultView,Nt=et?et.whiteSpace:yt&&yt.getComputedStyle?yt.getComputedStyle(qt,null).getPropertyValue("white-space"):0;ye=Nt&&Nt.substring(0,3)==="pre"}var Fe=Ue.linenums;(Fe=Fe==="true"||+Fe)||(Fe=Ce.match(/\blinenums\b(?::(\d+))?/),Fe=Fe?Fe[1]&&Fe[1].length?+Fe[1]:!0:!1),Fe&&Ne(qt,Fe,ye);var Ir={langExtension:Te,sourceNode:qt,numberLines:Fe,pre:ye,sourceCode:null,basePos:null,spans:null,decorations:null};Wt(Ir)}}}xt<Re.length?o.setTimeout(Gt,250):typeof tt=="function"&&tt()}Gt()}var St=o.PR={createSimpleLexer:Ie,registerLangHandler:kt,sourceDecorator:De,PR_ATTRIB_NAME:K,PR_ATTRIB_VALUE:oe,PR_COMMENT:Y,PR_DECLARATION:q,PR_KEYWORD:j,PR_LITERAL:G,PR_NOCODE:ee,PR_PLAIN:ie,PR_PUNCTUATION:ae,PR_SOURCE:J,PR_STRING:B,PR_TAG:ue,PR_TYPE:V,prettyPrintOne:r?o.prettyPrintOne=zt:c=zt,prettyPrint:f=r?o.prettyPrint=We:f=We},Ft=o.define;typeof Ft=="function"&&Ft.amd&&Ft("google-code-prettify",[],function(){return St})})()},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=[],D=0;D<256;D++)D<128?A[D]=D<<1:A[D]=D<<1^283;for(var M=0,B=0,D=0;D<256;D++){var j=B^B<<1^B<<2^B<<3^B<<4;j=j>>>8^j&255^99,o[M]=j,h[j]=M;var Y=A[M],V=A[Y],G=A[V],ae=A[j]*257^j*16843008;u[M]=ae<<24|ae>>>8,a[M]=ae<<16|ae>>>16,x[M]=ae<<8|ae>>>24,p[M]=ae;var ae=G*16843009^V*65537^Y*257^M*16843008;y[j]=ae<<24|ae>>>8,_[j]=ae<<16|ae>>>16,b[j]=ae<<8|ae>>>24,S[j]=ae,M?(M=Y^A[A[A[G^Y]]],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 D=this._keyPriorReset=this._key,M=D.words,B=D.sigBytes/4,j=this._nRounds=B+6,Y=(j+1)*4,V=this._keySchedule=[],G=0;G<Y;G++)G<B?V[G]=M[G]:(A=V[G-1],G%B?B>6&&G%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[G/B|0]<<24),V[G]=V[G-B]^A);for(var ae=this._invKeySchedule=[],ie=0;ie<Y;ie++){var G=Y-ie;if(ie%4)var A=V[G];else var A=V[G-4];ie<4||G<=4?ae[ie]=A:ae[ie]=y[o[A>>>24]]^_[o[A>>>16&255]]^b[o[A>>>8&255]]^S[o[A&255]]}}},encryptBlock:function(A,D){this._doCryptBlock(A,D,this._keySchedule,u,a,x,p,o)},decryptBlock:function(A,D){var M=A[D+1];A[D+1]=A[D+3],A[D+3]=M,this._doCryptBlock(A,D,this._invKeySchedule,y,_,b,S,h);var M=A[D+1];A[D+1]=A[D+3],A[D+3]=M},_doCryptBlock:function(A,D,M,B,j,Y,V,G){for(var ae=this._nRounds,ie=A[D]^M[0],ue=A[D+1]^M[1],q=A[D+2]^M[2],J=A[D+3]^M[3],K=4,oe=1;oe<ae;oe++){var ee=B[ie>>>24]^j[ue>>>16&255]^Y[q>>>8&255]^V[J&255]^M[K++],Q=B[ue>>>24]^j[q>>>16&255]^Y[J>>>8&255]^V[ie&255]^M[K++],le=B[q>>>24]^j[J>>>16&255]^Y[ie>>>8&255]^V[ue&255]^M[K++],Z=B[J>>>24]^j[ie>>>16&255]^Y[ue>>>8&255]^V[q&255]^M[K++];ie=ee,ue=Q,q=le,J=Z}var ee=(G[ie>>>24]<<24|G[ue>>>16&255]<<16|G[q>>>8&255]<<8|G[J&255])^M[K++],Q=(G[ue>>>24]<<24|G[q>>>16&255]<<16|G[J>>>8&255]<<8|G[ie&255])^M[K++],le=(G[q>>>24]<<24|G[J>>>16&255]<<16|G[ie>>>8&255]<<8|G[ue&255])^M[K++],Z=(G[J>>>24]<<24|G[ie>>>16&255]<<16|G[ue>>>8&255]<<8|G[q&255])^M[K++];A[D]=ee,A[D+1]=Q,A[D+2]=le,A[D+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(ue,q){return this.create(this._ENC_XFORM_MODE,ue,q)},createDecryptor:function(ue,q){return this.create(this._DEC_XFORM_MODE,ue,q)},init:function(ue,q,J){this.cfg=this.cfg.extend(J),this._xformMode=ue,this._key=q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(ue){return this._append(ue),this._process()},finalize:function(ue){ue&&this._append(ue);var q=this._doFinalize();return q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function ue(q){return typeof q=="string"?ie:V}return function(q){return{encrypt:function(J,K,oe){return ue(K).encrypt(q,J,K,oe)},decrypt:function(J,K,oe){return ue(K).decrypt(q,J,K,oe)}}}}()}),b=c.StreamCipher=_.extend({_doFinalize:function(){var ue=this._process(!0);return ue},blockSize:1}),S=l.mode={},k=c.BlockCipherMode=f.extend({createEncryptor:function(ue,q){return this.Encryptor.create(ue,q)},createDecryptor:function(ue,q){return this.Decryptor.create(ue,q)},init:function(ue,q){this._cipher=ue,this._iv=q}}),R=S.CBC=function(){var ue=k.extend();ue.Encryptor=ue.extend({processBlock:function(J,K){var oe=this._cipher,ee=oe.blockSize;q.call(this,J,K,ee),oe.encryptBlock(J,K),this._prevBlock=J.slice(K,K+ee)}}),ue.Decryptor=ue.extend({processBlock:function(J,K){var oe=this._cipher,ee=oe.blockSize,Q=J.slice(K,K+ee);oe.decryptBlock(J,K),q.call(this,J,K,ee),this._prevBlock=Q}});function q(J,K,oe){var ee,Q=this._iv;Q?(ee=Q,this._iv=i):ee=this._prevBlock;for(var le=0;le<oe;le++)J[K+le]^=ee[le]}return ue}(),A=l.pad={},D=A.Pkcs7={pad:function(ue,q){for(var J=q*4,K=J-ue.sigBytes%J,oe=K<<24|K<<16|K<<8|K,ee=[],Q=0;Q<K;Q+=4)ee.push(oe);var le=o.create(ee,K);ue.concat(le)},unpad:function(ue){var q=ue.words[ue.sigBytes-1>>>2]&255;ue.sigBytes-=q}},M=c.BlockCipher=_.extend({cfg:_.cfg.extend({mode:R,padding:D}),reset:function(){var ue;_.reset.call(this);var q=this.cfg,J=q.iv,K=q.mode;this._xformMode==this._ENC_XFORM_MODE?ue=K.createEncryptor:(ue=K.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==ue?this._mode.init(this,J&&J.words):(this._mode=ue.call(K,this,J&&J.words),this._mode.__creator=ue)},_doProcessBlock:function(ue,q){this._mode.processBlock(ue,q)},_doFinalize:function(){var ue,q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(q.pad(this._data,this.blockSize),ue=this._process(!0)):(ue=this._process(!0),q.unpad(ue)),ue},blockSize:128/32}),B=c.CipherParams=f.extend({init:function(ue){this.mixIn(ue)},toString:function(ue){return(ue||this.formatter).stringify(this)}}),j=l.format={},Y=j.OpenSSL={stringify:function(ue){var q,J=ue.ciphertext,K=ue.salt;return K?q=o.create([1398893684,1701076831]).concat(K).concat(J):q=J,q.toString(x)},parse:function(ue){var q,J=x.parse(ue),K=J.words;return K[0]==1398893684&&K[1]==1701076831&&(q=o.create(K.slice(2,4)),K.splice(0,4),J.sigBytes-=16),B.create({ciphertext:J,salt:q})}},V=c.SerializableCipher=f.extend({cfg:f.extend({format:Y}),encrypt:function(ue,q,J,K){K=this.cfg.extend(K);var oe=ue.createEncryptor(J,K),ee=oe.finalize(q),Q=oe.cfg;return B.create({ciphertext:ee,key:J,iv:Q.iv,algorithm:ue,mode:Q.mode,padding:Q.padding,blockSize:ue.blockSize,formatter:K.format})},decrypt:function(ue,q,J,K){K=this.cfg.extend(K),q=this._parse(q,K.format);var oe=ue.createDecryptor(J,K).finalize(q.ciphertext);return oe},_parse:function(ue,q){return typeof ue=="string"?q.parse(ue,this):ue}}),G=l.kdf={},ae=G.OpenSSL={execute:function(ue,q,J,K){K||(K=o.random(64/8));var oe=y.create({keySize:q+J}).compute(ue,K),ee=o.create(oe.words.slice(q),J*4);return oe.sigBytes=q*4,B.create({key:oe,iv:ee,salt:K})}},ie=c.PasswordBasedCipher=V.extend({cfg:V.cfg.extend({kdf:ae}),encrypt:function(ue,q,J,K){K=this.cfg.extend(K);var oe=K.kdf.execute(J,ue.keySize,ue.ivSize);K.iv=oe.iv;var ee=V.encrypt.call(this,ue,q,oe.key,K);return ee.mixIn(oe),ee},decrypt:function(ue,q,J,K){K=this.cfg.extend(K),q=this._parse(q,K.format);var oe=K.kdf.execute(J,ue.keySize,ue.ivSize,q.salt);K.iv=oe.iv;var ee=V.decrypt.call(this,ue,q,oe.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(D){var M;return A.prototype=D,M=new A,A.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(A){var D=o(this);return A&&D.mixIn(A),(!D.hasOwnProperty("init")||this.init===D.init)&&(D.init=function(){D.$super.init.apply(this,arguments)}),D.init.prototype=D,D.$super=this,D},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var D in A)A.hasOwnProperty(D)&&(this[D]=A[D]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(A,D){A=this.words=A||[],D!=l?this.sigBytes=D:this.sigBytes=A.length*4},toString:function(A){return(A||y).stringify(this)},concat:function(A){var D=this.words,M=A.words,B=this.sigBytes,j=A.sigBytes;if(this.clamp(),B%4)for(var Y=0;Y<j;Y++){var V=M[Y>>>2]>>>24-Y%4*8&255;D[B+Y>>>2]|=V<<24-(B+Y)%4*8}else for(var G=0;G<j;G+=4)D[B+G>>>2]=M[G>>>2];return this.sigBytes+=j,this},clamp:function(){var A=this.words,D=this.sigBytes;A[D>>>2]&=4294967295<<32-D%4*8,A.length=i.ceil(D/4)},clone:function(){var A=a.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var D=[],M=0;M<A;M+=4)D.push(f());return new x.init(D,A)}}),p=h.enc={},y=p.Hex={stringify:function(A){for(var D=A.words,M=A.sigBytes,B=[],j=0;j<M;j++){var Y=D[j>>>2]>>>24-j%4*8&255;B.push((Y>>>4).toString(16)),B.push((Y&15).toString(16))}return B.join("")},parse:function(A){for(var D=A.length,M=[],B=0;B<D;B+=2)M[B>>>3]|=parseInt(A.substr(B,2),16)<<24-B%8*4;return new x.init(M,D/2)}},_=p.Latin1={stringify:function(A){for(var D=A.words,M=A.sigBytes,B=[],j=0;j<M;j++){var Y=D[j>>>2]>>>24-j%4*8&255;B.push(String.fromCharCode(Y))}return B.join("")},parse:function(A){for(var D=A.length,M=[],B=0;B<D;B++)M[B>>>2]|=(A.charCodeAt(B)&255)<<24-B%4*8;return new x.init(M,D)}},b=p.Utf8={stringify:function(A){try{return decodeURIComponent(escape(_.stringify(A)))}catch(D){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 D,M=this._data,B=M.words,j=M.sigBytes,Y=this.blockSize,V=Y*4,G=j/V;A?G=i.ceil(G):G=i.max((G|0)-this._minBufferSize,0);var ae=G*Y,ie=i.min(ae*4,j);if(ae){for(var ue=0;ue<ae;ue+=Y)this._doProcessBlock(B,ue);D=B.splice(0,ae),M.sigBytes-=ie}return new x.init(D,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 D=this._doFinalize();return D},blockSize:512/32,_createHelper:function(A){return function(D,M){return new A.init(M).finalize(D)}},_createHmacHelper:function(A){return function(D,M){return new R.HMAC.init(A,M).finalize(D)}}}),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 D=p.charAt(64);if(D)for(;y.length%4;)y.push(D);return y.join("")},parse:function(u){var a=u.length,x=this._map,p=this._reverseMap;if(!p){p=this._reverseMap=[];for(var y=0;y<x.length;y++)p[x.charCodeAt(y)]=y}var _=x.charAt(64);if(_){var b=u.indexOf(_);b!==-1&&(a=b)}return h(u,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,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,D=0;D<4&&b+D*.75<p;D++)_.push(y.charAt(A>>>6*(3-D)&63));var M=y.charAt(64);if(M)for(;_.length%4;)_.push(M);return _.join("")},parse:function(u,a=!0){var x=u.length,p=a?this._safe_map:this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var _=0;_<p.length;_++)y[p.charCodeAt(_)]=_}var b=p.charAt(64);if(b){var S=u.indexOf(b);S!==-1&&(x=S)}return h(u,x,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function h(u,a,x){for(var p=[],y=0,_=0;_<a;_++)if(_%4){var b=x[u.charCodeAt(_-1)]<<_%4*2,S=x[u.charCodeAt(_)]>>>6-_%4*2,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 D=this._hash.words,M=b[S+0],B=b[S+1],j=b[S+2],Y=b[S+3],V=b[S+4],G=b[S+5],ae=b[S+6],ie=b[S+7],ue=b[S+8],q=b[S+9],J=b[S+10],K=b[S+11],oe=b[S+12],ee=b[S+13],Q=b[S+14],le=b[S+15],Z=D[0],$=D[1],se=D[2],_e=D[3];Z=x(Z,$,se,_e,M,7,u[0]),_e=x(_e,Z,$,se,B,12,u[1]),se=x(se,_e,Z,$,j,17,u[2]),$=x($,se,_e,Z,Y,22,u[3]),Z=x(Z,$,se,_e,V,7,u[4]),_e=x(_e,Z,$,se,G,12,u[5]),se=x(se,_e,Z,$,ae,17,u[6]),$=x($,se,_e,Z,ie,22,u[7]),Z=x(Z,$,se,_e,ue,7,u[8]),_e=x(_e,Z,$,se,q,12,u[9]),se=x(se,_e,Z,$,J,17,u[10]),$=x($,se,_e,Z,K,22,u[11]),Z=x(Z,$,se,_e,oe,7,u[12]),_e=x(_e,Z,$,se,ee,12,u[13]),se=x(se,_e,Z,$,Q,17,u[14]),$=x($,se,_e,Z,le,22,u[15]),Z=p(Z,$,se,_e,B,5,u[16]),_e=p(_e,Z,$,se,ae,9,u[17]),se=p(se,_e,Z,$,K,14,u[18]),$=p($,se,_e,Z,M,20,u[19]),Z=p(Z,$,se,_e,G,5,u[20]),_e=p(_e,Z,$,se,J,9,u[21]),se=p(se,_e,Z,$,le,14,u[22]),$=p($,se,_e,Z,V,20,u[23]),Z=p(Z,$,se,_e,q,5,u[24]),_e=p(_e,Z,$,se,Q,9,u[25]),se=p(se,_e,Z,$,Y,14,u[26]),$=p($,se,_e,Z,ue,20,u[27]),Z=p(Z,$,se,_e,ee,5,u[28]),_e=p(_e,Z,$,se,j,9,u[29]),se=p(se,_e,Z,$,ie,14,u[30]),$=p($,se,_e,Z,oe,20,u[31]),Z=y(Z,$,se,_e,G,4,u[32]),_e=y(_e,Z,$,se,ue,11,u[33]),se=y(se,_e,Z,$,K,16,u[34]),$=y($,se,_e,Z,Q,23,u[35]),Z=y(Z,$,se,_e,B,4,u[36]),_e=y(_e,Z,$,se,V,11,u[37]),se=y(se,_e,Z,$,ie,16,u[38]),$=y($,se,_e,Z,J,23,u[39]),Z=y(Z,$,se,_e,ee,4,u[40]),_e=y(_e,Z,$,se,M,11,u[41]),se=y(se,_e,Z,$,Y,16,u[42]),$=y($,se,_e,Z,ae,23,u[43]),Z=y(Z,$,se,_e,q,4,u[44]),_e=y(_e,Z,$,se,oe,11,u[45]),se=y(se,_e,Z,$,le,16,u[46]),$=y($,se,_e,Z,j,23,u[47]),Z=_(Z,$,se,_e,M,6,u[48]),_e=_(_e,Z,$,se,ie,10,u[49]),se=_(se,_e,Z,$,Q,15,u[50]),$=_($,se,_e,Z,G,21,u[51]),Z=_(Z,$,se,_e,oe,6,u[52]),_e=_(_e,Z,$,se,Y,10,u[53]),se=_(se,_e,Z,$,J,15,u[54]),$=_($,se,_e,Z,B,21,u[55]),Z=_(Z,$,se,_e,ue,6,u[56]),_e=_(_e,Z,$,se,le,10,u[57]),se=_(se,_e,Z,$,ae,15,u[58]),$=_($,se,_e,Z,ee,21,u[59]),Z=_(Z,$,se,_e,V,6,u[60]),_e=_(_e,Z,$,se,K,10,u[61]),se=_(se,_e,Z,$,j,15,u[62]),$=_($,se,_e,Z,q,21,u[63]),D[0]=D[0]+Z|0,D[1]=D[1]+$|0,D[2]=D[2]+se|0,D[3]=D[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),D=k;S[(R+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S[(R+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var M=this._hash,B=M.words,j=0;j<4;j++){var Y=B[j];B[j]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>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,D,M){var B=b+(S&k|~S&R)+A+M;return(B<<D|B>>>32-D)+S}function p(b,S,k,R,A,D,M){var B=b+(S&R|k&~R)+A+M;return(B<<D|B>>>32-D)+S}function y(b,S,k,R,A,D,M){var B=b+(S^k^R)+A+M;return(B<<D|B>>>32-D)+S}function _(b,S,k,R,A,D,M){var B=b+(k^(S|~R))+A+M;return(B<<D|B>>>32-D)+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,D=y.iterations;k.length<A;){var M=_.update(p).finalize(S);_.reset();for(var B=M.words,j=B.length,Y=M,V=1;V<D;V++){Y=_.finalize(Y),_.reset();for(var G=Y.words,ae=0;ae<j;ae++)B[ae]^=G[ae]}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],D=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=D>>>16|M&4294901760,j=M<<16|D&65535;b[0]^=D,b[1]^=B,b[2]^=M,b[3]^=j,b[4]^=D,b[5]^=B,b[6]^=M,b[7]^=j;for(var S=0;S<4;S++)x.call(this)}},_doProcessBlock:function(p,y){var _=this._X;x.call(this),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],D=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=D>>>16|M&4294901760,j=M<<16|D&65535;S[0]^=D,S[1]^=B,S[2]^=M,S[3]^=j,S[4]^=D,S[5]^=B,S[6]^=M,S[7]^=j;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,j){for(var Y=0;Y<16;Y++){var V=j+Y,G=B[V];B[V]=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360}var ae=this._hash.words,ie=y.words,ue=_.words,q=u.words,J=a.words,K=x.words,oe=p.words,ee,Q,le,Z,$,se,_e,Ie,De,Ze;se=ee=ae[0],_e=Q=ae[1],Ie=le=ae[2],De=Z=ae[3],Ze=$=ae[4];for(var Ne,Y=0;Y<80;Y+=1)Ne=ee+B[j+q[Y]]|0,Y<16?Ne+=S(Q,le,Z)+ie[0]:Y<32?Ne+=k(Q,le,Z)+ie[1]:Y<48?Ne+=R(Q,le,Z)+ie[2]:Y<64?Ne+=A(Q,le,Z)+ie[3]:Ne+=D(Q,le,Z)+ie[4],Ne=Ne|0,Ne=M(Ne,K[Y]),Ne=Ne+$|0,ee=$,$=Z,Z=M(le,10),le=Q,Q=Ne,Ne=se+B[j+J[Y]]|0,Y<16?Ne+=D(_e,Ie,De)+ue[0]:Y<32?Ne+=A(_e,Ie,De)+ue[1]:Y<48?Ne+=R(_e,Ie,De)+ue[2]:Y<64?Ne+=k(_e,Ie,De)+ue[3]:Ne+=S(_e,Ie,De)+ue[4],Ne=Ne|0,Ne=M(Ne,oe[Y]),Ne=Ne+Ze|0,se=Ze,Ze=De,De=M(Ie,10),Ie=_e,_e=Ne;Ne=ae[1]+le+De|0,ae[1]=ae[2]+Z+Ze|0,ae[2]=ae[3]+$+se|0,ae[3]=ae[4]+ee+_e|0,ae[4]=ae[0]+Q+Ie|0,ae[0]=Ne},_doFinalize:function(){var B=this._data,j=B.words,Y=this._nDataBytes*8,V=B.sigBytes*8;j[V>>>5]|=128<<24-V%32,j[(V+64>>>9<<4)+14]=(Y<<8|Y>>>24)&16711935|(Y<<24|Y>>>8)&4278255360,B.sigBytes=(j.length+1)*4,this._process();for(var G=this._hash,ae=G.words,ie=0;ie<5;ie++){var ue=ae[ie];ae[ie]=(ue<<8|ue>>>24)&16711935|(ue<<24|ue>>>8)&4278255360}return G},clone:function(){var B=o.clone.call(this);return B._hash=this._hash.clone(),B}});function S(B,j,Y){return B^j^Y}function k(B,j,Y){return B&j|~B&Y}function R(B,j,Y){return(B|~j)^Y}function A(B,j,Y){return B&Y|j&~Y}function D(B,j,Y){return B^(j|~Y)}function M(B,j){return B<<j|B>>>32-j}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 D=(y<<5|y>>>27)+k+h[R];R<20?D+=(_&b|~_&S)+1518500249:R<40?D+=(_^b^S)+1859775393:R<60?D+=(_&b|_&S|b&S)-1894007588:D+=(_^b^S)-899497514,k=S,S=b,b=_<<30|_>>>2,_=y,y=D}p[0]=p[0]+y|0,p[1]=p[1]+_|0,p[2]=p[2]+b|0,p[3]=p[3]+S|0,p[4]=p[4]+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],D=b[4],M=b[5],B=b[6],j=b[7],Y=0;Y<64;Y++){if(Y<16)x[Y]=y[_+Y]|0;else{var V=x[Y-15],G=(V<<25|V>>>7)^(V<<14|V>>>18)^V>>>3,ae=x[Y-2],ie=(ae<<15|ae>>>17)^(ae<<13|ae>>>19)^ae>>>10;x[Y]=G+x[Y-7]+ie+x[Y-16]}var ue=D&M^~D&B,q=S&k^S&R^k&R,J=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),K=(D<<26|D>>>6)^(D<<21|D>>>11)^(D<<7|D>>>25),oe=j+K+ue+a[Y]+x[Y],ee=J+q;j=B,B=M,M=D,D=A+oe|0,A=R,R=k,k=S,S=oe+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]+D|0,b[5]=b[5]+M|0,b[6]=b[6]+B|0,b[7]=b[7]+j|0},_doFinalize:function(){var y=this._data,_=y.words,b=this._nDataBytes*8,S=y.sigBytes*8;return _[S>>>5]|=128<<24-S%32,_[(S+64>>>9<<4)+14]=i.floor(b/4294967296),_[(S+64>>>9<<4)+15]=b,y.sigBytes=_.length*4,this._process(),this._hash},clone:function(){var y=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,D=(2*S+3*k)%5;S=A,k=D}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 j=0,Y=0,V=0;V<7;V++){if(M&1){var G=(1<<V)-1;G<32?Y^=1<<G:j^=1<<G-32}M&128?M=M<<1^113:M<<=1}y[B]=u.create(j,Y)}})();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,D=0;D<A;D++){var M=S[k+2*D],B=S[k+2*D+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var j=R[D];j.high^=B,j.low^=M}for(var Y=0;Y<24;Y++){for(var V=0;V<5;V++){for(var G=0,ae=0,ie=0;ie<5;ie++){var j=R[V+5*ie];G^=j.high,ae^=j.low}var ue=_[V];ue.high=G,ue.low=ae}for(var V=0;V<5;V++)for(var q=_[(V+4)%5],J=_[(V+1)%5],K=J.high,oe=J.low,G=q.high^(K<<1|oe>>>31),ae=q.low^(oe<<1|K>>>31),ie=0;ie<5;ie++){var j=R[V+5*ie];j.high^=G,j.low^=ae}for(var ee=1;ee<25;ee++){var G,ae,j=R[ee],Q=j.high,le=j.low,Z=x[ee];Z<32?(G=Q<<Z|le>>>32-Z,ae=le<<Z|Q>>>32-Z):(G=le<<Z-32|Q>>>64-Z,ae=Q<<Z-32|le>>>64-Z);var $=_[p[ee]];$.high=G,$.low=ae}var se=_[0],_e=R[0];se.high=_e.high,se.low=_e.low;for(var V=0;V<5;V++)for(var ie=0;ie<5;ie++){var ee=V+5*ie,j=R[ee],Ie=_[ee],De=_[(V+1)%5+5*ie],Ze=_[(V+2)%5+5*ie];j.high=Ie.high^~De.high&Ze.high,j.low=Ie.low^~De.low&Ze.low}var j=R[0],Ne=y[Y];j.high^=Ne.high,j.low^=Ne.low}},_doFinalize:function(){var S=this._data,k=S.words,R=this._nDataBytes*8,A=S.sigBytes*8,D=this.blockSize*32;k[A>>>5]|=1<<24-A%32,k[(i.ceil((A+1)/D)*D>>>5)-1]|=128,S.sigBytes=k.length*4,this._process();for(var M=this._state,B=this.cfg.outputLength/8,j=B/8,Y=[],V=0;V<j;V++){var G=M[V],ae=G.high,ie=G.low;ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,ie=(ie<<8|ie>>>24)&16711935|(ie<<24|ie>>>8)&4278255360,Y.push(ie),Y.push(ae)}return new f.init(Y,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],D=S[3],M=S[4],B=S[5],j=S[6],Y=S[7],V=k.high,G=k.low,ae=R.high,ie=R.low,ue=A.high,q=A.low,J=D.high,K=D.low,oe=M.high,ee=M.low,Q=B.high,le=B.low,Z=j.high,$=j.low,se=Y.high,_e=Y.low,Ie=V,De=G,Ze=ae,Ne=ie,Lt=ue,bt=q,kt=J,jt=K,Wt=oe,zt=ee,We=Q,St=le,Ft=Z,tt=$,_t=se,dt=_e,qe=0;qe<80;qe++){var Be,Ee,Re=p[qe];if(qe<16)Ee=Re.high=_[b+qe*2]|0,Be=Re.low=_[b+qe*2+1]|0;else{var He=p[qe-15],ze=He.high,Ye=He.low,ht=(ze>>>1|Ye<<31)^(ze>>>8|Ye<<24)^ze>>>7,xt=(Ye>>>1|ze<<31)^(Ye>>>8|ze<<24)^(Ye>>>7|ze<<25),nr=p[qe-2],er=nr.high,Le=nr.low,Qe=(er>>>19|Le<<13)^(er<<3|Le>>>29)^er>>>6,Qt=(Le>>>19|er<<13)^(Le<<3|er>>>29)^(Le>>>6|er<<26),Rt=p[qe-7],Vt=Rt.high,Gt=Rt.low,Tt=p[qe-16],qt=Tt.high,Ue=Tt.low;Be=xt+Gt,Ee=ht+Vt+(Be>>>0<xt>>>0?1:0),Be=Be+Qt,Ee=Ee+Qe+(Be>>>0<Qt>>>0?1:0),Be=Be+Ue,Ee=Ee+qt+(Be>>>0<Ue>>>0?1:0),Re.high=Ee,Re.low=Be}var fe=Wt&We^~Wt&Ft,pe=zt&St^~zt&tt,Ot=Ie&Ze^Ie&Lt^Ze&Lt,Ce=De&Ne^De&bt^Ne&bt,ct=(Ie>>>28|De<<4)^(Ie<<30|De>>>2)^(Ie<<25|De>>>7),Kt=(De>>>28|Ie<<4)^(De<<30|Ie>>>2)^(De<<25|Ie>>>7),At=(Wt>>>14|zt<<18)^(Wt>>>18|zt<<14)^(Wt<<23|zt>>>9),Te=(zt>>>14|Wt<<18)^(zt>>>18|Wt<<14)^(zt<<23|Wt>>>9),Et=x[qe],ye=Et.high,et=Et.low,yt=dt+Te,Nt=_t+At+(yt>>>0<dt>>>0?1:0),yt=yt+pe,Nt=Nt+fe+(yt>>>0<pe>>>0?1:0),yt=yt+et,Nt=Nt+ye+(yt>>>0<et>>>0?1:0),yt=yt+Be,Nt=Nt+Ee+(yt>>>0<Be>>>0?1:0),Fe=Kt+Ce,Ir=ct+Ot+(Fe>>>0<Kt>>>0?1:0);_t=Ft,dt=tt,Ft=We,tt=St,We=Wt,St=zt,zt=jt+yt|0,Wt=kt+Nt+(zt>>>0<jt>>>0?1:0)|0,kt=Lt,jt=bt,Lt=Ze,bt=Ne,Ze=Ie,Ne=De,De=yt+Fe|0,Ie=Nt+Ir+(De>>>0<yt>>>0?1:0)|0}G=k.low=G+De,k.high=V+Ie+(G>>>0<De>>>0?1:0),ie=R.low=ie+Ne,R.high=ae+Ze+(ie>>>0<Ne>>>0?1:0),q=A.low=q+bt,A.high=ue+Lt+(q>>>0<bt>>>0?1:0),K=D.low=K+jt,D.high=J+kt+(K>>>0<jt>>>0?1:0),ee=M.low=ee+zt,M.high=oe+Wt+(ee>>>0<zt>>>0?1:0),le=B.low=le+St,B.high=Q+We+(le>>>0<St>>>0?1:0),$=j.low=$+tt,j.high=Z+Ft+($>>>0<tt>>>0?1:0),_e=Y.low=_e+dt,Y.high=se+_t+(_e>>>0<dt>>>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=[],D=0;D<56;D++){var M=h[D]-1;A[D]=R[M>>>5]>>>31-M%32&1}for(var B=this._subKeys=[],j=0;j<16;j++){for(var Y=B[j]=[],V=a[j],D=0;D<24;D++)Y[D/6|0]|=A[(u[D]-1+V)%28]<<31-D%6,Y[4+(D/6|0)]|=A[28+(u[D+24]-1+V)%28]<<31-D%6;Y[0]=Y[0]<<1|Y[0]>>>31;for(var D=1;D<7;D++)Y[D]=Y[D]>>>(D-1)*4+3;Y[7]=Y[7]<<5|Y[7]>>>27}for(var G=this._invSubKeys=[],D=0;D<16;D++)G[D]=B[15-D]},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 D=0;D<16;D++){for(var M=A[D],B=this._lBlock,j=this._rBlock,Y=0,V=0;V<8;V++)Y|=x[V][((j^M[V])&p[V])>>>0];this._lBlock=j,this._rBlock=B^Y}var G=this._lBlock;this._lBlock=this._rBlock,this._rBlock=G,_.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),_.call(this,16,65535),_.call(this,4,252645135),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),D=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(D)),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),_):_}},61186:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v=1e3,e=6e4,r=36e5,i="millisecond",l="second",c="minute",f="hour",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 ue=["th","st","nd","rd"],q=ie%100;return"["+ie+(ue[(q-20)%10]||ue[q]||ue[0])+"]"}},k=function(ie,ue,q){var J=String(ie);return!J||J.length>=ue?ie:""+Array(ue+1-J.length).join(q)+ie},R={s:k,z:function(ie){var ue=-ie.utcOffset(),q=Math.abs(ue),J=Math.floor(q/60),K=q%60;return(ue<=0?"+":"-")+k(J,2,"0")+":"+k(K,2,"0")},m:function ie(ue,q){if(ue.date()<q.date())return-ie(q,ue);var J=12*(q.year()-ue.year())+(q.month()-ue.month()),K=ue.clone().add(J,u),oe=q-K<0,ee=ue.clone().add(J+(oe?-1:1),u);return+(-(J+(q-K)/(oe?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",D={};D[A]=S;var M="$isDayjsObject",B=function(ie){return ie instanceof G||!(!ie||!ie[M])},j=function ie(ue,q,J){var K;if(!ue)return A;if(typeof ue=="string"){var oe=ue.toLowerCase();D[oe]&&(K=oe),q&&(D[oe]=q,K=oe);var ee=ue.split("-");if(!K&&ee.length>1)return ie(ee[0])}else{var Q=ue.name;D[Q]=ue,K=Q}return!J&&K&&(A=K),K||!J&&A},Y=function(ie,ue){if(B(ie))return ie.clone();var q=typeof ue=="object"?ue:{};return q.date=ie,q.args=arguments,new G(q)},V=R;V.l=j,V.i=B,V.w=function(ie,ue){return Y(ie,{locale:ue.$L,utc:ue.$u,x:ue.$x,$offset:ue.$offset})};var G=function(){function ie(q){this.$L=j(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[M]=!0}var ue=ie.prototype;return ue.parse=function(q){this.$d=function(J){var K=J.date,oe=J.utc;if(K===null)return new Date(NaN);if(V.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 Q=ee[2]-1||0,le=(ee[7]||"0").substring(0,3);return oe?new Date(Date.UTC(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,le)):new Date(ee[1],Q,ee[3]||1,ee[4]||0,ee[5]||0,ee[6]||0,le)}}return new Date(K)}(q),this.init()},ue.init=function(){var q=this.$d;this.$y=q.getFullYear(),this.$M=q.getMonth(),this.$D=q.getDate(),this.$W=q.getDay(),this.$H=q.getHours(),this.$m=q.getMinutes(),this.$s=q.getSeconds(),this.$ms=q.getMilliseconds()},ue.$utils=function(){return V},ue.isValid=function(){return this.$d.toString()!==y},ue.isSame=function(q,J){var K=Y(q);return this.startOf(J)<=K&&K<=this.endOf(J)},ue.isAfter=function(q,J){return Y(q)<this.startOf(J)},ue.isBefore=function(q,J){return this.endOf(J)<Y(q)},ue.$g=function(q,J,K){return V.u(q)?this[J]:this.set(K,q)},ue.unix=function(){return Math.floor(this.valueOf()/1e3)},ue.valueOf=function(){return this.$d.getTime()},ue.startOf=function(q,J){var K=this,oe=!!V.u(J)||J,ee=V.p(q),Q=function(Ze,Ne){var Lt=V.w(K.$u?Date.UTC(K.$y,Ne,Ze):new Date(K.$y,Ne,Ze),K);return oe?Lt:Lt.endOf(o)},le=function(Ze,Ne){return V.w(K.toDate()[Ze].apply(K.toDate("s"),(oe?[0,0,0,0]:[23,59,59,999]).slice(Ne)),K)},Z=this.$W,$=this.$M,se=this.$D,_e="set"+(this.$u?"UTC":"");switch(ee){case x:return oe?Q(1,0):Q(31,11);case u:return oe?Q(1,$):Q(0,$+1);case h:var Ie=this.$locale().weekStart||0,De=(Z<Ie?Z+7:Z)-Ie;return Q(oe?se-De:se+(6-De),$);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()}},ue.endOf=function(q){return this.startOf(q,!1)},ue.$set=function(q,J){var K,oe=V.p(q),ee="set"+(this.$u?"UTC":""),Q=(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)[oe],le=oe===o?this.$D+(J-this.$W):J;if(oe===u||oe===x){var Z=this.clone().set(p,1);Z.$d[Q](le),Z.init(),this.$d=Z.set(p,Math.min(this.$D,Z.daysInMonth())).$d}else Q&&this.$d[Q](le);return this.init(),this},ue.set=function(q,J){return this.clone().$set(q,J)},ue.get=function(q){return this[V.p(q)]()},ue.add=function(q,J){var K,oe=this;q=Number(q);var ee=V.p(J),Q=function($){var se=Y(oe);return V.w(se.date(se.date()+Math.round($*q)),oe)};if(ee===u)return this.set(u,this.$M+q);if(ee===x)return this.set(x,this.$y+q);if(ee===o)return Q(1);if(ee===h)return Q(7);var le=(K={},K[c]=e,K[f]=r,K[l]=v,K)[ee]||1,Z=this.$d.getTime()+q*le;return V.w(Z,this)},ue.subtract=function(q,J){return this.add(-1*q,J)},ue.format=function(q){var J=this,K=this.$locale();if(!this.isValid())return K.invalidDate||y;var oe=q||"YYYY-MM-DDTHH:mm:ssZ",ee=V.z(this),Q=this.$H,le=this.$m,Z=this.$M,$=K.weekdays,se=K.months,_e=K.meridiem,Ie=function(Ne,Lt,bt,kt){return Ne&&(Ne[Lt]||Ne(J,oe))||bt[Lt].slice(0,kt)},De=function(Ne){return V.s(Q%12||12,Ne,"0")},Ze=_e||function(Ne,Lt,bt){var kt=Ne<12?"AM":"PM";return bt?kt.toLowerCase():kt};return oe.replace(b,function(Ne,Lt){return Lt||function(bt){switch(bt){case"YY":return String(J.$y).slice(-2);case"YYYY":return V.s(J.$y,4,"0");case"M":return Z+1;case"MM":return V.s(Z+1,2,"0");case"MMM":return Ie(K.monthsShort,Z,se,3);case"MMMM":return Ie(se,Z);case"D":return J.$D;case"DD":return V.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Ie(K.weekdaysMin,J.$W,$,2);case"ddd":return Ie(K.weekdaysShort,J.$W,$,3);case"dddd":return $[J.$W];case"H":return String(Q);case"HH":return V.s(Q,2,"0");case"h":return De(1);case"hh":return De(2);case"a":return Ze(Q,le,!0);case"A":return Ze(Q,le,!1);case"m":return String(le);case"mm":return V.s(le,2,"0");case"s":return String(J.$s);case"ss":return V.s(J.$s,2,"0");case"SSS":return V.s(J.$ms,3,"0");case"Z":return ee}return null}(Ne)||ee.replace(":","")})},ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ue.diff=function(q,J,K){var oe,ee=this,Q=V.p(J),le=Y(q),Z=(le.utcOffset()-this.utcOffset())*e,$=this-le,se=function(){return V.m(ee,le)};switch(Q){case x:oe=se()/12;break;case u:oe=se();break;case a:oe=se()/3;break;case h:oe=($-Z)/6048e5;break;case o:oe=($-Z)/864e5;break;case f:oe=$/r;break;case c:oe=$/e;break;case l:oe=$/v;break;default:oe=$}return K?oe:V.a(oe)},ue.daysInMonth=function(){return this.endOf(u).$D},ue.$locale=function(){return D[this.$L]},ue.locale=function(q,J){if(!q)return this.$L;var K=this.clone(),oe=j(q,J,!0);return oe&&(K.$L=oe),K},ue.clone=function(){return V.w(this.$d,this)},ue.toDate=function(){return new Date(this.valueOf())},ue.toJSON=function(){return this.isValid()?this.toISOString():null},ue.toISOString=function(){return this.$d.toISOString()},ue.toString=function(){return this.$d.toUTCString()},ie}(),ae=G.prototype;return Y.prototype=ae,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ie){ae[ie[1]]=function(ue){return this.$g(ue,ie[0],ie[1])}}),Y.extend=function(ie,ue){return ie.$i||(ie(ue,G,Y),ie.$i=!0),Y},Y.locale=j,Y.isDayjs=B,Y.unix=function(ie){return Y(1e3*ie)},Y.en=D[A],Y.Ls=D,Y.p={},Y})},65517:function(d,v,e){(function(r,i){d.exports=i(e(61186))})(this,function(r){"use strict";function i(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var l=i(r),c={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(f,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})},10238:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){var r=e.prototype,i=r.format;r.format=function(l){var c=this,f=this.$locale();if(!this.isValid())return i.bind(this)(l);var 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)}}})},33656:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,i=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,f={},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(Y,V,G){var ae=G&&G.toUpperCase();return V||S[G]||v[G]||S[ae].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ie,ue,q){return ue||q.slice(1)})})).match(e),R=k.length,A=0;A<R;A+=1){var D=k[A],M=p[D],B=M&&M[0],j=M&&M[1];k[A]=j?{regex:B,parser:j}:D.replace(/^\[|\]$/g,"")}return function(Y){for(var V={},G=0,ae=0;G<R;G+=1){var ie=k[G];if(typeof ie=="string")ae+=ie.length;else{var ue=ie.regex,q=ie.parser,J=Y.slice(ae),K=ue.exec(J)[0];q.call(V,K),Y=Y.replace(K,"")}}return function(oe){var ee=oe.afternoon;if(ee!==void 0){var Q=oe.hours;ee?Q<12&&(oe.hours+=12):Q===12&&(oe.hours=0),delete oe.afternoon}}(V),V}}return function(_,b,S){S.p.customParseFormat=!0,_&&_.parseTwoDigitYear&&(o=_.parseTwoDigitYear);var k=b.prototype,R=k.parse;k.parse=function(A){var D=A.date,M=A.utc,B=A.args;this.$u=M;var j=B[1];if(typeof j=="string"){var Y=B[2]===!0,V=B[3]===!0,G=Y||V,ae=B[2];V&&(ae=B[2]),f=this.$locale(),!Y&&ae&&(f=S.Ls[ae]),this.$d=function(J,K,oe,ee){try{if(["x","X"].indexOf(K)>-1)return new Date((K==="X"?1e3:1)*J);var Q=y(K)(J),le=Q.year,Z=Q.month,$=Q.day,se=Q.hours,_e=Q.minutes,Ie=Q.seconds,De=Q.milliseconds,Ze=Q.zone,Ne=Q.week,Lt=new Date,bt=$||(le||Z?1:Lt.getDate()),kt=le||Lt.getFullYear(),jt=0;le&&!Z||(jt=Z>0?Z-1:Lt.getMonth());var Wt,zt=se||0,We=_e||0,St=Ie||0,Ft=De||0;return Ze?new Date(Date.UTC(kt,jt,bt,zt,We,St,Ft+60*Ze.offset*1e3)):oe?new Date(Date.UTC(kt,jt,bt,zt,We,St,Ft)):(Wt=new Date(kt,jt,bt,zt,We,St,Ft),Ne&&(Wt=ee(Wt).week(Ne).toDate()),Wt)}catch(tt){return new Date("")}}(D,j,M,S),this.init(),ae&&ae!==!0&&(this.$L=this.locale(ae).$L),G&&D!=this.format(j)&&(this.$d=new Date("")),f={}}else if(j instanceof Array)for(var ie=j.length,ue=1;ue<=ie;ue+=1){B[1]=j[ue-1];var q=S.apply(this,B);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}ue===ie&&(this.$d=new Date(""))}else R.call(this,A)}}})},47477:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v,e,r=1e3,i=6e4,l=36e5,c=864e5,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,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(D){return D instanceof R},p=function(D,M,B){return new R(D,B,M.$l)},y=function(D){return e.p(D)+"s"},_=function(D){return D<0},b=function(D){return _(D)?Math.ceil(D):Math.floor(D)},S=function(D){return Math.abs(D)},k=function(D,M){return D?_(D)?{negative:!0,format:""+S(D)+M}:{negative:!1,format:""+D+M}:{negative:!1,format:""}},R=function(){function D(B,j,Y){var V=this;if(this.$d={},this.$l=Y,B===void 0&&(this.$ms=0,this.parseFromMilliseconds()),j)return p(B*a[y(j)],this);if(typeof B=="number")return this.$ms=B,this.parseFromMilliseconds(),this;if(typeof B=="object")return Object.keys(B).forEach(function(ie){V.$d[y(ie)]=B[ie]}),this.calMilliseconds(),this;if(typeof B=="string"){var G=B.match(u);if(G){var ae=G.slice(2).map(function(ie){return ie!=null?Number(ie):0});return this.$d.years=ae[0],this.$d.months=ae[1],this.$d.weeks=ae[2],this.$d.days=ae[3],this.$d.hours=ae[4],this.$d.minutes=ae[5],this.$d.seconds=ae[6],this.calMilliseconds(),this}}return this}var M=D.prototype;return M.calMilliseconds=function(){var B=this;this.$ms=Object.keys(this.$d).reduce(function(j,Y){return j+(B.$d[Y]||0)*a[Y]},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"),j=k(this.$d.months,"M"),Y=+this.$d.days||0;this.$d.weeks&&(Y+=7*this.$d.weeks);var V=k(Y,"D"),G=k(this.$d.hours,"H"),ae=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 ue=k(ie,"S"),q=B.negative||j.negative||V.negative||G.negative||ae.negative||ue.negative,J=G.format||ae.format||ue.format?"T":"",K=(q?"-":"")+"P"+B.format+j.format+V.format+J+G.format+ae.format+ue.format;return K==="P"||K==="-P"?"P0D":K},M.toJSON=function(){return this.toISOString()},M.format=function(B){var j=B||"YYYY-MM-DDTHH:mm:ss",Y={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return j.replace(f,function(V,G){return G||String(Y[V])})},M.as=function(B){return this.$ms/a[y(B)]},M.get=function(B){var j=this.$ms,Y=y(B);return Y==="milliseconds"?j%=1e3:j=Y==="weeks"?b(j/a[Y]):this.$d[Y],j||0},M.add=function(B,j,Y){var V;return V=j?B*a[y(j)]:x(B)?B.$ms:p(B,this).$ms,p(this.$ms+V*(Y?-1:1),this)},M.subtract=function(B,j){return this.add(B,j,!0)},M.locale=function(B){var j=this.clone();return j.$l=B,j},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")},D}(),A=function(D,M,B){return D.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(D,M,B){v=B,e=B().$utils(),B.duration=function(V,G){var ae=B.locale();return p(V,{$l:ae},G)},B.isDuration=x;var j=M.prototype.add,Y=M.prototype.subtract;M.prototype.add=function(V,G){return x(V)?A(this,V,1):j.bind(this)(V,G)},M.prototype.subtract=function(V,G){return x(V)?A(this,V,-1):Y.bind(this)(V,G)}}})},58862:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){r.isMoment=function(i){return r.isDayjs(i)}}})},19277:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})},34749:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})},58319:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){var i=e.prototype,l=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,a,x,p,y){var _=u.name?u:u.$locale(),b=l(_[a]),S=l(_[x]),k=b||S.map(function(A){return A.slice(0,p)});if(!y)return k;var R=_.weekStart;return k.map(function(A,D){return k[(D+(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)}}})},62053:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,r,i){var l=r.prototype,c=l.format;i.en.formats=v,l.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var 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)}}})},59717:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){v=v||{};var i=e.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(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 D=(v.rounding||Math.round)(Math.abs(p));if(_=p>0,D<=A.r||!A.r){D<=1&&R>0&&(A=S[R-1]);var M=b[A.l];x&&(D=x(""+D)),y=typeof M=="string"?M.replace("%d",D):M(D,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)}}})},23250:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v="week",e="year";return function(r,i,l){var c=i.prototype;c.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var 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)}}})},74959:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.weekYear=function(){var r=this.month(),i=this.week(),l=this.year();return i===1&&r===11?l+1:r===0&&i>=52?l-1:l}}})},90111:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.weekday=function(r){var i=this.$locale().weekStart||0,l=this.$W,c=(l<i?l+7:l)-i;return this.$utils().u(r)?c:this.subtract(c,"day").add(r,"day")}}})},89880:function(d){"use strict";function v(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,D=A||{},M=D.namespace,B=D.actionType,j;switch(R){case i:j=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 Y=r(r({},S.effects),{},v({},B,!1)),V=r(r({},S.models),{},v({},M,Object.keys(Y).some(function(ae){var ie=ae.split("/")[0];return ie!==M?!1:Y[ae]}))),G=Object.keys(V).some(function(ae){return V[ae]});j=r(r({},S),{},{global:G,models:V,effects:Y});break}default:j=S;break}return j});function b(S,k,R,A){var D=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 j=arguments;return regeneratorRuntime.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return V.next=2,D({type:i,payload:{namespace:M,actionType:A}});case 2:return V.next=4,S.apply(void 0,j);case 4:return V.next=6,D({type:l,payload:{namespace:M,actionType:A}});case 6:case"end":return V.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 D;return i(A),u.call(this,"__ee__")?D=this.__ee__:(D=a.value=f(null),o(this,"__ee__",a),a.value=null),D[R]?typeof D[R]=="object"?D[R].push(A):D[R]=[D[R],A]:D[R]=A,this},p=function(R,A){var D,M;return i(A),M=this,x.call(this,R,D=function(){y.call(M,R,D),l.call(A,this,arguments)}),D.__eeOnceListener__=A,this},y=function(R,A){var D,M,B,j;if(i(A),!u.call(this,"__ee__"))return this;if(D=this.__ee__,!D[R])return this;if(M=D[R],typeof M=="object")for(j=0;B=M[j];++j)(B===A||B.__eeOnceListener__===A)&&(M.length===2?D[R]=M[j?0:1]:M.splice(j,1));else(M===A||M.__eeOnceListener__===A)&&delete D[R];return this},_=function(R){var A,D,M,B,j;if(u.call(this,"__ee__")&&(B=this.__ee__[R],!!B))if(typeof B=="object"){for(D=arguments.length,j=new Array(D-1),A=1;A<D;++A)j[A-1]=arguments[A];for(B=B.slice(),A=0;M=B[A];++A)l.call(M,this,j)}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(D=arguments.length,j=new Array(D-1),A=1;A<D;++A)j[A-1]=arguments[A];l.call(B,this,j)}},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 D=this.h[0],M=this.h[1],B=this.h[2],j=this.h[3],Y=this.h[4],V=D,G=M,ae=B,ie=j,ue=Y,q=0;q<80;q++){var J=c(l(o(D,a(q,M,B,j),R[y[q]+A],x(q)),b[q]),Y);D=Y,Y=j,j=l(B,10),B=M,M=J,J=c(l(o(V,a(79-q,G,ae,ie),R[_[q]+A],p(q)),S[q]),ue),V=ue,ue=ie,ie=l(ae,10),ae=G,G=J}J=f(this.h[1],B,ie),this.h[1]=f(this.h[2],j,ue),this.h[2]=f(this.h[3],Y,V),this.h[3]=f(this.h[4],D,G),this.h[4]=f(this.h[0],M,ae),this.h[0]=J},u.prototype._digest=function(R){return R==="hex"?r.toHex32(this.h,"little"):r.split32(this.h,"little")};function a(k,R,A,D){return k<=15?R^A^D:k<=31?R&A|~R&D:k<=47?(R|~A)^D:k<=63?R&D|A&~D:R^(A|~D)}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],D=this.h[3],M=this.h[4];for(S=0;S<b.length;S++){var B=~~(S/20),j=o(c(k,5),h(B,R,A,D),M,b[S],a[B]);M=D,D=A,A=c(R,30),R=k,k=j}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],D),this.h[4]=f(this.h[4],M)},x.prototype._digest=function(y){return y==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},44853:function(d,v,e){"use strict";var r=e(8631),i=e(6586);function l(){if(!(this instanceof l))return new l;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(l,i),d.exports=l,l.blockSize=512,l.outSize=224,l.hmacStrength=192,l.padLength=64,l.prototype._digest=function(f){return f==="hex"?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},6586:function(d,v,e){"use strict";var r=e(8631),i=e(28766),l=e(81692),c=e(61339),f=r.sum32,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,D){for(var M=this.W,B=0;B<16;B++)M[B]=A[D+B];for(;B<M.length;B++)M[B]=o(_(M[B-2]),M[B-7],y(M[B-15]),M[B-16]);var j=this.h[0],Y=this.h[1],V=this.h[2],G=this.h[3],ae=this.h[4],ie=this.h[5],ue=this.h[6],q=this.h[7];for(c(this.k.length===M.length),B=0;B<M.length;B++){var J=h(q,p(ae),u(ae,ie,ue),this.k[B],M[B]),K=f(x(j),a(j,Y,V));q=ue,ue=ie,ie=ae,ae=f(G,J),G=V,V=Y,Y=j,j=f(J,K)}this.h[0]=f(this.h[0],j),this.h[1]=f(this.h[1],Y),this.h[2]=f(this.h[2],V),this.h[3]=f(this.h[3],G),this.h[4]=f(this.h[4],ae),this.h[5]=f(this.h[5],ie),this.h[6]=f(this.h[6],ue),this.h[7]=f(this.h[7],q)},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,oe){for(var ee=this.W,Q=0;Q<32;Q++)ee[Q]=K[oe+Q];for(;Q<ee.length;Q+=2){var le=ue(ee[Q-4],ee[Q-3]),Z=q(ee[Q-4],ee[Q-3]),$=ee[Q-14],se=ee[Q-13],_e=ae(ee[Q-30],ee[Q-29]),Ie=ie(ee[Q-30],ee[Q-29]),De=ee[Q-32],Ze=ee[Q-31];ee[Q]=p(le,Z,$,se,_e,Ie,De,Ze),ee[Q+1]=y(le,Z,$,se,_e,Ie,De,Ze)}},R.prototype._update=function(K,oe){this._prepareBlock(K,oe);var ee=this.W,Q=this.h[0],le=this.h[1],Z=this.h[2],$=this.h[3],se=this.h[4],_e=this.h[5],Ie=this.h[6],De=this.h[7],Ze=this.h[8],Ne=this.h[9],Lt=this.h[10],bt=this.h[11],kt=this.h[12],jt=this.h[13],Wt=this.h[14],zt=this.h[15];l(this.k.length===ee.length);for(var We=0;We<ee.length;We+=2){var St=Wt,Ft=zt,tt=V(Ze,Ne),_t=G(Ze,Ne),dt=A(Ze,Ne,Lt,bt,kt,jt),qe=D(Ze,Ne,Lt,bt,kt,jt),Be=this.k[We],Ee=this.k[We+1],Re=ee[We],He=ee[We+1],ze=_(St,Ft,tt,_t,dt,qe,Be,Ee,Re,He),Ye=b(St,Ft,tt,_t,dt,qe,Be,Ee,Re,He);St=j(Q,le),Ft=Y(Q,le),tt=M(Q,le,Z,$,se,_e),_t=B(Q,le,Z,$,se,_e);var ht=a(St,Ft,tt,_t),xt=x(St,Ft,tt,_t);Wt=kt,zt=jt,kt=Lt,jt=bt,Lt=Ze,bt=Ne,Ze=a(Ie,De,ze,Ye),Ne=x(De,De,ze,Ye),Ie=se,De=_e,se=Z,_e=$,Z=Q,$=le,Q=a(ze,Ye,ht,xt),le=x(ze,Ye,ht,xt)}u(this.h,0,Q,le),u(this.h,2,Z,$),u(this.h,4,se,_e),u(this.h,6,Ie,De),u(this.h,8,Ze,Ne),u(this.h,10,Lt,bt),u(this.h,12,kt,jt),u(this.h,14,Wt,zt)},R.prototype._digest=function(K){return K==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function A(J,K,oe,ee,Q){var le=J&oe^~J&Q;return le<0&&(le+=4294967296),le}function D(J,K,oe,ee,Q,le){var Z=K&ee^~K≤return Z<0&&(Z+=4294967296),Z}function M(J,K,oe,ee,Q){var le=J&oe^J&Q^oe&Q;return le<0&&(le+=4294967296),le}function B(J,K,oe,ee,Q,le){var Z=K&ee^K&le^ee≤return Z<0&&(Z+=4294967296),Z}function j(J,K){var oe=c(J,K,28),ee=c(K,J,2),Q=c(K,J,7),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function Y(J,K){var oe=f(J,K,28),ee=f(K,J,2),Q=f(K,J,7),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function V(J,K){var oe=c(J,K,14),ee=c(J,K,18),Q=c(K,J,9),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function G(J,K){var oe=f(J,K,14),ee=f(J,K,18),Q=f(K,J,9),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function ae(J,K){var oe=c(J,K,1),ee=c(J,K,8),Q=o(J,K,7),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function ie(J,K){var oe=f(J,K,1),ee=f(J,K,8),Q=h(J,K,7),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function ue(J,K){var oe=c(J,K,19),ee=c(K,J,29),Q=o(J,K,6),le=oe^ee^Q;return le<0&&(le+=4294967296),le}function q(J,K){var oe=f(J,K,19),ee=f(K,J,29),Q=h(J,K,6),le=oe^ee^Q;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(q,J){return(q.charCodeAt(J)&64512)!==55296||J<0||J+1>=q.length?!1:(q.charCodeAt(J+1)&64512)===56320}function c(q,J){if(Array.isArray(q))return q.slice();if(!q)return[];var K=[];if(typeof q=="string")if(J){if(J==="hex")for(q=q.replace(/[^a-z0-9]+/ig,""),q.length%2!==0&&(q="0"+q),ee=0;ee<q.length;ee+=2)K.push(parseInt(q[ee]+q[ee+1],16))}else for(var oe=0,ee=0;ee<q.length;ee++){var Q=q.charCodeAt(ee);Q<128?K[oe++]=Q:Q<2048?(K[oe++]=Q>>6|192,K[oe++]=Q&63|128):l(q,ee)?(Q=65536+((Q&1023)<<10)+(q.charCodeAt(++ee)&1023),K[oe++]=Q>>18|240,K[oe++]=Q>>12&63|128,K[oe++]=Q>>6&63|128,K[oe++]=Q&63|128):(K[oe++]=Q>>12|224,K[oe++]=Q>>6&63|128,K[oe++]=Q&63|128)}else for(ee=0;ee<q.length;ee++)K[ee]=q[ee]|0;return K}v.toArray=c;function f(q){for(var J="",K=0;K<q.length;K++)J+=u(q[K].toString(16));return J}v.toHex=f;function o(q){var J=q>>>24|q>>>8&65280|q<<8&16711680|(q&255)<<24;return J>>>0}v.htonl=o;function h(q,J){for(var K="",oe=0;oe<q.length;oe++){var ee=q[oe];J==="little"&&(ee=o(ee)),K+=a(ee.toString(16))}return K}v.toHex32=h;function u(q){return q.length===1?"0"+q:q}v.zero2=u;function a(q){return q.length===7?"0"+q:q.length===6?"00"+q:q.length===5?"000"+q:q.length===4?"0000"+q:q.length===3?"00000"+q:q.length===2?"000000"+q:q.length===1?"0000000"+q:q}v.zero8=a;function x(q,J,K,oe){var ee=K-J;r(ee%4===0);for(var Q=new Array(ee/4),le=0,Z=J;le<Q.length;le++,Z+=4){var $;oe==="big"?$=q[Z]<<24|q[Z+1]<<16|q[Z+2]<<8|q[Z+3]:$=q[Z+3]<<24|q[Z+2]<<16|q[Z+1]<<8|q[Z],Q[le]=$>>>0}return Q}v.join32=x;function p(q,J){for(var K=new Array(q.length*4),oe=0,ee=0;oe<q.length;oe++,ee+=4){var Q=q[oe];J==="big"?(K[ee]=Q>>>24,K[ee+1]=Q>>>16&255,K[ee+2]=Q>>>8&255,K[ee+3]=Q&255):(K[ee+3]=Q>>>24,K[ee+2]=Q>>>16&255,K[ee+1]=Q>>>8&255,K[ee]=Q&255)}return K}v.split32=p;function y(q,J){return q>>>J|q<<32-J}v.rotr32=y;function _(q,J){return q<<J|q>>>32-J}v.rotl32=_;function b(q,J){return q+J>>>0}v.sum32=b;function S(q,J,K){return q+J+K>>>0}v.sum32_3=S;function k(q,J,K,oe){return q+J+K+oe>>>0}v.sum32_4=k;function R(q,J,K,oe,ee){return q+J+K+oe+ee>>>0}v.sum32_5=R;function A(q,J,K,oe){var ee=q[J],Q=q[J+1],le=oe+Q>>>0,Z=(le<oe?1:0)+K+ee;q[J]=Z>>>0,q[J+1]=le}v.sum64=A;function D(q,J,K,oe){var ee=J+oe>>>0,Q=(ee<J?1:0)+q+K;return Q>>>0}v.sum64_hi=D;function M(q,J,K,oe){var ee=J+oe;return ee>>>0}v.sum64_lo=M;function B(q,J,K,oe,ee,Q,le,Z){var $=0,se=J;se=se+oe>>>0,$+=se<J?1:0,se=se+Q>>>0,$+=se<Q?1:0,se=se+Z>>>0,$+=se<Z?1:0;var _e=q+K+ee+le+$;return _e>>>0}v.sum64_4_hi=B;function j(q,J,K,oe,ee,Q,le,Z){var $=J+oe+Q+Z;return $>>>0}v.sum64_4_lo=j;function Y(q,J,K,oe,ee,Q,le,Z,$,se){var _e=0,Ie=J;Ie=Ie+oe>>>0,_e+=Ie<J?1:0,Ie=Ie+Q>>>0,_e+=Ie<Q?1:0,Ie=Ie+Z>>>0,_e+=Ie<Z?1:0,Ie=Ie+se>>>0,_e+=Ie<se?1:0;var De=q+K+ee+le+$+_e;return De>>>0}v.sum64_5_hi=Y;function V(q,J,K,oe,ee,Q,le,Z,$,se){var _e=J+oe+Q+Z+se;return _e>>>0}v.sum64_5_lo=V;function G(q,J,K){var oe=J<<32-K|q>>>K;return oe>>>0}v.rotr64_hi=G;function ae(q,J,K){var oe=q<<32-K|J>>>K;return oe>>>0}v.rotr64_lo=ae;function ie(q,J,K){return q>>>K}v.shr64_hi=ie;function ue(q,J,K){var oe=q<<32-K|J>>>K;return oe>>>0}v.shr64_lo=ue},19340:function(d,v,e){"use strict";e.d(v,{Ep:function(){return S},PP:function(){return x},aU:function(){return i},cP:function(){return k},lX:function(){return u},q_:function(){return a}});var r=e(14809),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(D){}}}var f="beforeunload",o="hashchange",h="popstate";function u(R){R===void 0&&(R={});var A=R,D=A.window,M=D===void 0?document.defaultView:D,B=M.history;function j(){var Ie=M.location,De=Ie.pathname,Ze=Ie.search,Ne=Ie.hash,Lt=B.state||{};return[Lt.idx,l({pathname:De,search:Ze,hash:Ne,state:Lt.usr||null,key:Lt.key||"default"})]}var Y=null;function V(){if(Y)J.call(Y),Y=null;else{var Ie=i.Pop,De=j(),Ze=De[0],Ne=De[1];if(J.length){if(Ze!=null){var Lt=ie-Ze;Lt&&(Y={action:Ie,location:Ne,retry:function(){se(Lt*-1)}},se(Lt))}}else le(Ie)}}M.addEventListener(h,V);var G=i.Pop,ae=j(),ie=ae[0],ue=ae[1],q=_(),J=_();ie==null&&(ie=0,B.replaceState((0,r.Z)({},B.state,{idx:ie}),""));function K(Ie){return typeof Ie=="string"?Ie:S(Ie)}function oe(Ie,De){return De===void 0&&(De=null),l((0,r.Z)({pathname:ue.pathname,hash:"",search:""},typeof Ie=="string"?k(Ie):Ie,{state:De,key:b()}))}function ee(Ie,De){return[{usr:Ie.state,key:Ie.key,idx:De},K(Ie)]}function Q(Ie,De,Ze){return!J.length||(J.call({action:Ie,location:De,retry:Ze}),!1)}function le(Ie){G=Ie;var De=j();ie=De[0],ue=De[1],q.call({action:G,location:ue})}function Z(Ie,De){var Ze=i.Push,Ne=oe(Ie,De);function Lt(){Z(Ie,De)}if(Q(Ze,Ne,Lt)){var bt=ee(Ne,ie+1),kt=bt[0],jt=bt[1];try{B.pushState(kt,"",jt)}catch(Wt){M.location.assign(jt)}le(Ze)}}function $(Ie,De){var Ze=i.Replace,Ne=oe(Ie,De);function Lt(){$(Ie,De)}if(Q(Ze,Ne,Lt)){var bt=ee(Ne,ie),kt=bt[0],jt=bt[1];B.replaceState(kt,"",jt),le(Ze)}}function se(Ie){B.go(Ie)}var _e={get action(){return G},get location(){return ue},createHref:K,push:Z,replace:$,go:se,back:function(){se(-1)},forward:function(){se(1)},listen:function(De){return q.push(De)},block:function(De){var Ze=J.push(De);return J.length===1&&M.addEventListener(f,y),function(){Ze(),J.length||M.removeEventListener(f,y)}}};return _e}function a(R){R===void 0&&(R={});var A=R,D=A.window,M=D===void 0?document.defaultView:D,B=M.history;function j(){var De=k(M.location.hash.substr(1)),Ze=De.pathname,Ne=Ze===void 0?"/":Ze,Lt=De.search,bt=Lt===void 0?"":Lt,kt=De.hash,jt=kt===void 0?"":kt,Wt=B.state||{};return[Wt.idx,l({pathname:Ne,search:bt,hash:jt,state:Wt.usr||null,key:Wt.key||"default"})]}var Y=null;function V(){if(Y)J.call(Y),Y=null;else{var De=i.Pop,Ze=j(),Ne=Ze[0],Lt=Ze[1];if(J.length){if(Ne!=null){var bt=ie-Ne;bt&&(Y={action:De,location:Lt,retry:function(){_e(bt*-1)}},_e(bt))}}else Z(De)}}M.addEventListener(h,V),M.addEventListener(o,function(){var De=j(),Ze=De[1];S(Ze)!==S(ue)&&V()});var G=i.Pop,ae=j(),ie=ae[0],ue=ae[1],q=_(),J=_();ie==null&&(ie=0,B.replaceState((0,r.Z)({},B.state,{idx:ie}),""));function K(){var De=document.querySelector("base"),Ze="";if(De&&De.getAttribute("href")){var Ne=M.location.href,Lt=Ne.indexOf("#");Ze=Lt===-1?Ne:Ne.slice(0,Lt)}return Ze}function oe(De){return K()+"#"+(typeof De=="string"?De:S(De))}function ee(De,Ze){return Ze===void 0&&(Ze=null),l((0,r.Z)({pathname:ue.pathname,hash:"",search:""},typeof De=="string"?k(De):De,{state:Ze,key:b()}))}function Q(De,Ze){return[{usr:De.state,key:De.key,idx:Ze},oe(De)]}function le(De,Ze,Ne){return!J.length||(J.call({action:De,location:Ze,retry:Ne}),!1)}function Z(De){G=De;var Ze=j();ie=Ze[0],ue=Ze[1],q.call({action:G,location:ue})}function $(De,Ze){var Ne=i.Push,Lt=ee(De,Ze);function bt(){$(De,Ze)}if(le(Ne,Lt,bt)){var kt=Q(Lt,ie+1),jt=kt[0],Wt=kt[1];try{B.pushState(jt,"",Wt)}catch(zt){M.location.assign(Wt)}Z(Ne)}}function se(De,Ze){var Ne=i.Replace,Lt=ee(De,Ze);function bt(){se(De,Ze)}if(le(Ne,Lt,bt)){var kt=Q(Lt,ie),jt=kt[0],Wt=kt[1];B.replaceState(jt,"",Wt),Z(Ne)}}function _e(De){B.go(De)}var Ie={get action(){return G},get location(){return ue},createHref:oe,push:$,replace:se,go:_e,back:function(){_e(-1)},forward:function(){_e(1)},listen:function(Ze){return q.push(Ze)},block:function(Ze){var Ne=J.push(Ze);return J.length===1&&M.addEventListener(f,y),function(){Ne(),J.length||M.removeEventListener(f,y)}}};return Ie}function x(R){R===void 0&&(R={});var A=R,D=A.initialEntries,M=D===void 0?["/"]:D,B=A.initialIndex,j=M.map(function(Z){var $=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof Z=="string"?k(Z):Z));return $}),Y=p(B==null?j.length-1:B,0,j.length-1),V=i.Pop,G=j[Y],ae=_(),ie=_();function ue(Z){return typeof Z=="string"?Z:S(Z)}function q(Z,$){return $===void 0&&($=null),l((0,r.Z)({pathname:G.pathname,search:"",hash:""},typeof Z=="string"?k(Z):Z,{state:$,key:b()}))}function J(Z,$,se){return!ie.length||(ie.call({action:Z,location:$,retry:se}),!1)}function K(Z,$){V=Z,G=$,ae.call({action:V,location:G})}function oe(Z,$){var se=i.Push,_e=q(Z,$);function Ie(){oe(Z,$)}J(se,_e,Ie)&&(Y+=1,j.splice(Y,j.length,_e),K(se,_e))}function ee(Z,$){var se=i.Replace,_e=q(Z,$);function Ie(){ee(Z,$)}J(se,_e,Ie)&&(j[Y]=_e,K(se,_e))}function Q(Z){var $=p(Y+Z,0,j.length-1),se=i.Pop,_e=j[$];function Ie(){Q(Z)}J(se,_e,Ie)&&(Y=$,K(se,_e))}var le={get index(){return Y},get action(){return V},get location(){return G},createHref:ue,push:oe,replace:ee,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function($){return ae.push($)},block:function($){return ie.push($)}};return le}function p(R,A,D){return Math.min(Math.max(R,A),D)}function y(R){R.preventDefault(),R.returnValue=""}function _(){var R=[];return{get length(){return R.length},push:function(D){return R.push(D),function(){R=R.filter(function(M){return M!==D})}},call:function(D){R.forEach(function(M){return M&&M(D)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(R){var A=R.pathname,D=A===void 0?"/":A,M=R.search,B=M===void 0?"":M,j=R.hash,Y=j===void 0?"":j;return B&&B!=="?"&&(D+=B.charAt(0)==="?"?B:"?"+B),Y&&Y!=="#"&&(D+=Y.charAt(0)==="#"?Y:"#"+Y),D}function k(R){var A={};if(R){var D=R.indexOf("#");D>=0&&(A.hash=R.substr(D),R=R.substr(0,D));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 D=a(k);x&&(D=D.concat(x(k)));for(var M=h(S),B=h(k),j=0;j<D.length;++j){var Y=D[j];if(!l[Y]&&!(R&&R[Y])&&!(B&&B[Y])&&!(M&&M[Y])){var V=p(k,Y);try{u(S,Y,V)}catch(G){}}}}return S}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var 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/,D=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,B=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function j(Y,V){this._source_text=Y||"",this._options=new p(V),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}j.prototype.eatString=function(Y){var V="";for(this._ch=this._input.next();this._ch;){if(V+=this._ch,this._ch==="\\")V+=this._input.next();else if(Y.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return V},j.prototype.eatWhitespace=function(Y){for(var V=A.test(this._input.peek()),G=0;A.test(this._input.peek());)this._ch=this._input.next(),Y&&this._ch===`
|
|
|
`&&(G===0||G<this._options.max_preserve_newlines)&&(G++,this._output.add_new_line(!0));return V},j.prototype.foundNestedPseudoClass=function(){for(var Y=0,V=1,G=this._input.peek(V);G;){if(G==="{")return!0;if(G==="(")Y+=1;else if(G===")"){if(Y===0)return!1;Y-=1}else if(G===";"||G==="}")return!1;V++,G=this._input.peek(V)}return!1},j.prototype.print_string=function(Y){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(Y)},j.prototype.preserveSingleSpace=function(Y){Y&&(this._output.space_before_token=!0)},j.prototype.indent=function(){this._indentLevel++},j.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},j.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var Y=this._source_text,V=this._options.eol;V==="auto"&&(V=`
|
|
|
`,Y&&k.test(Y||"")&&(V=Y.match(k)[0])),Y=Y.replace(R,`
|
|
|
`);var G=Y.match(/^[\t ]*/)[0];this._output=new y(this._options,G),this._input=new _(Y),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var ae=0,ie=!1,ue=!1,q=!1,J=!1,K=!1,oe=this._ch,ee=!1,Q,le,Z;Q=this._input.read(D),le=Q!=="",Z=oe,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),oe=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var $=this._input.read(M),se=S.get_directives($);se&&se.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),ae===0&&_e.indexOf(":")!==-1&&(ue=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(le),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Ie=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Ie.match(/[ :]$/)&&(Ie=this.eatString(": ").replace(/\s+$/,""),this.print_string(Ie),this._output.space_before_token=!0),ae===0&&Ie.indexOf(":")!==-1?(ue=!0,this.indent()):Ie in this.NESTED_AT_RULE?(this._nestedLevel+=1,Ie in this.CONDITIONAL_GROUP_RULE&&(q=!0)):ae===0&&!ue&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(le),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")ue&&(ue=!1,this.outdent()),J=!1,q?(q=!1,ie=this._indentLevel>=this._nestedLevel):ie=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ie&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(Z==="("?this._output.space_before_token=!1:Z!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),Z==="{"&&this._output.trim(!0),ue&&(this.outdent(),ue=!1),this.print_string(this._ch),ie=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var De=0;De<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;De++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[De])){ee=!0;break}(ie||q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&ae===0?(this.print_string(":"),ue||(ue=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var Ze=Z==='"'||Z==="'";this.preserveSingleSpace(Ze||le),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")ee=!1,ae===0?(ue&&(this.outdent(),ue=!1),J=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),ae++,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(")")),ae&&(ae--,this.outdent()));else{var Ne=!1;this._input.lookBack("with")&&(Ne=!0),this.preserveSingleSpace(le||Ne),this.print_string(this._ch),ue&&Z==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),K=!0):(this.eatWhitespace(),ae++,this.indent())}else if(this._ch===")")ae&&(ae--,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&&(!ue||K)&&ae===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!ue&&ae===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 Lt=Z==='"'||Z==="'";this.preserveSingleSpace(Lt||le),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&ee&&this._output.add_new_line()}var bt=this._output.get_code(V);return bt},u.exports.Beautifier=j},function(u,a,x){var p=x(6).Options;function y(_){p.call(this,_,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var b=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||b;var S=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var 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"},D=function(M,B){this._input=new b(M),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new R(this._input)};D.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k,this._reset();for(var M,B=new S(A.START,""),j=null,Y=[],V=new k;B.type!==A.EOF;){for(M=this._get_next_token(B,j);this._is_comment(M);)V.add(M),M=this._get_next_token(B,j);V.isEmpty()||(M.comments_before=V,V=new k),M.parent=j,this._is_opening(M)?(Y.push(j),j=M):j&&this._is_closing(M,j)&&(M.opened=j,j.closed=M,j=Y.pop(),M.parent=j),M.previous=B,B.next=M,this.__tokens.add(M),B=M}return this.__tokens},D.prototype._is_first_token=function(){return this.__tokens.isEmpty()},D.prototype._reset=function(){},D.prototype._get_next_token=function(M,B){this._readWhitespace();var j=this._input.read(/.+/g);return j?this._create_token(A.RAW,j):this._create_token(A.EOF,"")},D.prototype._is_comment=function(M){return!1},D.prototype._is_opening=function(M){return!1},D.prototype._is_closing=function(M,B){return!1},D.prototype._create_token=function(M,B){var j=new S(M,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return j},D.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=D,p.exports.TOKEN=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,D=[],M=k.exec(R);M;)D.push(R.substring(A,M.index)),A=M.index+M[0].length,M=k.exec(R);return A<R.length?D.push(R.substring(A,R.length)):D.push(""),D},p.exports.WhitespacePattern=S},function(p){function y(_,b){this._input=_,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,b&&(this._starting_pattern=this._input.get_regexp(b._starting_pattern,!0),this._match_pattern=this._input.get_regexp(b._match_pattern,!0),this._until_pattern=this._input.get_regexp(b._until_pattern),this._until_after=b._until_after)}y.prototype.read=function(){var _=this._input.read(this._starting_pattern);return(!this._starting_pattern||_)&&(_+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),_},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(_){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.until=function(_){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(_),b._update(),b},y.prototype.starting_with=function(_){var b=this._create();return b._starting_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype.matching=function(_){var b=this._create();return b._match_pattern=this._input.get_regexp(_,!0),b._update(),b},y.prototype._create=function(){return new y(this._input,this)},y.prototype._update=function(){},p.exports.Pattern=y},function(p){function y(_,b){_=typeof _=="string"?_:_.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(_+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(_+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(_){if(!_.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(_);S;)b[S[1]]=S[2],S=this.__directive_pattern.exec(_);return b},y.prototype.readIgnored=function(_){return _.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,_){var b=_(12).Pattern,S={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function 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 D=new b(R);this.__patterns={handlebars_comment:D.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:D.starting_with(/{{{/).until_after(/}}}/),handlebars:D.starting_with(/{{/).until_after(/}}/),php:D.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:D.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:D.starting_with(/{%/).until_after(/%}/),django_value:D.starting_with(/{{/).until_after(/}}/),django_comment:D.starting_with(/{#/).until_after(/#}/),smarty:D.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:D.starting_with(/{\*/).until_after(/\*}/),smarty_literal:D.starting_with(/{literal}/).until_after(/{\/literal}/)}}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 D in S)A._disabled[D]=R.templating.indexOf(D)===-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 D=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&D==="?"&&(R=R||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&D==="%"&&(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,D,M){var B=new b(R,A,D,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]/,D=/\r\n|[\r\n]/g,M=function(J,K){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=J.max_preserve_newlines,this.preserve_newlines=J.preserve_newlines,this._output=new S(J,K)};M.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},M.prototype.set_space_before_token=function(J,K){this._output.space_before_token=J,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(J){this._output.add_raw_token(J)},M.prototype.print_preserved_newlines=function(J){var K=0;J.type!==R.TEXT&&J.previous.type!==R.TEXT&&(K=J.newlines?1:0),this.preserve_newlines&&(K=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var oe=0;oe<K;oe++)this.print_newline(oe>0);return K!==0},M.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(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(J){this._output.add_new_line(J)},M.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.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(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var B=function(J){for(var K=null,oe=J.next;oe.type!==R.EOF&&J.closed!==oe;){if(oe.type===R.ATTRIBUTE&&oe.text==="type"){oe.next&&oe.next.type===R.EQUALS&&oe.next.next&&oe.next.next.type===R.VALUE&&(K=oe.next.next.text);break}oe=oe.next}return K},j=function(J,K){var oe=null,ee=null;return K.closed?(J==="script"?oe="text/javascript":J==="style"&&(oe="text/css"),oe=B(K)||oe,oe.search("text/css")>-1?ee="css":oe.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ee="javascript":oe.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ee="html":oe.search(/test\/null/)>-1&&(ee="null"),ee):null};function Y(J,K){return K.indexOf(J)!==-1}function V(J,K,oe){this.parent=J||null,this.tag=K?K.tag_name:"",this.indent_level=oe||0,this.parser_token=K||null}function G(J){this._printer=J,this._current_frame=null}G.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},G.prototype.record_tag=function(J){var K=new V(this._current_frame,J,this._printer.indent_level);this._current_frame=K},G.prototype._try_pop_frame=function(J){var K=null;return J&&(K=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),K},G.prototype._get_frame=function(J,K){for(var oe=this._current_frame;oe&&J.indexOf(oe.tag)===-1;){if(K&&K.indexOf(oe.tag)!==-1){oe=null;break}oe=oe.parent}return oe},G.prototype.try_pop=function(J,K){var oe=this._get_frame([J],K);return this._try_pop_frame(oe)},G.prototype.indent_to_tag=function(J){var K=this._get_frame(J);K&&(this._printer.indent_level=K.indent_level)};function ae(J,K,oe,ee){this._source_text=J||"",K=K||{},this._js_beautify=oe,this._css_beautify=ee,this._tag_stack=null;var Q=new b(K,"html");this._options=Q,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"}ae.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var J=this._source_text,K=this._options.eol;this._options.eol==="auto"&&(K=`
|
|
|
`,J&&A.test(J)&&(K=J.match(A)[0])),J=J.replace(D,`
|
|
|
`);var oe=J.match(/^[\t ]*/)[0],ee={text:"",type:""},Q=new ie(this._options),le=new M(this._options,oe),Z=new k(J,this._options).tokenize();this._tag_stack=new G(le);for(var $=null,se=Z.next();se.type!==R.EOF;)se.type===R.TAG_OPEN||se.type===R.COMMENT?($=this._handle_tag_open(le,se,Q,ee,Z),Q=$):se.type===R.ATTRIBUTE||se.type===R.EQUALS||se.type===R.VALUE||se.type===R.TEXT&&!Q.tag_complete?$=this._handle_inside_tag(le,se,Q,ee):se.type===R.TAG_CLOSE?$=this._handle_tag_close(le,se,Q):se.type===R.TEXT?$=this._handle_text(le,se,Q):se.type===R.CONTROL_FLOW_OPEN?$=this._handle_control_flow_open(le,se):se.type===R.CONTROL_FLOW_CLOSE?$=this._handle_control_flow_close(le,se):le.add_raw_token(se),ee=$,se=Z.next();var _e=le._output.get_code(K);return _e},ae.prototype._handle_control_flow_open=function(J,K){var oe={text:K.text,type:K.type};return J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),K.newlines?J.print_preserved_newlines(K):J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),J.print_token(K),J.indent(),oe},ae.prototype._handle_control_flow_close=function(J,K){var oe={text:K.text,type:K.type};return J.deindent(),K.newlines?J.print_preserved_newlines(K):J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),J.print_token(K),oe},ae.prototype._handle_tag_close=function(J,K,oe){var ee={text:K.text,type:K.type};return J.alignment_size=0,oe.tag_complete=!0,J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),oe.is_unformatted?J.add_raw_token(K):(oe.tag_start_char==="<"&&(J.set_space_before_token(K.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&oe.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(K)),oe.indent_content&&!(oe.is_unformatted||oe.is_content_unformatted)&&(J.indent(),oe.indent_content=!1),!oe.is_inline_element&&!(oe.is_unformatted||oe.is_content_unformatted)&&J.set_wrap_point(),ee},ae.prototype._handle_inside_tag=function(J,K,oe,ee){var Q=oe.has_wrapped_attrs,le={text:K.text,type:K.type};return J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),oe.is_unformatted?J.add_raw_token(K):oe.tag_start_char==="{"&&K.type===R.TEXT?J.print_preserved_newlines(K)?(K.newlines=0,J.add_raw_token(K)):J.print_token(K):(K.type===R.ATTRIBUTE?J.set_space_before_token(!0):(K.type===R.EQUALS||K.type===R.VALUE&&K.previous.type===R.EQUALS)&&J.set_space_before_token(!1),K.type===R.ATTRIBUTE&&oe.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(K),Q=Q||K.newlines!==0),this._is_wrap_attributes_force&&oe.attr_count>=this._options.wrap_attributes_min_attrs&&(ee.type!==R.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(J.print_newline(!1),Q=!0)),J.print_token(K),Q=Q||J.previous_token_wrapped(),oe.has_wrapped_attrs=Q),le},ae.prototype._handle_text=function(J,K,oe){var ee={text:K.text,type:"TK_CONTENT"};return oe.custom_beautifier_name?this._print_custom_beatifier_text(J,K,oe):oe.is_unformatted||oe.is_content_unformatted?J.add_raw_token(K):(J.traverse_whitespace(K),J.print_token(K)),ee},ae.prototype._print_custom_beatifier_text=function(J,K,oe){var ee=this;if(K.text!==""){var Q=K.text,le,Z=1,$="",se="";oe.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?le=this._js_beautify:oe.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?le=this._css_beautify:oe.custom_beautifier_name==="html"&&(le=function(Lt,bt){var kt=new ae(Lt,bt,ee._js_beautify,ee._css_beautify);return kt.beautify()}),this._options.indent_scripts==="keep"?Z=0:this._options.indent_scripts==="separate"&&(Z=-J.indent_level);var _e=J.get_full_indent(Z);if(Q=Q.replace(/\n[ \t]*$/,""),oe.custom_beautifier_name!=="html"&&Q[0]==="<"&&Q.match(/^(<!--|<!\[CDATA\[)/)){var Ie=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(Q);if(!Ie){J.add_raw_token(K);return}$=_e+Ie[1]+`
|
|
|
`,Q=Ie[4],Ie[5]&&(se=_e+Ie[5]),Q=Q.replace(/\n[ \t]*$/,""),(Ie[2]||Ie[3].indexOf(`
|
|
|
`)!==-1)&&(Ie=Ie[3].match(/[ \t]+$/),Ie&&(K.whitespace_before=Ie[0]))}if(Q)if(le){var De=function(){this.eol=`
|
|
|
`};De.prototype=this._options.raw_options;var Ze=new De;Q=le(_e+Q,Ze)}else{var Ne=K.whitespace_before;Ne&&(Q=Q.replace(new RegExp(`
|
|
|
(`+Ne+")?","g"),`
|
|
|
`)),Q=_e+Q.replace(/\n/g,`
|
|
|
`+_e)}$&&(Q?Q=$+Q+`
|
|
|
`+se:Q=$+se),J.print_newline(!1),Q&&(K.text=Q,K.whitespace_before="",K.newlines=0,J.add_raw_token(K),J.print_newline(!0))}},ae.prototype._handle_tag_open=function(J,K,oe,ee,Q){var le=this._get_tag_open_token(K);if((oe.is_unformatted||oe.is_content_unformatted)&&!oe.is_empty_element&&K.type===R.TAG_OPEN&&!le.is_start_tag?(J.add_raw_token(K),le.start_tag_token=this._tag_stack.try_pop(le.tag_name)):(J.traverse_whitespace(K),this._set_tag_position(J,K,le,oe,ee),le.is_inline_element||J.set_wrap_point(),J.print_token(K)),le.is_start_tag&&this._is_wrap_attributes_force){var Z=0,$;do $=Q.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&&(J.alignment_size=le.alignment_size),le};var ie=function(J,K,oe){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="",!oe)this.tag_complete=!0;else{var ee;this.tag_start_char=oe.text[0],this.text=oe.text,this.tag_start_char==="<"?(ee=oe.text.match(/^<([^\s>]*)/),this.tag_check=ee?ee[1]:""):(ee=oe.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ee?ee[1]:"",(oe.text.startsWith("{{#>")||oe.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&oe.next!==null?this.tag_check=oe.next.text.split(" ")[0]:this.tag_check=oe.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),oe.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||oe.closed&&oe.closed.text==="/>";var Q=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(Q=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!J.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(Q)))}};ae.prototype._get_tag_open_token=function(J){var K=new ie(this._options,this._tag_stack.get_parser_token(),J);return K.alignment_size=this._options.wrap_attributes_indent_size,K.is_end_tag=K.is_end_tag||Y(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&&Y(K.tag_check,this._options.unformatted),K.is_content_unformatted=!K.is_empty_element&&Y(K.tag_check,this._options.content_unformatted),K.is_inline_element=Y(K.tag_name,this._options.inline)||this._options.inline_custom_elements&&K.tag_name.includes("-")||K.tag_start_char==="{",K},ae.prototype._set_tag_position=function(J,K,oe,ee,Q){if(oe.is_empty_element||(oe.is_end_tag?oe.start_tag_token=this._tag_stack.try_pop(oe.tag_name):(this._do_optional_end_element(oe)&&(oe.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(oe),(oe.tag_name==="script"||oe.tag_name==="style")&&!(oe.is_unformatted||oe.is_content_unformatted)&&(oe.custom_beautifier_name=j(oe.tag_check,K)))),Y(oe.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),oe.is_empty_element){if(oe.tag_start_char==="{"&&oe.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),oe.indent_content=!0;var le=J.current_line_has_match(/{{#if/);le||J.print_newline(!1)}oe.tag_name==="!--"&&Q.type===R.TAG_CLOSE&&ee.is_end_tag&&oe.text.indexOf(`
|
|
|
`)===-1||(oe.is_inline_element||oe.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,oe))}else if(oe.is_end_tag){var Z=!1;Z=oe.start_tag_token&&oe.start_tag_token.multiline_content,Z=Z||!oe.is_inline_element&&!(ee.is_inline_element||ee.is_unformatted)&&!(Q.type===R.TAG_CLOSE&&oe.start_tag_token===ee)&&Q.type!=="TK_CONTENT",(oe.is_content_unformatted||oe.is_unformatted)&&(Z=!1),Z&&J.print_newline(!1)}else oe.indent_content=!oe.custom_beautifier_name,oe.tag_start_char==="<"&&(oe.tag_name==="html"?oe.indent_content=this._options.indent_inner_html:oe.tag_name==="head"?oe.indent_content=this._options.indent_head_inner_html:oe.tag_name==="body"&&(oe.indent_content=this._options.indent_body_inner_html)),!(oe.is_inline_element||oe.is_unformatted)&&(Q.type!=="TK_CONTENT"||oe.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,oe)},ae.prototype._calcluate_parent_multiline=function(J,K){K.parent&&J._output.just_added_newline()&&!((K.is_inline_element||K.is_unformatted)&&K.parent.is_inline_element)&&(K.parent.multiline_content=!0)};var ue=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],q=["a","audio","del","ins","map","noscript","video"];ae.prototype._do_optional_end_element=function(J){var K=null;if(!(J.is_empty_element||!J.is_start_tag||!J.parent)){if(J.tag_name==="body")K=K||this._tag_stack.try_pop("head");else if(J.tag_name==="li")K=K||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(J.tag_name==="dd"||J.tag_name==="dt")K=K||this._tag_stack.try_pop("dt",["dl"]),K=K||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&ue.indexOf(J.tag_name)!==-1){var oe=J.parent.parent;(!oe||q.indexOf(oe.tag_name)===-1)&&(K=K||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(K=K||this._tag_stack.try_pop("rt",["ruby","rtc"]),K=K||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?K=K||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?K=K||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?K=K||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(K=K||this._tag_stack.try_pop("caption",["table"]),K=K||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.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"])):J.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"])):(J.tag_name==="th"||J.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 J.parent=this._tag_stack.get_parser_token(),K}},p.exports.Beautifier=ae},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,D={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:S.START,RAW:S.RAW,EOF:S.EOF},M=new k(/<\!--/,/-->/),B=function(j,Y){b.call(this,j,Y),this._current_tag_name="";var V=new R(this._input).read_options(this._options),G=new A(this._input);if(this.__patterns={word:V.until(/[\n\r\t <]/),word_control_flow_close_excluded:V.until(/[\n\r\t <}]/),single_quote:V.until_after(/'/),double_quote:V.until_after(/"/),attribute:V.until(/[\n\r\t =>]|\/>/),element_name:V.until(/[\n\r\t >\/]/),angular_control_flow_start:G.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:G.starting_with(/{{!--/).until_after(/--}}/),handlebars:G.starting_with(/{{/).until_after(/}}/),handlebars_open:G.until(/[\n\r\t }]/),handlebars_raw_close:G.until(/}}/),comment:G.starting_with(/<!--/).until_after(/-->/),cdata:G.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:G.starting_with(/<!\[/).until_after(/]>/),processing:G.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var ae=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=G.matching(ae).until_after(ae)}};B.prototype=new b,B.prototype._is_comment=function(j){return!1},B.prototype._is_opening=function(j){return j.type===D.TAG_OPEN||j.type===D.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(j,Y){return j.type===D.TAG_CLOSE&&Y&&((j.text===">"||j.text==="/>")&&Y.text[0]==="<"||j.text==="}}"&&Y.text[0]==="{"&&Y.text[1]==="{")||j.type===D.CONTROL_FLOW_CLOSE&&j.text==="}"&&Y.text.endsWith("{")},B.prototype._reset=function(){this._current_tag_name=""},B.prototype._get_next_token=function(j,Y){var V=null;this._readWhitespace();var G=this._input.peek();return G===null?this._create_token(D.EOF,""):(V=V||this._read_open_handlebars(G,Y),V=V||this._read_attribute(G,j,Y),V=V||this._read_close(G,Y),V=V||this._read_script_and_style(G,j),V=V||this._read_control_flows(G,Y),V=V||this._read_raw_content(G,j,Y),V=V||this._read_content_word(G,Y),V=V||this._read_comment_or_cdata(G),V=V||this._read_processing(G),V=V||this._read_open(G,Y),V=V||this._create_token(D.UNKNOWN,this._input.next()),V)},B.prototype._read_comment_or_cdata=function(j){var Y=null,V=null,G=null;if(j==="<"){var ae=this._input.peek(1);ae==="!"&&(V=this.__patterns.comment.read(),V?(G=M.get_directives(V),G&&G.ignore==="start"&&(V+=M.readIgnored(this._input))):V=this.__patterns.cdata.read()),V&&(Y=this._create_token(D.COMMENT,V),Y.directives=G)}return Y},B.prototype._read_processing=function(j){var Y=null,V=null,G=null;if(j==="<"){var ae=this._input.peek(1);(ae==="!"||ae==="?")&&(V=this.__patterns.conditional_comment.read(),V=V||this.__patterns.processing.read()),V&&(Y=this._create_token(D.COMMENT,V),Y.directives=G)}return Y},B.prototype._read_open=function(j,Y){var V=null,G=null;return(!Y||Y.type===D.CONTROL_FLOW_OPEN)&&j==="<"&&(V=this._input.next(),this._input.peek()==="/"&&(V+=this._input.next()),V+=this.__patterns.element_name.read(),G=this._create_token(D.TAG_OPEN,V)),G},B.prototype._read_open_handlebars=function(j,Y){var V=null,G=null;return(!Y||Y.type===D.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&j==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(V=this.__patterns.handlebars_comment.read(),V=V||this.__patterns.handlebars.read(),G=this._create_token(D.COMMENT,V)):(V=this.__patterns.handlebars_open.read(),G=this._create_token(D.TAG_OPEN,V))),G},B.prototype._read_control_flows=function(j,Y){var V="",G=null;if(!this._options.templating.includes("angular"))return G;if(j==="@"){if(V=this.__patterns.angular_control_flow_start.read(),V==="")return G;for(var ae=V.endsWith("(")?1:0,ie=0;!(V.endsWith("{")&&ae===ie);){var ue=this._input.next();if(ue===null)break;ue==="("?ae++:ue===")"&&ie++,V+=ue}G=this._create_token(D.CONTROL_FLOW_OPEN,V)}else j==="}"&&Y&&Y.type===D.CONTROL_FLOW_OPEN&&(V=this._input.next(),G=this._create_token(D.CONTROL_FLOW_CLOSE,V));return G},B.prototype._read_close=function(j,Y){var V=null,G=null;return Y&&Y.type===D.TAG_OPEN&&(Y.text[0]==="<"&&(j===">"||j==="/"&&this._input.peek(1)===">")?(V=this._input.next(),j==="/"&&(V+=this._input.next()),G=this._create_token(D.TAG_CLOSE,V)):Y.text[0]==="{"&&j==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),G=this._create_token(D.TAG_CLOSE,"}}"))),G},B.prototype._read_attribute=function(j,Y,V){var G=null,ae="";if(V&&V.text[0]==="<")if(j==="=")G=this._create_token(D.EQUALS,this._input.next());else if(j==='"'||j==="'"){var ie=this._input.next();j==='"'?ie+=this.__patterns.double_quote.read():ie+=this.__patterns.single_quote.read(),G=this._create_token(D.VALUE,ie)}else ae=this.__patterns.attribute.read(),ae&&(Y.type===D.EQUALS?G=this._create_token(D.VALUE,ae):G=this._create_token(D.ATTRIBUTE,ae));return G},B.prototype._is_content_unformatted=function(j){return this._options.void_elements.indexOf(j)===-1&&(this._options.content_unformatted.indexOf(j)!==-1||this._options.unformatted.indexOf(j)!==-1)},B.prototype._read_raw_content=function(j,Y,V){var G="";if(V&&V.text[0]==="{")G=this.__patterns.handlebars_raw_close.read();else if(Y.type===D.TAG_CLOSE&&Y.opened.text[0]==="<"&&Y.text[0]!=="/"){var ae=Y.opened.text.substr(1).toLowerCase();this._is_content_unformatted(ae)&&(G=this._input.readUntil(new RegExp("</"+ae+"[\\n\\r\\t ]*?>","ig")))}return G?this._create_token(D.TEXT,G):null},B.prototype._read_script_and_style=function(j,Y){if(Y.type===D.TAG_CLOSE&&Y.opened.text[0]==="<"&&Y.text[0]!=="/"){var V=Y.opened.text.substr(1).toLowerCase();if(V==="script"||V==="style"){var G=this._read_comment_or_cdata(j);if(G)return G.type=D.TEXT,G;var ae=this._input.readUntil(new RegExp("</"+V+"[\\n\\r\\t ]*?>","ig"));if(ae)return this._create_token(D.TEXT,ae)}}return null},B.prototype._read_content_word=function(j,Y){var V="";return this._options.unformatted_content_delimiter&&j===this._options.unformatted_content_delimiter[0]&&(V=this.__patterns.unformatted_content_delimiter.read()),V||(V=Y&&Y.type===D.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),V?this._create_token(D.TEXT,V):null},p.exports.Tokenizer=B,p.exports.TOKEN=D}],u={};function a(p){var y=u[p];if(y!==void 0)return y.exports;var _=u[p]={exports:{}};return h[p](_,_.exports,a),_.exports}var x=a(18);l=x})();var c=l;if(1)r=[e,e(58553),e(87804)],i=function(h){var u=e(58553),a=e(87804);return{html_beautify:function(x,p){return c(x,p,u.js_beautify,a.css_beautify)}}}.apply(v,r),i!==void 0&&(d.exports=i);else var f,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 D($,se){return se.indexOf($)!==-1}function M($){return $.replace(/^\s+/g,"")}function B($){for(var se={},_e=0;_e<$.length;_e++)se[$[_e].replace(/-/g,"_")]=$[_e];return se}function j($,se){return $&&$.type===A.RESERVED&&$.text===se}function Y($,se){return $&&$.type===A.RESERVED&&D($.text,se)}var V=["case","return","do","if","throw","else","await","break","continue","async"],G=["before-newline","after-newline","preserve-newline"],ae=B(G),ie=[ae.before_newline,ae.preserve_newline],ue={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function q($,se){se.multiline_frame||se.mode===ue.ForInitializer||se.mode===ue.Conditional||$.remove_indent(se.start_line_index)}function J($){$=$.replace(_.allLineBreaks,`
|
|
|
`);for(var se=[],_e=$.indexOf(`
|
|
|
`);_e!==-1;)se.push($.substring(0,_e)),$=$.substring(_e+1),_e=$.indexOf(`
|
|
|
`);return $.length&&se.push($),se}function K($){return $===ue.ArrayLiteral}function oe($){return D($,[ue.Expression,ue.ForInitializer,ue.Conditional])}function ee($,se){for(var _e=0;_e<$.length;_e++){var Ie=$[_e].trim();if(Ie.charAt(0)!==se)return!1}return!0}function Q($,se){for(var _e=0,Ie=$.length,De;_e<Ie;_e++)if(De=$[_e],De&&De.indexOf(se)!==0)return!1;return!0}function le($,se){se=se||{},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(se)}le.prototype.create_flags=function($,se){var _e=0;$&&(_e=$.indentation_level,!this._output.just_added_newline()&&$.line_indent_level>_e&&(_e=$.line_indent_level));var Ie={mode:se,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 se=$.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,se),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(ue.BlockStatement);var _e=new S($,this._options);return this._tokens=_e.tokenize(),$},le.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $,se=this._reset(this._source_text),_e=this._options.eol;this._options.eol==="auto"&&(_e=`
|
|
|
`,se&&_.lineBreak.test(se||"")&&(_e=se.match(_.lineBreak)[0]));for(var 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($,se){$.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($,se):$.type===A.COMMENT?this.handle_comment($,se):$.type===A.DOT?this.handle_dot($):$.type===A.EOF?this.handle_eof($):$.type===A.UNKNOWN?this.handle_unknown($,se):this.handle_unknown($,se)},le.prototype.handle_whitespace_and_comments=function($,se){var _e=$.newlines,Ie=this._options.keep_array_indentation&&K(this._flags.mode);if($.comments_before)for(var De=$.comments_before.next();De;)this.handle_whitespace_and_comments(De,se),this.handle_token(De,se),De=$.comments_before.next();if(Ie)for(var Ze=0;Ze<_e;Ze+=1)this.print_newline(Ze>0,se);else if(this._options.max_preserve_newlines&&_e>this._options.max_preserve_newlines&&(_e=this._options.max_preserve_newlines),this._options.preserve_newlines&&_e>1){this.print_newline(!1,se);for(var Ne=1;Ne<_e;Ne+=1)this.print_newline(!0,se)}};var Z=["async","break","continue","return","throw","yield"];le.prototype.allow_wrap_or_preserved_newline=function($,se){if(se=se===void 0?!1:se,!this._output.just_added_newline()){var _e=this._options.preserve_newlines&&$.newlines||se,Ie=D(this._flags.last_token.text,R)||D($.text,R);if(Ie){var De=D(this._flags.last_token.text,R)&&D(this._options.operator_position,ie)||D($.text,R);_e=_e&&De}if(_e)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(Y(this._flags.last_token,Z))return;this._output.set_wrap_point()}}},le.prototype.print_newline=function($,se){if(!se&&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===ue.Statement&&!(this._flags.if_block&&j(_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 se=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(se),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation($),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===ue.Statement&&q(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.start_of_object_property=function(){return this._flags.parent.mode===ue.ObjectLiteral&&this._flags.mode===ue.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Y(this._flags.last_token,["get","set"]))},le.prototype.start_of_statement=function($){var se=!1;return se=se||Y(this._flags.last_token,["var","let","const"])&&$.type===A.WORD,se=se||j(this._flags.last_token,"do"),se=se||!(this._flags.parent.mode===ue.ObjectLiteral&&this._flags.mode===ue.Statement)&&Y(this._flags.last_token,Z)&&!$.newlines,se=se||j(this._flags.last_token,"else")&&!(j($,"if")&&!$.comments_before),se=se||this._flags.last_token.type===A.END_EXPR&&(this._previous_flags.mode===ue.ForInitializer||this._previous_flags.mode===ue.Conditional),se=se||this._flags.last_token.type===A.WORD&&this._flags.mode===ue.BlockStatement&&!this._flags.in_case&&!($.text==="--"||$.text==="++")&&this._last_last_text!=="function"&&$.type!==A.WORD&&$.type!==A.RESERVED,se=se||this._flags.mode===ue.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||Y(this._flags.last_token,["get","set"])),se?(this.set_mode(ue.Statement),this.indent(),this.handle_whitespace_and_comments($,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline($,Y($,["do","for","if","while"])),!0):!1},le.prototype.handle_start_expr=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($);var se=ue.Expression;if($.text==="["){if(this._flags.last_token.type===A.WORD||this._flags.last_token.text===")"){Y(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token($),this.set_mode(se),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}se=ue.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()),D(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,se=ue.ForInitializer):D(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,se=ue.Conditional):D(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&$.whitespace_before===""?this._output.space_before_token=!1:(D(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);Y(_e,["async","function"])||_e.text==="*"&&Y(Ie,["async","function"])?this._output.space_before_token=!0:this._flags.mode===ue.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==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ue.ObjectLiteral&&D(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===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(se),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},le.prototype.handle_end_expr=function($){for(;this._flags.mode===ue.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(),q(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===ue.Conditional&&(this._previous_flags.mode=ue.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},le.prototype.handle_start_block=function($){this.handle_whitespace_and_comments($);var se=this._tokens.peek(),_e=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===A.END_EXPR?(this.set_mode(ue.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(ue.BlockStatement):_e&&(D(_e.text,[":",","])&&D(se.type,[A.STRING,A.WORD,A.RESERVED])||D(se.text,["get","set","..."])&&D(_e.type,[A.WORD,A.RESERVED]))?D(this._last_last_text,["class","interface"])&&!D(_e.text,[":",","])?this.set_mode(ue.BlockStatement):this.set_mode(ue.ObjectLiteral):this._flags.last_token.type===A.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(ue.BlockStatement):D(this._flags.last_token.type,[A.EQUALS,A.START_EXPR,A.COMMA,A.OPERATOR])||Y(this._flags.last_token,["return","throw","import","default"])?this.set_mode(ue.ObjectLiteral):this.set_mode(ue.BlockStatement),this._flags.last_token&&Y(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Ie=!se.comments_before&&se.text==="}",De=Ie&&this._flags.last_word==="function"&&this._flags.last_token.type===A.END_EXPR;if(this._options.brace_preserve_inline){var Ze=0,Ne=null;this._flags.inline_frame=!0;do if(Ze+=1,Ne=this._tokens.peek(Ze-1),Ne.newlines){this._flags.inline_frame=!1;break}while(Ne.type!==A.EOF&&!(Ne.type===A.END_BLOCK&&Ne.opened===$))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==A.OPERATOR&&(De||this._flags.last_token.type===A.EQUALS||Y(this._flags.last_token,V)&&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&&(D(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===ue.Statement;)this.restore_mode();var se=this._flags.last_token.type===A.START_BLOCK;this._flags.inline_frame&&!se?this._output.space_before_token=!0:this._options.brace_style==="expand"?se||this.print_newline():se||(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(D($.text,["set","get"])&&this._flags.mode!==ue.ObjectLiteral)$.type=A.WORD;else if($.text==="import"&&D(this._tokens.peek().text,["(","."]))$.type=A.WORD;else if(D($.text,["as","from"])&&!this._flags.import_block)$.type=A.WORD;else if(this._flags.mode===ue.ObjectLiteral){var se=this._tokens.peek();se.text===":"&&($.type=A.WORD)}}if(this.start_of_statement($)?Y(this._flags.last_token,["var","let","const"])&&$.type===A.WORD&&(this._flags.declaration_statement=!0):$.newlines&&!oe(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||!Y(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(j($,"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&&j($,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===ue.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&Y($,["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()&&!(D(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===ue.ObjectLiteral)&&this.allow_wrap_or_preserved_newline($),j($,"function")){(D(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(D(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?Y(this._flags.last_token,["get","set","new","export"])||Y(this._flags.last_token,Z)?this._output.space_before_token=!0:j(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===A.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(oe(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":Y($,["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===ue.BlockStatement?_e="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&oe(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==="*"&&(D(this._last_last_text,["function","yield"])||this._flags.mode===ue.ObjectLiteral&&D(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"),Y($,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"),Y($,["else","catch","finally"]))if((!(this._flags.last_token.type===A.END_BLOCK&&this._previous_flags.mode===ue.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"?Y(this._flags.last_token,V)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&Y($,["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||!Y($,["var","let","const"]))&&this._flags.last_token.text!==":"&&(j($,"if")&&j($.previous,"else")?this._output.space_before_token=!0:this.print_newline()):Y($,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&&j($,"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 se=this._tokens.peek();this._flags.mode===ue.Statement&&!(this._flags.if_block&&j(se,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token($)},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?(oe(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===ue.ObjectLiteral||this._flags.mode===ue.Statement&&this._flags.parent.mode===ue.ObjectLiteral?(this._flags.mode===ue.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)},le.prototype.handle_operator=function($){var se=$.text==="*"&&(Y(this._flags.last_token,["function","yield"])||D(this._flags.last_token.type,[A.START_BLOCK,A.COMMA,A.END_BLOCK,A.SEMICOLON])),_e=D($.text,["-","+"])&&(D(this._flags.last_token.type,[A.START_BLOCK,A.START_EXPR,A.EQUALS,A.OPERATOR])||D(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement($)){var Ie=!se;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(D($.text,["-","+"])&&this.start_of_object_property()){this.print_token($);return}if(this._flags.last_token.type===A.OPERATOR&&D(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 De=!0,Ze=!0,Ne=!1;if($.text===":"?this._flags.ternary_depth===0?De=!1:(this._flags.ternary_depth-=1,Ne=!0):$.text==="?"&&(this._flags.ternary_depth+=1),!_e&&!se&&this._options.preserve_newlines&&D($.text,R)){var Lt=$.text===":",bt=Lt&&Ne,kt=Lt&&!Ne;switch(this._options.operator_position){case ae.before_newline:this._output.space_before_token=!kt,this.print_token($),(!Lt||bt)&&this.allow_wrap_or_preserved_newline($),this._output.space_before_token=!0;return;case ae.after_newline:this._output.space_before_token=!0,!Lt||bt?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 ae.preserve_newline:kt||this.allow_wrap_or_preserved_newline($),De=!(this._output.just_added_newline()||kt),this._output.space_before_token=De,this.print_token($),this._output.space_before_token=!0;return}}if(se){this.allow_wrap_or_preserved_newline($),De=!1;var jt=this._tokens.peek();Ze=jt&&D(jt.type,[A.WORD,A.RESERVED])}else if($.text==="...")this.allow_wrap_or_preserved_newline($),De=this._flags.last_token.type===A.START_BLOCK,Ze=!1;else if(D($.text,["--","++","!","~"])||_e){if((this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR)&&this.allow_wrap_or_preserved_newline($),De=!1,Ze=!1,$.newlines&&($.text==="--"||$.text==="++"||$.text==="~")){var Wt=Y(this._flags.last_token,V)&&$.newlines;Wt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Wt,!0)}this._flags.last_token.text===";"&&oe(this._flags.mode)&&(De=!0),this._flags.last_token.type===A.RESERVED?De=!0:this._flags.last_token.type===A.END_EXPR?De=!(this._flags.last_token.text==="]"&&($.text==="--"||$.text==="++")):this._flags.last_token.type===A.OPERATOR&&(De=D($.text,["--","-","++","+"])&&D(this._flags.last_token.text,["--","-","++","+"]),D($.text,["+","-"])&&D(this._flags.last_token.text,["--","++"])&&(Ze=!0)),(this._flags.mode===ue.BlockStatement&&!this._flags.inline_frame||this._flags.mode===ue.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||De,this.print_token($),this._output.space_before_token=Ze},le.prototype.handle_block_comment=function($,se){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,se),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($,se)},le.prototype.print_block_commment=function($,se){var _e=J($.text),Ie,De=!1,Ze=!1,Ne=$.whitespace_before,Lt=Ne.length;if(this.print_newline(!1,se),this.print_token_line_indentation($),this._output.add_token(_e[0]),this.print_newline(!1,se),_e.length>1){for(_e=_e.slice(1),De=ee(_e,"*"),Ze=Q(_e,Ne),De&&(this._flags.alignment=1),Ie=0;Ie<_e.length;Ie++)De?(this.print_token_line_indentation($),this._output.add_token(M(_e[Ie]))):Ze&&_e[Ie]?(this.print_token_line_indentation($),this._output.add_token(_e[Ie].substring(Lt))):(this._output.current_line.set_indent(-1),this._output.add_token(_e[Ie])),this.print_newline(!1,se);this._flags.alignment=0}},le.prototype.handle_comment=function($,se){$.newlines?this.print_newline(!1,se):this._output.trim(!0),this._output.space_before_token=!0,this.print_token($),this.print_newline(!1,se)},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),Y(this._flags.last_token,V)?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($,se){this.print_token($),$.text[$.text.length-1]===`
|
|
|
`&&this.print_newline(!1,se)},le.prototype.handle_eof=function($){for(;this._flags.mode===ue.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,Q){return Q.indexOf(ee)!==-1}var D={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:_.START,RAW:_.RAW,EOF:_.EOF},M=new b(/\/\*/,/\*\//),B=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,j=/[0-9]/,Y=/[^\d\.]/,V=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),G=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";G=G.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),G="\\?\\.(?!\\d) "+G,G=G.replace(/ /g,"|");var ae=new RegExp(G),ie="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),ue=ie.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),q=new RegExp("^(?:"+ue.join("|")+")$"),J,K=function(ee,Q){y.call(this,ee,Q),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(ae),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===D.COMMENT||ee.type===D.BLOCK_COMMENT||ee.type===D.UNKNOWN},K.prototype._is_opening=function(ee){return ee.type===D.START_BLOCK||ee.type===D.START_EXPR},K.prototype._is_closing=function(ee,Q){return(ee.type===D.END_BLOCK||ee.type===D.END_EXPR)&&Q&&(ee.text==="]"&&Q.text==="["||ee.text===")"&&Q.text==="("||ee.text==="}"&&Q.text==="{")},K.prototype._reset=function(){J=!1},K.prototype._get_next_token=function(ee,Q){var le=null;this._readWhitespace();var Z=this._input.peek();return Z===null?this._create_token(D.EOF,""):(le=le||this._read_non_javascript(Z),le=le||this._read_string(Z),le=le||this._read_pair(Z,this._input.peek(1)),le=le||this._read_word(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(D.UNKNOWN,this._input.next()),le)},K.prototype._read_word=function(ee){var Q;if(Q=this.__patterns.identifier.read(),Q!=="")return Q=Q.replace(S.allLineBreaks,`
|
|
|
`),!(ee.type===D.DOT||ee.type===D.RESERVED&&(ee.text==="set"||ee.text==="get"))&&q.test(Q)?(Q==="in"||Q==="of")&&(ee.type===D.WORD||ee.type===D.STRING)?this._create_token(D.OPERATOR,Q):this._create_token(D.RESERVED,Q):this._create_token(D.WORD,Q);if(Q=this.__patterns.number.read(),Q!=="")return this._create_token(D.WORD,Q)},K.prototype._read_singles=function(ee){var Q=null;return ee==="("||ee==="["?Q=this._create_token(D.START_EXPR,ee):ee===")"||ee==="]"?Q=this._create_token(D.END_EXPR,ee):ee==="{"?Q=this._create_token(D.START_BLOCK,ee):ee==="}"?Q=this._create_token(D.END_BLOCK,ee):ee===";"?Q=this._create_token(D.SEMICOLON,ee):ee==="."&&Y.test(this._input.peek(1))?Q=this._create_token(D.DOT,ee):ee===","&&(Q=this._create_token(D.COMMA,ee)),Q&&this._input.next(),Q},K.prototype._read_pair=function(ee,Q){var le=null;return ee==="#"&&Q==="{"&&(le=this._create_token(D.START_BLOCK,ee+Q)),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(D.EQUALS,ee):ee==="?."?this._create_token(D.DOT,ee):this._create_token(D.OPERATOR,ee)},K.prototype._read_non_javascript=function(ee){var Q="";if(ee==="#"){if(this._is_first_token()&&(Q=this.__patterns.shebang.read(),Q))return this._create_token(D.UNKNOWN,Q.trim()+`
|
|
|
`);if(Q=this.__patterns.include.read(),Q)return this._create_token(D.UNKNOWN,Q.trim()+`
|
|
|
`);ee=this._input.next();var le="#";if(this._input.hasNext()&&this._input.testChar(j)){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(D.WORD,le)}this._input.back()}else if(ee==="<"&&this._is_first_token()){if(Q=this.__patterns.html_comment_start.read(),Q){for(;this._input.hasNext()&&!this._input.testChar(S.newline);)Q+=this._input.next();return J=!0,this._create_token(D.COMMENT,Q)}}else if(J&&ee==="-"&&(Q=this.__patterns.html_comment_end.read(),Q))return J=!1,this._create_token(D.COMMENT,Q);return null},K.prototype._read_comment=function(ee){var Q=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,`
|
|
|
`),Q=this._create_token(D.BLOCK_COMMENT,le),Q.directives=Z}else this._input.peek(1)==="/"&&(le=this.__patterns.comment.read(),Q=this._create_token(D.COMMENT,le))}return Q},K.prototype._read_string=function(ee){if(ee==="`"||ee==="'"||ee==='"'){var Q=this._input.next();return this.has_char_escapes=!1,ee==="`"?Q+=this._read_string_recursive("`",!0,"${"):Q+=this._read_string_recursive(ee),this.has_char_escapes&&this._options.unescape_strings&&(Q=oe(Q)),this._input.peek()===ee&&(Q+=this._input.next()),Q=Q.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(D.STRING,Q)}return null},K.prototype._allow_regexp_or_xml=function(ee){return ee.type===D.RESERVED&&A(ee.text,["return","case","throw","else","do","typeof","yield"])||ee.type===D.END_EXPR&&ee.text===")"&&ee.opened.previous.type===D.RESERVED&&A(ee.opened.previous.text,["if","while","for"])||A(ee.type,[D.COMMENT,D.START_EXPR,D.START_BLOCK,D.START,D.END_BLOCK,D.OPERATOR,D.EQUALS,D.EOF,D.SEMICOLON,D.COMMA])},K.prototype._read_regexp=function(ee,Q){if(ee==="/"&&this._allow_regexp_or_xml(Q)){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(D.STRING,le)}return null},K.prototype._read_xml=function(ee,Q){if(this._options.e4x&&ee==="<"&&this._allow_regexp_or_xml(Q)){var le="",Z=this.__patterns.xml.read_match();if(Z){for(var $=Z[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),se=$.indexOf("{")===0,_e=0;Z;){var Ie=!!Z[1],De=Z[2],Ze=!!Z[Z.length-1]||De.slice(0,8)==="![CDATA[";if(!Ze&&(De===$||se&&De.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(D.STRING,le)}}return null};function oe(ee){for(var Q="",le=0,Z=new p(ee),$=null;Z.hasNext();)if($=Z.match(/([\s]|[^\\]|\\\\)+/g),$&&(Q+=$[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{Q+="\\",Z.hasNext()&&(Q+=Z.next());continue}if(!$||(le=parseInt($[1],16),le>126&&le<=255&&$[0].indexOf("x")===0))return ee;le>=0&&le<32||le>1114111?Q+="\\"+$[0]:le===34||le===39||le===92?Q+="\\"+String.fromCharCode(le):Q+=String.fromCharCode(le)}return Q}K.prototype._read_string_recursive=function(ee,Q,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 se=$.read(),_e="";this._input.hasNext();){if(_e=this._input.next(),_e===ee||!Q&&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("}",Q,"`"):_e+=this._read_string_recursive("`",Q,"${"),this._input.hasNext()&&(_e+=this._input.next())));_e+=$.read(),se+=_e}return se},u.exports.Tokenizer=K,u.exports.TOKEN=D,u.exports.positionable_operators=V.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,""),D=null,M=[],B=new _;A.type!==S.EOF;){for(R=this._get_next_token(A,D);this._is_comment(R);)B.add(R),R=this._get_next_token(A,D);B.isEmpty()||(R.comments_before=B,B=new _),R.parent=D,this._is_opening(R)?(M.push(D),D=R):D&&this._is_closing(R,D)&&(R.opened=D,D.closed=R,D=M.pop(),R.parent=D),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 D=this._input.read(/.+/g);return D?this._create_token(S.RAW,D):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 D=new y(R,A,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return D},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(H,X,ne){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=H,this.start=X,this.end=ne}return Ve.range=function(X,ne){return ne?!X||!X.loc||!ne.loc||X.loc.lexer!==ne.loc.lexer?null:new Ve(X.loc.lexer,X.loc.start,ne.loc.end):X&&X.loc},Ve}(),c=function(){function Ve(X,ne){this.text=void 0,this.loc=void 0,this.text=X,this.loc=ne}var H=Ve.prototype;return H.range=function(ne,he){return new Ve(he,l.range(this,ne))},Ve}(),f=function Ve(H,X){this.position=void 0;var ne="KaTeX parse error: "+H,he,Ae=X&&X.loc;if(Ae&&Ae.start<=Ae.end){var Ge=Ae.lexer.input;he=Ae.start;var Pt=Ae.end;he===Ge.length?ne+=" at end of input: ":ne+=" at position "+(he+1)+": ";var Ut=Ge.slice(he,Pt).replace(/[^]/g,"$&\u0332"),sr;he>15?sr="\u2026"+Ge.slice(he-15,he):sr=Ge.slice(0,he);var Er;Pt+15<Ge.length?Er=Ge.slice(Pt,Pt+15)+"\u2026":Er=Ge.slice(Pt),ne+=sr+Ut+Er}var Ht=new Error(ne);return Ht.name="ParseError",Ht.__proto__=Ve.prototype,Ht.position=he,Ht};f.prototype.__proto__=Error.prototype;var o=f,h=function(H,X){return H.indexOf(X)!==-1},u=function(H,X){return H===void 0?X:H},a=/([A-Z])/g,x=function(H){return H.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},y=/[&><"']/g;function _(Ve){return String(Ve).replace(y,function(H){return p[H]})}var b=function Ve(H){return H.type==="ordgroup"||H.type==="color"?H.body.length===1?Ve(H.body[0]):H:H.type==="font"?Ve(H.body):H},S=function(H){var X=b(H);return X.type==="mathord"||X.type==="textord"||X.type==="atom"},k=function(H){if(!H)throw new Error("Expected non-null, but got "+String(H));return H},R=function(H){var X=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(H);return X!=null?X[1]:"_relative"},A={contains:h,deflt:u,escape:_,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:R},D=function(){function Ve(X){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,X=X||{},this.displayMode=A.deflt(X.displayMode,!1),this.output=A.deflt(X.output,"htmlAndMathml"),this.leqno=A.deflt(X.leqno,!1),this.fleqn=A.deflt(X.fleqn,!1),this.throwOnError=A.deflt(X.throwOnError,!0),this.errorColor=A.deflt(X.errorColor,"#cc0000"),this.macros=X.macros||{},this.minRuleThickness=Math.max(0,A.deflt(X.minRuleThickness,0)),this.colorIsTextColor=A.deflt(X.colorIsTextColor,!1),this.strict=A.deflt(X.strict,"warn"),this.trust=A.deflt(X.trust,!1),this.maxSize=Math.max(0,A.deflt(X.maxSize,1/0)),this.maxExpand=Math.max(0,A.deflt(X.maxExpand,1e3))}var H=Ve.prototype;return H.reportNonstrict=function(ne,he,Ae){var Ge=this.strict;if(typeof Ge=="function"&&(Ge=Ge(ne,he,Ae)),!(!Ge||Ge==="ignore")){if(Ge===!0||Ge==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(he+" ["+ne+"]"),Ae);Ge==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ne+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+he+" ["+ne+"]"))}},H.useStrictBehavior=function(ne,he,Ae){var Ge=this.strict;if(typeof Ge=="function")try{Ge=Ge(ne,he,Ae)}catch(Pt){Ge="error"}return!Ge||Ge==="ignore"?!1:Ge===!0||Ge==="error"?!0:Ge==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(he+" ["+ne+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ge+"': "+he+" ["+ne+"]")),!1)},H.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(X,ne,he){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=X,this.size=ne,this.cramped=he}var H=Ve.prototype;return H.sup=function(){return q[J[this.id]]},H.sub=function(){return q[K[this.id]]},H.fracNum=function(){return q[oe[this.id]]},H.fracDen=function(){return q[ee[this.id]]},H.cramp=function(){return q[Q[this.id]]},H.text=function(){return q[le[this.id]]},H.isTight=function(){return this.size>=2},Ve}(),B=0,j=1,Y=2,V=3,G=4,ae=5,ie=6,ue=7,q=[new M(B,0,!1),new M(j,0,!0),new M(Y,1,!1),new M(V,1,!0),new M(G,2,!1),new M(ae,2,!0),new M(ie,3,!1),new M(ue,3,!0)],J=[G,ae,G,ae,ie,ue,ie,ue],K=[ae,ae,ae,ae,ue,ue,ue,ue],oe=[Y,V,G,ae,ie,ue,ie,ue],ee=[V,V,ae,ae,ue,ue,ue,ue],Q=[j,j,V,V,ae,ae,ue,ue],le=[B,j,Y,V,Y,V,Y,V],Z={DISPLAY:q[B],TEXT:q[Y],SCRIPT:q[G],SCRIPTSCRIPT:q[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 se(Ve){for(var H=0;H<$.length;H++)for(var X=$[H],ne=0;ne<X.blocks.length;ne++){var he=X.blocks[ne];if(Ve>=he[0]&&Ve<=he[1])return X.name}return null}var _e=[];$.forEach(function(Ve){return Ve.blocks.forEach(function(H){return _e.push.apply(_e,H)})});function Ie(Ve){for(var H=0;H<_e.length;H+=2)if(Ve>=_e[H]&&Ve<=_e[H+1])return!0;return!1}var De=80,Ze=function(H,X){return"M95,"+(622+H+X)+`
|
|
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
|
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
|
|
|
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
|
|
|
c69,-144,104.5,-217.7,106.5,-221
|
|
|
l`+H/2.075+" -"+H+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+H)+`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+H)+" "+X+"h400000v"+(40+H)+"h-400000z"},Ne=function(H,X){return"M263,"+(601+H+X)+`c0.7,0,18,39.7,52,119
|
|
|
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
|
|
|
c340,-704.7,510.7,-1060.3,512,-1067
|
|
|
l`+H/2.084+" -"+H+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+H)+`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+H)+" "+X+"h400000v"+(40+H)+"h-400000z"},Lt=function(H,X){return"M983 "+(10+H+X)+`
|
|
|
l`+H/3.13+" -"+H+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+H)+`
|
|
|
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+H)+" "+X+"h400000v"+(40+H)+"h-400000z"},bt=function(H,X){return"M424,"+(2398+H+X)+`
|
|
|
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
|
|
|
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
|
|
|
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
|
|
|
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
|
|
|
l`+H/4.223+" -"+H+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+H)+`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+H)+" "+X+`
|
|
|
h400000v`+(40+H)+"h-400000z"},kt=function(H,X){return"M473,"+(2713+H+X)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+H/5.298+" -"+H+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+H)+`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+H)+" "+X+"h400000v"+(40+H)+"H1017.7z"},jt=function(H,X,ne){var he=ne-54-X-H;return"M702 "+(H+X)+"H400000"+(40+H)+`
|
|
|
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 `+X+"H400000v"+(40+H)+"H742z"},Wt=function(H,X,ne){X=1e3*X;var he="";switch(H){case"sqrtMain":he=Ze(X,De);break;case"sqrtSize1":he=Ne(X,De);break;case"sqrtSize2":he=Lt(X,De);break;case"sqrtSize3":he=bt(X,De);break;case"sqrtSize4":he=kt(X,De);break;case"sqrtTall":he=jt(X,De,ne)}return he},zt={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`},We=function(){function Ve(X){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=X,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var H=Ve.prototype;return H.hasClass=function(ne){return A.contains(this.classes,ne)},H.toNode=function(){for(var ne=document.createDocumentFragment(),he=0;he<this.children.length;he++)ne.appendChild(this.children[he].toNode());return ne},H.toMarkup=function(){for(var ne="",he=0;he<this.children.length;he++)ne+=this.children[he].toMarkup();return ne},H.toText=function(){var ne=function(Ae){return Ae.toText()};return this.children.map(ne).join("")},Ve}(),St=function(H){return H.filter(function(X){return X}).join(" ")},Ft=function(H,X,ne){if(this.classes=H||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=ne||{},X){X.style.isTight()&&this.classes.push("mtight");var he=X.getColor();he&&(this.style.color=he)}},tt=function(H){var X=document.createElement(H);X.className=St(this.classes);for(var ne in this.style)this.style.hasOwnProperty(ne)&&(X.style[ne]=this.style[ne]);for(var he in this.attributes)this.attributes.hasOwnProperty(he)&&X.setAttribute(he,this.attributes[he]);for(var Ae=0;Ae<this.children.length;Ae++)X.appendChild(this.children[Ae].toNode());return X},_t=function(H){var X="<"+H;this.classes.length&&(X+=' class="'+A.escape(St(this.classes))+'"');var ne="";for(var he in this.style)this.style.hasOwnProperty(he)&&(ne+=A.hyphenate(he)+":"+this.style[he]+";");ne&&(X+=' style="'+A.escape(ne)+'"');for(var Ae in this.attributes)this.attributes.hasOwnProperty(Ae)&&(X+=" "+Ae+'="'+A.escape(this.attributes[Ae])+'"');X+=">";for(var Ge=0;Ge<this.children.length;Ge++)X+=this.children[Ge].toMarkup();return X+="</"+H+">",X},dt=function(){function Ve(X,ne,he,Ae){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ft.call(this,X,he,Ae),this.children=ne||[]}var H=Ve.prototype;return H.setAttribute=function(ne,he){this.attributes[ne]=he},H.hasClass=function(ne){return A.contains(this.classes,ne)},H.toNode=function(){return tt.call(this,"span")},H.toMarkup=function(){return _t.call(this,"span")},Ve}(),qe=function(){function Ve(X,ne,he,Ae){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ft.call(this,ne,Ae),this.children=he||[],this.setAttribute("href",X)}var H=Ve.prototype;return H.setAttribute=function(ne,he){this.attributes[ne]=he},H.hasClass=function(ne){return A.contains(this.classes,ne)},H.toNode=function(){return tt.call(this,"a")},H.toMarkup=function(){return _t.call(this,"a")},Ve}(),Be=function(){function Ve(X,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=X,this.classes=["mord"],this.style=he}var H=Ve.prototype;return H.hasClass=function(ne){return A.contains(this.classes,ne)},H.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},H.toMarkup=function(){var ne="<img src='"+this.src+" 'alt='"+this.alt+"' ",he="";for(var Ae in this.style)this.style.hasOwnProperty(Ae)&&(he+=A.hyphenate(Ae)+":"+this.style[Ae]+";");return he&&(ne+=' style="'+A.escape(he)+'"'),ne+="'/>",ne},Ve}(),Ee={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Re=function(){function Ve(X,ne,he,Ae,Ge,Pt,Ut,sr){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=X,this.height=ne||0,this.depth=he||0,this.italic=Ae||0,this.skew=Ge||0,this.width=Pt||0,this.classes=Ut||[],this.style=sr||{},this.maxFontSize=0;var Er=se(this.text.charCodeAt(0));Er&&this.classes.push(Er+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Ee[this.text])}var H=Ve.prototype;return H.hasClass=function(ne){return A.contains(this.classes,ne)},H.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=St(this.classes));for(var Ae in this.style)this.style.hasOwnProperty(Ae)&&(he=he||document.createElement("span"),he.style[Ae]=this.style[Ae]);return he?(he.appendChild(ne),he):ne},H.toMarkup=function(){var ne=!1,he="<span";this.classes.length&&(ne=!0,he+=' class="',he+=A.escape(St(this.classes)),he+='"');var Ae="";this.italic>0&&(Ae+="margin-right:"+this.italic+"em;");for(var Ge in this.style)this.style.hasOwnProperty(Ge)&&(Ae+=A.hyphenate(Ge)+":"+this.style[Ge]+";");Ae&&(ne=!0,he+=' style="'+A.escape(Ae)+'"');var Pt=A.escape(this.text);return ne?(he+=">",he+=Pt,he+="</span>",he):Pt},Ve}(),He=function(){function Ve(X,ne){this.children=void 0,this.attributes=void 0,this.children=X||[],this.attributes=ne||{}}var H=Ve.prototype;return H.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"svg");for(var Ae in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ae)&&he.setAttribute(Ae,this.attributes[Ae]);for(var Ge=0;Ge<this.children.length;Ge++)he.appendChild(this.children[Ge].toNode());return he},H.toMarkup=function(){var ne="<svg";for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&(ne+=" "+he+"='"+this.attributes[he]+"'");ne+=">";for(var Ae=0;Ae<this.children.length;Ae++)ne+=this.children[Ae].toMarkup();return ne+="</svg>",ne},Ve}(),ze=function(){function Ve(X,ne){this.pathName=void 0,this.alternate=void 0,this.pathName=X,this.alternate=ne}var H=Ve.prototype;return H.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",zt[this.pathName]),he},H.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+zt[this.pathName]+"'/>"},Ve}(),Ye=function(){function Ve(X){this.attributes=void 0,this.attributes=X||{}}var H=Ve.prototype;return H.toNode=function(){var ne="http://www.w3.org/2000/svg",he=document.createElementNS(ne,"line");for(var Ae in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Ae)&&he.setAttribute(Ae,this.attributes[Ae]);return he},H.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 ht(Ve){if(Ve instanceof Re)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function xt(Ve){if(Ve instanceof dt)return Ve;throw new Error("Expected span<HtmlDomNode> but got "+String(Ve)+".")}var nr={"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]}},er={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]},Le={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Qe(Ve,H){nr[Ve]=H}function Qt(Ve,H,X){if(!nr[H])throw new Error("Font metrics not found for font: "+H+".");var ne=Ve.charCodeAt(0),he=nr[H][ne];if(!he&&Ve[0]in Le&&(ne=Le[Ve[0]].charCodeAt(0),he=nr[H][ne]),!he&&X==="text"&&Ie(ne)&&(he=nr[H][77]),he)return{depth:he[0],height:he[1],italic:he[2],skew:he[3],width:he[4]}}var Rt={};function Vt(Ve){var H;if(Ve>=5?H=0:Ve>=3?H=1:H=2,!Rt[H]){var X=Rt[H]={cssEmPerMu:er.quad[H]/18};for(var ne in er)er.hasOwnProperty(ne)&&(X[ne]=er[ne][H])}return Rt[H]}var Gt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Tt={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},qt={math:{},text:{}},Ue=qt;function fe(Ve,H,X,ne,he,Ae){qt[Ve][he]={font:H,group:X,replace:ne},Ae&&ne&&(qt[Ve][ne]=qt[Ve][he])}var pe="math",Ot="text",Ce="main",ct="ams",Kt="accent-token",At="bin",Te="close",Et="inner",ye="mathord",et="op-token",yt="open",Nt="punct",Fe="rel",Ir="spacing",Ct="textord";fe(pe,Ce,Fe,"\u2261","\\equiv",!0),fe(pe,Ce,Fe,"\u227A","\\prec",!0),fe(pe,Ce,Fe,"\u227B","\\succ",!0),fe(pe,Ce,Fe,"\u223C","\\sim",!0),fe(pe,Ce,Fe,"\u22A5","\\perp"),fe(pe,Ce,Fe,"\u2AAF","\\preceq",!0),fe(pe,Ce,Fe,"\u2AB0","\\succeq",!0),fe(pe,Ce,Fe,"\u2243","\\simeq",!0),fe(pe,Ce,Fe,"\u2223","\\mid",!0),fe(pe,Ce,Fe,"\u226A","\\ll",!0),fe(pe,Ce,Fe,"\u226B","\\gg",!0),fe(pe,Ce,Fe,"\u224D","\\asymp",!0),fe(pe,Ce,Fe,"\u2225","\\parallel"),fe(pe,Ce,Fe,"\u22C8","\\bowtie",!0),fe(pe,Ce,Fe,"\u2323","\\smile",!0),fe(pe,Ce,Fe,"\u2291","\\sqsubseteq",!0),fe(pe,Ce,Fe,"\u2292","\\sqsupseteq",!0),fe(pe,Ce,Fe,"\u2250","\\doteq",!0),fe(pe,Ce,Fe,"\u2322","\\frown",!0),fe(pe,Ce,Fe,"\u220B","\\ni",!0),fe(pe,Ce,Fe,"\u221D","\\propto",!0),fe(pe,Ce,Fe,"\u22A2","\\vdash",!0),fe(pe,Ce,Fe,"\u22A3","\\dashv",!0),fe(pe,Ce,Fe,"\u220B","\\owns"),fe(pe,Ce,Nt,".","\\ldotp"),fe(pe,Ce,Nt,"\u22C5","\\cdotp"),fe(pe,Ce,Ct,"#","\\#"),fe(Ot,Ce,Ct,"#","\\#"),fe(pe,Ce,Ct,"&","\\&"),fe(Ot,Ce,Ct,"&","\\&"),fe(pe,Ce,Ct,"\u2135","\\aleph",!0),fe(pe,Ce,Ct,"\u2200","\\forall",!0),fe(pe,Ce,Ct,"\u210F","\\hbar",!0),fe(pe,Ce,Ct,"\u2203","\\exists",!0),fe(pe,Ce,Ct,"\u2207","\\nabla",!0),fe(pe,Ce,Ct,"\u266D","\\flat",!0),fe(pe,Ce,Ct,"\u2113","\\ell",!0),fe(pe,Ce,Ct,"\u266E","\\natural",!0),fe(pe,Ce,Ct,"\u2663","\\clubsuit",!0),fe(pe,Ce,Ct,"\u2118","\\wp",!0),fe(pe,Ce,Ct,"\u266F","\\sharp",!0),fe(pe,Ce,Ct,"\u2662","\\diamondsuit",!0),fe(pe,Ce,Ct,"\u211C","\\Re",!0),fe(pe,Ce,Ct,"\u2661","\\heartsuit",!0),fe(pe,Ce,Ct,"\u2111","\\Im",!0),fe(pe,Ce,Ct,"\u2660","\\spadesuit",!0),fe(Ot,Ce,Ct,"\xA7","\\S",!0),fe(Ot,Ce,Ct,"\xB6","\\P",!0),fe(pe,Ce,Ct,"\u2020","\\dag"),fe(Ot,Ce,Ct,"\u2020","\\dag"),fe(Ot,Ce,Ct,"\u2020","\\textdagger"),fe(pe,Ce,Ct,"\u2021","\\ddag"),fe(Ot,Ce,Ct,"\u2021","\\ddag"),fe(Ot,Ce,Ct,"\u2021","\\textdaggerdbl"),fe(pe,Ce,Te,"\u23B1","\\rmoustache",!0),fe(pe,Ce,yt,"\u23B0","\\lmoustache",!0),fe(pe,Ce,Te,"\u27EF","\\rgroup",!0),fe(pe,Ce,yt,"\u27EE","\\lgroup",!0),fe(pe,Ce,At,"\u2213","\\mp",!0),fe(pe,Ce,At,"\u2296","\\ominus",!0),fe(pe,Ce,At,"\u228E","\\uplus",!0),fe(pe,Ce,At,"\u2293","\\sqcap",!0),fe(pe,Ce,At,"\u2217","\\ast"),fe(pe,Ce,At,"\u2294","\\sqcup",!0),fe(pe,Ce,At,"\u25EF","\\bigcirc"),fe(pe,Ce,At,"\u2219","\\bullet"),fe(pe,Ce,At,"\u2021","\\ddagger"),fe(pe,Ce,At,"\u2240","\\wr",!0),fe(pe,Ce,At,"\u2A3F","\\amalg"),fe(pe,Ce,At,"&","\\And"),fe(pe,Ce,Fe,"\u27F5","\\longleftarrow",!0),fe(pe,Ce,Fe,"\u21D0","\\Leftarrow",!0),fe(pe,Ce,Fe,"\u27F8","\\Longleftarrow",!0),fe(pe,Ce,Fe,"\u27F6","\\longrightarrow",!0),fe(pe,Ce,Fe,"\u21D2","\\Rightarrow",!0),fe(pe,Ce,Fe,"\u27F9","\\Longrightarrow",!0),fe(pe,Ce,Fe,"\u2194","\\leftrightarrow",!0),fe(pe,Ce,Fe,"\u27F7","\\longleftrightarrow",!0),fe(pe,Ce,Fe,"\u21D4","\\Leftrightarrow",!0),fe(pe,Ce,Fe,"\u27FA","\\Longleftrightarrow",!0),fe(pe,Ce,Fe,"\u21A6","\\mapsto",!0),fe(pe,Ce,Fe,"\u27FC","\\longmapsto",!0),fe(pe,Ce,Fe,"\u2197","\\nearrow",!0),fe(pe,Ce,Fe,"\u21A9","\\hookleftarrow",!0),fe(pe,Ce,Fe,"\u21AA","\\hookrightarrow",!0),fe(pe,Ce,Fe,"\u2198","\\searrow",!0),fe(pe,Ce,Fe,"\u21BC","\\leftharpoonup",!0),fe(pe,Ce,Fe,"\u21C0","\\rightharpoonup",!0),fe(pe,Ce,Fe,"\u2199","\\swarrow",!0),fe(pe,Ce,Fe,"\u21BD","\\leftharpoondown",!0),fe(pe,Ce,Fe,"\u21C1","\\rightharpoondown",!0),fe(pe,Ce,Fe,"\u2196","\\nwarrow",!0),fe(pe,Ce,Fe,"\u21CC","\\rightleftharpoons",!0),fe(pe,ct,Fe,"\u226E","\\nless",!0),fe(pe,ct,Fe,"\uE010","\\@nleqslant"),fe(pe,ct,Fe,"\uE011","\\@nleqq"),fe(pe,ct,Fe,"\u2A87","\\lneq",!0),fe(pe,ct,Fe,"\u2268","\\lneqq",!0),fe(pe,ct,Fe,"\uE00C","\\@lvertneqq"),fe(pe,ct,Fe,"\u22E6","\\lnsim",!0),fe(pe,ct,Fe,"\u2A89","\\lnapprox",!0),fe(pe,ct,Fe,"\u2280","\\nprec",!0),fe(pe,ct,Fe,"\u22E0","\\npreceq",!0),fe(pe,ct,Fe,"\u22E8","\\precnsim",!0),fe(pe,ct,Fe,"\u2AB9","\\precnapprox",!0),fe(pe,ct,Fe,"\u2241","\\nsim",!0),fe(pe,ct,Fe,"\uE006","\\@nshortmid"),fe(pe,ct,Fe,"\u2224","\\nmid",!0),fe(pe,ct,Fe,"\u22AC","\\nvdash",!0),fe(pe,ct,Fe,"\u22AD","\\nvDash",!0),fe(pe,ct,Fe,"\u22EA","\\ntriangleleft"),fe(pe,ct,Fe,"\u22EC","\\ntrianglelefteq",!0),fe(pe,ct,Fe,"\u228A","\\subsetneq",!0),fe(pe,ct,Fe,"\uE01A","\\@varsubsetneq"),fe(pe,ct,Fe,"\u2ACB","\\subsetneqq",!0),fe(pe,ct,Fe,"\uE017","\\@varsubsetneqq"),fe(pe,ct,Fe,"\u226F","\\ngtr",!0),fe(pe,ct,Fe,"\uE00F","\\@ngeqslant"),fe(pe,ct,Fe,"\uE00E","\\@ngeqq"),fe(pe,ct,Fe,"\u2A88","\\gneq",!0),fe(pe,ct,Fe,"\u2269","\\gneqq",!0),fe(pe,ct,Fe,"\uE00D","\\@gvertneqq"),fe(pe,ct,Fe,"\u22E7","\\gnsim",!0),fe(pe,ct,Fe,"\u2A8A","\\gnapprox",!0),fe(pe,ct,Fe,"\u2281","\\nsucc",!0),fe(pe,ct,Fe,"\u22E1","\\nsucceq",!0),fe(pe,ct,Fe,"\u22E9","\\succnsim",!0),fe(pe,ct,Fe,"\u2ABA","\\succnapprox",!0),fe(pe,ct,Fe,"\u2246","\\ncong",!0),fe(pe,ct,Fe,"\uE007","\\@nshortparallel"),fe(pe,ct,Fe,"\u2226","\\nparallel",!0),fe(pe,ct,Fe,"\u22AF","\\nVDash",!0),fe(pe,ct,Fe,"\u22EB","\\ntriangleright"),fe(pe,ct,Fe,"\u22ED","\\ntrianglerighteq",!0),fe(pe,ct,Fe,"\uE018","\\@nsupseteqq"),fe(pe,ct,Fe,"\u228B","\\supsetneq",!0),fe(pe,ct,Fe,"\uE01B","\\@varsupsetneq"),fe(pe,ct,Fe,"\u2ACC","\\supsetneqq",!0),fe(pe,ct,Fe,"\uE019","\\@varsupsetneqq"),fe(pe,ct,Fe,"\u22AE","\\nVdash",!0),fe(pe,ct,Fe,"\u2AB5","\\precneqq",!0),fe(pe,ct,Fe,"\u2AB6","\\succneqq",!0),fe(pe,ct,Fe,"\uE016","\\@nsubseteqq"),fe(pe,ct,At,"\u22B4","\\unlhd"),fe(pe,ct,At,"\u22B5","\\unrhd"),fe(pe,ct,Fe,"\u219A","\\nleftarrow",!0),fe(pe,ct,Fe,"\u219B","\\nrightarrow",!0),fe(pe,ct,Fe,"\u21CD","\\nLeftarrow",!0),fe(pe,ct,Fe,"\u21CF","\\nRightarrow",!0),fe(pe,ct,Fe,"\u21AE","\\nleftrightarrow",!0),fe(pe,ct,Fe,"\u21CE","\\nLeftrightarrow",!0),fe(pe,ct,Fe,"\u25B3","\\vartriangle"),fe(pe,ct,Ct,"\u210F","\\hslash"),fe(pe,ct,Ct,"\u25BD","\\triangledown"),fe(pe,ct,Ct,"\u25CA","\\lozenge"),fe(pe,ct,Ct,"\u24C8","\\circledS"),fe(pe,ct,Ct,"\xAE","\\circledR"),fe(Ot,ct,Ct,"\xAE","\\circledR"),fe(pe,ct,Ct,"\u2221","\\measuredangle",!0),fe(pe,ct,Ct,"\u2204","\\nexists"),fe(pe,ct,Ct,"\u2127","\\mho"),fe(pe,ct,Ct,"\u2132","\\Finv",!0),fe(pe,ct,Ct,"\u2141","\\Game",!0),fe(pe,ct,Ct,"\u2035","\\backprime"),fe(pe,ct,Ct,"\u25B2","\\blacktriangle"),fe(pe,ct,Ct,"\u25BC","\\blacktriangledown"),fe(pe,ct,Ct,"\u25A0","\\blacksquare"),fe(pe,ct,Ct,"\u29EB","\\blacklozenge"),fe(pe,ct,Ct,"\u2605","\\bigstar"),fe(pe,ct,Ct,"\u2222","\\sphericalangle",!0),fe(pe,ct,Ct,"\u2201","\\complement",!0),fe(pe,ct,Ct,"\xF0","\\eth",!0),fe(pe,ct,Ct,"\u2571","\\diagup"),fe(pe,ct,Ct,"\u2572","\\diagdown"),fe(pe,ct,Ct,"\u25A1","\\square"),fe(pe,ct,Ct,"\u25A1","\\Box"),fe(pe,ct,Ct,"\u25CA","\\Diamond"),fe(pe,ct,Ct,"\xA5","\\yen",!0),fe(Ot,ct,Ct,"\xA5","\\yen",!0),fe(pe,ct,Ct,"\u2713","\\checkmark",!0),fe(Ot,ct,Ct,"\u2713","\\checkmark"),fe(pe,ct,Ct,"\u2136","\\beth",!0),fe(pe,ct,Ct,"\u2138","\\daleth",!0),fe(pe,ct,Ct,"\u2137","\\gimel",!0),fe(pe,ct,Ct,"\u03DD","\\digamma",!0),fe(pe,ct,Ct,"\u03F0","\\varkappa"),fe(pe,ct,yt,"\u250C","\\ulcorner",!0),fe(pe,ct,Te,"\u2510","\\urcorner",!0),fe(pe,ct,yt,"\u2514","\\llcorner",!0),fe(pe,ct,Te,"\u2518","\\lrcorner",!0),fe(pe,ct,Fe,"\u2266","\\leqq",!0),fe(pe,ct,Fe,"\u2A7D","\\leqslant",!0),fe(pe,ct,Fe,"\u2A95","\\eqslantless",!0),fe(pe,ct,Fe,"\u2272","\\lesssim",!0),fe(pe,ct,Fe,"\u2A85","\\lessapprox",!0),fe(pe,ct,Fe,"\u224A","\\approxeq",!0),fe(pe,ct,At,"\u22D6","\\lessdot"),fe(pe,ct,Fe,"\u22D8","\\lll",!0),fe(pe,ct,Fe,"\u2276","\\lessgtr",!0),fe(pe,ct,Fe,"\u22DA","\\lesseqgtr",!0),fe(pe,ct,Fe,"\u2A8B","\\lesseqqgtr",!0),fe(pe,ct,Fe,"\u2251","\\doteqdot"),fe(pe,ct,Fe,"\u2253","\\risingdotseq",!0),fe(pe,ct,Fe,"\u2252","\\fallingdotseq",!0),fe(pe,ct,Fe,"\u223D","\\backsim",!0),fe(pe,ct,Fe,"\u22CD","\\backsimeq",!0),fe(pe,ct,Fe,"\u2AC5","\\subseteqq",!0),fe(pe,ct,Fe,"\u22D0","\\Subset",!0),fe(pe,ct,Fe,"\u228F","\\sqsubset",!0),fe(pe,ct,Fe,"\u227C","\\preccurlyeq",!0),fe(pe,ct,Fe,"\u22DE","\\curlyeqprec",!0),fe(pe,ct,Fe,"\u227E","\\precsim",!0),fe(pe,ct,Fe,"\u2AB7","\\precapprox",!0),fe(pe,ct,Fe,"\u22B2","\\vartriangleleft"),fe(pe,ct,Fe,"\u22B4","\\trianglelefteq"),fe(pe,ct,Fe,"\u22A8","\\vDash",!0),fe(pe,ct,Fe,"\u22AA","\\Vvdash",!0),fe(pe,ct,Fe,"\u2323","\\smallsmile"),fe(pe,ct,Fe,"\u2322","\\smallfrown"),fe(pe,ct,Fe,"\u224F","\\bumpeq",!0),fe(pe,ct,Fe,"\u224E","\\Bumpeq",!0),fe(pe,ct,Fe,"\u2267","\\geqq",!0),fe(pe,ct,Fe,"\u2A7E","\\geqslant",!0),fe(pe,ct,Fe,"\u2A96","\\eqslantgtr",!0),fe(pe,ct,Fe,"\u2273","\\gtrsim",!0),fe(pe,ct,Fe,"\u2A86","\\gtrapprox",!0),fe(pe,ct,At,"\u22D7","\\gtrdot"),fe(pe,ct,Fe,"\u22D9","\\ggg",!0),fe(pe,ct,Fe,"\u2277","\\gtrless",!0),fe(pe,ct,Fe,"\u22DB","\\gtreqless",!0),fe(pe,ct,Fe,"\u2A8C","\\gtreqqless",!0),fe(pe,ct,Fe,"\u2256","\\eqcirc",!0),fe(pe,ct,Fe,"\u2257","\\circeq",!0),fe(pe,ct,Fe,"\u225C","\\triangleq",!0),fe(pe,ct,Fe,"\u223C","\\thicksim"),fe(pe,ct,Fe,"\u2248","\\thickapprox"),fe(pe,ct,Fe,"\u2AC6","\\supseteqq",!0),fe(pe,ct,Fe,"\u22D1","\\Supset",!0),fe(pe,ct,Fe,"\u2290","\\sqsupset",!0),fe(pe,ct,Fe,"\u227D","\\succcurlyeq",!0),fe(pe,ct,Fe,"\u22DF","\\curlyeqsucc",!0),fe(pe,ct,Fe,"\u227F","\\succsim",!0),fe(pe,ct,Fe,"\u2AB8","\\succapprox",!0),fe(pe,ct,Fe,"\u22B3","\\vartriangleright"),fe(pe,ct,Fe,"\u22B5","\\trianglerighteq"),fe(pe,ct,Fe,"\u22A9","\\Vdash",!0),fe(pe,ct,Fe,"\u2223","\\shortmid"),fe(pe,ct,Fe,"\u2225","\\shortparallel"),fe(pe,ct,Fe,"\u226C","\\between",!0),fe(pe,ct,Fe,"\u22D4","\\pitchfork",!0),fe(pe,ct,Fe,"\u221D","\\varpropto"),fe(pe,ct,Fe,"\u25C0","\\blacktriangleleft"),fe(pe,ct,Fe,"\u2234","\\therefore",!0),fe(pe,ct,Fe,"\u220D","\\backepsilon"),fe(pe,ct,Fe,"\u25B6","\\blacktriangleright"),fe(pe,ct,Fe,"\u2235","\\because",!0),fe(pe,ct,Fe,"\u22D8","\\llless"),fe(pe,ct,Fe,"\u22D9","\\gggtr"),fe(pe,ct,At,"\u22B2","\\lhd"),fe(pe,ct,At,"\u22B3","\\rhd"),fe(pe,ct,Fe,"\u2242","\\eqsim",!0),fe(pe,Ce,Fe,"\u22C8","\\Join"),fe(pe,ct,Fe,"\u2251","\\Doteq",!0),fe(pe,ct,At,"\u2214","\\dotplus",!0),fe(pe,ct,At,"\u2216","\\smallsetminus"),fe(pe,ct,At,"\u22D2","\\Cap",!0),fe(pe,ct,At,"\u22D3","\\Cup",!0),fe(pe,ct,At,"\u2A5E","\\doublebarwedge",!0),fe(pe,ct,At,"\u229F","\\boxminus",!0),fe(pe,ct,At,"\u229E","\\boxplus",!0),fe(pe,ct,At,"\u22C7","\\divideontimes",!0),fe(pe,ct,At,"\u22C9","\\ltimes",!0),fe(pe,ct,At,"\u22CA","\\rtimes",!0),fe(pe,ct,At,"\u22CB","\\leftthreetimes",!0),fe(pe,ct,At,"\u22CC","\\rightthreetimes",!0),fe(pe,ct,At,"\u22CF","\\curlywedge",!0),fe(pe,ct,At,"\u22CE","\\curlyvee",!0),fe(pe,ct,At,"\u229D","\\circleddash",!0),fe(pe,ct,At,"\u229B","\\circledast",!0),fe(pe,ct,At,"\u22C5","\\centerdot"),fe(pe,ct,At,"\u22BA","\\intercal",!0),fe(pe,ct,At,"\u22D2","\\doublecap"),fe(pe,ct,At,"\u22D3","\\doublecup"),fe(pe,ct,At,"\u22A0","\\boxtimes",!0),fe(pe,ct,Fe,"\u21E2","\\dashrightarrow",!0),fe(pe,ct,Fe,"\u21E0","\\dashleftarrow",!0),fe(pe,ct,Fe,"\u21C7","\\leftleftarrows",!0),fe(pe,ct,Fe,"\u21C6","\\leftrightarrows",!0),fe(pe,ct,Fe,"\u21DA","\\Lleftarrow",!0),fe(pe,ct,Fe,"\u219E","\\twoheadleftarrow",!0),fe(pe,ct,Fe,"\u21A2","\\leftarrowtail",!0),fe(pe,ct,Fe,"\u21AB","\\looparrowleft",!0),fe(pe,ct,Fe,"\u21CB","\\leftrightharpoons",!0),fe(pe,ct,Fe,"\u21B6","\\curvearrowleft",!0),fe(pe,ct,Fe,"\u21BA","\\circlearrowleft",!0),fe(pe,ct,Fe,"\u21B0","\\Lsh",!0),fe(pe,ct,Fe,"\u21C8","\\upuparrows",!0),fe(pe,ct,Fe,"\u21BF","\\upharpoonleft",!0),fe(pe,ct,Fe,"\u21C3","\\downharpoonleft",!0),fe(pe,ct,Fe,"\u22B8","\\multimap",!0),fe(pe,ct,Fe,"\u21AD","\\leftrightsquigarrow",!0),fe(pe,ct,Fe,"\u21C9","\\rightrightarrows",!0),fe(pe,ct,Fe,"\u21C4","\\rightleftarrows",!0),fe(pe,ct,Fe,"\u21A0","\\twoheadrightarrow",!0),fe(pe,ct,Fe,"\u21A3","\\rightarrowtail",!0),fe(pe,ct,Fe,"\u21AC","\\looparrowright",!0),fe(pe,ct,Fe,"\u21B7","\\curvearrowright",!0),fe(pe,ct,Fe,"\u21BB","\\circlearrowright",!0),fe(pe,ct,Fe,"\u21B1","\\Rsh",!0),fe(pe,ct,Fe,"\u21CA","\\downdownarrows",!0),fe(pe,ct,Fe,"\u21BE","\\upharpoonright",!0),fe(pe,ct,Fe,"\u21C2","\\downharpoonright",!0),fe(pe,ct,Fe,"\u21DD","\\rightsquigarrow",!0),fe(pe,ct,Fe,"\u21DD","\\leadsto"),fe(pe,ct,Fe,"\u21DB","\\Rrightarrow",!0),fe(pe,ct,Fe,"\u21BE","\\restriction"),fe(pe,Ce,Ct,"\u2018","`"),fe(pe,Ce,Ct,"$","\\$"),fe(Ot,Ce,Ct,"$","\\$"),fe(Ot,Ce,Ct,"$","\\textdollar"),fe(pe,Ce,Ct,"%","\\%"),fe(Ot,Ce,Ct,"%","\\%"),fe(pe,Ce,Ct,"_","\\_"),fe(Ot,Ce,Ct,"_","\\_"),fe(Ot,Ce,Ct,"_","\\textunderscore"),fe(pe,Ce,Ct,"\u2220","\\angle",!0),fe(pe,Ce,Ct,"\u221E","\\infty",!0),fe(pe,Ce,Ct,"\u2032","\\prime"),fe(pe,Ce,Ct,"\u25B3","\\triangle"),fe(pe,Ce,Ct,"\u0393","\\Gamma",!0),fe(pe,Ce,Ct,"\u0394","\\Delta",!0),fe(pe,Ce,Ct,"\u0398","\\Theta",!0),fe(pe,Ce,Ct,"\u039B","\\Lambda",!0),fe(pe,Ce,Ct,"\u039E","\\Xi",!0),fe(pe,Ce,Ct,"\u03A0","\\Pi",!0),fe(pe,Ce,Ct,"\u03A3","\\Sigma",!0),fe(pe,Ce,Ct,"\u03A5","\\Upsilon",!0),fe(pe,Ce,Ct,"\u03A6","\\Phi",!0),fe(pe,Ce,Ct,"\u03A8","\\Psi",!0),fe(pe,Ce,Ct,"\u03A9","\\Omega",!0),fe(pe,Ce,Ct,"A","\u0391"),fe(pe,Ce,Ct,"B","\u0392"),fe(pe,Ce,Ct,"E","\u0395"),fe(pe,Ce,Ct,"Z","\u0396"),fe(pe,Ce,Ct,"H","\u0397"),fe(pe,Ce,Ct,"I","\u0399"),fe(pe,Ce,Ct,"K","\u039A"),fe(pe,Ce,Ct,"M","\u039C"),fe(pe,Ce,Ct,"N","\u039D"),fe(pe,Ce,Ct,"O","\u039F"),fe(pe,Ce,Ct,"P","\u03A1"),fe(pe,Ce,Ct,"T","\u03A4"),fe(pe,Ce,Ct,"X","\u03A7"),fe(pe,Ce,Ct,"\xAC","\\neg",!0),fe(pe,Ce,Ct,"\xAC","\\lnot"),fe(pe,Ce,Ct,"\u22A4","\\top"),fe(pe,Ce,Ct,"\u22A5","\\bot"),fe(pe,Ce,Ct,"\u2205","\\emptyset"),fe(pe,ct,Ct,"\u2205","\\varnothing"),fe(pe,Ce,ye,"\u03B1","\\alpha",!0),fe(pe,Ce,ye,"\u03B2","\\beta",!0),fe(pe,Ce,ye,"\u03B3","\\gamma",!0),fe(pe,Ce,ye,"\u03B4","\\delta",!0),fe(pe,Ce,ye,"\u03F5","\\epsilon",!0),fe(pe,Ce,ye,"\u03B6","\\zeta",!0),fe(pe,Ce,ye,"\u03B7","\\eta",!0),fe(pe,Ce,ye,"\u03B8","\\theta",!0),fe(pe,Ce,ye,"\u03B9","\\iota",!0),fe(pe,Ce,ye,"\u03BA","\\kappa",!0),fe(pe,Ce,ye,"\u03BB","\\lambda",!0),fe(pe,Ce,ye,"\u03BC","\\mu",!0),fe(pe,Ce,ye,"\u03BD","\\nu",!0),fe(pe,Ce,ye,"\u03BE","\\xi",!0),fe(pe,Ce,ye,"\u03BF","\\omicron",!0),fe(pe,Ce,ye,"\u03C0","\\pi",!0),fe(pe,Ce,ye,"\u03C1","\\rho",!0),fe(pe,Ce,ye,"\u03C3","\\sigma",!0),fe(pe,Ce,ye,"\u03C4","\\tau",!0),fe(pe,Ce,ye,"\u03C5","\\upsilon",!0),fe(pe,Ce,ye,"\u03D5","\\phi",!0),fe(pe,Ce,ye,"\u03C7","\\chi",!0),fe(pe,Ce,ye,"\u03C8","\\psi",!0),fe(pe,Ce,ye,"\u03C9","\\omega",!0),fe(pe,Ce,ye,"\u03B5","\\varepsilon",!0),fe(pe,Ce,ye,"\u03D1","\\vartheta",!0),fe(pe,Ce,ye,"\u03D6","\\varpi",!0),fe(pe,Ce,ye,"\u03F1","\\varrho",!0),fe(pe,Ce,ye,"\u03C2","\\varsigma",!0),fe(pe,Ce,ye,"\u03C6","\\varphi",!0),fe(pe,Ce,At,"\u2217","*"),fe(pe,Ce,At,"+","+"),fe(pe,Ce,At,"\u2212","-"),fe(pe,Ce,At,"\u22C5","\\cdot",!0),fe(pe,Ce,At,"\u2218","\\circ"),fe(pe,Ce,At,"\xF7","\\div",!0),fe(pe,Ce,At,"\xB1","\\pm",!0),fe(pe,Ce,At,"\xD7","\\times",!0),fe(pe,Ce,At,"\u2229","\\cap",!0),fe(pe,Ce,At,"\u222A","\\cup",!0),fe(pe,Ce,At,"\u2216","\\setminus"),fe(pe,Ce,At,"\u2227","\\land"),fe(pe,Ce,At,"\u2228","\\lor"),fe(pe,Ce,At,"\u2227","\\wedge",!0),fe(pe,Ce,At,"\u2228","\\vee",!0),fe(pe,Ce,Ct,"\u221A","\\surd"),fe(pe,Ce,yt,"(","("),fe(pe,Ce,yt,"[","["),fe(pe,Ce,yt,"\u27E8","\\langle",!0),fe(pe,Ce,yt,"\u2223","\\lvert"),fe(pe,Ce,yt,"\u2225","\\lVert"),fe(pe,Ce,Te,")",")"),fe(pe,Ce,Te,"]","]"),fe(pe,Ce,Te,"?","?"),fe(pe,Ce,Te,"!","!"),fe(pe,Ce,Te,"\u27E9","\\rangle",!0),fe(pe,Ce,Te,"\u2223","\\rvert"),fe(pe,Ce,Te,"\u2225","\\rVert"),fe(pe,Ce,Fe,"=","="),fe(pe,Ce,Fe,"<","<"),fe(pe,Ce,Fe,">",">"),fe(pe,Ce,Fe,":",":"),fe(pe,Ce,Fe,"\u2248","\\approx",!0),fe(pe,Ce,Fe,"\u2245","\\cong",!0),fe(pe,Ce,Fe,"\u2265","\\ge"),fe(pe,Ce,Fe,"\u2265","\\geq",!0),fe(pe,Ce,Fe,"\u2190","\\gets"),fe(pe,Ce,Fe,">","\\gt"),fe(pe,Ce,Fe,"\u2208","\\in",!0),fe(pe,Ce,Fe,"\uE020","\\@not"),fe(pe,Ce,Fe,"\u2282","\\subset",!0),fe(pe,Ce,Fe,"\u2283","\\supset",!0),fe(pe,Ce,Fe,"\u2286","\\subseteq",!0),fe(pe,Ce,Fe,"\u2287","\\supseteq",!0),fe(pe,ct,Fe,"\u2288","\\nsubseteq",!0),fe(pe,ct,Fe,"\u2289","\\nsupseteq",!0),fe(pe,Ce,Fe,"\u22A8","\\models"),fe(pe,Ce,Fe,"\u2190","\\leftarrow",!0),fe(pe,Ce,Fe,"\u2264","\\le"),fe(pe,Ce,Fe,"\u2264","\\leq",!0),fe(pe,Ce,Fe,"<","\\lt"),fe(pe,Ce,Fe,"\u2192","\\rightarrow",!0),fe(pe,Ce,Fe,"\u2192","\\to"),fe(pe,ct,Fe,"\u2271","\\ngeq",!0),fe(pe,ct,Fe,"\u2270","\\nleq",!0),fe(pe,Ce,Ir,"\xA0","\\ "),fe(pe,Ce,Ir,"\xA0","~"),fe(pe,Ce,Ir,"\xA0","\\space"),fe(pe,Ce,Ir,"\xA0","\\nobreakspace"),fe(Ot,Ce,Ir,"\xA0","\\ "),fe(Ot,Ce,Ir,"\xA0","~"),fe(Ot,Ce,Ir,"\xA0","\\space"),fe(Ot,Ce,Ir,"\xA0","\\nobreakspace"),fe(pe,Ce,Ir,null,"\\nobreak"),fe(pe,Ce,Ir,null,"\\allowbreak"),fe(pe,Ce,Nt,",",","),fe(pe,Ce,Nt,";",";"),fe(pe,ct,At,"\u22BC","\\barwedge",!0),fe(pe,ct,At,"\u22BB","\\veebar",!0),fe(pe,Ce,At,"\u2299","\\odot",!0),fe(pe,Ce,At,"\u2295","\\oplus",!0),fe(pe,Ce,At,"\u2297","\\otimes",!0),fe(pe,Ce,Ct,"\u2202","\\partial",!0),fe(pe,Ce,At,"\u2298","\\oslash",!0),fe(pe,ct,At,"\u229A","\\circledcirc",!0),fe(pe,ct,At,"\u22A1","\\boxdot",!0),fe(pe,Ce,At,"\u25B3","\\bigtriangleup"),fe(pe,Ce,At,"\u25BD","\\bigtriangledown"),fe(pe,Ce,At,"\u2020","\\dagger"),fe(pe,Ce,At,"\u22C4","\\diamond"),fe(pe,Ce,At,"\u22C6","\\star"),fe(pe,Ce,At,"\u25C3","\\triangleleft"),fe(pe,Ce,At,"\u25B9","\\triangleright"),fe(pe,Ce,yt,"{","\\{"),fe(Ot,Ce,Ct,"{","\\{"),fe(Ot,Ce,Ct,"{","\\textbraceleft"),fe(pe,Ce,Te,"}","\\}"),fe(Ot,Ce,Ct,"}","\\}"),fe(Ot,Ce,Ct,"}","\\textbraceright"),fe(pe,Ce,yt,"{","\\lbrace"),fe(pe,Ce,Te,"}","\\rbrace"),fe(pe,Ce,yt,"[","\\lbrack"),fe(Ot,Ce,Ct,"[","\\lbrack"),fe(pe,Ce,Te,"]","\\rbrack"),fe(Ot,Ce,Ct,"]","\\rbrack"),fe(pe,Ce,yt,"(","\\lparen"),fe(pe,Ce,Te,")","\\rparen"),fe(Ot,Ce,Ct,"<","\\textless"),fe(Ot,Ce,Ct,">","\\textgreater"),fe(pe,Ce,yt,"\u230A","\\lfloor",!0),fe(pe,Ce,Te,"\u230B","\\rfloor",!0),fe(pe,Ce,yt,"\u2308","\\lceil",!0),fe(pe,Ce,Te,"\u2309","\\rceil",!0),fe(pe,Ce,Ct,"\\","\\backslash"),fe(pe,Ce,Ct,"\u2223","|"),fe(pe,Ce,Ct,"\u2223","\\vert"),fe(Ot,Ce,Ct,"|","\\textbar"),fe(pe,Ce,Ct,"\u2225","\\|"),fe(pe,Ce,Ct,"\u2225","\\Vert"),fe(Ot,Ce,Ct,"\u2225","\\textbardbl"),fe(Ot,Ce,Ct,"~","\\textasciitilde"),fe(Ot,Ce,Ct,"\\","\\textbackslash"),fe(Ot,Ce,Ct,"^","\\textasciicircum"),fe(pe,Ce,Fe,"\u2191","\\uparrow",!0),fe(pe,Ce,Fe,"\u21D1","\\Uparrow",!0),fe(pe,Ce,Fe,"\u2193","\\downarrow",!0),fe(pe,Ce,Fe,"\u21D3","\\Downarrow",!0),fe(pe,Ce,Fe,"\u2195","\\updownarrow",!0),fe(pe,Ce,Fe,"\u21D5","\\Updownarrow",!0),fe(pe,Ce,et,"\u2210","\\coprod"),fe(pe,Ce,et,"\u22C1","\\bigvee"),fe(pe,Ce,et,"\u22C0","\\bigwedge"),fe(pe,Ce,et,"\u2A04","\\biguplus"),fe(pe,Ce,et,"\u22C2","\\bigcap"),fe(pe,Ce,et,"\u22C3","\\bigcup"),fe(pe,Ce,et,"\u222B","\\int"),fe(pe,Ce,et,"\u222B","\\intop"),fe(pe,Ce,et,"\u222C","\\iint"),fe(pe,Ce,et,"\u222D","\\iiint"),fe(pe,Ce,et,"\u220F","\\prod"),fe(pe,Ce,et,"\u2211","\\sum"),fe(pe,Ce,et,"\u2A02","\\bigotimes"),fe(pe,Ce,et,"\u2A01","\\bigoplus"),fe(pe,Ce,et,"\u2A00","\\bigodot"),fe(pe,Ce,et,"\u222E","\\oint"),fe(pe,Ce,et,"\u222F","\\oiint"),fe(pe,Ce,et,"\u2230","\\oiiint"),fe(pe,Ce,et,"\u2A06","\\bigsqcup"),fe(pe,Ce,et,"\u222B","\\smallint"),fe(Ot,Ce,Et,"\u2026","\\textellipsis"),fe(pe,Ce,Et,"\u2026","\\mathellipsis"),fe(Ot,Ce,Et,"\u2026","\\ldots",!0),fe(pe,Ce,Et,"\u2026","\\ldots",!0),fe(pe,Ce,Et,"\u22EF","\\@cdots",!0),fe(pe,Ce,Et,"\u22F1","\\ddots",!0),fe(pe,Ce,Ct,"\u22EE","\\varvdots"),fe(pe,Ce,Kt,"\u02CA","\\acute"),fe(pe,Ce,Kt,"\u02CB","\\grave"),fe(pe,Ce,Kt,"\xA8","\\ddot"),fe(pe,Ce,Kt,"~","\\tilde"),fe(pe,Ce,Kt,"\u02C9","\\bar"),fe(pe,Ce,Kt,"\u02D8","\\breve"),fe(pe,Ce,Kt,"\u02C7","\\check"),fe(pe,Ce,Kt,"^","\\hat"),fe(pe,Ce,Kt,"\u20D7","\\vec"),fe(pe,Ce,Kt,"\u02D9","\\dot"),fe(pe,Ce,Kt,"\u02DA","\\mathring"),fe(pe,Ce,ye,"\u0131","\\imath",!0),fe(pe,Ce,ye,"\u0237","\\jmath",!0),fe(Ot,Ce,Ct,"\u0131","\\i",!0),fe(Ot,Ce,Ct,"\u0237","\\j",!0),fe(Ot,Ce,Ct,"\xDF","\\ss",!0),fe(Ot,Ce,Ct,"\xE6","\\ae",!0),fe(Ot,Ce,Ct,"\xE6","\\ae",!0),fe(Ot,Ce,Ct,"\u0153","\\oe",!0),fe(Ot,Ce,Ct,"\xF8","\\o",!0),fe(Ot,Ce,Ct,"\xC6","\\AE",!0),fe(Ot,Ce,Ct,"\u0152","\\OE",!0),fe(Ot,Ce,Ct,"\xD8","\\O",!0),fe(Ot,Ce,Kt,"\u02CA","\\'"),fe(Ot,Ce,Kt,"\u02CB","\\`"),fe(Ot,Ce,Kt,"\u02C6","\\^"),fe(Ot,Ce,Kt,"\u02DC","\\~"),fe(Ot,Ce,Kt,"\u02C9","\\="),fe(Ot,Ce,Kt,"\u02D8","\\u"),fe(Ot,Ce,Kt,"\u02D9","\\."),fe(Ot,Ce,Kt,"\u02DA","\\r"),fe(Ot,Ce,Kt,"\u02C7","\\v"),fe(Ot,Ce,Kt,"\xA8",'\\"'),fe(Ot,Ce,Kt,"\u02DD","\\H"),fe(Ot,Ce,Kt,"\u25EF","\\textcircled");var Gr={"--":!0,"---":!0,"``":!0,"''":!0};fe(Ot,Ce,Ct,"\u2013","--"),fe(Ot,Ce,Ct,"\u2013","\\textendash"),fe(Ot,Ce,Ct,"\u2014","---"),fe(Ot,Ce,Ct,"\u2014","\\textemdash"),fe(Ot,Ce,Ct,"\u2018","`"),fe(Ot,Ce,Ct,"\u2018","\\textquoteleft"),fe(Ot,Ce,Ct,"\u2019","'"),fe(Ot,Ce,Ct,"\u2019","\\textquoteright"),fe(Ot,Ce,Ct,"\u201C","``"),fe(Ot,Ce,Ct,"\u201C","\\textquotedblleft"),fe(Ot,Ce,Ct,"\u201D","''"),fe(Ot,Ce,Ct,"\u201D","\\textquotedblright"),fe(pe,Ce,Ct,"\xB0","\\degree",!0),fe(Ot,Ce,Ct,"\xB0","\\degree"),fe(Ot,Ce,Ct,"\xB0","\\textdegree",!0),fe(pe,Ce,ye,"\xA3","\\pounds"),fe(pe,Ce,ye,"\xA3","\\mathsterling",!0),fe(Ot,Ce,ye,"\xA3","\\pounds"),fe(Ot,Ce,ye,"\xA3","\\textsterling",!0),fe(pe,ct,Ct,"\u2720","\\maltese"),fe(Ot,ct,Ct,"\u2720","\\maltese"),fe(Ot,Ce,Ir,"\xA0","\\ "),fe(Ot,Ce,Ir,"\xA0"," "),fe(Ot,Ce,Ir,"\xA0","~");for(var Qr='0123456789/@."',Mr=0;Mr<Qr.length;Mr++){var Fr=Qr.charAt(Mr);fe(pe,Ce,Ct,Fr,Fr)}for(var mr='0123456789!@*()-=+[]<>|";:?/.,',$r=0;$r<mr.length;$r++){var nn=mr.charAt($r);fe(Ot,Ce,Ct,nn,nn)}for(var cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Xt=0;Xt<cn.length;Xt++){var mt=cn.charAt(Xt);fe(pe,Ce,ye,mt,mt),fe(Ot,Ce,Ct,mt,mt)}fe(pe,ct,Ct,"C","\u2102"),fe(Ot,ct,Ct,"C","\u2102"),fe(pe,ct,Ct,"H","\u210D"),fe(Ot,ct,Ct,"H","\u210D"),fe(pe,ct,Ct,"N","\u2115"),fe(Ot,ct,Ct,"N","\u2115"),fe(pe,ct,Ct,"P","\u2119"),fe(Ot,ct,Ct,"P","\u2119"),fe(pe,ct,Ct,"Q","\u211A"),fe(Ot,ct,Ct,"Q","\u211A"),fe(pe,ct,Ct,"R","\u211D"),fe(Ot,ct,Ct,"R","\u211D"),fe(pe,ct,Ct,"Z","\u2124"),fe(Ot,ct,Ct,"Z","\u2124"),fe(pe,Ce,ye,"h","\u210E"),fe(Ot,Ce,ye,"h","\u210E");for(var ut="",ft=0;ft<cn.length;ft++){var $t=cn.charAt(ft);ut=String.fromCharCode(55349,56320+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ut=String.fromCharCode(55349,56372+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ut=String.fromCharCode(55349,56424+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ut=String.fromCharCode(55349,56580+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ut=String.fromCharCode(55349,56736+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ut=String.fromCharCode(55349,56788+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ut=String.fromCharCode(55349,56840+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ut=String.fromCharCode(55349,56944+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ft<26&&(ut=String.fromCharCode(55349,56632+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut),ut=String.fromCharCode(55349,56476+ft),fe(pe,Ce,ye,$t,ut),fe(Ot,Ce,Ct,$t,ut))}ut="\u{1D55C}",fe(pe,Ce,ye,"k",ut),fe(Ot,Ce,Ct,"k",ut);for(var yr=0;yr<10;yr++){var gr=yr.toString();ut=String.fromCharCode(55349,57294+yr),fe(pe,Ce,ye,gr,ut),fe(Ot,Ce,Ct,gr,ut),ut=String.fromCharCode(55349,57314+yr),fe(pe,Ce,ye,gr,ut),fe(Ot,Ce,Ct,gr,ut),ut=String.fromCharCode(55349,57324+yr),fe(pe,Ce,ye,gr,ut),fe(Ot,Ce,Ct,gr,ut),ut=String.fromCharCode(55349,57334+yr),fe(pe,Ce,ye,gr,ut),fe(Ot,Ce,Ct,gr,ut)}for(var it="\xC7\xD0\xDE\xE7\xFE",Tr=0;Tr<it.length;Tr++){var fn=it.charAt(Tr);fe(pe,Ce,ye,fn,fn),fe(Ot,Ce,Ct,fn,fn)}fe(Ot,Ce,Ct,"\xF0","\xF0"),fe(Ot,Ce,Ct,"\u2013","\u2013"),fe(Ot,Ce,Ct,"\u2014","\u2014"),fe(Ot,Ce,Ct,"\u2018","\u2018"),fe(Ot,Ce,Ct,"\u2019","\u2019"),fe(Ot,Ce,Ct,"\u201C","\u201C"),fe(Ot,Ce,Ct,"\u201D","\u201D");var Ln=[["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"]],Vr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Zn=function(H,X){var ne=H.charCodeAt(0),he=H.charCodeAt(1),Ae=(ne-55296)*1024+(he-56320)+65536,Ge=X==="math"?0:1;if(119808<=Ae&&Ae<120484){var Pt=Math.floor((Ae-119808)/26);return[Ln[Pt][2],Ln[Pt][Ge]]}else if(120782<=Ae&&Ae<=120831){var Ut=Math.floor((Ae-120782)/10);return[Vr[Ut][2],Vr[Ut][Ge]]}else{if(Ae===120485||Ae===120486)return[Ln[0][2],Ln[0][Ge]];if(120486<Ae&&Ae<120782)return["",""];throw new o("Unsupported character: "+H)}},Hn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Pn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],yn=function(H,X){return X.size<2?H:Hn[H-1][X.size-1]},Vn=function(){function Ve(X){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=X.style,this.color=X.color,this.size=X.size||Ve.BASESIZE,this.textSize=X.textSize||this.size,this.phantom=!!X.phantom,this.font=X.font||"",this.fontFamily=X.fontFamily||"",this.fontWeight=X.fontWeight||"",this.fontShape=X.fontShape||"",this.sizeMultiplier=Pn[this.size-1],this.maxSize=X.maxSize,this.minRuleThickness=X.minRuleThickness,this._fontMetrics=void 0}var H=Ve.prototype;return H.extend=function(ne){var he={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Ae in ne)ne.hasOwnProperty(Ae)&&(he[Ae]=ne[Ae]);return new Ve(he)},H.havingStyle=function(ne){return this.style===ne?this:this.extend({style:ne,size:yn(this.textSize,ne)})},H.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},H.havingSize=function(ne){return this.size===ne&&this.textSize===ne?this:this.extend({style:this.style.text(),size:ne,textSize:ne,sizeMultiplier:Pn[ne-1]})},H.havingBaseStyle=function(ne){ne=ne||this.style.text();var he=yn(Ve.BASESIZE,ne);return this.size===he&&this.textSize===Ve.BASESIZE&&this.style===ne?this:this.extend({style:ne,size:he})},H.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})},H.withColor=function(ne){return this.extend({color:ne})},H.withPhantom=function(){return this.extend({phantom:!0})},H.withFont=function(ne){return this.extend({font:ne})},H.withTextFontFamily=function(ne){return this.extend({fontFamily:ne,font:""})},H.withTextFontWeight=function(ne){return this.extend({fontWeight:ne,font:""})},H.withTextFontShape=function(ne){return this.extend({fontShape:ne,font:""})},H.sizingClasses=function(ne){return ne.size!==this.size?["sizing","reset-size"+ne.size,"size"+this.size]:[]},H.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},H.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Vt(this.size)),this._fontMetrics},H.getColor=function(){return this.phantom?"transparent":this.color},Ve}();Vn.BASESIZE=6;var oi=Vn,mi={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},Di={ex:!0,em:!0,mu:!0},ji=function(H){return typeof H!="string"&&(H=H.unit),H in mi||H in Di||H==="ex"},gi=function(H,X){var ne;if(H.unit in mi)ne=mi[H.unit]/X.fontMetrics().ptPerEm/X.sizeMultiplier;else if(H.unit==="mu")ne=X.fontMetrics().cssEmPerMu;else{var he;if(X.style.isTight()?he=X.havingStyle(X.style.text()):he=X,H.unit==="ex")ne=he.fontMetrics().xHeight;else if(H.unit==="em")ne=he.fontMetrics().quad;else throw new o("Invalid unit: '"+H.unit+"'");he!==X&&(ne*=he.sizeMultiplier/X.sizeMultiplier)}return Math.min(H.number*ne,X.maxSize)},Ea=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ui=function(H,X,ne){return Ue[ne][H]&&Ue[ne][H].replace&&(H=Ue[ne][H].replace),{value:H,metrics:Qt(H,X,ne)}},Ji=function(H,X,ne,he,Ae){var Ge=ui(H,X,ne),Pt=Ge.metrics;H=Ge.value;var Ut;if(Pt){var sr=Pt.italic;(ne==="text"||he&&he.font==="mathit")&&(sr=0),Ut=new Re(H,Pt.height,Pt.depth,sr,Pt.skew,Pt.width,Ae)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+H+"' in style '"+X+"' and mode '"+ne+"'")),Ut=new Re(H,0,0,0,0,0,Ae);if(he){Ut.maxFontSize=he.sizeMultiplier,he.style.isTight()&&Ut.classes.push("mtight");var Er=he.getColor();Er&&(Ut.style.color=Er)}return Ut},It=function(H,X,ne,he){return he===void 0&&(he=[]),ne.font==="boldsymbol"&&ui(H,"Main-Bold",X).metrics?Ji(H,"Main-Bold",X,ne,he.concat(["mathbf"])):H==="\\"||Ue[X][H].font==="main"?Ji(H,"Main-Regular",X,ne,he):Ji(H,"AMS-Regular",X,ne,he.concat(["amsrm"]))},gt=function(H,X,ne,he){return/[0-9]/.test(H.charAt(0))||A.contains(Ea,H)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Oi=function(H,X,ne,he){return A.contains(Ea,H)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(H.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Xi=function(H,X,ne,he){return ui(H,"Math-BoldItalic",X).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},vi=function(H,X,ne){var he=H.mode,Ae=H.text,Ge=["mord"],Pt=he==="math"||he==="text"&&X.font,Ut=Pt?X.font:X.fontFamily;if(Ae.charCodeAt(0)===55349){var sr=Zn(Ae,he),Er=sr[0],Ht=sr[1];return Ji(Ae,Er,he,X,Ge.concat(Ht))}else if(Ut){var an,bn;if(Ut==="boldsymbol"||Ut==="mathnormal"){var $n=Ut==="boldsymbol"?Xi(Ae,he,X,Ge):Oi(Ae,he,X,Ge);an=$n.fontName,bn=[$n.fontClass]}else A.contains(Ea,Ae)?(an="Main-Italic",bn=["mathit"]):Pt?(an=$e[Ut].fontName,bn=[Ut]):(an=Zr(Ut,X.fontWeight,X.fontShape),bn=[Ut,X.fontWeight,X.fontShape]);if(ui(Ae,an,he).metrics)return Ji(Ae,an,he,X,Ge.concat(bn));if(Gr.hasOwnProperty(Ae)&&an.substr(0,10)==="Typewriter"){for(var Un=[],Si=0;Si<Ae.length;Si++)Un.push(Ji(Ae[Si],an,he,X,Ge.concat(bn)));return Dt(Un)}}if(ne==="mathord"){var da=gt(Ae,he,X,Ge);return Ji(Ae,da.fontName,he,X,Ge.concat([da.fontClass]))}else if(ne==="textord"){var ia=Ue[he][Ae]&&Ue[he][Ae].font;if(ia==="ams"){var la=Zr("amsrm",X.fontWeight,X.fontShape);return Ji(Ae,la,he,X,Ge.concat("amsrm",X.fontWeight,X.fontShape))}else if(ia==="main"||!ia){var us=Zr("textrm",X.fontWeight,X.fontShape);return Ji(Ae,us,he,X,Ge.concat(X.fontWeight,X.fontShape))}else{var za=Zr(ia,X.fontWeight,X.fontShape);return Ji(Ae,za,he,X,Ge.concat(za,X.fontWeight,X.fontShape))}}else throw new Error("unexpected type: "+ne+" in makeOrd")},ya=function(H,X){if(St(H.classes)!==St(X.classes)||H.skew!==X.skew||H.maxFontSize!==X.maxFontSize)return!1;for(var ne in H.style)if(H.style.hasOwnProperty(ne)&&H.style[ne]!==X.style[ne])return!1;for(var he in X.style)if(X.style.hasOwnProperty(he)&&H.style[he]!==X.style[he])return!1;return!0},yi=function(H){for(var X=0;X<H.length-1;X++){var ne=H[X],he=H[X+1];ne instanceof Re&&he instanceof Re&&ya(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,H.splice(X+1,1),X--)}return H},qn=function(H){for(var X=0,ne=0,he=0,Ae=0;Ae<H.children.length;Ae++){var Ge=H.children[Ae];Ge.height>X&&(X=Ge.height),Ge.depth>ne&&(ne=Ge.depth),Ge.maxFontSize>he&&(he=Ge.maxFontSize)}H.height=X,H.depth=ne,H.maxFontSize=he},Sn=function(H,X,ne,he){var Ae=new dt(H,X,ne,he);return qn(Ae),Ae},rr=function(H,X,ne,he){return new dt(H,X,ne,he)},vt=function(H,X,ne){var he=Sn([H],[],X);return he.height=Math.max(ne||X.fontMetrics().defaultRuleThickness,X.minRuleThickness),he.style.borderBottomWidth=he.height+"em",he.maxFontSize=1,he},nt=function(H,X,ne,he){var Ae=new qe(H,X,ne,he);return qn(Ae),Ae},Dt=function(H){var X=new We(H);return qn(X),X},pt=function(H,X){return H instanceof We?Sn([],[H],X):H},cr=function(H){if(H.positionType==="individualShift"){for(var X=H.children,ne=[X[0]],he=-X[0].shift-X[0].elem.depth,Ae=he,Ge=1;Ge<X.length;Ge++){var Pt=-X[Ge].shift-Ae-X[Ge].elem.depth,Ut=Pt-(X[Ge-1].elem.height+X[Ge-1].elem.depth);Ae=Ae+Pt,ne.push({type:"kern",size:Ut}),ne.push(X[Ge])}return{children:ne,depth:he}}var sr;if(H.positionType==="top"){for(var Er=H.positionData,Ht=0;Ht<H.children.length;Ht++){var an=H.children[Ht];Er-=an.type==="kern"?an.size:an.elem.height+an.elem.depth}sr=Er}else if(H.positionType==="bottom")sr=-H.positionData;else{var bn=H.children[0];if(bn.type!=="elem")throw new Error('First child must have type "elem".');if(H.positionType==="shift")sr=-bn.elem.depth-H.positionData;else if(H.positionType==="firstBaseline")sr=-bn.elem.depth;else throw new Error("Invalid positionType "+H.positionType+".")}return{children:H.children,depth:sr}},dr=function(H,X){for(var ne=cr(H),he=ne.children,Ae=ne.depth,Ge=0,Pt=0;Pt<he.length;Pt++){var Ut=he[Pt];if(Ut.type==="elem"){var sr=Ut.elem;Ge=Math.max(Ge,sr.maxFontSize,sr.height)}}Ge+=2;var Er=Sn(["pstrut"],[]);Er.style.height=Ge+"em";for(var Ht=[],an=Ae,bn=Ae,$n=Ae,Un=0;Un<he.length;Un++){var Si=he[Un];if(Si.type==="kern")$n+=Si.size;else{var da=Si.elem,ia=Si.wrapperClasses||[],la=Si.wrapperStyle||{},us=Sn(ia,[Er,da],void 0,la);us.style.top=-Ge-$n-da.depth+"em",Si.marginLeft&&(us.style.marginLeft=Si.marginLeft),Si.marginRight&&(us.style.marginRight=Si.marginRight),Ht.push(us),$n+=da.height+da.depth}an=Math.min(an,$n),bn=Math.max(bn,$n)}var za=Sn(["vlist"],Ht);za.style.height=bn+"em";var hs;if(an<0){var rs=Sn([],[]),xa=Sn(["vlist"],[rs]);xa.style.height=-an+"em";var Za=Sn(["vlist-s"],[new Re("\u200B")]);hs=[Sn(["vlist-r"],[za,Za]),Sn(["vlist-r"],[xa])]}else hs=[Sn(["vlist-r"],[za])];var ks=Sn(["vlist-t"],hs);return hs.length===2&&ks.classes.push("vlist-t2"),ks.height=bn,ks.depth=-an,ks},Ar=function(H,X){var ne=Sn(["mspace"],[],X),he=gi(H,X);return ne.style.marginRight=he+"em",ne},Zr=function(H,X,ne){var he="";switch(H){case"amsrm":he="AMS";break;case"textrm":he="Main";break;case"textsf":he="SansSerif";break;case"texttt":he="Typewriter";break;default:he=H}var Ae;return X==="textbf"&&ne==="textit"?Ae="BoldItalic":X==="textbf"?Ae="Bold":X==="textit"?Ae="Italic":Ae="Regular",he+"-"+Ae},$e={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"}},Je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},xe=function(H,X){var ne=Je[H],he=ne[0],Ae=ne[1],Ge=ne[2],Pt=new ze(he),Ut=new He([Pt],{width:Ae+"em",height:Ge+"em",style:"width:"+Ae+"em",viewBox:"0 0 "+1e3*Ae+" "+1e3*Ge,preserveAspectRatio:"xMinYMin"}),sr=rr(["overlay"],[Ut],X);return sr.height=Ge,sr.style.height=Ge+"em",sr.style.width=Ae+"em",sr},st={fontMap:$e,makeSymbol:Ji,mathsym:It,makeSpan:Sn,makeSvgSpan:rr,makeLineSpan:vt,makeAnchor:nt,makeFragment:Dt,wrapFragment:pt,makeVList:dr,makeOrd:vi,makeGlue:Ar,staticSvg:xe,svgData:Je,tryCombineChars:yi};function ir(Ve,H){var X=Rr(Ve,H);if(!X)throw new Error("Expected node of type "+H+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return X}function Rr(Ve,H){return Ve&&Ve.type===H?Ve:null}function Dr(Ve,H){var X=Pr(Ve,H);if(!X)throw new Error('Expected node of type "atom" and family "'+H+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return X}function Pr(Ve,H){return Ve&&Ve.type==="atom"&&Ve.family===H?Ve:null}function jr(Ve){var H=pn(Ve);if(!H)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return H}function pn(Ve){return Ve&&(Ve.type==="atom"||Tt.hasOwnProperty(Ve.type))?Ve:null}var Cr={number:3,unit:"mu"},ln={number:4,unit:"mu"},rn={number:5,unit:"mu"},sn={mord:{mop:Cr,mbin:ln,mrel:rn,minner:Cr},mop:{mord:Cr,mop:Cr,mrel:rn,minner:Cr},mbin:{mord:ln,mop:ln,mopen:ln,minner:ln},mrel:{mord:rn,mop:rn,mopen:rn,minner:rn},mopen:{},mclose:{mop:Cr,mbin:ln,mrel:rn,minner:Cr},mpunct:{mord:Cr,mop:Cr,mrel:rn,mopen:Cr,mclose:Cr,mpunct:Cr,minner:Cr},minner:{mord:Cr,mop:Cr,mbin:ln,mrel:rn,mopen:Cr,mpunct:Cr,minner:Cr}},wn={mord:{mop:Cr},mop:{mord:Cr,mop:Cr},mbin:{},mrel:{},mopen:{},mclose:{mop:Cr},mpunct:{},minner:{mop:Cr}},pa={},Ei={},hi={};function mn(Ve){for(var H=Ve.type,X=Ve.names,ne=Ve.props,he=Ve.handler,Ae=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,Pt={type:H,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},Ut=0;Ut<X.length;++Ut)pa[X[Ut]]=Pt;H&&(Ae&&(Ei[H]=Ae),Ge&&(hi[H]=Ge))}function ni(Ve){var H=Ve.type,X=Ve.htmlBuilder,ne=Ve.mathmlBuilder;mn({type:H,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:X,mathmlBuilder:ne})}var Mi=function(H){var X=Rr(H,"ordgroup");return X?X.body:[H]},ca=st.makeSpan,Ha=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ta=["rightmost","mrel","mclose","mpunct"],fs={display:Z.DISPLAY,text:Z.TEXT,script:Z.SCRIPT,scriptscript:Z.SCRIPTSCRIPT},Es={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Wa=function(H,X,ne,he){he===void 0&&(he=[null,null]);for(var Ae=[],Ge=0;Ge<H.length;Ge++){var Pt=Vi(H[Ge],X);if(Pt instanceof We){var Ut=Pt.children;Ae.push.apply(Ae,Ut)}else Ae.push(Pt)}if(!ne)return Ae;var sr=X;if(H.length===1){var Er=Rr(H[0],"sizing")||Rr(H[0],"styling");Er&&(Er.type==="sizing"?sr=X.havingSize(Er.size):Er.type==="styling"&&(sr=X.havingStyle(fs[Er.style])))}var Ht=ca([he[0]||"leftmost"],[],X),an=ca([he[1]||"rightmost"],[],X);return pi(Ae,function(bn,$n){var Un=$n.classes[0],Si=bn.classes[0];Un==="mbin"&&A.contains(Ta,Si)?$n.classes[0]="mord":Si==="mbin"&&A.contains(Ha,Un)&&(bn.classes[0]="mord")},{node:Ht},an),pi(Ae,function(bn,$n){var Un=Ga($n),Si=Ga(bn),da=Un&&Si?bn.hasClass("mtight")?wn[Un][Si]:sn[Un][Si]:null;if(da)return st.makeGlue(da,sr)},{node:Ht},an),Ae},pi=function Ve(H,X,ne,he){he&&H.push(he);for(var Ae=0;Ae<H.length;Ae++){var Ge=H[Ae],Pt=ra(Ge);if(Pt){Ve(Pt.children,X,ne);continue}if(Ge.classes[0]!=="mspace"){var Ut=X(Ge,ne.node);Ut&&(ne.insertAfter?ne.insertAfter(Ut):(H.unshift(Ut),Ae++)),ne.node=Ge,ne.insertAfter=function(sr){return function(Er){H.splice(sr+1,0,Er),Ae++}}(Ae)}}he&&H.pop()},ra=function(H){return H instanceof We||H instanceof qe?H:null},os=function Ve(H,X){var ne=ra(H);if(ne){var he=ne.children;if(he.length){if(X==="right")return Ve(he[he.length-1],"right");if(X==="left")return Ve(he[0],"left")}}return H},Ga=function(H,X){return H?(X&&(H=os(H,X)),Es[H.classes[0]]||null):null},Is=function(H,X){var ne=["nulldelimiter"].concat(H.baseSizingClasses());return ca(X.concat(ne))},Vi=function(H,X,ne){if(!H)return ca();if(Ei[H.type]){var he=Ei[H.type](H,X);if(ne&&X.size!==ne.size){he=ca(X.sizingClasses(ne),[he],X);var Ae=X.sizeMultiplier/ne.sizeMultiplier;he.height*=Ae,he.depth*=Ae}return he}else throw new o("Got group of unknown type: '"+H.type+"'")};function ms(Ve,H){var X=ca(["base"],Ve,H),ne=ca(["strut"]);return ne.style.height=X.height+X.depth+"em",ne.style.verticalAlign=-X.depth+"em",X.children.unshift(ne),X}function bo(Ve,H){var X=null;Ve.length===1&&Ve[0].type==="tag"&&(X=Ve[0].tag,Ve=Ve[0].body);for(var ne=Wa(Ve,H,!0),he=[],Ae=[],Ge=0;Ge<ne.length;Ge++)if(Ae.push(ne[Ge]),ne[Ge].hasClass("mbin")||ne[Ge].hasClass("mrel")||ne[Ge].hasClass("allowbreak")){for(var Pt=!1;Ge<ne.length-1&&ne[Ge+1].hasClass("mspace")&&!ne[Ge+1].hasClass("newline");)Ge++,Ae.push(ne[Ge]),ne[Ge].hasClass("nobreak")&&(Pt=!0);Pt||(he.push(ms(Ae,H)),Ae=[])}else ne[Ge].hasClass("newline")&&(Ae.pop(),Ae.length>0&&(he.push(ms(Ae,H)),Ae=[]),he.push(ne[Ge]));Ae.length>0&&he.push(ms(Ae,H));var Ut;X&&(Ut=ms(Wa(X,H,!0)),Ut.classes=["tag"],he.push(Ut));var sr=ca(["katex-html"],he);if(sr.setAttribute("aria-hidden","true"),Ut){var Er=Ut.children[0];Er.style.height=sr.height+sr.depth+"em",Er.style.verticalAlign=-sr.depth+"em"}return sr}function Fi(Ve){return new We(Ve)}var vs=function(){function Ve(X,ne){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=X,this.attributes={},this.children=ne||[]}var H=Ve.prototype;return H.setAttribute=function(ne,he){this.attributes[ne]=he},H.getAttribute=function(ne){return this.attributes[ne]},H.toNode=function(){var ne=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var he in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,he)&&ne.setAttribute(he,this.attributes[he]);for(var Ae=0;Ae<this.children.length;Ae++)ne.appendChild(this.children[Ae].toNode());return ne},H.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 Ae=0;Ae<this.children.length;Ae++)ne+=this.children[Ae].toMarkup();return ne+="</"+this.type+">",ne},H.toText=function(){return this.children.map(function(ne){return ne.toText()}).join("")},Ve}(),Na=function(){function Ve(X){this.text=void 0,this.text=X}var H=Ve.prototype;return H.toNode=function(){return document.createTextNode(this.text)},H.toMarkup=function(){return A.escape(this.toText())},H.toText=function(){return this.text},Ve}(),Ys=function(){function Ve(X){this.width=void 0,this.character=void 0,this.width=X,X>=.05555&&X<=.05556?this.character="\u200A":X>=.1666&&X<=.1667?this.character="\u2009":X>=.2222&&X<=.2223?this.character="\u2005":X>=.2777&&X<=.2778?this.character="\u2005\u200A":X>=-.05556&&X<=-.05555?this.character="\u200A\u2063":X>=-.1667&&X<=-.1666?this.character="\u2009\u2063":X>=-.2223&&X<=-.2222?this.character="\u205F\u2063":X>=-.2778&&X<=-.2777?this.character="\u2005\u2063":this.character=null}var H=Ve.prototype;return H.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},H.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},H.toText=function(){return this.character?this.character:" "},Ve}(),In={MathNode:vs,TextNode:Na,SpaceNode:Ys,newDocumentFragment:Fi},$a=function(H,X,ne){return Ue[X][H]&&Ue[X][H].replace&&H.charCodeAt(0)!==55349&&!(Gr.hasOwnProperty(H)&&ne&&(ne.fontFamily&&ne.fontFamily.substr(4,2)==="tt"||ne.font&&ne.font.substr(4,2)==="tt"))&&(H=Ue[X][H].replace),new In.TextNode(H)},cs=function(H){return H.length===1?H[0]:new In.MathNode("mrow",H)},ja=function(H,X){if(X.fontFamily==="texttt")return"monospace";if(X.fontFamily==="textsf")return X.fontShape==="textit"&&X.fontWeight==="textbf"?"sans-serif-bold-italic":X.fontShape==="textit"?"sans-serif-italic":X.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(X.fontShape==="textit"&&X.fontWeight==="textbf")return"bold-italic";if(X.fontShape==="textit")return"italic";if(X.fontWeight==="textbf")return"bold";var ne=X.font;if(!ne||ne==="mathnormal")return null;var he=H.mode;if(ne==="mathit")return"italic";if(ne==="boldsymbol")return"bold-italic";if(ne==="mathbf")return"bold";if(ne==="mathbb")return"double-struck";if(ne==="mathfrak")return"fraktur";if(ne==="mathscr"||ne==="mathcal")return"script";if(ne==="mathsf")return"sans-serif";if(ne==="mathtt")return"monospace";var Ae=H.text;if(A.contains(["\\imath","\\jmath"],Ae))return null;Ue[he][Ae]&&Ue[he][Ae].replace&&(Ae=Ue[he][Ae].replace);var Ge=st.fontMap[ne].fontName;return Qt(Ae,Ge,he)?st.fontMap[ne].variant:null},Ui=function(H,X,ne){if(H.length===1){var he=Da(H[0],X);return ne&&he instanceof vs&&he.type==="mo"&&(he.setAttribute("lspace","0em"),he.setAttribute("rspace","0em")),[he]}for(var Ae=[],Ge,Pt=0;Pt<H.length;Pt++){var Ut=Da(H[Pt],X);if(Ut instanceof vs&&Ge instanceof vs){if(Ut.type==="mtext"&&Ge.type==="mtext"&&Ut.getAttribute("mathvariant")===Ge.getAttribute("mathvariant")){var sr;(sr=Ge.children).push.apply(sr,Ut.children);continue}else if(Ut.type==="mn"&&Ge.type==="mn"){var Er;(Er=Ge.children).push.apply(Er,Ut.children);continue}else if(Ut.type==="mi"&&Ut.children.length===1&&Ge.type==="mn"){var Ht=Ut.children[0];if(Ht instanceof Na&&Ht.text==="."){var an;(an=Ge.children).push.apply(an,Ut.children);continue}}else if(Ge.type==="mi"&&Ge.children.length===1){var bn=Ge.children[0];if(bn instanceof Na&&bn.text==="\u0338"&&(Ut.type==="mo"||Ut.type==="mi"||Ut.type==="mn")){var $n=Ut.children[0];$n instanceof Na&&$n.text.length>0&&($n.text=$n.text.slice(0,1)+"\u0338"+$n.text.slice(1),Ae.pop())}}}Ae.push(Ut),Ge=Ut}return Ae},Ra=function(H,X,ne){return cs(Ui(H,X,ne))},Da=function(H,X){if(!H)return new In.MathNode("mrow");if(hi[H.type]){var ne=hi[H.type](H,X);return ne}else throw new o("Got group of unknown type: '"+H.type+"'")};function ws(Ve,H,X,ne){var he=Ui(Ve,X),Ae;he.length===1&&he[0]instanceof vs&&A.contains(["mrow","mtable"],he[0].type)?Ae=he[0]:Ae=new In.MathNode("mrow",he);var Ge=new In.MathNode("annotation",[new In.TextNode(H)]);Ge.setAttribute("encoding","application/x-tex");var Pt=new In.MathNode("semantics",[Ae,Ge]),Ut=new In.MathNode("math",[Pt]);Ut.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var sr=ne?"katex":"katex-mathml";return st.makeSpan([sr],[Ut])}var Xs=function(H){return new oi({style:H.displayMode?Z.DISPLAY:Z.TEXT,maxSize:H.maxSize,minRuleThickness:H.minRuleThickness})},xo=function(H,X){if(X.displayMode){var ne=["katex-display"];X.leqno&&ne.push("leqno"),X.fleqn&&ne.push("fleqn"),H=st.makeSpan(ne,[H])}return H},ho=function(H,X,ne){var he=Xs(ne),Ae;if(ne.output==="mathml")return ws(H,X,he,!0);if(ne.output==="html"){var Ge=bo(H,he);Ae=st.makeSpan(["katex"],[Ge])}else{var Pt=ws(H,X,he,!1),Ut=bo(H,he);Ae=st.makeSpan(["katex"],[Pt,Ut])}return xo(Ae,ne)},wa=function(H,X,ne){var he=Xs(ne),Ae=bo(H,he),Ge=st.makeSpan(["katex"],[Ae]);return xo(Ge,ne)},gs=ho,Zs={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"},no=function(H){var X=new In.MathNode("mo",[new In.TextNode(Zs[H.substr(1)])]);return X.setAttribute("stretchy","true"),X},Eo={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]},wo=function(H){return H.type==="ordgroup"?H.body.length:1},po=function(H,X){function ne(){var Ut=4e5,sr=H.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],sr)){var Er=H,Ht=wo(Er.base),an,bn,$n;if(Ht>5)sr==="widehat"||sr==="widecheck"?(an=420,Ut=2364,$n=.42,bn=sr+"4"):(an=312,Ut=2340,$n=.34,bn="tilde4");else{var Un=[1,1,2,2,3,3][Ht];sr==="widehat"||sr==="widecheck"?(Ut=[0,1062,2364,2364,2364][Un],an=[0,239,300,360,420][Un],$n=[0,.24,.3,.3,.36,.42][Un],bn=sr+Un):(Ut=[0,600,1033,2339,2340][Un],an=[0,260,286,306,312][Un],$n=[0,.26,.286,.3,.306,.34][Un],bn="tilde"+Un)}var Si=new ze(bn),da=new He([Si],{width:"100%",height:$n+"em",viewBox:"0 0 "+Ut+" "+an,preserveAspectRatio:"none"});return{span:st.makeSvgSpan([],[da],X),minWidth:0,height:$n}}else{var ia=[],la=Eo[sr],us=la[0],za=la[1],hs=la[2],rs=hs/1e3,xa=us.length,Za,ks;if(xa===1){var _i=la[3];Za=["hide-tail"],ks=[_i]}else if(xa===2)Za=["halfarrow-left","halfarrow-right"],ks=["xMinYMin","xMaxYMin"];else if(xa===3)Za=["brace-left","brace-center","brace-right"],ks=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+xa+" children.");for(var oo=0;oo<xa;oo++){var Co=new ze(us[oo]),Mo=new He([Co],{width:"400em",height:rs+"em",viewBox:"0 0 "+Ut+" "+hs,preserveAspectRatio:ks[oo]+" slice"}),Ms=st.makeSvgSpan([Za[oo]],[Mo],X);if(xa===1)return{span:Ms,minWidth:za,height:rs};Ms.style.height=rs+"em",ia.push(Ms)}return{span:st.makeSpan(["stretchy"],ia,X),minWidth:za,height:rs}}}var he=ne(),Ae=he.span,Ge=he.minWidth,Pt=he.height;return Ae.height=Pt,Ae.style.height=Pt+"em",Ge>0&&(Ae.style.minWidth=Ge+"em"),Ae},ci=function(H,X,ne,he){var Ae,Ge=H.height+H.depth+2*ne;if(/fbox|color/.test(X)){if(Ae=st.makeSpan(["stretchy",X],[],he),X==="fbox"){var Pt=he.color&&he.getColor();Pt&&(Ae.style.borderColor=Pt)}}else{var Ut=[];/^[bx]cancel$/.test(X)&&Ut.push(new Ye({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(X)&&Ut.push(new Ye({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var sr=new He(Ut,{width:"100%",height:Ge+"em"});Ae=st.makeSvgSpan([],[sr],he)}return Ae.height=Ge,Ae.style.height=Ge+"em",Ae},si={encloseSpan:ci,mathMLnode:no,svgSpan:po},Ua=function(H,X){var ne,he,Ae=Rr(H,"supsub"),Ge;Ae?(he=ir(Ae.base,"accent"),ne=he.base,Ae.base=ne,Ge=xt(Vi(Ae,X)),Ae.base=he):(he=ir(H,"accent"),ne=he.base);var Pt=Vi(ne,X.havingCrampedStyle()),Ut=he.isShifty&&A.isCharacterBox(ne),sr=0;if(Ut){var Er=A.getBaseElem(ne),Ht=Vi(Er,X.havingCrampedStyle());sr=ht(Ht).skew}var an=Math.min(Pt.height,X.fontMetrics().xHeight),bn;if(he.isStretchy)bn=si.svgSpan(he,X),bn=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pt},{type:"elem",elem:bn,wrapperClasses:["svg-align"],wrapperStyle:sr>0?{width:"calc(100% - "+2*sr+"em)",marginLeft:2*sr+"em"}:void 0}]},X);else{var $n,Un;he.label==="\\vec"?($n=st.staticSvg("vec",X),Un=st.svgData.vec[1]):($n=st.makeOrd({mode:he.mode,text:he.label},X,"textord"),$n=ht($n),$n.italic=0,Un=$n.width),bn=st.makeSpan(["accent-body"],[$n]);var Si=he.label==="\\textcircled";Si&&(bn.classes.push("accent-full"),an=Pt.height);var da=sr;Si||(da-=Un/2),bn.style.left=da+"em",he.label==="\\textcircled"&&(bn.style.top=".2em"),bn=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pt},{type:"kern",size:-an},{type:"elem",elem:bn}]},X)}var ia=st.makeSpan(["mord","accent"],[bn],X);return Ge?(Ge.children[0]=ia,Ge.height=Math.max(ia.height,Ge.height),Ge.classes[0]="mord",Ge):ia},Qa=function(H,X){var ne=H.isStretchy?si.mathMLnode(H.label):new In.MathNode("mo",[$a(H.label,H.mode)]),he=new In.MathNode("mover",[Da(H.base,X),ne]);return he.setAttribute("accent","true"),he},qa=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));mn({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(H,X){var ne=X[0],he=!qa.test(H.funcName),Ae=!he||H.funcName==="\\widehat"||H.funcName==="\\widetilde"||H.funcName==="\\widecheck";return{type:"accent",mode:H.parser.mode,label:H.funcName,isStretchy:he,isShifty:Ae,base:ne}},htmlBuilder:Ua,mathmlBuilder:Qa}),mn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(H,X){var ne=X[0];return{type:"accent",mode:H.parser.mode,label:H.funcName,isStretchy:!1,isShifty:!0,base:ne}},htmlBuilder:Ua,mathmlBuilder:Qa}),mn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0];return{type:"accentUnder",mode:ne.mode,label:he,base:Ae}},htmlBuilder:function(H,X){var ne=Vi(H.base,X),he=si.svgSpan(H,X),Ae=H.label==="\\utilde"?.12:0,Ge=st.makeVList({positionType:"bottom",positionData:he.height+Ae,children:[{type:"elem",elem:he,wrapperClasses:["svg-align"]},{type:"kern",size:Ae},{type:"elem",elem:ne}]},X);return st.makeSpan(["mord","accentunder"],[Ge],X)},mathmlBuilder:function(H,X){var ne=si.mathMLnode(H.label),he=new In.MathNode("munder",[Da(H.base,X),ne]);return he.setAttribute("accentunder","true"),he}});var Qs=function(H){var X=new In.MathNode("mpadded",H?[H]:[]);return X.setAttribute("width","+0.6em"),X.setAttribute("lspace","0.3em"),X};mn({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(H,X,ne){var he=H.parser,Ae=H.funcName;return{type:"xArrow",mode:he.mode,label:Ae,body:X[0],below:ne[0]}},htmlBuilder:function(H,X){var ne=X.style,he=X.havingStyle(ne.sup()),Ae=st.wrapFragment(Vi(H.body,he,X),X);Ae.classes.push("x-arrow-pad");var Ge;H.below&&(he=X.havingStyle(ne.sub()),Ge=st.wrapFragment(Vi(H.below,he,X),X),Ge.classes.push("x-arrow-pad"));var Pt=si.svgSpan(H,X),Ut=-X.fontMetrics().axisHeight+.5*Pt.height,sr=-X.fontMetrics().axisHeight-.5*Pt.height-.111;(Ae.depth>.25||H.label==="\\xleftequilibrium")&&(sr-=Ae.depth);var Er;if(Ge){var Ht=-X.fontMetrics().axisHeight+Ge.height+.5*Pt.height+.111;Er=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ae,shift:sr},{type:"elem",elem:Pt,shift:Ut},{type:"elem",elem:Ge,shift:Ht}]},X)}else Er=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ae,shift:sr},{type:"elem",elem:Pt,shift:Ut}]},X);return Er.children[0].children[0].children[1].classes.push("svg-align"),st.makeSpan(["mrel","x-arrow"],[Er],X)},mathmlBuilder:function(H,X){var ne=si.mathMLnode(H.label),he;if(H.body){var Ae=Qs(Da(H.body,X));if(H.below){var Ge=Qs(Da(H.below,X));he=new In.MathNode("munderover",[ne,Ge,Ae])}else he=new In.MathNode("mover",[ne,Ae])}else if(H.below){var Pt=Qs(Da(H.below,X));he=new In.MathNode("munder",[ne,Pt])}else he=Qs(),he=new In.MathNode("mover",[ne,he]);return he}}),mn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){for(var ne=H.parser,he=ir(X[0],"ordgroup"),Ae=he.body,Ge="",Pt=0;Pt<Ae.length;Pt++){var Ut=ir(Ae[Pt],"textord");Ge+=Ut.text}var sr=parseInt(Ge);if(isNaN(sr))throw new o("\\@char has non-numeric argument "+Ge);return{type:"textord",mode:ne.mode,text:String.fromCharCode(sr)}}});var qs=function(H,X){var ne=Wa(H.body,X.withColor(H.color),!1);return st.makeFragment(ne)},Qo=function(H,X){var ne=Ui(H.body,X.withColor(H.color)),he=new In.MathNode("mstyle",ne);return he.setAttribute("mathcolor",H.color),he};mn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(H,X){var ne=H.parser,he=ir(X[0],"color-token").color,Ae=X[1];return{type:"color",mode:ne.mode,color:he,body:Mi(Ae)}},htmlBuilder:qs,mathmlBuilder:Qo}),mn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(H,X){var ne=H.parser,he=H.breakOnTokenText,Ae=ir(X[0],"color-token").color;ne.gullet.macros.set("\\current@color",Ae);var Ge=ne.parseExpression(!0,he);return{type:"color",mode:ne.mode,color:Ae,body:Ge}},htmlBuilder:qs,mathmlBuilder:Qo}),mn({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(H,X,ne){var he=H.parser,Ae=H.funcName,Ge=ne[0],Pt=Ae==="\\cr",Ut=!1;return Pt||(he.settings.displayMode&&he.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ut=!1:Ut=!0),{type:"cr",mode:he.mode,newLine:Ut,newRow:Pt,size:Ge&&ir(Ge,"size").value}},htmlBuilder:function(H,X){if(H.newRow)throw new o("\\cr valid only within a tabular/array environment");var ne=st.makeSpan(["mspace"],[],X);return H.newLine&&(ne.classes.push("newline"),H.size&&(ne.style.marginTop=gi(H.size,X)+"em")),ne},mathmlBuilder:function(H,X){var ne=new In.MathNode("mspace");return H.newLine&&(ne.setAttribute("linebreak","newline"),H.size&&ne.setAttribute("height",gi(H.size,X)+"em")),ne}});var ds=function(H,X,ne){var he=Ue.math[H]&&Ue.math[H].replace,Ae=Qt(he||H,X,ne);if(!Ae)throw new Error("Unsupported symbol "+H+" and font size "+X+".");return Ae},Oo=function(H,X,ne,he){var Ae=ne.havingBaseStyle(X),Ge=st.makeSpan(he.concat(Ae.sizingClasses(ne)),[H],ne),Pt=Ae.sizeMultiplier/ne.sizeMultiplier;return Ge.height*=Pt,Ge.depth*=Pt,Ge.maxFontSize=Ae.sizeMultiplier,Ge},ko=function(H,X,ne){var he=X.havingBaseStyle(ne),Ae=(1-X.sizeMultiplier/he.sizeMultiplier)*X.fontMetrics().axisHeight;H.classes.push("delimcenter"),H.style.top=Ae+"em",H.height-=Ae,H.depth+=Ae},Ho=function(H,X,ne,he,Ae,Ge){var Pt=st.makeSymbol(H,"Main-Regular",Ae,he),Ut=Oo(Pt,X,he,Ge);return ne&&ko(Ut,he,X),Ut},Su=function(H,X,ne,he){return st.makeSymbol(H,"Size"+X+"-Regular",ne,he)},So=function(H,X,ne,he,Ae,Ge){var Pt=Su(H,X,Ae,he),Ut=Oo(st.makeSpan(["delimsizing","size"+X],[Pt],he),Z.TEXT,he,Ge);return ne&&ko(Ut,he,Z.TEXT),Ut},_o=function(H,X,ne){var he;X==="Size1-Regular"?he="delim-size1":he="delim-size4";var Ae=st.makeSpan(["delimsizinginner",he],[st.makeSpan([],[st.makeSymbol(H,X,ne)])]);return{type:"elem",elem:Ae}},Js={type:"kern",size:-.005},$u=function(H,X,ne,he,Ae,Ge){var Pt,Ut,sr,Er;Pt=sr=Er=H,Ut=null;var Ht="Size1-Regular";H==="\\uparrow"?sr=Er="\u23D0":H==="\\Uparrow"?sr=Er="\u2016":H==="\\downarrow"?Pt=sr="\u23D0":H==="\\Downarrow"?Pt=sr="\u2016":H==="\\updownarrow"?(Pt="\\uparrow",sr="\u23D0",Er="\\downarrow"):H==="\\Updownarrow"?(Pt="\\Uparrow",sr="\u2016",Er="\\Downarrow"):H==="["||H==="\\lbrack"?(Pt="\u23A1",sr="\u23A2",Er="\u23A3",Ht="Size4-Regular"):H==="]"||H==="\\rbrack"?(Pt="\u23A4",sr="\u23A5",Er="\u23A6",Ht="Size4-Regular"):H==="\\lfloor"||H==="\u230A"?(sr=Pt="\u23A2",Er="\u23A3",Ht="Size4-Regular"):H==="\\lceil"||H==="\u2308"?(Pt="\u23A1",sr=Er="\u23A2",Ht="Size4-Regular"):H==="\\rfloor"||H==="\u230B"?(sr=Pt="\u23A5",Er="\u23A6",Ht="Size4-Regular"):H==="\\rceil"||H==="\u2309"?(Pt="\u23A4",sr=Er="\u23A5",Ht="Size4-Regular"):H==="("||H==="\\lparen"?(Pt="\u239B",sr="\u239C",Er="\u239D",Ht="Size4-Regular"):H===")"||H==="\\rparen"?(Pt="\u239E",sr="\u239F",Er="\u23A0",Ht="Size4-Regular"):H==="\\{"||H==="\\lbrace"?(Pt="\u23A7",Ut="\u23A8",Er="\u23A9",sr="\u23AA",Ht="Size4-Regular"):H==="\\}"||H==="\\rbrace"?(Pt="\u23AB",Ut="\u23AC",Er="\u23AD",sr="\u23AA",Ht="Size4-Regular"):H==="\\lgroup"||H==="\u27EE"?(Pt="\u23A7",Er="\u23A9",sr="\u23AA",Ht="Size4-Regular"):H==="\\rgroup"||H==="\u27EF"?(Pt="\u23AB",Er="\u23AD",sr="\u23AA",Ht="Size4-Regular"):H==="\\lmoustache"||H==="\u23B0"?(Pt="\u23A7",Er="\u23AD",sr="\u23AA",Ht="Size4-Regular"):(H==="\\rmoustache"||H==="\u23B1")&&(Pt="\u23AB",Er="\u23A9",sr="\u23AA",Ht="Size4-Regular");var an=ds(Pt,Ht,Ae),bn=an.height+an.depth,$n=ds(sr,Ht,Ae),Un=$n.height+$n.depth,Si=ds(Er,Ht,Ae),da=Si.height+Si.depth,ia=0,la=1;if(Ut!==null){var us=ds(Ut,Ht,Ae);ia=us.height+us.depth,la=2}var za=bn+da+ia,hs=Math.max(0,Math.ceil((X-za)/(la*Un))),rs=za+hs*la*Un,xa=he.fontMetrics().axisHeight;ne&&(xa*=he.sizeMultiplier);var Za=rs/2-xa,ks=(hs+1)*.005-Un,_i=[];if(_i.push(_o(Er,Ht,Ae)),Ut===null)for(var oo=0;oo<hs;oo++)_i.push(Js),_i.push(_o(sr,Ht,Ae));else{for(var Co=0;Co<hs;Co++)_i.push(Js),_i.push(_o(sr,Ht,Ae));_i.push({type:"kern",size:ks}),_i.push(_o(sr,Ht,Ae)),_i.push(Js),_i.push(_o(Ut,Ht,Ae));for(var Mo=0;Mo<hs;Mo++)_i.push(Js),_i.push(_o(sr,Ht,Ae))}_i.push({type:"kern",size:ks}),_i.push(_o(sr,Ht,Ae)),_i.push(Js),_i.push(_o(Pt,Ht,Ae));var Ms=he.havingBaseStyle(Z.TEXT),go=st.makeVList({positionType:"bottom",positionData:Za,children:_i},Ms);return Oo(st.makeSpan(["delimsizing","mult"],[go],Ms),Z.TEXT,he,Ge)},Ro=80,Lo=.08,Hs=function(H,X,ne,he,Ae){var Ge=Wt(H,he,ne),Pt=new ze(H,Ge),Ut=new He([Pt],{width:"400em",height:X+"em",viewBox:"0 0 400000 "+ne,preserveAspectRatio:"xMinYMin slice"});return st.makeSvgSpan(["hide-tail"],[Ut],Ae)},du=function(H,X){var ne=X.havingBaseSizing(),he=vr("\\surd",H*ne.sizeMultiplier,hr,ne),Ae=ne.sizeMultiplier,Ge=Math.max(0,X.minRuleThickness-X.fontMetrics().sqrtRuleThickness),Pt,Ut=0,sr=0,Er=0,Ht;return he.type==="small"?(Er=1e3+1e3*Ge+Ro,H<1?Ae=1:H<1.4&&(Ae=.7),Ut=(1+Ge+Lo)/Ae,sr=(1+Ge)/Ae,Pt=Hs("sqrtMain",Ut,Er,Ge,X),Pt.style.minWidth="0.853em",Ht=.833/Ae):he.type==="large"?(Er=(1e3+Ro)*Rs[he.size],sr=(Rs[he.size]+Ge)/Ae,Ut=(Rs[he.size]+Ge+Lo)/Ae,Pt=Hs("sqrtSize"+he.size,Ut,Er,Ge,X),Pt.style.minWidth="1.02em",Ht=1/Ae):(Ut=H+Ge+Lo,sr=H+Ge,Er=Math.floor(1e3*H+Ge)+Ro,Pt=Hs("sqrtTall",Ut,Er,Ge,X),Pt.style.minWidth="0.742em",Ht=1.056),Pt.height=sr,Pt.style.height=Ut+"em",{span:Pt,advanceWidth:Ht,ruleWidth:(X.fontMetrics().sqrtRuleThickness+Ge)*Ae}},jo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Ao=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Bs=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Rs=[0,1.2,1.8,2.4,3],hu=function(H,X,ne,he,Ae){if(H==="<"||H==="\\lt"||H==="\u27E8"?H="\\langle":(H===">"||H==="\\gt"||H==="\u27E9")&&(H="\\rangle"),A.contains(jo,H)||A.contains(Bs,H))return So(H,X,!1,ne,he,Ae);if(A.contains(Ao,H))return $u(H,Rs[X],!1,ne,he,Ae);throw new o("Illegal delimiter: '"+H+"'")},Au=[{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}],tr=[{type:"small",style:Z.SCRIPTSCRIPT},{type:"small",style:Z.SCRIPT},{type:"small",style:Z.TEXT},{type:"stack"}],hr=[{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"}],ur=function(H){if(H.type==="small")return"Main-Regular";if(H.type==="large")return"Size"+H.size+"-Regular";if(H.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+H.type+"' here.")},vr=function(H,X,ne,he){for(var Ae=Math.min(2,3-he.style.size),Ge=Ae;Ge<ne.length&&ne[Ge].type!=="stack";Ge++){var Pt=ds(H,ur(ne[Ge]),"math"),Ut=Pt.height+Pt.depth;if(ne[Ge].type==="small"){var sr=he.havingBaseStyle(ne[Ge].style);Ut*=sr.sizeMultiplier}if(Ut>X)return ne[Ge]}return ne[ne.length-1]},wr=function(H,X,ne,he,Ae,Ge){H==="<"||H==="\\lt"||H==="\u27E8"?H="\\langle":(H===">"||H==="\\gt"||H==="\u27E9")&&(H="\\rangle");var Pt;A.contains(Bs,H)?Pt=Au:A.contains(jo,H)?Pt=hr:Pt=tr;var Ut=vr(H,X,Pt,he);return Ut.type==="small"?Ho(H,Ut.style,ne,he,Ae,Ge):Ut.type==="large"?So(H,Ut.size,ne,he,Ae,Ge):$u(H,X,ne,he,Ae,Ge)},vn=function(H,X,ne,he,Ae,Ge){var Pt=he.fontMetrics().axisHeight*he.sizeMultiplier,Ut=901,sr=5/he.fontMetrics().ptPerEm,Er=Math.max(X-Pt,ne+Pt),Ht=Math.max(Er/500*Ut,2*Er-sr);return wr(H,Ht,!0,he,Ae,Ge)},xn={sqrtImage:du,sizedDelim:hu,customSizedDelim:wr,leftRightDelim:vn},Nn={"\\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}},Rn=["(","\\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 Kn(Ve,H){var X=pn(Ve);if(X&&A.contains(Rn,X.text))return X;throw new o("Invalid delimiter: '"+(X?X.text:JSON.stringify(Ve))+"' after '"+H.funcName+"'",Ve)}mn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(H,X){var ne=Kn(X[0],H);return{type:"delimsizing",mode:H.parser.mode,size:Nn[H.funcName].size,mclass:Nn[H.funcName].mclass,delim:ne.text}},htmlBuilder:function(H,X){return H.delim==="."?st.makeSpan([H.mclass]):xn.sizedDelim(H.delim,H.size,X,H.mode,[H.mclass])},mathmlBuilder:function(H){var X=[];H.delim!=="."&&X.push($a(H.delim,H.mode));var ne=new In.MathNode("mo",X);return H.mclass==="mopen"||H.mclass==="mclose"?ne.setAttribute("fence","true"):ne.setAttribute("fence","false"),ne}});function lr(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}mn({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(H,X){var ne=H.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:H.parser.mode,delim:Kn(X[0],H).text,color:ne}}}),mn({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(H,X){var ne=Kn(X[0],H),he=H.parser;++he.leftrightDepth;var Ae=he.parseExpression(!1);--he.leftrightDepth,he.expect("\\right",!1);var Ge=ir(he.parseFunction(),"leftright-right");return{type:"leftright",mode:he.mode,body:Ae,left:ne.text,right:Ge.delim,rightColor:Ge.color}},htmlBuilder:function(H,X){lr(H);for(var ne=Wa(H.body,X,!0,["mopen","mclose"]),he=0,Ae=0,Ge=!1,Pt=0;Pt<ne.length;Pt++)ne[Pt].isMiddle?Ge=!0:(he=Math.max(ne[Pt].height,he),Ae=Math.max(ne[Pt].depth,Ae));he*=X.sizeMultiplier,Ae*=X.sizeMultiplier;var Ut;if(H.left==="."?Ut=Is(X,["mopen"]):Ut=xn.leftRightDelim(H.left,he,Ae,X,H.mode,["mopen"]),ne.unshift(Ut),Ge)for(var sr=1;sr<ne.length;sr++){var Er=ne[sr],Ht=Er.isMiddle;Ht&&(ne[sr]=xn.leftRightDelim(Ht.delim,he,Ae,Ht.options,H.mode,[]))}var an;if(H.right===".")an=Is(X,["mclose"]);else{var bn=H.rightColor?X.withColor(H.rightColor):X;an=xn.leftRightDelim(H.right,he,Ae,bn,H.mode,["mclose"])}return ne.push(an),st.makeSpan(["minner"],ne,X)},mathmlBuilder:function(H,X){lr(H);var ne=Ui(H.body,X);if(H.left!=="."){var he=new In.MathNode("mo",[$a(H.left,H.mode)]);he.setAttribute("fence","true"),ne.unshift(he)}if(H.right!=="."){var Ae=new In.MathNode("mo",[$a(H.right,H.mode)]);Ae.setAttribute("fence","true"),H.rightColor&&Ae.setAttribute("mathcolor",H.rightColor),ne.push(Ae)}return cs(ne)}}),mn({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(H,X){var ne=Kn(X[0],H);if(!H.parser.leftrightDepth)throw new o("\\middle without preceding \\left",ne);return{type:"middle",mode:H.parser.mode,delim:ne.text}},htmlBuilder:function(H,X){var ne;if(H.delim===".")ne=Is(X,[]);else{ne=xn.sizedDelim(H.delim,1,X,H.mode,[]);var he={delim:H.delim,options:X};ne.isMiddle=he}return ne},mathmlBuilder:function(H,X){var ne=H.delim==="\\vert"||H.delim==="|"?$a("|","text"):$a(H.delim,H.mode),he=new In.MathNode("mo",[ne]);return he.setAttribute("fence","true"),he.setAttribute("lspace","0.05em"),he.setAttribute("rspace","0.05em"),he}});var Br=function(H,X){var ne=st.wrapFragment(Vi(H.body,X),X),he=H.label.substr(1),Ae=X.sizeMultiplier,Ge,Pt=0,Ut=A.isCharacterBox(H.body);if(he==="sout")Ge=st.makeSpan(["stretchy","sout"]),Ge.height=X.fontMetrics().defaultRuleThickness/Ae,Pt=-.5*X.fontMetrics().xHeight;else{/cancel/.test(he)?Ut||ne.classes.push("cancel-pad"):ne.classes.push("boxpad");var sr=0,Er=0;/box/.test(he)?(Er=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness),sr=X.fontMetrics().fboxsep+(he==="colorbox"?0:Er)):sr=Ut?.2:0,Ge=si.encloseSpan(ne,he,sr,X),/fbox|boxed|fcolorbox/.test(he)&&(Ge.style.borderStyle="solid",Ge.style.borderWidth=Er+"em"),Pt=ne.depth+sr,H.backgroundColor&&(Ge.style.backgroundColor=H.backgroundColor,H.borderColor&&(Ge.style.borderColor=H.borderColor))}var Ht;return H.backgroundColor?Ht=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ge,shift:Pt},{type:"elem",elem:ne,shift:0}]},X):Ht=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ne,shift:0},{type:"elem",elem:Ge,shift:Pt,wrapperClasses:/cancel/.test(he)?["svg-align"]:[]}]},X),/cancel/.test(he)&&(Ht.height=ne.height,Ht.depth=ne.depth),/cancel/.test(he)&&!Ut?st.makeSpan(["mord","cancel-lap"],[Ht],X):st.makeSpan(["mord"],[Ht],X)},xr=function(H,X){var ne=0,he=new In.MathNode(H.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Da(H.body,X)]);switch(H.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=X.fontMetrics().fboxsep*X.fontMetrics().ptPerEm,he.setAttribute("width","+"+2*ne+"pt"),he.setAttribute("height","+"+2*ne+"pt"),he.setAttribute("lspace",ne+"pt"),he.setAttribute("voffset",ne+"pt"),H.label==="\\fcolorbox"){var Ae=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness);he.setAttribute("style","border: "+Ae+"em solid "+String(H.borderColor))}break;case"\\xcancel":he.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return H.backgroundColor&&he.setAttribute("mathbackground",H.backgroundColor),he};mn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(H,X,ne){var he=H.parser,Ae=H.funcName,Ge=ir(X[0],"color-token").color,Pt=X[1];return{type:"enclose",mode:he.mode,label:Ae,backgroundColor:Ge,body:Pt}},htmlBuilder:Br,mathmlBuilder:xr}),mn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(H,X,ne){var he=H.parser,Ae=H.funcName,Ge=ir(X[0],"color-token").color,Pt=ir(X[1],"color-token").color,Ut=X[2];return{type:"enclose",mode:he.mode,label:Ae,backgroundColor:Pt,borderColor:Ge,body:Ut}},htmlBuilder:Br,mathmlBuilder:xr}),mn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(H,X){var ne=H.parser;return{type:"enclose",mode:ne.mode,label:"\\fbox",body:X[0]}}}),mn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(H,X,ne){var he=H.parser,Ae=H.funcName,Ge=X[0];return{type:"enclose",mode:he.mode,label:Ae,body:Ge}},htmlBuilder:Br,mathmlBuilder:xr});var hn={};function Wn(Ve){for(var H=Ve.type,X=Ve.names,ne=Ve.props,he=Ve.handler,Ae=Ve.htmlBuilder,Ge=Ve.mathmlBuilder,Pt={type:H,numArgs:ne.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:he},Ut=0;Ut<X.length;++Ut)hn[X[Ut]]=Pt;Ae&&(Ei[H]=Ae),Ge&&(hi[H]=Ge)}function lt(Ve){var H=[];Ve.consumeSpaces();for(var X=Ve.fetch().text;X==="\\hline"||X==="\\hdashline";)Ve.consume(),H.push(X==="\\hdashline"),Ve.consumeSpaces(),X=Ve.fetch().text;return H}function Cn(Ve,H,X){var ne=H.hskipBeforeAndAfter,he=H.addJot,Ae=H.cols,Ge=H.arraystretch,Pt=H.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ge){var Ut=Ve.gullet.expandMacroAsText("\\arraystretch");if(Ut==null)Ge=1;else if(Ge=parseFloat(Ut),!Ge||Ge<0)throw new o("Invalid \\arraystretch: "+Ut)}Ve.gullet.beginGroup();var sr=[],Er=[sr],Ht=[],an=[];for(an.push(lt(Ve));;){var bn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),bn={type:"ordgroup",mode:Ve.mode,body:bn},X&&(bn={type:"styling",mode:Ve.mode,style:X,body:[bn]}),sr.push(bn);var $n=Ve.fetch().text;if($n==="&")Ve.consume();else if($n==="\\end"){sr.length===1&&bn.type==="styling"&&bn.body[0].body.length===0&&Er.pop(),an.length<Er.length+1&&an.push([]);break}else if($n==="\\cr"){var Un=ir(Ve.parseFunction(),"cr");Ht.push(Un.size),an.push(lt(Ve)),sr=[],Er.push(sr)}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:Ge,body:Er,cols:Ae,rowGaps:Ht,hskipBeforeAndAfter:ne,hLinesBeforeRow:an,colSeparationType:Pt}}function Yn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var ii=function(H,X){var ne,he,Ae=H.body.length,Ge=H.hLinesBeforeRow,Pt=0,Ut=new Array(Ae),sr=[],Er=Math.max(X.fontMetrics().arrayRuleWidth,X.minRuleThickness),Ht=1/X.fontMetrics().ptPerEm,an=5*Ht;if(H.colSeparationType&&H.colSeparationType==="small"){var bn=X.havingStyle(Z.SCRIPT).sizeMultiplier;an=.2778*(bn/X.sizeMultiplier)}var $n=12*Ht,Un=3*Ht,Si=H.arraystretch*$n,da=.7*Si,ia=.3*Si,la=0;function us(To){for(var mu=0;mu<To.length;++mu)mu>0&&(la+=.25),sr.push({pos:la,isDashed:To[mu]})}for(us(Ge[0]),ne=0;ne<H.body.length;++ne){var za=H.body[ne],hs=da,rs=ia;Pt<za.length&&(Pt=za.length);var xa=new Array(za.length);for(he=0;he<za.length;++he){var Za=Vi(za[he],X);rs<Za.depth&&(rs=Za.depth),hs<Za.height&&(hs=Za.height),xa[he]=Za}var ks=H.rowGaps[ne],_i=0;ks&&(_i=gi(ks,X),_i>0&&(_i+=ia,rs<_i&&(rs=_i),_i=0)),H.addJot&&(rs+=Un),xa.height=hs,xa.depth=rs,la+=hs,xa.pos=la,la+=rs+_i,Ut[ne]=xa,us(Ge[ne+1])}var oo=la/2+X.fontMetrics().axisHeight,Co=H.cols||[],Mo=[],Ms,go;for(he=0,go=0;he<Pt||go<Co.length;++he,++go){for(var ps=Co[go]||{},Xu=!0;ps.type==="separator";){if(Xu||(Ms=st.makeSpan(["arraycolsep"],[]),Ms.style.width=X.fontMetrics().doubleRuleSep+"em",Mo.push(Ms)),ps.separator==="|"||ps.separator===":"){var ju=ps.separator==="|"?"solid":"dashed",Qu=st.makeSpan(["vertical-separator"],[],X);Qu.style.height=la+"em",Qu.style.borderRightWidth=Er+"em",Qu.style.borderRightStyle=ju,Qu.style.margin="0 -"+Er/2+"em",Qu.style.verticalAlign=-(la-oo)+"em",Mo.push(Qu)}else throw new o("Invalid separator type: "+ps.separator);go++,ps=Co[go]||{},Xu=!1}if(!(he>=Pt)){var uu=void 0;(he>0||H.hskipBeforeAndAfter)&&(uu=A.deflt(ps.pregap,an),uu!==0&&(Ms=st.makeSpan(["arraycolsep"],[]),Ms.style.width=uu+"em",Mo.push(Ms)));var As=[];for(ne=0;ne<Ae;++ne){var Uu=Ut[ne],Cu=Uu[he];if(Cu){var yo=Uu.pos-oo;Cu.depth=Uu.depth,Cu.height=Uu.height,As.push({type:"elem",elem:Cu,shift:yo})}}As=st.makeVList({positionType:"individualShift",children:As},X),As=st.makeSpan(["col-align-"+(ps.align||"c")],[As]),Mo.push(As),(he<Pt-1||H.hskipBeforeAndAfter)&&(uu=A.deflt(ps.postgap,an),uu!==0&&(Ms=st.makeSpan(["arraycolsep"],[]),Ms.style.width=uu+"em",Mo.push(Ms)))}}if(Ut=st.makeSpan(["mtable"],Mo),sr.length>0){for(var pl=st.makeLineSpan("hline",X,Er),_l=st.makeLineSpan("hdashline",X,Er),qo=[{type:"elem",elem:Ut,shift:0}];sr.length>0;){var ml=sr.pop(),Gs=ml.pos-oo;ml.isDashed?qo.push({type:"elem",elem:_l,shift:Gs}):qo.push({type:"elem",elem:pl,shift:Gs})}Ut=st.makeVList({positionType:"individualShift",children:qo},X)}return st.makeSpan(["mord"],[Ut],X)},Ki={c:"center ",l:"left ",r:"right "},Nr=function(H,X){var ne=new In.MathNode("mtable",H.body.map(function(la){return new In.MathNode("mtr",la.map(function(us){return new In.MathNode("mtd",[Da(us,X)])}))})),he=H.arraystretch===.5?.1:.16+H.arraystretch-1+(H.addJot?.09:0);ne.setAttribute("rowspacing",he+"em");var Ae="",Ge="";if(H.cols){var Pt=H.cols,Ut="",sr=!1,Er=0,Ht=Pt.length;Pt[0].type==="separator"&&(Ae+="top ",Er=1),Pt[Pt.length-1].type==="separator"&&(Ae+="bottom ",Ht-=1);for(var an=Er;an<Ht;an++)Pt[an].type==="align"?(Ge+=Ki[Pt[an].align],sr&&(Ut+="none "),sr=!0):Pt[an].type==="separator"&&sr&&(Ut+=Pt[an].separator==="|"?"solid ":"dashed ",sr=!1);ne.setAttribute("columnalign",Ge.trim()),/[sd]/.test(Ut)&&ne.setAttribute("columnlines",Ut.trim())}if(H.colSeparationType==="align"){for(var bn=H.cols||[],$n="",Un=1;Un<bn.length;Un++)$n+=Un%2?"0em ":"1em ";ne.setAttribute("columnspacing",$n.trim())}else H.colSeparationType==="alignat"?ne.setAttribute("columnspacing","0em"):H.colSeparationType==="small"?ne.setAttribute("columnspacing","0.2778em"):ne.setAttribute("columnspacing","1em");var Si="",da=H.hLinesBeforeRow;Ae+=da[0].length>0?"left ":"",Ae+=da[da.length-1].length>0?"right ":"";for(var ia=1;ia<da.length-1;ia++)Si+=da[ia].length===0?"none ":da[ia][0]?"dashed ":"solid ";return/[sd]/.test(Si)&&ne.setAttribute("rowlines",Si.trim()),Ae!==""&&(ne=new In.MathNode("menclose",[ne]),ne.setAttribute("notation",Ae.trim())),H.arraystretch&&H.arraystretch<1&&(ne=new In.MathNode("mstyle",[ne]),ne.setAttribute("scriptlevel","1")),ne},Wr=function(H,X){var ne=[],he=Cn(H.parser,{cols:ne,addJot:!0},"display"),Ae,Ge=0,Pt={type:"ordgroup",mode:H.mode,body:[]},Ut=Rr(X[0],"ordgroup");if(Ut){for(var sr="",Er=0;Er<Ut.body.length;Er++){var Ht=ir(Ut.body[Er],"textord");sr+=Ht.text}Ae=Number(sr),Ge=Ae*2}var an=!Ge;he.body.forEach(function(Si){for(var da=1;da<Si.length;da+=2){var ia=ir(Si[da],"styling"),la=ir(ia.body[0],"ordgroup");la.body.unshift(Pt)}if(an)Ge<Si.length&&(Ge=Si.length);else{var us=Si.length/2;if(Ae<us)throw new o("Too many math in a row: "+("expected "+Ae+", but got "+us),Si[0])}});for(var bn=0;bn<Ge;++bn){var $n="r",Un=0;bn%2===1?$n="l":bn>0&&an&&(Un=1),ne[bn]={type:"align",align:$n,pregap:Un,postgap:0}}return he.colSeparationType=an?"align":"alignat",he};Wn({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(H,X){var ne=pn(X[0]),he=ne?[X[0]]:ir(X[0],"ordgroup").body,Ae=he.map(function(Pt){var Ut=jr(Pt),sr=Ut.text;if("lcr".indexOf(sr)!==-1)return{type:"align",align:sr};if(sr==="|")return{type:"separator",separator:"|"};if(sr===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+sr,Pt)}),Ge={cols:Ae,hskipBeforeAndAfter:!0};return Cn(H.parser,Ge,Yn(H.envName))},htmlBuilder:ii,mathmlBuilder:Nr}),Wn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(H){var X={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[H.envName],ne={hskipBeforeAndAfter:!1},he=Cn(H.parser,ne,Yn(H.envName));return X?{type:"leftright",mode:H.mode,body:[he],left:X[0],right:X[1],rightColor:void 0}:he},htmlBuilder:ii,mathmlBuilder:Nr}),Wn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(H){var X={arraystretch:.5},ne=Cn(H.parser,X,"script");return ne.colSeparationType="small",ne},htmlBuilder:ii,mathmlBuilder:Nr}),Wn({type:"array",names:["subarray"],props:{numArgs:1},handler:function(H,X){var ne=pn(X[0]),he=ne?[X[0]]:ir(X[0],"ordgroup").body,Ae=he.map(function(Pt){var Ut=jr(Pt),sr=Ut.text;if("lc".indexOf(sr)!==-1)return{type:"align",align:sr};throw new o("Unknown column alignment: "+sr,Pt)});if(Ae.length>1)throw new o("{subarray} can contain only one column");var Ge={cols:Ae,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ge=Cn(H.parser,Ge,"script"),Ge.body[0].length>1)throw new o("{subarray} can contain only one column");return Ge},htmlBuilder:ii,mathmlBuilder:Nr}),Wn({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(H){var X={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},ne=Cn(H.parser,X,Yn(H.envName));return{type:"leftright",mode:H.mode,body:[ne],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:ii,mathmlBuilder:Nr}),Wn({type:"array",names:["aligned"],props:{numArgs:0},handler:Wr,htmlBuilder:ii,mathmlBuilder:Nr}),Wn({type:"array",names:["gathered"],props:{numArgs:0},handler:function(H){var X={cols:[{type:"align",align:"c"}],addJot:!0};return Cn(H.parser,X,"display")},htmlBuilder:ii,mathmlBuilder:Nr}),Wn({type:"array",names:["alignedat"],props:{numArgs:1},handler:Wr,htmlBuilder:ii,mathmlBuilder:Nr}),mn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(H,X){throw new o(H.funcName+" valid only within array environment")}});var ma=hn,Ci=ma;mn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0];if(Ae.type!=="ordgroup")throw new o("Invalid environment name",Ae);for(var Ge="",Pt=0;Pt<Ae.body.length;++Pt)Ge+=ir(Ae.body[Pt],"textord").text;if(he==="\\begin"){if(!Ci.hasOwnProperty(Ge))throw new o("No such environment: "+Ge,Ae);var Ut=Ci[Ge],sr=ne.parseArguments("\\begin{"+Ge+"}",Ut),Er=sr.args,Ht=sr.optArgs,an={mode:ne.mode,envName:Ge,parser:ne},bn=Ut.handler(an,Er,Ht);ne.expect("\\end",!1);var $n=ne.nextToken,Un=ir(ne.parseFunction(),"environment");if(Un.name!==Ge)throw new o("Mismatch: \\begin{"+Ge+"} matched by \\end{"+Un.name+"}",$n);return bn}return{type:"environment",mode:ne.mode,name:Ge,nameGroup:Ae}}});var na=st.makeSpan;function Ds(Ve,H){var X=Wa(Ve.body,H,!0);return na([Ve.mclass],X,H)}function ai(Ve,H){var X,ne=Ui(Ve.body,H);return Ve.mclass==="minner"?In.newDocumentFragment(ne):(Ve.mclass==="mord"?Ve.isCharacterBox?(X=ne[0],X.type="mi"):X=new In.MathNode("mi",ne):(Ve.isCharacterBox?(X=ne[0],X.type="mo"):X=new In.MathNode("mo",ne),Ve.mclass==="mbin"?(X.attributes.lspace="0.22em",X.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(X.attributes.lspace="0em",X.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(X.attributes.lspace="0em",X.attributes.rspace="0em")),X)}mn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0];return{type:"mclass",mode:ne.mode,mclass:"m"+he.substr(5),body:Mi(Ae),isCharacterBox:A.isCharacterBox(Ae)}},htmlBuilder:Ds,mathmlBuilder:ai});var Ws=function(H){var X=H.type==="ordgroup"&&H.body.length?H.body[0]:H;return X.type==="atom"&&(X.family==="bin"||X.family==="rel")?"m"+X.family:"mord"};mn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(H,X){var ne=H.parser;return{type:"mclass",mode:ne.mode,mclass:Ws(X[0]),body:[X[1]],isCharacterBox:A.isCharacterBox(X[1])}}}),mn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[1],Ge=X[0],Pt;he!=="\\stackrel"?Pt=Ws(Ae):Pt="mrel";var Ut={type:"op",mode:Ae.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:he!=="\\stackrel",body:Mi(Ae)},sr={type:"supsub",mode:Ge.mode,base:Ut,sup:he==="\\underset"?null:Ge,sub:he==="\\underset"?Ge:null};return{type:"mclass",mode:ne.mode,mclass:Pt,body:[sr],isCharacterBox:A.isCharacterBox(sr)}},htmlBuilder:Ds,mathmlBuilder:ai});var Uo=function(H,X){var ne=H.font,he=X.withFont(ne);return Vi(H.body,he)},Ls=function(H,X){var ne=H.font,he=X.withFont(ne);return Da(H.body,he)},va={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};mn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0],Ge=he;return Ge in va&&(Ge=va[Ge]),{type:"font",mode:ne.mode,font:Ge.slice(1),body:Ae}},htmlBuilder:Uo,mathmlBuilder:Ls}),mn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(H,X){var ne=H.parser,he=X[0],Ae=A.isCharacterBox(he);return{type:"mclass",mode:ne.mode,mclass:Ws(he),body:[{type:"font",mode:ne.mode,font:"boldsymbol",body:he}],isCharacterBox:Ae}}}),mn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=H.breakOnTokenText,Ge=ne.mode,Pt=ne.parseExpression(!0,Ae),Ut="math"+he.slice(1);return{type:"font",mode:Ge,font:Ut,body:{type:"ordgroup",mode:ne.mode,body:Pt}}},htmlBuilder:Uo,mathmlBuilder:Ls});var Va=function(H,X){var ne=X;return H==="display"?ne=ne.id>=Z.SCRIPT.id?ne.text():Z.DISPLAY:H==="text"&&ne.size===Z.DISPLAY.size?ne=Z.TEXT:H==="script"?ne=Z.SCRIPT:H==="scriptscript"&&(ne=Z.SCRIPTSCRIPT),ne},ys=function(H,X){var ne=Va(H.size,X.style),he=ne.fracNum(),Ae=ne.fracDen(),Ge;Ge=X.havingStyle(he);var Pt=Vi(H.numer,Ge,X);if(H.continued){var Ut=8.5/X.fontMetrics().ptPerEm,sr=3.5/X.fontMetrics().ptPerEm;Pt.height=Pt.height<Ut?Ut:Pt.height,Pt.depth=Pt.depth<sr?sr:Pt.depth}Ge=X.havingStyle(Ae);var Er=Vi(H.denom,Ge,X),Ht,an,bn;H.hasBarLine?(H.barSize?(an=gi(H.barSize,X),Ht=st.makeLineSpan("frac-line",X,an)):Ht=st.makeLineSpan("frac-line",X),an=Ht.height,bn=Ht.height):(Ht=null,an=0,bn=X.fontMetrics().defaultRuleThickness);var $n,Un,Si;ne.size===Z.DISPLAY.size||H.size==="display"?($n=X.fontMetrics().num1,an>0?Un=3*bn:Un=7*bn,Si=X.fontMetrics().denom1):(an>0?($n=X.fontMetrics().num2,Un=bn):($n=X.fontMetrics().num3,Un=3*bn),Si=X.fontMetrics().denom2);var da;if(Ht){var la=X.fontMetrics().axisHeight;$n-Pt.depth-(la+.5*an)<Un&&($n+=Un-($n-Pt.depth-(la+.5*an))),la-.5*an-(Er.height-Si)<Un&&(Si+=Un-(la-.5*an-(Er.height-Si)));var us=-(la-.5*an);da=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Er,shift:Si},{type:"elem",elem:Ht,shift:us},{type:"elem",elem:Pt,shift:-$n}]},X)}else{var ia=$n-Pt.depth-(Er.height-Si);ia<Un&&($n+=.5*(Un-ia),Si+=.5*(Un-ia)),da=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Er,shift:Si},{type:"elem",elem:Pt,shift:-$n}]},X)}Ge=X.havingStyle(ne),da.height*=Ge.sizeMultiplier/X.sizeMultiplier,da.depth*=Ge.sizeMultiplier/X.sizeMultiplier;var za;ne.size===Z.DISPLAY.size?za=X.fontMetrics().delim1:za=X.fontMetrics().delim2;var hs,rs;return H.leftDelim==null?hs=Is(X,["mopen"]):hs=xn.customSizedDelim(H.leftDelim,za,!0,X.havingStyle(ne),H.mode,["mopen"]),H.continued?rs=st.makeSpan([]):H.rightDelim==null?rs=Is(X,["mclose"]):rs=xn.customSizedDelim(H.rightDelim,za,!0,X.havingStyle(ne),H.mode,["mclose"]),st.makeSpan(["mord"].concat(Ge.sizingClasses(X)),[hs,st.makeSpan(["mfrac"],[da]),rs],X)},Mn=function(H,X){var ne=new In.MathNode("mfrac",[Da(H.numer,X),Da(H.denom,X)]);if(!H.hasBarLine)ne.setAttribute("linethickness","0px");else if(H.barSize){var he=gi(H.barSize,X);ne.setAttribute("linethickness",he+"em")}var Ae=Va(H.size,X.style);if(Ae.size!==X.style.size){ne=new In.MathNode("mstyle",[ne]);var Ge=Ae.size===Z.DISPLAY.size?"true":"false";ne.setAttribute("displaystyle",Ge),ne.setAttribute("scriptlevel","0")}if(H.leftDelim!=null||H.rightDelim!=null){var Pt=[];if(H.leftDelim!=null){var Ut=new In.MathNode("mo",[new In.TextNode(H.leftDelim.replace("\\",""))]);Ut.setAttribute("fence","true"),Pt.push(Ut)}if(Pt.push(ne),H.rightDelim!=null){var sr=new In.MathNode("mo",[new In.TextNode(H.rightDelim.replace("\\",""))]);sr.setAttribute("fence","true"),Pt.push(sr)}return cs(Pt)}return ne};mn({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0],Ge=X[1],Pt,Ut=null,sr=null,Er="auto";switch(he){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Pt=!0;break;case"\\\\atopfrac":Pt=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Pt=!1,Ut="(",sr=")";break;case"\\\\bracefrac":Pt=!1,Ut="\\{",sr="\\}";break;case"\\\\brackfrac":Pt=!1,Ut="[",sr="]";break;default:throw new Error("Unrecognized genfrac command")}switch(he){case"\\cfrac":case"\\dfrac":case"\\dbinom":Er="display";break;case"\\tfrac":case"\\tbinom":Er="text";break}return{type:"genfrac",mode:ne.mode,continued:he==="\\cfrac",numer:Ae,denom:Ge,hasBarLine:Pt,leftDelim:Ut,rightDelim:sr,size:Er,barSize:null}},htmlBuilder:ys,mathmlBuilder:Mn}),mn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(H){var X=H.parser,ne=H.funcName,he=H.token,Ae;switch(ne){case"\\over":Ae="\\frac";break;case"\\choose":Ae="\\binom";break;case"\\atop":Ae="\\\\atopfrac";break;case"\\brace":Ae="\\\\bracefrac";break;case"\\brack":Ae="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:X.mode,replaceWith:Ae,token:he}}});var Ns=["display","text","script","scriptscript"],$s=function(H){var X=null;return H.length>0&&(X=H,X=X==="."?null:X),X};mn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(H,X){var ne=H.parser,he=X[4],Ae=X[5],Ge=Rr(X[0],"atom");Ge&&(Ge=Dr(X[0],"open"));var Pt=Ge?$s(Ge.text):null,Ut=Rr(X[1],"atom");Ut&&(Ut=Dr(X[1],"close"));var sr=Ut?$s(Ut.text):null,Er=ir(X[2],"size"),Ht,an=null;Er.isBlank?Ht=!0:(an=Er.value,Ht=an.number>0);var bn="auto",$n=Rr(X[3],"ordgroup");if($n){if($n.body.length>0){var Un=ir($n.body[0],"textord");bn=Ns[Number(Un.text)]}}else $n=ir(X[3],"textord"),bn=Ns[Number($n.text)];return{type:"genfrac",mode:ne.mode,numer:he,denom:Ae,continued:!1,hasBarLine:Ht,barSize:an,leftDelim:Pt,rightDelim:sr,size:bn}},htmlBuilder:ys,mathmlBuilder:Mn}),mn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=H.token;return{type:"infix",mode:ne.mode,replaceWith:"\\\\abovefrac",size:ir(X[0],"size").value,token:Ae}}}),mn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0],Ge=k(ir(X[1],"infix").size),Pt=X[2],Ut=Ge.number>0;return{type:"genfrac",mode:ne.mode,numer:Ae,denom:Pt,continued:!1,hasBarLine:Ut,barSize:Ge,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ys,mathmlBuilder:Mn});var Ke=function(H,X){var ne=X.style,he,Ae,Ge=Rr(H,"supsub");Ge?(he=Ge.sup?Vi(Ge.sup,X.havingStyle(ne.sup()),X):Vi(Ge.sub,X.havingStyle(ne.sub()),X),Ae=ir(Ge.base,"horizBrace")):Ae=ir(H,"horizBrace");var Pt=Vi(Ae.base,X.havingBaseStyle(Z.DISPLAY)),Ut=si.svgSpan(Ae,X),sr;if(Ae.isOver?(sr=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Pt},{type:"kern",size:.1},{type:"elem",elem:Ut}]},X),sr.children[0].children[0].children[1].classes.push("svg-align")):(sr=st.makeVList({positionType:"bottom",positionData:Pt.depth+.1+Ut.height,children:[{type:"elem",elem:Ut},{type:"kern",size:.1},{type:"elem",elem:Pt}]},X),sr.children[0].children[0].children[0].classes.push("svg-align")),he){var Er=st.makeSpan(["mord",Ae.isOver?"mover":"munder"],[sr],X);Ae.isOver?sr=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Er},{type:"kern",size:.2},{type:"elem",elem:he}]},X):sr=st.makeVList({positionType:"bottom",positionData:Er.depth+.2+he.height+he.depth,children:[{type:"elem",elem:he},{type:"kern",size:.2},{type:"elem",elem:Er}]},X)}return st.makeSpan(["mord",Ae.isOver?"mover":"munder"],[sr],X)},Xe=function(H,X){var ne=si.mathMLnode(H.label);return new In.MathNode(H.isOver?"mover":"munder",[Da(H.base,X),ne])};mn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=H.funcName;return{type:"horizBrace",mode:ne.mode,label:he,isOver:/^\\over/.test(he),base:X[0]}},htmlBuilder:Ke,mathmlBuilder:Xe}),mn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(H,X){var ne=H.parser,he=X[1],Ae=ir(X[0],"url").url;return ne.settings.isTrusted({command:"\\href",url:Ae})?{type:"href",mode:ne.mode,href:Ae,body:Mi(he)}:ne.formatUnsupportedCmd("\\href")},htmlBuilder:function(H,X){var ne=Wa(H.body,X,!1);return st.makeAnchor(H.href,[],ne,X)},mathmlBuilder:function(H,X){var ne=Ra(H.body,X);return ne instanceof vs||(ne=new vs("mrow",[ne])),ne.setAttribute("href",H.href),ne}}),mn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(H,X){var ne=H.parser,he=ir(X[0],"url").url;if(!ne.settings.isTrusted({command:"\\url",url:he}))return ne.formatUnsupportedCmd("\\url");for(var Ae=[],Ge=0;Ge<he.length;Ge++){var Pt=he[Ge];Pt==="~"&&(Pt="\\textasciitilde"),Ae.push({type:"textord",mode:"text",text:Pt})}var Ut={type:"text",mode:ne.mode,font:"\\texttt",body:Ae};return{type:"href",mode:ne.mode,href:he,body:Mi(Ut)}}}),mn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(H,X){var ne=H.parser;return{type:"htmlmathml",mode:ne.mode,html:Mi(X[0]),mathml:Mi(X[1])}},htmlBuilder:function(H,X){var ne=Wa(H.html,X,!1);return st.makeFragment(ne)},mathmlBuilder:function(H,X){return Ra(H.mathml,X)}});var Bt=function(H){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(H))return{number:+H,unit:"bp"};var X=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(H);if(!X)throw new o("Invalid size: '"+H+"' in \\includegraphics");var ne={number:+(X[1]+X[2]),unit:X[3]};if(!ji(ne))throw new o("Invalid unit: '"+ne.unit+"' in \\includegraphics.");return ne};mn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(H,X,ne){var he=H.parser,Ae={number:0,unit:"em"},Ge={number:.9,unit:"em"},Pt={number:0,unit:"em"},Ut="";if(ne[0])for(var sr=ir(ne[0],"raw").string,Er=sr.split(","),Ht=0;Ht<Er.length;Ht++){var an=Er[Ht].split("=");if(an.length===2){var bn=an[1].trim();switch(an[0].trim()){case"alt":Ut=bn;break;case"width":Ae=Bt(bn);break;case"height":Ge=Bt(bn);break;case"totalheight":Pt=Bt(bn);break;default:throw new o("Invalid key: '"+an[0]+"' in \\includegraphics.")}}}var $n=ir(X[0],"url").url;return Ut===""&&(Ut=$n,Ut=Ut.replace(/^.*[\\/]/,""),Ut=Ut.substring(0,Ut.lastIndexOf("."))),he.settings.isTrusted({command:"\\includegraphics",url:$n})?{type:"includegraphics",mode:he.mode,alt:Ut,width:Ae,height:Ge,totalheight:Pt,src:$n}:he.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(H,X){var ne=gi(H.height,X),he=0;H.totalheight.number>0&&(he=gi(H.totalheight,X)-ne,he=Number(he.toFixed(2)));var Ae=0;H.width.number>0&&(Ae=gi(H.width,X));var Ge={height:ne+he+"em"};Ae>0&&(Ge.width=Ae+"em"),he>0&&(Ge.verticalAlign=-he+"em");var Pt=new Be(H.src,H.alt,Ge);return Pt.height=ne,Pt.depth=he,Pt},mathmlBuilder:function(H,X){var ne=new In.MathNode("mglyph",[]);ne.setAttribute("alt",H.alt);var he=gi(H.height,X),Ae=0;if(H.totalheight.number>0&&(Ae=gi(H.totalheight,X)-he,Ae=Ae.toFixed(2),ne.setAttribute("valign","-"+Ae+"em")),ne.setAttribute("height",he+Ae+"em"),H.width.number>0){var Ge=gi(H.width,X);ne.setAttribute("width",Ge+"em")}return ne.setAttribute("src",H.src),ne}}),mn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=ir(X[0],"size");if(ne.settings.strict){var Ge=he[1]==="m",Pt=Ae.value.unit==="mu";Ge?(Pt||ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" supports only mu units, "+("not "+Ae.value.unit+" units")),ne.mode!=="math"&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" works only in math mode")):Pt&&ne.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+he+" doesn't support mu units")}return{type:"kern",mode:ne.mode,dimension:Ae.value}},htmlBuilder:function(H,X){return st.makeGlue(H.dimension,X)},mathmlBuilder:function(H,X){var ne=gi(H.dimension,X);return new In.SpaceNode(ne)}}),mn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0];return{type:"lap",mode:ne.mode,alignment:he.slice(5),body:Ae}},htmlBuilder:function(H,X){var ne;H.alignment==="clap"?(ne=st.makeSpan([],[Vi(H.body,X)]),ne=st.makeSpan(["inner"],[ne],X)):ne=st.makeSpan(["inner"],[Vi(H.body,X)]);var he=st.makeSpan(["fix"],[]),Ae=st.makeSpan([H.alignment],[ne,he],X),Ge=st.makeSpan(["strut"]);return Ge.style.height=Ae.height+Ae.depth+"em",Ge.style.verticalAlign=-Ae.depth+"em",Ae.children.unshift(Ge),Ae=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ae}]},X),st.makeSpan(["mord"],[Ae],X)},mathmlBuilder:function(H,X){var ne=new In.MathNode("mpadded",[Da(H.body,X)]);if(H.alignment!=="rlap"){var he=H.alignment==="llap"?"-1":"-0.5";ne.setAttribute("lspace",he+"width")}return ne.setAttribute("width","0px"),ne}}),mn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(H,X){var ne=H.funcName,he=H.parser,Ae=he.mode;he.switchMode("math");var Ge=ne==="\\("?"\\)":"$",Pt=he.parseExpression(!1,Ge);return he.expect(Ge),he.switchMode(Ae),{type:"styling",mode:he.mode,style:"text",body:Pt}}}),mn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(H,X){throw new o("Mismatched "+H.funcName)}});var Yt=function(H,X){switch(X.style.size){case Z.DISPLAY.size:return H.display;case Z.TEXT.size:return H.text;case Z.SCRIPT.size:return H.script;case Z.SCRIPTSCRIPT.size:return H.scriptscript;default:return H.text}};mn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(H,X){var ne=H.parser;return{type:"mathchoice",mode:ne.mode,display:Mi(X[0]),text:Mi(X[1]),script:Mi(X[2]),scriptscript:Mi(X[3])}},htmlBuilder:function(H,X){var ne=Yt(H,X),he=Wa(ne,X,!1);return st.makeFragment(he)},mathmlBuilder:function(H,X){var ne=Yt(H,X);return Ra(ne,X)}});var pr=function(H,X,ne,he,Ae,Ge,Pt){H=st.makeSpan([],[H]);var Ut,sr;if(X){var Er=Vi(X,he.havingStyle(Ae.sup()),he);sr={elem:Er,kern:Math.max(he.fontMetrics().bigOpSpacing1,he.fontMetrics().bigOpSpacing3-Er.depth)}}if(ne){var Ht=Vi(ne,he.havingStyle(Ae.sub()),he);Ut={elem:Ht,kern:Math.max(he.fontMetrics().bigOpSpacing2,he.fontMetrics().bigOpSpacing4-Ht.height)}}var an;if(sr&&Ut){var bn=he.fontMetrics().bigOpSpacing5+Ut.elem.height+Ut.elem.depth+Ut.kern+H.depth+Pt;an=st.makeVList({positionType:"bottom",positionData:bn,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ut.elem,marginLeft:-Ge+"em"},{type:"kern",size:Ut.kern},{type:"elem",elem:H},{type:"kern",size:sr.kern},{type:"elem",elem:sr.elem,marginLeft:Ge+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else if(Ut){var $n=H.height-Pt;an=st.makeVList({positionType:"top",positionData:$n,children:[{type:"kern",size:he.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ut.elem,marginLeft:-Ge+"em"},{type:"kern",size:Ut.kern},{type:"elem",elem:H}]},he)}else if(sr){var Un=H.depth+Pt;an=st.makeVList({positionType:"bottom",positionData:Un,children:[{type:"elem",elem:H},{type:"kern",size:sr.kern},{type:"elem",elem:sr.elem,marginLeft:Ge+"em"},{type:"kern",size:he.fontMetrics().bigOpSpacing5}]},he)}else return H;return st.makeSpan(["mop","op-limits"],[an],he)},Lr=["\\smallint"],zr=function(H,X){var ne,he,Ae=!1,Ge,Pt=Rr(H,"supsub");Pt?(ne=Pt.sup,he=Pt.sub,Ge=ir(Pt.base,"op"),Ae=!0):Ge=ir(H,"op");var Ut=X.style,sr=!1;Ut.size===Z.DISPLAY.size&&Ge.symbol&&!A.contains(Lr,Ge.name)&&(sr=!0);var Er;if(Ge.symbol){var Ht=sr?"Size2-Regular":"Size1-Regular",an="";if((Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&(an=Ge.name.substr(1),Ge.name=an==="oiint"?"\\iint":"\\iiint"),Er=st.makeSymbol(Ge.name,Ht,"math",X,["mop","op-symbol",sr?"large-op":"small-op"]),an.length>0){var bn=Er.italic,$n=st.staticSvg(an+"Size"+(sr?"2":"1"),X);Er=st.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Er,shift:0},{type:"elem",elem:$n,shift:sr?.08:0}]},X),Ge.name="\\"+an,Er.classes.unshift("mop"),Er.italic=bn}}else if(Ge.body){var Un=Wa(Ge.body,X,!0);Un.length===1&&Un[0]instanceof Re?(Er=Un[0],Er.classes[0]="mop"):Er=st.makeSpan(["mop"],st.tryCombineChars(Un),X)}else{for(var Si=[],da=1;da<Ge.name.length;da++)Si.push(st.mathsym(Ge.name[da],Ge.mode,X));Er=st.makeSpan(["mop"],Si,X)}var ia=0,la=0;return(Er instanceof Re||Ge.name==="\\oiint"||Ge.name==="\\oiiint")&&!Ge.suppressBaseShift&&(ia=(Er.height-Er.depth)/2-X.fontMetrics().axisHeight,la=Er.italic),Ae?pr(Er,ne,he,X,Ut,la,ia):(ia&&(Er.style.position="relative",Er.style.top=ia+"em"),Er)},_n=function(H,X){var ne;if(H.symbol)ne=new vs("mo",[$a(H.name,H.mode)]),A.contains(Lr,H.name)&&ne.setAttribute("largeop","false");else if(H.body)ne=new vs("mo",Ui(H.body,X));else{ne=new vs("mi",[new Na(H.name.slice(1))]);var he=new vs("mo",[$a("\u2061","text")]);H.parentIsSupSub?ne=new vs("mo",[ne,he]):ne=Fi([ne,he])}return ne},tn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};mn({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(H,X){var ne=H.parser,he=H.funcName,Ae=he;return Ae.length===1&&(Ae=tn[Ae]),{type:"op",mode:ne.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Ae}},htmlBuilder:zr,mathmlBuilder:_n}),mn({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"op",mode:ne.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Mi(he)}},htmlBuilder:zr,mathmlBuilder:_n});var gn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};mn({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(H){var X=H.parser,ne=H.funcName;return{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:zr,mathmlBuilder:_n}),mn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(H){var X=H.parser,ne=H.funcName;return{type:"op",mode:X.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:ne}},htmlBuilder:zr,mathmlBuilder:_n}),mn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(H){var X=H.parser,ne=H.funcName,he=ne;return he.length===1&&(he=gn[he]),{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:he}},htmlBuilder:zr,mathmlBuilder:_n});var Xn=function(H,X){var ne,he,Ae=!1,Ge,Pt=Rr(H,"supsub");Pt?(ne=Pt.sup,he=Pt.sub,Ge=ir(Pt.base,"operatorname"),Ae=!0):Ge=ir(H,"operatorname");var Ut;if(Ge.body.length>0){for(var sr=Ge.body.map(function(bn){var $n=bn.text;return typeof $n=="string"?{type:"textord",mode:bn.mode,text:$n}:bn}),Er=Wa(sr,X.withFont("mathrm"),!0),Ht=0;Ht<Er.length;Ht++){var an=Er[Ht];an instanceof Re&&(an.text=an.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ut=st.makeSpan(["mop"],Er,X)}else Ut=st.makeSpan(["mop"],[],X);return Ae?pr(Ut,ne,he,X,X.style,0,0):Ut},ei=function(H,X){for(var ne=Ui(H.body,X.withFont("mathrm")),he=!0,Ae=0;Ae<ne.length;Ae++){var Ge=ne[Ae];if(!(Ge instanceof In.SpaceNode))if(Ge instanceof In.MathNode)switch(Ge.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Pt=Ge.children[0];Ge.children.length===1&&Pt instanceof In.TextNode?Pt.text=Pt.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):he=!1;break}default:he=!1}else he=!1}if(he){var Ut=ne.map(function(Ht){return Ht.toText()}).join("");ne=[new In.TextNode(Ut)]}var sr=new In.MathNode("mi",ne);sr.setAttribute("mathvariant","normal");var Er=new In.MathNode("mo",[$a("\u2061","text")]);return H.parentIsSupSub?new In.MathNode("mo",[sr,Er]):In.newDocumentFragment([sr,Er])};mn({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0];return{type:"operatorname",mode:ne.mode,body:Mi(Ae),alwaysHandleSupSub:he==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:Xn,mathmlBuilder:ei}),ni({type:"ordgroup",htmlBuilder:function(H,X){return H.semisimple?st.makeFragment(Wa(H.body,X,!1)):st.makeSpan(["mord"],Wa(H.body,X,!0),X)},mathmlBuilder:function(H,X){return Ra(H.body,X,!0)}}),mn({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"overline",mode:ne.mode,body:he}},htmlBuilder:function(H,X){var ne=Vi(H.body,X.havingCrampedStyle()),he=st.makeLineSpan("overline-line",X),Ae=X.fontMetrics().defaultRuleThickness,Ge=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne},{type:"kern",size:3*Ae},{type:"elem",elem:he},{type:"kern",size:Ae}]},X);return st.makeSpan(["mord","overline"],[Ge],X)},mathmlBuilder:function(H,X){var ne=new In.MathNode("mo",[new In.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new In.MathNode("mover",[Da(H.body,X),ne]);return he.setAttribute("accent","true"),he}}),mn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"phantom",mode:ne.mode,body:Mi(he)}},htmlBuilder:function(H,X){var ne=Wa(H.body,X.withPhantom(),!1);return st.makeFragment(ne)},mathmlBuilder:function(H,X){var ne=Ui(H.body,X);return new In.MathNode("mphantom",ne)}}),mn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"hphantom",mode:ne.mode,body:he}},htmlBuilder:function(H,X){var ne=st.makeSpan([],[Vi(H.body,X.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}]},X),st.makeSpan(["mord"],[ne],X)},mathmlBuilder:function(H,X){var ne=Ui(Mi(H.body),X),he=new In.MathNode("mphantom",ne),Ae=new In.MathNode("mpadded",[he]);return Ae.setAttribute("height","0px"),Ae.setAttribute("depth","0px"),Ae}}),mn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=X[0];return{type:"vphantom",mode:ne.mode,body:he}},htmlBuilder:function(H,X){var ne=st.makeSpan(["inner"],[Vi(H.body,X.withPhantom())]),he=st.makeSpan(["fix"],[]);return st.makeSpan(["mord","rlap"],[ne,he],X)},mathmlBuilder:function(H,X){var ne=Ui(Mi(H.body),X),he=new In.MathNode("mphantom",ne),Ae=new In.MathNode("mpadded",[he]);return Ae.setAttribute("width","0px"),Ae}}),mn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(H,X){var ne=H.parser,he=ir(X[0],"size").value,Ae=X[1];return{type:"raisebox",mode:ne.mode,dy:he,body:Ae}},htmlBuilder:function(H,X){var ne=Vi(H.body,X),he=gi(H.dy,X);return st.makeVList({positionType:"shift",positionData:-he,children:[{type:"elem",elem:ne}]},X)},mathmlBuilder:function(H,X){var ne=new In.MathNode("mpadded",[Da(H.body,X)]),he=H.dy.number+H.dy.unit;return ne.setAttribute("voffset",he),ne}}),mn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(H,X,ne){var he=H.parser,Ae=ne[0],Ge=ir(X[0],"size"),Pt=ir(X[1],"size");return{type:"rule",mode:he.mode,shift:Ae&&ir(Ae,"size").value,width:Ge.value,height:Pt.value}},htmlBuilder:function(H,X){var ne=st.makeSpan(["mord","rule"],[],X),he=gi(H.width,X),Ae=gi(H.height,X),Ge=H.shift?gi(H.shift,X):0;return ne.style.borderRightWidth=he+"em",ne.style.borderTopWidth=Ae+"em",ne.style.bottom=Ge+"em",ne.width=he,ne.height=Ae+Ge,ne.depth=-Ge,ne.maxFontSize=Ae*1.125*X.sizeMultiplier,ne},mathmlBuilder:function(H,X){var ne=gi(H.width,X),he=gi(H.height,X),Ae=H.shift?gi(H.shift,X):0,Ge=X.color&&X.getColor()||"black",Pt=new In.MathNode("mspace");Pt.setAttribute("mathbackground",Ge),Pt.setAttribute("width",ne+"em"),Pt.setAttribute("height",he+"em");var Ut=new In.MathNode("mpadded",[Pt]);return Ae>=0?Ut.setAttribute("height","+"+Ae+"em"):(Ut.setAttribute("height",Ae+"em"),Ut.setAttribute("depth","+"+-Ae+"em")),Ut.setAttribute("voffset",Ae+"em"),Ut}});function bi(Ve,H,X){for(var ne=Wa(Ve,H,!1),he=H.sizeMultiplier/X.sizeMultiplier,Ae=0;Ae<ne.length;Ae++){var Ge=ne[Ae].classes.indexOf("sizing");Ge<0?Array.prototype.push.apply(ne[Ae].classes,H.sizingClasses(X)):ne[Ae].classes[Ge+1]==="reset-size"+H.size&&(ne[Ae].classes[Ge+1]="reset-size"+X.size),ne[Ae].height*=he,ne[Ae].depth*=he}return st.makeFragment(ne)}var wi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],zi=function(H,X){var ne=X.havingSize(H.size);return bi(H.body,ne,X)};mn({type:"sizing",names:wi,props:{numArgs:0,allowedInText:!0},handler:function(H,X){var ne=H.breakOnTokenText,he=H.funcName,Ae=H.parser,Ge=Ae.parseExpression(!1,ne);return{type:"sizing",mode:Ae.mode,size:wi.indexOf(he)+1,body:Ge}},htmlBuilder:zi,mathmlBuilder:function(H,X){var ne=X.havingSize(H.size),he=Ui(H.body,ne),Ae=new In.MathNode("mstyle",he);return Ae.setAttribute("mathsize",ne.sizeMultiplier+"em"),Ae}}),mn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(H,X,ne){var he=H.parser,Ae=!1,Ge=!1,Pt=ne[0]&&ir(ne[0],"ordgroup");if(Pt)for(var Ut="",sr=0;sr<Pt.body.length;++sr){var Er=Pt.body[sr];if(Ut=Er.text,Ut==="t")Ae=!0;else if(Ut==="b")Ge=!0;else{Ae=!1,Ge=!1;break}}else Ae=!0,Ge=!0;var Ht=X[0];return{type:"smash",mode:he.mode,body:Ht,smashHeight:Ae,smashDepth:Ge}},htmlBuilder:function(H,X){var ne=st.makeSpan([],[Vi(H.body,X)]);if(!H.smashHeight&&!H.smashDepth)return ne;if(H.smashHeight&&(ne.height=0,ne.children))for(var he=0;he<ne.children.length;he++)ne.children[he].height=0;if(H.smashDepth&&(ne.depth=0,ne.children))for(var Ae=0;Ae<ne.children.length;Ae++)ne.children[Ae].depth=0;var Ge=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne}]},X);return st.makeSpan(["mord"],[Ge],X)},mathmlBuilder:function(H,X){var ne=new In.MathNode("mpadded",[Da(H.body,X)]);return H.smashHeight&&ne.setAttribute("height","0px"),H.smashDepth&&ne.setAttribute("depth","0px"),ne}}),mn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(H,X,ne){var he=H.parser,Ae=ne[0],Ge=X[0];return{type:"sqrt",mode:he.mode,body:Ge,index:Ae}},htmlBuilder:function(H,X){var ne=Vi(H.body,X.havingCrampedStyle());ne.height===0&&(ne.height=X.fontMetrics().xHeight),ne=st.wrapFragment(ne,X);var he=X.fontMetrics(),Ae=he.defaultRuleThickness,Ge=Ae;X.style.id<Z.TEXT.id&&(Ge=X.fontMetrics().xHeight);var Pt=Ae+Ge/4,Ut=ne.height+ne.depth+Pt+Ae,sr=xn.sqrtImage(Ut,X),Er=sr.span,Ht=sr.ruleWidth,an=sr.advanceWidth,bn=Er.height-Ht;bn>ne.height+ne.depth+Pt&&(Pt=(Pt+bn-ne.height-ne.depth)/2);var $n=Er.height-ne.height-Pt-Ht;ne.style.paddingLeft=an+"em";var Un=st.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ne,wrapperClasses:["svg-align"]},{type:"kern",size:-(ne.height+$n)},{type:"elem",elem:Er},{type:"kern",size:Ht}]},X);if(H.index){var Si=X.havingStyle(Z.SCRIPTSCRIPT),da=Vi(H.index,Si,X),ia=.6*(Un.height-Un.depth),la=st.makeVList({positionType:"shift",positionData:-ia,children:[{type:"elem",elem:da}]},X),us=st.makeSpan(["root"],[la]);return st.makeSpan(["mord","sqrt"],[us,Un],X)}else return st.makeSpan(["mord","sqrt"],[Un],X)},mathmlBuilder:function(H,X){var ne=H.body,he=H.index;return he?new In.MathNode("mroot",[Da(ne,X),Da(he,X)]):new In.MathNode("msqrt",[Da(ne,X)])}});var Bi={display:Z.DISPLAY,text:Z.TEXT,script:Z.SCRIPT,scriptscript:Z.SCRIPTSCRIPT};mn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(H,X){var ne=H.breakOnTokenText,he=H.funcName,Ae=H.parser,Ge=Ae.parseExpression(!0,ne),Pt=he.slice(1,he.length-5);return{type:"styling",mode:Ae.mode,style:Pt,body:Ge}},htmlBuilder:function(H,X){var ne=Bi[H.style],he=X.havingStyle(ne).withFont("");return bi(H.body,he,X)},mathmlBuilder:function(H,X){var ne=Bi[H.style],he=X.havingStyle(ne),Ae=Ui(H.body,he),Ge=new In.MathNode("mstyle",Ae),Pt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ut=Pt[H.style];return Ge.setAttribute("scriptlevel",Ut[0]),Ge.setAttribute("displaystyle",Ut[1]),Ge}});var xi=function(H,X){var ne=H.base;if(ne)if(ne.type==="op"){var he=ne.limits&&(X.style.size===Z.DISPLAY.size||ne.alwaysHandleSupSub);return he?zr:null}else if(ne.type==="operatorname"){var Ae=ne.alwaysHandleSupSub&&(X.style.size===Z.DISPLAY.size||ne.limits);return Ae?Xn:null}else{if(ne.type==="accent")return A.isCharacterBox(ne.base)?Ua:null;if(ne.type==="horizBrace"){var Ge=!H.sub;return Ge===ne.isOver?Ke:null}else return null}else return null};ni({type:"supsub",htmlBuilder:function(H,X){var ne=xi(H,X);if(ne)return ne(H,X);var he=H.base,Ae=H.sup,Ge=H.sub,Pt=Vi(he,X),Ut,sr,Er=X.fontMetrics(),Ht=0,an=0,bn=he&&A.isCharacterBox(he);if(Ae){var $n=X.havingStyle(X.style.sup());Ut=Vi(Ae,$n,X),bn||(Ht=Pt.height-$n.fontMetrics().supDrop*$n.sizeMultiplier/X.sizeMultiplier)}if(Ge){var Un=X.havingStyle(X.style.sub());sr=Vi(Ge,Un,X),bn||(an=Pt.depth+Un.fontMetrics().subDrop*Un.sizeMultiplier/X.sizeMultiplier)}var Si;X.style===Z.DISPLAY?Si=Er.sup1:X.style.cramped?Si=Er.sup3:Si=Er.sup2;var da=X.sizeMultiplier,ia=.5/Er.ptPerEm/da+"em",la=null;if(sr){var us=H.base&&H.base.type==="op"&&H.base.name&&(H.base.name==="\\oiint"||H.base.name==="\\oiiint");(Pt instanceof Re||us)&&(la=-Pt.italic+"em")}var za;if(Ut&&sr){Ht=Math.max(Ht,Si,Ut.depth+.25*Er.xHeight),an=Math.max(an,Er.sub2);var hs=Er.defaultRuleThickness,rs=4*hs;if(Ht-Ut.depth-(sr.height-an)<rs){an=rs-(Ht-Ut.depth)+sr.height;var xa=.8*Er.xHeight-(Ht-Ut.depth);xa>0&&(Ht+=xa,an-=xa)}var Za=[{type:"elem",elem:sr,shift:an,marginRight:ia,marginLeft:la},{type:"elem",elem:Ut,shift:-Ht,marginRight:ia}];za=st.makeVList({positionType:"individualShift",children:Za},X)}else if(sr){an=Math.max(an,Er.sub1,sr.height-.8*Er.xHeight);var ks=[{type:"elem",elem:sr,marginLeft:la,marginRight:ia}];za=st.makeVList({positionType:"shift",positionData:an,children:ks},X)}else if(Ut)Ht=Math.max(Ht,Si,Ut.depth+.25*Er.xHeight),za=st.makeVList({positionType:"shift",positionData:-Ht,children:[{type:"elem",elem:Ut,marginRight:ia}]},X);else throw new Error("supsub must have either sup or sub.");var _i=Ga(Pt,"right")||"mord";return st.makeSpan([_i],[Pt,st.makeSpan(["msupsub"],[za])],X)},mathmlBuilder:function(H,X){var ne=!1,he,Ae,Ge=Rr(H.base,"horizBrace");Ge&&(Ae=!!H.sup,Ae===Ge.isOver&&(ne=!0,he=Ge.isOver)),H.base&&(H.base.type==="op"||H.base.type==="operatorname")&&(H.base.parentIsSupSub=!0);var Pt=[Da(H.base,X)];H.sub&&Pt.push(Da(H.sub,X)),H.sup&&Pt.push(Da(H.sup,X));var Ut;if(ne)Ut=he?"mover":"munder";else if(H.sub)if(H.sup){var Ht=H.base;Ht&&Ht.type==="op"&&Ht.limits&&X.style===Z.DISPLAY||Ht&&Ht.type==="operatorname"&&Ht.alwaysHandleSupSub&&(X.style===Z.DISPLAY||Ht.limits)?Ut="munderover":Ut="msubsup"}else{var Er=H.base;Er&&Er.type==="op"&&Er.limits&&(X.style===Z.DISPLAY||Er.alwaysHandleSupSub)||Er&&Er.type==="operatorname"&&Er.alwaysHandleSupSub&&(Er.limits||X.style===Z.DISPLAY)?Ut="munder":Ut="msub"}else{var sr=H.base;sr&&sr.type==="op"&&sr.limits&&(X.style===Z.DISPLAY||sr.alwaysHandleSupSub)||sr&&sr.type==="operatorname"&&sr.alwaysHandleSupSub&&(sr.limits||X.style===Z.DISPLAY)?Ut="mover":Ut="msup"}var an=new In.MathNode(Ut,Pt);return an}}),ni({type:"atom",htmlBuilder:function(H,X){return st.mathsym(H.text,H.mode,X,["m"+H.family])},mathmlBuilder:function(H,X){var ne=new In.MathNode("mo",[$a(H.text,H.mode)]);if(H.family==="bin"){var he=ja(H,X);he==="bold-italic"&&ne.setAttribute("mathvariant",he)}else H.family==="punct"?ne.setAttribute("separator","true"):(H.family==="open"||H.family==="close")&&ne.setAttribute("stretchy","false");return ne}});var ga={mi:"italic",mn:"normal",mtext:"normal"};ni({type:"mathord",htmlBuilder:function(H,X){return st.makeOrd(H,X,"mathord")},mathmlBuilder:function(H,X){var ne=new In.MathNode("mi",[$a(H.text,H.mode,X)]),he=ja(H,X)||"italic";return he!==ga[ne.type]&&ne.setAttribute("mathvariant",he),ne}}),ni({type:"textord",htmlBuilder:function(H,X){return st.makeOrd(H,X,"textord")},mathmlBuilder:function(H,X){var ne=$a(H.text,H.mode,X),he=ja(H,X)||"normal",Ae;return H.mode==="text"?Ae=new In.MathNode("mtext",[ne]):/[0-9]/.test(H.text)?Ae=new In.MathNode("mn",[ne]):H.text==="\\prime"?Ae=new In.MathNode("mo",[ne]):Ae=new In.MathNode("mi",[ne]),he!==ga[Ae.type]&&Ae.setAttribute("mathvariant",he),Ae}});var Ti={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},fi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ni({type:"spacing",htmlBuilder:function(H,X){if(fi.hasOwnProperty(H.text)){var ne=fi[H.text].className||"";if(H.mode==="text"){var he=st.makeOrd(H,X,"textord");return he.classes.push(ne),he}else return st.makeSpan(["mspace",ne],[st.mathsym(H.text,H.mode,X)],X)}else{if(Ti.hasOwnProperty(H.text))return st.makeSpan(["mspace",Ti[H.text]],[],X);throw new o('Unknown type of space "'+H.text+'"')}},mathmlBuilder:function(H,X){var ne;if(fi.hasOwnProperty(H.text))ne=new In.MathNode("mtext",[new In.TextNode("\xA0")]);else{if(Ti.hasOwnProperty(H.text))return new In.MathNode("mspace");throw new o('Unknown type of space "'+H.text+'"')}return ne}});var oa=function(){var H=new In.MathNode("mtd",[]);return H.setAttribute("width","50%"),H};ni({type:"tag",mathmlBuilder:function(H,X){var ne=new In.MathNode("mtable",[new In.MathNode("mtr",[oa(),new In.MathNode("mtd",[Ra(H.body,X)]),oa(),new In.MathNode("mtd",[Ra(H.tag,X)])])]);return ne.setAttribute("width","100%"),ne}});var eo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ss={"\\textbf":"textbf","\\textmd":"textmd"},Yi={"\\textit":"textit","\\textup":"textup"},La=function(H,X){var ne=H.font;return ne?eo[ne]?X.withTextFontFamily(eo[ne]):Ss[ne]?X.withTextFontWeight(Ss[ne]):X.withTextFontShape(Yi[ne]):X};mn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(H,X){var ne=H.parser,he=H.funcName,Ae=X[0];return{type:"text",mode:ne.mode,body:Mi(Ae),font:he}},htmlBuilder:function(H,X){var ne=La(H,X),he=Wa(H.body,ne,!0);return st.makeSpan(["mord","text"],st.tryCombineChars(he),ne)},mathmlBuilder:function(H,X){var ne=La(H,X);return Ra(H.body,ne)}}),mn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(H,X){var ne=H.parser;return{type:"underline",mode:ne.mode,body:X[0]}},htmlBuilder:function(H,X){var ne=Vi(H.body,X),he=st.makeLineSpan("underline-line",X),Ae=X.fontMetrics().defaultRuleThickness,Ge=st.makeVList({positionType:"top",positionData:ne.height,children:[{type:"kern",size:Ae},{type:"elem",elem:he},{type:"kern",size:3*Ae},{type:"elem",elem:ne}]},X);return st.makeSpan(["mord","underline"],[Ge],X)},mathmlBuilder:function(H,X){var ne=new In.MathNode("mo",[new In.TextNode("\u203E")]);ne.setAttribute("stretchy","true");var he=new In.MathNode("munder",[Da(H.body,X),ne]);return he.setAttribute("accentunder","true"),he}}),mn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(H,X,ne){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(H,X){for(var ne=ea(H),he=[],Ae=X.havingStyle(X.style.text()),Ge=0;Ge<ne.length;Ge++){var Pt=ne[Ge];Pt==="~"&&(Pt="\\textasciitilde"),he.push(st.makeSymbol(Pt,"Typewriter-Regular",H.mode,Ae,["mord","texttt"]))}return st.makeSpan(["mord","text"].concat(Ae.sizingClasses(X)),st.tryCombineChars(he),Ae)},mathmlBuilder:function(H,X){var ne=new In.TextNode(ea(H)),he=new In.MathNode("mtext",[ne]);return he.setAttribute("mathvariant","monospace"),he}});var ea=function(H){return H.body.replace(/ /g,H.star?"\u2423":"\xA0")},ki=pa,ba=ki,Ka=`[ \r
|
|
|
]`,Fa="\\\\[a-zA-Z@]+",io="\\\\[^\uD800-\uDFFF]",Ja=""+Fa+Ka+"*",ao=new RegExp("^("+Fa+")"+Ka+"*$"),es="[\u0300-\u036F]",js=new RegExp(es+"+$"),ts="("+Ka+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(es+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(es+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ja)+("|"+io+")"),Zi=function(){function Ve(X,ne){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=X,this.settings=ne,this.tokenRegex=new RegExp(ts,"g"),this.catcodes={"%":14}}var H=Ve.prototype;return H.setCatcode=function(ne,he){this.catcodes[ne]=he},H.lex=function(){var ne=this.input,he=this.tokenRegex.lastIndex;if(he===ne.length)return new c("EOF",new l(this,he,he));var Ae=this.tokenRegex.exec(ne);if(Ae===null||Ae.index!==he)throw new o("Unexpected character: '"+ne[he]+"'",new c(ne[he],new l(this,he,he+1)));var Ge=Ae[2]||" ";if(this.catcodes[Ge]===14){var Pt=ne.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Pt===-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=Pt+1,this.lex()}var Ut=Ge.match(ao);return Ut&&(Ge=Ut[1]),new c(Ge,new l(this,he,this.tokenRegex.lastIndex))},Ve}(),Ba=function(){function Ve(X,ne){X===void 0&&(X={}),ne===void 0&&(ne={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=ne,this.builtins=X,this.undefStack=[]}var H=Ve.prototype;return H.beginGroup=function(){this.undefStack.push({})},H.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])},H.has=function(ne){return this.current.hasOwnProperty(ne)||this.builtins.hasOwnProperty(ne)},H.get=function(ne){return this.current.hasOwnProperty(ne)?this.current[ne]:this.builtins[ne]},H.set=function(ne,he,Ae){if(Ae===void 0&&(Ae=!1),Ae){for(var Ge=0;Ge<this.undefStack.length;Ge++)delete this.undefStack[Ge][ne];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][ne]=he)}else{var Pt=this.undefStack[this.undefStack.length-1];Pt&&!Pt.hasOwnProperty(ne)&&(Pt[ne]=this.current[ne])}this.current[ne]=he},Ve}(),Os={},fa=Os;function ge(Ve,H){Os[Ve]=H}ge("\\@firstoftwo",function(Ve){var H=Ve.consumeArgs(2);return{tokens:H[0],numArgs:0}}),ge("\\@secondoftwo",function(Ve){var H=Ve.consumeArgs(2);return{tokens:H[1],numArgs:0}}),ge("\\@ifnextchar",function(Ve){var H=Ve.consumeArgs(3),X=Ve.future();return H[0].length===1&&H[0][0].text===X.text?{tokens:H[1],numArgs:0}:{tokens:H[2],numArgs:0}}),ge("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ge("\\TextOrMath",function(Ve){var H=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:H[0],numArgs:0}:{tokens:H[1],numArgs:0}});var we={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ge("\\char",function(Ve){var H=Ve.popToken(),X,ne="";if(H.text==="'")X=8,H=Ve.popToken();else if(H.text==='"')X=16,H=Ve.popToken();else if(H.text==="`")if(H=Ve.popToken(),H.text[0]==="\\")ne=H.text.charCodeAt(1);else{if(H.text==="EOF")throw new o("\\char` missing argument");ne=H.text.charCodeAt(0)}else X=10;if(X){if(ne=we[H.text],ne==null||ne>=X)throw new o("Invalid base-"+X+" digit "+H.text);for(var he;(he=we[Ve.future().text])!=null&&he<X;)ne*=X,ne+=he,Ve.popToken()}return"\\@char{"+ne+"}"});var Sr=function(H,X){var ne=H.consumeArgs(1)[0];if(ne.length!==1)throw new o("\\gdef's first argument must be a macro name");var he=ne[0].text,Ae=0;for(ne=H.consumeArgs(1)[0];ne.length===1&&ne[0].text==="#";){if(ne=H.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(Ae++,parseInt(ne[0].text)!==Ae)throw new o('Argument number "'+ne[0].text+'" out of order');ne=H.consumeArgs(1)[0]}return H.macros.set(he,{tokens:ne,numArgs:Ae},X),""};ge("\\gdef",function(Ve){return Sr(Ve,!0)}),ge("\\def",function(Ve){return Sr(Ve,!1)}),ge("\\global",function(Ve){var H=Ve.consumeArgs(1)[0];if(H.length!==1)throw new o("Invalid command after \\global");var X=H[0].text;if(X==="\\def")return Sr(Ve,!0);throw new o("Invalid command '"+X+"' after \\global")});var Jr=function(H,X,ne){var he=H.consumeArgs(1)[0];if(he.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Ae=he[0].text,Ge=H.isDefined(Ae);if(Ge&&!X)throw new o("\\newcommand{"+Ae+"} attempting to redefine "+(Ae+"; use \\renewcommand"));if(!Ge&&!ne)throw new o("\\renewcommand{"+Ae+"} when command "+Ae+" does not yet exist; use \\newcommand");var Pt=0;if(he=H.consumeArgs(1)[0],he.length===1&&he[0].text==="["){for(var Ut="",sr=H.expandNextToken();sr.text!=="]"&&sr.text!=="EOF";)Ut+=sr.text,sr=H.expandNextToken();if(!Ut.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+Ut);Pt=parseInt(Ut),he=H.consumeArgs(1)[0]}return H.macros.set(Ae,{tokens:he,numArgs:Pt}),""};ge("\\newcommand",function(Ve){return Jr(Ve,!1,!0)}),ge("\\renewcommand",function(Ve){return Jr(Ve,!0,!1)}),ge("\\providecommand",function(Ve){return Jr(Ve,!0,!0)}),ge("\\bgroup","{"),ge("\\egroup","}"),ge("\\lq","`"),ge("\\rq","'"),ge("\\aa","\\r a"),ge("\\AA","\\r A"),ge("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ge("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ge("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ge("\u212C","\\mathscr{B}"),ge("\u2130","\\mathscr{E}"),ge("\u2131","\\mathscr{F}"),ge("\u210B","\\mathscr{H}"),ge("\u2110","\\mathscr{I}"),ge("\u2112","\\mathscr{L}"),ge("\u2133","\\mathscr{M}"),ge("\u211B","\\mathscr{R}"),ge("\u212D","\\mathfrak{C}"),ge("\u210C","\\mathfrak{H}"),ge("\u2128","\\mathfrak{Z}"),ge("\\Bbbk","\\Bbb{k}"),ge("\xB7","\\cdotp"),ge("\\llap","\\mathllap{\\textrm{#1}}"),ge("\\rlap","\\mathrlap{\\textrm{#1}}"),ge("\\clap","\\mathclap{\\textrm{#1}}"),ge("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ge("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ge("\\ne","\\neq"),ge("\u2260","\\neq"),ge("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ge("\u2209","\\notin"),ge("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ge("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ge("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ge("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ge("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ge("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ge("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ge("\u27C2","\\perp"),ge("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ge("\u220C","\\notni"),ge("\u231C","\\ulcorner"),ge("\u231D","\\urcorner"),ge("\u231E","\\llcorner"),ge("\u231F","\\lrcorner"),ge("\xA9","\\copyright"),ge("\xAE","\\textregistered"),ge("\uFE0F","\\textregistered"),ge("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ge("\u22EE","\\vdots"),ge("\\varGamma","\\mathit{\\Gamma}"),ge("\\varDelta","\\mathit{\\Delta}"),ge("\\varTheta","\\mathit{\\Theta}"),ge("\\varLambda","\\mathit{\\Lambda}"),ge("\\varXi","\\mathit{\\Xi}"),ge("\\varPi","\\mathit{\\Pi}"),ge("\\varSigma","\\mathit{\\Sigma}"),ge("\\varUpsilon","\\mathit{\\Upsilon}"),ge("\\varPhi","\\mathit{\\Phi}"),ge("\\varPsi","\\mathit{\\Psi}"),ge("\\varOmega","\\mathit{\\Omega}"),ge("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ge("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ge("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ge("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ge("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ge("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var br={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ge("\\dots",function(Ve){var H="\\dotso",X=Ve.expandAfterFuture().text;return X in br?H=br[X]:(X.substr(0,4)==="\\not"||X in Ue.math&&A.contains(["bin","rel"],Ue.math[X].group))&&(H="\\dotsb"),H});var Xr={")":!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};ge("\\dotso",function(Ve){var H=Ve.future().text;return H in Xr?"\\ldots\\,":"\\ldots"}),ge("\\dotsc",function(Ve){var H=Ve.future().text;return H in Xr&&H!==","?"\\ldots\\,":"\\ldots"}),ge("\\cdots",function(Ve){var H=Ve.future().text;return H in Xr?"\\@cdots\\,":"\\@cdots"}),ge("\\dotsb","\\cdots"),ge("\\dotsm","\\cdots"),ge("\\dotsi","\\!\\cdots"),ge("\\dotsx","\\ldots\\,"),ge("\\DOTSI","\\relax"),ge("\\DOTSB","\\relax"),ge("\\DOTSX","\\relax"),ge("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ge("\\,","\\tmspace+{3mu}{.1667em}"),ge("\\thinspace","\\,"),ge("\\>","\\mskip{4mu}"),ge("\\:","\\tmspace+{4mu}{.2222em}"),ge("\\medspace","\\:"),ge("\\;","\\tmspace+{5mu}{.2777em}"),ge("\\thickspace","\\;"),ge("\\!","\\tmspace-{3mu}{.1667em}"),ge("\\negthinspace","\\!"),ge("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ge("\\negthickspace","\\tmspace-{5mu}{.277em}"),ge("\\enspace","\\kern.5em "),ge("\\enskip","\\hskip.5em\\relax"),ge("\\quad","\\hskip1em\\relax"),ge("\\qquad","\\hskip2em\\relax"),ge("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ge("\\tag@paren","\\tag@literal{({#1})}"),ge("\\tag@literal",function(Ve){if(Ve.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ge("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ge("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ge("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ge("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ge("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ge("\\\\","\\newline"),ge("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var En=nr["Main-Regular"][84][1]-.7*nr["Main-Regular"][65][1]+"em";ge("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+En+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ge("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+En+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ge("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ge("\\@hspace","\\hskip #1\\relax"),ge("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ge("\\ordinarycolon",":"),ge("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ge("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ge("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ge("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ge("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ge("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ge("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ge("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ge("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ge("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ge("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ge("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ge("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ge("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ge("\u2237","\\dblcolon"),ge("\u2239","\\eqcolon"),ge("\u2254","\\coloneqq"),ge("\u2255","\\eqqcolon"),ge("\u2A74","\\Coloneqq"),ge("\\ratio","\\vcentcolon"),ge("\\coloncolon","\\dblcolon"),ge("\\colonequals","\\coloneqq"),ge("\\coloncolonequals","\\Coloneqq"),ge("\\equalscolon","\\eqqcolon"),ge("\\equalscoloncolon","\\Eqqcolon"),ge("\\colonminus","\\coloneq"),ge("\\coloncolonminus","\\Coloneq"),ge("\\minuscolon","\\eqcolon"),ge("\\minuscoloncolon","\\Eqcolon"),ge("\\coloncolonapprox","\\Colonapprox"),ge("\\coloncolonsim","\\Colonsim"),ge("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ge("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ge("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ge("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ge("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ge("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ge("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ge("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ge("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ge("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ge("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ge("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ge("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ge("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ge("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ge("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ge("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ge("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ge("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ge("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ge("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ge("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ge("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ge("\u27E6","\\llbracket"),ge("\u27E7","\\rrbracket"),ge("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ge("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ge("\u2983","\\lBrace"),ge("\u2984","\\rBrace"),ge("\\darr","\\downarrow"),ge("\\dArr","\\Downarrow"),ge("\\Darr","\\Downarrow"),ge("\\lang","\\langle"),ge("\\rang","\\rangle"),ge("\\uarr","\\uparrow"),ge("\\uArr","\\Uparrow"),ge("\\Uarr","\\Uparrow"),ge("\\N","\\mathbb{N}"),ge("\\R","\\mathbb{R}"),ge("\\Z","\\mathbb{Z}"),ge("\\alef","\\aleph"),ge("\\alefsym","\\aleph"),ge("\\Alpha","\\mathrm{A}"),ge("\\Beta","\\mathrm{B}"),ge("\\bull","\\bullet"),ge("\\Chi","\\mathrm{X}"),ge("\\clubs","\\clubsuit"),ge("\\cnums","\\mathbb{C}"),ge("\\Complex","\\mathbb{C}"),ge("\\Dagger","\\ddagger"),ge("\\diamonds","\\diamondsuit"),ge("\\empty","\\emptyset"),ge("\\Epsilon","\\mathrm{E}"),ge("\\Eta","\\mathrm{H}"),ge("\\exist","\\exists"),ge("\\harr","\\leftrightarrow"),ge("\\hArr","\\Leftrightarrow"),ge("\\Harr","\\Leftrightarrow"),ge("\\hearts","\\heartsuit"),ge("\\image","\\Im"),ge("\\infin","\\infty"),ge("\\Iota","\\mathrm{I}"),ge("\\isin","\\in"),ge("\\Kappa","\\mathrm{K}"),ge("\\larr","\\leftarrow"),ge("\\lArr","\\Leftarrow"),ge("\\Larr","\\Leftarrow"),ge("\\lrarr","\\leftrightarrow"),ge("\\lrArr","\\Leftrightarrow"),ge("\\Lrarr","\\Leftrightarrow"),ge("\\Mu","\\mathrm{M}"),ge("\\natnums","\\mathbb{N}"),ge("\\Nu","\\mathrm{N}"),ge("\\Omicron","\\mathrm{O}"),ge("\\plusmn","\\pm"),ge("\\rarr","\\rightarrow"),ge("\\rArr","\\Rightarrow"),ge("\\Rarr","\\Rightarrow"),ge("\\real","\\Re"),ge("\\reals","\\mathbb{R}"),ge("\\Reals","\\mathbb{R}"),ge("\\Rho","\\mathrm{P}"),ge("\\sdot","\\cdot"),ge("\\sect","\\S"),ge("\\spades","\\spadesuit"),ge("\\sub","\\subset"),ge("\\sube","\\subseteq"),ge("\\supe","\\supseteq"),ge("\\Tau","\\mathrm{T}"),ge("\\thetasym","\\vartheta"),ge("\\weierp","\\wp"),ge("\\Zeta","\\mathrm{Z}"),ge("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ge("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ge("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ge("\\blue","\\textcolor{##6495ed}{#1}"),ge("\\orange","\\textcolor{##ffa500}{#1}"),ge("\\pink","\\textcolor{##ff00af}{#1}"),ge("\\red","\\textcolor{##df0030}{#1}"),ge("\\green","\\textcolor{##28ae7b}{#1}"),ge("\\gray","\\textcolor{gray}{#1}"),ge("\\purple","\\textcolor{##9d38bd}{#1}"),ge("\\blueA","\\textcolor{##ccfaff}{#1}"),ge("\\blueB","\\textcolor{##80f6ff}{#1}"),ge("\\blueC","\\textcolor{##63d9ea}{#1}"),ge("\\blueD","\\textcolor{##11accd}{#1}"),ge("\\blueE","\\textcolor{##0c7f99}{#1}"),ge("\\tealA","\\textcolor{##94fff5}{#1}"),ge("\\tealB","\\textcolor{##26edd5}{#1}"),ge("\\tealC","\\textcolor{##01d1c1}{#1}"),ge("\\tealD","\\textcolor{##01a995}{#1}"),ge("\\tealE","\\textcolor{##208170}{#1}"),ge("\\greenA","\\textcolor{##b6ffb0}{#1}"),ge("\\greenB","\\textcolor{##8af281}{#1}"),ge("\\greenC","\\textcolor{##74cf70}{#1}"),ge("\\greenD","\\textcolor{##1fab54}{#1}"),ge("\\greenE","\\textcolor{##0d923f}{#1}"),ge("\\goldA","\\textcolor{##ffd0a9}{#1}"),ge("\\goldB","\\textcolor{##ffbb71}{#1}"),ge("\\goldC","\\textcolor{##ff9c39}{#1}"),ge("\\goldD","\\textcolor{##e07d10}{#1}"),ge("\\goldE","\\textcolor{##a75a05}{#1}"),ge("\\redA","\\textcolor{##fca9a9}{#1}"),ge("\\redB","\\textcolor{##ff8482}{#1}"),ge("\\redC","\\textcolor{##f9685d}{#1}"),ge("\\redD","\\textcolor{##e84d39}{#1}"),ge("\\redE","\\textcolor{##bc2612}{#1}"),ge("\\maroonA","\\textcolor{##ffbde0}{#1}"),ge("\\maroonB","\\textcolor{##ff92c6}{#1}"),ge("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ge("\\maroonD","\\textcolor{##ca337c}{#1}"),ge("\\maroonE","\\textcolor{##9e034e}{#1}"),ge("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ge("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ge("\\purpleC","\\textcolor{##aa87ff}{#1}"),ge("\\purpleD","\\textcolor{##7854ab}{#1}"),ge("\\purpleE","\\textcolor{##543b78}{#1}"),ge("\\mintA","\\textcolor{##f5f9e8}{#1}"),ge("\\mintB","\\textcolor{##edf2df}{#1}"),ge("\\mintC","\\textcolor{##e0e5cc}{#1}"),ge("\\grayA","\\textcolor{##f6f7f7}{#1}"),ge("\\grayB","\\textcolor{##f0f1f2}{#1}"),ge("\\grayC","\\textcolor{##e3e5e6}{#1}"),ge("\\grayD","\\textcolor{##d6d8da}{#1}"),ge("\\grayE","\\textcolor{##babec2}{#1}"),ge("\\grayF","\\textcolor{##888d93}{#1}"),ge("\\grayG","\\textcolor{##626569}{#1}"),ge("\\grayH","\\textcolor{##3b3e40}{#1}"),ge("\\grayI","\\textcolor{##21242c}{#1}"),ge("\\kaBlue","\\textcolor{##314453}{#1}"),ge("\\kaGreen","\\textcolor{##71B307}{#1}");var Jn={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Ri=function(){function Ve(X,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(X),this.macros=new Ba(fa,ne.macros),this.mode=he,this.stack=[]}var H=Ve.prototype;return H.feed=function(ne){this.lexer=new Zi(ne,this.settings)},H.switchMode=function(ne){this.mode=ne},H.beginGroup=function(){this.macros.beginGroup()},H.endGroup=function(){this.macros.endGroup()},H.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},H.popToken=function(){return this.future(),this.stack.pop()},H.pushToken=function(ne){this.stack.push(ne)},H.pushTokens=function(ne){var he;(he=this.stack).push.apply(he,ne)},H.consumeSpaces=function(){for(;;){var ne=this.future();if(ne.text===" ")this.stack.pop();else break}},H.consumeArgs=function(ne){for(var he=[],Ae=0;Ae<ne;++Ae){this.consumeSpaces();var Ge=this.popToken();if(Ge.text==="{"){for(var Pt=[],Ut=1;Ut!==0;){var sr=this.popToken();if(Pt.push(sr),sr.text==="{")++Ut;else if(sr.text==="}")--Ut;else if(sr.text==="EOF")throw new o("End of input in macro argument",Ge)}Pt.pop(),Pt.reverse(),he[Ae]=Pt}else{if(Ge.text==="EOF")throw new o("End of input expecting macro argument");he[Ae]=[Ge]}}return he},H.expandOnce=function(){var ne=this.popToken(),he=ne.text,Ae=this._getExpansion(he);if(Ae==null)return this.pushToken(ne),ne;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ge=Ae.tokens;if(Ae.numArgs){var Pt=this.consumeArgs(Ae.numArgs);Ge=Ge.slice();for(var Ut=Ge.length-1;Ut>=0;--Ut){var sr=Ge[Ut];if(sr.text==="#"){if(Ut===0)throw new o("Incomplete placeholder at end of macro body",sr);if(sr=Ge[--Ut],sr.text==="#")Ge.splice(Ut+1,1);else if(/^[1-9]$/.test(sr.text)){var Er;(Er=Ge).splice.apply(Er,[Ut,2].concat(Pt[+sr.text-1]))}else throw new o("Not a valid argument number",sr)}}}return this.pushTokens(Ge),Ge},H.expandAfterFuture=function(){return this.expandOnce(),this.future()},H.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},H.expandMacro=function(ne){if(this.macros.get(ne)){var he=[],Ae=this.stack.length;for(this.pushToken(new c(ne));this.stack.length>Ae;){var Ge=this.expandOnce();Ge instanceof c&&he.push(this.stack.pop())}return he}},H.expandMacroAsText=function(ne){var he=this.expandMacro(ne);return he&&he.map(function(Ae){return Ae.text}).join("")},H._getExpansion=function(ne){var he=this.macros.get(ne);if(he==null)return he;var Ae=typeof he=="function"?he(this):he;if(typeof Ae=="string"){var Ge=0;if(Ae.indexOf("#")!==-1)for(var Pt=Ae.replace(/##/g,"");Pt.indexOf("#"+(Ge+1))!==-1;)++Ge;for(var Ut=new Zi(Ae,this.settings),sr=[],Er=Ut.lex();Er.text!=="EOF";)sr.push(Er),Er=Ut.lex();sr.reverse();var Ht={tokens:sr,numArgs:Ge};return Ht}return Ae},H.isDefined=function(ne){return this.macros.has(ne)||ba.hasOwnProperty(ne)||Ue.math.hasOwnProperty(ne)||Ue.text.hasOwnProperty(ne)||Jn.hasOwnProperty(ne)},Ve}(),Dn={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},On={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},Fn=function(){function Ve(X,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 Ri(X,ne,this.mode),this.settings=ne,this.leftrightDepth=0}var H=Ve.prototype;return H.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()},H.consume=function(){this.nextToken=null},H.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},H.switchMode=function(ne){this.mode=ne,this.gullet.switchMode(ne)},H.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},H.parseExpression=function(ne,he){for(var Ae=[];;){this.mode==="math"&&this.consumeSpaces();var Ge=this.fetch();if(Ve.endOfExpression.indexOf(Ge.text)!==-1||he&&Ge.text===he||ne&&ba[Ge.text]&&ba[Ge.text].infix)break;var Pt=this.parseAtom(he);if(!Pt)break;Ae.push(Pt)}return this.mode==="text"&&this.formLigatures(Ae),this.handleInfixNodes(Ae)},H.handleInfixNodes=function(ne){for(var he=-1,Ae,Ge=0;Ge<ne.length;Ge++){var Pt=Rr(ne[Ge],"infix");if(Pt){if(he!==-1)throw new o("only one infix operator per group",Pt.token);he=Ge,Ae=Pt.replaceWith}}if(he!==-1&&Ae){var Ut,sr,Er=ne.slice(0,he),Ht=ne.slice(he+1);Er.length===1&&Er[0].type==="ordgroup"?Ut=Er[0]:Ut={type:"ordgroup",mode:this.mode,body:Er},Ht.length===1&&Ht[0].type==="ordgroup"?sr=Ht[0]:sr={type:"ordgroup",mode:this.mode,body:Ht};var an;return Ae==="\\\\abovefrac"?an=this.callFunction(Ae,[Ut,ne[he],sr],[]):an=this.callFunction(Ae,[Ut,sr],[]),[an]}else return ne},H.handleSupSubscript=function(ne){var he=this.fetch(),Ae=he.text;this.consume();var Ge=this.parseGroup(ne,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ge)throw new o("Expected group after '"+Ae+"'",he);return Ge},H.formatUnsupportedCmd=function(ne){for(var he=[],Ae=0;Ae<ne.length;Ae++)he.push({type:"textord",mode:"text",text:ne[Ae]});var Ge={type:"text",mode:this.mode,body:he},Pt={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ge]};return Pt},H.parseAtom=function(ne){var he=this.parseGroup("atom",!1,null,ne);if(this.mode==="text")return he;for(var Ae,Ge;;){this.consumeSpaces();var Pt=this.fetch();if(Pt.text==="\\limits"||Pt.text==="\\nolimits"){var Ut=Rr(he,"op");if(Ut){var sr=Pt.text==="\\limits";Ut.limits=sr,Ut.alwaysHandleSupSub=!0}else if(Ut=Rr(he,"operatorname"),Ut&&Ut.alwaysHandleSupSub){var Er=Pt.text==="\\limits";Ut.limits=Er}else throw new o("Limit controls must follow a math operator",Pt);this.consume()}else if(Pt.text==="^"){if(Ae)throw new o("Double superscript",Pt);Ae=this.handleSupSubscript("superscript")}else if(Pt.text==="_"){if(Ge)throw new o("Double subscript",Pt);Ge=this.handleSupSubscript("subscript")}else if(Pt.text==="'"){if(Ae)throw new o("Double superscript",Pt);var Ht={type:"textord",mode:this.mode,text:"\\prime"},an=[Ht];for(this.consume();this.fetch().text==="'";)an.push(Ht),this.consume();this.fetch().text==="^"&&an.push(this.handleSupSubscript("superscript")),Ae={type:"ordgroup",mode:this.mode,body:an}}else break}return Ae||Ge?{type:"supsub",mode:this.mode,base:he,sup:Ae,sub:Ge}:he},H.parseFunction=function(ne,he,Ae){var Ge=this.fetch(),Pt=Ge.text,Ut=ba[Pt];if(!Ut)return null;if(this.consume(),Ae!=null&&Ut.greediness<=Ae)throw new o("Got function '"+Pt+"' with no arguments"+(he?" as "+he:""),Ge);if(this.mode==="text"&&!Ut.allowedInText)throw new o("Can't use function '"+Pt+"' in text mode",Ge);if(this.mode==="math"&&Ut.allowedInMath===!1)throw new o("Can't use function '"+Pt+"' in math mode",Ge);var sr=this.parseArguments(Pt,Ut),Er=sr.args,Ht=sr.optArgs;return this.callFunction(Pt,Er,Ht,Ge,ne)},H.callFunction=function(ne,he,Ae,Ge,Pt){var Ut={funcName:ne,parser:this,token:Ge,breakOnTokenText:Pt},sr=ba[ne];if(sr&&sr.handler)return sr.handler(Ut,he,Ae);throw new o("No function handler for "+ne)},H.parseArguments=function(ne,he){var Ae=he.numArgs+he.numOptionalArgs;if(Ae===0)return{args:[],optArgs:[]};for(var Ge=he.greediness,Pt=[],Ut=[],sr=0;sr<Ae;sr++){var Er=he.argTypes&&he.argTypes[sr],Ht=sr<he.numOptionalArgs,an=sr>0&&!Ht||sr===0&&!Ht&&this.mode==="math",bn=this.parseGroupOfType("argument to '"+ne+"'",Er,Ht,Ge,an);if(!bn){if(Ht){Ut.push(null);continue}throw new o("Expected group after '"+ne+"'",this.fetch())}(Ht?Ut:Pt).push(bn)}return{args:Pt,optArgs:Ut}},H.parseGroupOfType=function(ne,he,Ae,Ge,Pt){switch(he){case"color":return Pt&&this.consumeSpaces(),this.parseColorGroup(Ae);case"size":return Pt&&this.consumeSpaces(),this.parseSizeGroup(Ae);case"url":return this.parseUrlGroup(Ae,Pt);case"math":case"text":return this.parseGroup(ne,Ae,Ge,void 0,he,Pt);case"hbox":{var Ut=this.parseGroup(ne,Ae,Ge,void 0,"text",Pt);if(!Ut)return Ut;var sr={type:"styling",mode:Ut.mode,body:[Ut],style:"text"};return sr}case"raw":{if(Pt&&this.consumeSpaces(),Ae&&this.fetch().text==="{")return null;var Er=this.parseStringGroup("raw",Ae,!0);if(Er)return{type:"raw",mode:"text",string:Er.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(ne,Ae,Ge,void 0,void 0,Pt);default:throw new o("Unknown group type as "+ne,this.fetch())}},H.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},H.parseStringGroup=function(ne,he,Ae){var Ge=he?"[":"{",Pt=he?"]":"}",Ut=this.fetch();if(Ut.text!==Ge){if(he)return null;if(Ae&&Ut.text!=="EOF"&&/[^{}[\]]/.test(Ut.text))return this.consume(),Ut}var sr=this.mode;this.mode="text",this.expect(Ge);for(var Er="",Ht=this.fetch(),an=0,bn=Ht,$n;($n=this.fetch()).text!==Pt||Ae&&an>0;){switch($n.text){case"EOF":throw new o("Unexpected end of input in "+ne,Ht.range(bn,Er));case Ge:an++;break;case Pt:an--;break}bn=$n,Er+=bn.text,this.consume()}return this.expect(Pt),this.mode=sr,Ht.range(bn,Er)},H.parseRegexGroup=function(ne,he){var Ae=this.mode;this.mode="text";for(var Ge=this.fetch(),Pt=Ge,Ut="",sr;(sr=this.fetch()).text!=="EOF"&&ne.test(Ut+sr.text);)Pt=sr,Ut+=Pt.text,this.consume();if(Ut==="")throw new o("Invalid "+he+": '"+Ge.text+"'",Ge);return this.mode=Ae,Ge.range(Pt,Ut)},H.parseColorGroup=function(ne){var he=this.parseStringGroup("color",ne);if(!he)return null;var Ae=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(he.text);if(!Ae)throw new o("Invalid color: '"+he.text+"'",he);var Ge=Ae[0];return/^[0-9a-f]{6}$/i.test(Ge)&&(Ge="#"+Ge),{type:"color-token",mode:this.mode,color:Ge}},H.parseSizeGroup=function(ne){var he,Ae=!1;if(!ne&&this.fetch().text!=="{"?he=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):he=this.parseStringGroup("size",ne),!he)return null;!ne&&he.text.length===0&&(he.text="0pt",Ae=!0);var Ge=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(he.text);if(!Ge)throw new o("Invalid size: '"+he.text+"'",he);var Pt={number:+(Ge[1]+Ge[2]),unit:Ge[3]};if(!ji(Pt))throw new o("Invalid unit: '"+Pt.unit+"'",he);return{type:"size",mode:this.mode,value:Pt,isBlank:Ae}},H.parseUrlGroup=function(ne,he){this.gullet.lexer.setCatcode("%",13);var Ae=this.parseStringGroup("url",ne,!0);if(this.gullet.lexer.setCatcode("%",14),!Ae)return null;var Ge=Ae.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ge}},H.parseGroup=function(ne,he,Ae,Ge,Pt,Ut){var sr=this.mode;Pt&&this.switchMode(Pt),Ut&&this.consumeSpaces();var Er=this.fetch(),Ht=Er.text,an;if(he?Ht==="[":Ht==="{"||Ht==="\\begingroup"){this.consume();var bn=Ve.endOfGroup[Ht];this.gullet.beginGroup();var $n=this.parseExpression(!1,bn),Un=this.fetch();this.expect(bn),this.gullet.endGroup(),an={type:"ordgroup",mode:this.mode,loc:l.range(Er,Un),body:$n,semisimple:Ht==="\\begingroup"||void 0}}else if(he)an=null;else if(an=this.parseFunction(Ge,ne,Ae)||this.parseSymbol(),an==null&&Ht[0]==="\\"&&!Jn.hasOwnProperty(Ht)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+Ht,Er);an=this.formatUnsupportedCmd(Ht),this.consume()}return Pt&&this.switchMode(sr),an},H.formLigatures=function(ne){for(var he=ne.length-1,Ae=0;Ae<he;++Ae){var Ge=ne[Ae],Pt=Ge.text;Pt==="-"&&ne[Ae+1].text==="-"&&(Ae+1<he&&ne[Ae+2].text==="-"?(ne.splice(Ae,3,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+2]),text:"---"}),he-=2):(ne.splice(Ae,2,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+1]),text:"--"}),he-=1)),(Pt==="'"||Pt==="`")&&ne[Ae+1].text===Pt&&(ne.splice(Ae,2,{type:"textord",mode:"text",loc:l.range(Ge,ne[Ae+1]),text:Pt+Pt}),he-=1)}},H.parseSymbol=function(){var ne=this.fetch(),he=ne.text;if(/^\\verb[^a-zA-Z]/.test(he)){this.consume();var Ae=he.slice(5),Ge=Ae.charAt(0)==="*";if(Ge&&(Ae=Ae.slice(1)),Ae.length<2||Ae.charAt(0)!==Ae.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Ae=Ae.slice(1,-1),{type:"verb",mode:"text",body:Ae,star:Ge}}On.hasOwnProperty(he[0])&&!Ue[this.mode][he[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+he[0]+'" used in math mode',ne),he=On[he[0]]+he.substr(1));var Pt=js.exec(he);Pt&&(he=he.substring(0,Pt.index),he==="i"?he="\u0131":he==="j"&&(he="\u0237"));var Ut;if(Ue[this.mode][he]){this.settings.strict&&this.mode==="math"&&it.indexOf(he)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+he[0]+'" used in math mode',ne);var sr=Ue[this.mode][he].group,Er=l.range(ne),Ht;if(Gt.hasOwnProperty(sr)){var an=sr;Ht={type:"atom",mode:this.mode,family:an,loc:Er,text:he}}else Ht={type:sr,mode:this.mode,loc:Er,text:he};Ut=Ht}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)),Ut={type:"textord",mode:"text",loc:l.range(ne),text:he};else return null;if(this.consume(),Pt)for(var bn=0;bn<Pt[0].length;bn++){var $n=Pt[0][bn];if(!Dn[$n])throw new o("Unknown accent ' "+$n+"'",ne);var Un=Dn[$n][this.mode];if(!Un)throw new o("Accent "+$n+" unsupported in "+this.mode+" mode",ne);Ut={type:"accent",mode:this.mode,loc:l.range(ne),label:Un,isStretchy:!1,isShifty:!0,base:Ut}}return Ut},Ve}();Fn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Fn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Fn.SUPSUB_GREEDINESS=1;var ua=function(H,X){if(!(typeof H=="string"||H instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var ne=new Fn(H,X);delete ne.gullet.macros.current["\\df@tag"];var he=ne.parse();if(ne.gullet.macros.get("\\df@tag")){if(!X.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},Hi=ua,vo=function(H,X,ne){X.textContent="";var he=Yu(H,ne).toNode();X.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."),vo=function(){throw new o("KaTeX doesn't work in quirks mode.")});var so=function(H,X){var ne=Yu(H,X).toMarkup();return ne},ru=function(H,X){var ne=new D(X);return Hi(H,ne)},hl=function(H,X,ne){if(ne.throwOnError||!(H instanceof o))throw H;var he=st.makeSpan(["katex-error"],[new Re(X)]);return he.setAttribute("title",H.toString()),he.setAttribute("style","color:"+ne.errorColor),he},Yu=function(H,X){var ne=new D(X);try{var he=Hi(H,ne);return ho(he,H,ne)}catch(Ae){return hl(Ae,H,ne)}},pu=function(H,X){var ne=new D(X);try{var he=Hi(H,ne);return wa(he,H,ne)}catch(Ae){return hl(Ae,H,ne)}},Tl={version:"0.11.1",render:vo,renderToString:so,ParseError:o,__parse:ru,__renderToDomTree:Yu,__renderToHTMLTree:pu,__setFontMetrics:Qe,__defineSymbol:fe,__defineMacro:ge,__domTree:{Span:dt,Anchor:qe,SymbolNode:Re,SvgNode:He,PathNode:ze,LineNode:Ye}},_u=e.default=Tl}]).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 D in x)(p||u.call(x,D))&&!(k&&(D=="length"||b&&(D=="offset"||D=="parent")||S&&(D=="buffer"||D=="byteLength"||D=="byteOffset")||f(D,A)))&&R.push(D);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]",D="[object Float32Array]",M="[object Float64Array]",B="[object Int8Array]",j="[object Int16Array]",Y="[object Int32Array]",V="[object Uint8Array]",G="[object Uint8ClampedArray]",ae="[object Uint16Array]",ie="[object Uint32Array]",ue={};ue[D]=ue[M]=ue[B]=ue[j]=ue[Y]=ue[V]=ue[G]=ue[ae]=ue[ie]=!0,ue[c]=ue[f]=ue[R]=ue[o]=ue[A]=ue[h]=ue[u]=ue[a]=ue[x]=ue[p]=ue[y]=ue[_]=ue[b]=ue[S]=ue[k]=!1;function q(J){return l(J)&&i(J.length)&&!!ue[r(J)]}d.exports=q},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,D,M,B,j,Y){var V=b(R,D),G=b(A,D),ae=Y.get(G);if(ae){r(R,D,ae);return}var ie=j?j(V,G,D+"",R,A,Y):void 0,ue=ie===void 0;if(ue){var q=h(G),J=!q&&a(G),K=!q&&!J&&_(G);ie=G,q||J||K?h(V)?ie=V:u(V)?ie=c(V):J?(ue=!1,ie=i(G,!0)):K?(ue=!1,ie=l(G,!0)):ie=[]:y(G)||o(G)?(ie=V,o(V)?ie=S(V):(!p(V)||x(V))&&(ie=f(G))):ue=!1}ue&&(Y.set(G,ie),B(ie,G,M,j,Y),Y.delete(G)),r(R,D,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,D=8,M=16,B=32,j=64,Y=128,V=256,G=512,ae=30,ie="...",ue=800,q=16,J=1,K=2,oe=3,ee=1/0,Q=9007199254740991,le=17976931348623157e292,Z=NaN,$=4294967295,se=$-1,_e=$>>>1,Ie=[["ary",Y],["bind",k],["bindKey",R],["curry",D],["curryRight",M],["flip",G],["partial",B],["partialRight",j],["rearg",V]],De="[object Arguments]",Ze="[object Array]",Ne="[object AsyncFunction]",Lt="[object Boolean]",bt="[object Date]",kt="[object DOMException]",jt="[object Error]",Wt="[object Function]",zt="[object GeneratorFunction]",We="[object Map]",St="[object Number]",Ft="[object Null]",tt="[object Object]",_t="[object Promise]",dt="[object Proxy]",qe="[object RegExp]",Be="[object Set]",Ee="[object String]",Re="[object Symbol]",He="[object Undefined]",ze="[object WeakMap]",Ye="[object WeakSet]",ht="[object ArrayBuffer]",xt="[object DataView]",nr="[object Float32Array]",er="[object Float64Array]",Le="[object Int8Array]",Qe="[object Int16Array]",Qt="[object Int32Array]",Rt="[object Uint8Array]",Vt="[object Uint8ClampedArray]",Gt="[object Uint16Array]",Tt="[object Uint32Array]",qt=/\b__p \+= '';/g,Ue=/\b(__p \+=) '' \+/g,fe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,Ot=/[&<>"']/g,Ce=RegExp(pe.source),ct=RegExp(Ot.source),Kt=/<%-([\s\S]+?)%>/g,At=/<%([\s\S]+?)%>/g,Te=/<%=([\s\S]+?)%>/g,Et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ye=/^\w*$/,et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yt=/[\\^$.*+?()[\]{}|]/g,Nt=RegExp(yt.source),Fe=/^\s+/,Ir=/\s/,Ct=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gr=/\{\n\/\* \[wrapped with (.+)\] \*/,Qr=/,? & /,Mr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Fr=/[()=,{}\[\]\/\s]/,mr=/\\(\\)?/g,$r=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nn=/\w*$/,cn=/^[-+]0x[0-9a-f]+$/i,Xt=/^0b[01]+$/i,mt=/^\[object .+?Constructor\]$/,ut=/^0o[0-7]+$/i,ft=/^(?:0|[1-9]\d*)$/,$t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,yr=/($^)/,gr=/['\n\r\u2028\u2029\\]/g,it="\\ud800-\\udfff",Tr="\\u0300-\\u036f",fn="\\ufe20-\\ufe2f",Ln="\\u20d0-\\u20ff",Vr=Tr+fn+Ln,Zn="\\u2700-\\u27bf",Hn="a-z\\xdf-\\xf6\\xf8-\\xff",Pn="\\xac\\xb1\\xd7\\xf7",yn="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Vn="\\u2000-\\u206f",oi=" \\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",mi="A-Z\\xc0-\\xd6\\xd8-\\xde",Di="\\ufe0e\\ufe0f",ji=Pn+yn+Vn+oi,gi="['\u2019]",Ea="["+it+"]",ui="["+ji+"]",Ji="["+Vr+"]",It="\\d+",gt="["+Zn+"]",Oi="["+Hn+"]",Xi="[^"+it+ji+It+Zn+Hn+mi+"]",vi="\\ud83c[\\udffb-\\udfff]",ya="(?:"+Ji+"|"+vi+")",yi="[^"+it+"]",qn="(?:\\ud83c[\\udde6-\\uddff]){2}",Sn="[\\ud800-\\udbff][\\udc00-\\udfff]",rr="["+mi+"]",vt="\\u200d",nt="(?:"+Oi+"|"+Xi+")",Dt="(?:"+rr+"|"+Xi+")",pt="(?:"+gi+"(?:d|ll|m|re|s|t|ve))?",cr="(?:"+gi+"(?:D|LL|M|RE|S|T|VE))?",dr=ya+"?",Ar="["+Di+"]?",Zr="(?:"+vt+"(?:"+[yi,qn,Sn].join("|")+")"+Ar+dr+")*",$e="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Je="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xe=Ar+dr+Zr,st="(?:"+[gt,qn,Sn].join("|")+")"+xe,ir="(?:"+[yi+Ji+"?",Ji,qn,Sn,Ea].join("|")+")",Rr=RegExp(gi,"g"),Dr=RegExp(Ji,"g"),Pr=RegExp(vi+"(?="+vi+")|"+ir+xe,"g"),jr=RegExp([rr+"?"+Oi+"+"+pt+"(?="+[ui,rr,"$"].join("|")+")",Dt+"+"+cr+"(?="+[ui,rr+nt,"$"].join("|")+")",rr+"?"+nt+"+"+pt,rr+"+"+cr,Je,$e,It,st].join("|"),"g"),pn=RegExp("["+vt+it+Vr+Di+"]"),Cr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ln=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rn=-1,sn={};sn[nr]=sn[er]=sn[Le]=sn[Qe]=sn[Qt]=sn[Rt]=sn[Vt]=sn[Gt]=sn[Tt]=!0,sn[De]=sn[Ze]=sn[ht]=sn[Lt]=sn[xt]=sn[bt]=sn[jt]=sn[Wt]=sn[We]=sn[St]=sn[tt]=sn[qe]=sn[Be]=sn[Ee]=sn[ze]=!1;var wn={};wn[De]=wn[Ze]=wn[ht]=wn[xt]=wn[Lt]=wn[bt]=wn[nr]=wn[er]=wn[Le]=wn[Qe]=wn[Qt]=wn[We]=wn[St]=wn[tt]=wn[qe]=wn[Be]=wn[Ee]=wn[Re]=wn[Rt]=wn[Vt]=wn[Gt]=wn[Tt]=!0,wn[jt]=wn[Wt]=wn[ze]=!1;var pa={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Ei={"&":"&","<":"<",">":">",'"':""","'":"'"},hi={"&":"&","<":"<",">":">",""":'"',"'":"'"},mn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ni=parseFloat,Mi=parseInt,ca=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Ha=typeof self=="object"&&self&&self.Object===Object&&self,Ta=ca||Ha||Function("return this")(),fs=v&&!v.nodeType&&v,Es=fs&&!0&&d&&!d.nodeType&&d,Wa=Es&&Es.exports===fs,pi=Wa&&ca.process,ra=function(){try{var lr=Es&&Es.require&&Es.require("util").types;return lr||pi&&pi.binding&&pi.binding("util")}catch(Br){}}(),os=ra&&ra.isArrayBuffer,Ga=ra&&ra.isDate,Is=ra&&ra.isMap,Vi=ra&&ra.isRegExp,ms=ra&&ra.isSet,bo=ra&&ra.isTypedArray;function Fi(lr,Br,xr){switch(xr.length){case 0:return lr.call(Br);case 1:return lr.call(Br,xr[0]);case 2:return lr.call(Br,xr[0],xr[1]);case 3:return lr.call(Br,xr[0],xr[1],xr[2])}return lr.apply(Br,xr)}function vs(lr,Br,xr,hn){for(var Wn=-1,lt=lr==null?0:lr.length;++Wn<lt;){var Cn=lr[Wn];Br(hn,Cn,xr(Cn),lr)}return hn}function Na(lr,Br){for(var xr=-1,hn=lr==null?0:lr.length;++xr<hn&&Br(lr[xr],xr,lr)!==!1;);return lr}function Ys(lr,Br){for(var xr=lr==null?0:lr.length;xr--&&Br(lr[xr],xr,lr)!==!1;);return lr}function In(lr,Br){for(var xr=-1,hn=lr==null?0:lr.length;++xr<hn;)if(!Br(lr[xr],xr,lr))return!1;return!0}function $a(lr,Br){for(var xr=-1,hn=lr==null?0:lr.length,Wn=0,lt=[];++xr<hn;){var Cn=lr[xr];Br(Cn,xr,lr)&&(lt[Wn++]=Cn)}return lt}function cs(lr,Br){var xr=lr==null?0:lr.length;return!!xr&&no(lr,Br,0)>-1}function ja(lr,Br,xr){for(var hn=-1,Wn=lr==null?0:lr.length;++hn<Wn;)if(xr(Br,lr[hn]))return!0;return!1}function Ui(lr,Br){for(var xr=-1,hn=lr==null?0:lr.length,Wn=Array(hn);++xr<hn;)Wn[xr]=Br(lr[xr],xr,lr);return Wn}function Ra(lr,Br){for(var xr=-1,hn=Br.length,Wn=lr.length;++xr<hn;)lr[Wn+xr]=Br[xr];return lr}function Da(lr,Br,xr,hn){var Wn=-1,lt=lr==null?0:lr.length;for(hn&<&&(xr=lr[++Wn]);++Wn<lt;)xr=Br(xr,lr[Wn],Wn,lr);return xr}function ws(lr,Br,xr,hn){var Wn=lr==null?0:lr.length;for(hn&&Wn&&(xr=lr[--Wn]);Wn--;)xr=Br(xr,lr[Wn],Wn,lr);return xr}function Xs(lr,Br){for(var xr=-1,hn=lr==null?0:lr.length;++xr<hn;)if(Br(lr[xr],xr,lr))return!0;return!1}var xo=ci("length");function ho(lr){return lr.split("")}function wa(lr){return lr.match(Mr)||[]}function gs(lr,Br,xr){var hn;return xr(lr,function(Wn,lt,Cn){if(Br(Wn,lt,Cn))return hn=lt,!1}),hn}function Zs(lr,Br,xr,hn){for(var Wn=lr.length,lt=xr+(hn?1:-1);hn?lt--:++lt<Wn;)if(Br(lr[lt],lt,lr))return lt;return-1}function no(lr,Br,xr){return Br===Br?Au(lr,Br,xr):Zs(lr,wo,xr)}function Eo(lr,Br,xr,hn){for(var Wn=xr-1,lt=lr.length;++Wn<lt;)if(hn(lr[Wn],Br))return Wn;return-1}function wo(lr){return lr!==lr}function po(lr,Br){var xr=lr==null?0:lr.length;return xr?qa(lr,Br)/xr:Z}function ci(lr){return function(Br){return Br==null?i:Br[lr]}}function si(lr){return function(Br){return lr==null?i:lr[Br]}}function Ua(lr,Br,xr,hn,Wn){return Wn(lr,function(lt,Cn,Yn){xr=hn?(hn=!1,lt):Br(xr,lt,Cn,Yn)}),xr}function Qa(lr,Br){var xr=lr.length;for(lr.sort(Br);xr--;)lr[xr]=lr[xr].value;return lr}function qa(lr,Br){for(var xr,hn=-1,Wn=lr.length;++hn<Wn;){var lt=Br(lr[hn]);lt!==i&&(xr=xr===i?lt:xr+lt)}return xr}function Qs(lr,Br){for(var xr=-1,hn=Array(lr);++xr<lr;)hn[xr]=Br(xr);return hn}function qs(lr,Br){return Ui(Br,function(xr){return[xr,lr[xr]]})}function Qo(lr){return lr&&lr.slice(0,vr(lr)+1).replace(Fe,"")}function ds(lr){return function(Br){return lr(Br)}}function Oo(lr,Br){return Ui(Br,function(xr){return lr[xr]})}function ko(lr,Br){return lr.has(Br)}function Ho(lr,Br){for(var xr=-1,hn=lr.length;++xr<hn&&no(Br,lr[xr],0)>-1;);return xr}function Su(lr,Br){for(var xr=lr.length;xr--&&no(Br,lr[xr],0)>-1;);return xr}function So(lr,Br){for(var xr=lr.length,hn=0;xr--;)lr[xr]===Br&&++hn;return hn}var _o=si(pa),Js=si(Ei);function $u(lr){return"\\"+mn[lr]}function Ro(lr,Br){return lr==null?i:lr[Br]}function Lo(lr){return pn.test(lr)}function Hs(lr){return Cr.test(lr)}function du(lr){for(var Br,xr=[];!(Br=lr.next()).done;)xr.push(Br.value);return xr}function jo(lr){var Br=-1,xr=Array(lr.size);return lr.forEach(function(hn,Wn){xr[++Br]=[Wn,hn]}),xr}function Ao(lr,Br){return function(xr){return lr(Br(xr))}}function Bs(lr,Br){for(var xr=-1,hn=lr.length,Wn=0,lt=[];++xr<hn;){var Cn=lr[xr];(Cn===Br||Cn===x)&&(lr[xr]=x,lt[Wn++]=xr)}return lt}function Rs(lr){var Br=-1,xr=Array(lr.size);return lr.forEach(function(hn){xr[++Br]=hn}),xr}function hu(lr){var Br=-1,xr=Array(lr.size);return lr.forEach(function(hn){xr[++Br]=[hn,hn]}),xr}function Au(lr,Br,xr){for(var hn=xr-1,Wn=lr.length;++hn<Wn;)if(lr[hn]===Br)return hn;return-1}function tr(lr,Br,xr){for(var hn=xr+1;hn--;)if(lr[hn]===Br)return hn;return hn}function hr(lr){return Lo(lr)?vn(lr):xo(lr)}function ur(lr){return Lo(lr)?xn(lr):ho(lr)}function vr(lr){for(var Br=lr.length;Br--&&Ir.test(lr.charAt(Br)););return Br}var wr=si(hi);function vn(lr){for(var Br=Pr.lastIndex=0;Pr.test(lr);)++Br;return Br}function xn(lr){return lr.match(Pr)||[]}function Nn(lr){return lr.match(jr)||[]}var Rn=function lr(Br){Br=Br==null?Ta:Kn.defaults(Ta.Object(),Br,Kn.pick(Ta,ln));var xr=Br.Array,hn=Br.Date,Wn=Br.Error,lt=Br.Function,Cn=Br.Math,Yn=Br.Object,ii=Br.RegExp,Ki=Br.String,Nr=Br.TypeError,Wr=xr.prototype,ma=lt.prototype,Ci=Yn.prototype,na=Br["__core-js_shared__"],Ds=ma.toString,ai=Ci.hasOwnProperty,Ws=0,Uo=function(){var w=/[^.]+$/.exec(na&&na.keys&&na.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),Ls=Ci.toString,va=Ds.call(Yn),Va=Ta._,ys=ii("^"+Ds.call(ai).replace(yt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mn=Wa?Br.Buffer:i,Ns=Br.Symbol,$s=Br.Uint8Array,Ke=Mn?Mn.allocUnsafe:i,Xe=Ao(Yn.getPrototypeOf,Yn),Bt=Yn.create,Yt=Ci.propertyIsEnumerable,pr=Wr.splice,Lr=Ns?Ns.isConcatSpreadable:i,zr=Ns?Ns.iterator:i,_n=Ns?Ns.toStringTag:i,tn=function(){try{var w=Oa(Yn,"defineProperty");return w({},"",{}),w}catch(F){}}(),gn=Br.clearTimeout!==Ta.clearTimeout&&Br.clearTimeout,Xn=hn&&hn.now!==Ta.Date.now&&hn.now,ei=Br.setTimeout!==Ta.setTimeout&&Br.setTimeout,bi=Cn.ceil,wi=Cn.floor,zi=Yn.getOwnPropertySymbols,Bi=Mn?Mn.isBuffer:i,xi=Br.isFinite,ga=Wr.join,Ti=Ao(Yn.keys,Yn),fi=Cn.max,oa=Cn.min,eo=hn.now,Ss=Br.parseInt,Yi=Cn.random,La=Wr.reverse,ea=Oa(Br,"DataView"),ki=Oa(Br,"Map"),ba=Oa(Br,"Promise"),Ka=Oa(Br,"Set"),Fa=Oa(Br,"WeakMap"),io=Oa(Yn,"create"),Ja=Fa&&new Fa,ao={},es=aa(ea),js=aa(ki),ts=aa(ba),Zi=aa(Ka),Ba=aa(Fa),Os=Ns?Ns.prototype:i,fa=Os?Os.valueOf:i,ge=Os?Os.toString:i;function we(w){if(tu(w)&&!Xa(w)&&!(w instanceof Xr)){if(w instanceof br)return w;if(ai.call(w,"__wrapped__"))return _s(w)}return new br(w)}var Sr=function(){function w(){}return function(F){if(!Xo(F))return{};if(Bt)return Bt(F);w.prototype=F;var de=new w;return w.prototype=i,de}}();function Jr(){}function br(w,F){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!F,this.__index__=0,this.__values__=i}we.templateSettings={escape:Kt,evaluate:At,interpolate:Te,variable:"",imports:{_:we}},we.prototype=Jr.prototype,we.prototype.constructor=we,br.prototype=Sr(Jr.prototype),br.prototype.constructor=br;function Xr(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function En(){var w=new Xr(this.__wrapped__);return w.__actions__=No(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=No(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=No(this.__views__),w}function Jn(){if(this.__filtered__){var w=new Xr(this);w.__dir__=-1,w.__filtered__=!0}else w=this.clone(),w.__dir__*=-1;return w}function Ri(){var w=this.__wrapped__.value(),F=this.__dir__,de=Xa(w),Me=F<0,wt=de?w.length:0,Jt=Oc(0,wt,this.__views__),_r=Jt.start,kr=Jt.end,Yr=kr-_r,Tn=Me?kr:_r-1,kn=this.__iteratees__,zn=kn.length,Ai=0,ta=oa(Yr,this.__takeCount__);if(!de||!Me&&wt==Yr&&ta==Yr)return Gc(w,this.__actions__);var Pa=[];e:for(;Yr--&&Ai<ta;){Tn+=F;for(var ls=-1,Ia=w[Tn];++ls<zn;){var xs=kn[ls],Ps=xs.iteratee,oc=xs.type,Cl=Ps(Ia);if(oc==K)Ia=Cl;else if(!Cl){if(oc==J)continue e;break e}}Pa[Ai++]=Ia}return Pa}Xr.prototype=Sr(Jr.prototype),Xr.prototype.constructor=Xr;function Dn(w){var F=-1,de=w==null?0:w.length;for(this.clear();++F<de;){var Me=w[F];this.set(Me[0],Me[1])}}function On(){this.__data__=io?io(null):{},this.size=0}function Fn(w){var F=this.has(w)&&delete this.__data__[w];return this.size-=F?1:0,F}function ua(w){var F=this.__data__;if(io){var de=F[w];return de===u?i:de}return ai.call(F,w)?F[w]:i}function Hi(w){var F=this.__data__;return io?F[w]!==i:ai.call(F,w)}function vo(w,F){var de=this.__data__;return this.size+=this.has(w)?0:1,de[w]=io&&F===i?u:F,this}Dn.prototype.clear=On,Dn.prototype.delete=Fn,Dn.prototype.get=ua,Dn.prototype.has=Hi,Dn.prototype.set=vo;function so(w){var F=-1,de=w==null?0:w.length;for(this.clear();++F<de;){var Me=w[F];this.set(Me[0],Me[1])}}function ru(){this.__data__=[],this.size=0}function hl(w){var F=this.__data__,de=us(F,w);if(de<0)return!1;var Me=F.length-1;return de==Me?F.pop():pr.call(F,de,1),--this.size,!0}function Yu(w){var F=this.__data__,de=us(F,w);return de<0?i:F[de][1]}function pu(w){return us(this.__data__,w)>-1}function Tl(w,F){var de=this.__data__,Me=us(de,w);return Me<0?(++this.size,de.push([w,F])):de[Me][1]=F,this}so.prototype.clear=ru,so.prototype.delete=hl,so.prototype.get=Yu,so.prototype.has=pu,so.prototype.set=Tl;function _u(w){var F=-1,de=w==null?0:w.length;for(this.clear();++F<de;){var Me=w[F];this.set(Me[0],Me[1])}}function Ve(){this.size=0,this.__data__={hash:new Dn,map:new(ki||so),string:new Dn}}function H(w){var F=Pi(this,w).delete(w);return this.size-=F?1:0,F}function X(w){return Pi(this,w).get(w)}function ne(w){return Pi(this,w).has(w)}function he(w,F){var de=Pi(this,w),Me=de.size;return de.set(w,F),this.size+=de.size==Me?0:1,this}_u.prototype.clear=Ve,_u.prototype.delete=H,_u.prototype.get=X,_u.prototype.has=ne,_u.prototype.set=he;function Ae(w){var F=-1,de=w==null?0:w.length;for(this.__data__=new _u;++F<de;)this.add(w[F])}function Ge(w){return this.__data__.set(w,u),this}function Pt(w){return this.__data__.has(w)}Ae.prototype.add=Ae.prototype.push=Ge,Ae.prototype.has=Pt;function Ut(w){var F=this.__data__=new so(w);this.size=F.size}function sr(){this.__data__=new so,this.size=0}function Er(w){var F=this.__data__,de=F.delete(w);return this.size=F.size,de}function Ht(w){return this.__data__.get(w)}function an(w){return this.__data__.has(w)}function bn(w,F){var de=this.__data__;if(de instanceof so){var Me=de.__data__;if(!ki||Me.length<c-1)return Me.push([w,F]),this.size=++de.size,this;de=this.__data__=new _u(Me)}return de.set(w,F),this.size=de.size,this}Ut.prototype.clear=sr,Ut.prototype.delete=Er,Ut.prototype.get=Ht,Ut.prototype.has=an,Ut.prototype.set=bn;function $n(w,F){var de=Xa(w),Me=!de&&Lf(w),wt=!de&&!Me&&If(w),Jt=!de&&!Me&&!wt&&zf(w),_r=de||Me||wt||Jt,kr=_r?Qs(w.length,Ki):[],Yr=kr.length;for(var Tn in w)(F||ai.call(w,Tn))&&!(_r&&(Tn=="length"||wt&&(Tn=="offset"||Tn=="parent")||Jt&&(Tn=="buffer"||Tn=="byteLength"||Tn=="byteOffset")||$o(Tn,Yr)))&&kr.push(Tn);return kr}function Un(w){var F=w.length;return F?w[vu(0,F-1)]:i}function Si(w,F){return Li(No(w),ks(F,0,w.length))}function da(w){return Li(No(w))}function ia(w,F,de){(de!==i&&!Nc(w[F],de)||de===i&&!(F in w))&&xa(w,F,de)}function la(w,F,de){var Me=w[F];(!(ai.call(w,F)&&Nc(Me,de))||de===i&&!(F in w))&&xa(w,F,de)}function us(w,F){for(var de=w.length;de--;)if(Nc(w[de][0],F))return de;return-1}function za(w,F,de,Me){return go(w,function(wt,Jt,_r){F(Me,wt,de(wt),_r)}),Me}function hs(w,F){return w&&Vs(F,Nu(F),w)}function rs(w,F){return w&&Vs(F,Zl(F),w)}function xa(w,F,de){F=="__proto__"&&tn?tn(w,F,{configurable:!0,enumerable:!0,value:de,writable:!0}):w[F]=de}function Za(w,F){for(var de=-1,Me=F.length,wt=xr(Me),Jt=w==null;++de<Me;)wt[de]=Jt?i:sd(w,F[de]);return wt}function ks(w,F,de){return w===w&&(de!==i&&(w=w<=de?w:de),F!==i&&(w=w>=F?w:F)),w}function _i(w,F,de,Me,wt,Jt){var _r,kr=F&p,Yr=F&y,Tn=F&_;if(de&&(_r=wt?de(w,Me,wt,Jt):de(w)),_r!==i)return _r;if(!Xo(w))return w;var kn=Xa(w);if(kn){if(_r=vc(w),!kr)return No(w,_r)}else{var zn=bs(w),Ai=zn==Wt||zn==zt;if(If(w))return df(w,kr);if(zn==tt||zn==De||Ai&&!wt){if(_r=Yr||Ai?{}:Mu(w),!kr)return Yr?ku(w,rs(_r,w)):Go(w,hs(_r,w))}else{if(!wn[zn])return wt?w:{};_r=Ii(w,zn,kr)}}Jt||(Jt=new Ut);var ta=Jt.get(w);if(ta)return ta;Jt.set(w,_r),gd(w)?w.forEach(function(Ia){_r.add(_i(Ia,F,de,Ia,w,Jt))}):md(w)&&w.forEach(function(Ia,xs){_r.set(xs,_i(Ia,F,de,xs,w,Jt))});var Pa=Tn?Yr?me:L:Yr?Zl:Nu,ls=kn?i:Pa(w);return Na(ls||w,function(Ia,xs){ls&&(xs=Ia,Ia=w[xs]),la(_r,xs,_i(Ia,F,de,xs,w,Jt))}),_r}function oo(w){var F=Nu(w);return function(de){return Co(de,w,F)}}function Co(w,F,de){var Me=de.length;if(w==null)return!Me;for(w=Yn(w);Me--;){var wt=de[Me],Jt=F[wt],_r=w[wt];if(_r===i&&!(wt in w)||!Jt(_r))return!1}return!0}function Mo(w,F,de){if(typeof w!="function")throw new Nr(o);return ac(function(){w.apply(i,de)},F)}function Ms(w,F,de,Me){var wt=-1,Jt=cs,_r=!0,kr=w.length,Yr=[],Tn=F.length;if(!kr)return Yr;de&&(F=Ui(F,ds(de))),Me?(Jt=ja,_r=!1):F.length>=c&&(Jt=ko,_r=!1,F=new Ae(F));e:for(;++wt<kr;){var kn=w[wt],zn=de==null?kn:de(kn);if(kn=Me||kn!==0?kn:0,_r&&zn===zn){for(var Ai=Tn;Ai--;)if(F[Ai]===zn)continue e;Yr.push(kn)}else Jt(F,zn,Me)||Yr.push(kn)}return Yr}var go=yu(yo),ps=yu(pl,!0);function Xu(w,F){var de=!0;return go(w,function(Me,wt,Jt){return de=!!F(Me,wt,Jt),de}),de}function ju(w,F,de){for(var Me=-1,wt=w.length;++Me<wt;){var Jt=w[Me],_r=F(Jt);if(_r!=null&&(kr===i?_r===_r&&!sc(_r):de(_r,kr)))var kr=_r,Yr=Jt}return Yr}function Qu(w,F,de,Me){var wt=w.length;for(de=ss(de),de<0&&(de=-de>wt?0:wt+de),Me=Me===i||Me>wt?wt:ss(Me),Me<0&&(Me+=wt),Me=de>Me?0:bd(Me);de<Me;)w[de++]=F;return w}function uu(w,F){var de=[];return go(w,function(Me,wt,Jt){F(Me,wt,Jt)&&de.push(Me)}),de}function As(w,F,de,Me,wt){var Jt=-1,_r=w.length;for(de||(de=Fl),wt||(wt=[]);++Jt<_r;){var kr=w[Jt];F>0&&de(kr)?F>1?As(kr,F-1,de,Me,wt):Ra(wt,kr):Me||(wt[wt.length]=kr)}return wt}var Uu=hc(),Cu=hc(!0);function yo(w,F){return w&&Uu(w,F,Nu)}function pl(w,F){return w&&Cu(w,F,Nu)}function _l(w,F){return $a(F,function(de){return bf(w[de])})}function qo(w,F){F=Du(F,w);for(var de=0,Me=F.length;w!=null&&de<Me;)w=w[Wi(F[de++])];return de&&de==Me?w:i}function ml(w,F,de){var Me=F(w);return Xa(w)?Me:Ra(Me,de(w))}function Gs(w){return w==null?w===i?He:Ft:_n&&_n in Yn(w)?Do(w):Jc(w)}function To(w,F){return w>F}function mu(w,F){return w!=null&&ai.call(w,F)}function Wl(w,F){return w!=null&&F in Yn(w)}function Tu(w,F,de){return w>=oa(F,de)&&w<fi(F,de)}function lc(w,F,de){for(var Me=de?ja:cs,wt=w[0].length,Jt=w.length,_r=Jt,kr=xr(Jt),Yr=1/0,Tn=[];_r--;){var kn=w[_r];_r&&F&&(kn=Ui(kn,ds(F))),Yr=oa(kn.length,Yr),kr[_r]=!de&&(F||wt>=120&&kn.length>=120)?new Ae(_r&&kn):i}kn=w[0];var zn=-1,Ai=kr[0];e:for(;++zn<wt&&Tn.length<Yr;){var ta=kn[zn],Pa=F?F(ta):ta;if(ta=de||ta!==0?ta:0,!(Ai?ko(Ai,Pa):Me(Tn,Pa,de))){for(_r=Jt;--_r;){var ls=kr[_r];if(!(ls?ko(ls,Pa):Me(w[_r],Pa,de)))continue e}Ai&&Ai.push(Pa),Tn.push(ta)}}return Tn}function Pl(w,F,de,Me){return yo(w,function(wt,Jt,_r){F(Me,de(wt),Jt,_r)}),Me}function ri(w,F,de){F=Du(F,w),w=Fu(w,F);var Me=w==null?w:w[Wi(Yo(F))];return Me==null?i:Fi(Me,w,de)}function xc(w){return tu(w)&&Gs(w)==De}function to(w){return tu(w)&&Gs(w)==ht}function Ec(w){return tu(w)&&Gs(w)==bt}function Jo(w,F,de,Me,wt){return w===F?!0:w==null||F==null||!tu(w)&&!tu(F)?w!==w&&F!==F:Pu(w,F,de,Me,Jo,wt)}function Pu(w,F,de,Me,wt,Jt){var _r=Xa(w),kr=Xa(F),Yr=_r?Ze:bs(w),Tn=kr?Ze:bs(F);Yr=Yr==De?tt:Yr,Tn=Tn==De?tt:Tn;var kn=Yr==tt,zn=Tn==tt,Ai=Yr==Tn;if(Ai&&If(w)){if(!If(F))return!1;_r=!0,kn=!1}if(Ai&&!kn)return Jt||(Jt=new Ut),_r||zf(w)?mc(w,F,de,Me,wt,Jt):Dc(w,F,Yr,de,Me,wt,Jt);if(!(de&b)){var ta=kn&&ai.call(w,"__wrapped__"),Pa=zn&&ai.call(F,"__wrapped__");if(ta||Pa){var ls=ta?w.value():w,Ia=Pa?F.value():F;return Jt||(Jt=new Ut),wt(ls,Ia,de,Me,Jt)}}return Ai?(Jt||(Jt=new Ut),I(w,F,de,Me,wt,Jt)):!1}function qu(w){return tu(w)&&bs(w)==We}function zo(w,F,de,Me){var wt=de.length,Jt=wt,_r=!Me;if(w==null)return!Jt;for(w=Yn(w);wt--;){var kr=de[wt];if(_r&&kr[2]?kr[1]!==w[kr[0]]:!(kr[0]in w))return!1}for(;++wt<Jt;){kr=de[wt];var Yr=kr[0],Tn=w[Yr],kn=kr[1];if(_r&&kr[2]){if(Tn===i&&!(Yr in w))return!1}else{var zn=new Ut;if(Me)var Ai=Me(Tn,kn,Yr,w,F,zn);if(!(Ai===i?Jo(kn,Tn,b|S,Me,zn):Ai))return!1}}return!0}function jc(w){if(!Xo(w)||El(w))return!1;var F=bf(w)?ys:mt;return F.test(aa(w))}function mo(w){return tu(w)&&Gs(w)==qe}function lf(w){return tu(w)&&bs(w)==Be}function cf(w){return tu(w)&&Qf(w.length)&&!!sn[Gs(w)]}function Uc(w){return typeof w=="function"?w:w==null?Hl:typeof w=="object"?Xa(w)?Us(w[0],w[1]):Ol(w):Od(w)}function Il(w){if(!ol(w))return Ti(w);var F=[];for(var de in Yn(w))ai.call(w,de)&&de!="constructor"&&F.push(de);return F}function vl(w){if(!Xo(w))return Bl(w);var F=ol(w),de=[];for(var Me in w)Me=="constructor"&&(F||!ai.call(w,Me))||de.push(Me);return de}function Dl(w,F){return w<F}function Fo(w,F){var de=-1,Me=zl(w)?xr(w.length):[];return go(w,function(wt,Jt,_r){Me[++de]=F(wt,Jt,_r)}),Me}function Ol(w){var F=Ya(w);return F.length==1&&F[0][2]?kc(F[0][0],F[0][1]):function(de){return de===w||zo(de,w,F)}}function Us(w,F){return ns(w)&&Qc(F)?kc(Wi(w),F):function(de){var Me=sd(de,w);return Me===i&&Me===F?od(de,w):Jo(F,Me,b|S)}}function Bo(w,F,de,Me,wt){w!==F&&Uu(F,function(Jt,_r){if(wt||(wt=new Ut),Xo(Jt))Fs(w,F,_r,de,Bo,Me,wt);else{var kr=Me?Me(ic(w,_r),Jt,_r+"",w,F,wt):i;kr===i&&(kr=Jt),ia(w,_r,kr)}},Zl)}function Fs(w,F,de,Me,wt,Jt,_r){var kr=ic(w,de),Yr=ic(F,de),Tn=_r.get(Yr);if(Tn){ia(w,de,Tn);return}var kn=Jt?Jt(kr,Yr,de+"",w,F,_r):i,zn=kn===i;if(zn){var Ai=Xa(Yr),ta=!Ai&&If(Yr),Pa=!Ai&&!ta&&zf(Yr);kn=Yr,Ai||ta||Pa?Xa(kr)?kn=kr:su(kr)?kn=No(kr):ta?(zn=!1,kn=df(Yr,!0)):Pa?(zn=!1,kn=Rl(Yr,!0)):kn=[]:Vf(Yr)||Lf(Yr)?(kn=kr,Lf(kr)?kn=xd(kr):(!Xo(kr)||bf(kr))&&(kn=Mu(Yr))):zn=!1}zn&&(_r.set(Yr,kn),wt(kn,Yr,Me,Jt,_r),_r.delete(Yr)),ia(w,de,kn)}function Gl(w,F){var de=w.length;if(de)return F+=F<0?de:0,$o(F,de)?w[F]:i}function gl(w,F,de){F.length?F=Ui(F,function(Jt){return Xa(Jt)?function(_r){return qo(_r,Jt.length===1?Jt[0]:Jt)}:Jt}):F=[Hl];var Me=-1;F=Ui(F,ds(dn()));var wt=Fo(w,function(Jt,_r,kr){var Yr=Ui(F,function(Tn){return Tn(Jt)});return{criteria:Yr,index:++Me,value:Jt}});return Qa(wt,function(Jt,_r){return gu(Jt,_r,de)})}function nu(w,F){return wc(w,F,function(de,Me){return od(w,Me)})}function wc(w,F,de){for(var Me=-1,wt=F.length,Jt={};++Me<wt;){var _r=F[Me],kr=qo(w,_r);de(kr,_r)&&zu(Jt,Du(_r,w),kr)}return Jt}function Sc(w){return function(F){return qo(F,w)}}function iu(w,F,de,Me){var wt=Me?Eo:no,Jt=-1,_r=F.length,kr=w;for(w===F&&(F=No(F)),de&&(kr=Ui(w,ds(de)));++Jt<_r;)for(var Yr=0,Tn=F[Jt],kn=de?de(Tn):Tn;(Yr=wt(kr,kn,Yr,Me))>-1;)kr!==w&&pr.call(kr,Yr,1),pr.call(w,Yr,1);return w}function kl(w,F){for(var de=w?F.length:0,Me=de-1;de--;){var wt=F[de];if(de==Me||wt!==Jt){var Jt=wt;$o(wt)?pr.call(w,wt,1):dc(w,wt)}}return w}function vu(w,F){return w+wi(Yi()*(F-w+1))}function cc(w,F,de,Me){for(var wt=-1,Jt=fi(bi((F-w)/(de||1)),0),_r=xr(Jt);Jt--;)_r[Me?Jt:++wt]=w,w+=de;return _r}function Ju(w,F){var de="";if(!w||F<1||F>Q)return de;do F%2&&(de+=w),F=wi(F/2),F&&(w+=w);while(F);return de}function ka(w,F){return Nl(cu(w,F,Hl),w+"")}function zc(w){return Un(Zf(w))}function Zc(w,F){var de=Zf(w);return Li(de,ks(F,0,de.length))}function zu(w,F,de,Me){if(!Xo(w))return w;F=Du(F,w);for(var wt=-1,Jt=F.length,_r=Jt-1,kr=w;kr!=null&&++wt<Jt;){var Yr=Wi(F[wt]),Tn=de;if(Yr==="__proto__"||Yr==="constructor"||Yr==="prototype")return w;if(wt!=_r){var kn=kr[Yr];Tn=Me?Me(kn,Yr,kr):i,Tn===i&&(Tn=Xo(kn)?kn:$o(F[wt+1])?[]:{})}la(kr,Yr,Tn),kr=kr[Yr]}return w}var Ac=Ja?function(w,F){return Ja.set(w,F),w}:Hl,ff=tn?function(w,F){return tn(w,"toString",{configurable:!0,enumerable:!1,value:ld(F),writable:!0})}:Hl;function fc(w){return Li(Zf(w))}function au(w,F,de){var Me=-1,wt=w.length;F<0&&(F=-F>wt?0:wt+F),de=de>wt?wt:de,de<0&&(de+=wt),wt=F>de?0:de-F>>>0,F>>>=0;for(var Jt=xr(wt);++Me<wt;)Jt[Me]=w[Me+F];return Jt}function Hc(w,F){var de;return go(w,function(Me,wt,Jt){return de=F(Me,wt,Jt),!de}),!!de}function Vl(w,F,de){var Me=0,wt=w==null?Me:w.length;if(typeof F=="number"&&F===F&&wt<=_e){for(;Me<wt;){var Jt=Me+wt>>>1,_r=w[Jt];_r!==null&&!sc(_r)&&(de?_r<=F:_r<F)?Me=Jt+1:wt=Jt}return wt}return yl(w,F,Hl,de)}function yl(w,F,de,Me){var wt=0,Jt=w==null?0:w.length;if(Jt===0)return 0;F=de(F);for(var _r=F!==F,kr=F===null,Yr=sc(F),Tn=F===i;wt<Jt;){var kn=wi((wt+Jt)/2),zn=de(w[kn]),Ai=zn!==i,ta=zn===null,Pa=zn===zn,ls=sc(zn);if(_r)var Ia=Me||Pa;else Tn?Ia=Pa&&(Me||Ai):kr?Ia=Pa&&Ai&&(Me||!ta):Yr?Ia=Pa&&Ai&&!ta&&(Me||!ls):ta||ls?Ia=!1:Ia=Me?zn<=F:zn<F;Ia?wt=kn+1:Jt=kn}return oa(Jt,se)}function Wc(w,F){for(var de=-1,Me=w.length,wt=0,Jt=[];++de<Me;){var _r=w[de],kr=F?F(_r):_r;if(!de||!Nc(kr,Yr)){var Yr=kr;Jt[wt++]=_r===0?0:_r}}return Jt}function Kl(w){return typeof w=="number"?w:sc(w)?Z:+w}function Wo(w){if(typeof w=="string")return w;if(Xa(w))return Ui(w,Wo)+"";if(sc(w))return ge?ge.call(w):"";var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function Iu(w,F,de){var Me=-1,wt=cs,Jt=w.length,_r=!0,kr=[],Yr=kr;if(de)_r=!1,wt=ja;else if(Jt>=c){var Tn=F?null:Xc(w);if(Tn)return Rs(Tn);_r=!1,wt=ko,Yr=new Ae}else Yr=F?[]:kr;e:for(;++Me<Jt;){var kn=w[Me],zn=F?F(kn):kn;if(kn=de||kn!==0?kn:0,_r&&zn===zn){for(var Ai=Yr.length;Ai--;)if(Yr[Ai]===zn)continue e;F&&Yr.push(zn),kr.push(kn)}else wt(Yr,zn,de)||(Yr!==kr&&Yr.push(zn),kr.push(kn))}return kr}function dc(w,F){return F=Du(F,w),w=Fu(w,F),w==null||delete w[Wi(Yo(F))]}function Zu(w,F,de,Me){return zu(w,F,de(qo(w,F)),Me)}function Cc(w,F,de,Me){for(var wt=w.length,Jt=Me?wt:-1;(Me?Jt--:++Jt<wt)&&F(w[Jt],Jt,w););return de?au(w,Me?0:Jt,Me?Jt+1:wt):au(w,Me?Jt+1:0,Me?wt:Jt)}function Gc(w,F){var de=w;return de instanceof Xr&&(de=de.value()),Da(F,function(Me,wt){return wt.func.apply(wt.thisArg,Ra([Me],wt.args))},de)}function Yl(w,F,de){var Me=w.length;if(Me<2)return Me?Iu(w[0]):[];for(var wt=-1,Jt=xr(Me);++wt<Me;)for(var _r=w[wt],kr=-1;++kr<Me;)kr!=wt&&(Jt[wt]=Ms(Jt[wt]||_r,w[kr],F,de));return Iu(As(Jt,1),F,de)}function uo(w,F,de){for(var Me=-1,wt=w.length,Jt=F.length,_r={};++Me<wt;){var kr=Me<Jt?F[Me]:i;de(_r,w[Me],kr)}return _r}function Xl(w){return su(w)?w:[]}function Tc(w){return typeof w=="function"?w:Hl}function Du(w,F){return Xa(w)?w:ns(w,F)?[w]:Sa(ro(w))}var Ou=ka;function lo(w,F,de){var Me=w.length;return de=de===i?Me:de,!F&&de>=Me?w:au(w,F,de)}var el=gn||function(w){return Ta.clearTimeout(w)};function df(w,F){if(F)return w.slice();var de=w.length,Me=Ke?Ke(de):new w.constructor(de);return w.copy(Me),Me}function Pc(w){var F=new w.constructor(w.byteLength);return new $s(F).set(new $s(w)),F}function Vc(w,F){var de=F?Pc(w.buffer):w.buffer;return new w.constructor(de,w.byteOffset,w.byteLength)}function bl(w){var F=new w.constructor(w.source,nn.exec(w));return F.lastIndex=w.lastIndex,F}function Po(w){return fa?Yn(fa.call(w)):{}}function Rl(w,F){var de=F?Pc(w.buffer):w.buffer;return new w.constructor(de,w.byteOffset,w.length)}function je(w,F){if(w!==F){var de=w!==i,Me=w===null,wt=w===w,Jt=sc(w),_r=F!==i,kr=F===null,Yr=F===F,Tn=sc(F);if(!kr&&!Tn&&!Jt&&w>F||Jt&&_r&&Yr&&!kr&&!Tn||Me&&_r&&Yr||!de&&Yr||!wt)return 1;if(!Me&&!Jt&&!Tn&&w<F||Tn&&de&&wt&&!Me&&!Jt||kr&&de&&wt||!_r&&wt||!Yr)return-1}return 0}function gu(w,F,de){for(var Me=-1,wt=w.criteria,Jt=F.criteria,_r=wt.length,kr=de.length;++Me<_r;){var Yr=je(wt[Me],Jt[Me]);if(Yr){if(Me>=kr)return Yr;var Tn=de[Me];return Yr*(Tn=="desc"?-1:1)}}return w.index-F.index}function eu(w,F,de,Me){for(var wt=-1,Jt=w.length,_r=de.length,kr=-1,Yr=F.length,Tn=fi(Jt-_r,0),kn=xr(Yr+Tn),zn=!Me;++kr<Yr;)kn[kr]=F[kr];for(;++wt<_r;)(zn||wt<Jt)&&(kn[de[wt]]=w[wt]);for(;Tn--;)kn[kr++]=w[wt++];return kn}function Ll(w,F,de,Me){for(var wt=-1,Jt=w.length,_r=-1,kr=de.length,Yr=-1,Tn=F.length,kn=fi(Jt-kr,0),zn=xr(kn+Tn),Ai=!Me;++wt<kn;)zn[wt]=w[wt];for(var ta=wt;++Yr<Tn;)zn[ta+Yr]=F[Yr];for(;++_r<kr;)(Ai||wt<Jt)&&(zn[ta+de[_r]]=w[wt++]);return zn}function No(w,F){var de=-1,Me=w.length;for(F||(F=xr(Me));++de<Me;)F[de]=w[de];return F}function Vs(w,F,de,Me){var wt=!de;de||(de={});for(var Jt=-1,_r=F.length;++Jt<_r;){var kr=F[Jt],Yr=Me?Me(de[kr],w[kr],kr,de,w):i;Yr===i&&(Yr=w[kr]),wt?xa(de,kr,Yr):la(de,kr,Yr)}return de}function Go(w,F){return Vs(w,Ma(w),F)}function ku(w,F){return Vs(w,co(w),F)}function Io(w,F){return function(de,Me){var wt=Xa(de)?vs:za,Jt=F?F():{};return wt(de,w,dn(Me,2),Jt)}}function tl(w){return ka(function(F,de){var Me=-1,wt=de.length,Jt=wt>1?de[wt-1]:i,_r=wt>2?de[2]:i;for(Jt=w.length>3&&typeof Jt=="function"?(wt--,Jt):i,_r&&Ks(de[0],de[1],_r)&&(Jt=wt<3?i:Jt,wt=1),F=Yn(F);++Me<wt;){var kr=de[Me];kr&&w(F,kr,Me,Jt)}return F})}function yu(w,F){return function(de,Me){if(de==null)return de;if(!zl(de))return w(de,Me);for(var wt=de.length,Jt=F?wt:-1,_r=Yn(de);(F?Jt--:++Jt<wt)&&Me(_r[Jt],Jt,_r)!==!1;);return de}}function hc(w){return function(F,de,Me){for(var wt=-1,Jt=Yn(F),_r=Me(F),kr=_r.length;kr--;){var Yr=_r[w?kr:++wt];if(de(Jt[Yr],Yr,Jt)===!1)break}return F}}function Ru(w,F,de){var Me=F&k,wt=bu(w);function Jt(){var _r=this&&this!==Ta&&this instanceof Jt?wt:w;return _r.apply(Me?de:this,arguments)}return Jt}function Vo(w){return function(F){F=ro(F);var de=Lo(F)?ur(F):i,Me=de?de[0]:F.charAt(0),wt=de?lo(de,1).join(""):F.slice(1);return Me[w]()+wt}}function rl(w){return function(F){return Da(Id(Pd(F).replace(Rr,"")),w,"")}}function bu(w){return function(){var F=arguments;switch(F.length){case 0:return new w;case 1:return new w(F[0]);case 2:return new w(F[0],F[1]);case 3:return new w(F[0],F[1],F[2]);case 4:return new w(F[0],F[1],F[2],F[3]);case 5:return new w(F[0],F[1],F[2],F[3],F[4]);case 6:return new w(F[0],F[1],F[2],F[3],F[4],F[5]);case 7:return new w(F[0],F[1],F[2],F[3],F[4],F[5],F[6])}var de=Sr(w.prototype),Me=w.apply(de,F);return Xo(Me)?Me:de}}function Ic(w,F,de){var Me=bu(w);function wt(){for(var Jt=arguments.length,_r=xr(Jt),kr=Jt,Yr=Bn(wt);kr--;)_r[kr]=arguments[kr];var Tn=Jt<3&&_r[0]!==Yr&&_r[Jt-1]!==Yr?[]:Bs(_r,Yr);if(Jt-=Tn.length,Jt<de)return Jl(w,F,xu,wt.placeholder,i,_r,Tn,i,i,de-Jt);var kn=this&&this!==Ta&&this instanceof wt?Me:w;return Fi(kn,this,_r)}return wt}function Kc(w){return function(F,de,Me){var wt=Yn(F);if(!zl(F)){var Jt=dn(de,3);F=Nu(F),de=function(kr){return Jt(wt[kr],kr,wt)}}var _r=w(F,de,Me);return _r>-1?wt[Jt?F[_r]:_r]:i}}function Zo(w){return O(function(F){var de=F.length,Me=de,wt=br.prototype.thru;for(w&&F.reverse();Me--;){var Jt=F[Me];if(typeof Jt!="function")throw new Nr(o);if(wt&&!_r&&qr(Jt)=="wrapper")var _r=new br([],!0)}for(Me=_r?Me:de;++Me<de;){Jt=F[Me];var kr=qr(Jt),Yr=kr=="wrapper"?Oe(Jt):i;Yr&&sl(Yr[0])&&Yr[1]==(Y|D|B|V)&&!Yr[4].length&&Yr[9]==1?_r=_r[qr(Yr[0])].apply(_r,Yr[3]):_r=Jt.length==1&&sl(Jt)?_r[kr]():_r.thru(Jt)}return function(){var Tn=arguments,kn=Tn[0];if(_r&&Tn.length==1&&Xa(kn))return _r.plant(kn).value();for(var zn=0,Ai=de?F[zn].apply(this,Tn):kn;++zn<de;)Ai=F[zn].call(this,Ai);return Ai}})}function xu(w,F,de,Me,wt,Jt,_r,kr,Yr,Tn){var kn=F&Y,zn=F&k,Ai=F&R,ta=F&(D|M),Pa=F&G,ls=Ai?i:bu(w);function Ia(){for(var xs=arguments.length,Ps=xr(xs),oc=xs;oc--;)Ps[oc]=arguments[oc];if(ta)var Cl=Bn(Ia),uc=So(Ps,Cl);if(Me&&(Ps=eu(Ps,Me,wt,ta)),Jt&&(Ps=Ll(Ps,Jt,_r,ta)),xs-=uc,ta&&xs<Tn){var ou=Bs(Ps,Cl);return Jl(w,F,xu,Ia.placeholder,de,Ps,ou,kr,Yr,Tn-xs)}var $c=zn?de:this,Ef=Ai?$c[w]:w;return xs=Ps.length,kr?Ps=Sl(Ps,kr):Pa&&xs>1&&Ps.reverse(),kn&&Yr<xs&&(Ps.length=Yr),this&&this!==Ta&&this instanceof Ia&&(Ef=ls||bu(Ef)),Ef.apply($c,Ps)}return Ia}function nl(w,F){return function(de,Me){return Pl(de,w,F(Me),{})}}function il(w,F){return function(de,Me){var wt;if(de===i&&Me===i)return F;if(de!==i&&(wt=de),Me!==i){if(wt===i)return Me;typeof de=="string"||typeof Me=="string"?(de=Wo(de),Me=Wo(Me)):(de=Kl(de),Me=Kl(Me)),wt=w(de,Me)}return wt}}function Ql(w){return O(function(F){return F=Ui(F,ds(dn())),ka(function(de){var Me=this;return w(F,function(wt){return Fi(wt,Me,de)})})})}function ql(w,F){F=F===i?" ":Wo(F);var de=F.length;if(de<2)return de?Ju(F,w):F;var Me=Ju(F,bi(w/hr(F)));return Lo(F)?lo(ur(Me),0,w).join(""):Me.slice(0,w)}function xl(w,F,de,Me){var wt=F&k,Jt=bu(w);function _r(){for(var kr=-1,Yr=arguments.length,Tn=-1,kn=Me.length,zn=xr(kn+Yr),Ai=this&&this!==Ta&&this instanceof _r?Jt:w;++Tn<kn;)zn[Tn]=Me[Tn];for(;Yr--;)zn[Tn++]=arguments[++kr];return Fi(Ai,wt?de:this,zn)}return _r}function Yc(w){return function(F,de,Me){return Me&&typeof Me!="number"&&Ks(F,de,Me)&&(de=Me=i),F=xf(F),de===i?(de=F,F=0):de=xf(de),Me=Me===i?F<de?1:-1:xf(Me),cc(F,de,Me,w)}}function Ml(w){return function(F,de){return typeof F=="string"&&typeof de=="string"||(F=bc(F),de=bc(de)),w(F,de)}}function Jl(w,F,de,Me,wt,Jt,_r,kr,Yr,Tn){var kn=F&D,zn=kn?_r:i,Ai=kn?i:_r,ta=kn?Jt:i,Pa=kn?i:Jt;F|=kn?B:j,F&=~(kn?j:B),F&A||(F&=~(k|R));var ls=[w,F,wt,ta,zn,Pa,Ai,kr,Yr,Tn],Ia=de.apply(i,ls);return sl(w)&&wu(Ia,ls),Ia.placeholder=Me,An(Ia,w,F)}function Eu(w){var F=Cn[w];return function(de,Me){if(de=bc(de),Me=Me==null?0:oa(ss(Me),292),Me&&xi(de)){var wt=(ro(de)+"e").split("e"),Jt=F(wt[0]+"e"+(+wt[1]+Me));return wt=(ro(Jt)+"e").split("e"),+(wt[0]+"e"+(+wt[1]-Me))}return F(de)}}var Xc=Ka&&1/Rs(new Ka([,-0]))[1]==ee?function(w){return new Ka(w)}:dd;function pc(w){return function(F){var de=bs(F);return de==We?jo(F):de==Be?hu(F):qs(F,w(F))}}function Lu(w,F,de,Me,wt,Jt,_r,kr){var Yr=F&R;if(!Yr&&typeof w!="function")throw new Nr(o);var Tn=Me?Me.length:0;if(Tn||(F&=~(B|j),Me=wt=i),_r=_r===i?_r:fi(ss(_r),0),kr=kr===i?kr:ss(kr),Tn-=wt?wt.length:0,F&j){var kn=Me,zn=wt;Me=wt=i}var Ai=Yr?i:Oe(w),ta=[w,F,de,Me,wt,kn,zn,Jt,_r,kr];if(Ai&&qc(ta,Ai),w=ta[0],F=ta[1],de=ta[2],Me=ta[3],wt=ta[4],kr=ta[9]=ta[9]===i?Yr?0:w.length:fi(ta[9]-Tn,0),!kr&&F&(D|M)&&(F&=~(D|M)),!F||F==k)var Pa=Ru(w,F,de);else F==D||F==M?Pa=Ic(w,F,kr):(F==B||F==(k|B))&&!wt.length?Pa=xl(w,F,de,Me):Pa=xu.apply(i,ta);var ls=Ai?Ac:wu;return An(ls(Pa,ta),w,F)}function lu(w,F,de,Me){return w===i||Nc(w,Ci[de])&&!ai.call(Me,de)?F:w}function ec(w,F,de,Me,wt,Jt){return Xo(w)&&Xo(F)&&(Jt.set(F,w),Bo(w,F,i,ec,Jt),Jt.delete(F)),w}function _c(w){return Vf(w)?i:w}function mc(w,F,de,Me,wt,Jt){var _r=de&b,kr=w.length,Yr=F.length;if(kr!=Yr&&!(_r&&Yr>kr))return!1;var Tn=Jt.get(w),kn=Jt.get(F);if(Tn&&kn)return Tn==F&&kn==w;var zn=-1,Ai=!0,ta=de&S?new Ae:i;for(Jt.set(w,F),Jt.set(F,w);++zn<kr;){var Pa=w[zn],ls=F[zn];if(Me)var Ia=_r?Me(ls,Pa,zn,F,w,Jt):Me(Pa,ls,zn,w,F,Jt);if(Ia!==i){if(Ia)continue;Ai=!1;break}if(ta){if(!Xs(F,function(xs,Ps){if(!ko(ta,Ps)&&(Pa===xs||wt(Pa,xs,de,Me,Jt)))return ta.push(Ps)})){Ai=!1;break}}else if(!(Pa===ls||wt(Pa,ls,de,Me,Jt))){Ai=!1;break}}return Jt.delete(w),Jt.delete(F),Ai}function Dc(w,F,de,Me,wt,Jt,_r){switch(de){case xt:if(w.byteLength!=F.byteLength||w.byteOffset!=F.byteOffset)return!1;w=w.buffer,F=F.buffer;case ht:return!(w.byteLength!=F.byteLength||!Jt(new $s(w),new $s(F)));case Lt:case bt:case St:return Nc(+w,+F);case jt:return w.name==F.name&&w.message==F.message;case qe:case Ee:return w==F+"";case We:var kr=jo;case Be:var Yr=Me&b;if(kr||(kr=Rs),w.size!=F.size&&!Yr)return!1;var Tn=_r.get(w);if(Tn)return Tn==F;Me|=S,_r.set(w,F);var kn=mc(kr(w),kr(F),Me,wt,Jt,_r);return _r.delete(w),kn;case Re:if(fa)return fa.call(w)==fa.call(F)}return!1}function I(w,F,de,Me,wt,Jt){var _r=de&b,kr=L(w),Yr=kr.length,Tn=L(F),kn=Tn.length;if(Yr!=kn&&!_r)return!1;for(var zn=Yr;zn--;){var Ai=kr[zn];if(!(_r?Ai in F:ai.call(F,Ai)))return!1}var ta=Jt.get(w),Pa=Jt.get(F);if(ta&&Pa)return ta==F&&Pa==w;var ls=!0;Jt.set(w,F),Jt.set(F,w);for(var Ia=_r;++zn<Yr;){Ai=kr[zn];var xs=w[Ai],Ps=F[Ai];if(Me)var oc=_r?Me(Ps,xs,Ai,F,w,Jt):Me(xs,Ps,Ai,w,F,Jt);if(!(oc===i?xs===Ps||wt(xs,Ps,de,Me,Jt):oc)){ls=!1;break}Ia||(Ia=Ai=="constructor")}if(ls&&!Ia){var Cl=w.constructor,uc=F.constructor;Cl!=uc&&"constructor"in w&&"constructor"in F&&!(typeof Cl=="function"&&Cl instanceof Cl&&typeof uc=="function"&&uc instanceof uc)&&(ls=!1)}return Jt.delete(w),Jt.delete(F),ls}function O(w){return Nl(cu(w,i,hf),w+"")}function L(w){return ml(w,Nu,Ma)}function me(w){return ml(w,Zl,co)}var Oe=Ja?function(w){return Ja.get(w)}:dd;function qr(w){for(var F=w.name+"",de=ao[F],Me=ai.call(ao,F)?de.length:0;Me--;){var wt=de[Me],Jt=wt.func;if(Jt==null||Jt==w)return wt.name}return F}function Bn(w){var F=ai.call(we,"placeholder")?we:w;return F.placeholder}function dn(){var w=we.iteratee||cd;return w=w===cd?Uc:w,arguments.length?w(arguments[0],arguments[1]):w}function Pi(w,F){var de=w.__data__;return al(F)?de[typeof F=="string"?"string":"hash"]:de.map}function Ya(w){for(var F=Nu(w),de=F.length;de--;){var Me=F[de],wt=w[Me];F[de]=[Me,wt,Qc(wt)]}return F}function Oa(w,F){var de=Ro(w,F);return jc(de)?de:i}function Do(w){var F=ai.call(w,_n),de=w[_n];try{w[_n]=i;var Me=!0}catch(Jt){}var wt=Ls.call(w);return Me&&(F?w[_n]=de:delete w[_n]),wt}var Ma=zi?function(w){return w==null?[]:(w=Yn(w),$a(zi(w),function(F){return Yt.call(w,F)}))}:hd,co=zi?function(w){for(var F=[];w;)Ra(F,Ma(w)),w=Xe(w);return F}:hd,bs=Gs;(ea&&bs(new ea(new ArrayBuffer(1)))!=xt||ki&&bs(new ki)!=We||ba&&bs(ba.resolve())!=_t||Ka&&bs(new Ka)!=Be||Fa&&bs(new Fa)!=ze)&&(bs=function(w){var F=Gs(w),de=F==tt?w.constructor:i,Me=de?aa(de):"";if(Me)switch(Me){case es:return xt;case js:return We;case ts:return _t;case Zi:return Be;case Ba:return ze}return F});function Oc(w,F,de){for(var Me=-1,wt=de.length;++Me<wt;){var Jt=de[Me],_r=Jt.size;switch(Jt.type){case"drop":w+=_r;break;case"dropRight":F-=_r;break;case"take":F=oa(F,w+_r);break;case"takeRight":w=fi(w,F-_r);break}}return{start:w,end:F}}function tc(w){var F=w.match(Gr);return F?F[1].split(Qr):[]}function rc(w,F,de){F=Du(F,w);for(var Me=-1,wt=F.length,Jt=!1;++Me<wt;){var _r=Wi(F[Me]);if(!(Jt=w!=null&&de(w,_r)))break;w=w[_r]}return Jt||++Me!=wt?Jt:(wt=w==null?0:w.length,!!wt&&Qf(wt)&&$o(_r,wt)&&(Xa(w)||Lf(w)))}function vc(w){var F=w.length,de=new w.constructor(F);return F&&typeof w[0]=="string"&&ai.call(w,"index")&&(de.index=w.index,de.input=w.input),de}function Mu(w){return typeof w.constructor=="function"&&!ol(w)?Sr(Xe(w)):{}}function Ii(w,F,de){var Me=w.constructor;switch(F){case ht:return Pc(w);case Lt:case bt:return new Me(+w);case xt:return Vc(w,de);case nr:case er:case Le:case Qe:case Qt:case Rt:case Vt:case Gt:case Tt:return Rl(w,de);case We:return new Me;case St:case Ee:return new Me(w);case qe:return bl(w);case Be:return new Me;case Re:return Po(w)}}function nc(w,F){var de=F.length;if(!de)return w;var Me=de-1;return F[Me]=(de>1?"& ":"")+F[Me],F=F.join(de>2?", ":" "),w.replace(Ct,`{
|
|
|
/* [wrapped with `+F+`] */
|
|
|
`)}function Fl(w){return Xa(w)||Lf(w)||!!(Lr&&w&&w[Lr])}function $o(w,F){var de=typeof w;return F=F==null?Q:F,!!F&&(de=="number"||de!="symbol"&&ft.test(w))&&w>-1&&w%1==0&&w<F}function Ks(w,F,de){if(!Xo(de))return!1;var Me=typeof F;return(Me=="number"?zl(de)&&$o(F,de.length):Me=="string"&&F in de)?Nc(de[F],w):!1}function ns(w,F){if(Xa(w))return!1;var de=typeof w;return de=="number"||de=="symbol"||de=="boolean"||w==null||sc(w)?!0:ye.test(w)||!Et.test(w)||F!=null&&w in Yn(F)}function al(w){var F=typeof w;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?w!=="__proto__":w===null}function sl(w){var F=qr(w),de=we[F];if(typeof de!="function"||!(F in Xr.prototype))return!1;if(w===de)return!0;var Me=Oe(de);return!!Me&&w===Me[0]}function El(w){return!!Uo&&Uo in w}var wl=na?bf:pd;function ol(w){var F=w&&w.constructor,de=typeof F=="function"&&F.prototype||Ci;return w===de}function Qc(w){return w===w&&!Xo(w)}function kc(w,F){return function(de){return de==null?!1:de[w]===F&&(F!==i||w in Yn(de))}}function Hu(w){var F=kf(w,function(Me){return de.size===a&&de.clear(),Me}),de=F.cache;return F}function qc(w,F){var de=w[1],Me=F[1],wt=de|Me,Jt=wt<(k|R|Y),_r=Me==Y&&de==D||Me==Y&&de==V&&w[7].length<=F[8]||Me==(Y|V)&&F[7].length<=F[8]&&de==D;if(!(Jt||_r))return w;Me&k&&(w[2]=F[2],wt|=de&k?0:A);var kr=F[3];if(kr){var Yr=w[3];w[3]=Yr?eu(Yr,kr,F[4]):kr,w[4]=Yr?Bs(w[3],x):F[4]}return kr=F[5],kr&&(Yr=w[5],w[5]=Yr?Ll(Yr,kr,F[6]):kr,w[6]=Yr?Bs(w[5],x):F[6]),kr=F[7],kr&&(w[7]=kr),Me&Y&&(w[8]=w[8]==null?F[8]:oa(w[8],F[8])),w[9]==null&&(w[9]=F[9]),w[0]=F[0],w[1]=wt,w}function Bl(w){var F=[];if(w!=null)for(var de in Yn(w))F.push(de);return F}function Jc(w){return Ls.call(w)}function cu(w,F,de){return F=fi(F===i?w.length-1:F,0),function(){for(var Me=arguments,wt=-1,Jt=fi(Me.length-F,0),_r=xr(Jt);++wt<Jt;)_r[wt]=Me[F+wt];wt=-1;for(var kr=xr(F+1);++wt<F;)kr[wt]=Me[wt];return kr[F]=de(_r),Fi(w,this,kr)}}function Fu(w,F){return F.length<2?w:qo(w,au(F,0,-1))}function Sl(w,F){for(var de=w.length,Me=oa(F.length,de),wt=No(w);Me--;){var Jt=F[Me];w[Me]=$o(Jt,de)?wt[Jt]:i}return w}function ic(w,F){if(!(F==="constructor"&&typeof w[F]=="function")&&F!="__proto__")return w[F]}var wu=Gn(Ac),ac=ei||function(w,F){return Ta.setTimeout(w,F)},Nl=Gn(ff);function An(w,F,de){var Me=F+"";return Nl(w,nc(Me,ha(tc(Me),de)))}function Gn(w){var F=0,de=0;return function(){var Me=eo(),wt=q-(Me-de);if(de=Me,wt>0){if(++F>=ue)return arguments[0]}else F=0;return w.apply(i,arguments)}}function Li(w,F){var de=-1,Me=w.length,wt=Me-1;for(F=F===i?Me:F;++de<F;){var Jt=vu(de,wt),_r=w[Jt];w[Jt]=w[de],w[de]=_r}return w.length=F,w}var Sa=Hu(function(w){var F=[];return w.charCodeAt(0)===46&&F.push(""),w.replace(et,function(de,Me,wt,Jt){F.push(wt?Jt.replace(mr,"$1"):Me||de)}),F});function Wi(w){if(typeof w=="string"||sc(w))return w;var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function aa(w){if(w!=null){try{return Ds.call(w)}catch(F){}try{return w+""}catch(F){}}return""}function ha(w,F){return Na(Ie,function(de){var Me="_."+de[0];F&de[1]&&!cs(w,Me)&&w.push(Me)}),w.sort()}function _s(w){if(w instanceof Xr)return w.clone();var F=new br(w.__wrapped__,w.__chain__);return F.__actions__=No(w.__actions__),F.__index__=w.__index__,F.__values__=w.__values__,F}function Qi(w,F,de){(de?Ks(w,F,de):F===i)?F=1:F=fi(ss(F),0);var Me=w==null?0:w.length;if(!Me||F<1)return[];for(var wt=0,Jt=0,_r=xr(bi(Me/F));wt<Me;)_r[Jt++]=au(w,wt,wt+=F);return _r}function is(w){for(var F=-1,de=w==null?0:w.length,Me=0,wt=[];++F<de;){var Jt=w[F];Jt&&(wt[Me++]=Jt)}return wt}function Wu(){var w=arguments.length;if(!w)return[];for(var F=xr(w-1),de=arguments[0],Me=w;Me--;)F[Me-1]=arguments[Me];return Ra(Xa(de)?No(de):[de],As(F,1))}var Bu=ka(function(w,F){return su(w)?Ms(w,As(F,1,su,!0)):[]}),Gu=ka(function(w,F){var de=Yo(F);return su(de)&&(de=i),su(w)?Ms(w,As(F,1,su,!0),dn(de,2)):[]}),ul=ka(function(w,F){var de=Yo(F);return su(de)&&(de=i),su(w)?Ms(w,As(F,1,su,!0),i,de):[]});function ll(w,F,de){var Me=w==null?0:w.length;return Me?(F=de||F===i?1:ss(F),au(w,F<0?0:F,Me)):[]}function Df(w,F,de){var Me=w==null?0:w.length;return Me?(F=de||F===i?1:ss(F),F=Me-F,au(w,0,F<0?0:F)):[]}function wf(w,F){return w&&w.length?Cc(w,dn(F,3),!0,!0):[]}function $l(w,F){return w&&w.length?Cc(w,dn(F,3),!0):[]}function Sf(w,F,de,Me){var wt=w==null?0:w.length;return wt?(de&&typeof de!="number"&&Ks(w,F,de)&&(de=0,Me=wt),Qu(w,F,de,Me)):[]}function gc(w,F,de){var Me=w==null?0:w.length;if(!Me)return-1;var wt=de==null?0:ss(de);return wt<0&&(wt=fi(Me+wt,0)),Zs(w,dn(F,3),wt)}function ef(w,F,de){var Me=w==null?0:w.length;if(!Me)return-1;var wt=Me-1;return de!==i&&(wt=ss(de),wt=de<0?fi(Me+wt,0):oa(wt,Me-1)),Zs(w,dn(F,3),wt,!0)}function hf(w){var F=w==null?0:w.length;return F?As(w,1):[]}function cl(w){var F=w==null?0:w.length;return F?As(w,ee):[]}function Of(w,F){var de=w==null?0:w.length;return de?(F=F===i?1:ss(F),As(w,F)):[]}function Vu(w){for(var F=-1,de=w==null?0:w.length,Me={};++F<de;){var wt=w[F];Me[wt[0]]=wt[1]}return Me}function Rc(w){return w&&w.length?w[0]:i}function tf(w,F,de){var Me=w==null?0:w.length;if(!Me)return-1;var wt=de==null?0:ss(de);return wt<0&&(wt=fi(Me+wt,0)),no(w,F,wt)}function Ko(w){var F=w==null?0:w.length;return F?au(w,0,-1):[]}var rf=ka(function(w){var F=Ui(w,Xl);return F.length&&F[0]===w[0]?lc(F):[]}),pf=ka(function(w){var F=Yo(w),de=Ui(w,Xl);return F===Yo(de)?F=i:de.pop(),de.length&&de[0]===w[0]?lc(de,dn(F,2)):[]}),fl=ka(function(w){var F=Yo(w),de=Ui(w,Xl);return F=typeof F=="function"?F:i,F&&de.pop(),de.length&&de[0]===w[0]?lc(de,i,F):[]});function jl(w,F){return w==null?"":ga.call(w,F)}function Yo(w){var F=w==null?0:w.length;return F?w[F-1]:i}function yc(w,F,de){var Me=w==null?0:w.length;if(!Me)return-1;var wt=Me;return de!==i&&(wt=ss(de),wt=wt<0?fi(Me+wt,0):oa(wt,Me-1)),F===F?tr(w,F,wt):Zs(w,wo,wt,!0)}function _f(w,F){return w&&w.length?Gl(w,ss(F)):i}var Lc=ka(Mc);function Mc(w,F){return w&&w.length&&F&&F.length?iu(w,F):w}function mf(w,F,de){return w&&w.length&&F&&F.length?iu(w,F,dn(de,2)):w}function Fc(w,F,de){return w&&w.length&&F&&F.length?iu(w,F,i,de):w}var Af=O(function(w,F){var de=w==null?0:w.length,Me=Za(w,F);return kl(w,Ui(F,function(wt){return $o(wt,de)?+wt:wt}).sort(je)),Me});function Mf(w,F){var de=[];if(!(w&&w.length))return de;var Me=-1,wt=[],Jt=w.length;for(F=dn(F,3);++Me<Jt;){var _r=w[Me];F(_r,Me,w)&&(de.push(_r),wt.push(Me))}return kl(w,wt),de}function Bc(w){return w==null?w:La.call(w)}function Ff(w,F,de){var Me=w==null?0:w.length;return Me?(de&&typeof de!="number"&&Ks(w,F,de)?(F=0,de=Me):(F=F==null?0:ss(F),de=de===i?Me:ss(de)),au(w,F,de)):[]}function nf(w,F){return Vl(w,F)}function vf(w,F,de){return yl(w,F,dn(de,2))}function Hf(w,F){var de=w==null?0:w.length;if(de){var Me=Vl(w,F);if(Me<de&&Nc(w[Me],F))return Me}return-1}function Cf(w,F){return Vl(w,F,!0)}function Bf(w,F,de){return yl(w,F,dn(de,2),!0)}function Nf(w,F){var de=w==null?0:w.length;if(de){var Me=Vl(w,F,!0)-1;if(Nc(w[Me],F))return Me}return-1}function af(w){return w&&w.length?Wc(w):[]}function $f(w,F){return w&&w.length?Wc(w,dn(F,2)):[]}function Tf(w){var F=w==null?0:w.length;return F?au(w,1,F):[]}function g(w,F,de){return w&&w.length?(F=de||F===i?1:ss(F),au(w,0,F<0?0:F)):[]}function C(w,F,de){var Me=w==null?0:w.length;return Me?(F=de||F===i?1:ss(F),F=Me-F,au(w,F<0?0:F,Me)):[]}function z(w,F){return w&&w.length?Cc(w,dn(F,3),!1,!0):[]}function ve(w,F){return w&&w.length?Cc(w,dn(F,3)):[]}var ke=ka(function(w){return Iu(As(w,1,su,!0))}),ot=ka(function(w){var F=Yo(w);return su(F)&&(F=i),Iu(As(w,1,su,!0),dn(F,2))}),Zt=ka(function(w){var F=Yo(w);return F=typeof F=="function"?F:i,Iu(As(w,1,su,!0),i,F)});function ar(w){return w&&w.length?Iu(w):[]}function P(w,F){return w&&w.length?Iu(w,dn(F,2)):[]}function t(w,F){return F=typeof F=="function"?F:i,w&&w.length?Iu(w,i,F):[]}function n(w){if(!(w&&w.length))return[];var F=0;return w=$a(w,function(de){if(su(de))return F=fi(de.length,F),!0}),Qs(F,function(de){return Ui(w,ci(de))})}function s(w,F){if(!(w&&w.length))return[];var de=n(w);return F==null?de:Ui(de,function(Me){return Fi(F,i,Me)})}var m=ka(function(w,F){return su(w)?Ms(w,F):[]}),E=ka(function(w){return Yl($a(w,su))}),T=ka(function(w){var F=Yo(w);return su(F)&&(F=i),Yl($a(w,su),dn(F,2))}),U=ka(function(w){var F=Yo(w);return F=typeof F=="function"?F:i,Yl($a(w,su),i,F)}),W=ka(n);function N(w,F){return uo(w||[],F||[],la)}function te(w,F){return uo(w||[],F||[],zu)}var ce=ka(function(w){var F=w.length,de=F>1?w[F-1]:i;return de=typeof de=="function"?(w.pop(),de):i,s(w,de)});function be(w){var F=we(w);return F.__chain__=!0,F}function Pe(w,F){return F(w),w}function Se(w,F){return F(w)}var at=O(function(w){var F=w.length,de=F?w[0]:0,Me=this.__wrapped__,wt=function(Jt){return Za(Jt,w)};return F>1||this.__actions__.length||!(Me instanceof Xr)||!$o(de)?this.thru(wt):(Me=Me.slice(de,+de+(F?1:0)),Me.__actions__.push({func:Se,args:[wt],thisArg:i}),new br(Me,this.__chain__).thru(function(Jt){return F&&!Jt.length&&Jt.push(i),Jt}))});function rt(){return be(this)}function Mt(){return new br(this.value(),this.__chain__)}function fr(){this.__values__===i&&(this.__values__=yd(this.value()));var w=this.__index__>=this.__values__.length,F=w?i:this.__values__[this.__index__++];return{done:w,value:F}}function or(){return this}function Or(w){for(var F,de=this;de instanceof Jr;){var Me=_s(de);Me.__index__=0,Me.__values__=i,F?wt.__wrapped__=Me:F=Me;var wt=Me;de=de.__wrapped__}return wt.__wrapped__=w,F}function Ur(){var w=this.__wrapped__;if(w instanceof Xr){var F=w;return this.__actions__.length&&(F=new Xr(this)),F=F.reverse(),F.__actions__.push({func:Se,args:[Bc],thisArg:i}),new br(F,this.__chain__)}return this.thru(Bc)}function un(){return Gc(this.__wrapped__,this.__actions__)}var Hr=Io(function(w,F,de){ai.call(w,de)?++w[de]:xa(w,de,1)});function en(w,F,de){var Me=Xa(w)?In:Xu;return de&&Ks(w,F,de)&&(F=i),Me(w,dn(F,3))}function on(w,F){var de=Xa(w)?$a:uu;return de(w,dn(F,3))}var Kr=Kc(gc),jn=Kc(ef);function di(w,F){return As(Aa(w,F),1)}function sa(w,F){return As(Aa(w,F),ee)}function Ni(w,F,de){return de=de===i?1:ss(de),As(Aa(w,F),de)}function $i(w,F){var de=Xa(w)?Na:go;return de(w,dn(F,3))}function li(w,F){var de=Xa(w)?Ys:ps;return de(w,dn(F,3))}var Gi=Io(function(w,F,de){ai.call(w,de)?w[de].push(F):xa(w,de,[F])});function qi(w,F,de,Me){w=zl(w)?w:Zf(w),de=de&&!Me?ss(de):0;var wt=w.length;return de<0&&(de=fi(wt+de,0)),qf(w)?de<=wt&&w.indexOf(F,de)>-1:!!wt&&no(w,F,de)>-1}var Qn=ka(function(w,F,de){var Me=-1,wt=typeof F=="function",Jt=zl(w)?xr(w.length):[];return go(w,function(_r){Jt[++Me]=wt?Fi(F,_r,de):ri(_r,F,de)}),Jt}),ti=Io(function(w,F,de){xa(w,de,F)});function Aa(w,F){var de=Xa(w)?Ui:Fo;return de(w,dn(F,3))}function Ca(w,F,de,Me){return w==null?[]:(Xa(F)||(F=F==null?[]:[F]),de=Me?i:de,Xa(de)||(de=de==null?[]:[de]),gl(w,F,de))}var as=Io(function(w,F,de){w[de?0:1].push(F)},function(){return[[],[]]});function Cs(w,F,de){var Me=Xa(w)?Da:Ua,wt=arguments.length<3;return Me(w,dn(F,4),de,wt,go)}function zs(w,F,de){var Me=Xa(w)?ws:Ua,wt=arguments.length<3;return Me(w,dn(F,4),de,wt,ps)}function fo(w,F){var de=Xa(w)?$a:uu;return de(w,uf(dn(F,3)))}function Ku(w){var F=Xa(w)?Un:zc;return F(w)}function dl(w,F,de){(de?Ks(w,F,de):F===i)?F=1:F=ss(F);var Me=Xa(w)?Si:Zc;return Me(w,F)}function sf(w){var F=Xa(w)?da:fc;return F(w)}function Kf(w){if(w==null)return 0;if(zl(w))return qf(w)?hr(w):w.length;var F=bs(w);return F==We||F==Be?w.size:Il(w).length}function ed(w,F,de){var Me=Xa(w)?Xs:Hc;return de&&Ks(w,F,de)&&(F=i),Me(w,dn(F,3))}var td=ka(function(w,F){if(w==null)return[];var de=F.length;return de>1&&Ks(w,F[0],F[1])?F=[]:de>2&&Ks(F[0],F[1],F[2])&&(F=[F[0]]),gl(w,As(F,1),[])}),Pf=Xn||function(){return Ta.Date.now()};function Wf(w,F){if(typeof F!="function")throw new Nr(o);return w=ss(w),function(){if(--w<1)return F.apply(this,arguments)}}function rd(w,F,de){return F=de?i:F,F=w&&F==null?w.length:F,Lu(w,Y,i,i,i,i,F)}function Ts(w,F){var de;if(typeof F!="function")throw new Nr(o);return w=ss(w),function(){return--w>0&&(de=F.apply(this,arguments)),w<=1&&(F=i),de}}var fu=ka(function(w,F,de){var Me=k;if(de.length){var wt=Bs(de,Bn(fu));Me|=B}return Lu(w,Me,F,de,wt)}),Al=ka(function(w,F,de){var Me=k|R;if(de.length){var wt=Bs(de,Bn(Al));Me|=B}return Lu(F,Me,w,de,wt)});function of(w,F,de){F=de?i:F;var Me=Lu(w,D,i,i,i,i,i,F);return Me.placeholder=of.placeholder,Me}function Ul(w,F,de){F=de?i:F;var Me=Lu(w,M,i,i,i,i,i,F);return Me.placeholder=Ul.placeholder,Me}function gf(w,F,de){var Me,wt,Jt,_r,kr,Yr,Tn=0,kn=!1,zn=!1,Ai=!0;if(typeof w!="function")throw new Nr(o);F=bc(F)||0,Xo(de)&&(kn=!!de.leading,zn="maxWait"in de,Jt=zn?fi(bc(de.maxWait)||0,F):Jt,Ai="trailing"in de?!!de.trailing:Ai);function ta(ou){var $c=Me,Ef=wt;return Me=wt=i,Tn=ou,_r=w.apply(Ef,$c),_r}function Pa(ou){return Tn=ou,kr=ac(xs,F),kn?ta(ou):_r}function ls(ou){var $c=ou-Yr,Ef=ou-Tn,kd=F-$c;return zn?oa(kd,Jt-Ef):kd}function Ia(ou){var $c=ou-Yr,Ef=ou-Tn;return Yr===i||$c>=F||$c<0||zn&&Ef>=Jt}function xs(){var ou=Pf();if(Ia(ou))return Ps(ou);kr=ac(xs,ls(ou))}function Ps(ou){return kr=i,Ai&&Me?ta(ou):(Me=wt=i,_r)}function oc(){kr!==i&&el(kr),Tn=0,Me=Yr=wt=kr=i}function Cl(){return kr===i?_r:Ps(Pf())}function uc(){var ou=Pf(),$c=Ia(ou);if(Me=arguments,wt=this,Yr=ou,$c){if(kr===i)return Pa(Yr);if(zn)return el(kr),kr=ac(xs,F),ta(Yr)}return kr===i&&(kr=ac(xs,F)),_r}return uc.cancel=oc,uc.flush=Cl,uc}var yf=ka(function(w,F){return Mo(w,1,F)}),Yf=ka(function(w,F,de){return Mo(w,bc(F)||0,de)});function jf(w){return Lu(w,G)}function kf(w,F){if(typeof w!="function"||F!=null&&typeof F!="function")throw new Nr(o);var de=function(){var Me=arguments,wt=F?F.apply(this,Me):Me[0],Jt=de.cache;if(Jt.has(wt))return Jt.get(wt);var _r=w.apply(this,Me);return de.cache=Jt.set(wt,_r)||Jt,_r};return de.cache=new(kf.Cache||_u),de}kf.Cache=_u;function uf(w){if(typeof w!="function")throw new Nr(o);return function(){var F=arguments;switch(F.length){case 0:return!w.call(this);case 1:return!w.call(this,F[0]);case 2:return!w.call(this,F[0],F[1]);case 3:return!w.call(this,F[0],F[1],F[2])}return!w.apply(this,F)}}function Xf(w){return Ts(2,w)}var nd=Ou(function(w,F){F=F.length==1&&Xa(F[0])?Ui(F[0],ds(dn())):Ui(As(F,1),ds(dn()));var de=F.length;return ka(function(Me){for(var wt=-1,Jt=oa(Me.length,de);++wt<Jt;)Me[wt]=F[wt].call(this,Me[wt]);return Fi(w,this,Me)})}),Uf=ka(function(w,F){var de=Bs(F,Bn(Uf));return Lu(w,B,i,F,de)}),Gf=ka(function(w,F){var de=Bs(F,Bn(Gf));return Lu(w,j,i,F,de)}),Rf=O(function(w,F){return Lu(w,V,i,i,i,F)});function Md(w,F){if(typeof w!="function")throw new Nr(o);return F=F===i?F:ss(F),ka(w,F)}function Fd(w,F){if(typeof w!="function")throw new Nr(o);return F=F==null?0:fi(ss(F),0),ka(function(de){var Me=de[F],wt=lo(de,0,F);return Me&&Ra(wt,Me),Fi(w,this,wt)})}function Bd(w,F,de){var Me=!0,wt=!0;if(typeof w!="function")throw new Nr(o);return Xo(de)&&(Me="leading"in de?!!de.leading:Me,wt="trailing"in de?!!de.trailing:wt),gf(w,F,{leading:Me,maxWait:F,trailing:wt})}function Nd(w){return rd(w,1)}function $d(w,F){return Uf(Tc(F),w)}function jd(){if(!arguments.length)return[];var w=arguments[0];return Xa(w)?w:[w]}function Ud(w){return _i(w,_)}function zd(w,F){return F=typeof F=="function"?F:i,_i(w,_,F)}function Zd(w){return _i(w,p|_)}function Hd(w,F){return F=typeof F=="function"?F:i,_i(w,p|_,F)}function Wd(w,F){return F==null||Co(w,F,Nu(F))}function Nc(w,F){return w===F||w!==w&&F!==F}var Gd=Ml(To),Vd=Ml(function(w,F){return w>=F}),Lf=xc(function(){return arguments}())?xc:function(w){return tu(w)&&ai.call(w,"callee")&&!Yt.call(w,"callee")},Xa=xr.isArray,Kd=os?ds(os):to;function zl(w){return w!=null&&Qf(w.length)&&!bf(w)}function su(w){return tu(w)&&zl(w)}function Yd(w){return w===!0||w===!1||tu(w)&&Gs(w)==Lt}var If=Bi||pd,Xd=Ga?ds(Ga):Ec;function Qd(w){return tu(w)&&w.nodeType===1&&!Vf(w)}function qd(w){if(w==null)return!0;if(zl(w)&&(Xa(w)||typeof w=="string"||typeof w.splice=="function"||If(w)||zf(w)||Lf(w)))return!w.length;var F=bs(w);if(F==We||F==Be)return!w.size;if(ol(w))return!Il(w).length;for(var de in w)if(ai.call(w,de))return!1;return!0}function Jd(w,F){return Jo(w,F)}function e0(w,F,de){de=typeof de=="function"?de:i;var Me=de?de(w,F):i;return Me===i?Jo(w,F,i,de):!!Me}function id(w){if(!tu(w))return!1;var F=Gs(w);return F==jt||F==kt||typeof w.message=="string"&&typeof w.name=="string"&&!Vf(w)}function t0(w){return typeof w=="number"&&xi(w)}function bf(w){if(!Xo(w))return!1;var F=Gs(w);return F==Wt||F==zt||F==Ne||F==dt}function _d(w){return typeof w=="number"&&w==ss(w)}function Qf(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=Q}function Xo(w){var F=typeof w;return w!=null&&(F=="object"||F=="function")}function tu(w){return w!=null&&typeof w=="object"}var md=Is?ds(Is):qu;function r0(w,F){return w===F||zo(w,F,Ya(F))}function n0(w,F,de){return de=typeof de=="function"?de:i,zo(w,F,Ya(F),de)}function i0(w){return vd(w)&&w!=+w}function a0(w){if(wl(w))throw new Wn(f);return jc(w)}function s0(w){return w===null}function o0(w){return w==null}function vd(w){return typeof w=="number"||tu(w)&&Gs(w)==St}function Vf(w){if(!tu(w)||Gs(w)!=tt)return!1;var F=Xe(w);if(F===null)return!0;var de=ai.call(F,"constructor")&&F.constructor;return typeof de=="function"&&de instanceof de&&Ds.call(de)==va}var ad=Vi?ds(Vi):mo;function u0(w){return _d(w)&&w>=-Q&&w<=Q}var gd=ms?ds(ms):lf;function qf(w){return typeof w=="string"||!Xa(w)&&tu(w)&&Gs(w)==Ee}function sc(w){return typeof w=="symbol"||tu(w)&&Gs(w)==Re}var zf=bo?ds(bo):cf;function l0(w){return w===i}function c0(w){return tu(w)&&bs(w)==ze}function f0(w){return tu(w)&&Gs(w)==Ye}var d0=Ml(Dl),h0=Ml(function(w,F){return w<=F});function yd(w){if(!w)return[];if(zl(w))return qf(w)?ur(w):No(w);if(zr&&w[zr])return du(w[zr]());var F=bs(w),de=F==We?jo:F==Be?Rs:Zf;return de(w)}function xf(w){if(!w)return w===0?w:0;if(w=bc(w),w===ee||w===-ee){var F=w<0?-1:1;return F*le}return w===w?w:0}function ss(w){var F=xf(w),de=F%1;return F===F?de?F-de:F:0}function bd(w){return w?ks(ss(w),0,$):0}function bc(w){if(typeof w=="number")return w;if(sc(w))return Z;if(Xo(w)){var F=typeof w.valueOf=="function"?w.valueOf():w;w=Xo(F)?F+"":F}if(typeof w!="string")return w===0?w:+w;w=Qo(w);var de=Xt.test(w);return de||ut.test(w)?Mi(w.slice(2),de?2:8):cn.test(w)?Z:+w}function xd(w){return Vs(w,Zl(w))}function p0(w){return w?ks(ss(w),-Q,Q):w===0?w:0}function ro(w){return w==null?"":Wo(w)}var _0=tl(function(w,F){if(ol(F)||zl(F)){Vs(F,Nu(F),w);return}for(var de in F)ai.call(F,de)&&la(w,de,F[de])}),Ed=tl(function(w,F){Vs(F,Zl(F),w)}),Jf=tl(function(w,F,de,Me){Vs(F,Zl(F),w,Me)}),m0=tl(function(w,F,de,Me){Vs(F,Nu(F),w,Me)}),v0=O(Za);function g0(w,F){var de=Sr(w);return F==null?de:hs(de,F)}var y0=ka(function(w,F){w=Yn(w);var de=-1,Me=F.length,wt=Me>2?F[2]:i;for(wt&&Ks(F[0],F[1],wt)&&(Me=1);++de<Me;)for(var Jt=F[de],_r=Zl(Jt),kr=-1,Yr=_r.length;++kr<Yr;){var Tn=_r[kr],kn=w[Tn];(kn===i||Nc(kn,Ci[Tn])&&!ai.call(w,Tn))&&(w[Tn]=Jt[Tn])}return w}),b0=ka(function(w){return w.push(i,ec),Fi(wd,i,w)});function x0(w,F){return gs(w,dn(F,3),yo)}function E0(w,F){return gs(w,dn(F,3),pl)}function w0(w,F){return w==null?w:Uu(w,dn(F,3),Zl)}function S0(w,F){return w==null?w:Cu(w,dn(F,3),Zl)}function A0(w,F){return w&&yo(w,dn(F,3))}function C0(w,F){return w&&pl(w,dn(F,3))}function T0(w){return w==null?[]:_l(w,Nu(w))}function P0(w){return w==null?[]:_l(w,Zl(w))}function sd(w,F,de){var Me=w==null?i:qo(w,F);return Me===i?de:Me}function I0(w,F){return w!=null&&rc(w,F,mu)}function od(w,F){return w!=null&&rc(w,F,Wl)}var D0=nl(function(w,F,de){F!=null&&typeof F.toString!="function"&&(F=Ls.call(F)),w[F]=de},ld(Hl)),O0=nl(function(w,F,de){F!=null&&typeof F.toString!="function"&&(F=Ls.call(F)),ai.call(w,F)?w[F].push(de):w[F]=[de]},dn),k0=ka(ri);function Nu(w){return zl(w)?$n(w):Il(w)}function Zl(w){return zl(w)?$n(w,!0):vl(w)}function R0(w,F){var de={};return F=dn(F,3),yo(w,function(Me,wt,Jt){xa(de,F(Me,wt,Jt),Me)}),de}function L0(w,F){var de={};return F=dn(F,3),yo(w,function(Me,wt,Jt){xa(de,wt,F(Me,wt,Jt))}),de}var M0=tl(function(w,F,de){Bo(w,F,de)}),wd=tl(function(w,F,de,Me){Bo(w,F,de,Me)}),F0=O(function(w,F){var de={};if(w==null)return de;var Me=!1;F=Ui(F,function(Jt){return Jt=Du(Jt,w),Me||(Me=Jt.length>1),Jt}),Vs(w,me(w),de),Me&&(de=_i(de,p|y|_,_c));for(var wt=F.length;wt--;)dc(de,F[wt]);return de});function B0(w,F){return Sd(w,uf(dn(F)))}var N0=O(function(w,F){return w==null?{}:nu(w,F)});function Sd(w,F){if(w==null)return{};var de=Ui(me(w),function(Me){return[Me]});return F=dn(F),wc(w,de,function(Me,wt){return F(Me,wt[0])})}function $0(w,F,de){F=Du(F,w);var Me=-1,wt=F.length;for(wt||(wt=1,w=i);++Me<wt;){var Jt=w==null?i:w[Wi(F[Me])];Jt===i&&(Me=wt,Jt=de),w=bf(Jt)?Jt.call(w):Jt}return w}function j0(w,F,de){return w==null?w:zu(w,F,de)}function U0(w,F,de,Me){return Me=typeof Me=="function"?Me:i,w==null?w:zu(w,F,de,Me)}var Ad=pc(Nu),Cd=pc(Zl);function z0(w,F,de){var Me=Xa(w),wt=Me||If(w)||zf(w);if(F=dn(F,4),de==null){var Jt=w&&w.constructor;wt?de=Me?new Jt:[]:Xo(w)?de=bf(Jt)?Sr(Xe(w)):{}:de={}}return(wt?Na:yo)(w,function(_r,kr,Yr){return F(de,_r,kr,Yr)}),de}function Z0(w,F){return w==null?!0:dc(w,F)}function H0(w,F,de){return w==null?w:Zu(w,F,Tc(de))}function W0(w,F,de,Me){return Me=typeof Me=="function"?Me:i,w==null?w:Zu(w,F,Tc(de),Me)}function Zf(w){return w==null?[]:Oo(w,Nu(w))}function G0(w){return w==null?[]:Oo(w,Zl(w))}function V0(w,F,de){return de===i&&(de=F,F=i),de!==i&&(de=bc(de),de=de===de?de:0),F!==i&&(F=bc(F),F=F===F?F:0),ks(bc(w),F,de)}function K0(w,F,de){return F=xf(F),de===i?(de=F,F=0):de=xf(de),w=bc(w),Tu(w,F,de)}function Y0(w,F,de){if(de&&typeof de!="boolean"&&Ks(w,F,de)&&(F=de=i),de===i&&(typeof F=="boolean"?(de=F,F=i):typeof w=="boolean"&&(de=w,w=i)),w===i&&F===i?(w=0,F=1):(w=xf(w),F===i?(F=w,w=0):F=xf(F)),w>F){var Me=w;w=F,F=Me}if(de||w%1||F%1){var wt=Yi();return oa(w+wt*(F-w+ni("1e-"+((wt+"").length-1))),F)}return vu(w,F)}var X0=rl(function(w,F,de){return F=F.toLowerCase(),w+(de?Td(F):F)});function Td(w){return ud(ro(w).toLowerCase())}function Pd(w){return w=ro(w),w&&w.replace($t,_o).replace(Dr,"")}function Q0(w,F,de){w=ro(w),F=Wo(F);var Me=w.length;de=de===i?Me:ks(ss(de),0,Me);var wt=de;return de-=F.length,de>=0&&w.slice(de,wt)==F}function q0(w){return w=ro(w),w&&ct.test(w)?w.replace(Ot,Js):w}function J0(w){return w=ro(w),w&&Nt.test(w)?w.replace(yt,"\\$&"):w}var eh=rl(function(w,F,de){return w+(de?"-":"")+F.toLowerCase()}),th=rl(function(w,F,de){return w+(de?" ":"")+F.toLowerCase()}),rh=Vo("toLowerCase");function nh(w,F,de){w=ro(w),F=ss(F);var Me=F?hr(w):0;if(!F||Me>=F)return w;var wt=(F-Me)/2;return ql(wi(wt),de)+w+ql(bi(wt),de)}function ih(w,F,de){w=ro(w),F=ss(F);var Me=F?hr(w):0;return F&&Me<F?w+ql(F-Me,de):w}function ah(w,F,de){w=ro(w),F=ss(F);var Me=F?hr(w):0;return F&&Me<F?ql(F-Me,de)+w:w}function sh(w,F,de){return de||F==null?F=0:F&&(F=+F),Ss(ro(w).replace(Fe,""),F||0)}function oh(w,F,de){return(de?Ks(w,F,de):F===i)?F=1:F=ss(F),Ju(ro(w),F)}function uh(){var w=arguments,F=ro(w[0]);return w.length<3?F:F.replace(w[1],w[2])}var lh=rl(function(w,F,de){return w+(de?"_":"")+F.toLowerCase()});function ch(w,F,de){return de&&typeof de!="number"&&Ks(w,F,de)&&(F=de=i),de=de===i?$:de>>>0,de?(w=ro(w),w&&(typeof F=="string"||F!=null&&!ad(F))&&(F=Wo(F),!F&&Lo(w))?lo(ur(w),0,de):w.split(F,de)):[]}var fh=rl(function(w,F,de){return w+(de?" ":"")+ud(F)});function dh(w,F,de){return w=ro(w),de=de==null?0:ks(ss(de),0,w.length),F=Wo(F),w.slice(de,de+F.length)==F}function hh(w,F,de){var Me=we.templateSettings;de&&Ks(w,F,de)&&(F=i),w=ro(w),F=Jf({},F,Me,lu);var wt=Jf({},F.imports,Me.imports,lu),Jt=Nu(wt),_r=Oo(wt,Jt),kr,Yr,Tn=0,kn=F.interpolate||yr,zn="__p += '",Ai=ii((F.escape||yr).source+"|"+kn.source+"|"+(kn===Te?$r:yr).source+"|"+(F.evaluate||yr).source+"|$","g"),ta="//# sourceURL="+(ai.call(F,"sourceURL")?(F.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rn+"]")+`
|
|
|
`;w.replace(Ai,function(Ia,xs,Ps,oc,Cl,uc){return Ps||(Ps=oc),zn+=w.slice(Tn,uc).replace(gr,$u),xs&&(kr=!0,zn+=`' +
|
|
|
__e(`+xs+`) +
|
|
|
'`),Cl&&(Yr=!0,zn+=`';
|
|
|
`+Cl+`;
|
|
|
__p += '`),Ps&&(zn+=`' +
|
|
|
((__t = (`+Ps+`)) == null ? '' : __t) +
|
|
|
'`),Tn=uc+Ia.length,Ia}),zn+=`';
|
|
|
`;var Pa=ai.call(F,"variable")&&F.variable;if(!Pa)zn=`with (obj) {
|
|
|
`+zn+`
|
|
|
}
|
|
|
`;else if(Fr.test(Pa))throw new Wn(h);zn=(Yr?zn.replace(qt,""):zn).replace(Ue,"$1").replace(fe,"$1;"),zn="function("+(Pa||"obj")+`) {
|
|
|
`+(Pa?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(kr?", __e = _.escape":"")+(Yr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+zn+`return __p
|
|
|
}`;var ls=Dd(function(){return lt(Jt,ta+"return "+zn).apply(i,_r)});if(ls.source=zn,id(ls))throw ls;return ls}function ph(w){return ro(w).toLowerCase()}function _h(w){return ro(w).toUpperCase()}function mh(w,F,de){if(w=ro(w),w&&(de||F===i))return Qo(w);if(!w||!(F=Wo(F)))return w;var Me=ur(w),wt=ur(F),Jt=Ho(Me,wt),_r=Su(Me,wt)+1;return lo(Me,Jt,_r).join("")}function vh(w,F,de){if(w=ro(w),w&&(de||F===i))return w.slice(0,vr(w)+1);if(!w||!(F=Wo(F)))return w;var Me=ur(w),wt=Su(Me,ur(F))+1;return lo(Me,0,wt).join("")}function gh(w,F,de){if(w=ro(w),w&&(de||F===i))return w.replace(Fe,"");if(!w||!(F=Wo(F)))return w;var Me=ur(w),wt=Ho(Me,ur(F));return lo(Me,wt).join("")}function yh(w,F){var de=ae,Me=ie;if(Xo(F)){var wt="separator"in F?F.separator:wt;de="length"in F?ss(F.length):de,Me="omission"in F?Wo(F.omission):Me}w=ro(w);var Jt=w.length;if(Lo(w)){var _r=ur(w);Jt=_r.length}if(de>=Jt)return w;var kr=de-hr(Me);if(kr<1)return Me;var Yr=_r?lo(_r,0,kr).join(""):w.slice(0,kr);if(wt===i)return Yr+Me;if(_r&&(kr+=Yr.length-kr),ad(wt)){if(w.slice(kr).search(wt)){var Tn,kn=Yr;for(wt.global||(wt=ii(wt.source,ro(nn.exec(wt))+"g")),wt.lastIndex=0;Tn=wt.exec(kn);)var zn=Tn.index;Yr=Yr.slice(0,zn===i?kr:zn)}}else if(w.indexOf(Wo(wt),kr)!=kr){var Ai=Yr.lastIndexOf(wt);Ai>-1&&(Yr=Yr.slice(0,Ai))}return Yr+Me}function bh(w){return w=ro(w),w&&Ce.test(w)?w.replace(pe,wr):w}var xh=rl(function(w,F,de){return w+(de?" ":"")+F.toUpperCase()}),ud=Vo("toUpperCase");function Id(w,F,de){return w=ro(w),F=de?i:F,F===i?Hs(w)?Nn(w):wa(w):w.match(F)||[]}var Dd=ka(function(w,F){try{return Fi(w,i,F)}catch(de){return id(de)?de:new Wn(de)}}),Eh=O(function(w,F){return Na(F,function(de){de=Wi(de),xa(w,de,fu(w[de],w))}),w});function wh(w){var F=w==null?0:w.length,de=dn();return w=F?Ui(w,function(Me){if(typeof Me[1]!="function")throw new Nr(o);return[de(Me[0]),Me[1]]}):[],ka(function(Me){for(var wt=-1;++wt<F;){var Jt=w[wt];if(Fi(Jt[0],this,Me))return Fi(Jt[1],this,Me)}})}function Sh(w){return oo(_i(w,p))}function ld(w){return function(){return w}}function Ah(w,F){return w==null||w!==w?F:w}var Ch=Zo(),Th=Zo(!0);function Hl(w){return w}function cd(w){return Uc(typeof w=="function"?w:_i(w,p))}function Ph(w){return Ol(_i(w,p))}function Ih(w,F){return Us(w,_i(F,p))}var Dh=ka(function(w,F){return function(de){return ri(de,w,F)}}),Oh=ka(function(w,F){return function(de){return ri(w,de,F)}});function fd(w,F,de){var Me=Nu(F),wt=_l(F,Me);de==null&&!(Xo(F)&&(wt.length||!Me.length))&&(de=F,F=w,w=this,wt=_l(F,Nu(F)));var Jt=!(Xo(de)&&"chain"in de)||!!de.chain,_r=bf(w);return Na(wt,function(kr){var Yr=F[kr];w[kr]=Yr,_r&&(w.prototype[kr]=function(){var Tn=this.__chain__;if(Jt||Tn){var kn=w(this.__wrapped__),zn=kn.__actions__=No(this.__actions__);return zn.push({func:Yr,args:arguments,thisArg:w}),kn.__chain__=Tn,kn}return Yr.apply(w,Ra([this.value()],arguments))})}),w}function kh(){return Ta._===this&&(Ta._=Va),this}function dd(){}function Rh(w){return w=ss(w),ka(function(F){return Gl(F,w)})}var Lh=Ql(Ui),Mh=Ql(In),Fh=Ql(Xs);function Od(w){return ns(w)?ci(Wi(w)):Sc(w)}function Bh(w){return function(F){return w==null?i:qo(w,F)}}var Nh=Yc(),$h=Yc(!0);function hd(){return[]}function pd(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(w,F){if(w=ss(w),w<1||w>Q)return[];var de=$,Me=oa(w,$);F=dn(F),w-=$;for(var wt=Qs(Me,F);++de<w;)F(de);return wt}function Hh(w){return Xa(w)?Ui(w,Wi):sc(w)?[w]:No(Sa(ro(w)))}function Wh(w){var F=++Ws;return ro(w)+F}var Gh=il(function(w,F){return w+F},0),Vh=Eu("ceil"),Kh=il(function(w,F){return w/F},1),Yh=Eu("floor");function Xh(w){return w&&w.length?ju(w,Hl,To):i}function Qh(w,F){return w&&w.length?ju(w,dn(F,2),To):i}function qh(w){return po(w,Hl)}function Jh(w,F){return po(w,dn(F,2))}function ep(w){return w&&w.length?ju(w,Hl,Dl):i}function tp(w,F){return w&&w.length?ju(w,dn(F,2),Dl):i}var rp=il(function(w,F){return w*F},1),np=Eu("round"),ip=il(function(w,F){return w-F},0);function ap(w){return w&&w.length?qa(w,Hl):0}function sp(w,F){return w&&w.length?qa(w,dn(F,2)):0}return we.after=Wf,we.ary=rd,we.assign=_0,we.assignIn=Ed,we.assignInWith=Jf,we.assignWith=m0,we.at=v0,we.before=Ts,we.bind=fu,we.bindAll=Eh,we.bindKey=Al,we.castArray=jd,we.chain=be,we.chunk=Qi,we.compact=is,we.concat=Wu,we.cond=wh,we.conforms=Sh,we.constant=ld,we.countBy=Hr,we.create=g0,we.curry=of,we.curryRight=Ul,we.debounce=gf,we.defaults=y0,we.defaultsDeep=b0,we.defer=yf,we.delay=Yf,we.difference=Bu,we.differenceBy=Gu,we.differenceWith=ul,we.drop=ll,we.dropRight=Df,we.dropRightWhile=wf,we.dropWhile=$l,we.fill=Sf,we.filter=on,we.flatMap=di,we.flatMapDeep=sa,we.flatMapDepth=Ni,we.flatten=hf,we.flattenDeep=cl,we.flattenDepth=Of,we.flip=jf,we.flow=Ch,we.flowRight=Th,we.fromPairs=Vu,we.functions=T0,we.functionsIn=P0,we.groupBy=Gi,we.initial=Ko,we.intersection=rf,we.intersectionBy=pf,we.intersectionWith=fl,we.invert=D0,we.invertBy=O0,we.invokeMap=Qn,we.iteratee=cd,we.keyBy=ti,we.keys=Nu,we.keysIn=Zl,we.map=Aa,we.mapKeys=R0,we.mapValues=L0,we.matches=Ph,we.matchesProperty=Ih,we.memoize=kf,we.merge=M0,we.mergeWith=wd,we.method=Dh,we.methodOf=Oh,we.mixin=fd,we.negate=uf,we.nthArg=Rh,we.omit=F0,we.omitBy=B0,we.once=Xf,we.orderBy=Ca,we.over=Lh,we.overArgs=nd,we.overEvery=Mh,we.overSome=Fh,we.partial=Uf,we.partialRight=Gf,we.partition=as,we.pick=N0,we.pickBy=Sd,we.property=Od,we.propertyOf=Bh,we.pull=Lc,we.pullAll=Mc,we.pullAllBy=mf,we.pullAllWith=Fc,we.pullAt=Af,we.range=Nh,we.rangeRight=$h,we.rearg=Rf,we.reject=fo,we.remove=Mf,we.rest=Md,we.reverse=Bc,we.sampleSize=dl,we.set=j0,we.setWith=U0,we.shuffle=sf,we.slice=Ff,we.sortBy=td,we.sortedUniq=af,we.sortedUniqBy=$f,we.split=ch,we.spread=Fd,we.tail=Tf,we.take=g,we.takeRight=C,we.takeRightWhile=z,we.takeWhile=ve,we.tap=Pe,we.throttle=Bd,we.thru=Se,we.toArray=yd,we.toPairs=Ad,we.toPairsIn=Cd,we.toPath=Hh,we.toPlainObject=xd,we.transform=z0,we.unary=Nd,we.union=ke,we.unionBy=ot,we.unionWith=Zt,we.uniq=ar,we.uniqBy=P,we.uniqWith=t,we.unset=Z0,we.unzip=n,we.unzipWith=s,we.update=H0,we.updateWith=W0,we.values=Zf,we.valuesIn=G0,we.without=m,we.words=Id,we.wrap=$d,we.xor=E,we.xorBy=T,we.xorWith=U,we.zip=W,we.zipObject=N,we.zipObjectDeep=te,we.zipWith=ce,we.entries=Ad,we.entriesIn=Cd,we.extend=Ed,we.extendWith=Jf,fd(we,we),we.add=Gh,we.attempt=Dd,we.camelCase=X0,we.capitalize=Td,we.ceil=Vh,we.clamp=V0,we.clone=Ud,we.cloneDeep=Zd,we.cloneDeepWith=Hd,we.cloneWith=zd,we.conformsTo=Wd,we.deburr=Pd,we.defaultTo=Ah,we.divide=Kh,we.endsWith=Q0,we.eq=Nc,we.escape=q0,we.escapeRegExp=J0,we.every=en,we.find=Kr,we.findIndex=gc,we.findKey=x0,we.findLast=jn,we.findLastIndex=ef,we.findLastKey=E0,we.floor=Yh,we.forEach=$i,we.forEachRight=li,we.forIn=w0,we.forInRight=S0,we.forOwn=A0,we.forOwnRight=C0,we.get=sd,we.gt=Gd,we.gte=Vd,we.has=I0,we.hasIn=od,we.head=Rc,we.identity=Hl,we.includes=qi,we.indexOf=tf,we.inRange=K0,we.invoke=k0,we.isArguments=Lf,we.isArray=Xa,we.isArrayBuffer=Kd,we.isArrayLike=zl,we.isArrayLikeObject=su,we.isBoolean=Yd,we.isBuffer=If,we.isDate=Xd,we.isElement=Qd,we.isEmpty=qd,we.isEqual=Jd,we.isEqualWith=e0,we.isError=id,we.isFinite=t0,we.isFunction=bf,we.isInteger=_d,we.isLength=Qf,we.isMap=md,we.isMatch=r0,we.isMatchWith=n0,we.isNaN=i0,we.isNative=a0,we.isNil=o0,we.isNull=s0,we.isNumber=vd,we.isObject=Xo,we.isObjectLike=tu,we.isPlainObject=Vf,we.isRegExp=ad,we.isSafeInteger=u0,we.isSet=gd,we.isString=qf,we.isSymbol=sc,we.isTypedArray=zf,we.isUndefined=l0,we.isWeakMap=c0,we.isWeakSet=f0,we.join=jl,we.kebabCase=eh,we.last=Yo,we.lastIndexOf=yc,we.lowerCase=th,we.lowerFirst=rh,we.lt=d0,we.lte=h0,we.max=Xh,we.maxBy=Qh,we.mean=qh,we.meanBy=Jh,we.min=ep,we.minBy=tp,we.stubArray=hd,we.stubFalse=pd,we.stubObject=jh,we.stubString=Uh,we.stubTrue=zh,we.multiply=rp,we.nth=_f,we.noConflict=kh,we.noop=dd,we.now=Pf,we.pad=nh,we.padEnd=ih,we.padStart=ah,we.parseInt=sh,we.random=Y0,we.reduce=Cs,we.reduceRight=zs,we.repeat=oh,we.replace=uh,we.result=$0,we.round=np,we.runInContext=lr,we.sample=Ku,we.size=Kf,we.snakeCase=lh,we.some=ed,we.sortedIndex=nf,we.sortedIndexBy=vf,we.sortedIndexOf=Hf,we.sortedLastIndex=Cf,we.sortedLastIndexBy=Bf,we.sortedLastIndexOf=Nf,we.startCase=fh,we.startsWith=dh,we.subtract=ip,we.sum=ap,we.sumBy=sp,we.template=hh,we.times=Zh,we.toFinite=xf,we.toInteger=ss,we.toLength=bd,we.toLower=ph,we.toNumber=bc,we.toSafeInteger=p0,we.toString=ro,we.toUpper=_h,we.trim=mh,we.trimEnd=vh,we.trimStart=gh,we.truncate=yh,we.unescape=bh,we.uniqueId=Wh,we.upperCase=xh,we.upperFirst=ud,we.each=$i,we.eachRight=li,we.first=Rc,fd(we,function(){var w={};return yo(we,function(F,de){ai.call(we.prototype,de)||(w[de]=F)}),w}(),{chain:!1}),we.VERSION=l,Na(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){we[w].placeholder=we}),Na(["drop","take"],function(w,F){Xr.prototype[w]=function(de){de=de===i?1:fi(ss(de),0);var Me=this.__filtered__&&!F?new Xr(this):this.clone();return Me.__filtered__?Me.__takeCount__=oa(de,Me.__takeCount__):Me.__views__.push({size:oa(de,$),type:w+(Me.__dir__<0?"Right":"")}),Me},Xr.prototype[w+"Right"]=function(de){return this.reverse()[w](de).reverse()}}),Na(["filter","map","takeWhile"],function(w,F){var de=F+1,Me=de==J||de==oe;Xr.prototype[w]=function(wt){var Jt=this.clone();return Jt.__iteratees__.push({iteratee:dn(wt,3),type:de}),Jt.__filtered__=Jt.__filtered__||Me,Jt}}),Na(["head","last"],function(w,F){var de="take"+(F?"Right":"");Xr.prototype[w]=function(){return this[de](1).value()[0]}}),Na(["initial","tail"],function(w,F){var de="drop"+(F?"":"Right");Xr.prototype[w]=function(){return this.__filtered__?new Xr(this):this[de](1)}}),Xr.prototype.compact=function(){return this.filter(Hl)},Xr.prototype.find=function(w){return this.filter(w).head()},Xr.prototype.findLast=function(w){return this.reverse().find(w)},Xr.prototype.invokeMap=ka(function(w,F){return typeof w=="function"?new Xr(this):this.map(function(de){return ri(de,w,F)})}),Xr.prototype.reject=function(w){return this.filter(uf(dn(w)))},Xr.prototype.slice=function(w,F){w=ss(w);var de=this;return de.__filtered__&&(w>0||F<0)?new Xr(de):(w<0?de=de.takeRight(-w):w&&(de=de.drop(w)),F!==i&&(F=ss(F),de=F<0?de.dropRight(-F):de.take(F-w)),de)},Xr.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},Xr.prototype.toArray=function(){return this.take($)},yo(Xr.prototype,function(w,F){var de=/^(?:filter|find|map|reject)|While$/.test(F),Me=/^(?:head|last)$/.test(F),wt=we[Me?"take"+(F=="last"?"Right":""):F],Jt=Me||/^find/.test(F);wt&&(we.prototype[F]=function(){var _r=this.__wrapped__,kr=Me?[1]:arguments,Yr=_r instanceof Xr,Tn=kr[0],kn=Yr||Xa(_r),zn=function(xs){var Ps=wt.apply(we,Ra([xs],kr));return Me&&Ai?Ps[0]:Ps};kn&&de&&typeof Tn=="function"&&Tn.length!=1&&(Yr=kn=!1);var Ai=this.__chain__,ta=!!this.__actions__.length,Pa=Jt&&!Ai,ls=Yr&&!ta;if(!Jt&&kn){_r=ls?_r:new Xr(this);var Ia=w.apply(_r,kr);return Ia.__actions__.push({func:Se,args:[zn],thisArg:i}),new br(Ia,Ai)}return Pa&&ls?w.apply(this,kr):(Ia=this.thru(zn),Pa?Me?Ia.value()[0]:Ia.value():Ia)})}),Na(["pop","push","shift","sort","splice","unshift"],function(w){var F=Wr[w],de=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Me=/^(?:pop|shift)$/.test(w);we.prototype[w]=function(){var wt=arguments;if(Me&&!this.__chain__){var Jt=this.value();return F.apply(Xa(Jt)?Jt:[],wt)}return this[de](function(_r){return F.apply(Xa(_r)?_r:[],wt)})}}),yo(Xr.prototype,function(w,F){var de=we[F];if(de){var Me=de.name+"";ai.call(ao,Me)||(ao[Me]=[]),ao[Me].push({name:F,func:de})}}),ao[xu(i,R).name]=[{name:"wrapper",func:i}],Xr.prototype.clone=En,Xr.prototype.reverse=Jn,Xr.prototype.value=Ri,we.prototype.at=at,we.prototype.chain=rt,we.prototype.commit=Mt,we.prototype.next=fr,we.prototype.plant=Or,we.prototype.reverse=Ur,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=un,we.prototype.first=we.prototype.head,zr&&(we.prototype[zr]=or),we},Kn=Rn();Ta._=Kn,r=function(){return Kn}.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(At,Te){for(var Et=0;Et<Te.length;Et++){var ye=Te[Et];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(At,ye.key,ye)}}function e(At,Te,Et){return Te&&v(At.prototype,Te),Et&&v(At,Et),At}function r(At,Te){if(At){if(typeof At=="string")return i(At,Te);var Et=Object.prototype.toString.call(At).slice(8,-1);if(Et==="Object"&&At.constructor&&(Et=At.constructor.name),Et==="Map"||Et==="Set")return Array.from(At);if(Et==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Et))return i(At,Te)}}function i(At,Te){(Te==null||Te>At.length)&&(Te=At.length);for(var Et=0,ye=new Array(Te);Et<Te;Et++)ye[Et]=At[Et];return ye}function l(At,Te){var Et=typeof Symbol!="undefined"&&At[Symbol.iterator]||At["@@iterator"];if(Et)return(Et=Et.call(At)).next.bind(Et);if(Array.isArray(At)||(Et=r(At))||Te&&At&&typeof At.length=="number"){Et&&(At=Et);var ye=0;return function(){return ye>=At.length?{done:!0}:{done:!1,value:At[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(At){c.exports.defaults=At}c.exports={defaults:f(),getDefaults:f,changeDefaults:o};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(Te){return p[Te]};function _(At,Te){if(Te){if(h.test(At))return At.replace(u,y)}else if(a.test(At))return At.replace(x,y);return At}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(At){return At.replace(b,function(Te,Et){return Et=Et.toLowerCase(),Et==="colon"?":":Et.charAt(0)==="#"?Et.charAt(1)==="x"?String.fromCharCode(parseInt(Et.substring(2),16)):String.fromCharCode(+Et.substring(1)):""})}var k=/(^|[^\[])\^/g;function R(At,Te){At=At.source||At,Te=Te||"";var Et={replace:function(et,yt){return yt=yt.source||yt,yt=yt.replace(k,"$1"),At=At.replace(et,yt),Et},getRegex:function(){return new RegExp(At,Te)}};return Et}var A=/[^\w:]/g,D=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(At,Te,Et){if(At){var ye;try{ye=decodeURIComponent(S(Et)).replace(A,"").toLowerCase()}catch(et){return null}if(ye.indexOf("javascript:")===0||ye.indexOf("vbscript:")===0||ye.indexOf("data:")===0)return null}Te&&!D.test(Et)&&(Et=G(Te,Et));try{Et=encodeURI(Et).replace(/%25/g,"%")}catch(et){return null}return Et}var B={},j=/^[^:]+:\/*[^/]*$/,Y=/^([^:]+:)[\s\S]*$/,V=/^([^:]+:\/*[^/]*)[\s\S]*$/;function G(At,Te){B[" "+At]||(j.test(At)?B[" "+At]=At+"/":B[" "+At]=q(At,"/",!0)),At=B[" "+At];var Et=At.indexOf(":")===-1;return Te.substring(0,2)==="//"?Et?Te:At.replace(Y,"$1")+Te:Te.charAt(0)==="/"?Et?Te:At.replace(V,"$1")+Te:At+Te}var ae={exec:function(){}};function ie(At){for(var Te=1,Et,ye;Te<arguments.length;Te++){Et=arguments[Te];for(ye in Et)Object.prototype.hasOwnProperty.call(Et,ye)&&(At[ye]=Et[ye])}return At}function ue(At,Te){var Et=At.replace(/\|/g,function(yt,Nt,Fe){for(var Ir=!1,Ct=Nt;--Ct>=0&&Fe[Ct]==="\\";)Ir=!Ir;return Ir?"|":" |"}),ye=Et.split(/ \|/),et=0;if(ye.length>Te)ye.splice(Te);else for(;ye.length<Te;)ye.push("");for(;et<ye.length;et++)ye[et]=ye[et].trim().replace(/\\\|/g,"|");return ye}function q(At,Te,Et){var ye=At.length;if(ye===0)return"";for(var et=0;et<ye;){var yt=At.charAt(ye-et-1);if(yt===Te&&!Et)et++;else if(yt!==Te&&Et)et++;else break}return At.substr(0,ye-et)}function J(At,Te){if(At.indexOf(Te[1])===-1)return-1;for(var Et=At.length,ye=0,et=0;et<Et;et++)if(At[et]==="\\")et++;else if(At[et]===Te[0])ye++;else if(At[et]===Te[1]&&(ye--,ye<0))return et;return-1}function K(At){At&&At.sanitize&&!At.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function oe(At,Te){if(Te<1)return"";for(var Et="";Te>1;)Te&1&&(Et+=At),Te>>=1,At+=At;return Et+At}var ee={escape:_,unescape:S,edit:R,cleanUrl:M,resolveUrl:G,noopTest:ae,merge:ie,splitCells:ue,rtrim:q,findClosingBracket:J,checkSanitizeDeprecation:K,repeatString:oe},Q=c.exports.defaults,le=ee.rtrim,Z=ee.splitCells,$=ee.escape,se=ee.findClosingBracket;function _e(At,Te,Et){var ye=Te.href,et=Te.title?$(Te.title):null,yt=At[1].replace(/\\([\[\]])/g,"$1");return At[0].charAt(0)!=="!"?{type:"link",raw:Et,href:ye,title:et,text:yt}:{type:"image",raw:Et,href:ye,title:et,text:$(yt)}}function Ie(At,Te){var Et=At.match(/^(\s+)(?:```)/);if(Et===null)return Te;var ye=Et[1];return Te.split(`
|
|
|
`).map(function(et){var yt=et.match(/^\s+/);if(yt===null)return et;var Nt=yt[0];return Nt.length>=ye.length?et.slice(ye.length):et}).join(`
|
|
|
`)}var De=function(){function At(Et){this.options=Et||Q}var Te=At.prototype;return Te.space=function(ye){var et=this.rules.block.newline.exec(ye);if(et)return et[0].length>1?{type:"space",raw:et[0]}:{raw:`
|
|
|
`}},Te.code=function(ye){var et=this.rules.block.code.exec(ye);if(et){var yt=et[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:et[0],codeBlockStyle:"indented",text:this.options.pedantic?yt:le(yt,`
|
|
|
`)}}},Te.fences=function(ye){var et=this.rules.block.fences.exec(ye);if(et){var yt=et[0],Nt=Ie(yt,et[3]||"");return{type:"code",raw:yt,lang:et[2]?et[2].trim():et[2],text:Nt}}},Te.heading=function(ye){var et=this.rules.block.heading.exec(ye);if(et){var yt=et[2].trim();if(/#$/.test(yt)){var Nt=le(yt,"#");(this.options.pedantic||!Nt||/ $/.test(Nt))&&(yt=Nt.trim())}return{type:"heading",raw:et[0],depth:et[1].length,text:yt}}},Te.nptable=function(ye){var et=this.rules.block.nptable.exec(ye);if(et){var yt={type:"table",header:Z(et[1].replace(/^ *| *\| *$/g,"")),align:et[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:et[3]?et[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:et[0]};if(yt.header.length===yt.align.length){var Nt=yt.align.length,Fe;for(Fe=0;Fe<Nt;Fe++)/^ *-+: *$/.test(yt.align[Fe])?yt.align[Fe]="right":/^ *:-+: *$/.test(yt.align[Fe])?yt.align[Fe]="center":/^ *:-+ *$/.test(yt.align[Fe])?yt.align[Fe]="left":yt.align[Fe]=null;for(Nt=yt.cells.length,Fe=0;Fe<Nt;Fe++)yt.cells[Fe]=Z(yt.cells[Fe],yt.header.length);return yt}}},Te.hr=function(ye){var et=this.rules.block.hr.exec(ye);if(et)return{type:"hr",raw:et[0]}},Te.blockquote=function(ye){var et=this.rules.block.blockquote.exec(ye);if(et){var yt=et[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:et[0],text:yt}}},Te.list=function(ye){var et=this.rules.block.list.exec(ye);if(et){var yt=et[0],Nt=et[2],Fe=Nt.length>1,Ir={type:"list",raw:yt,ordered:Fe,start:Fe?+Nt.slice(0,-1):"",loose:!1,items:[]},Ct=et[0].match(this.rules.block.item),Gr=!1,Qr,Mr,Fr,mr,$r,nn,cn,Xt,mt,ut=Ct.length;Fr=this.rules.block.listItemStart.exec(Ct[0]);for(var ft=0;ft<ut;ft++){if(Qr=Ct[ft],yt=Qr,this.options.pedantic||(mt=Qr.match(new RegExp("\\n\\s*\\n {0,"+(Fr[0].length-1)+"}\\S")),mt&&($r=Qr.length-mt.index+Ct.slice(ft+1).join(`
|
|
|
`).length,Ir.raw=Ir.raw.substring(0,Ir.raw.length-$r),Qr=Qr.substring(0,mt.index),yt=Qr,ut=ft+1)),ft!==ut-1){if(mr=this.rules.block.listItemStart.exec(Ct[ft+1]),this.options.pedantic?mr[1].length>Fr[1].length:mr[1].length>=Fr[0].length||mr[1].length>3){Ct.splice(ft,2,Ct[ft]+(!this.options.pedantic&&mr[1].length<Fr[0].length&&!Ct[ft].match(/\n$/)?"":`
|
|
|
`)+Ct[ft+1]),ft--,ut--;continue}else(!this.options.pedantic||this.options.smartLists?mr[2][mr[2].length-1]!==Nt[Nt.length-1]:Fe===(mr[2].length===1))&&($r=Ct.slice(ft+1).join(`
|
|
|
`).length,Ir.raw=Ir.raw.substring(0,Ir.raw.length-$r),ft=ut-1);Fr=mr}Mr=Qr.length,Qr=Qr.replace(/^ *([*+-]|\d+[.)]) ?/,""),~Qr.indexOf(`
|
|
|
`)&&(Mr-=Qr.length,Qr=this.options.pedantic?Qr.replace(/^ {1,4}/gm,""):Qr.replace(new RegExp("^ {1,"+Mr+"}","gm"),"")),Qr=le(Qr,`
|
|
|
`),ft!==ut-1&&(yt=yt+`
|
|
|
`),nn=Gr||/\n\n(?!\s*$)/.test(yt),ft!==ut-1&&(Gr=yt.slice(-2)===`
|
|
|
|
|
|
`,nn||(nn=Gr)),nn&&(Ir.loose=!0),this.options.gfm&&(cn=/^\[[ xX]\] /.test(Qr),Xt=void 0,cn&&(Xt=Qr[1]!==" ",Qr=Qr.replace(/^\[[ xX]\] +/,""))),Ir.items.push({type:"list_item",raw:yt,task:cn,checked:Xt,loose:nn,text:Qr})}return Ir}},Te.html=function(ye){var et=this.rules.block.html.exec(ye);if(et)return{type:this.options.sanitize?"paragraph":"html",raw:et[0],pre:!this.options.sanitizer&&(et[1]==="pre"||et[1]==="script"||et[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(et[0]):$(et[0]):et[0]}},Te.def=function(ye){var et=this.rules.block.def.exec(ye);if(et){et[3]&&(et[3]=et[3].substring(1,et[3].length-1));var yt=et[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:yt,raw:et[0],href:et[2],title:et[3]}}},Te.table=function(ye){var et=this.rules.block.table.exec(ye);if(et){var yt={type:"table",header:Z(et[1].replace(/^ *| *\| *$/g,"")),align:et[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:et[3]?et[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(yt.header.length===yt.align.length){yt.raw=et[0];var Nt=yt.align.length,Fe;for(Fe=0;Fe<Nt;Fe++)/^ *-+: *$/.test(yt.align[Fe])?yt.align[Fe]="right":/^ *:-+: *$/.test(yt.align[Fe])?yt.align[Fe]="center":/^ *:-+ *$/.test(yt.align[Fe])?yt.align[Fe]="left":yt.align[Fe]=null;for(Nt=yt.cells.length,Fe=0;Fe<Nt;Fe++)yt.cells[Fe]=Z(yt.cells[Fe].replace(/^ *\| *| *\| *$/g,""),yt.header.length);return yt}}},Te.lheading=function(ye){var et=this.rules.block.lheading.exec(ye);if(et)return{type:"heading",raw:et[0],depth:et[2].charAt(0)==="="?1:2,text:et[1]}},Te.paragraph=function(ye){var et=this.rules.block.paragraph.exec(ye);if(et)return{type:"paragraph",raw:et[0],text:et[1].charAt(et[1].length-1)===`
|
|
|
`?et[1].slice(0,-1):et[1]}},Te.text=function(ye){var et=this.rules.block.text.exec(ye);if(et)return{type:"text",raw:et[0],text:et[0]}},Te.escape=function(ye){var et=this.rules.inline.escape.exec(ye);if(et)return{type:"escape",raw:et[0],text:$(et[1])}},Te.tag=function(ye,et,yt){var Nt=this.rules.inline.tag.exec(ye);if(Nt)return!et&&/^<a /i.test(Nt[0])?et=!0:et&&/^<\/a>/i.test(Nt[0])&&(et=!1),!yt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Nt[0])?yt=!0:yt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Nt[0])&&(yt=!1),{type:this.options.sanitize?"text":"html",raw:Nt[0],inLink:et,inRawBlock:yt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Nt[0]):$(Nt[0]):Nt[0]}},Te.link=function(ye){var et=this.rules.inline.link.exec(ye);if(et){var yt=et[2].trim();if(!this.options.pedantic&&/^</.test(yt)){if(!/>$/.test(yt))return;var Nt=le(yt.slice(0,-1),"\\");if((yt.length-Nt.length)%2===0)return}else{var Fe=se(et[2],"()");if(Fe>-1){var Ir=et[0].indexOf("!")===0?5:4,Ct=Ir+et[1].length+Fe;et[2]=et[2].substring(0,Fe),et[0]=et[0].substring(0,Ct).trim(),et[3]=""}}var Gr=et[2],Qr="";if(this.options.pedantic){var Mr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Gr);Mr&&(Gr=Mr[1],Qr=Mr[3])}else Qr=et[3]?et[3].slice(1,-1):"";return Gr=Gr.trim(),/^</.test(Gr)&&(this.options.pedantic&&!/>$/.test(yt)?Gr=Gr.slice(1):Gr=Gr.slice(1,-1)),_e(et,{href:Gr&&Gr.replace(this.rules.inline._escapes,"$1"),title:Qr&&Qr.replace(this.rules.inline._escapes,"$1")},et[0])}},Te.reflink=function(ye,et){var yt;if((yt=this.rules.inline.reflink.exec(ye))||(yt=this.rules.inline.nolink.exec(ye))){var Nt=(yt[2]||yt[1]).replace(/\s+/g," ");if(Nt=et[Nt.toLowerCase()],!Nt||!Nt.href){var Fe=yt[0].charAt(0);return{type:"text",raw:Fe,text:Fe}}return _e(yt,Nt,yt[0])}},Te.emStrong=function(ye,et,yt){yt===void 0&&(yt="");var Nt=this.rules.inline.emStrong.lDelim.exec(ye);if(Nt&&!(Nt[3]&&yt.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 Fe=Nt[1]||Nt[2]||"";if(!Fe||Fe&&(yt===""||this.rules.inline.punctuation.exec(yt))){var Ir=Nt[0].length-1,Ct,Gr,Qr=Ir,Mr=0,Fr=Nt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(Fr.lastIndex=0,et=et.slice(-1*ye.length+Ir);(Nt=Fr.exec(et))!=null;)if(Ct=Nt[1]||Nt[2]||Nt[3]||Nt[4]||Nt[5]||Nt[6],!!Ct){if(Gr=Ct.length,Nt[3]||Nt[4]){Qr+=Gr;continue}else if((Nt[5]||Nt[6])&&Ir%3&&!((Ir+Gr)%3)){Mr+=Gr;continue}if(Qr-=Gr,!(Qr>0))return Gr=Math.min(Gr,Gr+Qr+Mr),Math.min(Ir,Gr)%2?{type:"em",raw:ye.slice(0,Ir+Nt.index+Gr+1),text:ye.slice(1,Ir+Nt.index+Gr)}:{type:"strong",raw:ye.slice(0,Ir+Nt.index+Gr+1),text:ye.slice(2,Ir+Nt.index+Gr-1)}}}}},Te.codespan=function(ye){var et=this.rules.inline.code.exec(ye);if(et){var yt=et[2].replace(/\n/g," "),Nt=/[^ ]/.test(yt),Fe=/^ /.test(yt)&&/ $/.test(yt);return Nt&&Fe&&(yt=yt.substring(1,yt.length-1)),yt=$(yt,!0),{type:"codespan",raw:et[0],text:yt}}},Te.br=function(ye){var et=this.rules.inline.br.exec(ye);if(et)return{type:"br",raw:et[0]}},Te.del=function(ye){var et=this.rules.inline.del.exec(ye);if(et)return{type:"del",raw:et[0],text:et[2]}},Te.autolink=function(ye,et){var yt=this.rules.inline.autolink.exec(ye);if(yt){var Nt,Fe;return yt[2]==="@"?(Nt=$(this.options.mangle?et(yt[1]):yt[1]),Fe="mailto:"+Nt):(Nt=$(yt[1]),Fe=Nt),{type:"link",raw:yt[0],text:Nt,href:Fe,tokens:[{type:"text",raw:Nt,text:Nt}]}}},Te.url=function(ye,et){var yt;if(yt=this.rules.inline.url.exec(ye)){var Nt,Fe;if(yt[2]==="@")Nt=$(this.options.mangle?et(yt[0]):yt[0]),Fe="mailto:"+Nt;else{var Ir;do Ir=yt[0],yt[0]=this.rules.inline._backpedal.exec(yt[0])[0];while(Ir!==yt[0]);Nt=$(yt[0]),yt[1]==="www."?Fe="http://"+Nt:Fe=Nt}return{type:"link",raw:yt[0],text:Nt,href:Fe,tokens:[{type:"text",raw:Nt,text:Nt}]}}},Te.inlineText=function(ye,et,yt){var Nt=this.rules.inline.text.exec(ye);if(Nt){var Fe;return et?Fe=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Nt[0]):$(Nt[0]):Nt[0]:Fe=$(this.options.smartypants?yt(Nt[0]):Nt[0]),{type:"text",raw:Nt[0],text:Fe}}},At}(),Ze=ee.noopTest,Ne=ee.edit,Lt=ee.merge,bt={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:Ze,table:Ze,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};bt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,bt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,bt.def=Ne(bt.def).replace("label",bt._label).replace("title",bt._title).getRegex(),bt.bullet=/(?:[*+-]|\d{1,9}[.)])/,bt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,bt.item=Ne(bt.item,"gm").replace(/bull/g,bt.bullet).getRegex(),bt.listItemStart=Ne(/^( *)(bull) */).replace("bull",bt.bullet).getRegex(),bt.list=Ne(bt.list).replace(/bull/g,bt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+bt.def.source+")").getRegex(),bt._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",bt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,bt.html=Ne(bt.html,"i").replace("comment",bt._comment).replace("tag",bt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),bt.paragraph=Ne(bt._paragraph).replace("hr",bt.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",bt._tag).getRegex(),bt.blockquote=Ne(bt.blockquote).replace("paragraph",bt.paragraph).getRegex(),bt.normal=Lt({},bt),bt.gfm=Lt({},bt.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*|$)"}),bt.gfm.nptable=Ne(bt.gfm.nptable).replace("hr",bt.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",bt._tag).getRegex(),bt.gfm.table=Ne(bt.gfm.table).replace("hr",bt.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",bt._tag).getRegex(),bt.pedantic=Lt({},bt.normal,{html:Ne(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",bt._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:Ze,paragraph:Ne(bt.normal._paragraph).replace("hr",bt.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",bt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var kt={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ze,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:Ze,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};kt._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",kt.punctuation=Ne(kt.punctuation).replace(/punctuation/g,kt._punctuation).getRegex(),kt.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,kt.escapedEmSt=/\\\*|\\_/g,kt._comment=Ne(bt._comment).replace("(?:-->|$)","-->").getRegex(),kt.emStrong.lDelim=Ne(kt.emStrong.lDelim).replace(/punct/g,kt._punctuation).getRegex(),kt.emStrong.rDelimAst=Ne(kt.emStrong.rDelimAst,"g").replace(/punct/g,kt._punctuation).getRegex(),kt.emStrong.rDelimUnd=Ne(kt.emStrong.rDelimUnd,"g").replace(/punct/g,kt._punctuation).getRegex(),kt._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,kt._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,kt._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])?)+(?![-_])/,kt.autolink=Ne(kt.autolink).replace("scheme",kt._scheme).replace("email",kt._email).getRegex(),kt._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,kt.tag=Ne(kt.tag).replace("comment",kt._comment).replace("attribute",kt._attribute).getRegex(),kt._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,kt._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,kt._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,kt.link=Ne(kt.link).replace("label",kt._label).replace("href",kt._href).replace("title",kt._title).getRegex(),kt.reflink=Ne(kt.reflink).replace("label",kt._label).getRegex(),kt.reflinkSearch=Ne(kt.reflinkSearch,"g").replace("reflink",kt.reflink).replace("nolink",kt.nolink).getRegex(),kt.normal=Lt({},kt),kt.pedantic=Lt({},kt.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:Ne(/^!?\[(label)\]\((.*?)\)/).replace("label",kt._label).getRegex(),reflink:Ne(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",kt._label).getRegex()}),kt.gfm=Lt({},kt.normal,{escape:Ne(kt.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),kt.gfm.url=Ne(kt.gfm.url,"i").replace("email",kt.gfm._extended_email).getRegex(),kt.breaks=Lt({},kt.gfm,{br:Ne(kt.br).replace("{2,}","*").getRegex(),text:Ne(kt.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var jt={block:bt,inline:kt},Wt=De,zt=c.exports.defaults,We=jt.block,St=jt.inline,Ft=ee.repeatString;function tt(At){return At.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function _t(At){var Te="",Et,ye,et=At.length;for(Et=0;Et<et;Et++)ye=At.charCodeAt(Et),Math.random()>.5&&(ye="x"+ye.toString(16)),Te+="&#"+ye+";";return Te}var dt=function(){function At(Et){this.tokens=[],this.tokens.links=Object.create(null),this.options=Et||zt,this.options.tokenizer=this.options.tokenizer||new Wt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var ye={block:We.normal,inline:St.normal};this.options.pedantic?(ye.block=We.pedantic,ye.inline=St.pedantic):this.options.gfm&&(ye.block=We.gfm,this.options.breaks?ye.inline=St.breaks:ye.inline=St.gfm),this.tokenizer.rules=ye}At.lex=function(ye,et){var yt=new At(et);return yt.lex(ye)},At.lexInline=function(ye,et){var yt=new At(et);return yt.inlineTokens(ye)};var Te=At.prototype;return Te.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},Te.blockTokens=function(ye,et,yt){et===void 0&&(et=[]),yt===void 0&&(yt=!0),this.options.pedantic&&(ye=ye.replace(/^ +$/gm,""));for(var Nt,Fe,Ir,Ct;ye;){if(Nt=this.tokenizer.space(ye)){ye=ye.substring(Nt.raw.length),Nt.type&&et.push(Nt);continue}if(Nt=this.tokenizer.code(ye)){ye=ye.substring(Nt.raw.length),Ct=et[et.length-1],Ct&&Ct.type==="paragraph"?(Ct.raw+=`
|
|
|
`+Nt.raw,Ct.text+=`
|
|
|
`+Nt.text):et.push(Nt);continue}if(Nt=this.tokenizer.fences(ye)){ye=ye.substring(Nt.raw.length),et.push(Nt);continue}if(Nt=this.tokenizer.heading(ye)){ye=ye.substring(Nt.raw.length),et.push(Nt);continue}if(Nt=this.tokenizer.nptable(ye)){ye=ye.substring(Nt.raw.length),et.push(Nt);continue}if(Nt=this.tokenizer.hr(ye)){ye=ye.substring(Nt.raw.length),et.push(Nt);continue}if(Nt=this.tokenizer.blockquote(ye)){ye=ye.substring(Nt.raw.length),Nt.tokens=this.blockTokens(Nt.text,[],yt),et.push(Nt);continue}if(Nt=this.tokenizer.list(ye)){for(ye=ye.substring(Nt.raw.length),Ir=Nt.items.length,Fe=0;Fe<Ir;Fe++)Nt.items[Fe].tokens=this.blockTokens(Nt.items[Fe].text,[],!1);et.push(Nt);continue}if(Nt=this.tokenizer.html(ye)){ye=ye.substring(Nt.raw.length),et.push(Nt);continue}if(yt&&(Nt=this.tokenizer.def(ye))){ye=ye.substring(Nt.raw.length),this.tokens.links[Nt.tag]||(this.tokens.links[Nt.tag]={href:Nt.href,title:Nt.title});continue}if(Nt=this.tokenizer.table(ye)){ye=ye.substring(Nt.raw.length),et.push(Nt);continue}if(Nt=this.tokenizer.lheading(ye)){ye=ye.substring(Nt.raw.length),et.push(Nt);continue}if(yt&&(Nt=this.tokenizer.paragraph(ye))){ye=ye.substring(Nt.raw.length),et.push(Nt);continue}if(Nt=this.tokenizer.text(ye)){ye=ye.substring(Nt.raw.length),Ct=et[et.length-1],Ct&&Ct.type==="text"?(Ct.raw+=`
|
|
|
`+Nt.raw,Ct.text+=`
|
|
|
`+Nt.text):et.push(Nt);continue}if(ye){var Gr="Infinite loop on byte: "+ye.charCodeAt(0);if(this.options.silent){console.error(Gr);break}else throw new Error(Gr)}}return et},Te.inline=function(ye){var et,yt,Nt,Fe,Ir,Ct,Gr=ye.length;for(et=0;et<Gr;et++)switch(Ct=ye[et],Ct.type){case"paragraph":case"text":case"heading":{Ct.tokens=[],this.inlineTokens(Ct.text,Ct.tokens);break}case"table":{for(Ct.tokens={header:[],cells:[]},Fe=Ct.header.length,yt=0;yt<Fe;yt++)Ct.tokens.header[yt]=[],this.inlineTokens(Ct.header[yt],Ct.tokens.header[yt]);for(Fe=Ct.cells.length,yt=0;yt<Fe;yt++)for(Ir=Ct.cells[yt],Ct.tokens.cells[yt]=[],Nt=0;Nt<Ir.length;Nt++)Ct.tokens.cells[yt][Nt]=[],this.inlineTokens(Ir[Nt],Ct.tokens.cells[yt][Nt]);break}case"blockquote":{this.inline(Ct.tokens);break}case"list":{for(Fe=Ct.items.length,yt=0;yt<Fe;yt++)this.inline(Ct.items[yt].tokens);break}}return ye},Te.inlineTokens=function(ye,et,yt,Nt){et===void 0&&(et=[]),yt===void 0&&(yt=!1),Nt===void 0&&(Nt=!1);var Fe,Ir,Ct=ye,Gr,Qr,Mr;if(this.tokens.links){var Fr=Object.keys(this.tokens.links);if(Fr.length>0)for(;(Gr=this.tokenizer.rules.inline.reflinkSearch.exec(Ct))!=null;)Fr.includes(Gr[0].slice(Gr[0].lastIndexOf("[")+1,-1))&&(Ct=Ct.slice(0,Gr.index)+"["+Ft("a",Gr[0].length-2)+"]"+Ct.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Gr=this.tokenizer.rules.inline.blockSkip.exec(Ct))!=null;)Ct=Ct.slice(0,Gr.index)+"["+Ft("a",Gr[0].length-2)+"]"+Ct.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Gr=this.tokenizer.rules.inline.escapedEmSt.exec(Ct))!=null;)Ct=Ct.slice(0,Gr.index)+"++"+Ct.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;ye;){if(Qr||(Mr=""),Qr=!1,Fe=this.tokenizer.escape(ye)){ye=ye.substring(Fe.raw.length),et.push(Fe);continue}if(Fe=this.tokenizer.tag(ye,yt,Nt)){ye=ye.substring(Fe.raw.length),yt=Fe.inLink,Nt=Fe.inRawBlock;var mr=et[et.length-1];mr&&Fe.type==="text"&&mr.type==="text"?(mr.raw+=Fe.raw,mr.text+=Fe.text):et.push(Fe);continue}if(Fe=this.tokenizer.link(ye)){ye=ye.substring(Fe.raw.length),Fe.type==="link"&&(Fe.tokens=this.inlineTokens(Fe.text,[],!0,Nt)),et.push(Fe);continue}if(Fe=this.tokenizer.reflink(ye,this.tokens.links)){ye=ye.substring(Fe.raw.length);var $r=et[et.length-1];Fe.type==="link"?(Fe.tokens=this.inlineTokens(Fe.text,[],!0,Nt),et.push(Fe)):$r&&Fe.type==="text"&&$r.type==="text"?($r.raw+=Fe.raw,$r.text+=Fe.text):et.push(Fe);continue}if(Fe=this.tokenizer.emStrong(ye,Ct,Mr)){ye=ye.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],yt,Nt),et.push(Fe);continue}if(Fe=this.tokenizer.codespan(ye)){ye=ye.substring(Fe.raw.length),et.push(Fe);continue}if(Fe=this.tokenizer.br(ye)){ye=ye.substring(Fe.raw.length),et.push(Fe);continue}if(Fe=this.tokenizer.del(ye)){ye=ye.substring(Fe.raw.length),Fe.tokens=this.inlineTokens(Fe.text,[],yt,Nt),et.push(Fe);continue}if(Fe=this.tokenizer.autolink(ye,_t)){ye=ye.substring(Fe.raw.length),et.push(Fe);continue}if(!yt&&(Fe=this.tokenizer.url(ye,_t))){ye=ye.substring(Fe.raw.length),et.push(Fe);continue}if(Fe=this.tokenizer.inlineText(ye,Nt,tt)){ye=ye.substring(Fe.raw.length),Fe.raw.slice(-1)!=="_"&&(Mr=Fe.raw.slice(-1)),Qr=!0,Ir=et[et.length-1],Ir&&Ir.type==="text"?(Ir.raw+=Fe.raw,Ir.text+=Fe.text):et.push(Fe);continue}if(ye){var nn="Infinite loop on byte: "+ye.charCodeAt(0);if(this.options.silent){console.error(nn);break}else throw new Error(nn)}}return et},e(At,null,[{key:"rules",get:function(){return{block:We,inline:St}}}]),At}(),qe=c.exports.defaults,Be=ee.cleanUrl,Ee=ee.escape,Re=function(){function At(Et){this.options=Et||qe}var Te=At.prototype;return Te.code=function(ye,et,yt){var Nt=(et||"").match(/\S*/)[0];if(this.options.highlight){var Fe=this.options.highlight(ye,Nt);Fe!=null&&Fe!==ye&&(yt=!0,ye=Fe)}return ye=ye.replace(/\n$/,"")+`
|
|
|
`,Nt?'<pre><code class="'+this.options.langPrefix+Ee(Nt,!0)+'">'+(yt?ye:Ee(ye,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(yt?ye:Ee(ye,!0))+`</code></pre>
|
|
|
`},Te.blockquote=function(ye){return`<blockquote>
|
|
|
`+ye+`</blockquote>
|
|
|
`},Te.html=function(ye){return ye},Te.heading=function(ye,et,yt,Nt){return this.options.headerIds?"<h"+et+' id="'+this.options.headerPrefix+Nt.slug(yt)+'">'+ye+"</h"+et+`>
|
|
|
`:"<h"+et+">"+ye+"</h"+et+`>
|
|
|
`},Te.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Te.list=function(ye,et,yt){var Nt=et?"ol":"ul",Fe=et&&yt!==1?' start="'+yt+'"':"";return"<"+Nt+Fe+`>
|
|
|
`+ye+"</"+Nt+`>
|
|
|
`},Te.listitem=function(ye){return"<li>"+ye+`</li>
|
|
|
`},Te.checkbox=function(ye){return"<input "+(ye?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Te.paragraph=function(ye){return"<p>"+ye+`</p>
|
|
|
`},Te.table=function(ye,et){return et&&(et="<tbody>"+et+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+ye+`</thead>
|
|
|
`+et+`</table>
|
|
|
`},Te.tablerow=function(ye){return`<tr>
|
|
|
`+ye+`</tr>
|
|
|
`},Te.tablecell=function(ye,et){var yt=et.header?"th":"td",Nt=et.align?"<"+yt+' align="'+et.align+'">':"<"+yt+">";return Nt+ye+"</"+yt+`>
|
|
|
`},Te.strong=function(ye){return"<strong>"+ye+"</strong>"},Te.em=function(ye){return"<em>"+ye+"</em>"},Te.codespan=function(ye){return"<code>"+ye+"</code>"},Te.br=function(){return this.options.xhtml?"<br/>":"<br>"},Te.del=function(ye){return"<del>"+ye+"</del>"},Te.link=function(ye,et,yt){if(ye=Be(this.options.sanitize,this.options.baseUrl,ye),ye===null)return yt;var Nt='<a href="'+Ee(ye)+'"';return et&&(Nt+=' title="'+et+'"'),Nt+=">"+yt+"</a>",Nt},Te.image=function(ye,et,yt){if(ye=Be(this.options.sanitize,this.options.baseUrl,ye),ye===null)return yt;var Nt='<img src="'+ye+'" alt="'+yt+'"';return et&&(Nt+=' title="'+et+'"'),Nt+=this.options.xhtml?"/>":">",Nt},Te.text=function(ye){return ye},At}(),He=function(){function At(){}var Te=At.prototype;return Te.strong=function(ye){return ye},Te.em=function(ye){return ye},Te.codespan=function(ye){return ye},Te.del=function(ye){return ye},Te.html=function(ye){return ye},Te.text=function(ye){return ye},Te.link=function(ye,et,yt){return""+yt},Te.image=function(ye,et,yt){return""+yt},Te.br=function(){return""},At}(),ze=function(){function At(){this.seen={}}var Te=At.prototype;return Te.serialize=function(ye){return ye.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Te.getNextSafeSlug=function(ye,et){var yt=ye,Nt=0;if(this.seen.hasOwnProperty(yt)){Nt=this.seen[ye];do Nt++,yt=ye+"-"+Nt;while(this.seen.hasOwnProperty(yt))}return et||(this.seen[ye]=Nt,this.seen[yt]=0),yt},Te.slug=function(ye,et){et===void 0&&(et={});var yt=this.serialize(ye);return this.getNextSafeSlug(yt,et.dryrun)},At}(),Ye=Re,ht=He,xt=ze,nr=c.exports.defaults,er=ee.unescape,Le=function(){function At(Et){this.options=Et||nr,this.options.renderer=this.options.renderer||new Ye,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ht,this.slugger=new xt}At.parse=function(ye,et){var yt=new At(et);return yt.parse(ye)},At.parseInline=function(ye,et){var yt=new At(et);return yt.parseInline(ye)};var Te=At.prototype;return Te.parse=function(ye,et){et===void 0&&(et=!0);var yt="",Nt,Fe,Ir,Ct,Gr,Qr,Mr,Fr,mr,$r,nn,cn,Xt,mt,ut,ft,$t,yr,gr=ye.length;for(Nt=0;Nt<gr;Nt++)switch($r=ye[Nt],$r.type){case"space":continue;case"hr":{yt+=this.renderer.hr();continue}case"heading":{yt+=this.renderer.heading(this.parseInline($r.tokens),$r.depth,er(this.parseInline($r.tokens,this.textRenderer)),this.slugger);continue}case"code":{yt+=this.renderer.code($r.text,$r.lang,$r.escaped);continue}case"table":{for(Fr="",Mr="",Ct=$r.header.length,Fe=0;Fe<Ct;Fe++)Mr+=this.renderer.tablecell(this.parseInline($r.tokens.header[Fe]),{header:!0,align:$r.align[Fe]});for(Fr+=this.renderer.tablerow(Mr),mr="",Ct=$r.cells.length,Fe=0;Fe<Ct;Fe++){for(Qr=$r.tokens.cells[Fe],Mr="",Gr=Qr.length,Ir=0;Ir<Gr;Ir++)Mr+=this.renderer.tablecell(this.parseInline(Qr[Ir]),{header:!1,align:$r.align[Ir]});mr+=this.renderer.tablerow(Mr)}yt+=this.renderer.table(Fr,mr);continue}case"blockquote":{mr=this.parse($r.tokens),yt+=this.renderer.blockquote(mr);continue}case"list":{for(nn=$r.ordered,cn=$r.start,Xt=$r.loose,Ct=$r.items.length,mr="",Fe=0;Fe<Ct;Fe++)ut=$r.items[Fe],ft=ut.checked,$t=ut.task,mt="",ut.task&&(yr=this.renderer.checkbox(ft),Xt?ut.tokens.length>0&&ut.tokens[0].type==="text"?(ut.tokens[0].text=yr+" "+ut.tokens[0].text,ut.tokens[0].tokens&&ut.tokens[0].tokens.length>0&&ut.tokens[0].tokens[0].type==="text"&&(ut.tokens[0].tokens[0].text=yr+" "+ut.tokens[0].tokens[0].text)):ut.tokens.unshift({type:"text",text:yr}):mt+=yr),mt+=this.parse(ut.tokens,Xt),mr+=this.renderer.listitem(mt,$t,ft);yt+=this.renderer.list(mr,nn,cn);continue}case"html":{yt+=this.renderer.html($r.text);continue}case"paragraph":{yt+=this.renderer.paragraph(this.parseInline($r.tokens));continue}case"text":{for(mr=$r.tokens?this.parseInline($r.tokens):$r.text;Nt+1<gr&&ye[Nt+1].type==="text";)$r=ye[++Nt],mr+=`
|
|
|
`+($r.tokens?this.parseInline($r.tokens):$r.text);yt+=et?this.renderer.paragraph(mr):mr;continue}default:{var it='Token with "'+$r.type+'" type was not found.';if(this.options.silent){console.error(it);return}else throw new Error(it)}}return yt},Te.parseInline=function(ye,et){et=et||this.renderer;var yt="",Nt,Fe,Ir=ye.length;for(Nt=0;Nt<Ir;Nt++)switch(Fe=ye[Nt],Fe.type){case"escape":{yt+=et.text(Fe.text);break}case"html":{yt+=et.html(Fe.text);break}case"link":{yt+=et.link(Fe.href,Fe.title,this.parseInline(Fe.tokens,et));break}case"image":{yt+=et.image(Fe.href,Fe.title,Fe.text);break}case"strong":{yt+=et.strong(this.parseInline(Fe.tokens,et));break}case"em":{yt+=et.em(this.parseInline(Fe.tokens,et));break}case"codespan":{yt+=et.codespan(Fe.text);break}case"br":{yt+=et.br();break}case"del":{yt+=et.del(this.parseInline(Fe.tokens,et));break}case"text":{yt+=et.text(Fe.text);break}default:{var Ct='Token with "'+Fe.type+'" type was not found.';if(this.options.silent){console.error(Ct);return}else throw new Error(Ct)}}return yt},At}(),Qe=dt,Qt=Le,Rt=De,Vt=Re,Gt=He,Tt=ze,qt=ee.merge,Ue=ee.checkSanitizeDeprecation,fe=ee.escape,pe=c.exports.getDefaults,Ot=c.exports.changeDefaults,Ce=c.exports.defaults;function ct(At,Te,Et){if(typeof At=="undefined"||At===null)throw new Error("marked(): input parameter is undefined or null");if(typeof At!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(At)+", string expected");if(typeof Te=="function"&&(Et=Te,Te=null),Te=qt({},ct.defaults,Te||{}),Ue(Te),Et){var ye=Te.highlight,et;try{et=Qe.lex(At,Te)}catch(Ir){return Et(Ir)}var yt=function(Ct){var Gr;if(!Ct)try{Te.walkTokens&&ct.walkTokens(et,Te.walkTokens),Gr=Qt.parse(et,Te)}catch(Qr){Ct=Qr}return Te.highlight=ye,Ct?Et(Ct):Et(null,Gr)};if(!ye||ye.length<3||(delete Te.highlight,!et.length))return yt();var Nt=0;ct.walkTokens(et,function(Ir){Ir.type==="code"&&(Nt++,setTimeout(function(){ye(Ir.text,Ir.lang,function(Ct,Gr){if(Ct)return yt(Ct);Gr!=null&&Gr!==Ir.text&&(Ir.text=Gr,Ir.escaped=!0),Nt--,Nt===0&&yt()})},0))}),Nt===0&&yt();return}try{var Fe=Qe.lex(At,Te);return Te.walkTokens&&ct.walkTokens(Fe,Te.walkTokens),Qt.parse(Fe,Te)}catch(Ir){if(Ir.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Te.silent)return"<p>An error occurred:</p><pre>"+fe(Ir.message+"",!0)+"</pre>";throw Ir}}ct.options=ct.setOptions=function(At){return qt(ct.defaults,At),Ot(ct.defaults),ct},ct.getDefaults=pe,ct.defaults=Ce,ct.use=function(At){var Te=qt({},At);if(At.renderer&&function(){var ye=ct.defaults.renderer||new Vt,et=function(Fe){var Ir=ye[Fe];ye[Fe]=function(){for(var Ct=arguments.length,Gr=new Array(Ct),Qr=0;Qr<Ct;Qr++)Gr[Qr]=arguments[Qr];var Mr=At.renderer[Fe].apply(ye,Gr);return Mr===!1&&(Mr=Ir.apply(ye,Gr)),Mr}};for(var yt in At.renderer)et(yt);Te.renderer=ye}(),At.tokenizer&&function(){var ye=ct.defaults.tokenizer||new Rt,et=function(Fe){var Ir=ye[Fe];ye[Fe]=function(){for(var Ct=arguments.length,Gr=new Array(Ct),Qr=0;Qr<Ct;Qr++)Gr[Qr]=arguments[Qr];var Mr=At.tokenizer[Fe].apply(ye,Gr);return Mr===!1&&(Mr=Ir.apply(ye,Gr)),Mr}};for(var yt in At.tokenizer)et(yt);Te.tokenizer=ye}(),At.walkTokens){var Et=ct.defaults.walkTokens;Te.walkTokens=function(ye){At.walkTokens(ye),Et&&Et(ye)}}ct.setOptions(Te)},ct.walkTokens=function(At,Te){for(var Et=l(At),ye;!(ye=Et()).done;){var et=ye.value;switch(Te(et),et.type){case"table":{for(var yt=l(et.tokens.header),Nt;!(Nt=yt()).done;){var Fe=Nt.value;ct.walkTokens(Fe,Te)}for(var Ir=l(et.tokens.cells),Ct;!(Ct=Ir()).done;)for(var Gr=Ct.value,Qr=l(Gr),Mr;!(Mr=Qr()).done;){var Fr=Mr.value;ct.walkTokens(Fr,Te)}break}case"list":{ct.walkTokens(et.items,Te);break}default:et.tokens&&ct.walkTokens(et.tokens,Te)}}},ct.parseInline=function(At,Te){if(typeof At=="undefined"||At===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof At!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(At)+", string expected");Te=qt({},ct.defaults,Te||{}),Ue(Te);try{var Et=Qe.lexInline(At,Te);return Te.walkTokens&&ct.walkTokens(Et,Te.walkTokens),Qt.parseInline(Et,Te)}catch(ye){if(ye.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Te.silent)return"<p>An error occurred:</p><pre>"+fe(ye.message+"",!0)+"</pre>";throw ye}},ct.Parser=Qt,ct.parser=Qt.parse,ct.Renderer=Vt,ct.TextRenderer=Gt,ct.Lexer=Qe,ct.lexer=Qe.lex,ct.Tokenizer=Rt,ct.Slugger=Tt,ct.parse=ct;var Kt=ct;return Kt})},11690:function(d){const v=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=G=>l[G];function f(G,ae){if(ae){if(v.test(G))return G.replace(e,c)}else if(r.test(G))return G.replace(i,c);return G}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(G){return G.replace(o,(ae,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(G,ae){G=G.source||G,ae=ae||"";const ie={replace:(ue,q)=>(q=q.source||q,q=q.replace(u,"$1"),G=G.replace(ue,q),ie),getRegex:()=>new RegExp(G,ae)};return ie}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(G,ae,ie){if(G){let ue;try{ue=decodeURIComponent(h(ie)).replace(x,"").toLowerCase()}catch(q){return null}if(ue.indexOf("javascript:")===0||ue.indexOf("vbscript:")===0||ue.indexOf("data:")===0)return null}ae&&!p.test(ie)&&(ie=R(ae,ie));try{ie=encodeURI(ie).replace(/%25/g,"%")}catch(ue){return null}return ie}const _={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/;function R(G,ae){_[" "+G]||(b.test(G)?_[" "+G]=G+"/":_[" "+G]=B(G,"/",!0)),G=_[" "+G];const ie=G.indexOf(":")===-1;return ae.substring(0,2)==="//"?ie?ae:G.replace(S,"$1")+ae:ae.charAt(0)==="/"?ie?ae:G.replace(k,"$1")+ae:G+ae}const A={exec:function(){}};function D(G){let ae=1,ie,ue;for(;ae<arguments.length;ae++){ie=arguments[ae];for(ue in ie)Object.prototype.hasOwnProperty.call(ie,ue)&&(G[ue]=ie[ue])}return G}function M(G,ae){const ie=G.replace(/\|/g,(J,K,oe)=>{let ee=!1,Q=K;for(;--Q>=0&&oe[Q]==="\\";)ee=!ee;return ee?"|":" |"}),ue=ie.split(/ \|/);let q=0;if(ue.length>ae)ue.splice(ae);else for(;ue.length<ae;)ue.push("");for(;q<ue.length;q++)ue[q]=ue[q].trim().replace(/\\\|/g,"|");return ue}function B(G,ae,ie){const ue=G.length;if(ue===0)return"";let q=0;for(;q<ue;){const J=G.charAt(ue-q-1);if(J===ae&&!ie)q++;else if(J!==ae&&ie)q++;else break}return G.substr(0,ue-q)}function j(G,ae){if(G.indexOf(ae[1])===-1)return-1;const ie=G.length;let ue=0,q=0;for(;q<ie;q++)if(G[q]==="\\")q++;else if(G[q]===ae[0])ue++;else if(G[q]===ae[1]&&(ue--,ue<0))return q;return-1}function Y(G){G&&G.sanitize&&!G.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function V(G,ae){if(ae<1)return"";let ie="";for(;ae>1;)ae&1&&(ie+=G),ae>>=1,G+=G;return ie+G}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:R,noopTest:A,merge:D,splitCells:M,rtrim:B,findClosingBracket:j,checkSanitizeDeprecation:Y,repeatString:V}},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 D=x,M=p,B=y,j=_;x=S(x,p,y,_,u[b+0],7,-680876936),_=S(_,x,p,y,u[b+1],12,-389564586),y=S(y,_,x,p,u[b+2],17,606105819),p=S(p,y,_,x,u[b+3],22,-1044525330),x=S(x,p,y,_,u[b+4],7,-176418897),_=S(_,x,p,y,u[b+5],12,1200080426),y=S(y,_,x,p,u[b+6],17,-1473231341),p=S(p,y,_,x,u[b+7],22,-45705983),x=S(x,p,y,_,u[b+8],7,1770035416),_=S(_,x,p,y,u[b+9],12,-1958414417),y=S(y,_,x,p,u[b+10],17,-42063),p=S(p,y,_,x,u[b+11],22,-1990404162),x=S(x,p,y,_,u[b+12],7,1804603682),_=S(_,x,p,y,u[b+13],12,-40341101),y=S(y,_,x,p,u[b+14],17,-1502002290),p=S(p,y,_,x,u[b+15],22,1236535329),x=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+D>>>0,p=p+M>>>0,y=y+B>>>0,_=_+j>>>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{D(_.next(M))}catch(B){k(B)}}function A(M){try{D(_.throw(M))}catch(B){k(B)}}function D(M){M.done?S(M.value):b(M.value).then(R,A)}D((_=_.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",_="",b=!0,S){super(),this._onDidChange=this._register(new r.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=p,this._label=y,this._cssClass=_,this._enabled=b,this._actionCallback=S}get id(){return this._id}get label(){return this._label}set label(p){this._setLabel(p)}_setLabel(p){this._label!==p&&(this._label=p,this._onDidChange.fire({label:p}))}get tooltip(){return this._tooltip||""}set tooltip(p){this._setTooltip(p)}_setTooltip(p){this._tooltip!==p&&(this._tooltip=p,this._onDidChange.fire({tooltip:p}))}get class(){return this._cssClass}set class(p){this._setClass(p)}_setClass(p){this._cssClass!==p&&(this._cssClass=p,this._onDidChange.fire({class:p}))}get enabled(){return this._enabled}set enabled(p){this._setEnabled(p)}_setEnabled(p){this._enabled!==p&&(this._enabled=p,this._onDidChange.fire({enabled:p}))}get checked(){return this._checked}set checked(p){this._setChecked(p)}_setChecked(p){this._checked!==p&&(this._checked=p,this._onDidChange.fire({checked:p}))}run(p,y){return c(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(p))})}}class 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(oe){return(ee,Q=null,le)=>{let Z=!1,$;return $=oe(se=>{if(!Z)return $?$.dispose():Z=!0,ee.call(Q,se)},null,le),Z&&$.dispose(),$}}b.once=S;function k(oe,ee){return j((Q,le=null,Z)=>oe($=>Q.call(le,ee($)),null,Z))}b.map=k;function R(oe,ee){return j((Q,le=null,Z)=>oe($=>{ee($),Q.call(le,$)},null,Z))}b.forEach=R;function A(oe,ee){return j((Q,le=null,Z)=>oe($=>ee($)&&Q.call(le,$),null,Z))}b.filter=A;function D(oe){return oe}b.signal=D;function M(...oe){return(ee,Q=null,le)=>(0,i.F8)(...oe.map(Z=>Z($=>ee.call(Q,$),null,le)))}b.any=M;function B(oe,ee,Q){let le=Q;return k(oe,Z=>(le=ee(le,Z),le))}b.reduce=B;function j(oe){let ee;const Q=new a({onFirstListenerAdd(){ee=oe(Q.fire,Q)},onLastListenerRemove(){ee.dispose()}});return Q.event}function Y(oe,ee,Q=100,le=!1,Z){let $,se,_e,Ie=0;const De=new a({leakWarningThreshold:Z,onFirstListenerAdd(){$=oe(Ze=>{Ie++,se=ee(se,Ze),le&&!_e&&(De.fire(se),se=void 0),clearTimeout(_e),_e=setTimeout(()=>{const Ne=se;se=void 0,_e=void 0,(!le||Ie>1)&&De.fire(Ne),Ie=0},Q)})},onLastListenerRemove(){$.dispose()}});return De.event}b.debounce=Y;function V(oe,ee=(Q,le)=>Q===le){let Q=!0,le;return A(oe,Z=>{const $=Q||!ee(Z,le);return Q=!1,le=Z,$})}b.latch=V;function G(oe,ee){return[b.filter(oe,ee),b.filter(oe,Q=>!ee(Q))]}b.split=G;function ae(oe,ee=!1,Q=[]){let le=Q.slice(),Z=oe(_e=>{le?le.push(_e):se.fire(_e)});const $=()=>{le&&le.forEach(_e=>se.fire(_e)),le=null},se=new a({onFirstListenerAdd(){Z||(Z=oe(_e=>se.fire(_e)))},onFirstListenerDidAdd(){le&&(ee?setTimeout($):$())},onLastListenerRemove(){Z&&Z.dispose(),Z=null}});return se.event}b.buffer=ae;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,Q){return new ie(B(this.event,ee,Q))}latch(){return new ie(V(this.event))}debounce(ee,Q=100,le=!1,Z){return new ie(Y(this.event,ee,Q,le,Z))}on(ee,Q,le){return this.event(ee,Q,le)}once(ee,Q,le){return S(this.event)(ee,Q,le)}}function ue(oe){return new ie(oe)}b.chain=ue;function q(oe,ee,Q=le=>le){const le=(..._e)=>se.fire(Q(..._e)),Z=()=>oe.on(ee,le),$=()=>oe.removeListener(ee,le),se=new a({onFirstListenerAdd:Z,onLastListenerRemove:$});return se.event}b.fromNodeEventEmitter=q;function J(oe,ee,Q=le=>le){const le=(..._e)=>se.fire(Q(..._e)),Z=()=>oe.addEventListener(ee,le),$=()=>oe.removeEventListener(ee,le),se=new a({onFirstListenerAdd:Z,onLastListenerRemove:$});return se.event}b.fromDOMEventEmitter=J;function K(oe){return new Promise(ee=>S(oe)(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 D,M=0;for(const[B,j]of this._stacks)(!D||M<j)&&(D=B,M=j);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${M}):`),console.warn(D)}return()=>{const D=this._stacks.get(R)||0;this._stacks.set(R,D-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 D=this._listeners.isEmpty();D&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=this._listeners.push(k?[S,k]:S);D&&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),j=(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(j):Array.isArray(R)&&R.push(j),j}),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,D]=this._deliveryQueue.shift();try{typeof A=="function"?A.call(void 0,D):A[0].call(A[1],D)}catch(M){(0,r.dL)(M)}}(R=this._perfMon)===null||R===void 0||R.stop()}}dispose(){var S,k,R,A,D;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),(D=this._leakageMon)===null||D===void 0||D.dispose())}}class x extends a{constructor(S){super(S),this._isPaused=0,this._eventQueue=new l.S,this._mergeFn=S==null?void 0:S.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const S=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(S))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(S){this._listeners&&(this._isPaused!==0?this._eventQueue.push(S):super.fire(S))}}class p extends x{constructor(S){var 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(D=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>k.call(R,D)):k.call(R,D)},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 j of M)if(B(j))return!0;return!1}i.some=x;function p(M,B){for(const j of M)if(B(j))return j}i.find=p;function*y(M,B){for(const j of M)B(j)&&(yield j)}i.filter=y;function*_(M,B){let j=0;for(const Y of M)yield B(Y,j++)}i.map=_;function*b(...M){for(const B of M)for(const j of B)yield j}i.concat=b;function*S(M){for(const B of M)for(const j of B)yield j}i.concatNested=S;function k(M,B,j){let Y=j;for(const V of M)Y=B(Y,V);return Y}i.reduce=k;function*R(M,B,j=M.length){for(B<0&&(B+=M.length),j<0?j+=M.length:j>M.length&&(j=M.length);B<j;B++)yield M[B]}i.slice=R;function A(M,B=Number.POSITIVE_INFINITY){const j=[];if(B===0)return[j,M];const Y=M[Symbol.iterator]();for(let V=0;V<B;V++){const G=Y.next();if(G.done)return[j,i.empty()];j.push(G.value)}return[j,{[Symbol.iterator](){return Y}}]}i.consume=A;function D(M,B,j=(Y,V)=>Y===V){const Y=M[Symbol.iterator](),V=B[Symbol.iterator]();for(;;){const G=Y.next(),ae=V.next();if(G.done!==ae.done)return!1;if(G.done)return!0;if(!j(G.value,ae.value))return!1}}i.equals=D})(r||(r={}))},69323:function(d,v,e){"use strict";e.d(v,{B9:function(){return _},F8:function(){return b},JT:function(){return R},Jz:function(){return D},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 j=new Error("Potentially leaked disposable").stack;setTimeout(()=>{B[M]||console.log(j)},3e3)}setParent(B,j){if(B&&B!==R.None)try{B[M]=!0}catch(Y){}}markAsDisposed(B){if(B&&B!==R.None)try{B[M]=!0}catch(j){}}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 j of M)c.setParent(j,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 j of M)if(j)try{j.dispose()}catch(Y){B.push(Y)}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 j;this._isDisposed||B===this._value||((j=this._value)===null||j===void 0||j.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 D{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 Y},ED:function(){return D},IJ:function(){return B},OS:function(){return ie},WE:function(){return G},dz:function(){return M},gn:function(){return V},li:function(){return S},r:function(){return J},tY:function(){return j},xS:function(){return ae}});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 oe=JSON.parse(K),ee=oe.availableLanguages["*"];p=oe.locale,y=ee||l,_=oe._translationsConfigFile}catch(oe){}u=!0}else console.error("Unable to resolve platform.");let A=0;f?A=1:c?A=3:o&&(A=2);const D=c,M=f,B=o,j=u,Y=a,V=x,G=b,ae=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 se=ee[Z];if(se.id===le.data.vscodeSetImmediateId){ee.splice(Z,1),se.callback();return}}});let Q=0;return le=>{const Z=++Q;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 oe=Promise.resolve();return ee=>oe.then(ee)}(),ie=f||x?2:c?1:3;let ue=!0,q=!1;function J(){if(!q){q=!0;const K=new Uint8Array(2);K[0]=1,K[1]=2,ue=new Uint16Array(K.buffer)[0]===513}return ue}},95830:function(d,v,e){"use strict";e.d(v,{G:function(){return l}});var r=e(23345);const i=r.li.performance&&typeof r.li.performance.now=="function";class l{constructor(f){this._highResolution=i&&f,this._startTime=this._now(),this._stopTime=-1}static create(f=!0){return new l(f)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(d,v,e){"use strict";e.d(v,{$i:function(){return Ie},C8:function(){return bt},GF:function(){return p},HO:function(){return Q},IO:function(){return y},K7:function(){return Lt},Kw:function(){return Wt},LC:function(){return S},Mh:function(){return ae},P1:function(){return ie},PJ:function(){return zt},Qe:function(){return De},R1:function(){return x},RP:function(){return se},S6:function(){return We},TT:function(){return D},Ut:function(){return Z},V8:function(){return k},WU:function(){return l},YK:function(){return q},YU:function(){return c},ZG:function(){return ue},ZH:function(){return K},ab:function(){return Ze},c1:function(){return kt},df:function(){return Y},ec:function(){return f},fi:function(){return St},fy:function(){return o},j3:function(){return h},j_:function(){return B},m5:function(){return r},mK:function(){return j},mr:function(){return _},oH:function(){return _t},oL:function(){return u},ok:function(){return G},ow:function(){return R},qq:function(){return V},qu:function(){return A},rL:function(){return J},uS:function(){return jt},un:function(){return a},uq:function(){return b},vH:function(){return ee},xe:function(){return Ne},zY:function(){return M}});function r(Ee){return!Ee||typeof Ee!="string"?!0:Ee.trim().length===0}const i=/{(\d+)}/g;function l(Ee,...Re){return Re.length===0?Ee:Ee.replace(i,function(He,ze){const Ye=parseInt(ze,10);return isNaN(Ye)||Ye<0||Ye>=Re.length?He:Re[Ye]})}function c(Ee){return Ee.replace(/[<>&]/g,function(Re){switch(Re){case"<":return"<";case">":return">";case"&":return"&";default:return Re}})}function f(Ee){return Ee.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(Ee,Re=" "){const He=h(Ee,Re);return u(He,Re)}function h(Ee,Re){if(!Ee||!Re)return Ee;const He=Re.length;if(He===0||Ee.length===0)return Ee;let ze=0;for(;Ee.indexOf(Re,ze)===ze;)ze=ze+He;return Ee.substring(ze)}function u(Ee,Re){if(!Ee||!Re)return Ee;const He=Re.length,ze=Ee.length;if(He===0||ze===0)return Ee;let Ye=ze,ht=-1;for(;ht=Ee.lastIndexOf(Re,Ye-1),!(ht===-1||ht+He!==Ye);){if(ht===0)return"";Ye=ht}return Ee.substring(0,Ye)}function a(Ee){return Ee.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(Ee){return Ee.replace(/\*/g,"")}function p(Ee,Re,He={}){if(!Ee)throw new Error("Cannot create regex from empty string");Re||(Ee=f(Ee)),He.wholeWord&&(/\B/.test(Ee.charAt(0))||(Ee="\\b"+Ee),/\B/.test(Ee.charAt(Ee.length-1))||(Ee=Ee+"\\b"));let ze="";return He.global&&(ze+="g"),He.matchCase||(ze+="i"),He.multiline&&(ze+="m"),He.unicode&&(ze+="u"),new RegExp(Ee,ze)}function y(Ee){return Ee.source==="^"||Ee.source==="^$"||Ee.source==="$"||Ee.source==="^\\s*$"?!1:!!(Ee.exec("")&&Ee.lastIndex===0)}function _(Ee){return(Ee.global?"g":"")+(Ee.ignoreCase?"i":"")+(Ee.multiline?"m":"")+(Ee.unicode?"u":"")}function b(Ee){return Ee.split(/\r\n|\r|\n/)}function S(Ee){for(let Re=0,He=Ee.length;Re<He;Re++){const ze=Ee.charCodeAt(Re);if(ze!==32&&ze!==9)return Re}return-1}function k(Ee,Re=0,He=Ee.length){for(let ze=Re;ze<He;ze++){const Ye=Ee.charCodeAt(ze);if(Ye!==32&&Ye!==9)return Ee.substring(Re,ze)}return Ee.substring(Re,He)}function R(Ee,Re=Ee.length-1){for(let He=Re;He>=0;He--){const ze=Ee.charCodeAt(He);if(ze!==32&&ze!==9)return He}return-1}function A(Ee,Re){return Ee<Re?-1:Ee>Re?1:0}function D(Ee,Re,He=0,ze=Ee.length,Ye=0,ht=Re.length){for(;He<ze&&Ye<ht;He++,Ye++){let er=Ee.charCodeAt(He),Le=Re.charCodeAt(Ye);if(er<Le)return-1;if(er>Le)return 1}const xt=ze-He,nr=ht-Ye;return xt<nr?-1:xt>nr?1:0}function M(Ee,Re){return B(Ee,Re,0,Ee.length,0,Re.length)}function B(Ee,Re,He=0,ze=Ee.length,Ye=0,ht=Re.length){for(;He<ze&&Ye<ht;He++,Ye++){let er=Ee.charCodeAt(He),Le=Re.charCodeAt(Ye);if(er===Le)continue;if(er>=128||Le>=128)return D(Ee.toLowerCase(),Re.toLowerCase(),He,ze,Ye,ht);j(er)&&(er-=32),j(Le)&&(Le-=32);const Qe=er-Le;if(Qe!==0)return Qe}const xt=ze-He,nr=ht-Ye;return xt<nr?-1:xt>nr?1:0}function j(Ee){return Ee>=97&&Ee<=122}function Y(Ee){return Ee>=65&&Ee<=90}function V(Ee,Re){return Ee.length===Re.length&&B(Ee,Re)===0}function G(Ee,Re){const He=Re.length;return Re.length>Ee.length?!1:B(Ee,Re,0,He)===0}function ae(Ee,Re){let He,ze=Math.min(Ee.length,Re.length);for(He=0;He<ze;He++)if(Ee.charCodeAt(He)!==Re.charCodeAt(He))return He;return ze}function ie(Ee,Re){let He,ze=Math.min(Ee.length,Re.length);const Ye=Ee.length-1,ht=Re.length-1;for(He=0;He<ze;He++)if(Ee.charCodeAt(Ye-He)!==Re.charCodeAt(ht-He))return He;return ze}function ue(Ee){return 55296<=Ee&&Ee<=56319}function q(Ee){return 56320<=Ee&&Ee<=57343}function J(Ee,Re){return(Ee-55296<<10)+(Re-56320)+65536}function K(Ee,Re,He){const ze=Ee.charCodeAt(He);if(ue(ze)&&He+1<Re){const Ye=Ee.charCodeAt(He+1);if(q(Ye))return J(ze,Ye)}return ze}function oe(Ee,Re){const He=Ee.charCodeAt(Re-1);if(q(He)&&Re>1){const ze=Ee.charCodeAt(Re-2);if(ue(ze))return J(ze,He)}return He}function ee(Ee,Re){const He=Ft.getInstance(),ze=Re,Ye=Ee.length,ht=K(Ee,Ye,Re);Re+=ht>=65536?2:1;let xt=He.getGraphemeBreakType(ht);for(;Re<Ye;){const nr=K(Ee,Ye,Re),er=He.getGraphemeBreakType(nr);if(St(xt,er))break;Re+=nr>=65536?2:1,xt=er}return Re-ze}function Q(Ee,Re){const He=Ft.getInstance(),ze=Re,Ye=oe(Ee,Re);Re-=Ye>=65536?2:1;let ht=He.getGraphemeBreakType(Ye);for(;Re>0;){const xt=oe(Ee,Re),nr=He.getGraphemeBreakType(xt);if(St(nr,ht))break;Re-=xt>=65536?2:1,ht=nr}return ze-Re}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(Ee){return le.test(Ee)}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 se(Ee){return $.test(Ee)}const _e=/^[\t\n\r\x20-\x7E]*$/;function Ie(Ee){return _e.test(Ee)}const De=/[\u2028\u2029]/;function Ze(Ee){return De.test(Ee)}function Ne(Ee){for(let Re=0,He=Ee.length;Re<He;Re++)if(Lt(Ee.charCodeAt(Re)))return!0;return!1}function Lt(Ee){return Ee=+Ee,Ee>=11904&&Ee<=55215||Ee>=63744&&Ee<=64255||Ee>=65281&&Ee<=65374}function bt(Ee){return Ee>=127462&&Ee<=127487||Ee===8986||Ee===8987||Ee===9200||Ee===9203||Ee>=9728&&Ee<=10175||Ee===11088||Ee===11093||Ee>=127744&&Ee<=128591||Ee>=128640&&Ee<=128764||Ee>=128992&&Ee<=129003||Ee>=129280&&Ee<=129535||Ee>=129648&&Ee<=129750}const kt="\uFEFF";function jt(Ee){return!!(Ee&&Ee.length>0&&Ee.charCodeAt(0)===65279)}function Wt(Ee,Re=!1){return Ee?(Re&&(Ee=Ee.replace(/\\./g,"")),Ee.toLowerCase()!==Ee):!1}function zt(Ee){return Ee=Ee%52,Ee<26?String.fromCharCode(97+Ee):String.fromCharCode(65+Ee-26)}function We(Ee){return Ft.getInstance().getGraphemeBreakType(Ee)}function St(Ee,Re){return Ee===0?Re!==5&&Re!==7:Ee===2&&Re===3?!1:Ee===4||Ee===2||Ee===3||Re===4||Re===2||Re===3?!0:!(Ee===8&&(Re===8||Re===9||Re===11||Re===12)||(Ee===11||Ee===9)&&(Re===9||Re===10)||(Ee===12||Ee===10)&&Re===10||Re===5||Re===13||Re===7||Ee===1||Ee===13&&Re===14||Ee===6&&Re===6)}class Ft{constructor(){this._data=tt()}static getInstance(){return Ft._INSTANCE||(Ft._INSTANCE=new Ft),Ft._INSTANCE}getGraphemeBreakType(Re){if(Re<32)return Re===10?3:Re===13?2:4;if(Re<127)return 0;const He=this._data,ze=He.length/3;let Ye=1;for(;Ye<=ze;)if(Re<He[3*Ye])Ye=2*Ye;else if(Re>He[3*Ye+1])Ye=2*Ye+1;else return He[3*Ye+2];return 0}}Ft._INSTANCE=null;function tt(){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 _t(Ee,Re){if(Ee===0)return 0;const He=dt(Ee,Re);if(He!==void 0)return He;const ze=oe(Re,Ee);return Ee-=qe(ze),Ee}function dt(Ee,Re){let He=oe(Re,Ee);for(Ee-=qe(He);Be(He)||He===65039||He===8419;){if(Ee===0)return;He=oe(Re,Ee),Ee-=qe(He)}if(bt(He)){if(Ee>=0){const ze=oe(Re,Ee);ze===8205&&(Ee-=qe(ze))}return Ee}}function qe(Ee){return Ee>=65536?2:1}function Be(Ee){return 127995<=Ee&&Ee<=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(D){return Array.isArray(D)}function i(D){return typeof D=="string"}function l(D){return typeof D=="object"&&D!==null&&!Array.isArray(D)&&!(D instanceof RegExp)&&!(D instanceof Date)}function c(D){return typeof D=="number"&&!isNaN(D)}function f(D){return D===!0||D===!1}function o(D){return typeof D=="undefined"}function h(D){return!u(D)}function u(D){return o(D)||D===null}function a(D,M){if(!D)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(D){if(u(D))throw new Error("Assertion Failed: argument is undefined or null");return D}function p(D){return typeof D=="function"}function y(D,M){const B=Math.min(D.length,M.length);for(let j=0;j<B;j++)_(D[j],M[j])}function _(D,M){if(i(M)){if(typeof D!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(D instanceof M)return}catch(B){}if(!u(D)&&D.constructor===M||M.length===1&&M.call(void 0,D)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function b(D){let M=[],B=Object.getPrototypeOf(D);for(;Object.prototype!==B;)M=M.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return M}function S(D){const M=[];for(const B of b(D))typeof D[B]=="function"&&M.push(B);return M}function k(D,M){const B=Y=>function(){const V=Array.prototype.slice.call(arguments,0);return M(Y,V)};let j={};for(const Y of D)j[Y]=B(Y);return j}function R(D){return D===null?void 0:D}function A(D,M="Unreachable"){throw new Error(M)}},13268:function(d,v,e){"use strict";e.d(v,{N:function(){return i}});function r(l,c){let f;return c.length===0?f=l:f=l.replace(/\{(\d+)\}/g,function(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(D,M,B,j){var Y=arguments.length,V=Y<3?M:j===null?j=Object.getOwnPropertyDescriptor(M,B):j,G;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")V=Reflect.decorate(D,M,B,j);else for(var ae=D.length-1;ae>=0;ae--)(G=D[ae])&&(V=(Y<3?G(V):Y>3?G(M,B,V):G(M,B))||V);return Y>3&&V&&Object.defineProperty(M,B,V),V},y=function(D,M){return function(B,j){M(B,j,D)}};function _(D){return D.command!==void 0}class b{constructor(M){this.id=b._idPool++,this._debugName=M}}b._idPool=0,b.CommandPalette=new b("CommandPalette"),b.EditorContext=new b("EditorContext"),b.SimpleEditorContext=new b("SimpleEditorContext"),b.EditorContextCopy=new b("EditorContextCopy"),b.EditorContextPeek=new b("EditorContextPeek"),b.MenubarEditMenu=new b("MenubarEditMenu"),b.MenubarCopy=new b("MenubarCopy"),b.MenubarGoMenu=new b("MenubarGoMenu"),b.MenubarSelectionMenu=new b("MenubarSelectionMenu"),b.InlineCompletionsActions=new b("InlineCompletionsActions");const S=(0,a.yh)("menuService"),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:D=>D===b.CommandPalette}}addCommand(D){return this.addCommands(c.$.single(D))}addCommands(D){for(const M of D)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const B of D)M=this._commands.delete(B.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(D){return this._commands.get(D)}getCommands(){const D=new Map;return this._commands.forEach((M,B)=>D.set(B,M)),D}appendMenuItem(D,M){return this.appendMenuItems(c.$.single({id:D,item:M}))}appendMenuItems(D){const M=new Set,B=new o.S;for(const{id:j,item:Y}of D){let V=this._menuItems.get(j);V||(V=new o.S,this._menuItems.set(j,V)),B.push(V.push(Y)),M.add(j)}return this._onDidChangeMenu.fire(M),(0,f.OF)(()=>{if(B.size>0){for(let j of B)j();this._onDidChangeMenu.fire(M),B.clear()}})}getMenuItems(D){let M;return this._menuItems.has(D)?M=[...this._menuItems.get(D)]:M=[],D===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(D){const M=new Set;for(const B of D)_(B)&&(M.add(B.command.id),B.alt&&M.add(B.alt.id));this._commands.forEach((B,j)=>{M.has(j)||D.push({command:B})})}};class R extends r.wY{constructor(M,B,j,Y){super(`submenuitem.${M.submenu.id}`,typeof M.title=="string"?M.title:M.title.value,[],"submenu"),this.item=M,this._menuService=B,this._contextKeyService=j,this._options=Y}get actions(){const M=[],B=this._menuService.createMenu(this.item.submenu,this._contextKeyService),j=B.getActions(this._options);B.dispose();for(const[,Y]of j)Y.length>0&&(M.push(...Y),M.push(new r.Z0));return M.length&&M.pop(),M}}let A=class Ld{constructor(M,B,j,Y,V){var G,ae;if(this._commandService=V,this.id=M.id,this.label=j!=null&&j.renderShortTitle&&M.shortTitle?typeof M.shortTitle=="string"?M.shortTitle:M.shortTitle.value:typeof M.title=="string"?M.title:M.title.value,this.tooltip=(ae=typeof M.tooltip=="string"?M.tooltip:(G=M.tooltip)===null||G===void 0?void 0:G.value)!==null&&ae!==void 0?ae:"",this.enabled=!M.precondition||Y.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ie=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=Y.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 Ld(B,void 0,j,Y,V):void 0,this._options=j,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var B,j;let Y=[];return!((B=this._options)===null||B===void 0)&&B.arg&&(Y=[...Y,this._options.arg]),!((j=this._options)===null||j===void 0)&&j.shouldForwardArgs&&(Y=[...Y,...M]),this._commandService.executeCommand(this.id,...Y)}};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 J},Fb:function(){return u},K8:function(){return ee},i6:function(){return q},uy:function(){return ue}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const o=Object.prototype.hasOwnProperty;class h{static has(Z){return y.create(Z)}static equals(Z,$){return _.create(Z,$)}static regex(Z,$){return Y.create(Z,$)}static not(Z){return R.create(Z)}static and(...Z){return ae.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 se=Z.split("||");return ie.create(se.map(_e=>this._deserializeAndExpression(_e,$)),null,!0)}static _deserializeAndExpression(Z,$){let se=Z.split("&&");return ae.create(se.map(_e=>this._deserializeOne(_e,$)),null)}static _deserializeOne(Z,$){if(Z=Z.trim(),Z.indexOf("!=")>=0){let se=Z.split("!=");return k.create(se[0].trim(),this._deserializeValue(se[1],$))}if(Z.indexOf("==")>=0){let se=Z.split("==");return _.create(se[0].trim(),this._deserializeValue(se[1],$))}if(Z.indexOf("=~")>=0){let se=Z.split("=~");return Y.create(se[0].trim(),this._deserializeRegexValue(se[1],$))}if(Z.indexOf(" in ")>=0){let se=Z.split(" in ");return b.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(Z)){const se=Z.split(">=");return M.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(Z)){const se=Z.split(">");return D.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(Z)){const se=Z.split("<=");return j.create(se[0].trim(),se[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(Z)){const se=Z.split("<");return B.create(se[0].trim(),se[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 se=/^'([^']*)'$/.exec(Z);return se?se[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 se=Z.indexOf("/"),_e=Z.lastIndexOf("/");if(se===_e||se<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(se+1,_e),De=Z[_e+1]==="i"?"i":"";try{return new RegExp(Ie,De)}catch(Ze){if($)throw new Error(`bad regexp-value '${Z}', parse error: ${Ze}`);return console.warn(`bad regexp-value '${Z}', parse error: ${Ze}`),null}}}function u(le,Z){const $=le?le.substituteConstants():void 0,se=Z?Z.substituteConstants():void 0;return!$&&!se?!0:!$||!se?!1:$.equals(se)}function a(le,Z){return le.cmp(Z)}class x{constructor(){this.type=0}cmp(Z){return this.type-Z.type}equals(Z){return Z.type===this.type}substituteConstants(){return this}evaluate(Z){return!1}serialize(){return"false"}keys(){return[]}negate(){return p.INSTANCE}}x.INSTANCE=new x;class p{constructor(){this.type=1}cmp(Z){return this.type-Z.type}equals(Z){return Z.type===this.type}substituteConstants(){return this}evaluate(Z){return!0}serialize(){return"true"}keys(){return[]}negate(){return x.INSTANCE}}p.INSTANCE=new p;class y{constructor(Z,$){this.key=Z,this.negated=$,this.type=2}static create(Z,$=null){const se=f.get(Z);return typeof se=="boolean"?se?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,$,se){this.key=Z,this.value=$,this.negated=se,this.type=4}static create(Z,$,se=null){if(typeof $=="boolean")return $?y.create(Z,se):R.create(Z,se);const _e=f.get(Z);return typeof _e=="boolean"?$===(_e?"true":"false")?p.INSTANCE:x.INSTANCE:new _(Z,$,se)}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(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:oe(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),se=Z.getValue(this.key);return Array.isArray($)?$.indexOf(se)>=0:typeof se=="string"&&typeof $=="object"&&$!==null?o.call($,se):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=S.create(this)),this.negated}}class S{constructor(Z){this._actual=Z,this.type=11}static create(Z){return new S(Z)}cmp(Z){return Z.type!==this.type?this.type-Z.type:this._actual.cmp(Z._actual)}equals(Z){return Z.type===this.type?this._actual.equals(Z._actual):!1}substituteConstants(){return this}evaluate(Z){return!this._actual.evaluate(Z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class k{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=5}static create(Z,$,se=null){if(typeof $=="boolean")return $?R.create(Z,se):y.create(Z,se);const _e=f.get(Z);return typeof _e=="boolean"?$===(_e?"true":"false")?x.INSTANCE:p.INSTANCE:new k(Z,$,se)}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(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 se=f.get(Z);return typeof se=="boolean"?se?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 D{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=12}static create(Z,$,se=null){return A($,_e=>new D(Z,_e,se))}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){return this}evaluate(Z){return typeof this.value=="string"?!1:parseFloat(Z.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=j.create(this.key,this.value,this)),this.negated}}class M{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=13}static create(Z,$,se=null){return A($,_e=>new M(Z,_e,se))}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(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,$,se){this.key=Z,this.value=$,this.negated=se,this.type=14}static create(Z,$,se=null){return A($,_e=>new B(Z,_e,se))}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){return this}evaluate(Z){return typeof this.value=="string"?!1:parseFloat(Z.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class j{constructor(Z,$,se){this.key=Z,this.value=$,this.negated=se,this.type=15}static create(Z,$,se=null){return A($,_e=>new j(Z,_e,se))}cmp(Z){return Z.type!==this.type?this.type-Z.type:oe(this.key,this.value,Z.key,Z.value)}equals(Z){return Z.type===this.type?this.key===Z.key&&this.value===Z.value:!1}substituteConstants(){return this}evaluate(Z){return typeof this.value=="string"?!1:parseFloat(Z.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=D.create(this.key,this.value,this)),this.negated}}class Y{constructor(Z,$){this.key=Z,this.regexp=$,this.type=7,this.negated=null}static create(Z,$){return new Y(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:"",se=Z.regexp?Z.regexp.source:"";return $<se?-1:$>se?1:0}equals(Z){if(Z.type===this.type){const $=this.regexp?this.regexp.source:"",se=Z.regexp?Z.regexp.source:"";return this.key===Z.key&&$===se}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=V.create(this)),this.negated}}class V{constructor(Z){this._actual=Z,this.type=8}static create(Z){return new V(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 G(le){let Z=null;for(let $=0,se=le.length;$<se;$++){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 ae{constructor(Z,$){this.expr=Z,this.negated=$,this.type=6}static create(Z,$){return ae._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,se=this.expr.length;$<se;$++){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,se=this.expr.length;$<se;$++)if(!this.expr[$].equals(Z.expr[$]))return!1;return!0}return!1}substituteConstants(){const Z=G(this.expr);return Z===this.expr?this:ae.create(Z,this.negated)}evaluate(Z){for(let $=0,se=this.expr.length;$<se;$++)if(!this.expr[$].evaluate(Z))return!1;return!0}static _normalizeArr(Z,$){const se=[];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){se.push(...Ie.expr);continue}se.push(Ie)}if(se.length===0&&_e)return p.INSTANCE;if(se.length!==0){if(se.length===1)return se[0];se.sort(a);for(let Ie=1;Ie<se.length;Ie++)se[Ie-1].equals(se[Ie])&&(se.splice(Ie,1),Ie--);if(se.length===1)return se[0];for(;se.length>1;){const Ie=se[se.length-1];if(Ie.type!==9)break;se.pop();const De=se.pop(),Ze=se.length===0,Ne=ie.create(Ie.expr.map(Lt=>ae.create([Lt,De],null)),null,Ze);Ne&&(se.push(Ne),se.sort(a))}return se.length===1?se[0]:new ae(se,$)}}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,$,se){return ie._normalizeArr(Z,$,se)}cmp(Z){if(Z.type!==this.type)return this.type-Z.type;if(this.expr.length<Z.expr.length)return-1;if(this.expr.length>Z.expr.length)return 1;for(let $=0,se=this.expr.length;$<se;$++){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,se=this.expr.length;$<se;$++)if(!this.expr[$].equals(Z.expr[$]))return!1;return!0}return!1}substituteConstants(){const Z=G(this.expr);return Z===this.expr?this:ie.create(Z,this.negated,!1)}evaluate(Z){for(let $=0,se=this.expr.length;$<se;$++)if(this.expr[$].evaluate(Z))return!0;return!1}static _normalizeArr(Z,$,se){let _e=[],Ie=!1;if(Z){for(let De=0,Ze=Z.length;De<Ze;De++){const Ne=Z[De];if(Ne){if(Ne.type===0){Ie=!0;continue}if(Ne.type===1)return p.INSTANCE;if(Ne.type===9){_e=_e.concat(Ne.expr);continue}_e.push(Ne)}}if(_e.length===0&&Ie)return x.INSTANCE;_e.sort(a)}if(_e.length!==0){if(_e.length===1)return _e[0];for(let De=1;De<_e.length;De++)_e[De-1].equals(_e[De])&&(_e.splice(De,1),De--);if(_e.length===1)return _e[0];if(se){for(let De=0;De<_e.length;De++)for(let Ze=De+1;Ze<_e.length;Ze++)ee(_e[De],_e[Ze])&&(_e.splice(Ze,1),Ze--);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(),se=Z.shift(),_e=[];for(const De of Q($))for(const Ze of Q(se))_e.push(ae.create([De,Ze],null));const Ie=Z.length===0;Z.unshift(ie.create(_e,null,Ie))}this.negated=Z[0]}return this.negated}}class ue extends y{constructor(Z,$,se){super(Z,null),this._defaultValue=$,typeof se=="object"?ue._info.push(Object.assign(Object.assign({},se),{key:Z})):se!==!0&&ue._info.push({key:Z,description:se,type:$!=null?typeof $:void 0})}static all(){return ue._info.values()}bindTo(Z){return Z.createKey(this.key,this._defaultValue)}getValue(Z){return Z.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(Z){return _.create(this.key,Z)}}ue._info=[];const q=(0,l.yh)("contextKeyService"),J="setContext";function K(le,Z){return le<Z?-1:le>Z?1:0}function oe(le,Z,$,se){return le<$?-1:le>$?1:Z<se?-1:Z>se?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(),se=Q($).concat(Q(Z));se.sort(a);for(let _e=0;_e<se.length;_e++){const De=se[_e].negate();for(let Ze=_e+1;Ze<se.length;Ze++){const Ne=se[Ze];if(De.equals(Ne))return!0}}return!1}function Q(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(D){return D&&typeof D=="object"&&typeof D.id=="string"}R.isThemeColor=A})(u||(u={}));function a(R){return{id:R}}var x;(function(R){function A(V){return V&&typeof V=="object"&&typeof V.id=="string"&&(typeof V.color=="undefined"||u.isThemeColor(V.color))}R.isThemeIcon=A;const D=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(V){const G=D.exec(V);if(!G)return;let[,ae]=G;return{id:ae}}R.fromString=M;function B(V,G){let ae=V.id;const ie=ae.lastIndexOf("~");return ie!==-1&&(ae=ae.substring(0,ie)),G&&(ae=`${ae}~${G}`),{id:ae}}R.modify=B;function j(V,G){var ae,ie;return V.id===G.id&&((ae=V.color)===null||ae===void 0?void 0:ae.id)===((ie=G.color)===null||ie===void 0?void 0:ie.id)}R.isEqual=j;function Y(V,G){return{id:V.id,color:G?a(G):void 0}}R.asThemeIcon=Y,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 D=this.themingParticipants.indexOf(A);this.themingParticipants.splice(D,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(D=>this.onThemeChange(D)))}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 ue}});var r=e(14809),i=e(50298),l=e(43403),c=e(59301),f=c.createContext({}),o=e(20439),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function _(q,J,K){var oe=J;return!oe&&K&&(oe="".concat(q,"-").concat(K)),oe}function b(q,J){var K=q["page".concat(J?"Y":"X","Offset")],oe="scroll".concat(J?"Top":"Left");if(typeof K!="number"){var ee=q.document;K=ee.documentElement[oe],typeof K!="number"&&(K=ee.body[oe])}return K}function S(q){var J=q.getBoundingClientRect(),K={left:J.left,top:J.top},oe=q.ownerDocument,ee=oe.defaultView||oe.parentWindow;return K.left+=b(ee),K.top+=b(ee,!0),K}var k=e(77900),R=e(8654),A=c.memo(function(q){var J=q.children;return J},function(q,J){var K=J.shouldUpdate;return!K}),D={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(q,J){var K=q.prefixCls,oe=q.className,ee=q.style,Q=q.title,le=q.ariaId,Z=q.footer,$=q.closable,se=q.closeIcon,_e=q.onClose,Ie=q.children,De=q.bodyStyle,Ze=q.bodyProps,Ne=q.modalRender,Lt=q.onMouseDown,bt=q.onMouseUp,kt=q.holderRef,jt=q.visible,Wt=q.forceRender,zt=q.width,We=q.height,St=c.useContext(f),Ft=St.panel,tt=(0,R.x1)(kt,Ft),_t=(0,c.useRef)(),dt=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var Ye;(Ye=_t.current)===null||Ye===void 0||Ye.focus()},changeActive:function(Ye){var ht=document,xt=ht.activeElement;Ye&&xt===dt.current?_t.current.focus():!Ye&&xt===_t.current&&dt.current.focus()}}});var qe={};zt!==void 0&&(qe.width=zt),We!==void 0&&(qe.height=We);var Be;Z&&(Be=c.createElement("div",{className:"".concat(K,"-footer")},Z));var Ee;Q&&(Ee=c.createElement("div",{className:"".concat(K,"-header")},c.createElement("div",{className:"".concat(K,"-title"),id:le},Q)));var Re;$&&(Re=c.createElement("button",{type:"button",onClick:_e,"aria-label":"Close",className:"".concat(K,"-close")},se||c.createElement("span",{className:"".concat(K,"-close-x")})));var He=c.createElement("div",{className:"".concat(K,"-content")},Re,Ee,c.createElement("div",(0,r.Z)({className:"".concat(K,"-body"),style:De},Ze),Ie),Be);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Q?le:null,"aria-modal":"true",ref:tt,style:(0,o.Z)((0,o.Z)({},ee),qe),className:u()(K,oe),onMouseDown:Lt,onMouseUp:bt},c.createElement("div",{tabIndex:0,ref:_t,style:D,"aria-hidden":"true"}),c.createElement(A,{shouldUpdate:jt||Wt},Ne?Ne(He):He),c.createElement("div",{tabIndex:0,ref:dt,style:D,"aria-hidden":"true"}))}),B=M,j=c.forwardRef(function(q,J){var K=q.prefixCls,oe=q.title,ee=q.style,Q=q.className,le=q.visible,Z=q.forceRender,$=q.destroyOnClose,se=q.motionName,_e=q.ariaId,Ie=q.onVisibleChanged,De=q.mousePosition,Ze=(0,c.useRef)(),Ne=c.useState(),Lt=(0,i.Z)(Ne,2),bt=Lt[0],kt=Lt[1],jt={};bt&&(jt.transformOrigin=bt);function Wt(){var zt=S(Ze.current);kt(De?"".concat(De.x-zt.left,"px ").concat(De.y-zt.top,"px"):"")}return c.createElement(k.default,{visible:le,onVisibleChanged:Ie,onAppearPrepare:Wt,onEnterPrepare:Wt,forceRender:Z,motionName:se,removeOnLeave:$,ref:Ze},function(zt,We){var St=zt.className,Ft=zt.style;return c.createElement(B,(0,r.Z)({},q,{ref:J,title:oe,ariaId:_e,prefixCls:K,holderRef:We,style:(0,o.Z)((0,o.Z)((0,o.Z)({},Ft),ee),jt),className:u()(Q,St)}))})});j.displayName="Content";var Y=j;function V(q){var J=q.prefixCls,K=q.style,oe=q.visible,ee=q.maskProps,Q=q.motionName;return c.createElement(k.default,{key:"mask",visible:oe,motionName:Q,leavedClassName:"".concat(J,"-mask-hidden")},function(le,Z){var $=le.className,se=le.style;return c.createElement("div",(0,r.Z)({ref:Z,style:(0,o.Z)((0,o.Z)({},se),K),className:u()("".concat(J,"-mask"),$)},ee))})}function G(q){var J=q.prefixCls,K=J===void 0?"rc-dialog":J,oe=q.zIndex,ee=q.visible,Q=ee===void 0?!1:ee,le=q.keyboard,Z=le===void 0?!0:le,$=q.focusTriggerAfterClose,se=$===void 0?!0:$,_e=q.wrapStyle,Ie=q.wrapClassName,De=q.wrapProps,Ze=q.onClose,Ne=q.afterOpenChange,Lt=q.afterClose,bt=q.transitionName,kt=q.animation,jt=q.closable,Wt=jt===void 0?!0:jt,zt=q.mask,We=zt===void 0?!0:zt,St=q.maskTransitionName,Ft=q.maskAnimation,tt=q.maskClosable,_t=tt===void 0?!0:tt,dt=q.maskStyle,qe=q.maskProps,Be=q.rootClassName,Ee=(0,c.useRef)(),Re=(0,c.useRef)(),He=(0,c.useRef)(),ze=c.useState(Q),Ye=(0,i.Z)(ze,2),ht=Ye[0],xt=Ye[1],nr=(0,x.Z)();function er(){(0,a.Z)(Re.current,document.activeElement)||(Ee.current=document.activeElement)}function Le(){if(!(0,a.Z)(Re.current,document.activeElement)){var fe;(fe=He.current)===null||fe===void 0||fe.focus()}}function Qe(fe){if(fe)Le();else{if(xt(!1),We&&Ee.current&&se){try{Ee.current.focus({preventScroll:!0})}catch(pe){}Ee.current=null}ht&&(Lt==null||Lt())}Ne==null||Ne(fe)}function Qt(fe){Ze==null||Ze(fe)}var Rt=(0,c.useRef)(!1),Vt=(0,c.useRef)(),Gt=function(){clearTimeout(Vt.current),Rt.current=!0},Tt=function(){Vt.current=setTimeout(function(){Rt.current=!1})},qt=null;_t&&(qt=function(pe){Rt.current?Rt.current=!1:Re.current===pe.target&&Qt(pe)});function Ue(fe){if(Z&&fe.keyCode===p.Z.ESC){fe.stopPropagation(),Qt(fe);return}Q&&fe.keyCode===p.Z.TAB&&He.current.changeActive(!fe.shiftKey)}return(0,c.useEffect)(function(){Q&&(xt(!0),er())},[Q]),(0,c.useEffect)(function(){return function(){clearTimeout(Vt.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(K,"-root"),Be)},(0,y.Z)(q,{data:!0})),c.createElement(V,{prefixCls:K,visible:We&&Q,motionName:_(K,St,Ft),style:(0,o.Z)({zIndex:oe},dt),maskProps:qe}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Ue,className:u()("".concat(K,"-wrap"),Ie),ref:Re,onClick:qt,style:(0,o.Z)((0,o.Z)({zIndex:oe},_e),{},{display:ht?null:"none"})},De),c.createElement(Y,(0,r.Z)({},q,{onMouseDown:Gt,onMouseUp:Tt,ref:He,closable:Wt,ariaId:nr,prefixCls:K,visible:Q&&ht,onClose:Qt,onVisibleChanged:Qe,motionName:_(K,bt,kt)}))))}var ae=function(J){var K=J.visible,oe=J.getContainer,ee=J.forceRender,Q=J.destroyOnClose,le=Q===void 0?!1:Q,Z=J.afterClose,$=J.panelRef,se=c.useState(K),_e=(0,i.Z)(se,2),Ie=_e[0],De=_e[1],Ze=c.useMemo(function(){return{panel:$}},[$]);return c.useEffect(function(){K&&De(!0)},[K]),!ee&&le&&!Ie?null:c.createElement(f.Provider,{value:Ze},c.createElement(l.Z,{open:K||ee||Ie,autoDestroy:!1,getContainer:oe,autoLock:K||Ie},c.createElement(G,(0,r.Z)({},J,{destroyOnClose:le,afterClose:function(){Z==null||Z(),De(!1)}}))))};ae.displayName="Dialog";var ie=ae,ue=ie},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Tr},FieldContext:function(){return M},FormProvider:function(){return Ea},List:function(){return Ln},ListContext:function(){return j},default:function(){return Sn},useForm:function(){return ji},useWatch:function(){return ya}});var r=e(59301),i=e(14809),l=e(62646),c=e(70539),f=e(95764),o=e(20439),h=e(95190),u=e(99153),a=e(84851),x=e(13028),p=e(19257),y=e(93046),_=e(4635),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.")},D=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=D,B=r.createContext(null),j=B;function Y(rr){return rr==null?[]:Array.isArray(rr)?rr:[rr]}function V(rr){return rr&&!!rr._init}var G=e(97671);function ae(){return ae=Object.assign?Object.assign.bind():function(rr){for(var vt=1;vt<arguments.length;vt++){var nt=arguments[vt];for(var Dt in nt)Object.prototype.hasOwnProperty.call(nt,Dt)&&(rr[Dt]=nt[Dt])}return rr},ae.apply(this,arguments)}function ie(rr,vt){rr.prototype=Object.create(vt.prototype),rr.prototype.constructor=rr,q(rr,vt)}function ue(rr){return ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(nt){return nt.__proto__||Object.getPrototypeOf(nt)},ue(rr)}function q(rr,vt){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Dt,pt){return Dt.__proto__=pt,Dt},q(rr,vt)}function J(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(rr){return!1}}function K(rr,vt,nt){return J()?K=Reflect.construct.bind():K=function(pt,cr,dr){var Ar=[null];Ar.push.apply(Ar,cr);var Zr=Function.bind.apply(pt,Ar),$e=new Zr;return dr&&q($e,dr.prototype),$e},K.apply(null,arguments)}function oe(rr){return Function.toString.call(rr).indexOf("[native code]")!==-1}function ee(rr){var vt=typeof Map=="function"?new Map:void 0;return ee=function(Dt){if(Dt===null||!oe(Dt))return Dt;if(typeof Dt!="function")throw new TypeError("Super expression must either be null or a function");if(typeof vt!="undefined"){if(vt.has(Dt))return vt.get(Dt);vt.set(Dt,pt)}function pt(){return K(Dt,arguments,ue(this).constructor)}return pt.prototype=Object.create(Dt.prototype,{constructor:{value:pt,enumerable:!1,writable:!0,configurable:!0}}),q(pt,Dt)},ee(rr)}var Q=/%[sdj%]/g,le=function(){};function Z(rr){if(!rr||!rr.length)return null;var vt={};return rr.forEach(function(nt){var Dt=nt.field;vt[Dt]=vt[Dt]||[],vt[Dt].push(nt)}),vt}function $(rr){for(var vt=arguments.length,nt=new Array(vt>1?vt-1:0),Dt=1;Dt<vt;Dt++)nt[Dt-1]=arguments[Dt];var pt=0,cr=nt.length;if(typeof rr=="function")return rr.apply(null,nt);if(typeof rr=="string"){var dr=rr.replace(Q,function(Ar){if(Ar==="%%")return"%";if(pt>=cr)return Ar;switch(Ar){case"%s":return String(nt[pt++]);case"%d":return Number(nt[pt++]);case"%j":try{return JSON.stringify(nt[pt++])}catch(Zr){return"[Circular]"}break;default:return Ar}});return dr}return rr}function se(rr){return rr==="string"||rr==="url"||rr==="hex"||rr==="email"||rr==="date"||rr==="pattern"}function _e(rr,vt){return!!(rr==null||vt==="array"&&Array.isArray(rr)&&!rr.length||se(vt)&&typeof rr=="string"&&!rr)}function Ie(rr,vt,nt){var Dt=[],pt=0,cr=rr.length;function dr(Ar){Dt.push.apply(Dt,Ar||[]),pt++,pt===cr&&nt(Dt)}rr.forEach(function(Ar){vt(Ar,dr)})}function De(rr,vt,nt){var Dt=0,pt=rr.length;function cr(dr){if(dr&&dr.length){nt(dr);return}var Ar=Dt;Dt=Dt+1,Ar<pt?vt(rr[Ar],cr):nt([])}cr([])}function Ze(rr){var vt=[];return Object.keys(rr).forEach(function(nt){vt.push.apply(vt,rr[nt]||[])}),vt}var Ne=function(rr){ie(vt,rr);function vt(nt,Dt){var pt;return pt=rr.call(this,"Async Validation Error")||this,pt.errors=nt,pt.fields=Dt,pt}return vt}(ee(Error));function Lt(rr,vt,nt,Dt,pt){if(vt.first){var cr=new Promise(function(st,ir){var Rr=function(jr){return Dt(jr),jr.length?ir(new Ne(jr,Z(jr))):st(pt)},Dr=Ze(rr);De(Dr,nt,Rr)});return cr.catch(function(st){return st}),cr}var dr=vt.firstFields===!0?Object.keys(rr):vt.firstFields||[],Ar=Object.keys(rr),Zr=Ar.length,$e=0,Je=[],xe=new Promise(function(st,ir){var Rr=function(Pr){if(Je.push.apply(Je,Pr),$e++,$e===Zr)return Dt(Je),Je.length?ir(new Ne(Je,Z(Je))):st(pt)};Ar.length||(Dt(Je),st(pt)),Ar.forEach(function(Dr){var Pr=rr[Dr];dr.indexOf(Dr)!==-1?De(Pr,nt,Rr):Ie(Pr,nt,Rr)})});return xe.catch(function(st){return st}),xe}function bt(rr){return!!(rr&&rr.message!==void 0)}function kt(rr,vt){for(var nt=rr,Dt=0;Dt<vt.length;Dt++){if(nt==null)return nt;nt=nt[vt[Dt]]}return nt}function jt(rr,vt){return function(nt){var Dt;return rr.fullFields?Dt=kt(vt,rr.fullFields):Dt=vt[nt.field||rr.fullField],bt(nt)?(nt.field=nt.field||rr.fullField,nt.fieldValue=Dt,nt):{message:typeof nt=="function"?nt():nt,fieldValue:Dt,field:nt.field||rr.fullField}}}function Wt(rr,vt){if(vt){for(var nt in vt)if(vt.hasOwnProperty(nt)){var Dt=vt[nt];typeof Dt=="object"&&typeof rr[nt]=="object"?rr[nt]=ae({},rr[nt],Dt):rr[nt]=Dt}}return rr}var zt=function(vt,nt,Dt,pt,cr,dr){vt.required&&(!Dt.hasOwnProperty(vt.field)||_e(nt,dr||vt.type))&&pt.push($(cr.messages.required,vt.fullField))},We=function(vt,nt,Dt,pt,cr){(/^\s+$/.test(nt)||nt==="")&&pt.push($(cr.messages.whitespace,vt.fullField))},St,Ft=function(){if(St)return St;var rr="[a-fA-F\\d:]",vt=function(ln){return ln&&ln.includeBoundaries?"(?:(?<=\\s|^)(?="+rr+")|(?<="+rr+")(?=\\s|$))":""},nt="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",Dt="[a-fA-F\\d]{1,4}",pt=(`
|
|
|
(?:
|
|
|
(?:`+Dt+":){7}(?:"+Dt+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
(?:`+Dt+":){6}(?:"+nt+"|:"+Dt+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
|
|
(?:`+Dt+":){5}(?::"+nt+"|(?::"+Dt+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
|
|
(?:`+Dt+":){4}(?:(?::"+Dt+"){0,1}:"+nt+"|(?::"+Dt+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
|
|
(?:`+Dt+":){3}(?:(?::"+Dt+"){0,2}:"+nt+"|(?::"+Dt+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
|
|
(?:`+Dt+":){2}(?:(?::"+Dt+"){0,3}:"+nt+"|(?::"+Dt+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
(?:`+Dt+":){1}(?:(?::"+Dt+"){0,4}:"+nt+"|(?::"+Dt+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
(?::(?:(?::`+Dt+"){0,5}:"+nt+"|(?::"+Dt+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
|
|
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
|
|
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),cr=new RegExp("(?:^"+nt+"$)|(?:^"+pt+"$)"),dr=new RegExp("^"+nt+"$"),Ar=new RegExp("^"+pt+"$"),Zr=function(ln){return ln&&ln.exact?cr:new RegExp("(?:"+vt(ln)+nt+vt(ln)+")|(?:"+vt(ln)+pt+vt(ln)+")","g")};Zr.v4=function(Cr){return Cr&&Cr.exact?dr:new RegExp(""+vt(Cr)+nt+vt(Cr),"g")},Zr.v6=function(Cr){return Cr&&Cr.exact?Ar:new RegExp(""+vt(Cr)+pt+vt(Cr),"g")};var $e="(?:(?:[a-z]+:)?//)",Je="(?:\\S+(?::\\S*)?@)?",xe=Zr.v4().source,st=Zr.v6().source,ir="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Rr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",Dr="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Pr="(?::\\d{2,5})?",jr='(?:[/?#][^\\s"]*)?',pn="(?:"+$e+"|www\\.)"+Je+"(?:localhost|"+xe+"|"+st+"|"+ir+Rr+Dr+")"+Pr+jr;return St=new RegExp("(?:^"+pn+"$)","i"),St},tt={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},_t={integer:function(vt){return _t.number(vt)&&parseInt(vt,10)===vt},float:function(vt){return _t.number(vt)&&!_t.integer(vt)},array:function(vt){return Array.isArray(vt)},regexp:function(vt){if(vt instanceof RegExp)return!0;try{return!!new RegExp(vt)}catch(nt){return!1}},date:function(vt){return typeof vt.getTime=="function"&&typeof vt.getMonth=="function"&&typeof vt.getYear=="function"&&!isNaN(vt.getTime())},number:function(vt){return isNaN(vt)?!1:typeof vt=="number"},object:function(vt){return typeof vt=="object"&&!_t.array(vt)},method:function(vt){return typeof vt=="function"},email:function(vt){return typeof vt=="string"&&vt.length<=320&&!!vt.match(tt.email)},url:function(vt){return typeof vt=="string"&&vt.length<=2048&&!!vt.match(Ft())},hex:function(vt){return typeof vt=="string"&&!!vt.match(tt.hex)}},dt=function(vt,nt,Dt,pt,cr){if(vt.required&&nt===void 0){zt(vt,nt,Dt,pt,cr);return}var dr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ar=vt.type;dr.indexOf(Ar)>-1?_t[Ar](nt)||pt.push($(cr.messages.types[Ar],vt.fullField,vt.type)):Ar&&typeof nt!==vt.type&&pt.push($(cr.messages.types[Ar],vt.fullField,vt.type))},qe=function(vt,nt,Dt,pt,cr){var dr=typeof vt.len=="number",Ar=typeof vt.min=="number",Zr=typeof vt.max=="number",$e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Je=nt,xe=null,st=typeof nt=="number",ir=typeof nt=="string",Rr=Array.isArray(nt);if(st?xe="number":ir?xe="string":Rr&&(xe="array"),!xe)return!1;Rr&&(Je=nt.length),ir&&(Je=nt.replace($e,"_").length),dr?Je!==vt.len&&pt.push($(cr.messages[xe].len,vt.fullField,vt.len)):Ar&&!Zr&&Je<vt.min?pt.push($(cr.messages[xe].min,vt.fullField,vt.min)):Zr&&!Ar&&Je>vt.max?pt.push($(cr.messages[xe].max,vt.fullField,vt.max)):Ar&&Zr&&(Je<vt.min||Je>vt.max)&&pt.push($(cr.messages[xe].range,vt.fullField,vt.min,vt.max))},Be="enum",Ee=function(vt,nt,Dt,pt,cr){vt[Be]=Array.isArray(vt[Be])?vt[Be]:[],vt[Be].indexOf(nt)===-1&&pt.push($(cr.messages[Be],vt.fullField,vt[Be].join(", ")))},Re=function(vt,nt,Dt,pt,cr){if(vt.pattern){if(vt.pattern instanceof RegExp)vt.pattern.lastIndex=0,vt.pattern.test(nt)||pt.push($(cr.messages.pattern.mismatch,vt.fullField,nt,vt.pattern));else if(typeof vt.pattern=="string"){var dr=new RegExp(vt.pattern);dr.test(nt)||pt.push($(cr.messages.pattern.mismatch,vt.fullField,nt,vt.pattern))}}},He={required:zt,whitespace:We,type:dt,range:qe,enum:Ee,pattern:Re},ze=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt,"string")&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr,"string"),_e(nt,"string")||(He.type(vt,nt,pt,dr,cr),He.range(vt,nt,pt,dr,cr),He.pattern(vt,nt,pt,dr,cr),vt.whitespace===!0&&He.whitespace(vt,nt,pt,dr,cr))}Dt(dr)},Ye=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),nt!==void 0&&He.type(vt,nt,pt,dr,cr)}Dt(dr)},ht=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(nt===""&&(nt=void 0),_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),nt!==void 0&&(He.type(vt,nt,pt,dr,cr),He.range(vt,nt,pt,dr,cr))}Dt(dr)},xt=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),nt!==void 0&&He.type(vt,nt,pt,dr,cr)}Dt(dr)},nr=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),_e(nt)||He.type(vt,nt,pt,dr,cr)}Dt(dr)},er=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),nt!==void 0&&(He.type(vt,nt,pt,dr,cr),He.range(vt,nt,pt,dr,cr))}Dt(dr)},Le=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),nt!==void 0&&(He.type(vt,nt,pt,dr,cr),He.range(vt,nt,pt,dr,cr))}Dt(dr)},Qe=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(nt==null&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr,"array"),nt!=null&&(He.type(vt,nt,pt,dr,cr),He.range(vt,nt,pt,dr,cr))}Dt(dr)},Qt=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),nt!==void 0&&He.type(vt,nt,pt,dr,cr)}Dt(dr)},Rt="enum",Vt=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),nt!==void 0&&He[Rt](vt,nt,pt,dr,cr)}Dt(dr)},Gt=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt,"string")&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr),_e(nt,"string")||He.pattern(vt,nt,pt,dr,cr)}Dt(dr)},Tt=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt,"date")&&!vt.required)return Dt();if(He.required(vt,nt,pt,dr,cr),!_e(nt,"date")){var Zr;nt instanceof Date?Zr=nt:Zr=new Date(nt),He.type(vt,Zr,pt,dr,cr),Zr&&He.range(vt,Zr.getTime(),pt,dr,cr)}}Dt(dr)},qt=function(vt,nt,Dt,pt,cr){var dr=[],Ar=Array.isArray(nt)?"array":typeof nt;He.required(vt,nt,pt,dr,cr,Ar),Dt(dr)},Ue=function(vt,nt,Dt,pt,cr){var dr=vt.type,Ar=[],Zr=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Zr){if(_e(nt,dr)&&!vt.required)return Dt();He.required(vt,nt,pt,Ar,cr,dr),_e(nt,dr)||He.type(vt,nt,pt,Ar,cr)}Dt(Ar)},fe=function(vt,nt,Dt,pt,cr){var dr=[],Ar=vt.required||!vt.required&&pt.hasOwnProperty(vt.field);if(Ar){if(_e(nt)&&!vt.required)return Dt();He.required(vt,nt,pt,dr,cr)}Dt(dr)},pe={string:ze,method:Ye,number:ht,boolean:xt,regexp:nr,integer:er,float:Le,array:Qe,object:Qt,enum:Vt,pattern:Gt,date:Tt,url:Ue,hex:Ue,email:Ue,required:qt,any:fe};function Ot(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var vt=JSON.parse(JSON.stringify(this));return vt.clone=this.clone,vt}}}var Ce=Ot(),ct=function(){function rr(nt){this.rules=null,this._messages=Ce,this.define(nt)}var vt=rr.prototype;return vt.define=function(Dt){var pt=this;if(!Dt)throw new Error("Cannot configure a schema with no rules");if(typeof Dt!="object"||Array.isArray(Dt))throw new Error("Rules must be an object");this.rules={},Object.keys(Dt).forEach(function(cr){var dr=Dt[cr];pt.rules[cr]=Array.isArray(dr)?dr:[dr]})},vt.messages=function(Dt){return Dt&&(this._messages=Wt(Ot(),Dt)),this._messages},vt.validate=function(Dt,pt,cr){var dr=this;pt===void 0&&(pt={}),cr===void 0&&(cr=function(){});var Ar=Dt,Zr=pt,$e=cr;if(typeof Zr=="function"&&($e=Zr,Zr={}),!this.rules||Object.keys(this.rules).length===0)return $e&&$e(null,Ar),Promise.resolve(Ar);function Je(Dr){var Pr=[],jr={};function pn(ln){if(Array.isArray(ln)){var rn;Pr=(rn=Pr).concat.apply(rn,ln)}else Pr.push(ln)}for(var Cr=0;Cr<Dr.length;Cr++)pn(Dr[Cr]);Pr.length?(jr=Z(Pr),$e(Pr,jr)):$e(null,Ar)}if(Zr.messages){var xe=this.messages();xe===Ce&&(xe=Ot()),Wt(xe,Zr.messages),Zr.messages=xe}else Zr.messages=this.messages();var st={},ir=Zr.keys||Object.keys(this.rules);ir.forEach(function(Dr){var Pr=dr.rules[Dr],jr=Ar[Dr];Pr.forEach(function(pn){var Cr=pn;typeof Cr.transform=="function"&&(Ar===Dt&&(Ar=ae({},Ar)),jr=Ar[Dr]=Cr.transform(jr)),typeof Cr=="function"?Cr={validator:Cr}:Cr=ae({},Cr),Cr.validator=dr.getValidationMethod(Cr),Cr.validator&&(Cr.field=Dr,Cr.fullField=Cr.fullField||Dr,Cr.type=dr.getType(Cr),st[Dr]=st[Dr]||[],st[Dr].push({rule:Cr,value:jr,source:Ar,field:Dr}))})});var Rr={};return Lt(st,Zr,function(Dr,Pr){var jr=Dr.rule,pn=(jr.type==="object"||jr.type==="array")&&(typeof jr.fields=="object"||typeof jr.defaultField=="object");pn=pn&&(jr.required||!jr.required&&Dr.value),jr.field=Dr.field;function Cr(sn,wn){return ae({},wn,{fullField:jr.fullField+"."+sn,fullFields:jr.fullFields?[].concat(jr.fullFields,[sn]):[sn]})}function ln(sn){sn===void 0&&(sn=[]);var wn=Array.isArray(sn)?sn:[sn];!Zr.suppressWarning&&wn.length&&rr.warning("async-validator:",wn),wn.length&&jr.message!==void 0&&(wn=[].concat(jr.message));var pa=wn.map(jt(jr,Ar));if(Zr.first&&pa.length)return Rr[jr.field]=1,Pr(pa);if(!pn)Pr(pa);else{if(jr.required&&!Dr.value)return jr.message!==void 0?pa=[].concat(jr.message).map(jt(jr,Ar)):Zr.error&&(pa=[Zr.error(jr,$(Zr.messages.required,jr.field))]),Pr(pa);var Ei={};jr.defaultField&&Object.keys(Dr.value).map(function(ni){Ei[ni]=jr.defaultField}),Ei=ae({},Ei,Dr.rule.fields);var hi={};Object.keys(Ei).forEach(function(ni){var Mi=Ei[ni],ca=Array.isArray(Mi)?Mi:[Mi];hi[ni]=ca.map(Cr.bind(null,ni))});var mn=new rr(hi);mn.messages(Zr.messages),Dr.rule.options&&(Dr.rule.options.messages=Zr.messages,Dr.rule.options.error=Zr.error),mn.validate(Dr.value,Dr.rule.options||Zr,function(ni){var Mi=[];pa&&pa.length&&Mi.push.apply(Mi,pa),ni&&ni.length&&Mi.push.apply(Mi,ni),Pr(Mi.length?Mi:null)})}}var rn;if(jr.asyncValidator)rn=jr.asyncValidator(jr,Dr.value,ln,Dr.source,Zr);else if(jr.validator){try{rn=jr.validator(jr,Dr.value,ln,Dr.source,Zr)}catch(sn){console.error==null||console.error(sn),Zr.suppressValidatorError||setTimeout(function(){throw sn},0),ln(sn.message)}rn===!0?ln():rn===!1?ln(typeof jr.message=="function"?jr.message(jr.fullField||jr.field):jr.message||(jr.fullField||jr.field)+" fails"):rn instanceof Array?ln(rn):rn instanceof Error&&ln(rn.message)}rn&&rn.then&&rn.then(function(){return ln()},function(sn){return ln(sn)})},function(Dr){Je(Dr)},Ar)},vt.getType=function(Dt){if(Dt.type===void 0&&Dt.pattern instanceof RegExp&&(Dt.type="pattern"),typeof Dt.validator!="function"&&Dt.type&&!pe.hasOwnProperty(Dt.type))throw new Error($("Unknown rule type %s",Dt.type));return Dt.type||"string"},vt.getValidationMethod=function(Dt){if(typeof Dt.validator=="function")return Dt.validator;var pt=Object.keys(Dt),cr=pt.indexOf("message");return cr!==-1&&pt.splice(cr,1),pt.length===1&&pt[0]==="required"?pe.required:pe[this.getType(Dt)]||void 0},rr}();ct.register=function(vt,nt){if(typeof nt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[vt]=nt},ct.warning=le,ct.messages=Ce,ct.validators=pe;var Kt="'${name}' is not a valid ${type}",At={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Kt,method:Kt,array:Kt,object:Kt,number:Kt,date:Kt,boolean:Kt,integer:Kt,float:Kt,regexp:Kt,email:Kt,url:Kt,hex:Kt},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}"}},Te=e(24434),Et=ct;function ye(rr,vt){return rr.replace(/\$\{\w+\}/g,function(nt){var Dt=nt.slice(2,-1);return vt[Dt]})}var et="CODE_LOGIC_ERROR";function yt(rr,vt,nt,Dt,pt){return Nt.apply(this,arguments)}function Nt(){return Nt=(0,f.Z)((0,c.Z)().mark(function rr(vt,nt,Dt,pt,cr){var dr,Ar,Zr,$e,Je,xe,st,ir,Rr;return(0,c.Z)().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:return dr=(0,o.Z)({},Dt),delete dr.ruleIndex,Et.warning=function(){},dr.validator&&(Ar=dr.validator,dr.validator=function(){try{return Ar.apply(void 0,arguments)}catch(jr){return console.error(jr),Promise.reject(et)}}),Zr=null,dr&&dr.type==="array"&&dr.defaultField&&(Zr=dr.defaultField,delete dr.defaultField),$e=new Et((0,_.Z)({},vt,[dr])),Je=(0,Te.T)(At,pt.validateMessages),$e.messages(Je),xe=[],Pr.prev=10,Pr.next=13,Promise.resolve($e.validate((0,_.Z)({},vt,nt),(0,o.Z)({},pt)));case 13:Pr.next=18;break;case 15:Pr.prev=15,Pr.t0=Pr.catch(10),Pr.t0.errors&&(xe=Pr.t0.errors.map(function(jr,pn){var Cr=jr.message,ln=Cr===et?Je.default:Cr;return r.isValidElement(ln)?r.cloneElement(ln,{key:"error_".concat(pn)}):ln}));case 18:if(!(!xe.length&&Zr)){Pr.next=23;break}return Pr.next=21,Promise.all(nt.map(function(jr,pn){return yt("".concat(vt,".").concat(pn),jr,Zr,pt,cr)}));case 21:return st=Pr.sent,Pr.abrupt("return",st.reduce(function(jr,pn){return[].concat((0,h.Z)(jr),(0,h.Z)(pn))},[]));case 23:return ir=(0,o.Z)((0,o.Z)({},Dt),{},{name:vt,enum:(Dt.enum||[]).join(", ")},cr),Rr=xe.map(function(jr){return typeof jr=="string"?ye(jr,ir):jr}),Pr.abrupt("return",Rr);case 26:case"end":return Pr.stop()}},rr,null,[[10,15]])})),Nt.apply(this,arguments)}function Fe(rr,vt,nt,Dt,pt,cr){var dr=rr.join("."),Ar=nt.map(function(Je,xe){var st=Je.validator,ir=(0,o.Z)((0,o.Z)({},Je),{},{ruleIndex:xe});return st&&(ir.validator=function(Rr,Dr,Pr){var jr=!1,pn=function(){for(var rn=arguments.length,sn=new Array(rn),wn=0;wn<rn;wn++)sn[wn]=arguments[wn];Promise.resolve().then(function(){(0,k.ZP)(!jr,"Your validator function has already return a promise. `callback` will be ignored."),jr||Pr.apply(void 0,sn)})},Cr=st(Rr,Dr,pn);jr=Cr&&typeof Cr.then=="function"&&typeof Cr.catch=="function",(0,k.ZP)(jr,"`callback` is deprecated. Please return a promise instead."),jr&&Cr.then(function(){Pr()}).catch(function(ln){Pr(ln||" ")})}),ir}).sort(function(Je,xe){var st=Je.warningOnly,ir=Je.ruleIndex,Rr=xe.warningOnly,Dr=xe.ruleIndex;return!!st==!!Rr?ir-Dr:st?1:-1}),Zr;if(pt===!0)Zr=new Promise(function(){var Je=(0,f.Z)((0,c.Z)().mark(function xe(st,ir){var Rr,Dr,Pr;return(0,c.Z)().wrap(function(pn){for(;;)switch(pn.prev=pn.next){case 0:Rr=0;case 1:if(!(Rr<Ar.length)){pn.next=12;break}return Dr=Ar[Rr],pn.next=5,yt(dr,vt,Dr,Dt,cr);case 5:if(Pr=pn.sent,!Pr.length){pn.next=9;break}return ir([{errors:Pr,rule:Dr}]),pn.abrupt("return");case 9:Rr+=1,pn.next=1;break;case 12:st([]);case 13:case"end":return pn.stop()}},xe)}));return function(xe,st){return Je.apply(this,arguments)}}());else{var $e=Ar.map(function(Je){return yt(dr,vt,Je,Dt,cr).then(function(xe){return{errors:xe,rule:Je}})});Zr=(pt?Gr($e):Ir($e)).then(function(Je){return Promise.reject(Je)})}return Zr.catch(function(Je){return Je}),Zr}function Ir(rr){return Ct.apply(this,arguments)}function Ct(){return Ct=(0,f.Z)((0,c.Z)().mark(function rr(vt){return(0,c.Z)().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:return Dt.abrupt("return",Promise.all(vt).then(function(pt){var cr,dr=(cr=[]).concat.apply(cr,(0,h.Z)(pt));return dr}));case 1:case"end":return Dt.stop()}},rr)})),Ct.apply(this,arguments)}function Gr(rr){return Qr.apply(this,arguments)}function Qr(){return Qr=(0,f.Z)((0,c.Z)().mark(function rr(vt){var nt;return(0,c.Z)().wrap(function(pt){for(;;)switch(pt.prev=pt.next){case 0:return nt=0,pt.abrupt("return",new Promise(function(cr){vt.forEach(function(dr){dr.then(function(Ar){Ar.errors.length&&cr([Ar]),nt+=1,nt===vt.length&&cr([])})})}));case 2:case"end":return pt.stop()}},rr)})),Qr.apply(this,arguments)}var Mr=e(93664),Fr=e(97938);function mr(rr){return Y(rr)}function $r(rr,vt){var nt={};return vt.forEach(function(Dt){var pt=(0,Fr.Z)(rr,Dt);nt=(0,Te.Z)(nt,Dt,pt)}),nt}function nn(rr,vt){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return rr&&rr.some(function(Dt){return cn(vt,Dt,nt)})}function cn(rr,vt){var nt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!rr||!vt||!nt&&rr.length!==vt.length?!1:vt.every(function(Dt,pt){return rr[pt]===Dt})}function Xt(rr,vt){if(rr===vt)return!0;if(!rr&&vt||rr&&!vt||!rr||!vt||(0,Mr.Z)(rr)!=="object"||(0,Mr.Z)(vt)!=="object")return!1;var nt=Object.keys(rr),Dt=Object.keys(vt),pt=new Set([].concat(nt,Dt));return(0,h.Z)(pt).every(function(cr){var dr=rr[cr],Ar=vt[cr];return typeof dr=="function"&&typeof Ar=="function"?!0:dr===Ar})}function mt(rr){var vt=arguments.length<=1?void 0:arguments[1];return vt&&vt.target&&(0,Mr.Z)(vt.target)==="object"&&rr in vt.target?vt.target[rr]:vt}function ut(rr,vt,nt){var Dt=rr.length;if(vt<0||vt>=Dt||nt<0||nt>=Dt)return rr;var pt=rr[vt],cr=vt-nt;return cr>0?[].concat((0,h.Z)(rr.slice(0,nt)),[pt],(0,h.Z)(rr.slice(nt,vt)),(0,h.Z)(rr.slice(vt+1,Dt))):cr<0?[].concat((0,h.Z)(rr.slice(0,vt)),(0,h.Z)(rr.slice(vt+1,nt+1)),[pt],(0,h.Z)(rr.slice(nt+1,Dt))):rr}var ft=["name"],$t=[];function yr(rr,vt,nt,Dt,pt,cr){return typeof rr=="function"?rr(vt,nt,"source"in cr?{source:cr.source}:{}):Dt!==pt}var gr=function(rr){(0,p.Z)(nt,rr);var vt=(0,y.Z)(nt);function nt(Dt){var pt;if((0,u.Z)(this,nt),pt=vt.call(this,Dt),(0,_.Z)((0,x.Z)(pt),"state",{resetCount:0}),(0,_.Z)((0,x.Z)(pt),"cancelRegisterFunc",null),(0,_.Z)((0,x.Z)(pt),"mounted",!1),(0,_.Z)((0,x.Z)(pt),"touched",!1),(0,_.Z)((0,x.Z)(pt),"dirty",!1),(0,_.Z)((0,x.Z)(pt),"validatePromise",void 0),(0,_.Z)((0,x.Z)(pt),"prevValidating",void 0),(0,_.Z)((0,x.Z)(pt),"errors",$t),(0,_.Z)((0,x.Z)(pt),"warnings",$t),(0,_.Z)((0,x.Z)(pt),"cancelRegister",function(){var Zr=pt.props,$e=Zr.preserve,Je=Zr.isListField,xe=Zr.name;pt.cancelRegisterFunc&&pt.cancelRegisterFunc(Je,$e,mr(xe)),pt.cancelRegisterFunc=null}),(0,_.Z)((0,x.Z)(pt),"getNamePath",function(){var Zr=pt.props,$e=Zr.name,Je=Zr.fieldContext,xe=Je.prefixName,st=xe===void 0?[]:xe;return $e!==void 0?[].concat((0,h.Z)(st),(0,h.Z)($e)):[]}),(0,_.Z)((0,x.Z)(pt),"getRules",function(){var Zr=pt.props,$e=Zr.rules,Je=$e===void 0?[]:$e,xe=Zr.fieldContext;return Je.map(function(st){return typeof st=="function"?st(xe):st})}),(0,_.Z)((0,x.Z)(pt),"refresh",function(){pt.mounted&&pt.setState(function(Zr){var $e=Zr.resetCount;return{resetCount:$e+1}})}),(0,_.Z)((0,x.Z)(pt),"metaCache",null),(0,_.Z)((0,x.Z)(pt),"triggerMetaEvent",function(Zr){var $e=pt.props.onMetaChange;if($e){var Je=(0,o.Z)((0,o.Z)({},pt.getMeta()),{},{destroy:Zr});(0,S.Z)(pt.metaCache,Je)||$e(Je),pt.metaCache=Je}else pt.metaCache=null}),(0,_.Z)((0,x.Z)(pt),"onStoreChange",function(Zr,$e,Je){var xe=pt.props,st=xe.shouldUpdate,ir=xe.dependencies,Rr=ir===void 0?[]:ir,Dr=xe.onReset,Pr=Je.store,jr=pt.getNamePath(),pn=pt.getValue(Zr),Cr=pt.getValue(Pr),ln=$e&&nn($e,jr);switch(Je.type==="valueUpdate"&&Je.source==="external"&&pn!==Cr&&(pt.touched=!0,pt.dirty=!0,pt.validatePromise=null,pt.errors=$t,pt.warnings=$t,pt.triggerMetaEvent()),Je.type){case"reset":if(!$e||ln){pt.touched=!1,pt.dirty=!1,pt.validatePromise=void 0,pt.errors=$t,pt.warnings=$t,pt.triggerMetaEvent(),Dr==null||Dr(),pt.refresh();return}break;case"remove":{if(st){pt.reRender();return}break}case"setField":{var rn=Je.data;if(ln){"touched"in rn&&(pt.touched=rn.touched),"validating"in rn&&!("originRCField"in rn)&&(pt.validatePromise=rn.validating?Promise.resolve([]):null),"errors"in rn&&(pt.errors=rn.errors||$t),"warnings"in rn&&(pt.warnings=rn.warnings||$t),pt.dirty=!0,pt.triggerMetaEvent(),pt.reRender();return}else if("value"in rn&&nn($e,jr,!0)){pt.reRender();return}if(st&&!jr.length&&yr(st,Zr,Pr,pn,Cr,Je)){pt.reRender();return}break}case"dependenciesUpdate":{var sn=Rr.map(mr);if(sn.some(function(wn){return nn(Je.relatedFields,wn)})){pt.reRender();return}break}default:if(ln||(!Rr.length||jr.length||st)&&yr(st,Zr,Pr,pn,Cr,Je)){pt.reRender();return}break}st===!0&&pt.reRender()}),(0,_.Z)((0,x.Z)(pt),"validateRules",function(Zr){var $e=pt.getNamePath(),Je=pt.getValue(),xe=Zr||{},st=xe.triggerName,ir=xe.validateOnly,Rr=ir===void 0?!1:ir,Dr=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Pr(){var jr,pn,Cr,ln,rn,sn,wn;return(0,c.Z)().wrap(function(Ei){for(;;)switch(Ei.prev=Ei.next){case 0:if(pt.mounted){Ei.next=2;break}return Ei.abrupt("return",[]);case 2:if(jr=pt.props,pn=jr.validateFirst,Cr=pn===void 0?!1:pn,ln=jr.messageVariables,rn=jr.validateDebounce,sn=pt.getRules(),st&&(sn=sn.filter(function(hi){return hi}).filter(function(hi){var mn=hi.validateTrigger;if(!mn)return!0;var ni=Y(mn);return ni.includes(st)})),!(rn&&st)){Ei.next=10;break}return Ei.next=8,new Promise(function(hi){setTimeout(hi,rn)});case 8:if(pt.validatePromise===Dr){Ei.next=10;break}return Ei.abrupt("return",[]);case 10:return wn=Fe($e,Je,sn,Zr,Cr,ln),wn.catch(function(hi){return hi}).then(function(){var hi=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$t;if(pt.validatePromise===Dr){var mn;pt.validatePromise=null;var ni=[],Mi=[];(mn=hi.forEach)===null||mn===void 0||mn.call(hi,function(ca){var Ha=ca.rule.warningOnly,Ta=ca.errors,fs=Ta===void 0?$t:Ta;Ha?Mi.push.apply(Mi,(0,h.Z)(fs)):ni.push.apply(ni,(0,h.Z)(fs))}),pt.errors=ni,pt.warnings=Mi,pt.triggerMetaEvent(),pt.reRender()}}),Ei.abrupt("return",wn);case 13:case"end":return Ei.stop()}},Pr)})));return Rr||(pt.validatePromise=Dr,pt.dirty=!0,pt.errors=$t,pt.warnings=$t,pt.triggerMetaEvent(),pt.reRender()),Dr}),(0,_.Z)((0,x.Z)(pt),"isFieldValidating",function(){return!!pt.validatePromise}),(0,_.Z)((0,x.Z)(pt),"isFieldTouched",function(){return pt.touched}),(0,_.Z)((0,x.Z)(pt),"isFieldDirty",function(){if(pt.dirty||pt.props.initialValue!==void 0)return!0;var Zr=pt.props.fieldContext,$e=Zr.getInternalHooks(R),Je=$e.getInitialValue;return Je(pt.getNamePath())!==void 0}),(0,_.Z)((0,x.Z)(pt),"getErrors",function(){return pt.errors}),(0,_.Z)((0,x.Z)(pt),"getWarnings",function(){return pt.warnings}),(0,_.Z)((0,x.Z)(pt),"isListField",function(){return pt.props.isListField}),(0,_.Z)((0,x.Z)(pt),"isList",function(){return pt.props.isList}),(0,_.Z)((0,x.Z)(pt),"isPreserve",function(){return pt.props.preserve}),(0,_.Z)((0,x.Z)(pt),"getMeta",function(){pt.prevValidating=pt.isFieldValidating();var Zr={touched:pt.isFieldTouched(),validating:pt.prevValidating,errors:pt.errors,warnings:pt.warnings,name:pt.getNamePath(),validated:pt.validatePromise===null};return Zr}),(0,_.Z)((0,x.Z)(pt),"getOnlyChild",function(Zr){if(typeof Zr=="function"){var $e=pt.getMeta();return(0,o.Z)((0,o.Z)({},pt.getOnlyChild(Zr(pt.getControlled(),$e,pt.props.fieldContext))),{},{isFunction:!0})}var Je=(0,b.Z)(Zr);return Je.length!==1||!r.isValidElement(Je[0])?{child:Je,isFunction:!1}:{child:Je[0],isFunction:!1}}),(0,_.Z)((0,x.Z)(pt),"getValue",function(Zr){var $e=pt.props.fieldContext.getFieldsValue,Je=pt.getNamePath();return(0,Fr.Z)(Zr||$e(!0),Je)}),(0,_.Z)((0,x.Z)(pt),"getControlled",function(){var Zr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$e=pt.props,Je=$e.trigger,xe=$e.validateTrigger,st=$e.getValueFromEvent,ir=$e.normalize,Rr=$e.valuePropName,Dr=$e.getValueProps,Pr=$e.fieldContext,jr=xe!==void 0?xe:Pr.validateTrigger,pn=pt.getNamePath(),Cr=Pr.getInternalHooks,ln=Pr.getFieldsValue,rn=Cr(R),sn=rn.dispatch,wn=pt.getValue(),pa=Dr||function(ni){return(0,_.Z)({},Rr,ni)},Ei=Zr[Je],hi=(0,o.Z)((0,o.Z)({},Zr),pa(wn));hi[Je]=function(){pt.touched=!0,pt.dirty=!0,pt.triggerMetaEvent();for(var ni,Mi=arguments.length,ca=new Array(Mi),Ha=0;Ha<Mi;Ha++)ca[Ha]=arguments[Ha];st?ni=st.apply(void 0,ca):ni=mt.apply(void 0,[Rr].concat(ca)),ir&&(ni=ir(ni,wn,ln(!0))),sn({type:"updateValue",namePath:pn,value:ni}),Ei&&Ei.apply(void 0,ca)};var mn=Y(jr||[]);return mn.forEach(function(ni){var Mi=hi[ni];hi[ni]=function(){Mi&&Mi.apply(void 0,arguments);var ca=pt.props.rules;ca&&ca.length&&sn({type:"validateField",namePath:pn,triggerName:ni})}}),hi}),Dt.fieldContext){var cr=Dt.fieldContext.getInternalHooks,dr=cr(R),Ar=dr.initEntityValue;Ar((0,x.Z)(pt))}return pt}return(0,a.Z)(nt,[{key:"componentDidMount",value:function(){var pt=this.props,cr=pt.shouldUpdate,dr=pt.fieldContext;if(this.mounted=!0,dr){var Ar=dr.getInternalHooks,Zr=Ar(R),$e=Zr.registerField;this.cancelRegisterFunc=$e(this)}cr===!0&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.triggerMetaEvent(!0),this.mounted=!1}},{key:"reRender",value:function(){this.mounted&&this.forceUpdate()}},{key:"render",value:function(){var pt=this.state.resetCount,cr=this.props.children,dr=this.getOnlyChild(cr),Ar=dr.child,Zr=dr.isFunction,$e;return Zr?$e=Ar:r.isValidElement(Ar)?$e=r.cloneElement(Ar,this.getControlled(Ar.props)):((0,k.ZP)(!Ar,"`children` of Field is not validate ReactElement."),$e=Ar),r.createElement(r.Fragment,{key:pt},$e)}}]),nt}(r.Component);(0,_.Z)(gr,"contextType",M),(0,_.Z)(gr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function it(rr){var vt=rr.name,nt=(0,l.Z)(rr,ft),Dt=r.useContext(M),pt=r.useContext(j),cr=vt!==void 0?mr(vt):void 0,dr="keep";return nt.isListField||(dr="_".concat((cr||[]).join("_"))),r.createElement(gr,(0,i.Z)({key:dr,name:cr,isListField:!!pt},nt,{fieldContext:Dt}))}var Tr=it;function fn(rr){var vt=rr.name,nt=rr.initialValue,Dt=rr.children,pt=rr.rules,cr=rr.validateTrigger,dr=rr.isListField,Ar=r.useContext(M),Zr=r.useContext(j),$e=r.useRef({keys:[],id:0}),Je=$e.current,xe=r.useMemo(function(){var Dr=mr(Ar.prefixName)||[];return[].concat((0,h.Z)(Dr),(0,h.Z)(mr(vt)))},[Ar.prefixName,vt]),st=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Ar),{},{prefixName:xe})},[Ar,xe]),ir=r.useMemo(function(){return{getKey:function(Pr){var jr=xe.length,pn=Pr[jr];return[Je.keys[pn],Pr.slice(jr+1)]}}},[xe]);if(typeof Dt!="function")return(0,k.ZP)(!1,"Form.List only accepts function as children."),null;var Rr=function(Pr,jr,pn){var Cr=pn.source;return Cr==="internal"?!1:Pr!==jr};return r.createElement(j.Provider,{value:ir},r.createElement(M.Provider,{value:st},r.createElement(Tr,{name:[],shouldUpdate:Rr,rules:pt,validateTrigger:cr,initialValue:nt,isList:!0,isListField:dr!=null?dr:!!Zr},function(Dr,Pr){var jr=Dr.value,pn=jr===void 0?[]:jr,Cr=Dr.onChange,ln=Ar.getFieldValue,rn=function(){var Ei=ln(xe||[]);return Ei||[]},sn={add:function(Ei,hi){var mn=rn();hi>=0&&hi<=mn.length?(Je.keys=[].concat((0,h.Z)(Je.keys.slice(0,hi)),[Je.id],(0,h.Z)(Je.keys.slice(hi))),Cr([].concat((0,h.Z)(mn.slice(0,hi)),[Ei],(0,h.Z)(mn.slice(hi))))):(Je.keys=[].concat((0,h.Z)(Je.keys),[Je.id]),Cr([].concat((0,h.Z)(mn),[Ei]))),Je.id+=1},remove:function(Ei){var hi=rn(),mn=new Set(Array.isArray(Ei)?Ei:[Ei]);mn.size<=0||(Je.keys=Je.keys.filter(function(ni,Mi){return!mn.has(Mi)}),Cr(hi.filter(function(ni,Mi){return!mn.has(Mi)})))},move:function(Ei,hi){if(Ei!==hi){var mn=rn();Ei<0||Ei>=mn.length||hi<0||hi>=mn.length||(Je.keys=ut(Je.keys,Ei,hi),Cr(ut(mn,Ei,hi)))}}},wn=pn||[];return Array.isArray(wn)||(wn=[]),Dt(wn.map(function(pa,Ei){var hi=Je.keys[Ei];return hi===void 0&&(Je.keys[Ei]=Je.id,hi=Je.keys[Ei],Je.id+=1),{name:Ei,key:hi,isListField:!0}}),sn,Pr)})))}var Ln=fn,Vr=e(50298);function Zn(rr){var vt=!1,nt=rr.length,Dt=[];return rr.length?new Promise(function(pt,cr){rr.forEach(function(dr,Ar){dr.catch(function(Zr){return vt=!0,Zr}).then(function(Zr){nt-=1,Dt[Ar]=Zr,!(nt>0)&&(vt&&cr(Dt),pt(Dt))})})}):Promise.resolve([])}var Hn="__@field_split__";function Pn(rr){return rr.map(function(vt){return"".concat((0,Mr.Z)(vt),":").concat(vt)}).join(Hn)}var yn=function(){function rr(){(0,u.Z)(this,rr),(0,_.Z)(this,"kvs",new Map)}return(0,a.Z)(rr,[{key:"set",value:function(nt,Dt){this.kvs.set(Pn(nt),Dt)}},{key:"get",value:function(nt){return this.kvs.get(Pn(nt))}},{key:"update",value:function(nt,Dt){var pt=this.get(nt),cr=Dt(pt);cr?this.set(nt,cr):this.delete(nt)}},{key:"delete",value:function(nt){this.kvs.delete(Pn(nt))}},{key:"map",value:function(nt){return(0,h.Z)(this.kvs.entries()).map(function(Dt){var pt=(0,Vr.Z)(Dt,2),cr=pt[0],dr=pt[1],Ar=cr.split(Hn);return nt({key:Ar.map(function(Zr){var $e=Zr.match(/^([^:]*):(.*)$/),Je=(0,Vr.Z)($e,3),xe=Je[1],st=Je[2];return xe==="number"?Number(st):st}),value:dr})})}},{key:"toJSON",value:function(){var nt={};return this.map(function(Dt){var pt=Dt.key,cr=Dt.value;return nt[pt.join(".")]=cr,null}),nt}}]),rr}(),Vn=yn,oi=["name"],mi=(0,a.Z)(function rr(vt){var nt=this;(0,u.Z)(this,rr),(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:nt.getFieldValue,getFieldsValue:nt.getFieldsValue,getFieldError:nt.getFieldError,getFieldWarning:nt.getFieldWarning,getFieldsError:nt.getFieldsError,isFieldsTouched:nt.isFieldsTouched,isFieldTouched:nt.isFieldTouched,isFieldValidating:nt.isFieldValidating,isFieldsValidating:nt.isFieldsValidating,resetFields:nt.resetFields,setFields:nt.setFields,setFieldValue:nt.setFieldValue,setFieldsValue:nt.setFieldsValue,validateFields:nt.validateFields,submit:nt.submit,_init:!0,getInternalHooks:nt.getInternalHooks}}),(0,_.Z)(this,"getInternalHooks",function(Dt){return Dt===R?(nt.formHooked=!0,{dispatch:nt.dispatch,initEntityValue:nt.initEntityValue,registerField:nt.registerField,useSubscribe:nt.useSubscribe,setInitialValues:nt.setInitialValues,destroyForm:nt.destroyForm,setCallbacks:nt.setCallbacks,setValidateMessages:nt.setValidateMessages,getFields:nt.getFields,setPreserve:nt.setPreserve,getInitialValue:nt.getInitialValue,registerWatch:nt.registerWatch}):((0,k.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,_.Z)(this,"useSubscribe",function(Dt){nt.subscribable=Dt}),(0,_.Z)(this,"prevWithoutPreserves",null),(0,_.Z)(this,"setInitialValues",function(Dt,pt){if(nt.initialValues=Dt||{},pt){var cr,dr=(0,Te.T)(Dt,nt.store);(cr=nt.prevWithoutPreserves)===null||cr===void 0||cr.map(function(Ar){var Zr=Ar.key;dr=(0,Te.Z)(dr,Zr,(0,Fr.Z)(Dt,Zr))}),nt.prevWithoutPreserves=null,nt.updateStore(dr)}}),(0,_.Z)(this,"destroyForm",function(){var Dt=new Vn;nt.getFieldEntities(!0).forEach(function(pt){nt.isMergedPreserve(pt.isPreserve())||Dt.set(pt.getNamePath(),!0)}),nt.prevWithoutPreserves=Dt}),(0,_.Z)(this,"getInitialValue",function(Dt){var pt=(0,Fr.Z)(nt.initialValues,Dt);return Dt.length?(0,Te.T)(pt):pt}),(0,_.Z)(this,"setCallbacks",function(Dt){nt.callbacks=Dt}),(0,_.Z)(this,"setValidateMessages",function(Dt){nt.validateMessages=Dt}),(0,_.Z)(this,"setPreserve",function(Dt){nt.preserve=Dt}),(0,_.Z)(this,"watchList",[]),(0,_.Z)(this,"registerWatch",function(Dt){return nt.watchList.push(Dt),function(){nt.watchList=nt.watchList.filter(function(pt){return pt!==Dt})}}),(0,_.Z)(this,"notifyWatch",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(nt.watchList.length){var pt=nt.getFieldsValue(),cr=nt.getFieldsValue(!0);nt.watchList.forEach(function(dr){dr(pt,cr,Dt)})}}),(0,_.Z)(this,"timeoutId",null),(0,_.Z)(this,"warningUnhooked",function(){}),(0,_.Z)(this,"updateStore",function(Dt){nt.store=Dt}),(0,_.Z)(this,"getFieldEntities",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Dt?nt.fieldEntities.filter(function(pt){return pt.getNamePath().length}):nt.fieldEntities}),(0,_.Z)(this,"getFieldsMap",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,pt=new Vn;return nt.getFieldEntities(Dt).forEach(function(cr){var dr=cr.getNamePath();pt.set(dr,cr)}),pt}),(0,_.Z)(this,"getFieldEntitiesForNamePathList",function(Dt){if(!Dt)return nt.getFieldEntities(!0);var pt=nt.getFieldsMap(!0);return Dt.map(function(cr){var dr=mr(cr);return pt.get(dr)||{INVALIDATE_NAME_PATH:mr(cr)}})}),(0,_.Z)(this,"getFieldsValue",function(Dt,pt){nt.warningUnhooked();var cr,dr,Ar;if(Dt===!0||Array.isArray(Dt)?(cr=Dt,dr=pt):Dt&&(0,Mr.Z)(Dt)==="object"&&(Ar=Dt.strict,dr=Dt.filter),cr===!0&&!dr)return nt.store;var Zr=nt.getFieldEntitiesForNamePathList(Array.isArray(cr)?cr:null),$e=[];return Zr.forEach(function(Je){var xe,st,ir="INVALIDATE_NAME_PATH"in Je?Je.INVALIDATE_NAME_PATH:Je.getNamePath();if(Ar){var Rr,Dr;if((Rr=(Dr=Je).isList)!==null&&Rr!==void 0&&Rr.call(Dr))return}else if(!cr&&(xe=(st=Je).isListField)!==null&&xe!==void 0&&xe.call(st))return;if(!dr)$e.push(ir);else{var Pr="getMeta"in Je?Je.getMeta():null;dr(Pr)&&$e.push(ir)}}),$r(nt.store,$e.map(mr))}),(0,_.Z)(this,"getFieldValue",function(Dt){nt.warningUnhooked();var pt=mr(Dt);return(0,Fr.Z)(nt.store,pt)}),(0,_.Z)(this,"getFieldsError",function(Dt){nt.warningUnhooked();var pt=nt.getFieldEntitiesForNamePathList(Dt);return pt.map(function(cr,dr){return cr&&!("INVALIDATE_NAME_PATH"in cr)?{name:cr.getNamePath(),errors:cr.getErrors(),warnings:cr.getWarnings()}:{name:mr(Dt[dr]),errors:[],warnings:[]}})}),(0,_.Z)(this,"getFieldError",function(Dt){nt.warningUnhooked();var pt=mr(Dt),cr=nt.getFieldsError([pt])[0];return cr.errors}),(0,_.Z)(this,"getFieldWarning",function(Dt){nt.warningUnhooked();var pt=mr(Dt),cr=nt.getFieldsError([pt])[0];return cr.warnings}),(0,_.Z)(this,"isFieldsTouched",function(){nt.warningUnhooked();for(var Dt=arguments.length,pt=new Array(Dt),cr=0;cr<Dt;cr++)pt[cr]=arguments[cr];var dr=pt[0],Ar=pt[1],Zr,$e=!1;pt.length===0?Zr=null:pt.length===1?Array.isArray(dr)?(Zr=dr.map(mr),$e=!1):(Zr=null,$e=dr):(Zr=dr.map(mr),$e=Ar);var Je=nt.getFieldEntities(!0),xe=function(Pr){return Pr.isFieldTouched()};if(!Zr)return $e?Je.every(xe):Je.some(xe);var st=new Vn;Zr.forEach(function(Dr){st.set(Dr,[])}),Je.forEach(function(Dr){var Pr=Dr.getNamePath();Zr.forEach(function(jr){jr.every(function(pn,Cr){return Pr[Cr]===pn})&&st.update(jr,function(pn){return[].concat((0,h.Z)(pn),[Dr])})})});var ir=function(Pr){return Pr.some(xe)},Rr=st.map(function(Dr){var Pr=Dr.value;return Pr});return $e?Rr.every(ir):Rr.some(ir)}),(0,_.Z)(this,"isFieldTouched",function(Dt){return nt.warningUnhooked(),nt.isFieldsTouched([Dt])}),(0,_.Z)(this,"isFieldsValidating",function(Dt){nt.warningUnhooked();var pt=nt.getFieldEntities();if(!Dt)return pt.some(function(dr){return dr.isFieldValidating()});var cr=Dt.map(mr);return pt.some(function(dr){var Ar=dr.getNamePath();return nn(cr,Ar)&&dr.isFieldValidating()})}),(0,_.Z)(this,"isFieldValidating",function(Dt){return nt.warningUnhooked(),nt.isFieldsValidating([Dt])}),(0,_.Z)(this,"resetWithFieldInitialValue",function(){var Dt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},pt=new Vn,cr=nt.getFieldEntities(!0);cr.forEach(function(Zr){var $e=Zr.props.initialValue,Je=Zr.getNamePath();if($e!==void 0){var xe=pt.get(Je)||new Set;xe.add({entity:Zr,value:$e}),pt.set(Je,xe)}});var dr=function($e){$e.forEach(function(Je){var xe=Je.props.initialValue;if(xe!==void 0){var st=Je.getNamePath(),ir=nt.getInitialValue(st);if(ir!==void 0)(0,k.ZP)(!1,"Form already set 'initialValues' with path '".concat(st.join("."),"'. Field can not overwrite it."));else{var Rr=pt.get(st);if(Rr&&Rr.size>1)(0,k.ZP)(!1,"Multiple Field with path '".concat(st.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Rr){var Dr=nt.getFieldValue(st);(!Dt.skipExist||Dr===void 0)&&nt.updateStore((0,Te.Z)(nt.store,st,(0,h.Z)(Rr)[0].value))}}}})},Ar;Dt.entities?Ar=Dt.entities:Dt.namePathList?(Ar=[],Dt.namePathList.forEach(function(Zr){var $e=pt.get(Zr);if($e){var Je;(Je=Ar).push.apply(Je,(0,h.Z)((0,h.Z)($e).map(function(xe){return xe.entity})))}})):Ar=cr,dr(Ar)}),(0,_.Z)(this,"resetFields",function(Dt){nt.warningUnhooked();var pt=nt.store;if(!Dt){nt.updateStore((0,Te.T)(nt.initialValues)),nt.resetWithFieldInitialValue(),nt.notifyObservers(pt,null,{type:"reset"}),nt.notifyWatch();return}var cr=Dt.map(mr);cr.forEach(function(dr){var Ar=nt.getInitialValue(dr);nt.updateStore((0,Te.Z)(nt.store,dr,Ar))}),nt.resetWithFieldInitialValue({namePathList:cr}),nt.notifyObservers(pt,cr,{type:"reset"}),nt.notifyWatch(cr)}),(0,_.Z)(this,"setFields",function(Dt){nt.warningUnhooked();var pt=nt.store,cr=[];Dt.forEach(function(dr){var Ar=dr.name,Zr=(0,l.Z)(dr,oi),$e=mr(Ar);cr.push($e),"value"in Zr&&nt.updateStore((0,Te.Z)(nt.store,$e,Zr.value)),nt.notifyObservers(pt,[$e],{type:"setField",data:dr})}),nt.notifyWatch(cr)}),(0,_.Z)(this,"getFields",function(){var Dt=nt.getFieldEntities(!0),pt=Dt.map(function(cr){var dr=cr.getNamePath(),Ar=cr.getMeta(),Zr=(0,o.Z)((0,o.Z)({},Ar),{},{name:dr,value:nt.getFieldValue(dr)});return Object.defineProperty(Zr,"originRCField",{value:!0}),Zr});return pt}),(0,_.Z)(this,"initEntityValue",function(Dt){var pt=Dt.props.initialValue;if(pt!==void 0){var cr=Dt.getNamePath(),dr=(0,Fr.Z)(nt.store,cr);dr===void 0&&nt.updateStore((0,Te.Z)(nt.store,cr,pt))}}),(0,_.Z)(this,"isMergedPreserve",function(Dt){var pt=Dt!==void 0?Dt:nt.preserve;return pt!=null?pt:!0}),(0,_.Z)(this,"registerField",function(Dt){nt.fieldEntities.push(Dt);var pt=Dt.getNamePath();if(nt.notifyWatch([pt]),Dt.props.initialValue!==void 0){var cr=nt.store;nt.resetWithFieldInitialValue({entities:[Dt],skipExist:!0}),nt.notifyObservers(cr,[Dt.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(dr,Ar){var Zr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(nt.fieldEntities=nt.fieldEntities.filter(function(xe){return xe!==Dt}),!nt.isMergedPreserve(Ar)&&(!dr||Zr.length>1)){var $e=dr?void 0:nt.getInitialValue(pt);if(pt.length&&nt.getFieldValue(pt)!==$e&&nt.fieldEntities.every(function(xe){return!cn(xe.getNamePath(),pt)})){var Je=nt.store;nt.updateStore((0,Te.Z)(Je,pt,$e,!0)),nt.notifyObservers(Je,[pt],{type:"remove"}),nt.triggerDependenciesUpdate(Je,pt)}}nt.notifyWatch([pt])}}),(0,_.Z)(this,"dispatch",function(Dt){switch(Dt.type){case"updateValue":{var pt=Dt.namePath,cr=Dt.value;nt.updateValue(pt,cr);break}case"validateField":{var dr=Dt.namePath,Ar=Dt.triggerName;nt.validateFields([dr],{triggerName:Ar});break}default:}}),(0,_.Z)(this,"notifyObservers",function(Dt,pt,cr){if(nt.subscribable){var dr=(0,o.Z)((0,o.Z)({},cr),{},{store:nt.getFieldsValue(!0)});nt.getFieldEntities().forEach(function(Ar){var Zr=Ar.onStoreChange;Zr(Dt,pt,dr)})}else nt.forceRootUpdate()}),(0,_.Z)(this,"triggerDependenciesUpdate",function(Dt,pt){var cr=nt.getDependencyChildrenFields(pt);return cr.length&&nt.validateFields(cr),nt.notifyObservers(Dt,cr,{type:"dependenciesUpdate",relatedFields:[pt].concat((0,h.Z)(cr))}),cr}),(0,_.Z)(this,"updateValue",function(Dt,pt){var cr=mr(Dt),dr=nt.store;nt.updateStore((0,Te.Z)(nt.store,cr,pt)),nt.notifyObservers(dr,[cr],{type:"valueUpdate",source:"internal"}),nt.notifyWatch([cr]);var Ar=nt.triggerDependenciesUpdate(dr,cr),Zr=nt.callbacks.onValuesChange;if(Zr){var $e=$r(nt.store,[cr]);Zr($e,nt.getFieldsValue())}nt.triggerOnFieldsChange([cr].concat((0,h.Z)(Ar)))}),(0,_.Z)(this,"setFieldsValue",function(Dt){nt.warningUnhooked();var pt=nt.store;if(Dt){var cr=(0,Te.T)(nt.store,Dt);nt.updateStore(cr)}nt.notifyObservers(pt,null,{type:"valueUpdate",source:"external"}),nt.notifyWatch()}),(0,_.Z)(this,"setFieldValue",function(Dt,pt){nt.setFields([{name:Dt,value:pt}])}),(0,_.Z)(this,"getDependencyChildrenFields",function(Dt){var pt=new Set,cr=[],dr=new Vn;nt.getFieldEntities().forEach(function(Zr){var $e=Zr.props.dependencies;($e||[]).forEach(function(Je){var xe=mr(Je);dr.update(xe,function(){var st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return st.add(Zr),st})})});var Ar=function Zr($e){var Je=dr.get($e)||new Set;Je.forEach(function(xe){if(!pt.has(xe)){pt.add(xe);var st=xe.getNamePath();xe.isFieldDirty()&&st.length&&(cr.push(st),Zr(st))}})};return Ar(Dt),cr}),(0,_.Z)(this,"triggerOnFieldsChange",function(Dt,pt){var cr=nt.callbacks.onFieldsChange;if(cr){var dr=nt.getFields();if(pt){var Ar=new Vn;pt.forEach(function($e){var Je=$e.name,xe=$e.errors;Ar.set(Je,xe)}),dr.forEach(function($e){$e.errors=Ar.get($e.name)||$e.errors})}var Zr=dr.filter(function($e){var Je=$e.name;return nn(Dt,Je)});Zr.length&&cr(Zr,dr)}}),(0,_.Z)(this,"validateFields",function(Dt,pt){var cr;nt.warningUnhooked();var dr,Ar;Array.isArray(Dt)||typeof Dt=="string"||typeof pt=="string"?(dr=Dt,Ar=pt):Ar=Dt;var Zr=!!dr,$e=Zr?dr.map(mr):[],Je=[],xe=String(Date.now()),st=new Set,ir=(cr=Ar)===null||cr===void 0?void 0:cr.recursive;nt.getFieldEntities(!0).forEach(function(jr){if(Zr||$e.push(jr.getNamePath()),!(!jr.props.rules||!jr.props.rules.length)){var pn=jr.getNamePath();if(st.add(pn.join(xe)),!Zr||nn($e,pn,ir)){var Cr=jr.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},At),nt.validateMessages)},Ar));Je.push(Cr.then(function(){return{name:pn,errors:[],warnings:[]}}).catch(function(ln){var rn,sn=[],wn=[];return(rn=ln.forEach)===null||rn===void 0||rn.call(ln,function(pa){var Ei=pa.rule.warningOnly,hi=pa.errors;Ei?wn.push.apply(wn,(0,h.Z)(hi)):sn.push.apply(sn,(0,h.Z)(hi))}),sn.length?Promise.reject({name:pn,errors:sn,warnings:wn}):{name:pn,errors:sn,warnings:wn}}))}}});var Rr=Zn(Je);nt.lastValidatePromise=Rr,Rr.catch(function(jr){return jr}).then(function(jr){var pn=jr.map(function(Cr){var ln=Cr.name;return ln});nt.notifyObservers(nt.store,pn,{type:"validateFinish"}),nt.triggerOnFieldsChange(pn,jr)});var Dr=Rr.then(function(){return nt.lastValidatePromise===Rr?Promise.resolve(nt.getFieldsValue($e)):Promise.reject([])}).catch(function(jr){var pn=jr.filter(function(Cr){return Cr&&Cr.errors.length});return Promise.reject({values:nt.getFieldsValue($e),errorFields:pn,outOfDate:nt.lastValidatePromise!==Rr})});Dr.catch(function(jr){return jr});var Pr=$e.filter(function(jr){return st.has(jr.join(xe))});return nt.triggerOnFieldsChange(Pr),Dr}),(0,_.Z)(this,"submit",function(){nt.warningUnhooked(),nt.validateFields().then(function(Dt){var pt=nt.callbacks.onFinish;if(pt)try{pt(Dt)}catch(cr){console.error(cr)}}).catch(function(Dt){var pt=nt.callbacks.onFinishFailed;pt&&pt(Dt)})}),this.forceRootUpdate=vt});function Di(rr){var vt=r.useRef(),nt=r.useState({}),Dt=(0,Vr.Z)(nt,2),pt=Dt[1];if(!vt.current)if(rr)vt.current=rr;else{var cr=function(){pt({})},dr=new mi(cr);vt.current=dr.getForm()}return[vt.current]}var ji=Di,gi=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Ea=function(vt){var nt=vt.validateMessages,Dt=vt.onFormChange,pt=vt.onFormFinish,cr=vt.children,dr=r.useContext(gi),Ar=r.useRef({});return r.createElement(gi.Provider,{value:(0,o.Z)((0,o.Z)({},dr),{},{validateMessages:(0,o.Z)((0,o.Z)({},dr.validateMessages),nt),triggerFormChange:function($e,Je){Dt&&Dt($e,{changedFields:Je,forms:Ar.current}),dr.triggerFormChange($e,Je)},triggerFormFinish:function($e,Je){pt&&pt($e,{values:Je,forms:Ar.current}),dr.triggerFormFinish($e,Je)},registerForm:function($e,Je){$e&&(Ar.current=(0,o.Z)((0,o.Z)({},Ar.current),{},(0,_.Z)({},$e,Je))),dr.registerForm($e,Je)},unregisterForm:function($e){var Je=(0,o.Z)({},Ar.current);delete Je[$e],Ar.current=Je,dr.unregisterForm($e)}})},cr)},ui=gi,Ji=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],It=function(vt,nt){var Dt=vt.name,pt=vt.initialValues,cr=vt.fields,dr=vt.form,Ar=vt.preserve,Zr=vt.children,$e=vt.component,Je=$e===void 0?"form":$e,xe=vt.validateMessages,st=vt.validateTrigger,ir=st===void 0?"onChange":st,Rr=vt.onValuesChange,Dr=vt.onFieldsChange,Pr=vt.onFinish,jr=vt.onFinishFailed,pn=(0,l.Z)(vt,Ji),Cr=r.useContext(ui),ln=ji(dr),rn=(0,Vr.Z)(ln,1),sn=rn[0],wn=sn.getInternalHooks(R),pa=wn.useSubscribe,Ei=wn.setInitialValues,hi=wn.setCallbacks,mn=wn.setValidateMessages,ni=wn.setPreserve,Mi=wn.destroyForm;r.useImperativeHandle(nt,function(){return sn}),r.useEffect(function(){return Cr.registerForm(Dt,sn),function(){Cr.unregisterForm(Dt)}},[Cr,sn,Dt]),mn((0,o.Z)((0,o.Z)({},Cr.validateMessages),xe)),hi({onValuesChange:Rr,onFieldsChange:function(os){if(Cr.triggerFormChange(Dt,os),Dr){for(var Ga=arguments.length,Is=new Array(Ga>1?Ga-1:0),Vi=1;Vi<Ga;Vi++)Is[Vi-1]=arguments[Vi];Dr.apply(void 0,[os].concat(Is))}},onFinish:function(os){Cr.triggerFormFinish(Dt,os),Pr&&Pr(os)},onFinishFailed:jr}),ni(Ar);var ca=r.useRef(null);Ei(pt,!ca.current),ca.current||(ca.current=!0),r.useEffect(function(){return Mi},[]);var Ha,Ta=typeof Zr=="function";if(Ta){var fs=sn.getFieldsValue(!0);Ha=Zr(fs,sn)}else Ha=Zr;pa(!Ta);var Es=r.useRef();r.useEffect(function(){Xt(Es.current||[],cr||[])||sn.setFields(cr||[]),Es.current=cr},[cr,sn]);var Wa=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},sn),{},{validateTrigger:ir})},[sn,ir]),pi=r.createElement(j.Provider,{value:null},r.createElement(M.Provider,{value:Wa},Ha));return Je===!1?pi:r.createElement(Je,(0,i.Z)({},pn,{onSubmit:function(os){os.preventDefault(),os.stopPropagation(),sn.submit()},onReset:function(os){var Ga;os.preventDefault(),sn.resetFields(),(Ga=pn.onReset)===null||Ga===void 0||Ga.call(pn,os)}}),pi)},gt=It;function Oi(rr){try{return JSON.stringify(rr)}catch(vt){return Math.random()}}var Xi=function(){};function vi(){for(var rr=arguments.length,vt=new Array(rr),nt=0;nt<rr;nt++)vt[nt]=arguments[nt];var Dt=vt[0],pt=Dt===void 0?[]:Dt,cr=vt[1],dr=cr===void 0?{}:cr,Ar=V(dr)?{form:dr}:dr,Zr=Ar.form,$e=(0,r.useState)(),Je=(0,Vr.Z)($e,2),xe=Je[0],st=Je[1],ir=(0,r.useMemo)(function(){return Oi(xe)},[xe]),Rr=(0,r.useRef)(ir);Rr.current=ir;var Dr=(0,r.useContext)(M),Pr=Zr||Dr,jr=Pr&&Pr._init,pn=mr(pt),Cr=(0,r.useRef)(pn);return Cr.current=pn,Xi(pn),(0,r.useEffect)(function(){if(jr){var ln=Pr.getFieldsValue,rn=Pr.getInternalHooks,sn=rn(R),wn=sn.registerWatch,pa=wn(function(hi,mn){var ni=(0,Fr.Z)(Ar.preserve?mn:hi,Cr.current),Mi=Oi(ni);Rr.current!==Mi&&(Rr.current=Mi,st(ni))}),Ei=(0,Fr.Z)(Ar.preserve?ln(!0):ln(),Cr.current);return xe!==Ei&&st(Ei),pa}},[jr]),xe}var ya=vi,yi=r.forwardRef(gt),qn=yi;qn.FormProvider=Ea,qn.Field=Tr,qn.List=Ln,qn.useForm=ji,qn.useWatch=ya;var Sn=qn},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return Ue},Provider:function(){return _},default:function(){return fe}});var r=e(4635),i=e(20439),l=e(50298),c=e(93664),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(62646),p=["children"],y=a.createContext({});function _(pe){var Ot=pe.children,Ce=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:Ce},Ot)}var b=e(99153),S=e(84851),k=e(19257),R=e(93046),A=function(pe){(0,k.Z)(Ce,pe);var Ot=(0,R.Z)(Ce);function Ce(){return(0,b.Z)(this,Ce),Ot.apply(this,arguments)}return(0,S.Z)(Ce,[{key:"render",value:function(){return this.props.children}}]),Ce}(a.Component),D=A,M=e(70425),B=e(41799),j=e(6089);function Y(pe){var Ot=a.useReducer(function(Et){return Et+1},0),Ce=(0,l.Z)(Ot,2),ct=Ce[1],Kt=a.useRef(pe),At=(0,j.Z)(function(){return Kt.current}),Te=(0,j.Z)(function(Et){Kt.current=typeof Et=="function"?Et(Kt.current):Et,ct()});return[At,Te]}var V="none",G="appear",ae="enter",ie="leave",ue="none",q="prepare",J="start",K="active",oe="end",ee="prepared",Q=e(47273);function le(pe,Ot){var Ce={};return Ce[pe.toLowerCase()]=Ot.toLowerCase(),Ce["Webkit".concat(pe)]="webkit".concat(Ot),Ce["Moz".concat(pe)]="moz".concat(Ot),Ce["ms".concat(pe)]="MS".concat(Ot),Ce["O".concat(pe)]="o".concat(Ot.toLowerCase()),Ce}function Z(pe,Ot){var Ce={animationend:le("Animation","AnimationEnd"),transitionend:le("Transition","TransitionEnd")};return pe&&("AnimationEvent"in Ot||delete Ce.animationend.animation,"TransitionEvent"in Ot||delete Ce.transitionend.transition),Ce}var $=Z((0,Q.Z)(),typeof window!="undefined"?window:{}),se={};if((0,Q.Z)()){var _e=document.createElement("div");se=_e.style}var Ie={};function De(pe){if(Ie[pe])return Ie[pe];var Ot=$[pe];if(Ot)for(var Ce=Object.keys(Ot),ct=Ce.length,Kt=0;Kt<ct;Kt+=1){var At=Ce[Kt];if(Object.prototype.hasOwnProperty.call(Ot,At)&&At in se)return Ie[pe]=Ot[At],Ie[pe]}return""}var Ze=De("animationend"),Ne=De("transitionend"),Lt=!!(Ze&&Ne),bt=Ze||"animationend",kt=Ne||"transitionend";function jt(pe,Ot){if(!pe)return null;if((0,c.Z)(pe)==="object"){var Ce=Ot.replace(/-\w/g,function(ct){return ct[1].toUpperCase()});return pe[Ce]}return"".concat(pe,"-").concat(Ot)}var Wt=function(pe){var Ot=(0,a.useRef)();function Ce(Kt){Kt&&(Kt.removeEventListener(kt,pe),Kt.removeEventListener(bt,pe))}function ct(Kt){Ot.current&&Ot.current!==Kt&&Ce(Ot.current),Kt&&Kt!==Ot.current&&(Kt.addEventListener(kt,pe),Kt.addEventListener(bt,pe),Ot.current=Kt)}return a.useEffect(function(){return function(){Ce(Ot.current)}},[]),[ct,Ce]},zt=(0,Q.Z)()?a.useLayoutEffect:a.useEffect,We=zt,St=e(16089),Ft=function(){var pe=a.useRef(null);function Ot(){St.Z.cancel(pe.current)}function Ce(ct){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Ot();var At=(0,St.Z)(function(){Kt<=1?ct({isCanceled:function(){return At!==pe.current}}):Ce(ct,Kt-1)});pe.current=At}return a.useEffect(function(){return function(){Ot()}},[]),[Ce,Ot]},tt=[q,J,K,oe],_t=[q,ee],dt=!1,qe=!0;function Be(pe){return pe===K||pe===oe}var Ee=function(pe,Ot,Ce){var ct=(0,B.Z)(ue),Kt=(0,l.Z)(ct,2),At=Kt[0],Te=Kt[1],Et=Ft(),ye=(0,l.Z)(Et,2),et=ye[0],yt=ye[1];function Nt(){Te(q,!0)}var Fe=Ot?_t:tt;return We(function(){if(At!==ue&&At!==oe){var Ir=Fe.indexOf(At),Ct=Fe[Ir+1],Gr=Ce(At);Gr===dt?Te(Ct,!0):Ct&&et(function(Qr){function Mr(){Qr.isCanceled()||Te(Ct,!0)}Gr===!0?Mr():Promise.resolve(Gr).then(Mr)})}},[pe,At]),a.useEffect(function(){return function(){yt()}},[]),[Nt,At]};function Re(pe,Ot,Ce,ct){var Kt=ct.motionEnter,At=Kt===void 0?!0:Kt,Te=ct.motionAppear,Et=Te===void 0?!0:Te,ye=ct.motionLeave,et=ye===void 0?!0:ye,yt=ct.motionDeadline,Nt=ct.motionLeaveImmediately,Fe=ct.onAppearPrepare,Ir=ct.onEnterPrepare,Ct=ct.onLeavePrepare,Gr=ct.onAppearStart,Qr=ct.onEnterStart,Mr=ct.onLeaveStart,Fr=ct.onAppearActive,mr=ct.onEnterActive,$r=ct.onLeaveActive,nn=ct.onAppearEnd,cn=ct.onEnterEnd,Xt=ct.onLeaveEnd,mt=ct.onVisibleChanged,ut=(0,B.Z)(),ft=(0,l.Z)(ut,2),$t=ft[0],yr=ft[1],gr=Y(V),it=(0,l.Z)(gr,2),Tr=it[0],fn=it[1],Ln=(0,B.Z)(null),Vr=(0,l.Z)(Ln,2),Zn=Vr[0],Hn=Vr[1],Pn=Tr(),yn=(0,a.useRef)(!1),Vn=(0,a.useRef)(null);function oi(){return Ce()}var mi=(0,a.useRef)(!1);function Di(){fn(V),Hn(null,!0)}var ji=(0,M.useEvent)(function(rr){var vt=Tr();if(vt!==V){var nt=oi();if(!(rr&&!rr.deadline&&rr.target!==nt)){var Dt=mi.current,pt;vt===G&&Dt?pt=nn==null?void 0:nn(nt,rr):vt===ae&&Dt?pt=cn==null?void 0:cn(nt,rr):vt===ie&&Dt&&(pt=Xt==null?void 0:Xt(nt,rr)),Dt&&pt!==!1&&Di()}}}),gi=Wt(ji),Ea=(0,l.Z)(gi,1),ui=Ea[0],Ji=function(vt){switch(vt){case G:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Fe),J,Gr),K,Fr);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Ir),J,Qr),K,mr);case ie:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Ct),J,Mr),K,$r);default:return{}}},It=a.useMemo(function(){return Ji(Pn)},[Pn]),gt=Ee(Pn,!pe,function(rr){if(rr===q){var vt=It[q];return vt?vt(oi()):dt}if(vi in It){var nt;Hn(((nt=It[vi])===null||nt===void 0?void 0:nt.call(It,oi(),null))||null)}return vi===K&&Pn!==V&&(ui(oi()),yt>0&&(clearTimeout(Vn.current),Vn.current=setTimeout(function(){ji({deadline:!0})},yt))),vi===ee&&Di(),qe}),Oi=(0,l.Z)(gt,2),Xi=Oi[0],vi=Oi[1],ya=Be(vi);mi.current=ya;var yi=(0,a.useRef)(null);We(function(){if(!(yn.current&&yi.current===Ot)){yr(Ot);var rr=yn.current;yn.current=!0;var vt;!rr&&Ot&&Et&&(vt=G),rr&&Ot&&At&&(vt=ae),(rr&&!Ot&&et||!rr&&Nt&&!Ot&&et)&&(vt=ie);var nt=Ji(vt);vt&&(pe||nt[q])?(fn(vt),Xi()):fn(V),yi.current=Ot}},[Ot]),(0,a.useEffect)(function(){(Pn===G&&!Et||Pn===ae&&!At||Pn===ie&&!et)&&fn(V)},[Et,At,et]),(0,a.useEffect)(function(){return function(){yn.current=!1,clearTimeout(Vn.current)}},[]);var qn=a.useRef(!1);(0,a.useEffect)(function(){$t&&(qn.current=!0),$t!==void 0&&Pn===V&&((qn.current||$t)&&(mt==null||mt($t)),qn.current=!0)},[$t,Pn]);var Sn=Zn;return It[q]&&vi===J&&(Sn=(0,i.Z)({transition:"none"},Sn)),[Pn,vi,Sn,$t!=null?$t:Ot]}function He(pe){var Ot=pe;(0,c.Z)(pe)==="object"&&(Ot=pe.transitionSupport);function Ce(Kt,At){return!!(Kt.motionName&&Ot&&At!==!1)}var ct=a.forwardRef(function(Kt,At){var Te=Kt.visible,Et=Te===void 0?!0:Te,ye=Kt.removeOnLeave,et=ye===void 0?!0:ye,yt=Kt.forceRender,Nt=Kt.children,Fe=Kt.motionName,Ir=Kt.leavedClassName,Ct=Kt.eventProps,Gr=a.useContext(y),Qr=Gr.motion,Mr=Ce(Kt,Qr),Fr=(0,a.useRef)(),mr=(0,a.useRef)();function $r(){try{return Fr.current instanceof HTMLElement?Fr.current:(0,h.ZP)(mr.current)}catch(Vr){return null}}var nn=Re(Mr,Et,$r,Kt),cn=(0,l.Z)(nn,4),Xt=cn[0],mt=cn[1],ut=cn[2],ft=cn[3],$t=a.useRef(ft);ft&&($t.current=!0);var yr=a.useCallback(function(Vr){Fr.current=Vr,(0,u.mH)(At,Vr)},[At]),gr,it=(0,i.Z)((0,i.Z)({},Ct),{},{visible:Et});if(!Nt)gr=null;else if(Xt===V)ft?gr=Nt((0,i.Z)({},it),yr):!et&&$t.current&&Ir?gr=Nt((0,i.Z)((0,i.Z)({},it),{},{className:Ir}),yr):yt||!et&&!Ir?gr=Nt((0,i.Z)((0,i.Z)({},it),{},{style:{display:"none"}}),yr):gr=null;else{var Tr;mt===q?Tr="prepare":Be(mt)?Tr="active":mt===J&&(Tr="start");var fn=jt(Fe,"".concat(Xt,"-").concat(Tr));gr=Nt((0,i.Z)((0,i.Z)({},it),{},{className:o()(jt(Fe,Xt),(0,r.Z)((0,r.Z)({},fn,fn&&Tr),Fe,typeof Fe=="string")),style:ut}),yr)}if(a.isValidElement(gr)&&(0,u.Yr)(gr)){var Ln=(0,u.C4)(gr);Ln||(gr=a.cloneElement(gr,{ref:yr}))}return a.createElement(D,{ref:mr},gr)});return ct.displayName="CSSMotion",ct}var ze=He(Lt),Ye=e(14809),ht=e(13028),xt="add",nr="keep",er="remove",Le="removed";function Qe(pe){var Ot;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?Ot=pe:Ot={key:pe},(0,i.Z)((0,i.Z)({},Ot),{},{key:String(Ot.key)})}function Qt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(Qe)}function Rt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ce=[],ct=0,Kt=Ot.length,At=Qt(pe),Te=Qt(Ot);At.forEach(function(et){for(var yt=!1,Nt=ct;Nt<Kt;Nt+=1){var Fe=Te[Nt];if(Fe.key===et.key){ct<Nt&&(Ce=Ce.concat(Te.slice(ct,Nt).map(function(Ir){return(0,i.Z)((0,i.Z)({},Ir),{},{status:xt})})),ct=Nt),Ce.push((0,i.Z)((0,i.Z)({},Fe),{},{status:nr})),ct+=1,yt=!0;break}}yt||Ce.push((0,i.Z)((0,i.Z)({},et),{},{status:er}))}),ct<Kt&&(Ce=Ce.concat(Te.slice(ct).map(function(et){return(0,i.Z)((0,i.Z)({},et),{},{status:xt})})));var Et={};Ce.forEach(function(et){var yt=et.key;Et[yt]=(Et[yt]||0)+1});var ye=Object.keys(Et).filter(function(et){return Et[et]>1});return ye.forEach(function(et){Ce=Ce.filter(function(yt){var Nt=yt.key,Fe=yt.status;return Nt!==et||Fe!==er}),Ce.forEach(function(yt){yt.key===et&&(yt.status=nr)})}),Ce}var Vt=["component","children","onVisibleChanged","onAllRemoved"],Gt=["status"],Tt=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function qt(pe){var Ot=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ze,Ce=function(ct){(0,k.Z)(At,ct);var Kt=(0,R.Z)(At);function At(){var Te;(0,b.Z)(this,At);for(var Et=arguments.length,ye=new Array(Et),et=0;et<Et;et++)ye[et]=arguments[et];return Te=Kt.call.apply(Kt,[this].concat(ye)),(0,r.Z)((0,ht.Z)(Te),"state",{keyEntities:[]}),(0,r.Z)((0,ht.Z)(Te),"removeKey",function(yt){Te.setState(function(Nt){var Fe=Nt.keyEntities.map(function(Ir){return Ir.key!==yt?Ir:(0,i.Z)((0,i.Z)({},Ir),{},{status:Le})});return{keyEntities:Fe}},function(){var Nt=Te.state.keyEntities,Fe=Nt.filter(function(Ir){var Ct=Ir.status;return Ct!==Le}).length;Fe===0&&Te.props.onAllRemoved&&Te.props.onAllRemoved()})}),Te}return(0,S.Z)(At,[{key:"render",value:function(){var Et=this,ye=this.state.keyEntities,et=this.props,yt=et.component,Nt=et.children,Fe=et.onVisibleChanged,Ir=et.onAllRemoved,Ct=(0,x.Z)(et,Vt),Gr=yt||a.Fragment,Qr={};return Tt.forEach(function(Mr){Qr[Mr]=Ct[Mr],delete Ct[Mr]}),delete Ct.keys,a.createElement(Gr,Ct,ye.map(function(Mr,Fr){var mr=Mr.status,$r=(0,x.Z)(Mr,Gt),nn=mr===xt||mr===nr;return a.createElement(Ot,(0,Ye.Z)({},Qr,{key:$r.key,visible:nn,eventProps:$r,onVisibleChanged:function(Xt){Fe==null||Fe(Xt,{key:$r.key}),Xt||Et.removeKey($r.key)}}),function(cn,Xt){return Nt((0,i.Z)((0,i.Z)({},cn),{},{index:Fr}),Xt)})}))}}],[{key:"getDerivedStateFromProps",value:function(Et,ye){var et=Et.keys,yt=ye.keyEntities,Nt=Qt(et),Fe=Rt(yt,Nt);return{keyEntities:Fe.filter(function(Ir){var Ct=yt.find(function(Gr){var Qr=Gr.key;return Ir.key===Qr});return!(Ct&&Ct.status===Le&&Ir.status===er)})}}}]),At}(a.Component);return(0,r.Z)(Ce,"defaultProps",{component:"div"}),Ce}var Ue=qt(Lt),fe=ze},581:function(d,v,e){"use strict";e.d(v,{qX:function(){return b},JB:function(){return R},lm:function(){return ae}});var r=e(95190),i=e(50298),l=e(62646),c=e(59301),f=e(20439),o=e(4676),h=e(14809),u=e(92310),a=e.n(u),x=e(77900),p=e(4635),y=e(10228),_=c.forwardRef(function(ie,ue){var q=ie.prefixCls,J=ie.style,K=ie.className,oe=ie.duration,ee=oe===void 0?4.5:oe,Q=ie.eventKey,le=ie.content,Z=ie.closable,$=ie.closeIcon,se=$===void 0?"x":$,_e=ie.props,Ie=ie.onClick,De=ie.onNoticeClose,Ze=ie.times,Ne=c.useState(!1),Lt=(0,i.Z)(Ne,2),bt=Lt[0],kt=Lt[1],jt=function(){De(Q)},Wt=function(St){(St.key==="Enter"||St.code==="Enter"||St.keyCode===y.Z.ENTER)&&jt()};c.useEffect(function(){if(!bt&&ee>0){var We=setTimeout(function(){jt()},ee*1e3);return function(){clearTimeout(We)}}},[ee,bt,Ze]);var zt="".concat(q,"-notice");return c.createElement("div",(0,h.Z)({},_e,{ref:ue,className:a()(zt,K,(0,p.Z)({},"".concat(zt,"-closable"),Z)),style:J,onMouseEnter:function(){kt(!0)},onMouseLeave:function(){kt(!1)},onClick:Ie}),c.createElement("div",{className:"".concat(zt,"-content")},le),Z&&c.createElement("a",{tabIndex:0,className:"".concat(zt,"-close"),onKeyDown:Wt,onClick:function(St){St.preventDefault(),St.stopPropagation(),jt()}},se))}),b=_,S=c.createContext({}),k=function(ue){var q=ue.children,J=ue.classNames;return c.createElement(S.Provider,{value:{classNames:J}},q)},R=k,A=function(ue){var q=ue.configList,J=ue.placement,K=ue.prefixCls,oe=ue.className,ee=ue.style,Q=ue.motion,le=ue.onAllNoticeRemoved,Z=ue.onNoticeClose,$=(0,c.useContext)(S),se=$.classNames,_e=q.map(function(De){return{config:De,key:De.key}}),Ie=typeof Q=="function"?Q(J):Q;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(K,"".concat(K,"-").concat(J),se==null?void 0:se.list,oe),style:ee,keys:_e,motionAppear:!0},Ie,{onAllRemoved:function(){le(J)}}),function(De,Ze){var Ne=De.config,Lt=De.className,bt=De.style,kt=Ne,jt=kt.key,Wt=kt.times,zt=Ne,We=zt.className,St=zt.style;return c.createElement(b,(0,h.Z)({},Ne,{ref:Ze,prefixCls:K,className:a()(Lt,We,se==null?void 0:se.notice),style:(0,f.Z)((0,f.Z)({},bt),St),times:Wt,key:jt,eventKey:jt,onNoticeClose:Z}))})},D=A,M=c.forwardRef(function(ie,ue){var q=ie.prefixCls,J=q===void 0?"rc-notification":q,K=ie.container,oe=ie.motion,ee=ie.maxCount,Q=ie.className,le=ie.style,Z=ie.onAllRemoved,$=ie.renderNotifications,se=c.useState([]),_e=(0,i.Z)(se,2),Ie=_e[0],De=_e[1],Ze=function(St){var Ft,tt=Ie.find(function(_t){return _t.key===St});tt==null||(Ft=tt.onClose)===null||Ft===void 0||Ft.call(tt),De(function(_t){return _t.filter(function(dt){return dt.key!==St})})};c.useImperativeHandle(ue,function(){return{open:function(St){De(function(Ft){var tt=(0,r.Z)(Ft),_t=tt.findIndex(function(Be){return Be.key===St.key}),dt=(0,f.Z)({},St);if(_t>=0){var qe;dt.times=(((qe=Ft[_t])===null||qe===void 0?void 0:qe.times)||0)+1,tt[_t]=dt}else dt.times=0,tt.push(dt);return ee>0&&tt.length>ee&&(tt=tt.slice(-ee)),tt})},close:function(St){Ze(St)},destroy:function(){De([])}}});var Ne=c.useState({}),Lt=(0,i.Z)(Ne,2),bt=Lt[0],kt=Lt[1];c.useEffect(function(){var We={};Ie.forEach(function(St){var Ft=St.placement,tt=Ft===void 0?"topRight":Ft;tt&&(We[tt]=We[tt]||[],We[tt].push(St))}),Object.keys(bt).forEach(function(St){We[St]=We[St]||[]}),kt(We)},[Ie]);var jt=function(St){kt(function(Ft){var tt=(0,f.Z)({},Ft),_t=tt[St]||[];return _t.length||delete tt[St],tt})},Wt=c.useRef(!1);if(c.useEffect(function(){Object.keys(bt).length>0?Wt.current=!0:Wt.current&&(Z==null||Z(),Wt.current=!1)},[bt]),!K)return null;var zt=Object.keys(bt);return(0,o.createPortal)(c.createElement(c.Fragment,null,zt.map(function(We){var St=bt[We],Ft=c.createElement(D,{key:We,configList:St,placement:We,prefixCls:J,className:Q==null?void 0:Q(We),style:le==null?void 0:le(We),motion:oe,onNoticeClose:Ze,onAllNoticeRemoved:jt});return $?$(Ft,{prefixCls:J,key:We}):Ft})),K)}),B=M,j=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],Y=function(){return document.body},V=0;function G(){for(var ie={},ue=arguments.length,q=new Array(ue),J=0;J<ue;J++)q[J]=arguments[J];return q.forEach(function(K){K&&Object.keys(K).forEach(function(oe){var ee=K[oe];ee!==void 0&&(ie[oe]=ee)})}),ie}function ae(){var ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ue=ie.getContainer,q=ue===void 0?Y:ue,J=ie.motion,K=ie.prefixCls,oe=ie.maxCount,ee=ie.className,Q=ie.style,le=ie.onAllRemoved,Z=ie.renderNotifications,$=(0,l.Z)(ie,j),se=c.useState(),_e=(0,i.Z)(se,2),Ie=_e[0],De=_e[1],Ze=c.useRef(),Ne=c.createElement(B,{container:Ie,ref:Ze,prefixCls:K,motion:J,maxCount:oe,className:ee,style:Q,onAllRemoved:le,renderNotifications:Z}),Lt=c.useState([]),bt=(0,i.Z)(Lt,2),kt=bt[0],jt=bt[1],Wt=c.useMemo(function(){return{open:function(We){var St=G($,We);(St.key===null||St.key===void 0)&&(St.key="rc-notification-".concat(V),V+=1),jt(function(Ft){return[].concat((0,r.Z)(Ft),[{type:"open",config:St}])})},close:function(We){jt(function(St){return[].concat((0,r.Z)(St),[{type:"close",key:We}])})},destroy:function(){jt(function(We){return[].concat((0,r.Z)(We),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){De(q())}),c.useEffect(function(){Ze.current&&kt.length&&(kt.forEach(function(zt){switch(zt.type){case"open":Ze.current.open(zt.config);break;case"close":Ze.current.close(zt.key);break;case"destroy":Ze.current.destroy();break}}),jt(function(zt){return zt.filter(function(We){return!kt.includes(We)})}))},[kt]),[Wt,Ne]}},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 J}});var r=e(14809),i=e(59301),l=e(11592),c=e(48736),f=e(20439),o=e(93664),h=e(76846),u=e(8654),a=i.createContext(null);function x(K){var oe=K.children,ee=K.onBatchResize,Q=i.useRef(0),le=i.useRef([]),Z=i.useContext(a),$=i.useCallback(function(se,_e,Ie){Q.current+=1;var De=Q.current;le.current.push({size:se,element:_e,data:Ie}),Promise.resolve().then(function(){De===Q.current&&(ee==null||ee(le.current),le.current=[])}),Z==null||Z(se,_e,Ie)},[ee,Z]);return i.createElement(a.Provider,{value:$},oe)}var p=e(76374),y=new Map;function _(K){K.forEach(function(oe){var ee,Q=oe.target;(ee=y.get(Q))===null||ee===void 0||ee.forEach(function(le){return le(Q)})})}var b=new p.Z(_),S=null,k=null;function R(K,oe){y.has(K)||(y.set(K,new Set),b.observe(K)),y.get(K).add(oe)}function A(K,oe){y.has(K)&&(y.get(K).delete(oe),y.get(K).size||(b.unobserve(K),y.delete(K)))}var D=e(99153),M=e(84851),B=e(19257),j=e(93046),Y=function(K){(0,B.Z)(ee,K);var oe=(0,j.Z)(ee);function ee(){return(0,D.Z)(this,ee),oe.apply(this,arguments)}return(0,M.Z)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(i.Component);function V(K,oe){var ee=K.children,Q=K.disabled,le=i.useRef(null),Z=i.useRef(null),$=i.useContext(a),se=typeof ee=="function",_e=se?ee(le):ee,Ie=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),De=!se&&i.isValidElement(_e)&&(0,u.Yr)(_e),Ze=De?(0,u.C4)(_e):null,Ne=(0,u.x1)(Ze,le),Lt=function(){var Wt;return(0,h.ZP)(le.current)||(le.current&&(0,o.Z)(le.current)==="object"?(0,h.ZP)((Wt=le.current)===null||Wt===void 0?void 0:Wt.nativeElement):null)||(0,h.ZP)(Z.current)};i.useImperativeHandle(oe,function(){return Lt()});var bt=i.useRef(K);bt.current=K;var kt=i.useCallback(function(jt){var Wt=bt.current,zt=Wt.onResize,We=Wt.data,St=jt.getBoundingClientRect(),Ft=St.width,tt=St.height,_t=jt.offsetWidth,dt=jt.offsetHeight,qe=Math.floor(Ft),Be=Math.floor(tt);if(Ie.current.width!==qe||Ie.current.height!==Be||Ie.current.offsetWidth!==_t||Ie.current.offsetHeight!==dt){var Ee={width:qe,height:Be,offsetWidth:_t,offsetHeight:dt};Ie.current=Ee;var Re=_t===Math.round(Ft)?Ft:_t,He=dt===Math.round(tt)?tt:dt,ze=(0,f.Z)((0,f.Z)({},Ee),{},{offsetWidth:Re,offsetHeight:He});$==null||$(ze,jt,We),zt&&Promise.resolve().then(function(){zt(ze,jt)})}},[]);return i.useEffect(function(){var jt=Lt();return jt&&!Q&&R(jt,kt),function(){return A(jt,kt)}},[le.current,Q]),i.createElement(Y,{ref:Z},De?i.cloneElement(_e,{ref:Ne}):_e)}var G=i.forwardRef(V),ae=G,ie="rc-observer-key";function ue(K,oe){var ee=K.children,Q=typeof ee=="function"?[ee]:(0,l.Z)(ee);return Q.map(function(le,Z){var $=(le==null?void 0:le.key)||"".concat(ie,"-").concat(Z);return i.createElement(ae,(0,r.Z)({},K,{key:$,ref:Z===0?oe:void 0}),le)})}var q=i.forwardRef(ue);q.Collection=x;var J=q},55477:function(d,v,e){"use strict";e.d(v,{G:function(){return _},Z:function(){return R}});var r=e(14809),i=e(20439),l=e(62646),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 D=A.children,M=A.prefixCls,B=A.id,j=A.overlayInnerStyle,Y=A.className,V=A.style;return f.createElement("div",{className:y()("".concat(M,"-content"),Y),style:V},f.createElement("div",{className:"".concat(M,"-inner"),id:B,role:"tooltip",style:j},typeof D=="function"?D():D))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],S=function(D,M){var B=D.overlayClassName,j=D.trigger,Y=j===void 0?["hover"]:j,V=D.mouseEnterDelay,G=V===void 0?0:V,ae=D.mouseLeaveDelay,ie=ae===void 0?.1:ae,ue=D.overlayStyle,q=D.prefixCls,J=q===void 0?"rc-tooltip":q,K=D.children,oe=D.onVisibleChange,ee=D.afterVisibleChange,Q=D.transitionName,le=D.animation,Z=D.motion,$=D.placement,se=$===void 0?"right":$,_e=D.align,Ie=_e===void 0?{}:_e,De=D.destroyTooltipOnHide,Ze=De===void 0?!1:De,Ne=D.defaultVisible,Lt=D.getTooltipContainer,bt=D.overlayInnerStyle,kt=D.arrowContent,jt=D.overlay,Wt=D.id,zt=D.showArrow,We=zt===void 0?!0:zt,St=(0,l.Z)(D,b),Ft=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return Ft.current});var tt=(0,i.Z)({},St);"visible"in D&&(tt.popupVisible=D.visible);var _t=function(){return f.createElement(_,{key:"content",prefixCls:J,id:Wt,overlayInnerStyle:bt},jt)};return f.createElement(c.Z,(0,r.Z)({popupClassName:B,prefixCls:J,popup:_t,action:Y,builtinPlacements:a,popupPlacement:se,ref:Ft,popupAlign:Ie,getPopupContainer:Lt,onPopupVisibleChange:oe,afterPopupVisibleChange:ee,popupTransitionName:Q,popupAnimation:le,popupMotion:Z,defaultPopupVisible:Ne,autoDestroy:Ze,mouseLeaveDelay:ie,popupStyle:ue,mouseEnterDelay:G,arrow:We},tt),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(20439),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]:{},D=A.mark;return D?D.startsWith("data-")?D:"data-".concat(D):o}function a(A){if(A.attachTo)return A.attachTo;var D=document.querySelector("head");return D||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(D){return D.tagName==="STYLE"})}function y(A){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=D.csp,B=D.prepend,j=D.priority,Y=j===void 0?0:j,V=x(B),G=V==="prependQueue",ae=document.createElement("style");ae.setAttribute(c,V),G&&Y&&ae.setAttribute(f,"".concat(Y)),M!=null&&M.nonce&&(ae.nonce=M==null?void 0:M.nonce),ae.innerHTML=A;var ie=a(D),ue=ie.firstChild;if(B){if(G){var q=(D.styles||p(ie)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(c)))return!1;var K=Number(J.getAttribute(f)||0);return Y>=K});if(q.length)return ie.insertBefore(ae,q[q.length-1].nextSibling),ae}ie.insertBefore(ae,ue)}else ie.appendChild(ae);return ae}function _(A){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(D);return(D.styles||p(M)).find(function(B){return B.getAttribute(u(D))===A})}function b(A){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=_(A,D);if(M){var B=a(D);B.removeChild(M)}}function S(A,D){var M=h.get(A);if(!M||!(0,l.Z)(document,M)){var B=y("",D),j=B.parentNode;h.set(A,j),A.removeChild(B)}}function k(){h.clear()}function R(A,D){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=a(M),j=p(B),Y=(0,r.Z)((0,r.Z)({},M),{},{styles:j});S(B,Y);var V=_(D,Y);if(V){var G,ae;if((G=Y.csp)!==null&&G!==void 0&&G.nonce&&V.nonce!==((ae=Y.csp)===null||ae===void 0?void 0:ae.nonce)){var ie;V.nonce=(ie=Y.csp)===null||ie===void 0?void 0:ie.nonce}return V.innerHTML!==A&&(V.innerHTML=A),V}var ue=y(A,Y);return ue.setAttribute(u(Y),D),ue}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return o}});var r=e(93664),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(93664),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 Y}});var i=e(70539),l=e(95764),c=e(93664),f=e(20439),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(G){}function _(G){var ae=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ae&&(0,c.Z)(ae)==="object"&&(ae.usingClientEntryPoint=G)}var b="__rc_react_root__";function S(G,ae){_(!0);var ie=ae[b]||p(ae);_(!1),ie.render(G),ae[b]=ie}function k(G,ae){a==null||a(G,ae)}function R(G,ae){}function A(G,ae){if(p){S(G,ae);return}k(G,ae)}function D(G){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function G(ae){return(0,i.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.abrupt("return",Promise.resolve().then(function(){var q;(q=ae[b])===null||q===void 0||q.unmount(),delete ae[b]}));case 1:case"end":return ue.stop()}},G)})),M.apply(this,arguments)}function B(G){x(G)}function j(G){}function Y(G){return V.apply(this,arguments)}function V(){return V=(0,l.Z)((0,i.Z)().mark(function G(ae){return(0,i.Z)().wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:if(p===void 0){ue.next=2;break}return ue.abrupt("return",D(ae));case 2:B(ae);case 3:case"end":return ue.stop()}},G)})),V.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,D=o&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:A,height:D}}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(50298),l=e(20439),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(50298),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,D=_?_(A):A,M=(0,i.Z)(y),B=(0,c.Z)([A]),j=(0,r.Z)(B,2),Y=j[0],V=j[1];(0,l.o)(function(){var ae=Y[0];k!==ae&&M(k,ae)},[Y]),(0,l.o)(function(){f(p)||R(p)},[p]);var G=(0,i.Z)(function(ae,ie){R(ae,ie),V([A],ie)});return[D,G]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(50298),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(93664),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(20439),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(93664),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(D){k.forEach(function(M){h(M,D)})}},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,D){return A.length!==D.length||A.every(function(M,B){return M!==D[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(93664),i=e(20439),l=e(95190),c=e(21696),f=e(97938);function o(y,_,b,S){if(!_.length)return b;var k=(0,c.Z)(_),R=k[0],A=k.slice(1),D;return!y&&typeof R=="number"?D=[]:Array.isArray(y)?D=(0,l.Z)(y):D=(0,i.Z)({},y),S&&b===void 0&&A.length===1?delete D[R][A[0]]:D[R]=o(D[R],A,b,S),D}function h(y,_,b){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return _.length&&S&&b===void 0&&!(0,f.Z)(y,_.slice(0,-1))?y: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,D){var M=new Set(D),B=(0,f.Z)(k,A),j=Array.isArray(B);if(j||u(B)){if(!M.has(B)){M.add(B);var Y=(0,f.Z)(S,A);j?S=h(S,A,[]):(!Y||(0,r.Z)(Y)!=="object")&&(S=h(S,A,a(B))),x(B).forEach(function(V){R([].concat((0,l.Z)(A),[V]),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(D){return D&&D.__esModule?D:{default:D}}function c(D){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(D)}function f(D,M){var B=Object.keys(D);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(D);M&&(j=j.filter(function(Y){return Object.getOwnPropertyDescriptor(D,Y).enumerable})),B.push.apply(B,j)}return B}function o(D){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?f(B,!0).forEach(function(j){R(D,j,B[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(B)):f(B).forEach(function(j){Object.defineProperty(D,j,Object.getOwnPropertyDescriptor(B,j))})}return D}function h(D,M){if(D==null)return{};var B=u(D,M),j,Y;if(Object.getOwnPropertySymbols){var V=Object.getOwnPropertySymbols(D);for(Y=0;Y<V.length;Y++)j=V[Y],!(M.indexOf(j)>=0)&&Object.prototype.propertyIsEnumerable.call(D,j)&&(B[j]=D[j])}return B}function u(D,M){if(D==null)return{};var B={},j=Object.keys(D),Y,V;for(V=0;V<j.length;V++)Y=j[V],!(M.indexOf(Y)>=0)&&(B[Y]=D[Y]);return B}function a(D,M){if(!(D instanceof M))throw new TypeError("Cannot call a class as a function")}function x(D,M){for(var B=0;B<M.length;B++){var j=M[B];j.enumerable=j.enumerable||!1,j.configurable=!0,"value"in j&&(j.writable=!0),Object.defineProperty(D,j.key,j)}}function p(D,M,B){return M&&x(D.prototype,M),B&&x(D,B),D}function y(D,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(D)}function _(D){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},_(D)}function b(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function S(D,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(M&&M.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),M&&k(D,M)}function k(D,M){return k=Object.setPrototypeOf||function(j,Y){return j.__proto__=Y,j},k(D,M)}function R(D,M,B){return M in D?Object.defineProperty(D,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):D[M]=B,D}var A=function(D){S(M,D);function M(){var B,j;a(this,M);for(var Y=arguments.length,V=new Array(Y),G=0;G<Y;G++)V[G]=arguments[G];return j=y(this,(B=_(M)).call.apply(B,[this].concat(V))),R(b(j),"onClick",function(ae){var ie=j.props,ue=ie.text,q=ie.onCopy,J=ie.children,K=ie.options,oe=r.default.Children.only(J),ee=(0,i.default)(ue,K);q&&q(ue,ee),oe&&oe.props&&typeof oe.props.onClick=="function"&&oe.props.onClick(ae)}),j}return p(M,[{key:"render",value:function(){var j=this.props,Y=j.text,V=j.onCopy,G=j.options,ae=j.children,ie=h(j,["text","onCopy","options","children"]),ue=r.default.Children.only(ae);return r.default.cloneElement(ue,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 C="https://reactjs.org/docs/error-decoder.html?invariant="+g,z=1;z<arguments.length;z++)C+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+g+"; visit "+C+" 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,C){u(g,C),u(g+"Capture",C)}function u(g,C){for(o[g]=C,g=0;g<C.length;g++)f.add(C[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,C,z,ve){if(z!==null&&z.type===0)return!1;switch(typeof C){case"function":case"symbol":return!0;case"boolean":return ve?!1:z!==null?!z.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function k(g,C,z,ve){if(C===null||typeof C=="undefined"||S(g,C,z,ve))return!0;if(ve)return!1;if(z!==null)switch(z.type){case 3:return!C;case 4:return C===!1;case 5:return isNaN(C);case 6:return isNaN(C)||1>C}return!1}function R(g,C,z,ve,ke,ot,Zt){this.acceptsBooleans=C===2||C===3||C===4,this.attributeName=ve,this.attributeNamespace=ke,this.mustUseProperty=z,this.propertyName=g,this.type=C,this.sanitizeURL=ot,this.removeEmptyString=Zt}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 C=g[0];A[C]=new R(C,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 D=/[\-:]([a-z])/g;function M(g){return g[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(g){var C=g.replace(D,M);A[C]=new R(C,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var C=g.replace(D,M);A[C]=new R(C,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var C=g.replace(D,M);A[C]=new R(C,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,C,z,ve){var ke=A.hasOwnProperty(C)?A[C]:null,ot=ke!==null?ke.type===0:ve?!1:!(!(2<C.length)||C[0]!=="o"&&C[0]!=="O"||C[1]!=="n"&&C[1]!=="N");ot||(k(C,z,ke,ve)&&(z=null),ve||ke===null?b(C)&&(z===null?g.removeAttribute(C):g.setAttribute(C,""+z)):ke.mustUseProperty?g[ke.propertyName]=z===null?ke.type===3?!1:"":z:(C=ke.attributeName,ve=ke.attributeNamespace,z===null?g.removeAttribute(C):(ke=ke.type,z=ke===3||ke===4&&z===!0?"":""+z,ve?g.setAttributeNS(ve,C,z):g.setAttribute(C,z))))}var j=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Y=60103,V=60106,G=60107,ae=60108,ie=60114,ue=60109,q=60110,J=60112,K=60113,oe=60120,ee=60115,Q=60116,le=60121,Z=60128,$=60129,se=60130,_e=60131;if(typeof Symbol=="function"&&Symbol.for){var Ie=Symbol.for;Y=Ie("react.element"),V=Ie("react.portal"),G=Ie("react.fragment"),ae=Ie("react.strict_mode"),ie=Ie("react.profiler"),ue=Ie("react.provider"),q=Ie("react.context"),J=Ie("react.forward_ref"),K=Ie("react.suspense"),oe=Ie("react.suspense_list"),ee=Ie("react.memo"),Q=Ie("react.lazy"),le=Ie("react.block"),Ie("react.scope"),Z=Ie("react.opaque.id"),$=Ie("react.debug_trace_mode"),se=Ie("react.offscreen"),_e=Ie("react.legacy_hidden")}var De=typeof Symbol=="function"&&Symbol.iterator;function Ze(g){return g===null||typeof g!="object"?null:(g=De&&g[De]||g["@@iterator"],typeof g=="function"?g:null)}var Ne;function Lt(g){if(Ne===void 0)try{throw Error()}catch(z){var C=z.stack.trim().match(/\n( *(at )?)/);Ne=C&&C[1]||""}return`
|
|
|
`+Ne+g}var bt=!1;function kt(g,C){if(!g||bt)return"";bt=!0;var z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(C)if(C=function(){throw Error()},Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(P){var ve=P}Reflect.construct(g,[],C)}else{try{C.call()}catch(P){ve=P}g.call(C.prototype)}else{try{throw Error()}catch(P){ve=P}g()}}catch(P){if(P&&ve&&typeof P.stack=="string"){for(var ke=P.stack.split(`
|
|
|
`),ot=ve.stack.split(`
|
|
|
`),Zt=ke.length-1,ar=ot.length-1;1<=Zt&&0<=ar&&ke[Zt]!==ot[ar];)ar--;for(;1<=Zt&&0<=ar;Zt--,ar--)if(ke[Zt]!==ot[ar]){if(Zt!==1||ar!==1)do if(Zt--,ar--,0>ar||ke[Zt]!==ot[ar])return`
|
|
|
`+ke[Zt].replace(" at new "," at ");while(1<=Zt&&0<=ar);break}}}finally{bt=!1,Error.prepareStackTrace=z}return(g=g?g.displayName||g.name:"")?Lt(g):""}function jt(g){switch(g.tag){case 5:return Lt(g.type);case 16:return Lt("Lazy");case 13:return Lt("Suspense");case 19:return Lt("SuspenseList");case 0:case 2:case 15:return g=kt(g.type,!1),g;case 11:return g=kt(g.type.render,!1),g;case 22:return g=kt(g.type._render,!1),g;case 1:return g=kt(g.type,!0),g;default:return""}}function Wt(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 G:return"Fragment";case V:return"Portal";case ie:return"Profiler";case ae:return"StrictMode";case K:return"Suspense";case oe:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case q:return(g.displayName||"Context")+".Consumer";case ue:return(g._context.displayName||"Context")+".Provider";case J:var C=g.render;return C=C.displayName||C.name||"",g.displayName||(C!==""?"ForwardRef("+C+")":"ForwardRef");case ee:return Wt(g.type);case le:return Wt(g._render);case Q:C=g._payload,g=g._init;try{return Wt(g(C))}catch(z){}}return null}function zt(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function We(g){var C=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(C==="checkbox"||C==="radio")}function St(g){var C=We(g)?"checked":"value",z=Object.getOwnPropertyDescriptor(g.constructor.prototype,C),ve=""+g[C];if(!g.hasOwnProperty(C)&&typeof z!="undefined"&&typeof z.get=="function"&&typeof z.set=="function"){var ke=z.get,ot=z.set;return Object.defineProperty(g,C,{configurable:!0,get:function(){return ke.call(this)},set:function(Zt){ve=""+Zt,ot.call(this,Zt)}}),Object.defineProperty(g,C,{enumerable:z.enumerable}),{getValue:function(){return ve},setValue:function(Zt){ve=""+Zt},stopTracking:function(){g._valueTracker=null,delete g[C]}}}}function Ft(g){g._valueTracker||(g._valueTracker=St(g))}function tt(g){if(!g)return!1;var C=g._valueTracker;if(!C)return!0;var z=C.getValue(),ve="";return g&&(ve=We(g)?g.checked?"true":"false":g.value),g=ve,g!==z?(C.setValue(g),!0):!1}function _t(g){if(g=g||(typeof document!="undefined"?document:void 0),typeof g=="undefined")return null;try{return g.activeElement||g.body}catch(C){return g.body}}function dt(g,C){var z=C.checked;return i({},C,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:z!=null?z:g._wrapperState.initialChecked})}function qe(g,C){var z=C.defaultValue==null?"":C.defaultValue,ve=C.checked!=null?C.checked:C.defaultChecked;z=zt(C.value!=null?C.value:z),g._wrapperState={initialChecked:ve,initialValue:z,controlled:C.type==="checkbox"||C.type==="radio"?C.checked!=null:C.value!=null}}function Be(g,C){C=C.checked,C!=null&&B(g,"checked",C,!1)}function Ee(g,C){Be(g,C);var z=zt(C.value),ve=C.type;if(z!=null)ve==="number"?(z===0&&g.value===""||g.value!=z)&&(g.value=""+z):g.value!==""+z&&(g.value=""+z);else if(ve==="submit"||ve==="reset"){g.removeAttribute("value");return}C.hasOwnProperty("value")?He(g,C.type,z):C.hasOwnProperty("defaultValue")&&He(g,C.type,zt(C.defaultValue)),C.checked==null&&C.defaultChecked!=null&&(g.defaultChecked=!!C.defaultChecked)}function Re(g,C,z){if(C.hasOwnProperty("value")||C.hasOwnProperty("defaultValue")){var ve=C.type;if(!(ve!=="submit"&&ve!=="reset"||C.value!==void 0&&C.value!==null))return;C=""+g._wrapperState.initialValue,z||C===g.value||(g.value=C),g.defaultValue=C}z=g.name,z!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,z!==""&&(g.name=z)}function He(g,C,z){(C!=="number"||_t(g.ownerDocument)!==g)&&(z==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+z&&(g.defaultValue=""+z))}function ze(g){var C="";return r.Children.forEach(g,function(z){z!=null&&(C+=z)}),C}function Ye(g,C){return g=i({children:void 0},C),(C=ze(C.children))&&(g.children=C),g}function ht(g,C,z,ve){if(g=g.options,C){C={};for(var ke=0;ke<z.length;ke++)C["$"+z[ke]]=!0;for(z=0;z<g.length;z++)ke=C.hasOwnProperty("$"+g[z].value),g[z].selected!==ke&&(g[z].selected=ke),ke&&ve&&(g[z].defaultSelected=!0)}else{for(z=""+zt(z),C=null,ke=0;ke<g.length;ke++){if(g[ke].value===z){g[ke].selected=!0,ve&&(g[ke].defaultSelected=!0);return}C!==null||g[ke].disabled||(C=g[ke])}C!==null&&(C.selected=!0)}}function xt(g,C){if(C.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},C,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function nr(g,C){var z=C.value;if(z==null){if(z=C.children,C=C.defaultValue,z!=null){if(C!=null)throw Error(c(92));if(Array.isArray(z)){if(!(1>=z.length))throw Error(c(93));z=z[0]}C=z}C==null&&(C=""),z=C}g._wrapperState={initialValue:zt(z)}}function er(g,C){var z=zt(C.value),ve=zt(C.defaultValue);z!=null&&(z=""+z,z!==g.value&&(g.value=z),C.defaultValue==null&&g.defaultValue!==z&&(g.defaultValue=z)),ve!=null&&(g.defaultValue=""+ve)}function Le(g){var C=g.textContent;C===g._wrapperState.initialValue&&C!==""&&C!==null&&(g.value=C)}var Qe={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Qt(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 Rt(g,C){return g==null||g==="http://www.w3.org/1999/xhtml"?Qt(C):g==="http://www.w3.org/2000/svg"&&C==="foreignObject"?"http://www.w3.org/1999/xhtml":g}var Vt,Gt=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(C,z,ve,ke){MSApp.execUnsafeLocalFunction(function(){return g(C,z,ve,ke)})}:g}(function(g,C){if(g.namespaceURI!==Qe.svg||"innerHTML"in g)g.innerHTML=C;else{for(Vt=Vt||document.createElement("div"),Vt.innerHTML="<svg>"+C.valueOf().toString()+"</svg>",C=Vt.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;C.firstChild;)g.appendChild(C.firstChild)}});function Tt(g,C){if(C){var z=g.firstChild;if(z&&z===g.lastChild&&z.nodeType===3){z.nodeValue=C;return}}g.textContent=C}var qt={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},Ue=["Webkit","ms","Moz","O"];Object.keys(qt).forEach(function(g){Ue.forEach(function(C){C=C+g.charAt(0).toUpperCase()+g.substring(1),qt[C]=qt[g]})});function fe(g,C,z){return C==null||typeof C=="boolean"||C===""?"":z||typeof C!="number"||C===0||qt.hasOwnProperty(g)&&qt[g]?(""+C).trim():C+"px"}function pe(g,C){g=g.style;for(var z in C)if(C.hasOwnProperty(z)){var ve=z.indexOf("--")===0,ke=fe(z,C[z],ve);z==="float"&&(z="cssFloat"),ve?g.setProperty(z,ke):g[z]=ke}}var Ot=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(g,C){if(C){if(Ot[g]&&(C.children!=null||C.dangerouslySetInnerHTML!=null))throw Error(c(137,g));if(C.dangerouslySetInnerHTML!=null){if(C.children!=null)throw Error(c(60));if(!(typeof C.dangerouslySetInnerHTML=="object"&&"__html"in C.dangerouslySetInnerHTML))throw Error(c(61))}if(C.style!=null&&typeof C.style!="object")throw Error(c(62))}}function ct(g,C){if(g.indexOf("-")===-1)return typeof C.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 Kt(g){return g=g.target||g.srcElement||window,g.correspondingUseElement&&(g=g.correspondingUseElement),g.nodeType===3?g.parentNode:g}var At=null,Te=null,Et=null;function ye(g){if(g=Fa(g)){if(typeof At!="function")throw Error(c(280));var C=g.stateNode;C&&(C=Ja(C),At(g.stateNode,g.type,C))}}function et(g){Te?Et?Et.push(g):Et=[g]:Te=g}function yt(){if(Te){var g=Te,C=Et;if(Et=Te=null,ye(g),C)for(g=0;g<C.length;g++)ye(C[g])}}function Nt(g,C){return g(C)}function Fe(g,C,z,ve,ke){return g(C,z,ve,ke)}function Ir(){}var Ct=Nt,Gr=!1,Qr=!1;function Mr(){(Te!==null||Et!==null)&&(Ir(),yt())}function Fr(g,C,z){if(Qr)return g(C,z);Qr=!0;try{return Ct(g,C,z)}finally{Qr=!1,Mr()}}function mr(g,C){var z=g.stateNode;if(z===null)return null;var ve=Ja(z);if(ve===null)return null;z=ve[C];e:switch(C){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ve=!ve.disabled)||(g=g.type,ve=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!ve;break e;default:g=!1}if(g)return null;if(z&&typeof z!="function")throw Error(c(231,C,typeof z));return z}var $r=!1;if(a)try{var nn={};Object.defineProperty(nn,"passive",{get:function(){$r=!0}}),window.addEventListener("test",nn,nn),window.removeEventListener("test",nn,nn)}catch(g){$r=!1}function cn(g,C,z,ve,ke,ot,Zt,ar,P){var t=Array.prototype.slice.call(arguments,3);try{C.apply(z,t)}catch(n){this.onError(n)}}var Xt=!1,mt=null,ut=!1,ft=null,$t={onError:function(g){Xt=!0,mt=g}};function yr(g,C,z,ve,ke,ot,Zt,ar,P){Xt=!1,mt=null,cn.apply($t,arguments)}function gr(g,C,z,ve,ke,ot,Zt,ar,P){if(yr.apply(this,arguments),Xt){if(Xt){var t=mt;Xt=!1,mt=null}else throw Error(c(198));ut||(ut=!0,ft=t)}}function it(g){var C=g,z=g;if(g.alternate)for(;C.return;)C=C.return;else{g=C;do C=g,C.flags&1026&&(z=C.return),g=C.return;while(g)}return C.tag===3?z:null}function Tr(g){if(g.tag===13){var C=g.memoizedState;if(C===null&&(g=g.alternate,g!==null&&(C=g.memoizedState)),C!==null)return C.dehydrated}return null}function fn(g){if(it(g)!==g)throw Error(c(188))}function Ln(g){var C=g.alternate;if(!C){if(C=it(g),C===null)throw Error(c(188));return C!==g?null:g}for(var z=g,ve=C;;){var ke=z.return;if(ke===null)break;var ot=ke.alternate;if(ot===null){if(ve=ke.return,ve!==null){z=ve;continue}break}if(ke.child===ot.child){for(ot=ke.child;ot;){if(ot===z)return fn(ke),g;if(ot===ve)return fn(ke),C;ot=ot.sibling}throw Error(c(188))}if(z.return!==ve.return)z=ke,ve=ot;else{for(var Zt=!1,ar=ke.child;ar;){if(ar===z){Zt=!0,z=ke,ve=ot;break}if(ar===ve){Zt=!0,ve=ke,z=ot;break}ar=ar.sibling}if(!Zt){for(ar=ot.child;ar;){if(ar===z){Zt=!0,z=ot,ve=ke;break}if(ar===ve){Zt=!0,ve=ot,z=ke;break}ar=ar.sibling}if(!Zt)throw Error(c(189))}}if(z.alternate!==ve)throw Error(c(190))}if(z.tag!==3)throw Error(c(188));return z.stateNode.current===z?g:C}function Vr(g){if(g=Ln(g),!g)return null;for(var C=g;;){if(C.tag===5||C.tag===6)return C;if(C.child)C.child.return=C,C=C.child;else{if(C===g)break;for(;!C.sibling;){if(!C.return||C.return===g)return null;C=C.return}C.sibling.return=C.return,C=C.sibling}}return null}function Zn(g,C){for(var z=g.alternate;C!==null;){if(C===g||C===z)return!0;C=C.return}return!1}var Hn,Pn,yn,Vn,oi=!1,mi=[],Di=null,ji=null,gi=null,Ea=new Map,ui=new Map,Ji=[],It="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 gt(g,C,z,ve,ke){return{blockedOn:g,domEventName:C,eventSystemFlags:z|16,nativeEvent:ke,targetContainers:[ve]}}function Oi(g,C){switch(g){case"focusin":case"focusout":Di=null;break;case"dragenter":case"dragleave":ji=null;break;case"mouseover":case"mouseout":gi=null;break;case"pointerover":case"pointerout":Ea.delete(C.pointerId);break;case"gotpointercapture":case"lostpointercapture":ui.delete(C.pointerId)}}function Xi(g,C,z,ve,ke,ot){return g===null||g.nativeEvent!==ot?(g=gt(C,z,ve,ke,ot),C!==null&&(C=Fa(C),C!==null&&Pn(C)),g):(g.eventSystemFlags|=ve,C=g.targetContainers,ke!==null&&C.indexOf(ke)===-1&&C.push(ke),g)}function vi(g,C,z,ve,ke){switch(C){case"focusin":return Di=Xi(Di,g,C,z,ve,ke),!0;case"dragenter":return ji=Xi(ji,g,C,z,ve,ke),!0;case"mouseover":return gi=Xi(gi,g,C,z,ve,ke),!0;case"pointerover":var ot=ke.pointerId;return Ea.set(ot,Xi(Ea.get(ot)||null,g,C,z,ve,ke)),!0;case"gotpointercapture":return ot=ke.pointerId,ui.set(ot,Xi(ui.get(ot)||null,g,C,z,ve,ke)),!0}return!1}function ya(g){var C=Ka(g.target);if(C!==null){var z=it(C);if(z!==null){if(C=z.tag,C===13){if(C=Tr(z),C!==null){g.blockedOn=C,Vn(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){yn(z)})});return}}else if(C===3&&z.stateNode.hydrate){g.blockedOn=z.tag===3?z.stateNode.containerInfo:null;return}}}g.blockedOn=null}function yi(g){if(g.blockedOn!==null)return!1;for(var C=g.targetContainers;0<C.length;){var z=pi(g.domEventName,g.eventSystemFlags,C[0],g.nativeEvent);if(z!==null)return C=Fa(z),C!==null&&Pn(C),g.blockedOn=z,!1;C.shift()}return!0}function qn(g,C,z){yi(g)&&z.delete(C)}function Sn(){for(oi=!1;0<mi.length;){var g=mi[0];if(g.blockedOn!==null){g=Fa(g.blockedOn),g!==null&&Hn(g);break}for(var C=g.targetContainers;0<C.length;){var z=pi(g.domEventName,g.eventSystemFlags,C[0],g.nativeEvent);if(z!==null){g.blockedOn=z;break}C.shift()}g.blockedOn===null&&mi.shift()}Di!==null&&yi(Di)&&(Di=null),ji!==null&&yi(ji)&&(ji=null),gi!==null&&yi(gi)&&(gi=null),Ea.forEach(qn),ui.forEach(qn)}function rr(g,C){g.blockedOn===C&&(g.blockedOn=null,oi||(oi=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Sn)))}function vt(g){function C(ke){return rr(ke,g)}if(0<mi.length){rr(mi[0],g);for(var z=1;z<mi.length;z++){var ve=mi[z];ve.blockedOn===g&&(ve.blockedOn=null)}}for(Di!==null&&rr(Di,g),ji!==null&&rr(ji,g),gi!==null&&rr(gi,g),Ea.forEach(C),ui.forEach(C),z=0;z<Ji.length;z++)ve=Ji[z],ve.blockedOn===g&&(ve.blockedOn=null);for(;0<Ji.length&&(z=Ji[0],z.blockedOn===null);)ya(z),z.blockedOn===null&&Ji.shift()}function nt(g,C){var z={};return z[g.toLowerCase()]=C.toLowerCase(),z["Webkit"+g]="webkit"+C,z["Moz"+g]="moz"+C,z}var Dt={animationend:nt("Animation","AnimationEnd"),animationiteration:nt("Animation","AnimationIteration"),animationstart:nt("Animation","AnimationStart"),transitionend:nt("Transition","TransitionEnd")},pt={},cr={};a&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete Dt.animationend.animation,delete Dt.animationiteration.animation,delete Dt.animationstart.animation),"TransitionEvent"in window||delete Dt.transitionend.transition);function dr(g){if(pt[g])return pt[g];if(!Dt[g])return g;var C=Dt[g],z;for(z in C)if(C.hasOwnProperty(z)&&z in cr)return pt[g]=C[z];return g}var Ar=dr("animationend"),Zr=dr("animationiteration"),$e=dr("animationstart"),Je=dr("transitionend"),xe=new Map,st=new Map,ir=["abort","abort",Ar,"animationEnd",Zr,"animationIteration",$e,"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",Je,"transitionEnd","waiting","waiting"];function Rr(g,C){for(var z=0;z<g.length;z+=2){var ve=g[z],ke=g[z+1];ke="on"+(ke[0].toUpperCase()+ke.slice(1)),st.set(ve,C),xe.set(ve,ke),h(ke,[ve])}}var Dr=l.unstable_now;Dr();var Pr=8;function jr(g){if(1&g)return Pr=15,1;if(2&g)return Pr=14,2;if(4&g)return Pr=13,4;var C=24&g;return C!==0?(Pr=12,C):g&32?(Pr=11,32):(C=192&g,C!==0?(Pr=10,C):g&256?(Pr=9,256):(C=3584&g,C!==0?(Pr=8,C):g&4096?(Pr=7,4096):(C=4186112&g,C!==0?(Pr=6,C):(C=62914560&g,C!==0?(Pr=5,C):g&67108864?(Pr=4,67108864):g&134217728?(Pr=3,134217728):(C=805306368&g,C!==0?(Pr=2,C):1073741824&g?(Pr=1,1073741824):(Pr=8,g))))))}function pn(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 Cr(g){switch(g){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(c(358,g))}}function ln(g,C){var z=g.pendingLanes;if(z===0)return Pr=0;var ve=0,ke=0,ot=g.expiredLanes,Zt=g.suspendedLanes,ar=g.pingedLanes;if(ot!==0)ve=ot,ke=Pr=15;else if(ot=z&134217727,ot!==0){var P=ot&~Zt;P!==0?(ve=jr(P),ke=Pr):(ar&=ot,ar!==0&&(ve=jr(ar),ke=Pr))}else ot=z&~Zt,ot!==0?(ve=jr(ot),ke=Pr):ar!==0&&(ve=jr(ar),ke=Pr);if(ve===0)return 0;if(ve=31-hi(ve),ve=z&((0>ve?0:1<<ve)<<1)-1,C!==0&&C!==ve&&!(C&Zt)){if(jr(C),ke<=Pr)return C;Pr=ke}if(C=g.entangledLanes,C!==0)for(g=g.entanglements,C&=ve;0<C;)z=31-hi(C),ke=1<<z,ve|=g[z],C&=~ke;return ve}function rn(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function sn(g,C){switch(g){case 15:return 1;case 14:return 2;case 12:return g=wn(24&~C),g===0?sn(10,C):g;case 10:return g=wn(192&~C),g===0?sn(8,C):g;case 8:return g=wn(3584&~C),g===0&&(g=wn(4186112&~C),g===0&&(g=512)),g;case 2:return C=wn(805306368&~C),C===0&&(C=268435456),C}throw Error(c(358,g))}function wn(g){return g&-g}function pa(g){for(var C=[],z=0;31>z;z++)C.push(g);return C}function Ei(g,C,z){g.pendingLanes|=C;var ve=C-1;g.suspendedLanes&=ve,g.pingedLanes&=ve,g=g.eventTimes,C=31-hi(C),g[C]=z}var hi=Math.clz32?Math.clz32:Mi,mn=Math.log,ni=Math.LN2;function Mi(g){return g===0?32:31-(mn(g)/ni|0)|0}var ca=l.unstable_UserBlockingPriority,Ha=l.unstable_runWithPriority,Ta=!0;function fs(g,C,z,ve){Gr||Ir();var ke=Wa,ot=Gr;Gr=!0;try{Fe(ke,g,C,z,ve)}finally{(Gr=ot)||Mr()}}function Es(g,C,z,ve){Ha(ca,Wa.bind(null,g,C,z,ve))}function Wa(g,C,z,ve){if(Ta){var ke;if((ke=(C&4)===0)&&0<mi.length&&-1<It.indexOf(g))g=gt(null,g,C,z,ve),mi.push(g);else{var ot=pi(g,C,z,ve);if(ot===null)ke&&Oi(g,ve);else{if(ke){if(-1<It.indexOf(g)){g=gt(ot,g,C,z,ve),mi.push(g);return}if(vi(ot,g,C,z,ve))return;Oi(g,ve)}zr(g,C,ve,null,z)}}}}function pi(g,C,z,ve){var ke=Kt(ve);if(ke=Ka(ke),ke!==null){var ot=it(ke);if(ot===null)ke=null;else{var Zt=ot.tag;if(Zt===13){if(ke=Tr(ot),ke!==null)return ke;ke=null}else if(Zt===3){if(ot.stateNode.hydrate)return ot.tag===3?ot.stateNode.containerInfo:null;ke=null}else ot!==ke&&(ke=null)}}return zr(g,C,ve,ke,z),null}var ra=null,os=null,Ga=null;function Is(){if(Ga)return Ga;var g,C=os,z=C.length,ve,ke="value"in ra?ra.value:ra.textContent,ot=ke.length;for(g=0;g<z&&C[g]===ke[g];g++);var Zt=z-g;for(ve=1;ve<=Zt&&C[z-ve]===ke[ot-ve];ve++);return Ga=ke.slice(g,1<ve?1-ve:void 0)}function Vi(g){var C=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&C===13&&(g=13)):g=C,g===10&&(g=13),32<=g||g===13?g:0}function ms(){return!0}function bo(){return!1}function Fi(g){function C(z,ve,ke,ot,Zt){this._reactName=z,this._targetInst=ke,this.type=ve,this.nativeEvent=ot,this.target=Zt,this.currentTarget=null;for(var ar in g)g.hasOwnProperty(ar)&&(z=g[ar],this[ar]=z?z(ot):ot[ar]);return this.isDefaultPrevented=(ot.defaultPrevented!=null?ot.defaultPrevented:ot.returnValue===!1)?ms:bo,this.isPropagationStopped=bo,this}return i(C.prototype,{preventDefault:function(){this.defaultPrevented=!0;var z=this.nativeEvent;z&&(z.preventDefault?z.preventDefault():typeof z.returnValue!="unknown"&&(z.returnValue=!1),this.isDefaultPrevented=ms)},stopPropagation:function(){var z=this.nativeEvent;z&&(z.stopPropagation?z.stopPropagation():typeof z.cancelBubble!="unknown"&&(z.cancelBubble=!0),this.isPropagationStopped=ms)},persist:function(){},isPersistent:ms}),C}var vs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Na=Fi(vs),Ys=i({},vs,{view:0,detail:0}),In=Fi(Ys),$a,cs,ja,Ui=i({},Ys,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ua,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!==ja&&(ja&&g.type==="mousemove"?($a=g.screenX-ja.screenX,cs=g.screenY-ja.screenY):cs=$a=0,ja=g),$a)},movementY:function(g){return"movementY"in g?g.movementY:cs}}),Ra=Fi(Ui),Da=i({},Ui,{dataTransfer:0}),ws=Fi(Da),Xs=i({},Ys,{relatedTarget:0}),xo=Fi(Xs),ho=i({},vs,{animationName:0,elapsedTime:0,pseudoElement:0}),wa=Fi(ho),gs=i({},vs,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}}),Zs=Fi(gs),no=i({},vs,{data:0}),Eo=Fi(no),wo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},po={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"},ci={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function si(g){var C=this.nativeEvent;return C.getModifierState?C.getModifierState(g):(g=ci[g])?!!C[g]:!1}function Ua(){return si}var Qa=i({},Ys,{key:function(g){if(g.key){var C=wo[g.key]||g.key;if(C!=="Unidentified")return C}return g.type==="keypress"?(g=Vi(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?po[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ua,charCode:function(g){return g.type==="keypress"?Vi(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?Vi(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}}),qa=Fi(Qa),Qs=i({},Ui,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),qs=Fi(Qs),Qo=i({},Ys,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ua}),ds=Fi(Qo),Oo=i({},vs,{propertyName:0,elapsedTime:0,pseudoElement:0}),ko=Fi(Oo),Ho=i({},Ui,{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}),Su=Fi(Ho),So=[9,13,27,32],_o=a&&"CompositionEvent"in window,Js=null;a&&"documentMode"in document&&(Js=document.documentMode);var $u=a&&"TextEvent"in window&&!Js,Ro=a&&(!_o||Js&&8<Js&&11>=Js),Lo=" ",Hs=!1;function du(g,C){switch(g){case"keyup":return So.indexOf(C.keyCode)!==-1;case"keydown":return C.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jo(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var Ao=!1;function Bs(g,C){switch(g){case"compositionend":return jo(C);case"keypress":return C.which!==32?null:(Hs=!0,Lo);case"textInput":return g=C.data,g===Lo&&Hs?null:g;default:return null}}function Rs(g,C){if(Ao)return g==="compositionend"||!_o&&du(g,C)?(g=Is(),Ga=os=ra=null,Ao=!1,g):null;switch(g){case"paste":return null;case"keypress":if(!(C.ctrlKey||C.altKey||C.metaKey)||C.ctrlKey&&C.altKey){if(C.char&&1<C.char.length)return C.char;if(C.which)return String.fromCharCode(C.which)}return null;case"compositionend":return Ro&&C.locale!=="ko"?null:C.data;default:return null}}var hu={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 Au(g){var C=g&&g.nodeName&&g.nodeName.toLowerCase();return C==="input"?!!hu[g.type]:C==="textarea"}function tr(g,C,z,ve){et(ve),C=tn(C,"onChange"),0<C.length&&(z=new Na("onChange","change",null,z,ve),g.push({event:z,listeners:C}))}var hr=null,ur=null;function vr(g){Ke(g,0)}function wr(g){var C=io(g);if(tt(C))return g}function vn(g,C){if(g==="change")return C}var xn=!1;if(a){var Nn;if(a){var Rn="oninput"in document;if(!Rn){var Kn=document.createElement("div");Kn.setAttribute("oninput","return;"),Rn=typeof Kn.oninput=="function"}Nn=Rn}else Nn=!1;xn=Nn&&(!document.documentMode||9<document.documentMode)}function lr(){hr&&(hr.detachEvent("onpropertychange",Br),ur=hr=null)}function Br(g){if(g.propertyName==="value"&&wr(ur)){var C=[];if(tr(C,ur,g,Kt(g)),g=vr,Gr)g(C);else{Gr=!0;try{Nt(g,C)}finally{Gr=!1,Mr()}}}}function xr(g,C,z){g==="focusin"?(lr(),hr=C,ur=z,hr.attachEvent("onpropertychange",Br)):g==="focusout"&&lr()}function hn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return wr(ur)}function Wn(g,C){if(g==="click")return wr(C)}function lt(g,C){if(g==="input"||g==="change")return wr(C)}function Cn(g,C){return g===C&&(g!==0||1/g===1/C)||g!==g&&C!==C}var Yn=typeof Object.is=="function"?Object.is:Cn,ii=Object.prototype.hasOwnProperty;function Ki(g,C){if(Yn(g,C))return!0;if(typeof g!="object"||g===null||typeof C!="object"||C===null)return!1;var z=Object.keys(g),ve=Object.keys(C);if(z.length!==ve.length)return!1;for(ve=0;ve<z.length;ve++)if(!ii.call(C,z[ve])||!Yn(g[z[ve]],C[z[ve]]))return!1;return!0}function Nr(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function Wr(g,C){var z=Nr(g);g=0;for(var ve;z;){if(z.nodeType===3){if(ve=g+z.textContent.length,g<=C&&ve>=C)return{node:z,offset:C-g};g=ve}e:{for(;z;){if(z.nextSibling){z=z.nextSibling;break e}z=z.parentNode}z=void 0}z=Nr(z)}}function ma(g,C){return g&&C?g===C?!0:g&&g.nodeType===3?!1:C&&C.nodeType===3?ma(g,C.parentNode):"contains"in g?g.contains(C):g.compareDocumentPosition?!!(g.compareDocumentPosition(C)&16):!1:!1}function Ci(){for(var g=window,C=_t();C instanceof g.HTMLIFrameElement;){try{var z=typeof C.contentWindow.location.href=="string"}catch(ve){z=!1}if(z)g=C.contentWindow;else break;C=_t(g.document)}return C}function na(g){var C=g&&g.nodeName&&g.nodeName.toLowerCase();return C&&(C==="input"&&(g.type==="text"||g.type==="search"||g.type==="tel"||g.type==="url"||g.type==="password")||C==="textarea"||g.contentEditable==="true")}var Ds=a&&"documentMode"in document&&11>=document.documentMode,ai=null,Ws=null,Uo=null,Ls=!1;function va(g,C,z){var ve=z.window===z?z.document:z.nodeType===9?z:z.ownerDocument;Ls||ai==null||ai!==_t(ve)||(ve=ai,"selectionStart"in ve&&na(ve)?ve={start:ve.selectionStart,end:ve.selectionEnd}:(ve=(ve.ownerDocument&&ve.ownerDocument.defaultView||window).getSelection(),ve={anchorNode:ve.anchorNode,anchorOffset:ve.anchorOffset,focusNode:ve.focusNode,focusOffset:ve.focusOffset}),Uo&&Ki(Uo,ve)||(Uo=ve,ve=tn(Ws,"onSelect"),0<ve.length&&(C=new Na("onSelect","select",null,C,z),g.push({event:C,listeners:ve}),C.target=ai)))}Rr("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),Rr("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),Rr(ir,2);for(var Va="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),ys=0;ys<Va.length;ys++)st.set(Va[ys],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 Mn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ns=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mn));function $s(g,C,z){var ve=g.type||"unknown-event";g.currentTarget=z,gr(ve,C,void 0,g),g.currentTarget=null}function Ke(g,C){C=(C&4)!==0;for(var z=0;z<g.length;z++){var ve=g[z],ke=ve.event;ve=ve.listeners;e:{var ot=void 0;if(C)for(var Zt=ve.length-1;0<=Zt;Zt--){var ar=ve[Zt],P=ar.instance,t=ar.currentTarget;if(ar=ar.listener,P!==ot&&ke.isPropagationStopped())break e;$s(ke,ar,t),ot=P}else for(Zt=0;Zt<ve.length;Zt++){if(ar=ve[Zt],P=ar.instance,t=ar.currentTarget,ar=ar.listener,P!==ot&&ke.isPropagationStopped())break e;$s(ke,ar,t),ot=P}}}if(ut)throw g=ft,ut=!1,ft=null,g}function Xe(g,C){var z=ao(C),ve=g+"__bubble";z.has(ve)||(Lr(C,g,2,!1),z.add(ve))}var Bt="_reactListening"+Math.random().toString(36).slice(2);function Yt(g){g[Bt]||(g[Bt]=!0,f.forEach(function(C){Ns.has(C)||pr(C,!1,g,null),pr(C,!0,g,null)}))}function pr(g,C,z,ve){var ke=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,ot=z;if(g==="selectionchange"&&z.nodeType!==9&&(ot=z.ownerDocument),ve!==null&&!C&&Ns.has(g)){if(g!=="scroll")return;ke|=2,ot=ve}var Zt=ao(ot),ar=g+"__"+(C?"capture":"bubble");Zt.has(ar)||(C&&(ke|=4),Lr(ot,g,ke,C),Zt.add(ar))}function Lr(g,C,z,ve){var ke=st.get(C);switch(ke===void 0?2:ke){case 0:ke=fs;break;case 1:ke=Es;break;default:ke=Wa}z=ke.bind(null,C,z,g),ke=void 0,!$r||C!=="touchstart"&&C!=="touchmove"&&C!=="wheel"||(ke=!0),ve?ke!==void 0?g.addEventListener(C,z,{capture:!0,passive:ke}):g.addEventListener(C,z,!0):ke!==void 0?g.addEventListener(C,z,{passive:ke}):g.addEventListener(C,z,!1)}function zr(g,C,z,ve,ke){var ot=ve;if(!(C&1)&&!(C&2)&&ve!==null)e:for(;;){if(ve===null)return;var Zt=ve.tag;if(Zt===3||Zt===4){var ar=ve.stateNode.containerInfo;if(ar===ke||ar.nodeType===8&&ar.parentNode===ke)break;if(Zt===4)for(Zt=ve.return;Zt!==null;){var P=Zt.tag;if((P===3||P===4)&&(P=Zt.stateNode.containerInfo,P===ke||P.nodeType===8&&P.parentNode===ke))return;Zt=Zt.return}for(;ar!==null;){if(Zt=Ka(ar),Zt===null)return;if(P=Zt.tag,P===5||P===6){ve=ot=Zt;continue e}ar=ar.parentNode}}ve=ve.return}Fr(function(){var t=ot,n=Kt(z),s=[];e:{var m=xe.get(g);if(m!==void 0){var E=Na,T=g;switch(g){case"keypress":if(Vi(z)===0)break e;case"keydown":case"keyup":E=qa;break;case"focusin":T="focus",E=xo;break;case"focusout":T="blur",E=xo;break;case"beforeblur":case"afterblur":E=xo;break;case"click":if(z.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":E=Ra;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":E=ws;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":E=ds;break;case Ar:case Zr:case $e:E=wa;break;case Je:E=ko;break;case"scroll":E=In;break;case"wheel":E=Su;break;case"copy":case"cut":case"paste":E=Zs;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":E=qs}var U=(C&4)!==0,W=!U&&g==="scroll",N=U?m!==null?m+"Capture":null:m;U=[];for(var te=t,ce;te!==null;){ce=te;var be=ce.stateNode;if(ce.tag===5&&be!==null&&(ce=be,N!==null&&(be=mr(te,N),be!=null&&U.push(_n(te,be,ce)))),W)break;te=te.return}0<U.length&&(m=new E(m,T,null,z,n),s.push({event:m,listeners:U}))}}if(!(C&7)){e:{if(m=g==="mouseover"||g==="pointerover",E=g==="mouseout"||g==="pointerout",m&&!(C&16)&&(T=z.relatedTarget||z.fromElement)&&(Ka(T)||T[ki]))break e;if((E||m)&&(m=n.window===n?n:(m=n.ownerDocument)?m.defaultView||m.parentWindow:window,E?(T=z.relatedTarget||z.toElement,E=t,T=T?Ka(T):null,T!==null&&(W=it(T),T!==W||T.tag!==5&&T.tag!==6)&&(T=null)):(E=null,T=t),E!==T)){if(U=Ra,be="onMouseLeave",N="onMouseEnter",te="mouse",(g==="pointerout"||g==="pointerover")&&(U=qs,be="onPointerLeave",N="onPointerEnter",te="pointer"),W=E==null?m:io(E),ce=T==null?m:io(T),m=new U(be,te+"leave",E,z,n),m.target=W,m.relatedTarget=ce,be=null,Ka(n)===t&&(U=new U(N,te+"enter",T,z,n),U.target=ce,U.relatedTarget=W,be=U),W=be,E&&T)t:{for(U=E,N=T,te=0,ce=U;ce;ce=gn(ce))te++;for(ce=0,be=N;be;be=gn(be))ce++;for(;0<te-ce;)U=gn(U),te--;for(;0<ce-te;)N=gn(N),ce--;for(;te--;){if(U===N||N!==null&&U===N.alternate)break t;U=gn(U),N=gn(N)}U=null}else U=null;E!==null&&Xn(s,m,E,U,!1),T!==null&&W!==null&&Xn(s,W,T,U,!0)}}e:{if(m=t?io(t):window,E=m.nodeName&&m.nodeName.toLowerCase(),E==="select"||E==="input"&&m.type==="file")var Pe=vn;else if(Au(m))if(xn)Pe=lt;else{Pe=hn;var Se=xr}else(E=m.nodeName)&&E.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(Pe=Wn);if(Pe&&(Pe=Pe(g,t))){tr(s,Pe,z,n);break e}Se&&Se(g,m,t),g==="focusout"&&(Se=m._wrapperState)&&Se.controlled&&m.type==="number"&&He(m,"number",m.value)}switch(Se=t?io(t):window,g){case"focusin":(Au(Se)||Se.contentEditable==="true")&&(ai=Se,Ws=t,Uo=null);break;case"focusout":Uo=Ws=ai=null;break;case"mousedown":Ls=!0;break;case"contextmenu":case"mouseup":case"dragend":Ls=!1,va(s,z,n);break;case"selectionchange":if(Ds)break;case"keydown":case"keyup":va(s,z,n)}var at;if(_o)e:{switch(g){case"compositionstart":var rt="onCompositionStart";break e;case"compositionend":rt="onCompositionEnd";break e;case"compositionupdate":rt="onCompositionUpdate";break e}rt=void 0}else Ao?du(g,z)&&(rt="onCompositionEnd"):g==="keydown"&&z.keyCode===229&&(rt="onCompositionStart");rt&&(Ro&&z.locale!=="ko"&&(Ao||rt!=="onCompositionStart"?rt==="onCompositionEnd"&&Ao&&(at=Is()):(ra=n,os="value"in ra?ra.value:ra.textContent,Ao=!0)),Se=tn(t,rt),0<Se.length&&(rt=new Eo(rt,g,null,z,n),s.push({event:rt,listeners:Se}),at?rt.data=at:(at=jo(z),at!==null&&(rt.data=at)))),(at=$u?Bs(g,z):Rs(g,z))&&(t=tn(t,"onBeforeInput"),0<t.length&&(n=new Eo("onBeforeInput","beforeinput",null,z,n),s.push({event:n,listeners:t}),n.data=at))}Ke(s,C)})}function _n(g,C,z){return{instance:g,listener:C,currentTarget:z}}function tn(g,C){for(var z=C+"Capture",ve=[];g!==null;){var ke=g,ot=ke.stateNode;ke.tag===5&&ot!==null&&(ke=ot,ot=mr(g,z),ot!=null&&ve.unshift(_n(g,ot,ke)),ot=mr(g,C),ot!=null&&ve.push(_n(g,ot,ke))),g=g.return}return ve}function gn(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function Xn(g,C,z,ve,ke){for(var ot=C._reactName,Zt=[];z!==null&&z!==ve;){var ar=z,P=ar.alternate,t=ar.stateNode;if(P!==null&&P===ve)break;ar.tag===5&&t!==null&&(ar=t,ke?(P=mr(z,ot),P!=null&&Zt.unshift(_n(z,P,ar))):ke||(P=mr(z,ot),P!=null&&Zt.push(_n(z,P,ar)))),z=z.return}Zt.length!==0&&g.push({event:C,listeners:Zt})}function ei(){}var bi=null,wi=null;function zi(g,C){switch(g){case"button":case"input":case"select":case"textarea":return!!C.autoFocus}return!1}function Bi(g,C){return g==="textarea"||g==="option"||g==="noscript"||typeof C.children=="string"||typeof C.children=="number"||typeof C.dangerouslySetInnerHTML=="object"&&C.dangerouslySetInnerHTML!==null&&C.dangerouslySetInnerHTML.__html!=null}var xi=typeof setTimeout=="function"?setTimeout:void 0,ga=typeof clearTimeout=="function"?clearTimeout:void 0;function Ti(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function fi(g){for(;g!=null;g=g.nextSibling){var C=g.nodeType;if(C===1||C===3)break}return g}function oa(g){g=g.previousSibling;for(var C=0;g;){if(g.nodeType===8){var z=g.data;if(z==="$"||z==="$!"||z==="$?"){if(C===0)return g;C--}else z==="/$"&&C++}g=g.previousSibling}return null}var eo=0;function Ss(g){return{$$typeof:Z,toString:g,valueOf:g}}var Yi=Math.random().toString(36).slice(2),La="__reactFiber$"+Yi,ea="__reactProps$"+Yi,ki="__reactContainer$"+Yi,ba="__reactEvents$"+Yi;function Ka(g){var C=g[La];if(C)return C;for(var z=g.parentNode;z;){if(C=z[ki]||z[La]){if(z=C.alternate,C.child!==null||z!==null&&z.child!==null)for(g=oa(g);g!==null;){if(z=g[La])return z;g=oa(g)}return C}g=z,z=g.parentNode}return null}function Fa(g){return g=g[La]||g[ki],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function io(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function Ja(g){return g[ea]||null}function ao(g){var C=g[ba];return C===void 0&&(C=g[ba]=new Set),C}var es=[],js=-1;function ts(g){return{current:g}}function Zi(g){0>js||(g.current=es[js],es[js]=null,js--)}function Ba(g,C){js++,es[js]=g.current,g.current=C}var Os={},fa=ts(Os),ge=ts(!1),we=Os;function Sr(g,C){var z=g.type.contextTypes;if(!z)return Os;var ve=g.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===C)return ve.__reactInternalMemoizedMaskedChildContext;var ke={},ot;for(ot in z)ke[ot]=C[ot];return ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=C,g.__reactInternalMemoizedMaskedChildContext=ke),ke}function Jr(g){return g=g.childContextTypes,g!=null}function br(){Zi(ge),Zi(fa)}function Xr(g,C,z){if(fa.current!==Os)throw Error(c(168));Ba(fa,C),Ba(ge,z)}function En(g,C,z){var ve=g.stateNode;if(g=C.childContextTypes,typeof ve.getChildContext!="function")return z;ve=ve.getChildContext();for(var ke in ve)if(!(ke in g))throw Error(c(108,Wt(C)||"Unknown",ke));return i({},z,ve)}function Jn(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||Os,we=fa.current,Ba(fa,g),Ba(ge,ge.current),!0}function Ri(g,C,z){var ve=g.stateNode;if(!ve)throw Error(c(169));z?(g=En(g,C,we),ve.__reactInternalMemoizedMergedChildContext=g,Zi(ge),Zi(fa),Ba(fa,g)):Zi(ge),Ba(ge,z)}var Dn=null,On=null,Fn=l.unstable_runWithPriority,ua=l.unstable_scheduleCallback,Hi=l.unstable_cancelCallback,vo=l.unstable_shouldYield,so=l.unstable_requestPaint,ru=l.unstable_now,hl=l.unstable_getCurrentPriorityLevel,Yu=l.unstable_ImmediatePriority,pu=l.unstable_UserBlockingPriority,Tl=l.unstable_NormalPriority,_u=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,H={},X=so!==void 0?so:function(){},ne=null,he=null,Ae=!1,Ge=ru(),Pt=1e4>Ge?ru:function(){return ru()-Ge};function Ut(){switch(hl()){case Yu:return 99;case pu:return 98;case Tl:return 97;case _u:return 96;case Ve:return 95;default:throw Error(c(332))}}function sr(g){switch(g){case 99:return Yu;case 98:return pu;case 97:return Tl;case 96:return _u;case 95:return Ve;default:throw Error(c(332))}}function Er(g,C){return g=sr(g),Fn(g,C)}function Ht(g,C,z){return g=sr(g),ua(g,C,z)}function an(){if(he!==null){var g=he;he=null,Hi(g)}bn()}function bn(){if(!Ae&&ne!==null){Ae=!0;var g=0;try{var C=ne;Er(99,function(){for(;g<C.length;g++){var z=C[g];do z=z(!0);while(z!==null)}}),ne=null}catch(z){throw ne!==null&&(ne=ne.slice(g+1)),ua(Yu,an),z}finally{Ae=!1}}}var $n=j.ReactCurrentBatchConfig;function Un(g,C){if(g&&g.defaultProps){C=i({},C),g=g.defaultProps;for(var z in g)C[z]===void 0&&(C[z]=g[z]);return C}return C}var Si=ts(null),da=null,ia=null,la=null;function us(){la=ia=da=null}function za(g){var C=Si.current;Zi(Si),g.type._context._currentValue=C}function hs(g,C){for(;g!==null;){var z=g.alternate;if((g.childLanes&C)===C){if(z===null||(z.childLanes&C)===C)break;z.childLanes|=C}else g.childLanes|=C,z!==null&&(z.childLanes|=C);g=g.return}}function rs(g,C){da=g,la=ia=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&C&&(Ou=!0),g.firstContext=null)}function xa(g,C){if(la!==g&&C!==!1&&C!==0)if((typeof C!="number"||C===1073741823)&&(la=g,C=1073741823),C={context:g,observedBits:C,next:null},ia===null){if(da===null)throw Error(c(308));ia=C,da.dependencies={lanes:0,firstContext:C,responders:null}}else ia=ia.next=C;return g._currentValue}var Za=!1;function ks(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function _i(g,C){g=g.updateQueue,C.updateQueue===g&&(C.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function oo(g,C){return{eventTime:g,lane:C,tag:0,payload:null,callback:null,next:null}}function Co(g,C){if(g=g.updateQueue,g!==null){g=g.shared;var z=g.pending;z===null?C.next=C:(C.next=z.next,z.next=C),g.pending=C}}function Mo(g,C){var z=g.updateQueue,ve=g.alternate;if(ve!==null&&(ve=ve.updateQueue,z===ve)){var ke=null,ot=null;if(z=z.firstBaseUpdate,z!==null){do{var Zt={eventTime:z.eventTime,lane:z.lane,tag:z.tag,payload:z.payload,callback:z.callback,next:null};ot===null?ke=ot=Zt:ot=ot.next=Zt,z=z.next}while(z!==null);ot===null?ke=ot=C:ot=ot.next=C}else ke=ot=C;z={baseState:ve.baseState,firstBaseUpdate:ke,lastBaseUpdate:ot,shared:ve.shared,effects:ve.effects},g.updateQueue=z;return}g=z.lastBaseUpdate,g===null?z.firstBaseUpdate=C:g.next=C,z.lastBaseUpdate=C}function Ms(g,C,z,ve){var ke=g.updateQueue;Za=!1;var ot=ke.firstBaseUpdate,Zt=ke.lastBaseUpdate,ar=ke.shared.pending;if(ar!==null){ke.shared.pending=null;var P=ar,t=P.next;P.next=null,Zt===null?ot=t:Zt.next=t,Zt=P;var n=g.alternate;if(n!==null){n=n.updateQueue;var s=n.lastBaseUpdate;s!==Zt&&(s===null?n.firstBaseUpdate=t:s.next=t,n.lastBaseUpdate=P)}}if(ot!==null){s=ke.baseState,Zt=0,n=t=P=null;do{ar=ot.lane;var m=ot.eventTime;if((ve&ar)===ar){n!==null&&(n=n.next={eventTime:m,lane:0,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null});e:{var E=g,T=ot;switch(ar=C,m=z,T.tag){case 1:if(E=T.payload,typeof E=="function"){s=E.call(m,s,ar);break e}s=E;break e;case 3:E.flags=E.flags&-4097|64;case 0:if(E=T.payload,ar=typeof E=="function"?E.call(m,s,ar):E,ar==null)break e;s=i({},s,ar);break e;case 2:Za=!0}}ot.callback!==null&&(g.flags|=32,ar=ke.effects,ar===null?ke.effects=[ot]:ar.push(ot))}else m={eventTime:m,lane:ar,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null},n===null?(t=n=m,P=s):n=n.next=m,Zt|=ar;if(ot=ot.next,ot===null){if(ar=ke.shared.pending,ar===null)break;ot=ar.next,ar.next=null,ke.lastBaseUpdate=ar,ke.shared.pending=null}}while(!0);n===null&&(P=s),ke.baseState=P,ke.firstBaseUpdate=t,ke.lastBaseUpdate=n,co|=Zt,g.lanes=Zt,g.memoizedState=s}}function go(g,C,z){if(g=C.effects,C.effects=null,g!==null)for(C=0;C<g.length;C++){var ve=g[C],ke=ve.callback;if(ke!==null){if(ve.callback=null,ve=z,typeof ke!="function")throw Error(c(191,ke));ke.call(ve)}}}var ps=new r.Component().refs;function Xu(g,C,z,ve){C=g.memoizedState,z=z(ve,C),z=z==null?C:i({},C,z),g.memoizedState=z,g.lanes===0&&(g.updateQueue.baseState=z)}var ju={isMounted:function(g){return(g=g._reactInternals)?it(g)===g:!1},enqueueSetState:function(g,C,z){g=g._reactInternals;var ve=cu(),ke=Fu(g),ot=oo(ve,ke);ot.payload=C,z!=null&&(ot.callback=z),Co(g,ot),Sl(g,ke,ve)},enqueueReplaceState:function(g,C,z){g=g._reactInternals;var ve=cu(),ke=Fu(g),ot=oo(ve,ke);ot.tag=1,ot.payload=C,z!=null&&(ot.callback=z),Co(g,ot),Sl(g,ke,ve)},enqueueForceUpdate:function(g,C){g=g._reactInternals;var z=cu(),ve=Fu(g),ke=oo(z,ve);ke.tag=2,C!=null&&(ke.callback=C),Co(g,ke),Sl(g,ve,z)}};function Qu(g,C,z,ve,ke,ot,Zt){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ve,ot,Zt):C.prototype&&C.prototype.isPureReactComponent?!Ki(z,ve)||!Ki(ke,ot):!0}function uu(g,C,z){var ve=!1,ke=Os,ot=C.contextType;return typeof ot=="object"&&ot!==null?ot=xa(ot):(ke=Jr(C)?we:fa.current,ve=C.contextTypes,ot=(ve=ve!=null)?Sr(g,ke):Os),C=new C(z,ot),g.memoizedState=C.state!==null&&C.state!==void 0?C.state:null,C.updater=ju,g.stateNode=C,C._reactInternals=g,ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=ke,g.__reactInternalMemoizedMaskedChildContext=ot),C}function As(g,C,z,ve){g=C.state,typeof C.componentWillReceiveProps=="function"&&C.componentWillReceiveProps(z,ve),typeof C.UNSAFE_componentWillReceiveProps=="function"&&C.UNSAFE_componentWillReceiveProps(z,ve),C.state!==g&&ju.enqueueReplaceState(C,C.state,null)}function Uu(g,C,z,ve){var ke=g.stateNode;ke.props=z,ke.state=g.memoizedState,ke.refs=ps,ks(g);var ot=C.contextType;typeof ot=="object"&&ot!==null?ke.context=xa(ot):(ot=Jr(C)?we:fa.current,ke.context=Sr(g,ot)),Ms(g,z,ke,ve),ke.state=g.memoizedState,ot=C.getDerivedStateFromProps,typeof ot=="function"&&(Xu(g,C,ot,z),ke.state=g.memoizedState),typeof C.getDerivedStateFromProps=="function"||typeof ke.getSnapshotBeforeUpdate=="function"||typeof ke.UNSAFE_componentWillMount!="function"&&typeof ke.componentWillMount!="function"||(C=ke.state,typeof ke.componentWillMount=="function"&&ke.componentWillMount(),typeof ke.UNSAFE_componentWillMount=="function"&&ke.UNSAFE_componentWillMount(),C!==ke.state&&ju.enqueueReplaceState(ke,ke.state,null),Ms(g,z,ke,ve),ke.state=g.memoizedState),typeof ke.componentDidMount=="function"&&(g.flags|=4)}var Cu=Array.isArray;function yo(g,C,z){if(g=z.ref,g!==null&&typeof g!="function"&&typeof g!="object"){if(z._owner){if(z=z._owner,z){if(z.tag!==1)throw Error(c(309));var ve=z.stateNode}if(!ve)throw Error(c(147,g));var ke=""+g;return C!==null&&C.ref!==null&&typeof C.ref=="function"&&C.ref._stringRef===ke?C.ref:(C=function(ot){var Zt=ve.refs;Zt===ps&&(Zt=ve.refs={}),ot===null?delete Zt[ke]:Zt[ke]=ot},C._stringRef=ke,C)}if(typeof g!="string")throw Error(c(284));if(!z._owner)throw Error(c(290,g))}return g}function pl(g,C){if(g.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(C)==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":C))}function _l(g){function C(W,N){if(g){var te=W.lastEffect;te!==null?(te.nextEffect=N,W.lastEffect=N):W.firstEffect=W.lastEffect=N,N.nextEffect=null,N.flags=8}}function z(W,N){if(!g)return null;for(;N!==null;)C(W,N),N=N.sibling;return null}function ve(W,N){for(W=new Map;N!==null;)N.key!==null?W.set(N.key,N):W.set(N.index,N),N=N.sibling;return W}function ke(W,N){return W=fl(W,N),W.index=0,W.sibling=null,W}function ot(W,N,te){return W.index=te,g?(te=W.alternate,te!==null?(te=te.index,te<N?(W.flags=2,N):te):(W.flags=2,N)):N}function Zt(W){return g&&W.alternate===null&&(W.flags=2),W}function ar(W,N,te,ce){return N===null||N.tag!==6?(N=_f(te,W.mode,ce),N.return=W,N):(N=ke(N,te),N.return=W,N)}function P(W,N,te,ce){return N!==null&&N.elementType===te.type?(ce=ke(N,te.props),ce.ref=yo(W,N,te),ce.return=W,ce):(ce=jl(te.type,te.key,te.props,null,W.mode,ce),ce.ref=yo(W,N,te),ce.return=W,ce)}function t(W,N,te,ce){return N===null||N.tag!==4||N.stateNode.containerInfo!==te.containerInfo||N.stateNode.implementation!==te.implementation?(N=Lc(te,W.mode,ce),N.return=W,N):(N=ke(N,te.children||[]),N.return=W,N)}function n(W,N,te,ce,be){return N===null||N.tag!==7?(N=Yo(te,W.mode,ce,be),N.return=W,N):(N=ke(N,te),N.return=W,N)}function s(W,N,te){if(typeof N=="string"||typeof N=="number")return N=_f(""+N,W.mode,te),N.return=W,N;if(typeof N=="object"&&N!==null){switch(N.$$typeof){case Y:return te=jl(N.type,N.key,N.props,null,W.mode,te),te.ref=yo(W,null,N),te.return=W,te;case V:return N=Lc(N,W.mode,te),N.return=W,N}if(Cu(N)||Ze(N))return N=Yo(N,W.mode,te,null),N.return=W,N;pl(W,N)}return null}function m(W,N,te,ce){var be=N!==null?N.key:null;if(typeof te=="string"||typeof te=="number")return be!==null?null:ar(W,N,""+te,ce);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case Y:return te.key===be?te.type===G?n(W,N,te.props.children,ce,be):P(W,N,te,ce):null;case V:return te.key===be?t(W,N,te,ce):null}if(Cu(te)||Ze(te))return be!==null?null:n(W,N,te,ce,null);pl(W,te)}return null}function E(W,N,te,ce,be){if(typeof ce=="string"||typeof ce=="number")return W=W.get(te)||null,ar(N,W,""+ce,be);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case Y:return W=W.get(ce.key===null?te:ce.key)||null,ce.type===G?n(N,W,ce.props.children,be,ce.key):P(N,W,ce,be);case V:return W=W.get(ce.key===null?te:ce.key)||null,t(N,W,ce,be)}if(Cu(ce)||Ze(ce))return W=W.get(te)||null,n(N,W,ce,be,null);pl(N,ce)}return null}function T(W,N,te,ce){for(var be=null,Pe=null,Se=N,at=N=0,rt=null;Se!==null&&at<te.length;at++){Se.index>at?(rt=Se,Se=null):rt=Se.sibling;var Mt=m(W,Se,te[at],ce);if(Mt===null){Se===null&&(Se=rt);break}g&&Se&&Mt.alternate===null&&C(W,Se),N=ot(Mt,N,at),Pe===null?be=Mt:Pe.sibling=Mt,Pe=Mt,Se=rt}if(at===te.length)return z(W,Se),be;if(Se===null){for(;at<te.length;at++)Se=s(W,te[at],ce),Se!==null&&(N=ot(Se,N,at),Pe===null?be=Se:Pe.sibling=Se,Pe=Se);return be}for(Se=ve(W,Se);at<te.length;at++)rt=E(Se,W,at,te[at],ce),rt!==null&&(g&&rt.alternate!==null&&Se.delete(rt.key===null?at:rt.key),N=ot(rt,N,at),Pe===null?be=rt:Pe.sibling=rt,Pe=rt);return g&&Se.forEach(function(fr){return C(W,fr)}),be}function U(W,N,te,ce){var be=Ze(te);if(typeof be!="function")throw Error(c(150));if(te=be.call(te),te==null)throw Error(c(151));for(var Pe=be=null,Se=N,at=N=0,rt=null,Mt=te.next();Se!==null&&!Mt.done;at++,Mt=te.next()){Se.index>at?(rt=Se,Se=null):rt=Se.sibling;var fr=m(W,Se,Mt.value,ce);if(fr===null){Se===null&&(Se=rt);break}g&&Se&&fr.alternate===null&&C(W,Se),N=ot(fr,N,at),Pe===null?be=fr:Pe.sibling=fr,Pe=fr,Se=rt}if(Mt.done)return z(W,Se),be;if(Se===null){for(;!Mt.done;at++,Mt=te.next())Mt=s(W,Mt.value,ce),Mt!==null&&(N=ot(Mt,N,at),Pe===null?be=Mt:Pe.sibling=Mt,Pe=Mt);return be}for(Se=ve(W,Se);!Mt.done;at++,Mt=te.next())Mt=E(Se,W,at,Mt.value,ce),Mt!==null&&(g&&Mt.alternate!==null&&Se.delete(Mt.key===null?at:Mt.key),N=ot(Mt,N,at),Pe===null?be=Mt:Pe.sibling=Mt,Pe=Mt);return g&&Se.forEach(function(or){return C(W,or)}),be}return function(W,N,te,ce){var be=typeof te=="object"&&te!==null&&te.type===G&&te.key===null;be&&(te=te.props.children);var Pe=typeof te=="object"&&te!==null;if(Pe)switch(te.$$typeof){case Y:e:{for(Pe=te.key,be=N;be!==null;){if(be.key===Pe){switch(be.tag){case 7:if(te.type===G){z(W,be.sibling),N=ke(be,te.props.children),N.return=W,W=N;break e}break;default:if(be.elementType===te.type){z(W,be.sibling),N=ke(be,te.props),N.ref=yo(W,be,te),N.return=W,W=N;break e}}z(W,be);break}else C(W,be);be=be.sibling}te.type===G?(N=Yo(te.props.children,W.mode,ce,te.key),N.return=W,W=N):(ce=jl(te.type,te.key,te.props,null,W.mode,ce),ce.ref=yo(W,N,te),ce.return=W,W=ce)}return Zt(W);case V:e:{for(be=te.key;N!==null;){if(N.key===be)if(N.tag===4&&N.stateNode.containerInfo===te.containerInfo&&N.stateNode.implementation===te.implementation){z(W,N.sibling),N=ke(N,te.children||[]),N.return=W,W=N;break e}else{z(W,N);break}else C(W,N);N=N.sibling}N=Lc(te,W.mode,ce),N.return=W,W=N}return Zt(W)}if(typeof te=="string"||typeof te=="number")return te=""+te,N!==null&&N.tag===6?(z(W,N.sibling),N=ke(N,te),N.return=W,W=N):(z(W,N),N=_f(te,W.mode,ce),N.return=W,W=N),Zt(W);if(Cu(te))return T(W,N,te,ce);if(Ze(te))return U(W,N,te,ce);if(Pe&&pl(W,te),typeof te=="undefined"&&!be)switch(W.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Wt(W.type)||"Component"))}return z(W,N)}}var qo=_l(!0),ml=_l(!1),Gs={},To=ts(Gs),mu=ts(Gs),Wl=ts(Gs);function Tu(g){if(g===Gs)throw Error(c(174));return g}function lc(g,C){switch(Ba(Wl,C),Ba(mu,g),Ba(To,Gs),g=C.nodeType,g){case 9:case 11:C=(C=C.documentElement)?C.namespaceURI:Rt(null,"");break;default:g=g===8?C.parentNode:C,C=g.namespaceURI||null,g=g.tagName,C=Rt(C,g)}Zi(To),Ba(To,C)}function Pl(){Zi(To),Zi(mu),Zi(Wl)}function ri(g){Tu(Wl.current);var C=Tu(To.current),z=Rt(C,g.type);C!==z&&(Ba(mu,g),Ba(To,z))}function xc(g){mu.current===g&&(Zi(To),Zi(mu))}var to=ts(0);function Ec(g){for(var C=g;C!==null;){if(C.tag===13){var z=C.memoizedState;if(z!==null&&(z=z.dehydrated,z===null||z.data==="$?"||z.data==="$!"))return C}else if(C.tag===19&&C.memoizedProps.revealOrder!==void 0){if(C.flags&64)return C}else if(C.child!==null){C.child.return=C,C=C.child;continue}if(C===g)break;for(;C.sibling===null;){if(C.return===null||C.return===g)return null;C=C.return}C.sibling.return=C.return,C=C.sibling}return null}var Jo=null,Pu=null,qu=!1;function zo(g,C){var z=Ko(5,null,null,0);z.elementType="DELETED",z.type="DELETED",z.stateNode=C,z.return=g,z.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=z,g.lastEffect=z):g.firstEffect=g.lastEffect=z}function jc(g,C){switch(g.tag){case 5:var z=g.type;return C=C.nodeType!==1||z.toLowerCase()!==C.nodeName.toLowerCase()?null:C,C!==null?(g.stateNode=C,!0):!1;case 6:return C=g.pendingProps===""||C.nodeType!==3?null:C,C!==null?(g.stateNode=C,!0):!1;case 13:return!1;default:return!1}}function mo(g){if(qu){var C=Pu;if(C){var z=C;if(!jc(g,C)){if(C=fi(z.nextSibling),!C||!jc(g,C)){g.flags=g.flags&-1025|2,qu=!1,Jo=g;return}zo(Jo,z)}Jo=g,Pu=fi(C.firstChild)}else g.flags=g.flags&-1025|2,qu=!1,Jo=g}}function lf(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;Jo=g}function cf(g){if(g!==Jo)return!1;if(!qu)return lf(g),qu=!0,!1;var C=g.type;if(g.tag!==5||C!=="head"&&C!=="body"&&!Bi(C,g.memoizedProps))for(C=Pu;C;)zo(g,C),C=fi(C.nextSibling);if(lf(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));e:{for(g=g.nextSibling,C=0;g;){if(g.nodeType===8){var z=g.data;if(z==="/$"){if(C===0){Pu=fi(g.nextSibling);break e}C--}else z!=="$"&&z!=="$!"&&z!=="$?"||C++}g=g.nextSibling}Pu=null}}else Pu=Jo?fi(g.stateNode.nextSibling):null;return!0}function Uc(){Pu=Jo=null,qu=!1}var Il=[];function vl(){for(var g=0;g<Il.length;g++)Il[g]._workInProgressVersionPrimary=null;Il.length=0}var Dl=j.ReactCurrentDispatcher,Fo=j.ReactCurrentBatchConfig,Ol=0,Us=null,Bo=null,Fs=null,Gl=!1,gl=!1;function nu(){throw Error(c(321))}function wc(g,C){if(C===null)return!1;for(var z=0;z<C.length&&z<g.length;z++)if(!Yn(g[z],C[z]))return!1;return!0}function Sc(g,C,z,ve,ke,ot){if(Ol=ot,Us=C,C.memoizedState=null,C.updateQueue=null,C.lanes=0,Dl.current=g===null||g.memoizedState===null?uo:Xl,g=z(ve,ke),gl){ot=0;do{if(gl=!1,!(25>ot))throw Error(c(301));ot+=1,Fs=Bo=null,C.updateQueue=null,Dl.current=Tc,g=z(ve,ke)}while(gl)}if(Dl.current=Yl,C=Bo!==null&&Bo.next!==null,Ol=0,Fs=Bo=Us=null,Gl=!1,C)throw Error(c(300));return g}function iu(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fs===null?Us.memoizedState=Fs=g:Fs=Fs.next=g,Fs}function kl(){if(Bo===null){var g=Us.alternate;g=g!==null?g.memoizedState:null}else g=Bo.next;var C=Fs===null?Us.memoizedState:Fs.next;if(C!==null)Fs=C,Bo=g;else{if(g===null)throw Error(c(310));Bo=g,g={memoizedState:Bo.memoizedState,baseState:Bo.baseState,baseQueue:Bo.baseQueue,queue:Bo.queue,next:null},Fs===null?Us.memoizedState=Fs=g:Fs=Fs.next=g}return Fs}function vu(g,C){return typeof C=="function"?C(g):C}function cc(g){var C=kl(),z=C.queue;if(z===null)throw Error(c(311));z.lastRenderedReducer=g;var ve=Bo,ke=ve.baseQueue,ot=z.pending;if(ot!==null){if(ke!==null){var Zt=ke.next;ke.next=ot.next,ot.next=Zt}ve.baseQueue=ke=ot,z.pending=null}if(ke!==null){ke=ke.next,ve=ve.baseState;var ar=Zt=ot=null,P=ke;do{var t=P.lane;if((Ol&t)===t)ar!==null&&(ar=ar.next={lane:0,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null}),ve=P.eagerReducer===g?P.eagerState:g(ve,P.action);else{var n={lane:t,action:P.action,eagerReducer:P.eagerReducer,eagerState:P.eagerState,next:null};ar===null?(Zt=ar=n,ot=ve):ar=ar.next=n,Us.lanes|=t,co|=t}P=P.next}while(P!==null&&P!==ke);ar===null?ot=ve:ar.next=Zt,Yn(ve,C.memoizedState)||(Ou=!0),C.memoizedState=ve,C.baseState=ot,C.baseQueue=ar,z.lastRenderedState=ve}return[C.memoizedState,z.dispatch]}function Ju(g){var C=kl(),z=C.queue;if(z===null)throw Error(c(311));z.lastRenderedReducer=g;var ve=z.dispatch,ke=z.pending,ot=C.memoizedState;if(ke!==null){z.pending=null;var Zt=ke=ke.next;do ot=g(ot,Zt.action),Zt=Zt.next;while(Zt!==ke);Yn(ot,C.memoizedState)||(Ou=!0),C.memoizedState=ot,C.baseQueue===null&&(C.baseState=ot),z.lastRenderedState=ot}return[ot,ve]}function ka(g,C,z){var ve=C._getVersion;ve=ve(C._source);var ke=C._workInProgressVersionPrimary;if(ke!==null?g=ke===ve:(g=g.mutableReadLanes,(g=(Ol&g)===g)&&(C._workInProgressVersionPrimary=ve,Il.push(C))),g)return z(C._source);throw Il.push(C),Error(c(350))}function zc(g,C,z,ve){var ke=qr;if(ke===null)throw Error(c(349));var ot=C._getVersion,Zt=ot(C._source),ar=Dl.current,P=ar.useState(function(){return ka(ke,C,z)}),t=P[1],n=P[0];P=Fs;var s=g.memoizedState,m=s.refs,E=m.getSnapshot,T=s.source;s=s.subscribe;var U=Us;return g.memoizedState={refs:m,source:C,subscribe:ve},ar.useEffect(function(){m.getSnapshot=z,m.setSnapshot=t;var W=ot(C._source);if(!Yn(Zt,W)){W=z(C._source),Yn(n,W)||(t(W),W=Fu(U),ke.mutableReadLanes|=W&ke.pendingLanes),W=ke.mutableReadLanes,ke.entangledLanes|=W;for(var N=ke.entanglements,te=W;0<te;){var ce=31-hi(te),be=1<<ce;N[ce]|=W,te&=~be}}},[z,C,ve]),ar.useEffect(function(){return ve(C._source,function(){var W=m.getSnapshot,N=m.setSnapshot;try{N(W(C._source));var te=Fu(U);ke.mutableReadLanes|=te&ke.pendingLanes}catch(ce){N(function(){throw ce})}})},[C,ve]),Yn(E,z)&&Yn(T,C)&&Yn(s,ve)||(g={pending:null,dispatch:null,lastRenderedReducer:vu,lastRenderedState:n},g.dispatch=t=Gc.bind(null,Us,g),P.queue=g,P.baseQueue=null,n=ka(ke,C,z),P.memoizedState=P.baseState=n),n}function Zc(g,C,z){var ve=kl();return zc(ve,g,C,z)}function zu(g){var C=iu();return typeof g=="function"&&(g=g()),C.memoizedState=C.baseState=g,g=C.queue={pending:null,dispatch:null,lastRenderedReducer:vu,lastRenderedState:g},g=g.dispatch=Gc.bind(null,Us,g),[C.memoizedState,g]}function Ac(g,C,z,ve){return g={tag:g,create:C,destroy:z,deps:ve,next:null},C=Us.updateQueue,C===null?(C={lastEffect:null},Us.updateQueue=C,C.lastEffect=g.next=g):(z=C.lastEffect,z===null?C.lastEffect=g.next=g:(ve=z.next,z.next=g,g.next=ve,C.lastEffect=g)),g}function ff(g){var C=iu();return g={current:g},C.memoizedState=g}function fc(){return kl().memoizedState}function au(g,C,z,ve){var ke=iu();Us.flags|=g,ke.memoizedState=Ac(1|C,z,void 0,ve===void 0?null:ve)}function Hc(g,C,z,ve){var ke=kl();ve=ve===void 0?null:ve;var ot=void 0;if(Bo!==null){var Zt=Bo.memoizedState;if(ot=Zt.destroy,ve!==null&&wc(ve,Zt.deps)){Ac(C,z,ot,ve);return}}Us.flags|=g,ke.memoizedState=Ac(1|C,z,ot,ve)}function Vl(g,C){return au(516,4,g,C)}function yl(g,C){return Hc(516,4,g,C)}function Wc(g,C){return Hc(4,2,g,C)}function Kl(g,C){if(typeof C=="function")return g=g(),C(g),function(){C(null)};if(C!=null)return g=g(),C.current=g,function(){C.current=null}}function Wo(g,C,z){return z=z!=null?z.concat([g]):null,Hc(4,2,Kl.bind(null,C,g),z)}function Iu(){}function dc(g,C){var z=kl();C=C===void 0?null:C;var ve=z.memoizedState;return ve!==null&&C!==null&&wc(C,ve[1])?ve[0]:(z.memoizedState=[g,C],g)}function Zu(g,C){var z=kl();C=C===void 0?null:C;var ve=z.memoizedState;return ve!==null&&C!==null&&wc(C,ve[1])?ve[0]:(g=g(),z.memoizedState=[g,C],g)}function Cc(g,C){var z=Ut();Er(98>z?98:z,function(){g(!0)}),Er(97<z?97:z,function(){var ve=Fo.transition;Fo.transition=1;try{g(!1),C()}finally{Fo.transition=ve}})}function Gc(g,C,z){var ve=cu(),ke=Fu(g),ot={lane:ke,action:z,eagerReducer:null,eagerState:null,next:null},Zt=C.pending;if(Zt===null?ot.next=ot:(ot.next=Zt.next,Zt.next=ot),C.pending=ot,Zt=g.alternate,g===Us||Zt!==null&&Zt===Us)gl=Gl=!0;else{if(g.lanes===0&&(Zt===null||Zt.lanes===0)&&(Zt=C.lastRenderedReducer,Zt!==null))try{var ar=C.lastRenderedState,P=Zt(ar,z);if(ot.eagerReducer=Zt,ot.eagerState=P,Yn(P,ar))return}catch(t){}finally{}Sl(g,ke,ve)}}var Yl={readContext:xa,useCallback:nu,useContext:nu,useEffect:nu,useImperativeHandle:nu,useLayoutEffect:nu,useMemo:nu,useReducer:nu,useRef:nu,useState:nu,useDebugValue:nu,useDeferredValue:nu,useTransition:nu,useMutableSource:nu,useOpaqueIdentifier:nu,unstable_isNewReconciler:!1},uo={readContext:xa,useCallback:function(g,C){return iu().memoizedState=[g,C===void 0?null:C],g},useContext:xa,useEffect:Vl,useImperativeHandle:function(g,C,z){return z=z!=null?z.concat([g]):null,au(4,2,Kl.bind(null,C,g),z)},useLayoutEffect:function(g,C){return au(4,2,g,C)},useMemo:function(g,C){var z=iu();return C=C===void 0?null:C,g=g(),z.memoizedState=[g,C],g},useReducer:function(g,C,z){var ve=iu();return C=z!==void 0?z(C):C,ve.memoizedState=ve.baseState=C,g=ve.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:C},g=g.dispatch=Gc.bind(null,Us,g),[ve.memoizedState,g]},useRef:ff,useState:zu,useDebugValue:Iu,useDeferredValue:function(g){var C=zu(g),z=C[0],ve=C[1];return Vl(function(){var ke=Fo.transition;Fo.transition=1;try{ve(g)}finally{Fo.transition=ke}},[g]),z},useTransition:function(){var g=zu(!1),C=g[0];return g=Cc.bind(null,g[1]),ff(g),[g,C]},useMutableSource:function(g,C,z){var ve=iu();return ve.memoizedState={refs:{getSnapshot:C,setSnapshot:null},source:g,subscribe:z},zc(ve,g,C,z)},useOpaqueIdentifier:function(){if(qu){var g=!1,C=Ss(function(){throw g||(g=!0,z("r:"+(eo++).toString(36))),Error(c(355))}),z=zu(C)[1];return!(Us.mode&2)&&(Us.flags|=516,Ac(5,function(){z("r:"+(eo++).toString(36))},void 0,null)),C}return C="r:"+(eo++).toString(36),zu(C),C},unstable_isNewReconciler:!1},Xl={readContext:xa,useCallback:dc,useContext:xa,useEffect:yl,useImperativeHandle:Wo,useLayoutEffect:Wc,useMemo:Zu,useReducer:cc,useRef:fc,useState:function(){return cc(vu)},useDebugValue:Iu,useDeferredValue:function(g){var C=cc(vu),z=C[0],ve=C[1];return yl(function(){var ke=Fo.transition;Fo.transition=1;try{ve(g)}finally{Fo.transition=ke}},[g]),z},useTransition:function(){var g=cc(vu)[0];return[fc().current,g]},useMutableSource:Zc,useOpaqueIdentifier:function(){return cc(vu)[0]},unstable_isNewReconciler:!1},Tc={readContext:xa,useCallback:dc,useContext:xa,useEffect:yl,useImperativeHandle:Wo,useLayoutEffect:Wc,useMemo:Zu,useReducer:Ju,useRef:fc,useState:function(){return Ju(vu)},useDebugValue:Iu,useDeferredValue:function(g){var C=Ju(vu),z=C[0],ve=C[1];return yl(function(){var ke=Fo.transition;Fo.transition=1;try{ve(g)}finally{Fo.transition=ke}},[g]),z},useTransition:function(){var g=Ju(vu)[0];return[fc().current,g]},useMutableSource:Zc,useOpaqueIdentifier:function(){return Ju(vu)[0]},unstable_isNewReconciler:!1},Du=j.ReactCurrentOwner,Ou=!1;function lo(g,C,z,ve){C.child=g===null?ml(C,null,z,ve):qo(C,g.child,z,ve)}function el(g,C,z,ve,ke){z=z.render;var ot=C.ref;return rs(C,ke),ve=Sc(g,C,z,ve,ot,ke),g!==null&&!Ou?(C.updateQueue=g.updateQueue,C.flags&=-517,g.lanes&=~ke,yu(g,C,ke)):(C.flags|=1,lo(g,C,ve,ke),C.child)}function df(g,C,z,ve,ke,ot){if(g===null){var Zt=z.type;return typeof Zt=="function"&&!rf(Zt)&&Zt.defaultProps===void 0&&z.compare===null&&z.defaultProps===void 0?(C.tag=15,C.type=Zt,Pc(g,C,Zt,ve,ke,ot)):(g=jl(z.type,null,ve,C,C.mode,ot),g.ref=C.ref,g.return=C,C.child=g)}return Zt=g.child,!(ke&ot)&&(ke=Zt.memoizedProps,z=z.compare,z=z!==null?z:Ki,z(ke,ve)&&g.ref===C.ref)?yu(g,C,ot):(C.flags|=1,g=fl(Zt,ve),g.ref=C.ref,g.return=C,C.child=g)}function Pc(g,C,z,ve,ke,ot){if(g!==null&&Ki(g.memoizedProps,ve)&&g.ref===C.ref)if(Ou=!1,(ot&ke)!==0)g.flags&16384&&(Ou=!0);else return C.lanes=g.lanes,yu(g,C,ot);return Po(g,C,z,ve,ot)}function Vc(g,C,z){var ve=C.pendingProps,ke=ve.children,ot=g!==null?g.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(C.mode&4))C.memoizedState={baseLanes:0},Wi(C,z);else if(z&1073741824)C.memoizedState={baseLanes:0},Wi(C,ot!==null?ot.baseLanes:z);else return g=ot!==null?ot.baseLanes|z:z,C.lanes=C.childLanes=1073741824,C.memoizedState={baseLanes:g},Wi(C,g),null;else ot!==null?(ve=ot.baseLanes|z,C.memoizedState=null):ve=z,Wi(C,ve);return lo(g,C,ke,z),C.child}function bl(g,C){var z=C.ref;(g===null&&z!==null||g!==null&&g.ref!==z)&&(C.flags|=128)}function Po(g,C,z,ve,ke){var ot=Jr(z)?we:fa.current;return ot=Sr(C,ot),rs(C,ke),z=Sc(g,C,z,ve,ot,ke),g!==null&&!Ou?(C.updateQueue=g.updateQueue,C.flags&=-517,g.lanes&=~ke,yu(g,C,ke)):(C.flags|=1,lo(g,C,z,ke),C.child)}function Rl(g,C,z,ve,ke){if(Jr(z)){var ot=!0;Jn(C)}else ot=!1;if(rs(C,ke),C.stateNode===null)g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),uu(C,z,ve),Uu(C,z,ve,ke),ve=!0;else if(g===null){var Zt=C.stateNode,ar=C.memoizedProps;Zt.props=ar;var P=Zt.context,t=z.contextType;typeof t=="object"&&t!==null?t=xa(t):(t=Jr(z)?we:fa.current,t=Sr(C,t));var n=z.getDerivedStateFromProps,s=typeof n=="function"||typeof Zt.getSnapshotBeforeUpdate=="function";s||typeof Zt.UNSAFE_componentWillReceiveProps!="function"&&typeof Zt.componentWillReceiveProps!="function"||(ar!==ve||P!==t)&&As(C,Zt,ve,t),Za=!1;var m=C.memoizedState;Zt.state=m,Ms(C,ve,Zt,ke),P=C.memoizedState,ar!==ve||m!==P||ge.current||Za?(typeof n=="function"&&(Xu(C,z,n,ve),P=C.memoizedState),(ar=Za||Qu(C,z,ar,ve,m,P,t))?(s||typeof Zt.UNSAFE_componentWillMount!="function"&&typeof Zt.componentWillMount!="function"||(typeof Zt.componentWillMount=="function"&&Zt.componentWillMount(),typeof Zt.UNSAFE_componentWillMount=="function"&&Zt.UNSAFE_componentWillMount()),typeof Zt.componentDidMount=="function"&&(C.flags|=4)):(typeof Zt.componentDidMount=="function"&&(C.flags|=4),C.memoizedProps=ve,C.memoizedState=P),Zt.props=ve,Zt.state=P,Zt.context=t,ve=ar):(typeof Zt.componentDidMount=="function"&&(C.flags|=4),ve=!1)}else{Zt=C.stateNode,_i(g,C),ar=C.memoizedProps,t=C.type===C.elementType?ar:Un(C.type,ar),Zt.props=t,s=C.pendingProps,m=Zt.context,P=z.contextType,typeof P=="object"&&P!==null?P=xa(P):(P=Jr(z)?we:fa.current,P=Sr(C,P));var E=z.getDerivedStateFromProps;(n=typeof E=="function"||typeof Zt.getSnapshotBeforeUpdate=="function")||typeof Zt.UNSAFE_componentWillReceiveProps!="function"&&typeof Zt.componentWillReceiveProps!="function"||(ar!==s||m!==P)&&As(C,Zt,ve,P),Za=!1,m=C.memoizedState,Zt.state=m,Ms(C,ve,Zt,ke);var T=C.memoizedState;ar!==s||m!==T||ge.current||Za?(typeof E=="function"&&(Xu(C,z,E,ve),T=C.memoizedState),(t=Za||Qu(C,z,t,ve,m,T,P))?(n||typeof Zt.UNSAFE_componentWillUpdate!="function"&&typeof Zt.componentWillUpdate!="function"||(typeof Zt.componentWillUpdate=="function"&&Zt.componentWillUpdate(ve,T,P),typeof Zt.UNSAFE_componentWillUpdate=="function"&&Zt.UNSAFE_componentWillUpdate(ve,T,P)),typeof Zt.componentDidUpdate=="function"&&(C.flags|=4),typeof Zt.getSnapshotBeforeUpdate=="function"&&(C.flags|=256)):(typeof Zt.componentDidUpdate!="function"||ar===g.memoizedProps&&m===g.memoizedState||(C.flags|=4),typeof Zt.getSnapshotBeforeUpdate!="function"||ar===g.memoizedProps&&m===g.memoizedState||(C.flags|=256),C.memoizedProps=ve,C.memoizedState=T),Zt.props=ve,Zt.state=T,Zt.context=P,ve=t):(typeof Zt.componentDidUpdate!="function"||ar===g.memoizedProps&&m===g.memoizedState||(C.flags|=4),typeof Zt.getSnapshotBeforeUpdate!="function"||ar===g.memoizedProps&&m===g.memoizedState||(C.flags|=256),ve=!1)}return je(g,C,z,ve,ot,ke)}function je(g,C,z,ve,ke,ot){bl(g,C);var Zt=(C.flags&64)!==0;if(!ve&&!Zt)return ke&&Ri(C,z,!1),yu(g,C,ot);ve=C.stateNode,Du.current=C;var ar=Zt&&typeof z.getDerivedStateFromError!="function"?null:ve.render();return C.flags|=1,g!==null&&Zt?(C.child=qo(C,g.child,null,ot),C.child=qo(C,null,ar,ot)):lo(g,C,ar,ot),C.memoizedState=ve.state,ke&&Ri(C,z,!0),C.child}function gu(g){var C=g.stateNode;C.pendingContext?Xr(g,C.pendingContext,C.pendingContext!==C.context):C.context&&Xr(g,C.context,!1),lc(g,C.containerInfo)}var eu={dehydrated:null,retryLane:0};function Ll(g,C,z){var ve=C.pendingProps,ke=to.current,ot=!1,Zt;return(Zt=(C.flags&64)!==0)||(Zt=g!==null&&g.memoizedState===null?!1:(ke&2)!==0),Zt?(ot=!0,C.flags&=-65):g!==null&&g.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(ke|=1),Ba(to,ke&1),g===null?(ve.fallback!==void 0&&mo(C),g=ve.children,ke=ve.fallback,ot?(g=No(C,g,ke,z),C.child.memoizedState={baseLanes:z},C.memoizedState=eu,g):typeof ve.unstable_expectedLoadTime=="number"?(g=No(C,g,ke,z),C.child.memoizedState={baseLanes:z},C.memoizedState=eu,C.lanes=33554432,g):(z=yc({mode:"visible",children:g},C.mode,z,null),z.return=C,C.child=z)):g.memoizedState!==null?ot?(ve=Go(g,C,ve.children,ve.fallback,z),ot=C.child,ke=g.child.memoizedState,ot.memoizedState=ke===null?{baseLanes:z}:{baseLanes:ke.baseLanes|z},ot.childLanes=g.childLanes&~z,C.memoizedState=eu,ve):(z=Vs(g,C,ve.children,z),C.memoizedState=null,z):ot?(ve=Go(g,C,ve.children,ve.fallback,z),ot=C.child,ke=g.child.memoizedState,ot.memoizedState=ke===null?{baseLanes:z}:{baseLanes:ke.baseLanes|z},ot.childLanes=g.childLanes&~z,C.memoizedState=eu,ve):(z=Vs(g,C,ve.children,z),C.memoizedState=null,z)}function No(g,C,z,ve){var ke=g.mode,ot=g.child;return C={mode:"hidden",children:C},!(ke&2)&&ot!==null?(ot.childLanes=0,ot.pendingProps=C):ot=yc(C,ke,0,null),z=Yo(z,ke,ve,null),ot.return=g,z.return=g,ot.sibling=z,g.child=ot,z}function Vs(g,C,z,ve){var ke=g.child;return g=ke.sibling,z=fl(ke,{mode:"visible",children:z}),!(C.mode&2)&&(z.lanes=ve),z.return=C,z.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,C.firstEffect=C.lastEffect=g),C.child=z}function Go(g,C,z,ve,ke){var ot=C.mode,Zt=g.child;g=Zt.sibling;var ar={mode:"hidden",children:z};return!(ot&2)&&C.child!==Zt?(z=C.child,z.childLanes=0,z.pendingProps=ar,Zt=z.lastEffect,Zt!==null?(C.firstEffect=z.firstEffect,C.lastEffect=Zt,Zt.nextEffect=null):C.firstEffect=C.lastEffect=null):z=fl(Zt,ar),g!==null?ve=fl(g,ve):(ve=Yo(ve,ot,ke,null),ve.flags|=2),ve.return=C,z.return=C,z.sibling=ve,C.child=z,ve}function ku(g,C){g.lanes|=C;var z=g.alternate;z!==null&&(z.lanes|=C),hs(g.return,C)}function Io(g,C,z,ve,ke,ot){var Zt=g.memoizedState;Zt===null?g.memoizedState={isBackwards:C,rendering:null,renderingStartTime:0,last:ve,tail:z,tailMode:ke,lastEffect:ot}:(Zt.isBackwards=C,Zt.rendering=null,Zt.renderingStartTime=0,Zt.last=ve,Zt.tail=z,Zt.tailMode=ke,Zt.lastEffect=ot)}function tl(g,C,z){var ve=C.pendingProps,ke=ve.revealOrder,ot=ve.tail;if(lo(g,C,ve.children,z),ve=to.current,ve&2)ve=ve&1|2,C.flags|=64;else{if(g!==null&&g.flags&64)e:for(g=C.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&ku(g,z);else if(g.tag===19)ku(g,z);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===C)break e;for(;g.sibling===null;){if(g.return===null||g.return===C)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}ve&=1}if(Ba(to,ve),!(C.mode&2))C.memoizedState=null;else switch(ke){case"forwards":for(z=C.child,ke=null;z!==null;)g=z.alternate,g!==null&&Ec(g)===null&&(ke=z),z=z.sibling;z=ke,z===null?(ke=C.child,C.child=null):(ke=z.sibling,z.sibling=null),Io(C,!1,ke,z,ot,C.lastEffect);break;case"backwards":for(z=null,ke=C.child,C.child=null;ke!==null;){if(g=ke.alternate,g!==null&&Ec(g)===null){C.child=ke;break}g=ke.sibling,ke.sibling=z,z=ke,ke=g}Io(C,!0,z,null,ot,C.lastEffect);break;case"together":Io(C,!1,null,null,void 0,C.lastEffect);break;default:C.memoizedState=null}return C.child}function yu(g,C,z){if(g!==null&&(C.dependencies=g.dependencies),co|=C.lanes,z&C.childLanes){if(g!==null&&C.child!==g.child)throw Error(c(153));if(C.child!==null){for(g=C.child,z=fl(g,g.pendingProps),C.child=z,z.return=C;g.sibling!==null;)g=g.sibling,z=z.sibling=fl(g,g.pendingProps),z.return=C;z.sibling=null}return C.child}return null}var hc,Ru,Vo,rl;hc=function(g,C){for(var z=C.child;z!==null;){if(z.tag===5||z.tag===6)g.appendChild(z.stateNode);else if(z.tag!==4&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===C)break;for(;z.sibling===null;){if(z.return===null||z.return===C)return;z=z.return}z.sibling.return=z.return,z=z.sibling}},Ru=function(){},Vo=function(g,C,z,ve){var ke=g.memoizedProps;if(ke!==ve){g=C.stateNode,Tu(To.current);var ot=null;switch(z){case"input":ke=dt(g,ke),ve=dt(g,ve),ot=[];break;case"option":ke=Ye(g,ke),ve=Ye(g,ve),ot=[];break;case"select":ke=i({},ke,{value:void 0}),ve=i({},ve,{value:void 0}),ot=[];break;case"textarea":ke=xt(g,ke),ve=xt(g,ve),ot=[];break;default:typeof ke.onClick!="function"&&typeof ve.onClick=="function"&&(g.onclick=ei)}Ce(z,ve);var Zt;z=null;for(t in ke)if(!ve.hasOwnProperty(t)&&ke.hasOwnProperty(t)&&ke[t]!=null)if(t==="style"){var ar=ke[t];for(Zt in ar)ar.hasOwnProperty(Zt)&&(z||(z={}),z[Zt]="")}else t!=="dangerouslySetInnerHTML"&&t!=="children"&&t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&t!=="autoFocus"&&(o.hasOwnProperty(t)?ot||(ot=[]):(ot=ot||[]).push(t,null));for(t in ve){var P=ve[t];if(ar=ke!=null?ke[t]:void 0,ve.hasOwnProperty(t)&&P!==ar&&(P!=null||ar!=null))if(t==="style")if(ar){for(Zt in ar)!ar.hasOwnProperty(Zt)||P&&P.hasOwnProperty(Zt)||(z||(z={}),z[Zt]="");for(Zt in P)P.hasOwnProperty(Zt)&&ar[Zt]!==P[Zt]&&(z||(z={}),z[Zt]=P[Zt])}else z||(ot||(ot=[]),ot.push(t,z)),z=P;else t==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,ar=ar?ar.__html:void 0,P!=null&&ar!==P&&(ot=ot||[]).push(t,P)):t==="children"?typeof P!="string"&&typeof P!="number"||(ot=ot||[]).push(t,""+P):t!=="suppressContentEditableWarning"&&t!=="suppressHydrationWarning"&&(o.hasOwnProperty(t)?(P!=null&&t==="onScroll"&&Xe("scroll",g),ot||ar===P||(ot=[])):typeof P=="object"&&P!==null&&P.$$typeof===Z?P.toString():(ot=ot||[]).push(t,P))}z&&(ot=ot||[]).push("style",z);var t=ot;(C.updateQueue=t)&&(C.flags|=4)}},rl=function(g,C,z,ve){z!==ve&&(C.flags|=4)};function bu(g,C){if(!qu)switch(g.tailMode){case"hidden":C=g.tail;for(var z=null;C!==null;)C.alternate!==null&&(z=C),C=C.sibling;z===null?g.tail=null:z.sibling=null;break;case"collapsed":z=g.tail;for(var ve=null;z!==null;)z.alternate!==null&&(ve=z),z=z.sibling;ve===null?C||g.tail===null?g.tail=null:g.tail.sibling=null:ve.sibling=null}}function Ic(g,C,z){var ve=C.pendingProps;switch(C.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Jr(C.type)&&br(),null;case 3:return Pl(),Zi(ge),Zi(fa),vl(),ve=C.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(g===null||g.child===null)&&(cf(C)?C.flags|=4:ve.hydrate||(C.flags|=256)),Ru(C),null;case 5:xc(C);var ke=Tu(Wl.current);if(z=C.type,g!==null&&C.stateNode!=null)Vo(g,C,z,ve,ke),g.ref!==C.ref&&(C.flags|=128);else{if(!ve){if(C.stateNode===null)throw Error(c(166));return null}if(g=Tu(To.current),cf(C)){ve=C.stateNode,z=C.type;var ot=C.memoizedProps;switch(ve[La]=C,ve[ea]=ot,z){case"dialog":Xe("cancel",ve),Xe("close",ve);break;case"iframe":case"object":case"embed":Xe("load",ve);break;case"video":case"audio":for(g=0;g<Mn.length;g++)Xe(Mn[g],ve);break;case"source":Xe("error",ve);break;case"img":case"image":case"link":Xe("error",ve),Xe("load",ve);break;case"details":Xe("toggle",ve);break;case"input":qe(ve,ot),Xe("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!ot.multiple},Xe("invalid",ve);break;case"textarea":nr(ve,ot),Xe("invalid",ve)}Ce(z,ot),g=null;for(var Zt in ot)ot.hasOwnProperty(Zt)&&(ke=ot[Zt],Zt==="children"?typeof ke=="string"?ve.textContent!==ke&&(g=["children",ke]):typeof ke=="number"&&ve.textContent!==""+ke&&(g=["children",""+ke]):o.hasOwnProperty(Zt)&&ke!=null&&Zt==="onScroll"&&Xe("scroll",ve));switch(z){case"input":Ft(ve),Re(ve,ot,!0);break;case"textarea":Ft(ve),Le(ve);break;case"select":case"option":break;default:typeof ot.onClick=="function"&&(ve.onclick=ei)}ve=g,C.updateQueue=ve,ve!==null&&(C.flags|=4)}else{switch(Zt=ke.nodeType===9?ke:ke.ownerDocument,g===Qe.html&&(g=Qt(z)),g===Qe.html?z==="script"?(g=Zt.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ve.is=="string"?g=Zt.createElement(z,{is:ve.is}):(g=Zt.createElement(z),z==="select"&&(Zt=g,ve.multiple?Zt.multiple=!0:ve.size&&(Zt.size=ve.size))):g=Zt.createElementNS(g,z),g[La]=C,g[ea]=ve,hc(g,C,!1,!1),C.stateNode=g,Zt=ct(z,ve),z){case"dialog":Xe("cancel",g),Xe("close",g),ke=ve;break;case"iframe":case"object":case"embed":Xe("load",g),ke=ve;break;case"video":case"audio":for(ke=0;ke<Mn.length;ke++)Xe(Mn[ke],g);ke=ve;break;case"source":Xe("error",g),ke=ve;break;case"img":case"image":case"link":Xe("error",g),Xe("load",g),ke=ve;break;case"details":Xe("toggle",g),ke=ve;break;case"input":qe(g,ve),ke=dt(g,ve),Xe("invalid",g);break;case"option":ke=Ye(g,ve);break;case"select":g._wrapperState={wasMultiple:!!ve.multiple},ke=i({},ve,{value:void 0}),Xe("invalid",g);break;case"textarea":nr(g,ve),ke=xt(g,ve),Xe("invalid",g);break;default:ke=ve}Ce(z,ke);var ar=ke;for(ot in ar)if(ar.hasOwnProperty(ot)){var P=ar[ot];ot==="style"?pe(g,P):ot==="dangerouslySetInnerHTML"?(P=P?P.__html:void 0,P!=null&&Gt(g,P)):ot==="children"?typeof P=="string"?(z!=="textarea"||P!=="")&&Tt(g,P):typeof P=="number"&&Tt(g,""+P):ot!=="suppressContentEditableWarning"&&ot!=="suppressHydrationWarning"&&ot!=="autoFocus"&&(o.hasOwnProperty(ot)?P!=null&&ot==="onScroll"&&Xe("scroll",g):P!=null&&B(g,ot,P,Zt))}switch(z){case"input":Ft(g),Re(g,ve,!1);break;case"textarea":Ft(g),Le(g);break;case"option":ve.value!=null&&g.setAttribute("value",""+zt(ve.value));break;case"select":g.multiple=!!ve.multiple,ot=ve.value,ot!=null?ht(g,!!ve.multiple,ot,!1):ve.defaultValue!=null&&ht(g,!!ve.multiple,ve.defaultValue,!0);break;default:typeof ke.onClick=="function"&&(g.onclick=ei)}zi(z,ve)&&(C.flags|=4)}C.ref!==null&&(C.flags|=128)}return null;case 6:if(g&&C.stateNode!=null)rl(g,C,g.memoizedProps,ve);else{if(typeof ve!="string"&&C.stateNode===null)throw Error(c(166));z=Tu(Wl.current),Tu(To.current),cf(C)?(ve=C.stateNode,z=C.memoizedProps,ve[La]=C,ve.nodeValue!==z&&(C.flags|=4)):(ve=(z.nodeType===9?z:z.ownerDocument).createTextNode(ve),ve[La]=C,C.stateNode=ve)}return null;case 13:return Zi(to),ve=C.memoizedState,C.flags&64?(C.lanes=z,C):(ve=ve!==null,z=!1,g===null?C.memoizedProps.fallback!==void 0&&cf(C):z=g.memoizedState!==null,ve&&!z&&C.mode&2&&(g===null&&C.memoizedProps.unstable_avoidThisFallback!==!0||to.current&1?Oa===0&&(Oa=3):((Oa===0||Oa===3)&&(Oa=4),qr===null||!(co&134217727)&&!(bs&134217727)||Nl(qr,dn))),(ve||z)&&(C.flags|=4),null);case 4:return Pl(),Ru(C),g===null&&Yt(C.stateNode.containerInfo),null;case 10:return za(C),null;case 17:return Jr(C.type)&&br(),null;case 19:if(Zi(to),ve=C.memoizedState,ve===null)return null;if(ot=(C.flags&64)!==0,Zt=ve.rendering,Zt===null)if(ot)bu(ve,!1);else{if(Oa!==0||g!==null&&g.flags&64)for(g=C.child;g!==null;){if(Zt=Ec(g),Zt!==null){for(C.flags|=64,bu(ve,!1),ot=Zt.updateQueue,ot!==null&&(C.updateQueue=ot,C.flags|=4),ve.lastEffect===null&&(C.firstEffect=null),C.lastEffect=ve.lastEffect,ve=z,z=C.child;z!==null;)ot=z,g=ve,ot.flags&=2,ot.nextEffect=null,ot.firstEffect=null,ot.lastEffect=null,Zt=ot.alternate,Zt===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=Zt.childLanes,ot.lanes=Zt.lanes,ot.child=Zt.child,ot.memoizedProps=Zt.memoizedProps,ot.memoizedState=Zt.memoizedState,ot.updateQueue=Zt.updateQueue,ot.type=Zt.type,g=Zt.dependencies,ot.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),z=z.sibling;return Ba(to,to.current&1|2),C.child}g=g.sibling}ve.tail!==null&&Pt()>vc&&(C.flags|=64,ot=!0,bu(ve,!1),C.lanes=33554432)}else{if(!ot)if(g=Ec(Zt),g!==null){if(C.flags|=64,ot=!0,z=g.updateQueue,z!==null&&(C.updateQueue=z,C.flags|=4),bu(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!Zt.alternate&&!qu)return C=C.lastEffect=ve.lastEffect,C!==null&&(C.nextEffect=null),null}else 2*Pt()-ve.renderingStartTime>vc&&z!==1073741824&&(C.flags|=64,ot=!0,bu(ve,!1),C.lanes=33554432);ve.isBackwards?(Zt.sibling=C.child,C.child=Zt):(z=ve.last,z!==null?z.sibling=Zt:C.child=Zt,ve.last=Zt)}return ve.tail!==null?(z=ve.tail,ve.rendering=z,ve.tail=z.sibling,ve.lastEffect=C.lastEffect,ve.renderingStartTime=Pt(),z.sibling=null,C=to.current,Ba(to,ot?C&1|2:C&1),z):null;case 23:case 24:return aa(),g!==null&&g.memoizedState!==null!=(C.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(C.flags|=4),null}throw Error(c(156,C.tag))}function Kc(g){switch(g.tag){case 1:Jr(g.type)&&br();var C=g.flags;return C&4096?(g.flags=C&-4097|64,g):null;case 3:if(Pl(),Zi(ge),Zi(fa),vl(),C=g.flags,C&64)throw Error(c(285));return g.flags=C&-4097|64,g;case 5:return xc(g),null;case 13:return Zi(to),C=g.flags,C&4096?(g.flags=C&-4097|64,g):null;case 19:return Zi(to),null;case 4:return Pl(),null;case 10:return za(g),null;case 23:case 24:return aa(),null;default:return null}}function Zo(g,C){try{var z="",ve=C;do z+=jt(ve),ve=ve.return;while(ve);var ke=z}catch(ot){ke=`
|
|
|
Error generating stack: `+ot.message+`
|
|
|
`+ot.stack}return{value:g,source:C,stack:ke}}function xu(g,C){try{console.error(C.value)}catch(z){setTimeout(function(){throw z})}}var nl=typeof WeakMap=="function"?WeakMap:Map;function il(g,C,z){z=oo(-1,z),z.tag=3,z.payload={element:null};var ve=C.value;return z.callback=function(){nc||(nc=!0,Fl=ve),xu(g,C)},z}function Ql(g,C,z){z=oo(-1,z),z.tag=3;var ve=g.type.getDerivedStateFromError;if(typeof ve=="function"){var ke=C.value;z.payload=function(){return xu(g,C),ve(ke)}}var ot=g.stateNode;return ot!==null&&typeof ot.componentDidCatch=="function"&&(z.callback=function(){typeof ve!="function"&&($o===null?$o=new Set([this]):$o.add(this),xu(g,C));var Zt=C.stack;this.componentDidCatch(C.value,{componentStack:Zt!==null?Zt:""})}),z}var ql=typeof WeakSet=="function"?WeakSet:Set;function xl(g){var C=g.ref;if(C!==null)if(typeof C=="function")try{C(null)}catch(z){cl(g,z)}else C.current=null}function Yc(g,C){switch(C.tag){case 0:case 11:case 15:case 22:return;case 1:if(C.flags&256&&g!==null){var z=g.memoizedProps,ve=g.memoizedState;g=C.stateNode,C=g.getSnapshotBeforeUpdate(C.elementType===C.type?z:Un(C.type,z),ve),g.__reactInternalSnapshotBeforeUpdate=C}return;case 3:C.flags&256&&Ti(C.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function Ml(g,C,z){switch(z.tag){case 0:case 11:case 15:case 22:if(C=z.updateQueue,C=C!==null?C.lastEffect:null,C!==null){g=C=C.next;do{if((g.tag&3)===3){var ve=g.create;g.destroy=ve()}g=g.next}while(g!==C)}if(C=z.updateQueue,C=C!==null?C.lastEffect:null,C!==null){g=C=C.next;do{var ke=g;ve=ke.next,ke=ke.tag,ke&4&&ke&1&&(gc(z,g),Sf(z,g)),g=ve}while(g!==C)}return;case 1:g=z.stateNode,z.flags&4&&(C===null?g.componentDidMount():(ve=z.elementType===z.type?C.memoizedProps:Un(z.type,C.memoizedProps),g.componentDidUpdate(ve,C.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),C=z.updateQueue,C!==null&&go(z,C,g);return;case 3:if(C=z.updateQueue,C!==null){if(g=null,z.child!==null)switch(z.child.tag){case 5:g=z.child.stateNode;break;case 1:g=z.child.stateNode}go(z,C,g)}return;case 5:g=z.stateNode,C===null&&z.flags&4&&zi(z.type,z.memoizedProps)&&g.focus();return;case 6:return;case 4:return;case 12:return;case 13:z.memoizedState===null&&(z=z.alternate,z!==null&&(z=z.memoizedState,z!==null&&(z=z.dehydrated,z!==null&&vt(z))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function Jl(g,C){for(var z=g;;){if(z.tag===5){var ve=z.stateNode;if(C)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=z.stateNode;var ke=z.memoizedProps.style;ke=ke!=null&&ke.hasOwnProperty("display")?ke.display:null,ve.style.display=fe("display",ke)}}else if(z.tag===6)z.stateNode.nodeValue=C?"":z.memoizedProps;else if((z.tag!==23&&z.tag!==24||z.memoizedState===null||z===g)&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===g)break;for(;z.sibling===null;){if(z.return===null||z.return===g)return;z=z.return}z.sibling.return=z.return,z=z.sibling}}function Eu(g,C){if(On&&typeof On.onCommitFiberUnmount=="function")try{On.onCommitFiberUnmount(Dn,C)}catch(ot){}switch(C.tag){case 0:case 11:case 14:case 15:case 22:if(g=C.updateQueue,g!==null&&(g=g.lastEffect,g!==null)){var z=g=g.next;do{var ve=z,ke=ve.destroy;if(ve=ve.tag,ke!==void 0)if(ve&4)gc(C,z);else{ve=C;try{ke()}catch(ot){cl(ve,ot)}}z=z.next}while(z!==g)}break;case 1:if(xl(C),g=C.stateNode,typeof g.componentWillUnmount=="function")try{g.props=C.memoizedProps,g.state=C.memoizedState,g.componentWillUnmount()}catch(ot){cl(C,ot)}break;case 5:xl(C);break;case 4:_c(g,C)}}function Xc(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 pc(g){return g.tag===5||g.tag===3||g.tag===4}function Lu(g){e:{for(var C=g.return;C!==null;){if(pc(C))break e;C=C.return}throw Error(c(160))}var z=C;switch(C=z.stateNode,z.tag){case 5:var ve=!1;break;case 3:C=C.containerInfo,ve=!0;break;case 4:C=C.containerInfo,ve=!0;break;default:throw Error(c(161))}z.flags&16&&(Tt(C,""),z.flags&=-17);e:t:for(z=g;;){for(;z.sibling===null;){if(z.return===null||pc(z.return)){z=null;break e}z=z.return}for(z.sibling.return=z.return,z=z.sibling;z.tag!==5&&z.tag!==6&&z.tag!==18;){if(z.flags&2||z.child===null||z.tag===4)continue t;z.child.return=z,z=z.child}if(!(z.flags&2)){z=z.stateNode;break e}}ve?lu(g,z,C):ec(g,z,C)}function lu(g,C,z){var ve=g.tag,ke=ve===5||ve===6;if(ke)g=ke?g.stateNode:g.stateNode.instance,C?z.nodeType===8?z.parentNode.insertBefore(g,C):z.insertBefore(g,C):(z.nodeType===8?(C=z.parentNode,C.insertBefore(g,z)):(C=z,C.appendChild(g)),z=z._reactRootContainer,z!=null||C.onclick!==null||(C.onclick=ei));else if(ve!==4&&(g=g.child,g!==null))for(lu(g,C,z),g=g.sibling;g!==null;)lu(g,C,z),g=g.sibling}function ec(g,C,z){var ve=g.tag,ke=ve===5||ve===6;if(ke)g=ke?g.stateNode:g.stateNode.instance,C?z.insertBefore(g,C):z.appendChild(g);else if(ve!==4&&(g=g.child,g!==null))for(ec(g,C,z),g=g.sibling;g!==null;)ec(g,C,z),g=g.sibling}function _c(g,C){for(var z=C,ve=!1,ke,ot;;){if(!ve){ve=z.return;e:for(;;){if(ve===null)throw Error(c(160));switch(ke=ve.stateNode,ve.tag){case 5:ot=!1;break e;case 3:ke=ke.containerInfo,ot=!0;break e;case 4:ke=ke.containerInfo,ot=!0;break e}ve=ve.return}ve=!0}if(z.tag===5||z.tag===6){e:for(var Zt=g,ar=z,P=ar;;)if(Eu(Zt,P),P.child!==null&&P.tag!==4)P.child.return=P,P=P.child;else{if(P===ar)break e;for(;P.sibling===null;){if(P.return===null||P.return===ar)break e;P=P.return}P.sibling.return=P.return,P=P.sibling}ot?(Zt=ke,ar=z.stateNode,Zt.nodeType===8?Zt.parentNode.removeChild(ar):Zt.removeChild(ar)):ke.removeChild(z.stateNode)}else if(z.tag===4){if(z.child!==null){ke=z.stateNode.containerInfo,ot=!0,z.child.return=z,z=z.child;continue}}else if(Eu(g,z),z.child!==null){z.child.return=z,z=z.child;continue}if(z===C)break;for(;z.sibling===null;){if(z.return===null||z.return===C)return;z=z.return,z.tag===4&&(ve=!1)}z.sibling.return=z.return,z=z.sibling}}function mc(g,C){switch(C.tag){case 0:case 11:case 14:case 15:case 22:var z=C.updateQueue;if(z=z!==null?z.lastEffect:null,z!==null){var ve=z=z.next;do(ve.tag&3)===3&&(g=ve.destroy,ve.destroy=void 0,g!==void 0&&g()),ve=ve.next;while(ve!==z)}return;case 1:return;case 5:if(z=C.stateNode,z!=null){ve=C.memoizedProps;var ke=g!==null?g.memoizedProps:ve;g=C.type;var ot=C.updateQueue;if(C.updateQueue=null,ot!==null){for(z[ea]=ve,g==="input"&&ve.type==="radio"&&ve.name!=null&&Be(z,ve),ct(g,ke),C=ct(g,ve),ke=0;ke<ot.length;ke+=2){var Zt=ot[ke],ar=ot[ke+1];Zt==="style"?pe(z,ar):Zt==="dangerouslySetInnerHTML"?Gt(z,ar):Zt==="children"?Tt(z,ar):B(z,Zt,ar,C)}switch(g){case"input":Ee(z,ve);break;case"textarea":er(z,ve);break;case"select":g=z._wrapperState.wasMultiple,z._wrapperState.wasMultiple=!!ve.multiple,ot=ve.value,ot!=null?ht(z,!!ve.multiple,ot,!1):g!==!!ve.multiple&&(ve.defaultValue!=null?ht(z,!!ve.multiple,ve.defaultValue,!0):ht(z,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(C.stateNode===null)throw Error(c(162));C.stateNode.nodeValue=C.memoizedProps;return;case 3:z=C.stateNode,z.hydrate&&(z.hydrate=!1,vt(z.containerInfo));return;case 12:return;case 13:C.memoizedState!==null&&(rc=Pt(),Jl(C.child,!0)),Dc(C);return;case 19:Dc(C);return;case 17:return;case 23:case 24:Jl(C,C.memoizedState!==null);return}throw Error(c(163))}function Dc(g){var C=g.updateQueue;if(C!==null){g.updateQueue=null;var z=g.stateNode;z===null&&(z=g.stateNode=new ql),C.forEach(function(ve){var ke=Vu.bind(null,g,ve);z.has(ve)||(z.add(ve),ve.then(ke,ke))})}}function I(g,C){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(C=C.memoizedState,C!==null&&C.dehydrated===null):!1}var O=Math.ceil,L=j.ReactCurrentDispatcher,me=j.ReactCurrentOwner,Oe=0,qr=null,Bn=null,dn=0,Pi=0,Ya=ts(0),Oa=0,Do=null,Ma=0,co=0,bs=0,Oc=0,tc=null,rc=0,vc=1/0;function Mu(){vc=Pt()+500}var Ii=null,nc=!1,Fl=null,$o=null,Ks=!1,ns=null,al=90,sl=[],El=[],wl=null,ol=0,Qc=null,kc=-1,Hu=0,qc=0,Bl=null,Jc=!1;function cu(){return Oe&48?Pt():kc!==-1?kc:kc=Pt()}function Fu(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return Ut()===99?1:2;if(Hu===0&&(Hu=Ma),$n.transition!==0){qc!==0&&(qc=tc!==null?tc.pendingLanes:0),g=Hu;var C=4186112&~qc;return C&=-C,C===0&&(g=4186112&~g,C=g&-g,C===0&&(C=8192)),C}return g=Ut(),Oe&4&&g===98?g=sn(12,Hu):(g=pn(g),g=sn(g,Hu)),g}function Sl(g,C,z){if(50<ol)throw ol=0,Qc=null,Error(c(185));if(g=ic(g,C),g===null)return null;Ei(g,C,z),g===qr&&(bs|=C,Oa===4&&Nl(g,dn));var ve=Ut();C===1?Oe&8&&!(Oe&48)?An(g):(wu(g,z),Oe===0&&(Mu(),an())):(!(Oe&4)||ve!==98&&ve!==99||(wl===null?wl=new Set([g]):wl.add(g)),wu(g,z)),tc=g}function ic(g,C){g.lanes|=C;var z=g.alternate;for(z!==null&&(z.lanes|=C),z=g,g=g.return;g!==null;)g.childLanes|=C,z=g.alternate,z!==null&&(z.childLanes|=C),z=g,g=g.return;return z.tag===3?z.stateNode:null}function wu(g,C){for(var z=g.callbackNode,ve=g.suspendedLanes,ke=g.pingedLanes,ot=g.expirationTimes,Zt=g.pendingLanes;0<Zt;){var ar=31-hi(Zt),P=1<<ar,t=ot[ar];if(t===-1){if(!(P&ve)||P&ke){t=C,jr(P);var n=Pr;ot[ar]=10<=n?t+250:6<=n?t+5e3:-1}}else t<=C&&(g.expiredLanes|=P);Zt&=~P}if(ve=ln(g,g===qr?dn:0),C=Pr,ve===0)z!==null&&(z!==H&&Hi(z),g.callbackNode=null,g.callbackPriority=0);else{if(z!==null){if(g.callbackPriority===C)return;z!==H&&Hi(z)}C===15?(z=An.bind(null,g),ne===null?(ne=[z],he=ua(Yu,bn)):ne.push(z),z=H):C===14?z=Ht(99,An.bind(null,g)):(z=Cr(C),z=Ht(z,ac.bind(null,g))),g.callbackPriority=C,g.callbackNode=z}}function ac(g){if(kc=-1,qc=Hu=0,Oe&48)throw Error(c(327));var C=g.callbackNode;if($l()&&g.callbackNode!==C)return null;var z=ln(g,g===qr?dn:0);if(z===0)return null;var ve=z,ke=Oe;Oe|=16;var ot=Qi();(qr!==g||dn!==ve)&&(Mu(),ha(g,ve));do try{Bu();break}catch(ar){_s(g,ar)}while(!0);if(us(),L.current=ot,Oe=ke,Bn!==null?ve=0:(qr=null,dn=0,ve=Oa),Ma&bs)ha(g,0);else if(ve!==0){if(ve===2&&(Oe|=64,g.hydrate&&(g.hydrate=!1,Ti(g.containerInfo)),z=rn(g),z!==0&&(ve=is(g,z))),ve===1)throw C=Do,ha(g,0),Nl(g,z),wu(g,Pt()),C;switch(g.finishedWork=g.current.alternate,g.finishedLanes=z,ve){case 0:case 1:throw Error(c(345));case 2:ll(g);break;case 3:if(Nl(g,z),(z&62914560)===z&&(ve=rc+500-Pt(),10<ve)){if(ln(g,0)!==0)break;if(ke=g.suspendedLanes,(ke&z)!==z){cu(),g.pingedLanes|=g.suspendedLanes&ke;break}g.timeoutHandle=xi(ll.bind(null,g),ve);break}ll(g);break;case 4:if(Nl(g,z),(z&4186112)===z)break;for(ve=g.eventTimes,ke=-1;0<z;){var Zt=31-hi(z);ot=1<<Zt,Zt=ve[Zt],Zt>ke&&(ke=Zt),z&=~ot}if(z=ke,z=Pt()-z,z=(120>z?120:480>z?480:1080>z?1080:1920>z?1920:3e3>z?3e3:4320>z?4320:1960*O(z/1960))-z,10<z){g.timeoutHandle=xi(ll.bind(null,g),z);break}ll(g);break;case 5:ll(g);break;default:throw Error(c(329))}}return wu(g,Pt()),g.callbackNode===C?ac.bind(null,g):null}function Nl(g,C){for(C&=~Oc,C&=~bs,g.suspendedLanes|=C,g.pingedLanes&=~C,g=g.expirationTimes;0<C;){var z=31-hi(C),ve=1<<z;g[z]=-1,C&=~ve}}function An(g){if(Oe&48)throw Error(c(327));if($l(),g===qr&&g.expiredLanes&dn){var C=dn,z=is(g,C);Ma&bs&&(C=ln(g,C),z=is(g,C))}else C=ln(g,0),z=is(g,C);if(g.tag!==0&&z===2&&(Oe|=64,g.hydrate&&(g.hydrate=!1,Ti(g.containerInfo)),C=rn(g),C!==0&&(z=is(g,C))),z===1)throw z=Do,ha(g,0),Nl(g,C),wu(g,Pt()),z;return g.finishedWork=g.current.alternate,g.finishedLanes=C,ll(g),wu(g,Pt()),null}function Gn(){if(wl!==null){var g=wl;wl=null,g.forEach(function(C){C.expiredLanes|=24&C.pendingLanes,wu(C,Pt())})}an()}function Li(g,C){var z=Oe;Oe|=1;try{return g(C)}finally{Oe=z,Oe===0&&(Mu(),an())}}function Sa(g,C){var z=Oe;Oe&=-2,Oe|=8;try{return g(C)}finally{Oe=z,Oe===0&&(Mu(),an())}}function Wi(g,C){Ba(Ya,Pi),Pi|=C,Ma|=C}function aa(){Pi=Ya.current,Zi(Ya)}function ha(g,C){g.finishedWork=null,g.finishedLanes=0;var z=g.timeoutHandle;if(z!==-1&&(g.timeoutHandle=-1,ga(z)),Bn!==null)for(z=Bn.return;z!==null;){var ve=z;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&br();break;case 3:Pl(),Zi(ge),Zi(fa),vl();break;case 5:xc(ve);break;case 4:Pl();break;case 13:Zi(to);break;case 19:Zi(to);break;case 10:za(ve);break;case 23:case 24:aa()}z=z.return}qr=g,Bn=fl(g.current,null),dn=Pi=Ma=C,Oa=0,Do=null,Oc=bs=co=0}function _s(g,C){do{var z=Bn;try{if(us(),Dl.current=Yl,Gl){for(var ve=Us.memoizedState;ve!==null;){var ke=ve.queue;ke!==null&&(ke.pending=null),ve=ve.next}Gl=!1}if(Ol=0,Fs=Bo=Us=null,gl=!1,me.current=null,z===null||z.return===null){Oa=1,Do=C,Bn=null;break}e:{var ot=g,Zt=z.return,ar=z,P=C;if(C=dn,ar.flags|=2048,ar.firstEffect=ar.lastEffect=null,P!==null&&typeof P=="object"&&typeof P.then=="function"){var t=P;if(!(ar.mode&2)){var n=ar.alternate;n?(ar.updateQueue=n.updateQueue,ar.memoizedState=n.memoizedState,ar.lanes=n.lanes):(ar.updateQueue=null,ar.memoizedState=null)}var s=(to.current&1)!==0,m=Zt;do{var E;if(E=m.tag===13){var T=m.memoizedState;if(T!==null)E=T.dehydrated!==null;else{var U=m.memoizedProps;E=U.fallback===void 0?!1:U.unstable_avoidThisFallback!==!0?!0:!s}}if(E){var W=m.updateQueue;if(W===null){var N=new Set;N.add(t),m.updateQueue=N}else W.add(t);if(!(m.mode&2)){if(m.flags|=64,ar.flags|=16384,ar.flags&=-2981,ar.tag===1)if(ar.alternate===null)ar.tag=17;else{var te=oo(-1,1);te.tag=2,Co(ar,te)}ar.lanes|=1;break e}P=void 0,ar=C;var ce=ot.pingCache;if(ce===null?(ce=ot.pingCache=new nl,P=new Set,ce.set(t,P)):(P=ce.get(t),P===void 0&&(P=new Set,ce.set(t,P))),!P.has(ar)){P.add(ar);var be=Of.bind(null,ot,t,ar);t.then(be,be)}m.flags|=4096,m.lanes=C;break e}m=m.return}while(m!==null);P=Error((Wt(ar.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
|
|
|
|
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Oa!==5&&(Oa=2),P=Zo(P,ar),m=Zt;do{switch(m.tag){case 3:ot=P,m.flags|=4096,C&=-C,m.lanes|=C;var Pe=il(m,ot,C);Mo(m,Pe);break e;case 1:ot=P;var Se=m.type,at=m.stateNode;if(!(m.flags&64)&&(typeof Se.getDerivedStateFromError=="function"||at!==null&&typeof at.componentDidCatch=="function"&&($o===null||!$o.has(at)))){m.flags|=4096,C&=-C,m.lanes|=C;var rt=Ql(m,ot,C);Mo(m,rt);break e}}m=m.return}while(m!==null)}ul(z)}catch(Mt){C=Mt,Bn===z&&z!==null&&(Bn=z=z.return);continue}break}while(!0)}function Qi(){var g=L.current;return L.current=Yl,g===null?Yl:g}function is(g,C){var z=Oe;Oe|=16;var ve=Qi();qr===g&&dn===C||ha(g,C);do try{Wu();break}catch(ke){_s(g,ke)}while(!0);if(us(),Oe=z,L.current=ve,Bn!==null)throw Error(c(261));return qr=null,dn=0,Oa}function Wu(){for(;Bn!==null;)Gu(Bn)}function Bu(){for(;Bn!==null&&!vo();)Gu(Bn)}function Gu(g){var C=Rc(g.alternate,g,Pi);g.memoizedProps=g.pendingProps,C===null?ul(g):Bn=C,me.current=null}function ul(g){var C=g;do{var z=C.alternate;if(g=C.return,C.flags&2048){if(z=Kc(C),z!==null){z.flags&=2047,Bn=z;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(z=Ic(z,C,Pi),z!==null){Bn=z;return}if(z=C,z.tag!==24&&z.tag!==23||z.memoizedState===null||Pi&1073741824||!(z.mode&4)){for(var ve=0,ke=z.child;ke!==null;)ve|=ke.lanes|ke.childLanes,ke=ke.sibling;z.childLanes=ve}g!==null&&!(g.flags&2048)&&(g.firstEffect===null&&(g.firstEffect=C.firstEffect),C.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=C.firstEffect),g.lastEffect=C.lastEffect),1<C.flags&&(g.lastEffect!==null?g.lastEffect.nextEffect=C:g.firstEffect=C,g.lastEffect=C))}if(C=C.sibling,C!==null){Bn=C;return}Bn=C=g}while(C!==null);Oa===0&&(Oa=5)}function ll(g){var C=Ut();return Er(99,Df.bind(null,g,C)),null}function Df(g,C){do $l();while(ns!==null);if(Oe&48)throw Error(c(327));var z=g.finishedWork;if(z===null)return null;if(g.finishedWork=null,g.finishedLanes=0,z===g.current)throw Error(c(177));g.callbackNode=null;var ve=z.lanes|z.childLanes,ke=ve,ot=g.pendingLanes&~ke;g.pendingLanes=ke,g.suspendedLanes=0,g.pingedLanes=0,g.expiredLanes&=ke,g.mutableReadLanes&=ke,g.entangledLanes&=ke,ke=g.entanglements;for(var Zt=g.eventTimes,ar=g.expirationTimes;0<ot;){var P=31-hi(ot),t=1<<P;ke[P]=0,Zt[P]=-1,ar[P]=-1,ot&=~t}if(wl!==null&&!(ve&24)&&wl.has(g)&&wl.delete(g),g===qr&&(Bn=qr=null,dn=0),1<z.flags?z.lastEffect!==null?(z.lastEffect.nextEffect=z,ve=z.firstEffect):ve=z:ve=z.firstEffect,ve!==null){if(ke=Oe,Oe|=32,me.current=null,bi=Ta,Zt=Ci(),na(Zt)){if("selectionStart"in Zt)ar={start:Zt.selectionStart,end:Zt.selectionEnd};else e:if(ar=(ar=Zt.ownerDocument)&&ar.defaultView||window,(t=ar.getSelection&&ar.getSelection())&&t.rangeCount!==0){ar=t.anchorNode,ot=t.anchorOffset,P=t.focusNode,t=t.focusOffset;try{ar.nodeType,P.nodeType}catch(Mt){ar=null;break e}var n=0,s=-1,m=-1,E=0,T=0,U=Zt,W=null;t:for(;;){for(var N;U!==ar||ot!==0&&U.nodeType!==3||(s=n+ot),U!==P||t!==0&&U.nodeType!==3||(m=n+t),U.nodeType===3&&(n+=U.nodeValue.length),(N=U.firstChild)!==null;)W=U,U=N;for(;;){if(U===Zt)break t;if(W===ar&&++E===ot&&(s=n),W===P&&++T===t&&(m=n),(N=U.nextSibling)!==null)break;U=W,W=U.parentNode}U=N}ar=s===-1||m===-1?null:{start:s,end:m}}else ar=null;ar=ar||{start:0,end:0}}else ar=null;wi={focusedElem:Zt,selectionRange:ar},Ta=!1,Bl=null,Jc=!1,Ii=ve;do try{wf()}catch(Mt){if(Ii===null)throw Error(c(330));cl(Ii,Mt),Ii=Ii.nextEffect}while(Ii!==null);Bl=null,Ii=ve;do try{for(Zt=g;Ii!==null;){var te=Ii.flags;if(te&16&&Tt(Ii.stateNode,""),te&128){var ce=Ii.alternate;if(ce!==null){var be=ce.ref;be!==null&&(typeof be=="function"?be(null):be.current=null)}}switch(te&1038){case 2:Lu(Ii),Ii.flags&=-3;break;case 6:Lu(Ii),Ii.flags&=-3,mc(Ii.alternate,Ii);break;case 1024:Ii.flags&=-1025;break;case 1028:Ii.flags&=-1025,mc(Ii.alternate,Ii);break;case 4:mc(Ii.alternate,Ii);break;case 8:ar=Ii,_c(Zt,ar);var Pe=ar.alternate;Xc(ar),Pe!==null&&Xc(Pe)}Ii=Ii.nextEffect}}catch(Mt){if(Ii===null)throw Error(c(330));cl(Ii,Mt),Ii=Ii.nextEffect}while(Ii!==null);if(be=wi,ce=Ci(),te=be.focusedElem,Zt=be.selectionRange,ce!==te&&te&&te.ownerDocument&&ma(te.ownerDocument.documentElement,te)){for(Zt!==null&&na(te)&&(ce=Zt.start,be=Zt.end,be===void 0&&(be=ce),"selectionStart"in te?(te.selectionStart=ce,te.selectionEnd=Math.min(be,te.value.length)):(be=(ce=te.ownerDocument||document)&&ce.defaultView||window,be.getSelection&&(be=be.getSelection(),ar=te.textContent.length,Pe=Math.min(Zt.start,ar),Zt=Zt.end===void 0?Pe:Math.min(Zt.end,ar),!be.extend&&Pe>Zt&&(ar=Zt,Zt=Pe,Pe=ar),ar=Wr(te,Pe),ot=Wr(te,Zt),ar&&ot&&(be.rangeCount!==1||be.anchorNode!==ar.node||be.anchorOffset!==ar.offset||be.focusNode!==ot.node||be.focusOffset!==ot.offset)&&(ce=ce.createRange(),ce.setStart(ar.node,ar.offset),be.removeAllRanges(),Pe>Zt?(be.addRange(ce),be.extend(ot.node,ot.offset)):(ce.setEnd(ot.node,ot.offset),be.addRange(ce)))))),ce=[],be=te;be=be.parentNode;)be.nodeType===1&&ce.push({element:be,left:be.scrollLeft,top:be.scrollTop});for(typeof te.focus=="function"&&te.focus(),te=0;te<ce.length;te++)be=ce[te],be.element.scrollLeft=be.left,be.element.scrollTop=be.top}Ta=!!bi,wi=bi=null,g.current=z,Ii=ve;do try{for(te=g;Ii!==null;){var Se=Ii.flags;if(Se&36&&Ml(te,Ii.alternate,Ii),Se&128){ce=void 0;var at=Ii.ref;if(at!==null){var rt=Ii.stateNode;switch(Ii.tag){case 5:ce=rt;break;default:ce=rt}typeof at=="function"?at(ce):at.current=ce}}Ii=Ii.nextEffect}}catch(Mt){if(Ii===null)throw Error(c(330));cl(Ii,Mt),Ii=Ii.nextEffect}while(Ii!==null);Ii=null,X(),Oe=ke}else g.current=z;if(Ks)Ks=!1,ns=g,al=C;else for(Ii=ve;Ii!==null;)C=Ii.nextEffect,Ii.nextEffect=null,Ii.flags&8&&(Se=Ii,Se.sibling=null,Se.stateNode=null),Ii=C;if(ve=g.pendingLanes,ve===0&&($o=null),ve===1?g===Qc?ol++:(ol=0,Qc=g):ol=0,z=z.stateNode,On&&typeof On.onCommitFiberRoot=="function")try{On.onCommitFiberRoot(Dn,z,void 0,(z.current.flags&64)===64)}catch(Mt){}if(wu(g,Pt()),nc)throw nc=!1,g=Fl,Fl=null,g;return Oe&8||an(),null}function wf(){for(;Ii!==null;){var g=Ii.alternate;Jc||Bl===null||(Ii.flags&8?Zn(Ii,Bl)&&(Jc=!0):Ii.tag===13&&I(g,Ii)&&Zn(Ii,Bl)&&(Jc=!0));var C=Ii.flags;C&256&&Yc(g,Ii),!(C&512)||Ks||(Ks=!0,Ht(97,function(){return $l(),null})),Ii=Ii.nextEffect}}function $l(){if(al!==90){var g=97<al?97:al;return al=90,Er(g,ef)}return!1}function Sf(g,C){sl.push(C,g),Ks||(Ks=!0,Ht(97,function(){return $l(),null}))}function gc(g,C){El.push(C,g),Ks||(Ks=!0,Ht(97,function(){return $l(),null}))}function ef(){if(ns===null)return!1;var g=ns;if(ns=null,Oe&48)throw Error(c(331));var C=Oe;Oe|=32;var z=El;El=[];for(var ve=0;ve<z.length;ve+=2){var ke=z[ve],ot=z[ve+1],Zt=ke.destroy;if(ke.destroy=void 0,typeof Zt=="function")try{Zt()}catch(P){if(ot===null)throw Error(c(330));cl(ot,P)}}for(z=sl,sl=[],ve=0;ve<z.length;ve+=2){ke=z[ve],ot=z[ve+1];try{var ar=ke.create;ke.destroy=ar()}catch(P){if(ot===null)throw Error(c(330));cl(ot,P)}}for(ar=g.current.firstEffect;ar!==null;)g=ar.nextEffect,ar.nextEffect=null,ar.flags&8&&(ar.sibling=null,ar.stateNode=null),ar=g;return Oe=C,an(),!0}function hf(g,C,z){C=Zo(z,C),C=il(g,C,1),Co(g,C),C=cu(),g=ic(g,1),g!==null&&(Ei(g,1,C),wu(g,C))}function cl(g,C){if(g.tag===3)hf(g,g,C);else for(var z=g.return;z!==null;){if(z.tag===3){hf(z,g,C);break}else if(z.tag===1){var ve=z.stateNode;if(typeof z.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&($o===null||!$o.has(ve))){g=Zo(C,g);var ke=Ql(z,g,1);if(Co(z,ke),ke=cu(),z=ic(z,1),z!==null)Ei(z,1,ke),wu(z,ke);else if(typeof ve.componentDidCatch=="function"&&($o===null||!$o.has(ve)))try{ve.componentDidCatch(C,g)}catch(ot){}break}}z=z.return}}function Of(g,C,z){var ve=g.pingCache;ve!==null&&ve.delete(C),C=cu(),g.pingedLanes|=g.suspendedLanes&z,qr===g&&(dn&z)===z&&(Oa===4||Oa===3&&(dn&62914560)===dn&&500>Pt()-rc?ha(g,0):Oc|=z),wu(g,C)}function Vu(g,C){var z=g.stateNode;z!==null&&z.delete(C),C=0,C===0&&(C=g.mode,C&2?C&4?(Hu===0&&(Hu=Ma),C=wn(62914560&~Hu),C===0&&(C=4194304)):C=Ut()===99?1:2:C=1),z=cu(),g=ic(g,C),g!==null&&(Ei(g,C,z),wu(g,z))}var Rc;Rc=function(g,C,z){var ve=C.lanes;if(g!==null)if(g.memoizedProps!==C.pendingProps||ge.current)Ou=!0;else if(z&ve)Ou=!!(g.flags&16384);else{switch(Ou=!1,C.tag){case 3:gu(C),Uc();break;case 5:ri(C);break;case 1:Jr(C.type)&&Jn(C);break;case 4:lc(C,C.stateNode.containerInfo);break;case 10:ve=C.memoizedProps.value;var ke=C.type._context;Ba(Si,ke._currentValue),ke._currentValue=ve;break;case 13:if(C.memoizedState!==null)return z&C.child.childLanes?Ll(g,C,z):(Ba(to,to.current&1),C=yu(g,C,z),C!==null?C.sibling:null);Ba(to,to.current&1);break;case 19:if(ve=(z&C.childLanes)!==0,g.flags&64){if(ve)return tl(g,C,z);C.flags|=64}if(ke=C.memoizedState,ke!==null&&(ke.rendering=null,ke.tail=null,ke.lastEffect=null),Ba(to,to.current),ve)break;return null;case 23:case 24:return C.lanes=0,Vc(g,C,z)}return yu(g,C,z)}else Ou=!1;switch(C.lanes=0,C.tag){case 2:if(ve=C.type,g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),g=C.pendingProps,ke=Sr(C,fa.current),rs(C,z),ke=Sc(null,C,ve,g,ke,z),C.flags|=1,typeof ke=="object"&&ke!==null&&typeof ke.render=="function"&&ke.$$typeof===void 0){if(C.tag=1,C.memoizedState=null,C.updateQueue=null,Jr(ve)){var ot=!0;Jn(C)}else ot=!1;C.memoizedState=ke.state!==null&&ke.state!==void 0?ke.state:null,ks(C);var Zt=ve.getDerivedStateFromProps;typeof Zt=="function"&&Xu(C,ve,Zt,g),ke.updater=ju,C.stateNode=ke,ke._reactInternals=C,Uu(C,ve,g,z),C=je(null,C,ve,!0,ot,z)}else C.tag=0,lo(null,C,ke,z),C=C.child;return C;case 16:ke=C.elementType;e:{switch(g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),g=C.pendingProps,ot=ke._init,ke=ot(ke._payload),C.type=ke,ot=C.tag=pf(ke),g=Un(ke,g),ot){case 0:C=Po(null,C,ke,g,z);break e;case 1:C=Rl(null,C,ke,g,z);break e;case 11:C=el(null,C,ke,g,z);break e;case 14:C=df(null,C,ke,Un(ke.type,g),ve,z);break e}throw Error(c(306,ke,""))}return C;case 0:return ve=C.type,ke=C.pendingProps,ke=C.elementType===ve?ke:Un(ve,ke),Po(g,C,ve,ke,z);case 1:return ve=C.type,ke=C.pendingProps,ke=C.elementType===ve?ke:Un(ve,ke),Rl(g,C,ve,ke,z);case 3:if(gu(C),ve=C.updateQueue,g===null||ve===null)throw Error(c(282));if(ve=C.pendingProps,ke=C.memoizedState,ke=ke!==null?ke.element:null,_i(g,C),Ms(C,ve,null,z),ve=C.memoizedState.element,ve===ke)Uc(),C=yu(g,C,z);else{if(ke=C.stateNode,(ot=ke.hydrate)&&(Pu=fi(C.stateNode.containerInfo.firstChild),Jo=C,ot=qu=!0),ot){if(g=ke.mutableSourceEagerHydrationData,g!=null)for(ke=0;ke<g.length;ke+=2)ot=g[ke],ot._workInProgressVersionPrimary=g[ke+1],Il.push(ot);for(z=ml(C,null,ve,z),C.child=z;z;)z.flags=z.flags&-3|1024,z=z.sibling}else lo(g,C,ve,z),Uc();C=C.child}return C;case 5:return ri(C),g===null&&mo(C),ve=C.type,ke=C.pendingProps,ot=g!==null?g.memoizedProps:null,Zt=ke.children,Bi(ve,ke)?Zt=null:ot!==null&&Bi(ve,ot)&&(C.flags|=16),bl(g,C),lo(g,C,Zt,z),C.child;case 6:return g===null&&mo(C),null;case 13:return Ll(g,C,z);case 4:return lc(C,C.stateNode.containerInfo),ve=C.pendingProps,g===null?C.child=qo(C,null,ve,z):lo(g,C,ve,z),C.child;case 11:return ve=C.type,ke=C.pendingProps,ke=C.elementType===ve?ke:Un(ve,ke),el(g,C,ve,ke,z);case 7:return lo(g,C,C.pendingProps,z),C.child;case 8:return lo(g,C,C.pendingProps.children,z),C.child;case 12:return lo(g,C,C.pendingProps.children,z),C.child;case 10:e:{ve=C.type._context,ke=C.pendingProps,Zt=C.memoizedProps,ot=ke.value;var ar=C.type._context;if(Ba(Si,ar._currentValue),ar._currentValue=ot,Zt!==null)if(ar=Zt.value,ot=Yn(ar,ot)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(ar,ot):1073741823)|0,ot===0){if(Zt.children===ke.children&&!ge.current){C=yu(g,C,z);break e}}else for(ar=C.child,ar!==null&&(ar.return=C);ar!==null;){var P=ar.dependencies;if(P!==null){Zt=ar.child;for(var t=P.firstContext;t!==null;){if(t.context===ve&&t.observedBits&ot){ar.tag===1&&(t=oo(-1,z&-z),t.tag=2,Co(ar,t)),ar.lanes|=z,t=ar.alternate,t!==null&&(t.lanes|=z),hs(ar.return,z),P.lanes|=z;break}t=t.next}}else Zt=ar.tag===10&&ar.type===C.type?null:ar.child;if(Zt!==null)Zt.return=ar;else for(Zt=ar;Zt!==null;){if(Zt===C){Zt=null;break}if(ar=Zt.sibling,ar!==null){ar.return=Zt.return,Zt=ar;break}Zt=Zt.return}ar=Zt}lo(g,C,ke.children,z),C=C.child}return C;case 9:return ke=C.type,ot=C.pendingProps,ve=ot.children,rs(C,z),ke=xa(ke,ot.unstable_observedBits),ve=ve(ke),C.flags|=1,lo(g,C,ve,z),C.child;case 14:return ke=C.type,ot=Un(ke,C.pendingProps),ot=Un(ke.type,ot),df(g,C,ke,ot,ve,z);case 15:return Pc(g,C,C.type,C.pendingProps,ve,z);case 17:return ve=C.type,ke=C.pendingProps,ke=C.elementType===ve?ke:Un(ve,ke),g!==null&&(g.alternate=null,C.alternate=null,C.flags|=2),C.tag=1,Jr(ve)?(g=!0,Jn(C)):g=!1,rs(C,z),uu(C,ve,ke),Uu(C,ve,ke,z),je(null,C,ve,!0,g,z);case 19:return tl(g,C,z);case 23:return Vc(g,C,z);case 24:return Vc(g,C,z)}throw Error(c(156,C.tag))};function tf(g,C,z,ve){this.tag=g,this.key=z,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=C,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 Ko(g,C,z,ve){return new tf(g,C,z,ve)}function rf(g){return g=g.prototype,!(!g||!g.isReactComponent)}function pf(g){if(typeof g=="function")return rf(g)?1:0;if(g!=null){if(g=g.$$typeof,g===J)return 11;if(g===ee)return 14}return 2}function fl(g,C){var z=g.alternate;return z===null?(z=Ko(g.tag,C,g.key,g.mode),z.elementType=g.elementType,z.type=g.type,z.stateNode=g.stateNode,z.alternate=g,g.alternate=z):(z.pendingProps=C,z.type=g.type,z.flags=0,z.nextEffect=null,z.firstEffect=null,z.lastEffect=null),z.childLanes=g.childLanes,z.lanes=g.lanes,z.child=g.child,z.memoizedProps=g.memoizedProps,z.memoizedState=g.memoizedState,z.updateQueue=g.updateQueue,C=g.dependencies,z.dependencies=C===null?null:{lanes:C.lanes,firstContext:C.firstContext},z.sibling=g.sibling,z.index=g.index,z.ref=g.ref,z}function jl(g,C,z,ve,ke,ot){var Zt=2;if(ve=g,typeof g=="function")rf(g)&&(Zt=1);else if(typeof g=="string")Zt=5;else e:switch(g){case G:return Yo(z.children,ke,ot,C);case $:Zt=8,ke|=16;break;case ae:Zt=8,ke|=1;break;case ie:return g=Ko(12,z,C,ke|8),g.elementType=ie,g.type=ie,g.lanes=ot,g;case K:return g=Ko(13,z,C,ke),g.type=K,g.elementType=K,g.lanes=ot,g;case oe:return g=Ko(19,z,C,ke),g.elementType=oe,g.lanes=ot,g;case se:return yc(z,ke,ot,C);case _e:return g=Ko(24,z,C,ke),g.elementType=_e,g.lanes=ot,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case ue:Zt=10;break e;case q:Zt=9;break e;case J:Zt=11;break e;case ee:Zt=14;break e;case Q:Zt=16,ve=null;break e;case le:Zt=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return C=Ko(Zt,z,C,ke),C.elementType=g,C.type=ve,C.lanes=ot,C}function Yo(g,C,z,ve){return g=Ko(7,g,ve,C),g.lanes=z,g}function yc(g,C,z,ve){return g=Ko(23,g,ve,C),g.elementType=se,g.lanes=z,g}function _f(g,C,z){return g=Ko(6,g,null,C),g.lanes=z,g}function Lc(g,C,z){return C=Ko(4,g.children!==null?g.children:[],g.key,C),C.lanes=z,C.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},C}function Mc(g,C,z){this.tag=C,this.containerInfo=g,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=z,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=pa(0),this.expirationTimes=pa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pa(0),this.mutableSourceEagerHydrationData=null}function mf(g,C,z){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:V,key:ve==null?null:""+ve,children:g,containerInfo:C,implementation:z}}function Fc(g,C,z,ve){var ke=C.current,ot=cu(),Zt=Fu(ke);e:if(z){z=z._reactInternals;t:{if(it(z)!==z||z.tag!==1)throw Error(c(170));var ar=z;do{switch(ar.tag){case 3:ar=ar.stateNode.context;break t;case 1:if(Jr(ar.type)){ar=ar.stateNode.__reactInternalMemoizedMergedChildContext;break t}}ar=ar.return}while(ar!==null);throw Error(c(171))}if(z.tag===1){var P=z.type;if(Jr(P)){z=En(z,P,ar);break e}}z=ar}else z=Os;return C.context===null?C.context=z:C.pendingContext=z,C=oo(ot,Zt),C.payload={element:g},ve=ve===void 0?null:ve,ve!==null&&(C.callback=ve),Co(ke,C),Sl(ke,Zt,ot),Zt}function Af(g){if(g=g.current,!g.child)return null;switch(g.child.tag){case 5:return g.child.stateNode;default:return g.child.stateNode}}function Mf(g,C){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var z=g.retryLane;g.retryLane=z!==0&&z<C?z:C}}function Bc(g,C){Mf(g,C),(g=g.alternate)&&Mf(g,C)}function Ff(){return null}function nf(g,C,z){var ve=z!=null&&z.hydrationOptions!=null&&z.hydrationOptions.mutableSources||null;if(z=new Mc(g,C,z!=null&&z.hydrate===!0),C=Ko(3,null,null,C===2?7:C===1?3:0),z.current=C,C.stateNode=z,ks(C),g[ki]=z.current,Yt(g.nodeType===8?g.parentNode:g),ve)for(g=0;g<ve.length;g++){C=ve[g];var ke=C._getVersion;ke=ke(C._source),z.mutableSourceEagerHydrationData==null?z.mutableSourceEagerHydrationData=[C,ke]:z.mutableSourceEagerHydrationData.push(C,ke)}this._internalRoot=z}nf.prototype.render=function(g){Fc(g,this._internalRoot,null,null)},nf.prototype.unmount=function(){var g=this._internalRoot,C=g.containerInfo;Fc(null,g,null,function(){C[ki]=null})};function vf(g){return!(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11&&(g.nodeType!==8||g.nodeValue!==" react-mount-point-unstable "))}function Hf(g,C){if(C||(C=g?g.nodeType===9?g.documentElement:g.firstChild:null,C=!(!C||C.nodeType!==1||!C.hasAttribute("data-reactroot"))),!C)for(var z;z=g.lastChild;)g.removeChild(z);return new nf(g,0,C?{hydrate:!0}:void 0)}function Cf(g,C,z,ve,ke){var ot=z._reactRootContainer;if(ot){var Zt=ot._internalRoot;if(typeof ke=="function"){var ar=ke;ke=function(){var t=Af(Zt);ar.call(t)}}Fc(C,Zt,g,ke)}else{if(ot=z._reactRootContainer=Hf(z,ve),Zt=ot._internalRoot,typeof ke=="function"){var P=ke;ke=function(){var t=Af(Zt);P.call(t)}}Sa(function(){Fc(C,Zt,g,ke)})}return Af(Zt)}Hn=function(g){if(g.tag===13){var C=cu();Sl(g,4,C),Bc(g,4)}},Pn=function(g){if(g.tag===13){var C=cu();Sl(g,67108864,C),Bc(g,67108864)}},yn=function(g){if(g.tag===13){var C=cu(),z=Fu(g);Sl(g,z,C),Bc(g,z)}},Vn=function(g,C){return C()},At=function(g,C,z){switch(C){case"input":if(Ee(g,z),C=z.name,z.type==="radio"&&C!=null){for(z=g;z.parentNode;)z=z.parentNode;for(z=z.querySelectorAll("input[name="+JSON.stringify(""+C)+'][type="radio"]'),C=0;C<z.length;C++){var ve=z[C];if(ve!==g&&ve.form===g.form){var ke=Ja(ve);if(!ke)throw Error(c(90));tt(ve),Ee(ve,ke)}}}break;case"textarea":er(g,z);break;case"select":C=z.value,C!=null&&ht(g,!!z.multiple,C,!1)}},Nt=Li,Fe=function(g,C,z,ve,ke){var ot=Oe;Oe|=4;try{return Er(98,g.bind(null,C,z,ve,ke))}finally{Oe=ot,Oe===0&&(Mu(),an())}},Ir=function(){!(Oe&49)&&(Gn(),$l())},Ct=function(g,C){var z=Oe;Oe|=2;try{return g(C)}finally{Oe=z,Oe===0&&(Mu(),an())}};function Bf(g,C){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vf(C))throw Error(c(200));return mf(g,C,null,z)}var Nf={Events:[Fa,io,Ja,et,yt,$l,{current:!1}]},af={findFiberByHostInstance:Ka,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},$f={bundleType:af.bundleType,version:af.version,rendererPackageName:af.rendererPackageName,rendererConfig:af.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:j.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=Vr(g),g===null?null:g.stateNode},findFiberByHostInstance:af.findFiberByHostInstance||Ff,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Tf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Tf.isDisabled&&Tf.supportsFiber)try{Dn=Tf.inject($f),On=Tf}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Nf,v.createPortal=Bf,v.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var C=g._reactInternals;if(C===void 0)throw typeof g.render=="function"?Error(c(188)):Error(c(268,Object.keys(g)));return g=Vr(C),g=g===null?null:g.stateNode,g},v.flushSync=function(g,C){var z=Oe;if(z&48)return g(C);Oe|=1;try{if(g)return Er(99,g.bind(null,C))}finally{Oe=z,an()}},v.hydrate=function(g,C,z){if(!vf(C))throw Error(c(200));return Cf(null,g,C,!0,z)},v.render=function(g,C,z){if(!vf(C))throw Error(c(200));return Cf(null,g,C,!1,z)},v.unmountComponentAtNode=function(g){if(!vf(g))throw Error(c(40));return g._reactRootContainer?(Sa(function(){Cf(null,null,g,!1,function(){g._reactRootContainer=null,g[ki]=null})}),!0):!1},v.unstable_batchedUpdates=Li,v.unstable_createPortal=function(g,C){return Bf(g,C,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,C,z,ve){if(!vf(z))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return Cf(g,C,z,!1,ve)},v.version="17.0.2"},4676:function(d,v,e){"use strict";function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),d.exports=e(23675)},12373:function(d){var v=typeof Element!="undefined",e=typeof Map=="function",r=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var 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 D(B){if(typeof B=="object"&&B!==null){var j=B.$$typeof;switch(j){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 j}}case i:return j}}}function M(B){return D(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)||D(B)===u},v.isConcurrentMode=M,v.isContextConsumer=function(B){return D(B)===h},v.isContextProvider=function(B){return D(B)===o},v.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},v.isForwardRef=function(B){return D(B)===x},v.isFragment=function(B){return D(B)===l},v.isLazy=function(B){return D(B)===b},v.isMemo=function(B){return D(B)===_},v.isPortal=function(B){return D(B)===i},v.isProfiler=function(B){return D(B)===f},v.isStrictMode=function(B){return D(B)===c},v.isSuspense=function(B){return D(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=D},99234:function(d,v,e){"use strict";d.exports=e(30508)},88172:function(d,v){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),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 D=1;D<arguments.length;D++){var M=arguments[D];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(A[B]=M[B])}return A},c.apply(this,arguments)}function f(A,D){if(A==null)return{};var M={},B=Object.keys(A),j,Y;for(Y=0;Y<B.length;Y++)j=B[Y],!(D.indexOf(j)>=0)&&(M[j]=A[j]);return M}const o=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(A,D){if(!A){typeof console!="undefined"&&console.warn(D);try{throw new Error(D)}catch(M){}}}function a(A){let{basename:D,children:M,window:B}=A,j=useRef();j.current==null&&(j.current=createBrowserHistory({window:B}));let Y=j.current,[V,G]=useState({action:Y.action,location:Y.location});return useLayoutEffect(()=>Y.listen(G),[Y]),createElement(Router,{basename:D,children:M,location:V.location,navigationType:V.action,navigator:Y})}function x(A){let{basename:D,children:M,window:B}=A,j=useRef();j.current==null&&(j.current=createHashHistory({window:B}));let Y=j.current,[V,G]=useState({action:Y.action,location:Y.location});return useLayoutEffect(()=>Y.listen(G),[Y]),createElement(Router,{basename:D,children:M,location:V.location,navigationType:V.action,navigator:Y})}function p(A){let{basename:D,children:M,history:B}=A;const[j,Y]=useState({action:B.action,location:B.location});return useLayoutEffect(()=>B.listen(Y),[B]),createElement(Router,{basename:D,children:M,location:j.location,navigationType:j.action,navigator:B})}function y(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}const _=(0,r.forwardRef)(function(D,M){let{onClick:B,reloadDocument:j,replace:Y=!1,state:V,target:G,to:ae}=D,ie=f(D,o),ue=(0,i.oQ)(ae),q=S(ae,{replace:Y,state:V,target:G});function J(K){B&&B(K),!K.defaultPrevented&&!j&&q(K)}return(0,r.createElement)("a",c({},ie,{href:ue,onClick:J,ref:M,target:G}))}),b=null;function S(A,D){let{target:M,replace:B,state:j}=D===void 0?{}:D,Y=(0,i.s0)(),V=(0,i.TH)(),G=(0,i.WU)(A);return(0,r.useCallback)(ae=>{if(ae.button===0&&(!M||M==="_self")&&!y(ae)){ae.preventDefault();let ie=!!B||(0,l.Ep)(V)===(0,l.Ep)(G);Y(A,{replace:ie,state:j})}},[V,Y,G,B,j,M,A])}function k(A){let D=(0,r.useRef)(R(A)),M=(0,i.TH)(),B=(0,r.useMemo)(()=>{let V=R(M.search);for(let G of D.current.keys())V.has(G)||D.current.getAll(G).forEach(ae=>{V.append(G,ae)});return V},[M.search]),j=(0,i.s0)(),Y=(0,r.useCallback)((V,G)=>{j("?"+R(V),G)},[j]);return[B,Y]}function R(A){return A===void 0&&(A=""),new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((D,M)=>{let B=A[M];return D.concat(Array.isArray(B)?B.map(j=>[M,j]):[[M,B]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return tt},Fg:function(){return We},Gn:function(){return x},TH:function(){return se},UO:function(){return bt},V$:function(){return jt},WU:function(){return kt},bx:function(){return Ne},fp:function(){return p},j3:function(){return St},oQ:function(){return Z},s0:function(){return De}});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(Be,Ee){if(!Be)throw new Error(Ee)}function h(Be,Ee){if(!Be){typeof console!="undefined"&&console.warn(Ee);try{throw new Error(Ee)}catch(Re){}}}const u={};function a(Be,Ee,Re){!Ee&&!u[Be]&&(u[Be]=!0)}function x(Be,Ee){return Ee===void 0&&(Ee={}),Be.replace(/:(\w+)/g,(Re,He)=>(Ee[He]==null&&o(!1),Ee[He])).replace(/\/*\*$/,Re=>Ee["*"]==null?"":Ee["*"].replace(/^\/*/,"/"))}function p(Be,Ee,Re){Re===void 0&&(Re="/");let He=typeof Ee=="string"?(0,r.cP)(Ee):Ee,ze=K(He.pathname||"/",Re);if(ze==null)return null;let Ye=y(Be);_(Ye);let ht=null;for(let xt=0;ht==null&&xt<Ye.length;++xt)ht=Y(Ye[xt],ze);return ht}function y(Be,Ee,Re,He){return Ee===void 0&&(Ee=[]),Re===void 0&&(Re=[]),He===void 0&&(He=""),Be.forEach((ze,Ye)=>{let ht={relativePath:ze.path||"",caseSensitive:ze.caseSensitive===!0,childrenIndex:Ye,route:ze};ht.relativePath.startsWith("/")&&(ht.relativePath.startsWith(He)||o(!1),ht.relativePath=ht.relativePath.slice(He.length));let xt=oe([He,ht.relativePath]),nr=Re.concat(ht);ze.children&&ze.children.length>0&&(ze.index===!0&&o(!1),y(ze.children,Ee,nr,xt)),!(ze.path==null&&!ze.index)&&Ee.push({path:xt,score:B(xt,ze.index),routesMeta:nr})}),Ee}function _(Be){Be.sort((Ee,Re)=>Ee.score!==Re.score?Re.score-Ee.score:j(Ee.routesMeta.map(He=>He.childrenIndex),Re.routesMeta.map(He=>He.childrenIndex)))}const b=/^:\w+$/,S=3,k=2,R=1,A=10,D=-2,M=Be=>Be==="*";function B(Be,Ee){let Re=Be.split("/"),He=Re.length;return Re.some(M)&&(He+=D),Ee&&(He+=k),Re.filter(ze=>!M(ze)).reduce((ze,Ye)=>ze+(b.test(Ye)?S:Ye===""?R:A),He)}function j(Be,Ee){return Be.length===Ee.length&&Be.slice(0,-1).every((He,ze)=>He===Ee[ze])?Be[Be.length-1]-Ee[Ee.length-1]:0}function Y(Be,Ee){let{routesMeta:Re}=Be,He={},ze="/",Ye=[];for(let ht=0;ht<Re.length;++ht){let xt=Re[ht],nr=ht===Re.length-1,er=ze==="/"?Ee:Ee.slice(ze.length)||"/",Le=V({path:xt.relativePath,caseSensitive:xt.caseSensitive,end:nr},er);if(!Le)return null;Object.assign(He,Le.params);let Qe=xt.route;Ye.push({params:He,pathname:oe([ze,Le.pathname]),pathnameBase:ee(oe([ze,Le.pathnameBase])),route:Qe}),Le.pathnameBase!=="/"&&(ze=oe([ze,Le.pathnameBase]))}return Ye}function V(Be,Ee){typeof Be=="string"&&(Be={path:Be,caseSensitive:!1,end:!0});let[Re,He]=G(Be.path,Be.caseSensitive,Be.end),ze=Ee.match(Re);if(!ze)return null;let Ye=ze[0],ht=Ye.replace(/(.)\/+$/,"$1"),xt=ze.slice(1);return{params:He.reduce((er,Le,Qe)=>{if(Le==="*"){let Qt=xt[Qe]||"";ht=Ye.slice(0,Ye.length-Qt.length).replace(/(.)\/+$/,"$1")}return er[Le]=ae(xt[Qe]||"",Le),er},{}),pathname:Ye,pathnameBase:ht,pattern:Be}}function G(Be,Ee,Re){Ee===void 0&&(Ee=!1),Re===void 0&&(Re=!0);let He=[],ze="^"+Be.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(ht,xt)=>(He.push(xt),"([^\\/]+)"));return Be.endsWith("*")?(He.push("*"),ze+=Be==="*"||Be==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):ze+=Re?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(ze,Ee?void 0:"i"),He]}function ae(Be,Ee){try{return decodeURIComponent(Be)}catch(Re){return Be}}function ie(Be,Ee){Ee===void 0&&(Ee="/");let{pathname:Re,search:He="",hash:ze=""}=typeof Be=="string"?(0,r.cP)(Be):Be;return{pathname:Re?Re.startsWith("/")?Re:ue(Re,Ee):Ee,search:Q(He),hash:le(ze)}}function ue(Be,Ee){let Re=Ee.replace(/\/+$/,"").split("/");return Be.split("/").forEach(ze=>{ze===".."?Re.length>1&&Re.pop():ze!=="."&&Re.push(ze)}),Re.length>1?Re.join("/"):"/"}function q(Be,Ee,Re){let He=typeof Be=="string"?(0,r.cP)(Be):Be,ze=Be===""||He.pathname===""?"/":He.pathname,Ye;if(ze==null)Ye=Re;else{let xt=Ee.length-1;if(ze.startsWith("..")){let nr=ze.split("/");for(;nr[0]==="..";)nr.shift(),xt-=1;He.pathname=nr.join("/")}Ye=xt>=0?Ee[xt]:"/"}let ht=ie(He,Ye);return ze&&ze!=="/"&&ze.endsWith("/")&&!ht.pathname.endsWith("/")&&(ht.pathname+="/"),ht}function J(Be){return Be===""||Be.pathname===""?"/":typeof Be=="string"?(0,r.cP)(Be).pathname:Be.pathname}function K(Be,Ee){if(Ee==="/")return Be;if(!Be.toLowerCase().startsWith(Ee.toLowerCase()))return null;let Re=Be.charAt(Ee.length);return Re&&Re!=="/"?null:Be.slice(Ee.length)||"/"}const oe=Be=>Be.join("/").replace(/\/\/+/g,"/"),ee=Be=>Be.replace(/\/+$/,"").replace(/^\/*/,"/"),Q=Be=>!Be||Be==="?"?"":Be.startsWith("?")?Be:"?"+Be,le=Be=>!Be||Be==="#"?"":Be.startsWith("#")?Be:"#"+Be;function Z(Be){$()||o(!1);let{basename:Ee,navigator:Re}=(0,i.useContext)(l),{hash:He,pathname:ze,search:Ye}=kt(Be),ht=ze;if(Ee!=="/"){let xt=J(Be),nr=xt!=null&&xt.endsWith("/");ht=ze==="/"?Ee+(nr?"/":""):oe([Ee,ze])}return Re.createHref({pathname:ht,search:Ye,hash:He})}function $(){return(0,i.useContext)(c)!=null}function se(){return $()||o(!1),(0,i.useContext)(c).location}function _e(){return useContext(c).navigationType}function Ie(Be){$()||o(!1);let{pathname:Ee}=se();return useMemo(()=>V(Be,Ee),[Ee,Be])}function De(){$()||o(!1);let{basename:Be,navigator:Ee}=(0,i.useContext)(l),{matches:Re}=(0,i.useContext)(f),{pathname:He}=se(),ze=JSON.stringify(Re.map(xt=>xt.pathnameBase)),Ye=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{Ye.current=!0}),(0,i.useCallback)(function(xt,nr){if(nr===void 0&&(nr={}),!Ye.current)return;if(typeof xt=="number"){Ee.go(xt);return}let er=q(xt,JSON.parse(ze),He);Be!=="/"&&(er.pathname=oe([Be,er.pathname])),(nr.replace?Ee.replace:Ee.push)(er,nr.state)},[Be,Ee,ze,He])}const Ze=(0,i.createContext)(null);function Ne(){return(0,i.useContext)(Ze)}function Lt(Be){let Ee=(0,i.useContext)(f).outlet;return Ee&&(0,i.createElement)(Ze.Provider,{value:Be},Ee)}function bt(){let{matches:Be}=(0,i.useContext)(f),Ee=Be[Be.length-1];return Ee?Ee.params:{}}function kt(Be){let{matches:Ee}=(0,i.useContext)(f),{pathname:Re}=se(),He=JSON.stringify(Ee.map(ze=>ze.pathnameBase));return(0,i.useMemo)(()=>q(Be,JSON.parse(He),Re),[Be,He,Re])}function jt(Be,Ee){$()||o(!1);let{matches:Re}=(0,i.useContext)(f),He=Re[Re.length-1],ze=He?He.params:{},Ye=He?He.pathname:"/",ht=He?He.pathnameBase:"/",xt=He&&He.route,nr=se(),er;if(Ee){var Le;let Vt=typeof Ee=="string"?(0,r.cP)(Ee):Ee;ht==="/"||(Le=Vt.pathname)!=null&&Le.startsWith(ht)||o(!1),er=Vt}else er=nr;let Qe=er.pathname||"/",Qt=ht==="/"?Qe:Qe.slice(ht.length)||"/",Rt=p(Be,{pathname:Qt});return Wt(Rt&&Rt.map(Vt=>Object.assign({},Vt,{params:Object.assign({},ze,Vt.params),pathname:oe([ht,Vt.pathname]),pathnameBase:Vt.pathnameBase==="/"?ht:oe([ht,Vt.pathnameBase])})),Re)}function Wt(Be,Ee){return Ee===void 0&&(Ee=[]),Be==null?null:Be.reduceRight((Re,He,ze)=>(0,i.createElement)(f.Provider,{children:He.route.element!==void 0?He.route.element:Re,value:{outlet:Re,matches:Ee.concat(Be.slice(0,ze+1))}}),null)}function zt(Be){let{basename:Ee,children:Re,initialEntries:He,initialIndex:ze}=Be,Ye=useRef();Ye.current==null&&(Ye.current=createMemoryHistory({initialEntries:He,initialIndex:ze}));let ht=Ye.current,[xt,nr]=useState({action:ht.action,location:ht.location});return useLayoutEffect(()=>ht.listen(nr),[ht]),createElement(tt,{basename:Ee,children:Re,location:xt.location,navigationType:xt.action,navigator:ht})}function We(Be){let{to:Ee,replace:Re,state:He}=Be;$()||o(!1);let ze=De();return(0,i.useEffect)(()=>{ze(Ee,{replace:Re,state:He})}),null}function St(Be){return Lt(Be.context)}function Ft(Be){o(!1)}function tt(Be){let{basename:Ee="/",children:Re=null,location:He,navigationType:ze=r.aU.Pop,navigator:Ye,static:ht=!1}=Be;$()&&o(!1);let xt=ee(Ee),nr=(0,i.useMemo)(()=>({basename:xt,navigator:Ye,static:ht}),[xt,Ye,ht]);typeof He=="string"&&(He=(0,r.cP)(He));let{pathname:er="/",search:Le="",hash:Qe="",state:Qt=null,key:Rt="default"}=He,Vt=(0,i.useMemo)(()=>{let Gt=K(er,xt);return Gt==null?null:{pathname:Gt,search:Le,hash:Qe,state:Qt,key:Rt}},[xt,er,Le,Qe,Qt,Rt]);return Vt==null?null:(0,i.createElement)(l.Provider,{value:nr},(0,i.createElement)(c.Provider,{children:Re,value:{location:Vt,navigationType:ze}}))}function _t(Be){let{children:Ee,location:Re}=Be;return jt(dt(Ee),Re)}function dt(Be){let Ee=[];return Children.forEach(Be,Re=>{if(!isValidElement(Re))return;if(Re.type===Fragment){Ee.push.apply(Ee,dt(Re.props.children));return}Re.type!==Ft&&o(!1);let He={caseSensitive:Re.props.caseSensitive,element:Re.props.element,index:Re.props.index,path:Re.props.path};Re.props.children&&(He.children=dt(Re.props.children)),Ee.push(He)}),Ee}function qe(Be){return Wt(Be)}},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(Q){return Q===null||typeof Q!="object"?null:(Q=x&&Q[x]||Q["@@iterator"],typeof Q=="function"?Q:null)}function y(Q){for(var le="https://reactjs.org/docs/error-decoder.html?invariant="+Q,Z=1;Z<arguments.length;Z++)le+="&args[]="+encodeURIComponent(arguments[Z]);return"Minified React error #"+Q+"; 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(Q,le,Z){this.props=Q,this.context=le,this.refs=b,this.updater=Z||_}S.prototype.isReactComponent={},S.prototype.setState=function(Q,le){if(typeof Q!="object"&&typeof Q!="function"&&Q!=null)throw Error(y(85));this.updater.enqueueSetState(this,Q,le,"setState")},S.prototype.forceUpdate=function(Q){this.updater.enqueueForceUpdate(this,Q,"forceUpdate")};function k(){}k.prototype=S.prototype;function R(Q,le,Z){this.props=Q,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 D={current:null},M=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function j(Q,le,Z){var $,se={},_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($)&&(se[$]=le[$]);var De=arguments.length-2;if(De===1)se.children=Z;else if(1<De){for(var Ze=Array(De),Ne=0;Ne<De;Ne++)Ze[Ne]=arguments[Ne+2];se.children=Ze}if(Q&&Q.defaultProps)for($ in De=Q.defaultProps,De)se[$]===void 0&&(se[$]=De[$]);return{$$typeof:i,type:Q,key:_e,ref:Ie,props:se,_owner:D.current}}function Y(Q,le){return{$$typeof:i,type:Q.type,key:le,ref:Q.ref,props:Q.props,_owner:Q._owner}}function V(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===i}function G(Q){var le={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(Z){return le[Z]})}var ae=/\/+/g;function ie(Q,le){return typeof Q=="object"&&Q!==null&&Q.key!=null?G(""+Q.key):le.toString(36)}function ue(Q,le,Z,$,se){var _e=typeof Q;(_e==="undefined"||_e==="boolean")&&(Q=null);var Ie=!1;if(Q===null)Ie=!0;else switch(_e){case"string":case"number":Ie=!0;break;case"object":switch(Q.$$typeof){case i:case l:Ie=!0}}if(Ie)return Ie=Q,se=se(Ie),Q=$===""?"."+ie(Ie,0):$,Array.isArray(se)?(Z="",Q!=null&&(Z=Q.replace(ae,"$&/")+"/"),ue(se,le,Z,"",function(Ne){return Ne})):se!=null&&(V(se)&&(se=Y(se,Z+(!se.key||Ie&&Ie.key===se.key?"":(""+se.key).replace(ae,"$&/")+"/")+Q)),le.push(se)),1;if(Ie=0,$=$===""?".":$+":",Array.isArray(Q))for(var De=0;De<Q.length;De++){_e=Q[De];var Ze=$+ie(_e,De);Ie+=ue(_e,le,Z,Ze,se)}else if(Ze=p(Q),typeof Ze=="function")for(Q=Ze.call(Q),De=0;!(_e=Q.next()).done;)_e=_e.value,Ze=$+ie(_e,De++),Ie+=ue(_e,le,Z,Ze,se);else if(_e==="object")throw le=""+Q,Error(y(31,le==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":le));return Ie}function q(Q,le,Z){if(Q==null)return Q;var $=[],se=0;return ue(Q,$,"","",function(_e){return le.call(Z,_e,se++)}),$}function J(Q){if(Q._status===-1){var le=Q._result;le=le(),Q._status=0,Q._result=le,le.then(function(Z){Q._status===0&&(Z=Z.default,Q._status=1,Q._result=Z)},function(Z){Q._status===0&&(Q._status=2,Q._result=Z)})}if(Q._status===1)return Q._result;throw Q._result}var K={current:null};function oe(){var Q=K.current;if(Q===null)throw Error(y(321));return Q}var ee={ReactCurrentDispatcher:K,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:D,IsSomeRendererActing:{current:!1},assign:r};v.Children={map:q,forEach:function(Q,le,Z){q(Q,function(){le.apply(this,arguments)},Z)},count:function(Q){var le=0;return q(Q,function(){le++}),le},toArray:function(Q){return q(Q,function(le){return le})||[]},only:function(Q){if(!V(Q))throw Error(y(143));return Q}},v.Component=S,v.PureComponent=R,v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ee,v.cloneElement=function(Q,le,Z){if(Q==null)throw Error(y(267,Q));var $=r({},Q.props),se=Q.key,_e=Q.ref,Ie=Q._owner;if(le!=null){if(le.ref!==void 0&&(_e=le.ref,Ie=D.current),le.key!==void 0&&(se=""+le.key),Q.type&&Q.type.defaultProps)var De=Q.type.defaultProps;for(Ze in le)M.call(le,Ze)&&!B.hasOwnProperty(Ze)&&($[Ze]=le[Ze]===void 0&&De!==void 0?De[Ze]:le[Ze])}var Ze=arguments.length-2;if(Ze===1)$.children=Z;else if(1<Ze){De=Array(Ze);for(var Ne=0;Ne<Ze;Ne++)De[Ne]=arguments[Ne+2];$.children=De}return{$$typeof:i,type:Q.type,key:se,ref:_e,props:$,_owner:Ie}},v.createContext=function(Q,le){return le===void 0&&(le=null),Q={$$typeof:f,_calculateChangedBits:le,_currentValue:Q,_currentValue2:Q,_threadCount:0,Provider:null,Consumer:null},Q.Provider={$$typeof:c,_context:Q},Q.Consumer=Q},v.createElement=j,v.createFactory=function(Q){var le=j.bind(null,Q);return le.type=Q,le},v.createRef=function(){return{current:null}},v.forwardRef=function(Q){return{$$typeof:o,render:Q}},v.isValidElement=V,v.lazy=function(Q){return{$$typeof:u,_payload:{_status:-1,_result:Q},_init:J}},v.memo=function(Q,le){return{$$typeof:h,type:Q,compare:le===void 0?null:le}},v.useCallback=function(Q,le){return oe().useCallback(Q,le)},v.useContext=function(Q,le){return oe().useContext(Q,le)},v.useDebugValue=function(){},v.useEffect=function(Q,le){return oe().useEffect(Q,le)},v.useImperativeHandle=function(Q,le,Z){return oe().useImperativeHandle(Q,le,Z)},v.useLayoutEffect=function(Q,le){return oe().useLayoutEffect(Q,le)},v.useMemo=function(Q,le){return oe().useMemo(Q,le)},v.useReducer=function(Q,le,Z){return oe().useReducer(Q,le,Z)},v.useRef=function(Q){return oe().useRef(Q)},v.useState=function(Q){return oe().useState(Q)},v.version="17.0.2"},59301:function(d,v,e){"use strict";d.exports=e(76100)},59781:function(d,v,e){"use strict";e.d(v,{DE:function(){return D},MT:function(){return y},UY:function(){return R},md:function(){return B},qC:function(){return M}});var r=e(20439);function i(j){return"Minified Redux error #"+j+"; visit https://redux.js.org/Errors?code="+j+" for the full message or use the non-minified dev environment for full errors. "}var l=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),c=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function o(j){if(typeof j!="object"||j===null)return!1;for(var Y=j;Object.getPrototypeOf(Y)!==null;)Y=Object.getPrototypeOf(Y);return Object.getPrototypeOf(j)===Y}function h(j){if(j===void 0)return"undefined";if(j===null)return"null";var Y=typeof j;switch(Y){case"boolean":case"string":case"number":case"symbol":case"function":return Y}if(Array.isArray(j))return"array";if(x(j))return"date";if(a(j))return"error";var V=u(j);switch(V){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return V}return Y.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(j){return typeof j.constructor=="function"?j.constructor.name:null}function a(j){return j instanceof Error||typeof j.message=="string"&&j.constructor&&typeof j.constructor.stackTraceLimit=="number"}function x(j){return j instanceof Date?!0:typeof j.toDateString=="function"&&typeof j.getDate=="function"&&typeof j.setDate=="function"}function p(j){var Y=typeof j;return Y}function y(j,Y,V){var G;if(typeof Y=="function"&&typeof V=="function"||typeof V=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof Y=="function"&&typeof V=="undefined"&&(V=Y,Y=void 0),typeof V!="undefined"){if(typeof V!="function")throw new Error(i(1));return V(y)(j,Y)}if(typeof j!="function")throw new Error(i(2));var ae=j,ie=Y,ue=[],q=ue,J=!1;function K(){q===ue&&(q=ue.slice())}function oe(){if(J)throw new Error(i(3));return ie}function ee($){if(typeof $!="function")throw new Error(i(4));if(J)throw new Error(i(5));var se=!0;return K(),q.push($),function(){if(se){if(J)throw new Error(i(6));se=!1,K();var Ie=q.indexOf($);q.splice(Ie,1),ue=null}}}function Q($){if(!o($))throw new Error(i(7));if(typeof $.type=="undefined")throw new Error(i(8));if(J)throw new Error(i(9));try{J=!0,ie=ae(ie,$)}finally{J=!1}for(var se=ue=q,_e=0;_e<se.length;_e++){var Ie=se[_e];Ie()}return $}function le($){if(typeof $!="function")throw new Error(i(10));ae=$,Q({type:f.REPLACE})}function Z(){var $,se=ee;return $={subscribe:function(Ie){if(typeof Ie!="object"||Ie===null)throw new Error(i(11));function De(){Ie.next&&Ie.next(oe())}De();var Ze=se(De);return{unsubscribe:Ze}}},$[l]=function(){return this},$}return Q({type:f.INIT}),G={dispatch:Q,subscribe:ee,getState:oe,replaceReducer:le},G[l]=Z,G}var _=null;function b(j){typeof console!="undefined"&&typeof console.error=="function"&&console.error(j);try{throw new Error(j)}catch(Y){}}function S(j,Y,V,G){var ae=Object.keys(Y),ie=V&&V.type===f.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(ae.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(j))return"The "+ie+' has unexpected type of "'+p(j)+'". Expected argument to be an object with the following '+('keys: "'+ae.join('", "')+'"');var ue=Object.keys(j).filter(function(q){return!Y.hasOwnProperty(q)&&!G[q]});if(ue.forEach(function(q){G[q]=!0}),!(V&&V.type===f.REPLACE)&&ue.length>0)return"Unexpected "+(ue.length>1?"keys":"key")+" "+('"'+ue.join('", "')+'" found in '+ie+". ")+"Expected to find one of the known reducer keys instead: "+('"'+ae.join('", "')+'". Unexpected keys will be ignored.')}function k(j){Object.keys(j).forEach(function(Y){var V=j[Y],G=V(void 0,{type:f.INIT});if(typeof G=="undefined")throw new Error(i(12));if(typeof V(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function R(j){for(var Y=Object.keys(j),V={},G=0;G<Y.length;G++){var ae=Y[G];typeof j[ae]=="function"&&(V[ae]=j[ae])}var ie=Object.keys(V),ue,q;try{k(V)}catch(J){q=J}return function(K,oe){if(K===void 0&&(K={}),q)throw q;if(0)var ee;for(var Q=!1,le={},Z=0;Z<ie.length;Z++){var $=ie[Z],se=V[$],_e=K[$],Ie=se(_e,oe);if(typeof Ie=="undefined"){var De=oe&&oe.type;throw new Error(i(14))}le[$]=Ie,Q=Q||Ie!==_e}return Q=Q||ie.length!==Object.keys(K).length,Q?le:K}}function A(j,Y){return function(){return Y(j.apply(this,arguments))}}function D(j,Y){if(typeof j=="function")return A(j,Y);if(typeof j!="object"||j===null)throw new Error(i(16));var V={};for(var G in j){var ae=j[G];typeof ae=="function"&&(V[G]=A(ae,Y))}return V}function M(){for(var j=arguments.length,Y=new Array(j),V=0;V<j;V++)Y[V]=arguments[V];return Y.length===0?function(G){return G}:Y.length===1?Y[0]:Y.reduce(function(G,ae){return function(){return G(ae.apply(void 0,arguments))}})}function B(){for(var j=arguments.length,Y=new Array(j),V=0;V<j;V++)Y[V]=arguments[V];return function(G){return function(){var ae=G.apply(void 0,arguments),ie=function(){throw new Error(i(15))},ue={getState:ae.getState,dispatch:function(){return ie.apply(void 0,arguments)}},q=Y.map(function(J){return J(ue)});return ie=M.apply(void 0,q)(ae.dispatch),(0,r.Z)((0,r.Z)({},ae),{},{dispatch:ie})}}}},58246:function(d){var v=function(e){"use strict";var r=Object.prototype,i=r.hasOwnProperty,l=Object.defineProperty||function(ee,Q,le){ee[Q]=le.value},c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.asyncIterator||"@@asyncIterator",u=f.toStringTag||"@@toStringTag";function a(ee,Q,le){return Object.defineProperty(ee,Q,{value:le,enumerable:!0,configurable:!0,writable:!0}),ee[Q]}try{a({},"")}catch(ee){a=function(Q,le,Z){return Q[le]=Z}}function x(ee,Q,le,Z){var $=Q&&Q.prototype instanceof R?Q:R,se=Object.create($.prototype),_e=new J(Z||[]);return l(se,"_invoke",{value:ae(ee,le,_e)}),se}e.wrap=x;function p(ee,Q,le){try{return{type:"normal",arg:ee.call(Q,le)}}catch(Z){return{type:"throw",arg:Z}}}var y="suspendedStart",_="suspendedYield",b="executing",S="completed",k={};function R(){}function A(){}function D(){}var M={};a(M,o,function(){return this});var B=Object.getPrototypeOf,j=B&&B(B(K([])));j&&j!==r&&i.call(j,o)&&(M=j);var Y=D.prototype=R.prototype=Object.create(M);A.prototype=D,l(Y,"constructor",{value:D,configurable:!0}),l(D,"constructor",{value:A,configurable:!0}),A.displayName=a(D,u,"GeneratorFunction");function V(ee){["next","throw","return"].forEach(function(Q){a(ee,Q,function(le){return this._invoke(Q,le)})})}e.isGeneratorFunction=function(ee){var Q=typeof ee=="function"&&ee.constructor;return Q?Q===A||(Q.displayName||Q.name)==="GeneratorFunction":!1},e.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,D):(ee.__proto__=D,a(ee,u,"GeneratorFunction")),ee.prototype=Object.create(Y),ee},e.awrap=function(ee){return{__await:ee}};function G(ee,Q){function le(se,_e,Ie,De){var Ze=p(ee[se],ee,_e);if(Ze.type==="throw")De(Ze.arg);else{var Ne=Ze.arg,Lt=Ne.value;return Lt&&typeof Lt=="object"&&i.call(Lt,"__await")?Q.resolve(Lt.__await).then(function(bt){le("next",bt,Ie,De)},function(bt){le("throw",bt,Ie,De)}):Q.resolve(Lt).then(function(bt){Ne.value=bt,Ie(Ne)},function(bt){return le("throw",bt,Ie,De)})}}var Z;function $(se,_e){function Ie(){return new Q(function(De,Ze){le(se,_e,De,Ze)})}return Z=Z?Z.then(Ie,Ie):Ie()}l(this,"_invoke",{value:$})}V(G.prototype),a(G.prototype,h,function(){return this}),e.AsyncIterator=G,e.async=function(ee,Q,le,Z,$){$===void 0&&($=Promise);var se=new G(x(ee,Q,le,Z),$);return e.isGeneratorFunction(Q)?se:se.next().then(function(_e){return _e.done?_e.value:se.next()})};function ae(ee,Q,le){var Z=y;return function(se,_e){if(Z===b)throw new Error("Generator is already running");if(Z===S){if(se==="throw")throw _e;return oe()}for(le.method=se,le.arg=_e;;){var Ie=le.delegate;if(Ie){var De=ie(Ie,le);if(De){if(De===k)continue;return De}}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 Ze=p(ee,Q,le);if(Ze.type==="normal"){if(Z=le.done?S:_,Ze.arg===k)continue;return{value:Ze.arg,done:le.done}}else Ze.type==="throw"&&(Z=S,le.method="throw",le.arg=Ze.arg)}}}function ie(ee,Q){var le=Q.method,Z=ee.iterator[le];if(Z===c)return Q.delegate=null,le==="throw"&&ee.iterator.return&&(Q.method="return",Q.arg=c,ie(ee,Q),Q.method==="throw")||le!=="return"&&(Q.method="throw",Q.arg=new TypeError("The iterator does not provide a '"+le+"' method")),k;var $=p(Z,ee.iterator,Q.arg);if($.type==="throw")return Q.method="throw",Q.arg=$.arg,Q.delegate=null,k;var se=$.arg;if(!se)return Q.method="throw",Q.arg=new TypeError("iterator result is not an object"),Q.delegate=null,k;if(se.done)Q[ee.resultName]=se.value,Q.next=ee.nextLoc,Q.method!=="return"&&(Q.method="next",Q.arg=c);else return se;return Q.delegate=null,k}V(Y),a(Y,u,"Generator"),a(Y,o,function(){return this}),a(Y,"toString",function(){return"[object Generator]"});function ue(ee){var Q={tryLoc:ee[0]};1 in ee&&(Q.catchLoc=ee[1]),2 in ee&&(Q.finallyLoc=ee[2],Q.afterLoc=ee[3]),this.tryEntries.push(Q)}function q(ee){var Q=ee.completion||{};Q.type="normal",delete Q.arg,ee.completion=Q}function J(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach(ue,this),this.reset(!0)}e.keys=function(ee){var Q=Object(ee),le=[];for(var Z in Q)le.push(Z);return le.reverse(),function $(){for(;le.length;){var se=le.pop();if(se in Q)return $.value=se,$.done=!1,$}return $.done=!0,$}};function K(ee){if(ee){var Q=ee[o];if(Q)return Q.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:oe}}e.values=K;function oe(){return{value:c,done:!0}}return J.prototype={constructor:J,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(q),!ee)for(var Q in this)Q.charAt(0)==="t"&&i.call(this,Q)&&!isNaN(+Q.slice(1))&&(this[Q]=c)},stop:function(){this.done=!0;var ee=this.tryEntries[0],Q=ee.completion;if(Q.type==="throw")throw Q.arg;return this.rval},dispatchException:function(ee){if(this.done)throw ee;var Q=this;function le(De,Ze){return se.type="throw",se.arg=ee,Q.next=De,Ze&&(Q.method="next",Q.arg=c),!!Ze}for(var Z=this.tryEntries.length-1;Z>=0;--Z){var $=this.tryEntries[Z],se=$.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,Q){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<=Q&&Q<=$.finallyLoc&&($=null);var se=$?$.completion:{};return se.type=ee,se.arg=Q,$?(this.method="next",this.next=$.finallyLoc,k):this.complete(se)},complete:function(ee,Q){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"&&Q&&(this.next=Q),k},finish:function(ee){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var le=this.tryEntries[Q];if(le.finallyLoc===ee)return this.complete(le.completion,le.afterLoc),q(le),k}},catch:function(ee){for(var Q=this.tryEntries.length-1;Q>=0;--Q){var le=this.tryEntries[Q];if(le.tryLoc===ee){var Z=le.completion;if(Z.type==="throw"){var $=Z.arg;q(le)}return $}}throw new Error("illegal catch attempt")},delegateYield:function(ee,Q,le){return this.delegate={iterator:K(ee),resultName:Q,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 J(K,oe){var ee=-1;return K.some(function(Q,le){return Q[0]===oe?(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(oe){var ee=J(this.__entries__,oe),Q=this.__entries__[ee];return Q&&Q[1]},K.prototype.set=function(oe,ee){var Q=J(this.__entries__,oe);~Q?this.__entries__[Q][1]=ee:this.__entries__.push([oe,ee])},K.prototype.delete=function(oe){var ee=this.__entries__,Q=J(ee,oe);~Q&&ee.splice(Q,1)},K.prototype.has=function(oe){return!!~J(this.__entries__,oe)},K.prototype.clear=function(){this.__entries__.splice(0)},K.prototype.forEach=function(oe,ee){ee===void 0&&(ee=null);for(var Q=0,le=this.__entries__;Q<le.length;Q++){var Z=le[Q];oe.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(J){return setTimeout(function(){return J(Date.now())},1e3/60)}}(),f=2;function o(J,K){var oe=!1,ee=!1,Q=0;function le(){oe&&(oe=!1,J()),ee&&$()}function Z(){c(le)}function $(){var se=Date.now();if(oe){if(se-Q<f)return;ee=!0}else oe=!0,ee=!1,setTimeout(Z,K);Q=se}return $}var h=20,u=["top","right","bottom","left","width","height","size","weight"],a=typeof MutationObserver!="undefined",x=function(){function J(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=o(this.refresh.bind(this),h)}return J.prototype.addObserver=function(K){~this.observers_.indexOf(K)||this.observers_.push(K),this.connected_||this.connect_()},J.prototype.removeObserver=function(K){var oe=this.observers_,ee=oe.indexOf(K);~ee&&oe.splice(ee,1),!oe.length&&this.connected_&&this.disconnect_()},J.prototype.refresh=function(){var K=this.updateObservers_();K&&this.refresh()},J.prototype.updateObservers_=function(){var K=this.observers_.filter(function(oe){return oe.gatherActive(),oe.hasActive()});return K.forEach(function(oe){return oe.broadcastActive()}),K.length>0},J.prototype.connect_=function(){!i||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),a?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},J.prototype.disconnect_=function(){!i||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},J.prototype.onTransitionEnd_=function(K){var oe=K.propertyName,ee=oe===void 0?"":oe,Q=u.some(function(le){return!!~ee.indexOf(le)});Q&&this.refresh()},J.getInstance=function(){return this.instance_||(this.instance_=new J),this.instance_},J.instance_=null,J}(),p=function(J,K){for(var oe=0,ee=Object.keys(K);oe<ee.length;oe++){var Q=ee[oe];Object.defineProperty(J,Q,{value:K[Q],enumerable:!1,writable:!1,configurable:!0})}return J},y=function(J){var K=J&&J.ownerDocument&&J.ownerDocument.defaultView;return K||l},_=Y(0,0,0,0);function b(J){return parseFloat(J)||0}function S(J){for(var K=[],oe=1;oe<arguments.length;oe++)K[oe-1]=arguments[oe];return K.reduce(function(ee,Q){var le=J["border-"+Q+"-width"];return ee+b(le)},0)}function k(J){for(var K=["top","right","bottom","left"],oe={},ee=0,Q=K;ee<Q.length;ee++){var le=Q[ee],Z=J["padding-"+le];oe[le]=b(Z)}return oe}function R(J){var K=J.getBBox();return Y(0,0,K.width,K.height)}function A(J){var K=J.clientWidth,oe=J.clientHeight;if(!K&&!oe)return _;var ee=y(J).getComputedStyle(J),Q=k(ee),le=Q.left+Q.right,Z=Q.top+Q.bottom,$=b(ee.width),se=b(ee.height);if(ee.boxSizing==="border-box"&&(Math.round($+le)!==K&&($-=S(ee,"left","right")+le),Math.round(se+Z)!==oe&&(se-=S(ee,"top","bottom")+Z)),!M(J)){var _e=Math.round($+le)-K,Ie=Math.round(se+Z)-oe;Math.abs(_e)!==1&&($-=_e),Math.abs(Ie)!==1&&(se-=Ie)}return Y(Q.left,Q.top,$,se)}var D=function(){return typeof SVGGraphicsElement!="undefined"?function(J){return J instanceof y(J).SVGGraphicsElement}:function(J){return J instanceof y(J).SVGElement&&typeof J.getBBox=="function"}}();function M(J){return J===y(J).document.documentElement}function B(J){return i?D(J)?R(J):A(J):_}function j(J){var K=J.x,oe=J.y,ee=J.width,Q=J.height,le=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,Z=Object.create(le.prototype);return p(Z,{x:K,y:oe,width:ee,height:Q,top:oe,right:K+ee,bottom:Q+oe,left:K}),Z}function Y(J,K,oe,ee){return{x:J,y:K,width:oe,height:ee}}var V=function(){function J(K){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Y(0,0,0,0),this.target=K}return J.prototype.isActive=function(){var K=B(this.target);return this.contentRect_=K,K.width!==this.broadcastWidth||K.height!==this.broadcastHeight},J.prototype.broadcastRect=function(){var K=this.contentRect_;return this.broadcastWidth=K.width,this.broadcastHeight=K.height,K},J}(),G=function(){function J(K,oe){var ee=j(oe);p(this,{target:K,contentRect:ee})}return J}(),ae=function(){function J(K,oe,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_=oe,this.callbackCtx_=ee}return J.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 oe=this.observations_;oe.has(K)||(oe.set(K,new V(K)),this.controller_.addObserver(this),this.controller_.refresh())}},J.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 oe=this.observations_;oe.has(K)&&(oe.delete(K),oe.size||this.controller_.removeObserver(this))}},J.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},J.prototype.gatherActive=function(){var K=this;this.clearActive(),this.observations_.forEach(function(oe){oe.isActive()&&K.activeObservations_.push(oe)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var K=this.callbackCtx_,oe=this.activeObservations_.map(function(ee){return new G(ee.target,ee.broadcastRect())});this.callback_.call(K,oe,K),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ie=typeof WeakMap!="undefined"?new WeakMap:new r,ue=function(){function J(K){if(!(this instanceof J))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var oe=x.getInstance(),ee=new ae(K,oe,this);ie.set(this,ee)}return J}();["observe","unobserve","disconnect"].forEach(function(J){ue.prototype[J]=function(){var K;return(K=ie.get(this))[J].apply(K,arguments)}});var q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:ue}();v.Z=q},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,D=A.port2;A.port1.onmessage=function(){if(b!==null){var Z=v.unstable_now();R=Z+k;try{b(!0,Z)?D.postMessage(null):(_=!1,b=null)}catch($){throw D.postMessage(null),$}}else _=!1},e=function(Z){b=Z,_||(_=!0,D.postMessage(null))},r=function(Z,$){S=x(function(){Z(v.unstable_now())},$)},i=function(){p(S),S=-1}}function M(Z,$){var se=Z.length;Z.push($);e:for(;;){var _e=se-1>>>1,Ie=Z[_e];if(Ie!==void 0&&0<Y(Ie,$))Z[_e]=$,Z[se]=Ie,se=_e;else break e}}function B(Z){return Z=Z[0],Z===void 0?null:Z}function j(Z){var $=Z[0];if($!==void 0){var se=Z.pop();if(se!==$){Z[0]=se;e:for(var _e=0,Ie=Z.length;_e<Ie;){var De=2*(_e+1)-1,Ze=Z[De],Ne=De+1,Lt=Z[Ne];if(Ze!==void 0&&0>Y(Ze,se))Lt!==void 0&&0>Y(Lt,Ze)?(Z[_e]=Lt,Z[Ne]=se,_e=Ne):(Z[_e]=Ze,Z[De]=se,_e=De);else if(Lt!==void 0&&0>Y(Lt,se))Z[_e]=Lt,Z[Ne]=se,_e=Ne;else break e}}return $}return null}function Y(Z,$){var se=Z.sortIndex-$.sortIndex;return se!==0?se:Z.id-$.id}var V=[],G=[],ae=1,ie=null,ue=3,q=!1,J=!1,K=!1;function oe(Z){for(var $=B(G);$!==null;){if($.callback===null)j(G);else if($.startTime<=Z)j(G),$.sortIndex=$.expirationTime,M(V,$);else break;$=B(G)}}function ee(Z){if(K=!1,oe(Z),!J)if(B(V)!==null)J=!0,e(Q);else{var $=B(G);$!==null&&r(ee,$.startTime-Z)}}function Q(Z,$){J=!1,K&&(K=!1,i()),q=!0;var se=ue;try{for(oe($),ie=B(V);ie!==null&&(!(ie.expirationTime>$)||Z&&!v.unstable_shouldYield());){var _e=ie.callback;if(typeof _e=="function"){ie.callback=null,ue=ie.priorityLevel;var Ie=_e(ie.expirationTime<=$);$=v.unstable_now(),typeof Ie=="function"?ie.callback=Ie:ie===B(V)&&j(V),oe($)}else j(V);ie=B(V)}if(ie!==null)var De=!0;else{var Ze=B(G);Ze!==null&&r(ee,Ze.startTime-$),De=!1}return De}finally{ie=null,ue=se,q=!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(){J||q||(J=!0,e(Q))},v.unstable_getCurrentPriorityLevel=function(){return ue},v.unstable_getFirstCallbackNode=function(){return B(V)},v.unstable_next=function(Z){switch(ue){case 1:case 2:case 3:var $=3;break;default:$=ue}var se=ue;ue=$;try{return Z()}finally{ue=se}},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 se=ue;ue=Z;try{return $()}finally{ue=se}},v.unstable_scheduleCallback=function(Z,$,se){var _e=v.unstable_now();switch(typeof se=="object"&&se!==null?(se=se.delay,se=typeof se=="number"&&0<se?_e+se:_e):se=_e,Z){case 1:var Ie=-1;break;case 2:Ie=250;break;case 5:Ie=1073741823;break;case 4:Ie=1e4;break;default:Ie=5e3}return Ie=se+Ie,Z={id:ae++,callback:$,priorityLevel:Z,startTime:se,expirationTime:Ie,sortIndex:-1},se>_e?(Z.sortIndex=se,M(G,Z),B(V)===null&&Z===B(G)&&(K?i():K=!0,r(ee,se-_e))):(Z.sortIndex=Ie,M(V,Z),J||q||(J=!0,e(Q))),Z},v.unstable_wrapCallback=function(Z){var $=ue;return function(){var se=ue;ue=$;try{return Z.apply(this,arguments)}finally{ue=se}}}},43014:function(d,v,e){"use strict";d.exports=e(74284)},18947:function(d){"use strict";function v(e,r){if(e===r)return!0;if(!e||!r)return!1;var i=Object.keys(e),l=Object.keys(r),c=i.length;if(l.length!==c)return!1;for(var f=0;f<c;f++){var 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(Y){if(!D){if(D=!0,M=Y,Y=_(Y),b!==void 0&&k.hasValue){var V=k.value;if(b(V,Y))return B=V}return B=Y}if(V=B,c(M,Y))return V;var G=_(Y);return b!==void 0&&b(V,G)?(M=Y,V):(M=Y,B=G)}var D=!1,M,B,j=y===void 0?null:y;return[function(){return A(p())},j===null?void 0:function(){return A(j())}]},[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(){},31669:function(d){function v(e,r){this.v=e,this.k=r}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},57523:function(d,v,e){var r=e(99824);function i(){var l,c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.toStringTag||"@@toStringTag";function u(k,R,A,D){var M=R&&R.prototype instanceof x?R:x,B=Object.create(M.prototype);return r(B,"_invoke",function(j,Y,V){var G,ae,ie,ue=0,q=V||[],J=!1,K={p:0,n:0,v:l,a:oe,f:oe.bind(l,4),d:function(Q,le){return G=Q,ae=0,ie=l,K.n=le,a}};function oe(ee,Q){for(ae=ee,ie=Q,c=0;!J&&ue&&!le&&c<q.length;c++){var le,Z=q[c],$=K.p,se=Z[2];ee>3?(le=se===Q)&&(ie=Z[(ae=Z[4])?5:(ae=3,3)],Z[4]=Z[5]=l):Z[0]<=$&&((le=ee<2&&$<Z[1])?(ae=0,K.v=Q,K.n=Z[1]):$<se&&(le=ee<3||Z[0]>Q||Q>se)&&(Z[4]=ee,Z[5]=Q,K.n=se,ae=0))}if(le||ee>1)return a;throw J=!0,Q}return function(ee,Q,le){if(ue>1)throw TypeError("Generator is already running");for(J&&Q===1&&oe(Q,le),ae=Q,ie=le;(c=ae<2?l:ie)||!J;){G||(ae?ae<3?(ae>1&&(K.n=-1),oe(ae,ie)):K.n=ie:K.v=ie);try{if(ue=2,G){if(ae||(ee="next"),c=G[ee]){if(!(c=c.call(G,ie)))throw TypeError("iterator result is not an object");if(!c.done)return c;ie=c.value,ae<2&&(ae=0)}else ae===1&&(c=G.return)&&c.call(G),ae<2&&(ie=TypeError("The iterator does not provide a '"+ee+"' method"),ae=1);G=l}else if((c=(J=K.n<0)?ie:j.call(Y,K))!==a)break}catch(Z){G=l,ae=1,ie=Z}finally{ue=1}}return{value:c,done:J}}}(k,A,D),!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},57811:function(d,v,e){var r=e(33466);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},33466:function(d,v,e){var r=e(57523),i=e(50559);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},50559:function(d,v,e){var r=e(31669),i=e(99824);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},99824: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){if(h)c?c(o,h,{value:u,enumerable:!a,configurable:!a,writable:!a}):o[h]=u;else{var x=function(y,_){v(o,y,function(b){return this._invoke(y,_,b)})};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},25545: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},43013:function(d,v,e){var r=e(31669),i=e(57523),l=e(57811),c=e(33466),f=e(50559),o=e(25545),h=e(23287);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,j){return k.resultName=B,R(A.d,h(M),j)},finish:function(M){return R(A.f,M)}},R=function(M,B,j){A.p=k.prev,A.n=k.next;try{return M(B,j)}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,D,M){return a.w(b(R),A,D,M&&M.reverse())},isGeneratorFunction:y,mark:a.m,awrap:function(R,A){return new r(R,A)},AsyncIterator:f,async:function(R,A,D,M,B){return(y(A)?c:l)(b(R),A,D,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},23287:function(d,v,e){var r=e(12594).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},12594: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},55267:function(d,v,e){var r=e(43013)();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"),D=i(S.getInt8),M=i(S.setInt8);d.exports=(u||h)&&function(B,j,Y){var V=o(B),G=j===void 0?V:c(j),ae=!R||!R(B),ie;if(f(B))throw new y("ArrayBuffer is detached");if(u&&(B=a(B,{transfer:[B]}),V===G&&(Y||ae)))return B;if(V>=G&&(!Y||ae))ie=k(B,0,G);else{var ue=Y&&!ae&&A?{maxByteLength:A(B)}:void 0;ie=new x(G,ue);for(var q=new p(B),J=new p(ie),K=_(G,V),oe=0;oe<K;oe++)M(J,oe,D(q,oe))}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,D=R.get,M=l.Int8Array,B=M&&M.prototype,j=l.Uint8ClampedArray,Y=j&&j.prototype,V=M&&_(M),G=B&&_(B),ae=Object.prototype,ie=l.TypeError,ue=S("toStringTag"),q=k("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",K=r&&!!b&&h(l.opera)!=="Opera",oe=!1,ee,Q,le,Z={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},$={BigInt64Array:8,BigUint64Array:8},se=function(kt){if(!f(kt))return!1;var jt=h(kt);return jt==="DataView"||o(Z,jt)||o($,jt)},_e=function(bt){var kt=_(bt);if(f(kt)){var jt=D(kt);return jt&&o(jt,J)?jt[J]:_e(kt)}},Ie=function(bt){if(!f(bt))return!1;var kt=h(bt);return o(Z,kt)||o($,kt)},De=function(bt){if(Ie(bt))return bt;throw new ie("Target is not a typed array")},Ze=function(bt){if(c(bt)&&(!b||y(V,bt)))return bt;throw new ie(u(bt)+" is not a typed array constructor")},Ne=function(bt,kt,jt,Wt){if(i){if(jt)for(var zt in Z){var We=l[zt];if(We&&o(We.prototype,bt))try{delete We.prototype[bt]}catch(St){try{We.prototype[bt]=kt}catch(Ft){}}}(!G[bt]||jt)&&x(G,bt,jt?kt:K&&B[bt]||kt,Wt)}},Lt=function(bt,kt,jt){var Wt,zt;if(i){if(b){if(jt){for(Wt in Z)if(zt=l[Wt],zt&&o(zt,bt))try{delete zt[bt]}catch(We){}}if(!V[bt]||jt)try{return x(V,bt,jt?kt:K&&V[bt]||kt)}catch(We){}else return}for(Wt in Z)zt=l[Wt],zt&&(!zt[bt]||jt)&&x(zt,bt,kt)}};for(ee in Z)Q=l[ee],le=Q&&Q.prototype,le?A(le)[J]=Q:K=!1;for(ee in $)Q=l[ee],le=Q&&Q.prototype,le&&(A(le)[J]=Q);if((!K||!c(V)||V===Function.prototype)&&(V=function(){throw new ie("Incorrect invocation")},K))for(ee in Z)l[ee]&&b(l[ee],V);if((!K||!G||G===ae)&&(G=V.prototype,K))for(ee in Z)l[ee]&&b(l[ee].prototype,G);if(K&&_(Y)!==G&&b(Y,G),i&&!o(G,ue)){oe=!0,p(G,ue,{configurable:!0,get:function(){return f(this)?this[q]:void 0}});for(ee in Z)l[ee]&&a(l[ee],q,ee)}d.exports={NATIVE_ARRAY_BUFFER_VIEWS:K,TYPED_ARRAY_TAG:oe&&q,aTypedArray:De,aTypedArrayConstructor:Ze,exportTypedArrayMethod:Ne,exportTypedArrayStaticMethod:Lt,getTypedArrayConstructor:_e,isView:se,isTypedArray:Ie,TypedArray:V,TypedArrayPrototype:G}},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,D=e(75202),M=e(71698),B=e(94573),j=e(94844),Y=f.PROPER,V=f.CONFIGURABLE,G="ArrayBuffer",ae="DataView",ie="prototype",ue="Wrong length",q="Wrong index",J=j.getterFor(G),K=j.getterFor(ae),oe=j.set,ee=r[G],Q=ee,le=Q&&Q[ie],Z=r[ae],$=Z&&Z[ie],se=Object.prototype,_e=r.Array,Ie=r.RangeError,De=i(D),Ze=i([].reverse),Ne=S.pack,Lt=S.unpack,bt=function(He){return[He&255]},kt=function(He){return[He&255,He>>8&255]},jt=function(He){return[He&255,He>>8&255,He>>16&255,He>>24&255]},Wt=function(He){return He[3]<<24|He[2]<<16|He[1]<<8|He[0]},zt=function(He){return Ne(b(He),23,4)},We=function(He){return Ne(He,52,8)},St=function(He,ze,Ye){h(He[ie],ze,{configurable:!0,get:function(){return Ye(this)[ze]}})},Ft=function(He,ze,Ye,ht){var xt=K(He),nr=_(Ye),er=!!ht;if(nr+ze>xt.byteLength)throw new Ie(q);var Le=xt.bytes,Qe=nr+xt.byteOffset,Qt=M(Le,Qe,Qe+ze);return er?Qt:Ze(Qt)},tt=function(He,ze,Ye,ht,xt,nr){var er=K(He),Le=_(Ye),Qe=ht(+xt),Qt=!!nr;if(Le+ze>er.byteLength)throw new Ie(q);for(var Rt=er.bytes,Vt=Le+er.byteOffset,Gt=0;Gt<ze;Gt++)Rt[Vt+Gt]=Qe[Qt?Gt:ze-Gt-1]};if(!c)Q=function(ze){x(this,le);var Ye=_(ze);oe(this,{type:G,bytes:De(_e(Ye),0),byteLength:Ye}),l||(this.byteLength=Ye,this.detached=!1)},le=Q[ie],Z=function(ze,Ye,ht){x(this,$),x(ze,le);var xt=J(ze),nr=xt.byteLength,er=p(Ye);if(er<0||er>nr)throw new Ie("Wrong offset");if(ht=ht===void 0?nr-er:y(ht),er+ht>nr)throw new Ie(ue);oe(this,{type:ae,buffer:ze,byteLength:ht,byteOffset:er,bytes:xt.bytes}),l||(this.buffer=ze,this.byteLength=ht,this.byteOffset=er)},$=Z[ie],l&&(St(Q,"byteLength",J),St(Z,"buffer",K),St(Z,"byteLength",K),St(Z,"byteOffset",K)),u($,{getInt8:function(ze){return Ft(this,1,ze)[0]<<24>>24},getUint8:function(ze){return Ft(this,1,ze)[0]},getInt16:function(ze){var Ye=Ft(this,2,ze,arguments.length>1?arguments[1]:!1);return(Ye[1]<<8|Ye[0])<<16>>16},getUint16:function(ze){var Ye=Ft(this,2,ze,arguments.length>1?arguments[1]:!1);return Ye[1]<<8|Ye[0]},getInt32:function(ze){return Wt(Ft(this,4,ze,arguments.length>1?arguments[1]:!1))},getUint32:function(ze){return Wt(Ft(this,4,ze,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ze){return Lt(Ft(this,4,ze,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ze){return Lt(Ft(this,8,ze,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ze,Ye){tt(this,1,ze,bt,Ye)},setUint8:function(ze,Ye){tt(this,1,ze,bt,Ye)},setInt16:function(ze,Ye){tt(this,2,ze,kt,Ye,arguments.length>2?arguments[2]:!1)},setUint16:function(ze,Ye){tt(this,2,ze,kt,Ye,arguments.length>2?arguments[2]:!1)},setInt32:function(ze,Ye){tt(this,4,ze,jt,Ye,arguments.length>2?arguments[2]:!1)},setUint32:function(ze,Ye){tt(this,4,ze,jt,Ye,arguments.length>2?arguments[2]:!1)},setFloat32:function(ze,Ye){tt(this,4,ze,zt,Ye,arguments.length>2?arguments[2]:!1)},setFloat64:function(ze,Ye){tt(this,8,ze,We,Ye,arguments.length>2?arguments[2]:!1)}});else{var _t=Y&&ee.name!==G;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||_t&&!V})){Q=function(ze){return x(this,le),new ee(_(ze))},Q[ie]=le;for(var dt=A(ee),qe=0,Be;dt.length>qe;)(Be=dt[qe++])in Q||o(Q,Be,ee[Be]);le.constructor=Q}else _t&&V&&o(ee,"name",G);R&&k($)!==se&&R($,se);var Ee=new Z(new Q(2)),Re=i($.setInt8);Ee.setInt8(0,2147483648),Ee.setInt8(1,2147483649),(Ee.getInt8(0)||!Ee.getInt8(1))&&u($,{setInt8:function(ze,Ye){Re(this,ze,Ye<<24>>24)},setUint8:function(ze,Ye){Re(this,ze,Ye<<24>>24)}},{unsafe:!0})}B(Q,G),B(Z,ae),d.exports={ArrayBuffer:Q,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 D(this)},D=function(M){this.iterator=k(M)};D.prototype.next=function(){return R(this.iterator)},d.exports=function(B){var j=this,Y=arguments.length,V=Y>1?arguments[1]:void 0,G=Y>2?arguments[2]:void 0;return new(x("Promise"))(function(ae){var ie=l(B);V!==void 0&&(V=r(V,G));var ue=a(ie,S),q=ue?void 0:u(ie)||A,J=c(j)?new j:[],K=ue?f(ie,ue):new _(h(o(ie,q)));ae(b(K,V,J))})}},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 D=x(b),M=0,B,j,Y,V,G,ae;if(D&&!(this===p&&f(D)))for(V=a(b,D),G=V.next,j=S?new this:[];!(Y=i(G,V)).done;M++)ae=A?c(V,R,[Y.value,M],!0):Y.value,u(j,M,ae);else for(B=h(b),j=S?new this(B):p(B);B>M;M++)ae=A?R(b[M],M):b[M],u(j,M,ae);return j.length=M,j}},33940:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),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),D=0,M,B;A>D;D++)B=S[D],M=k(B,D,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),D=o(k),M=0,B,j,Y;D>M;M++)Y=k[M],j=f(R(Y,M,S)),j in A?x(A[j],Y):A[j]=[Y];if(b&&(B=b(S),B!==a))for(j in A)A[j]=u(B,A[j]);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,D,M){for(var B=c(R),j=l(B),Y=f(j),V=r(A,D),G=0,ae=M||o,ie=x?ae(R,Y):p||S?ae(R,0):void 0,ue,q;Y>G;G++)if((k||G in j)&&(ue=j[G],q=V(ue,G,B),a))if(x)ie[G]=q;else if(q)switch(a){case 3:return!0;case 5:return ue;case 6:return G;case 2:h(ie,ue)}else switch(a){case 4:return!1;case 7:h(ie,ue)}return b?-1:y||_?_:ie}};d.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},55009:function(d,v,e){"use strict";var r=e(13743),i=e(80524),l=e(56902),c=e(82762),f=e(45601),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(j){return j}:i(_),D,M,B;for(D=0;D<S;D++)M=b[D],B=A(M),a(R,B)||x(R,B,M);return h(R,function(j){p(k,j)}),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 D=k.done;x.resolve(k.value).then(function(M){R(a(M,D))},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,D){var M=i(r(R.next,R.iterator));b(M,A,D)})},return:function(){var k=_(this).iterator;return new x(function(R,A){var D=c(k,"return");if(D===void 0)return R(a(void 0,!0));var M=i(r(D,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,D=function(j){var Y=!j,V=u.getterFor(j?R:k),G=function(ae){var ie=i(function(){return V(ae)}),ue=ie.error,q=ie.value;return ue||Y&&q.done?{exit:!0,value:ue?b.reject(q):b.resolve(y(void 0,!0))}:{exit:!1,value:q}};return o(c(p),{next:function(){var ie=G(this),ue=ie.value;if(ie.exit)return ue;var q=i(function(){return l(ue.nextHandler(b))}),J=q.error,K=q.value;return J&&(ue.done=!0),J?b.reject(K):b.resolve(K)},return:function(){var ae=G(this),ie=ae.value;if(ae.exit)return ie;ie.done=!0;var ue=ie.iterator,q,J,K=i(function(){if(ie.inner)try{_(ie.inner.iterator,"normal")}catch(oe){return _(ue,"throw",oe)}return x(ue,"return")});return q=J=K.value,K.error?b.reject(J):q===void 0?b.resolve(y(void 0,!0)):(K=i(function(){return r(q,ue)}),J=K.value,K.error?b.reject(J):j?b.resolve(J):b.resolve(J).then(function(oe){return l(oe),y(void 0,!0)}))}})},M=D(!0),B=D(!1);f(B,S,"Async Iterator Helper"),d.exports=function(j,Y){var V=function(ae,ie){ie?(ie.iterator=ae.iterator,ie.next=ae.next):ie=ae,ie.type=Y?R:k,ie.nextHandler=j,ie.counter=0,ie.done=!1,A(this,ie)};return V.prototype=Y?M:B,V}},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 D=h(S),M=o("Promise"),B=D.iterator,j=D.next,Y=0;return new M(function(V,G){var ae=function(ue){u(B,G,ue,G)},ie=function(){try{if(A)try{f(Y)}catch(ue){ae(ue)}M.resolve(l(r(j,B))).then(function(ue){try{if(l(ue).done)p?(R.length=Y,V(R)):V(b?!1:_||void 0);else{var q=ue.value;try{if(A){var J=k(q,Y),K=function(oe){if(y)ie();else if(_)oe?ie():u(B,V,!1,G);else if(p)try{R[Y++]=oe,ie()}catch(ee){ae(ee)}else oe?u(B,V,b||q,G):ie()};c(J)?M.resolve(J).then(K,ae):K(J)}else R[Y++]=q,ie()}catch(oe){ae(oe)}}}catch(oe){G(oe)}},G)}catch(ue){G(ue)}};ie()})}};d.exports={toArray:a(0),forEach:a(1),every:a(2),some:a(3),find:a(4)}},41586:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(10731),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 D=A.value;try{var M=_(D,p.counter++),B=function(j){b(h(j,!1))};c(M)?x.resolve(M).then(B,R):B(M)}catch(j){R(j)}}}catch(j){k(j)}},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,D){var M=k(function(G,ae){f(G,B),b(G,{type:R,index:r(null),first:void 0,last:void 0,size:0}),p||(G.size=0),o(ae)||h(ae,G[D],{that:G,AS_ENTRIES:A})}),B=M.prototype,j=S(R),Y=function(G,ae,ie){var ue=j(G),q=V(G,ae),J,K;return q?q.value=ie:(ue.last=q={index:K=y(ae,!0),key:ae,value:ie,previous:J=ue.last,next:void 0,removed:!1},ue.first||(ue.first=q),J&&(J.next=q),p?ue.size++:G.size++,K!=="F"&&(ue.index[K]=q)),G},V=function(G,ae){var ie=j(G),ue=y(ae),q;if(ue!=="F")return ie.index[ue];for(q=ie.first;q;q=q.next)if(q.key===ae)return q};return l(B,{clear:function(){for(var ae=this,ie=j(ae),ue=ie.index,q=ie.first;q;)q.removed=!0,q.previous&&(q.previous=q.previous.next=void 0),delete ue[q.index],q=q.next;ie.first=ie.last=void 0,p?ie.size=0:ae.size=0},delete:function(G){var ae=this,ie=j(ae),ue=V(ae,G);if(ue){var q=ue.next,J=ue.previous;delete ie.index[ue.index],ue.removed=!0,J&&(J.next=q),q&&(q.previous=J),ie.first===ue&&(ie.first=q),ie.last===ue&&(ie.last=J),p?ie.size--:ae.size--}return!!ue},forEach:function(ae){for(var ie=j(this),ue=c(ae,arguments.length>1?arguments[1]:void 0),q;q=q?q.next:ie.first;)for(ue(q.value,q.key,this);q&&q.removed;)q=q.previous},has:function(ae){return!!V(this,ae)}}),l(B,A?{get:function(ae){var ie=V(this,ae);return ie&&ie.value},set:function(ae,ie){return Y(this,ae===0?0:ae,ie)}}:{add:function(ae){return Y(this,ae=ae===0?0:ae,ae)}}),p&&i(B,"size",{configurable:!0,get:function(){return j(this).size}}),M},setStrong:function(k,R,A){var D=R+" Iterator",M=S(R),B=S(D);u(k,R,function(j,Y){b(this,{type:D,target:j,state:M(j),kind:Y,last:void 0})},function(){for(var j=B(this),Y=j.kind,V=j.last;V&&V.removed;)V=V.previous;return!j.target||!(j.last=V=V?V.next:j.state.first)?(j.target=void 0,a(void 0,!0)):a(Y==="keys"?V.key:Y==="values"?V.value:[V.key,V.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 D)},D=function(){this.entries=[]},M=function(B,j){return b(B.entries,function(Y){return Y[0]===j})};D.prototype={get:function(B){var j=M(this,B);if(j)return j[1]},has:function(B){return!!M(this,B)},set:function(B,j){var Y=M(this,B);Y?Y[1]=j:this.entries.push([B,j])},delete:function(B){var j=S(this.entries,function(Y){return Y[0]===B});return~j&&k(this.entries,j,1),!!~j}},d.exports={getConstructor:function(B,j,Y,V){var G=B(function(q,J){c(q,ae),y(q,{type:j,id:R++,frozen:void 0}),o(J)||u(J,q[V],{that:q,AS_ENTRIES:Y})}),ae=G.prototype,ie=_(j),ue=function(q,J,K){var oe=ie(q),ee=l(f(J),!0);return ee===!0?A(oe).set(J,K):ee[oe.id]=K,q};return i(ae,{delete:function(q){var J=ie(this);if(!h(q))return!1;var K=l(q);return K===!0?A(J).delete(q):K&&x(K,J.id)&&delete K[J.id]},has:function(J){var K=ie(this);if(!h(J))return!1;var oe=l(J);return oe===!0?A(K).has(J):oe&&x(oe,K.id)}}),i(ae,Y?{get:function(J){var K=ie(this);if(h(J)){var oe=l(J);return oe===!0?A(K).get(J):oe?oe[K.id]:void 0}},set:function(J,K){return ue(this,J,K)}}:{add:function(J){return ue(this,J,!0)}}),G}}},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 D=k.indexOf("Map")!==-1,M=k.indexOf("Weak")!==-1,B=D?"set":"add",j=i[k],Y=j&&j.prototype,V=j,G={},ae=function(ee){var Q=l(Y[ee]);f(Y,ee,ee==="add"?function(Z){return Q(this,Z===0?0:Z),this}:ee==="delete"?function(le){return M&&!p(le)?!1:Q(this,le===0?0:le)}:ee==="get"?function(Z){return M&&!p(Z)?void 0:Q(this,Z===0?0:Z)}:ee==="has"?function(Z){return M&&!p(Z)?!1:Q(this,Z===0?0:Z)}:function(Z,$){return Q(this,Z===0?0:Z,$),this})},ie=c(k,!a(j)||!(M||Y.forEach&&!y(function(){new j().entries().next()})));if(ie)V=A.getConstructor(R,k,D,B),o.enable();else if(c(k,!0)){var ue=new V,q=ue[B](M?{}:-0,1)!==ue,J=y(function(){ue.has(1)}),K=_(function(ee){new j(ee)}),oe=!M&&y(function(){for(var ee=new j,Q=5;Q--;)ee[B](Q,Q);return!ee.has(-0)});K||(V=R(function(ee,Q){u(ee,Y);var le=S(new j,ee,V);return x(Q)||h(Q,le[B],{that:le,AS_ENTRIES:D}),le}),V.prototype=Y,Y.constructor=V),(J||oe)&&(ae("delete"),ae("has"),D&&ae("get")),(oe||q)&&ae(B),M&&Y.clear&&delete Y.clear}return G[k]=V,r({global:!0,constructor:!0,forced:V!==j},G),b(V,k),M||A.setStrong(V,k,D),V}},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,D=p(A),M=_(A),B=D<0?"-":D>9999?"+":"";return B+l(o(D),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,D=/a/;return a==="split"&&(D={},D.constructor={},D.constructor[h]=function(){return D},D.flags="",D[_]=/./[_]),D.exec=function(){return A=!0,null},D[_](""),!A});if(!b||!S||p){var k=r(/./[_]),R=x(_,""[a],function(A,D,M,B,j){var Y=r(A),V=D.exec;return V===l||V===u.exec?b&&!j?{done:!0,value:k(D,M,B)}:{done:!0,value:Y(M,D,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 D=u(k,f(arguments));return this instanceof R?p(b,D.length,D):b.apply(_,D)};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,D){var M;switch(c(D,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,S);case"<":M=_[o(D,1,-1)];break;default:var B=+D;if(B===0)return A;if(B>k){var j=l(B/10);return j===0?A:j<=k?y[j-1]===void 0?c(D,1):y[j-1]+c(D,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,D;for(h=e(h),h!==h||h===1/0?(A=h!==h?1:0,R=y):(R=i(l(h)/c),D=r(2,-R),h*D<1&&(R--,D*=2),R+_>=1?h+=b/D:h+=b*r(2,1-_),h*D>=2&&(R++,D/=2),R+_>=y?(A=0,R=y):R+_>=1?(A=(h*D-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,j){if(!c(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!f(B,_)){if(!a(B))return"F";if(!j)return"E";S(B)}return B[_].objectID},R=function(B,j){if(!f(B,_)){if(!a(B))return!0;if(!j)return!1;S(B)}return B[_].weakData},A=function(B){return p&&y&&a(B)&&!f(B,_)&&S(B),B},D=function(){M.enable=function(){},y=!0;var B=h.f,j=i([].splice),Y={};Y[_]=1,B(Y).length&&(h.f=function(V){for(var G=B(V),ae=0,ie=G.length;ae<ie;ae++)if(G[ae]===_){j(G,ae,1);break}return G},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:D,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(D){return b(D)?_(D):y(D,{})},k=function(D){return function(M){var B;if(!l(M)||(B=_(M)).type!==D)throw new x("Incompatible receiver, "+D+" 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(D,M){if(R.has(D))throw new x(a);return M.facade=D,R.set(D,M),M},_=function(D){return R.get(D)||{}},b=function(D){return R.has(D)}}else{var A=h("state");u[A]=!0,y=function(D,M){if(f(D,A))throw new x(a);return M.facade=D,c(D,A,M),M},_=function(D){return f(D,A)?D[A]:{}},b=function(D){return f(D,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),D=!!(k&&k.IS_RECORD),M=!!(k&&k.IS_ITERATOR),B=!!(k&&k.INTERRUPTED),j=r(S,R),Y,V,G,ae,ie,ue,q,J=function(oe){return Y&&x(Y,"normal",oe),new y(!0,oe)},K=function(oe){return A?(l(oe),B?j(oe[0],oe[1],J):j(oe[0],oe[1])):B?j(oe,J):j(oe)};if(D)Y=b.iterator;else if(M)Y=b;else{if(V=a(b),!V)throw new p(c(b)+" is not iterable");if(f(V)){for(G=0,ae=o(b);ae>G;G++)if(ie=K(b[G]),ie&&h(_,ie))return ie;return new y(!1)}Y=u(b,V)}for(ue=D?b.next:Y.next;!(q=i(ue,Y)).done;){try{ie=K(q.value)}catch(oe){x(Y,"throw",oe)}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 D=o.getterFor(A?_:y);return c(i(u),{next:function(){var B=D(this);if(A)return B.nextHandler();try{var j=B.done?void 0:B.nextHandler();return a(j,B.done)}catch(Y){throw B.done=!0,Y}},return:function(){var M=D(this),B=M.iterator;if(M.done=!0,A){var j=h(B,"return");return j?r(j,B):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(Y){return x(B,"throw",Y)}return x(B,"normal"),a(void 0,!0)}})},k=S(!0),R=S(!1);l(R,p,"Iterator Helper"),d.exports=function(A,D){var M=function(j,Y){Y?(Y.iterator=j.iterator,Y.next=j.next):Y=j,Y.type=D?_:y,Y.nextHandler=A,Y.counter=0,Y.done=!1,b(this,Y)};return M.prototype=D?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,D=y("iterator"),M="keys",B="values",j="entries",Y=function(){return this};d.exports=function(V,G,ae,ie,ue,q,J){o(ae,G,ie);var K=function(De){if(De===ue&&Z)return Z;if(!A&&De&&De in Q)return Q[De];switch(De){case M:return function(){return new ae(this,De)};case B:return function(){return new ae(this,De)};case j:return function(){return new ae(this,De)}}return function(){return new ae(this)}},oe=G+" Iterator",ee=!1,Q=V.prototype,le=Q[D]||Q["@@iterator"]||ue&&Q[ue],Z=!A&&le||K(ue),$=G==="Array"&&Q.entries||le,se,_e,Ie;if($&&(se=h($.call(new V)),se!==Object.prototype&&se.next&&(!l&&h(se)!==R&&(u?u(se,R):f(se[D])||p(se,D,Y)),a(se,oe,!0,!0),l&&(_[oe]=Y))),S&&ue===B&&le&&le.name!==B&&(!l&&k?x(Q,"name",B):(ee=!0,Z=function(){return i(le,this)})),ue)if(_e={values:K(B),keys:q?Z:K(M),entries:K(j)},J)for(Ie in _e)(A||ee||!(Ie in Q))&&p(Q,Ie,_e[Ie]);else r({target:G,proto:!0,forced:A||ee},_e);return(!l||J)&&Q[D]!==Z&&p(Q,D,Z,{name:ue}),_[G]=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(D,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(D,"name")||o&&D.name!==M)&&(f?y(D,"name",{value:M,configurable:!0}):D.name=M),k&&B&&c(B,"arity")&&D.length!==B.arity&&y(D,"length",{value:B.arity});try{B&&c(B,"constructor")&&B.constructor?f&&y(D,"prototype",{writable:!1}):D.prototype&&(D.prototype=void 0)}catch(Y){}var j=a(D);return c(j,"source")||(j.source=S(R,typeof M=="string"?M:"")),D};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,D,M;if(!S){var B=new f,j=function(){var Y,V;for(a&&(Y=y.domain)&&Y.exit();V=B.get();)try{V()}catch(G){throw B.head&&k(),G}Y&&Y.enter()};!o&&!a&&!u&&x&&p?(R=!0,A=p.createTextNode(""),new x(j).observe(A,{characterData:!0}),k=function(){A.data=R=!R}):!h&&_&&_.resolve?(D=_.resolve(void 0),D.constructor=_,M=i(D.then,D),k=function(){M(j)}):a?k=function(){y.nextTick(j)}:(c=i(c,r),k=function(){c(j)}),S=function(Y){B.head||k(),B.add(Y)}}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,D,M,B,j){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 Y=A>R,V=!1,G;if(D===void 0)G=void 0;else if(f(D))G=D.step,V=!!D.inclusive;else if(typeof D==M)G=D;else throw new _(u);if(c(G)&&(G=Y?j:-j),typeof G!=M)throw new _(u);if(G===1/0||G===-1/0||G===B&&R!==A)throw new y(u);var ae=R!==R||A!==A||G!==G||A>R!=G>B;x(this,{type:a,start:R,end:A,step:G,inclusive:V,hitsEnd:ae,currentCount:B,zero:B}),h||(this.start=R,this.end=A,this.step=G,this.inclusive=V)},a,function(){var R=p(this);if(R.hitsEnd)return l(void 0,!0);var A=R.start,D=R.end,M=R.step,B=A+M*R.currentCount++;B===D&&(R.hitsEnd=!0);var j=R.inclusive,Y;return D>A?Y=j?B>D:B>=D:Y=j?D>B:D>=B,Y?(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,D=o.f,M=h.f;R>A;)for(var B=a(arguments[A++]),j=D?y(f(B),D(B)):f(B),Y=j.length,V=0,G;Y>V;)G=j[V++],(!r||l(M,B,G))&&(k[G]=B[G]);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(D){return a+p+u+D+a+"/"+p+u},S=function(D){D.write(b("")),D.close();var M=D.parentWindow.Object;return D=null,M},k=function(){var D=o("iframe"),M="java"+p+":",B;return D.style.display="none",f.appendChild(D),D.src=String(M),B=D.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 D=l.length;D--;)delete A[x][l[D]];return A()};c[y]=!0,d.exports=Object.create||function(M,B){var j;return M!==null?(_[x]=r(M),j=new _,_[x]=null,j[y]=M):j=A(),B===void 0?j:i.f(j,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,D=[],M;R>A;)M=S[A++],(!r||(k?M in b:u(b,M)))&&a(D,y?[M,b[M]]:b[M]);return D}};d.exports={entries:p(!0),values:p(!1)}},28488:function(d,v,e){"use strict";var r=e(68527),i=e(97607);d.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},44759:function(d,v,e){"use strict";var r=e(89945),i=e(55327),l=e(31946),c=TypeError;d.exports=function(f,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)}),D=function(B){B(function(){},function(){})},M=A.constructor={};if(M[y]=D,_=A.then(function(){})instanceof D,!_)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 D=A.get(k);if(!D){if(!R)return;A.set(k,D=new c)}return D},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(D,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 j=/a/,Y=/b*/g;return r(y,j,"a"),r(y,Y,"a"),j.lastIndex!==0||Y.lastIndex!==0}(),D=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,B=A||M||D||a||x;B&&(_=function(Y){var V=this,G=u(V),ae=l(Y),ie=G.raw,ue,q,J,K,oe,ee,Q;if(ie)return ie.lastIndex=V.lastIndex,ue=r(_,ie,ae),V.lastIndex=ie.lastIndex,ue;var le=G.groups,Z=D&&V.sticky,$=r(c,V),se=V.source,_e=0,Ie=ae;if(Z&&($=k($,"y",""),S($,"g")===-1&&($+="g"),Ie=R(ae,V.lastIndex),V.lastIndex>0&&(!V.multiline||V.multiline&&b(ae,V.lastIndex-1)!==`
|
|
|
`)&&(se="(?: "+se+")",Ie=" "+Ie,_e++),q=new RegExp("^(?:"+se+")",$)),M&&(q=new RegExp("^"+se+"$(?!\\s)",$)),A&&(J=V.lastIndex),K=r(y,Z?q:V,Ie),Z?K?(K.input=R(K.input,_e),K[0]=R(K[0],_e),K.index=V.lastIndex,V.lastIndex+=K[0].length):V.lastIndex=0:A&&K&&(V.lastIndex=V.global?K.index+K[0].length:J),M&&K&&K.length>1&&r(p,K[0],q,function(){for(oe=1;oe<arguments.length-2;oe++)arguments[oe]===void 0&&(K[oe]=void 0)}),K&&le)for(K.groups=ee=h(null),oe=0;oe<le.length;oe++)Q=le[oe],ee[Q[0]]=K[Q[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,D;return S<=k||R===""?b:(A=S-k,D=o(R,u(A/R.length)),D.length>A&&(D=h(D,0,A)),x?b+D:D+b)}};d.exports={start:a(!1),end:a(!0)}},79204:function(d,v,e){"use strict";var r=e(65911),i=e(94237),l=String.fromCharCode,c=r("String","fromCodePoint"),f=i("".charAt),o=i("".charCodeAt),h=i("".indexOf),u=i("".slice),a=48,x=57,p=97,y=102,_=65,b=70,S=function(A,D){var M=o(A,D);return M>=a&&M<=x},k=function(A,D,M){if(M>=A.length)return-1;for(var B=0;D<M;D++){var j=R(o(A,D));if(j===-1)return-1;B=B*16+j}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 D="",M=0,B=0,j;(B=h(A,"\\",B))>-1;){if(D+=u(A,M,B),++B===A.length)return;var Y=f(A,B++);switch(Y){case"b":D+="\b";break;case"t":D+=" ";break;case"n":D+=`
|
|
|
`;break;case"v":D+="\v";break;case"f":D+="\f";break;case"r":D+="\r";break;case"\r":B<A.length&&f(A,B)===`
|
|
|
`&&++B;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(S(A,B))return;D+="\0";break;case"x":if(j=k(A,B,B+2),j===-1)return;B+=2,D+=l(j);break;case"u":if(B<A.length&&f(A,B)==="{"){var V=h(A,"}",++B);if(V===-1)return;j=k(A,B,V),B=V+1}else j=k(A,B,B+4),B+=4;if(j===-1||j>1114111)return;D+=c(j);break;default:if(S(Y,0))return;D+=Y}M=B}return D+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,D=r("".charCodeAt),M=r([].join),B=r([].push),j=r("".replace),Y=r("".split),V=r("".toLowerCase),G=function(q){for(var J=[],K=0,oe=q.length;K<oe;){var ee=D(q,K++);if(ee>=55296&&ee<=56319&&K<oe){var Q=D(q,K++);(Q&64512)===56320?B(J,((ee&1023)<<10)+(Q&1023)+65536):(B(J,ee),K--)}else B(J,ee)}return J},ae=function(q){return q+22+75*(q<26)},ie=function(q,J,K){var oe=0;for(q=K?R(q/h):q>>1,q+=R(q/J);q>b*f>>1;)q=R(q/b),oe+=l;return R(oe+(b+1)*q/(q+o))},ue=function(q){var J=[];q=G(q);var K=q.length,oe=a,ee=0,Q=u,le,Z;for(le=0;le<q.length;le++)Z=q[le],Z<128&&B(J,A(Z));var $=J.length,se=$;for($&&B(J,x);se<K;){var _e=i;for(le=0;le<q.length;le++)Z=q[le],Z>=oe&&Z<_e&&(_e=Z);var Ie=se+1;if(_e-oe>R((i-ee)/Ie))throw new S(_);for(ee+=(_e-oe)*Ie,oe=_e,le=0;le<q.length;le++){if(Z=q[le],Z<oe&&++ee>i)throw new S(_);if(Z===oe){for(var De=ee,Ze=l;;){var Ne=Ze<=Q?c:Ze>=Q+f?f:Ze-Q;if(De<Ne)break;var Lt=De-Ne,bt=l-Ne;B(J,A(ae(Ne+Lt%bt))),De=R(Lt/bt),Ze+=l}B(J,A(ae(De))),Q=ie(ee,Ie,se===$),ee=0,se++}}ee++,oe++}return M(J,"")};d.exports=function(q){var J=[],K=Y(j(V(q),y,"."),"."),oe,ee;for(oe=0;oe<K.length;oe++)ee=K[oe],B(J,k(p,ee)?"xn--"+ue(ee):ee);return M(J,".")}},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,D=u(x),M=D.length;A<M;A++)if(x[D[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,D=r.String,M=0,B={},j="onreadystatechange",Y,V,G,ae;o(function(){Y=r.location});var ie=function(K){if(f(B,K)){var oe=B[K];delete B[K],oe()}},ue=function(K){return function(){ie(K)}},q=function(K){ie(K.data)},J=function(K){r.postMessage(D(K),Y.protocol+"//"+Y.host)};(!_||!b)&&(_=function(oe){x(arguments.length,1);var ee=c(oe)?oe:R(oe),Q=u(arguments,1);return B[++M]=function(){i(ee,void 0,Q)},V(M),M},b=function(oe){delete B[oe]},y?V=function(K){S.nextTick(ue(K))}:k&&k.now?V=function(K){k.now(ue(K))}:A&&!p?(G=new A,ae=G.port2,G.port1.onmessage=q,V=l(ae.postMessage,ae)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&Y&&Y.protocol!=="file:"&&!o(J)?(V=J,r.addEventListener("message",q,!1)):j in a("script")?V=function(K){h.appendChild(a("script"))[j]=function(){h.removeChild(this),ie(K)}}:V=function(K){setTimeout(ue(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),D=e(31946),M=e(18446),B=e(20132),j=e(16332),Y=e(58218),V=e(80689).f,G=e(50706),ae=e(90560).forEach,ie=e(51996),ue=e(64110),q=e(37691),J=e(71256),K=e(94844),oe=e(25576),ee=K.get,Q=K.set,le=K.enforce,Z=q.f,$=J.f,se=i.RangeError,_e=h.ArrayBuffer,Ie=_e.prototype,De=h.DataView,Ze=o.NATIVE_ARRAY_BUFFER_VIEWS,Ne=o.TYPED_ARRAY_TAG,Lt=o.TypedArray,bt=o.TypedArrayPrototype,kt=o.aTypedArrayConstructor,jt=o.isTypedArray,Wt="BYTES_PER_ELEMENT",zt="Wrong length",We=function(qe,Be){kt(qe);for(var Ee=0,Re=Be.length,He=new qe(Re);Re>Ee;)He[Ee]=Be[Ee++];return He},St=function(qe,Be){ue(qe,Be,{configurable:!0,get:function(){return ee(this)[Be]}})},Ft=function(qe){var Be;return j(Ie,qe)||(Be=A(qe))==="ArrayBuffer"||Be==="SharedArrayBuffer"},tt=function(qe,Be){return jt(qe)&&!M(Be)&&Be in qe&&p(+Be)&&Be>=0},_t=function(Be,Ee){return Ee=k(Ee),tt(Be,Ee)?a(2,Be[Ee]):$(Be,Ee)},dt=function(Be,Ee,Re){return Ee=k(Ee),tt(Be,Ee)&&D(Re)&&R(Re,"value")&&!R(Re,"get")&&!R(Re,"set")&&!Re.configurable&&(!R(Re,"writable")||Re.writable)&&(!R(Re,"enumerable")||Re.enumerable)?(Be[Ee]=Re.value,Be):Z(Be,Ee,Re)};c?(Ze||(J.f=_t,q.f=dt,St(bt,"buffer"),St(bt,"byteOffset"),St(bt,"byteLength"),St(bt,"length")),r({target:"Object",stat:!0,forced:!Ze},{getOwnPropertyDescriptor:_t,defineProperty:dt}),d.exports=function(qe,Be,Ee){var Re=qe.match(/\d+/)[0]/8,He=qe+(Ee?"Clamped":"")+"Array",ze="get"+qe,Ye="set"+qe,ht=i[He],xt=ht,nr=xt&&xt.prototype,er={},Le=function(Vt,Gt){var Tt=ee(Vt);return Tt.view[ze](Gt*Re+Tt.byteOffset,!0)},Qe=function(Vt,Gt,Tt){var qt=ee(Vt);qt.view[Ye](Gt*Re+qt.byteOffset,Ee?S(Tt):Tt,!0)},Qt=function(Vt,Gt){Z(Vt,Gt,{get:function(){return Le(this,Gt)},set:function(Tt){return Qe(this,Gt,Tt)},enumerable:!0})};Ze?f&&(xt=Be(function(Vt,Gt,Tt,qt){return u(Vt,nr),oe(function(){return D(Gt)?Ft(Gt)?qt!==void 0?new ht(Gt,b(Tt,Re),qt):Tt!==void 0?new ht(Gt,b(Tt,Re)):new ht(Gt):jt(Gt)?We(xt,Gt):l(G,xt,Gt):new ht(_(Gt))}(),Vt,xt)}),Y&&Y(xt,Lt),ae(V(ht),function(Vt){Vt in xt||x(xt,Vt,ht[Vt])}),xt.prototype=nr):(xt=Be(function(Vt,Gt,Tt,qt){u(Vt,nr);var Ue=0,fe=0,pe,Ot,Ce;if(!D(Gt))Ce=_(Gt),Ot=Ce*Re,pe=new _e(Ot);else if(Ft(Gt)){pe=Gt,fe=b(Tt,Re);var ct=Gt.byteLength;if(qt===void 0){if(ct%Re)throw new se(zt);if(Ot=ct-fe,Ot<0)throw new se(zt)}else if(Ot=y(qt)*Re,Ot+fe>ct)throw new se(zt);Ce=Ot/Re}else return jt(Gt)?We(xt,Gt):l(G,xt,Gt);for(Q(Vt,{buffer:pe,byteOffset:fe,byteLength:Ot,length:Ce,view:new De(pe)});Ue<Ce;)Qt(Vt,Ue++)}),Y&&Y(xt,Lt),nr=xt.prototype=B(bt)),nr.constructor!==xt&&x(nr,"constructor",xt),le(nr).TypedArrayConstructor=xt,Ne&&x(nr,Ne,He);var Rt=xt!==ht;er[He]=xt,r({global:!0,constructor:!0,forced:Rt,sham:!Ze},er),Wt in xt||x(xt,Wt,Re),Wt in nr||x(nr,Wt,Re),ie(He)}):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,D=h(S),M,B,j,Y,V,G,ae,ie;if(D&&!u(D))for(ae=o(S,D),ie=ae.next,S=[];!(G=i(ie,ae)).done;)S.push(G.value);for(A&&k>2&&(R=r(R,arguments[2])),B=f(S),j=new(x(b))(B),Y=a(j),M=0;B>M;M++)V=A?R(S[M],M):S[M],j[M]=Y?p(V):+V;return j}},31384:function(d,v,e){"use strict";var r=e(58261),i=e(60473),l=r.aTypedArrayConstructor,c=r.getTypedArrayConstructor;d.exports=function(f){return l(i(f,c(f)))}},6145:function(d,v,e){"use strict";var r=e(94237),i=0,l=Math.random(),c=r(1 .toString);d.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++i+l,36)}},3299:function(d,v,e){"use strict";var r=e(3338),i=e(59893),l=e(35454),c=e(16697),f=i("iterator");d.exports=!r(function(){var 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",D=R?2:1,M=b.split("."),B=M[M.length-1],j=r.apply(null,M);if(j){var Y=j.prototype;if(!_&&i(Y,"cause")&&delete Y.cause,!k)return j;var V=r("Error"),G=S(function(ae,ie){var ue=a(R?ie:ae,void 0),q=R?new j(ae):new j;return ue!==void 0&&l(q,"message",ue),p(q,G,q.stack,2),this&&c(Y,this)&&u(q,this,G),arguments.length>D&&x(q,arguments[D]),q});if(G.prototype=Y,B!=="Error"?f?f(G,V):o(G,V,{name:!0}):y&&A in j&&(h(G,j,A),h(G,j,"prepareStackTrace")),o(G,j),!_)try{Y.name!==B&&l(Y,"name",B),Y.constructor=G}catch(ae){}return G}}},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 j=i(A,this),Y;c?Y=c(new S,j?l(this):A):(Y=j?this:o(A),h(Y,b,"Error")),B!==void 0&&h(Y,"message",y(B)),x(Y,R,Y.stack,1),arguments.length>2&&a(Y,arguments[2]);var V=[];return p(M,k,{that:V}),h(Y,"errors",V),Y};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 D=f(this).byteLength,M=o(R,D),B=o(A===void 0?D:A,D),j=new(u(this,a))(h(B-M)),Y=new x(this),V=new x(j),G=0;M<B;)b(V,G++,_(Y,M++));return j}})},96331:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(56902),f=e(81181);r({target:"Array",proto:!0},{at:function(h){var u=i(this),a=l(u),x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]}}),f("at")},2924:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(18589),c=e(31946),f=e(94029),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 D=f(this),M=a(D,0),B=0,j,Y,V,G,ae;for(j=-1,V=arguments.length;j<V;j++)if(ae=j===-1?D:arguments[j],S(ae))for(G=o(ae),h(B+G),Y=0;Y<G;Y++,B++)Y in ae&&u(M,B,ae[Y]);else h(B+1),u(M,B++,ae);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 D=h(this),M=o(D),B=f(R,M),j=f(A===void 0?M:A,M),Y,V,G;if(i(D)&&(Y=D.constructor,l(Y)&&(Y===b||i(Y.prototype))?Y=void 0:c(Y)&&(Y=Y[_],Y===null&&(Y=void 0)),Y===b||Y===void 0))return p(D,B,j);for(V=new(Y===void 0?b:Y)(S(j-B,0)),G=0;B<j;B++,G++)B in D&&u(V,G,D[B]);return V.length=G,V}})},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)}),D=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 V="",G,ae,ie,ue;for(G=65;G<76;G++){switch(ae=String.fromCharCode(G),G){case 66:case 69:case 70:case 72:ie=3;break;case 68:case 71:ie=4;break;default:ie=2}for(ue=0;ue<47;ue++)S.push({k:ae+ue,v:ie})}for(S.sort(function(q,J){return J.v-q.v}),ue=0;ue<S.length;ue++)ae=S[ue].k.charAt(0),V.charAt(V.length-1)!==ae&&(V+=ae);return V!=="DGBEFHACIJK"}}),j=A||!D||!M||!B,Y=function(V){return function(G,ae){return ae===void 0?-1:G===void 0?1:V!==void 0?+V(G,ae)||0:h(G)>h(ae)?1:-1}};r({target:"Array",proto:!0,forced:j},{sort:function(G){G!==void 0&&l(G);var ae=c(this);if(B)return G===void 0?k(ae):k(ae,G);var ie=[],ue=f(ae),q,J;for(J=0;J<ue;J++)J in ae&&R(ie,ae[J]);for(a(ie,Y(G)),q=f(ie),J=0;J<q;)ae[J]=ie[J++];for(;J<ue;)o(ae,J++);return ae}})},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),D=f(A),M=l(k,D),B=arguments.length,j,Y,V,G,ae,ie;for(B===0?j=Y=0:B===1?(j=0,Y=D-M):(j=B-2,Y=b(_(c(R),0),D-M)),h(D+j-Y),V=u(A,Y),G=0;G<Y;G++)ae=M+G,ae in A&&a(V,G,A[ae]);if(V.length=Y,j<Y){for(G=M;G<D-Y;G++)ae=G+Y,ie=G+j,ae in A?A[ie]=A[ae]:x(A,ie);for(G=D;G>D-Y+j;G--)x(A,G-1)}else if(j>Y)for(G=D-Y;G>M;G--)ae=G+Y-1,ie=G+j-1,ae in A?A[ie]=A[ae]:x(A,ie);for(G=0;G<j;G++)A[G+M]=arguments[G+2];return o(A,D-Y+j),V}})},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,D,M,B,j;for(R===0?D=M=0:R===1?(D=0,M=S-k):(D=R-2,M=x(a(h(_),0),S-k)),B=l(S+D-M),j=u(B);A<k;A++)j[A]=b[A];for(;A<k+D;A++)j[A]=arguments[A-k+2];for(;A<B;A++)j[A]=b[A+M-D];return j}}),i("toSpliced")},90308:function(d,v,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,v,e){"use strict";var r=e(81181);r("flat")},84818:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(84233),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),D=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,j=!p||o(function(){var ae=i("Symbol")("stringify detection");return _([ae])!=="[null]"||_({a:ae})!=="{}"||_(Object(ae))!=="{}"}),Y=o(function(){return _("\uDF06\uD834")!=='"\\udf06\\ud834"'||_("\uDEAD")!=='"\\udead"'}),V=function(ae,ie){var ue=a(arguments),q=x(ie);if(!(!h(q)&&(ae===void 0||u(ae))))return ue[1]=function(J,K){if(h(q)&&(K=c(q,this,y(J),K)),!u(K))return K},l(_,null,ue)},G=function(ae,ie,ue){var q=S(ue,ie-1),J=S(ue,ie+1);return b(M,ae)&&!b(B,J)||b(B,ae)&&!b(M,q)?"\\u"+A(k(ae,0),16):ae};_&&r({target:"JSON",stat:!0,arity:3,forced:j||Y},{stringify:function(ie,ue,q){var J=a(arguments),K=l(j?V:_,null,J);return Y&&typeof K=="string"?R(K,D,G):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 D=S(A,R++);a(k,D)?y(x(k,D),A):p(k,D,[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,D="Number",M=c[D],B=f[D],j=M.prototype,Y=c.TypeError,V=o("".slice),G=o("".charCodeAt),ae=function(oe){var ee=y(oe,"number");return typeof ee=="bigint"?ee:ie(ee)},ie=function(oe){var ee=y(oe,"number"),Q,le,Z,$,se,_e,Ie,De;if(p(ee))throw new Y("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=A(ee),Q=G(ee,0),Q===43||Q===45){if(le=G(ee,2),le===88||le===120)return NaN}else if(Q===48){switch(G(ee,1)){case 66:case 98:Z=2,$=49;break;case 79:case 111:Z=8,$=55;break;default:return+ee}for(se=V(ee,2),_e=se.length,Ie=0;Ie<_e;Ie++)if(De=G(se,Ie),De<48||De>$)return NaN;return parseInt(se,Z)}}return+ee},ue=h(D,!M(" 0o1")||!M("0b1")||M("+0x1")),q=function(oe){return x(j,oe)&&_(function(){R(oe)})},J=function(ee){var Q=arguments.length<1?0:M(ae(ee));return q(this)?a(Object(Q),this,J):Q};J.prototype=j,ue&&!i&&(j.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:ue},{Number:J});var K=function(oe,ee){for(var Q=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;Q.length>le;le++)u(ee,Z=Q[le])&&!u(oe,Z)&&k(oe,Z,S(ee,Z))};i&&B&&K(f[D],B),(ue||i)&&K(f[D],M)},31919:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},51284:function(d,v,e){"use strict";var r=e(94488),i=e(1222);r({target:"Number",stat:!0},{isFinite:i})},10177:function(d,v,e){"use strict";var r=e(94488),i=e(62896);r({target:"Number",stat:!0},{isInteger:i})},85690:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0},{isNaN:function(l){return l!==l}})},92114:function(d,v,e){"use strict";var r=e(94488),i=e(62896),l=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(f){return i(f)&&l(f)<=9007199254740991}})},1017:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},14480:function(d,v,e){"use strict";var r=e(94488);r({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},40516:function(d,v,e){"use strict";var r=e(94488),i=e(31280);r({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},76345:function(d,v,e){"use strict";var r=e(94488),i=e(52446);r({target:"Number",stat:!0,forced:Number.parseInt!==i},{parseInt:i})},7282:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(56902),c=e(49228),f=e(71049),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",D=function(){return h(function(){S(1,1/0)})&&h(function(){S(1,-1/0)})},M=function(){return!h(function(){S(1/0,1/0),S(NaN,1/0)})},B=!A||!D()||!M();r({target:"Number",proto:!0,forced:B},{toExponential:function(Y){var V=c(this);if(Y===void 0)return S(V);var G=l(Y);if(!x(V))return String(V);if(G<0||G>20)throw new u("Incorrect fraction digits");if(A)return S(V,G);var ae="",ie="",ue=0,q="",J="";if(V<0&&(ae="-",V=-V),V===0)ue=0,ie=k("0",G+1);else{var K=o(V);ue=y(K);var oe=0,ee=_(10,ue-G);oe=b(V/ee),2*V>=(2*oe+1)*ee&&(oe+=1),oe>=_(10,G+1)&&(oe/=10,ue+=1),ie=a(oe)}return G!==0&&(ie=R(ie,0,1)+"."+R(ie,1)),ue===0?(q="+",J="0"):(q=ue>0?"+":"-",J=a(p(ue))),ie+="e"+q+J,ae+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(D,M,B){return M===0?B:M%2===1?_(D,M-1,B*D):_(D*D,M/2,B)},b=function(D){for(var M=0,B=D;B>=4096;)M+=12,B/=4096;for(;B>=2;)M+=1,B/=2;return M},S=function(D,M,B){for(var j=-1,Y=B;++j<6;)Y+=M*D[j],D[j]=Y%1e7,Y=a(Y/1e7)},k=function(D,M){for(var B=6,j=0;--B>=0;)j+=D[B],D[B]=a(j/M),j=j%M*1e7},R=function(D){for(var M=6,B="";--M>=0;)if(B!==""||M===0||D[M]!==0){var j=u(D[M]);B=B===""?j:B+x("0",7-j.length)+j}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),j=l(M),Y=[0,0,0,0,0,0],V="",G="0",ae,ie,ue,q;if(j<0||j>20)throw new h("Incorrect fraction digits");if(B!==B)return"NaN";if(B<=-1e21||B>=1e21)return u(B);if(B<0&&(V="-",B=-B),B>1e-21)if(ae=b(B*_(2,69,1))-69,ie=ae<0?B*_(2,-ae,1):B/_(2,ae,1),ie*=4503599627370496,ae=52-ae,ae>0){for(S(Y,0,ie),ue=j;ue>=7;)S(Y,1e7,0),ue-=7;for(S(Y,_(10,ue,1),0),ue=ae-1;ue>=23;)k(Y,8388608),ue-=23;k(Y,1<<ue),S(Y,1,1),k(Y,2),G=R(Y)}else S(Y,0,ie),S(Y,1<<-ae,0),G=R(Y)+x("0",j);return j>0?(q=G.length,G=V+(q<=j?"0."+x("0",j-q)+G:p(G,0,q-j)+"."+p(G,q-j))):G=V+G,G}})},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(D){var M=R++,B=!1;A++,i(S,x,D).then(function(j){B||(B=!0,k[M]={status:"fulfilled",value:j},--A||y(k))},function(j){B||(B=!0,k[M]={status:"rejected",reason:j},--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(D){var M=R++,B=!1;A++,i(S,x,D).then(function(j){B||(B=!0,k[M]=j,--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),D=[],M=0,B=1,j=!1;h(p,function(Y){var V=M++,G=!1;B++,i(A,y,Y).then(function(ae){G||j||(j=!0,S(ae))},function(ae){G||j||(G=!0,D[V]=ae,--B||k(new _(D,a)))})}),--B||k(new _(D,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),D=e(66790),M=e(94844),B=e(2451),j=e(82830),Y=e(73446),V="Promise",G=j.CONSTRUCTOR,ae=j.REJECTION_EVENT,ie=j.SUBCLASSING,ue=M.getterFor(V),q=M.set,J=B&&B.prototype,K=B,oe=J,ee=c.TypeError,Q=c.document,le=c.process,Z=Y.f,$=Z,se=!!(Q&&Q.createEvent&&c.dispatchEvent),_e="unhandledrejection",Ie="rejectionhandled",De=0,Ze=1,Ne=2,Lt=1,bt=2,kt,jt,Wt,zt,We=function(He){var ze;return y(He)&&p(ze=He.then)?ze:!1},St=function(He,ze){var Ye=ze.value,ht=ze.state===Ze,xt=ht?He.ok:He.fail,nr=He.resolve,er=He.reject,Le=He.domain,Qe,Qt,Rt;try{xt?(ht||(ze.rejection===bt&&qe(ze),ze.rejection=Lt),xt===!0?Qe=Ye:(Le&&Le.enter(),Qe=xt(Ye),Le&&(Le.exit(),Rt=!0)),Qe===He.promise?er(new ee("Promise-chain cycle")):(Qt=We(Qe))?f(Qt,Qe,nr,er):nr(Qe)):er(Ye)}catch(Vt){Le&&!Rt&&Le.exit(),er(Vt)}},Ft=function(He,ze){He.notified||(He.notified=!0,k(function(){for(var Ye=He.reactions,ht;ht=Ye.get();)St(ht,He);He.notified=!1,ze&&!He.rejection&&_t(He)}))},tt=function(He,ze,Ye){var ht,xt;se?(ht=Q.createEvent("Event"),ht.promise=ze,ht.reason=Ye,ht.initEvent(He,!1,!0),c.dispatchEvent(ht)):ht={promise:ze,reason:Ye},!ae&&(xt=c["on"+He])?xt(ht):He===_e&&R("Unhandled promise rejection",Ye)},_t=function(He){f(S,c,function(){var ze=He.facade,Ye=He.value,ht=dt(He),xt;if(ht&&(xt=A(function(){l?le.emit("unhandledRejection",Ye,ze):tt(_e,ze,Ye)}),He.rejection=l||dt(He)?bt:Lt,xt.error))throw xt.value})},dt=function(He){return He.rejection!==Lt&&!He.parent},qe=function(He){f(S,c,function(){var ze=He.facade;l?le.emit("rejectionHandled",ze):tt(Ie,ze,He.value)})},Be=function(He,ze,Ye){return function(ht){He(ze,ht,Ye)}},Ee=function(He,ze,Ye){He.done||(He.done=!0,Ye&&(He=Ye),He.value=ze,He.state=Ne,Ft(He,!0))},Re=function(He,ze,Ye){if(!He.done){He.done=!0,Ye&&(He=Ye);try{if(He.facade===ze)throw new ee("Promise can't be resolved itself");var ht=We(ze);ht?k(function(){var xt={done:!1};try{f(ht,ze,Be(Re,xt,He),Be(Ee,xt,He))}catch(nr){Ee(xt,nr,He)}}):(He.value=ze,He.state=Ze,Ft(He,!1))}catch(xt){Ee({done:!1},xt,He)}}};if(G&&(K=function(ze){_(this,oe),x(ze),f(kt,this);var Ye=ue(this);try{ze(Be(Re,Ye),Be(Ee,Ye))}catch(ht){Ee(Ye,ht)}},oe=K.prototype,kt=function(ze){q(this,{type:V,done:!1,notified:!1,parent:!1,reactions:new D,rejection:!1,state:De,value:void 0})},kt.prototype=o(oe,"then",function(ze,Ye){var ht=ue(this),xt=Z(b(this,K));return ht.parent=!0,xt.ok=p(ze)?ze:!0,xt.fail=p(Ye)&&Ye,xt.domain=l?le.domain:void 0,ht.state===De?ht.reactions.add(xt):k(function(){St(xt,ht)}),xt.promise}),jt=function(){var He=new kt,ze=ue(He);this.promise=He,this.resolve=Be(Re,ze),this.reject=Be(Ee,ze)},Y.f=Z=function(He){return He===K||He===Wt?new jt(He):$(He)},!i&&p(B)&&J!==Object.prototype)){zt=J.then,ie||o(J,"then",function(ze,Ye){var ht=this;return new K(function(xt,nr){f(zt,ht,xt,nr)}).then(ze,Ye)},{unsafe:!0});try{delete J.constructor}catch(He){}h&&h(J,oe)}r({global:!0,constructor:!0,wrap:!0,forced:G},{Promise:K}),u(K,V,!1,!0),a(V)},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 D=arguments.length<3?R:f(arguments[2]);if(b&&!_)return x(R,A,D);if(R===D){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=D.prototype,j=u(h(B)?B:p),Y=l(R,j,A);return h(Y)?Y:j}})},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,D,M;if(!R){if(c(D=a(_)))return p(D,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,D=e(51996),M=e(59893),B=e(6041),j=e(51224),Y=M("match"),V=i.RegExp,G=V.prototype,ae=i.SyntaxError,ie=l(G.exec),ue=l("".charAt),q=l("".replace),J=l("".indexOf),K=l("".slice),oe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,Q=/a/g,le=new V(ee)!==ee,Z=_.MISSED_STICKY,$=_.UNSUPPORTED_Y,se=r&&(!le||Z||B||j||k(function(){return Q[Y]=!1,V(ee)!==ee||V(Q)===Q||String(V(ee,"i"))!=="/a/i"})),_e=function(Lt){for(var bt=Lt.length,kt=0,jt="",Wt=!1,zt;kt<=bt;kt++){if(zt=ue(Lt,kt),zt==="\\"){jt+=zt+ue(Lt,++kt);continue}!Wt&&zt==="."?jt+="[\\s\\S]":(zt==="["?Wt=!0:zt==="]"&&(Wt=!1),jt+=zt)}return jt},Ie=function(Lt){for(var bt=Lt.length,kt=0,jt="",Wt=[],zt=h(null),We=!1,St=!1,Ft=0,tt="",_t;kt<=bt;kt++){if(_t=ue(Lt,kt),_t==="\\")_t+=ue(Lt,++kt);else if(_t==="]")We=!1;else if(!We)switch(!0){case _t==="[":We=!0;break;case _t==="(":ie(oe,K(Lt,kt+1))&&(kt+=2,St=!0),jt+=_t,Ft++;continue;case(_t===">"&&St):if(tt===""||R(zt,tt))throw new ae("Invalid capture group name");zt[tt]=!0,Wt[Wt.length]=[tt,Ft],St=!1,tt="";continue}St?tt+=_t:jt+=_t}return[jt,Wt]};if(c("RegExp",se)){for(var De=function(bt,kt){var jt=a(G,this),Wt=x(bt),zt=kt===void 0,We=[],St=bt,Ft,tt,_t,dt,qe,Be;if(!jt&&Wt&&zt&&bt.constructor===De)return bt;if((Wt||a(G,bt))&&(bt=bt.source,zt&&(kt=y(St))),bt=bt===void 0?"":p(bt),kt=kt===void 0?"":p(kt),St=bt,B&&"dotAll"in ee&&(tt=!!kt&&J(kt,"s")>-1,tt&&(kt=q(kt,/s/g,""))),Ft=kt,Z&&"sticky"in ee&&(_t=!!kt&&J(kt,"y")>-1,_t&&$&&(kt=q(kt,/y/g,""))),j&&(dt=Ie(bt),bt=dt[0],We=dt[1]),qe=f(V(bt,kt),jt?this:G,De),(tt||_t||We.length)&&(Be=A(qe),tt&&(Be.dotAll=!0,Be.raw=De(_e(bt),Ft)),_t&&(Be.sticky=!0),We.length&&(Be.groups=We)),bt!==St)try{o(qe,"source",St===""?"(?:)":St)}catch(Ee){}return qe},Ze=u(V),Ne=0;Ze.length>Ne;)b(De,V,Ze[Ne++]);G.constructor=De,De.prototype=G,S(i,"RegExp",De,{constructor:!0})}D("RegExp")},62921:function(d,v,e){"use strict";var r=e(35454),i=e(6041),l=e(29076),c=e(64110),f=e(94844).get,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,D=R.length,M=A===void 0?D:y(c(A),D),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),D=e(52216),M=e(94338),B=e(94844),j=e(16697),Y=R("matchAll"),V="RegExp String",G=V+" Iterator",ae=B.set,ie=B.getterFor(G),ue=RegExp.prototype,q=TypeError,J=l("".indexOf),K=l("".matchAll),oe=!!K&&!k(function(){K("a",/./)}),ee=c(function(Z,$,se,_e){ae(this,{type:G,regexp:Z,string:$,global:se,unicode:_e,done:!1})},V,function(){var Z=ie(this);if(Z.done)return f(void 0,!0);var $=Z.regexp,se=Z.string,_e=M($,se);return _e===null?(Z.done=!0,f(void 0,!0)):Z.global?(u(_e[0])===""&&($.lastIndex=D(se,h($.lastIndex),Z.unicode)),f(_e,!1)):(Z.done=!0,f(_e,!1))}),Q=function(le){var Z=a(this),$=u(le),se=A(Z,RegExp),_e=u(_(Z)),Ie,De,Ze;return Ie=new se(se===RegExp?Z.source:Z,_e),De=!!~J(_e,"g"),Ze=!!~J(_e,"u"),Ie.lastIndex=h(Z.lastIndex),new ee(Ie,$,De,Ze)};r({target:"String",proto:!0,forced:oe},{matchAll:function(Z){var $=o(this),se,_e,Ie,De;if(x(Z)){if(oe)return K($,Z)}else{if(y(Z)&&(se=u(o(_(Z))),!~J(se,"g")))throw new q("`.matchAll` does not allow non-global regexes");if(oe)return K($,Z);if(Ie=b(Z,Y),Ie===void 0&&j&&p(Z)==="RegExp"&&(Ie=Q),Ie)return i(Ie,Z,$)}return _e=u($),De=new RegExp(Z,"g"),j?i(Q,De,_e):De[Y](_e)}}),j||Y in ue||S(ue,Y,Q)},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 D=[],M=0,B;(B=x(S,k))!==null;){var j=o(B[0]);D[M]=j,j===""&&(S.lastIndex=a(k,f(S.lastIndex),A)),M++}return M===0?null:D}]})},76718:function(d,v,e){"use strict";var r=e(94488),i=e(85571).end,l=e(98352);r({target:"String",proto:!0,forced:l},{padEnd:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},79172:function(d,v,e){"use strict";var r=e(94488),i=e(85571).start,l=e(98352);r({target:"String",proto:!0,forced:l},{padStart:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}})},32192:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(80524),c=e(94029),f=e(69905),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),D=Math.max,M=function(B,j,Y){return Y>B.length?-1:j===""?Y:k(B,j,Y)};r({target:"String",proto:!0},{replaceAll:function(j,Y){var V=c(this),G,ae,ie,ue,q,J,K,oe,ee,Q=0,le=0,Z="";if(!o(j)){if(G=h(j),G&&(ae=u(c(x(j))),!~k(ae,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ie=a(j,b),ie)return i(ie,j,V,Y);if(_&&G)return R(u(V),j,Y)}for(ue=u(V),q=u(j),J=f(Y),J||(Y=u(Y)),K=q.length,oe=D(1,K),Q=M(ue,q,0);Q!==-1;)ee=J?u(Y(q,Q,ue)):p(q,ue,Q,[],void 0,Y),Z+=A(ue,le,Q)+ee,le=Q+K,Q=M(ue,q,Q+oe);return le<ue.length&&(Z+=A(ue,le)),Z}})},5658:function(d,v,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),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"),D=Math.max,M=Math.min,B=l([].concat),j=l([].push),Y=l("".indexOf),V=l("".slice),G=function(q){return q===void 0?q:String(q)},ae=function(){return"a".replace(/./,"$0")==="$0"}(),ie=function(){return/./[A]?/./[A]("a","$0")==="":!1}(),ue=!f(function(){var q=/./;return q.exec=function(){var J=[];return J.groups={a:"7"},J},"".replace(q,"$<a>")!=="7"});c("replace",function(q,J,K){var oe=ie?"$":"$0";return[function(Q,le){var Z=y(this),$=u(Q)?void 0:b(Q,A);return $?i($,Q,Z,le):i(J,p(Z),Q,le)},function(ee,Q){var le=o(this),Z=p(ee);if(typeof Q=="string"&&Y(Q,oe)===-1&&Y(Q,"$<")===-1){var $=K(J,le,Z,Q);if($.done)return $.value}var se=h(Q);se||(Q=p(Q));var _e=le.global,Ie;_e&&(Ie=le.unicode,le.lastIndex=0);for(var De=[],Ze;Ze=k(le,Z),!(Ze===null||(j(De,Ze),!_e));){var Ne=p(Ze[0]);Ne===""&&(le.lastIndex=_(Z,x(le.lastIndex),Ie))}for(var Lt="",bt=0,kt=0;kt<De.length;kt++){Ze=De[kt];for(var jt=p(Ze[0]),Wt=D(M(a(Ze.index),Z.length),0),zt=[],We,St=1;St<Ze.length;St++)j(zt,G(Ze[St]));var Ft=Ze.groups;if(se){var tt=B([jt],zt,Wt,Z);Ft!==void 0&&j(tt,Ft),We=p(r(Q,void 0,tt))}else We=S(jt,Z,Wt,zt,Ft,Q);Wt>=bt&&(Lt+=V(Z,bt,Wt)+We,bt=Wt+jt.length)}return Lt+V(Z,bt)}]},!ue||!ae||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),D=R.UNSUPPORTED_Y,M=4294967295,B=Math.min,j=[].push,Y=l(/./.exec),V=l(j),G=l("".slice),ae=!A(function(){var ie=/(?:)/,ue=ie.exec;ie.exec=function(){return ue.apply(this,arguments)};var q="ab".split(ie);return q.length!==2||q[0]!=="a"||q[1]!=="b"});c("split",function(ie,ue,q){var J;return"abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length?J=function(K,oe){var ee=y(u(this)),Q=oe===void 0?M:oe>>>0;if(Q===0)return[];if(K===void 0)return[ee];if(!h(K))return i(ue,ee,K,Q);for(var le=[],Z=(K.ignoreCase?"i":"")+(K.multiline?"m":"")+(K.unicode?"u":"")+(K.sticky?"y":""),$=0,se=new RegExp(K.source,Z+"g"),_e,Ie,De;(_e=i(k,se,ee))&&(Ie=se.lastIndex,!(Ie>$&&(V(le,G(ee,$,_e.index)),_e.length>1&&_e.index<ee.length&&r(j,le,b(_e,1)),De=_e[0].length,$=Ie,le.length>=Q)));)se.lastIndex===_e.index&&se.lastIndex++;return $===ee.length?(De||!Y(se,""))&&V(le,""):V(le,G(ee,$)),le.length>Q?b(le,0,Q):le}:"0".split(void 0,0).length?J=function(K,oe){return K===void 0&&oe===0?[]:i(ue,this,K,oe)}:J=ue,[function(oe,ee){var Q=u(this),le=o(oe)?void 0:_(oe,ie);return le?i(le,oe,Q,ee):i(J,y(Q),oe,ee)},function(K,oe){var ee=f(this),Q=y(K),le=q(J,ee,Q,oe,J!==ue);if(le.done)return le.value;var Z=a(ee,RegExp),$=ee.unicode,se=(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")+(D?"g":"y"),_e=new Z(D?"^(?:"+ee.source+")":ee,se),Ie=oe===void 0?M:oe>>>0;if(Ie===0)return[];if(Q.length===0)return S(_e,Q)===null?[Q]:[];for(var De=0,Ze=0,Ne=[];Ze<Q.length;){_e.lastIndex=D?0:Ze;var Lt=S(_e,D?G(Q,Ze):Q),bt;if(Lt===null||(bt=B(p(_e.lastIndex+(D?Ze:0)),Q.length))===De)Ze=x(Q,Ze,$);else{if(V(Ne,G(Q,De,Ze)),Ne.length===Ie)return Ne;for(var kt=1;kt<=Lt.length-1;kt++)if(V(Ne,Lt[kt]),Ne.length===Ie)return Ne;Ze=De=bt}}return V(Ne,G(Q,De)),Ne}]},!ae,D)},58127:function(d,v,e){"use strict";var r=e(94488),i=e(34114),l=e(71256).f,c=e(61578),f=e(69905),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)),D=f(k);return x?x(R,D,A):p(R,A,A+D.length)===D}})},72571:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("strike")},{strike:function(){return i(this,"strike","","")}})},71200:function(d,v,e){"use strict";var r=e(94488),i=e(95994),l=e(17691);r({target:"String",proto:!0,forced:l("sub")},{sub:function(){return i(this,"sub","","")}})},70917:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(95955),c=e(56902),f=e(69905),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 D=a(S,A);(D&63488)!==55296?R[A]=u(S,A):D>=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),D=e(53393),M=e(92635),B=e(71256),j=e(37691),Y=e(55666),V=e(27597),G=e(2291),ae=e(64110),ie=e(77898),ue=e(11898),q=e(54406),J=e(6145),K=e(59893),oe=e(38282),ee=e(94674),Q=e(14311),le=e(94573),Z=e(94844),$=e(90560).forEach,se=ue("hidden"),_e="Symbol",Ie="prototype",De=Z.set,Ze=Z.getterFor(_e),Ne=Object[Ie],Lt=i.Symbol,bt=Lt&&Lt[Ie],kt=i.RangeError,jt=i.TypeError,Wt=i.QObject,zt=B.f,We=j.f,St=D.f,Ft=V.f,tt=c([].push),_t=ie("symbols"),dt=ie("op-symbols"),qe=ie("wks"),Be=!Wt||!Wt[Ie]||!Wt[Ie].findChild,Ee=function(Qe,Qt,Rt){var Vt=zt(Ne,Qt);Vt&&delete Ne[Qt],We(Qe,Qt,Rt),Vt&&Qe!==Ne&&We(Ne,Qt,Vt)},Re=o&&u(function(){return k(We({},"a",{get:function(){return We(this,"a",{value:7}).a}})).a!==7})?Ee:We,He=function(Qe,Qt){var Rt=_t[Qe]=k(bt);return De(Rt,{type:_e,tag:Qe,description:Qt}),o||(Rt.description=Qt),Rt},ze=function(Qt,Rt,Vt){Qt===Ne&&ze(dt,Rt,Vt),p(Qt);var Gt=_(Rt);return p(Vt),a(_t,Gt)?(Vt.enumerable?(a(Qt,se)&&Qt[se][Gt]&&(Qt[se][Gt]=!1),Vt=k(Vt,{enumerable:S(0,!1)})):(a(Qt,se)||We(Qt,se,S(1,{})),Qt[se][Gt]=!0),Re(Qt,Gt,Vt)):We(Qt,Gt,Vt)},Ye=function(Qt,Rt){p(Qt);var Vt=y(Rt),Gt=R(Vt).concat(Le(Vt));return $(Gt,function(Tt){(!o||l(xt,Vt,Tt))&&ze(Qt,Tt,Vt[Tt])}),Qt},ht=function(Qt,Rt){return Rt===void 0?k(Qt):Ye(k(Qt),Rt)},xt=function(Qt){var Rt=_(Qt),Vt=l(Ft,this,Rt);return this===Ne&&a(_t,Rt)&&!a(dt,Rt)?!1:Vt||!a(this,Rt)||!a(_t,Rt)||a(this,se)&&this[se][Rt]?Vt:!0},nr=function(Qt,Rt){var Vt=y(Qt),Gt=_(Rt);if(!(Vt===Ne&&a(_t,Gt)&&!a(dt,Gt))){var Tt=zt(Vt,Gt);return Tt&&a(_t,Gt)&&!(a(Vt,se)&&Vt[se][Gt])&&(Tt.enumerable=!0),Tt}},er=function(Qt){var Rt=St(y(Qt)),Vt=[];return $(Rt,function(Gt){!a(_t,Gt)&&!a(q,Gt)&&tt(Vt,Gt)}),Vt},Le=function(Qe){var Qt=Qe===Ne,Rt=St(Qt?dt:y(Qe)),Vt=[];return $(Rt,function(Gt){a(_t,Gt)&&(!Qt||a(Ne,Gt))&&tt(Vt,_t[Gt])}),Vt};h||(Lt=function(){if(x(bt,this))throw new jt("Symbol is not a constructor");var Qt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),Rt=J(Qt),Vt=function(Gt){var Tt=this===void 0?i:this;Tt===Ne&&l(Vt,dt,Gt),a(Tt,se)&&a(Tt[se],Rt)&&(Tt[se][Rt]=!1);var qt=S(1,Gt);try{Re(Tt,Rt,qt)}catch(Ue){if(!(Ue instanceof kt))throw Ue;Ee(Tt,Rt,qt)}};return o&&Be&&Re(Ne,Rt,{configurable:!0,set:Vt}),He(Rt,Qt)},bt=Lt[Ie],G(bt,"toString",function(){return Ze(this).tag}),G(Lt,"withoutSetter",function(Qe){return He(J(Qe),Qe)}),V.f=xt,j.f=ze,Y.f=Ye,B.f=nr,A.f=D.f=er,M.f=Le,oe.f=function(Qe){return He(K(Qe),Qe)},o&&(ae(bt,"description",{configurable:!0,get:function(){return Ze(this).description}}),f||G(Ne,"propertyIsEnumerable",xt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Lt}),$(R(qe),function(Qe){ee(Qe)}),r({target:_e,stat:!0,forced:!h},{useSetter:function(){Be=!0},useSimple:function(){Be=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:ht,defineProperty:ze,defineProperties:Ye,getOwnPropertyDescriptor:nr}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:er}),Q(),le(Lt,_e),q[se]=!0},44852:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(92916),c=e(94237),f=e(32621),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 j=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),Y=h(y,this)?new p(j):j===void 0?p():p(j);return j===""&&(_[Y]=!0),Y};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\((.*)\)[^)]+$/,D=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var j=k(this);if(f(_,j))return"";var Y=R(j),V=S?M(Y,7,-1):D(Y,A,"$1");return V===""?void 0:V}}),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),D=o(R);if(b)return i(p,this,D,A);var M=this.length,B=c(D),j=0;if(B+A>M)throw new u("Wrong length");for(;j<B;)this[A+j]=D[j++]},!b||S)},69653:function(d,v,e){"use strict";var r=e(58261),i=e(31384),l=e(3338),c=e(30867),f=r.aTypedArray,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),D=Array(516),M,B;for(M=0;M<516;M++)B=M%4,A[M]=515-M,D[M]=M-2*B+3;for(b(A,function(j,Y){return(j/4|0)-(Y/4|0)}),M=0;M<516;M++)if(A[M]!==D[M])return!0}),R=function(A){return function(D,M){return A!==void 0?+A(D,M)||0:M!==M?-1:D!==D?1:D===0&&M===0?1/D>0&&1/M<0?1:-1:D>M}};y("sort",function(D){return D!==void 0&&c(D),k?b(this,D):f(p(this),R(D))},!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,D={},M={},B=!i.ActiveXObject&&"ActiveXObject"in i,j,Y=function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},V=o("WeakMap",Y,h),G=V.prototype,ae=l(G.set),ie=function(){return r&&x(function(){var K=R([]);return ae(new V,K,1),!S(K)})};if(p)if(B){j=h.getConstructor(Y,"WeakMap",!0),f.enable();var ue=l(G.delete),q=l(G.has),J=l(G.get);c(G,{delete:function(K){if(u(K)&&!b(K)){var oe=a(this);return oe.frozen||(oe.frozen=new j),ue(this,K)||oe.frozen.delete(K)}return ue(this,K)},has:function(oe){if(u(oe)&&!b(oe)){var ee=a(this);return ee.frozen||(ee.frozen=new j),q(this,oe)||ee.frozen.has(oe)}return q(this,oe)},get:function(oe){if(u(oe)&&!b(oe)){var ee=a(this);return ee.frozen||(ee.frozen=new j),q(this,oe)?J(this,oe):ee.frozen.get(oe)}return J(this,oe)},set:function(oe,ee){if(u(oe)&&!b(oe)){var Q=a(this);Q.frozen||(Q.frozen=new j),q(this,oe)?ae(this,oe,ee):Q.frozen.set(oe,ee)}else ae(this,oe,ee);return this}})}else ie()&&c(G,{set:function(oe,ee){var Q;return _(oe)&&(S(oe)?Q=D:k(oe)&&(Q=M)),ae(this,oe,ee),Q===D&&R(oe),Q===M&&A(oe),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,D=x.getterFor(R),M="async-dispose",B="disposed",j="pending",Y=function(ae){var ie=D(ae);if(ie.state===B)throw new b(R+" already disposed");return ie},V=function(){A(f(this,G),{type:R,state:j,stack:[]}),i||(this.disposed=!1)},G=V.prototype;h(G,{disposeAsync:function(){var ie=this;return new y(function(ue,q){var J=D(ie);if(J.state===B)return ue(void 0);J.state=B,i||(ie.disposed=!0);var K=J.stack,oe=K.length,ee=!1,Q,le=function($){ee?Q=new _($,Q):(ee=!0,Q=$),Z()},Z=function(){if(oe){var $=K[--oe];K[oe]=null;try{y.resolve($()).then(Z,le)}catch(se){le(se)}}else J.stack=null,ee?q(Q):ue(void 0)};Z()})},use:function(ie){return p(Y(this),ie,M),ie},adopt:function(ie,ue){var q=Y(this);return c(ue),p(q,void 0,M,function(){return ue(ie)}),ie},defer:function(ie){var ue=Y(this);c(ie),p(ue,void 0,M,ie)},move:function(){var ie=Y(this),ue=new V;return D(ue).stack=ie.stack,ie.stack=[],ie.state=B,i||(this.disposed=!0),ue}}),i&&u(G,"disposed",{configurable:!0,get:function(){return D(this).state===B}}),o(G,S,G.disposeAsync,{name:"disposeAsync"}),o(G,k,R,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:V})},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)},D=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 j=B.value;try{var Y=S(j,_.counter++),V=function(G){G?k(u(j,!1)):M()};f(Y)?y.resolve(Y).then(V,D):V(Y)}catch(G){D(G)}}}catch(G){A(G)}},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 D=function(Y){b.done=!0,A(Y)},M=function(Y){x(S,D,Y,D)},B=function(){try{_.resolve(c(i(b.next,S))).then(function(Y){try{if(c(Y).done)b.done=!0,R(u(void 0,!0));else{var V=Y.value;try{var G=k(V,b.counter++),ae=function(ie){try{b.inner=a(ie),j()}catch(ue){M(ue)}};f(G)?_.resolve(G).then(ae,M):ae(G)}catch(ie){M(ie)}}}catch(ie){D(ie)}},D)}catch(Y){D(Y)}},j=function(){var Y=b.inner;if(Y)try{_.resolve(c(i(Y.next,Y.iterator))).then(function(V){try{c(V).done?(b.inner=null,B()):R(u(V.value,!1))}catch(G){M(G)}},M)}catch(V){M(V)}else B()};j()})});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(D,M){var B=function(Y){u(b,M,Y,M)},j=function(){try{a.resolve(c(i(S,b))).then(function(Y){try{if(c(Y).done)k?M(new x("Reduce of empty iterator with no initial value")):D(R);else{var V=Y.value;if(k)k=!1,R=V,j();else try{var G=y(R,V,A),ae=function(ie){R=ie,j()};f(G)?a.resolve(G).then(ae,B):ae(G)}catch(ie){B(ie)}}A++}catch(ie){M(ie)}},M)}catch(Y){M(Y)}};j()})}})},77703:function(d,v,e){"use strict";var r=e(94488),i=e(55266).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(c){return i(this,c)}})},93854:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),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),D="sync-dispose",M="disposed",B="pending",j=function(G){var ae=A(G);if(ae.state===M)throw new _(k+" already disposed");return ae},Y=function(){R(f(this,V),{type:k,state:B,stack:[]}),i||(this.disposed=!1)},V=Y.prototype;h(V,{dispose:function(){var ae=A(this);if(ae.state!==M){ae.state=M,i||(this.disposed=!0);for(var ie=ae.stack,ue=ie.length,q=!1,J;ue;){var K=ie[--ue];ie[ue]=null;try{K()}catch(oe){q?J=new y(oe,J):(q=!0,J=oe)}}if(ae.stack=null,q)throw J}},use:function(ae){return p(j(this),ae,D),ae},adopt:function(ae,ie){var ue=j(this);return c(ie),p(ue,void 0,D,function(){ie(ae)}),ae},defer:function(ae){var ie=j(this);c(ae),p(ie,void 0,D,ae)},move:function(){var ae=j(this),ie=new Y;return A(ie).stack=ae.stack,ae.stack=[],ae.state=M,i||(this.disposed=!0),ie}}),i&&u(V,"disposed",{configurable:!0,get:function(){return A(this).state===M}}),o(V,b,V.dispose,{name:"dispose"}),o(V,S,k,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:Y})},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,D=i[k],M=b||!f(D)||D.prototype!==y||!a(function(){D({})}),B=function(){if(l(this,y),o(this)===y)throw new A("Abstract class Iterator not directly constructable")},j=function(Y,V){_?h(y,Y,{configurable:!0,get:function(){return V},set:function(G){if(c(this),this===y)throw new A("You can't redefine this property");x(this,Y)?this[Y]=G:u(this,Y,G)}}):y[Y]=V};x(y,R)||j(R,k),(M||!x(y,S)||y[S]===Object)&&j(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,D=l.SyntaxError,M=R&&R.parse,B=c("Object","keys"),j=Object.getOwnPropertyDescriptor,Y=f("".charAt),V=f("".slice),G=f(/./.exec),ae=f([].push),ie=/^\d$/,ue=/^[1-9]$/,q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,K=0,oe=1,ee=function(Ie,De){Ie=p(Ie);var Ze=new $(Ie,0,""),Ne=Ze.parse(),Lt=Ne.value,bt=Ze.skip(J,Ne.end);if(bt<Ie.length)throw new D('Unexpected extra character: "'+Y(Ie,bt)+'" after the parsed data at: '+bt);return h(De)?Q({"":Lt},"",De,Ne):Lt},Q=function(Ie,De,Ze,Ne){var Lt=Ie[De],bt=Ne&&Lt===Ne.value,kt=bt&&typeof Ne.source=="string"?{source:Ne.source}:{},jt,Wt,zt,We,St;if(u(Lt)){var Ft=a(Lt),tt=bt?Ne.nodes:Ft?[]:{};if(Ft)for(jt=tt.length,zt=y(Lt),We=0;We<zt;We++)le(Lt,We,Q(Lt,""+We,Ze,We<jt?tt[We]:void 0));else for(Wt=B(Lt),zt=y(Wt),We=0;We<zt;We++)St=Wt[We],le(Lt,St,Q(Lt,St,Ze,x(tt,St)?tt[St]:void 0))}return o(Ze,Ie,De,Lt,kt)},le=function(Ie,De,Ze){if(i){var Ne=j(Ie,De);if(Ne&&!Ne.configurable)return}Ze===void 0?delete Ie[De]:_(Ie,De,Ze)},Z=function(Ie,De,Ze,Ne){this.value=Ie,this.end=De,this.source=Ze,this.nodes=Ne},$=function(Ie,De){this.source=Ie,this.index=De};$.prototype={fork:function(Ie){return new $(this.source,Ie)},parse:function(){var Ie=this.source,De=this.skip(J,this.index),Ze=this.fork(De),Ne=Y(Ie,De);if(G(q,Ne))return Ze.number();switch(Ne){case"{":return Ze.object();case"[":return Ze.array();case'"':return Ze.string();case"t":return Ze.keyword(!0);case"f":return Ze.keyword(!1);case"n":return Ze.keyword(null)}throw new D('Unexpected character: "'+Ne+'" at: '+De)},node:function(Ie,De,Ze,Ne,Lt){return new Z(De,Ne,Ie?null:V(this.source,Ze,Ne),Lt)},object:function(){for(var Ie=this.source,De=this.index+1,Ze=!1,Ne={},Lt={};De<Ie.length;){if(De=this.until(['"',"}"],De),Y(Ie,De)==="}"&&!Ze){De++;break}var bt=this.fork(De).string(),kt=bt.value;De=bt.end,De=this.until([":"],De)+1,De=this.skip(J,De),bt=this.fork(De).parse(),_(Lt,kt,bt),_(Ne,kt,bt.value),De=this.until([",","}"],bt.end);var jt=Y(Ie,De);if(jt===",")Ze=!0,De++;else if(jt==="}"){De++;break}}return this.node(oe,Ne,this.index,De,Lt)},array:function(){for(var Ie=this.source,De=this.index+1,Ze=!1,Ne=[],Lt=[];De<Ie.length;){if(De=this.skip(J,De),Y(Ie,De)==="]"&&!Ze){De++;break}var bt=this.fork(De).parse();if(ae(Lt,bt),ae(Ne,bt.value),De=this.until([",","]"],bt.end),Y(Ie,De)===",")Ze=!0,De++;else if(Y(Ie,De)==="]"){De++;break}}return this.node(oe,Ne,this.index,De,Lt)},string:function(){var Ie=this.index,De=S(this.source,this.index+1);return this.node(K,De.value,Ie,De.end)},number:function(){var Ie=this.source,De=this.index,Ze=De;if(Y(Ie,Ze)==="-"&&Ze++,Y(Ie,Ze)==="0")Ze++;else if(G(ue,Y(Ie,Ze)))Ze=this.skip(ie,++Ze);else throw new D("Failed to parse number at: "+Ze);if(Y(Ie,Ze)==="."&&(Ze=this.skip(ie,++Ze)),Y(Ie,Ze)==="e"||Y(Ie,Ze)==="E"){Ze++,(Y(Ie,Ze)==="+"||Y(Ie,Ze)==="-")&&Ze++;var Ne=Ze;if(Ze=this.skip(ie,Ze),Ne===Ze)throw new D("Failed to parse number's exponent value at: "+Ze)}return this.node(K,A(V(Ie,De,Ze)),De,Ze)},keyword:function(Ie){var De=""+Ie,Ze=this.index,Ne=Ze+De.length;if(V(this.source,Ze,Ne)!==De)throw new D("Failed to parse value at: "+Ze);return this.node(K,Ie,Ze,Ne)},skip:function(Ie,De){for(var Ze=this.source;De<Ze.length&&G(Ie,Y(Ze,De));De++);return De},until:function(Ie,De){De=this.skip(J,De);for(var Ze=Y(this.source,De),Ne=0;Ne<Ie.length;Ne++)if(Ie[Ne]===Ze)return De;throw new D('Unexpected character: "'+Ze+'" at: '+De)}};var se=b(function(){var Ie="9007199254740993",De;return M(Ie,function(Ze,Ne,Lt){De=Lt.source}),De!==Ie}),_e=k&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:se},{parse:function(De,Ze){return _e&&!h(Ze)?M(De):ee(De,Ze)}})},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"),D=c("Object","create"),M=c("Object","freeze"),B=o("".charAt),j=o("".slice),Y=o(/./.exec),V=o([].push),G=_(),ae=G.length,ie="Unacceptable as raw JSON",ue=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var K=a(J);if(K===""||Y(ue,B(K,0))||Y(ue,B(K,K.length-1)))throw new k(ie);var oe=R(K);if(typeof oe=="object"&&oe!==null)throw new k(ie);var ee=D(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(J,K,oe){var ee=y(K),Q=[],le=A(J,function(Ze,Ne){var Lt=h(ee)?f(ee,this,S(Ze),Ne):Ne;return u(Lt)?G+(V(Q,Lt.rawJSON)-1):Lt},oe);if(typeof le!="string")return le;for(var Z="",$=le.length,se=0;se<$;se++){var _e=B(le,se);if(_e==='"'){var Ie=p(le,++se).end-1,De=j(le,se,Ie);Z+=j(De,0,ae)===G?Q[j(De,ae)]:'"'+De+'"',se=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,D){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=D===void 0?10:l(D);if(B<2||B>36)throw new o(f);if(!_(p,A))throw new h(c);var j=k(A,"."),Y=a(j[0],B);if(j.length>1&&(Y+=a(j[1],B)/x(B,j[1].length)),B===10&&b(Y,B)!==A)throw new h(c);return M*Y}})},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"),D="Observable",M="Subscription",B="SubscriptionObserver",j=R.getterFor,Y=R.set,V=j(D),G=j(M),ae=j(B),ie=function(oe){this.observer=o(oe),this.cleanup=void 0,this.subscriptionObserver=void 0};ie.prototype={type:M,clean:function(){var oe=this.cleanup;if(oe){this.cleanup=void 0;try{oe()}catch(ee){S(ee)}}},close:function(){if(!l){var oe=this.facade,ee=this.subscriptionObserver;oe.closed=!0,ee&&(ee.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var ue=function(oe,ee){var Q=Y(this,new ie(oe)),le;l||(this.closed=!1);try{(le=p(oe,"start"))&&i(le,oe,this)}catch(_e){S(_e)}if(!Q.isClosed()){var Z=Q.subscriptionObserver=new q(Q);try{var $=ee(Z),se=$;a($)||(Q.cleanup=u($.unsubscribe)?function(){se.unsubscribe()}:f($))}catch(_e){Z.error(_e);return}Q.isClosed()&&Q.clean()}};ue.prototype=_({},{unsubscribe:function(){var ee=G(this);ee.isClosed()||(ee.close(),ee.clean())}}),l&&b(ue.prototype,"closed",{configurable:!0,get:function(){return G(this).isClosed()}});var q=function(oe){Y(this,{type:B,subscriptionState:oe}),l||(this.closed=!1)};q.prototype=_({},{next:function(ee){var Q=ae(this).subscriptionState;if(!Q.isClosed()){var le=Q.observer;try{var Z=p(le,"next");Z&&i(Z,le,ee)}catch($){S($)}}},error:function(ee){var Q=ae(this).subscriptionState;if(!Q.isClosed()){var le=Q.observer;Q.close();try{var Z=p(le,"error");Z?i(Z,le,ee):S(ee)}catch($){S($)}Q.clean()}},complete:function(){var ee=ae(this).subscriptionState;if(!ee.isClosed()){var Q=ee.observer;ee.close();try{var le=p(Q,"complete");le&&i(le,Q)}catch(Z){S(Z)}ee.clean()}}}),l&&b(q.prototype,"closed",{configurable:!0,get:function(){return ae(this).subscriptionState.isClosed()}});var J=function(ee){h(this,K),Y(this,{type:D,subscriber:f(ee)})},K=J.prototype;_(K,{subscribe:function(ee){var Q=arguments.length;return new ue(u(ee)?{next:ee,error:Q>1?arguments[1]:void 0,complete:Q>2?arguments[2]:void 0}:x(ee)?ee:{},V(this).subscriber)}}),y(K,A,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),c(D)},14548:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(89945),c=e(80449),f=e(39812),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,D){if(R.next(A),R.closed)return D()},{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,D=y.set,M=Array,B=TypeError,j=Object.freeze||Object,Y=Object.isFrozen,V=Math.min,G=c("".charAt),ae=c("".slice),ie=c("".split),ue=c(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+S+"]*"),K=RegExp("[^"+S+"]"),oe="Invalid tag",ee="Invalid opening line",Q="Invalid closing line",le=function(De){var Ze=De.raw;if(r&&!Y(Ze))throw new B("Raw template should be frozen");if(A(k,Ze))return R(k,Ze);var Ne=Z(Ze),Lt=se(Ne);return x(Lt,"raw",{value:j(Ne)}),j(Lt),D(k,Ze,Lt),Lt},Z=function(De){var Ze=h(De),Ne=a(Ze),Lt=M(Ne),bt=M(Ne),kt=0,jt,Wt,zt,We;if(!Ne)throw new B(oe);for(;kt<Ne;kt++){var St=Ze[kt];if(typeof St=="string")Lt[kt]=ie(St,q);else throw new B(oe)}for(kt=0;kt<Ne;kt++){var Ft=kt+1===Ne;if(jt=Lt[kt],kt===0){if(jt.length===1||jt[0].length>0)throw new B(ee);jt[1]=""}if(Ft){if(jt.length===1||ue(K,jt[jt.length-1]))throw new B(Q);jt[jt.length-2]="",jt[jt.length-1]=""}for(var tt=2;tt<jt.length;tt+=2){var _t=jt[tt],dt=tt+1===jt.length&&!Ft,qe=ue(J,_t)[0];if(!dt&&qe.length===_t.length){jt[tt]="";continue}Wt=$(qe,Wt)}}var Be=Wt?Wt.length:0;for(kt=0;kt<Ne;kt++){for(jt=Lt[kt],zt=jt[0],We=1;We<jt.length;We+=2)zt+=jt[We]+ae(jt[We+1],Be);bt[kt]=zt}return bt},$=function(De,Ze){if(Ze===void 0||De===Ze)return De;for(var Ne=0,Lt=V(De.length,Ze.length);Ne<Lt&&G(De,Ne)===G(Ze,Ne);Ne++);return ae(De,0,Ne)},se=function(De){for(var Ze=0,Ne=De.length,Lt=M(Ne);Ze<Ne;Ze++)Lt[Ze]=b(De[Ze]);return Lt},_e=function(De){return l(function(Ze){var Ne=p(arguments);return Ne[0]=le(o(Ze)),f(De,this,Ne)},"")},Ie=_e(_);i({target:"String",stat:!0,forced:!0},{dedent:function(Ze){return o(Ze),u(Ze)?_e(Ze):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,D){var M=i(S,this),B;return c?B=c(new _,M?l(this):S):(B=M?this:o(S),h(B,y,"Error")),D!==void 0&&h(B,"message",x(D)),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),D=i(R),M=c(S,D),B=arguments.length,j=0,Y,V,G,ae,ie,ue,q;if(B===0)Y=V=0;else if(B===1)Y=0,V=D-M;else if(V=y(p(o(k),0),D-M),Y=B-2,Y){ae=new A(Y),G=l(ae);for(var J=2;J<B;J++)ie=arguments[J],ae[J-2]=G?f(ie):+ie}for(ue=D+Y-V,q=new A(ue);j<M;j++)q[j]=R[j];for(;j<M+Y;j++)q[j]=ae[j-M];for(;j<ue;j++)q[j]=R[j+V-Y];return q},!_)},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,D="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function(B){f(B);var j=arguments.length>1?c(arguments[1]):void 0,Y=a(j)==="base64"?x:p,V=j?!!j.strict:!1,G=V?B:S(B,A,"");if(G.length%4===0)k(G,-2)==="=="?G=k(G,0,-2):k(G,-1)==="="&&(G=k(G,0,-1));else if(V)throw new _("Input is not correctly padded");var ae=G.length%4;switch(ae){case 1:throw new _("Bad input length");case 2:G+="AA";break;case 3:G+="A"}for(var ie=[],ue=0,q=G.length,J=function(ee){var Q=b(G,ue+ee);if(!o(Y,Q))throw new _('Bad char in input: "'+Q+'"');return Y[Q]<<18-6*ee};ue<q;ue+=4){var K=J(0)+J(1)+J(2)+J(3);R(ie,K>>16&255,K>>8&255,K&255)}var oe=ie.length;if(ae===2){if(V&&ie[oe-2]!==0)throw new _(D);oe-=2}else if(ae===3){if(V&&ie[oe-1]!==0)throw new _(D);oe--}return h(y,ie,oe)}})},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,D,M=function(B){return p(S,D>>6*B&63)};R+2<A;R+=3)D=(_[R]<<16)+(_[R+1]<<8)+_[R+2],k+=M(3)+M(2)+M(1)+M(0);return R+2===A?(D=(_[R]<<16)+(_[R+1]<<8),k+=M(3)+M(2)+M(1)+"="):R+1===A&&(D=_[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"}),D=A&&o(function(){return _(" ")!==""}),M=A&&!o(function(){_("a")}),B=A&&!o(function(){_()}),j=A&&_.length!==1,Y=!A||D||M||B||j;r({global:!0,bind:!0,enumerable:!0,forced:Y},{atob:function(G){if(u(arguments.length,1),A&&!D&&!M)return f(_,i,G);var ae=k(h(G),p,""),ie="",ue=0,q=0,J,K,oe;if(ae.length%4===0&&(ae=k(ae,y,"")),J=ae.length,J%4===1||R(x,ae))throw new(l("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;ue<J;)K=S(ae,ue++),oe=q%4?oe*64+a[K]:a[K],q++%4&&(ie+=b(255&oe>>(-2*q&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 D=h(A),M="",B=0,j=a,Y,V;p(D,B)||(j="=",B%1);){if(V=y(D,B+=.75),V>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");Y=Y<<8|V,M+=p(j,63&Y>>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),D=e(16697),M="DOMException",B="DATA_CLONE_ERR",j=l("Error"),Y=l(M)||function(){try{var bt=l("MessageChannel")||i("worker_threads").MessageChannel;new bt().port1.postMessage(new WeakMap)}catch(kt){if(kt.name===B&&kt.code===25)return kt.constructor}}(),V=Y&&Y.prototype,G=j.prototype,ae=R.set,ie=R.getterFor(M),ue="stack"in new j(M),q=function(bt){return x(S,bt)&&S[bt].m?S[bt].c:0},J=function(){p(this,K);var kt=arguments.length,jt=b(kt<1?void 0:arguments[0]),Wt=b(kt<2?void 0:arguments[1],"Error"),zt=q(Wt);if(ae(this,{type:M,name:Wt,message:jt,code:zt}),A||(this.name=Wt,this.message=jt,this.code=zt),ue){var We=new j(jt);We.name=M,h(this,"stack",o(1,k(We.stack,1)))}},K=J.prototype=f(G),oe=function(bt){return{enumerable:!0,configurable:!0,get:bt}},ee=function(bt){return oe(function(){return ie(this)[bt]})};A&&(a(K,"code",ee("code")),a(K,"message",ee("message")),a(K,"name",ee("name"))),h(K,"constructor",o(1,J));var Q=c(function(){return!(new Y instanceof j)}),le=Q||c(function(){return G.toString!==_||String(new Y(1,2))!=="2: 1"}),Z=Q||c(function(){return new Y(1,"DataCloneError").code!==25}),$=Q||Y[B]!==25||V[B]!==25,se=D?le||Z||$:Q;r({global:!0,constructor:!0,forced:se},{DOMException:se?J:Y});var _e=l(M),Ie=_e.prototype;le&&(D||Y===_e)&&u(Ie,"toString",_),Z&&A&&Y===_e&&a(Ie,"code",oe(function(){return q(y(this).name)}));for(var De in S)if(x(S,De)){var Ze=S[De],Ne=Ze.s,Lt=o(6,Ze.c);x(_e,Ne)||h(_e,Ne,Lt),x(Ie,Ne)||h(Ie,Ne,Lt)}},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 J=arguments.length,K=a(J<1?void 0:arguments[0]),oe=a(J<2?void 0:arguments[1],"Error"),ee=new k(K,oe),Q=new S(K);return Q.name=b,f(ee,"stack",c(1,p(Q.stack,1))),u(ee,this,R),ee},A=R.prototype=k.prototype,D="stack"in new S(b),M="stack"in new k(1,2),B=k&&y&&Object.getOwnPropertyDescriptor(i,b),j=!!B&&!(B.writable&&B.configurable),Y=D&&!j&&!M;r({global:!0,constructor:!0,forced:_||Y},{DOMException:Y?R:k});var V=l(b),G=V.prototype;if(G.constructor!==V){_||f(G,"constructor",c(1,V));for(var ae in x)if(o(x,ae)){var ie=x[ae],ue=ie.s;o(V,ue)||f(V,ue,c(6,ie.c))}}},86465:function(d,v,e){"use strict";var r=e(65911),i=e(94573),l="DOMException";i(r(l),l)},78437:function(d,v,e){"use strict";e(91472),e(91700)},73624:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(72933),c=e(63335),f=e(57106),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),D=e(82762),M=e(57106),B=e(81644),j=e(2786),Y=e(19691),V=e(57002),G=e(39311),ae=e(25406),ie=e(80426),ue=l.Object,q=l.Array,J=l.Date,K=l.Error,oe=l.TypeError,ee=l.PerformanceMark,Q=c("DOMException"),le=j.Map,Z=j.has,$=j.get,se=j.set,_e=Y.Set,Ie=Y.add,De=Y.has,Ze=c("Object","keys"),Ne=f([].push),Lt=f((!0).valueOf),bt=f(1 .valueOf),kt=f("".valueOf),jt=f(J.prototype.getTime),Wt=h("structuredClone"),zt="DataCloneError",We="Transferring",St=function(Le){return!o(function(){var Qe=new l.Set([7]),Qt=Le(Qe),Rt=Le(ue(7));return Qt===Qe||!Qt.has(7)||!p(Rt)||+Rt!=7})&&Le},Ft=function(Le,Qe){return!o(function(){var Qt=new Qe,Rt=Le({a:Qt,b:Qt});return!(Rt&&Rt.a===Rt.b&&Rt.a instanceof Qe&&Rt.a.stack===Qt.stack)})},tt=function(Le){return!o(function(){var Qe=Le(new l.AggregateError([1],Wt,{cause:3}));return Qe.name!=="AggregateError"||Qe.errors[0]!==1||Qe.message!==Wt||Qe.cause!==3})},_t=l.structuredClone,dt=r||!Ft(_t,K)||!Ft(_t,Q)||!tt(_t),qe=!_t&&St(function(Le){return new ee(Wt,{detail:Le}).detail}),Be=St(_t)||qe,Ee=function(Le){throw new Q("Uncloneable type: "+Le,zt)},Re=function(Le,Qe){throw new Q((Qe||"Cloning")+" of "+Le+" cannot be properly polyfilled in this engine",zt)},He=function(Le,Qe){return Be||Re(Qe),Be(Le)},ze=function(){var Le;try{Le=new l.DataTransfer}catch(Qe){try{Le=new l.ClipboardEvent("").clipboardData}catch(Qt){}}return Le&&Le.items&&Le.files?Le:null},Ye=function(Le,Qe,Qt){if(Z(Qe,Le))return $(Qe,Le);var Rt=Qt||S(Le),Vt,Gt,Tt,qt,Ue,fe;if(Rt==="SharedArrayBuffer")Be?Vt=Be(Le):Vt=Le;else{var pe=l.DataView;!pe&&!u(Le.slice)&&Re("ArrayBuffer");try{if(u(Le.slice)&&!Le.resizable)Vt=Le.slice(0);else for(Gt=Le.byteLength,Tt=("maxByteLength"in Le)?{maxByteLength:Le.maxByteLength}:void 0,Vt=new ArrayBuffer(Gt,Tt),qt=new pe(Le),Ue=new pe(Vt),fe=0;fe<Gt;fe++)Ue.setUint8(fe,qt.getUint8(fe))}catch(Ot){throw new Q("ArrayBuffer is detached",zt)}}return se(Qe,Le,Vt),Vt},ht=function(Le,Qe,Qt,Rt,Vt){var Gt=l[Qe];return p(Gt)||Re(Qe),new Gt(Ye(Le.buffer,Vt),Qt,Rt)},xt=function(Le,Qe){if(y(Le)&&Ee("Symbol"),!p(Le))return Le;if(Qe){if(Z(Qe,Le))return $(Qe,Le)}else Qe=new le;var Qt=S(Le),Rt,Vt,Gt,Tt,qt,Ue,fe,pe;switch(Qt){case"Array":Gt=q(D(Le));break;case"Object":Gt={};break;case"Map":Gt=new le;break;case"Set":Gt=new _e;break;case"RegExp":Gt=new RegExp(Le.source,B(Le));break;case"Error":switch(Vt=Le.name,Vt){case"AggregateError":Gt=new(c(Vt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":Gt=new(c(Vt));break;case"CompileError":case"LinkError":case"RuntimeError":Gt=new(c("WebAssembly",Vt));break;default:Gt=new K}break;case"DOMException":Gt=new Q(Le.message,Le.name);break;case"ArrayBuffer":case"SharedArrayBuffer":Gt=Ye(Le,Qe,Qt);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":Ue=Qt==="DataView"?Le.byteLength:Le.length,Gt=ht(Le,Qt,Le.byteOffset,Ue,Qe);break;case"DOMQuad":try{Gt=new DOMQuad(xt(Le.p1,Qe),xt(Le.p2,Qe),xt(Le.p3,Qe),xt(Le.p4,Qe))}catch(Ot){Gt=He(Le,Qt)}break;case"File":if(Be)try{Gt=Be(Le),S(Gt)!==Qt&&(Gt=void 0)}catch(Ot){}if(!Gt)try{Gt=new File([Le],Le.name,Le)}catch(Ot){}Gt||Re(Qt);break;case"FileList":if(Tt=ze(),Tt){for(qt=0,Ue=D(Le);qt<Ue;qt++)Tt.items.add(xt(Le[qt],Qe));Gt=Tt.files}else Gt=He(Le,Qt);break;case"ImageData":try{Gt=new ImageData(xt(Le.data,Qe),Le.width,Le.height,{colorSpace:Le.colorSpace})}catch(Ot){Gt=He(Le,Qt)}break;default:if(Be)Gt=Be(Le);else switch(Qt){case"BigInt":Gt=ue(Le.valueOf());break;case"Boolean":Gt=ue(Lt(Le));break;case"Number":Gt=ue(bt(Le));break;case"String":Gt=ue(kt(Le));break;case"Date":Gt=new J(jt(Le));break;case"Blob":try{Gt=Le.slice(0,Le.size,Le.type)}catch(Ot){Re(Qt)}break;case"DOMPoint":case"DOMPointReadOnly":Rt=l[Qt];try{Gt=Rt.fromPoint?Rt.fromPoint(Le):new Rt(Le.x,Le.y,Le.z,Le.w)}catch(Ot){Re(Qt)}break;case"DOMRect":case"DOMRectReadOnly":Rt=l[Qt];try{Gt=Rt.fromRect?Rt.fromRect(Le):new Rt(Le.x,Le.y,Le.width,Le.height)}catch(Ot){Re(Qt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":Rt=l[Qt];try{Gt=Rt.fromMatrix?Rt.fromMatrix(Le):new Rt(Le)}catch(Ot){Re(Qt)}break;case"AudioData":case"VideoFrame":u(Le.clone)||Re(Qt);try{Gt=Le.clone()}catch(Ot){Ee(Qt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Re(Qt);default:Ee(Qt)}}switch(se(Qe,Le,Gt),Qt){case"Array":case"Object":for(fe=Ze(Le),qt=0,Ue=D(fe);qt<Ue;qt++)pe=fe[qt],R(Gt,pe,xt(Le[pe],Qe));break;case"Map":Le.forEach(function(Ot,Ce){se(Gt,xt(Ce,Qe),xt(Ot,Qe))});break;case"Set":Le.forEach(function(Ot){Ie(Gt,xt(Ot,Qe))});break;case"Error":A(Gt,"message",xt(Le.message,Qe)),k(Le,"cause")&&A(Gt,"cause",xt(Le.cause,Qe)),Vt==="AggregateError"?Gt.errors=xt(Le.errors,Qe):Vt==="SuppressedError"&&(Gt.error=xt(Le.error,Qe),Gt.suppressed=xt(Le.suppressed,Qe));case"DOMException":ae&&A(Gt,"stack",xt(Le.stack,Qe))}return Gt},nr=function(Le,Qe){if(!p(Le))throw new oe("Transfer option cannot be converted to a sequence");var Qt=[];_(Le,function(Ce){Ne(Qt,b(Ce))});for(var Rt=0,Vt=D(Qt),Gt=new _e,Tt,qt,Ue,fe,pe,Ot;Rt<Vt;){if(Tt=Qt[Rt++],qt=S(Tt),qt==="ArrayBuffer"?De(Gt,Tt):Z(Qe,Tt))throw new Q("Duplicate transferable",zt);if(qt==="ArrayBuffer"){Ie(Gt,Tt);continue}if(ie)fe=_t(Tt,{transfer:[Tt]});else switch(qt){case"ImageBitmap":Ue=l.OffscreenCanvas,a(Ue)||Re(qt,We);try{pe=new Ue(Tt.width,Tt.height),Ot=pe.getContext("bitmaprenderer"),Ot.transferFromImageBitmap(Tt),fe=pe.transferToImageBitmap()}catch(Ce){}break;case"AudioData":case"VideoFrame":(!u(Tt.clone)||!u(Tt.close))&&Re(qt,We);try{fe=Tt.clone(),Tt.close()}catch(Ce){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Re(qt,We)}if(fe===void 0)throw new Q("This object cannot be transferred: "+qt,zt);se(Qe,Tt,fe)}return Gt},er=function(Le){V(Le,function(Qe){ie?Be(Qe,{transfer:[Qe]}):u(Qe.transfer)?Qe.transfer():G?G(Qe):Re("ArrayBuffer",We)})};i({global:!0,enumerable:!0,sham:!ie,forced:dt},{structuredClone:function(Qe){var Qt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,Rt=Qt?Qt.transfer:void 0,Vt,Gt;Rt!==void 0&&(Vt=new le,Gt=nr(Rt,Vt));var Tt=xt(Qe,Vt);return Gt&&er(Gt),Tt}})},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),D=e(31946),M=e(69905),B=e(20132),j=e(35012),Y=e(85428),V=e(26006),G=e(25587),ae=e(57106),ie=e(59893),ue=e(63668),q=ie("iterator"),J="URLSearchParams",K=J+"Iterator",oe=y.set,ee=y.getterFor(J),Q=y.getterFor(K),le=Object.getOwnPropertyDescriptor,Z=function(Vt){if(!f)return i[Vt];var Gt=le(i,Vt);return Gt&&Gt.value},$=Z("fetch"),se=Z("Request"),_e=Z("Headers"),Ie=se&&se.prototype,De=_e&&_e.prototype,Ze=i.RegExp,Ne=i.TypeError,Lt=i.decodeURIComponent,bt=i.encodeURIComponent,kt=c("".charAt),jt=c([].join),Wt=c([].push),zt=c("".replace),We=c([].shift),St=c([].splice),Ft=c("".split),tt=c("".slice),_t=/\+/g,dt=Array(4),qe=function(Vt){return dt[Vt-1]||(dt[Vt-1]=Ze("((?:%[\\da-f]{2}){"+Vt+"})","gi"))},Be=function(Vt){try{return Lt(Vt)}catch(Gt){return Vt}},Ee=function(Vt){var Gt=zt(Vt,_t," "),Tt=4;try{return Lt(Gt)}catch(qt){for(;Tt;)Gt=zt(Gt,qe(Tt--),Be);return Gt}},Re=/[!'()~]|%20/g,He={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ze=function(Vt){return He[Vt]},Ye=function(Vt){return zt(bt(Vt),Re,ze)},ht=p(function(Gt,Tt){oe(this,{type:K,target:ee(Gt).entries,index:0,kind:Tt})},J,function(){var Gt=Q(this),Tt=Gt.target,qt=Gt.index++;if(!Tt||qt>=Tt.length)return Gt.target=void 0,G(void 0,!0);var Ue=Tt[qt];switch(Gt.kind){case"keys":return G(Ue.key,!1);case"values":return G(Ue.value,!1)}return G([Ue.key,Ue.value],!1)},!0),xt=function(Vt){this.entries=[],this.url=null,Vt!==void 0&&(D(Vt)?this.parseObject(Vt):this.parseQuery(typeof Vt=="string"?kt(Vt,0)==="?"?tt(Vt,1):Vt:M(Vt)))};xt.prototype={type:J,bindURL:function(Vt){this.url=Vt,this.update()},parseObject:function(Vt){var Gt=this.entries,Tt=V(Vt),qt,Ue,fe,pe,Ot,Ce,ct;if(Tt)for(qt=Y(Vt,Tt),Ue=qt.next;!(fe=l(Ue,qt)).done;){if(pe=Y(A(fe.value)),Ot=pe.next,(Ce=l(Ot,pe)).done||(ct=l(Ot,pe)).done||!l(Ot,pe).done)throw new Ne("Expected sequence with length 2");Wt(Gt,{key:M(Ce.value),value:M(ct.value)})}else for(var Kt in Vt)S(Vt,Kt)&&Wt(Gt,{key:Kt,value:M(Vt[Kt])})},parseQuery:function(Vt){if(Vt)for(var Gt=this.entries,Tt=Ft(Vt,"&"),qt=0,Ue,fe;qt<Tt.length;)Ue=Tt[qt++],Ue.length&&(fe=Ft(Ue,"="),Wt(Gt,{key:Ee(We(fe)),value:Ee(jt(fe,"="))}))},serialize:function(){for(var Vt=this.entries,Gt=[],Tt=0,qt;Tt<Vt.length;)qt=Vt[Tt++],Wt(Gt,Ye(qt.key)+"="+Ye(qt.value));return jt(Gt,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var nr=function(){_(this,er);var Gt=arguments.length>0?arguments[0]:void 0,Tt=oe(this,new xt(Gt));f||(this.size=Tt.entries.length)},er=nr.prototype;if(a(er,{append:function(Gt,Tt){var qt=ee(this);ae(arguments.length,2),Wt(qt.entries,{key:M(Gt),value:M(Tt)}),f||this.length++,qt.updateURL()},delete:function(Vt){for(var Gt=ee(this),Tt=ae(arguments.length,1),qt=Gt.entries,Ue=M(Vt),fe=Tt<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Ot=0;Ot<qt.length;){var Ce=qt[Ot];if(Ce.key===Ue&&(pe===void 0||Ce.value===pe)){if(St(qt,Ot,1),pe!==void 0)break}else Ot++}f||(this.size=qt.length),Gt.updateURL()},get:function(Gt){var Tt=ee(this).entries;ae(arguments.length,1);for(var qt=M(Gt),Ue=0;Ue<Tt.length;Ue++)if(Tt[Ue].key===qt)return Tt[Ue].value;return null},getAll:function(Gt){var Tt=ee(this).entries;ae(arguments.length,1);for(var qt=M(Gt),Ue=[],fe=0;fe<Tt.length;fe++)Tt[fe].key===qt&&Wt(Ue,Tt[fe].value);return Ue},has:function(Gt){for(var Tt=ee(this).entries,qt=ae(arguments.length,1),Ue=M(Gt),fe=qt<2?void 0:arguments[1],pe=fe===void 0?fe:M(fe),Ot=0;Ot<Tt.length;){var Ce=Tt[Ot++];if(Ce.key===Ue&&(pe===void 0||Ce.value===pe))return!0}return!1},set:function(Gt,Tt){var qt=ee(this);ae(arguments.length,1);for(var Ue=qt.entries,fe=!1,pe=M(Gt),Ot=M(Tt),Ce=0,ct;Ce<Ue.length;Ce++)ct=Ue[Ce],ct.key===pe&&(fe?St(Ue,Ce--,1):(fe=!0,ct.value=Ot));fe||Wt(Ue,{key:pe,value:Ot}),f||(this.size=Ue.length),qt.updateURL()},sort:function(){var Gt=ee(this);ue(Gt.entries,function(Tt,qt){return Tt.key>qt.key?1:-1}),Gt.updateURL()},forEach:function(Gt){for(var Tt=ee(this).entries,qt=k(Gt,arguments.length>1?arguments[1]:void 0),Ue=0,fe;Ue<Tt.length;)fe=Tt[Ue++],qt(fe.value,fe.key,this)},keys:function(){return new ht(this,"keys")},values:function(){return new ht(this,"values")},entries:function(){return new ht(this,"entries")}},{enumerable:!0}),h(er,q,er.entries,{name:"entries"}),h(er,"toString",function(){return ee(this).serialize()},{enumerable:!0}),f&&u(er,"size",{get:function(){return ee(this).entries.length},configurable:!0,enumerable:!0}),x(nr,J),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:nr}),!o&&b(_e)){var Le=c(De.has),Qe=c(De.set),Qt=function(Vt){if(D(Vt)){var Gt=Vt.body,Tt;if(R(Gt)===J)return Tt=Vt.headers?new _e(Vt.headers):new _e,Le(Tt,"content-type")||Qe(Tt,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),B(Vt,{body:j(0,M(Gt)),headers:j(0,Tt)})}return Vt};if(b($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Gt){return $(Gt,arguments.length>1?Qt(arguments[1]):{})}}),b(se)){var Rt=function(Gt){return _(this,Ie),new se(Gt,arguments.length>1?Qt(arguments[1]):{})};Ie.constructor=Rt,Rt.prototype=Ie,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Rt})}}d.exports={URLSearchParams:nr,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(Y,V){x(S,{key:V,value:Y})}),c(_,1);for(var k=l(y),R=l(b),A=0,D=0,M=!1,B=S.length,j;A<B;)j=S[A++],M||j.key===k?(M=!0,u(this,j.key)):D++;for(;D<B;)j=S[D++],j.key===k&&j.value===R||h(this,j.key,j.value)},{enumerable:!0,unsafe:!0})},5340:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,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),D=e(91340),M=e(94844),B=M.set,j=M.getterFor("URL"),Y=D.URLSearchParams,V=D.getState,G=c.URL,ae=c.TypeError,ie=c.parseInt,ue=Math.floor,q=Math.pow,J=o("".charAt),K=o(/./.exec),oe=o([].join),ee=o(1 .toString),Q=o([].pop),le=o([].push),Z=o("".replace),$=o([].shift),se=o("".split),_e=o("".slice),Ie=o("".toLowerCase),De=o([].unshift),Ze="Invalid authority",Ne="Invalid scheme",Lt="Invalid host",bt="Invalid port",kt=/[a-z]/i,jt=/[\d+-.a-z]/i,Wt=/\d/,zt=/^0x/i,We=/^[0-7]+$/,St=/^\d+$/,Ft=/^[\da-f]+$/i,tt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,_t=/[\0\t\n\r #/:<>?@[\\\]^|]/,dt=/^[\u0000-\u0020]+/,qe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Be=/[\t\n\r]/g,Ee,Re=function(Xt){var mt=se(Xt,"."),ut,ft,$t,yr,gr,it,Tr;if(mt.length&&mt[mt.length-1]===""&&mt.length--,ut=mt.length,ut>4)return Xt;for(ft=[],$t=0;$t<ut;$t++){if(yr=mt[$t],yr==="")return Xt;if(gr=10,yr.length>1&&J(yr,0)==="0"&&(gr=K(zt,yr)?16:8,yr=_e(yr,gr===8?1:2)),yr==="")it=0;else{if(!K(gr===10?St:gr===8?We:Ft,yr))return Xt;it=ie(yr,gr)}le(ft,it)}for($t=0;$t<ut;$t++)if(it=ft[$t],$t===ut-1){if(it>=q(256,5-ut))return null}else if(it>255)return null;for(Tr=Q(ft),$t=0;$t<ft.length;$t++)Tr+=ft[$t]*q(256,3-$t);return Tr},He=function(Xt){var mt=[0,0,0,0,0,0,0,0],ut=0,ft=null,$t=0,yr,gr,it,Tr,fn,Ln,Vr,Zn=function(){return J(Xt,$t)};if(Zn()===":"){if(J(Xt,1)!==":")return;$t+=2,ut++,ft=ut}for(;Zn();){if(ut===8)return;if(Zn()===":"){if(ft!==null)return;$t++,ut++,ft=ut;continue}for(yr=gr=0;gr<4&&K(Ft,Zn());)yr=yr*16+ie(Zn(),16),$t++,gr++;if(Zn()==="."){if(gr===0||($t-=gr,ut>6))return;for(it=0;Zn();){if(Tr=null,it>0)if(Zn()==="."&&it<4)$t++;else return;if(!K(Wt,Zn()))return;for(;K(Wt,Zn());){if(fn=ie(Zn(),10),Tr===null)Tr=fn;else{if(Tr===0)return;Tr=Tr*10+fn}if(Tr>255)return;$t++}mt[ut]=mt[ut]*256+Tr,it++,(it===2||it===4)&&ut++}if(it!==4)return;break}else if(Zn()===":"){if($t++,!Zn())return}else if(Zn())return;mt[ut++]=yr}if(ft!==null)for(Ln=ut-ft,ut=7;ut!==0&&Ln>0;)Vr=mt[ut],mt[ut--]=mt[ft+Ln-1],mt[ft+--Ln]=Vr;else if(ut!==8)return;return mt},ze=function(Xt){for(var mt=null,ut=1,ft=null,$t=0,yr=0;yr<8;yr++)Xt[yr]!==0?($t>ut&&(mt=ft,ut=$t),ft=null,$t=0):(ft===null&&(ft=yr),++$t);return $t>ut&&(mt=ft,ut=$t),mt},Ye=function(Xt){var mt,ut,ft,$t;if(typeof Xt=="number"){for(mt=[],ut=0;ut<4;ut++)De(mt,Xt%256),Xt=ue(Xt/256);return oe(mt,".")}else if(typeof Xt=="object"){for(mt="",ft=ze(Xt),ut=0;ut<8;ut++)$t&&Xt[ut]===0||($t&&($t=!1),ft===ut?(mt+=ut?":":"::",$t=!0):(mt+=ee(Xt[ut],16),ut<7&&(mt+=":")));return"["+mt+"]"}return Xt},ht={},xt=p({},ht,{" ":1,'"':1,"<":1,">":1,"`":1}),nr=p({},xt,{"#":1,"?":1,"{":1,"}":1}),er=p({},nr,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Le=function(Xt,mt){var ut=b(Xt,0);return ut>32&&ut<127&&!x(mt,Xt)?Xt:encodeURIComponent(Xt)},Qe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Qt=function(Xt,mt){var ut;return Xt.length===2&&K(kt,J(Xt,0))&&((ut=J(Xt,1))===":"||!mt&&ut==="|")},Rt=function(Xt){var mt;return Xt.length>1&&Qt(_e(Xt,0,2))&&(Xt.length===2||(mt=J(Xt,2))==="/"||mt==="\\"||mt==="?"||mt==="#")},Vt=function(Xt){return Xt==="."||Ie(Xt)==="%2e"},Gt=function(Xt){return Xt=Ie(Xt),Xt===".."||Xt==="%2e."||Xt===".%2e"||Xt==="%2e%2e"},Tt={},qt={},Ue={},fe={},pe={},Ot={},Ce={},ct={},Kt={},At={},Te={},Et={},ye={},et={},yt={},Nt={},Fe={},Ir={},Ct={},Gr={},Qr={},Mr=function(Xt,mt,ut){var ft=k(Xt),$t,yr,gr;if(mt){if(yr=this.parse(ft),yr)throw new ae(yr);this.searchParams=null}else{if(ut!==void 0&&($t=new Mr(ut,!0)),yr=this.parse(ft,null,$t),yr)throw new ae(yr);gr=V(new Y),gr.bindURL(this),this.searchParams=gr}};Mr.prototype={type:"URL",parse:function(Xt,mt,ut){var ft=this,$t=mt||Tt,yr=0,gr="",it=!1,Tr=!1,fn=!1,Ln,Vr,Zn,Hn;for(Xt=k(Xt),mt||(ft.scheme="",ft.username="",ft.password="",ft.host=null,ft.port=null,ft.path=[],ft.query=null,ft.fragment=null,ft.cannotBeABaseURL=!1,Xt=Z(Xt,dt,""),Xt=Z(Xt,qe,"$1")),Xt=Z(Xt,Be,""),Ln=y(Xt);yr<=Ln.length;){switch(Vr=Ln[yr],$t){case Tt:if(Vr&&K(kt,Vr))gr+=Ie(Vr),$t=qt;else{if(mt)return Ne;$t=Ue;continue}break;case qt:if(Vr&&(K(jt,Vr)||Vr==="+"||Vr==="-"||Vr==="."))gr+=Ie(Vr);else if(Vr===":"){if(mt&&(ft.isSpecial()!==x(Qe,gr)||gr==="file"&&(ft.includesCredentials()||ft.port!==null)||ft.scheme==="file"&&!ft.host))return;if(ft.scheme=gr,mt){ft.isSpecial()&&Qe[ft.scheme]===ft.port&&(ft.port=null);return}gr="",ft.scheme==="file"?$t=et:ft.isSpecial()&&ut&&ut.scheme===ft.scheme?$t=fe:ft.isSpecial()?$t=ct:Ln[yr+1]==="/"?($t=pe,yr++):(ft.cannotBeABaseURL=!0,le(ft.path,""),$t=Ct)}else{if(mt)return Ne;gr="",$t=Ue,yr=0;continue}break;case Ue:if(!ut||ut.cannotBeABaseURL&&Vr!=="#")return Ne;if(ut.cannotBeABaseURL&&Vr==="#"){ft.scheme=ut.scheme,ft.path=_(ut.path),ft.query=ut.query,ft.fragment="",ft.cannotBeABaseURL=!0,$t=Qr;break}$t=ut.scheme==="file"?et:Ot;continue;case fe:if(Vr==="/"&&Ln[yr+1]==="/")$t=Kt,yr++;else{$t=Ot;continue}break;case pe:if(Vr==="/"){$t=At;break}else{$t=Ir;continue}case Ot:if(ft.scheme=ut.scheme,Vr===Ee)ft.username=ut.username,ft.password=ut.password,ft.host=ut.host,ft.port=ut.port,ft.path=_(ut.path),ft.query=ut.query;else if(Vr==="/"||Vr==="\\"&&ft.isSpecial())$t=Ce;else if(Vr==="?")ft.username=ut.username,ft.password=ut.password,ft.host=ut.host,ft.port=ut.port,ft.path=_(ut.path),ft.query="",$t=Gr;else if(Vr==="#")ft.username=ut.username,ft.password=ut.password,ft.host=ut.host,ft.port=ut.port,ft.path=_(ut.path),ft.query=ut.query,ft.fragment="",$t=Qr;else{ft.username=ut.username,ft.password=ut.password,ft.host=ut.host,ft.port=ut.port,ft.path=_(ut.path),ft.path.length--,$t=Ir;continue}break;case Ce:if(ft.isSpecial()&&(Vr==="/"||Vr==="\\"))$t=Kt;else if(Vr==="/")$t=At;else{ft.username=ut.username,ft.password=ut.password,ft.host=ut.host,ft.port=ut.port,$t=Ir;continue}break;case ct:if($t=Kt,Vr!=="/"||J(gr,yr+1)!=="/")continue;yr++;break;case Kt:if(Vr!=="/"&&Vr!=="\\"){$t=At;continue}break;case At:if(Vr==="@"){it&&(gr="%40"+gr),it=!0,Zn=y(gr);for(var Pn=0;Pn<Zn.length;Pn++){var yn=Zn[Pn];if(yn===":"&&!fn){fn=!0;continue}var Vn=Le(yn,er);fn?ft.password+=Vn:ft.username+=Vn}gr=""}else if(Vr===Ee||Vr==="/"||Vr==="?"||Vr==="#"||Vr==="\\"&&ft.isSpecial()){if(it&&gr==="")return Ze;yr-=y(gr).length+1,gr="",$t=Te}else gr+=Vr;break;case Te:case Et:if(mt&&ft.scheme==="file"){$t=Nt;continue}else if(Vr===":"&&!Tr){if(gr==="")return Lt;if(Hn=ft.parseHost(gr),Hn)return Hn;if(gr="",$t=ye,mt===Et)return}else if(Vr===Ee||Vr==="/"||Vr==="?"||Vr==="#"||Vr==="\\"&&ft.isSpecial()){if(ft.isSpecial()&&gr==="")return Lt;if(mt&&gr===""&&(ft.includesCredentials()||ft.port!==null))return;if(Hn=ft.parseHost(gr),Hn)return Hn;if(gr="",$t=Fe,mt)return;continue}else Vr==="["?Tr=!0:Vr==="]"&&(Tr=!1),gr+=Vr;break;case ye:if(K(Wt,Vr))gr+=Vr;else if(Vr===Ee||Vr==="/"||Vr==="?"||Vr==="#"||Vr==="\\"&&ft.isSpecial()||mt){if(gr!==""){var oi=ie(gr,10);if(oi>65535)return bt;ft.port=ft.isSpecial()&&oi===Qe[ft.scheme]?null:oi,gr=""}if(mt)return;$t=Fe;continue}else return bt;break;case et:if(ft.scheme="file",Vr==="/"||Vr==="\\")$t=yt;else if(ut&&ut.scheme==="file")switch(Vr){case Ee:ft.host=ut.host,ft.path=_(ut.path),ft.query=ut.query;break;case"?":ft.host=ut.host,ft.path=_(ut.path),ft.query="",$t=Gr;break;case"#":ft.host=ut.host,ft.path=_(ut.path),ft.query=ut.query,ft.fragment="",$t=Qr;break;default:Rt(oe(_(Ln,yr),""))||(ft.host=ut.host,ft.path=_(ut.path),ft.shortenPath()),$t=Ir;continue}else{$t=Ir;continue}break;case yt:if(Vr==="/"||Vr==="\\"){$t=Nt;break}ut&&ut.scheme==="file"&&!Rt(oe(_(Ln,yr),""))&&(Qt(ut.path[0],!0)?le(ft.path,ut.path[0]):ft.host=ut.host),$t=Ir;continue;case Nt:if(Vr===Ee||Vr==="/"||Vr==="\\"||Vr==="?"||Vr==="#"){if(!mt&&Qt(gr))$t=Ir;else if(gr===""){if(ft.host="",mt)return;$t=Fe}else{if(Hn=ft.parseHost(gr),Hn)return Hn;if(ft.host==="localhost"&&(ft.host=""),mt)return;gr="",$t=Fe}continue}else gr+=Vr;break;case Fe:if(ft.isSpecial()){if($t=Ir,Vr!=="/"&&Vr!=="\\")continue}else if(!mt&&Vr==="?")ft.query="",$t=Gr;else if(!mt&&Vr==="#")ft.fragment="",$t=Qr;else if(Vr!==Ee&&($t=Ir,Vr!=="/"))continue;break;case Ir:if(Vr===Ee||Vr==="/"||Vr==="\\"&&ft.isSpecial()||!mt&&(Vr==="?"||Vr==="#")){if(Gt(gr)?(ft.shortenPath(),Vr!=="/"&&!(Vr==="\\"&&ft.isSpecial())&&le(ft.path,"")):Vt(gr)?Vr!=="/"&&!(Vr==="\\"&&ft.isSpecial())&&le(ft.path,""):(ft.scheme==="file"&&!ft.path.length&&Qt(gr)&&(ft.host&&(ft.host=""),gr=J(gr,0)+":"),le(ft.path,gr)),gr="",ft.scheme==="file"&&(Vr===Ee||Vr==="?"||Vr==="#"))for(;ft.path.length>1&&ft.path[0]==="";)$(ft.path);Vr==="?"?(ft.query="",$t=Gr):Vr==="#"&&(ft.fragment="",$t=Qr)}else gr+=Le(Vr,nr);break;case Ct:Vr==="?"?(ft.query="",$t=Gr):Vr==="#"?(ft.fragment="",$t=Qr):Vr!==Ee&&(ft.path[0]+=Le(Vr,ht));break;case Gr:!mt&&Vr==="#"?(ft.fragment="",$t=Qr):Vr!==Ee&&(Vr==="'"&&ft.isSpecial()?ft.query+="%27":Vr==="#"?ft.query+="%23":ft.query+=Le(Vr,ht));break;case Qr:Vr!==Ee&&(ft.fragment+=Le(Vr,xt));break}yr++}},parseHost:function(Xt){var mt,ut,ft;if(J(Xt,0)==="["){if(J(Xt,Xt.length-1)!=="]"||(mt=He(_e(Xt,1,-1)),!mt))return Lt;this.host=mt}else if(this.isSpecial()){if(Xt=S(Xt),K(tt,Xt)||(mt=Re(Xt),mt===null))return Lt;this.host=mt}else{if(K(_t,Xt))return Lt;for(mt="",ut=y(Xt),ft=0;ft<ut.length;ft++)mt+=Le(ut[ft],ht);this.host=mt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(Qe,this.scheme)},shortenPath:function(){var Xt=this.path,mt=Xt.length;mt&&(this.scheme!=="file"||mt!==1||!Qt(Xt[0],!0))&&Xt.length--},serialize:function(){var Xt=this,mt=Xt.scheme,ut=Xt.username,ft=Xt.password,$t=Xt.host,yr=Xt.port,gr=Xt.path,it=Xt.query,Tr=Xt.fragment,fn=mt+":";return $t!==null?(fn+="//",Xt.includesCredentials()&&(fn+=ut+(ft?":"+ft:"")+"@"),fn+=Ye($t),yr!==null&&(fn+=":"+yr)):mt==="file"&&(fn+="//"),fn+=Xt.cannotBeABaseURL?gr[0]:gr.length?"/"+oe(gr,"/"):"",it!==null&&(fn+="?"+it),Tr!==null&&(fn+="#"+Tr),fn},setHref:function(Xt){var mt=this.parse(Xt);if(mt)throw new ae(mt);this.searchParams.update()},getOrigin:function(){var Xt=this.scheme,mt=this.port;if(Xt==="blob")try{return new Fr(Xt.path[0]).origin}catch(ut){return"null"}return Xt==="file"||!this.isSpecial()?"null":Xt+"://"+Ye(this.host)+(mt!==null?":"+mt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(Xt){this.parse(k(Xt)+":",Tt)},getUsername:function(){return this.username},setUsername:function(Xt){var mt=y(k(Xt));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var ut=0;ut<mt.length;ut++)this.username+=Le(mt[ut],er)}},getPassword:function(){return this.password},setPassword:function(Xt){var mt=y(k(Xt));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var ut=0;ut<mt.length;ut++)this.password+=Le(mt[ut],er)}},getHost:function(){var Xt=this.host,mt=this.port;return Xt===null?"":mt===null?Ye(Xt):Ye(Xt)+":"+mt},setHost:function(Xt){this.cannotBeABaseURL||this.parse(Xt,Te)},getHostname:function(){var Xt=this.host;return Xt===null?"":Ye(Xt)},setHostname:function(Xt){this.cannotBeABaseURL||this.parse(Xt,Et)},getPort:function(){var Xt=this.port;return Xt===null?"":k(Xt)},setPort:function(Xt){this.cannotHaveUsernamePasswordPort()||(Xt=k(Xt),Xt===""?this.port=null:this.parse(Xt,ye))},getPathname:function(){var Xt=this.path;return this.cannotBeABaseURL?Xt[0]:Xt.length?"/"+oe(Xt,"/"):""},setPathname:function(Xt){this.cannotBeABaseURL||(this.path=[],this.parse(Xt,Fe))},getSearch:function(){var Xt=this.query;return Xt?"?"+Xt:""},setSearch:function(Xt){Xt=k(Xt),Xt===""?this.query=null:(J(Xt,0)==="?"&&(Xt=_e(Xt,1)),this.query="",this.parse(Xt,Gr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var Xt=this.fragment;return Xt?"#"+Xt:""},setHash:function(Xt){if(Xt=k(Xt),Xt===""){this.fragment=null;return}J(Xt,0)==="#"&&(Xt=_e(Xt,1)),this.fragment="",this.parse(Xt,Qr)},update:function(){this.query=this.searchParams.serialize()||null}};var Fr=function(mt){var ut=a(this,mr),ft=A(arguments.length,1)>1?arguments[1]:void 0,$t=B(ut,new Mr(mt,!1,ft));i||(ut.href=$t.serialize(),ut.origin=$t.getOrigin(),ut.protocol=$t.getProtocol(),ut.username=$t.getUsername(),ut.password=$t.getPassword(),ut.host=$t.getHost(),ut.hostname=$t.getHostname(),ut.port=$t.getPort(),ut.pathname=$t.getPathname(),ut.search=$t.getSearch(),ut.searchParams=$t.getSearchParams(),ut.hash=$t.getHash())},mr=Fr.prototype,$r=function(Xt,mt){return{get:function(){return j(this)[Xt]()},set:mt&&function(ut){return j(this)[mt](ut)},configurable:!0,enumerable:!0}};if(i&&(u(mr,"href",$r("serialize","setHref")),u(mr,"origin",$r("getOrigin")),u(mr,"protocol",$r("getProtocol","setProtocol")),u(mr,"username",$r("getUsername","setUsername")),u(mr,"password",$r("getPassword","setPassword")),u(mr,"host",$r("getHost","setHost")),u(mr,"hostname",$r("getHostname","setHostname")),u(mr,"port",$r("getPort","setPort")),u(mr,"pathname",$r("getPathname","setPathname")),u(mr,"search",$r("getSearch","setSearch")),u(mr,"searchParams",$r("getSearchParams")),u(mr,"hash",$r("getHash","setHash"))),h(mr,"toJSON",function(){return j(this).serialize()},{enumerable:!0}),h(mr,"toString",function(){return j(this).serialize()},{enumerable:!0}),G){var nn=G.createObjectURL,cn=G.revokeObjectURL;nn&&h(Fr,"createObjectURL",f(nn,G)),cn&&h(Fr,"revokeObjectURL",f(cn,G))}R(Fr,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:Fr})},25204:function(d,v,e){"use strict";e(13588)},47803:function(d,v,e){"use strict";var r=e(94488),i=e(89945);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},73825:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},65873:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(89878);function i(l,c,f){return c=(0,r.Z)(c),c in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},38329:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(this,arguments)}},66160:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},63579:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(65873);function i(c,f){var 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)}}},87268: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}},43577:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},13028: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}},95764: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)})}}},99153: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")}},84851:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(95172);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}},93046:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(92359),i=e(61230),l=e(88243);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)}}},4635:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(95172);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}},14809: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)}},92359: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)}},19257:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(2386);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)}},61230: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})()}},90017: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)}},22740: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.`)}},88590:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(4635);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}},20439:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(4635);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}},62646:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(74126);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}},74126: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}},88243:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(93664),i=e(13028);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)}},70539: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,D,M){if(A)S?S(R,A,{value:D,enumerable:!M,configurable:!M,writable:!M}):R[A]=D;else{var B=function(Y,V){i(R,Y,function(G){return this._invoke(Y,V,G)})};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(V,G,ae,ie){var ue=G&&G.prototype instanceof A?G:A,q=Object.create(ue.prototype);return i(q,"_invoke",function(J,K,oe){var ee,Q,le,Z=0,$=oe||[],se=!1,_e={p:0,n:0,v:p,a:Ie,f:Ie.bind(p,4),d:function(Ze,Ne){return ee=Ze,Q=0,le=p,_e.n=Ne,R}};function Ie(De,Ze){for(Q=De,le=Ze,y=0;!se&&Z&&!Ne&&y<$.length;y++){var Ne,Lt=$[y],bt=_e.p,kt=Lt[2];De>3?(Ne=kt===Ze)&&(le=Lt[(Q=Lt[4])?5:(Q=3,3)],Lt[4]=Lt[5]=p):Lt[0]<=bt&&((Ne=De<2&&bt<Lt[1])?(Q=0,_e.v=Ze,_e.n=Lt[1]):bt<kt&&(Ne=De<3||Lt[0]>Ze||Ze>kt)&&(Lt[4]=De,Lt[5]=Ze,_e.n=kt,Q=0))}if(Ne||De>1)return R;throw se=!0,Ze}return function(De,Ze,Ne){if(Z>1)throw TypeError("Generator is already running");for(se&&Ze===1&&Ie(Ze,Ne),Q=Ze,le=Ne;(y=Q<2?p:le)||!se;){ee||(Q?Q<3?(Q>1&&(_e.n=-1),Ie(Q,le)):_e.n=le:_e.v=le);try{if(Z=2,ee){if(Q||(De="next"),y=ee[De]){if(!(y=y.call(ee,le)))throw TypeError("iterator result is not an object");if(!y.done)return y;le=y.value,Q<2&&(Q=0)}else Q===1&&(y=ee.return)&&y.call(ee),Q<2&&(le=TypeError("The iterator does not provide a '"+De+"' method"),Q=1);ee=p}else if((y=(se=_e.n<0)?le:J.call(K,_e))!==R)break}catch(Lt){ee=p,Q=1,le=Lt}finally{Z=1}}return{value:y,done:se}}}(V,ae,ie),!0),q}var R={};function A(){}function D(){}function M(){}y=Object.getPrototypeOf;var B=[][b]?y(y([][b]())):(i(y={},b,function(){return this}),y),j=M.prototype=A.prototype=Object.create(B);function Y(V){return Object.setPrototypeOf?Object.setPrototypeOf(V,M):(V.__proto__=M,i(V,S,"GeneratorFunction")),V.prototype=Object.create(j),V}return D.prototype=M,i(j,"constructor",M),i(M,"constructor",D),D.displayName="GeneratorFunction",i(M,S,"GeneratorFunction"),i(j),i(j,S,"Generator"),i(j,b,function(){return this}),i(j,"toString",function(){return"[object Generator]"}),(l=function(){return{w:k,m:Y}})()}function c(p,y){function _(S,k,R,A){try{var D=p[S](k),M=D.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){D.value=B,R(D)},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(D,M){_(S,R,D,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(93664);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,D;return function(M){A||(A={stop:function(){return D(M.a,2)},catch:function(){return M.v},abrupt:function(j,Y){return D(M.a,S[j],Y)},delegateYield:function(j,Y,V){return A.resultName=Y,D(M.d,a(j),V)},finish:function(j){return D(M.f,j)}},D=function(j,Y,V){M.p=A.prev,M.n=A.next;try{return j(Y,V)}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(D,M,B,j){return p.w(k(D),M,B,j&&j.reverse())},isGeneratorFunction:b,mark:p.m,awrap:function(D,M){return new r(D,M)},AsyncIterator:c,async:function(D,M,B,j,Y){return(b(M)?f:o)(k(D),M,B,j,Y)},keys:h,values:a}})()}},2386: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)}},50298:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(43577);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(58750),c=e(22740);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},21696:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(43577),i=e(90017),l=e(58750),c=e(22740);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},95190:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(87268);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(90017),c=e(58750);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()}},95172:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(93664);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+""}},93664: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)}},58750:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(87268);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}}},15360:function(d,v,e){"use strict";e.d(v,{ZP:function(){return ar}});const r=Number.isFinite||function(P){return typeof P=="number"&&isFinite(P)},i=Number.isSafeInteger||function(P){return typeof P=="number"&&Math.abs(P)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(P){return P.NETWORK_ERROR="networkError",P.MEDIA_ERROR="mediaError",P.KEY_SYSTEM_ERROR="keySystemError",P.MUX_ERROR="muxError",P.OTHER_ERROR="otherError",P}({}),f=function(P){return P.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",P.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",P.KEY_SYSTEM_NO_SESSION="keySystemNoSession",P.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",P.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",P.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",P.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",P.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",P.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",P.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",P.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",P.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",P.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",P.MANIFEST_LOAD_ERROR="manifestLoadError",P.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",P.MANIFEST_PARSING_ERROR="manifestParsingError",P.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",P.LEVEL_EMPTY_ERROR="levelEmptyError",P.LEVEL_LOAD_ERROR="levelLoadError",P.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",P.LEVEL_PARSING_ERROR="levelParsingError",P.LEVEL_SWITCH_ERROR="levelSwitchError",P.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",P.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",P.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",P.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",P.FRAG_LOAD_ERROR="fragLoadError",P.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",P.FRAG_DECRYPT_ERROR="fragDecryptError",P.FRAG_PARSING_ERROR="fragParsingError",P.FRAG_GAP="fragGap",P.REMUX_ALLOC_ERROR="remuxAllocError",P.KEY_LOAD_ERROR="keyLoadError",P.KEY_LOAD_TIMEOUT="keyLoadTimeOut",P.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",P.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",P.BUFFER_APPEND_ERROR="bufferAppendError",P.BUFFER_APPENDING_ERROR="bufferAppendingError",P.BUFFER_STALLED_ERROR="bufferStalledError",P.BUFFER_FULL_ERROR="bufferFullError",P.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",P.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",P.ASSET_LIST_LOAD_ERROR="assetListLoadError",P.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",P.ASSET_LIST_PARSING_ERROR="assetListParsingError",P.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",P.INTERNAL_EXCEPTION="internalException",P.INTERNAL_ABORTED="aborted",P.ATTACH_MEDIA_ERROR="attachMediaError",P.UNKNOWN="unknown",P}({}),o=function(P){return P.MEDIA_ATTACHING="hlsMediaAttaching",P.MEDIA_ATTACHED="hlsMediaAttached",P.MEDIA_DETACHING="hlsMediaDetaching",P.MEDIA_DETACHED="hlsMediaDetached",P.MEDIA_ENDED="hlsMediaEnded",P.STALL_RESOLVED="hlsStallResolved",P.BUFFER_RESET="hlsBufferReset",P.BUFFER_CODECS="hlsBufferCodecs",P.BUFFER_CREATED="hlsBufferCreated",P.BUFFER_APPENDING="hlsBufferAppending",P.BUFFER_APPENDED="hlsBufferAppended",P.BUFFER_EOS="hlsBufferEos",P.BUFFERED_TO_END="hlsBufferedToEnd",P.BUFFER_FLUSHING="hlsBufferFlushing",P.BUFFER_FLUSHED="hlsBufferFlushed",P.MANIFEST_LOADING="hlsManifestLoading",P.MANIFEST_LOADED="hlsManifestLoaded",P.MANIFEST_PARSED="hlsManifestParsed",P.LEVEL_SWITCHING="hlsLevelSwitching",P.LEVEL_SWITCHED="hlsLevelSwitched",P.LEVEL_LOADING="hlsLevelLoading",P.LEVEL_LOADED="hlsLevelLoaded",P.LEVEL_UPDATED="hlsLevelUpdated",P.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",P.LEVELS_UPDATED="hlsLevelsUpdated",P.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",P.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",P.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",P.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",P.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",P.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",P.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",P.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",P.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",P.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",P.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",P.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",P.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",P.CUES_PARSED="hlsCuesParsed",P.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",P.INIT_PTS_FOUND="hlsInitPtsFound",P.FRAG_LOADING="hlsFragLoading",P.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",P.FRAG_LOADED="hlsFragLoaded",P.FRAG_DECRYPTED="hlsFragDecrypted",P.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",P.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",P.FRAG_PARSING_METADATA="hlsFragParsingMetadata",P.FRAG_PARSED="hlsFragParsed",P.FRAG_BUFFERED="hlsFragBuffered",P.FRAG_CHANGED="hlsFragChanged",P.FPS_DROP="hlsFpsDrop",P.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",P.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",P.ERROR="hlsError",P.DESTROYING="hlsDestroying",P.KEY_LOADING="hlsKeyLoading",P.KEY_LOADED="hlsKeyLoaded",P.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",P.BACK_BUFFER_REACHED="hlsBackBufferReached",P.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",P.ASSET_LIST_LOADING="hlsAssetListLoading",P.ASSET_LIST_LOADED="hlsAssetListLoaded",P.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",P.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",P.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",P.INTERSTITIAL_STARTED="hlsInterstitialStarted",P.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",P.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",P.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",P.INTERSTITIAL_ENDED="hlsInterstitialEnded",P.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",P.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",P.EVENT_CUE_ENTER="hlsEventCueEnter",P}({});var h={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},u={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class a{constructor(t,n=0,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_:E}=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())),E.halfLife!==t&&(this.ttfb_=new a(t,E.getEstimate(),E.getTotalWeight()))}sample(t,n){t=Math.max(t,this.minDelayMs_);const s=8*n,m=t/1e3,E=s/m;this.fast_.sample(m,E),this.slow_.sample(m,E)}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(P,t,n){return(t=k(t))in P?Object.defineProperty(P,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):P[t]=n,P}function y(){return y=Object.assign?Object.assign.bind():function(P){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(P[s]=n[s])}return P},y.apply(null,arguments)}function _(P,t){var n=Object.keys(P);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(P);t&&(s=s.filter(function(m){return Object.getOwnPropertyDescriptor(P,m).enumerable})),n.push.apply(n,s)}return n}function b(P){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(s){p(P,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(s){Object.defineProperty(P,s,Object.getOwnPropertyDescriptor(n,s))})}return P}function S(P,t){if(typeof P!="object"||!P)return P;var n=P[Symbol.toPrimitive];if(n!==void 0){var s=n.call(P,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(P)}function k(P){var t=S(P,"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(){},D={trace:A,debug:A,log:A,warn:A,info:A,error:A};function M(){return y({},D)}function B(P,t){const n=self.console[P];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${P}] >`):A}function j(P,t,n){return t[P]?t[P].bind(t):B(P,n)}const Y=M();function V(P,t,n){const s=M();if(typeof console=="object"&&P===!0||typeof P=="object"){const m=["debug","log","info","warn","error"];m.forEach(E=>{s[E]=j(E,P,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.5`)}catch(E){return M()}m.forEach(E=>{Y[E]=j(E,P)})}else y(Y,s);return s}const G=Y;function ae(P=!0){return typeof self=="undefined"?void 0:(P||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ie(P){return typeof self!="undefined"&&P===self.ManagedMediaSource}function ue(P,t){const n=Object.keys(P),s=Object.keys(t),m=n.length,E=s.length;return!m||!E||m===E&&!n.some(T=>s.indexOf(T)===-1)}function q(P,t=!1){if(typeof TextDecoder!="undefined"){const N=new TextDecoder("utf-8").decode(P);if(t){const te=N.indexOf("\0");return te!==-1?N.substring(0,te):N}return N.replace(/\0/g,"")}const n=P.length;let s,m,E,T="",U=0;for(;U<n;){if(s=P[U++],s===0&&t)return T;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:T+=String.fromCharCode(s);break;case 12:case 13:m=P[U++],T+=String.fromCharCode((s&31)<<6|m&63);break;case 14:m=P[U++],E=P[U++],T+=String.fromCharCode((s&15)<<12|(m&63)<<6|(E&63)<<0);break}}return T}const J={hexDump:function(P){let t="";for(let n=0;n<P.length;n++){let s=P[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}};function K(P){return P&&P.__esModule&&Object.prototype.hasOwnProperty.call(P,"default")?P.default:P}var oe={exports:{}},ee;function Q(){return ee||(ee=1,function(P,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,m=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,T=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,U={buildAbsoluteURL:function(W,N,te){if(te=te||{},W=W.trim(),N=N.trim(),!N){if(!te.alwaysNormalize)return W;var ce=U.parseURL(W);if(!ce)throw new Error("Error trying to parse base URL.");return ce.path=U.normalizePath(ce.path),U.buildURLFromParts(ce)}var be=U.parseURL(N);if(!be)throw new Error("Error trying to parse relative URL.");if(be.scheme)return te.alwaysNormalize?(be.path=U.normalizePath(be.path),U.buildURLFromParts(be)):N;var Pe=U.parseURL(W);if(!Pe)throw new Error("Error trying to parse base URL.");if(!Pe.netLoc&&Pe.path&&Pe.path[0]!=="/"){var Se=m.exec(Pe.path);Pe.netLoc=Se[1],Pe.path=Se[2]}Pe.netLoc&&!Pe.path&&(Pe.path="/");var at={scheme:Pe.scheme,netLoc:be.netLoc,path:null,params:be.params,query:be.query,fragment:be.fragment};if(!be.netLoc&&(at.netLoc=Pe.netLoc,be.path[0]!=="/"))if(!be.path)at.path=Pe.path,be.params||(at.params=Pe.params,be.query||(at.query=Pe.query));else{var rt=Pe.path,Mt=rt.substring(0,rt.lastIndexOf("/")+1)+be.path;at.path=U.normalizePath(Mt)}return at.path===null&&(at.path=te.alwaysNormalize?U.normalizePath(be.path):be.path),U.buildURLFromParts(at)},parseURL:function(W){var N=s.exec(W);return N?{scheme:N[1]||"",netLoc:N[2]||"",path:N[3]||"",params:N[4]||"",query:N[5]||"",fragment:N[6]||""}:null},normalizePath:function(W){for(W=W.split("").reverse().join("").replace(E,"");W.length!==(W=W.replace(T,"")).length;);return W.split("").reverse().join("")},buildURLFromParts:function(W){return W.scheme+W.netLoc+W.path+W.params+W.query+W.fragment}};P.exports=U})()}(oe)),oe.exports}var le=Q();class Z{constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var $={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class se{constructor(t){this._byteRange=null,this._url=null,this._stats=null,this._streams=null,this.base=void 0,this.relurl=void 0,typeof t=="string"&&(t={url:t}),this.base=t,Ne(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={[$.AUDIO]:null,[$.VIDEO]:null,[$.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(t){this._streams=t}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new Z),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=le.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[$.AUDIO]=null,t[$.VIDEO]=null,t[$.AUDIOVIDEO]=null}}function _e(P){return P.sn!=="initSegment"}class Ie extends se{constructor(t,n){super(n),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=t}get byteLength(){if(this.hasStats){const t=this.stats.total;if(t)return t}if(this.byteRange){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){const{levelkeys:t}=this;if(!t&&!this._decryptdata)return null;if(!this._decryptdata&&this.levelkeys&&!this.levelkeys.NONE){const n=this.levelkeys.identity;if(n)this._decryptdata=n.getDecryptData(this.sn);else{const s=Object.keys(this.levelkeys);if(s.length===1)return this._decryptdata=this.levelkeys[s[0]].getDecryptData(this.sn)}}return this._decryptdata}get end(){return this.start+this.duration}get endProgramDateTime(){if(this.programDateTime===null)return null;const t=r(this.duration)?this.duration:0;return this.programDateTime+t*1e3}get encrypted(){var t;if((t=this._decryptdata)!=null&&t.encrypted)return!0;if(this.levelkeys){const n=Object.keys(this.levelkeys),s=n.length;if(s>1||s===1&&this.levelkeys[n[0]].encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(t){if(!r(t)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=t}get ref(){return _e(this)?(this._ref||(this._ref={base:this.base,start:this.start,duration:this.duration,sn:this.sn,programDateTime:this.programDateTime}),this._ref):null}addStart(t){this.setStart(this.start+t)}setStart(t){this.start=t,this._ref&&(this._ref.start=t)}setDuration(t){this.duration=t,this._ref&&(this._ref.duration=t)}setKeyFormat(t){if(this.levelkeys){const n=this.levelkeys[t];n&&!this._decryptdata&&(this._decryptdata=n.getDecryptData(this.sn))}}abortRequests(){var t,n;(t=this.loader)==null||t.abort(),(n=this.keyLoader)==null||n.abort()}setElementaryStreamInfo(t,n,s,m,E,T=!1){const{elementaryStreams:U}=this,W=U[t];if(!W){U[t]={startPTS:n,endPTS:s,startDTS:m,endDTS:E,partial:T};return}W.startPTS=Math.min(W.startPTS,n),W.endPTS=Math.max(W.endPTS,s),W.startDTS=Math.min(W.startDTS,m),W.endDTS=Math.max(W.endDTS,E)}}class De extends se{constructor(t,n,s,m,E){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 T=t.enumeratedString("BYTERANGE");T&&this.setByteRange(T,E),E&&(this.fragOffset=E.fragOffset+E.duration)}get start(){return this.fragment.start+this.fragOffset}get end(){return this.start+this.duration}get loaded(){const{elementaryStreams:t}=this;return!!(t.audio||t.video||t.audiovideo)}}function Ze(P,t){const n=Object.getPrototypeOf(P);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||Ze(n,t)}}function Ne(P,t){const n=Ze(P,t);n&&(n.enumerable=!0,Object.defineProperty(P,t,n))}const Lt=Math.pow(2,32)-1,bt=[].push,kt={video:1,audio:2,id3:3,text:4};function jt(P){return String.fromCharCode.apply(null,P)}function Wt(P,t){const n=P[t]<<8|P[t+1];return n<0?65536+n:n}function zt(P,t){const n=St(P,t);return n<0?4294967296+n:n}function We(P,t){let n=zt(P,t);return n*=Math.pow(2,32),n+=zt(P,t+4),n}function St(P,t){return P[t]<<24|P[t+1]<<16|P[t+2]<<8|P[t+3]}function Ft(P,t,n){P[t]=n>>24,P[t+1]=n>>16&255,P[t+2]=n>>8&255,P[t+3]=n&255}function tt(P){const t=P.byteLength;for(let n=0;n<t;){const s=zt(P,n);if(s>8&&P[n+4]===109&&P[n+5]===111&&P[n+6]===111&&P[n+7]===102)return!0;n=s>1?n+s:t}return!1}function _t(P,t){const n=[];if(!t.length)return n;const s=P.byteLength;for(let m=0;m<s;){const E=zt(P,m),T=jt(P.subarray(m+4,m+8)),U=E>1?m+E:s;if(T===t[0])if(t.length===1)n.push(P.subarray(m+8,U));else{const W=_t(P.subarray(m+8,U),t.slice(1));W.length&&bt.apply(n,W)}m=U}return n}function dt(P){const t=[],n=P[0];let s=8;const m=zt(P,s);s+=4;let E=0,T=0;n===0?(E=zt(P,s),T=zt(P,s+4),s+=8):(E=We(P,s),T=We(P,s+8),s+=16),s+=2;let U=P.length+T;const W=Wt(P,s);s+=2;for(let N=0;N<W;N++){let te=s;const ce=zt(P,te);te+=4;const be=ce&2147483647;if((ce&2147483648)>>>31===1)return G.warn("SIDX has hierarchical references (not supported)"),null;const Se=zt(P,te);te+=4,t.push({referenceSize:be,subsegmentDuration:Se,info:{duration:Se/m,start:U,end:U+be-1}}),U+=be,te+=4,s=te}return{earliestPresentationTime:E,timescale:m,version:n,referencesCount:W,references:t}}function qe(P){const t=[],n=_t(P,["moov","trak"]);for(let m=0;m<n.length;m++){const E=n[m],T=_t(E,["tkhd"])[0];if(T){let U=T[0];const W=zt(T,U===0?12:20),N=_t(E,["mdia","mdhd"])[0];if(N){U=N[0];const te=zt(N,U===0?12:20),ce=_t(E,["mdia","hdlr"])[0];if(ce){const be=jt(ce.subarray(8,12)),Pe={soun:$.AUDIO,vide:$.VIDEO}[be],Se=_t(E,["mdia","minf","stbl","stsd"])[0],at=Be(Se);Pe?(t[W]={timescale:te,type:Pe,stsd:at},t[Pe]=b({timescale:te,id:W},at)):t[W]={timescale:te,type:be,stsd:at}}}}}return _t(P,["moov","mvex","trex"]).forEach(m=>{const E=zt(m,4),T=t[E];T&&(T.default={duration:zt(m,12),flags:zt(m,20)})}),t}function Be(P){const t=P.subarray(8),n=t.subarray(86),s=jt(t.subarray(4,8));let m=s,E;const T=s==="enca"||s==="encv";if(T){const N=_t(t,[s])[0].subarray(s==="enca"?28:78);_t(N,["sinf"]).forEach(ce=>{const be=_t(ce,["schm"])[0];if(be){const Pe=jt(be.subarray(4,8));if(Pe==="cbcs"||Pe==="cenc"){const Se=_t(ce,["frma"])[0];Se&&(m=jt(Se))}}})}const U=m;switch(m){case"avc1":case"avc2":case"avc3":case"avc4":{const W=_t(n,["avcC"])[0];W&&W.length>3&&(m+="."+ze(W[1])+ze(W[2])+ze(W[3]),E=Ee(U==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const W=_t(t,[s])[0],N=_t(W.subarray(28),["esds"])[0];if(N&&N.length>7){let te=4;if(N[te++]!==3)break;te=He(N,te),te+=2;const ce=N[te++];if(ce&128&&(te+=2),ce&64&&(te+=N[te++]),N[te++]!==4)break;te=He(N,te);const be=N[te++];if(be===64)m+="."+ze(be);else break;if(te+=12,N[te++]!==5)break;te=He(N,te);const Pe=N[te++];let Se=(Pe&248)>>3;Se===31&&(Se+=1+((Pe&7)<<3)+((N[te]&224)>>5)),m+="."+Se}break}case"hvc1":case"hev1":{const W=_t(n,["hvcC"])[0];if(W&&W.length>12){const N=W[1],te=["","A","B","C"][N>>6],ce=N&31,be=zt(W,2),Pe=(N&32)>>5?"H":"L",Se=W[12],at=W.subarray(6,12);m+="."+te+ce,m+="."+Re(be).toString(16).toUpperCase(),m+="."+Pe+Se;let rt="";for(let Mt=at.length;Mt--;){const fr=at[Mt];(fr||rt)&&(rt="."+fr.toString(16).toUpperCase()+rt)}m+=rt}E=Ee(U=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{m=Ee(m,n)||m;break}case"vp09":{const W=_t(n,["vpcC"])[0];if(W&&W.length>6){const N=W[4],te=W[5],ce=W[6]>>4&15;m+="."+Ye(N)+"."+Ye(te)+"."+Ye(ce)}break}case"av01":{const W=_t(n,["av1C"])[0];if(W&&W.length>2){const N=W[1]>>>5,te=W[1]&31,ce=W[2]>>>7?"H":"M",be=(W[2]&64)>>6,Pe=(W[2]&32)>>5,Se=N===2&&be?Pe?12:10:be?10:8,at=(W[2]&16)>>4,rt=(W[2]&8)>>3,Mt=(W[2]&4)>>2,fr=W[2]&3;m+="."+N+"."+Ye(te)+ce+"."+Ye(Se)+"."+at+"."+rt+Mt+fr+"."+Ye(1)+"."+Ye(1)+"."+Ye(1)+"."+0,E=Ee("dav1",n)}break}}return{codec:m,encrypted:T,supplemental:E}}function Ee(P,t){const n=_t(t,["dvvC"]),s=n.length?n[0]:_t(t,["dvcC"])[0];if(s){const m=s[2]>>1&127,E=s[2]<<5&32|s[3]>>3&31;return P+"."+Ye(m)+"."+Ye(E)}}function Re(P){let t=0;for(let n=0;n<32;n++)t|=(P>>n&1)<<31-n;return t>>>0}function He(P,t){const n=t+5;for(;P[t++]&128&&t<n;);return t}function ze(P){return("0"+P.toString(16).toUpperCase()).slice(-2)}function Ye(P){return(P<10?"0":"")+P}function ht(P,t){if(!P||!t)return P;const n=t.keyId;return n&&t.isCommonEncryption&&_t(P,["moov","trak"]).forEach(m=>{const T=_t(m,["mdia","minf","stbl","stsd"])[0].subarray(8);let U=_t(T,["enca"]);const W=U.length>0;W||(U=_t(T,["encv"])),U.forEach(N=>{const te=W?N.subarray(28):N.subarray(78);_t(te,["sinf"]).forEach(be=>{const Pe=xt(be);if(Pe){const Se=Pe.subarray(8,24);Se.some(at=>at!==0)||(G.log(`[eme] Patching keyId in 'enc${W?"a":"v"}>sinf>>tenc' box: ${J.hexDump(Se)} -> ${J.hexDump(n)}`),Pe.set(n,8))}})})}),P}function xt(P){const t=_t(P,["schm"])[0];if(t){const n=jt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return _t(P,["schi","tenc"])[0]}return null}function nr(P,t,n){const s={},m=_t(P,["moof","traf"]);for(let E=0;E<m.length;E++){const T=m[E],U=_t(T,["tfhd"])[0],W=zt(U,4),N=t[W];if(!N)continue;const te=s[W]||(s[W]={start:NaN,duration:0,sampleCount:0,timescale:N.timescale,type:N.type}),ce=_t(T,["tfdt"])[0];if(ce){const or=ce[0];let Or=zt(ce,4);or===1&&(Or===Lt?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):(Or*=Lt+1,Or+=zt(ce,8))),r(Or)&&(!r(te.start)||Or<te.start)&&(te.start=Or)}const be=N.default,Pe=zt(U,0)|(be==null?void 0:be.flags);let Se=(be==null?void 0:be.duration)||0;Pe&8&&(Pe&2?Se=zt(U,12):Se=zt(U,8));const at=_t(T,["trun"]);let rt=te.start||0,Mt=0,fr=Se;for(let or=0;or<at.length;or++){const Or=at[or],Ur=zt(Or,4),un=te.sampleCount;te.sampleCount+=Ur;const Hr=Or[3]&1,en=Or[3]&4,on=Or[2]&1,Kr=Or[2]&2,jn=Or[2]&4,di=Or[2]&8;let sa=8,Ni=Ur;for(Hr&&(sa+=4),en&&Ur&&(!(Or[sa+1]&1)&&te.keyFrameIndex===void 0&&(te.keyFrameIndex=un),sa+=4,on?(fr=zt(Or,sa),sa+=4):fr=Se,Kr&&(sa+=4),di&&(sa+=4),rt+=fr,Mt+=fr,Ni--);Ni--;)on?(fr=zt(Or,sa),sa+=4):fr=Se,Kr&&(sa+=4),jn&&(Or[sa+1]&1||te.keyFrameIndex===void 0&&(te.keyFrameIndex=te.sampleCount-(Ni+1),te.keyFrameStart=rt),sa+=4),di&&(sa+=4),rt+=fr,Mt+=fr;!Mt&&Se&&(Mt+=Se*Ur)}te.duration+=Mt}if(!Object.keys(s).some(E=>s[E].duration)){let E=1/0,T=0;const U=_t(P,["sidx"]);for(let W=0;W<U.length;W++){const N=dt(U[W]);if(N!=null&&N.references){E=Math.min(E,N.earliestPresentationTime/N.timescale);const te=N.references.reduce((ce,be)=>ce+be.info.duration||0,0);T=Math.max(T,te+N.earliestPresentationTime/N.timescale)}}T&&r(T)&&Object.keys(s).forEach(W=>{s[W].duration||(s[W].duration=T*s[W].timescale-s[W].start)})}return s}function er(P,t,n){_t(t,["moof","traf"]).forEach(s=>{_t(s,["tfhd"]).forEach(m=>{const E=zt(m,4),T=P[E];if(!T)return;const U=T.timescale||9e4;_t(s,["tfdt"]).forEach(W=>{const N=W[0],te=n*U;if(te){let ce=zt(W,4);if(N===0)ce-=te,ce=Math.max(ce,0),Ft(W,4,ce);else{ce*=Math.pow(2,32),ce+=zt(W,8),ce-=te,ce=Math.max(ce,0);const be=Math.floor(ce/(Lt+1)),Pe=Math.floor(ce%(Lt+1));Ft(W,4,be),Ft(W,8,Pe)}}})})})}function Le(P){const t={valid:null,remainder:null},n=_t(P,["moof"]);if(n.length<2)return t.remainder=P,t;const s=n[n.length-1];return t.valid=P.slice(0,s.byteOffset-8),t.remainder=P.slice(s.byteOffset-8),t}function Qe(P,t){const n=new Uint8Array(P.length+t.length);return n.set(P),n.set(t,P.length),n}function Qt(P,t){const n=[],s=t.samples,m=t.timescale,E=t.id;let T=!1;return _t(s,["moof"]).map(W=>{const N=W.byteOffset-8;_t(W,["traf"]).map(ce=>{const be=_t(ce,["tfdt"]).map(Pe=>{const Se=Pe[0];let at=zt(Pe,4);return Se===1&&(at*=Math.pow(2,32),at+=zt(Pe,8)),at/m})[0];return be!==void 0&&(P=be),_t(ce,["tfhd"]).map(Pe=>{const Se=zt(Pe,4),at=zt(Pe,0)&16777215,rt=(at&1)!==0,Mt=(at&2)!==0,fr=(at&8)!==0;let or=0;const Or=(at&16)!==0;let Ur=0;const un=(at&32)!==0;let Hr=8;Se===E&&(rt&&(Hr+=8),Mt&&(Hr+=4),fr&&(or=zt(Pe,Hr),Hr+=4),Or&&(Ur=zt(Pe,Hr),Hr+=4),un&&(Hr+=4),t.type==="video"&&(T=Rt(t.codec)),_t(ce,["trun"]).map(en=>{const on=en[0],Kr=zt(en,0)&16777215,jn=(Kr&1)!==0;let di=0;const sa=(Kr&4)!==0,Ni=(Kr&256)!==0;let $i=0;const li=(Kr&512)!==0;let Gi=0;const qi=(Kr&1024)!==0,Qn=(Kr&2048)!==0;let ti=0;const Aa=zt(en,4);let Ca=8;jn&&(di=zt(en,Ca),Ca+=4),sa&&(Ca+=4);let as=di+N;for(let Cs=0;Cs<Aa;Cs++){if(Ni?($i=zt(en,Ca),Ca+=4):$i=or,li?(Gi=zt(en,Ca),Ca+=4):Gi=Ur,qi&&(Ca+=4),Qn&&(on===0?ti=zt(en,Ca):ti=St(en,Ca),Ca+=4),t.type===$.VIDEO){let zs=0;for(;zs<Gi;){const fo=zt(s,as);if(as+=4,Vt(T,s[as])){const Ku=s.subarray(as,as+fo);Gt(Ku,T?2:1,P+ti/m,n)}as+=fo,zs+=fo+4}}P+=$i/m}}))})})}),n}function Rt(P){if(!P)return!1;const t=P.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function Vt(P,t){if(P){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Gt(P,t,n,s){const m=Tt(P);let E=0;E+=t;let T=0,U=0,W=0;for(;E<m.length;){T=0;do{if(E>=m.length)break;W=m[E++],T+=W}while(W===255);U=0;do{if(E>=m.length)break;W=m[E++],U+=W}while(W===255);const N=m.length-E;let te=E;if(U<N)E+=U;else if(U>N){G.error(`Malformed SEI payload. ${U} is too small, only ${N} bytes left to parse.`);break}if(T===4){if(m[te++]===181){const be=Wt(m,te);if(te+=2,be===49){const Pe=zt(m,te);if(te+=4,Pe===1195456820){const Se=m[te++];if(Se===3){const at=m[te++],rt=31&at,Mt=64&at,fr=Mt?2+rt*3:0,or=new Uint8Array(fr);if(Mt){or[0]=at;for(let Or=1;Or<fr;Or++)or[Or]=m[te++]}s.push({type:Se,payloadType:T,pts:n,bytes:or})}}}}}else if(T===5&&U>16){const ce=[];for(let Se=0;Se<16;Se++){const at=m[te++].toString(16);ce.push(at.length==1?"0"+at:at),(Se===3||Se===5||Se===7||Se===9)&&ce.push("-")}const be=U-16,Pe=new Uint8Array(be);for(let Se=0;Se<be;Se++)Pe[Se]=m[te++];s.push({payloadType:T,pts:n,uuid:ce.join(""),userData:q(Pe),userDataBytes:Pe})}}}function Tt(P){const t=P.byteLength,n=[];let s=1;for(;s<t-2;)P[s]===0&&P[s+1]===0&&P[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return P;const m=t-n.length,E=new Uint8Array(m);let T=0;for(s=0;s<m;T++,s++)T===n[0]&&(T++,n.shift()),E[s]=P[T];return E}function qt(P){const t=P[0];let n="",s="",m=0,E=0,T=0,U=0,W=0,N=0;if(t===0){for(;jt(P.subarray(N,N+1))!=="\0";)n+=jt(P.subarray(N,N+1)),N+=1;for(n+=jt(P.subarray(N,N+1)),N+=1;jt(P.subarray(N,N+1))!=="\0";)s+=jt(P.subarray(N,N+1)),N+=1;s+=jt(P.subarray(N,N+1)),N+=1,m=zt(P,12),E=zt(P,16),U=zt(P,20),W=zt(P,24),N=28}else if(t===1){N+=4,m=zt(P,N),N+=4;const ce=zt(P,N);N+=4;const be=zt(P,N);for(N+=4,T=4294967296*ce+be,i(T)||(T=Number.MAX_SAFE_INTEGER,G.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),U=zt(P,N),N+=4,W=zt(P,N),N+=4;jt(P.subarray(N,N+1))!=="\0";)n+=jt(P.subarray(N,N+1)),N+=1;for(n+=jt(P.subarray(N,N+1)),N+=1;jt(P.subarray(N,N+1))!=="\0";)s+=jt(P.subarray(N,N+1)),N+=1;s+=jt(P.subarray(N,N+1)),N+=1}const te=P.subarray(N,P.byteLength);return{schemeIdUri:n,value:s,timeScale:m,presentationTime:T,presentationTimeDelta:E,eventDuration:U,id:W,payload:te}}function Ue(P,...t){const n=t.length;let s=8,m=n;for(;m--;)s+=t[m].byteLength;const E=new Uint8Array(s);for(E[0]=s>>24&255,E[1]=s>>16&255,E[2]=s>>8&255,E[3]=s&255,E.set(P,4),m=0,s=8;m<n;m++)E.set(t[m],s),s+=t[m].byteLength;return E}function fe(P,t,n){if(P.byteLength!==16)throw new RangeError("Invalid system id");let s,m;s=0,m=new Uint8Array;let E;s>0?(E=new Uint8Array(4),t.length>0&&new DataView(E.buffer).setUint32(0,t.length,!1)):E=new Uint8Array;const T=new Uint8Array(4);return n&&n.byteLength>0&&new DataView(T.buffer).setUint32(0,n.byteLength,!1),Ue([112,115,115,104],new Uint8Array([s,0,0,0]),P,E,m,T,n||new Uint8Array)}function pe(P){const t=[];if(P instanceof ArrayBuffer){const n=P.byteLength;let s=0;for(;s+32<n;){const m=new DataView(P,s),E=Ot(m);t.push(E),s+=E.size}}return t}function Ot(P){const t=P.getUint32(0),n=P.byteOffset,s=P.byteLength;if(s<t)return{offset:n,size:s};if(P.getUint32(4)!==1886614376)return{offset:n,size:t};const E=P.getUint32(8)>>>24;if(E!==0&&E!==1)return{offset:n,size:t};const T=P.buffer,U=J.hexDump(new Uint8Array(T,n+12,16)),W=P.getUint32(28);let N=null,te=null;if(E===0){if(t-32<W||W<22)return{offset:n,size:t};te=new Uint8Array(T,n+32,W)}else if(E===1){if(!W||s<n+32+W*16+16)return{offset:n,size:t};N=[];for(let ce=0;ce<W;ce++)N.push(new Uint8Array(T,n+32+ce*16,16))}return{version:E,systemId:U,kids:N,data:te,offset:n,size:t}}const Ce=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),ct={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 Kt(P,t){const n=ct[t];return!!n&&!!n[P.slice(0,4)]}function At(P,t,n=!0){return!P.split(",").some(s=>!Te(s,t,n))}function Te(P,t,n=!0){var s;const m=ae(n);return(s=m==null?void 0:m.isTypeSupported(Et(P,t)))!=null?s:!1}function Et(P,t){return`${t}/mp4;codecs=${P}`}function ye(P){if(P){const t=P.substring(0,4);return ct.video[t]}return 2}function et(P){const t=Ce();return P.split(",").reduce((n,s)=>{const E=t&&Rt(s)?9:ct.video[s];return E?(E*2+n)/(n?3:2):(ct.audio[s]+n)/(n?2:1)},0)}const yt={};function Nt(P,t=!0){if(yt[P])return yt[P];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[P];for(let m=0;m<n.length;m++){var s;if(Te(n[m],"audio",t))return yt[P]=n[m],n[m];if(n[m]==="mp3"&&(s=ae(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return P}const Fe=/flac|opus|mp4a\.40\.34/i;function Ir(P,t=!0){return P.replace(Fe,n=>Nt(n.toLowerCase(),t))}function Ct(P,t){const n=[];if(P){const s=P.split(",");for(let m=0;m<s.length;m++)Kt(s[m],"video")||n.push(s[m])}return t&&n.push(t),n.join(",")}function Gr(P,t){if(P&&(P.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(P)!==-1))return P;if(t){const n=t.split(",");if(n.length>1){if(P){for(let s=n.length;s--;)if(n[s].substring(0,4)===P.substring(0,4))return n[s]}return n[0]}}return t||P}function Qr(P){const t=P.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 Mr(P){if(P.startsWith("av01.")){const t=P.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 P}function Fr(P){const t=ae(P)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function mr(P){return P.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const $r={supported:!0,configurations:[],decodingInfoResults:[{supported:!0,powerEfficient:!0,smooth:!0}]};function nn(P,t){return{supported:!1,configurations:t,decodingInfoResults:[{supported:!1,smooth:!1,powerEfficient:!1}],error:P}}const cn={};function Xt(P,t,n,s,m,E){const T=P.audioCodec?P.audioGroups:null,U=E==null?void 0:E.audioCodec,W=E==null?void 0:E.channels,N=W?parseInt(W):U?1/0:2;let te=null;if(T!=null&&T.length)try{T.length===1&&T[0]?te=t.groups[T[0]].channels:te=T.reduce((ce,be)=>{if(be){const Pe=t.groups[be];if(!Pe)throw new Error(`Audio track group ${be} not found`);Object.keys(Pe.channels).forEach(Se=>{ce[Se]=(ce[Se]||0)+Pe.channels[Se]})}return ce},{2:0})}catch(ce){return!0}return P.videoCodec!==void 0&&(P.width>1920&&P.height>1088||P.height>1920&&P.width>1088||P.frameRate>Math.max(s,30)||P.videoRange!=="SDR"&&P.videoRange!==n||P.bitrate>Math.max(m,8e6))||!!te&&r(N)&&Object.keys(te).some(ce=>parseInt(ce)>N)}function mt(P,t,n){const s=P.videoCodec,m=P.audioCodec;if(!s&&!m||!n)return Promise.resolve($r);const E=[];if(s){const T={width:P.width,height:P.height,bitrate:Math.ceil(Math.max(P.bitrate*.9,P.averageBitrate)),framerate:P.frameRate||30},U=P.videoRange;U!=="SDR"&&(T.transferFunction=U.toLowerCase());const W=s.split(","),N=navigator.userAgent;if(W.some(te=>Rt(te))&&Ce())return Promise.resolve(nn(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent sting: (${N})`),E));E.push.apply(E,W.map(te=>({type:"media-source",video:b(b({},T),{},{contentType:Et(Mr(te),"video")})})))}return m&&P.audioGroups&&P.audioGroups.forEach(T=>{var U;T&&((U=t.groups[T])==null||U.tracks.forEach(W=>{if(W.groupId===T){const N=W.channels||"",te=parseFloat(N);r(te)&&te>2&&E.push.apply(E,m.split(",").map(ce=>({type:"media-source",audio:{contentType:Et(ce,"audio"),channels:""+te}})))}}))}),Promise.all(E.map(T=>{const U=ut(T);return cn[U]||(cn[U]=n.decodingInfo(T))})).then(T=>({supported:!T.some(U=>!U.supported),configurations:E,decodingInfoResults:T})).catch(T=>({supported:!1,configurations:E,decodingInfoResults:[],error:T}))}function ut(P){const{audio:t,video:n}=P,s=n||t;if(s){const m=mr(s.contentType);if(n)return`r${n.height}x${n.width}f${Math.ceil(n.framerate)}${n.transferFunction||"sd"}_${m}_${Math.ceil(n.bitrate/1e5)}`;if(t)return`c${t.channels}${t.spatialRendering?"s":"n"}_${m}`}return""}const ft=["NONE","TYPE-0","TYPE-1",null];function $t(P){return ft.indexOf(P)>-1}const yr=["SDR","PQ","HLG"];function gr(P){return!!P&&yr.indexOf(P)>-1}var it={No:"",Yes:"YES",v2:"v2"};function Tr(P){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=P,m=s<t/2;return t&&m?n?it.v2:it.Yes:it.No}class fn{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 Ln{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 Vr(this._audioGroups,t)}hasSubtitleGroup(t){return Vr(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 Vr(P,t){return!t||!P?!1:P.indexOf(t)!==-1}function Zn(){if(typeof matchMedia=="function"){const P=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(P.media!==t.media)return P.matches===!0}return!1}function Hn(P,t){let n=!1,s=[];if(P&&(n=P!=="SDR",s=[P]),t){s=t.allowedVideoRanges||yr.slice(0);const m=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:m&&Zn(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const Pn=P=>{const t=new WeakSet;return(n,s)=>{if(P&&(s=P(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},yn=(P,t)=>JSON.stringify(P,Pn(t));function Vn(P,t,n,s,m){const E=Object.keys(P),T=s==null?void 0:s.channels,U=s==null?void 0:s.audioCodec,W=m==null?void 0:m.videoCodec,N=T&&parseInt(T)===2;let te=!1,ce=!1,be=1/0,Pe=1/0,Se=1/0,at=1/0,rt=0,Mt=[];const{preferHDR:fr,allowedVideoRanges:or}=Hn(t,m);for(let en=E.length;en--;){const on=P[E[en]];te||(te=on.channels[2]>0),be=Math.min(be,on.minHeight),Pe=Math.min(Pe,on.minFramerate),Se=Math.min(Se,on.minBitrate),or.filter(jn=>on.videoRanges[jn]>0).length>0&&(ce=!0)}be=r(be)?be:0,Pe=r(Pe)?Pe:0;const Or=Math.max(1080,be),Ur=Math.max(30,Pe);Se=r(Se)?Se:n,n=Math.max(Se,n),ce||(t=void 0);const un=E.length>1;return{codecSet:E.reduce((en,on)=>{const Kr=P[on];if(on===en)return en;if(Mt=ce?or.filter(jn=>Kr.videoRanges[jn]>0):[],un){if(Kr.minBitrate>n)return oi(on,`min bitrate of ${Kr.minBitrate} > current estimate of ${n}`),en;if(!Kr.hasDefaultAudio)return oi(on,"no renditions with default or auto-select sound found"),en;if(U&&on.indexOf(U.substring(0,4))%5!==0)return oi(on,`audio codec preference "${U}" not found`),en;if(T&&!N){if(!Kr.channels[T])return oi(on,`no renditions with ${T} channel sound found (channels options: ${Object.keys(Kr.channels)})`),en}else if((!U||N)&&te&&Kr.channels[2]===0)return oi(on,"no renditions with stereo sound found"),en;if(Kr.minHeight>Or)return oi(on,`min resolution of ${Kr.minHeight} > maximum of ${Or}`),en;if(Kr.minFramerate>Ur)return oi(on,`min framerate of ${Kr.minFramerate} > maximum of ${Ur}`),en;if(!Mt.some(jn=>Kr.videoRanges[jn]>0))return oi(on,`no variants with VIDEO-RANGE of ${yn(Mt)} found`),en;if(W&&on.indexOf(W.substring(0,4))%5!==0)return oi(on,`video codec preference "${W}" not found`),en;if(Kr.maxScore<rt)return oi(on,`max score of ${Kr.maxScore} < selected max of ${rt}`),en}return en&&(et(on)>=et(en)||Kr.fragmentError>P[en].fragmentError)?en:(at=Kr.minIndex,rt=Kr.maxScore,on)},void 0),videoRanges:Mt,preferHDR:fr,minFramerate:Pe,minBitrate:Se,minIndex:at}}function oi(P,t){G.log(`[abr] start candidates with "${P}" ignored because ${t}`)}function mi(P){return P.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 Di(P,t,n,s){return P.slice(n,s+1).reduce((m,E,T)=>{if(!E.codecSet)return m;const U=E.audioGroups;let W=m[E.codecSet];W||(m[E.codecSet]=W={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:T,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!U,fragmentError:0}),W.minBitrate=Math.min(W.minBitrate,E.bitrate);const N=Math.min(E.height,E.width);return W.minHeight=Math.min(W.minHeight,N),W.minFramerate=Math.min(W.minFramerate,E.frameRate),W.minIndex=Math.min(W.minIndex,T),W.maxScore=Math.max(W.maxScore,E.score),W.fragmentError+=E.fragmentError,W.videoRanges[E.videoRange]=(W.videoRanges[E.videoRange]||0)+1,U&&U.forEach(te=>{if(!te)return;const ce=t.groups[te];ce&&(W.hasDefaultAudio=W.hasDefaultAudio||t.hasDefaultAudio?ce.hasDefault:ce.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(ce.channels).forEach(be=>{W.channels[be]=(W.channels[be]||0)+ce.channels[be]}))}),m},{})}function ji(P){if(!P)return P;const{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}=P;return{lang:t,assocLang:n,characteristics:s,channels:m,audioCodec:E}}function gi(P,t,n){if("attrs"in P){const s=t.indexOf(P);if(s!==-1)return s}for(let s=0;s<t.length;s++){const m=t[s];if(Ea(P,m,n))return s}return-1}function Ea(P,t,n){const{groupId:s,name:m,lang:E,assocLang:T,default:U}=P,W=P.forced;return(s===void 0||t.groupId===s)&&(m===void 0||t.name===m)&&(E===void 0||ui(E,t.lang))&&(E===void 0||t.assocLang===T)&&(U===void 0||t.default===U)&&(W===void 0||t.forced===W)&&(!("characteristics"in P)||Ji(P.characteristics||"",t.characteristics))&&(n===void 0||n(P,t))}function ui(P,t="--"){return P.length===t.length?P===t:P.startsWith(t)||t.startsWith(P)}function Ji(P,t=""){const n=P.split(","),s=t.split(",");return n.length===s.length&&!n.some(m=>s.indexOf(m)===-1)}function It(P,t){const{audioCodec:n,channels:s}=P;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function gt(P,t,n,s,m){const E=t[s],U=t.reduce((be,Pe,Se)=>{const at=Pe.uri;return(be[at]||(be[at]=[])).push(Se),be},{})[E.uri];U.length>1&&(s=Math.max.apply(Math,U));const W=E.videoRange,N=E.frameRate,te=E.codecSet.substring(0,4),ce=Oi(t,s,be=>{if(be.videoRange!==W||be.frameRate!==N||be.codecSet.substring(0,4)!==te)return!1;const Pe=be.audioGroups,Se=n.filter(at=>!Pe||Pe.indexOf(at.groupId)!==-1);return gi(P,Se,m)>-1});return ce>-1?ce:Oi(t,s,be=>{const Pe=be.audioGroups,Se=n.filter(at=>!Pe||Pe.indexOf(at.groupId)!==-1);return gi(P,Se,m)>-1})}function Oi(P,t,n){for(let s=t;s>-1;s--)if(n(P[s]))return s;for(let s=t+1;s<P.length;s++)if(n(P[s]))return s;return-1}function Xi(P,t){var n;return!!P&&P!==((n=t.loadLevelObj)==null?void 0:n.uri)}class vi 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.bwEstimator=void 0,this._abandonRulesCheck=n=>{var s;const{fragCurrent:m,partCurrent:E,hls:T}=this,{autoLevelEnabled:U,media:W}=T;if(!m||!W)return;const N=performance.now(),te=E?E.stats:m.stats,ce=E?E.duration:m.duration,be=N-te.loading.start,Pe=T.minAutoLevel,Se=m.level,at=this._nextAutoLevel;if(te.aborted||te.loaded&&te.loaded===te.total||Se<=Pe){this.clearTimer(),this._nextAutoLevel=-1;return}if(!U)return;const rt=at>-1&&at!==Se,Mt=!!n||rt;if(!Mt&&(W.paused||!W.playbackRate||!W.readyState))return;const fr=T.mainForwardBufferInfo;if(!Mt&&fr===null)return;const or=this.bwEstimator.getEstimateTTFB(),Or=Math.abs(W.playbackRate);if(be<=Math.max(or,1e3*(ce/(Or*2))))return;const Ur=fr?fr.len/Or:0,un=te.loading.first?te.loading.first-te.loading.start:-1,Hr=te.loaded&&un>-1,en=this.getBwEstimate(),on=T.levels,Kr=on[Se],jn=Math.max(te.loaded,Math.round(ce*(m.bitrate||Kr.averageBitrate)/8));let di=Hr?be-un:be;di<1&&Hr&&(di=Math.min(be,te.loaded*8/en));const sa=Hr?te.loaded*1e3/di:0,Ni=or/1e3,$i=sa?(jn-te.loaded)/sa:jn*8/en+Ni;if($i<=Ur)return;const li=sa?sa*8:en,Gi=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,qi=this.hls.config.abrBandWidthUpFactor;let Qn=Number.POSITIVE_INFINITY,ti;for(ti=Se-1;ti>Pe;ti--){const Cs=on[ti].maxBitrate,zs=!on[ti].details||Gi;if(Qn=this.getTimeToLoadFrag(Ni,li,ce*Cs,zs),Qn<Math.min(Ur,ce+Ni))break}if(Qn>=$i||Qn>ce*10)return;Hr?this.bwEstimator.sample(be-Math.min(or,un),te.loaded):this.bwEstimator.sampleTTFB(be);const Aa=on[ti].maxBitrate;this.getBwEstimate()*qi>Aa&&this.resetEstimator(Aa);const Ca=this.findBestLevel(Aa,Pe,ti,0,Ur,1,1);Ca>-1&&(ti=Ca),this.warn(`Fragment ${m.sn}${E?" part "+E.index:""} of level ${Se} is loading too slowly;
|
|
|
Fragment duration: ${m.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${Ur.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${$i.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${Qn.toFixed(3)} s
|
|
|
TTFB estimate: ${un|0} ms
|
|
|
Current BW estimate: ${r(en)?en|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${ti} @ ${Aa|0} bps`),T.nextLoadLevel=T.nextAutoLevel=ti,this.clearTimer();const as=()=>{if(this.clearTimer(),this.fragCurrent===m&&this.hls.loadLevel===ti&&ti>0){const Cs=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${ti>0?"and switching down":""}
|
|
|
Fragment duration: ${m.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${Cs.toFixed(3)} s`),m.abortRequests(),this.fragCurrent=this.partCurrent=null,ti>Pe){let zs=this.findBestLevel(this.hls.levels[Pe].bitrate,Pe,ti,0,Cs,1,1);zs===-1&&(zs=Pe),this.hls.nextLoadLevel=this.hls.nextAutoLevel=zs,this.resetEstimator(this.hls.levels[zs].bitrate)}}};rt||$i>Qn*2?as():this.timer=self.setInterval(as,Qn*1e3),T.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:m,part:E,stats:te})},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=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(t,n){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(t,n){const 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:E}=this;if(s&&m&&s.sn===m.sn&&s.level===m.level){const T=performance.now(),U=E?E.stats:s.stats,W=T-U.loading.start,N=U.loading.first?U.loading.first-U.loading.start:-1;if(U.loaded&&N>-1){const ce=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(W-Math.min(ce,N),U.loaded)}else this.bwEstimator.sampleTTFB(W)}break}}}getTimeToLoadFrag(t,n,s,m){const E=t+s/n,T=m?t+this.lastLevelLoadSec:0;return E+T}onLevelLoaded(t,n){const s=this.hls.config,{loading:m}=n.stats,E=m.end-m.first;r(E)&&(this.lastLevelLoadSec=E/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 E=s?s.duration:n.duration,T=this.hls.levels[n.level],U=(T.loaded?T.loaded.bytes:0)+m.loaded,W=(T.loaded?T.loaded.duration:0)+E;T.loaded={bytes:U,duration:W},T.realBitrate=Math.round(8*U/W)}if(n.bitrateTest){const E={stats:m,frag:n,part:s,id:n.type};this.onFragBuffered(o.FRAG_BUFFERED,E),n.bitrateTest=!1}else this.lastLoadedFragLevel=n.level}}onFragBuffered(t,n){const{frag:s,part:m}=n,E=m!=null&&m.stats.loaded?m.stats:s.stats;if(E.aborted||this.ignoreFragment(s))return;const T=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(T,E.loaded),E.bwEstimate=this.getBwEstimate(),s.bitrateTest?this.bitrateTestDelay=T/1e3:this.bitrateTestDelay=0}ignoreFragment(t){return t.type!==u.MAIN||t.sn==="initSegment"}clearTimer(){this.timer>-1&&(self.clearInterval(this.timer),this.timer=-1)}get firstAutoLevel(){const{maxAutoLevel:t,minAutoLevel:n}=this.hls,s=this.getBwEstimate(),m=this.hls.config.maxStarvationDelay,E=this.findBestLevel(s,n,t,0,m,1,1);if(E>-1)return E;const T=this.hls.firstLevel,U=Math.min(Math.max(T,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${T} clamped to ${U}`),U}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 E=s&&m?this.getNextABRAutoLevel():this.firstAutoLevel;if(t!==-1){const T=this.hls.levels;if(T.length>Math.max(t,E)&&T[t].loadError<=T[E].loadError)return t}return this._nextAutoLevel=E,this.nextAutoLevelKey=this.getAutoLevelKey(),E}getAutoLevelKey(){return`${this.getBwEstimate()}_${this.getStarvationDelay().toFixed(2)}`}getNextABRAutoLevel(){const{fragCurrent:t,partCurrent:n,hls:s}=this;if(s.levels.length<=1)return s.loadLevel;const{maxAutoLevel:m,config:E,minAutoLevel:T}=s,U=n?n.duration:t?t.duration:0,W=this.getBwEstimate(),N=this.getStarvationDelay();let te=E.abrBandWidthFactor,ce=E.abrBandWidthUpFactor;if(N){const rt=this.findBestLevel(W,T,m,N,0,te,ce);if(rt>=0)return this.rebufferNotice=-1,rt}let be=U?Math.min(U,E.maxStarvationDelay):E.maxStarvationDelay;if(!N){const rt=this.bitrateTestDelay;rt&&(be=(U?Math.min(U,E.maxLoadingDelay):E.maxLoadingDelay)-rt,this.info(`bitrate test took ${Math.round(1e3*rt)}ms, set first fragment max fetchDuration to ${Math.round(1e3*be)} ms`),te=ce=1)}const Pe=this.findBestLevel(W,T,m,N,be,te,ce);if(this.rebufferNotice!==Pe&&(this.rebufferNotice=Pe,this.info(`${N?"rebuffering expected":"buffer is empty"}, optimal quality level ${Pe}`)),Pe>-1)return Pe;const Se=s.levels[T],at=s.loadLevelObj;return at&&(Se==null?void 0:Se.bitrate)<at.bitrate?T: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,E,T,U){var W;const N=m+E,te=this.lastLoadedFragLevel,ce=te===-1?this.hls.firstLevel:te,{fragCurrent:be,partCurrent:Pe}=this,{levels:Se,allAudioTracks:at,loadLevel:rt,config:Mt}=this.hls;if(Se.length===1)return 0;const fr=Se[ce],or=!!((W=this.hls.latestLevelDetails)!=null&&W.live),Or=rt===-1||te===-1;let Ur,un="SDR",Hr=(fr==null?void 0:fr.frameRate)||0;const{audioPreference:en,videoPreference:on}=Mt,Kr=this.audioTracksByGroup||(this.audioTracksByGroup=mi(at));let jn=-1;if(Or){if(this.firstSelection!==-1)return this.firstSelection;const li=this.codecTiers||(this.codecTiers=Di(Se,Kr,n,s)),Gi=Vn(li,un,t,en,on),{codecSet:qi,videoRanges:Qn,minFramerate:ti,minBitrate:Aa,minIndex:Ca,preferHDR:as}=Gi;jn=Ca,Ur=qi,un=as?Qn[Qn.length-1]:Qn[0],Hr=ti,t=Math.max(t,Aa),this.log(`picked start tier ${yn(Gi)}`)}else Ur=fr==null?void 0:fr.codecSet,un=fr==null?void 0:fr.videoRange;const di=Pe?Pe.duration:be?be.duration:0,sa=this.bwEstimator.getEstimateTTFB()/1e3,Ni=[];for(let li=s;li>=n;li--){var $i;const Gi=Se[li],qi=li>ce;if(!Gi)continue;if(Mt.useMediaCapabilities&&!Gi.supportedResult&&!Gi.supportedPromise){const zs=navigator.mediaCapabilities;typeof(zs==null?void 0:zs.decodingInfo)=="function"&&(Xt(Gi,Kr,un,Hr,t,en)||Rt(Gi.videoCodec))?(Gi.supportedPromise=mt(Gi,Kr,zs),Gi.supportedPromise.then(fo=>{if(!this.hls)return;Gi.supportedResult=fo;const Ku=this.hls.levels,dl=Ku.indexOf(Gi);fo.error?this.warn(`MediaCapabilities decodingInfo error: "${fo.error}" for level ${dl} ${yn(fo)}`):fo.supported||(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${dl} ${yn(fo)}`),dl>-1&&Ku.length>1&&(this.log(`Removing unsupported level ${dl}`),this.hls.removeLevel(dl),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))})):Gi.supportedResult=$r}if((Ur&&Gi.codecSet!==Ur||un&&Gi.videoRange!==un||qi&&Hr>Gi.frameRate||!qi&&Hr>0&&Hr<Gi.frameRate||Gi.supportedResult&&!(($i=Gi.supportedResult.decodingInfoResults)!=null&&$i[0].smooth))&&(!Or||li!==jn)){Ni.push(li);continue}const Qn=Gi.details,ti=(Pe?Qn==null?void 0:Qn.partTarget:Qn==null?void 0:Qn.averagetargetduration)||di;let Aa;qi?Aa=U*t:Aa=T*t;const Ca=di&&m>=di*2&&E===0?Gi.averageBitrate:Gi.maxBitrate,as=this.getTimeToLoadFrag(sa,Aa,Ca*ti,Qn===void 0);if(Aa>=Ca&&(li===te||Gi.loadError===0&&Gi.fragmentError===0)&&(as<=sa||!r(as)||or&&!this.bitrateTestDelay||as<N)){const zs=this.forcedAutoLevel;return li!==rt&&(zs===-1||zs!==rt)&&(Ni.length&&this.trace(`Skipped level(s) ${Ni.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Se[Ni[0]].codecs}" ${Se[Ni[0]].videoRange}; not compatible with "${Ur}" ${un}`),this.info(`switch candidate:${ce}->${li} adjustedbw(${Math.round(Aa)})-bitrate=${Math.round(Aa-Ca)} ttfb:${sa.toFixed(1)} avgDuration:${ti.toFixed(1)} maxFetchDuration:${N.toFixed(1)} fetchDuration:${as.toFixed(1)} firstSelection:${Or} codecSet:${Gi.codecSet} videoRange:${Gi.videoRange} hls.loadLevel:${rt}`)),Or&&(this.firstSelection=li),li}}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 ya={search:function(P,t){let n=0,s=P.length-1,m=null,E=null;for(;n<=s;){m=(n+s)/2|0,E=P[m];const T=t(E);if(T>0)n=m+1;else if(T<0)s=m-1;else return E}return null}};function yi(P,t,n){if(t===null||!Array.isArray(P)||!P.length||!r(t))return null;const s=P[0].programDateTime;if(t<(s||0))return null;const m=P[P.length-1].endProgramDateTime;if(t>=(m||0))return null;for(let E=0;E<P.length;++E){const T=P[E];if(vt(t,n,T))return T}return null}function qn(P,t,n=0,s=0,m=.005){let E=null;if(P){E=t[1+P.sn-t[0].sn]||null;const U=P.endDTS-n;U>0&&U<15e-7&&(n+=15e-7),E&&P.level!==E.level&&E.end<=P.end&&(E=t[2+P.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!P||P.level===E.level)&&rr(n,s,E)===0||Sn(E,P,Math.min(m,s))))return E;const T=ya.search(t,rr.bind(null,n,s));return T&&(T!==P||!E)?T:E}function Sn(P,t,n){if(t&&t.start===0&&t.level<P.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((m,E)=>(E[0]==="INF"&&(m+=parseFloat(E[1])),m),n);return P.start<=s}return!1}function rr(P=0,t=0,n){if(n.start<=P&&n.start+n.duration>P)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=P?1:n.start-s>P&&n.start?-1:0}function vt(P,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>P}function nt(P,t,n){if(P&&P.startCC<=t&&P.endCC>=t){let s=P.fragments;const{fragmentHint:m}=P;m&&(s=s.concat(m));let E;return ya.search(s,T=>T.cc<t?1:T.cc>t?-1:(E=T,T.end<=n?1:T.start>n?-1:0)),E||null}return null}function Dt(P){switch(P.details){case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_TIMEOUT:case f.LEVEL_LOAD_TIMEOUT:case f.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function pt(P,t){const n=Dt(t);return P.default[`${n?"timeout":"error"}Retry`]}function cr(P,t){const n=P.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*P.retryDelayMs,P.maxRetryDelayMs)}function dr(P){return b(b({},P),{errorRetry:null,timeoutRetry:null})}function Ar(P,t,n,s){if(!P)return!1;const m=s==null?void 0:s.code,E=t<P.maxNumRetry&&(Zr(m)||!!n);return P.shouldRetry?P.shouldRetry(P,t,n,s,E):E}function Zr(P){return P===0&&navigator.onLine===!1||!!P&&(P<400||P>499)}var $e={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Je={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,SwitchToSDR:4};class xe extends R{constructor(t){super("error-controller",t.logger),this.hls=void 0,this.playlistError=0,this.penalizedRenditions={},this.hls=t,this.registerListeners()}registerListeners(){const t=this.hls;t.on(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,this.penalizedRenditions={}}startLoad(t){}stopLoad(){this.playlistError=0}getVariantLevelIndex(t){return(t==null?void 0:t.type)===u.MAIN?t.level:this.hls.loadLevel}onManifestLoading(){this.playlistError=0,this.penalizedRenditions={}}onLevelUpdated(){this.playlistError=0}onError(t,n){var s;if(n.fatal)return;const m=this.hls,E=n.context;switch(n.details){case f.FRAG_LOAD_ERROR:case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_ERROR:case f.KEY_LOAD_TIMEOUT:n.errorAction=this.getFragRetryOrSwitchAction(n);return;case f.FRAG_PARSING_ERROR:if((s=n.frag)!=null&&s.gap){n.errorAction=st();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=$e.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var T,U;const N=n.parent===u.MAIN?n.level:m.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((T=n.context)!=null&&(U=T.levelDetails)!=null&&U.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,N):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,N))}return;case f.LEVEL_LOAD_ERROR:case f.LEVEL_LOAD_TIMEOUT:typeof(E==null?void 0:E.level)=="number"&&(n.errorAction=this.getPlaylistRetryOrSwitchAction(n,E.level));return;case f.AUDIO_TRACK_LOAD_ERROR:case f.AUDIO_TRACK_LOAD_TIMEOUT:case f.SUBTITLE_LOAD_ERROR:case f.SUBTITLE_TRACK_LOAD_TIMEOUT:if(E){const N=m.loadLevelObj;if(N&&(E.type===h.AUDIO_TRACK&&N.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&N.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,m.loadLevel),n.errorAction.action=$e.SendAlternateToPenaltyBox,n.errorAction.flags=Je.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:{const N=m.loadLevelObj,te=N==null?void 0:N.attrs["HDCP-LEVEL"];te?n.errorAction={action:$e.SendAlternateToPenaltyBox,flags:Je.MoveAllAlternatesMatchingHDCP,hdcpLevel:te}:this.keySystemError(n)}return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var W;n.errorAction=this.getLevelSwitchAction(n,(W=n.level)!=null?W: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=st();return}n.type===c.KEY_SYSTEM_ERROR&&this.keySystemError(n)}keySystemError(t){const n=this.getVariantLevelIndex(t.frag);t.levelRetry=!1,t.errorAction=this.getLevelSwitchAction(t,n)}getPlaylistRetryOrSwitchAction(t,n){const s=this.hls,m=pt(s.config.playlistLoadPolicy,t),E=this.playlistError++;if(Ar(m,E,Dt(t),t.response))return{action:$e.RetryRequest,flags:Je.None,retryConfig:m,retryCount:E};const U=this.getLevelSwitchAction(t,n);return m&&(U.retryConfig=m,U.retryCount=E),U}getFragRetryOrSwitchAction(t){const n=this.hls,s=this.getVariantLevelIndex(t.frag),m=n.levels[s],{fragLoadPolicy:E,keyLoadPolicy:T}=n.config,U=pt(t.details.startsWith("key")?T:E,t),W=n.levels.reduce((te,ce)=>te+ce.fragmentError,0);if(m&&(t.details!==f.FRAG_GAP&&m.fragmentError++,Ar(U,W,Dt(t),t.response)))return{action:$e.RetryRequest,flags:Je.None,retryConfig:U,retryCount:W};const N=this.getLevelSwitchAction(t,s);return U&&(N.retryConfig=U,N.retryCount=W),N}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const m=this.hls.levels[n];if(m){var E,T;const N=t.details;m.loadError++,N===f.BUFFER_APPEND_ERROR&&m.fragmentError++;let te=-1;const{levels:ce,loadLevel:be,minAutoLevel:Pe,maxAutoLevel:Se}=s;!s.autoLevelEnabled&&!s.config.preserveManualLevelOnError&&(s.loadLevel=-1);const at=(E=t.frag)==null?void 0:E.type,Mt=(at===u.AUDIO&&N===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(N===f.BUFFER_ADD_CODEC_ERROR||N===f.BUFFER_APPEND_ERROR))&&ce.some(({audioCodec:un})=>m.audioCodec!==un),or=t.sourceBufferName==="video"&&(N===f.BUFFER_ADD_CODEC_ERROR||N===f.BUFFER_APPEND_ERROR)&&ce.some(({codecSet:un,audioCodec:Hr})=>m.codecSet!==un&&m.audioCodec===Hr),{type:Or,groupId:Ur}=(T=t.context)!=null?T:{};for(let un=ce.length;un--;){const Hr=(un+be)%ce.length;if(Hr!==be&&Hr>=Pe&&Hr<=Se&&ce[Hr].loadError===0){var U,W;const en=ce[Hr];if(N===f.FRAG_GAP&&at===u.MAIN&&t.frag){const on=ce[Hr].details;if(on){const Kr=qn(t.frag,on.fragments,t.frag.start);if(Kr!=null&&Kr.gap)continue}}else{if(Or===h.AUDIO_TRACK&&en.hasAudioGroup(Ur)||Or===h.SUBTITLE_TRACK&&en.hasSubtitleGroup(Ur))continue;if(at===u.AUDIO&&(U=m.audioGroups)!=null&&U.some(on=>en.hasAudioGroup(on))||at===u.SUBTITLE&&(W=m.subtitleGroups)!=null&&W.some(on=>en.hasSubtitleGroup(on))||Mt&&m.audioCodec===en.audioCodec||!Mt&&m.audioCodec!==en.audioCodec||or&&m.codecSet===en.codecSet)continue}te=Hr;break}}if(te>-1&&s.loadLevel!==te)return t.levelRetry=!0,this.playlistError=0,{action:$e.SendAlternateToPenaltyBox,flags:Je.None,nextAutoLevel:te}}return{action:$e.SendAlternateToPenaltyBox,flags:Je.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.action){case $e.DoNothing:break;case $e.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 $e.RetryRequest:break}if(n.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(t){const n=this.hls,s=t.errorAction;if(!s)return;const{flags:m,hdcpLevel:E,nextAutoLevel:T}=s;switch(m){case Je.None:this.switchLevel(t,T);break;case Je.MoveAllAlternatesMatchingHDCP:E&&(n.maxHdcpLevel=ft[ft.indexOf(E)-1],s.resolved=!0),this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}s.resolved||this.switchLevel(t,T)}switchLevel(t,n){if(n!==void 0&&t.errorAction&&(this.warn(`switching to level ${n} after ${t.details}`),this.hls.nextAutoLevel=n,t.errorAction.resolved=!0,this.hls.nextLoadLevel=this.hls.nextAutoLevel,t.details===f.BUFFER_ADD_CODEC_ERROR&&t.mimeType&&t.sourceBufferName!=="audiovideo")){const s=mr(t.mimeType),m=this.hls.levels;for(let E=m.length;E--;)m[E][`${t.sourceBufferName}Codec`]===s&&this.hls.removeLevel(E)}}}function st(P){const t={action:$e.DoNothing,flags:Je.None};return P&&(t.resolved=!0),t}var ir={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Rr{constructor(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}_registerListeners(){const{hls:t}=this;t.on(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.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.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 E=s[m];if(!E)break;const T=E.end;if(E.start<=t&&T!==null&&t<=T)return E}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,s){const{fragments:m}=this,E=Object.keys(m);for(let T=E.length;T--;){const U=m[E[T]];if((U==null?void 0:U.body.type)===n&&(!s||U.buffered)){const W=U.body;if(W.start<=t&&t<=W.end)return W}}return null}detectEvictedFragments(t,n,s,m,E){this.timeRanges&&(this.timeRanges[t]=n);const T=(m==null?void 0:m.fragment.sn)||-1;Object.keys(this.fragments).forEach(U=>{const W=this.fragments[U];if(!W||T>=W.body.sn)return;if(!W.buffered&&(!W.loaded||E)){W.body.type===s&&this.removeFragment(W.body);return}const N=W.range[t];if(N){if(N.time.length===0){this.removeFragment(W.body);return}N.time.some(te=>{const ce=!this.isTimeBuffered(te.startPTS,te.endPTS,n);return ce&&this.removeFragment(W.body),ce})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,m=Pr(s),E=this.fragments[m];if(!E||E.buffered&&s.gap)return;const T=!s.relurl;Object.keys(n).forEach(U=>{const W=s.elementaryStreams[U];if(!W)return;const N=n[U],te=T||W.partial===!0;E.range[U]=this.getBufferedTimes(s,t.part,te,N)}),E.loaded=null,Object.keys(E.range).length?(E.buffered=!0,(E.body.endList=s.endList||E.body.endList)&&(this.endListFragments[E.body.type]=E),Dr(E)||this.removeParts(s.sn-1,s.type)):this.removeFragment(E.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=jr(s,m=>m.fragment.sn>=t))}fragBuffered(t,n){const s=Pr(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 E={time:[],partial:s},T=t.start,U=t.end,W=t.minEndPTS||U,N=t.maxStartPTS||T;for(let te=0;te<m.length;te++){const ce=m.start(te)-this.bufferPadding,be=m.end(te)+this.bufferPadding;if(N>=ce&&W<=be){E.time.push({startPTS:Math.max(T,m.start(te)),endPTS:Math.min(U,m.end(te))});break}else if(T<be&&U>ce){const Pe=Math.max(T,m.start(te)),Se=Math.min(U,m.end(te));Se>Pe&&(E.partial=!0,E.time.push({startPTS:Pe,endPTS:Se}))}else if(U<=ce)break}return E}getPartialFragment(t){let n=null,s,m,E,T=0;const{bufferPadding:U,fragments:W}=this;return Object.keys(W).forEach(N=>{const te=W[N];te&&Dr(te)&&(m=te.body.start-U,E=te.body.end+U,t>=m&&t<=E&&(s=Math.min(t-m,E-t),T<=s&&(n=te.body,T=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Dr(n))}getState(t){const n=Pr(t),s=this.fragments[n];return s?s.buffered?Dr(s)?ir.PARTIAL:ir.OK:ir.APPENDING:ir.NOT_LOADED}isTimeBuffered(t,n,s){let m,E;for(let T=0;T<s.length;T++){if(m=s.start(T)-this.bufferPadding,E=s.end(T)+this.bufferPadding,t>=m&&n<=E)return!0;if(n<=m)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(t,n){if(n.frag.sn==="initSegment"||n.frag.bitrateTest)return;const s=n.frag,m=n.part?null:n,E=Pr(s);this.fragments[E]={body:s,appendedPTS:null,loaded:m,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:s,part:m,timeRanges:E,type:T}=n;if(s.sn==="initSegment")return;const U=s.type;if(m){let N=this.activePartLists[U];N||(this.activePartLists[U]=N=[]),N.push(m)}this.timeRanges=E;const W=E[T];this.detectEvictedFragments(T,W,U,m)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=Pr(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 E=n[s[m]];if((E==null?void 0:E.body.type)===t)return!0}return!1}hasParts(t){var n;return!!((n=this.activePartLists[t])!=null&&n.length)}removeFragmentsInRange(t,n,s,m,E){m&&!this.hasGaps||Object.keys(this.fragments).forEach(T=>{const U=this.fragments[T];if(!U)return;const W=U.body;W.type!==s||m&&!W.gap||W.start<n&&W.end>t&&(U.buffered||E)&&this.removeFragment(W)})}removeFragment(t){const n=Pr(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const m=t.sn;this.activePartLists[t.type]=jr(s,E=>E.fragment.sn!==m)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t,n;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const s=(t=this.hls)==null||(n=t.latestLevelDetails)==null?void 0:n.partList;s&&s.forEach(m=>m.clearElementaryStreamInfo())}}function Dr(P){var t,n,s;return P.buffered&&(P.body.gap||((t=P.range.video)==null?void 0:t.partial)||((n=P.range.audio)==null?void 0:n.partial)||((s=P.range.audiovideo)==null?void 0:s.partial))}function Pr(P){return`${P.type}_${P.level}_${P.sn}`}function jr(P,t){return P.filter(n=>{const s=t(n);return s||n.clearElementaryStreamInfo(),s})}var pn={cbc:0,ctr:1};class Cr{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 pn.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case pn.ctr:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},n,t);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}function ln(P){const t=P.byteLength,n=t&&new DataView(P.buffer).getUint8(t-1);return n?P.slice(0,t-n):P}class rn{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],E=s[1],T=s[2],U=s[3],W=this.invSubMix,N=W[0],te=W[1],ce=W[2],be=W[3],Pe=new Uint32Array(256);let Se=0,at=0,rt=0;for(rt=0;rt<256;rt++)rt<128?Pe[rt]=rt<<1:Pe[rt]=rt<<1^283;for(rt=0;rt<256;rt++){let Mt=at^at<<1^at<<2^at<<3^at<<4;Mt=Mt>>>8^Mt&255^99,t[Se]=Mt,n[Mt]=Se;const fr=Pe[Se],or=Pe[fr],Or=Pe[or];let Ur=Pe[Mt]*257^Mt*16843008;m[Se]=Ur<<24|Ur>>>8,E[Se]=Ur<<16|Ur>>>16,T[Se]=Ur<<8|Ur>>>24,U[Se]=Ur,Ur=Or*16843009^or*65537^fr*257^Se*16843008,N[Mt]=Ur<<24|Ur>>>8,te[Mt]=Ur<<16|Ur>>>16,ce[Mt]=Ur<<8|Ur>>>24,be[Mt]=Ur,Se?(Se=fr^Pe[Pe[Pe[Or^fr]]],at^=Pe[Pe[at]]):Se=at=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 E=this.keySize=n.length;if(E!==4&&E!==6&&E!==8)throw new Error("Invalid aes key size="+E);const T=this.ksRows=(E+6+1)*4;let U,W;const N=this.keySchedule=new Uint32Array(T),te=this.invKeySchedule=new Uint32Array(T),ce=this.sBox,be=this.rcon,Pe=this.invSubMix,Se=Pe[0],at=Pe[1],rt=Pe[2],Mt=Pe[3];let fr,or;for(U=0;U<T;U++){if(U<E){fr=N[U]=n[U];continue}or=fr,U%E===0?(or=or<<8|or>>>24,or=ce[or>>>24]<<24|ce[or>>>16&255]<<16|ce[or>>>8&255]<<8|ce[or&255],or^=be[U/E|0]<<24):E>6&&U%E===4&&(or=ce[or>>>24]<<24|ce[or>>>16&255]<<16|ce[or>>>8&255]<<8|ce[or&255]),N[U]=fr=(N[U-E]^or)>>>0}for(W=0;W<T;W++)U=T-W,W&3?or=N[U]:or=N[U-4],W<4||U<=4?te[W]=or:te[W]=Se[ce[or>>>24]]^at[ce[or>>>16&255]]^rt[ce[or>>>8&255]]^Mt[ce[or&255]],te[W]=te[W]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,s){const m=this.keySize+6,E=this.invKeySchedule,T=this.invSBox,U=this.invSubMix,W=U[0],N=U[1],te=U[2],ce=U[3],be=this.uint8ArrayToUint32Array_(s);let Pe=be[0],Se=be[1],at=be[2],rt=be[3];const Mt=new Int32Array(t),fr=new Int32Array(Mt.length);let or,Or,Ur,un,Hr,en,on,Kr,jn,di,sa,Ni,$i,li;const Gi=this.networkToHostOrderSwap;for(;n<Mt.length;){for(jn=Gi(Mt[n]),di=Gi(Mt[n+1]),sa=Gi(Mt[n+2]),Ni=Gi(Mt[n+3]),Hr=jn^E[0],en=Ni^E[1],on=sa^E[2],Kr=di^E[3],$i=4,li=1;li<m;li++)or=W[Hr>>>24]^N[en>>16&255]^te[on>>8&255]^ce[Kr&255]^E[$i],Or=W[en>>>24]^N[on>>16&255]^te[Kr>>8&255]^ce[Hr&255]^E[$i+1],Ur=W[on>>>24]^N[Kr>>16&255]^te[Hr>>8&255]^ce[en&255]^E[$i+2],un=W[Kr>>>24]^N[Hr>>16&255]^te[en>>8&255]^ce[on&255]^E[$i+3],Hr=or,en=Or,on=Ur,Kr=un,$i=$i+4;or=T[Hr>>>24]<<24^T[en>>16&255]<<16^T[on>>8&255]<<8^T[Kr&255]^E[$i],Or=T[en>>>24]<<24^T[on>>16&255]<<16^T[Kr>>8&255]<<8^T[Hr&255]^E[$i+1],Ur=T[on>>>24]<<24^T[Kr>>16&255]<<16^T[Hr>>8&255]<<8^T[en&255]^E[$i+2],un=T[Kr>>>24]<<24^T[Hr>>16&255]<<16^T[en>>8&255]<<8^T[on&255]^E[$i+3],fr[n]=Gi(or^Pe),fr[n+1]=Gi(un^Se),fr[n+2]=Gi(Ur^at),fr[n+3]=Gi(Or^rt),Pe=jn,Se=di,at=sa,rt=Ni,n=n+4}return fr.buffer}}class sn{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=wn(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function wn(P){switch(P){case pn.cbc:return"AES-CBC";case pn.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${P}`)}}const pa=16;class Ei{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?ln(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((E,T)=>{const U=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(U,n,s,m);const W=this.flush();W?E(W.buffer):T(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,m)}softwareDecrypt(t,n,s,m){const{currentIV:E,currentResult:T,remainderData:U}=this;if(m!==pn.cbc||n.byteLength!==16)return G.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),U&&(t=Qe(U,t),this.remainderData=null);const W=this.getValidChunk(t);if(!W.length)return null;E&&(s=E);let N=this.softwareDecrypter;N||(N=this.softwareDecrypter=new rn),N.expandKey(n);const te=T;return this.currentResult=N.decrypt(W.buffer,0,s),this.currentIV=W.slice(-16).buffer,te||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 sn(this.subtle,n,m)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new Cr(this.subtle,new Uint8Array(s),m).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(G.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${E.name}: ${E.message}`),this.onWebCryptoError(t,n,s,m)))}onWebCryptoError(t,n,s,m){const E=this.enableSoftwareAES;if(E){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,s,m);const T=this.flush();if(T)return T.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const s=t.length-t.length%pa;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(G.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const hi=Math.pow(2,17);class mn{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 Ha({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,E=m.fLoader,T=m.loader;return new Promise((U,W)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Se=>Se[0]==="GAP")){W(Mi(t));return}else t.gap=!1;const N=this.loader=E?new E(m):new T(m),te=ni(t);t.loader=N;const ce=dr(m.fragLoadPolicy.default),be={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:hi};t.stats=N.stats;const Pe={onSuccess:(Se,at,rt,Mt)=>{this.resetLoader(t,N);let fr=Se.data;rt.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(fr.slice(0,16)),fr=fr.slice(16)),U({frag:t,part:null,payload:fr,networkDetails:Mt})},onError:(Se,at,rt,Mt)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},Se),error:new Error(`HTTP Error ${Se.code} ${Se.text}`),networkDetails:rt,stats:Mt}))},onAbort:(Se,at,rt)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:rt,stats:Se}))},onTimeout:(Se,at,rt)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${be.timeout}ms`),networkDetails:rt,stats:Se}))}};n&&(Pe.onProgress=(Se,at,rt,Mt)=>n({frag:t,part:null,payload:rt,networkDetails:Mt})),N.load(te,be,Pe)})}loadPart(t,n,s){this.abort();const m=this.config,E=m.fLoader,T=m.loader;return new Promise((U,W)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){W(Mi(t,n));return}const N=this.loader=E?new E(m):new T(m),te=ni(t,n);t.loader=N;const ce=dr(m.fragLoadPolicy.default),be={loadPolicy:ce,timeout:ce.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:hi};n.stats=N.stats,N.load(te,be,{onSuccess:(Pe,Se,at,rt)=>{this.resetLoader(t,N),this.updateStatsFromPart(t,n);const Mt={frag:t,part:n,payload:Pe.data,networkDetails:rt};s(Mt),U(Mt)},onError:(Pe,Se,at,rt)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:te.url,data:void 0},Pe),error:new Error(`HTTP Error ${Pe.code} ${Pe.text}`),networkDetails:at,stats:rt}))},onAbort:(Pe,Se,at)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:at,stats:Pe}))},onTimeout:(Pe,Se,at)=>{this.resetLoader(t,N),W(new Ha({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${be.timeout}ms`),networkDetails:at,stats:Pe}))}})})}updateStatsFromPart(t,n){const s=t.stats,m=n.stats,E=m.total;if(s.loaded+=m.loaded,E){const W=Math.round(t.duration/n.duration),N=Math.min(Math.round(s.loaded/E),W),ce=(W-N)*Math.round(s.loaded/N);s.total=s.loaded+ce}else s.total=Math.max(s.loaded,s.total);const T=s.loading,U=m.loading;T.start?T.first+=U.first-U.start:(T.start=U.start,T.first=U.first),T.end=U.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function ni(P,t=null){const n=t||P,s={frag:P,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},m=n.byteRangeStartOffset,E=n.byteRangeEndOffset;if(r(m)&&r(E)){var T;let U=m,W=E;if(P.sn==="initSegment"&&ca((T=P.decryptdata)==null?void 0:T.method)){const N=E-m;N%16&&(W=E+(16-N%16)),m!==0&&(s.resetIV=!0,U=m-16)}s.rangeStart=U,s.rangeEnd=W}return s}function Mi(P,t){const n=new Error(`GAP ${P.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:P,error:n,networkDetails:null};return t&&(s.part=t),(t||P).stats.aborted=!0,new Ha(s)}function ca(P){return P==="AES-128"||P==="AES-256"}class Ha extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class Ta 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 fs{constructor(t,n,s,m=0,E=-1,T=!1){this.level=void 0,this.sn=void 0,this.part=void 0,this.id=void 0,this.size=void 0,this.partial=void 0,this.transmuxing=Es(),this.buffering={audio:Es(),video:Es(),audiovideo:Es()},this.level=t,this.sn=n,this.id=s,this.size=m,this.part=E,this.partial=T}}function Es(){return{start:0,executeStart:0,executeEnd:0,end:0}}const Wa={length:0,start:()=>0,end:()=>0};class pi{static isBuffered(t,n){if(t){const s=pi.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=pi.getBuffered(t);return pi.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=pi.bufferedRanges(t);if(m.length)return pi.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((te,ce)=>te.start-ce.start||ce.end-te.end);let m=-1,E=[];if(s)for(let te=0;te<t.length;te++){n>=t[te].start&&n<=t[te].end&&(m=te);const ce=E.length;if(ce){const be=E[ce-1].end;t[te].start-be<s?t[te].end>be&&(E[ce-1].end=t[te].end):E.push(t[te])}else E.push(t[te])}else E=t;let T=0,U,W=n,N=n;for(let te=0;te<E.length;te++){const ce=E[te].start,be=E[te].end;if(m===-1&&n>=ce&&n<=be&&(m=te),n+s>=ce&&n<be)W=ce,N=be,T=N-n;else if(n+s<ce){U=ce;break}}return{len:T,start:W||0,end:N||0,nextStart:U,buffered:t,bufferedIndex:m}}static getBuffered(t){try{return t.buffered||Wa}catch(n){return G.log("failed to get media.buffered",n),Wa}}}const ra=/\{\$([a-zA-Z0-9-_]+)\}/g;function os(P){return ra.test(P)}function Ga(P,t){if(P.variableList!==null||P.hasVariableRefs){const n=P.variableList;return t.replace(ra,s=>{const m=s.substring(2,s.length-1),E=n==null?void 0:n[m];return E===void 0?(P.playlistParsingError||(P.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${m}"`)),s):E})}return t}function Is(P,t,n){let s=P.variableList;s||(P.variableList=s={});let m,E;if("QUERYPARAM"in t){m=t.QUERYPARAM;try{const T=new self.URL(n).searchParams;if(T.has(m))E=T.get(m);else throw new Error(`"${m}" does not match any query parameter in URI: "${n}"`)}catch(T){P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${T.message}`))}}else m=t.NAME,E=t.VALUE;m in s?P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${m}"`)):s[m]=E||""}function Vi(P,t,n){const s=t.IMPORT;if(n&&s in n){let m=P.variableList;m||(P.variableList=m={}),m[s]=n[s]}else P.playlistParsingError||(P.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const ms=/^(\d+)x(\d+)$/,bo=/(.+?)=(".*?"|.*?)(?:,|$)/g;class Fi{constructor(t,n){typeof t=="string"&&(t=Fi.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,E)=>(m[E.toLowerCase()]=!0,m),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=ms.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={},E='"';for(bo.lastIndex=0;(s=bo.exec(t))!==null;){const T=s[1].trim();let U=s[2];const W=U.indexOf(E)===0&&U.lastIndexOf(E)===U.length-1;let N=!1;if(W)U=U.slice(1,-1);else switch(T){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":N=!0}if(n&&(W||N))U=Ga(n,U);else if(!N&&!W)switch(T){case"CLOSED-CAPTIONS":if(U==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":G.warn(`${t}: attribute ${T} is missing quotes`)}m[T]=U}return m}}const vs="com.apple.hls.interstitial";function Na(P){return P!=="ID"&&P!=="CLASS"&&P!=="CUE"&&P!=="START-DATE"&&P!=="DURATION"&&P!=="END-DATE"&&P!=="END-ON-NEXT"}function Ys(P){return P==="SCTE35-OUT"||P==="SCTE35-IN"||P==="SCTE35-CMD"}class In{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 E=n.attr;for(const T in E)if(Object.prototype.hasOwnProperty.call(t,T)&&t[T]!==E[T]){G.warn(`DATERANGE tag attribute: "${T}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=T;break}t=y(new Fi({}),E,t)}if(this.attr=t,n?(this._startDate=n._startDate,this._cue=n._cue,this._endDate=n._endDate,this._dateAtEnd=n._dateAtEnd):this._startDate=new Date(t["START-DATE"]),"END-DATE"in this.attr){const E=(n==null?void 0:n.endDate)||new Date(this.attr["END-DATE"]);r(E.getTime())&&(this._endDate=E)}}get id(){return this.attr.ID}get class(){return this.attr.CLASS}get cue(){const t=this._cue;return t===void 0?this._cue=this.attr.enumeratedStringList(this.attr.CUE?"CUE":"X-CUE",{pre:!1,post:!1,once:!1}):t}get startTime(){const{tagAnchor:t}=this;return t===null||t.programDateTime===null?(G.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${t}`),NaN):t.start+(this.startDate.getTime()-t.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const t=this._endDate||this._dateAtEnd;if(t)return t;const n=this.duration;return n!==null?this._dateAtEnd=new Date(this._startDate.getTime()+n*1e3):null}get duration(){if("DURATION"in this.attr){const t=this.attr.decimalFloatingPoint("DURATION");if(r(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===vs}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 $a=10;class cs{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}get hasProgramDateTime(){return this.fragments.length?r(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||$a}get drift(){const t=this.driftEndTime-this.driftStartTime;return t>0?(this.driftEnd-this.driftStart)*1e3/t:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){var t;return(t=this.fragments)!=null&&t.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const t=this.partList;if(t){const n=this.lastPartIndex;if(n!==-1){for(let 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 ja(P){return P==="AES-128"||P==="AES-256"||P==="AES-256-CTR"}function Ui(P){switch(P){case"AES-128":case"AES-256":return pn.cbc;case"AES-256-CTR":return pn.ctr;default:throw new Error(`invalid full segment method ${P}`)}}function Ra(P){return Uint8Array.from(atob(P),t=>t.charCodeAt(0))}function Da(P){return Uint8Array.from(unescape(encodeURIComponent(P)),t=>t.charCodeAt(0))}function ws(P){const t=Da(P).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function Xs(P){const t=function(s,m,E){const T=s[m];s[m]=s[E],s[E]=T};t(P,0,3),t(P,1,2),t(P,4,5),t(P,6,7)}function xo(P){const t=P.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 E=m[0]==="base64",T=m[1];E?(s.splice(-1,1),n=Ra(T)):n=ws(T)}}return n}const ho=typeof self!="undefined"?self:void 0;var wa={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},gs={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function Zs(P){switch(P){case gs.FAIRPLAY:return wa.FAIRPLAY;case gs.PLAYREADY:return wa.PLAYREADY;case gs.WIDEVINE:return wa.WIDEVINE;case gs.CLEARKEY:return wa.CLEARKEY}}var no={CENC:"1077efecc0b24d02ace33c1e52e2fb4b",CLEARKEY:"e2719d58a985b3c9781ab030af78d30e",PLAYREADY:"9a04f07998404286ab92e65be0885f95",WIDEVINE:"edef8ba979d64acea3c827dcd51d21ed"};function Eo(P){if(P===no.WIDEVINE)return wa.WIDEVINE;if(P===no.PLAYREADY)return wa.PLAYREADY;if(P===no.CENC||P===no.CLEARKEY)return wa.CLEARKEY}function wo(P){switch(P){case wa.FAIRPLAY:return gs.FAIRPLAY;case wa.PLAYREADY:return gs.PLAYREADY;case wa.WIDEVINE:return gs.WIDEVINE;case wa.CLEARKEY:return gs.CLEARKEY}}function po(P){const{drmSystems:t,widevineLicenseUrl:n}=P,s=t?[wa.FAIRPLAY,wa.WIDEVINE,wa.PLAYREADY,wa.CLEARKEY].filter(m=>!!t[m]):[];return!s[wa.WIDEVINE]&&n&&s.push(wa.WIDEVINE),s}const ci=function(P){return ho!=null&&(P=ho.navigator)!=null&&P.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function si(P,t,n,s){let m;switch(P){case wa.FAIRPLAY:m=["cenc","sinf"];break;case wa.WIDEVINE:case wa.PLAYREADY:m=["cenc"];break;case wa.CLEARKEY:m=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${P}`)}return Ua(m,t,n,s)}function Ua(P,t,n,s){return[{initDataTypes:P,persistentState:s.persistentState||"optional",distinctiveIdentifier:s.distinctiveIdentifier||"optional",sessionTypes:s.sessionTypes||[s.sessionType||"temporary"],audioCapabilities:t.map(E=>({contentType:`audio/mp4; codecs=${E}`,robustness:s.audioRobustness||"",encryptionScheme:s.audioEncryptionScheme||null})),videoCapabilities:n.map(E=>({contentType:`video/mp4; codecs=${E}`,robustness:s.videoRobustness||"",encryptionScheme:s.videoEncryptionScheme||null}))}]}function Qa(P){var t;return P.sessionType==="persistent-license"||!!((t=P.sessionTypes)!=null&&t.some(n=>n==="persistent-license"))}function qa(P){const t=new Uint16Array(P.buffer,P.byteOffset,P.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),T=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(T){const U=T.childNodes[0]?T.childNodes[0].nodeValue:T.getAttribute("VALUE");if(U){const W=Ra(U).subarray(0,16);return Xs(W),W}}return null}let Qs={};class qs{static clearKeyUriToKeyIdMap(){Qs={}}constructor(t,n,s,m=[1],E=null){this.uri=void 0,this.method=void 0,this.keyFormat=void 0,this.keyFormatVersions=void 0,this.encrypted=void 0,this.isCommonEncryption=void 0,this.iv=null,this.key=null,this.keyId=null,this.pssh=null,this.method=t,this.uri=n,this.keyFormat=s,this.keyFormatVersions=m,this.iv=E,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!ja(t)}isSupported(){if(this.method){if(ja(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case gs.FAIRPLAY:case gs.WIDEVINE:case gs.PLAYREADY:case gs.CLEARKEY:return["ISO-23001-7","SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t){if(!this.encrypted||!this.uri)return null;if(ja(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(G.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const s=Qo(t);return new qs(this.method,this.uri,"identity",this.keyFormatVersions,s)}const n=xo(this.uri);if(n)switch(this.keyFormat){case gs.WIDEVINE:this.pssh=n,n.length>=22&&(this.keyId=n.subarray(n.length-22,n.length-6));break;case gs.PLAYREADY:{const s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=fe(s,null,n),this.keyId=qa(n);break}default:{let s=n.subarray(0,16);if(s.length!==16){const m=new Uint8Array(16);m.set(s,16-s.length),s=m}this.keyId=s;break}}if(!this.keyId||this.keyId.byteLength!==16){let s=Qs[this.uri];if(!s){const m=Object.keys(Qs).length%Number.MAX_SAFE_INTEGER;s=new Uint8Array(16),new DataView(s.buffer,12,4).setUint32(0,m),Qs[this.uri]=s}this.keyId=s}return this}}function Qo(P){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=P>>8*(15-n)&255;return t}const ds=/#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,Oo=/#EXT-X-MEDIA:(.*)/g,ko=/^#EXT(?:INF|-X-TARGETDURATION):/m,Ho=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),Su=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 So{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 le.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return ko.test(t)}static parseMasterPlaylist(t,n){const s=os(t),m={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},E=[];ds.lastIndex=0;let T;for(;(T=ds.exec(t))!=null;)if(T[1]){var U;const N=new Fi(T[1],m),te=Ga(m,T[2]),ce={attrs:N,bitrate:N.decimalInteger("BANDWIDTH")||N.decimalInteger("AVERAGE-BANDWIDTH"),name:N.NAME,url:So.resolve(te,n)},be=N.decimalResolution("RESOLUTION");be&&(ce.width=be.width,ce.height=be.height),Lo(N.CODECS,ce);const Pe=N["SUPPLEMENTAL-CODECS"];Pe&&(ce.supplemental={},Lo(Pe,ce.supplemental)),(U=ce.unknownCodecs)!=null&&U.length||E.push(ce),m.levels.push(ce)}else if(T[3]){const N=T[3],te=T[4];switch(N){case"SESSION-DATA":{const ce=new Fi(te,m),be=ce["DATA-ID"];be&&(m.sessionData===null&&(m.sessionData={}),m.sessionData[be]=ce);break}case"SESSION-KEY":{const ce=$u(te,n,m);ce.encrypted&&ce.isSupported()?(m.sessionKeys===null&&(m.sessionKeys=[]),m.sessionKeys.push(ce)):G.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${te}"`);break}case"DEFINE":{{const ce=new Fi(te,m);Is(m,ce,n)}break}case"CONTENT-STEERING":{const ce=new Fi(te,m);m.contentSteering={uri:So.resolve(ce["SERVER-URI"],n),pathwayId:ce["PATHWAY-ID"]||"."};break}case"START":{m.startTimeOffset=Ro(te);break}}}const W=E.length>0&&E.length<m.levels.length;return m.levels=W?E:m.levels,m.levels.length===0&&(m.playlistParsingError=new Error("no levels found in manifest")),m}static parseMasterPlaylistMedia(t,n,s){let m;const E={},T=s.levels,U={AUDIO:T.map(N=>({id:N.attrs.AUDIO,audioCodec:N.audioCodec})),SUBTITLES:T.map(N=>({id:N.attrs.SUBTITLES,textCodec:N.textCodec})),"CLOSED-CAPTIONS":[]};let W=0;for(Oo.lastIndex=0;(m=Oo.exec(t))!==null;){const N=new Fi(m[1],s),te=N.TYPE;if(te){const ce=U[te],be=E[te]||[];E[te]=be;const Pe=N.LANGUAGE,Se=N["ASSOC-LANGUAGE"],at=N.CHANNELS,rt=N.CHARACTERISTICS,Mt=N["INSTREAM-ID"],fr={attrs:N,bitrate:0,id:W++,groupId:N["GROUP-ID"]||"",name:N.NAME||Pe||"",type:te,default:N.bool("DEFAULT"),autoselect:N.bool("AUTOSELECT"),forced:N.bool("FORCED"),lang:Pe,url:N.URI?So.resolve(N.URI,n):""};if(Se&&(fr.assocLang=Se),at&&(fr.channels=at),rt&&(fr.characteristics=rt),Mt&&(fr.instreamId=Mt),ce!=null&&ce.length){const or=So.findGroup(ce,fr.groupId)||ce[0];Hs(fr,or,"audioCodec"),Hs(fr,or,"textCodec")}be.push(fr)}}return E}static parseLevelPlaylist(t,n,s,m,E,T){var U;const W={url:n},N=new cs(n),te=N.fragments,ce=[];let be=null,Pe=0,Se=0,at=0,rt=0,Mt=0,fr=null,or=new Ie(m,W),Or,Ur,un,Hr=-1,en=!1,on=null,Kr;if(Ho.lastIndex=0,N.m3u8=t,N.hasVariableRefs=os(t),((U=Ho.exec(t))==null?void 0:U[0])!=="#EXTM3U")return N.playlistParsingError=new Error("Missing format identifier #EXTM3U"),N;for(;(Or=Ho.exec(t))!==null;){en&&(en=!1,or=new Ie(m,W),or.playlistOffset=at,or.start=at,or.sn=Pe,or.cc=rt,Mt&&(or.bitrate=Mt),or.level=s,be&&(or.initSegment=be,be.rawProgramDateTime&&(or.rawProgramDateTime=be.rawProgramDateTime,be.rawProgramDateTime=null),on&&(or.setByteRange(on),on=null)));const Ni=Or[1];if(Ni){or.duration=parseFloat(Ni);const $i=(" "+Or[2]).slice(1);or.title=$i||null,or.tagList.push($i?["INF",Ni,$i]:["INF",Ni])}else if(Or[3]){if(r(or.duration)){or.playlistOffset=at,or.start=at,un&&Bs(or,un,N),or.sn=Pe,or.level=s,or.cc=rt,te.push(or);const $i=(" "+Or[3]).slice(1);or.relurl=Ga(N,$i),jo(or,fr,ce),fr=or,at+=or.duration,Pe++,Se=0,en=!0}}else{if(Or=Or[0].match(Su),!Or){G.warn("No matches on slow regex match for level playlist!");continue}for(Ur=1;Ur<Or.length&&Or[Ur]===void 0;Ur++);const $i=(" "+Or[Ur]).slice(1),li=(" "+Or[Ur+1]).slice(1),Gi=Or[Ur+2]?(" "+Or[Ur+2]).slice(1):null;switch($i){case"BYTERANGE":fr?or.setByteRange(li,fr):or.setByteRange(li);break;case"PROGRAM-DATE-TIME":or.rawProgramDateTime=li,or.tagList.push(["PROGRAM-DATE-TIME",li]),Hr===-1&&(Hr=te.length);break;case"PLAYLIST-TYPE":N.type&&Rs(N,$i,Or),N.type=li.toUpperCase();break;case"MEDIA-SEQUENCE":N.startSN!==0?Rs(N,$i,Or):te.length>0&&hu(N,$i,Or),Pe=N.startSN=parseInt(li);break;case"SKIP":{N.skippedSegments&&Rs(N,$i,Or);const qi=new Fi(li,N),Qn=qi.decimalInteger("SKIPPED-SEGMENTS");if(r(Qn)){N.skippedSegments+=Qn;for(let Aa=Qn;Aa--;)te.push(null);Pe+=Qn}const ti=qi.enumeratedString("RECENTLY-REMOVED-DATERANGES");ti&&(N.recentlyRemovedDateranges=(N.recentlyRemovedDateranges||[]).concat(ti.split(" ")));break}case"TARGETDURATION":N.targetduration!==0&&Rs(N,$i,Or),N.targetduration=Math.max(parseInt(li),1);break;case"VERSION":N.version!==null&&Rs(N,$i,Or),N.version=parseInt(li);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":N.live||Rs(N,$i,Or),N.live=!1;break;case"#":(li||Gi)&&or.tagList.push(Gi?[li,Gi]:[li]);break;case"DISCONTINUITY":rt++,or.tagList.push(["DIS"]);break;case"GAP":or.gap=!0,or.tagList.push([$i]);break;case"BITRATE":or.tagList.push([$i,li]),Mt=parseInt(li)*1e3,r(Mt)?or.bitrate=Mt:Mt=0;break;case"DATERANGE":{const qi=new Fi(li,N),Qn=new In(qi,N.dateRanges[qi.ID],N.dateRangeTagCount);N.dateRangeTagCount++,Qn.isValid||N.skippedSegments?N.dateRanges[Qn.id]=Qn:G.warn(`Ignoring invalid DATERANGE tag: "${li}"`),or.tagList.push(["EXT-X-DATERANGE",li]);break}case"DEFINE":{{const qi=new Fi(li,N);"IMPORT"in qi?Vi(N,qi,T):Is(N,qi,n)}break}case"DISCONTINUITY-SEQUENCE":N.startCC!==0?Rs(N,$i,Or):te.length>0&&hu(N,$i,Or),N.startCC=rt=parseInt(li);break;case"KEY":{const qi=$u(li,n,N);if(qi.isSupported()){if(qi.method==="NONE"){un=void 0;break}un||(un={}),un[qi.keyFormat]&&(un=y({},un)),un[qi.keyFormat]=qi}else G.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${li}"`);break}case"START":N.startTimeOffset=Ro(li);break;case"MAP":{const qi=new Fi(li,N);if(or.duration){const Qn=new Ie(m,W);Ao(Qn,qi,s,un),be=Qn,or.initSegment=be,be.rawProgramDateTime&&!or.rawProgramDateTime&&(or.rawProgramDateTime=be.rawProgramDateTime)}else{const Qn=or.byteRangeEndOffset;if(Qn){const ti=or.byteRangeStartOffset;on=`${Qn-ti}@${ti}`}else on=null;Ao(or,qi,s,un),be=or,en=!0}be.cc=rt;break}case"SERVER-CONTROL":{Kr&&Rs(N,$i,Or),Kr=new Fi(li),N.canBlockReload=Kr.bool("CAN-BLOCK-RELOAD"),N.canSkipUntil=Kr.optionalFloat("CAN-SKIP-UNTIL",0),N.canSkipDateRanges=N.canSkipUntil>0&&Kr.bool("CAN-SKIP-DATERANGES"),N.partHoldBack=Kr.optionalFloat("PART-HOLD-BACK",0),N.holdBack=Kr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{N.partTarget&&Rs(N,$i,Or);const qi=new Fi(li);N.partTarget=qi.decimalFloatingPoint("PART-TARGET");break}case"PART":{let qi=N.partList;qi||(qi=N.partList=[]);const Qn=Se>0?qi[qi.length-1]:void 0,ti=Se++,Aa=new Fi(li,N),Ca=new De(Aa,or,W,ti,Qn);qi.push(Ca),or.duration+=Ca.duration;break}case"PRELOAD-HINT":{const qi=new Fi(li,N);N.preloadHint=qi;break}case"RENDITION-REPORT":{const qi=new Fi(li,N);N.renditionReports=N.renditionReports||[],N.renditionReports.push(qi);break}default:G.warn(`line parsed but not handled: ${Or}`);break}}}fr&&!fr.relurl?(te.pop(),at-=fr.duration,N.partList&&(N.fragmentHint=fr)):N.partList&&(jo(or,fr,ce),or.cc=rt,N.fragmentHint=or,un&&Bs(or,un,N)),N.targetduration||(N.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const jn=te.length,di=te[0],sa=te[jn-1];if(at+=N.skippedSegments*N.targetduration,at>0&&jn&&sa){N.averagetargetduration=at/jn;const Ni=sa.sn;N.endSN=Ni!=="initSegment"?Ni:0,N.live||(sa.endList=!0),di&&N.startCC===void 0&&(N.startCC=di.cc),Hr>0&&(du(te,Hr),di&&ce.unshift(di))}else N.endSN=0,N.startCC=0;return N.fragmentHint&&(at+=N.fragmentHint.duration),N.totalduration=at,ce.length&&N.dateRangeTagCount&&di&&_o(ce,N),N.endCC=rt,N}}function _o(P,t){const n=P.length;if(!n)return;const s=P[n-1],m=t.live?1/0:t.totalduration,E=Object.keys(t.dateRanges);for(let T=E.length;T--;){const U=t.dateRanges[E[T]],W=U.startDate.getTime();U.tagAnchor=s.ref;for(let N=n;N--;){const te=Js(t,W,P,N,m);if(te!==-1){U.tagAnchor=t.fragments[te].ref;break}}}}function Js(P,t,n,s,m){const E=n[s];if(E){const U=E.programDateTime;if(t>=U||s===0){var T;const W=(((T=n[s+1])==null?void 0:T.start)||m)-E.start;if(t<=U+W*1e3){const N=n[s].sn-P.startSN,te=P.fragments;if(te.length>n.length){const be=(n[s+1]||te[te.length-1]).sn-P.startSN;for(let Pe=be;Pe>N;Pe--){const Se=te[Pe].programDateTime;if(t>=Se&&t<Se+te[Pe].duration*1e3)return Pe}}return N}}}return-1}function $u(P,t,n){var s,m;const E=new Fi(P,n),T=(s=E.METHOD)!=null?s:"",U=E.URI,W=E.hexadecimalInteger("IV"),N=E.KEYFORMATVERSIONS,te=(m=E.KEYFORMAT)!=null?m:"identity";U&&E.IV&&!W&&G.error(`Invalid IV: ${E.IV}`);const ce=U?So.resolve(U,t):"",be=(N||"1").split("/").map(Number).filter(Number.isFinite);return new qs(T,ce,te,be,W)}function Ro(P){const n=new Fi(P).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function Lo(P,t){let n=(P||"").split(/[ ,]+/).filter(s=>s);["video","audio","text"].forEach(s=>{const m=n.filter(E=>Kt(E,s));m.length&&(t[`${s}Codec`]=m.map(E=>E.split("/")[0]).join(","),n=n.filter(E=>m.indexOf(E)===-1))}),t.unknownCodecs=n}function Hs(P,t,n){const s=t[n];s&&(P[n]=s)}function du(P,t){let n=P[t];for(let s=t;s--;){const m=P[s];if(!m)return;m.programDateTime=n.programDateTime-m.duration*1e3,n=m}}function jo(P,t,n){P.rawProgramDateTime?n.push(P):t!=null&&t.programDateTime&&(P.programDateTime=t.endProgramDateTime)}function Ao(P,t,n,s){P.relurl=t.URI,t.BYTERANGE&&P.setByteRange(t.BYTERANGE),P.level=n,P.sn="initSegment",s&&(P.levelkeys=s),P.initSegment=null}function Bs(P,t,n){P.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(m=>t[m].isCommonEncryption)&&s.push(P)}function Rs(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function hu(P,t,n){P.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Au(P,t){const n=t.startPTS;if(r(n)){let s=0,m;t.sn>P.sn?(s=n-P.start,m=P):(s=P.start-n,m=t),m.duration!==s&&m.setDuration(s)}else t.sn>P.sn?P.cc===t.cc&&P.minEndPTS?t.setStart(P.start+(P.minEndPTS-P.start)):t.setStart(P.start+P.duration):t.setStart(Math.max(P.start-t.duration,0))}function tr(P,t,n,s,m,E){s-n<=0&&(G.warn("Fragment should have a positive duration",t),s=n+t.duration,E=m+t.duration);let U=n,W=s;const N=t.startPTS,te=t.endPTS;if(r(N)){const rt=Math.abs(N-n);r(t.deltaPTS)?t.deltaPTS=Math.max(rt,t.deltaPTS):t.deltaPTS=rt,U=Math.max(n,N),n=Math.min(n,N),m=Math.min(m,t.startDTS),W=Math.min(s,te),s=Math.max(s,te),E=Math.max(E,t.endDTS)}const ce=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(s-t.start),t.startPTS=n,t.maxStartPTS=U,t.startDTS=m,t.endPTS=s,t.minEndPTS=W,t.endDTS=E;const be=t.sn;if(!P||be<P.startSN||be>P.endSN)return 0;let Pe;const Se=be-P.startSN,at=P.fragments;for(at[Se]=t,Pe=Se;Pe>0;Pe--)Au(at[Pe],at[Pe-1]);for(Pe=Se;Pe<at.length-1;Pe++)Au(at[Pe],at[Pe+1]);return P.fragmentHint&&Au(at[at.length-1],P.fragmentHint),P.PTSKnown=P.alignedSliding=!0,ce}function hr(P,t){if(P===t)return;let n=null;const s=P.fragments;for(let N=s.length-1;N>=0;N--){const te=s[N].initSegment;if(te){n=te;break}}P.fragmentHint&&delete P.fragmentHint.endPTS;let m;wr(P,t,(N,te,ce,be)=>{if((!t.startCC||t.skippedSegments)&&te.cc!==N.cc){const Pe=N.cc-te.cc;for(let Se=ce;Se<be.length;Se++)be[Se].cc+=Pe;t.endCC=be[be.length-1].cc}r(N.startPTS)&&r(N.endPTS)&&(te.setStart(te.startPTS=N.startPTS),te.startDTS=N.startDTS,te.maxStartPTS=N.maxStartPTS,te.endPTS=N.endPTS,te.endDTS=N.endDTS,te.minEndPTS=N.minEndPTS,te.setDuration(N.endPTS-N.startPTS),te.duration&&(m=te),t.PTSKnown=t.alignedSliding=!0),N.hasStreams&&(te.elementaryStreams=N.elementaryStreams),te.loader=N.loader,N.hasStats&&(te.stats=N.stats),N.initSegment&&(te.initSegment=N.initSegment,n=N.initSegment)});const E=t.fragments,T=t.fragmentHint?E.concat(t.fragmentHint):E;if(n&&T.forEach(N=>{var te;N&&(!N.initSegment||N.initSegment.relurl===((te=n)==null?void 0:te.relurl))&&(N.initSegment=n)}),t.skippedSegments){if(t.deltaUpdateFailed=E.some(N=>!N),t.deltaUpdateFailed){G.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let N=t.skippedSegments;N--;)E.shift();t.startSN=E[0].sn}else{t.canSkipDateRanges&&(t.dateRanges=ur(P.dateRanges,t));const N=P.fragments.filter(te=>te.rawProgramDateTime);if(P.hasProgramDateTime&&!t.hasProgramDateTime)for(let te=1;te<T.length;te++)T[te].programDateTime===null&&jo(T[te],T[te-1],N);_o(N,t)}t.endCC=E[E.length-1].cc}if(!t.startCC){var U;const N=Kn(P,t.startSN-1);t.startCC=(U=N==null?void 0:N.cc)!=null?U:E[0].cc}vr(P.partList,t.partList,(N,te)=>{te.elementaryStreams=N.elementaryStreams,te.stats=N.stats}),m?tr(t,m,m.startPTS,m.endPTS,m.startDTS,m.endDTS):xn(P,t),E.length&&(t.totalduration=t.edge-E[0].start),t.driftStartTime=P.driftStartTime,t.driftStart=P.driftStart;const W=t.advancedDateTime;if(t.advanced&&W){const N=t.edge;t.driftStart||(t.driftStartTime=W,t.driftStart=N),t.driftEndTime=W,t.driftEnd=N}else t.driftEndTime=P.driftEndTime,t.driftEnd=P.driftEnd,t.advancedDateTime=P.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=P.requestScheduled)}function ur(P,t){const{dateRanges:n,recentlyRemovedDateranges:s}=t,m=y({},P);s&&s.forEach(U=>{delete m[U]});const T=Object.keys(m).length;return T&&Object.keys(n).forEach(U=>{const W=m[U],N=new In(n[U].attr,W);N.isValid?(m[U]=N,W||(N.tagOrder+=T)):G.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${yn(n[U].attr)}"`)}),m}function vr(P,t,n){if(P&&t){let s=0;for(let m=0,E=P.length;m<=E;m++){const T=P[m],U=t[m+s];T&&U&&T.index===U.index&&T.fragment.sn===U.fragment.sn?n(T,U):s--}}}function wr(P,t,n){const s=t.skippedSegments,m=Math.max(P.startSN,t.startSN)-t.startSN,E=(P.fragmentHint?1:0)+(s?t.endSN:Math.min(P.endSN,t.endSN))-t.startSN,T=t.startSN-P.startSN,U=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,W=P.fragmentHint?P.fragments.concat(P.fragmentHint):P.fragments;for(let N=m;N<=E;N++){const te=W[T+N];let ce=U[N];if(s&&!ce&&te&&(ce=t.fragments[N]=te),te&&ce){if(n(te,ce,N,U),te.url&&te.url!==ce.url){t.playlistParsingError=vn(`media sequence mismatch ${ce.sn}:`,P,t,te,ce);return}else if(te.cc!==ce.cc){t.playlistParsingError=vn(`discontinuity sequence mismatch (${te.cc}!=${ce.cc})`,P,t,te,ce);return}}}}function vn(P,t,n,s,m){return new Error(`${P} ${m.url}
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}
|
|
|
|
|
|
Playlist starting @${n.startSN}
|
|
|
${n.m3u8}`)}function xn(P,t,n=!0){const s=t.startSN+t.skippedSegments-P.startSN,m=P.fragments,E=s>=0;let T=0;if(E&&s<m.length)T=m[s].start;else if(E&&t.startSN===P.endSN+1)T=P.fragmentEnd;else if(E&&n)T=P.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)T=P.fragmentStart;else return;Nn(t,T)}function Nn(P,t){if(t){const n=P.fragments;for(let s=P.skippedSegments;s<n.length;s++)n[s].addStart(t);P.fragmentHint&&P.fragmentHint.addStart(t)}}function Rn(P,t=1/0){let n=1e3*P.targetduration;if(P.updated){const s=P.fragments;if(s.length&&n*4>t){const E=s[s.length-1].duration*1e3;E<n&&(n=E)}}else n/=2;return Math.round(n)}function Kn(P,t,n){if(!P)return null;let s=P.fragments[t-P.startSN];return s||(s=P.fragmentHint,s&&s.sn===t)?s:t<P.startSN&&n&&n.sn===t?n:null}function lr(P,t,n){return P?Br(P.partList,t,n):null}function Br(P,t,n){if(P)for(let s=P.length;s--;){const m=P[s];if(m.index===n&&m.fragment.sn===t)return m}return null}function xr(P){P.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(m=>{m.level=n,m.initSegment&&(m.initSegment.level=n)})})}function hn(P,t){for(let s=0,m=P.length;s<m;s++){var n;if(((n=P[s])==null?void 0:n.cc)===t)return P[s]}return null}function Wn(P,t){return!!(P&&t.startCC<P.endCC&&t.endCC>P.startCC)}function lt(P,t){if(P){const n=P.start+t;P.start=P.startPTS=n,P.endPTS=n+P.duration}}function Cn(P,t){const n=t.fragments;for(let s=0,m=n.length;s<m;s++)lt(n[s],P);t.fragmentHint&<(t.fragmentHint,P),t.alignedSliding=!0}function Yn(P,t){P&&(ii(t,P),!t.alignedSliding&&P&&Ki(t,P),!t.alignedSliding&&P&&!t.skippedSegments&&xn(P,t,!1))}function ii(P,t){if(!Wn(t,P))return;const n=Math.min(t.endCC,P.endCC),s=hn(t.fragments,n),m=hn(P.fragments,n);if(!s||!m)return;G.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=s.start-m.start;Cn(E,P)}function Ki(P,t){if(!P.hasProgramDateTime||!t.hasProgramDateTime)return;const n=P.fragments,s=t.fragments;if(!n.length||!s.length)return;let m,E;const T=Math.min(t.endCC,P.endCC);t.startCC<T&&P.startCC<T&&(m=hn(s,T),E=hn(n,T)),(!m||!E)&&(m=s[Math.floor(s.length/2)],E=hn(n,m.cc)||n[Math.floor(n.length/2)]);const U=m.programDateTime,W=E.programDateTime;if(!U||!W)return;const N=(W-U)/1e3-(E.start-m.start);Cn(N,P)}const Nr={toString:function(P){let t="";const n=P.length;for(let s=0;s<n;s++)t+=`[${P.start(s).toFixed(3)}-${P.end(s).toFixed(3)}]`;return t}},Wr={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 ma extends Ta{constructor(t,n,s,m,E){super(m,t.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=Wr.STOPPED,this.playlistType=void 0,this.media=null,this.mediaBuffer=null,this.config=void 0,this.bitrateTest=!1,this.lastCurrentTime=0,this.nextLoadPosition=0,this.startPosition=0,this.startTimeOffset=null,this.retryDate=0,this.levels=null,this.fragmentLoader=void 0,this.keyLoader=void 0,this.levelLastLoaded=null,this.startFragRequested=!1,this.decrypter=void 0,this.initPTS=[],this.buffering=!0,this.loadingParts=!1,this.loopSn=void 0,this.onMediaSeeking=()=>{const{config:T,fragCurrent:U,media:W,mediaBuffer:N,state:te}=this,ce=W?W.currentTime:0,be=pi.bufferInfo(N||W,ce,T.maxBufferHole);if(this.log(`media seeking to ${r(ce)?ce.toFixed(3):ce}, state: ${te}`),this.state===Wr.ENDED)this.resetLoadingState();else if(U){const Pe=T.maxFragLookUpTolerance,Se=U.start-Pe,at=U.start+U.duration+Pe;if(!be.len||at<be.start||Se>be.end){const rt=ce>at;(ce<Se||rt)&&(rt&&U.loader&&(this.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),U.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(W){this.fragmentTracker.removeFragmentsInRange(ce,1/0,this.playlistType,!0);const Pe=this.lastCurrentTime;if(ce>Pe&&(this.lastCurrentTime=ce),!this.loadingParts){const Se=Math.max(be.end,ce),at=this.shouldLoadParts(this.getLevelDetails(),Se);at&&(this.log(`LL-Part loading ON after seeking to ${ce.toFixed(2)} with buffer @${Se.toFixed(2)}`),this.loadingParts=at)}}!this.hls.hasEnoughToStart&&!be.len&&(this.log(`setting startPosition to ${ce} because of seek before start`),this.nextLoadPosition=this.startPosition=ce),this.tickImmediate()},this.onMediaEnded=()=>{this.log("setting startPosition to 0 because media ended"),this.startPosition=this.lastCurrentTime=0},this.playlistType=E,this.hls=t,this.fragmentLoader=new mn(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new Ei(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===Wr.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=Wr.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 E=t.buffered;this.config.maxBufferHole&&E&&E.length>1&&(t=pi.bufferedInfo(E,t.start,0));const T=t.nextStart;if(T&&T>m&&T<n.edge||this.media.currentTime<t.start)return!1;const W=n.partList;if(W!=null&&W.length){const te=W[W.length-1];return pi.isBuffered(this.media,te.start+te.duration/2)}const N=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(N)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null){var t;return(t=this.levelLastLoaded)==null?void 0:t.details}}get timelineOffset(){const t=this.config.timelineOffset;if(t){var n;return((n=this.getLevelDetails())==null?void 0:n.appliedTimelineOffset)||t}return 0}onMediaAttached(t,n){const s=this.media=this.mediaBuffer=n.media;s.removeEventListener("seeking",this.onMediaSeeking),s.removeEventListener("ended",this.onMediaEnded),s.addEventListener("seeking",this.onMediaSeeking),s.addEventListener("ended",this.onMediaEnded);const m=this.config;this.levels&&m.autoStartLoad&&this.state===Wr.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),m.removeEventListener("seeking",this.onMediaSeeking),m.removeEventListener("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=Wr.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=E=>{const T=E.frag;if(this.fragContextChanged(T)){this.warn(`${T.type} sn: ${T.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(T,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(T);return}T.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,s,m).then(E=>{if(!E)return;const T=this.state,U=E.frag;if(this.fragContextChanged(U)){(T===Wr.FRAG_LOADING||!this.fragCurrent&&T===Wr.PARSING)&&(this.fragmentTracker.removeFragment(U),this.state=Wr.IDLE);return}"payload"in E&&(this.log(`Loaded ${U.type} sn: ${U.sn} of ${this.playlistLabel()} ${U.level}`),this.hls.trigger(o.FRAG_LOADED,E)),this._handleFragmentLoadComplete(E)}).catch(E=>{this.state===Wr.STOPPED||this.state===Wr.ERROR||(this.warn(`Frag error: ${(E==null?void 0:E.message)||E}`),this.resetFragmentLoading(t))})}clearTrackerIfNeeded(t){var n;const{fragmentTracker:s}=this;if(s.getState(t)===ir.APPENDING){const E=t.type,T=this.getFwdBufferInfo(this.mediaBuffer,E),U=Math.max(t.duration,T?T.len:this.config.maxBufferLength),W=this.backtrackFragment;((W?t.sn-W.sn:0)===1||this.reduceMaxBufferLength(U,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)===ir.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:E,payload:T}=s,U=E.decryptdata;if(T&&T.byteLength>0&&U!=null&&U.key&&U.iv&&ja(U.method)){const W=self.performance.now();return this.decrypter.decrypt(new Uint8Array(T),U.key.buffer,U.iv.buffer,Ui(U.method)).catch(N=>{throw m.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:N,reason:N.message,frag:E}),N}).then(N=>{const te=self.performance.now();return m.trigger(o.FRAG_DECRYPTED,{frag:E,payload:N,stats:{tstart:W,tdecrypt:te}}),s.payload=N,this.completeInitSegmentLoad(s)})}return this.completeInitSegmentLoad(s)}).catch(s=>{this.state===Wr.STOPPED||this.state===Wr.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!==Wr.STOPPED&&(this.state=Wr.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()}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?Nr.toString(pi.getBuffered(s)):"(detached)"})`),_e(t)){var m;if(t.type!==u.SUBTITLE){const T=t.elementaryStreams;if(!Object.keys(T).some(U=>!!T[U])){this.state=Wr.IDLE;return}}const E=(m=this.levels)==null?void 0:m[t.level];E!=null&&E.fragmentError&&(this.log(`Resetting level fragment error count of ${E.fragmentError} on frag buffered`),E.fragmentError=0)}this.state=Wr.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:s,part:m,partsLoaded:E}=t,T=!E||E.length===0||E.some(W=>!W),U=new fs(s.level,s.sn,s.stats.chunkCount+1,0,m?m.index:-1,!T);n.flush(U)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=null,m){var E;this.fragCurrent=t;const T=n==null?void 0:n.details;if(!this.levels||!T)throw new Error(`frag load aborted, missing level${T?"":" detail"}s`);let U=null;t.encrypted&&!((E=t.decryptdata)!=null&&E.key)?(this.log(`Loading key for ${t.sn} of [${T.startSN}-${T.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=Wr.KEY_LOADING,this.fragCurrent=t,U=this.keyLoader.load(t).then(ce=>{if(!this.fragContextChanged(ce.frag))return this.hls.trigger(o.KEY_LOADED,ce),this.state===Wr.KEY_LOADING&&(this.state=Wr.IDLE),ce}),this.hls.trigger(o.KEY_LOADING,{frag:t}),this.fragCurrent===null&&(U=Promise.reject(new Error("frag load aborted, context changed in KEY_LOADING")))):t.encrypted||(U=this.keyLoader.loadClear(t,T.encryptedFragments),U&&this.log("[eme] blocking frag load until media-keys acquired"));const W=this.fragPrevious;if(_e(t)&&(!W||t.sn!==W.sn)){const ce=this.shouldLoadParts(n.details,t.end);ce!==this.loadingParts&&(this.log(`LL-Part loading ${ce?"ON":"OFF"} loading sn ${W==null?void 0:W.sn}->${t.sn}`),this.loadingParts=ce)}if(s=Math.max(t.start,s||0),this.loadingParts&&_e(t)){const ce=T.partList;if(ce&&m){s>t.end&&T.fragmentHint&&(t=T.fragmentHint);const be=this.getNextPart(ce,t,s);if(be>-1){const Pe=ce[be];t=this.fragCurrent=Pe.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Pe.index} (${be}/${ce.length-1}) of ${this.fragInfo(t,!1,Pe)}) cc: ${t.cc} [${T.startSN}-${T.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Pe.start+Pe.duration,this.state=Wr.FRAG_LOADING;let Se;return U?Se=U.then(at=>!at||this.fragContextChanged(at.frag)?null:this.doFragPartsLoad(t,Pe,n,m)).catch(at=>this.handleFragLoadError(at)):Se=this.doFragPartsLoad(t,Pe,n,m).catch(at=>this.handleFragLoadError(at)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Pe,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):Se}else if(!t.url||this.loadedEndOfParts(ce,s))return Promise.resolve(null)}}if(_e(t)&&this.loadingParts)this.log(`LL-Part loading OFF after next part miss @${s.toFixed(2)}`),this.loadingParts=!1;else if(!t.url)return Promise.resolve(null);this.log(`Loading ${t.type} sn: ${t.sn} of ${this.fragInfo(t,!1)}) cc: ${t.cc} ${T?"["+T.startSN+"-"+T.endSN+"]":""}, target: ${parseFloat(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=Wr.FRAG_LOADING;const N=this.config.progressive;let te;return N&&U?te=U.then(ce=>!ce||this.fragContextChanged(ce==null?void 0:ce.frag)?null:this.fragmentLoader.load(t,m)).catch(ce=>this.handleFragLoadError(ce)):te=Promise.all([this.fragmentLoader.load(t,N?m:void 0),U]).then(([ce])=>(!N&&ce&&m&&m(ce),ce)).catch(ce=>this.handleFragLoadError(ce)),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")):te}doFragPartsLoad(t,n,s,m){return new Promise((E,T)=>{var U;const W=[],N=(U=s.details)==null?void 0:U.partList,te=ce=>{this.fragmentLoader.loadPart(t,ce,m).then(be=>{W[ce.index]=be;const Pe=be.part;this.hls.trigger(o.FRAG_LOADED,be);const Se=lr(s.details,t.sn,ce.index+1)||Br(N,t.sn,ce.index+1);if(Se)te(Se);else return E({frag:t,part:Pe,partsLoaded:W})}).catch(T)};te(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;t.data&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):this.hls.trigger(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!==Wr.PARSING){!this.fragCurrent&&this.state!==Wr.STOPPED&&this.state!==Wr.ERROR&&(this.state=Wr.IDLE);return}const{frag:s,part:m,level:E}=n,T=self.performance.now();s.stats.parsing.end=T,m&&(m.stats.parsing.end=T);const U=this.getLevelDetails(),N=U&&s.sn>U.endSN||this.shouldLoadParts(U,s.end);N!==this.loadingParts&&(this.log(`LL-Part loading ${N?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=N),this.updateLevelTiming(s,m,E,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t!=null&&t.partList){var s;const E=t.partList[0],T=E.end+(((s=t.fragmentHint)==null?void 0:s.duration)||0);if(n>=T){var m;if((this.hls.hasEnoughToStart?((m=this.media)==null?void 0:m.currentTime)||this.lastCurrentTime:this.getLoadPosition())>E.start-E.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:s}=this,{level:m,sn:E,part:T}=t;if(!(n!=null&&n[m]))return this.warn(`Levels object was unset while buffering fragment ${E} of ${this.playlistLabel()} ${m}. The current chunk will not be buffered.`),null;const U=n[m],W=U.details,N=T>-1?lr(W,E,T):null,te=N?N.fragment:Kn(W,E,s);return te?(s&&s!==te&&(te.stats=s.stats),{frag:te,part:N,level:U}):null}bufferFragmentData(t,n,s,m,E){var T;if(!t||this.state!==Wr.PARSING)return;const{data1:U,data2:W}=t;let N=U;if(U&&W&&(N=Qe(U,W)),!((T=N)!=null&&T.length))return;const te={type:t.type,frag:n,part:s,chunkMeta:m,parent:n.type,data:N};if(this.hls.trigger(o.BUFFER_APPENDING,te),t.dropped&&t.independent&&!s){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!pi.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,m=pi.bufferInfo(n,s,0),E=t.duration,T=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),U=Math.max(Math.min(t.start-T,m.end-T),s+T);t.start-U>T&&this.flushMainBuffer(U,t.start)}getFwdBufferInfo(t,n){var s;const m=this.getLoadPosition();if(!r(m))return null;const T=this.lastCurrentTime>m||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,m,n,T)}getFwdBufferInfoAtPos(t,n,s,m){const E=pi.bufferInfo(t,n,m);if(E.len===0&&E.nextStart!==void 0){const T=this.fragmentTracker.getBufferedFrag(n,s);if(T&&(E.nextStart<=T.end||T.gap)){const U=Math.max(Math.min(E.nextStart,T.end)-n,m);return pi.bufferInfo(t,n,U)}}return E}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),E=Math.max(t-n*3,s.maxMaxBufferLength/2,m);return E>=m?(s.maxMaxBufferLength=E,this.warn(`Reduce max buffer length to ${E}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){var s;const m=(s=this.fragmentTracker)==null?void 0:s.getAppendedFrag(t,n);return m&&"fragment"in m?m.fragment:m}getNextFragment(t,n){const s=n.fragments,m=s.length;if(!m)return null;const{config:E}=this,T=s[0].start,U=E.lowLatencyMode&&!!n.partList;let W=null;if(n.live){const ce=E.initialLiveManifestSize;if(m<ce)return this.warn(`Not enough fragments to start playback (have: ${m}, need: ${ce})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<T){var N;U&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),W=this.getInitialLiveFragment(n);const be=this.hls.startPosition,Pe=this.hls.liveSyncPosition,Se=W?(be!==-1&&be>=T?be:Pe)||W.start:t;this.log(`Setting startPosition to ${Se} to match start frag at live edge. mainStart: ${be} liveSyncPosition: ${Pe} frag.start: ${(N=W)==null?void 0:N.start}`),this.startPosition=this.nextLoadPosition=Se}}else t<=T&&(W=s[0]);if(!W){const ce=this.loadingParts?n.partEnd:n.fragmentEnd;W=this.getFragmentAtPosition(t,ce,n)}let te=this.filterReplacedPrimary(W,n);if(!te&&W){const ce=W.sn-n.startSN;te=this.filterReplacedPrimary(s[ce+1]||null,n)}return this.mapToInitFragWhenRequired(te)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===ir.OK||s===ir.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,m,E){let T=null;if(t.gap&&(T=this.getNextFragment(this.nextLoadPosition,n),T&&!T.gap&&s.nextStart)){const U=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,s.nextStart,m,0);if(U!==null&&s.len+U.len>=E){const W=T.sn;return this.loopSn!==W&&(this.log(`buffer full after gaps in "${m}" playlist starting at sn: ${W}`),this.loopSn=W),null}}return this.loopSn=void 0,T}get primaryPrefetch(){if(Ci(this.hls.config)){var t,n;if((t=this.hls.interstitialsManager)==null||(n=t.playingItem)==null?void 0:n.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(Ci(this.hls.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,m=s==null?void 0:s.bufferingItem;if(m){const T=m.event;if(T){if(T.appendInPlace||Math.abs(t.start-m.start)>1||m.start===0)return null}else if(t.end<=m.start&&(n==null?void 0:n.live)===!1||t.start>m.end&&m.nextEvent&&(m.nextEvent.appendInPlace||t.start-m.end>1))return null}const E=s==null?void 0:s.playerQueue;if(E)for(let T=E.length;T--;){const U=E[T].interstitial;if(U.appendInPlace&&t.start>=U.startTime&&t.end<=U.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!(t!=null&&t.initSegment.data)&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,s){let m=-1,E=!1,T=!0;for(let U=0,W=t.length;U<W;U++){const N=t[U];if(T=T&&!N.independent,m>-1&&s<N.start)break;const te=N.loaded;te?m=-1:(E||N.independent||T)&&N.fragment===n&&(m=U),E=te}return m}loadedEndOfParts(t,n){const s=t[t.length-1];return s&&n>s.start&&s.loaded}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=yi(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!m){const E=s.sn+1;if(E>=t.startSN&&E<=t.endSN){const T=n[E-t.startSN];s.cc===T.cc&&(m=T,this.log(`Live playlist, switching playlist, load frag with next SN: ${m.sn}`))}m||(m=nt(t,s.cc,s.end),m&&this.log(`Live playlist, switching playlist, load frag with same CC: ${m.sn}`))}}else{const E=this.hls.liveSyncPosition;E!==null&&(m=this.getFragmentAtPosition(E,this.bitrateTest?t.fragmentEnd:t.edge,t))}return m}getFragmentAtPosition(t,n,s){const{config:m}=this;let{fragPrevious:E}=this,{fragments:T,endSN:U}=s;const{fragmentHint:W}=s,{maxFragLookUpTolerance:N}=m,te=s.partList,ce=!!(this.loadingParts&&te!=null&&te.length&&W);ce&&W&&!this.bitrateTest&&te[te.length-1].fragment.sn===W.sn&&(T=T.concat(W),U=W.sn);let be;if(t<n){var Pe;const at=t<this.lastCurrentTime||t>n-N||(Pe=this.media)!=null&&Pe.paused||!this.startFragRequested?0:N;be=qn(E,T,t,at)}else be=T[T.length-1];if(be){const Se=be.sn-s.startSN,at=this.fragmentTracker.getState(be);if((at===ir.OK||at===ir.PARTIAL&&be.gap)&&(E=be),E&&be.sn===E.sn&&(!ce||te[0].fragment.sn>be.sn||!s.live&&!ce)&&E&&be.level===E.level){const Mt=T[Se+1];be.sn<U&&this.fragmentTracker.getState(Mt)!==ir.OK?be=Mt:be=null}}return be}alignPlaylists(t,n,s){const m=t.fragments.length;if(!m)return this.warn("No fragments in live playlist"),0;const E=t.fragmentStart,T=!n,U=t.alignedSliding&&r(E);if(T||!U&&!E){Yn(s,t);const W=t.fragmentStart;return this.log(`Live playlist sliding: ${W.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${m}`),W}return E}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 E=this.startTimeOffset!==null,T=E?this.startTimeOffset:t.startTimeOffset;T!==null&&r(T)?(s=n+T,T<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${T} found in ${E?"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&&_e(t)&&t.stats.aborted&&(this.warn(`Fragment ${t.sn}${n?" part "+n.index:""} of ${this.playlistLabel()} ${t.level} was aborted`),this.resetFragmentLoading(t))}resetFragmentLoading(t){(!this.fragCurrent||!this.fragContextChanged(t)&&this.state!==Wr.FRAG_LOADING_WAITING_RETRY)&&(this.state=Wr.IDLE)}onFragmentOrKeyLoadError(t,n){if(n.chunkMeta&&!n.frag){const Se=this.getCurrentContext(n.chunkMeta);Se&&(n.frag=Se.frag)}const s=n.frag;if(!s||s.type!==t||!this.levels)return;if(this.fragContextChanged(s)){var m;this.warn(`Frag load error must match current frag to retry ${s.url} > ${(m=this.fragCurrent)==null?void 0:m.url}`);return}const E=n.details===f.FRAG_GAP;E&&this.fragmentTracker.fragBuffered(s,!0);const T=n.errorAction,{action:U,flags:W,retryCount:N=0,retryConfig:te}=T||{},ce=!!T&&!!te,be=ce&&U===$e.RetryRequest,Pe=ce&&!T.resolved&&W===Je.MoveAllAlternatesMatchingHost;if(!be&&Pe&&_e(s)&&!s.endList)this.resetFragmentErrors(t),this.treatAsGap(s),T.resolved=!0;else if((be||Pe)&&N<te.maxNumRetry){this.resetStartWhenNotLoaded(this.levelLastLoaded);const Se=cr(te,N);this.warn(`Fragment ${s.sn} of ${t} ${s.level} errored with ${n.details}, retrying loading ${N+1}/${te.maxNumRetry} in ${Se}ms`),T.resolved=!0,this.retryDate=self.performance.now()+Se,this.state=Wr.FRAG_LOADING_WAITING_RETRY}else if(te&&T)if(this.resetFragmentErrors(t),N<te.maxNumRetry)!E&&U!==$e.RemoveAlternatePermanently&&(T.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${N})`);return}else U===$e.SendAlternateToPenaltyBox?this.state=Wr.WAITING_LEVEL:this.state=Wr.ERROR;this.tickImmediate()}reduceLengthAndFlushBuffer(t){if(this.state===Wr.PARSING||this.state===Wr.PARSED){const n=t.frag,s=t.parent,m=this.getFwdBufferInfo(this.mediaBuffer,s),E=m&&m.len>.5;E&&this.reduceMaxBufferLength(m.len,(n==null?void 0:n.duration)||10);const T=!E;return T&&this.warn(`Buffer full error while media.currentTime is not buffered, flush ${s} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),T}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==Wr.STOPPED&&(this.state=Wr.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const m=pi.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,m,s),this.state===Wr.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==Wr.STOPPED&&(this.state=Wr.IDLE)}resetStartWhenNotLoaded(t){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const n=t?t.details:null;n!=null&&n.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(n,n.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(t){this.warn(`The loading context changed while buffering fragment ${t.sn} of ${this.playlistLabel()} ${t.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(this.levelLastLoaded),this.resetLoadingState()}removeUnbufferedFrags(t=0){this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)}updateLevelTiming(t,n,s,m){const E=s.details;if(!E){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((W,N)=>{const te=t.elementaryStreams[N];if(te){const ce=te.endPTS-te.startPTS;if(ce<=0)return this.warn(`Could not parse fragment ${t.sn} ${N} duration reliably (${ce})`),W||!1;const be=m?0:tr(E,t,te.startPTS,te.endPTS,te.startDTS,te.endDTS);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:E,level:s,drift:be,type:N,frag:t,start:te.startPTS,end:te.endPTS}),!0}return W},!1)){var U;if(s.fragmentError===0&&this.treatAsGap(t,s),((U=this.transmuxer)==null?void 0:U.error)===null){const W=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(W.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:W,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${s.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=Wr.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,E;return`${this.playlistLabel()} ${t.level} (${s?"part":"frag"}:[${((m=n&&!s?t.startPTS:(s||t).start)!=null?m:NaN).toFixed(3)}-${((E=n&&!s?t.endPTS:(s||t).end)!=null?E: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.levelLastLoaded),this.resetLoadingState())}set state(t){const n=this._state;n!==t&&(this._state=t,this.log(`${n}->${t}`))}get state(){return this._state}}function Ci(P){return!!P.interstitialsController&&P.enableInterstitialPlayback!==!1}class na{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=Ds(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function Ds(P,t){const n=new Uint8Array(t);let s=0;for(let m=0;m<P.length;m++){const E=P[m];n.set(E,s),s+=E.length}return n}var ai={exports:{}},Ws;function Uo(){return Ws||(Ws=1,function(P){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function m(W,N,te){this.fn=W,this.context=N,this.once=te||!1}function E(W,N,te,ce,be){if(typeof te!="function")throw new TypeError("The listener must be a function");var Pe=new m(te,ce||W,be),Se=n?n+N:N;return W._events[Se]?W._events[Se].fn?W._events[Se]=[W._events[Se],Pe]:W._events[Se].push(Pe):(W._events[Se]=Pe,W._eventsCount++),W}function T(W,N){--W._eventsCount===0?W._events=new s:delete W._events[N]}function U(){this._events=new s,this._eventsCount=0}U.prototype.eventNames=function(){var N=[],te,ce;if(this._eventsCount===0)return N;for(ce in te=this._events)t.call(te,ce)&&N.push(n?ce.slice(1):ce);return Object.getOwnPropertySymbols?N.concat(Object.getOwnPropertySymbols(te)):N},U.prototype.listeners=function(N){var te=n?n+N:N,ce=this._events[te];if(!ce)return[];if(ce.fn)return[ce.fn];for(var be=0,Pe=ce.length,Se=new Array(Pe);be<Pe;be++)Se[be]=ce[be].fn;return Se},U.prototype.listenerCount=function(N){var te=n?n+N:N,ce=this._events[te];return ce?ce.fn?1:ce.length:0},U.prototype.emit=function(N,te,ce,be,Pe,Se){var at=n?n+N:N;if(!this._events[at])return!1;var rt=this._events[at],Mt=arguments.length,fr,or;if(rt.fn){switch(rt.once&&this.removeListener(N,rt.fn,void 0,!0),Mt){case 1:return rt.fn.call(rt.context),!0;case 2:return rt.fn.call(rt.context,te),!0;case 3:return rt.fn.call(rt.context,te,ce),!0;case 4:return rt.fn.call(rt.context,te,ce,be),!0;case 5:return rt.fn.call(rt.context,te,ce,be,Pe),!0;case 6:return rt.fn.call(rt.context,te,ce,be,Pe,Se),!0}for(or=1,fr=new Array(Mt-1);or<Mt;or++)fr[or-1]=arguments[or];rt.fn.apply(rt.context,fr)}else{var Or=rt.length,Ur;for(or=0;or<Or;or++)switch(rt[or].once&&this.removeListener(N,rt[or].fn,void 0,!0),Mt){case 1:rt[or].fn.call(rt[or].context);break;case 2:rt[or].fn.call(rt[or].context,te);break;case 3:rt[or].fn.call(rt[or].context,te,ce);break;case 4:rt[or].fn.call(rt[or].context,te,ce,be);break;default:if(!fr)for(Ur=1,fr=new Array(Mt-1);Ur<Mt;Ur++)fr[Ur-1]=arguments[Ur];rt[or].fn.apply(rt[or].context,fr)}}return!0},U.prototype.on=function(N,te,ce){return E(this,N,te,ce,!1)},U.prototype.once=function(N,te,ce){return E(this,N,te,ce,!0)},U.prototype.removeListener=function(N,te,ce,be){var Pe=n?n+N:N;if(!this._events[Pe])return this;if(!te)return T(this,Pe),this;var Se=this._events[Pe];if(Se.fn)Se.fn===te&&(!be||Se.once)&&(!ce||Se.context===ce)&&T(this,Pe);else{for(var at=0,rt=[],Mt=Se.length;at<Mt;at++)(Se[at].fn!==te||be&&!Se[at].once||ce&&Se[at].context!==ce)&&rt.push(Se[at]);rt.length?this._events[Pe]=rt.length===1?rt[0]:rt:T(this,Pe)}return this},U.prototype.removeAllListeners=function(N){var te;return N?(te=n?n+N:N,this._events[te]&&T(this,te)):(this._events=new s,this._eventsCount=0),this},U.prototype.off=U.prototype.removeListener,U.prototype.addListener=U.prototype.on,U.prefixed=n,U.EventEmitter=U,P.exports=U}(ai)),ai.exports}var Ls=Uo(),va=K(Ls);const Va="1.6.5",ys={};function Mn(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Ns(){const P=ys[Va];if(P)return P.clientCount++,P;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),m={worker:new self.Worker(n),objectURL:n,clientCount:1};return ys[Va]=m,m}function $s(P){const t=ys[P];if(t)return t.clientCount++,t;const n=new self.URL(P,self.location.href).href,m={worker:new self.Worker(n),scriptURL:n,clientCount:1};return ys[P]=m,m}function Ke(P){const t=ys[P||Va];if(t&&t.clientCount--===1){const{worker:s,objectURL:m}=t;delete ys[P||Va],m&&self.URL.revokeObjectURL(m),s.terminate()}}function Xe(P,t){return t+10<=P.length&&P[t]===51&&P[t+1]===68&&P[t+2]===73&&P[t+3]<255&&P[t+4]<255&&P[t+6]<128&&P[t+7]<128&&P[t+8]<128&&P[t+9]<128}function Bt(P,t){return t+10<=P.length&&P[t]===73&&P[t+1]===68&&P[t+2]===51&&P[t+3]<255&&P[t+4]<255&&P[t+6]<128&&P[t+7]<128&&P[t+8]<128&&P[t+9]<128}function Yt(P,t){let n=0;return n=(P[t]&127)<<21,n|=(P[t+1]&127)<<14,n|=(P[t+2]&127)<<7,n|=P[t+3]&127,n}function pr(P,t){const n=t;let s=0;for(;Bt(P,t);){s+=10;const m=Yt(P,t+6);s+=m,Xe(P,t+10)&&(s+=10),t+=s}if(s>0)return P.subarray(n,n+s)}function Lr(P,t,n,s){const m=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],T=E>>2&15;if(T>12){const Pe=new Error(`invalid ADTS sampling index:${T}`);P.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Pe,reason:Pe.message});return}const U=(E>>6&3)+1,W=t[n+3]>>6&3|(E&1)<<2,N="mp4a.40."+U,te=m[T];let ce=T;(U===5||U===29)&&(ce-=3);const be=[U<<3|(ce&14)>>1,(ce&1)<<7|W<<3];return G.log(`manifest codec:${s}, parsed codec:${N}, channels:${W}, rate:${te} (ADTS object type:${U} sampling index:${T})`),{config:be,samplerate:te,channelCount:W,codec:N,parsedCodec:N,manifestCodec:s}}function zr(P,t){return P[t]===255&&(P[t+1]&246)===240}function _n(P,t){return P[t+1]&1?7:9}function tn(P,t){return(P[t+3]&3)<<11|P[t+4]<<3|(P[t+5]&224)>>>5}function gn(P,t){return t+5<P.length}function Xn(P,t){return t+1<P.length&&zr(P,t)}function ei(P,t){return gn(P,t)&&zr(P,t)&&tn(P,t)<=P.length-t}function bi(P,t){if(Xn(P,t)){const n=_n(P,t);if(t+n>=P.length)return!1;const s=tn(P,t);if(s<=n)return!1;const m=t+s;return m===P.length||Xn(P,m)}return!1}function wi(P,t,n,s,m){if(!P.samplerate){const E=Lr(t,n,s,m);if(!E)return;y(P,E)}}function zi(P){return 9216e4/P}function Bi(P,t){const n=_n(P,t);if(t+n<=P.length){const s=tn(P,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function xi(P,t,n,s,m){const E=zi(P.samplerate),T=s+m*E,U=Bi(t,n);let W;if(U){const{frameLength:ce,headerLength:be}=U,Pe=be+ce,Se=Math.max(0,n+Pe-t.length);Se?(W=new Uint8Array(Pe-be),W.set(t.subarray(n+be,t.length),0)):W=t.subarray(n+be,n+Pe);const at={unit:W,pts:T};return Se||P.samples.push(at),{sample:at,length:Pe,missing:Se}}const N=t.length-n;return W=new Uint8Array(N),W.set(t.subarray(n,t.length),0),{sample:{unit:W,pts:T},length:N,missing:-1}}function ga(P,t){return Bt(P,t)&&Yt(P,t+6)+10<=P.length-t}function Ti(P){return P instanceof ArrayBuffer?P:P.byteOffset==0&&P.byteLength==P.buffer.byteLength?P.buffer:new Uint8Array(P).buffer}function fi(P,t=0,n=1/0){return oa(P,t,n,Uint8Array)}function oa(P,t,n,s){const m=eo(P);let E=1;"BYTES_PER_ELEMENT"in s&&(E=s.BYTES_PER_ELEMENT);const T=Ss(P)?P.byteOffset:0,U=(T+P.byteLength)/E,W=(T+t)/E,N=Math.floor(Math.max(0,Math.min(W,U))),te=Math.floor(Math.min(N+Math.max(n,0),U));return new s(m,N,te-N)}function eo(P){return P instanceof ArrayBuffer?P:P.buffer}function Ss(P){return P&&P.buffer instanceof ArrayBuffer&&P.byteLength!==void 0&&P.byteOffset!==void 0}function Yi(P){const t={key:P.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(P.size<2)return;if(P.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=P.data.subarray(1).indexOf(0);if(s===-1)return;const m=q(fi(P.data,1,s)),E=P.data[2+s],T=P.data.subarray(3+s).indexOf(0);if(T===-1)return;const U=q(fi(P.data,3+s,T));let W;return m==="-->"?W=q(fi(P.data,4+s+T)):W=Ti(P.data.subarray(4+s+T)),t.mimeType=m,t.pictureType=E,t.description=U,t.data=W,t}function La(P){if(P.size<2)return;const t=q(P.data,!0),n=new Uint8Array(P.data.subarray(t.length+1));return{key:P.type,info:t,data:n.buffer}}function ea(P){if(P.size<2)return;if(P.type==="TXXX"){let n=1;const s=q(P.data.subarray(n),!0);n+=s.length+1;const m=q(P.data.subarray(n));return{key:P.type,info:s,data:m}}const t=q(P.data.subarray(1));return{key:P.type,info:"",data:t}}function ki(P){if(P.type==="WXXX"){if(P.size<2)return;let n=1;const s=q(P.data.subarray(n),!0);n+=s.length+1;const m=q(P.data.subarray(n));return{key:P.type,info:s,data:m}}const t=q(P.data);return{key:P.type,info:"",data:t}}function ba(P){return P.type==="PRIV"?La(P):P.type[0]==="W"?ki(P):P.type==="APIC"?Yi(P):ea(P)}function Ka(P){const t=String.fromCharCode(P[0],P[1],P[2],P[3]),n=Yt(P,4),s=10;return{type:t,size:n,data:P.subarray(s,s+n)}}const Fa=10,io=10;function Ja(P){let t=0;const n=[];for(;Bt(P,t);){const s=Yt(P,t+6);P[t+5]>>6&1&&(t+=Fa),t+=Fa;const m=t+s;for(;t+io<m;){const E=Ka(P.subarray(t)),T=ba(E);T&&n.push(T),t+=E.size+Fa}Xe(P,t)&&(t+=Fa)}return n}function ao(P){return P&&P.key==="PRIV"&&P.info==="com.apple.streaming.transportStreamTimestamp"}function es(P){if(P.data.byteLength===8){const t=new Uint8Array(P.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 js(P){const t=Ja(P);for(let n=0;n<t.length;n++){const s=t[n];if(ao(s))return es(s)}}let ts=function(P){return P.audioId3="org.id3",P.dateRange="com.apple.quicktime.HLS",P.emsg="https://aomedia.org/emsg/ID3",P.misbklv="urn:misb:KLV:bin:1910.1",P}({});function Zi(P="",t=9e4){return{type:P,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class Ba{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=Qe(this.cachedData,t),this.cachedData=null);let s=pr(t,0),m=s?s.length:0,E;const T=this._audioTrack,U=this._id3Track,W=s?js(s):void 0,N=t.length;for((this.basePTS===null||this.frameIndex===0&&r(W))&&(this.basePTS=Os(W,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),s&&s.length>0&&U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:ts.audioId3,duration:Number.POSITIVE_INFINITY});m<N;){if(this.canParse(t,m)){const te=this.appendFrame(T,t,m);te?(this.frameIndex++,this.lastPTS=te.sample.pts,m+=te.length,E=m):m=N}else ga(t,m)?(s=pr(t,m),U.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:ts.audioId3,duration:Number.POSITIVE_INFINITY}),m+=s.length,E=m):m++;if(m===N&&E!==N){const te=t.slice(E);this.cachedData?this.cachedData=Qe(this.cachedData,te):this.cachedData=te}}return{audioTrack:T,videoTrack:Zi(),id3Track:U,textTrack:Zi()}}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:Zi(),id3Track:this._id3Track,textTrack:Zi()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const Os=(P,t,n)=>{if(r(P))return P*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let fa=null;const ge=[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],we=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],Sr=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Jr=[0,1,1,4];function br(P,t,n,s,m){if(n+24>t.length)return;const E=Xr(t,n);if(E&&n+E.frameLength<=t.length){const T=E.samplesPerFrame*9e4/E.sampleRate,U=s+m*T,W={unit:t.subarray(n,n+E.frameLength),pts:U,dts:U};return P.config=[],P.channelCount=E.channelCount,P.samplerate=E.sampleRate,P.samples.push(W),{sample:W,length:E.frameLength,missing:0}}}function Xr(P,t){const n=P[t+1]>>3&3,s=P[t+1]>>1&3,m=P[t+2]>>4&15,E=P[t+2]>>2&3;if(n!==1&&m!==0&&m!==15&&E!==3){const T=P[t+2]>>1&1,U=P[t+3]>>6,W=n===3?3-s:s===3?3:4,N=ge[W*14+m-1]*1e3,ce=we[(n===3?0:n===2?1:2)*3+E],be=U===3?1:2,Pe=Sr[n][s],Se=Jr[s],at=Pe*8*Se,rt=Math.floor(Pe*N/ce+T)*Se;if(fa===null){const or=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);fa=or?parseInt(or[1]):0}return!!fa&&fa<=87&&s===2&&N>=224e3&&U===0&&(P[t+3]=P[t+3]|128),{sampleRate:ce,channelCount:be,frameLength:rt,samplesPerFrame:at}}}function En(P,t){return P[t]===255&&(P[t+1]&224)===224&&(P[t+1]&6)!==0}function Jn(P,t){return t+1<P.length&&En(P,t)}function Ri(P,t){return En(P,t)&&4<=P.length-t}function Dn(P,t){if(t+1<P.length&&En(P,t)){const s=Xr(P,t);let m=4;s!=null&&s.frameLength&&(m=s.frameLength);const E=t+m;return E===P.length||Jn(P,E)}return!1}class On extends Ba{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=pr(t,0);let m=(s==null?void 0:s.length)||0;if(Dn(t,m))return!1;for(let E=t.length;m<E;m++)if(bi(t,m))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return ei(t,n)}appendFrame(t,n,s){wi(t,this.observer,n,s,t.manifestCodec);const m=xi(t,n,s,this.basePTS,this.frameIndex);if(m&&m.missing===0)return m}}const Fn=(P,t)=>{let n=0,s=5;t+=s;const m=new Uint32Array(1),E=new Uint32Array(1),T=new Uint8Array(1);for(;s>0;){T[0]=P[t];const U=Math.min(s,8),W=8-U;E[0]=4278190080>>>24+W<<W,m[0]=(T[0]&E[0])>>W,n=n?n<<U|m[0]:m[0],t+=1,s-=U}return n};class ua extends Ba{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=Hi(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=pr(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&js(n)!==void 0&&Fn(t,s)<16}}function Hi(P,t,n,s,m){if(n+8>t.length||t[n]!==11||t[n+1]!==119)return-1;const E=t[n+4]>>6;if(E>=3)return-1;const U=[48e3,44100,32e3][E],W=t[n+4]&63,te=[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][W*3+E]*2;if(n+te>t.length)return-1;const ce=t[n+6]>>5;let be=0;ce===2?be+=2:(ce&1&&ce!==1&&(be+=2),ce&4&&(be+=2));const Pe=(t[n+6]<<8|t[n+7])>>12-be&1,at=[2,1,2,3,3,4,4,5][ce]+Pe,rt=t[n+5]>>3,Mt=t[n+5]&7,fr=new Uint8Array([E<<6|rt<<1|Mt>>2,(Mt&3)<<6|ce<<3|Pe<<2|W>>4,W<<4&224]),or=1536/U*9e4,Or=s+m*or,Ur=t.subarray(n,n+te);return P.config=fr,P.channelCount=at,P.samplerate=U,P.samples.push({unit:Ur,pts:Or}),te}class vo extends Ba{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=pr(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&js(n)!==void 0&&Fn(t,s)<=16)return!1;for(let m=t.length;s<m;s++)if(Dn(t,s))return G.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return Ri(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return br(t,n,s,this.basePTS,this.frameIndex)}}const so=/\/emsg[-/]ID3/i;class ru{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 E=this.videoTrack=Zi("video",1),T=this.audioTrack=Zi("audio",1),U=this.txtTrack=Zi("text",1);if(this.id3Track=Zi("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const W=qe(t);if(W.video){const{id:N,timescale:te,codec:ce,supplemental:be}=W.video;E.id=N,E.timescale=U.timescale=te,E.codec=ce,E.supplemental=be}if(W.audio){const{id:N,timescale:te,codec:ce}=W.audio;T.id=N,T.timescale=te,T.codec=ce}U.id=kt.text,E.sampleDuration=0,E.duration=T.duration=m}resetContiguity(){this.remainderData=null}static probe(t){return tt(t)}demux(t,n){this.timeOffset=n;let s=t;const m=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=Qe(this.remainderData,t));const U=Le(s);this.remainderData=U.remainder,m.samples=U.valid||new Uint8Array}else m.samples=s;const T=this.extractID3Track(m,n);return E.samples=Qt(n,m),{videoTrack:m,audioTrack:this.audioTrack,id3Track:T,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=Qt(t,n),{videoTrack:n,audioTrack:Zi(),id3Track:m,textTrack:Zi()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const m=_t(t.samples,["emsg"]);m&&m.forEach(E=>{const T=qt(E);if(so.test(T.schemeIdUri)){const U=hl(T,n);let W=T.eventDuration===4294967295?Number.POSITIVE_INFINITY:T.eventDuration/T.timeScale;W<=.001&&(W=Number.POSITIVE_INFINITY);const N=T.payload;s.samples.push({data:N,len:N.byteLength,dts:U,pts:U,type:ts.emsg,duration:W})}else if(this.config.enableEmsgKLVMetadata&&T.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const U=hl(T,n);s.samples.push({data:T.payload,len:T.payload.byteLength,dts:U,pts:U,type:ts.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 hl(P,t){return r(P.presentationTime)?P.presentationTime/P.timeScale:t+P.presentationTimeDelta/P.timeScale}class Yu{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new Ei(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,pn.cbc)}decryptAacSample(t,n,s){const m=t[n].unit;if(m.length<=16)return;const E=m.subarray(16,m.length-m.length%16),T=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(T).then(U=>{const W=new Uint8Array(U);m.set(W,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,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 E=32;E<t.length-16;E+=160,m+=16)s.set(t.subarray(E,E+16),m);return s}getAvcDecryptedUnit(t,n){const s=new Uint8Array(n);let m=0;for(let E=32;E<t.length-16;E+=160,m+=16)t.set(s.subarray(m,m+16),E);return t}decryptAvcSample(t,n,s,m,E){const T=Tt(E.data),U=this.getAvcEncryptedData(T);this.decryptBuffer(U.buffer).then(W=>{E.data=this.getAvcDecryptedUnit(T,W),this.decrypter.isSync()||this.decryptAvcSamples(t,n,s+1,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 E=t[n].units;for(;!(s>=E.length);s++){const T=E[s];if(!(T.data.length<=48||T.type!==1&&T.type!==5)&&(this.decryptAvcSample(t,n,s,m,T),!this.decrypter.isSync()))return}}}}class pu{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 E=s.units;m=E[E.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 E=s[m-1];t.pts=E.pts,t.dts=E.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,s){const m=n.byteLength;let E=t.naluState||0;const T=E,U=[];let W=0,N,te,ce,be=-1,Pe=0;for(E===-1&&(be=0,Pe=this.getNALuType(n,0),E=0,W=1);W<m;){if(N=n[W++],!E){E=N?0:1;continue}if(E===1){E=N?0:2;continue}if(!N)E=3;else if(N===1){if(te=W-E-1,be>=0){const Se={data:n.subarray(be,te),type:Pe};U.push(Se)}else{const Se=this.getLastNalUnit(t.samples);Se&&(T&&W<=4-T&&Se.state&&(Se.data=Se.data.subarray(0,Se.data.byteLength-T)),te>0&&(Se.data=Qe(Se.data,n.subarray(0,te)),Se.state=0))}W<m?(ce=this.getNALuType(n,W),be=W,Pe=ce,E=0):E=-1}else E=0}if(be>=0&&E>=0){const Se={data:n.subarray(be,m),type:Pe,state:E};U.push(Se)}if(U.length===0){const Se=this.getLastNalUnit(t.samples);Se&&(Se.data=Qe(Se.data,n))}return t.naluState=E,U}}class Tl{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),E=Math.min(4,n);if(E===0)throw new Error("no bytes available");m.set(t.subarray(s,s+E)),this.word=new DataView(m.buffer).getUint32(0),this.bitsAvailable=E*8,this.bytesAvailable-=E}skipBits(t){let n;t=Math.min(t,this.bytesAvailable*8+this.bitsAvailable),this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,n=t>>3,t-=n<<3,this.bytesAvailable-=n,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)}readBits(t){let n=Math.min(this.bitsAvailable,t);const s=this.word>>>32-n;if(t>32&&G.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=n,this.bitsAvailable>0)this.word<<=n;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return n=t-n,n>0&&this.bitsAvailable?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 _u extends pu{parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let T=this.VideoSample,U,W=!1;s.data=null,T&&E.length&&!t.audFound&&(this.pushAccessUnit(T,t),T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(N=>{var te,ce;switch(N.type){case 1:{let at=!1;U=!0;const rt=N.data;if(W&&rt.length>4){const Mt=this.readSliceType(rt);(Mt===2||Mt===4||Mt===7||Mt===9)&&(at=!0)}if(at){var be;(be=T)!=null&&be.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null)}T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.frame=!0,T.key=at;break}case 5:U=!0,(te=T)!=null&&te.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 6:{U=!0,Gt(N.data,1,s.pts,n.samples);break}case 7:{var Pe,Se;U=!0,W=!0;const at=N.data,rt=this.readSPS(at);if(!t.sps||t.width!==rt.width||t.height!==rt.height||((Pe=t.pixelRatio)==null?void 0:Pe[0])!==rt.pixelRatio[0]||((Se=t.pixelRatio)==null?void 0:Se[1])!==rt.pixelRatio[1]){t.width=rt.width,t.height=rt.height,t.pixelRatio=rt.pixelRatio,t.sps=[at];const Mt=at.subarray(1,4);let fr="avc1.";for(let or=0;or<3;or++){let Or=Mt[or].toString(16);Or.length<2&&(Or="0"+Or),fr+=Or}t.codec=fr}break}case 8:U=!0,t.pps=[N.data];break;case 9:U=!0,t.audFound=!0,(ce=T)!=null&&ce.frame&&(this.pushAccessUnit(T,t),T=null),T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:U=!0;break;default:U=!1;break}T&&U&&T.units.push(N)}),m&&T&&(this.pushAccessUnit(T,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new Tl(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,m=8,E;for(let T=0;T<t;T++)m!==0&&(E=n.readEG(),m=(s+E+256)%256),s=m===0?s:m}readSPS(t){const n=new Tl(t);let s=0,m=0,E=0,T=0,U,W,N;const te=n.readUByte.bind(n),ce=n.readBits.bind(n),be=n.readUEG.bind(n),Pe=n.readBoolean.bind(n),Se=n.skipBits.bind(n),at=n.skipEG.bind(n),rt=n.skipUEG.bind(n),Mt=this.skipScalingList.bind(this);te();const fr=te();if(ce(5),Se(3),te(),rt(),fr===100||fr===110||fr===122||fr===244||fr===44||fr===83||fr===86||fr===118||fr===128){const en=be();if(en===3&&Se(1),rt(),rt(),Se(1),Pe())for(W=en!==3?8:12,N=0;N<W;N++)Pe()&&(N<6?Mt(16,n):Mt(64,n))}rt();const or=be();if(or===0)be();else if(or===1)for(Se(1),at(),at(),U=be(),N=0;N<U;N++)at();rt(),Se(1);const Or=be(),Ur=be(),un=ce(1);un===0&&Se(1),Se(1),Pe()&&(s=be(),m=be(),E=be(),T=be());let Hr=[1,1];if(Pe()&&Pe())switch(te()){case 1:Hr=[1,1];break;case 2:Hr=[12,11];break;case 3:Hr=[10,11];break;case 4:Hr=[16,11];break;case 5:Hr=[40,33];break;case 6:Hr=[24,11];break;case 7:Hr=[20,11];break;case 8:Hr=[32,11];break;case 9:Hr=[80,33];break;case 10:Hr=[18,11];break;case 11:Hr=[15,11];break;case 12:Hr=[64,33];break;case 13:Hr=[160,99];break;case 14:Hr=[4,3];break;case 15:Hr=[3,2];break;case 16:Hr=[2,1];break;case 255:{Hr=[te()<<8|te(),te()<<8|te()];break}}return{width:Math.ceil((Or+1)*16-s*2-m*2),height:(2-un)*(Ur+1)*16-(un?2:4)*(E+T),pixelRatio:Hr}}}class Ve extends pu{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,m){const E=this.parseNALu(t,s.data,m);let T=this.VideoSample,U,W=!1;s.data=null,T&&E.length&&!t.audFound&&(this.pushAccessUnit(T,t),T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(N=>{var te,ce;switch(N.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),T.frame=!0,U=!0;break;case 16:case 17:case 18:case 21:if(U=!0,W){var be;(be=T)!=null&&be.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null)}T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 19:case 20:U=!0,(te=T)!=null&&te.frame&&!T.key&&(this.pushAccessUnit(T,t),T=this.VideoSample=null),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0,T.frame=!0;break;case 39:U=!0,Gt(N.data,2,s.pts,n.samples);break;case 32:U=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(N.data)),this.initVPS=N.data),t.vps=[N.data];break;case 33:if(U=!0,W=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],N.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Pe=this.readSPS(N.data);t.width=Pe.width,t.height=Pe.height,t.pixelRatio=Pe.pixelRatio,t.codec=Pe.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Se in Pe.params)t.params[Se]=Pe.params[Se]}this.pushParameterSet(t.sps,N.data,t.vps),T||(T=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),T.key=!0;break;case 34:if(U=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Pe=this.readPPS(N.data);for(const Se in Pe)t.params[Se]=Pe[Se]}this.pushParameterSet(t.pps,N.data,t.vps)}break;case 35:U=!0,t.audFound=!0,(ce=T)!=null&&ce.frame&&(this.pushAccessUnit(T,t),T=null),T||(T=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:U=!1;break}T&&U&&T.units.push(N)}),m&&T&&(this.pushAccessUnit(T,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 Tl(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 Tl(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const s=n.readBits(3);n.readBoolean();const m=n.readBits(2),E=n.readBoolean(),T=n.readBits(5),U=n.readUByte(),W=n.readUByte(),N=n.readUByte(),te=n.readUByte(),ce=n.readUByte(),be=n.readUByte(),Pe=n.readUByte(),Se=n.readUByte(),at=n.readUByte(),rt=n.readUByte(),Mt=n.readUByte(),fr=[],or=[];for(let Ts=0;Ts<s;Ts++)fr.push(n.readBoolean()),or.push(n.readBoolean());if(s>0)for(let Ts=s;Ts<8;Ts++)n.readBits(2);for(let Ts=0;Ts<s;Ts++)fr[Ts]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),or[Ts]&&n.readUByte();n.readUEG();const Or=n.readUEG();Or==3&&n.skipBits(1);const Ur=n.readUEG(),un=n.readUEG(),Hr=n.readBoolean();let en=0,on=0,Kr=0,jn=0;Hr&&(en+=n.readUEG(),on+=n.readUEG(),Kr+=n.readUEG(),jn+=n.readUEG());const di=n.readUEG(),sa=n.readUEG(),Ni=n.readUEG(),$i=n.readBoolean();for(let Ts=$i?0:s;Ts<=s;Ts++)n.skipUEG(),n.skipUEG(),n.skipUEG();if(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG(),n.readBoolean()&&n.readBoolean())for(let fu=0;fu<4;fu++)for(let Al=0;Al<(fu===3?2:6);Al++)if(!n.readBoolean())n.readUEG();else{const Ul=Math.min(64,1<<4+(fu<<1));fu>1&&n.readEG();for(let gf=0;gf<Ul;gf++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const qi=n.readUEG();let Qn=0;for(let Ts=0;Ts<qi;Ts++){let fu=!1;if(Ts!==0&&(fu=n.readBoolean()),fu){Ts===qi&&n.readUEG(),n.readBoolean(),n.readUEG();let Al=0;for(let of=0;of<=Qn;of++){const Ul=n.readBoolean();let gf=!1;Ul||(gf=n.readBoolean()),(Ul||gf)&&Al++}Qn=Al}else{const Al=n.readUEG(),of=n.readUEG();Qn=Al+of;for(let Ul=0;Ul<Al;Ul++)n.readUEG(),n.readBoolean();for(let Ul=0;Ul<of;Ul++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const Ts=n.readUEG();for(let fu=0;fu<Ts;fu++){for(let Al=0;Al<Ni+4;Al++)n.readBits(1);n.readBits(1)}}let Aa=0,Ca=1,as=1,Cs=!0,zs=1,fo=0;n.readBoolean(),n.readBoolean();let Ku=!1;if(n.readBoolean()){if(n.readBoolean()){const yf=n.readUByte(),Yf=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],jf=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];yf>0&&yf<16?(Ca=Yf[yf-1],as=jf[yf-1]):yf===255&&(Ca=n.readBits(16),as=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(),Ku=n.readBoolean(),Ku&&(en+=n.readUEG(),on+=n.readUEG(),Kr+=n.readUEG(),jn+=n.readUEG()),n.readBoolean()&&(zs=n.readBits(32),fo=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const jf=n.readBoolean(),kf=n.readBoolean();let uf=!1;(jf||kf)&&(uf=n.readBoolean(),uf&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),uf&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let Xf=0;Xf<=s;Xf++){Cs=n.readBoolean();const nd=Cs||n.readBoolean();let Uf=!1;nd?n.readEG():Uf=n.readBoolean();const Gf=Uf?1:n.readUEG()+1;if(jf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),uf&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(kf)for(let Rf=0;Rf<Gf;Rf++)n.readUEG(),n.readUEG(),uf&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),Aa=n.readUEG())}let sf=Ur,Kf=un;if(Hr||Ku){let Ts=1,fu=1;Or===1?Ts=fu=2:Or==2&&(Ts=2),sf=Ur-Ts*on-Ts*en,Kf=un-fu*jn-fu*Kr}const ed=m?["A","B","C"][m]:"",td=U<<24|W<<16|N<<8|te;let Pf=0;for(let Ts=0;Ts<32;Ts++)Pf=(Pf|(td>>Ts&1)<<31-Ts)>>>0;let Wf=Pf.toString(16);return T===1&&Wf==="2"&&(Wf="6"),{codecString:`hvc1.${ed}${T}.${Wf}.${E?"H":"L"}${Mt}.B0`,params:{general_tier_flag:E,general_profile_idc:T,general_profile_space:m,general_profile_compatibility_flags:[U,W,N,te],general_constraint_indicator_flags:[ce,be,Pe,Se,at,rt],general_level_idc:Mt,bit_depth:di+8,bit_depth_luma_minus8:di,bit_depth_chroma_minus8:sa,min_spatial_segmentation_idc:Aa,chroma_format_idc:Or,frame_rate:{fixed:Cs,fps:fo/zs}},width:sf,height:Kf,pixelRatio:[Ca,as]}}readPPS(t){const n=new Tl(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.skipUEG(),n.skipUEG(),n.skipBits(2),n.skipBits(3),n.skipBits(2),n.skipUEG(),n.skipUEG(),n.skipEG(),n.skipBits(2),n.readBoolean()&&n.skipUEG(),n.skipEG(),n.skipEG(),n.skipBits(4);const m=n.readBoolean(),E=n.readBoolean();let T=1;return E&&m?T=0:E?T=3:m&&(T=2),{parallelismType:T}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const H=188;class X{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=X.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(H*5,n-H)+1,m=0;for(;m<s;){let E=!1,T=-1,U=0;for(let W=m;W<n;W+=H)if(t[W]===71&&(n-W===H||t[W+H]===71)){if(U++,T===-1&&(T=W,T!==0&&(s=Math.min(T+H*99,t.length-H)+1)),E||(E=ne(t,W)===0),E&&U>1&&(T===0&&U>2||W+H>s))return T}else{if(U)return-1;break}m++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:kt[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=X.createTrack("video"),this._videoTrack.duration=m,this._audioTrack=X.createTrack("audio",m),this._id3Track=X.createTrack("id3"),this._txtTrack=X.createTrack("text"),this._audioTrack.segmentCodec="aac",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 E;const T=this._videoTrack,U=this._audioTrack,W=this._id3Track,N=this._txtTrack;let te=T.pid,ce=T.pesData,be=U.pid,Pe=W.pid,Se=U.pesData,at=W.pesData,rt=null,Mt=this.pmtParsed,fr=this._pmtId,or=t.length;if(this.remainderData&&(t=Qe(this.remainderData,t),or=t.length,this.remainderData=null),or<H&&!m)return this.remainderData=t,{audioTrack:U,videoTrack:T,id3Track:W,textTrack:N};const Or=Math.max(0,X.syncOffset(t));or-=(or-Or)%H,or<t.byteLength&&!m&&(this.remainderData=new Uint8Array(t.buffer,or,t.buffer.byteLength-or));let Ur=0;for(let Hr=Or;Hr<or;Hr+=H)if(t[Hr]===71){const en=!!(t[Hr+1]&64),on=ne(t,Hr),Kr=(t[Hr+3]&48)>>4;let jn;if(Kr>1){if(jn=Hr+5+t[Hr+4],jn===Hr+H)continue}else jn=Hr+4;switch(on){case te:if(en){if(ce&&(E=Ut(ce,this.logger))){if(this.videoParser===null)switch(T.segmentCodec){case"avc":this.videoParser=new _u;break;case"hevc":this.videoParser=new Ve;break}this.videoParser!==null&&this.videoParser.parsePES(T,N,E,!1)}ce={data:[],size:0}}ce&&(ce.data.push(t.subarray(jn,Hr+H)),ce.size+=Hr+H-jn);break;case be:if(en){if(Se&&(E=Ut(Se,this.logger)))switch(U.segmentCodec){case"aac":this.parseAACPES(U,E);break;case"mp3":this.parseMPEGPES(U,E);break;case"ac3":this.parseAC3PES(U,E);break}Se={data:[],size:0}}Se&&(Se.data.push(t.subarray(jn,Hr+H)),Se.size+=Hr+H-jn);break;case Pe:en&&(at&&(E=Ut(at,this.logger))&&this.parseID3PES(W,E),at={data:[],size:0}),at&&(at.data.push(t.subarray(jn,Hr+H)),at.size+=Hr+H-jn);break;case 0:en&&(jn+=t[jn]+1),fr=this._pmtId=he(t,jn);break;case fr:{en&&(jn+=t[jn]+1);const di=Ae(t,jn,this.typeSupported,s,this.observer,this.logger);te=di.videoPid,te>0&&(T.pid=te,T.segmentCodec=di.segmentVideoCodec),be=di.audioPid,be>0&&(U.pid=be,U.segmentCodec=di.segmentAudioCodec),Pe=di.id3Pid,Pe>0&&(W.pid=Pe),rt!==null&&!Mt&&(this.logger.warn(`MPEG-TS PMT found at ${Hr} after unknown PID '${rt}'. Backtracking to sync byte @${Or} to parse all TS packets.`),rt=null,Hr=Or-188),Mt=this.pmtParsed=!0;break}case 17:case 8191:break;default:rt=on;break}}else Ur++;Ur>0&&Ge(this.observer,new Error(`Found ${Ur} TS packet/s that do not start with 0x47`),void 0,this.logger),T.pesData=ce,U.pesData=Se,W.pesData=at;const un={audioTrack:U,videoTrack:T,id3Track:W,textTrack:N};return m&&this.extractRemainingSamples(un),un}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:E}=t,T=s.pesData,U=n.pesData,W=m.pesData;let N;if(T&&(N=Ut(T,this.logger))){if(this.videoParser===null)switch(s.segmentCodec){case"avc":this.videoParser=new _u;break;case"hevc":this.videoParser=new Ve;break}this.videoParser!==null&&(this.videoParser.parsePES(s,E,N,!0),s.pesData=null)}else s.pesData=T;if(U&&(N=Ut(U,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,N);break;case"mp3":this.parseMPEGPES(n,N);break;case"ac3":this.parseAC3PES(n,N);break}n.pesData=null}else U!=null&&U.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=U;W&&(N=Ut(W,this.logger))?(this.parseID3PES(m,N),m.pesData=null):m.pesData=W}demuxSampleAes(t,n,s){const m=this.demux(t,s,!0,!this.config.progressive),E=this.sampleAes=new Yu(this.observer,this.config,n);return this.decrypt(m,E)}decrypt(t,n){return new Promise(s=>{const{audioTrack:m,videoTrack:E}=t;m.samples&&m.segmentCodec==="aac"?n.decryptAacSamples(m.samples,0,()=>{E.samples?n.decryptAvcSamples(E.samples,0,0,()=>{s(t)}):s(t)}):E.samples&&n.decryptAvcSamples(E.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 E=n.data;if(m){this.aacOverFlow=null;const ce=m.missing,be=m.sample.unit.byteLength;if(ce===-1)E=Qe(m.sample.unit,E);else{const Pe=be-ce;m.sample.unit.set(E.subarray(0,ce),Pe),t.samples.push(m.sample),s=m.missing}}let T,U;for(T=s,U=E.length;T<U-1&&!Xn(E,T);T++);if(T!==s){let ce;const be=T<U-1;if(be?ce=`AAC PES did not start with ADTS header,offset:${T}`:ce="No ADTS header found in AAC PES",Ge(this.observer,new Error(ce),be,this.logger),!be)return}wi(t,this.observer,E,T,this.audioCodec);let W;if(n.pts!==void 0)W=n.pts;else if(m){const ce=zi(t.samplerate);W=m.sample.pts+ce}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let N=0,te;for(;T<U;)if(te=xi(t,E,T,W,N),T+=te.length,te.missing){this.aacOverFlow=te;break}else for(N++;T<U-1&&!Xn(E,T);T++);}parseMPEGPES(t,n){const s=n.data,m=s.length;let E=0,T=0;const U=n.pts;if(U===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;T<m;)if(Jn(s,T)){const W=br(t,s,T,U,E);if(W)T+=W.length,E++;else break}else T++}parseAC3PES(t,n){{const s=n.data,m=n.pts;if(m===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const E=s.length;let T=0,U=0,W;for(;U<E&&(W=Hi(t,s,U,m,T++))>0;)U+=W}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?ts.emsg:ts.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function ne(P,t){return((P[t+1]&31)<<8)+P[t+2]}function he(P,t){return(P[t+10]&31)<<8|P[t+11]}function Ae(P,t,n,s,m,E){const T={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},U=(P[t+1]&15)<<8|P[t+2],W=t+3+U-4,N=(P[t+10]&15)<<8|P[t+11];for(t+=12+N;t<W;){const te=ne(P,t),ce=(P[t+3]&15)<<8|P[t+4];switch(P[t]){case 207:if(!s){Pt("ADTS AAC",E);break}case 15:T.audioPid===-1&&(T.audioPid=te);break;case 21:T.id3Pid===-1&&(T.id3Pid=te);break;case 219:if(!s){Pt("H.264",E);break}case 27:T.videoPid===-1&&(T.videoPid=te);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):T.audioPid===-1&&(T.audioPid=te,T.segmentAudioCodec="mp3");break;case 193:if(!s){Pt("AC-3",E);break}case 129:n.ac3?T.audioPid===-1&&(T.audioPid=te,T.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(T.audioPid===-1&&ce>0){let be=t+5,Pe=ce;for(;Pe>2;){switch(P[be]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(T.audioPid=te,T.segmentAudioCodec="ac3");break}const at=P[be+1]+2;be+=at,Pe-=at}}break;case 194:case 135:return Ge(m,new Error("Unsupported EC-3 in M2TS found"),void 0,E),T;case 36:T.videoPid===-1&&(T.videoPid=te,T.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=ce+5}return T}function Ge(P,t,n,s){s.warn(`parsing error: ${t.message}`),P.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function Pt(P,t){t.log(`${P} with AES-128-CBC encryption found in unencrypted stream`)}function Ut(P,t){let n=0,s,m,E,T,U;const W=P.data;if(!P||P.size===0)return null;for(;W[0].length<19&&W.length>1;)W[0]=Qe(W[0],W[1]),W.splice(1,1);if(s=W[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(m=(s[4]<<8)+s[5],m&&m>P.size-6)return null;const te=s[7];te&192&&(T=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,te&64?(U=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[18]&254)/2,T-U>54e5&&(t.warn(`${Math.round((T-U)/9e4)}s delta between PTS and DTS, align them`),T=U)):U=T),E=s[8];let ce=E+9;if(P.size<=ce)return null;P.size-=ce;const be=new Uint8Array(P.size);for(let Pe=0,Se=W.length;Pe<Se;Pe++){s=W[Pe];let at=s.byteLength;if(ce)if(ce>at){ce-=at;continue}else s=s.subarray(ce),at-=ce,ce=0;be.set(s,n),n+=at}return m&&(m-=E+3),{data:be,pts:T,dts:U,len:m}}return null}class sr{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 Er=Math.pow(2,32)-1;class Ht{static init(){Ht.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 Ht.types)Ht.types.hasOwnProperty(t)&&(Ht.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]);Ht.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]),E=new Uint8Array([0,0,0,0,0,0,0,0]);Ht.STTS=Ht.STSC=Ht.STCO=E,Ht.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Ht.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Ht.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Ht.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const T=new Uint8Array([105,115,111,109]),U=new Uint8Array([97,118,99,49]),W=new Uint8Array([0,0,0,1]);Ht.FTYP=Ht.box(Ht.types.ftyp,T,W,T,U),Ht.DINF=Ht.box(Ht.types.dinf,Ht.box(Ht.types.dref,m))}static box(t,...n){let s=8,m=n.length;const E=m;for(;m--;)s+=n[m].byteLength;const T=new Uint8Array(s);for(T[0]=s>>24&255,T[1]=s>>16&255,T[2]=s>>8&255,T[3]=s&255,T.set(t,4),m=0,s=8;m<E;m++)T.set(n[m],s),s+=n[m].byteLength;return T}static hdlr(t){return Ht.box(Ht.types.hdlr,Ht.HDLR_TYPES[t])}static mdat(t){return Ht.box(Ht.types.mdat,t)}static mdhd(t,n){n*=t;const s=Math.floor(n/(Er+1)),m=Math.floor(n%(Er+1));return Ht.box(Ht.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 Ht.box(Ht.types.mdia,Ht.mdhd(t.timescale||0,t.duration||0),Ht.hdlr(t.type),Ht.minf(t))}static mfhd(t){return Ht.box(Ht.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"?Ht.box(Ht.types.minf,Ht.box(Ht.types.smhd,Ht.SMHD),Ht.DINF,Ht.stbl(t)):Ht.box(Ht.types.minf,Ht.box(Ht.types.vmhd,Ht.VMHD),Ht.DINF,Ht.stbl(t))}static moof(t,n,s){return Ht.box(Ht.types.moof,Ht.mfhd(t),Ht.traf(s,n))}static moov(t){let n=t.length;const s=[];for(;n--;)s[n]=Ht.trak(t[n]);return Ht.box.apply(null,[Ht.types.moov,Ht.mvhd(t[0].timescale||0,t[0].duration||0)].concat(s).concat(Ht.mvex(t)))}static mvex(t){let n=t.length;const s=[];for(;n--;)s[n]=Ht.trex(t[n]);return Ht.box.apply(null,[Ht.types.mvex,...s])}static mvhd(t,n){n*=t;const s=Math.floor(n/(Er+1)),m=Math.floor(n%(Er+1)),E=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,t&255,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 Ht.box(Ht.types.mvhd,E)}static sdtp(t){const n=t.samples||[],s=new Uint8Array(4+n.length);let m,E;for(m=0;m<n.length;m++)E=n[m].flags,s[m+4]=E.dependsOn<<4|E.isDependedOn<<2|E.hasRedundancy;return Ht.box(Ht.types.sdtp,s)}static stbl(t){return Ht.box(Ht.types.stbl,Ht.stsd(t),Ht.box(Ht.types.stts,Ht.STTS),Ht.box(Ht.types.stsc,Ht.STSC),Ht.box(Ht.types.stsz,Ht.STSZ),Ht.box(Ht.types.stco,Ht.STCO))}static avc1(t){let n=[],s=[],m,E,T;for(m=0;m<t.sps.length;m++)E=t.sps[m],T=E.byteLength,n.push(T>>>8&255),n.push(T&255),n=n.concat(Array.prototype.slice.call(E));for(m=0;m<t.pps.length;m++)E=t.pps[m],T=E.byteLength,s.push(T>>>8&255),s.push(T&255),s=s.concat(Array.prototype.slice.call(E));const U=Ht.box(Ht.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),W=t.width,N=t.height,te=t.pixelRatio[0],ce=t.pixelRatio[1];return Ht.box(Ht.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,W>>8&255,W&255,N>>8&255,N&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),U,Ht.box(Ht.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Ht.box(Ht.types.pasp,new Uint8Array([te>>24,te>>16&255,te>>8&255,te&255,ce>>24,ce>>16&255,ce>>8&255,ce&255])))}static esds(t){const n=t.config;return new Uint8Array([0,0,0,0,3,25,0,1,0,4,17,64,21,0,0,0,0,0,0,0,0,0,0,0,5,2,...n,6,1,2])}static audioStsd(t){const n=t.samplerate||0;return new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount||0,0,16,0,0,0,0,n>>8&255,n&255,0,0])}static mp4a(t){return Ht.box(Ht.types.mp4a,Ht.audioStsd(t),Ht.box(Ht.types.esds,Ht.esds(t)))}static mp3(t){return Ht.box(Ht.types[".mp3"],Ht.audioStsd(t))}static ac3(t){return Ht.box(Ht.types["ac-3"],Ht.audioStsd(t),Ht.box(Ht.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return Ht.box(Ht.types.stsd,Ht.STSD,Ht.mp4a(t));if(n==="ac3"&&t.config)return Ht.box(Ht.types.stsd,Ht.STSD,Ht.ac3(t));if(n==="mp3"&&t.codec==="mp3")return Ht.box(Ht.types.stsd,Ht.STSD,Ht.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return Ht.box(Ht.types.stsd,Ht.STSD,Ht.avc1(t));if(n==="hevc"&&t.vps)return Ht.box(Ht.types.stsd,Ht.STSD,Ht.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,E=t.height||0,T=Math.floor(s/(Er+1)),U=Math.floor(s%(Er+1));return Ht.box(Ht.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,n&255,0,0,0,0,T>>24,T>>16&255,T>>8&255,T&255,U>>24,U>>16&255,U>>8&255,U&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,m>>8&255,m&255,0,0,E>>8&255,E&255,0,0]))}static traf(t,n){const s=Ht.sdtp(t),m=t.id,E=Math.floor(n/(Er+1)),T=Math.floor(n%(Er+1));return Ht.box(Ht.types.traf,Ht.box(Ht.types.tfhd,new Uint8Array([0,0,0,0,m>>24,m>>16&255,m>>8&255,m&255])),Ht.box(Ht.types.tfdt,new Uint8Array([1,0,0,0,E>>24,E>>16&255,E>>8&255,E&255,T>>24,T>>16&255,T>>8&255,T&255])),Ht.trun(t,s.length+16+20+8+16+8+8),s)}static trak(t){return t.duration=t.duration||4294967295,Ht.box(Ht.types.trak,Ht.tkhd(t),Ht.mdia(t))}static trex(t){const n=t.id;return Ht.box(Ht.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,E=12+16*m,T=new Uint8Array(E);let U,W,N,te,ce,be;for(n+=8+E,T.set([t.type==="video"?1:0,0,15,1,m>>>24&255,m>>>16&255,m>>>8&255,m&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0),U=0;U<m;U++)W=s[U],N=W.duration,te=W.size,ce=W.flags,be=W.cts,T.set([N>>>24&255,N>>>16&255,N>>>8&255,N&255,te>>>24&255,te>>>16&255,te>>>8&255,te&255,ce.isLeading<<2|ce.dependsOn,ce.isDependedOn<<6|ce.hasRedundancy<<4|ce.paddingValue<<1|ce.isNonSync,ce.degradPrio&61440,ce.degradPrio&15,be>>>24&255,be>>>16&255,be>>>8&255,be&255],12+16*U);return Ht.box(Ht.types.trun,T)}static initSegment(t){Ht.types||Ht.init();const n=Ht.moov(t);return Qe(Ht.FTYP,n)}static hvc1(t){const n=t.params,s=[t.vps,t.sps,t.pps],m=4,E=new Uint8Array([1,n.general_profile_space<<6|(n.general_tier_flag?32:0)|n.general_profile_idc,n.general_profile_compatibility_flags[0],n.general_profile_compatibility_flags[1],n.general_profile_compatibility_flags[2],n.general_profile_compatibility_flags[3],n.general_constraint_indicator_flags[0],n.general_constraint_indicator_flags[1],n.general_constraint_indicator_flags[2],n.general_constraint_indicator_flags[3],n.general_constraint_indicator_flags[4],n.general_constraint_indicator_flags[5],n.general_level_idc,240|n.min_spatial_segmentation_idc>>8,255&n.min_spatial_segmentation_idc,252|n.parallelismType,252|n.chroma_format_idc,248|n.bit_depth_luma_minus8,248|n.bit_depth_chroma_minus8,0,parseInt(n.frame_rate.fps),m-1|n.temporal_id_nested<<2|n.num_temporal_layers<<3|(n.frame_rate.fixed?64:0),s.length]);let T=E.length;for(let Se=0;Se<s.length;Se+=1){T+=3;for(let at=0;at<s[Se].length;at+=1)T+=2+s[Se][at].length}const U=new Uint8Array(T);U.set(E,0),T=E.length;const W=s.length-1;for(let Se=0;Se<s.length;Se+=1){U.set(new Uint8Array([32+Se|(Se===W?128:0),0,s[Se].length]),T),T+=3;for(let at=0;at<s[Se].length;at+=1)U.set(new Uint8Array([s[Se][at].length>>8,s[Se][at].length&255]),T),T+=2,U.set(s[Se][at],T),T+=s[Se][at].length}const N=Ht.box(Ht.types.hvcC,U),te=t.width,ce=t.height,be=t.pixelRatio[0],Pe=t.pixelRatio[1];return Ht.box(Ht.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,te>>8&255,te&255,ce>>8&255,ce&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),N,Ht.box(Ht.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Ht.box(Ht.types.pasp,new Uint8Array([be>>24,be>>16&255,be>>8&255,be&255,Pe>>24,Pe>>16&255,Pe>>8&255,Pe&255])))}}Ht.types=void 0,Ht.HDLR_TYPES=void 0,Ht.STTS=void 0,Ht.STSC=void 0,Ht.STCO=void 0,Ht.STSZ=void 0,Ht.VMHD=void 0,Ht.SMHD=void 0,Ht.STSD=void 0,Ht.FTYP=void 0,Ht.DINF=void 0;const an=9e4;function bn(P,t,n=1,s=!1){const m=P*t*n;return s?Math.round(m):m}function $n(P,t,n=1,s=!1){return bn(P,t,1/n,s)}function Un(P,t=!1){return bn(P,1e3,1/an,t)}function Si(P,t=1){return bn(P,an,1/t)}const da=10*1e3,ia=1024,la=1152,us=1536;let za=null,hs=null;function rs(P,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:P?2:1,isNonSync:P?0:1}}}class xa{constructor(t,n,s,m){if(this.logger=void 0,this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextAvcDts=null,this.nextAudioPts=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=n,this.typeSupported=s,this.logger=m,this.ISGenerated=!1,za===null){const T=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);za=T?parseInt(T[1]):0}if(hs===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);hs=E?parseInt(E[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){this.logger.log("[mp4-remuxer]: initPTS & initDTS reset"),this._initPTS=this._initDTS=t}resetNextTimestamp(){this.logger.log("[mp4-remuxer]: reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.logger.log("[mp4-remuxer]: ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(t){let n=!1;const s=t[0].pts,m=t.reduce((E,T)=>{let U=T.pts,W=U-E;return W<-4294967296&&(n=!0,U=Za(U,s),W=U-E),W>0?E:U},s);return n&&this.logger.debug("PTS rollover detected"),m}remux(t,n,s,m,E,T,U,W){let N,te,ce,be,Pe,Se,at=E,rt=E;const Mt=t.pid>-1,fr=n.pid>-1,or=n.samples.length,Or=t.samples.length>0,Ur=U&&or>0||or>1;if((!Mt||Or)&&(!fr||Ur)||this.ISGenerated||U){if(this.ISGenerated){var Hr,en,on,Kr;const Ni=this.videoTrackConfig;(Ni&&(n.width!==Ni.width||n.height!==Ni.height||((Hr=n.pixelRatio)==null?void 0:Hr[0])!==((en=Ni.pixelRatio)==null?void 0:en[0])||((on=n.pixelRatio)==null?void 0:on[1])!==((Kr=Ni.pixelRatio)==null?void 0:Kr[1]))||!Ni&&Ur||this.nextAudioPts===null&&Or)&&this.resetInitSegment()}this.ISGenerated||(ce=this.generateIS(t,n,E,T));const jn=this.isVideoContiguous;let di=-1,sa;if(Ur&&(di=ks(n.samples),!jn&&this.config.forceKeyFrameOnDiscontinuity))if(Se=!0,di>0){this.logger.warn(`[mp4-remuxer]: Dropped ${di} out of ${or} video samples due to a missing keyframe`);const Ni=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(di),n.dropped+=di,rt+=(n.samples[0].pts-Ni)/n.inputTimeScale,sa=rt}else di===-1&&(this.logger.warn(`[mp4-remuxer]: No keyframe found out of ${or} video samples`),Se=!1);if(this.ISGenerated){if(Or&&Ur){const Ni=this.getVideoStartPts(n.samples),li=(Za(t.samples[0].pts,Ni)-Ni)/n.inputTimeScale;at+=Math.max(0,li),rt+=Math.max(0,-li)}if(Or){if(t.samplerate||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as audio detected"),ce=this.generateIS(t,n,E,T)),te=this.remuxAudio(t,at,this.isAudioContiguous,T,fr||Ur||W===u.AUDIO?rt:void 0),Ur){const Ni=te?te.endPTS-te.startPTS:0;n.inputTimeScale||(this.logger.warn("[mp4-remuxer]: regenerate InitSegment as video detected"),ce=this.generateIS(t,n,E,T)),N=this.remuxVideo(n,rt,jn,Ni)}}else Ur&&(N=this.remuxVideo(n,rt,jn,0));N&&(N.firstKeyFrame=di,N.independent=di!==-1,N.firstKeyFramePTS=sa)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Pe=_i(s,E,this._initPTS,this._initDTS)),m.samples.length&&(be=oo(m,E,this._initPTS))),{audio:te,video:N,initSegment:ce,independent:Se,text:be,id3:Pe}}generateIS(t,n,s,m){const E=t.samples,T=n.samples,U=this.typeSupported,W={},N=this._initPTS;let te=!N||m,ce="audio/mp4",be,Pe,Se,at;if(te&&(be=Pe=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":U.mpeg?(ce="audio/mpeg",t.codec=""):U.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}W.audio={id:"audio",container:ce,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&U.mpeg?new Uint8Array(0):Ht.initSegment([t]),metadata:{channelCount:t.channelCount}},te&&(at=t.id,Se=t.inputTimeScale,!N||Se!==N.timescale?be=Pe=E[0].pts-Math.round(Se*s):te=!1)}if(n.sps&&n.pps&&T.length){if(n.timescale=n.inputTimeScale,W.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:Ht.initSegment([n]),metadata:{width:n.width,height:n.height}},te)if(at=n.id,Se=n.inputTimeScale,!N||Se!==N.timescale){const rt=this.getVideoStartPts(T),Mt=Math.round(Se*s);Pe=Math.min(Pe,Za(T[0].dts,rt)-Mt),be=Math.min(be,rt-Mt)}else te=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(W).length)return this.ISGenerated=!0,te?(this._initPTS={baseTime:be,timescale:Se},this._initDTS={baseTime:Pe,timescale:Se}):be=Se=void 0,{tracks:W,initPTS:be,timescale:Se,trackId:at}}remuxVideo(t,n,s,m){const E=t.inputTimeScale,T=t.samples,U=[],W=T.length,N=this._initPTS;let te=this.nextAvcDts,ce=8,be=this.videoSampleDuration,Pe,Se,at=Number.POSITIVE_INFINITY,rt=Number.NEGATIVE_INFINITY,Mt=!1;if(!s||te===null){const Qn=n*E,ti=T[0].pts-Za(T[0].dts,T[0].pts);za&&te!==null&&Math.abs(Qn-ti-te)<15e3?s=!0:te=Qn-ti}const fr=N.baseTime*E/N.timescale;for(let Qn=0;Qn<W;Qn++){const ti=T[Qn];ti.pts=Za(ti.pts-fr,te),ti.dts=Za(ti.dts-fr,te),ti.dts<T[Qn>0?Qn-1:Qn].dts&&(Mt=!0)}Mt&&T.sort(function(Qn,ti){const Aa=Qn.dts-ti.dts,Ca=Qn.pts-ti.pts;return Aa||Ca}),Pe=T[0].dts,Se=T[T.length-1].dts;const or=Se-Pe,Or=or?Math.round(or/(W-1)):be||t.inputTimeScale/30;if(s){const Qn=Pe-te,ti=Qn>Or,Aa=Qn<-1;if((ti||Aa)&&(ti?this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Un(Qn,!0)} ms (${Qn}dts) hole between fragments detected at ${n.toFixed(3)}`):this.logger.warn(`${(t.segmentCodec||"").toUpperCase()}: ${Un(-Qn,!0)} ms (${Qn}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!Aa||te>=T[0].pts||za)){Pe=te;const Ca=T[0].pts-Qn;if(ti)T[0].dts=Pe,T[0].pts=Ca;else{let as=!0;for(let Cs=0;Cs<T.length&&!(T[Cs].dts>Ca&&as);Cs++){const zs=T[Cs].pts;if(T[Cs].dts-=Qn,T[Cs].pts-=Qn,Cs<T.length-1){const fo=T[Cs+1].pts,Ku=T[Cs].pts,dl=fo<=Ku,sf=fo<=zs;as=dl==sf}}}this.logger.log(`Video: Initial PTS/DTS adjusted: ${Un(Ca,!0)}/${Un(Pe,!0)}, delta: ${Un(Qn,!0)} ms`)}}Pe=Math.max(0,Pe);let Ur=0,un=0,Hr=Pe;for(let Qn=0;Qn<W;Qn++){const ti=T[Qn],Aa=ti.units,Ca=Aa.length;let as=0;for(let Cs=0;Cs<Ca;Cs++)as+=Aa[Cs].data.length;un+=as,Ur+=Ca,ti.length=as,ti.dts<Hr?(ti.dts=Hr,Hr+=Or/4|0||1):Hr=ti.dts,at=Math.min(ti.pts,at),rt=Math.max(ti.pts,rt)}Se=T[W-1].dts;const en=un+4*Ur+8;let on;try{on=new Uint8Array(en)}catch(Qn){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Qn,bytes:en,reason:`fail allocating video mdat ${en}`});return}const Kr=new DataView(on.buffer);Kr.setUint32(0,en),on.set(Ht.types.mdat,4);let jn=!1,di=Number.POSITIVE_INFINITY,sa=Number.POSITIVE_INFINITY,Ni=Number.NEGATIVE_INFINITY,$i=Number.NEGATIVE_INFINITY;for(let Qn=0;Qn<W;Qn++){const ti=T[Qn],Aa=ti.units;let Ca=0;for(let zs=0,fo=Aa.length;zs<fo;zs++){const Ku=Aa[zs],dl=Ku.data,sf=Ku.data.byteLength;Kr.setUint32(ce,sf),ce+=4,on.set(dl,ce),ce+=sf,Ca+=4+sf}let as;if(Qn<W-1)be=T[Qn+1].dts-ti.dts,as=T[Qn+1].pts-ti.pts;else{const zs=this.config,fo=Qn>0?ti.dts-T[Qn-1].dts:Or;if(as=Qn>0?ti.pts-T[Qn-1].pts:Or,zs.stretchShortVideoTrack&&this.nextAudioPts!==null){const Ku=Math.floor(zs.maxBufferHole*E),dl=(m?at+m*E:this.nextAudioPts)-ti.pts;dl>Ku?(be=dl-fo,be<0?be=fo:jn=!0,this.logger.log(`[mp4-remuxer]: It is approximately ${dl/90} ms to the next segment; using duration ${be/90} ms for the last video frame.`)):be=fo}else be=fo}const Cs=Math.round(ti.pts-ti.dts);di=Math.min(di,be),Ni=Math.max(Ni,be),sa=Math.min(sa,as),$i=Math.max($i,as),U.push(rs(ti.key,be,Ca,Cs))}if(U.length){if(za){if(za<70){const Qn=U[0].flags;Qn.dependsOn=2,Qn.isNonSync=0}}else if(hs&&$i-sa<Ni-di&&Or/Ni<.025&&U[0].cts===0){this.logger.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let Qn=Pe;for(let ti=0,Aa=U.length;ti<Aa;ti++){const Ca=Qn+U[ti].duration,as=Qn+U[ti].cts;if(ti<Aa-1){const Cs=Ca+U[ti+1].cts;U[ti].duration=Cs-as}else U[ti].duration=ti?U[ti-1].duration:Or;U[ti].cts=0,Qn=Ca}}}be=jn||!be?Or:be,this.nextAvcDts=te=Se+be,this.videoSampleDuration=be,this.isVideoContiguous=!0;const qi={data1:Ht.moof(t.sequenceNumber++,Pe,y(t,{samples:U})),data2:on,startPTS:at/E,endPTS:(rt+be)/E,startDTS:Pe/E,endDTS:te/E,type:"video",hasAudio:!1,hasVideo:!0,nb:U.length,dropped:t.dropped};return t.samples=[],t.dropped=0,qi}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return la;case"ac3":return us;default:return ia}}remuxAudio(t,n,s,m,E){const T=t.inputTimeScale,U=t.samplerate?t.samplerate:T,W=T/U,N=this.getSamplesPerFrame(t),te=N*W,ce=this._initPTS,be=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Pe=[],Se=E!==void 0;let at=t.samples,rt=be?0:8,Mt=this.nextAudioPts||-1;const fr=n*T,or=ce.baseTime*T/ce.timescale;if(this.isAudioContiguous=s=s||at.length&&Mt>0&&(m&&Math.abs(fr-Mt)<9e3||Math.abs(Za(at[0].pts-or,fr)-Mt)<20*te),at.forEach(function(li){li.pts=Za(li.pts-or,fr)}),!s||Mt<0){if(at=at.filter(li=>li.pts>=0),!at.length)return;E===0?Mt=0:m&&!Se?Mt=Math.max(0,fr):Mt=at[0].pts}if(t.segmentCodec==="aac"){const li=this.config.maxAudioFramesDrift;for(let Gi=0,qi=Mt;Gi<at.length;Gi++){const Qn=at[Gi],ti=Qn.pts,Aa=ti-qi,Ca=Math.abs(1e3*Aa/T);if(Aa<=-li*te&&Se)Gi===0&&(this.logger.warn(`Audio frame @ ${(ti/T).toFixed(3)}s overlaps nextAudioPts by ${Math.round(1e3*Aa/T)} ms.`),this.nextAudioPts=Mt=qi=ti);else if(Aa>=li*te&&Ca<da&&Se){let as=Math.round(Aa/te);qi=ti-as*te,qi<0&&(as--,qi+=te),Gi===0&&(this.nextAudioPts=Mt=qi),this.logger.warn(`[mp4-remuxer]: Injecting ${as} audio frame @ ${(qi/T).toFixed(3)}s due to ${Math.round(1e3*Aa/T)} ms gap.`);for(let Cs=0;Cs<as;Cs++){const zs=Math.max(qi,0);let fo=sr.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);fo||(this.logger.log("[mp4-remuxer]: Unable to get silent frame for given audio codec; duplicating last frame instead."),fo=Qn.unit.subarray()),at.splice(Gi,0,{unit:fo,pts:zs}),qi+=te,Gi++}}Qn.pts=qi,qi+=te}}let Or=null,Ur=null,un,Hr=0,en=at.length;for(;en--;)Hr+=at[en].unit.byteLength;for(let li=0,Gi=at.length;li<Gi;li++){const qi=at[li],Qn=qi.unit;let ti=qi.pts;if(Ur!==null){const Ca=Pe[li-1];Ca.duration=Math.round((ti-Ur)/W)}else if(s&&t.segmentCodec==="aac"&&(ti=Mt),Or=ti,Hr>0){Hr+=rt;try{un=new Uint8Array(Hr)}catch(Ca){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Ca,bytes:Hr,reason:`fail allocating audio mdat ${Hr}`});return}be||(new DataView(un.buffer).setUint32(0,Hr),un.set(Ht.types.mdat,4))}else return;un.set(Qn,rt);const Aa=Qn.byteLength;rt+=Aa,Pe.push(rs(!0,N,Aa,0)),Ur=ti}const on=Pe.length;if(!on)return;const Kr=Pe[Pe.length-1];this.nextAudioPts=Mt=Ur+W*Kr.duration;const jn=be?new Uint8Array(0):Ht.moof(t.sequenceNumber++,Or/W,y({},t,{samples:Pe}));t.samples=[];const di=Or/T,sa=Mt/T,$i={data1:jn,data2:un,startPTS:di,endPTS:sa,startDTS:di,endDTS:sa,type:"audio",hasAudio:!0,hasVideo:!1,nb:on};return this.isAudioContiguous=!0,$i}}function Za(P,t){let n;if(t===null)return P;for(t<P?n=-8589934592:n=8589934592;Math.abs(P-t)>4294967296;)P+=n;return P}function ks(P){for(let t=0;t<P.length;t++)if(P[t].key)return t;return-1}function _i(P,t,n,s){const m=P.samples.length;if(!m)return;const E=P.inputTimeScale;for(let U=0;U<m;U++){const W=P.samples[U];W.pts=Za(W.pts-n.baseTime*E/n.timescale,t*E)/E,W.dts=Za(W.dts-s.baseTime*E/s.timescale,t*E)/E}const T=P.samples;return P.samples=[],{samples:T}}function oo(P,t,n){const s=P.samples.length;if(!s)return;const m=P.inputTimeScale;for(let T=0;T<s;T++){const U=P.samples[T];U.pts=Za(U.pts-n.baseTime*m/n.timescale,t*m)/m}P.samples.sort((T,U)=>T.pts-U.pts);const E=P.samples;return P.samples=[],{samples:E}}class Co{constructor(t,n,s,m){this.logger=void 0,this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.isVideoContiguous=!1,this.logger=m}destroy(){}resetTimeStamp(t){this.initPTS=t,this.lastEndTime=null}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(t,n,s,m){this.audioCodec=n,this.videoCodec=s,this.generateInitSegment(ht(t,m)),this.emitInitSegment=!0}generateInitSegment(t){let{audioCodec:n,videoCodec:s}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const m=this.initData=qe(t);m.audio&&(n=go(m.audio,$.AUDIO,this.logger)),m.video&&(s=go(m.video,$.VIDEO,this.logger));const E={};m.audio&&m.video?E.audiovideo={container:"video/mp4",codec:n+","+s,supplemental:m.video.supplemental,initSegment:t,id:"main"}:m.audio?E.audio={container:"audio/mp4",codec:n,initSegment:t,id:"audio"}:m.video?E.video={container:"video/mp4",codec:s,supplemental:m.video.supplemental,initSegment:t,id:"main"}:this.logger.warn("[passthrough-remuxer.ts]: initSegment does not contain moov or trak boxes."),this.initTracks=E}remux(t,n,s,m,E,T){var U,W;let{initPTS:N,lastEndTime:te}=this;const ce={audio:void 0,video:void 0,text:m,id3:s,initSegment:void 0};r(te)||(te=this.lastEndTime=E||0);const be=n.samples;if(!(be!=null&&be.length))return ce;const Pe={initPTS:void 0,timescale:void 0,trackId:void 0};let Se=this.initData;if((U=Se)!=null&&U.length||(this.generateInitSegment(be),Se=this.initData),!((W=Se)!=null&&W.length))return this.logger.warn("[passthrough-remuxer.ts]: Failed to generate initSegment."),ce;this.emitInitSegment&&(Pe.tracks=this.initTracks,this.emitInitSegment=!1);const at=nr(be,Se,this.logger),rt=Se.audio?at[Se.audio.id]:null,Mt=Se.video?at[Se.video.id]:null,fr=Mo(Mt,1/0),or=Mo(rt,1/0),Or=Mo(Mt,0,!0),Ur=Mo(rt,0,!0);let un,Hr=E,en=0;if(rt&&(!Mt||!N&&or<fr||N&&N.trackId===Se.audio.id)?(Pe.trackId=Se.audio.id,un=rt,en=Ur-or):Mt&&(Pe.trackId=Se.video.id,un=Mt,en=Or-fr),un){const li=un.timescale;Hr=un.start/li,Pe.timescale=li,N||(Pe.initPTS=un.start-E*li,this.initPTS=N={baseTime:Pe.initPTS,timescale:li,trackId:Pe.trackId})}(T||!N)&&(Ms(N,Hr,E,en)||Pe.timescale!==N.timescale)&&(Pe.initPTS=Hr-E,N&&N.timescale===1&&this.logger.warn(`Adjusting initPTS @${E} from ${N.baseTime/N.timescale} to ${Pe.initPTS}`),this.initPTS=N={baseTime:Pe.initPTS,timescale:1});const on=t?Hr-N.baseTime/N.timescale:te;er(Se,be,N.baseTime/N.timescale);const Kr=on+en;en>0?this.lastEndTime=Kr:(this.logger.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const jn=!!Se.audio,di=!!Se.video;let sa="";jn&&(sa+="audio"),di&&(sa+="video");const Ni={data1:be,startPTS:on,startDTS:on,endPTS:Kr,endDTS:Kr,type:sa,hasAudio:jn,hasVideo:di,nb:1,dropped:0};ce.audio=jn&&!di?Ni:void 0,ce.video=di?Ni:void 0;const $i=Mt==null?void 0:Mt.sampleCount;if($i){const li=Mt.keyFrameIndex,Gi=li!==-1;Ni.nb=$i,Ni.dropped=li===0||this.isVideoContiguous?0:Gi?li:$i,Ni.independent=Gi,Ni.firstKeyFrame=li,Gi&&Mt.keyFrameStart&&(Ni.firstKeyFramePTS=Mt.keyFrameStart-N.baseTime/N.timescale),this.isVideoContiguous||(ce.independent=Gi),this.isVideoContiguous||(this.isVideoContiguous=Gi),Ni.dropped&&this.logger.warn(`fmp4 does not start with IDR: firstIDR ${li}/${$i} dropped: ${Ni.dropped} pts: ${Ni.firstKeyFramePTS||"NA"}`)}return ce.initSegment=Pe,ce.id3=_i(s,E,N,N),m.samples.length&&(ce.text=oo(m,E,N)),ce}}function Mo(P,t,n=!1){return(P==null?void 0:P.start)!==void 0?(P.start+(n?P.duration:0))/P.timescale:t}function Ms(P,t,n,s){if(P===null)return!0;const m=Math.max(s,1),E=t-P.baseTime/P.timescale;return Math.abs(E-n)>m}function go(P,t,n){const s=P==null?void 0:P.codec;return s&&s.length>4?s:t===$.AUDIO?s==="ec-3"||s==="ac-3"||s==="alac"?s:s==="fLaC"||s==="Opus"?Ir(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 ps;try{ps=self.performance.now.bind(self.performance)}catch(P){ps=Date.now}const Xu=[{demux:ru,remux:Co},{demux:X,remux:xa},{demux:On,remux:xa},{demux:vo,remux:xa}];Xu.splice(2,0,{demux:ua,remux:xa});class ju{constructor(t,n,s,m,E,T){this.asyncResult=!1,this.logger=void 0,this.observer=void 0,this.typeSupported=void 0,this.config=void 0,this.id=void 0,this.demuxer=void 0,this.remuxer=void 0,this.decrypter=void 0,this.probe=void 0,this.decryptionPromise=null,this.transmuxConfig=void 0,this.currentTransmuxState=void 0,this.observer=t,this.typeSupported=n,this.config=s,this.id=E,this.logger=T}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,m){const E=s.transmuxing;E.executeStart=ps();let T=new Uint8Array(t);const{currentTransmuxState:U,transmuxConfig:W}=this;m&&(this.currentTransmuxState=m);const{contiguous:N,discontinuity:te,trackSwitch:ce,accurateTimeOffset:be,timeOffset:Pe,initSegmentChange:Se}=m||U,{audioCodec:at,videoCodec:rt,defaultInitPts:Mt,duration:fr,initSegmentData:or}=W,Or=Qu(T,n);if(Or&&ja(Or.method)){const en=this.getDecrypter(),on=Ui(Or.method);if(en.isSync()){let Kr=en.softwareDecrypt(T,Or.key.buffer,Or.iv.buffer,on);if(s.part>-1){const di=en.flush();Kr=di&&di.buffer}if(!Kr)return E.executeEnd=ps(),uu(s);T=new Uint8Array(Kr)}else return this.asyncResult=!0,this.decryptionPromise=en.webCryptoDecrypt(T,Or.key.buffer,Or.iv.buffer,on).then(Kr=>{const jn=this.push(Kr,null,s);return this.decryptionPromise=null,jn}),this.decryptionPromise}const Ur=this.needsProbing(te,ce);if(Ur){const en=this.configureTransmuxer(T);if(en)return this.logger.warn(`[transmuxer] ${en.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:en,reason:en.message}),E.executeEnd=ps(),uu(s)}(te||ce||Se||Ur)&&this.resetInitSegment(or,at,rt,fr,n),(te||Se||Ur)&&this.resetInitialTimestamp(Mt),N||this.resetContiguity();const un=this.transmux(T,Or,Pe,be,s);this.asyncResult=As(un);const Hr=this.currentTransmuxState;return Hr.contiguous=!0,Hr.discontinuity=!1,Hr.trackSwitch=!1,E.executeEnd=ps(),un}flush(t){const n=t.transmuxing;n.executeStart=ps();const{decrypter:s,currentTransmuxState:m,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const T=[],{timeOffset:U}=m;if(s){const ce=s.flush();ce&&T.push(this.push(ce.buffer,null,t))}const{demuxer:W,remuxer:N}=this;if(!W||!N){n.executeEnd=ps();const ce=[uu(t)];return this.asyncResult?Promise.resolve(ce):ce}const te=W.flush(U);return As(te)?(this.asyncResult=!0,te.then(ce=>(this.flushRemux(T,ce,t),T))):(this.flushRemux(T,te,t),this.asyncResult?Promise.resolve(T):T)}flushRemux(t,n,s){const{audioTrack:m,videoTrack:E,id3Track:T,textTrack:U}=n,{accurateTimeOffset:W,timeOffset:N}=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 te=this.remuxer.remux(m,E,T,U,N,W,!0,this.id);t.push({remuxResult:te,chunkMeta:s}),s.transmuxing.executeEnd=ps()}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,E){const{demuxer:T,remuxer:U}=this;!T||!U||(T.resetInitSegment(t,n,s,m),U.resetInitSegment(t,n,s,E))}destroy(){this.demuxer&&(this.demuxer.destroy(),this.demuxer=void 0),this.remuxer&&(this.remuxer.destroy(),this.remuxer=void 0)}transmux(t,n,s,m,E){let T;return n&&n.method==="SAMPLE-AES"?T=this.transmuxSampleAes(t,n,s,m,E):T=this.transmuxUnencrypted(t,s,m,E),T}transmuxUnencrypted(t,n,s,m){const{audioTrack:E,videoTrack:T,id3Track:U,textTrack:W}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,T,U,W,n,s,!1,this.id),chunkMeta:m}}transmuxSampleAes(t,n,s,m,E){return this.demuxer.demuxSampleAes(t,n,s).then(T=>({remuxResult:this.remuxer.remux(T.audioTrack,T.videoTrack,T.id3Track,T.textTrack,s,m,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:m}=this;let E;for(let ce=0,be=Xu.length;ce<be;ce++){var T;if((T=Xu[ce].demux)!=null&&T.probe(t,this.logger)){E=Xu[ce];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const U=this.demuxer,W=this.remuxer,N=E.remux,te=E.demux;(!W||!(W instanceof N))&&(this.remuxer=new N(s,n,m,this.logger)),(!U||!(U instanceof te))&&(this.demuxer=new te(s,n,m,this.logger),this.probe=te.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new Ei(this.config)),t}}function Qu(P,t){let n=null;return P.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const uu=P=>({remuxResult:{},chunkMeta:P});function As(P){return"then"in P&&P.then instanceof Function}class Uu{constructor(t,n,s,m,E){this.audioCodec=void 0,this.videoCodec=void 0,this.initSegmentData=void 0,this.duration=void 0,this.defaultInitPts=void 0,this.audioCodec=t,this.videoCodec=n,this.initSegmentData=s,this.duration=m,this.defaultInitPts=E||null}}class Cu{constructor(t,n,s,m,E,T){this.discontinuity=void 0,this.contiguous=void 0,this.accurateTimeOffset=void 0,this.trackSwitch=void 0,this.timeOffset=void 0,this.initSegmentChange=void 0,this.discontinuity=t,this.contiguous=n,this.accurateTimeOffset=s,this.trackSwitch=m,this.timeOffset=E,this.initSegmentChange=T}}let yo=0;class pl{constructor(t,n,s,m){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=yo++,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=W=>{const N=W.data,te=this.hls;if(!(!te||!(N!=null&&N.event)||N.instanceNo!==this.instanceNo))switch(N.event){case"init":{var ce;const be=(ce=this.workerContext)==null?void 0:ce.objectURL;be&&self.URL.revokeObjectURL(be);break}case"transmuxComplete":{this.handleTransmuxComplete(N.data);break}case"flush":{this.onFlush(N.data);break}case"workerLog":{te.logger[N.data.logType]&&te.logger[N.data.logType](N.data.message);break}default:{N.data=N.data||{},N.data.frag=this.frag,N.data.part=this.part,N.data.id=this.id,te.trigger(N.event,N.data);break}}},this.onWorkerError=W=>{if(!this.hls)return;const N=new Error(`${W.message} (${W.filename}:${W.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:N})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=s,this.onFlush=m;const T=(W,N)=>{N=N||{},N.frag=this.frag||void 0,W===o.ERROR&&(N=N,N.parent=this.id,N.part=this.part,this.error=N.error),this.hls.trigger(W,N)};this.observer=new va,this.observer.on(o.FRAG_DECRYPTED,T),this.observer.on(o.ERROR,T);const U=Fr(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const W=this.hls.logger;if(E.workerPath||Mn()){try{E.workerPath?(W.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=$s(E.workerPath)):(W.log(`injecting Web Worker for "${n}"`),this.workerContext=Ns());const{worker:te}=this.workerContext;te.addEventListener("message",this.onWorkerMessage),te.addEventListener("error",this.onWorkerError),te.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:U,id:n,config:yn(E)})}catch(te){W.warn(`Error setting up "${n}" Web Worker, fallback to inline`,te),this.terminateWorker(),this.error=null,this.transmuxer=new ju(this.observer,U,E,"",n,t.logger)}return}}this.transmuxer=new ju(this.observer,U,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=yo++;const n=this.hls.config,s=Fr(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:yn(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),Ke(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,E,T,U,W,N,te){var ce,be;N.transmuxing.start=self.performance.now();const{instanceNo:Pe,transmuxer:Se}=this,at=T?T.start:E.start,rt=E.decryptdata,Mt=this.frag,fr=!(Mt&&E.cc===Mt.cc),or=!(Mt&&N.level===Mt.level),Or=Mt?N.sn-Mt.sn:-1,Ur=this.part?N.part-this.part.index:-1,un=Or===0&&N.id>1&&N.id===(Mt==null?void 0:Mt.stats.chunkCount),Hr=!or&&(Or===1||Or===0&&(Ur===1||un&&Ur<=0)),en=self.performance.now();(or||Or||E.stats.parsing.start===0)&&(E.stats.parsing.start=en),T&&(Ur||!Hr)&&(T.stats.parsing.start=en);const on=!(Mt&&((ce=E.initSegment)==null?void 0:ce.url)===((be=Mt.initSegment)==null?void 0:be.url)),Kr=new Cu(fr,Hr,W,or,at,on);if(!Hr||fr||on){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${N.sn}${N.part>-1?" part: "+N.part:""} ${this.id===u.MAIN?"level":"track"}: ${N.level} id: ${N.id}
|
|
|
discontinuity: ${fr}
|
|
|
trackSwitch: ${or}
|
|
|
contiguous: ${Hr}
|
|
|
accurateTimeOffset: ${W}
|
|
|
timeOffset: ${at}
|
|
|
initSegmentChange: ${on}`);const jn=new Uu(s,m,n,U,te);this.configureTransmuxer(jn)}if(this.frag=E,this.part=T,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Pe,cmd:"demux",data:t,decryptdata:rt,chunkMeta:N,state:Kr},t instanceof ArrayBuffer?[t]:[]);else if(Se){const jn=Se.push(t,rt,N,Kr);As(jn)?jn.then(di=>{this.handleTransmuxComplete(di)}).catch(di=>{this.transmuxerError(di,N,"transmuxer-interface push error")}):this.handleTransmuxComplete(jn)}}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);As(m)?m.then(E=>{this.handleFlushResult(E,t)}).catch(E=>{this.transmuxerError(E,t,"transmuxer-interface flush error")}):this.handleFlushResult(m,t)}}transmuxerError(t,n,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 _l=100;class qo extends ma{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:E}){if(s===u.MAIN){const T=n.cc,U=this.fragCurrent;if(this.initPTS[T]={baseTime:m,timescale:E},this.log(`InitPTS for cc: ${T} found from main: ${m}/${E}`),this.mainAnchor=n,this.state===Wr.WAITING_INIT_PTS){const W=this.waitingData;(!W&&!this.loadingParts||W&&W.frag.cc!==T)&&this.syncWithAnchor(n,W==null?void 0:W.frag)}else!this.hls.hasEnoughToStart&&U&&U.cc!==T?(U.abortRequests(),this.syncWithAnchor(n,U)):this.state===Wr.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 E=(m||t).cc,T=this.getLevelDetails(),U=this.getLoadPosition(),W=nt(T,E,U);W&&(this.log(`Waiting fragment cc (${n==null?void 0:n.cc}) cancelled because video is at cc ${t.cc}`),this.startFragRequested=!1,this.nextLoadPosition=W.start,this.resetLoadingState(),this.state===Wr.IDLE&&this.doTickIdle())}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=Wr.STOPPED;return}const s=this.lastCurrentTime;this.stopLoad(),this.setInterval(_l),s>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s,this.state=Wr.IDLE):this.state=Wr.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case Wr.IDLE:this.doTickIdle();break;case Wr.WAITING_TRACK:{const{levels:n,trackId:s}=this,m=n==null?void 0:n[s],E=m==null?void 0:m.details;if(E&&!this.waitForLive(m)){if(this.waitForCdnTuneIn(E))break;this.state=Wr.WAITING_INIT_PTS}break}case Wr.FRAG_LOADING_WAITING_RETRY:{var t;const n=performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:m,trackId:E}=this;this.log("RetryDate reached, switch back to IDLE state"),this.resetStartWhenNotLoaded((m==null?void 0:m[E])||null),this.state=Wr.IDLE}break}case Wr.WAITING_INIT_PTS:{const n=this.waitingData;if(n){const{frag:s,part:m,cache:E,complete:T}=n,U=this.mainAnchor;if(this.initPTS[s.cc]!==void 0){this.waitingData=null,this.state=Wr.FRAG_LOADING;const W=E.flush().buffer,N={frag:s,part:m,payload:W,networkDetails:null};this._handleFragmentLoadProgress(N),T&&super._handleFragmentLoadComplete(N)}else U&&U.cc!==n.frag.cc&&this.syncWithAnchor(U,n.frag)}else this.state=Wr.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:E}=this,T=n.config;if(!this.buffering||!m&&!this.primaryPrefetch&&(this.startFragRequested||!T.startFragPrefetch)||!(s!=null&&s[E]))return;const U=s[E],W=U.details;if(!W||this.waitForLive(U)||this.waitForCdnTuneIn(W)){this.state=Wr.WAITING_TRACK,this.startFragRequested=!1;return}const N=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&N&&(this.bufferFlushed=!1,this.afterBufferFlushed(N,$.AUDIO,u.AUDIO));const te=this.getFwdBufferInfo(N,u.AUDIO);if(te===null)return;if(!this.switchingTrack&&this._streamEnded(te,W)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=Wr.ENDED;return}const ce=te.len,be=n.maxBufferLength,Pe=W.fragments,Se=Pe[0].start,at=this.getLoadPosition(),rt=this.flushing?at:te.end;if(this.switchingTrack&&m){const or=at;W.PTSKnown&&or<Se&&(te.end>Se||te.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),m.currentTime=Se+.05)}if(ce>=be&&!this.switchingTrack&&rt<Pe[Pe.length-1].start)return;let Mt=this.getNextFragment(rt,W);if(Mt&&this.isLoopLoading(Mt,rt)&&(Mt=this.getNextFragmentLoopLoading(Mt,W,te,u.MAIN,be)),!Mt){this.bufferFlushed=!0;return}let fr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&fr&&_e(Mt)&&!Mt.endList&&(!W.live||!this.loadingParts&&rt<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(fr)===ir.OK&&(this.mainFragLoading=fr=null),fr&&_e(fr))){if(Mt.start>fr.end){const Or=this.fragmentTracker.getFragAtPos(rt,u.MAIN);Or&&Or.end>fr.end&&(fr=Or,this.mainFragLoading={frag:Or,targetBufferTime:null})}if(Mt.start>fr.end)return}this.loadFragment(Mt,U,rt)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new Ln(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!==Wr.STOPPED&&(this.setInterval(_l),this.state=Wr.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:E,id:T,groupId:U,track:W}=n;if(!m){this.warn(`Audio tracks reset while loading track ${T} "${W.name}" of "${U}"`);return}const N=this.mainDetails;if(!N||E.endCC>N.endCC||N.expired){this.cachedTrackLoadedData=n,this.state!==Wr.STOPPED&&(this.state=Wr.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${T} "${W.name}" of "${U}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const te=m[T];let ce=0;if(E.live||(s=te.details)!=null&&s.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(te.details){var be;ce=this.alignPlaylists(E,te.details,(be=this.levelLastLoaded)==null?void 0:be.details)}E.alignedSliding||(ii(E,N),E.alignedSliding||Ki(E,N),ce=E.fragmentStart)}te.details=E,this.levelLastLoaded=te,this.startFragRequested||this.setStartPosition(N,ce),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:E,id:T,groupId:n.groupId}),this.state===Wr.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=Wr.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{config:T,trackId:U,levels:W}=this;if(!W){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 N=W[U];if(!N){this.warn("Audio track is undefined on fragment load progress");return}const te=N.details;if(!te){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const ce=T.defaultAudioCodec||N.audioCodec||"mp4a.40.2";let be=this.transmuxer;be||(be=this.transmuxer=new pl(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Pe=this.initPTS[s.cc],Se=(n=s.initSegment)==null?void 0:n.data;if(Pe!==void 0){const rt=m?m.index:-1,Mt=rt!==-1,fr=new fs(s.level,s.sn,s.stats.chunkCount,E.byteLength,rt,Mt);be.push(E,Se,ce,"",s,m,te.totalduration,!1,fr,Pe)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${te.startSN} ,${te.endSN}],track ${U}`);const{cache:at}=this.waitingData=this.waitingData||{frag:s,part:m,cache:new na,complete:!1};at.push(new Uint8Array(E)),this.state!==Wr.STOPPED&&(this.state=Wr.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&&_e(n.frag)&&(this.mainFragLoading=n,this.state===Wr.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(_e(s)){this.fragPrevious=s;const E=this.switchingTrack;E&&(this.bufferedTrack=E,this.switchingTrack=null,this.hls.trigger(o.AUDIO_TRACK_SWITCHED,b({},E)))}this.fragBufferedComplete(s,m),this.media&&this.tick()}onError(t,n){var s;if(n.fatal){this.state=Wr.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===Wr.WAITING_TRACK&&((s=n.context)==null?void 0:s.type)===h.AUDIO_TRACK&&(this.state=Wr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onBufferFlushing(t,{type:n}){n!==$.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==$.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===Wr.ENDED&&(this.state=Wr.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:E,chunkMeta:T}=t,U=this.getCurrentContext(T);if(!U){this.resetWhenMissingContext(T);return}const{frag:W,part:N,level:te}=U,{details:ce}=te,{audio:be,text:Pe,id3:Se,initSegment:at}=E;if(this.fragContextChanged(W)||!ce){this.fragmentTracker.removeFragment(W);return}if(this.state=Wr.PARSING,this.switchingTrack&&be&&this.completeAudioSwitch(this.switchingTrack),at!=null&&at.tracks){const rt=W.initSegment||W;this._bufferInitSegment(te,at.tracks,rt,T),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:rt,id:s,tracks:at.tracks})}if(be){const{startPTS:rt,endPTS:Mt,startDTS:fr,endDTS:or}=be;N&&(N.elementaryStreams[$.AUDIO]={startPTS:rt,endPTS:Mt,startDTS:fr,endDTS:or}),W.setElementaryStreamInfo($.AUDIO,rt,Mt,fr,or),this.bufferFragmentData(be,W,N,T)}if(Se!=null&&(n=Se.samples)!=null&&n.length){const rt=y({id:s,frag:W,details:ce},Se);m.trigger(o.FRAG_PARSING_METADATA,rt)}if(Pe){const rt=y({id:s,frag:W,details:ce},Pe);m.trigger(o.FRAG_PARSING_USERDATA,rt)}}_bufferInitSegment(t,n,s,m){if(this.state!==Wr.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const E=n.audio;E.id=u.AUDIO;const T=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${T}/${E.codec}]`),T&&T.split(",").length===1&&(E.levelCodec=T),this.hls.trigger(o.BUFFER_CODECS,n);const U=E.initSegment;if(U!=null&&U.byteLength){const W={type:"audio",frag:s,part:null,chunkMeta:m,parent:s.type,data:U};this.hls.trigger(o.BUFFER_APPENDING,W)}this.tickImmediate()}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);if(this.switchingTrack||m===ir.NOT_LOADED||m===ir.PARTIAL){var E;if(!_e(t))this._loadInitSegment(t,n);else if((E=n.details)!=null&&E.live&&!this.initPTS[t.cc]){this.log(`Waiting for video PTS in continuity counter ${t.cc} of live stream before loading audio fragment ${t.sn} of level ${this.trackId}`),this.state=Wr.WAITING_INIT_PTS;const T=this.mainDetails;T&&T.fragmentStart!==n.details.fragmentStart&&Ki(n.details,T)}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:E,audioCodec:T,channels:U}=this.bufferedTrack;Ea({name:n,lang:s,assocLang:m,characteristics:E,audioCodec:T,channels:U},t,It)||(Xi(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 ml 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 E=-1;for(let T=0;T<m.length;T++){const U=m[T];let W;try{W=new self.URL(U.URI,n.url).href}catch(N){this.warn(`Could not construct new URL for Rendition Report: ${N}`),W=U.URI||""}if(W===t){E=T;break}else W===t.substring(0,W.length)&&(E=T)}if(E!==-1){const T=m[E],U=parseInt(T["LAST-MSN"])||(n==null?void 0:n.lastPartSn);let W=parseInt(T["LAST-PART"])||(n==null?void 0:n.lastPartIndex);if(this.hls.config.lowLatencyMode){const te=Math.min(n.age-n.partTarget,n.targetduration);W>=0&&te>n.partTarget&&(W+=1)}const N=s&&Tr(s);return new fn(U,W>=0?W:void 0,N)}}}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:E}=n,T=self.performance.now(),U=E.loading.first?Math.max(0,T-E.loading.first):0;m.advancedDateTime=Date.now()-U;const W=this.hls.config.timelineOffset;if(W!==m.appliedTimelineOffset){const te=Math.max(W||0,0);m.appliedTimelineOffset=te,m.fragments.forEach(ce=>{ce.start=ce.playlistOffset+te})}if(m.live||s!=null&&s.live){const te="levelInfo"in n?n.levelInfo:n.track;if(m.reloaded(s),s&&m.fragments.length>0){hr(s,m);const fr=m.playlistParsingError;if(fr){this.warn(fr);const or=this.hls;if(!or.config.ignorePlaylistParsingErrors){var N;const{networkDetails:Or}=n;or.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:m.url,error:fr,reason:fr.message,level:n.level||void 0,parent:(N=m.fragments[0])==null?void 0:N.type,networkDetails:Or,stats:E});return}m.playlistParsingError=null}}m.requestScheduled===-1&&(m.requestScheduled=E.loading.start);const ce=this.hls.mainForwardBufferInfo,be=ce?ce.end-ce.len:0,Pe=(m.edge-be)*1e3,Se=Rn(m,Pe);if(m.requestScheduled+Se<T?m.requestScheduled=T:m.requestScheduled+=Se,this.log(`live playlist ${t} ${m.advanced?"REFRESHED "+m.lastPartSn+"-"+m.lastPartIndex:m.updated?"UPDATED":"MISSED"}`),!this.canLoad||!m.live)return;let at,rt,Mt;if(m.canBlockReload&&m.endSN&&m.advanced){const fr=this.hls.config.lowLatencyMode,or=m.lastPartSn,Or=m.endSN,Ur=m.lastPartIndex,un=Ur!==-1,Hr=or===Or;un?Hr?(rt=Or+1,Mt=fr?0:Ur):(rt=or,Mt=fr?Ur+1:m.maxPartIndex):rt=Or+1;const en=m.age,on=en+m.ageHeader;let Kr=Math.min(on-m.partTarget,m.targetduration*1.5);if(Kr>0){if(on>m.targetduration*3)this.log(`Playlist last advanced ${en.toFixed(2)}s ago. Omitting segment and part directives.`),rt=void 0,Mt=void 0;else if(s!=null&&s.tuneInGoal&&on-m.partTarget>s.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${s.tuneInGoal} to: ${Kr} with playlist age: ${m.age}`),Kr=0;else{const jn=Math.floor(Kr/m.targetduration);if(rt+=jn,Mt!==void 0){const di=Math.round(Kr%m.targetduration/m.partTarget);Mt+=di}this.log(`CDN Tune-in age: ${m.ageHeader}s last advanced ${en.toFixed(2)}s goal: ${Kr} skip sn ${jn} to part ${Mt}`)}m.tuneInGoal=Kr}if(at=this.getDeliveryDirectives(m,n.deliveryDirectives,rt,Mt),fr||!Hr){m.requestScheduled=T,this.loadingPlaylist(te,at);return}}else(m.canBlockReload||m.canSkipUntil)&&(at=this.getDeliveryDirectives(m,n.deliveryDirectives,rt,Mt));at&&rt!==void 0&&m.canBlockReload&&(m.requestScheduled=E.loading.first+Math.max(Se-U*2,Se/2)),this.scheduleLoading(te,at,m)}else this.clearTimer()}scheduleLoading(t,n,s){const m=s||t.details;if(!m){this.loadingPlaylist(t,n);return}const E=self.performance.now(),T=m.requestScheduled;if(E>=T){this.loadingPlaylist(t,n);return}const U=T-E;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(U)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),U)}getDeliveryDirectives(t,n,s,m){let E=Tr(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,m=n.part,E=it.No),new fn(s,m,E)}checkRetry(t){const n=t.details,s=Dt(t),m=t.errorAction,{action:E,retryCount:T=0,retryConfig:U}=m||{},W=!!m&&!!U&&(E===$e.RetryRequest||!m.resolved&&E===$e.SendAlternateToPenaltyBox);if(W){var N;if(T>=U.maxNumRetry)return!1;if(s&&(N=t.context)!=null&&N.deliveryDirectives)this.warn(`Retrying playlist loading ${T+1}/${U.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const te=cr(U,T);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),te),this.warn(`Retrying playlist loading ${T+1}/${U.maxNumRetry} after "${n}" in ${te}ms`)}t.levelRetry=!0,m.resolved=!0}return W}}function Gs(P,t){if(P.length!==t.length)return!1;for(let n=0;n<P.length;n++)if(!To(P[n].attrs,t[n].attrs))return!1;return!0}function To(P,t,n){const s=P["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(m=>P[m]!==t[m])}function mu(P,t){return t.label.toLowerCase()===P.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(P.lang||"").toLowerCase())}class Wl extends ml{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:E}=n,T=this.tracksInGroup[s];if(!T||T.groupId!==m){this.warn(`Audio track with id:${s} and group:${m} not found in active group ${T==null?void 0:T.groupId}`);return}const U=T.details;T.details=n.details,this.log(`Audio track ${s} "${T.name}" lang:${T.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,U)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const s=n.audioGroups||null,m=this.groupIds;let E=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(U=>(m==null?void 0:m.indexOf(U))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const U=this.tracks.filter(be=>!s||s.indexOf(be.groupId)!==-1);if(U.length)this.selectDefaultTrack&&!U.some(be=>be.default)&&(this.selectDefaultTrack=!1),U.forEach((be,Pe)=>{be.id=Pe});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=U;const W=this.hls.config.audioPreference;if(!E&&W){const be=gi(W,U,It);if(be>-1)E=U[be];else{const Pe=gi(W,this.tracks);E=this.tracks[Pe]}}let N=this.findTrackId(E);N===-1&&E&&(N=this.findTrackId(null));const te={audioTracks:U};this.log(`Updating audio tracks, ${U.length} track(s) found in group(s): ${s==null?void 0:s.join(",")}`),this.hls.trigger(o.AUDIO_TRACKS_UPDATED,te);const ce=this.trackId;if(N!==-1&&ce===-1)this.setAudioTrack(N);else if(U.length&&ce===-1){var T;const be=new Error(`No audio track selected for current audio group-ID(s): ${(T=this.groupIds)==null?void 0:T.join(",")} track count: ${U.length}`);this.warn(be.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:be})}}}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&&Ea(t,m,It))return m;const E=gi(t,this.tracksInGroup,It);if(E>-1){const T=this.tracksInGroup[E];return this.setAudioTrack(E),T}else if(m){let T=n.loadLevel;T===-1&&(T=n.firstAutoLevel);const U=gt(t,n.levels,s,T,It);if(U===-1)return null;n.nextLoadLevel=U}if(t.channels||t.audioCodec){const T=gi(t,s);if(T>-1)return s[T]}}}return null}setAudioTrack(t){const n=this.tracksInGroup;if(t<0||t>=n.length){this.warn(`Invalid audio track id: ${t}`);return}this.selectDefaultTrack=!1;const s=this.currentTrack,m=n[t],E=m.details&&!m.details.live;if(t===this.trackId&&m===s&&E||(this.log(`Switching to audio-track ${t} "${m.name}" lang:${m.lang} group:${m.groupId} channels:${m.channels}`),this.trackId=t,this.currentTrack=m,this.hls.trigger(o.AUDIO_TRACK_SWITCHING,b({},m)),E))return;const T=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(T)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const m=n[s];if(!(this.selectDefaultTrack&&!m.default)&&(!t||Ea(t,m,It)))return s}if(t){const{name:s,lang:m,assocLang:E,characteristics:T,audioCodec:U,channels:W}=t;for(let N=0;N<n.length;N++){const te=n[N];if(Ea({name:s,lang:m,assocLang:E,characteristics:T,audioCodec:U,channels:W},te,It))return N}for(let N=0;N<n.length;N++){const te=n[N];if(To(t.attrs,te.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return N}for(let N=0;N<n.length;N++){const te=n[N];if(To(t.attrs,te.attrs,["LANGUAGE"]))return N}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&Xi(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),T=t.details,U=T==null?void 0:T.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:""}${U&&T.live?" age "+U.toFixed(1)+(T.type?" "+T.type||0:""):""} ${E}`),this.hls.trigger(o.AUDIO_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}}class Tu{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(E){var s;if(m.onError(E),this.queues===null||this.tracks===null)return;const T=(s=this.tracks[t])==null?void 0:s.buffer;T!=null&&T.updating||this.shiftAndExecuteNext(t)}}}shiftAndExecuteNext(t){this.queues!==null&&(this.queues[t].shift(),this.executeNext(t))}current(t){var n;return((n=this.queues)==null?void 0:n[t][0])||null}toString(){const{queues:t,tracks:n}=this;return t===null||n===null?"<destroyed>":`
|
|
|
${this.list("video")}
|
|
|
${this.list("audio")}
|
|
|
${this.list("audiovideo")}}`}list(t){var n,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 lc=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Pl="HlsJsTrackRemovedError";class ri extends Error{constructor(t){super(t),this.name=Pl}}class xc 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:E}=this;s&&this.log("Media source opened"),!(!m||!E)&&(E.removeEventListener("sourceopen",this._onMediaSourceOpen),m.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(o.MEDIA_ATTACHED,{media:m,mediaSource:E}),this.mediaSource!==null&&this.checkPendingTracks())},this._onMediaSourceClose=()=>{this.log("Media source closed")},this._onMediaSourceEnded=()=>{this.log("Media source ended")},this._onMediaEmptied=()=>{const{mediaSrc: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(ae(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 E=this.isUpdating();E||this.operationQueue.removeBlockers();const T=this.isQueued();(E||T)&&this.warn(`Transfering MediaSource with${T?" operations in queue":""}${E?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const m=this.transferData;return!this.sourceBufferCount&&m&&m.mediaSource===n?y(s,m.tracks):this.sourceBuffers.forEach(E=>{const[T]=E;T&&(s[T]=y({},this.tracks[T]),this.removeBuffer(T)),E[0]=E[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,m=ae(this.appendSource);if(this.transferData=this.overrides=void 0,s&&m){const E=!!n.mediaSource;(E||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const T=this.mediaSource=n.mediaSource||new m;if(this.assignMediaSource(T),E)this._objectUrl=s.src,this.attachTransferred();else{const U=this._objectUrl=self.URL.createObjectURL(T);if(this.appendSource)try{s.removeAttribute("src");const W=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||W&&T instanceof W,to(s),Ec(s,U),s.load()}catch(W){s.src=U}else s.src=U}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,E=m?Object.keys(m):null,T=E?E.length:0,U=()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()};if(m&&E&&T){if(!this.tracksReady){this.hls.config.startFragPrefetch=!0,this.log("attachTransferred: waiting for SourceBuffer track info");return}if(this.log(`attachTransferred: (bufferCodecEventsTotal ${this.bufferCodecEventsTotal})
|
|
|
required tracks: ${yn(s,(W,N)=>W==="initSegment"?void 0:N)};
|
|
|
transfer tracks: ${yn(m,(W,N)=>W==="initSegment"?void 0:N)}}`),!ue(m,s)){n.mediaSource=null,n.tracks=void 0;const W=t.currentTime,N=this.details,te=Math.max(W,(N==null?void 0:N.fragments[0].start)||0);if(te-W>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${W} -> ${te}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(m)}"->"${Object.keys(s)}") start time: ${te} currentTime: ${W}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=te;return}this.transferData=void 0,E.forEach(W=>{const N=W,te=m[N];if(te){const ce=te.buffer;if(ce){const be=this.fragmentTracker,Pe=te.id;if(be.hasFragments(Pe)||be.hasParts(Pe)){const rt=pi.getBuffered(ce);be.detectEvictedFragments(N,rt,Pe,null,!0)}const Se=Jo(N),at=[N,ce];this.sourceBuffers[Se]=at,ce.updating&&this.operationQueue&&this.operationQueue.prependBlocker(N),this.trackSourceBuffer(N,te)}}}),U(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),U()}get mediaSourceOpenOrEnded(){var t;const n=(t=this.mediaSource)==null?void 0:t.readyState;return n==="open"||n==="ended"}onMediaDetaching(t,n){const s=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:m,mediaSource:E,_objectUrl:T}=this;if(E){if(this.log(`media source ${s?"transferring":"detaching"}`),s)this.sourceBuffers.forEach(([U])=>{U&&this.removeBuffer(U)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const U=E.readyState==="open";try{const W=E.sourceBuffers;for(let N=W.length;N--;)U&&W[N].abort(),E.removeSourceBuffer(W[N]);U&&E.endOfStream()}catch(W){this.warn(`onMediaDetaching: ${W.message} while calling endOfStream`)}}this.sourceBufferCount&&this.onBufferReset()}E.removeEventListener("sourceopen",this._onMediaSourceOpen),E.removeEventListener("sourceended",this._onMediaSourceEnded),E.removeEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(E.removeEventListener("startstreaming",this._onStartStreaming),E.removeEventListener("endstreaming",this._onEndStreaming)),this.mediaSource=null,this._objectUrl=null}m&&(m.removeEventListener("emptied",this._onMediaEmptied),s||(T&&self.URL.revokeObjectURL(T),this.mediaSrc===T?(m.removeAttribute("src"),this.appendSource&&to(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(E){this.warn(`onBufferReset ${t}`,E)}delete this.tracks[t]}removeBuffer(t){this.removeBufferListeners(t),this.sourceBuffers[Jo(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new Tu(this.tracks)}onBufferCodecs(t,n){const s=this.tracks,m=Object.keys(n);this.log(`BUFFER_CODECS: "${m}" (current SB count ${this.sourceBufferCount})`);const E="audiovideo"in n&&(s.audio||s.video)||s.audiovideo&&("audio"in n||"video"in n),T=!E&&this.sourceBufferCount&&this.media&&m.some(U=>!s[U]);if(E||T){this.warn(`Unsupported transition between "${Object.keys(s)}" and "${m}" SourceBuffers`);return}m.forEach(U=>{var W,N,te;const ce=n[U],{id:be,codec:Pe,levelCodec:Se,container:at,metadata:rt,supplemental:Mt}=ce;let fr=s[U];const or=(W=this.transferData)==null||(N=W.tracks)==null?void 0:N[U],Or=or!=null&&or.buffer?or:fr,Ur=(Or==null?void 0:Or.pendingCodec)||(Or==null?void 0:Or.codec),un=Or==null?void 0:Or.levelCodec;fr||(fr=s[U]={buffer:void 0,listeners:[],codec:Pe,supplemental:Mt,container:at,levelCodec:Se,metadata:rt,id:be});const Hr=Gr(Ur,un),en=Hr==null?void 0:Hr.replace(lc,"$1");let on=Gr(Pe,Se);const Kr=(te=on)==null?void 0:te.replace(lc,"$1");on&&Hr&&en!==Kr&&(U.slice(0,5)==="audio"&&(on=Ir(on,this.appendSource)),this.log(`switching codec ${Ur} to ${on}`),on!==(fr.pendingCodec||fr.codec)&&(fr.pendingCodec=on),fr.container=at,this.appendChangeType(U,at,on))}),(this.tracksReady||this.sourceBufferCount)&&(n.tracks=this.sourceBufferTracks),!this.sourceBufferCount&&this.mediaSourceOpenOrEnded&&this.checkPendingTracks()}get sourceBufferTracks(){return Object.keys(this.tracks).reduce((t,n)=>{const 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}`,E={label:`change-type=${m}`,execute:()=>{const T=this.tracks[t];if(T){const U=T.buffer;U!=null&&U.changeType&&(this.log(`changing ${t} sourceBuffer type to ${m}`),U.changeType(m),T.codec=s,T.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:T=>{this.warn(`Failed to change ${t} SourceBuffer type`,T)}};this.append(E,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const s=t.start,m=s+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(s,u.MAIN))==null?void 0:n.gap)===!0)return;const T={label:"block-audio",execute:()=>{var U;const W=this.tracks.video;(this.lastVideoAppendEnd>m||W!=null&&W.buffer&&pi.isBuffered(W.buffer,m)||((U=this.fragmentTracker.getAppendedFrag(m,u.MAIN))==null?void 0:U.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:U=>{this.warn("Error executing block-audio operation",U)}};this.blockedAudioAppend={op:T,frag:t},this.append(T,"audio",!0)}unblockAudio(){const{blockedAudioAppend:t,operationQueue:n}=this;t&&n&&(this.blockedAudioAppend=null,n.unblockAudio(t.op))}onBufferAppending(t,n){const{tracks:s}=this,{data:m,type:E,parent:T,frag:U,part:W,chunkMeta:N}=n,te=N.buffering[E],ce=U.sn,be=self.performance.now();te.start=be;const Pe=U.stats.buffering,Se=W?W.stats.buffering:null;Pe.start===0&&(Pe.start=be),Se&&Se.start===0&&(Se.start=be);const at=s.audio;let rt=!1;E==="audio"&&(at==null?void 0:at.container)==="audio/mpeg"&&(rt=!this.lastMpegAudioChunk||N.id===1||this.lastMpegAudioChunk.sn!==N.sn,this.lastMpegAudioChunk=N);const Mt=this.tracks.video,fr=Mt==null?void 0:Mt.buffer;if(fr&&ce!=="initSegment"){const Ur=W||U,un=this.blockedAudioAppend;if(E==="audio"&&T!=="main"&&!this.blockedAudioAppend){const en=Ur.start+Ur.duration*.05,on=fr.buffered,Kr=this.currentOp("video");!on.length&&!Kr?this.blockAudio(Ur):!Kr&&!pi.isBuffered(fr,en)&&this.lastVideoAppendEnd<en&&this.blockAudio(Ur)}else if(E==="video"){const Hr=Ur.end;if(un){const en=un.frag.start;(Hr>en||Hr<this.lastVideoAppendEnd||pi.isBuffered(fr,en))&&this.unblockAudio()}this.lastVideoAppendEnd=Hr}}const or=(W||U).start,Or={label:`append-${E}`,execute:()=>{if(te.executeStart=self.performance.now(),rt){const Ur=this.tracks[E];if(Ur){const un=Ur.buffer;if(un){const Hr=or-un.timestampOffset;Math.abs(Hr)>=.1&&(this.log(`Updating audio SourceBuffer timestampOffset to ${or} (delta: ${Hr}) sn: ${ce})`),un.timestampOffset=or)}}}this.appendExecutor(m,E)},onStart:()=>{},onComplete:()=>{const Ur=self.performance.now();te.executeEnd=te.end=Ur,Pe.first===0&&(Pe.first=Ur),Se&&Se.first===0&&(Se.first=Ur);const un={};this.sourceBuffers.forEach(([Hr,en])=>{Hr&&(un[Hr]=pi.getBuffered(en))}),this.appendErrors[E]=0,E==="audio"||E==="video"?this.appendErrors.audiovideo=0:(this.appendErrors.audio=0,this.appendErrors.video=0),this.hls.trigger(o.BUFFER_APPENDED,{type:E,frag:U,part:W,chunkMeta:N,parent:U.type,timeRanges:un})},onError:Ur=>{var un;const Hr={type:c.MEDIA_ERROR,parent:U.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:U,part:W,chunkMeta:N,error:Ur,err:Ur,fatal:!1},en=(un=this.media)==null?void 0:un.error;if(Ur.code===DOMException.QUOTA_EXCEEDED_ERR)Hr.details=f.BUFFER_FULL_ERROR;else if(Ur.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!en)Hr.errorAction=st(!0);else if(Ur.name===Pl&&this.sourceBufferCount===0)Hr.errorAction=st(!0);else{const on=++this.appendErrors[E];this.warn(`Failed ${on}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${en||"no media error"})`),(on>=this.hls.config.appendErrorMaxRetry||en)&&(Hr.fatal=!0)}this.hls.trigger(o.ERROR,Hr)}};this.append(Or,E,this.isPending(this.tracks[E]))}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:E}=n;s?this.append(this.getFlushOp(s,m,E),s):this.sourceBuffers.forEach(([T])=>{T&&this.append(this.getFlushOp(T,m,E),T)})}onFragParsed(t,n){const{frag:s,part:m}=n,E=[],T=m?m.elementaryStreams:s.elementaryStreams;T[$.AUDIOVIDEO]?E.push("audiovideo"):(T[$.AUDIO]&&E.push("audio"),T[$.VIDEO]&&E.push("video"));const U=()=>{const W=self.performance.now();s.stats.buffering.end=W,m&&(m.stats.buffering.end=W);const N=m?m.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:m,stats:N,id:s.type})};E.length===0&&this.warn(`Fragments must have at least one ElementaryStreamType set. type: ${s.type} level: ${s.level} sn: ${s.sn}`),this.blockBuffers(U,E).catch(W=>{this.warn(`Fragment buffered callback ${W}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{var n,s;return t&&(!((n=this.tracks[t])!=null&&n.ended)||((s=this.tracks[t])==null?void 0:s.ending))})}onBufferEos(t,n){var s;this.sourceBuffers.forEach(([T])=>{if(T){const U=this.tracks[T];(!n.type||n.type===T)&&(U.ending=!0,U.ended||(U.ended=!0,this.log(`${T} buffer reached EOS`)))}});const m=((s=this.overrides)==null?void 0:s.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([T])=>{var U;return T&&!((U=this.tracks[T])!=null&&U.ended)})&&(m?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:T}=this;if(!T||T.readyState!=="open"){T&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${T.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),T.endOfStream(),this.hls.trigger(o.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(o.BUFFERED_TO_END,void 0)))}tracksEnded(){this.sourceBuffers.forEach(([t])=>{if(t!==null){const n=this.tracks[t];n&&(n.ending=!1)}})}onLevelUpdated(t,{details:n}){n.fragments.length&&(this.details=n,this.updateDuration())}updateDuration(){const t=this.getDurationAndRange();t&&this.blockUntilOpen(()=>this.updateMediaSource(t))}onError(t,n){if(n.details===f.BUFFER_APPEND_ERROR&&n.frag){var 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,E=s.currentTime,T=n.levelTargetDuration,U=n.live&&m.liveBackBufferLength!==null?m.liveBackBufferLength:m.backBufferLength;if(r(U)&&U>=0){const W=Math.max(U,T),N=Math.floor(E/T)*T-W;this.flushBackBuffer(E,T,N)}if(r(m.frontBufferFlushThreshold)&&m.frontBufferFlushThreshold>0){const W=Math.max(m.maxBufferLength,m.frontBufferFlushThreshold),N=Math.max(W,T),te=Math.floor(E/T)*T+N;this.flushFrontBuffer(E,T,te)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([m,E])=>{if(E){const U=pi.getBuffered(E);if(U.length>0&&s>U.start(0)){var T;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const W=this.tracks[m];if((T=this.details)!=null&&T.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(W!=null&&W.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,E])=>{if(E){const T=pi.getBuffered(E),U=T.length;if(U<2)return;const W=T.start(U-1),N=T.end(U-1);if(s>W||t>=W&&t<=N)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:W,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&&n.live&&s.setLiveSeekableRange){const N=Math.max(0,n.fragmentStart),te=Math.max(N,m);return{duration:1/0,start:N,end:te}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const T=this.media.duration,U=r(s.duration)?s.duration:0;return m>U&&m>T||!r(T)?{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}) ${yn(s)}`),this.tracksReady){var m;const E=(m=this.transferData)==null?void 0:m.tracks;E&&Object.keys(E).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const t={};this.sourceBuffers.forEach(([n,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 E in t){const T=E,U=t[T];if(this.isPending(U)){const W=this.getTrackCodec(U,T),N=`${U.container};codecs=${W}`;U.codec=W,this.log(`creating sourceBuffer(${N})${this.currentOp(T)?" Queued":""} ${yn(U)}`);try{const te=s.addSourceBuffer(N),ce=Jo(T),be=[T,te];n[ce]=be,U.buffer=te}catch(te){var m;this.error(`error while trying to add sourceBuffer: ${te.message}`),this.shiftAndExecuteNext(T),(m=this.operationQueue)==null||m.removeBlockers(),delete this.tracks[T],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:te,sourceBufferName:T,mimeType:N,parent:U.id});return}this.trackSourceBuffer(T,U)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let m=t.codec;s&&(n==="video"||n==="audiovideo")&&At(s,"video")&&(m=Ct(m,s));const E=Gr(m,t.levelCodec);return E?n.slice(0,5)==="audio"?Ir(E,this.appendSource):E:""}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",(E,T)=>{const U=T.removedRanges;U!=null&&U.length&&this.hls.trigger(o.BUFFER_FLUSHED,{type:E})})}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 E=this.currentOp(t);E&&E.onError(m)}removeExecutor(t,n,s){const{media:m,mediaSource:E}=this,T=this.tracks[t],U=T==null?void 0:T.buffer;if(!m||!E||!U){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const W=r(m.duration)?m.duration:1/0,N=r(E.duration)?E.duration:1/0,te=Math.max(0,n),ce=Math.min(s,W,N);ce>te&&(!T.ending||T.ended)?(T.ended=!1,this.log(`Removing [${te},${ce}] from the ${t} SourceBuffer`),U.remove(te,ce)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],m=s==null?void 0:s.buffer;if(!m)throw new ri(`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(T=>this.appendBlocker(T));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(m).then(T=>{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 E=m.buffer;if(!E)return;const T=s.bind(this,t);m.listeners.push({event:n,listener:T}),E.addEventListener(n,T)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const s=n.buffer;s&&(n.listeners.forEach(m=>{s.removeEventListener(m.event,m.listener)}),n.listeners.length=0)}}function to(P){const t=P.querySelectorAll("source");[].slice.call(t).forEach(n=>{P.removeChild(n)})}function Ec(P,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,P.appendChild(n)}function Jo(P){return P==="audio"?1:0}class Pu{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,E)=>this.isLevelAllowed(m)&&E<=t);return this.clientRect=null,Pu.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=(U,W)=>W?U.width!==W.width||U.height!==W.height:!0;let E=t.length-1;const T=Math.max(n,s);for(let U=0;U<t.length;U+=1){const W=t[U];if((W.width>=T||W.height>=T)&&m(W,t[U+1])){E=U;break}}return E}}const zo={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},mo={HLS:"h"},vl={OBJECT:"CMCD-Object",REQUEST:"CMCD-Request",SESSION:"CMCD-Session",STATUS:"CMCD-Status"},Dl={[vl.OBJECT]:["br","d","ot","tb"],[vl.REQUEST]:["bl","dl","mtp","nor","nrr","su"],[vl.SESSION]:["cid","pr","sf","sid","st","v"],[vl.STATUS]:["bs","rtp"]};class Fo{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof Fo?s:new Fo(s))),this.value=t,this.params=n}}const Ol="Dict";function Us(P){return Array.isArray(P)?JSON.stringify(P):P instanceof Map?"Map{}":P instanceof Set?"Set{}":typeof P=="object"?JSON.stringify(P):String(P)}function Bo(P,t,n,s){return new Error(`failed to ${P} "${Us(t)}" as ${n}`,{cause:s})}function Fs(P,t,n){return Bo("serialize",P,t,n)}class Gl{constructor(t){this.description=t}}const gl="Bare Item",nu="Boolean";function wc(P){if(typeof P!="boolean")throw Fs(P,nu);return P?"?1":"?0"}function Sc(P){return btoa(String.fromCharCode(...P))}const iu="Byte Sequence";function kl(P){if(ArrayBuffer.isView(P)===!1)throw Fs(P,iu);return`:${Sc(P)}:`}const vu="Integer";function cc(P){return P<-999999999999999||999999999999999<P}function Ju(P){if(cc(P))throw Fs(P,vu);return P.toString()}function ka(P){return`@${Ju(P.getTime()/1e3)}`}function zc(P,t){if(P<0)return-zc(-P,t);const n=Math.pow(10,t);if(Math.abs(P*n%1-.5)<Number.EPSILON){const m=Math.floor(P*n);return(m%2===0?m:m+1)/n}else return Math.round(P*n)/n}const Zc="Decimal";function zu(P){const t=zc(P,3);if(Math.floor(Math.abs(t)).toString().length>12)throw Fs(P,Zc);const n=t.toString();return n.includes(".")?n:`${n}.0`}const Ac="String",ff=/[\x00-\x1f\x7f]+/;function fc(P){if(ff.test(P))throw Fs(P,Ac);return`"${P.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function au(P){return P.description||P.toString().slice(7,-1)}const Hc="Token";function Vl(P){const t=au(P);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw Fs(t,Hc);return t}function yl(P){switch(typeof P){case"number":if(!r(P))throw Fs(P,gl);return Number.isInteger(P)?Ju(P):zu(P);case"string":return fc(P);case"symbol":return Vl(P);case"boolean":return wc(P);case"object":if(P instanceof Date)return ka(P);if(P instanceof Uint8Array)return kl(P);if(P instanceof Gl)return Vl(P);default:throw Fs(P,gl)}}const Wc="Key";function Kl(P){if(/^[a-z*][a-z0-9\-_.*]*$/.test(P)===!1)throw Fs(P,Wc);return P}function Wo(P){return P==null?"":Object.entries(P).map(([t,n])=>n===!0?`;${Kl(t)}`:`;${Kl(t)}=${yl(n)}`).join("")}function Iu(P){return P instanceof Fo?`${yl(P.value)}${Wo(P.params)}`:yl(P)}function dc(P){return`(${P.value.map(Iu).join(" ")})${Wo(P.params)}`}function Zu(P,t={whitespace:!0}){if(typeof P!="object")throw Fs(P,Ol);const n=P instanceof Map?P.entries():Object.entries(P),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([m,E])=>{E instanceof Fo||(E=new Fo(E));let T=Kl(m);return E.value===!0?T+=Wo(E.params):(T+="=",Array.isArray(E.value)?T+=dc(E):T+=Iu(E)),T}).join(`,${s}`)}function Cc(P,t){return Zu(P,t)}function Gc(P){return P==="ot"||P==="sf"||P==="st"}function Yl(P){return typeof P=="number"?r(P):P!=null&&P!==""&&P!==!1}function uo(P,t){const n=new URL(P),s=new URL(t);if(n.origin!==s.origin)return P;const m=n.pathname.split("/").slice(1),E=s.pathname.split("/").slice(1,-1);for(;m[0]===E[0];)m.shift(),E.shift();for(;E.length;)E.shift(),m.unshift("..");return m.join("/")}const Xl=P=>Math.round(P),Tc=(P,t)=>(t!=null&&t.baseUrl&&(P=uo(P,t.baseUrl)),encodeURIComponent(P)),Du=P=>Xl(P/100)*100,Ou={br:Xl,d:Xl,bl:Du,dl:Du,mtp:Du,nor:Tc,rtp:Du,tb:Xl};function lo(P,t){const n={};if(P==null||typeof P!="object")return n;const s=Object.keys(P).sort(),m=y({},Ou,t==null?void 0:t.formatters),E=t==null?void 0:t.filter;return s.forEach(T=>{if(E!=null&&E(T))return;let U=P[T];const W=m[T];W&&(U=W(U,t)),!(T==="v"&&U===1)&&(T=="pr"&&U===1||Yl(U)&&(Gc(T)&&typeof U=="string"&&(U=new Gl(U)),n[T]=U))}),n}function el(P,t={}){return P?Cc(lo(P,t),y({whitespace:!1},t)):""}function df(P,t={}){const n={};if(!P)return n;const s=Object.entries(P),m=Object.entries(Dl).concat(Object.entries((t==null?void 0:t.customHeaderMap)||{})),E=s.reduce((T,U)=>{var W,N;const[te,ce]=U,be=((W=m.find(Pe=>Pe[1].includes(te)))===null||W===void 0?void 0:W[0])||vl.REQUEST;return(N=T[be])!==null&&N!==void 0||(T[be]={}),T[be][te]=ce,T},{});return Object.entries(E).reduce((T,[U,W])=>(T[U]=el(W,t),T),n)}function Pc(P,t,n){return y(P,df(t,n))}const Vc="CMCD";function bl(P,t={}){if(!P)return"";const n=el(P,t);return`${Vc}=${encodeURIComponent(n)}`}const Po=/CMCD=[^&#]+/;function Rl(P,t,n){const s=bl(t,n);if(!s)return P;if(Po.test(P))return P.replace(Po,s);const m=P.includes("?")?"&":"?";return`${P}${m}${s}`}class je{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:zo.MANIFEST,su:!this.initialized})}catch(E){this.hls.logger.warn("Could not generate manifest CMCD data.",E)}},this.applyFragmentData=m=>{try{const{frag:E,part:T}=m,U=this.hls.levels[E.level],W=this.getObjectType(E),N={d:(T||E).duration*1e3,ot:W};(W===zo.VIDEO||W===zo.AUDIO||W==zo.MUXED)&&(N.br=U.bitrate/1e3,N.tb=this.getTopBandwidth(W)/1e3,N.bl=this.getBufferLength(W));const te=T?this.getNextPart(T):this.getNextFrag(E);te!=null&&te.url&&te.url!==E.url&&(N.nor=te.url),this.apply(m,N)}catch(E){this.hls.logger.warn("Could not generate segment CMCD data.",E)}},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:mo.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===zo.INIT||n.ot===zo.VIDEO||n.ot===zo.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((T,U)=>(m.includes(U)&&(T[U]=n[U]),T),{}));const E={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),Pc(t.headers,n,E)):t.url=Rl(t.url,n,E)}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,s;const{index:m,fragment:E}=t,T=(n=this.hls.levels[E.level])==null||(s=n.details)==null?void 0:s.partList;if(T){const{sn:U}=E;for(let W=T.length-1;W>=0;W--){const N=T[W];if(N.index===m&&N.fragment.sn===U)return T[W+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return zo.TIMED_TEXT;if(t.sn==="initSegment")return zo.INIT;if(n==="audio")return zo.AUDIO;if(n==="main")return this.hls.audioTracks.length?zo.VIDEO:zo.MUXED}getTopBandwidth(t){let n=0,s;const m=this.hls;if(t===zo.AUDIO)s=m.audioTracks;else{const E=m.maxAutoLevel,T=E>-1?E+1:m.levels.length;s=m.levels.slice(0,T)}return s.forEach(E=>{E.bitrate>n&&(n=E.bitrate)}),n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===zo.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:pi.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(E){this.loader=void 0,this.loader=new s(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,T,U){n(E),this.loader.load(E,T,U)}}}createFragmentLoader(){const{fLoader:t}=this.config,n=this.applyFragmentData,s=t||this.config.loader;return class{constructor(E){this.loader=void 0,this.loader=new s(E)}get stats(){return this.loader.stats}get context(){return this.loader.context}destroy(){this.loader.destroy()}abort(){this.loader.abort()}load(E,T,U){n(E),this.loader.load(E,T,U)}}}}const gu=3e5;class eu 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)===$e.SendAlternateToPenaltyBox&&s.flags===Je.MoveAllAlternatesMatchingHost){const m=this.levels;let E=this._pathwayPriority,T=this.pathwayId;if(n.context){const{groupId:U,pathwayId:W,type:N}=n.context;U&&m?T=this.getPathwayForGroupId(U,N,T):W&&(T=W)}T in this.penalizedPathways||(this.penalizedPathways[T]=performance.now()),!E&&m&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),s.resolved=this.pathwayId!==T),s.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${T} levels: ${m&&m.length} priorities: ${yn(E)} penalized: ${yn(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(E=>{m-s[E]>gu&&delete s[E]});for(let E=0;E<t.length;E++){const T=t[E];if(T in s)continue;if(T===this.pathwayId)return;const U=this.hls.nextLoadLevel,W=this.hls.levels[U];if(n=this.getLevelsForPathway(T),n.length>0){this.log(`Setting Pathway to "${T}"`),this.pathwayId=T,xr(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const N=this.hls.levels[U];W&&N&&this.levels&&(N.attrs["STABLE-VARIANT-ID"]!==W.attrs["STABLE-VARIANT-ID"]&&N.bitrate!==W.bitrate&&this.log(`Unstable Pathways change from bitrate ${W.bitrate} to ${N.bitrate}`),this.hls.nextLoadLevel=U);break}}}getPathwayForGroupId(t,n,s){const m=this.getLevelsForPathway(s).concat(this.levels||[]);for(let E=0;E<m.length;E++)if(n===h.AUDIO_TRACK&&m[E].hasAudioGroup(t)||n===h.SUBTITLE_TRACK&&m[E].hasSubtitleGroup(t))return m[E].pathwayId;return s}clonePathways(t){const n=this.levels;if(!n)return;const s={},m={};t.forEach(E=>{const{ID:T,"BASE-ID":U,"URI-REPLACEMENT":W}=E;if(n.some(te=>te.pathwayId===T))return;const N=this.getLevelsForPathway(U).map(te=>{const ce=new Fi(te.attrs);ce["PATHWAY-ID"]=T;const be=ce.AUDIO&&`${ce.AUDIO}_clone_${T}`,Pe=ce.SUBTITLES&&`${ce.SUBTITLES}_clone_${T}`;be&&(s[ce.AUDIO]=be,ce.AUDIO=be),Pe&&(m[ce.SUBTITLES]=Pe,ce.SUBTITLES=Pe);const Se=No(te.uri,ce["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",W),at=new Ln({attrs:ce,audioCodec:te.audioCodec,bitrate:te.bitrate,height:te.height,name:te.name,url:Se,videoCodec:te.videoCodec,width:te.width});if(te.audioGroups)for(let rt=1;rt<te.audioGroups.length;rt++)at.addGroupId("audio",`${te.audioGroups[rt]}_clone_${T}`);if(te.subtitleGroups)for(let rt=1;rt<te.subtitleGroups.length;rt++)at.addGroupId("text",`${te.subtitleGroups[rt]}_clone_${T}`);return at});n.push(...N),Ll(this.audioTracks,s,W,T),Ll(this.subtitleTracks,m,W,T)})}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(te){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(m.protocol!=="data:"){const te=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;m.searchParams.set("_HLS_pathway",this.pathwayId),m.searchParams.set("_HLS_throughput",""+te)}const E={responseType:"json",url:m.href},T=n.steeringManifestLoadPolicy.default,U=T.errorRetry||T.timeoutRetry||{},W={loadPolicy:T,timeout:T.maxLoadTimeMs,maxRetry:U.maxNumRetry||0,retryDelay:U.retryDelayMs||0,maxRetryDelay:U.maxRetryDelayMs||0},N={onSuccess:(te,ce,be,Pe)=>{this.log(`Loaded steering manifest: "${m}"`);const Se=te.data;if((Se==null?void 0:Se.VERSION)!==1){this.log(`Steering VERSION ${Se.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Se.TTL;const{"RELOAD-URI":at,"PATHWAY-CLONES":rt,"PATHWAY-PRIORITY":Mt}=Se;if(at)try{this.uri=new self.URL(at,m).href}catch(or){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${at}`);return}this.scheduleRefresh(this.uri||be.url),rt&&this.clonePathways(rt);const fr={steeringManifest:Se,url:m.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,fr),Mt&&this.updatePathwayPriority(Mt)},onError:(te,ce,be,Pe)=>{if(this.log(`Error loading steering manifest: ${te.code} ${te.text} (${ce.url})`),this.stopLoad(),te.code===410){this.enabled=!1,this.log(`Steering manifest ${ce.url} no longer available`);return}let Se=this.timeToLoad*1e3;if(te.code===429){const at=this.loader;if(typeof(at==null?void 0:at.getResponseHeader)=="function"){const rt=at.getResponseHeader("Retry-After");rt&&(Se=parseFloat(rt)*1e3)}this.log(`Steering manifest ${ce.url} rate limited`);return}this.scheduleRefresh(this.uri||ce.url,Se)},onTimeout:(te,ce,be)=>{this.log(`Timeout loading steering manifest (${ce.url})`),this.scheduleRefresh(this.uri||ce.url)}};this.log(`Requesting steering manifest: ${m}`),this.loader.load(E,W,N)}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 Ll(P,t,n,s){P&&Object.keys(t).forEach(m=>{const E=P.filter(T=>T.groupId===m).map(T=>{const U=y({},T);return U.details=void 0,U.attrs=new Fi(U.attrs),U.url=U.attrs.URI=No(T.url,T.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),U.groupId=U.attrs["GROUP-ID"]=t[m],U.attrs["PATHWAY-ID"]=s,U});P.push(...E)})}function No(P,t,n,s){const{HOST:m,PARAMS:E,[n]:T}=s;let U;t&&(U=T==null?void 0:T[t],U&&(P=U));const W=new self.URL(P);return m&&!U&&(W.host=m),E&&Object.keys(E).sort().forEach(N=>{N&&W.searchParams.set(N,E[N])}),W.href}function Vs(P,t,n){Go(P,t,n),P.addEventListener(t,n)}function Go(P,t,n){P.removeEventListener(t,n)}class ku 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=ku.CDMCleanupPromise?[ku.CDMCleanupPromise]:[],this.onMediaEncrypted=n=>{const{initDataType:s,initData:m}=n,E=`"${n.type}" event: init data type: "${s}"`;if(this.debug(E),m!==null){if(!this.keyFormatPromise){let T=Object.keys(this.keySystemAccessPromises);T.length||(T=po(this.config));const U=T.map(wo).filter(W=>!!W);this.keyFormatPromise=this.getKeyFormatPromise(U)}this.keyFormatPromise.then(T=>{const U=Zs(T);let W,N;if(s==="sinf"){if(U!==wa.FAIRPLAY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${s}" for selected key-system ${U}`);return}const Se=jt(new Uint8Array(m));try{const at=Ra(JSON.parse(Se).sinf),rt=xt(at);if(!rt)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");W=new Uint8Array(rt.subarray(8,24)),N=wa.FAIRPLAY}catch(at){this.warn(`${E} Failed to parse sinf: ${at}`);return}}else{if(U!==wa.WIDEVINE&&U!==wa.PLAYREADY){this.warn(`Ignoring unexpected "${n.type}" event with init data type: "${s}" for selected key-system ${U}`);return}const Se=pe(m),at=Se.filter(Mt=>!!Mt.systemId&&Eo(Mt.systemId)===U);at.length>1&&this.warn(`${E} Using first of ${at.length} pssh found for selected key-system ${U}`);const rt=at[0];if(!rt){Se.length===0||Se.some(Mt=>!Mt.systemId)?this.warn(`${E} contains incomplete or invalid pssh data`):this.log(`ignoring ${E} for ${Se.map(Mt=>Eo(Mt.systemId)).join(",")} pssh data in favor of playlist keys`);return}if(N=Eo(rt.systemId),rt.version===0&&rt.data)if(N===wa.WIDEVINE){const Mt=rt.data.length-22;W=new Uint8Array(rt.data.subarray(Mt,Mt+16))}else N===wa.PLAYREADY&&(W=qa(rt.data))}if(!N||!W)return;const te=J.hexDump(W),{keyIdToKeySessionPromise:ce,mediaKeySessions:be}=this;let Pe=ce[te];for(let Se=0;Se<be.length;Se++){const at=be[Se],rt=at.decryptdata;if(!rt.keyId)continue;const Mt=J.hexDump(rt.keyId);if(te===Mt||rt.uri.replace(/-/g,"").indexOf(te)!==-1){if(Pe=ce[Mt],rt.pssh)break;delete ce[Mt],rt.pssh=new Uint8Array(m),rt.keyId=W,Pe=ce[te]=Pe.then(()=>this.generateRequestWithPreferredKeySession(at,s,m,"encrypted-event-key-match")),Pe.catch(fr=>this.handleError(fr));break}}if(!Pe){if(N!==U){this.log(`Ignoring "${n.type}" event with ${N} init data for selected key-system ${U}`);return}Pe=ce[te]=this.getKeySystemSelectionPromise([N]).then(({keySystem:Se,mediaKeys:at})=>{var rt;this.throwIfDestroyed();const Mt=new qs("ISO-23001-7",te,(rt=wo(Se))!=null?rt:"");return Mt.pssh=new Uint8Array(m),Mt.keyId=W,this.attemptSetMediaKeys(Se,at).then(()=>{this.throwIfDestroyed();const fr=this.createMediaKeySessionContext({decryptdata:Mt,keySystem:Se,mediaKeys:at});return this.generateRequestWithPreferredKeySession(fr,s,m,"encrypted-event-no-match")})}),Pe.catch(Se=>this.handleError(Se))}})}},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[t];if(m)return m.licenseUrl;if(t===wa.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[t];if(s)return s.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,s=(T,U,W)=>!!T&&W.indexOf(T)===U,m=n.map(T=>T.audioCodec).filter(s),E=n.map(T=>T.videoCodec).filter(s);return m.length+E.length===0&&E.push("avc1.42e01e"),new Promise((T,U)=>{const W=N=>{const te=N.shift();this.getMediaKeysPromise(te,m,E).then(ce=>T({keySystem:te,mediaKeys:ce})).catch(ce=>{N.length?W(N):ce instanceof Io?U(ce):U(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:ce,fatal:!0},ce.message))})};W(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let m=`Configured requestMediaKeySystemAccess is not a function ${s}`;return ci===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){const m=si(t,n,s,this.config.drmSystemOptions),E=this.keySystemAccessPromises[t];let T=E==null?void 0:E.keySystemAccess;if(!T){this.log(`Requesting encrypted media "${t}" key-system access with config: ${yn(m)}`),T=this.requestMediaKeySystemAccess(t,m);const U=this.keySystemAccessPromises[t]={keySystemAccess:T};return T.catch(W=>{this.log(`Failed to obtain access to key-system "${t}": ${W}`)}),T.then(W=>{this.log(`Access for key-system "${W.keySystem}" obtained`);const N=this.fetchServerCertificate(t);return this.log(`Create media-keys for "${t}"`),U.mediaKeys=W.createMediaKeys().then(te=>(this.log(`Media-keys created for "${t}"`),U.hasMediaKeys=!0,N.then(ce=>ce?this.setMediaKeysServerCertificate(te,t,ce):te))),U.mediaKeys.catch(te=>{this.error(`Failed to create media-keys for "${t}"}: ${te}`)}),U.mediaKeys})}return T.then(()=>E.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:s}){this.log(`Creating key-system session "${n}" keyId: ${J.hexDump(t.keyId||[])}`);const m=s.createSession(),E={decryptdata:t,keySystem:n,mediaKeys:s,mediaKeysSession:m,keyStatus:"status-pending"};return this.mediaKeySessions.push(E),E}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const s=this.createMediaKeySessionContext(t),m=this.getKeyIdString(n),E="cenc";this.keyIdToKeySessionPromise[m]=this.generateRequestWithPreferredKeySession(s,E,n.pssh.buffer,"expired")}else this.warn("Could not renew expired session. Missing pssh initData.");this.removeSession(t)}getKeyIdString(t){if(!t)throw new Error("Could not read keyId of undefined decryptdata");if(t.keyId===null)throw new Error("keyId is null");return J.hexDump(t.keyId)}updateKeySession(t,n){var s;const m=t.mediaKeysSession;return this.log(`Updating key-session "${m.sessionId}" for keyID ${J.hexDump(((s=t.decryptdata)==null?void 0:s.keyId)||[])}
|
|
|
} (data length: ${n&&n.byteLength})`),m.update(n)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(t=>({keySystem:t,hasMediaKeys:this.keySystemAccessPromises[t].hasMediaKeys})).filter(({hasMediaKeys:t})=>!!t).map(({keySystem:t})=>wo(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 E=wo(m);E?n(E):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=po(this.config),s=t.map(Zs).filter(m=>!!m&&n.indexOf(m)!==-1);return this.selectKeySystem(s)}loadKey(t){const n=t.keyInfo.decryptdata,s=this.getKeyIdString(n),m=`(keyId: ${s} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${m}`);let E=this.keyIdToKeySessionPromise[s];return E||(E=this.getKeySystemForKeyPromise(n).then(({keySystem:U,mediaKeys:W})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${m}`),this.attemptSetMediaKeys(U,W).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:U,mediaKeys:W,decryptdata:n}))))),(this.keyIdToKeySessionPromise[s]=E.then(U=>{const W="cenc",N=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(U,W,N,"playlist-key")})).catch(U=>this.handleError(U))),E}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t){this.hls&&(this.error(t.message),t instanceof Io?this.hls.trigger(o.ERROR,t.data):this.hls.trigger(o.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,error:t,fatal:!0}))}getKeySystemForKeyPromise(t){const n=this.getKeyIdString(t),s=this.keyIdToKeySessionPromise[n];if(!s){const m=Zs(t.keyFormat),E=m?[m]:po(this.config);return this.attemptKeySystemAccess(E)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=po(this.config)),t.length===0)throw new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${yn({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(E=>s.indexOf(E)===-1)})}generateRequestWithPreferredKeySession(t,n,s,m){var E,T;const U=(E=this.config.drmSystems)==null||(T=E[t.keySystem])==null?void 0:T.generateRequest;if(U)try{const Se=U.call(this.hls,n,s,t);if(!Se)throw new Error("Invalid response from configured generateRequest filter");n=Se.initDataType,s=Se.initData?Se.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Se){var W;if(this.warn(Se.message),(W=this.hls)!=null&&W.config.debug)throw Se}if(s===null)return this.log(`Skipping key-session request for "${m}" (no initData)`),Promise.resolve(t);const N=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${m}": ${N} (init data type: ${n} length: ${s?s.byteLength:null})`);const te=new va,ce=t._onmessage=Se=>{const at=t.mediaKeysSession;if(!at){te.emit("error",new Error("invalid state"));return}const{messageType:rt,message:Mt}=Se;this.log(`"${rt}" message event for session "${at.sessionId}" message size: ${Mt.byteLength}`),rt==="license-request"||rt==="license-renewal"?this.renewLicense(t,Mt).catch(fr=>{te.eventNames().length?te.emit("error",fr):this.handleError(fr)}):rt==="license-release"?t.keySystem===wa.FAIRPLAY&&(this.updateKeySession(t,Da("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${rt}"`)},be=t._onkeystatuseschange=Se=>{if(!t.mediaKeysSession){te.emit("error",new Error("invalid state"));return}this.onKeyStatusChange(t);const rt=t.keyStatus;te.emit("keyStatus",rt),rt==="expired"&&(this.warn(`${t.keySystem} expired for key ${N}`),this.renewKeySession(t))};Vs(t.mediaKeysSession,"message",ce),Vs(t.mediaKeysSession,"keystatuseschange",be);const Pe=new Promise((Se,at)=>{te.on("error",at),te.on("keyStatus",rt=>{rt.startsWith("usable")?Se():rt==="output-restricted"?at(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED,fatal:!1},"HDCP level output restricted")):rt==="internal-error"?at(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR,fatal:!0},`key status changed to "${rt}"`)):rt==="expired"?at(new Error("key expired while generating request")):this.warn(`unhandled key status change "${rt}"`)})});return t.mediaKeysSession.generateRequest(n,s).then(()=>{var Se;this.log(`Request generated for key-session "${(Se=t.mediaKeysSession)==null?void 0:Se.sessionId}" keyId: ${N}`)}).catch(Se=>{throw new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Se,fatal:!1},`Error generating key-session request: ${Se}`)}).then(()=>Pe).catch(Se=>{throw te.removeAllListeners(),this.removeSession(t),Se}).then(()=>(te.removeAllListeners(),t))}onKeyStatusChange(t){t.mediaKeysSession.keyStatuses.forEach((n,s)=>{if(typeof s=="string"&&typeof n=="object"){const m=s;s=n,n=m}this.log(`key status change "${n}" for keyStatuses keyId: ${J.hexDump("buffer"in s?new Uint8Array(s.buffer,s.byteOffset,s.byteLength):new Uint8Array(s))} session keyId: ${J.hexDump(new Uint8Array(t.decryptdata.keyId||[]))} uri: ${t.decryptdata.uri}`),t.keyStatus=n})}fetchServerCertificate(t){const n=this.config,s=n.loader,m=new s(n),E=this.getServerCertificateUrl(t);return E?(this.log(`Fetching server certificate for "${t}"`),new Promise((T,U)=>{const W={responseType:"arraybuffer",url:E},N=n.certLoadPolicy.default,te={loadPolicy:N,timeout:N.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(be,Pe,Se,at)=>{T(be.data)},onError:(be,Pe,Se,at)=>{U(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Se,response:b({url:W.url,data:void 0},be)},`"${t}" certificate request failed (${E}). Status: ${be.code} (${be.text})`))},onTimeout:(be,Pe,Se)=>{U(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Se,response:{url:W.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(be,Pe,Se)=>{U(new Error("aborted"))}};m.load(W,te,ce)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((m,E)=>{t.setServerCertificate(s).then(T=>{this.log(`setServerCertificate ${T?"success":"not supported by CDM"} (${s==null?void 0:s.byteLength}) on "${n}"`),m(t)}).catch(T=>{E(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:T,fatal:!0},T.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(s=>this.updateKeySession(t,new Uint8Array(s)).catch(m=>{throw new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,error:m,fatal:!0},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"),E=m.querySelectorAll("HttpHeader");if(E.length>0){let te;for(let ce=0,be=E.length;ce<be;ce++){var T,U;te=E[ce];const Pe=(T=te.querySelector("name"))==null?void 0:T.textContent,Se=(U=te.querySelector("value"))==null?void 0:U.textContent;Pe&&Se&&t.setRequestHeader(Pe,Se)}}const W=m.querySelector("Challenge"),N=W==null?void 0:W.textContent;if(!N)throw new Error("Cannot find <Challenge> in key message");return Da(atob(N))}setupLicenseXHR(t,n,s,m){const E=this.config.licenseXhrSetup;return E?Promise.resolve().then(()=>{if(!s.decryptdata)throw new Error("Key removed");return E.call(this.hls,t,n,s,m)}).catch(T=>{if(!s.decryptdata)throw T;return t.open("POST",n,!0),E.call(this.hls,t,n,s,m)}).then(T=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:T||m})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:m}))}requestLicense(t,n){const s=this.config.keyLoadPolicy.default;return new Promise((m,E)=>{const T=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${T}`);const U=new XMLHttpRequest;U.responseType="arraybuffer",U.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return E(new Error("invalid state"));if(U.readyState===4)if(U.status===200){this._requestLicenseFailureCount=0;let W=U.response;this.log(`License received ${W instanceof ArrayBuffer?W.byteLength:W}`);const N=this.config.licenseResponseCallback;if(N)try{W=N.call(this.hls,U,T,t)}catch(te){this.error(te)}m(W)}else{const W=s.errorRetry,N=W?W.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>N||U.status>=400&&U.status<500)E(new Io({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0,networkDetails:U,response:{url:T,data:void 0,code:U.status,text:U.statusText}},`License Request XHR failed (${T}). Status: ${U.status} (${U.statusText})`));else{const te=N-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${te} attempts left`),this.requestLicense(t,n).then(m,E)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=U,this.setupLicenseXHR(U,T,t,n).then(({xhr:W,licenseChallenge:N})=>{t.keySystem==wa.PLAYREADY&&(N=this.unpackPlayReadyKeyMessage(W,N)),W.send(N)})})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,Vs(s,"encrypted",this.onMediaEncrypted),Vs(s,"waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(Go(t,"encrypted",this.onMediaEncrypted),Go(t,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var t;if(this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},!this.mediaKeys&&!this.mediaKeySessions.length)return;const n=this.media,s=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,qs.clearKeyUriToKeyIdMap();const m=s.length;ku.CDMCleanupPromise=Promise.all(s.map(E=>this.removeSession(E)).concat(n==null||(t=n.setMediaKeys(null))==null?void 0:t.catch(E=>{var T;this.log(`Could not clear media keys: ${E}`),(T=this.hls)==null||T.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: ${E}`)})}))).catch(E=>{var T;this.log(`Could not close sessions and clear media keys: ${E}`),(T=this.hls)==null||T.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: ${E}`)})}).then(()=>{m&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this.keyFormatPromise=null}onManifestLoaded(t,{sessionKeys:n}){if(!(!n||!this.config.emeEnabled)&&!this.keyFormatPromise){const s=n.reduce((m,E)=>(m.indexOf(E.keyFormat)===-1&&m.push(E.keyFormat),m),[]);this.log(`Selecting key-system from session-keys ${s.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(s)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:s}=t;if(n){this.log(`Remove licenses and keys and close session ${n.sessionId}`),t._onmessage&&(n.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(n.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),s&&s.readyState!==XMLHttpRequest.DONE&&s.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const m=this.mediaKeySessions.indexOf(t);m>-1&&this.mediaKeySessions.splice(m,1);const{drmSystemOptions:E}=this.config;return(Qa(E)?new Promise((U,W)=>{self.setTimeout(()=>W(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(U)}):Promise.resolve()).catch(U=>{var W;this.log(`Could not remove session: ${U}`),(W=this.hls)==null||W.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${U}`)})}).then(()=>n.close()).catch(U=>{var W;this.log(`Could not close session: ${U}`),(W=this.hls)==null||W.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${U}`)})})}}}ku.CDMCleanupPromise=void 0;class Io extends Error{constructor(t,n){super(n),this.data=void 0,t.error||(t.error=new Error(n)),this.data=t,t.err=t.error}}class tl{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 E=m-this.lastTime,T=s-this.lastDroppedFrames,U=n-this.lastDecodedFrames,W=1e3*T/E,N=this.hls;if(N.trigger(o.FPS_DROP,{currentDropped:T,currentDecoded:U,totalDroppedFrames:s}),W>0&&T>N.config.fpsDroppedMonitoringThreshold*U){let te=N.currentLevel;N.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+te),te>0&&(N.autoLevelCapping===-1||N.autoLevelCapping>=te)&&(te=te-1,N.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:te,droppedLevel:N.currentLevel}),N.autoLevelCapping=te,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 yu(P,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=P,t.dispatchEvent(n)}function hc(P,t){const n=P.mode;if(n==="disabled"&&(P.mode="hidden"),P.cues&&!P.cues.getCueById(t.id))try{if(P.addCue(t),!P.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){G.debug(`[texttrack-utils]: ${s}`);try{const m=new self.TextTrackCue(t.startTime,t.endTime,t.text);m.id=t.id,P.addCue(m)}catch(m){G.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${m}`)}}n==="disabled"&&(P.mode=n)}function Ru(P,t){const n=P.mode;if(n==="disabled"&&(P.mode="hidden"),P.cues)for(let s=P.cues.length;s--;)t&&P.cues[s].removeEventListener("enter",t),P.removeCue(P.cues[s]);n==="disabled"&&(P.mode=n)}function Vo(P,t,n,s){const m=P.mode;if(m==="disabled"&&(P.mode="hidden"),P.cues&&P.cues.length>0){const E=bu(P.cues,t,n);for(let T=0;T<E.length;T++)(!s||s(E[T]))&&P.removeCue(E[T])}m==="disabled"&&(P.mode=m)}function rl(P,t){if(t<=P[0].startTime)return 0;const n=P.length-1;if(t>P[n].endTime)return-1;let s=0,m=n,E;for(;s<=m;)if(E=Math.floor((m+s)/2),t<P[E].startTime)m=E-1;else if(t>P[E].startTime&&s<n)s=E+1;else return E;return P[s].startTime-t<t-P[m].startTime?s:m}function bu(P,t,n){const s=[],m=rl(P,t);if(m>-1)for(let E=m,T=P.length;E<T;E++){const U=P[E];if(U.startTime>=t&&U.endTime<=n)s.push(U);else if(U.startTime>n)return s}return s}function Ic(P){const t=[];for(let n=0;n<P.length;n++){const s=P[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(P[n])}return t}class Kc extends ml{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=Ic(this.media.textTracks);for(let E=0;E<s.length;E++)if(s[E].mode==="hidden")n=s[E];else if(s[E].mode==="showing"){n=s[E];break}const m=this.findTrackForTextTrack(n);this.subtitleTrack!==m&&this.setSubtitleTrack(m)},this.registerListeners()}destroy(){this.unregisterListeners(),this.tracks.length=0,this.tracksInGroup.length=0,this.currentTrack=null,this.onTextTracksChanged=this.asyncPollTrackChange=null,super.destroy()}get subtitleDisplay(){return this._subtitleDisplay}set subtitleDisplay(t){this._subtitleDisplay=t,this.trackId>-1&&this.toggleTrackModes()}registerListeners(){const{hls:t}=this;t.on(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;Ic(s.textTracks).forEach(T=>{Ru(T)})}onManifestLoading(){this.tracks=[],this.groupIds=null,this.tracksInGroup=[],this.trackId=-1,this.currentTrack=null,this.selectDefaultTrack=!0}onManifestParsed(t,n){this.tracks=n.subtitleTracks}onSubtitleTrackLoaded(t,n){const{id:s,groupId:m,details:E}=n,T=this.tracksInGroup[s];if(!T||T.groupId!==m){this.warn(`Subtitle track with id:${s} and group:${m} not found in active group ${T==null?void 0:T.groupId}`);return}const U=T.details;T.details=n.details,this.log(`Subtitle track ${s} "${T.name}" lang:${T.lang} group:${m} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,U)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const s=n.subtitleGroups||null,m=this.groupIds;let E=this.currentTrack;if(!s||(m==null?void 0:m.length)!==(s==null?void 0:s.length)||s!=null&&s.some(T=>(m==null?void 0:m.indexOf(T))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const T=this.tracks.filter(te=>!s||s.indexOf(te.groupId)!==-1);if(T.length)this.selectDefaultTrack&&!T.some(te=>te.default)&&(this.selectDefaultTrack=!1),T.forEach((te,ce)=>{te.id=ce});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=T;const U=this.hls.config.subtitlePreference;if(!E&&U){this.selectDefaultTrack=!1;const te=gi(U,T);if(te>-1)E=T[te];else{const ce=gi(U,this.tracks);E=this.tracks[ce]}}let W=this.findTrackId(E);W===-1&&E&&(W=this.findTrackId(null));const N={subtitleTracks:T};this.log(`Updating subtitle tracks, ${T.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,N),W!==-1&&this.trackId===-1&&this.setSubtitleTrack(W)}}findTrackId(t){const n=this.tracksInGroup,s=this.selectDefaultTrack;for(let m=0;m<n.length;m++){const E=n[m];if(!(s&&!E.default||!s&&!t)&&(!t||Ea(E,t)))return m}if(t){for(let m=0;m<n.length;m++){const E=n[m];if(To(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return m}for(let m=0;m<n.length;m++){const E=n[m];if(To(t.attrs,E.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(mu(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&&Ea(t,s))return s;const m=gi(t,this.tracksInGroup);if(m>-1){const E=this.tracksInGroup[m];return this.setSubtitleTrack(m),E}else{if(s)return null;{const E=gi(t,n);if(E>-1)return n[E]}}}}return null}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentTrack)&&this.scheduleLoading(this.currentTrack,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,m=t.groupId,E=this.getUrlWithDirectives(t.url,n),T=t.details,U=T==null?void 0:T.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:""}${U&&T.live?" age "+U.toFixed(1)+(T.type?" "+T.type||0:""):""} ${E}`),this.hls.trigger(o.SUBTITLE_TRACK_LOADING,{url:E,id:s,groupId:m,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=Ic(t.textTracks),s=this.currentTrack;let m;if(s&&(m=n.filter(E=>mu(s,E))[0],m||this.warn(`Unable to find subtitle TextTrack with name "${s.name}" and language "${s.lang}"`)),[].slice.call(n).forEach(E=>{E.mode!=="disabled"&&E!==m&&(E.mode="disabled")}),m){const E=this.subtitleDisplay?"showing":"hidden";m.mode!==E&&(m.mode=E)}}setSubtitleTrack(t){const n=this.tracksInGroup;if(!this.media){this.queuedDefaultTrack=t;return}if(t<-1||t>=n.length||!r(t)){this.warn(`Invalid subtitle track id: ${t}`);return}this.selectDefaultTrack=!1;const 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 E=!!m.details&&!m.details.live;if(t===this.trackId&&m===s&&E)return;this.log(`Switching to subtitle-track ${t}`+(m?` "${m.name}" lang:${m.lang} group:${m.groupId}`:""));const{id:T,groupId:U="",name:W,type:N,url:te}=m;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:T,groupId:U,name:W,type:N,url:te});const ce=this.switchParams(m.url,s==null?void 0:s.details,m.details);this.loadPlaylist(ce)}}function Zo(){try{return crypto.randomUUID()}catch(P){try{const t=URL.createObjectURL(new Blob),n=t.toString();return URL.revokeObjectURL(t),n.slice(n.lastIndexOf("/")+1)}catch(t){let n=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,m=>{const E=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(m=="x"?E:E&3|8).toString(16)})}}}function xu(P){let t=5381,n=P.length;for(;n;)t=t*33^P.charCodeAt(--n);return(t>>>0).toString()}const nl=.025;let il=function(P){return P[P.Point=0]="Point",P[P.Range=1]="Range",P}({});function Ql(P,t,n){return`${P.identifier}-${n+1}-${xu(t)}`}class ql{constructor(t,n){this.base=void 0,this._duration=null,this._timelineStart=null,this.appendInPlaceDisabled=void 0,this.appendInPlaceStarted=void 0,this.dateRange=void 0,this.hasPlayed=!1,this.cumulativeDuration=0,this.resumeOffset=NaN,this.playoutLimit=NaN,this.restrictions={skip:!1,jump:!1},this.snapOptions={out:!1,in:!1},this.assetList=[],this.assetListLoader=void 0,this.assetListResponse=null,this.resumeAnchor=void 0,this.error=void 0,this.resetOnResume=void 0,this.base=n,this.dateRange=t,this.setDateRange(t)}setDateRange(t){this.dateRange=t,this.resumeOffset=t.attr.optionalFloat("X-RESUME-OFFSET",this.resumeOffset),this.playoutLimit=t.attr.optionalFloat("X-PLAYOUT-LIMIT",this.playoutLimit),this.restrictions=t.attr.enumeratedStringList("X-RESTRICT",this.restrictions),this.snapOptions=t.attr.enumeratedStringList("X-SNAP",this.snapOptions)}reset(){var t;this.appendInPlaceStarted=!1,(t=this.assetListLoader)==null||t.destroy(),this.assetListLoader=void 0,this.supplementsPrimary||(this.assetListResponse=null,this.assetList=[],this._duration=null)}isAssetPastPlayoutLimit(t){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 xl(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=xl(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 xl(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)<nl))}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"?il.Range:il.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 Jl(this)}}function xl(P,t){return P-t.start<t.duration/2&&!(Math.abs(P-(t.start+t.duration))<nl)?t.start:t.start+t.duration}function Yc(P,t,n){const s=new self.URL(P,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function Ml(P,t){for(;(n=P.assetList[++t])!=null&&n.error;)var n;return t}function Jl(P){return`["${P.identifier}" ${P.cue.pre?"<pre>":P.cue.post?"<post>":""}${P.timelineStart.toFixed(2)}-${P.resumeTime.toFixed(2)}]`}function Eu(P){const t=P.timelineStart,n=P.duration||0;return`["${P.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class Xc{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.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=s,this.assetItem=m;let T=m.uri;try{T=Yc(T,n.primarySessionId).href}catch(W){}E.loadSource(T);const U=()=>{this.hasDetails=!0};E.once(o.LEVEL_LOADED,U),E.once(o.AUDIO_TRACK_LOADED,U),E.once(o.SUBTITLE_TRACK_LOADED,U),E.on(o.MEDIA_ATTACHING,(W,{media:N})=>{this.removeMediaListeners(),this.mediaAttached=N,this.interstitial.playoutLimit&&(N.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&E.on(o.BUFFER_APPENDED,()=>{const ce=this.bufferedEnd;this.reachedPlayout(ce)&&(this._bufferedEosTime=ce,E.trigger(o.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){var t;return((t=this.interstitial)==null?void 0:t.appendInPlace)||!1}bufferedInPlaceToEnd(t){var n;if(!this.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t||!this._bufferedEosTime)return!1;const s=this.timelineOffset,m=pi.bufferInfo(t,s,0);return this.getAssetTime(m.end)>=this._bufferedEosTime-.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=pi.bufferInfo(t,t.currentTime,.001);return this.getAssetTime(n.end)}get currentTime(){const t=this.media||this.mediaAttached;return t?this.getAssetTime(t.currentTime):this._currentTime||0}get duration(){const t=this.assetItem.duration;return t||0}get remaining(){const t=this.duration;return t?Math.max(0,t-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var t;return((t=this.hls)==null?void 0:t.config.timelineOffset)||0}set timelineOffset(t){const n=this.timelineOffset;if(t!==n){const s=t-n;if(Math.abs(s)>11111111111111112e-21){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,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.destroy(),this.hls=this.interstitial=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){this.hls.attachMedia(t)}detachMedia(){this.removeMediaListeners(),this.mediaAttached=null,this.hls.detachMedia()}resumeBuffering(){this.hls.resumeBuffering()}pauseBuffering(){this.hls.pauseBuffering()}transferMedia(){return this.bufferSnapShot(),this.hls.transferMedia()}resetDetails(){const t=this.hls;if(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){this.hls.on(t,n)}once(t,n,s){this.hls.once(t,n)}off(t,n,s){this.hls.off(t,n)}toString(){var t;return`HlsAssetPlayer: ${Eu(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const pc=.033;class Lu 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&&(E=m[s])!=null&&E.event;){var E;s--}return s}findItemIndexAtTime(t,n){const s=this.items;if(s)for(let m=0;m<s.length;m++){let E=s[m];if(n&&n!=="primary"&&(E=E[n]),t===E.start||t>E.start&&t<E.end)return m}return-1}findJumpRestrictedIndex(t,n){const s=this.items;if(s)for(let m=t;m<=n&&s[m];m++){const E=s[m].event;if(E!=null&&E.restrictions.jump&&!E.appendInPlace)return m}return-1}findEventIndex(t){const n=this.items;if(n)for(let m=n.length;m--;){var 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 E=0;E<m;E++){const T=s[E];if(!T.error){const U=T.timelineStart;if(n===U||n>U&&n<U+(T.duration||0))return E}}return 0}get assetIdAtEnd(){var t,n;const s=(t=this.items)==null||(n=t[this.length-1])==null?void 0:n.event;if(s){const m=s.assetList,E=m[m.length-1];if(E)return E.identifier}return null}parseInterstitialDateRanges(t,n){const s=t.main.details,{dateRanges:m}=s,E=this.events,T=this.parseDateRanges(m,{url:s.url},n),U=Object.keys(m),W=E?E.filter(N=>!U.includes(N.identifier)):[];T.length&&T.sort((N,te)=>{const ce=N.cue.pre,be=N.cue.post,Pe=te.cue.pre,Se=te.cue.post;if(ce&&!Pe)return-1;if(Pe&&!ce||be&&!Se)return 1;if(Se&&!be)return-1;if(!ce&&!Pe&&!be&&!Se){const at=N.startTime,rt=te.startTime;if(at!==rt)return at-rt}return N.dateRange.tagOrder-te.dateRange.tagOrder}),this.events=T,W.forEach(N=>{this.removeEvent(N)}),this.updateSchedule(t,W)}updateSchedule(t,n=[]){const s=this.events||[];if(s.length||n.length||this.length<2){const m=this.items,E=this.parseSchedule(s,t);(n.length||(m==null?void 0:m.length)!==E.length||E.some((U,W)=>Math.abs(U.playout.start-m[W].playout.start)>.005||Math.abs(U.playout.end-m[W].playout.end)>.005))&&(this.items=E,this.onScheduleUpdate(n,m))}}parseDateRanges(t,n,s){const m=[],E=Object.keys(t);for(let T=0;T<E.length;T++){const U=E[T],W=t[U];if(W.isInterstitial){let N=this.eventMap[U];N?N.setDateRange(W):(N=new ql(W,n),this.eventMap[U]=N,s===!1&&(N.appendInPlace=s)),m.push(N)}}return m}parseSchedule(t,n){const s=[],m=n.main.details,E=m.live?1/0:m.edge;let T=0;if(t=t.filter(W=>!W.error&&!(W.cue.once&&W.hasPlayed)),t.length){this.resolveOffsets(t,n);let W=0,N=0;if(t.forEach((te,ce)=>{const be=te.cue.pre,Pe=te.cue.post,Se=t[ce-1]||null,at=te.appendInPlace,rt=Pe?E:te.startOffset,Mt=te.duration,fr=te.timelineOccupancy===il.Range?Mt:0,or=te.resumptionOffset,Or=(Se==null?void 0:Se.startTime)===rt,Ur=rt+te.cumulativeDuration;let un=at?Ur+Mt:rt+or;if(be||!Pe&&rt<=0){const en=N;N+=fr,te.timelineStart=Ur;const on=T;T+=Mt,s.push({event:te,start:Ur,end:un,playout:{start:on,end:T},integrated:{start:en,end:N}})}else if(rt<=E){if(!Or){const Kr=rt-W;if(Kr>pc){const jn=W,di=N;N+=Kr;const sa=T;T+=Kr;const Ni={previousEvent:t[ce-1]||null,nextEvent:te,start:jn,end:jn+Kr,playout:{start:sa,end:T},integrated:{start:di,end:N}};s.push(Ni)}else Kr>0&&Se&&(Se.cumulativeDuration+=Kr,s[s.length-1].end=rt)}Pe&&(un=Ur),te.timelineStart=Ur;const en=N;N+=fr;const on=T;T+=Mt,s.push({event:te,start:Ur,end:un,playout:{start:on,end:T},integrated:{start:en,end:N}})}else return;const Hr=te.resumeTime;Pe||Hr>E?W=E:W=Hr}),W<E){var U;const te=W,ce=N,be=E-W;N+=be;const Pe=T;T+=be,s.push({previousEvent:((U=s[s.length-1])==null?void 0:U.event)||null,nextEvent:null,start:W,end:te+be,playout:{start:Pe,end:T},integrated:{start:ce,end:N}})}this.setDurations(E,T,N)}else s.push({previousEvent:null,nextEvent:null,start:0,end:E,playout:{start:0,end:E},integrated:{start:0,end:E}}),this.setDurations(E,E,E);return 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 E=0,T=-1;t.forEach((U,W)=>{const N=U.cue.pre,te=U.cue.post,ce=N?0:te?m:U.startTime;this.updateAssetDurations(U),T===ce?U.cumulativeDuration=E:(E=0,T=ce),!te&&U.snapOptions.in&&(U.resumeAnchor=qn(null,s.fragments,U.startOffset+U.resumptionOffset,0,0)||void 0),U.appendInPlace&&!U.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(U,n)||(U.appendInPlace=!1)),!U.appendInPlace&&W+1<t.length&&t[W+1].startTime-t[W].resumeTime<pc&&(t[W+1].appendInPlace=!1,t[W+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${U}`));const Pe=r(U.resumeOffset)?U.resumeOffset:U.duration;E+=Pe})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,m=t.startTime+t.resumptionOffset;return Math.abs(s-m)>nl?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${m}`),!1):n?!Object.keys(n).some(T=>{const U=n[T].details,W=U.edge;if(s>=W)return this.log(`"${t.identifier}" resumption ${s} past ${T} playlist end ${W}`),!1;const N=qn(null,U.fragments,s);if(!N)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${T} playlist (${U.fragStart}-${U.fragmentEnd})`),!0;const te=T==="audio"?.175:0;return Math.abs(N.start-s)<nl+te||Math.abs(N.end-s)<nl+te?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${T} fragment bounds (${N.start}-${N.end} sn: ${N.sn} cc: ${N.cc})`),!0)}):(this.log(`"${t.identifier}" resumption ${s} can not be aligned with media (none selected)`),!1)}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let s=0,m=!1,E=!1;t.assetList.forEach((T,U)=>{const W=n+s;T.startOffset=s,T.timelineStart=W,m||(m=T.duration===null),E||(E=!!T.error);const N=T.error?0:T.duration||0;s+=N}),m&&!E?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function lu(P){return`[${P.event?'"'+P.event.identifier+'"':"primary"}: ${P.start.toFixed(2)}-${P.end.toFixed(2)}]`}class ec{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let m;try{m=Yc(s,this.hls.sessionId,t.baseUrl)}catch(be){const Pe=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,be,s);this.hls.trigger(o.ERROR,Pe);return}n&&m.protocol!=="data:"&&m.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,T=E.loader,U=new T(E),W={responseType:"json",url:m.href},N=E.interstitialAssetListLoadPolicy.default,te={loadPolicy:N,timeout:N.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(be,Pe,Se,at)=>{const rt=be.data,Mt=rt==null?void 0:rt.ASSETS;if(!Array.isArray(Mt)){const fr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Se.url,Pe,at);this.hls.trigger(o.ERROR,fr);return}t.assetListResponse=rt,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:rt,networkDetails:at})},onError:(be,Pe,Se,at)=>{const rt=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${be.code} ${be.text} (${Pe.url})`),Pe.url,at,Se);this.hls.trigger(o.ERROR,rt)},onTimeout:(be,Pe,Se)=>{const at=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Pe.url})`),Pe.url,be,Se);this.hls.trigger(o.ERROR,at)}};return U.load(W,te,ce),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),U}assignAssetListError(t,n,s,m,E,T){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:m,error:s,networkDetails:T,stats:E}}}function _c(P){P==null||P.play().catch(()=>{})}class mc 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)return;const m=s-this.timelinePos;if(Math.abs(m)<1/7056e5)return;const T=m<=-.01;this.timelinePos=s,this.bufferedPos=s;const U=this.playingItem;if(!U){this.checkBuffer();return}if(T&&this.schedule.resetErrorsInRange(s,s-m)&&this.updateSchedule(),this.checkBuffer(),T&&s<U.start||s>=U.end){var W;const be=this.schedule.findItemIndexAtTime(this.timelinePos);if(!this.isInterstitial(U)&&(W=this.media)!=null&&W.paused&&(this.shouldPlay=!1),!T){const Pe=this.findItemIndex(U);if(be>Pe){const Se=this.schedule.findJumpRestrictedIndex(Pe+1,be);if(Se>Pe){this.setSchedulePosition(Se);return}}}this.setSchedulePosition(be);return}const N=this.playingAsset;if(!N){if(this.playingLastItem&&this.isInterstitial(U)){const be=U.event.assetList[0];be&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,be))}return}const te=N.timelineStart,ce=N.duration||0;(T&&s<te||s>=te+ce)&&this.setScheduleToAssetAtTime(s,N)},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 U=this.findItemIndex(m);this.setSchedulePosition(U+1)}const E=this.playingAsset;if(!E)return;const T=E.timelineStart+(E.duration||0);s>=T&&this.setScheduleToAssetAtTime(s,E)},this.onScheduleUpdate=(s,m)=>{const E=this.schedule,T=this.playingItem,U=E.events||[],W=E.items||[],N=E.durations,te=s.map(Se=>Se.identifier),ce=!!(U.length||te.length);(ce||m)&&this.log(`INTERSTITIALS_UPDATED (${U.length}): ${U}
|
|
|
Schedule: ${W.map(Se=>lu(Se))} pos: ${this.timelinePos}`),te.length&&this.log(`Removed events ${te}`),this.playerQueue.forEach(Se=>{if(Se.interstitial.appendInPlace){const at=Se.assetItem.timelineStart,rt=Se.timelineOffset-at;if(rt)try{Se.timelineOffset=at}catch(Mt){Math.abs(rt)>nl&&this.warn(`${Mt} ("${Se.assetId}" ${Se.timelineOffset}->${at})`)}}});let be=null;if(T){const Se=this.updateItem(T,this.timelinePos);this.itemsMatch(T,Se)&&(this.playingItem=Se,this.waitingItem=this.endedItem=null,be=()=>this.trimInPlace(Se,T))}else this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const Pe=this.bufferingItem;if(Pe){const Se=this.updateItem(Pe,this.bufferedPos);this.itemsMatch(Pe,Se)?(this.bufferingItem=Se,be||(be=()=>this.trimInPlace(Se,Pe))):Pe.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(Pe.event,null))}if(s.forEach(Se=>{Se.assetList.forEach(at=>{this.clearAssetPlayer(at.identifier,null)})}),ce||m){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:U.slice(0),schedule:W.slice(0),durations:N,removedIds:te}),this.isInterstitial(T)&&te.includes(T.event.identifier)){this.warn(`Interstitial "${T.event.identifier}" removed while playing`),this.primaryFallback(T.event);return}be&&be(),this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new ec(t),this.schedule=new Lu(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;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.manager=null,this.hls=this.HlsPlayerClass=this.schedule=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const t=this.primaryMedia||this.media;t&&this.removeMediaListeners(t)}removeMediaListeners(t){Go(t,"play",this.onPlay),Go(t,"pause",this.onPause),Go(t,"seeking",this.onSeeking),Go(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const s=this.media=n.media;Vs(s,"seeking",this.onSeeking),Vs(s,"timeupdate",this.onTimeupdate),Vs(s,"play",this.onPlay),Vs(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 E=this.findItemIndex(s);this.setSchedulePosition(E)}}clearScheduleState(){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 E=this.getBufferingPlayer();E&&(this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,E.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.manager){if(!this.hls)return null;const t=this,n=()=>t.bufferingItem||t.waitingItem,s=ce=>ce&&t.getAssetPlayer(ce.identifier),m=(ce,be,Pe,Se,at)=>{if(ce){let rt=ce[be].start;const Mt=ce.event;if(Mt){if(be==="playout"||Mt.timelineOccupancy!==il.Point){const fr=s(Pe);(fr==null?void 0:fr.interstitial)===Mt&&(rt+=fr.assetItem.startOffset+fr[at])}}else{const fr=Se==="bufferedPos"?T():t[Se];rt+=fr-ce.start}return rt}return 0},E=(ce,be)=>{if(ce!==0&&be!=="primary"&&t.schedule.length){var Pe;const Se=t.schedule.findItemIndexAtTime(ce),at=(Pe=t.schedule.items)==null?void 0:Pe[Se];if(at){const rt=at[be].start-at.start;return ce+rt}}return ce},T=()=>{const ce=t.bufferedPos;return ce===Number.MAX_VALUE?U("primary"):Math.max(ce,0)},U=ce=>{var be;return(be=t.primaryDetails)!=null&&be.live?t.primaryDetails.edge:t.schedule.durations[ce]},W=(ce,be)=>{var Pe,Se;const at=t.effectivePlayingItem;if(at!=null&&(Pe=at.event)!=null&&Pe.restrictions.skip)return;t.log(`seek to ${ce} "${be}"`);const rt=t.effectivePlayingItem,Mt=t.schedule.findItemIndexAtTime(ce,be),fr=(Se=t.schedule.items)==null?void 0:Se[Mt],or=t.getBufferingPlayer(),Or=or==null?void 0:or.interstitial,Ur=Or==null?void 0:Or.appendInPlace,un=rt&&t.itemsMatch(rt,fr);if(rt&&(Ur||un)){const en=s(t.playingAsset),on=(en==null?void 0:en.media)||t.primaryMedia;if(on){const Kr=be==="primary"?on.currentTime:m(rt,be,t.playingAsset,"timelinePos","currentTime"),jn=ce-Kr,di=(Ur?Kr:on.currentTime)+jn;if(di>=0&&(!en||Ur||di<=en.duration)){on.currentTime=di;return}}}if(fr){let en=ce;if(be!=="primary"){const Kr=fr[be].start,jn=ce-Kr;en=fr.start+jn}const on=!t.isInterstitial(fr);if((!t.isInterstitial(rt)||rt.event.appendInPlace)&&(on||fr.event.appendInPlace)){const Kr=t.media||(Ur?or==null?void 0:or.media:null);Kr&&(Kr.currentTime=en)}else if(rt){const Kr=t.findItemIndex(rt);if(Mt>Kr){const di=t.schedule.findJumpRestrictedIndex(Kr+1,Mt);if(di>Kr){t.setSchedulePosition(di);return}}let jn=0;if(on)t.timelinePos=en,t.checkBuffer();else{var Hr;const di=fr==null||(Hr=fr.event)==null?void 0:Hr.assetList;if(di){const sa=ce-(fr[be]||fr).start;for(let Ni=di.length;Ni--;){const $i=di[Ni];if($i.duration&&sa>=$i.startOffset&&sa<$i.startOffset+$i.duration){jn=Ni;break}}}}t.setSchedulePosition(Mt,jn)}}},N=()=>{const ce=t.effectivePlayingItem;if(t.isInterstitial(ce))return ce;const be=n();return t.isInterstitial(be)?be:null},te={get currentTime(){const ce=N(),be=t.effectivePlayingItem;return be&&be===ce?m(be,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-be.playout.start:0},set currentTime(ce){const be=N(),Pe=t.effectivePlayingItem;Pe&&Pe===be&&W(ce+Pe.playout.start,"playout")},get duration(){const ce=N();return ce?ce.playout.end-ce.playout.start:0},get assetPlayers(){var ce;const be=(ce=N())==null?void 0:ce.event.assetList;return be?be.map(Pe=>t.getAssetPlayer(Pe.identifier)):[]},get playingIndex(){var ce;const be=(ce=N())==null?void 0:ce.event;return be&&t.effectivePlayingAsset?be.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return N()}};this.manager={get events(){var ce,be;return((ce=t.schedule)==null||(be=ce.events)==null?void 0:be.slice(0))||[]},get schedule(){var ce,be;return((ce=t.schedule)==null||(be=ce.items)==null?void 0:be.slice(0))||[]},get interstitialPlayer(){return N()?te:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const ce=n();return t.findItemIndex(ce)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const ce=t.effectivePlayingItem;return t.findItemIndex(ce)},primary:{get bufferedEnd(){return T()},get currentTime(){const ce=t.timelinePos;return ce>0?ce:0},set currentTime(ce){W(ce,"primary")},get duration(){return U("primary")},get seekableStart(){var ce;return((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0}},integrated:{get bufferedEnd(){return m(n(),"integrated",t.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return m(t.effectivePlayingItem,"integrated",t.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(ce){W(ce,"integrated")},get duration(){return U("integrated")},get seekableStart(){var ce;return E(((ce=t.primaryDetails)==null?void 0:ce.fragmentStart)||0,"integrated")}},skip:()=>{const ce=t.effectivePlayingItem,be=ce==null?void 0:ce.event;if(be&&!be.restrictions.skip){const Pe=t.findItemIndex(ce);if(be.appendInPlace){const Se=ce.playout.start+ce.event.duration;W(Se+.001,"playout")}else t.advanceAfterAssetEnded(be,Pe,1/0)}}}}return this.manager}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,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,s;if(this.mediaSelection===null)return;const m=this.waitingItem||this.playingItem;if(this.isInterstitial(m)&&!m.event.appendInPlace)return;let E=this.media;!E&&(t=this.bufferingItem)!=null&&(n=t.event)!=null&&n.appendInPlace&&(E=this.primaryMedia);const T=(s=E)==null?void 0:s.currentTime;if(!(T===void 0||!r(T)))return T}get primaryMedia(){var t;return this.media||((t=this.detachedData)==null?void 0:t.media)||null}isInterstitial(t){return!!(t!=null&&t.event)}retreiveMediaSource(t,n){const 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 E=t.transferMedia();this.log(`transfer MediaSource from ${t} ${yn(E)}`),this.detachedData=E}else n&&m&&(this.shouldPlay||(this.shouldPlay=!m.paused))}transferMediaTo(t,n){var s,m;if(t.media===n)return;let E=null;const T=this.hls,U=t!==T,W=U&&t.interstitial.appendInPlace,N=(s=this.detachedData)==null?void 0:s.mediaSource;let te;if(T.media)W&&(E=T.transferMedia(),this.detachedData=E),te="Primary";else if(N){const Pe=this.getBufferingPlayer();Pe?(E=Pe.transferMedia(),te=`${Pe}`):te="detached MediaSource"}else te="detached media";if(!E){if(N)E=this.detachedData,this.log(`using detachedData: MediaSource ${yn(E)}`);else if(!this.detachedData||T.media===n){const Pe=this.playerQueue;Pe.length>1&&Pe.forEach(Se=>{if(U&&Se.interstitial.appendInPlace!==W){const at=Se.interstitial;this.clearInterstitial(Se.interstitial,null),at.appendInPlace=!1,at.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${at}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const ce=E&&"mediaSource"in E&&((m=E.mediaSource)==null?void 0:m.readyState)!=="closed",be=ce&&E?E:n;if(this.log(`${ce?"transfering MediaSource":"attaching media"} to ${U?t:"Primary"} from ${te}`),be===E){const Pe=U&&t.assetId===this.schedule.assetIdAtEnd;be.overrides={duration:this.schedule.duration,endOfStream:!U||Pe,cueRemoval:!U}}t.attachMedia(be)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const s=this.timelinePos,m=this.effectivePlayingItem;if(s===-1){const E=this.hls.startPosition;if(this.timelinePos=E,n.length&&n[0].cue.pre){const T=t.findEventIndex(n[0].identifier);this.setSchedulePosition(T)}else if(E>=0||!this.primaryLive){const T=this.timelinePos=E>0?E:0,U=t.findItemIndexAtTime(T);this.setSchedulePosition(U)}}else if(m&&!this.playingItem){const E=t.findItemIndex(m);this.setSchedulePosition(E)}}advanceAfterAssetEnded(t,n,s){const m=Ml(t,s);if(!t.isAssetPastPlayoutLimit(m))this.setSchedulePosition(n,m);else{const E=this.schedule.items;if(E){const T=n+1,U=E.length;if(T>=U){this.setSchedulePosition(-1);return}const W=t.resumeTime;this.timelinePos<W&&(this.timelinePos=W,this.checkBuffer()),this.setSchedulePosition(T)}}}setScheduleToAssetAtTime(t,n){const s=this.schedule,m=n.parentIdentifier,E=s.getEvent(m);if(E){const T=s.findEventIndex(m),U=s.findAssetIndex(E,t);this.advanceAfterAssetEnded(E,T,U-1)}}setSchedulePosition(t,n){const s=this.schedule.items;if(!s||this.playbackDisabled)return;this.log(`setSchedulePosition ${t}, ${n}`);const m=t>=0?s[t]:null,E=this.playingItem,T=this.playingLastItem;if(this.isInterstitial(E)){var U;const N=E.event,te=this.playingAsset,ce=te==null?void 0:te.identifier,be=ce?this.getAssetPlayer(ce):null;if(be&&ce&&(!this.eventItemsMatch(E,m)||n!==void 0&&ce!==((U=N.assetList)==null?void 0:U[n].identifier))){var W;const Pe=N.findAssetIndex(te);this.log(`INTERSTITIAL_ASSET_ENDED ${Pe+1}/${N.assetList.length} ${Eu(te)}`),this.endedAsset=te,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:te,assetListIndex:Pe,event:N,schedule:s.slice(0),scheduleIndex:t,player:be}),this.retreiveMediaSource(ce,m),be.media&&!((W=this.detachedData)!=null&&W.mediaSource)&&be.detachMedia()}if(!this.eventItemsMatch(E,m)&&(this.endedItem=E,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${N} ${lu(E)}`),N.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:N,schedule:s.slice(0),scheduleIndex:t}),N.cue.once)){this.updateSchedule();const Pe=this.schedule.items;if(m&&Pe){const Se=this.schedule.findItemIndex(m);this.advanceSchedule(Se,Pe,n,E,T)}return}}this.advanceSchedule(t,s,n,E,T)}advanceSchedule(t,n,s,m,E){const T=t>=0?n[t]:null,U=this.primaryMedia,W=this.playerQueue;if(W.length&&W.forEach(N=>{const te=N.interstitial,ce=this.schedule.findEventIndex(te.identifier);(ce<t||ce>t+1)&&this.clearInterstitial(te,T)}),this.isInterstitial(T)){this.timelinePos=Math.min(Math.max(this.timelinePos,T.start),T.end);const N=T.event;if(s===void 0){s=this.schedule.findAssetIndex(N,this.timelinePos);const Pe=Ml(N,s-1);if(N.isAssetPastPlayoutLimit(Pe)){this.advanceAfterAssetEnded(N,t,s);return}s=Pe}const te=this.waitingItem;this.assetsBuffered(T,U)||this.setBufferingItem(T);let ce=this.preloadAssets(N,s);if(this.eventItemsMatch(T,te||m)||(this.waitingItem=T,this.log(`INTERSTITIAL_STARTED ${lu(T)} ${N.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:N,schedule:n.slice(0),scheduleIndex:t})),!N.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${N}`);return}if(N.assetListLoader&&(N.assetListLoader.destroy(),N.assetListLoader=void 0),!U){this.log(`Waiting for attachMedia to start Interstitial ${N}`);return}this.waitingItem=this.endedItem=null,this.playingItem=T;const be=N.assetList[s];if(!be){const Pe=n[t+1],Se=this.media;Pe&&Se&&!this.isInterstitial(Pe)&&Se.currentTime<Pe.start&&(Se.currentTime=this.timelinePos=Pe.start),this.advanceAfterAssetEnded(N,t,s||0);return}if(ce||(ce=this.getAssetPlayer(be.identifier)),ce===null||ce.destroyed){const Pe=N.assetList.length;this.warn(`asset ${s+1}/${Pe} player destroyed ${N}`),ce=this.createAssetPlayer(N,be,s)}if(!this.eventItemsMatch(T,this.bufferingItem)&&N.appendInPlace&&this.isAssetBuffered(be))return;this.startAssetPlayer(ce,s,n,t,U),this.shouldPlay&&_c(ce.media)}else T!==null?(this.resumePrimary(T,t,m),this.shouldPlay&&_c(this.hls.media)):E&&this.isInterstitial(m)&&(this.endedItem=null,this.playingItem=m,m.event.appendInPlace||this.attachPrimary(this.schedule.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t,n;return(t=this.mediaSelection)==null||(n=t.main)==null?void 0:n.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,s){var m;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${lu(t)}`),!((m=this.detachedData)!=null&&m.mediaSource)){let T=this.timelinePos;(T<t.start||T>=t.end)&&(T=this.getPrimaryResumption(t,n),this.timelinePos=T),this.attachPrimary(T,t)}if(!s)return;const E=this.schedule.items;E&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${lu(t)}`),this.hls.trigger(o.INTERSTITIALS_PRIMARY_RESUMED,{schedule:E.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:pi.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 E=this.hls;E.media?this.checkBuffer():(this.transferMediaTo(E,m),s&&this.startLoadingPrimaryAt(t,s)),s||(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(){this.stopLoad(),this.schedule.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(o.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(o.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1)return;const s=this.hls.levels[n.level],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 E=b(b({},m),{},{audio:s});this.mediaSelection=E}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 E=b(b({},m),{},{subtitles:s});this.mediaSelection=E}onAudioTrackSwitching(t,n){const s=ji(n);this.playerQueue.forEach(m=>m.hls.setAudioOption(n)||m.hls.setAudioOption(s))}onSubtitleTrackSwitch(t,n){const s=ji(n);this.playerQueue.forEach(m=>m.hls.setSubtitleOption(n)||n.id!==-1&&m.hls.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){const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let m=0;m<n.length;m++){const E=n[m];if(E.cue.post){var s;const T=this.schedule.findEventIndex(E.identifier),U=(s=this.schedule.items)==null?void 0:s[T];this.isInterstitial(U)&&this.eventItemsMatch(U,this.bufferingItem)&&this.bufferedToItem(U,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(t){const n=this.playingItem;if(!this.playingLastItem&&n){const s=this.findItemIndex(n);this.setSchedulePosition(s+1)}else this.shouldPlay=!1}updateItem(t,n){const s=this.schedule.items;if(t&&s){const m=this.findItemIndex(t,n);return s[m]||null}return null}trimInPlace(t,n){if(this.isInterstitial(t)&&t.event.appendInPlace&&n.end-t.end>.25){t.event.assetList.forEach((E,T)=>{t.event.isAssetPastPlayoutLimit(T)&&this.clearAssetPlayer(E.identifier,null)});const s=t.end+.25,m=pi.bufferInfo(this.primaryMedia,s,0);(m.end>s||(m.nextStart||0)>s)&&(this.attachPrimary(s,null),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.findItemIndex(t,n):-1}updateSchedule(){const t=this.mediaSelection;t&&this.schedule.updateSchedule(t,[])}checkBuffer(t){const n=this.schedule.items;if(!n)return;const s=pi.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=s.len<1),this.updateBufferedPos(s.end,n,t)}updateBufferedPos(t,n,s){const m=this.schedule,E=this.bufferingItem;if(this.bufferedPos>t)return;if(n.length===1&&this.itemsMatch(n[0],E)){this.bufferedPos=t;return}const T=this.playingItem,U=this.findItemIndex(T);let W=m.findItemIndexAtTime(t);if(this.bufferedPos<t){var N,te;const ce=this.findItemIndex(E),be=Math.min(ce+1,n.length-1),Pe=n[be];if((W===-1&&E&&t>=E.end||(N=Pe.event)!=null&&N.appendInPlace&&t+.01>=Pe.start)&&(W=be),be-U>1&&(E==null||(te=E.event)==null?void 0:te.appendInPlace)===!1)return;if(this.bufferedPos=t,W>ce&&W>U)this.bufferedToItem(Pe);else{const Se=this.primaryDetails;this.primaryLive&&Se&&t>Se.edge-Se.targetduration&&Pe.start<Se.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Pe)&&this.preloadAssets(Pe.event,0)}}else s&&T&&!this.itemsMatch(T,E)&&(W===U?this.bufferedToItem(T):W===U+1&&this.bufferedToItem(n[W]))}assetsBuffered(t,n){return t.event.assetList.length===0?!1:!t.event.assetList.some(m=>{const E=this.getAssetPlayer(m.identifier);return!(E!=null&&E.bufferedInPlaceToEnd(n))})}setBufferingItem(t){const n=this.bufferingItem,s=this.schedule;if(this.itemsMatch(t,n))this.bufferingItem!==t&&(this.bufferingItem=t);else{const{items:m,events:E}=s;if(!m||!E)return n;const T=this.isInterstitial(t),U=this.getBufferingPlayer();this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos));const W=U?U.remaining:n?n.end-this.timelinePos:0;this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${lu(t)}`+(n?` (${W.toFixed(2)} remaining)`:"")),this.playbackDisabled||(T?t.event.assetList.forEach(N=>{const te=this.getAssetPlayer(N.identifier);te&&te.resumeBuffering()}):(this.hls.resumeBuffering(),this.playerQueue.forEach(N=>N.pauseBuffering()))),this.hls.trigger(o.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:E.slice(0),schedule:m.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}return n}bufferedToItem(t,n=0){const 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,E=s.cue.once;if(m||!E){const T=this.preloadAssets(s,n);if(T!=null&&T.interstitial.appendInPlace){const U=s.assetList[n],W=this.primaryMedia;U&&W&&this.bufferAssetPlayer(T,W)}}}preloadAssets(t,n){const s=t.assetUrl,m=t.assetList.length,E=m===0&&!t.assetListLoader,T=t.cue.once;if(E){const W=t.timelineStart;if(t.appendInPlace){var U;const be=this.playingItem;!this.isInterstitial(be)&&(be==null||(U=be.nextEvent)==null?void 0:U.identifier)===t.identifier&&this.flushFrontBuffer(W+.25)}let N,te=0;if(!this.playingItem&&this.primaryLive&&(te=this.hls.startPosition,te===-1&&(te=this.hls.liveSyncPosition||0)),te&&!(t.cue.pre||t.cue.post)){const be=te-W;be>0&&(N=Math.round(be*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:m} ${t}${N?` live-start: ${te} start-offset: ${N}`:""}`),s)return this.createAsset(t,0,0,W,t.duration,s);const ce=this.assetListLoader.loadAssetList(t,N);ce&&(t.assetListLoader=ce)}else if(!T&&m){for(let W=n;W<m;W++){const N=t.assetList[W],te=this.getAssetPlayerQueueIndex(N.identifier);(te===-1||this.playerQueue[te].destroyed)&&!N.error&&this.createAssetPlayer(t,N,W)}return this.getAssetPlayer(t.assetList[n].identifier)}return null}flushFrontBuffer(t){const n=this.requiredTracks;if(!n)return;this.log(`Removing front buffer starting at ${t}`),Object.keys(n).forEach(m=>{this.hls.trigger(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,E,T){const U={parentIdentifier:t.identifier,identifier:Ql(t,T,n),duration:E,startOffset:s,timelineStart:m,uri:T};return this.createAssetPlayer(t,U,n)}createAssetPlayer(t,n,s){const m=this.hls,E=m.userConfig;let T=E.videoPreference;const U=m.loadLevelObj||m.levels[m.currentLevel];(T||U)&&(T=y({},T),U.videoCodec&&(T.videoCodec=U.videoCodec),U.videoRange&&(T.allowedVideoRanges=[U.videoRange]));const W=m.audioTracks[m.audioTrack],N=m.subtitleTracks[m.subtitleTrack];let te=0;if(this.primaryLive||t.appendInPlace){const or=this.timelinePos-n.timelineStart;if(or>1){const Or=n.duration;Or&&or<Or&&(te=or)}}const ce=n.identifier,be=b(b({},E),{},{autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:m.sessionId,assetPlayerId:ce,abrEwmaDefaultEstimate:m.bandwidthEstimate,interstitialsController:void 0,startPosition:te,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:T,audioPreference:W||E.audioPreference,subtitlePreference:N||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(be.timelineOffset=n.timelineStart));const Pe=be.cmcd;Pe!=null&&Pe.sessionId&&Pe.contentId&&(be.cmcd=y({},Pe,{contentId:xu(n.uri)})),this.getAssetPlayer(ce)&&this.warn(`Duplicate date range identifier ${t} and asset ${ce}`);const Se=new Xc(this.HlsPlayerClass,be,t,n);this.playerQueue.push(Se),t.assetList[s]=n;const at=or=>{if(or.live){const un=new Error(`Interstitials MUST be VOD assets ${t}`),Hr={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:un};this.handleAssetItemError(Hr,t,this.schedule.findEventIndex(t.identifier),s,un.message);return}const Or=or.edge-or.fragmentStart,Ur=n.duration;(Ur===null||Or>Ur)&&(this.log(`Interstitial asset "${ce}" duration change ${Ur} > ${Or}`),n.duration=Or,this.updateSchedule())};Se.on(o.LEVEL_UPDATED,(or,{details:Or})=>at(Or)),Se.on(o.LEVEL_PTS_UPDATED,(or,{details:Or})=>at(Or));const rt=(or,Or)=>{const Ur=this.getAssetPlayer(ce);if(Ur&&Or.tracks){Ur.off(o.BUFFER_CODECS,rt),Ur.tracks=Or.tracks;const un=this.primaryMedia;this.bufferingAsset===Ur.assetItem&&un&&!Ur.media&&this.bufferAssetPlayer(Ur,un)}};Se.on(o.BUFFER_CODECS,rt);const Mt=()=>{var or;const Or=this.getAssetPlayer(ce);if(this.log(`buffered to end of asset ${Or}`),!Or)return;const Ur=this.schedule.findEventIndex(t.identifier),un=(or=this.schedule.items)==null?void 0:or[Ur];if(this.isInterstitial(un)){const en=t.findAssetIndex(n),on=Ml(t,en);if(!t.isAssetPastPlayoutLimit(on))this.bufferedToItem(un,on);else{var Hr;const Kr=(Hr=this.schedule.items)==null?void 0:Hr[Ur+1];Kr&&this.bufferedToItem(Kr)}}};Se.on(o.BUFFERED_TO_END,Mt);const fr=or=>()=>{if(!this.getAssetPlayer(ce))return;this.shouldPlay=!0;const Ur=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,Ur,or)};return Se.once(o.MEDIA_ENDED,fr(s)),Se.once(o.PLAYOUT_LIMIT_REACHED,fr(1/0)),Se.on(o.ERROR,(or,Or)=>{const Ur=this.getAssetPlayer(ce);if(Or.details===f.BUFFER_STALLED_ERROR){if(Ur!=null&&Ur.media){const un=Ur.currentTime,Hr=Ur.duration-un;un&&t.appendInPlace&&Hr/Ur.media.playbackRate<.5?(this.log(`Advancing buffer past end of asset ${ce} ${t} at ${Ur.media.currentTime}`),Mt()):(this.warn(`Stalled at ${un} of ${un+Hr} in asset ${ce} ${t}`),this.onTimeupdate(),this.checkBuffer(!0))}return}this.handleAssetItemError(Or,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${Or.error} ${t}`)}),Se.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(ce))return;const Or=new Error(`Asset player destroyed unexpectedly ${ce}`),Ur={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Or};this.handleAssetItemError(Ur,t,this.schedule.findEventIndex(t.identifier),s,Or.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${Eu(n)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:Se}),Se}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){this.log(`clear asset player "${t}" toSegment: ${n&&lu(n)}`);const m=this.playerQueue[s];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,E){const{interstitial:T,assetItem:U,assetId:W}=t,N=T.assetList.length,te=this.playingAsset;this.endedAsset=null,this.playingAsset=U,(!te||te.identifier!==W)&&(te&&(this.clearAssetPlayer(te.identifier,s[m]),delete te.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${N} ${Eu(U)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:U,assetListIndex:n,event:T,schedule:s.slice(0),scheduleIndex:m,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var s,m;const{interstitial:E,assetItem:T}=t,U=this.schedule.findEventIndex(E.identifier),W=(s=this.schedule.items)==null?void 0:s[U];if(!W)return;this.setBufferingItem(W),this.bufferingAsset=T;const N=this.getBufferingPlayer();if(N===t)return;const te=E.appendInPlace;if(te&&(N==null?void 0:N.interstitial.appendInPlace)===!1)return;const ce=(N==null?void 0:N.tracks)||((m=this.detachedData)==null?void 0:m.tracks)||this.requiredTracks;if(te&&T!==this.playingAsset){if(!t.tracks)return;if(ce&&!ue(ce,t.tracks)){const be=new Error(`Asset ${Eu(T)} SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(ce)}')`),Pe={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:be},Se=E.findAssetIndex(T);this.handleAssetItemError(Pe,E,U,Se,be.message);return}}this.transferMediaTo(t,n)}handleAssetItemError(t,n,s,m,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const T=n.assetList[m];this.warn(`INTERSTITIAL_ASSET_ERROR ${T&&Eu(T)} ${t.error}`);const U=T==null?void 0:T.identifier,W=this.getAssetPlayerQueueIndex(U),N=this.playerQueue[W]||null,te=this.schedule.items,ce=y({},t,{fatal:!1,errorAction:st(!0),asset:T,assetListIndex:m,event:n,schedule:te,scheduleIndex:s,player:N});if(this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,ce),!t.fatal)return;const be=this.playingAsset,Pe=new Error(E);if(T&&(this.clearAssetPlayer(U,null),T.error=Pe),!n.assetList.some(Se=>!Se.error))n.error=Pe;else if(n.appendInPlace){for(let Se=m;Se<n.assetList.length;Se++)this.resetAssetPlayer(n.assetList[Se].identifier);this.updateSchedule()}n.error?this.primaryFallback(n):be&&be.identifier===U&&this.advanceAfterAssetEnded(n,s,m)}primaryFallback(t){const n=t.timelineStart,s=this.effectivePlayingItem;if(this.updateSchedule(),s){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${s?lu(s):"<none>"} error: ${t.error}`);let m=this.timelinePos;m===-1&&(m=this.hls.startPosition);const E=this.updateItem(s,m);this.itemsMatch(s,E)&&this.clearInterstitial(t,null),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n));const T=this.schedule.findItemIndexAtTime(m);this.setSchedulePosition(T)}else this.checkStart()}onAssetListLoaded(t,n){var s;const m=n.event,E=m.identifier,T=n.assetListResponse.ASSETS;if(!this.schedule.hasEvent(E))return;const U=m.timelineStart,W=m.duration;let N=0;T.forEach((Se,at)=>{const rt=parseFloat(Se.DURATION);this.createAsset(m,at,N,U+N,rt,Se.URI),N+=rt}),m.duration=N,this.log(`Loaded asset-list with duration: ${N} (was: ${W}) ${m}`);const te=this.waitingItem,ce=(te==null?void 0:te.event.identifier)===E;this.updateSchedule();const be=(s=this.bufferingItem)==null?void 0:s.event;if(ce){var Pe;const Se=this.schedule.findEventIndex(E),at=(Pe=this.schedule.items)==null?void 0:Pe[Se];if(at){if(!this.playingItem&&this.timelinePos>at.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==Se){m.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${m}`),this.primaryFallback(m);return}this.setBufferingItem(at)}this.setSchedulePosition(Se)}else if((be==null?void 0:be.identifier)===E&&be.appendInPlace){const Se=m.assetList[0],at=this.getAssetPlayer(Se.identifier),rt=this.primaryMedia;Se&&at&&rt&&this.bufferAssetPlayer(at,rt)}}onError(t,n){switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const s=n.interstitial;s&&this.primaryFallback(s);break}case f.BUFFER_STALLED_ERROR:{this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Dc=500;class I extends ma{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=Wr.IDLE,this.setInterval(Dc),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(_e(s)&&(this.fragPrevious=s),this.state=Wr.IDLE,!m)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let T;const U=s.start;for(let N=0;N<E.length;N++)if(U>=E[N].start&&U<=E[N].end){T=E[N];break}const W=s.start+s.duration;T?T.end=W:(T={start:U,end:W},E.push(T)),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 E=m-1;if(E<=0)return;n.endOffsetSubtitles=Math.max(0,E),this.tracksBuffered.forEach(T=>{for(let U=0;U<T.length;){if(T[U].end<=E){T.shift();continue}else if(T[U].start<E)T[U].start=E;else break;U++}}),this.fragmentTracker.removeFragmentsInRange(s,E,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!==Wr.STOPPED&&(this.state=Wr.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&Gs(this.levels,n)){this.levels=n.map(s=>new Ln(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const m=new Ln(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!==Wr.STOPPED&&this.setInterval(Dc)}onSubtitleTrackLoaded(t,n){var s;const{currentTrackId:m,levels:E}=this,{details:T,id:U}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${U}`);return}const W=E[U];if(U>=E.length||!W)return;this.log(`Subtitle track ${U} loaded [${T.startSN},${T.endSN}]${T.lastPartSn?`[part-${T.lastPartSn}-${T.lastPartIndex}]`:""},duration:${T.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let N=0;if(T.live||(s=W.details)!=null&&s.live){const ce=this.mainDetails;if(T.deltaUpdateFailed||!ce)return;const be=ce.fragments[0];if(!W.details)T.hasProgramDateTime&&ce.hasProgramDateTime?(Ki(T,ce),N=T.fragmentStart):be&&(N=be.start,Nn(T,N));else{var te;N=this.alignPlaylists(T,W.details,(te=this.levelLastLoaded)==null?void 0:te.details),N===0&&be&&(N=be.start,Nn(T,N))}}W.details=T,this.levelLastLoaded=W,U===m&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:T,id:U,groupId:n.groupId}),this.tick(),T.live&&!this.fragCurrent&&this.media&&this.state===Wr.IDLE&&(qn(null,T.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),W.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:s}=t,m=n.decryptdata,E=this.hls;if(!this.fragContextChanged(n)&&s&&s.byteLength>0&&m!=null&&m.key&&m.iv&&ja(m.method)){const T=performance.now();this.decrypter.decrypt(new Uint8Array(s),m.key.buffer,m.iv.buffer,Ui(m.method)).catch(U=>{throw E.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:U,reason:U.message,frag:n}),U}).then(U=>{const W=performance.now();E.trigger(o.FRAG_DECRYPTED,{frag:n,payload:U,stats:{tstart:T,tdecrypt:W}})}).catch(U=>{this.warn(`${U.name}: ${U.message}`),this.state=Wr.IDLE})}}doTick(){if(!this.media){this.state=Wr.IDLE;return}if(this.state===Wr.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,E=this.getLoadPosition(),T=pi.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,m.maxBufferHole),{end:U,len:W}=T,N=s.details,te=this.hls.maxBufferLength+N.levelTargetDuration;if(W>te)return;const ce=N.fragments,be=ce.length,Pe=N.edge;let Se=null;const at=this.fragPrevious;if(U<Pe){const fr=m.maxFragLookUpTolerance,or=U>Pe-fr?0:fr;Se=qn(at,ce,Math.max(ce[0].start,U),or),!Se&&at&&at.start<ce[0].start&&(Se=ce[0])}else Se=ce[be-1];if(Se=this.filterReplacedPrimary(Se,s.details),!Se)return;const rt=Se.sn-N.startSN,Mt=ce[rt-1];if(Mt&&Mt.cc===Se.cc&&this.fragmentTracker.getState(Mt)===ir.NOT_LOADED&&(Se=Mt),this.fragmentTracker.getState(Se)===ir.NOT_LOADED){const fr=this.mapToInitFragWhenRequired(Se);fr&&this.loadFragment(fr,s,U)}}}loadFragment(t,n,s){_e(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new O(this.tracksBuffered[this.currentTrackId]||[])}}class O{constructor(t){this.buffered=void 0;const n=(s,m,E)=>{if(m=m>>>0,m>E-1)throw new DOMException(`Failed to execute '${s}' on 'TimeRanges': The index provided (${m}) is greater than the maximum bound (${E})`);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 L={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},me=P=>String.fromCharCode(L[P]||P),Oe=15,qr=100,Bn={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},dn={17:2,18:4,21:6,22:8,23:10,19:13,20:15},Pi={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Ya={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Oa=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Do{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;G.log(`${this.time} [${t}] ${s}`)}}}const Ma=function(t){const n=[];for(let s=0;s<t.length;s++)n.push(t[s].toString(16));return n};class co{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 bs{constructor(){this.uchar=" ",this.penState=new co}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 Oc{constructor(t){this.chars=[],this.pos=0,this.currPenState=new co,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<qr;n++)this.chars.push(new bs);this.logger=t}equals(t){for(let n=0;n<qr;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<qr;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<qr;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>qr&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=qr)}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=me(t);if(this.pos>=qr){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<qr;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<qr;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 tc{constructor(t){this.rows=[],this.currRow=Oe-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<Oe;n++)this.rows.push(new Oc(t));this.logger=t}reset(){for(let t=0;t<Oe;t++)this.rows[t].clear();this.currRow=Oe-1}equals(t){let n=!0;for(let s=0;s<Oe;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<Oe;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<Oe;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 = "+yn(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let U=0;U<Oe;U++)this.rows[U].clear();const E=this.currRow+1-this.nrRollUpRows,T=this.lastOutputScreen;if(T){const U=T.rows[E].cueStartTime,W=this.logger.time;if(U!==null&&W!==null&&U<W)for(let N=0;N<this.nrRollUpRows;N++)this.rows[n-this.nrRollUpRows+N+1].copy(T.rows[E+N])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,T=Math.max(E-1,0);s.setCursor(t.indent),t.color=s.chars[T].penState.foreground}const m={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(m)}setBkgData(t){this.logger.log(2,()=>"bkgData = "+yn(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 E=0;E<Oe;E++){const T=this.rows[E].getTextString();T&&(m=E+1,t?n.push("Row "+m+": '"+T+"'"):n.push(T.trim()))}return n.length>0&&(t?s="["+n.join(" | ")+"]":s=n.join(`
|
|
|
`)),s}getTextAndFormat(){return this.rows}}class rc{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 tc(s),this.nonDisplayedMemory=new tc(s),this.lastOutputScreen=new tc(s),this.currRollUpRow=this.displayedMemory.rows[Oe-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[Oe-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: "+yn(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 vc{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=nc(),this.logger=void 0;const m=this.logger=new Do;this.channels=[null,new rc(t,n,m),new rc(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,E=n[s+1]&127;let T=!1,U=null;if(m===0&&E===0)continue;this.logger.log(3,()=>"["+Ma([n[s],n[s+1]])+"] -> ("+Ma([m,E])+")");const W=this.cmdHistory;if(m>=16&&m<=31){if(Ii(m,E,W)){Mu(null,null,W),this.logger.log(3,()=>"Repeated command ("+Ma([m,E])+") is dropped");continue}Mu(m,E,this.cmdHistory),T=this.parseCmd(m,E),T||(T=this.parseMidrow(m,E)),T||(T=this.parsePAC(m,E)),T||(T=this.parseBackgroundAttributes(m,E))}else Mu(null,null,W);if(!T&&(U=this.parseChars(m,E),U)){const te=this.currentChannel;te&&te>0?this.channels[te].insertChars(U):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!T&&!U&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Ma([m,E])+" orig: "+Ma([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 E=t===20||t===21||t===23?1:2,T=this.channels[E];return t===20||t===21||t===28||t===29?n===32?T.ccRCL():n===33?T.ccBS():n===34?T.ccAOF():n===35?T.ccAON():n===36?T.ccDER():n===37?T.ccRU(2):n===38?T.ccRU(3):n===39?T.ccRU(4):n===40?T.ccFON():n===41?T.ccRDC():n===42?T.ccTR():n===43?T.ccRTD():n===44?T.ccEDM():n===45?T.ccCR():n===46?T.ccENM():n===47&&T.ccEOC():T.ccTO(n-32),this.currentChannel=E,!0}parseMidrow(t,n){let 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 ("+Ma([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,E=(t===16||t===24)&&n>=64&&n<=95;if(!(m||E))return!1;const T=t<=23?1:2;n>=64&&n<=95?s=T===1?Bn[t]:Pi[t]:s=T===1?dn[t]:Ya[t];const U=this.channels[T];return U?(U.setPAC(this.interpretPAC(s,n)),this.currentChannel=T,!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,E=null;if(t>=25?(s=2,E=t-8):(s=1,E=t),E>=17&&E<=19){let T;E===17?T=n+80:E===18?T=n+112:T=n+144,this.logger.log(2,()=>"Special char '"+me(T)+"' in channel "+s),m=[T]}else t>=32&&t<=127&&(m=n===0?[t]:[t,n]);return m&&this.logger.log(3,()=>"Char codes = "+Ma(m).join(",")),m}parseBackgroundAttributes(t,n){const s=(t===16||t===24)&&n>=32&&n<=47,m=(t===23||t===31)&&n>=45&&n<=47;if(!(s||m))return!1;let E;const T={};t===16||t===24?(E=Math.floor((n-32)/2),T.background=Oa[E],n%2===1&&(T.background=T.background+"_semi")):n===45?T.background="transparent":(T.foreground="black",n===47&&(T.underline=!0));const U=t<=23?1:2;return this.channels[U].setBkgData(T),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Mu(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 Mu(P,t,n){n.a=P,n.b=t}function Ii(P,t,n){return n.a===P&&n.b===t}function nc(){return{a:null,b:null}}var Fl=function(){if(ho!=null&&ho.VTTCue)return self.VTTCue;const P=["","lr","rl"],t=["start","middle","end","left","right"];function n(U,W){if(typeof W!="string"||!Array.isArray(U))return!1;const N=W.toLowerCase();return~U.indexOf(N)?N:!1}function s(U){return n(P,U)}function m(U){return n(t,U)}function E(U,...W){let N=1;for(;N<arguments.length;N++){const te=arguments[N];for(const ce in te)U[ce]=te[ce]}return U}function T(U,W,N){const te=this,ce={enumerable:!0};te.hasBeenReset=!1;let be="",Pe=!1,Se=U,at=W,rt=N,Mt=null,fr="",or=!0,Or="auto",Ur="start",un=50,Hr="middle",en=50,on="middle";Object.defineProperty(te,"id",E({},ce,{get:function(){return be},set:function(Kr){be=""+Kr}})),Object.defineProperty(te,"pauseOnExit",E({},ce,{get:function(){return Pe},set:function(Kr){Pe=!!Kr}})),Object.defineProperty(te,"startTime",E({},ce,{get:function(){return Se},set:function(Kr){if(typeof Kr!="number")throw new TypeError("Start time must be set to a number.");Se=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"endTime",E({},ce,{get:function(){return at},set:function(Kr){if(typeof Kr!="number")throw new TypeError("End time must be set to a number.");at=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"text",E({},ce,{get:function(){return rt},set:function(Kr){rt=""+Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"region",E({},ce,{get:function(){return Mt},set:function(Kr){Mt=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"vertical",E({},ce,{get:function(){return fr},set:function(Kr){const jn=s(Kr);if(jn===!1)throw new SyntaxError("An invalid or illegal string was specified.");fr=jn,this.hasBeenReset=!0}})),Object.defineProperty(te,"snapToLines",E({},ce,{get:function(){return or},set:function(Kr){or=!!Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"line",E({},ce,{get:function(){return Or},set:function(Kr){if(typeof Kr!="number"&&Kr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");Or=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"lineAlign",E({},ce,{get:function(){return Ur},set:function(Kr){const jn=m(Kr);if(!jn)throw new SyntaxError("An invalid or illegal string was specified.");Ur=jn,this.hasBeenReset=!0}})),Object.defineProperty(te,"position",E({},ce,{get:function(){return un},set:function(Kr){if(Kr<0||Kr>100)throw new Error("Position must be between 0 and 100.");un=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"positionAlign",E({},ce,{get:function(){return Hr},set:function(Kr){const jn=m(Kr);if(!jn)throw new SyntaxError("An invalid or illegal string was specified.");Hr=jn,this.hasBeenReset=!0}})),Object.defineProperty(te,"size",E({},ce,{get:function(){return en},set:function(Kr){if(Kr<0||Kr>100)throw new Error("Size must be between 0 and 100.");en=Kr,this.hasBeenReset=!0}})),Object.defineProperty(te,"align",E({},ce,{get:function(){return on},set:function(Kr){const jn=m(Kr);if(!jn)throw new SyntaxError("An invalid or illegal string was specified.");on=jn,this.hasBeenReset=!0}})),te.displayState=void 0}return T.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},T}();class $o{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function Ks(P){function t(s,m,E,T){return(s|0)*3600+(m|0)*60+(E|0)+parseFloat(T||0)}const n=P.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class ns{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 al(P,t,n,s){const m=s?P.split(s):[P];for(const E in m){if(typeof m[E]!="string")continue;const T=m[E].split(n);if(T.length!==2)continue;const U=T[0],W=T[1];t(U,W)}}const sl=new Fl(0,0,""),El=sl.align==="middle"?"middle":"center";function wl(P,t,n){const s=P;function m(){const U=Ks(P);if(U===null)throw new Error("Malformed timestamp: "+s);return P=P.replace(/^[^\sa-zA-Z-]+/,""),U}function E(U,W){const N=new ns;al(U,function(be,Pe){let Se;switch(be){case"region":for(let at=n.length-1;at>=0;at--)if(n[at].id===Pe){N.set(be,n[at].region);break}break;case"vertical":N.alt(be,Pe,["rl","lr"]);break;case"line":Se=Pe.split(","),N.integer(be,Se[0]),N.percent(be,Se[0])&&N.set("snapToLines",!1),N.alt(be,Se[0],["auto"]),Se.length===2&&N.alt("lineAlign",Se[1],["start",El,"end"]);break;case"position":Se=Pe.split(","),N.percent(be,Se[0]),Se.length===2&&N.alt("positionAlign",Se[1],["start",El,"end","line-left","line-right","auto"]);break;case"size":N.percent(be,Pe);break;case"align":N.alt(be,Pe,["start",El,"end","left","right"]);break}},/:/,/\s/),W.region=N.get("region",null),W.vertical=N.get("vertical","");let te=N.get("line","auto");te==="auto"&&sl.line===-1&&(te=-1),W.line=te,W.lineAlign=N.get("lineAlign","start"),W.snapToLines=N.get("snapToLines",!0),W.size=N.get("size",100),W.align=N.get("align",El);let ce=N.get("position","auto");ce==="auto"&&sl.position===50&&(ce=W.align==="start"||W.align==="left"?0:W.align==="end"||W.align==="right"?100:50),W.position=ce}function T(){P=P.replace(/^\s+/,"")}if(T(),t.startTime=m(),T(),P.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);P=P.slice(3),T(),t.endTime=m(),T(),E(P,t)}function ol(P){return P.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class Qc{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new $o,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 E=n.buffer,T=0;for(E=ol(E);T<E.length&&E[T]!=="\r"&&E[T]!==`
|
|
|
`;)++T;const U=E.slice(0,T);return E[T]==="\r"&&++T,E[T]===`
|
|
|
`&&++T,n.buffer=E.slice(T),U}function m(E){al(E,function(T,U){},/:/)}try{let E="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;E=s();const U=E.match(/^()?WEBVTT([ \t].*)?$/);if(!(U!=null&&U[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let T=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(T?T=!1:E=s(),n.state){case"HEADER":/:/.test(E)?m(E):E||(n.state="ID");continue;case"NOTE":E||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(E)){n.state="NOTE";break}if(!E)continue;if(n.cue=new Fl(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{wl(E,n.cue,n.regionList)}catch(U){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const U=E.indexOf("-->")!==-1;if(!E||U&&(T=!0)){n.oncue&&n.cue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}if(n.cue===null)continue;n.cue.text&&(n.cue.text+=`
|
|
|
`),n.cue.text+=E}continue;case"BADCUE":E||(n.state="ID")}}}catch(E){n.state==="CUETEXT"&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state=n.state==="INITIAL"?"BADWEBVTT":"BADCUE"}return this}flush(){const t=this;try{if((t.cue||t.state==="HEADER")&&(t.buffer+=`
|
|
|
|
|
|
`,t.parse()),t.state==="INITIAL"||t.state==="BADWEBVTT")throw new Error("Malformed WebVTT signature.")}catch(n){t.onparsingerror&&t.onparsingerror(n)}return t.onflush&&t.onflush(),this}}const kc=/\r\n|\n\r|\n|\r/g,Hu=function(t,n,s=0){return t.slice(s,s+n.length)===n},qc=function(t){let n=parseInt(t.slice(-3));const s=parseInt(t.slice(-6,-4)),m=parseInt(t.slice(-9,-7)),E=t.length>9?parseInt(t.substring(0,t.indexOf(":"))):0;if(!r(n)||!r(s)||!r(m)||!r(E))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${t}`);return n+=1e3*s,n+=60*1e3*m,n+=60*60*1e3*E,n};function Bl(P,t,n){return xu(P.toString())+xu(t.toString())+xu(n)}const Jc=function(t,n,s){let m=t[n],E=t[m.prevCC];if(!E||!E.new&&m.new){t.ccOffset=t.presentationOffset=m.start,m.new=!1;return}for(;(T=E)!=null&&T.new;){var T;t.ccOffset+=m.start-E.start,m.new=!1,m=E,E=t[m.prevCC]}t.presentationOffset=s};function cu(P,t,n,s,m,E,T){const U=new Qc,W=q(new Uint8Array(P)).trim().replace(kc,`
|
|
|
`).split(`
|
|
|
`),N=[],te=t?Si(t.baseTime,t.timescale):0;let ce="00:00.000",be=0,Pe=0,Se,at=!0;U.oncue=function(rt){const Mt=n[s];let fr=n.ccOffset;const or=(be-te)/9e4;if(Mt!=null&&Mt.new&&(Pe!==void 0?fr=n.ccOffset=Mt.start:Jc(n,s,or)),or){if(!t){Se=new Error("Missing initPTS for VTT MPEGTS");return}fr=or-n.presentationOffset}const Or=rt.endTime-rt.startTime,Ur=Za((rt.startTime+fr-Pe)*9e4,m*9e4)/9e4;rt.startTime=Math.max(Ur,0),rt.endTime=Math.max(Ur+Or,0);const un=rt.text.trim();rt.text=decodeURIComponent(encodeURIComponent(un)),rt.id||(rt.id=Bl(rt.startTime,rt.endTime,un)),rt.endTime>0&&N.push(rt)},U.onparsingerror=function(rt){Se=rt},U.onflush=function(){if(Se){T(Se);return}E(N)},W.forEach(rt=>{if(at)if(Hu(rt,"X-TIMESTAMP-MAP=")){at=!1,rt.slice(16).split(",").forEach(Mt=>{Hu(Mt,"LOCAL:")?ce=Mt.slice(6):Hu(Mt,"MPEGTS:")&&(be=parseInt(Mt.slice(7)))});try{Pe=qc(ce)/1e3}catch(Mt){Se=Mt}return}else rt===""&&(at=!1);U.parse(rt+`
|
|
|
`)}),U.flush()}const Fu="stpp.ttml.im1t",Sl=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,ic=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,wu={left:"start",center:"center",right:"end",start:"start",end:"end"};function ac(P,t,n,s){const m=_t(new Uint8Array(P),["mdat"]);if(m.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=m.map(U=>q(U)),T=$n(t.baseTime,1,t.timescale);try{E.forEach(U=>n(Nl(U,T)))}catch(U){s(U)}}function Nl(P,t){const m=new DOMParser().parseFromString(P,"text/xml").getElementsByTagName("tt")[0];if(!m)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},T=Object.keys(E).reduce((ce,be)=>(ce[be]=m.getAttribute(`ttp:${be}`)||E[be],ce),{}),U=m.getAttribute("xml:space")!=="preserve",W=Gn(An(m,"styling","style")),N=Gn(An(m,"layout","region")),te=An(m,"body","[begin]");return[].map.call(te,ce=>{const be=Li(ce,U);if(!be||!ce.hasAttribute("begin"))return null;const Pe=ha(ce.getAttribute("begin"),T),Se=ha(ce.getAttribute("dur"),T);let at=ha(ce.getAttribute("end"),T);if(Pe===null)throw aa(ce);if(at===null){if(Se===null)throw aa(ce);at=Pe+Se}const rt=new Fl(Pe-t,at-t,be);rt.id=Bl(rt.startTime,rt.endTime,rt.text);const Mt=N[ce.getAttribute("region")],fr=W[ce.getAttribute("style")],or=Sa(Mt,fr,W),{textAlign:Or}=or;if(Or){const Ur=wu[Or];Ur&&(rt.lineAlign=Ur),rt.align=Or}return y(rt,or),rt}).filter(ce=>ce!==null)}function An(P,t,n){const s=P.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function Gn(P){return P.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Li(P,t){return[].slice.call(P.childNodes).reduce((n,s,m)=>{var E;return s.nodeName==="br"&&m?n+`
|
|
|
`:(E=s.childNodes)!=null&&E.length?Li(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function Sa(P,t,n){const s="http://www.w3.org/ns/ttml#styling";let m=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],T=P!=null&&P.hasAttribute("style")?P.getAttribute("style"):null;return T&&n.hasOwnProperty(T)&&(m=n[T]),E.reduce((U,W)=>{const N=Wi(t,s,W)||Wi(P,s,W)||Wi(m,s,W);return N&&(U[W]=N),U},{})}function Wi(P,t,n){return P&&P.hasAttributeNS(t,n)?P.getAttributeNS(t,n):null}function aa(P){return new Error(`Could not parse ttml timestamp ${P}`)}function ha(P,t){if(!P)return null;let n=Ks(P);return n===null&&(Sl.test(P)?n=_s(P,t):ic.test(P)&&(n=Qi(P,t))),n}function _s(P,t){const n=Sl.exec(P),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 Qi(P,t){const n=ic.exec(P),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 is{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 Wu{constructor(t){this.hls=void 0,this.media=null,this.config=void 0,this.enabled=!0,this.Cues=void 0,this.textTracks=[],this.tracks=[],this.initPTS=[],this.unparsedVttFrags=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.cea608Parser1=void 0,this.cea608Parser2=void 0,this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this.captionsProperties=void 0,this.hls=t,this.config=t.config,this.Cues=t.config.cueHandler,this.captionsProperties={textTrack1:{label:this.config.captionsTextTrack1Label,languageCode:this.config.captionsTextTrack1LanguageCode},textTrack2:{label:this.config.captionsTextTrack2Label,languageCode:this.config.captionsTextTrack2LanguageCode},textTrack3:{label:this.config.captionsTextTrack3Label,languageCode:this.config.captionsTextTrack3LanguageCode},textTrack4:{label:this.config.captionsTextTrack4Label,languageCode:this.config.captionsTextTrack4LanguageCode}},t.on(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 is(this,"textTrack1"),n=new is(this,"textTrack2"),s=new is(this,"textTrack3"),m=new is(this,"textTrack4");this.cea608Parser1=new vc(1,t,n),this.cea608Parser2=new vc(3,s,m)}addCues(t,n,s,m,E){let T=!1;for(let U=E.length;U--;){const W=E[U],N=ul(W[0],W[1],n,s);if(N>=0&&(W[0]=Math.min(W[0],n),W[1]=Math.max(W[1],s),T=!0,N/(s-n)>.5))return}if(T||E.push([n,s]),this.config.renderTextTracksNatively){const U=this.captionsTracks[t];this.Cues.newCue(U,n,s,m)}else{const U=this.Cues.newCue(null,n,s,m);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:U,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:m,timescale:E}){const{unparsedVttFrags:T}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:m,timescale:E}),T.length&&(this.unparsedVttFrags=[],T.forEach(U=>{this.onFragLoaded(o.FRAG_LOADED,U)}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let m=0;m<s.textTracks.length;m++){const E=s.textTracks[m];if(Gu(E,{name:t,lang:n,characteristics:"transcribes-spoken-dialog,describes-music-and-sound"}))return E}return null}createCaptionsTrack(t){this.config.renderTextTracksNatively?this.createNativeTrack(t):this.createNonNativeTrack(t)}createNativeTrack(t){if(this.captionsTracks[t])return;const{captionsProperties:n,captionsTracks:s,media:m}=this,{label:E,languageCode:T}=n[t],U=this.getExistingTrack(E,T);if(U)s[t]=U,Ru(s[t]),yu(s[t],m);else{const W=this.createTextTrack("captions",E,T);W&&(W[t]=!0,s[t]=W)}}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(E=>{Ru(m[E]),delete m[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=ll(),this._cleanTracks(),this.tracks=[],this.captionsTracks={},this.nonNativeCaptionsTracks={},this.textTracks=[],this.unparsedVttFrags=[],this.initPTS=[],this.cea608Parser1&&this.cea608Parser2&&(this.cea608Parser1.reset(),this.cea608Parser2.reset())}_cleanTracks(){const{media:t}=this;if(!t)return;const n=t.textTracks;if(n)for(let s=0;s<n.length;s++)Ru(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],m=s.some(E=>E.textCodec===Fu);if(this.config.enableWebVTT||m&&this.config.enableIMSC1){if(Gs(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const T=this.media,U=T?Ic(T.textTracks):null;if(this.tracks.forEach((W,N)=>{let te;if(U){let ce=null;for(let be=0;be<U.length;be++)if(U[be]&&Gu(U[be],W)){ce=U[be],U[be]=null;break}ce&&(te=ce)}if(te)Ru(te);else{const ce=Bu(W);te=this.createTextTrack(ce,W.name,W.lang),te&&(te.mode="disabled")}te&&this.textTracks.push(te)}),U!=null&&U.length){const W=U.filter(N=>N!==null).map(N=>N.label);W.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${W.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const T=this.tracks.map(U=>({label:U.name,kind:U.type.toLowerCase(),default:U.default,subtitleTrack:U}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:T})}}}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 E=`textTrack${m[1]}`,T=this.captionsProperties[E];T&&(T.label=s.name,s.lang&&(T.languageCode=s.lang),T.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:E,cea608Parser2:T,lastSn:U}=this,{cc:W,sn:N}=n.frag,te=(s=(m=n.part)==null?void 0:m.index)!=null?s:-1;E&&T&&(N!==U+1||N===U&&te!==this.lastPartIndex+1||W!==this.lastCc)&&(E.reset(),T.reset()),this.lastCc=W,this.lastSn=N,this.lastPartIndex=te}}onFragLoaded(t,n){const{frag:s,payload:m}=n;if(s.type===u.SUBTITLE)if(m.byteLength){const E=s.decryptdata,T="stats"in n;if(E==null||!E.encrypted||T){const U=this.tracks[s.level],W=this.vttCCs;W[s.cc]||(W[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),U&&U.textCodec===Fu?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;ac(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:E,unparsedVttFrags:T}=this,U=E.length-1;if(!E[s.cc]&&U===-1){T.push(t);return}const W=this.hls,N=(n=s.initSegment)!=null&&n.data?Qe(s.initSegment.data,new Uint8Array(m)).buffer:m;cu(N,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,te=>{this._appendCues(te,s.level),W.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},te=>{const ce=te.message==="Missing initPTS for VTT MPEGTS";ce?T.push(t):this._fallbackToIMSC1(s,m),W.logger.log(`Failed to parse VTT cue: ${te}`),!(ce&&U>s.cc)&&W.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:te})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||ac(n,this.initPTS[t.cc],()=>{s.textCodec=Fu,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(E=>hc(m,E))}else{const m=this.tracks[n];if(!m)return;const E=m.default?"default":"subtitles"+n;s.trigger(o.CUES_PARSED,{type:"subtitles",cues:t,track:E})}}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 E=0;E<m.length;E++){const T=m[E].bytes;if(T){this.cea608Parser1||this.initCea608Parsers();const U=this.extractCea608Data(T);this.cea608Parser1.addData(m[E].pts,U[0]),this.cea608Parser2.addData(m[E].pts,U[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:s,endOffsetSubtitles:m,type:E}){const{media:T}=this;if(!(!T||T.currentTime<s)){if(!E||E==="video"){const{captionsTracks:U}=this;Object.keys(U).forEach(W=>Vo(U[W],n,s))}if(this.config.renderTextTracksNatively&&n===0&&m!==void 0){const{textTracks:U}=this;Object.keys(U).forEach(W=>Vo(U[W],n,m))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let m=2;for(let E=0;E<s;E++){const T=t[m++],U=127&t[m++],W=127&t[m++];if(U===0&&W===0)continue;if((4&T)!==0){const te=3&T;(te===0||te===1)&&(n[te].push(U),n[te].push(W))}}return n}}function Bu(P){return P.characteristics&&/transcribes-spoken-dialog/gi.test(P.characteristics)&&/describes-music-and-sound/gi.test(P.characteristics)?"captions":"subtitles"}function Gu(P,t){return!!P&&P.kind===Bu(t)&&mu(t,P)}function ul(P,t,n,s){return Math.min(t,s)-Math.max(P,n)}function ll(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const Df=/\s/,wf={newCue(P,t,n,s){const m=[];let E,T,U,W,N;const te=self.VTTCue||self.TextTrackCue;for(let be=0;be<s.rows.length;be++)if(E=s.rows[be],U=!0,W=0,N="",!E.isEmpty()){var ce;for(let at=0;at<E.chars.length;at++)Df.test(E.chars[at].uchar)&&U?W++:(N+=E.chars[at].uchar,U=!1);E.cueStartTime=t,t===n&&(n+=1e-4),W>=16?W--:W++;const Pe=ol(N.trim()),Se=Bl(t,n,Pe);P!=null&&(ce=P.cues)!=null&&ce.getCueById(Se)||(T=new te(t,n,Pe),T.id=Se,T.line=be+1,T.align="left",T.position=10+Math.min(80,Math.floor(W*8/32)*10),m.push(T))}return P&&m.length&&(m.sort((be,Pe)=>be.line==="auto"||Pe.line==="auto"?0:be.line>8&&Pe.line>8?Pe.line-be.line:be.line-Pe.line),m.forEach(be=>hc(P,be))),m}};function $l(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(P){}return!1}const Sf=/(\d+)-(\d+)\/(\d+)/;class gc{constructor(t){this.fetchSetup=void 0,this.requestTimeout=void 0,this.request=null,this.response=null,this.controller=void 0,this.context=null,this.config=null,this.callbacks=null,this.stats=void 0,this.loader=null,this.fetchSetup=t.fetchSetup||Of,this.controller=new self.AbortController,this.stats=new Z}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,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 E=ef(t,this.controller.signal),T=t.responseType==="arraybuffer",U=T?"byteLength":"length",{maxTimeToFirstByteMs:W,maxLoadTimeMs:N}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=W&&r(W)?W:N,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},n.timeout),(As(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(ce=>{var be;this.response=this.loader=ce;const Pe=Math.max(self.performance.now(),m.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=N,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(m,t,this.response))},N-(Pe-m.loading.start)),!ce.ok){const{status:at,statusText:rt}=ce;throw new Vu(rt||"fetch, bad network response",at,ce)}m.loading.first=Pe,m.total=cl(ce.headers)||m.total;const Se=(be=this.callbacks)==null?void 0:be.onProgress;return Se&&r(n.highWaterMark)?this.loadProgressively(ce,m,t,n.highWaterMark,Se):T?ce.arrayBuffer():t.responseType==="json"?ce.json():ce.text()}).then(ce=>{var be,Pe;const Se=this.response;if(!Se)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),m.loading.end=Math.max(self.performance.now(),m.loading.first);const at=ce[U];at&&(m.loaded=m.total=at);const rt={url:Se.url,data:ce,code:Se.status},Mt=(be=this.callbacks)==null?void 0:be.onProgress;Mt&&!r(n.highWaterMark)&&Mt(m,t,ce,Se),(Pe=this.callbacks)==null||Pe.onSuccess(rt,m,t,Se)}).catch(ce=>{var be;if(self.clearTimeout(this.requestTimeout),m.aborted)return;const Pe=ce&&ce.code||0,Se=ce?ce.message:null;(be=this.callbacks)==null||be.onError({code:Pe,text:Se},t,ce?ce.details:null,m)})}getCacheAge(){let t=null;if(this.response){const n=this.response.headers.get("age");t=n?parseFloat(n):null}return t}getResponseHeader(t){return this.response?this.response.headers.get(t):null}loadProgressively(t,n,s,m=0,E){const T=new na,U=t.body.getReader(),W=()=>U.read().then(N=>{if(N.done)return T.dataLength&&E(n,s,T.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const te=N.value,ce=te.length;return n.loaded+=ce,ce<m||T.dataLength?(T.push(te),T.dataLength>=m&&E(n,s,T.flush().buffer,t)):E(n,s,te.buffer,t),W()}).catch(()=>Promise.reject());return W()}}function ef(P,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},P.headers))};return P.rangeEnd&&n.headers.set("Range","bytes="+P.rangeStart+"-"+String(P.rangeEnd-1)),n}function hf(P){const t=Sf.exec(P);if(t)return parseInt(t[2])-parseInt(t[1])+1}function cl(P){const t=P.get("Content-Range");if(t){const s=hf(t);if(r(s))return s}const n=P.get("Content-Length");if(n)return parseInt(n)}function Of(P,t){return new self.Request(P.url,t)}class Vu extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const Rc=/^age:\s*[\d.]+\s*$/im;class tf{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new Z,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,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 E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return E(s,n.url)}).catch(T=>{if(!(this.loader!==s||this.stats.aborted))return s.open("GET",n.url,!0),E(s,n.url)}).then(()=>{this.loader!==s||this.stats.aborted||this.openAndSendXhr(s,n,t)}).catch(T=>{var U;(U=this.callbacks)==null||U.onError({code:s.status,text:T.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:E,maxLoadTimeMs:T}=s.loadPolicy;if(m)for(const U in m)t.setRequestHeader(U,m[U]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=E&&r(E)?E:T,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,E=this.config;if(!s.aborted&&m>=2&&(s.loading.first===0&&(s.loading.first=Math.max(self.performance.now(),s.loading.start),E.timeout!==E.loadPolicy.maxLoadTimeMs&&(self.clearTimeout(this.requestTimeout),E.timeout=E.loadPolicy.maxLoadTimeMs,this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),E.loadPolicy.maxLoadTimeMs-(s.loading.first-s.loading.start)))),m===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const N=n.status,te=n.responseType==="text"?n.responseText:null;if(N>=200&&N<300){const Se=te!=null?te:n.response;if(Se!=null){var T,U;s.loading.end=Math.max(self.performance.now(),s.loading.first);const at=n.responseType==="arraybuffer"?Se.byteLength:Se.length;s.loaded=s.total=at,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const rt=(T=this.callbacks)==null?void 0:T.onProgress;rt&&rt(s,t,Se,n);const Mt={url:n.responseURL,data:Se,code:N};(U=this.callbacks)==null||U.onSuccess(Mt,s,t,n);return}}const ce=E.loadPolicy.errorRetry,be=s.retry,Pe={url:t.url,data:void 0,code:N};if(Ar(ce,be,!1,Pe))this.retry(ce);else{var W;G.error(`${N} while loading ${t.url}`),(W=this.callbacks)==null||W.onError({code:N,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(Ar(t,n,!0))this.retry(t);else{var s;G.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=cr(t,s.retry),s.retry++,G.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&&Rc.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 Ko={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},rf=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:tf,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:vi,bufferController:xc,capLevelController:Pu,errorController:xe,fpsController:tl,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:ci,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:Ko},keyLoadPolicy:{default:{maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"},errorRetry:{maxNumRetry:8,retryDelayMs:1e3,maxRetryDelayMs:2e4,backoff:"linear"}}},manifestLoadPolicy:{default:{maxTimeToFirstByteMs:1/0,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},playlistLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:2,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},fragLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:12e4,timeoutRetry:{maxNumRetry:4,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:6,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},steeringManifestLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:2e4,timeoutRetry:{maxNumRetry:2,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:1,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},interstitialAssetListLoadPolicy:{default:{maxTimeToFirstByteMs:1e4,maxLoadTimeMs:3e4,timeoutRetry:{maxNumRetry:0,retryDelayMs:0,maxRetryDelayMs:0},errorRetry:{maxNumRetry:0,retryDelayMs:1e3,maxRetryDelayMs:8e3}}},manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3},pf()),{},{subtitleStreamController:I,subtitleTrackController:Kc,timelineController:Wu,audioStreamController:qo,audioTrackController:Wl,emeController:ku,cmcdController:je,contentSteeringController:eu,interstitialsController:mc});function pf(){return{cueHandler:wf,enableWebVTT:!0,enableIMSC1:!0,enableCEA708Captions:!0,captionsTextTrack1Label:"English",captionsTextTrack1LanguageCode:"en",captionsTextTrack2Label:"Spanish",captionsTextTrack2LanguageCode:"es",captionsTextTrack3Label:"Unknown CC",captionsTextTrack3LanguageCode:"",captionsTextTrack4Label:"Unknown CC",captionsTextTrack4LanguageCode:"",renderTextTracksNatively:!0}}function fl(P,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=jl(P),m=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return m.forEach(T=>{const U=`${T==="level"?"playlist":T}LoadPolicy`,W=t[U]===void 0,N=[];E.forEach(te=>{const ce=`${T}Loading${te}`,be=t[ce];if(be!==void 0&&W){N.push(ce);const Pe=s[U].default;switch(t[U]={default:Pe},te){case"TimeOut":Pe.maxLoadTimeMs=be,Pe.maxTimeToFirstByteMs=be;break;case"MaxRetry":Pe.errorRetry.maxNumRetry=be,Pe.timeoutRetry.maxNumRetry=be;break;case"RetryDelay":Pe.errorRetry.retryDelayMs=be,Pe.timeoutRetry.retryDelayMs=be;break;case"MaxRetryTimeout":Pe.errorRetry.maxRetryDelayMs=be,Pe.timeoutRetry.maxRetryDelayMs=be;break}}}),N.length&&n.warn(`hls.js config: "${N.join('", "')}" setting(s) are deprecated, use "${U}": ${yn(t[U])}`)}),b(b({},s),t)}function jl(P){return P&&typeof P=="object"?Array.isArray(P)?P.map(jl):Object.keys(P).reduce((t,n)=>(t[n]=jl(P[n]),t),{}):P}function Yo(P,t){const n=P.loader;n!==gc&&n!==tf?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),P.progressive=!1):$l()&&(P.loader=gc,P.progressive=!0,P.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const yc=2,_f=.1,Lc=.05,Mc=100;class mf extends Ta{constructor(t,n){super("gap-controller",t.logger),this.hls=null,this.fragmentTracker=null,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var 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(Mc),this.mediaSource=n.mediaSource;const s=this.media=n.media;Vs(s,"playing",this.onMediaPlaying),Vs(s,"waiting",this.onMediaWaiting),Vs(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(Go(s,"playing",this.onMediaPlaying),Go(s,"waiting",this.onMediaWaiting),Go(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 E=(s=this.hls)==null?void 0:s.config;if(!E)return;const T=this.media;if(!T)return;const{seeking:U}=T,W=this.seeking&&!U,N=!this.seeking&&U,te=T.paused&&!U||T.ended||T.playbackRate===0;if(this.seeking=U,t!==n){n&&(this.ended=0),this.moved=!0,U||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!te&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(N||W){W&&this.stallResolved(t);return}if(te){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&T.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!pi.getBuffered(T).length){this.nudgeRetry=0;return}const ce=pi.bufferInfo(T,t,0),be=ce.nextStart||0,Pe=this.fragmentTracker;if(U&&Pe&&this.hls){const un=Fc(this.hls.inFlightFragments,t),Hr=ce.len>yc,en=!be||un||be-t>yc&&!Pe.getPartialFragment(t);if(Hr||en)return;this.moved=!1}const Se=(m=this.hls)==null?void 0:m.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Pe){if(!(ce.len>0)&&!be)return;const Hr=Math.max(be,ce.start||0)-t,on=!!(Se!=null&&Se.live)?Se.targetduration*2:yc,Kr=Pe.getPartialFragment(t);if(Hr>0&&(Hr<=on||Kr)){T.paused||this._trySkipBufferHole(Kr);return}}const at=E.detectStallWithCurrentTimeMs,rt=self.performance.now(),Mt=this.waiting;let fr=this.stalled;if(fr===null)if(Mt>0&&rt-Mt<at)fr=this.stalled=Mt;else{this.stalled=rt;return}const or=rt-fr;if(!U&&(or>=at||Mt)&&this.hls){var Or;if(((Or=this.mediaSource)==null?void 0:Or.readyState)==="ended"&&!(Se!=null&&Se.live)&&Math.abs(t-((Se==null?void 0:Se.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(ce),!this.media||!this.hls)return}const Ur=pi.bufferInfo(T,t,E.maxBufferHole);this._tryFixBufferStall(Ur,or,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 E=pi.bufferedInfo(pi.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const T=pi.timeRangesToArray(m),U=pi.bufferedInfo(T,n,0).bufferedIndex;if(U>-1&&U<T.length-1){const W=pi.bufferedInfo(T,t,0).bufferedIndex,N=T[U].end,te=T[U+1].start;if((W===-1||W>U)&&te-N<1&&t-N<2){const ce=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${N} -> ${te} buffered index: ${W}`);this.warn(ce.message),this.media.currentTime+=1e-6;const be=this.fragmentTracker.getPartialFragment(t)||void 0,Pe=pi.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:ce,reason:ce.message,frag:be,buffer:Pe.len,bufferInfo:Pe})}}}}}_tryFixBufferStall(t,n,s){var m,E;const{fragmentTracker:T,media:U}=this,W=(m=this.hls)==null?void 0:m.config;if(!U||!T||!W)return;const N=(E=this.hls)==null?void 0:E.latestLevelDetails,te=T.getPartialFragment(s);if((te||N!=null&&N.live&&s<N.fragmentStart)&&(this._trySkipBufferHole(te)||!this.media))return;const ce=t.buffered,be=this.adjacentTraversal(t,s);(ce&&ce.length>1&&t.len>W.maxBufferHole||t.nextStart&&(t.nextStart-s<W.maxBufferHole||be))&&(n>W.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 E=s.getFragAtPos(n,u.MAIN),T=s.getFragAtPos(m,u.MAIN);if(E&&T)return T.sn-E.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:m,stalled:E}=this;if(!m&&E!==null&&s&&n){this.stallReported=!0;const T=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${yn(t)})`);this.warn(T.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:T,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:m}=this,E=(n=this.hls)==null?void 0:n.config;if(!m||!s||!E)return 0;const T=m.currentTime,U=pi.bufferInfo(m,T,0),W=T<U.start?U.start:U.nextStart;if(W&&this.hls){const te=U.len<=E.maxBufferHole,ce=U.len>0&&U.len<1&&m.readyState<3,be=W-T;if(be>0&&(te||ce)){if(be>E.maxBufferHole){let Se=!1;if(T===0){const at=s.getAppendedFrag(0,u.MAIN);at&&W<at.end&&(Se=!0)}if(!Se){const at=t||s.getAppendedFrag(T,u.MAIN);if(at){var N;if(!((N=this.hls.loadLevelObj)!=null&&N.details)||Fc(this.hls.inFlightFragments,W))return 0;let Mt=!1,fr=at.end;for(;fr<W;){const or=s.getPartialFragment(fr);if(or)fr+=or.duration;else{Mt=!0;break}}if(Mt)return 0}}}const Pe=Math.max(W+Lc,T+_f);if(this.warn(`skipping hole, adjusting currentTime from ${T} to ${Pe}`),this.moved=!0,m.currentTime=Pe,!(t!=null&&t.gap)){const Se=new Error(`fragment loaded with buffer holes, seeking from ${T} to ${Pe}`);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Se,reason:Se.message,frag:t||void 0,buffer:U.len,bufferInfo:U})}return Pe}}return 0}_tryNudgeBuffer(t){const{hls:n,media:s,nudgeRetry:m}=this,E=n==null?void 0:n.config;if(!s||!E)return 0;const T=s.currentTime;if(this.nudgeRetry++,m<E.nudgeMaxRetry){const U=T+(m+1)*E.nudgeOffset,W=new Error(`Nudging 'currentTime' from ${T} to ${U}`);this.warn(W.message),s.currentTime=U,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:W,fatal:!1,buffer:t.len,bufferInfo:t})}else{const U=new Error(`Playhead still not moving while enough data buffered @${T} after ${E.nudgeMaxRetry} nudges`);this.error(U.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:U,fatal:!0,buffer:t.len,bufferInfo:t})}}}function Fc(P,t){const n=Af(P.main);if(n&&n.start<=t)return n;const s=Af(P.audio);return s&&s.start<=t?s:null}function Af(P){if(!P)return null;switch(P.state){case Wr.IDLE:case Wr.STOPPED:case Wr.ENDED:case Wr.ERROR:return null}return P.frag}const Mf=.25;function Bc(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function Ff(P,t,n,s,m){let E=new P(t,n,"");try{E.value=s,m&&(E.type=m)}catch(T){E=new P(t,n,yn(m?b({type:m},s):s))}return E}const nf=(()=>{const P=Bc();try{P&&new P(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();function vf(P){return Uint8Array.from(P.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}class Hf{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(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.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.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(){const t=this.hls.latestLevelDetails;t&&this.updateDateRangeCues(t)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&Ru(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 yu(s,this.media),s}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media)return;const{hls:{config:{enableEmsgMetadataCues:s,enableID3MetadataCues:m}}}=this;if(!s&&!m)return;const{samples:E}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const T=Bc();if(T)for(let U=0;U<E.length;U++){const W=E[U].type;if(W===ts.emsg&&!s||!m)continue;const N=Ja(E[U].data);if(N){const te=E[U].pts;let ce=te+E[U].duration;ce>nf&&(ce=nf),ce-te<=0&&(ce=te+Mf);for(let Pe=0;Pe<N.length;Pe++){const Se=N[Pe];if(!ao(Se)){this.updateId3CueEnds(te,W);const at=Ff(T,te,ce,Se,W);at&&this.id3Track.addCue(at)}}}}}updateId3CueEnds(t,n){var s;const m=(s=this.id3Track)==null?void 0:s.cues;if(m)for(let E=m.length;E--;){const T=m[E];T.type===n&&T.startTime<t&&T.endTime===nf&&(T.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:m}){const{id3Track:E,hls:T}=this;if(!T)return;const{config:{enableEmsgMetadataCues:U,enableID3MetadataCues:W}}=T;if(E&&(U||W)){let N;m==="audio"?N=te=>te.type===ts.audioId3&&W:m==="video"?N=te=>te.type===ts.emsg&&U:N=te=>te.type===ts.audioId3&&W||te.type===ts.emsg&&U,Vo(E,n,s,N)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.media||!t.hasProgramDateTime||!this.hls.config.enableDateRangeMetadataCues)return;const{id3Track:s}=this,{dateRanges:m}=t,E=Object.keys(m);let T=this.dateRangeCuesAppended;if(s&&n){var U;if((U=s.cues)!=null&&U.length){const te=Object.keys(T).filter(ce=>!E.includes(ce));for(let ce=te.length;ce--;){const be=te[ce],Pe=T[be].cues;delete T[be],Object.keys(Pe).forEach(Se=>{try{const at=Pe[Se];at.removeEventListener("enter",this.onEventCueEnter),s.removeCue(at)}catch(at){}})}}else T=this.dateRangeCuesAppended={}}const W=t.fragments[t.fragments.length-1];if(E.length===0||!r(W==null?void 0:W.programDateTime))return;this.id3Track||(this.id3Track=this.createTrack(this.media));const N=Bc();for(let te=0;te<E.length;te++){const ce=E[te],be=m[ce],Pe=be.startTime,Se=T[ce],at=(Se==null?void 0:Se.cues)||{};let rt=(Se==null?void 0:Se.durationKnown)||!1,Mt=nf;const{duration:fr,endDate:or}=be;if(or&&fr!==null)Mt=Pe+fr,rt=!0;else if(be.endOnNext&&!rt){const Ur=E.reduce((un,Hr)=>{if(Hr!==be.id){const en=m[Hr];if(en.class===be.class&&en.startDate>be.startDate&&(!un||be.startDate<un.startDate))return en}return un},null);Ur&&(Mt=Ur.startTime,rt=!0)}const Or=Object.keys(be.attr);for(let Ur=0;Ur<Or.length;Ur++){const un=Or[Ur];if(!Na(un))continue;const Hr=at[un];if(Hr)rt&&!Se.durationKnown?Hr.endTime=Mt:Math.abs(Hr.startTime-Pe)>.01&&(Hr.startTime=Pe,Hr.endTime=Mt);else if(N){let en=be.attr[un];Ys(un)&&(en=vf(en));const Kr=Ff(N,Pe,Mt,{key:un,data:en},ts.dateRange);Kr&&(Kr.id=ce,this.id3Track.addCue(Kr),at[un]=Kr,this.hls.config.interstitialsController&&(un==="X-ASSET-LIST"||un==="X-ASSET-URL")&&Kr.addEventListener("enter",this.onEventCueEnter))}}T[ce]={cues:at,dateRange:be,durationKnown:rt}}}}class Cf{constructor(t){this.hls=void 0,this.config=void 0,this.media=null,this.currentTime=0,this.stallCount=0,this._latency=null,this._targetLatencyUpdated=!1,this.onTimeupdate=()=>{const{media:n}=this,s=this.levelDetails;if(!n||!s)return;this.currentTime=n.currentTime;const m=this.computeLatency();if(m===null)return;this._latency=m;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:T}=this.config;if(!E||T===1||!s.live)return;const U=this.targetLatency;if(U===null)return;const W=m-U,N=Math.min(this.maxLatency,U+s.targetduration);if(W<N&&W>.05&&this.forwardBufferLength>1){const ce=Math.min(2,Math.max(1,T)),be=Math.round(2/(1+Math.exp(-.75*W-this.edgeStalled))*20)/20,Pe=Math.min(ce,Math.max(1,be));this.changeMediaPlaybackRate(n,Pe)}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:E,liveSyncDurationCount:T,lowLatencyMode:U}=this.config,W=this.hls.userConfig;let N=U&&s||n;(this._targetLatencyUpdated||W.liveSyncDuration||W.liveSyncDurationCount||N===0)&&(N=E!==void 0?E:T*m);const te=m;return N+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,te)}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,E=t-n-this.edgeStalled,T=m-s.totalduration,U=m-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(T,E),U)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const 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 Bf extends ml{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=[],E={},T={};let U=!1,W=!1,N=!1;n.levels.forEach(te=>{const ce=te.attrs;let{audioCodec:be,videoCodec:Pe}=te;be&&(te.audioCodec=be=Ir(be,s)||void 0),Pe&&(Pe=te.videoCodec=Qr(Pe));const{width:Se,height:at,unknownCodecs:rt}=te;let Mt=rt?rt.length:0;if(rt)for(let Kr=Mt;Kr--;){const jn=rt[Kr];this.isAudioSupported(jn)?(te.audioCodec=be=be?`${be},${jn}`:jn,Mt--,ct.audio[be.substring(0,4)]=2):this.isVideoSupported(jn)&&(te.videoCodec=Pe=Pe?`${Pe},${jn}`:jn,Mt--,ct.video[Pe.substring(0,4)]=2)}if(U||(U=!!(Se&&at)),W||(W=!!Pe),N||(N=!!be),Mt||be&&!this.isAudioSupported(be)||Pe&&!this.isVideoSupported(Pe)){this.log(`Some or all CODECS not supported "${ce.CODECS}"`);return}const{CODECS:fr,"FRAME-RATE":or,"HDCP-LEVEL":Or,"PATHWAY-ID":Ur,RESOLUTION:un,"VIDEO-RANGE":Hr}=ce,on=`${`${Ur||"."}-`}${te.bitrate}-${un}-${or}-${fr}-${Hr}-${Or}`;if(E[on])if(E[on].uri!==te.url&&!te.attrs["PATHWAY-ID"]){const Kr=T[on]+=1;te.attrs["PATHWAY-ID"]=new Array(Kr+1).join(".");const jn=this.createLevel(te);E[on]=jn,m.push(jn)}else E[on].addGroupId("audio",ce.AUDIO),E[on].addGroupId("text",ce.SUBTITLES);else{const Kr=this.createLevel(te);E[on]=Kr,T[on]=1,m.push(Kr)}}),this.filterAndSortMediaOptions(m,n,U,W,N)}createLevel(t){const n=new Ln(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=nn(m,[])}return n}isAudioSupported(t){return At(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return At(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,m,E){let T=[],U=[],W=t;if((s||m)&&E&&(W=W.filter(({videoCodec:rt,videoRange:Mt,width:fr,height:or})=>(!!rt||!!(fr&&or))&&gr(Mt))),W.length===0){Promise.resolve().then(()=>{if(this.hls){let rt="no level with compatible codecs found in manifest",Mt=rt;n.levels.length&&(Mt=`one or more CODECS in variant not supported: ${yn(n.levels.map(or=>or.attrs.CODECS).filter((or,Or,Ur)=>Ur.indexOf(or)===Or))}`,this.warn(Mt),rt+=` (${Mt})`);const fr=new Error(rt);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:fr,reason:Mt})}});return}n.audioTracks&&(T=n.audioTracks.filter(rt=>!rt.audioCodec||this.isAudioSupported(rt.audioCodec)),Nf(T)),n.subtitles&&(U=n.subtitles,Nf(U));const N=W.slice(0);W.sort((rt,Mt)=>{if(rt.attrs["HDCP-LEVEL"]!==Mt.attrs["HDCP-LEVEL"])return(rt.attrs["HDCP-LEVEL"]||"")>(Mt.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&rt.height!==Mt.height)return rt.height-Mt.height;if(rt.frameRate!==Mt.frameRate)return rt.frameRate-Mt.frameRate;if(rt.videoRange!==Mt.videoRange)return yr.indexOf(rt.videoRange)-yr.indexOf(Mt.videoRange);if(rt.videoCodec!==Mt.videoCodec){const fr=ye(rt.videoCodec),or=ye(Mt.videoCodec);if(fr!==or)return or-fr}if(rt.uri===Mt.uri&&rt.codecSet!==Mt.codecSet){const fr=et(rt.codecSet),or=et(Mt.codecSet);if(fr!==or)return or-fr}return rt.averageBitrate!==Mt.averageBitrate?rt.averageBitrate-Mt.averageBitrate:0});let te=N[0];if(this.steering&&(W=this.steering.filterParsedLevels(W),W.length!==N.length)){for(let rt=0;rt<N.length;rt++)if(N[rt].pathwayId===W[0].pathwayId){te=N[rt];break}}this._levels=W;for(let rt=0;rt<W.length;rt++)if(W[rt]===te){var ce;this._firstLevel=rt;const Mt=te.bitrate,fr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${W.length} level(s) found, first bitrate: ${Mt}`),((ce=this.hls.userConfig)==null?void 0:ce.abrEwmaDefaultEstimate)===void 0){const or=Math.min(Mt,this.hls.config.abrEwmaDefaultEstimateMax);or>fr&&fr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=or)}break}const be=E&&!m,Pe=this.hls.config,Se=!!(Pe.audioStreamController&&Pe.audioTrackController),at={levels:W,audioTracks:T,subtitleTracks:U,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:m,altAudio:Se&&!be&&T.some(rt=>!!rt.url)};this.hls.trigger(o.MANIFEST_PARSED,at)}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 te=new Error("invalid level idx"),ce=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:ce,error:te,reason:te.message}),ce)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,m=this.currentLevel,E=m?m.attrs["PATHWAY-ID"]:void 0,T=n[t],U=T.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=T,s===t&&m&&E===U)return;this.log(`Switching to level ${t} (${T.height?T.height+"p ":""}${T.videoRange?T.videoRange+" ":""}${T.codecSet?T.codecSet+" ":""}@${T.bitrate})${U?" with Pathway "+U:""} from level ${s}${E?" with Pathway "+E:""}`);const W={level:t,attrs:T.attrs,details:T.details,bitrate:T.bitrate,averageBitrate:T.averageBitrate,maxBitrate:T.maxBitrate,realBitrate:T.realBitrate,width:T.width,height:T.height,codecSet:T.codecSet,audioCodec:T.audioCodec,videoCodec:T.videoCodec,audioGroups:T.audioGroups,subtitleGroups:T.subtitleGroups,loaded:T.loaded,loadError:T.loadError,fragmentError:T.fragmentError,name:T.name,id:T.id,uri:T.uri,url:T.url,urlId:0,audioGroupIds:T.audioGroupIds,textGroupIds:T.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,W);const N=T.details;if(!N||N.live){const te=this.switchParams(T.uri,m==null?void 0:m.details,N);this.loadPlaylist(te)}}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(E=>!!s[E]))return;const m=this._levels[n.level];m!=null&&m.loadError&&(this.log(`Resetting level error count of ${m.loadError} on frag buffered`),m.loadError=0)}}onLevelLoaded(t,n){var s;const{level:m,details:E}=n,T=n.levelInfo;if(!T){var U;this.warn(`Invalid level index ${m}`),(U=n.deliveryDirectives)!=null&&U.skip&&(E.deltaUpdateFailed=!0);return}if(T===this.currentLevel||n.withoutMultiVariant){T.fragmentError===0&&(T.loadError=0);let W=T.details;W===n.details&&W.advanced&&(W=void 0),this.playlistLoaded(m,n,W)}else(s=n.deliveryDirectives)!=null&&s.skip&&(E.deltaUpdateFailed=!0)}loadPlaylist(t){super.loadPlaylist(),this.shouldLoadPlaylist(this.currentLevel)&&this.scheduleLoading(this.currentLevel,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=this.getUrlWithDirectives(t.uri,n),m=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],T=t.details,U=T==null?void 0:T.age;this.log(`Loading level index ${m}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${U&&T.live?" age "+U.toFixed(1)+(T.type?" "+T.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((E,T)=>T!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(U=>U.level=-1)),!1));xr(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 Nf(P){const t={};P.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function af(){return self.SourceBuffer||self.WebKitSourceBuffer}function $f(){if(!ae())return!1;const t=af();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Tf(){if(!$f())return!1;const P=ae();return typeof(P==null?void 0:P.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>P.isTypeSupported(Et(t,"video")))||["mp4a.40.2","fLaC"].some(t=>P.isTypeSupported(Et(t,"audio"))))}function g(){var P;const t=af();return typeof(t==null||(P=t.prototype)==null?void 0:P.changeType)=="function"}const C=100;class z extends ma{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,E=m?m.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const T=this.getFwdBufferInfoAtPos(m,E,u.MAIN,0);if(T===null||T.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${T?T.len:"empty"})`);return}this.tick()},this.registerListeners()}registerListeners(){super.registerListeners();const{hls:t}=this;t.on(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(C),this.level=-1,!this.startFragRequested){let E=m.startLevel;E===-1&&(m.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=m.firstAutoLevel),m.nextLoadLevel=E,this.level=m.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=Wr.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=Wr.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case Wr.WAITING_LEVEL:{const{levels:n,level:s}=this,m=n==null?void 0:n[s],E=m==null?void 0:m.details;if(E&&(!E.live||this.levelLastLoaded===m&&!this.waitForLive(m))){if(this.waitForCdnTuneIn(E))break;this.state=Wr.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=Wr.IDLE;break}break}case Wr.FRAG_LOADING_WAITING_RETRY:{var t;const n=self.performance.now(),s=this.retryDate;if(!s||n>=s||(t=this.media)!=null&&t.seeking){const{levels:m,level:E}=this,T=m==null?void 0:m[E];this.resetStartWhenNotLoaded(T||null),this.state=Wr.IDLE}}break}this.state===Wr.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 E=this.buffering?t.nextLoadLevel:t.loadLevel;if(!(s!=null&&s[E]))return;const T=s[E],U=this.getMainFwdBufferInfo();if(U===null)return;const W=this.getLevelDetails();if(W&&this._streamEnded(U,W)){const at={};this.altAudio===2&&(at.type="video"),this.hls.trigger(o.BUFFER_EOS,at),this.state=Wr.ENDED;return}if(!this.buffering)return;t.loadLevel!==E&&t.manualLevel===-1&&this.log(`Adapting to level ${E} from level ${this.level}`),this.level=t.nextLoadLevel=E;const N=T.details;if(!N||this.state===Wr.WAITING_LEVEL||this.waitForLive(T)){this.level=E,this.state=Wr.WAITING_LEVEL,this.startFragRequested=!1;return}const te=U.len,ce=this.getMaxBufferLength(T.maxBitrate);if(te>=ce)return;this.backtrackFragment&&this.backtrackFragment.start>U.end&&(this.backtrackFragment=null);const be=this.backtrackFragment?this.backtrackFragment.start:U.end;let Pe=this.getNextFragment(be,N);if(this.couldBacktrack&&!this.fragPrevious&&Pe&&_e(Pe)&&this.fragmentTracker.getState(Pe)!==ir.OK){var Se;const rt=((Se=this.backtrackFragment)!=null?Se:Pe).sn-N.startSN,Mt=N.fragments[rt-1];Mt&&Pe.cc===Mt.cc&&(Pe=Mt,this.fragmentTracker.removeFragment(Mt))}else this.backtrackFragment&&U.len&&(this.backtrackFragment=null);if(Pe&&this.isLoopLoading(Pe,be)){if(!Pe.gap){const rt=this.audioOnly&&!this.altAudio?$.AUDIO:$.VIDEO,Mt=(rt===$.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Mt&&this.afterBufferFlushed(Mt,rt,u.MAIN)}Pe=this.getNextFragmentLoopLoading(Pe,N,U,u.MAIN,ce)}Pe&&(Pe.initSegment&&!Pe.initSegment.data&&!this.bitrateTest&&(Pe=Pe.initSegment),this.loadFragment(Pe,T,be))}loadFragment(t,n,s){const m=this.fragmentTracker.getState(t);m===ir.NOT_LOADED||m===ir.PARTIAL?_e(t)?this.bitrateTest?(this.log(`Fragment ${t.sn} of level ${t.level} is being downloaded to test bitrate and will not be buffered`),this._loadBitrateTestFrag(t,n)):super.loadFragment(t,n,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 E=this.getLevelDetails();if(E!=null&&E.live){const U=this.getMainFwdBufferInfo();if(!U||U.len<E.targetduration*2)return}if(!n.paused&&t){const U=this.hls.nextLoadLevel,W=t[U],N=this.fragLastKbps;N&&this.fragCurrent?s=this.fragCurrent.duration*W.maxBitrate/(1e3*N)+1:s=0}else s=0;const T=this.getBufferedFrag(n.currentTime+s);if(T){const U=this.followingBufferedFrag(T);if(U){this.abortCurrentFrag();const W=U.maxStartPTS?U.maxStartPTS:U.start,N=U.duration,te=Math.max(T.end,W+Math.min(Math.max(N-this.config.maxFragLookUpTolerance,N*(this.couldBacktrack?.5:.125)),N*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(te,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 Wr.KEY_LOADING:case Wr.FRAG_LOADING:case Wr.FRAG_LOADING_WAITING_RETRY:case Wr.PARSING:case Wr.PARSED:this.state=Wr.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;Vs(s,"playing",this.onMediaPlaying),Vs(s,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:s}=this;s&&(Go(s,"playing",this.onMediaPlaying),Go(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;n.levels.forEach(E=>{const T=E.audioCodec;T&&(s=s||T.indexOf("mp4a.40.2")!==-1,m=m||T.indexOf("mp4a.40.5")!==-1)}),this.audioCodecSwitch=s&&m&&!g(),this.audioCodecSwitch&&this.log("Both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=n.levels,this.startFragRequested=!1}onLevelLoading(t,n){const{levels:s}=this;if(!s||this.state!==Wr.IDLE)return;const m=n.levelInfo;(!m.details||m.details.live&&(this.levelLastLoaded!==m||m.details.expired)||this.waitForCdnTuneIn(m.details))&&(this.state=Wr.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:m,startFragRequested:E}=this,T=n.level,U=n.details,W=U.totalduration;if(!m){this.warn(`Levels were reset while loading level ${T}`);return}this.log(`Level ${T} loaded [${U.startSN},${U.endSN}]${U.lastPartSn?`[part-${U.lastPartSn}-${U.lastPartIndex}]`:""}, cc [${U.startCC}, ${U.endCC}] duration:${W}`);const N=n.levelInfo,te=this.fragCurrent;te&&(this.state===Wr.FRAG_LOADING||this.state===Wr.FRAG_LOADING_WAITING_RETRY)&&te.level!==n.level&&te.loader&&this.abortCurrentFrag();let ce=0;if(U.live||(s=N.details)!=null&&s.live){var be;if(this.checkLiveUpdate(U),U.deltaUpdateFailed)return;ce=this.alignPlaylists(U,N.details,(be=this.levelLastLoaded)==null?void 0:be.details)}if(N.details=U,this.levelLastLoaded=N,E||this.setStartPosition(U,ce),this.hls.trigger(o.LEVEL_UPDATED,{details:U,level:T}),this.state===Wr.WAITING_LEVEL){if(this.waitForCdnTuneIn(U))return;this.state=Wr.IDLE}E&&U.live&&this.synchronizeToLiveEdge(U),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const m=this.hls.liveSyncPosition,E=this.getLoadPosition(),T=t.fragmentStart,U=t.edge,W=E>=T-n.maxFragLookUpTolerance&&E<=U;if(m!==null&&s.duration>m&&(E<m||!W)){const te=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;if((!W&&s.readyState<4||E<U-te)&&(this._hasEnoughToStart||(this.nextLoadPosition=m),s.readyState))if(this.warn(`Playback: ${E.toFixed(3)} is located too far from the end of live sliding playlist: ${U}, reset currentTime to : ${m.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var N;const ce=pi.bufferInfo(s,m,0);if(!(ce!=null&&(N=ce.buffered)!=null&&N.length)){s.currentTime=m;return}if(ce.start<=E){s.currentTime=m;return}const{nextStart:Pe}=pi.bufferedInfo(ce.buffered,E,0);Pe&&(s.currentTime=Pe)}else s.currentTime=m}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:m,payload:E}=t,{levels:T}=this;if(!T){this.warn(`Levels were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const U=T[s.level];if(!U){this.warn(`Level ${s.level} not found on progress`);return}const W=U.details;if(!W){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const N=U.videoCodec,te=W.PTSKnown||!W.live,ce=(n=s.initSegment)==null?void 0:n.data,be=this._getAudioCodec(U),Pe=this.transmuxer=this.transmuxer||new pl(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Se=m?m.index:-1,at=Se!==-1,rt=new fs(s.level,s.sn,s.stats.chunkCount,E.byteLength,Se,at),Mt=this.initPTS[s.cc];Pe.push(E,ce,be,N,s,m,W.totalduration,te,rt,Mt)}onAudioTrackSwitching(t,n){const s=this.hls,m=this.altAudio===2;if(Xi(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 T=this.fragCurrent;T&&(this.log("Switching to main audio track, cancel main fragment load"),T.abortRequests(),this.fragmentTracker.removeFragment(T)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(m){this.fragmentTracker.removeAllFragments(),s.once(o.BUFFER_FLUSHED,()=>{var T;(T=this.hls)==null||T.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=Xi(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,E,T=!1;for(const U in s){const W=s[U];if(W.id==="main"){if(E=U,m=W,U==="video"){const N=s[U];N&&(this.videoBuffer=N.buffer)}}else T=!0}T&&m?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=m.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:m}=n,E=s.type===u.MAIN;if(E){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===Wr.PARSED&&(this.state=Wr.IDLE);return}const U=m?m.stats:s.stats;this.fragLastKbps=Math.round(8*U.total/(U.buffering.end-U.loading.first)),_e(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,m)}const T=this.media;T&&(!this._hasEnoughToStart&&pi.getBuffered(T).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=Wr.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===Wr.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=Wr.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.flushMainBuffer(0,Number.POSITIVE_INFINITY);break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=Wr.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==$.AUDIO||!this.altAudio){const s=(n===$.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 E=this.getLevelDetails(),T=pi.getBuffered(t),U=T.length?T.start(0):0,W=U-s,N=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||W>0&&(W<N||this.loadingParts&&W<2*((E==null?void 0:E.partTarget)||0)))&&(this.log(`adjusting start position by ${W} to match buffer start`),s+=W,this.startPosition=s),n<s&&(this.log(`seek to target start position ${s} from current time ${n} buffer start ${U}`),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,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=Wr.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const T=E.stats;T.parsing.start=T.parsing.end=T.buffering.start=T.buffering.end=self.performance.now(),m.trigger(o.FRAG_LOADED,s),E.bitrateTest=!1})}_handleTransmuxComplete(t){var n;const s=this.playlistType,{hls:m}=this,{remuxResult:E,chunkMeta:T}=t,U=this.getCurrentContext(T);if(!U){this.resetWhenMissingContext(T);return}const{frag:W,part:N,level:te}=U,{video:ce,text:be,id3:Pe,initSegment:Se}=E,{details:at}=te,rt=this.altAudio?void 0:E.audio;if(this.fragContextChanged(W)){this.fragmentTracker.removeFragment(W);return}if(this.state=Wr.PARSING,Se){if(Se!=null&&Se.tracks){const or=W.initSegment||W;this._bufferInitSegment(te,Se.tracks,or,T),m.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:or,id:s,tracks:Se.tracks})}const Mt=Se.initPTS,fr=Se.timescale;r(Mt)&&(this.initPTS[W.cc]={baseTime:Mt,timescale:fr},m.trigger(o.INIT_PTS_FOUND,{frag:W,id:s,initPTS:Mt,timescale:fr}))}if(ce&&at){rt&&ce.type==="audiovideo"&&this.logMuxedErr(W);const Mt=at.fragments[W.sn-1-at.startSN],fr=W.sn===at.startSN,or=!Mt||W.cc>Mt.cc;if(E.independent!==!1){const{startPTS:Or,endPTS:Ur,startDTS:un,endDTS:Hr}=ce;if(N)N.elementaryStreams[ce.type]={startPTS:Or,endPTS:Ur,startDTS:un,endDTS:Hr};else if(ce.firstKeyFrame&&ce.independent&&T.id===1&&!or&&(this.couldBacktrack=!0),ce.dropped&&ce.independent){const en=this.getMainFwdBufferInfo(),on=(en?en.end:this.getLoadPosition())+this.config.maxBufferHole,Kr=ce.firstKeyFramePTS?ce.firstKeyFramePTS:Or;if(!fr&&on<Kr-this.config.maxBufferHole&&!or){this.backtrack(W);return}else or&&(W.gap=!0);W.setElementaryStreamInfo(ce.type,W.start,Ur,W.start,Hr,!0)}else fr&&Or-(at.appliedTimelineOffset||0)>yc&&(W.gap=!0);W.setElementaryStreamInfo(ce.type,Or,Ur,un,Hr),this.backtrackFragment&&(this.backtrackFragment=W),this.bufferFragmentData(ce,W,N,T,fr||or)}else if(fr||or)W.gap=!0;else{this.backtrack(W);return}}if(rt){const{startPTS:Mt,endPTS:fr,startDTS:or,endDTS:Or}=rt;N&&(N.elementaryStreams[$.AUDIO]={startPTS:Mt,endPTS:fr,startDTS:or,endDTS:Or}),W.setElementaryStreamInfo($.AUDIO,Mt,fr,or,Or),this.bufferFragmentData(rt,W,N,T)}if(at&&Pe!=null&&(n=Pe.samples)!=null&&n.length){const Mt={id:s,frag:W,details:at,samples:Pe.samples};m.trigger(o.FRAG_PARSING_METADATA,Mt)}if(at&&be){const Mt={id:s,frag:W,details:at,samples:be.samples};m.trigger(o.FRAG_PARSING_USERDATA,Mt)}}logMuxedErr(t){this.warn(`${_e(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,m){if(this.state!==Wr.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:T,audiovideo:U}=n;if(E){let N=Gr(E.codec,t.audioCodec);N==="mp4a"&&(N="mp4a.40.5");const te=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){N&&(N.indexOf("mp4a.40.5")!==-1?N="mp4a.40.2":N="mp4a.40.5");const ce=E.metadata;ce&&"channelCount"in ce&&(ce.channelCount||1)!==1&&te.indexOf("firefox")===-1&&(N="mp4a.40.5")}N&&N.indexOf("mp4a.40.5")!==-1&&te.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(N="mp4a.40.2",this.log(`Android: force audio codec to ${N}`)),t.audioCodec&&t.audioCodec!==N&&this.log(`Swapping manifest audio codec "${t.audioCodec}" for "${N}"`),E.levelCodec=N,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${N||""}/${t.audioCodec||""}/${E.codec}]`),delete n.audiovideo}if(T){T.levelCodec=t.videoCodec,T.id=u.MAIN;const N=T.codec;if((N==null?void 0:N.length)===4)switch(N){case"hvc1":case"hev1":T.codec="hvc1.1.6.L120.90";break;case"av01":T.codec="av01.0.04M.08";break;case"avc1":T.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${T.container}, codecs[level/parsed]=[${t.videoCodec||""}/${N}]${T.codec!==N?" parsed-corrected="+T.codec:""}${T.supplemental?" supplemental="+T.supplemental:""}`),delete n.audiovideo}U&&(this.log(`Init audiovideo buffer, container:${U.container}, codecs[level/parsed]=[${t.codecs}/${U.codec}]`),delete n.video,delete n.audio);const W=Object.keys(n);if(W.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;W.forEach(N=>{const ce=n[N].initSegment;ce!=null&&ce.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:N,data:ce,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=Wr.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(pi.isBuffered(t,s)?n=this.getAppendedFrag(s):pi.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const m=this.fragPlaying,E=n.level;(!m||n.sn!==m.sn||m.level!==E)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!m||m.level!==E)&&this.hls.trigger(o.LEVEL_SWITCHED,{level:E}))}}}get nextLevel(){const t=this.nextBufferedFrag;return t?t.level:-1}get currentFrag(){var t;if(this.fragPlaying)return this.fragPlaying;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;return r(n)?this.getAppendedFrag(n):null}get currentProgramDateTime(){var t;const n=((t=this.media)==null?void 0:t.currentTime)||this.lastCurrentTime;if(r(n)){const s=this.getLevelDetails(),m=this.currentFrag||(s?qn(null,s.fragments,n):null);if(m){const E=m.programDateTime;if(E!==null){const T=E+(n-m.start)*1e3;return new Date(T)}}}return null}get currentLevel(){const t=this.currentFrag;return t?t.level:-1}get nextBufferedFrag(){const t=this.currentFrag;return t?this.followingBufferedFrag(t):null}get forceStartLoad(){return this._forceStartLoad}}class ve{constructor(t){this.config=void 0,this.keyUriToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyUriToKeyInfo){const m=this.keyUriToKeyInfo[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.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyUriToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyUriToKeyInfo){const n=this.keyUriToKeyInfo[t].loader;n&&n.destroy()}this.keyUriToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,m,E){return new Ha({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:s,networkDetails:m})}loadClear(t,n){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length){const{sn:s,cc:m}=t;for(let E=0;E<n.length;E++){const T=n[E];if(m<=T.cc&&(s==="initSegment"||T.sn==="initSegment"||s<T.sn))return this.emeController.selectKeySystemFormat(T).then(U=>{if(T.setKeyFormat(U),this.emeController&&this.config.requireKeySystemAccessOnStart){const W=Zs(U);if(W)return this.emeController.getKeySystemAccess([W])}})}}else if(this.config.requireKeySystemAccessOnStart){const s=po(this.config);if(s.length)return this.emeController.getKeySystemAccess(s)}}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 E=t.decryptdata;if(!E){const N=new Error(n?`Expected frag.decryptdata to be defined after setting format ${n}`:"Missing decryption data on fragment in onKeyLoading");return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,N))}const T=E.uri;if(!T)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${T}"`)));let U=this.keyUriToKeyInfo[T];if((s=U)!=null&&s.decryptdata.key)return E.key=U.decryptdata.key,Promise.resolve({frag:t,keyInfo:U});if((m=U)!=null&&m.keyLoadPromise){var W;switch((W=U.mediaKeySessionContext)==null?void 0:W.keyStatus){case void 0:case"status-pending":case"usable":case"usable-in-future":return U.keyLoadPromise.then(N=>(E.key=N.keyInfo.decryptdata.key,{frag:t,keyInfo:U}))}}switch(U=this.keyUriToKeyInfo[T]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"ISO-23001-7":case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(U,t):this.loadKeyEME(U,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(U,t);default:return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Key supplied with unsupported METHOD: "${E.method}"`)))}}loadKeyEME(t,n){const s={frag:n,keyInfo:t};if(this.emeController&&this.config.emeEnabled){const m=this.emeController.loadKey(s);if(m)return(t.keyLoadPromise=m.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,m=s.loader,E=new m(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((T,U)=>{const W={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},N=s.keyLoadPolicy.default,te={loadPolicy:N,timeout:N.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},ce={onSuccess:(be,Pe,Se,at)=>{const{frag:rt,keyInfo:Mt,url:fr}=Se;if(!rt.decryptdata||Mt!==this.keyUriToKeyInfo[fr])return U(this.createKeyLoadError(rt,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),at));Mt.decryptdata.key=rt.decryptdata.key=new Uint8Array(be.data),rt.keyLoader=null,Mt.loader=null,T({frag:rt,keyInfo:Mt})},onError:(be,Pe,Se,at)=>{this.resetLoader(Pe),U(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${be.code} loading key ${be.text}`),Se,b({url:W.url,data:void 0},be)))},onTimeout:(be,Pe,Se)=>{this.resetLoader(Pe),U(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Se))},onAbort:(be,Pe,Se)=>{this.resetLoader(Pe),U(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Se))}};E.load(W,te,ce)})}resetLoader(t){const{frag:n,keyInfo:s,url:m}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null),delete this.keyUriToKeyInfo[m],E&&E.destroy()}}function ke(P){const{type:t}=P;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ot(P,t){let n=P.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class Zt{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,E=s||m,T=new E(n);return this.loaders[t.type]=T,T}getInternalLoader(t){return this.loaders[t.type]}resetInternalLoader(t){this.loaders[t]&&delete this.loaders[t]}destroyInternalLoaders(){for(const t in this.loaders){const n=this.loaders[t];n&&n.destroy(),this.resetInternalLoader(t)}}destroy(){this.variableList=null,this.unregisterListeners(),this.destroyInternalLoaders()}onManifestLoading(t,n){const{url: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:E,url:T,deliveryDirectives:U,levelInfo:W}=n;this.load({id:s,level:m,pathwayId:E,responseType:"text",type:h.LEVEL,url:T,deliveryDirectives:U,levelOrTrack:W})}onAudioTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:U}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:T,levelOrTrack:U})}onSubtitleTrackLoading(t,n){const{id:s,groupId:m,url:E,deliveryDirectives:T,track:U}=n;this.load({id:s,groupId:m,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:T,levelOrTrack:U})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const m=s.context;m&&!n.levels.some(E=>E===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 N=this.hls.logger,te=m.context;if(te&&te.levelOrTrack===t.levelOrTrack&&(te.url===t.url||te.deliveryDirectives&&!t.deliveryDirectives)){te.url===t.url?N.log(`[playlist-loader]: ignore ${t.url} ongoing request`):N.log(`[playlist-loader]: ignore ${t.url} in favor of ${te.url}`);return}N.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),m.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),m=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let N;if(t.type===h.LEVEL&&t.level!==null?N=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?N=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(N=this.hls.subtitleTracks[t.id].details),N){const te=N.partTarget,ce=N.targetduration;if(te&&ce){const be=Math.max(te*3,ce*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(be,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(be,E.maxTimeToFirstByteMs)})}}}const T=E.errorRetry||E.timeoutRetry||{},U={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:T.maxNumRetry||0,retryDelay:T.retryDelayMs||0,maxRetryDelay:T.maxRetryDelayMs||0},W={onSuccess:(N,te,ce,be)=>{const Pe=this.getInternalLoader(ce);this.resetInternalLoader(ce.type);const Se=N.data;if(Se.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(N,ce,new Error("no EXTM3U delimiter"),be||null,te);return}te.parsing.start=performance.now(),So.isMediaPlaylist(Se)||ce.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(N,te,ce,be||null,Pe):this.handleMasterPlaylist(N,te,ce,be)},onError:(N,te,ce,be)=>{this.handleNetworkError(te,ce,!1,N,be)},onTimeout:(N,te,ce)=>{this.handleNetworkError(te,ce,!0,void 0,N)}};m.load(t,U,W)}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 E=this.hls,T=t.data,U=ot(t,s),W=So.parseMasterPlaylist(T,U);if(W.playlistParsingError){this.handleManifestParsingError(t,s,W.playlistParsingError,m,n);return}const{contentSteering:N,levels:te,sessionData:ce,sessionKeys:be,startTimeOffset:Pe,variableList:Se}=W;this.variableList=Se;const{AUDIO:at=[],SUBTITLES:rt,"CLOSED-CAPTIONS":Mt}=So.parseMasterPlaylistMedia(T,U,W);at.length&&!at.some(or=>!or.url)&&te[0].audioCodec&&!te[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),at.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new Fi({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:te,audioTracks:at,subtitles:rt,captions:Mt,contentSteering:N,url:U,stats:n,networkDetails:m,sessionData:ce,sessionKeys:be,startTimeOffset:Pe,variableList:Se})}handleTrackOrLevelPlaylist(t,n,s,m,E){const T=this.hls,{id:U,level:W,type:N}=s,te=ot(t,s),ce=r(W)?W:r(U)?U:0,be=ke(s),Pe=So.parseLevelPlaylist(t.data,te,ce,be,0,this.variableList);if(N===h.MANIFEST){const Se={attrs:new Fi({}),bitrate:0,details:Pe,name:"",url:te};Pe.requestScheduled=n.loading.start+Rn(Pe,0),T.trigger(o.MANIFEST_LOADED,{levels:[Se],audioTracks:[],url:te,stats:n,networkDetails:m,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Pe,this.handlePlaylistLoaded(Pe,t,n,s,m,E)}handleManifestParsingError(t,n,s,m,E){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:E})}handleNetworkError(t,n,s=!1,m,E){let T=`A network ${s?"timeout":"error"+(m?" (status "+m.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?T+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(T+=` id: ${t.id} group-id: "${t.groupId}"`);const U=new Error(T);this.hls.logger.warn(`[playlist-loader]: ${T}`);let W=f.UNKNOWN,N=!1;const te=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:W=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,N=!0;break;case h.LEVEL:W=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,N=!1;break;case h.AUDIO_TRACK:W=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,N=!1;break;case h.SUBTITLE_TRACK:W=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,N=!1;break}te&&this.resetInternalLoader(t.type);const ce={type:c.NETWORK_ERROR,details:W,fatal:N,url:t.url,loader:te,context:t,error:U,networkDetails:n,stats:E};if(m){const be=(n==null?void 0:n.url)||t.url;ce.response=b({url:be,data:void 0},m)}this.hls.trigger(o.ERROR,ce)}handlePlaylistLoaded(t,n,s,m,E,T){const U=this.hls,{type:W,level:N,id:te,groupId:ce,deliveryDirectives:be}=m,Pe=ot(n,m),Se=ke(m),at=typeof m.level=="number"&&Se===u.MAIN?N:void 0;if(!t.fragments.length){const Mt=t.playlistParsingError=new Error("No Segments found in Playlist");U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Pe,error:Mt,reason:Mt.message,response:n,context:m,level:at,parent:Se,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const rt=t.playlistParsingError;if(rt){if(this.hls.logger.warn(rt),!U.config.ignorePlaylistParsingErrors){U.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Pe,error:rt,reason:rt.message,response:n,context:m,level:at,parent:Se,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&T&&(T.getCacheAge&&(t.ageHeader=T.getCacheAge()||0),(!T.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),W){case h.MANIFEST:case h.LEVEL:U.trigger(o.LEVEL_LOADED,{details:t,levelInfo:m.levelOrTrack||U.levels[0],level:at||0,id:te||0,stats:s,networkDetails:E,deliveryDirectives:be,withoutMultiVariant:W===h.MANIFEST});break;case h.AUDIO_TRACK:U.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:te||0,groupId:ce||"",stats:s,networkDetails:E,deliveryDirectives:be});break;case h.SUBTITLE_TRACK:U.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:m.levelOrTrack,id:te||0,groupId:ce||"",stats:s,networkDetails:E,deliveryDirectives:be});break}}}class ar{static get version(){return Va}static isMSESupported(){return $f()}static isSupported(){return Tf()}static getMediaSource(){return ae()}static get Events(){return o}static get MetadataSchema(){return ts}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return ar.defaultConfig?ar.defaultConfig:rf}static set DefaultConfig(t){ar.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 va,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=V(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=fl(ar.DefaultConfig,t,n);this.userConfig=t,s.progressive&&Yo(s,n);const{abrController:m,bufferController:E,capLevelController:T,errorController:U,fpsController:W}=s,N=new U(this),te=this.abrController=new m(this),ce=new Rr(this),be=s.interstitialsController,Pe=be?this.interstitialsController=new be(this,ar):null,Se=this.bufferController=new E(this,ce),at=this.capLevelController=new T(this),rt=new W(this),Mt=new Zt(this),fr=s.contentSteeringController,or=fr?new fr(this):null,Or=this.levelController=new Bf(this,or),Ur=new Hf(this),un=new ve(this.config),Hr=this.streamController=new z(this,ce,un),en=this.gapController=new mf(this,ce);at.setStreamController(Hr),rt.setStreamController(Hr);const on=[Mt,Or,Hr];Pe&&on.splice(1,0,Pe),or&&on.splice(1,0,or),this.networkControllers=on;const Kr=[te,Se,en,at,rt,Ur,ce];this.audioTrackController=this.createController(s.audioTrackController,on);const jn=s.audioStreamController;jn&&on.push(this.audioStreamController=new jn(this,ce,un)),this.subtitleTrackController=this.createController(s.subtitleTrackController,on);const di=s.subtitleStreamController;di&&on.push(this.subtititleStreamController=new di(this,ce,un)),this.createController(s.timelineController,Kr),un.emeController=this.emeController=this.createController(s.emeController,Kr),this.cmcdController=this.createController(s.cmcdController,Kr),this.latencyController=this.createController(Cf,Kr),this.coreComponents=Kr,on.push(N);const sa=N.onErrorOut;typeof sa=="function"&&this.on(o.ERROR,sa,N),this.on(o.MANIFEST_LOADED,Mt.onManifestLoaded,Mt)}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 E=new Error(`attachMedia failed: invalid argument (${t})`);this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.ATTACH_MEDIA_ERROR,fatal:!0,error:E});return}this.logger.log("attachMedia"),this._media&&(this.logger.warn("media must be detached before attaching"),this.detachMedia());const n="media"in t,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=le.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=Zo()),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){$t(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 E=m;E--;){const T=t[E].attrs["HDCP-LEVEL"];if(T&&T<=s)return E}return m}get firstAutoLevel(){return this.abrController.firstAutoLevel}get nextAutoLevel(){return this.abrController.nextAutoLevel}set nextAutoLevel(t){this.abrController.nextAutoLevel=t}get playingDate(){return this.streamController.currentProgramDateTime}get mainForwardBufferInfo(){return this.streamController.getMainFwdBufferInfo()}get maxBufferLength(){return this.streamController.maxBufferLength}setAudioOption(t){var n;return((n=this.audioTrackController)==null?void 0:n.setAudioOption(t))||null}setSubtitleOption(t){var n;return((n=this.subtitleTrackController)==null?void 0:n.setSubtitleOption(t))||null}get allAudioTracks(){const t=this.audioTrackController;return t?t.allAudioTracks:[]}get audioTracks(){const t=this.audioTrackController;return t?t.audioTracks:[]}get audioTrack(){const t=this.audioTrackController;return t?t.audioTrack:-1}set audioTrack(t){const n=this.audioTrackController;n&&(n.audioTrack=t)}get allSubtitleTracks(){const t=this.subtitleTrackController;return t?t.allSubtitleTracks:[]}get subtitleTracks(){const t=this.subtitleTrackController;return t?t.subtitleTracks:[]}get subtitleTrack(){const t=this.subtitleTrackController;return t?t.subtitleTrack:-1}get media(){return this._media}set subtitleTrack(t){const n=this.subtitleTrackController;n&&(n.subtitleTrack=t)}get subtitleDisplay(){const t=this.subtitleTrackController;return t?t.subtitleDisplay:!1}set subtitleDisplay(t){const n=this.subtitleTrackController;n&&(n.subtitleDisplay=t)}get lowLatencyMode(){return this.config.lowLatencyMode}set lowLatencyMode(t){this.config.lowLatencyMode=t}get liveSyncPosition(){return this.latencyController.liveSyncPosition}get latency(){return this.latencyController.latency}get maxLatency(){return this.latencyController.maxLatency}get targetLatency(){return this.latencyController.targetLatency}set targetLatency(t){this.latencyController.targetLatency=t}get drift(){return this.latencyController.drift}get forceStartLoad(){return this.streamController.forceStartLoad}get pathways(){return this.levelController.pathways}get pathwayPriority(){return this.levelController.pathwayPriority}set pathwayPriority(t){this.levelController.pathwayPriority=t}get bufferedToEnd(){var t;return!!((t=this.bufferController)!=null&&t.bufferedToEnd)}get interstitialsManager(){var t;return((t=this.interstitialsController)==null?void 0:t.interstitialsManager)||null}getMediaDecodingInfo(t,n=this.allAudioTracks){const s=mi(n);return mt(t,s,navigator.mediaCapabilities)}}ar.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(D){var M=D||{},B=M.upcomingOnly,j=B===void 0?!1:B;k(),b=!j}function A(){for(var D=arguments.length,M=new Array(D),B=0;B<D;B++)M[B]=arguments[B];var j=this,Y=Date.now()-S;if(b)return;function V(){S=Date.now(),c.apply(j,M)}function G(){_=void 0}!x&&y&&!_&&V(),k(),y===void 0&&Y>l?x?(S=Date.now(),u||(_=setTimeout(y?G:V,l))):V():u!==!0&&(_=setTimeout(y?G:V,y===void 0?l-Y: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",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",570:"p__Home__Detail__OnlineNum__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",672:"p__Home__Detail__ShixunContext__Detail__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1660:"p__User__QQLogin__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1799:"p__Competitions__Entered__Assembly__TeamDateil",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2300:"p__Api__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4058:"p__Demo__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4565:"p__HttpStatus__500",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5902:"p__Classrooms__Lists__Exercise__Sumup__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6034:"p__HttpStatus__UserAgents",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6531:"p__HttpStatus__404",6541:"p__Shixuns__Detail__Dataset__index",6573:"p__VSCourse__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",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8340:"p__Classrooms__Lists__Attendance__Webview__Student__index",8365:"p__Home__Detail__ShixunContext__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8639:"p__Forums__Index__redirect",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"e69b28bf",33:"44060dc0",67:"f89b9f1e",109:"42b54f99",169:"d96447db",195:"b4ee6371",264:"dc916851",265:"0e2afa1a",292:"064d97ac",310:"50c31b61",316:"1f60ada6",337:"af581288",342:"01c182ae",354:"d4d139cf",391:"5e6c8131",425:"7055c54b",479:"be0007de",485:"f7b5567d",508:"48493c85",532:"c1fbc7b6",533:"405bf9b0",547:"24bbee7d",556:"1854c793",559:"00431d9b",570:"eacca2ec",576:"b17caf43",599:"ed444d24",629:"44a1d9a5",643:"08b191d2",671:"4a609b8d",672:"abb32848",680:"bef5848a",700:"cfbe4d80",737:"357479e0",741:"ac5fd360",799:"398cf07c",869:"7ccdfb9d",895:"1b653b20",921:"f793a5d6",928:"3beb70a2",981:"24da50c7",1006:"eb6390c1",1043:"854b1252",1045:"1e70b6af",1048:"3cf05be7",1070:"f257880f",1144:"c90eccaf",1148:"c3f24e98",1154:"8cb80842",1211:"ae1a84ea",1253:"58e9c535",1257:"f3e4477f",1265:"caea856e",1274:"5f6ea65a",1276:"5a16a6b9",1343:"e2e13aa8",1416:"0ec10343",1423:"1abf9902",1427:"cc7cf14e",1450:"c7c58e3b",1461:"9d4eb505",1462:"fcf08abc",1470:"0a231e88",1475:"dd5fa7dc",1482:"15e6fd08",1512:"481eda40",1520:"f9048efe",1545:"c9fb6de0",1578:"076174ba",1581:"4f84cf78",1582:"3fa838b1",1646:"e6e27b60",1657:"510f2603",1660:"a914fab0",1674:"a2c0b869",1702:"c02c44d7",1713:"ca22224b",1717:"94114cde",1727:"83e0a21b",1783:"5b830e89",1799:"9e962558",1831:"ec1edfb8",1836:"2e42f320",1855:"a387e74d",1880:"a40fc683",1939:"fff47a15",1953:"aa836f1b",1962:"bfcdae9b",2011:"59d51f98",2045:"75ebd9ba",2076:"2b0cd790",2102:"2fe6680d",2141:"f3b51482",2216:"b75d2d06",2240:"2def296c",2249:"f4830452",2254:"ee1962e8",2300:"f7b34b30",2303:"2464d146",2307:"00c2a4a4",2338:"08ff5944",2339:"d7fcb992",2364:"f89faf70",2386:"192e235c",2396:"781aa4bc",2404:"001097da",2412:"e9215531",2425:"33c9399c",2443:"08819e89",2476:"9ac20241",2494:"68080a87",2501:"e0a8a565",2529:"249b73cb",2538:"de4a3723",2539:"e92541ab",2548:"aa53f43d",2570:"f4a44834",2594:"e87d3761",2603:"85e48726",2659:"32035c05",2707:"72596bc8",2806:"10a117e1",2819:"eab8b9d0",2823:"7dbf3825",2826:"f1914eb4",2829:"78026876",2837:"54a82605",2865:"6125e70a",2875:"2ccc0441",2884:"abda3a76",2969:"ab3357d7",2983:"898f231b",3006:"c4f4299c",3133:"9bf3f89c",3141:"344ac888",3157:"61269c7d",3183:"dceac9d0",3198:"8e655451",3212:"6a4e03c5",3220:"8aead32e",3247:"95b3d7c1",3260:"e682b9bd",3276:"bfb2709e",3282:"65821b89",3317:"4e335d81",3332:"c370fe26",3355:"b9dd3914",3356:"d2a0d2e4",3391:"822d9714",3433:"b130c185",3442:"dc2d77c3",3447:"114e4c34",3451:"4918b15f",3496:"c6fee22f",3509:"fa583eb5",3550:"3dc83156",3581:"405bbe21",3585:"9566db4d",3665:"4ed6a84d",3668:"b45a657c",3697:"481a10d9",3747:"7d2934b0",3754:"c00d1909",3777:"d5b0f2f1",3784:"e315c598",3805:"9dbcb95e",3862:"43117f72",3873:"103e3c7a",3885:"f87f7f15",3910:"a3b97753",3935:"74d0c027",3951:"e12c5f82",3987:"5cecd51b",4014:"27a8e97c",4017:"55e12afd",4030:"06b81de0",4056:"f009f7dc",4058:"82246f46",4078:"9ed12237",4088:"236723f3",4093:"f0d2f838",4105:"6b23263a",4142:"5a70ab94",4144:"f3b484d8",4164:"8bf21573",4216:"1920b017",4217:"8986d9d4",4227:"15f56bd8",4259:"2b33253d",4264:"9b5cde7e",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"64fddfc3",4492:"fda981c9",4496:"866d80ea",4498:"fc6a5d81",4504:"2bef28ef",4514:"37fb9cb3",4520:"fdf68850",4546:"9979c4ea",4565:"ae294bdd",4572:"e8976df3",4599:"61def4cb",4601:"addc89a3",4610:"ac6a9291",4621:"d8e356ba",4628:"ece2c60c",4662:"2dcca392",4685:"c33f1528",4715:"20dd66b3",4736:"41a17a1f",4741:"71232969",4757:"f22496c0",4766:"851589b4",4770:"dff668fd",4790:"619413e4",4795:"f217b3dc",4797:"a24e92db",4800:"dc443e29",4849:"cff2df61",4850:"1edda4b7",4862:"119033b2",4884:"07a13851",4889:"bfb4b547",4928:"43b85a26",4973:"8e91fb46",4994:"880556d1",5022:"78b5deac",5043:"0a8a14b5",5048:"ec3f42fd",5060:"85dafcc6",5096:"51207efe",5111:"8843ac55",5125:"e1bfc7c0",5148:"abd1b0bb",5176:"8acdee46",5179:"2a6b0851",5186:"c9123e1d",5191:"7b1bce7a",5238:"dd23f074",5265:"4674305d",5290:"5dabcdc2",5297:"3044a2e1",5319:"60523ac1",5321:"1163c84e",5335:"1b6d9bba",5354:"7ae70604",5357:"5191dc5e",5359:"f4695da1",5382:"f5f184b3",5402:"271dfa21",5416:"454536b7",5434:"38b302a6",5470:"b39f11c8",5494:"d89549c4",5518:"a2a43d3e",5549:"fd9949bd",5572:"58d6df49",5573:"9a916ea2",5599:"0fae502c",5624:"b7cced96",5631:"e00d3d36",5650:"931e21ad",5679:"4a090bef",5705:"956a5d8e",5729:"404df893",5764:"e0d7e586",5775:"3c5b3945",5786:"a972d493",5798:"8115a862",5816:"b6f9ae3e",5825:"fe57f919",5876:"5eded409",5888:"b2f9e6cc",5891:"cb9b3f8e",5895:"6126c7f8",5902:"c669e75f",5915:"9bdbd5d4",5972:"64993ef9",5992:"c8481273",6029:"652de0ba",6034:"ae720437",6045:"d268f87f",6047:"3ce45acd",6052:"a4d11235",6063:"6d1aef3b",6069:"4a6234fb",6126:"99519171",6127:"61ebb201",6170:"c4b92aae",6265:"9f171c30",6270:"b298f34e",6277:"1fbb2be1",6328:"43328851",6366:"4114480b",6378:"7f3a946a",6411:"3b971528",6434:"76345a7b",6444:"3283373d",6452:"63e781ca",6531:"5b8bb018",6541:"865dbdb1",6573:"e8b1b749",6583:"180db2ba",6587:"f4f2413e",6634:"b07ab3e4",6651:"9e24df4a",6656:"2fabaf00",6685:"dc87c743",6729:"a73d05b9",6741:"53889cd7",6758:"943ac4e6",6774:"59d4d618",6784:"8d81c22a",6788:"52797864",6796:"f1852e64",6805:"b1042b68",6820:"cd17b315",6845:"fb75bbaa",6882:"edef5819",6883:"6cb80143",6904:"32b39fb4",6913:"f0ddf9ed",6963:"710c08d0",6982:"3a360dd2",7008:"b98b9208",7043:"3d7898ce",7045:"4b64df2d",7046:"f027cee7",7058:"3fd98bcf",7062:"71898158",7084:"46ccce72",7156:"e7466006",7178:"80066754",7182:"09e4c243",7224:"371c6dda",7242:"c5b1bc8d",7260:"9144f8d4",7331:"2e27a23b",7333:"43cfa956",7365:"1005464f",7395:"0bea2e96",7460:"1ab44e59",7477:"4bd6362b",7482:"3120816b",7527:"c9e6d0ab",7545:"eca5cc75",7560:"279f12b5",7589:"f339425d",7591:"c8233ce9",7614:"97f6c814",7622:"1fc12b33",7686:"4fcec9f9",7706:"c2a79e40",7806:"4fd403d5",7852:"10f3000e",7855:"8496c528",7857:"91ee9735",7878:"ff1d6dbd",7884:"4e91c64e",7890:"ca5e41c9",7922:"e03512f4",7948:"7cfb12e3",7963:"64ac60d4",7964:"29aed9a1",8014:"7b42bf26",8062:"cb99a22e",8072:"65ee4500",8077:"7dfcc777",8085:"1a201ba7",8089:"d536b13a",8143:"b3789484",8155:"3e92c42b",8161:"83c5fa9a",8237:"7a869a1c",8241:"1f3a8449",8302:"447ed68d",8307:"8652080e",8340:"35eeb8f5",8350:"07df8a75",8365:"679ecccf",8398:"2724df57",8431:"45355f2f",8435:"d92dc232",8447:"c34c6b3f",8517:"b5995b14",8561:"333e8ec9",8563:"ef31d751",8634:"9379bd89",8639:"ebbaf1d9",8665:"d277deb8",8688:"8b1bf765",8689:"f73e9279",8723:"bc885b51",8737:"ce7dad23",8776:"0ad26240",8782:"8d6c1abd",8787:"2a6220f8",8797:"ca78b0d8",8823:"a2126602",8827:"97b9142a",8842:"9f25a3e2",8866:"463a27f5",8882:"fae51d7e",8885:"ef3e8aff",8898:"d002bcd8",8909:"a36d3abc",8920:"7f82440c",8963:"790aecdd",8982:"a9501b64",8999:"8f775d6c",9076:"b772835c",9104:"bbcb2345",9133:"9714d0d8",9205:"9aeaae62",9215:"ecd5aa8d",9252:"0d791a59",9260:"cf5f8140",9332:"696c94b5",9360:"708ac614",9366:"4447376a",9391:"d9b59972",9404:"9fcc3d3e",9408:"14df6d58",9416:"bbb2e0b7",9487:"4d567133",9489:"5fd6da22",9507:"0b0f4218",9519:"f83c1504",9554:"ed358e7b",9559:"f794af19",9590:"e61309a5",9596:"ed8f1fc2",9647:"993f8f78",9649:"1a4189af",9674:"57870c71",9677:"88667945",9695:"6765914b",9715:"4366300c",9716:"08598cab",9785:"176dc5e2",9788:"f170f317",9890:"4fc3c43a",9891:"9ed12111",9895:"b8e31ff2",9921:"883b2807",9922:"983263e4",9928:"5989f5e0",9944:"9fa44947",9950:"74f6dfb2",9968:"17466785"}[d]+".async.js"}}(),function(){__webpack_require__.miniCssF=function(d){return""+({26:"p__Classrooms__Lists__Graduation__Tasks__Edit__index",67:"p__Message__index",109:"p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index",195:"p__Classrooms__Lists__GroupHomework__Detail__index",264:"p__User__Detail__Order__pages__orderPay__index",265:"p__User__Detail__Topics__index",292:"p__Classrooms__Lists__Exercise__Add__index",310:"p__User__Detail__ExperImentImg__Detail__index",337:"p__Paperlibrary__Random__PreviewEdit__index",342:"p__Classrooms__Lists__ShixunHomeworks__Comment__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",532:"p__ExcellentCourse__index",533:"p__Classrooms__Lists__Video__Statistics__Detail__index",547:"p__Account__index",556:"p__User__Detail__Order__pages__invoice__index",559:"layouts__virtualDetail__index",576:"p__Account__Profile__Edit__index",643:"p__Classrooms__Lists__Polls__QuestionnaireInfo__index",680:"p__Innovation__index",700:"p__tasks__Jupyter__index",737:"p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index",799:"p__User__Detail__Topics__Poll__Detail__index",869:"p__Guidance__index",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",921:"p__Classrooms__Lists__Exercise__CodeDetails__index",928:"p__RestFul__Edit__index",1006:"p__RestFul__index",1043:"p__Classrooms__Lists__Graduation__Tasks__index",1045:"p__virtualSpaces__Lists__Knowledge__AddAndEdit__index",1048:"p__Classrooms__Lists__ProgramHomework__Detail__Ranking__index",1070:"p__Innovation__PublicMirror__index",1148:"p__Shixuns__Detail__Repository__UploadFile__index",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1265:"p__Classrooms__Lists__Announcement__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__index",1416:"p__User__Detail__AccountInfo__CareerCertification__index",1423:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeAnswer__index",1427:"p__Classrooms__Lists__Statistics__index",1450:"p__Classrooms__Lists__ShixunHomeworks__Commitsummary__index",1461:"p__Graduations__Lists__Topics__index",1470:"p__User__Register__index",1475:"p__Shixuns__Detail__Dataset__JupyterData__index",1482:"p__Classrooms__Lists__Graduation__Topics__Edit__index",1512:"p__Classrooms__Lists__Exercise__AnswerCheck__index",1520:"p__Engineering__Lists__StudentList__index",1545:"p__Paperlibrary__Random__ExchangeFromProblemSet__index",1578:"p__Classrooms__Lists__Graduation__Topics__Detail__index",1581:"p__Problemset__Preview__index",1582:"p__Classrooms__Lists__GroupHomework__Add__index",1657:"p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index",1674:"p__Classrooms__ClassicCases__index",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1783:"p__virtualSpaces__Lists__Experiment__index",1831:"p__Graduations__Index__index",1836:"p__Classrooms__Lists__Attendance__Webview__Teacher__index",1855:"p__MoopCases__InfoPanel__index",1880:"p__User__Detail__Order__pages__apply__index",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",2045:"p__Engineering__Lists__TeacherList__index",2076:"p__User__Detail__Competitions__index",2102:"p__Classrooms__Lists__Board__Edit__index",2141:"p__Shixuns__Detail__Split__index",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2254:"p__Shixuns__Detail__Discuss__index",2303:"p__Classrooms__Lists__CommonHomework__Comment__index",2307:"p__Report__index",2338:"p__Classrooms__Lists__CommonHomework__Review__index",2339:"p__virtualSpaces__Lists__Plan__Detail__index",2396:"p__User__Detail__ResourcesCenter__index",2404:"p__Classrooms__Lists__Template__teacher__index",2412:"p__User__Detail__Videos__index",2425:"p__Classrooms__Lists__Board__Detail__index",2443:"p__Graduations__Lists__StageModule__index",2476:"p__Colleges__index",2501:"p__Search__index",2529:"p__User__Detail__id",2539:"p__Graduations__Review__index",2548:"p__Engineering__Norm__Detail__index",2570:"p__Competitions__Detail__index",2603:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Add__index",2659:"p__User__Detail__UserPortrait__index",2707:"p__Innovation__MyDataSet__index",2806:"p__User__Detail__Topics__Exercise__Detail__index",2819:"p__Classrooms__Lists__Template__detail__index",2823:"p__Engineering__Navigation__Home__index",2826:"p__User__Detail__DataSet__index",2829:"p__Messages__Private__index",2865:"p__Innovation__MyMirror__index",2875:"p__Shixuns__Detail__id",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",2983:"p__Forums__Index__index",3006:"p__Engineering__index",3141:"p__Innovation__Detail__index",3157:"p__User__Detail__ExperImentImg__Add__index",3183:"p__Engineering__Lists__GraduationIndex__index",3212:"p__MoopCases__index",3220:"p__Classrooms__Lists__Video__Upload__index",3247:"p__Paperlibrary__See__index",3260:"p__Paperlibrary__Add__index",3276:"p__Classrooms__Lists__Statistics__UserportraitStatistics__index",3282:"layouts__ShixunDetail__index",3317:"p__Classrooms__Lists__Graduation__Topics__Add__index",3332:"p__Paths__Detail__id",3355:"p__Classrooms__Lists__Polls__index",3356:"p__Classrooms__Lists__Assistant__index",3391:"p__Classrooms__Lists__ProgramHomework__Detail__components__CodeReview__Detail__index",3433:"p__Classrooms__Lists__Exercise__Sumup__Edit__index",3442:"p__Classrooms__Lists__Board__Add__index",3447:"p__User__Detail__Order__pages__orderInformation__index",3451:"p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index",3496:"p__User__Detail__OtherResources__index",3509:"p__HttpStatus__SixActivities",3581:"p__Classrooms__Lists__ShixunHomeworks__Detail__index",3585:"p__Classrooms__Lists__Statistics__StudentSituation__index",3665:"p__tasks__index",3668:"p__Classrooms__Lists__CommonHomework__Detail__index",3747:"p__virtualSpaces__Lists__Homepage__index",3784:"p__Paperlibrary__Random__Detail__index",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3935:"p__Classrooms__Lists__GroupHomework__index",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4056:"p__IntrainCourse__index",4078:"p__Messages__Tidings__index",4093:"p__Classrooms__Lists__Attendance__Detail__index",4105:"p__Classrooms__Lists__Exercise__Answer__index",4144:"p__Problemset__Preview__New__index",4164:"p__Classrooms__Lists__Exercise__Detail__index",4216:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Edit__index",4217:"p__Classrooms__Lists__Video__Statistics__index",4227:"p__Paths__Overview__index",4259:"p__User__Detail__Order__pages__result__index",4264:"p__Forums__New__index",4449:"p__Competitions__Exports__index",4492:"p__Graduations__Lists__StudentSelection__index",4496:"p__HttpStatus__HpcCourse",4498:"p__Shixuns__Edit__body__Level__Challenges__NewPractice__index",4504:"p__virtualSpaces__Lists__Survey__index",4514:"p__Account__Results__index",4520:"p__Account__Secure__index",4546:"p__Engineering__Lists__TrainingProgram__Add__index",4572:"p__Classrooms__Lists__ExportList__index",4599:"p__Problemset__index",4601:"p__Paths__Detail__Statistics__index",4610:"p__User__Detail__LearningPath__index",4621:"p__Administration__Profession__index",4662:"p__Classrooms__Lists__GroupHomework__Review__index",4715:"p__virtualSpaces__Lists__Material__Detail__index",4736:"p__User__Detail__Projects__index",4741:"p__Problems__OjForm__NewEdit__index",4757:"p__virtualSpaces__Lists__Workplace__index",4766:"p__Administration__index",4770:"p__Classrooms__Lists__ProgramHomework__Detail__answer__index",4795:"p__Classrooms__Lists__Graduation__Tasks__Add__index",4800:"p__Engineering__Lists__GraduatedMatrix__index",4849:"p__User__Detail__ExperImentImg__index",4862:"p__Paperlibrary__index",4884:"p__Shixuns__Detail__Repository__Commit__index",4889:"p__Classrooms__Lists__Exercise__ImitateAnswer__index",4928:"p__Classrooms__Lists__LearningPath__index",4973:"p__Engineering__Evaluate__List__index",4994:"p__Problems__OjForm__index",5022:"p__Graduations__Lists__Settings__index",5043:"p__User__Detail__Topics__Poll__Edit__index",5048:"p__Classrooms__Lists__Graduation__Topics__index",5096:"p__Shixuns__Detail__AuditSituation__index",5111:"p__Terminal__index",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5176:"p__User__Detail__Videos__Protocol__index",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5191:"p__User__Detail__Certificate__index",5238:"p__virtualSpaces__Lists__Material__index",5297:"p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail__index",5319:"p__Classrooms__Lists__ProgramHomework__Detail__answer__Detail__index",5335:"p__Engineering__Lists__CourseMatrix__index",5357:"p__Engineering__Lists__TrainingProgram__Edit__index",5359:"p__Messages__Detail__index",5382:"p__DataSet__Detail__index",5402:"p__User__Detail__Topics__Detail__index",5470:"p__Shixuns__Detail__Collaborators__index",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5599:"p__User__Detail__Paths__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5816:"p__Paperlibrary__Random__Edit__index",5825:"p__Classrooms__Lists__Exercise__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5895:"p__User__Detail__AccountInfo__Profile__Edit__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6052:"p__Paths__Index__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6277:"p__Shixuns__Edit__index",6328:"p__Shixuns__Edit__body__Warehouse__index",6366:"p__Innovation__PublicProject__index",6434:"p__User__Detail__Order__pages__records__index",6444:"p__Video__Detail__id",6452:"p__Innovation__PublicDataSet__index",6541:"p__Shixuns__Detail__Dataset__index",6573:"p__VSCourse__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",7224:"p__StatsDashboard__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7460:"p__Question__OjProblem__index",7477:"p__virtualSpaces__Lists__Announcement__index",7482:"p__Classrooms__Lists__Exercise__Notice__index",7527:"p__MyProblem__RecordDetail__index",7545:"p__Graduations__Lists__Archives__index",7560:"p__Administration__College__index",7589:"p__virtualSpaces__Lists__DigitalTopics__index",7614:"p__Shixuns__Edit__body__Level__Challenges__RankingSetting__index",7622:"p__Classrooms__Lists__Polls__Detail__index",7806:"p__Classrooms__Lists__Statistics__StatisticsQuality__index",7852:"p__Classrooms__Lists__ShixunHomeworks__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7878:"p__Classrooms__Lists__LiveVideo__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",7948:"p__User__Detail__ClassManagement__index",8014:"p__Classrooms__Lists__Teachers__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8077:"p__Classrooms__Lists__Students__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8143:"layouts__GraduationsDetail__index",8155:"p__Shixuns__Overview__index",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8302:"p__Classrooms__Lists__Board__index",8307:"p__User__Detail__Shixuns__index",8398:"p__virtualSpaces__Lists__Resources__Detail__index",8431:"p__Classrooms__Lists__Exercise__Export__index",8435:"p__Classrooms__Lists__Attendance__index",8447:"p__virtualSpaces__Lists__Knowledge__index",8517:"p__User__Detail__Topics__Group__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8634:"p__Classrooms__Lists__CourseGroup__List__index",8665:"p__Engineering__Lists__TrainingObjectives__index",8688:"p__Shixuns__Detail__Repository__index",8689:"p__Classrooms__Lists__Statistics__VideoStatistics__index",8723:"p__Classrooms__Lists__Polls__Edit__index",8782:"p__Shixuns__Index__index",8787:"p__Competitions__Entered__index",8797:"p__Competitions__Edit__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8982:"p__Paths__New__index",8999:"p__Three__index",9076:"p__Account__Binding__index",9133:"p__Shixuns__Detail__Challenges__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9215:"p__Shixuns__Detail__ForkList__index",9332:"p__Classrooms__Lists__Video__index",9360:"p__User__Detail__virtualSpaces__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9519:"p__User__Detail__ClassManagement__Item__index",9590:"p__User__Detail__TeachGroup__index",9647:"p__Question__Index__index",9649:"p__Engineering__Lists__TrainingProgram__index",9674:"p__Shixuns__New__ImagePreview__index",9677:"p__virtualSpaces__Lists__Announcement__AddAndEdit__index",9695:"p__Classrooms__Lists__Polls__Add__index",9715:"p__Classrooms__Lists__CommonHomework__Edit__index",9716:"p__Question__OjProblem__RecordDetail__index",9785:"p__Classrooms__Lists__Template__student__index",9788:"p__Account__Profile__index",9890:"p__Classrooms__Lists__CommonHomework__index",9891:"p__User__Detail__Videos__Success__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"91ed81ab",67:"1ad7d0db",109:"1a7fc455",195:"65632591",264:"5fd9b3fc",265:"d92c6f86",292:"9a0e8f6b",310:"06815302",337:"ee05039e",342:"ab091f90",479:"bba9e475",485:"d63578fe",508:"82593858",532:"c829a014",533:"5fee20bc",547:"5581debc",556:"892f4292",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"1d9948a7",737:"98eb2f74",799:"b3487c4b",869:"6740e24b",895:"ad846737",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"0eeb3595",1048:"dafc3f4f",1070:"e67e9e01",1148:"754fff63",1211:"bdb8faab",1253:"46aca33c",1257:"156e8f74",1265:"d902bdae",1276:"bbc6eeec",1343:"b7f33c89",1416:"f1916094",1423:"5c4a76fc",1427:"f91322f7",1450:"1edcc2ed",1461:"917cbb16",1470:"183c9793",1475:"d22fbaa0",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"f8f5f64f",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1702:"fca45632",1713:"5ed278a4",1717:"c97da4d7",1727:"de83767d",1783:"47d0320e",1831:"8d05bf11",1836:"5f0d3f7f",1855:"b92cccb4",1880:"f67d7892",1939:"48e30d48",1953:"23cbc47f",1962:"84e145fa",2045:"dcfad42d",2076:"09b07fa0",2102:"ec61f9f0",2141:"5eb2f330",2216:"e3ba73cf",2240:"e7cce869",2254:"ccda836f",2303:"87592c17",2307:"b2c54321",2338:"dd6e8a16",2339:"d90c9bd2",2396:"e70f11d6",2404:"08d36549",2412:"6b6ca0ef",2425:"47b23ee4",2443:"78513f2d",2476:"cf85a190",2501:"2441982c",2529:"9d9944da",2539:"43d36117",2548:"75182034",2570:"3dbc6300",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"2c7248b3",2819:"9455b08a",2823:"a13b21fb",2826:"0b6be43b",2829:"a5909474",2865:"6ef3cf6b",2875:"d6c8355d",2884:"cc184a3f",2983:"c8c482f7",3006:"7fce4e74",3141:"3b6fa43b",3157:"2038b5dc",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"49ca09b2",3276:"7bbb651d",3282:"2dff97e8",3317:"137440b7",3332:"dab65052",3355:"39e3d07c",3356:"c6a4098f",3391:"f0e498fe",3433:"e6919a98",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3496:"44bf4044",3509:"70043ca5",3581:"7630d0f9",3585:"5f288e7b",3665:"5250d444",3668:"86f20630",3747:"e06419ae",3784:"c81d4a51",3873:"bbd9808d",3910:"658d457f",3935:"cd50aa32",3951:"4a9249b1",4030:"f308ee3a",4056:"10eacfff",4078:"aa54548e",4093:"c1f29d01",4105:"7f9d4513",4144:"f10aa199",4164:"0e623fec",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4449:"e68d8d58",4492:"cdc29460",4496:"77babddd",4498:"b05686dd",4504:"466a61af",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"014ca65e",4601:"3c8ac557",4610:"687005a6",4621:"ead619d7",4662:"4e7b8c12",4715:"45efe14a",4736:"2968553b",4741:"c8d03de5",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4849:"2a1dc219",4862:"e8eacc3e",4884:"bd293d3b",4889:"a91da64a",4928:"a4b1a237",4973:"129c56e8",4994:"50caae56",5022:"81b1b86b",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5125:"57501e4a",5148:"572faeac",5176:"9c49e7fa",5179:"21f01751",5186:"aeb0dc56",5191:"0af389b2",5238:"3d814a61",5297:"5426028f",5319:"34217c3f",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"0c911991",5402:"60617d0d",5470:"99d05b3d",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5599:"2ae54005",5624:"0208754c",5650:"f8f63f4b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5786:"37a81eaa",5798:"ce1cf7da",5816:"d749b200",5825:"73177a8c",5888:"193a7f8f",5891:"3b7a128f",5895:"9ddd624a",5915:"bc9c3e69",5972:"8708b27b",5992:"419f5d2f",6029:"2ded5a5a",6052:"59cb6398",6063:"a5f0409a",6069:"b4a6d2ab",6127:"f31505a8",6265:"9459eb93",6270:"5496b206",6277:"6dc4a8c7",6328:"de2b9d62",6366:"079fc2d8",6434:"0112f8db",6444:"fd46d237",6452:"50a6d310",6541:"d1c967cd",6573:"cc140d94",6583:"7d33505d",6587:"9c49e7fa",6634:"70d91184",6651:"b07fe216",6656:"03cdfb68",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:"881e1a9b",7178:"6e47d75d",7182:"183c9793",7224:"7caf9754",7242:"4f353f61",7260:"2c380d56",7395:"ff574c5d",7460:"dedd2038",7477:"832457fc",7482:"c37a3f01",7527:"a4765b7e",7545:"1f6a7624",7560:"d82e43ca",7589:"2a3e68f3",7614:"de9ee12f",7622:"ca0e645a",7806:"80b7b1d6",7852:"fce1e197",7855:"3970a709",7857:"13a29416",7878:"8dfa25f5",7884:"1ca6cde0",7922:"c1d9e2f3",7948:"bed733e5",8014:"9ef39203",8062:"8e384b9f",8072:"540f746b",8077:"0b2c51d9",8085:"2e8d934b",8143:"b6ca83ad",8155:"d345abd7",8237:"44654223",8241:"02a0cb2f",8302:"b4649ac5",8307:"02e15761",8398:"cf8eb735",8431:"60a111b6",8435:"21d4dff0",8447:"0875c082",8517:"cccfddad",8563:"3a763677",8634:"317d0a2b",8665:"c52575bc",8688:"c044db56",8689:"459af240",8723:"5166ac36",8782:"918afc23",8787:"121de108",8797:"13e5189e",8823:"9e7a9852",8827:"af0ed6a3",8866:"3e551bc1",8882:"f3e42f72",8885:"de905169",8982:"6e2e337e",8999:"448aa22f",9076:"6a501148",9133:"ab171f08",9205:"49a3e67d",9215:"f737e7e7",9332:"a627cf98",9360:"27c7d4f7",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9408:"d3565b1a",9416:"6ead6660",9487:"a73f5679",9489:"ee2bb5b7",9507:"396e34cd",9519:"88d248ee",9590:"29583579",9647:"452de157",9649:"00fb4211",9674:"d0f91ed7",9677:"26548cb7",9695:"bb84056a",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9890:"9ebce4ba",9891:"512a9301",9921:"e0db9101",9922:"33690872",9944:"1ba31055"}[d]+".chunk.css"}}(),function(){__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(d){if(typeof window=="object")return window}}()}(),function(){__webpack_require__.hmd=function(d){return d=Object.create(d),d.children||(d.children=[]),Object.defineProperty(d,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+d.id)}}),d}}(),function(){__webpack_require__.o=function(d,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,109:1,195:1,264:1,265:1,292:1,310:1,337:1,342:1,479:1,485:1,508:1,532:1,533:1,547:1,556:1,559:1,576:1,643:1,680:1,700:1,737:1,799:1,869:1,895:1,921:1,928:1,1006:1,1043:1,1045:1,1048:1,1070:1,1148:1,1211:1,1253:1,1257:1,1265:1,1276:1,1343:1,1416:1,1423:1,1427:1,1450:1,1461:1,1470:1,1475:1,1482:1,1512:1,1520:1,1545:1,1578:1,1581:1,1582:1,1657:1,1674:1,1702:1,1713:1,1717:1,1727:1,1783:1,1831:1,1836:1,1855:1,1880:1,1939:1,1953:1,1962:1,2045:1,2076:1,2102:1,2141:1,2216:1,2240:1,2254:1,2303:1,2307:1,2338:1,2339:1,2396:1,2404:1,2412:1,2425:1,2443:1,2476:1,2501:1,2529:1,2539:1,2548:1,2570:1,2603:1,2659:1,2707:1,2806:1,2819:1,2823:1,2826:1,2829:1,2865:1,2875:1,2884:1,2983:1,3006:1,3141:1,3157:1,3183:1,3212:1,3220:1,3247:1,3260:1,3276:1,3282:1,3317:1,3332:1,3355:1,3356:1,3391:1,3433:1,3442:1,3447:1,3451:1,3496:1,3509:1,3581:1,3585:1,3665:1,3668:1,3747:1,3784:1,3873:1,3910:1,3935:1,3951:1,4030:1,4056:1,4078:1,4093:1,4105:1,4144:1,4164:1,4216:1,4217:1,4227:1,4259:1,4264:1,4449:1,4492:1,4496:1,4498:1,4504:1,4514:1,4520:1,4546:1,4572:1,4599:1,4601:1,4610:1,4621:1,4662:1,4715:1,4736:1,4741:1,4757:1,4766:1,4770:1,4795:1,4800:1,4849:1,4862:1,4884:1,4889:1,4928:1,4973:1,4994:1,5022:1,5043:1,5048:1,5096:1,5111:1,5125:1,5148:1,5176:1,5179:1,5186:1,5191:1,5238:1,5297:1,5319:1,5335:1,5357:1,5359:1,5382:1,5402:1,5470:1,5518:1,5549:1,5572:1,5573:1,5599:1,5624:1,5650:1,5705:1,5729:1,5775:1,5786:1,5798:1,5816:1,5825:1,5888:1,5891:1,5895:1,5915:1,5972:1,5992:1,6029:1,6052:1,6063:1,6069:1,6127:1,6265:1,6270:1,6277:1,6328:1,6366:1,6434:1,6444:1,6452:1,6541:1,6573:1,6583:1,6587:1,6634:1,6651:1,6656:1,6685:1,6729:1,6741:1,6758:1,6784:1,6788:1,6796:1,6805:1,6820:1,6845:1,6882:1,6883:1,6904:1,6913:1,6963:1,6982:1,7008:1,7043:1,7045:1,7046:1,7058:1,7062:1,7178:1,7182:1,7224:1,7242:1,7260:1,7395:1,7460:1,7477:1,7482:1,7527:1,7545:1,7560:1,7589:1,7614:1,7622:1,7806:1,7852:1,7855:1,7857:1,7878:1,7884:1,7922:1,7948:1,8014:1,8062:1,8072:1,8077:1,8085:1,8143:1,8155:1,8237:1,8241:1,8302:1,8307:1,8398:1,8431:1,8435:1,8447:1,8517:1,8563:1,8634:1,8665:1,8688:1,8689:1,8723:1,8782:1,8787:1,8797:1,8823:1,8827:1,8866:1,8882:1,8885:1,8982:1,8999:1,9076:1,9133:1,9205:1,9215:1,9332:1,9360:1,9366:1,9391:1,9404:1,9408:1,9416:1,9487:1,9489:1,9507:1,9519:1,9590:1,9647:1,9649:1,9674:1,9677:1,9695:1,9715:1,9716:1,9785:1,9788:1,9890:1,9891:1,9921:1,9922:1,9944:1};r[i]?l.push(r[i]):r[i]!==0&&c[i]&&l.push(r[i]=e(i).then(function(){r[i]=0},function(f){throw delete r[i],f}))}}}(),function(){__webpack_require__.b=document.baseURI||self.location.href;var d={4620:0};__webpack_require__.f.j=function(r,i){var l=__webpack_require__.o(d,r)?d[r]:void 0;if(l!==0)if(l)i.push(l[2]);else if(/^(4599|6883|9404)$/.test(r))d[r]=0;else{var c=new Promise(function(u,a){l=d[r]=[u,a]});i.push(l[2]=c);var f=__webpack_require__.p+__webpack_require__.u(r),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),D=__webpack_require__(26425),M=__webpack_require__(32125),B=__webpack_require__(16137),j=__webpack_require__(48435),Y=__webpack_require__(11553),V=__webpack_require__(70365),G=__webpack_require__(33717),ae=__webpack_require__(17482),ie=__webpack_require__(23708),ue=__webpack_require__(65033),q=__webpack_require__(52732),J=__webpack_require__(99382),K=__webpack_require__(88437),oe=__webpack_require__(68440),ee=__webpack_require__(13412),Q=__webpack_require__(11005),le=__webpack_require__(70348),Z=__webpack_require__(19801),$=__webpack_require__(91550),se=__webpack_require__(85223),_e=__webpack_require__(7154),Ie=__webpack_require__(67788),De=__webpack_require__(96009),Ze=__webpack_require__(9402),Ne=__webpack_require__(62489),Lt=__webpack_require__(80881),bt=__webpack_require__(62837),kt=__webpack_require__(4705),jt=__webpack_require__(13941),Wt=__webpack_require__(1148),zt=__webpack_require__(82445),We=__webpack_require__(27267),St=__webpack_require__(96353),Ft=__webpack_require__(90308),tt=__webpack_require__(84818),_t=__webpack_require__(80585),dt=__webpack_require__(89170),qe=__webpack_require__(71012),Be=__webpack_require__(84203),Ee=__webpack_require__(22112),Re=__webpack_require__(81440),He=__webpack_require__(25430),ze=__webpack_require__(70105),Ye=__webpack_require__(71390),ht=__webpack_require__(96844),xt=__webpack_require__(83578),nr=__webpack_require__(69762),er=__webpack_require__(76880),Le=__webpack_require__(65009),Qe=__webpack_require__(28796),Qt=__webpack_require__(56450),Rt=__webpack_require__(78342),Vt=__webpack_require__(13161),Gt=__webpack_require__(54226),Tt=__webpack_require__(70201),qt=__webpack_require__(34941),Ue=__webpack_require__(85671),fe=__webpack_require__(35152),pe=__webpack_require__(85660),Ot=__webpack_require__(80031),Ce=__webpack_require__(34434),ct=__webpack_require__(83579),Kt=__webpack_require__(74307),At=__webpack_require__(97423),Te=__webpack_require__(93321),Et=__webpack_require__(82277),ye=__webpack_require__(61425),et=__webpack_require__(61873),yt=__webpack_require__(9307),Nt=__webpack_require__(8821),Fe=__webpack_require__(64385),Ir=__webpack_require__(64099),Ct=__webpack_require__(62455),Gr=__webpack_require__(79965),Qr=__webpack_require__(59118),Mr=__webpack_require__(275),Fr=__webpack_require__(31919),mr=__webpack_require__(51284),$r=__webpack_require__(10177),nn=__webpack_require__(85690),cn=__webpack_require__(92114),Xt=__webpack_require__(1017),mt=__webpack_require__(14480),ut=__webpack_require__(40516),ft=__webpack_require__(76345),$t=__webpack_require__(7282),yr=__webpack_require__(58055),gr=__webpack_require__(93547),it=__webpack_require__(31237),Tr=__webpack_require__(17954),fn=__webpack_require__(58580),Ln=__webpack_require__(47146),Vr=__webpack_require__(40416),Zn=__webpack_require__(7615),Hn=__webpack_require__(72820),Pn=__webpack_require__(86070),yn=__webpack_require__(23569),Vn=__webpack_require__(55639),oi=__webpack_require__(63046),mi=__webpack_require__(464),Di=__webpack_require__(51082),ji=__webpack_require__(83850),gi=__webpack_require__(41990),Ea=__webpack_require__(15787),ui=__webpack_require__(55888),Ji=__webpack_require__(53827),It=__webpack_require__(78143),gt=__webpack_require__(66419),Oi=__webpack_require__(75765),Xi=__webpack_require__(14645),vi=__webpack_require__(71122),ya=__webpack_require__(42084),yi=__webpack_require__(25070),qn=__webpack_require__(77140),Sn=__webpack_require__(15954),rr=__webpack_require__(4266),vt=__webpack_require__(49988),nt=__webpack_require__(38823),Dt=__webpack_require__(24627),pt=__webpack_require__(4045),cr=__webpack_require__(50747),dr=__webpack_require__(43595),Ar=__webpack_require__(92324),Zr=__webpack_require__(23551),$e=__webpack_require__(74521),Je=__webpack_require__(57891),xe=__webpack_require__(84138),st=__webpack_require__(51832),ir=__webpack_require__(37135),Rr=__webpack_require__(6474),Dr=__webpack_require__(40135),Pr=__webpack_require__(7982),jr=__webpack_require__(14893),pn=__webpack_require__(49233),Cr=__webpack_require__(92130),ln=__webpack_require__(42844),rn=__webpack_require__(6536),sn=__webpack_require__(27228),wn=__webpack_require__(62921),pa=__webpack_require__(44001),Ei=__webpack_require__(92262),hi=__webpack_require__(54744),mn=__webpack_require__(38214),ni=__webpack_require__(12756),Mi=__webpack_require__(93379),ca=__webpack_require__(62007),Ha=__webpack_require__(90572),Ta=__webpack_require__(37343),fs=__webpack_require__(45945),Es=__webpack_require__(75551),Wa=__webpack_require__(32493),pi=__webpack_require__(20852),ra=__webpack_require__(46302),os=__webpack_require__(18827),Ga=__webpack_require__(76718),Is=__webpack_require__(79172),Vi=__webpack_require__(32192),ms=__webpack_require__(42828),bo=__webpack_require__(5658),Fi=__webpack_require__(55629),vs=__webpack_require__(62925),Na=__webpack_require__(9595),Ys=__webpack_require__(58127),In=__webpack_require__(70917),$a=__webpack_require__(53427),cs=__webpack_require__(70878),ja=__webpack_require__(49257),Ui=__webpack_require__(72910),Ra=__webpack_require__(34932),Da=__webpack_require__(81046),ws=__webpack_require__(85744),Xs=__webpack_require__(13494),xo=__webpack_require__(56338),ho=__webpack_require__(66755),wa=__webpack_require__(68709),gs=__webpack_require__(4939),Zs=__webpack_require__(81927),no=__webpack_require__(60462),Eo=__webpack_require__(72571),wo=__webpack_require__(71200),po=__webpack_require__(85767),ci=__webpack_require__(84432),si=__webpack_require__(59022),Ua=__webpack_require__(19363),Qa=__webpack_require__(51054),qa=__webpack_require__(60330),Qs=__webpack_require__(55234),qs=__webpack_require__(88104),Qo=__webpack_require__(64336),ds=__webpack_require__(63914),Oo=__webpack_require__(35246),ko=__webpack_require__(83470),Ho=__webpack_require__(79641),Su=__webpack_require__(72397),So=__webpack_require__(24860),_o=__webpack_require__(19320),Js=__webpack_require__(56233),$u=__webpack_require__(59419),Ro=__webpack_require__(64344),Lo=__webpack_require__(5316),Hs=__webpack_require__(93744),du=__webpack_require__(19299),jo=__webpack_require__(15286),Ao=__webpack_require__(91927),Bs=__webpack_require__(27730),Rs=__webpack_require__(58707),hu=__webpack_require__(41356),Au=__webpack_require__(51606),tr=__webpack_require__(8966),hr=__webpack_require__(38458),ur=__webpack_require__(71957),vr=__webpack_require__(89466),wr=__webpack_require__(69653),vn=__webpack_require__(96519),xn=__webpack_require__(95576),Nn=__webpack_require__(63079),Rn=__webpack_require__(8995),Kn=__webpack_require__(23080),lr=__webpack_require__(74701),Br=__webpack_require__(91809),xr=__webpack_require__(77517),hn=__webpack_require__(30149),Wn=__webpack_require__(55410),lt=__webpack_require__(46161),Cn=__webpack_require__(14800),Yn=__webpack_require__(91130),ii=__webpack_require__(2722),Ki=__webpack_require__(55885),Nr=__webpack_require__(39034),Wr=__webpack_require__(8604),ma=__webpack_require__(64963),Ci=__webpack_require__(25178),na=__webpack_require__(1905),Ds=__webpack_require__(94306),ai=__webpack_require__(11762),Ws=__webpack_require__(93164),Uo=__webpack_require__(88900),Ls=__webpack_require__(54815),va=__webpack_require__(81138),Va=__webpack_require__(37252),ys=__webpack_require__(81673),Mn=__webpack_require__(48966),Ns=__webpack_require__(13015),$s=__webpack_require__(78527),Ke=__webpack_require__(20511),Xe=__webpack_require__(78366),Bt=__webpack_require__(27427),Yt=__webpack_require__(43890),pr=__webpack_require__(55844),Lr=__webpack_require__(71361),zr=__webpack_require__(44550),_n=__webpack_require__(413),tn=__webpack_require__(77464),gn=__webpack_require__(77703),Xn=__webpack_require__(93854),ei=__webpack_require__(962),bi=__webpack_require__(44169),wi=__webpack_require__(56272),zi=__webpack_require__(43466),Bi=__webpack_require__(48156),xi=__webpack_require__(93236),ga=__webpack_require__(42212),Ti=__webpack_require__(63923),fi=__webpack_require__(2278),oa=__webpack_require__(36955),eo=__webpack_require__(77326),Ss=__webpack_require__(53571),Yi=__webpack_require__(28670),La=__webpack_require__(31050),ea=__webpack_require__(25321),ki=__webpack_require__(96364),ba=__webpack_require__(46304),Ka=__webpack_require__(55163),Fa=__webpack_require__(78722),io=__webpack_require__(35977),Ja=__webpack_require__(81848),ao=__webpack_require__(52867),es=__webpack_require__(72211),js=__webpack_require__(84862),ts=__webpack_require__(92381),Zi=__webpack_require__(19517),Ba=__webpack_require__(69667),Os=__webpack_require__(80820),fa=__webpack_require__(87873),ge=__webpack_require__(54609),we=__webpack_require__(28566),Sr=__webpack_require__(51697),Jr=__webpack_require__(61872),br=__webpack_require__(76077),Xr=__webpack_require__(9196),En=__webpack_require__(5369),Jn=__webpack_require__(26259),Ri=__webpack_require__(47736),Dn=__webpack_require__(28220),On=__webpack_require__(62060),Fn=__webpack_require__(49350),ua=__webpack_require__(20126),Hi=__webpack_require__(18090),vo=__webpack_require__(14309),so=__webpack_require__(17822),ru=__webpack_require__(83543),hl=__webpack_require__(13853),Yu=__webpack_require__(25188),pu=__webpack_require__(10215),Tl=__webpack_require__(3432),_u=__webpack_require__(90486),Ve=__webpack_require__(6736),H=__webpack_require__(8774),X=__webpack_require__(94065),ne=__webpack_require__(93036),he=__webpack_require__(75708),Ae=__webpack_require__(84624),Ge=__webpack_require__(66233),Pt=__webpack_require__(43710),Ut=__webpack_require__(92762),sr=__webpack_require__(24467),Er=__webpack_require__(68465),Ht=__webpack_require__(77004),an=__webpack_require__(83925),bn=__webpack_require__(51117),$n=__webpack_require__(87236),Un=__webpack_require__(83733),Si=__webpack_require__(92044),da=__webpack_require__(29190),ia=__webpack_require__(10775),la=__webpack_require__(19593),us=__webpack_require__(26502),za=__webpack_require__(10174),hs=__webpack_require__(96378),rs=__webpack_require__(58216),xa=__webpack_require__(41401),Za=__webpack_require__(79908),ks=__webpack_require__(82531),_i=__webpack_require__(79890),oo=__webpack_require__(88472),Co=__webpack_require__(38944),Mo=__webpack_require__(78423),Ms=__webpack_require__(65713),go=__webpack_require__(22968),ps=__webpack_require__(17564),Xu=__webpack_require__(1220),ju=__webpack_require__(44886),Qu=__webpack_require__(57019),uu=__webpack_require__(35295),As=__webpack_require__(80286),Uu=__webpack_require__(38487),Cu=__webpack_require__(29916),yo=__webpack_require__(25541),pl=__webpack_require__(45612),_l=__webpack_require__(34926),qo=__webpack_require__(98080),ml=__webpack_require__(68255),Gs=__webpack_require__(96351),To=__webpack_require__(16450),mu=__webpack_require__(60244),Wl=__webpack_require__(86921),Tu=__webpack_require__(82928),lc=__webpack_require__(42947),Pl=__webpack_require__(71568),ri=__webpack_require__(94194),xc=__webpack_require__(30556),to=__webpack_require__(32100),Ec=__webpack_require__(93102),Jo=__webpack_require__(1821),Pu=__webpack_require__(82074),qu=__webpack_require__(13578),zo=__webpack_require__(59348),jc=__webpack_require__(62882),mo=__webpack_require__(37457),lf=__webpack_require__(70654),cf=__webpack_require__(90252),Uc=__webpack_require__(29482),Il=__webpack_require__(51630),vl=__webpack_require__(61933),Dl=__webpack_require__(619),Fo=__webpack_require__(99675),Ol=__webpack_require__(52548),Us=__webpack_require__(53637),Bo=__webpack_require__(57482),Fs=__webpack_require__(59725),Gl=__webpack_require__(17610),gl=__webpack_require__(56966),nu=__webpack_require__(11507),wc=__webpack_require__(16315),Sc=__webpack_require__(60239),iu=__webpack_require__(49381),kl=__webpack_require__(17230),vu=__webpack_require__(62720),cc=__webpack_require__(57151),Ju=__webpack_require__(48732),ka=__webpack_require__(18481),zc=__webpack_require__(55055),Zc=__webpack_require__(7195),zu=__webpack_require__(89179),Ac=__webpack_require__(90965),ff=__webpack_require__(67725),fc=__webpack_require__(59884),au=__webpack_require__(89202),Hc=__webpack_require__(97815),Vl=__webpack_require__(11593),yl=__webpack_require__(7597),Wc=__webpack_require__(55182),Kl=__webpack_require__(34366),Wo=__webpack_require__(85425),Iu=__webpack_require__(64522),dc=__webpack_require__(41599),Zu=__webpack_require__(86465),Cc=__webpack_require__(78437),Gc=__webpack_require__(73624),Yl=__webpack_require__(62059),uo=__webpack_require__(10305),Xl=__webpack_require__(41208),Tc=__webpack_require__(25204),Du=__webpack_require__(40061),Ou=__webpack_require__(47803),lo=__webpack_require__(7893),el=__webpack_require__(4890),df=__webpack_require__(5340),Pc=__webpack_require__(61650),Vc=__webpack_require__(58246),bl=__webpack_require__(65873),Po=__webpack_require__(63579),Rl=__webpack_require__(87296),je=__webpack_require__(59301),gu=__webpack_require__(4676),eu=__webpack_require__(35338),Ll=__webpack_require__(91231);function No(An){var Gn=An.id,Li=An.basename,Sa=An.cb,Wi=new URLSearchParams({route:Gn,url:window.location.href}).toString(),aa="".concat(Vs(window.umiServerLoaderPath||Li),"__serverLoader?").concat(Wi);fetch(aa,{credentials:"include"}).then(function(ha){return ha.json()}).then(Sa).catch(console.error)}function Vs(){var An=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return An.endsWith("/")?An:"".concat(An,"/")}var Go=__webpack_require__(38127),ku=__webpack_require__(38329),Io=__webpack_require__(8616),tl=["content"],yu=["content"],hc=/^(http:|https:)?\/\//;function Ru(An){return hc.test(An)||An.startsWith("/")&&!An.startsWith("/*")||An.startsWith("./")||An.startsWith("../")}var Vo=function(){return je.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},rl=function(Gn){var Li,Sa=Gn.loaderData,Wi=Gn.htmlPageOpts,aa=Gn.manifest,ha=(aa==null||(Li=aa.assets)===null||Li===void 0?void 0:Li["umi.css"])||"";return je.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Sa||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(Wi||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ha,"'")}})};function bu(An){var Gn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof An=="string")return Ru(An)?(0,Po.Z)({src:An},Gn):{content:An};if((0,Io.Z)(An)==="object")return(0,Po.Z)((0,Po.Z)({},An),Gn);throw new Error("Invalid script type: ".concat((0,Io.Z)(An)))}function Ic(An){return Ru(An)?{type:"link",href:An}:{type:"style",content:An}}var Kc=function(Gn){var Li,Sa,Wi,aa,ha,_s,Qi=Gn.htmlPageOpts;return je.createElement(je.Fragment,null,(Qi==null?void 0:Qi.title)&&je.createElement("title",null,Qi.title),Qi==null||(Li=Qi.favicons)===null||Li===void 0?void 0:Li.map(function(is,Wu){return je.createElement("link",{key:Wu,rel:"shortcut icon",href:is})}),(Qi==null?void 0:Qi.description)&&je.createElement("meta",{name:"description",content:Qi.description}),(Qi==null||(Sa=Qi.keywords)===null||Sa===void 0?void 0:Sa.length)&&je.createElement("meta",{name:"keywords",content:Qi.keywords.join(",")}),Qi==null||(Wi=Qi.metas)===null||Wi===void 0?void 0:Wi.map(function(is){return je.createElement("meta",{key:is.name,name:is.name,content:is.content})}),Qi==null||(aa=Qi.links)===null||aa===void 0?void 0:aa.map(function(is,Wu){return je.createElement("link",(0,ku.Z)({key:Wu},is))}),Qi==null||(ha=Qi.styles)===null||ha===void 0?void 0:ha.map(function(is,Wu){var Bu=Ic(is),Gu=Bu.type,ul=Bu.href,ll=Bu.content;if(Gu==="link")return je.createElement("link",{key:Wu,rel:"stylesheet",href:ul});if(Gu==="style")return je.createElement("style",{key:Wu},ll)}),Qi==null||(_s=Qi.headScripts)===null||_s===void 0?void 0:_s.map(function(is,Wu){var Bu=bu(is),Gu=Bu.content,ul=(0,Go.Z)(Bu,tl);return je.createElement("script",(0,ku.Z)({dangerouslySetInnerHTML:{__html:Gu},key:Wu},ul))}))};function Zo(An){var Gn,Li=An.children,Sa=An.loaderData,Wi=An.manifest,aa=An.htmlPageOpts,ha=An.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_s=An.mountElementId;if(ha!=null&&ha.pureHtml)return je.createElement("html",null,je.createElement("head",null),je.createElement("body",null,je.createElement(Vo,null),je.createElement("div",{id:_s},Li),je.createElement(rl,{manifest:Wi,loaderData:Sa,htmlPageOpts:aa})));if(ha!=null&&ha.pureApp)return je.createElement(je.Fragment,null,Li);var Qi=typeof window=="undefined"?Wi==null?void 0:Wi.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return je.createElement("html",{suppressHydrationWarning:!0,lang:(aa==null?void 0:aa.lang)||"en"},je.createElement("head",null,je.createElement("meta",{charSet:"utf-8"}),je.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),Qi&&je.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:Qi}),je.createElement(Kc,{htmlPageOpts:aa})),je.createElement("body",null,je.createElement(Vo,null),je.createElement("div",{id:_s},Li),je.createElement(rl,{manifest:Wi,loaderData:Sa,htmlPageOpts:aa}),aa==null||(Gn=aa.scripts)===null||Gn===void 0?void 0:Gn.map(function(is,Wu){var Bu=bu(is),Gu=Bu.content,ul=(0,Go.Z)(Bu,yu);return je.createElement("script",(0,ku.Z)({dangerouslySetInnerHTML:{__html:Gu},key:Wu},ul))})))}var xu=je.createContext(void 0);function nl(){return je.useContext(xu)}var il=["redirect"];function Ql(An){var Gn=An.routesById,Li=An.parentId,Sa=An.routeComponents,Wi=An.useStream,aa=Wi===void 0?!0:Wi;return Object.keys(Gn).filter(function(ha){return Gn[ha].parentId===Li}).map(function(ha){var _s=xl((0,Po.Z)((0,Po.Z)({route:Gn[ha],routeComponent:Sa[ha],loadingComponent:An.loadingComponent,reactRouter5Compat:An.reactRouter5Compat},An.reactRouter5Compat&&{hasChildren:Object.keys(Gn).filter(function(is){return Gn[is].parentId===ha}).length>0}),{},{useStream:aa})),Qi=Ql({routesById:Gn,routeComponents:Sa,parentId:_s.id,loadingComponent:An.loadingComponent,reactRouter5Compat:An.reactRouter5Compat,useStream:aa});return Qi.length>0&&(_s.children=Qi,_s.routes=Qi),_s})}function ql(An){var Gn=(0,eu.UO)(),Li=(0,eu.Gn)(An.to,Gn),Sa=(0,Ll.T$)(),Wi=(0,eu.TH)();if(Sa!=null&&Sa.keepQuery){var aa=Wi.search+Wi.hash;Li+=aa}var ha=(0,Po.Z)((0,Po.Z)({},An),{},{to:Li});return je.createElement(eu.Fg,(0,ku.Z)({replace:!0},ha))}function xl(An){var Gn=An.route,Li=An.useStream,Sa=Li===void 0?!0:Li,Wi=Gn.redirect,aa=(0,Go.Z)(Gn,il),ha=An.reactRouter5Compat?Ml:Jl;return(0,Po.Z)({element:Wi?je.createElement(ql,{to:Wi}):je.createElement(xu.Provider,{value:{route:An.route}},je.createElement(ha,{loader:je.memo(An.routeComponent),loadingComponent:An.loadingComponent||Yc,hasChildren:An.hasChildren,useStream:Sa}))},aa)}function Yc(){return je.createElement("div",null)}function Ml(An){var Gn=nl(),Li=Gn.route,Sa=(0,Ll.Ov)(),Wi=Sa.history,aa=Sa.clientRoutes,ha=(0,eu.UO)(),_s={params:ha,isExact:!0,path:Li.path,url:Wi.location.pathname},Qi=An.loader,is={location:Wi.location,match:_s,history:Wi,params:ha,route:Li,routes:aa};return An.useStream?je.createElement(je.Suspense,{fallback:je.createElement(An.loadingComponent,null)},je.createElement(Qi,is,An.hasChildren&&je.createElement(eu.j3,null))):je.createElement(Qi,is,An.hasChildren&&je.createElement(eu.j3,null))}function Jl(An){var Gn=An.loader;return An.useStream?je.createElement(je.Suspense,{fallback:je.createElement(An.loadingComponent,null)},je.createElement(Gn,null)):je.createElement(Gn,null)}var Eu=null;function Xc(){return Eu}function pc(An){var Gn=An.history,Li=je.useState({action:Gn.action,location:Gn.location}),Sa=(0,Rl.Z)(Li,2),Wi=Sa[0],aa=Sa[1];return(0,je.useLayoutEffect)(function(){return Gn.listen(aa)},[Gn]),(0,je.useLayoutEffect)(function(){function ha(_s){An.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:An.routes,clientRoutes:An.clientRoutes,location:_s.location,action:_s.action,basename:An.basename,isFirst:!!_s.isFirst}})}return ha({location:Wi.location,action:Wi.action,isFirst:!0}),Gn.listen(ha)},[Gn,An.routes,An.clientRoutes]),je.createElement(eu.F0,{navigator:Gn,location:Wi.location,basename:An.basename},An.children)}function Lu(){var An=(0,Ll.Ov)(),Gn=An.clientRoutes;return(0,eu.V$)(Gn)}var lu=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],ec=function(Gn,Li){var Sa=Gn.basename||"/",Wi=Ql({routesById:Gn.routes,routeComponents:Gn.routeComponents,loadingComponent:Gn.loadingComponent,reactRouter5Compat:Gn.reactRouter5Compat,useStream:Gn.useStream});Gn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Wi}});for(var aa=je.createElement(pc,{basename:Sa,pluginManager:Gn.pluginManager,routes:Gn.routes,clientRoutes:Wi,history:Gn.history},Li),ha=0,_s=lu;ha<_s.length;ha++){var Qi=_s[ha];aa=Gn.pluginManager.applyPlugins({type:"modify",key:Qi,initialValue:aa,args:{routes:Gn.routes,history:Gn.history,plugin:Gn.pluginManager}})}var is=function(){var Bu=(0,je.useState)({}),Gu=(0,Rl.Z)(Bu,2),ul=Gu[0],ll=Gu[1],Df=(0,je.useState)(window.__UMI_LOADER_DATA__||{}),wf=(0,Rl.Z)(Df,2),$l=wf[0],Sf=wf[1],gc=(0,je.useCallback)(function(ef,hf){var cl,Of=(((cl=(0,eu.fp)(Wi,ef,Sa))===null||cl===void 0?void 0:cl.map(function(Vu){return Vu.route.id}))||[]).filter(Boolean);Of.forEach(function(Vu){var Rc,tf;if(window.__umi_route_prefetch__){var Ko,rf=(Ko=Gn.routeComponents[Vu])===null||Ko===void 0||(Ko=Ko._payload)===null||Ko===void 0?void 0:Ko._result;typeof rf=="function"&&rf()}var pf=(Rc=Gn.routes[Vu])===null||Rc===void 0?void 0:Rc.clientLoader,fl=!!pf,jl=(tf=Gn.routes[Vu])===null||tf===void 0?void 0:tf.hasServerLoader;!hf&&jl&&!fl&&!window.__UMI_LOADER_DATA__&&No({id:Vu,basename:Sa,cb:function(Mc){je.startTransition(function(){Sf(function(mf){return(0,Po.Z)((0,Po.Z)({},mf),{},(0,bl.Z)({},Vu,Mc))})})}});var Yo=!!ul[Vu],yc=fl&&pf.hydrate||!jl,_f=jl&&!window.__UMI_LOADER_DATA__;fl&&!Yo&&(yc||_f)&&pf({serverLoader:function(){return No({id:Vu,basename:Sa,cb:function(mf){je.startTransition(function(){Sf(function(Fc){return(0,Po.Z)((0,Po.Z)({},Fc),{},(0,bl.Z)({},Vu,mf))})})}})}}).then(function(Lc){ll(function(Mc){return(0,Po.Z)((0,Po.Z)({},Mc),{},(0,bl.Z)({},Vu,Lc))})})})},[ul]);return(0,je.useEffect)(function(){return gc(window.location.pathname,!0),Gn.history.listen(function(ef){gc(ef.location.pathname)})},[]),(0,je.useLayoutEffect)(function(){typeof Gn.callback=="function"&&Gn.callback()},[]),je.createElement(Ll.Il.Provider,{value:{routes:Gn.routes,routeComponents:Gn.routeComponents,clientRoutes:Wi,pluginManager:Gn.pluginManager,rootElement:Gn.rootElement,basename:Sa,clientLoaderData:ul,serverLoaderData:$l,preloadRoute:gc,history:Gn.history}},aa)};return is};function _c(An){var Gn=An.rootElement||document.getElementById("root"),Li=ec(An,je.createElement(Lu,null));if(An.components)return Li;if(An.hydrate){var Sa=window.__UMI_LOADER_DATA__||{},Wi=window.__UMI_METADATA_LOADER_DATA__||{},aa={metadata:Wi,loaderData:Sa,mountElementId:An.mountElementId},ha=An.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||An.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;gu.hydrateRoot(ha?Gn:document,ha?je.createElement(Li,null):je.createElement(Zo,aa,je.createElement(Li,null)));return}if(gu.createRoot){Eu=gu.createRoot(Gn),Eu.render(je.createElement(Li,null));return}gu.render(je.createElement(Li,null),Gn)}var mc=(An,Gn,Li)=>new Promise((Sa,Wi)=>{var aa=Qi=>{try{_s(Li.next(Qi))}catch(is){Wi(is)}},ha=Qi=>{try{_s(Li.throw(Qi))}catch(is){Wi(is)}},_s=Qi=>Qi.done?Sa(Qi.value):Promise.resolve(Qi.value).then(aa,ha);_s((Li=Li.apply(An,Gn)).next())});function Dc(){return mc(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:"/vscourse",parentId:"1",id:"431"},432:{path:"/vscourse",parentId:"431",id:"432"},433:{path:"/onlinenum",parentId:"1",id:"433"},434:{path:"/onlinenum",parentId:"433",id:"434"},435:{path:"/shixuncontext",parentId:"1",id:"435"},436:{path:"/shixuncontext",parentId:"435",id:"436"},437:{path:"/shixuncontext/:Id/detail",parentId:"435",id:"437"},438:{path:"/educoder-demo",exact:!0,parentId:"1",id:"438"},439:{path:"/training",parentId:"1",id:"439"},440:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"439",id:"440"},441:{path:"/largeScreen",exact:!0,parentId:"1",id:"441"},442:{path:"/quality",parentId:"1",id:"442"},443:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"442",id:"443"},444:{path:"/otherlogin",exact:!0,parentId:"1",id:"444"},445:{path:"/otherloginqq",exact:!0,parentId:"1",id:"445"},446:{path:"/otherloginstart",exact:!0,parentId:"1",id:"446"},447:{path:"/pathsoverview",exact:!0,parentId:"1",id:"447"},448:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"448"},449:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"449"},450:{path:"/login",parentId:"1",id:"450"},451:{path:"/login",parentId:"450",id:"451"},452:{path:"/user",parentId:"1",id:"452"},453:{path:"/user/login",parentId:"452",id:"453"},454:{path:"/user/register",parentId:"452",id:"454"},455:{path:"/user/reset-password",parentId:"452",id:"455"},456:{path:"/colleges",parentId:"1",id:"456"},457:{path:"/colleges/:id/statistics",parentId:"456",id:"457"},458:{path:"/help",parentId:"1",id:"458"},459:{path:"/help/:id",parentId:"458",id:"459"},460:{path:"/video",parentId:"1",id:"460"},461:{path:"/video/:videoId",parentId:"460",id:"461"},462:{path:"/terminal",parentId:"1",id:"462"},463:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"463"},464:{path:"/statsDashboard",parentId:"1",id:"464"},465:{path:"/",parentId:"1",id:"465"},466:{path:"/",exact:!0,parentId:"465",id:"466"},467:{path:"/api/*",exact:!0,parentId:"465",id:"467"},468:{path:"/search",exact:!0,parentId:"465",id:"468"},469:{path:"/moop_cases",exact:!0,parentId:"465",id:"469"},470:{path:"/moop_cases/new",exact:!0,parentId:"465",id:"470"},471:{path:"/moop_cases/:caseId",exact:!0,parentId:"465",id:"471"},472:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"465",id:"472"},473:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"465",id:"473"},474:{path:"/randompaper",exact:!0,parentId:"465",id:"474"},475:{path:"/randompaper/edit/:id",exact:!0,parentId:"465",id:"475"},476:{path:"/randompaper/detail/:id",exact:!0,parentId:"465",id:"476"},477:{path:"/403",parentId:"465",id:"477"},478:{path:"/500",parentId:"465",id:"478"},479:{path:"/404",parentId:"465",id:"479"},480:{path:"/download",parentId:"465",id:"480"},481:{path:"/iwce",parentId:"465",id:"481"},482:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"465",id:"482"},483:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"465",id:"483"},484:{path:"/Activities",parentId:"465",id:"484"},485:{path:"/iwce/:itemname",parentId:"465",id:"485"},486:{path:"/hpc-course",parentId:"465",id:"486"},487:{path:"/user_agents",parentId:"465",id:"487"},488:{path:"/three",parentId:"465",id:"488"},489:{path:"/introduction",parentId:"465",id:"489"},490:{path:"/chatgpt",parentId:"465",id:"490"},491:{path:"/*",parentId:"465",id:"491"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:je.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),2:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),3:je.lazy(()=>__webpack_require__.e(4862).then(__webpack_require__.bind(__webpack_require__,76563))),4:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),5:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,8391))),6:je.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,64226))),7:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),8:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,91046))),9:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),10:je.lazy(()=>__webpack_require__.e(6052).then(__webpack_require__.bind(__webpack_require__,19372))),11:je.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,27851))),12:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),13:je.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),14:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3332)]).then(__webpack_require__.bind(__webpack_require__,98287))),15:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,22834))),16:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,86364))),17:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),18:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),19:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),20:je.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),21:je.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,20973))),22:je.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,31793))),23:je.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,46275))),24:je.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),25:je.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,37273))),26:je.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),27:je.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,45029))),28:je.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,46922))),29:je.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,94044))),30:je.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,67311))),31:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,86230))),32:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(342)]).then(__webpack_require__.bind(__webpack_require__,88924))),33:je.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,63437))),34:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,60922))),35:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,70731))),36:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,1086))),37:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,83890))),38:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,75400))),39:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,52934))),40:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,34353))),41:je.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,30748))),42:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,53036))),43:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),44:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,60839))),45:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,77638))),46:je.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,53147))),47:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),48:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,23129))),49:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),50:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,23108))),51:je.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,10147))),52:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),53:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,73966))),54:je.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,83922))),55:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,82856))),56:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,31533))),57:je.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),58:je.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,3276))),59:je.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),60:je.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,77329))),61:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,75288))),62:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,83485))),63:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,97780))),64:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,28915))),65:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,57643))),66:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,8321))),67:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,77498))),68:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,56010))),69:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,7769))),70:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,36618))),71:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,1910))),72:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,34104))),73:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,3487))),74:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,17042))),75:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,72583))),76:je.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,61193))),77:je.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,13750))),78:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,96046))),79:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,22996))),80:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,41305))),81:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,78554))),82:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,74124))),83:je.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,58966))),84:je.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,55998))),85:je.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,31905))),86:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7395)]).then(__webpack_require__.bind(__webpack_require__,97789))),87:je.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,98731))),88:je.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,37244))),89:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),90:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,35171))),91:je.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,42383))),92:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,71073))),93:je.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,97838))),94:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,22450))),95:je.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,57454))),96:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,60846))),97:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,45062))),98:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,93341))),99:je.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,25921))),100:je.lazy(()=>__webpack_require__.e(3282).then(__webpack_require__.bind(__webpack_require__,93365))),101:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),102:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7852)]).then(__webpack_require__.bind(__webpack_require__,20383))),103:je.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,77437))),104:je.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),105:je.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,15828))),106:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,80015))),107:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5825)]).then(__webpack_require__.bind(__webpack_require__,80015))),108:je.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),109:je.lazy(()=>__webpack_require__.e(3355).then(__webpack_require__.bind(__webpack_require__,3403))),110:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),111:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(9890)]).then(__webpack_require__.bind(__webpack_require__,94863))),112:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),113:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4142),__webpack_require__.e(3935)]).then(__webpack_require__.bind(__webpack_require__,14902))),114:je.lazy(()=>__webpack_require__.e(8014).then(__webpack_require__.bind(__webpack_require__,6218))),115:je.lazy(()=>__webpack_require__.e(8077).then(__webpack_require__.bind(__webpack_require__,83443))),116:je.lazy(()=>__webpack_require__.e(3356).then(__webpack_require__.bind(__webpack_require__,5010))),117:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),118:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6788)]).then(__webpack_require__.bind(__webpack_require__,11008))),119:je.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,21413))),120:je.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,11133))),121:je.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,25251))),122:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),123:je.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,25083))),124:je.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,29860))),125:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),126:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1265)]).then(__webpack_require__.bind(__webpack_require__,61434))),127:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),128:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,51291))),129:je.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),130:je.lazy(()=>__webpack_require__.e(6758).then(__webpack_require__.bind(__webpack_require__,27776))),131:je.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),132:je.lazy(()=>__webpack_require__.e(9332).then(__webpack_require__.bind(__webpack_require__,66640))),133:je.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,96573))),134:je.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,58786))),135:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,1697))),136:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,70302))),137:je.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),138:je.lazy(()=>__webpack_require__.e(7878).then(__webpack_require__.bind(__webpack_require__,27599))),139:je.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,76161))),140:je.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),141:je.lazy(()=>__webpack_require__.e(8302).then(__webpack_require__.bind(__webpack_require__,23889))),142:je.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),143:je.lazy(()=>__webpack_require__.e(8634).then(__webpack_require__.bind(__webpack_require__,69808))),144:je.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,8176))),145:je.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),146:je.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,21095))),147:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),148:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,63679))),149:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,99046))),150:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,82503))),151:je.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,15531))),152:je.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,50715))),153:je.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,90317))),154:je.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,1377))),155:je.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,65515))),156:je.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,99342))),157:je.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,26032))),158:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),159:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),160:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),161:je.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,43008))),162:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(6883)]).then(__webpack_require__.bind(__webpack_require__,80961))),163:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),164:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,79177))),165:je.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,719))),166:je.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,14796))),167:je.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,5629))),168:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5265),__webpack_require__.e(8797)]).then(__webpack_require__.bind(__webpack_require__,29526))),169:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),170:je.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,37226))),171:je.lazy(()=>__webpack_require__.e(2983).then(__webpack_require__.bind(__webpack_require__,24564))),172:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),173:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,96560))),174:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,35918))),175:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),176:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),177:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),178:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,85953))),179:je.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,6413))),180:je.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,37852))),181:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(9596),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,46627))),182:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),183:je.lazy(()=>__webpack_require__.e(8782).then(__webpack_require__.bind(__webpack_require__,20186))),184:je.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,15352))),185:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,98622))),186:je.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,84246))),187:je.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,28092))),188:je.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,40580))),189:je.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,2751))),190:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(33),__webpack_require__.e(6277)]).then(__webpack_require__.bind(__webpack_require__,69638))),191:je.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,21052))),192:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,46897))),193:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),194:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,29040))),195:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),196:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,2134))),197:je.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,56405))),198:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,92185))),199:je.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,63798))),200:je.lazy(()=>__webpack_require__.e(2875).then(__webpack_require__.bind(__webpack_require__,78932))),201:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9133)]).then(__webpack_require__.bind(__webpack_require__,70624))),202:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),203:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),204:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5470)]).then(__webpack_require__.bind(__webpack_require__,18509))),205:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6541)]).then(__webpack_require__.bind(__webpack_require__,52021))),206:je.lazy(()=>Promise.all([__webpack_require__.e(33),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,58100))),207:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(2254)]).then(__webpack_require__.bind(__webpack_require__,71666))),208:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,28744))),209:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(6845)]).then(__webpack_require__.bind(__webpack_require__,72281))),210:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),211:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4884)]).then(__webpack_require__.bind(__webpack_require__,96146))),212:je.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),213:je.lazy(()=>__webpack_require__.e(1148).then(__webpack_require__.bind(__webpack_require__,6850))),214:je.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),215:je.lazy(()=>__webpack_require__.e(7046).then(__webpack_require__.bind(__webpack_require__,83283))),216:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),217:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,51518))),218:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,68639))),219:je.lazy(()=>__webpack_require__.e(9215).then(__webpack_require__.bind(__webpack_require__,5134))),220:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),221:je.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,59622))),222:je.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,65866))),223:je.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,86974))),224:je.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,49690))),225:je.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),226:je.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,50650))),227:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8191))),228:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,31721))),229:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,80751))),230:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,53605))),231:je.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,8712))),232:je.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,26021))),233:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,75992))),234:je.lazy(()=>__webpack_require__.e(2529).then(__webpack_require__.bind(__webpack_require__,43116))),235:je.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),236:je.lazy(()=>__webpack_require__.e(5895).then(__webpack_require__.bind(__webpack_require__,22802))),237:je.lazy(()=>__webpack_require__.e(6982).then(__webpack_require__.bind(__webpack_require__,49451))),238:je.lazy(()=>__webpack_require__.e(6805).then(__webpack_require__.bind(__webpack_require__,97118))),239:je.lazy(()=>__webpack_require__.e(1416).then(__webpack_require__.bind(__webpack_require__,16430))),240:je.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,26501))),241:je.lazy(()=>__webpack_require__.e(8307).then(__webpack_require__.bind(__webpack_require__,51705))),242:je.lazy(()=>__webpack_require__.e(2826).then(__webpack_require__.bind(__webpack_require__,36806))),243:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,31324))),244:je.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,88755))),245:je.lazy(()=>__webpack_require__.e(9590).then(__webpack_require__.bind(__webpack_require__,81187))),246:je.lazy(()=>__webpack_require__.e(2076).then(__webpack_require__.bind(__webpack_require__,62484))),247:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4849)]).then(__webpack_require__.bind(__webpack_require__,20267))),248:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(310)]).then(__webpack_require__.bind(__webpack_require__,18460))),249:je.lazy(()=>__webpack_require__.e(5191).then(__webpack_require__.bind(__webpack_require__,43173))),250:je.lazy(()=>__webpack_require__.e(3496).then(__webpack_require__.bind(__webpack_require__,68861))),251:je.lazy(()=>__webpack_require__.e(7948).then(__webpack_require__.bind(__webpack_require__,47412))),252:je.lazy(()=>__webpack_require__.e(9519).then(__webpack_require__.bind(__webpack_require__,86576))),253:je.lazy(()=>__webpack_require__.e(5599).then(__webpack_require__.bind(__webpack_require__,56543))),254:je.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,7942))),255:je.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,89993))),256:je.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,83184))),257:je.lazy(()=>__webpack_require__.e(265).then(__webpack_require__.bind(__webpack_require__,14631))),258:je.lazy(()=>__webpack_require__.e(9360).then(__webpack_require__.bind(__webpack_require__,88038))),259:je.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,35670))),260:je.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,99624))),261:je.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,69157))),262:je.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,11234))),263:je.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),264:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),265:je.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,3447))),266:je.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,96555))),267:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),268:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,14222))),269:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),270:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,833))),271:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,30197))),272:je.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,84958))),273:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),274:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,81171))),275:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),276:je.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,62861))),277:je.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,10497))),278:je.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,2131))),279:je.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,62256))),280:je.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,872))),281:je.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,64361))),282:je.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,85761))),283:je.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,93875))),284:je.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,21202))),285:je.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,91460))),286:je.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,17689))),287:je.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,37222))),288:je.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,14455))),289:je.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,41313))),290:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,46859))),291:je.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,5942))),292:je.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,15920))),293:je.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,76515))),294:je.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),295:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),296:je.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,97800))),297:je.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,89705))),298:je.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,47363))),299:je.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,16302))),300:je.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,90894))),301:je.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,13747))),302:je.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,14828))),303:je.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,99436))),304:je.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),305:je.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,19552))),306:je.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,562))),307:je.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),308:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),309:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),310:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),311:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,40678))),312:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(425),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,93386))),313:je.lazy(()=>__webpack_require__.e(599).then(__webpack_require__.bind(__webpack_require__,20599))),314:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,72222))),315:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(425),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,8243))),316:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),317:je.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,21119))),318:je.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,64348))),319:je.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,21496))),320:je.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,95335))),321:je.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,45423))),322:je.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,37196))),323:je.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,36178))),324:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),325:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,10729))),326:je.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),327:je.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,54204))),328:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),329:je.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,23395))),330:je.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,68703))),331:je.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,3819))),332:je.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,39983))),333:je.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,79046))),334:je.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,47873))),335:je.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,42176))),336:je.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,92105))),337:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),338:je.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,97128))),339:je.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,82821))),340:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,5211))),341:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),342:je.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),343:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),344:je.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),345:je.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),346:je.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),347:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),348:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),349:je.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),350:je.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),351:je.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),352:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),353:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),354:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),355:je.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),356:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),357:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),358:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),359:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),360:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),361:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),362:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),363:je.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),364:je.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),365:je.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),366:je.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),367:je.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),368:je.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),369:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),370:je.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),371:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),372:je.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,54587))),373:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),374:je.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,89955))),375:je.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,61471))),376:je.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,3279))),377:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),378:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,99661))),379:je.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,36546))),380:je.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,21105))),381:je.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,97769))),382:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,11369))),383:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),384:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,97927))),385:je.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,13793))),386:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,42100))),387:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,22330))),388:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),389:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,91591))),390:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,14291))),391:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),392:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,75673))),393:je.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,82125))),394:je.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,30654))),395:je.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,38542))),396:je.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,92314))),397:je.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,74232))),398:je.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,50983))),399:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,40599))),400:je.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,84033))),401:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),402:je.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,86476))),403:je.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,27454))),404:je.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,33675))),405:je.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,58197))),406:je.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,57857))),407:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),408:je.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,30266))),409:je.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,88036))),410:je.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,42463))),411:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,66493))),412:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,67489))),413:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,32891))),414:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,57895))),415:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),416:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),417:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),418:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),419:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,75411))),420:je.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,98372))),421:je.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),422:je.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,16486))),423:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,9))),424:je.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,16459))),425:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),426:je.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,69623))),427:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,73171))),428:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),429:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,20520))),430:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,89325))),431:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),432:je.lazy(()=>__webpack_require__.e(6573).then(__webpack_require__.bind(__webpack_require__,82726))),433:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),434:je.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,14103))),435:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),436:je.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,84575))),437:je.lazy(()=>__webpack_require__.e(672).then(__webpack_require__.bind(__webpack_require__,6556))),438:je.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,38124))),439:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),440:je.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,75503))),441:je.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3518))),442:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),443:je.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,36693))),444:je.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,11112))),445:je.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,19041))),446:je.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,76904))),447:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,63295))),448:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,4280))),449:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,29069))),450:je.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,28128))),451:je.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),452:je.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,23900))),453:je.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54240))),454:je.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,39090))),455:je.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,20649))),456:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),457:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,57915))),458:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),459:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,24721))),460:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),461:je.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,62904))),462:je.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,87038))),463:je.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,33262))),464:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7224)]).then(__webpack_require__.bind(__webpack_require__,13771))),465:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,85158))),466:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(391),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,95541))),467:je.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,33662))),468:je.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,57548))),469:je.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,13540))),470:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),471:je.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,93185))),472:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,88986))),473:je.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,86308))),474:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),475:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,12624))),476:je.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,19560))),477:je.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,18430))),478:je.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,57050))),479:je.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),480:je.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,32717))),481:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),482:je.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,79752))),483:je.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,36464))),484:je.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,94878))),485:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),486:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,22255))),487:je.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,43982))),488:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,49851))),489:je.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,53727))),490:je.lazy(()=>Promise.all([__webpack_require__.e(169),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,73752))),491:je.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,60279))),"@@/global-layout":je.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,73974)))}}})}var I=__webpack_require__(41920),O=__webpack_require__(58293),L=__webpack_require__(71418),me=__webpack_require__(5755),Oe=()=>je.createElement(L.Z,{size:"middle",className:me.Z.loading}),qr=__webpack_require__(25690),Bn=__webpack_require__(61186),dn=__webpack_require__.n(Bn),Pi=__webpack_require__(91392),Ya=__webpack_require__.n(Pi),Oa=__webpack_require__(34749),Do=__webpack_require__.n(Oa),Ma=__webpack_require__(19277),co=__webpack_require__.n(Ma),bs=__webpack_require__(10238),Oc=__webpack_require__.n(bs),tc=__webpack_require__(33656),rc=__webpack_require__.n(tc),vc=__webpack_require__(90111),Mu=__webpack_require__.n(vc),Ii=__webpack_require__(74959),nc=__webpack_require__.n(Ii),Fl=__webpack_require__(23250),$o=__webpack_require__.n(Fl),Ks=__webpack_require__(58862),ns=__webpack_require__.n(Ks),al=__webpack_require__(58319),sl=__webpack_require__.n(al),El=__webpack_require__(62053),wl=__webpack_require__.n(El),ol=__webpack_require__(47477),Qc=__webpack_require__.n(ol),kc=__webpack_require__(59717),Hu=__webpack_require__.n(kc);dn().extend(Do()),dn().extend(co()),dn().extend(Oc()),dn().extend(rc()),dn().extend(Mu()),dn().extend(nc()),dn().extend($o()),dn().extend(ns()),dn().extend(sl()),dn().extend(wl()),dn().extend(Qc()),dn().extend(Hu()),dn().extend(Ya());var qc=Object.defineProperty,Bl=Object.getOwnPropertySymbols,Jc=Object.prototype.hasOwnProperty,cu=Object.prototype.propertyIsEnumerable,Fu=(An,Gn,Li)=>Gn in An?qc(An,Gn,{enumerable:!0,configurable:!0,writable:!0,value:Li}):An[Gn]=Li,Sl=(An,Gn)=>{for(var Li in Gn||(Gn={}))Jc.call(Gn,Li)&&Fu(An,Li,Gn[Li]);if(Bl)for(var Li of Bl(Gn))cu.call(Gn,Li)&&Fu(An,Li,Gn[Li]);return An},ic=(An,Gn,Li)=>new Promise((Sa,Wi)=>{var aa=Qi=>{try{_s(Li.next(Qi))}catch(is){Wi(is)}},ha=Qi=>{try{_s(Li.throw(Qi))}catch(is){Wi(is)}},_s=Qi=>Qi.done?Sa(Qi.value):Promise.resolve(Qi.value).then(aa,ha);_s((Li=Li.apply(An,Gn)).next())});const wu="/react/build/",ac=!1;function Nl(){return ic(this,null,function*(){const An=(0,I.gD)(),{routes:Gn,routeComponents:Li}=yield Dc(An);yield An.applyPlugins({key:"patchRoutes",type:qr.ApplyPluginsType.event,args:{routes:Gn,routeComponents:Li}});const Sa=An.applyPlugins({key:"modifyContextOpts",type:qr.ApplyPluginsType.modify,initialValue:{}}),Wi=Sa.basename||"/",aa=Sa.historyType||"browser",ha=(0,O.fi)(Sl({type:aa,basename:Wi},Sa.historyOpts));return An.applyPlugins({key:"render",type:qr.ApplyPluginsType.compose,initialValue(){const _s={useStream:!0,routes:Gn,routeComponents:Li,pluginManager:An,mountElementId:"root",rootElement:Sa.rootElement||document.getElementById("root"),loadingComponent:Oe,publicPath:wu,runtimePublicPath:ac,history:ha,historyType:aa,basename:Wi,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Sa.callback},Qi=An.applyPlugins({key:"modifyClientRenderOpts",type:qr.ApplyPluginsType.modify,initialValue:_s});return _c(Qi)}})()})}Nl(),typeof window!="undefined"&&(window.g_umi={version:"4.4.11"})})()})();
|