|
|
(function(){var __webpack_modules__={30071:function(d,v,e){"use strict";e.r(v),e.d(v,{blue:function(){return oe},blueDark:function(){return Ne},cyan:function(){return ne},cyanDark:function(){return Ze},geekblue:function(){return q},geekblueDark:function(){return Bt},generate:function(){return A},gold:function(){return G},goldDark:function(){return ie},gray:function(){return ee},green:function(){return ae},greenDark:function(){return De},grey:function(){return se},greyDark:function(){return rr},lime:function(){return H},limeDark:function(){return Pe},magenta:function(){return K},magentaDark:function(){return It},orange:function(){return N},orangeDark:function(){return $},presetDarkPalettes:function(){return Yt},presetPalettes:function(){return Q},presetPrimaryColors:function(){return P},purple:function(){return J},purpleDark:function(){return yt},red:function(){return M},redDark:function(){return le},volcano:function(){return B},volcanoDark:function(){return z},yellow:function(){return W},yellowDark:function(){return me}});var r=e(20068);const i=Math.round;function l(ur,We){const Pt=ur.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],zt=Pt.map(nt=>parseFloat(nt));for(let nt=0;nt<3;nt+=1)zt[nt]=We(zt[nt]||0,Pt[nt]||"",nt);return Pt[3]?zt[3]=Pt[3].includes("%")?zt[3]/100:zt[3]:zt[3]=1,zt}const c=(ur,We,Pt)=>Pt===0?ur:ur/100;function f(ur,We){const Pt=We||255;return ur>Pt?Pt:ur<0?0:ur}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 Pt(zt){return zt[0]in We&&zt[1]in We&&zt[2]in We}if(We)if(typeof We=="string"){let nt=function(Et){return zt.startsWith(Et)};const zt=We.trim();/^#?[A-F\d]{3,8}$/i.test(zt)?this.fromHexString(zt):nt("rgb")?this.fromRgbString(zt):nt("hsl")?this.fromHslString(zt):(nt("hsv")||nt("hsb"))&&this.fromHsvString(zt)}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(Pt("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(Pt("hsl"))this.fromHsl(We);else if(Pt("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 Pt=this.toHsv();return Pt.h=We,this._c(Pt)}getLuminance(){function We(Et){const ht=Et/255;return ht<=.03928?ht/12.92:Math.pow((ht+.055)/1.055,2.4)}const Pt=We(this.r),zt=We(this.g),nt=We(this.b);return .2126*Pt+.7152*zt+.0722*nt}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 Pt=this.getHue(),zt=this.getSaturation();let nt=this.getLightness()-We/100;return nt<0&&(nt=0),this._c({h:Pt,s:zt,l:nt,a:this.a})}lighten(We=10){const Pt=this.getHue(),zt=this.getSaturation();let nt=this.getLightness()+We/100;return nt>1&&(nt=1),this._c({h:Pt,s:zt,l:nt,a:this.a})}mix(We,Pt=50){const zt=this._c(We),nt=Pt/100,Et=Je=>(zt[Je]-this[Je])*nt+this[Je],ht={r:i(Et("r")),g:i(Et("g")),b:i(Et("b")),a:i(Et("a")*100)/100};return this._c(ht)}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 Pt=this._c(We),zt=this.a+Pt.a*(1-this.a),nt=Et=>i((this[Et]*this.a+Pt[Et]*Pt.a*(1-this.a))/zt);return this._c({r:nt("r"),g:nt("g"),b:nt("b"),a:zt})}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 Pt=(this.r||0).toString(16);We+=Pt.length===2?Pt:"0"+Pt;const zt=(this.g||0).toString(16);We+=zt.length===2?zt:"0"+zt;const nt=(this.b||0).toString(16);if(We+=nt.length===2?nt:"0"+nt,typeof this.a=="number"&&this.a>=0&&this.a<1){const Et=i(this.a*255).toString(16);We+=Et.length===2?Et:"0"+Et}return We}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const We=this.getHue(),Pt=i(this.getSaturation()*100),zt=i(this.getLightness()*100);return this.a!==1?`hsla(${We},${Pt}%,${zt}%,${this.a})`:`hsl(${We},${Pt}%,${zt}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(We,Pt,zt){const nt=this.clone();return nt[We]=f(Pt,zt),nt}_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 Pt=We.replace("#","");function zt(nt,Et){return parseInt(Pt[nt]+Pt[Et||nt],16)}Pt.length<6?(this.r=zt(0),this.g=zt(1),this.b=zt(2),this.a=Pt[3]?zt(3)/255:1):(this.r=zt(0,1),this.g=zt(2,3),this.b=zt(4,5),this.a=Pt[6]?zt(6,7)/255:1)}fromHsl({h:We,s:Pt,l:zt,a:nt}){if(this._h=We%360,this._s=Pt,this._l=zt,this.a=typeof nt=="number"?nt:1,Pt<=0){const je=i(zt*255);this.r=je,this.g=je,this.b=je}let Et=0,ht=0,Je=0;const Ue=We/60,ge=(1-Math.abs(2*zt-1))*Pt,Se=ge*(1-Math.abs(Ue%2-1));Ue>=0&&Ue<1?(Et=ge,ht=Se):Ue>=1&&Ue<2?(Et=Se,ht=ge):Ue>=2&&Ue<3?(ht=ge,Je=Se):Ue>=3&&Ue<4?(ht=Se,Je=ge):Ue>=4&&Ue<5?(Et=Se,Je=ge):Ue>=5&&Ue<6&&(Et=ge,Je=Se);const Le=zt-ge/2;this.r=i((Et+Le)*255),this.g=i((ht+Le)*255),this.b=i((Je+Le)*255)}fromHsv({h:We,s:Pt,v:zt,a:nt}){this._h=We%360,this._s=Pt,this._v=zt,this.a=typeof nt=="number"?nt:1;const Et=i(zt*255);if(this.r=Et,this.g=Et,this.b=Et,Pt<=0)return;const ht=We/60,Je=Math.floor(ht),Ue=ht-Je,ge=i(zt*(1-Pt)*255),Se=i(zt*(1-Pt*Ue)*255),Le=i(zt*(1-Pt*(1-Ue))*255);switch(Je){case 0:this.g=Le,this.b=ge;break;case 1:this.r=Se,this.b=ge;break;case 2:this.r=ge,this.b=Le;break;case 3:this.r=ge,this.g=Se;break;case 4:this.r=Le,this.g=ge;break;case 5:default:this.g=ge,this.b=Se;break}}fromHsvString(We){const Pt=l(We,c);this.fromHsv({h:Pt[0],s:Pt[1],v:Pt[2],a:Pt[3]})}fromHslString(We){const Pt=l(We,c);this.fromHsl({h:Pt[0],s:Pt[1],l:Pt[2],a:Pt[3]})}fromRgbString(We){const Pt=l(We,(zt,nt)=>nt.includes("%")?i(zt/100*255):zt);this.r=Pt[0],this.g=Pt[1],this.b=Pt[2],this.a=Pt[3]}}var h=2,u=.16,a=.05,x=.05,p=.15,y=5,m=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(ur,We,Pt){var zt;return Math.round(ur.h)>=60&&Math.round(ur.h)<=240?zt=Pt?Math.round(ur.h)-h*We:Math.round(ur.h)+h*We:zt=Pt?Math.round(ur.h)+h*We:Math.round(ur.h)-h*We,zt<0?zt+=360:zt>=360&&(zt-=360),zt}function k(ur,We,Pt){if(ur.h===0&&ur.s===0)return ur.s;var zt;return Pt?zt=ur.s-u*We:We===m?zt=ur.s+u:zt=ur.s+a*We,zt>1&&(zt=1),Pt&&We===y&&zt>.1&&(zt=.1),zt<.06&&(zt=.06),Math.round(zt*100)/100}function R(ur,We,Pt){var zt;return Pt?zt=ur.v+x*We:zt=ur.v-p*We,zt=Math.max(0,Math.min(1,zt)),Math.round(zt*100)/100}function A(ur){for(var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pt=[],zt=new o(ur),nt=zt.toHsv(),Et=y;Et>0;Et-=1){var ht=new o({h:S(nt,Et,!0),s:k(nt,Et,!0),v:R(nt,Et,!0)});Pt.push(ht)}Pt.push(zt);for(var Je=1;Je<=m;Je+=1){var Ue=new o({h:S(nt,Je),s:k(nt,Je),v:R(nt,Je)});Pt.push(Ue)}return We.theme==="dark"?b.map(function(ge){var Se=ge.index,Le=ge.amount;return new o(We.backgroundColor||"#141414").mix(Pt[Se],Le).toHexString()}):Pt.map(function(ge){return ge.toHexString()})}var P={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},M=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];M.primary=M[5];var B=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];B.primary=B[5];var N=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];N.primary=N[5];var G=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];G.primary=G[5];var W=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];W.primary=W[5];var H=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];H.primary=H[5];var ae=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];ae.primary=ae[5];var ne=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];ne.primary=ne[5];var oe=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];oe.primary=oe[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 se=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];se.primary=se[5];var ee=se,Q={red:M,volcano:B,orange:N,gold:G,yellow:W,lime:H,green:ae,cyan:ne,blue:oe,geekblue:q,purple:J,magenta:K,grey:se},le=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];le.primary=le[5];var z=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];z.primary=z[5];var $=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];$.primary=$[5];var ie=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];ie.primary=ie[5];var me=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];me.primary=me[5];var Pe=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Pe.primary=Pe[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 Bt=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];Bt.primary=Bt[5];var yt=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];yt.primary=yt[5];var It=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];It.primary=It[5];var rr=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];rr.primary=rr[5];var Yt={red:le,volcano:z,orange:$,gold:ie,yellow:me,lime:Pe,green:De,cyan:Ze,blue:Ne,geekblue:Bt,purple:yt,magenta:It,grey:rr}},36237:function(d,v,e){"use strict";e.r(v),e.d(v,{Keyframes:function(){return $o},NaNLinter:function(){return as},StyleContext:function(){return ne},StyleProvider:function(){return ae},Theme:function(){return It},_experimental:function(){return Du},createCache:function(){return W},createTheme:function(){return Yt},extractStyle:function(){return Nu},genCalc:function(){return De},getComputedToken:function(){return mr},legacyLogicalPropertiesTransformer:function(){return Iu},legacyNotSelectorLinter:function(){return Ns},logicalPropertiesLinter:function(){return fo},parentSelectorLinter:function(){return Is},px2remTransformer:function(){return Yo},token2CSSVar:function(){return Ae},unit:function(){return Kt},useCSSVarRegister:function(){return No},useCacheToken:function(){return un},useStyleRegister:function(){return ds}});var r=e(42978),i=e(20068),l=e(94480),c=e(33885);function f(qt){for(var dr=0,ir,hr=0,Sr=qt.length;Sr>=4;++hr,Sr-=4)ir=qt.charCodeAt(hr)&255|(qt.charCodeAt(++hr)&255)<<8|(qt.charCodeAt(++hr)&255)<<16|(qt.charCodeAt(++hr)&255)<<24,ir=(ir&65535)*1540483477+((ir>>>16)*59797<<16),ir^=ir>>>24,dr=(ir&65535)*1540483477+((ir>>>16)*59797<<16)^(dr&65535)*1540483477+((dr>>>16)*59797<<16);switch(Sr){case 3:dr^=(qt.charCodeAt(hr+2)&255)<<16;case 2:dr^=(qt.charCodeAt(hr+1)&255)<<8;case 1:dr^=qt.charCodeAt(hr)&255,dr=(dr&65535)*1540483477+((dr>>>16)*59797<<16)}return dr^=dr>>>13,dr=(dr&65535)*1540483477+((dr>>>16)*59797<<16),((dr^dr>>>15)>>>0).toString(36)}var o=f,h=e(810),u=e(59301),a=e.t(u,2),x=e(75931),p=e(80547),y=e(13697),m=e(67732),b=e(83652),S="%";function k(qt){return qt.join(S)}var R=function(){function qt(dr){(0,m.Z)(this,qt),(0,i.Z)(this,"instanceId",void 0),(0,i.Z)(this,"cache",new Map),(0,i.Z)(this,"extracted",new Set),this.instanceId=dr}return(0,b.Z)(qt,[{key:"get",value:function(ir){return this.opGet(k(ir))}},{key:"opGet",value:function(ir){return this.cache.get(ir)||null}},{key:"update",value:function(ir,hr){return this.opUpdate(k(ir),hr)}},{key:"opUpdate",value:function(ir,hr){var Sr=this.cache.get(ir),xn=hr(Sr);xn===null?this.cache.delete(ir):this.cache.set(ir,xn)}}]),qt}(),A=R,P=["children"],M="data-token-hash",B="data-css-hash",N="data-cache-path",G="__cssinjs_instance__";function W(){var qt=Math.random().toString(12).slice(2);if(typeof document!="undefined"&&document.head&&document.body){var dr=document.body.querySelectorAll("style[".concat(B,"]"))||[],ir=document.head.firstChild;Array.from(dr).forEach(function(Sr){Sr[G]=Sr[G]||qt,Sr[G]===qt&&document.head.insertBefore(Sr,ir)});var hr={};Array.from(document.querySelectorAll("style[".concat(B,"]"))).forEach(function(Sr){var xn=Sr.getAttribute(B);if(hr[xn]){if(Sr[G]===qt){var Gn;(Gn=Sr.parentNode)===null||Gn===void 0||Gn.removeChild(Sr)}}else hr[xn]=!0})}return new A(qt)}var H=u.createContext({hashPriority:"low",cache:W(),defaultCache:!0}),ae=function(dr){var ir=dr.children,hr=(0,x.Z)(dr,P),Sr=u.useContext(H),xn=(0,p.Z)(function(){var Gn=(0,c.Z)({},Sr);Object.keys(hr).forEach(function(Kn){var di=hr[Kn];hr[Kn]!==void 0&&(Gn[Kn]=di)});var Bn=hr.cache;return Gn.cache=Gn.cache||W(),Gn.defaultCache=!Bn&&Sr.defaultCache,Gn},[Sr,hr],function(Gn,Bn){return!(0,y.Z)(Gn[0],Bn[0],!0)||!(0,y.Z)(Gn[1],Bn[1],!0)});return u.createElement(H.Provider,{value:xn},ir)},ne=H,oe=e(76190),q=e(47273),J=e(31226),K=e(42403),se=e(158),ee=(0,b.Z)(function qt(){(0,m.Z)(this,qt)}),Q=ee,le="CALC_UNIT",z=new RegExp(le,"g");function $(qt){return typeof qt=="number"?"".concat(qt).concat(le):qt}var ie=function(qt){(0,K.Z)(ir,qt);var dr=(0,se.Z)(ir);function ir(hr,Sr){var xn;(0,m.Z)(this,ir),xn=dr.call(this),(0,i.Z)((0,J.Z)(xn),"result",""),(0,i.Z)((0,J.Z)(xn),"unitlessCssVar",void 0),(0,i.Z)((0,J.Z)(xn),"lowPriority",void 0);var Gn=(0,oe.Z)(hr);return xn.unitlessCssVar=Sr,hr instanceof ir?xn.result="(".concat(hr.result,")"):Gn==="number"?xn.result=$(hr):Gn==="string"&&(xn.result=hr),xn}return(0,b.Z)(ir,[{key:"add",value:function(Sr){return Sr instanceof ir?this.result="".concat(this.result," + ").concat(Sr.getResult()):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," + ").concat($(Sr))),this.lowPriority=!0,this}},{key:"sub",value:function(Sr){return Sr instanceof ir?this.result="".concat(this.result," - ").concat(Sr.getResult()):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," - ").concat($(Sr))),this.lowPriority=!0,this}},{key:"mul",value:function(Sr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Sr instanceof ir?this.result="".concat(this.result," * ").concat(Sr.getResult(!0)):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," * ").concat(Sr)),this.lowPriority=!1,this}},{key:"div",value:function(Sr){return this.lowPriority&&(this.result="(".concat(this.result,")")),Sr instanceof ir?this.result="".concat(this.result," / ").concat(Sr.getResult(!0)):(typeof Sr=="number"||typeof Sr=="string")&&(this.result="".concat(this.result," / ").concat(Sr)),this.lowPriority=!1,this}},{key:"getResult",value:function(Sr){return this.lowPriority||Sr?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(Sr){var xn=this,Gn=Sr||{},Bn=Gn.unit,Kn=!0;return typeof Bn=="boolean"?Kn=Bn:Array.from(this.unitlessCssVar).some(function(di){return xn.result.includes(di)})&&(Kn=!1),this.result=this.result.replace(z,Kn?"px":""),typeof this.lowPriority!="undefined"?"calc(".concat(this.result,")"):this.result}}]),ir}(Q),me=function(qt){(0,K.Z)(ir,qt);var dr=(0,se.Z)(ir);function ir(hr){var Sr;return(0,m.Z)(this,ir),Sr=dr.call(this),(0,i.Z)((0,J.Z)(Sr),"result",0),hr instanceof ir?Sr.result=hr.result:typeof hr=="number"&&(Sr.result=hr),Sr}return(0,b.Z)(ir,[{key:"add",value:function(Sr){return Sr instanceof ir?this.result+=Sr.result:typeof Sr=="number"&&(this.result+=Sr),this}},{key:"sub",value:function(Sr){return Sr instanceof ir?this.result-=Sr.result:typeof Sr=="number"&&(this.result-=Sr),this}},{key:"mul",value:function(Sr){return Sr instanceof ir?this.result*=Sr.result:typeof Sr=="number"&&(this.result*=Sr),this}},{key:"div",value:function(Sr){return Sr instanceof ir?this.result/=Sr.result:typeof Sr=="number"&&(this.result/=Sr),this}},{key:"equal",value:function(){return this.result}}]),ir}(Q),Pe=function(dr,ir){var hr=dr==="css"?ie:me;return function(Sr){return new hr(Sr,ir)}},De=Pe;function Ze(qt,dr){if(qt.length!==dr.length)return!1;for(var ir=0;ir<qt.length;ir++)if(qt[ir]!==dr[ir])return!1;return!0}var Ne=function(){function qt(){(0,m.Z)(this,qt),(0,i.Z)(this,"cache",void 0),(0,i.Z)(this,"keys",void 0),(0,i.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,b.Z)(qt,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(ir){var hr,Sr,xn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Gn={map:this.cache};return ir.forEach(function(Bn){if(!Gn)Gn=void 0;else{var Kn;Gn=(Kn=Gn)===null||Kn===void 0||(Kn=Kn.map)===null||Kn===void 0?void 0:Kn.get(Bn)}}),(hr=Gn)!==null&&hr!==void 0&&hr.value&&xn&&(Gn.value[1]=this.cacheCallTimes++),(Sr=Gn)===null||Sr===void 0?void 0:Sr.value}},{key:"get",value:function(ir){var hr;return(hr=this.internalGet(ir,!0))===null||hr===void 0?void 0:hr[0]}},{key:"has",value:function(ir){return!!this.internalGet(ir)}},{key:"set",value:function(ir,hr){var Sr=this;if(!this.has(ir)){if(this.size()+1>qt.MAX_CACHE_SIZE+qt.MAX_CACHE_OFFSET){var xn=this.keys.reduce(function(di,ci){var cr=(0,r.Z)(di,2),Mr=cr[1];return Sr.internalGet(ci)[1]<Mr?[ci,Sr.internalGet(ci)[1]]:di},[this.keys[0],this.cacheCallTimes]),Gn=(0,r.Z)(xn,1),Bn=Gn[0];this.delete(Bn)}this.keys.push(ir)}var Kn=this.cache;ir.forEach(function(di,ci){if(ci===ir.length-1)Kn.set(di,{value:[hr,Sr.cacheCallTimes++]});else{var cr=Kn.get(di);cr?cr.map||(cr.map=new Map):Kn.set(di,{map:new Map}),Kn=Kn.get(di).map}})}},{key:"deleteByPath",value:function(ir,hr){var Sr=ir.get(hr[0]);if(hr.length===1){var xn;return Sr.map?ir.set(hr[0],{map:Sr.map}):ir.delete(hr[0]),(xn=Sr.value)===null||xn===void 0?void 0:xn[0]}var Gn=this.deleteByPath(Sr.map,hr.slice(1));return(!Sr.map||Sr.map.size===0)&&!Sr.value&&ir.delete(hr[0]),Gn}},{key:"delete",value:function(ir){if(this.has(ir))return this.keys=this.keys.filter(function(hr){return!Ze(hr,ir)}),this.deleteByPath(this.cache,ir)}}]),qt}();(0,i.Z)(Ne,"MAX_CACHE_SIZE",20),(0,i.Z)(Ne,"MAX_CACHE_OFFSET",5);var Bt=e(48736),yt=0,It=function(){function qt(dr){(0,m.Z)(this,qt),(0,i.Z)(this,"derivatives",void 0),(0,i.Z)(this,"id",void 0),this.derivatives=Array.isArray(dr)?dr:[dr],this.id=yt,dr.length===0&&(0,Bt.Kp)(dr.length>0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),yt+=1}return(0,b.Z)(qt,[{key:"getDerivativeToken",value:function(ir){return this.derivatives.reduce(function(hr,Sr){return Sr(ir,hr)},void 0)}}]),qt}(),rr=new Ne;function Yt(qt){var dr=Array.isArray(qt)?qt:[qt];return rr.has(dr)||rr.set(dr,new It(dr)),rr.get(dr)}var ur=new WeakMap,We={};function Pt(qt,dr){for(var ir=ur,hr=0;hr<dr.length;hr+=1){var Sr=dr[hr];ir.has(Sr)||ir.set(Sr,new WeakMap),ir=ir.get(Sr)}return ir.has(We)||ir.set(We,qt()),ir.get(We)}var zt=new WeakMap;function nt(qt){var dr=zt.get(qt)||"";return dr||(Object.keys(qt).forEach(function(ir){var hr=qt[ir];dr+=ir,hr instanceof It?dr+=hr.id:hr&&(0,oe.Z)(hr)==="object"?dr+=nt(hr):dr+=hr}),dr=o(dr),zt.set(qt,dr)),dr}function Et(qt,dr){return o("".concat(dr,"_").concat(nt(qt)))}var ht="random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,""),Je="_bAmBoO_";function Ue(qt,dr,ir){if((0,q.Z)()){var hr,Sr;(0,h.hq)(qt,ht);var xn=document.createElement("div");xn.style.position="fixed",xn.style.left="0",xn.style.top="0",dr==null||dr(xn),document.body.appendChild(xn);var Gn=ir?ir(xn):(hr=getComputedStyle(xn).content)===null||hr===void 0?void 0:hr.includes(Je);return(Sr=xn.parentNode)===null||Sr===void 0||Sr.removeChild(xn),(0,h.jL)(ht),Gn}return!1}var ge=null;function Se(){return ge===void 0&&(ge=Ue("@layer ".concat(ht," { .").concat(ht,' { content: "').concat(Je,'"!important; } }'),function(qt){qt.className=ht})),ge}var Le=void 0;function je(){return Le===void 0&&(Le=Ue(":where(.".concat(ht,') { content: "').concat(Je,'"!important; }'),function(qt){qt.className=ht})),Le}var He=void 0;function rt(){return He===void 0&&(He=Ue(".".concat(ht," { inset-block: 93px !important; }"),function(qt){qt.className=ht},function(qt){return getComputedStyle(qt).bottom==="93px"})),He}var lt=(0,q.Z)();function Kt(qt){return typeof qt=="number"?"".concat(qt,"px"):qt}function Wt(qt,dr,ir){var hr=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Sr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(Sr)return qt;var xn=(0,c.Z)((0,c.Z)({},hr),{},(0,i.Z)((0,i.Z)({},M,dr),B,ir)),Gn=Object.keys(xn).map(function(Bn){var Kn=xn[Bn];return Kn?"".concat(Bn,'="').concat(Kn,'"'):null}).filter(function(Bn){return Bn}).join(" ");return"<style ".concat(Gn,">").concat(qt,"</style>")}var Ae=function(dr){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(ir?"".concat(ir,"-"):"").concat(dr).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(dr,ir,hr){return Object.keys(dr).length?".".concat(ir).concat(hr!=null&&hr.scope?".".concat(hr.scope):"","{").concat(Object.entries(dr).map(function(Sr){var xn=(0,r.Z)(Sr,2),Gn=xn[0],Bn=xn[1];return"".concat(Gn,":").concat(Bn,";")}).join(""),"}"):""},Vt=function(dr,ir,hr){var Sr={},xn={};return Object.entries(dr).forEach(function(Gn){var Bn,Kn,di=(0,r.Z)(Gn,2),ci=di[0],cr=di[1];if(hr!=null&&(Bn=hr.preserve)!==null&&Bn!==void 0&&Bn[ci])xn[ci]=cr;else if((typeof cr=="string"||typeof cr=="number")&&!(hr!=null&&(Kn=hr.ignore)!==null&&Kn!==void 0&&Kn[ci])){var Mr,Fr=Ae(ci,hr==null?void 0:hr.prefix);Sr[Fr]=typeof cr=="number"&&!(hr!=null&&(Mr=hr.unitless)!==null&&Mr!==void 0&&Mr[ci])?"".concat(cr,"px"):String(cr),xn[ci]="var(".concat(Fr,")")}}),[xn,qe(Sr,ir,{scope:hr==null?void 0:hr.scope})]},kt=e(34280),Ht=(0,c.Z)({},a),$t=Ht.useInsertionEffect,Tt=function(dr,ir,hr){u.useMemo(dr,hr),(0,kt.Z)(function(){return ir(!0)},hr)},Xt=$t?function(qt,dr,ir){return $t(function(){return qt(),dr()},ir)}:Tt,Ge=Xt,ce=(0,c.Z)({},a),pe=ce.useInsertionEffect,Dt=function(dr){var ir=[],hr=!1;function Sr(xn){hr||ir.push(xn)}return u.useEffect(function(){return hr=!1,function(){hr=!0,ir.length&&ir.forEach(function(xn){return xn()})}},dr),Sr},Ce=function(){return function(dr){dr()}},ct=typeof pe!="undefined"?Dt:Ce,Zt=ct;function St(){return!1}var Ie=!1;function wt(){return Ie}var be=St;if(0)var Ye,vt;function Lt(qt,dr,ir,hr,Sr){var xn=u.useContext(ne),Gn=xn.cache,Bn=[qt].concat((0,l.Z)(dr)),Kn=k(Bn),di=Zt([Kn]),ci=be(),cr=function(In){Gn.opUpdate(Kn,function(pt){var $n=pt||[void 0,void 0],Vn=(0,r.Z)($n,2),zi=Vn[0],Yi=zi===void 0?0:zi,zr=Vn[1],pa=zr,Ji=pa||ir(),Ca=[Yi,Ji];return In?In(Ca):Ca})};u.useMemo(function(){cr()},[Kn]);var Mr=Gn.opGet(Kn),Fr=Mr[1];return Ge(function(){Sr==null||Sr(Fr)},function(Pn){return cr(function(In){var pt=(0,r.Z)(In,2),$n=pt[0],Vn=pt[1];return Pn&&$n===0&&(Sr==null||Sr(Fr)),[$n+1,Vn]}),function(){Gn.opUpdate(Kn,function(In){var pt=In||[],$n=(0,r.Z)(pt,2),Vn=$n[0],zi=Vn===void 0?0:Vn,Yi=$n[1],zr=zi-1;return zr===0?(di(function(){(Pn||!Gn.opGet(Kn))&&(hr==null||hr(Yi,!1))}),null):[zi-1,Yi]})}},[Kn]),Fr}var Me={},Or="css",At=new Map;function Yr(qt){At.set(qt,(At.get(qt)||0)+1)}function rn(qt,dr){if(typeof document!="undefined"){var ir=document.querySelectorAll("style[".concat(M,'="').concat(qt,'"]'));ir.forEach(function(hr){if(hr[G]===dr){var Sr;(Sr=hr.parentNode)===null||Sr===void 0||Sr.removeChild(hr)}})}}var wr=0;function jr(qt,dr){At.set(qt,(At.get(qt)||0)-1);var ir=new Set;At.forEach(function(hr,Sr){hr<=0&&ir.add(Sr)}),At.size-ir.size>wr&&ir.forEach(function(hr){rn(hr,dr),At.delete(hr)})}var mr=function(dr,ir,hr,Sr){var xn=hr.getDerivativeToken(dr),Gn=(0,c.Z)((0,c.Z)({},xn),ir);return Sr&&(Gn=Sr(Gn)),Gn},Zr="token";function un(qt,dr){var ir=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},hr=(0,u.useContext)(ne),Sr=hr.cache.instanceId,xn=hr.container,Gn=ir.salt,Bn=Gn===void 0?"":Gn,Kn=ir.override,di=Kn===void 0?Me:Kn,ci=ir.formatToken,cr=ir.getComputedToken,Mr=ir.cssVar,Fr=Pt(function(){return Object.assign.apply(Object,[{}].concat((0,l.Z)(dr)))},dr),Pn=nt(Fr),In=nt(di),pt=Mr?nt(Mr):"",$n=Lt(Zr,[Bn,qt.id,Pn,In,pt],function(){var Vn,zi=cr?cr(Fr,di,qt):mr(Fr,di,qt,ci),Yi=(0,c.Z)({},zi),zr="";if(Mr){var pa=Vt(zi,Mr.key,{prefix:Mr.prefix,ignore:Mr.ignore,unitless:Mr.unitless,preserve:Mr.preserve}),Ji=(0,r.Z)(pa,2);zi=Ji[0],zr=Ji[1]}var Ca=Et(zi,Bn);zi._tokenKey=Ca,Yi._tokenKey=Et(Yi,Bn);var hs=(Vn=Mr==null?void 0:Mr.key)!==null&&Vn!==void 0?Vn:Ca;zi._themeKey=hs,Yr(hs);var Rs="".concat(Or,"-").concat(o(Ca));return zi._hashId=Rs,[zi,Rs,Yi,zr,(Mr==null?void 0:Mr.key)||""]},function(Vn){jr(Vn[0]._themeKey,Sr)},function(Vn){var zi=(0,r.Z)(Vn,4),Yi=zi[0],zr=zi[3];if(Mr&&zr){var pa=(0,h.hq)(zr,o("css-variables-".concat(Yi._themeKey)),{mark:B,prepend:"queue",attachTo:xn,priority:-999});pa[G]=Sr,pa.setAttribute(M,Yi._themeKey)}});return $n}var mn=function(dr,ir,hr){var Sr=(0,r.Z)(dr,5),xn=Sr[2],Gn=Sr[3],Bn=Sr[4],Kn=hr||{},di=Kn.plain;if(!Gn)return null;var ci=xn._tokenKey,cr=-999,Mr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(cr)},Fr=Wt(Gn,Bn,ci,Mr,di);return[cr,ci,Fr]},sr=e(54476),Rt={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},_t=Rt,gt="-ms-",jt="-moz-",Ar="-webkit-",yr="comm",it="rule",Nr="decl",An="@page",Jn="@media",gr="@import",nn="@charset",vn="@viewport",Wn="@supports",si="@document",gi="@namespace",aa="@keyframes",ui="@font-face",Ni="@counter-style",mi="@font-feature-values",Pi="@layer",Ra="@scope",fi=Math.abs,Hi=String.fromCharCode,bt=Object.assign;function ut(qt,dr){return Ti(qt,0)^45?(((dr<<2^Ti(qt,0))<<2^Ti(qt,1))<<2^Ti(qt,2))<<2^Ti(qt,3):0}function ii(qt){return qt.trim()}function Si(qt,dr){return(qt=dr.exec(qt))?qt[0]:qt}function li(qt,dr,ir){return qt.replace(dr,ir)}function sa(qt,dr,ir){return qt.indexOf(dr,ir)}function Ti(qt,dr){return qt.charCodeAt(dr)|0}function pi(qt,dr,ir){return qt.slice(dr,ir)}function Rn(qt){return qt.length}function Jt(qt){return qt.length}function dt(qt,dr){return dr.push(qt),qt}function tt(qt,dr){return qt.map(dr).join("")}function Ot(qt,dr){return qt.filter(function(ir){return!Si(ir,dr)})}function mt(qt,dr){for(var ir="",hr=0;hr<qt.length;hr++)ir+=dr(qt[hr],hr,qt,dr)||"";return ir}function or(qt,dr,ir,hr){switch(qt.type){case Pi:if(qt.children.length)break;case gr:case gi:case Nr:return qt.return=qt.return||qt.value;case yr:return"";case aa:return qt.return=qt.value+"{"+mt(qt.children,hr)+"}";case it:if(!Rn(qt.value=qt.props.join(",")))return""}return Rn(ir=mt(qt.children,hr))?qt.return=qt.value+"{"+ir+"}":""}var lr=1,Ir=1,Hr=0,ze=0,et=0,xe="";function at(qt,dr,ir,hr,Sr,xn,Gn,Bn){return{value:qt,root:dr,parent:ir,type:hr,props:Sr,children:xn,line:lr,column:Ir,length:Gn,return:"",siblings:Bn}}function tr(qt,dr){return assign(at("",null,null,"",null,null,0,qt.siblings),qt,{length:-qt.length},dr)}function Cr(qt){for(;qt.root;)qt=tr(qt.root,{children:[qt]});append(qt,qt.siblings)}function kr(){return et}function Pr(){return et=ze>0?Ti(xe,--ze):0,Ir--,et===10&&(Ir=1,lr--),et}function Rr(){return et=ze<Hr?Ti(xe,ze++):0,Ir++,et===10&&(Ir=1,lr++),et}function Tn(){return Ti(xe,ze)}function Tr(){return ze}function pn(qt,dr){return pi(xe,qt,dr)}function sn(qt){switch(qt){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ln(qt){return lr=Ir=1,Hr=Rn(xe=qt),ze=0,[]}function Ln(qt){return xe="",qt}function Ia(qt){return ii(pn(ze-1,Vi(qt===91?qt+2:qt===40?qt+1:qt)))}function ji(qt){return Ln(En(ln(qt)))}function Ii(qt){for(;(et=Tn())&&et<33;)Rr();return sn(qt)>2||sn(et)>3?"":" "}function En(qt){for(;Rr();)switch(sn(et)){case 0:append(Gs(ze-1),qt);break;case 2:append(Ia(et),qt);break;default:append(from(et),qt)}return qt}function yi(qt,dr){for(;--dr&&Rr()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return pn(qt,Tr()+(dr<6&&Tn()==32&&Rr()==32))}function Vi(qt){for(;Rr();)switch(et){case qt:return ze;case 34:case 39:qt!==34&&qt!==39&&Vi(et);break;case 40:qt===41&&Vi(qt);break;case 92:Rr();break}return ze}function Ea(qt,dr){for(;Rr()&&qt+et!==57;)if(qt+et===84&&Tn()===47)break;return"/*"+pn(dr,ze-1)+"*"+Hi(qt===47?qt:Rr())}function Gs(qt){for(;!sn(Tn());)Rr();return pn(qt,ze)}function $a(qt){return Ln(Bs("",null,null,null,[""],qt=ln(qt),0,[0],qt))}function Bs(qt,dr,ir,hr,Sr,xn,Gn,Bn,Kn){for(var di=0,ci=0,cr=Gn,Mr=0,Fr=0,Pn=0,In=1,pt=1,$n=1,Vn=0,zi="",Yi=Sr,zr=xn,pa=hr,Ji=zi;pt;)switch(Pn=Vn,Vn=Rr()){case 40:if(Pn!=108&&Ti(Ji,cr-1)==58){sa(Ji+=li(Ia(Vn),"&","&\f"),"&\f",fi(di?Bn[di-1]:0))!=-1&&($n=-1);break}case 34:case 39:case 91:Ji+=Ia(Vn);break;case 9:case 10:case 13:case 32:Ji+=Ii(Pn);break;case 92:Ji+=yi(Tr()-1,7);continue;case 47:switch(Tn()){case 42:case 47:dt(ja(Ea(Rr(),Tr()),dr,ir,Kn),Kn),(sn(Pn||1)==5||sn(Tn()||1)==5)&&Rn(Ji)&&pi(Ji,-1,void 0)!==" "&&(Ji+=" ");break;default:Ji+="/"}break;case 123*In:Bn[di++]=Rn(Ji)*$n;case 125*In:case 59:case 0:switch(Vn){case 0:case 125:pt=0;case 59+ci:$n==-1&&(Ji=li(Ji,/\f/g,"")),Fr>0&&(Rn(Ji)-cr||In===0&&Pn===47)&&dt(Fr>32?Hs(Ji+";",hr,ir,cr-1,Kn):Hs(li(Ji," ","")+";",hr,ir,cr-2,Kn),Kn);break;case 59:Ji+=";";default:if(dt(pa=ro(Ji,dr,ir,di,ci,Sr,Bn,zi,Yi=[],zr=[],cr,xn),xn),Vn===123)if(ci===0)Bs(Ji,dr,pa,pa,Yi,xn,cr,Bn,zr);else{switch(Mr){case 99:if(Ti(Ji,3)===110)break;case 108:if(Ti(Ji,2)===97)break;default:ci=0;case 100:case 109:case 115:}ci?Bs(qt,pa,pa,hr&&dt(ro(qt,pa,pa,0,0,Sr,Bn,zi,Sr,Yi=[],cr,zr),zr),Sr,zr,cr,Bn,hr?Yi:zr):Bs(Ji,pa,pa,pa,[""],zr,0,Bn,zr)}}di=ci=Fr=0,In=$n=1,zi=Ji="",cr=Gn;break;case 58:cr=1+Rn(Ji),Fr=Pn;default:if(In<1){if(Vn==123)--In;else if(Vn==125&&In++==0&&Pr()==125)continue}switch(Ji+=Hi(Vn),Vn*In){case 38:$n=ci>0?1:(Ji+="\f",-1);break;case 44:Bn[di++]=(Rn(Ji)-1)*$n,$n=1;break;case 64:Tn()===45&&(Ji+=Ia(Rr())),Mr=Tn(),ci=cr=Rn(zi=Ji+=Gs(Tr())),Vn++;break;case 45:Pn===45&&Rn(Ji)==2&&(In=0)}}return xn}function ro(qt,dr,ir,hr,Sr,xn,Gn,Bn,Kn,di,ci,cr){for(var Mr=Sr-1,Fr=Sr===0?xn:[""],Pn=Jt(Fr),In=0,pt=0,$n=0;In<hr;++In)for(var Vn=0,zi=pi(qt,Mr+1,Mr=fi(pt=Gn[In])),Yi=qt;Vn<Pn;++Vn)(Yi=ii(pt>0?Fr[Vn]+" "+zi:li(zi,/&\f/g,Fr[Vn])))&&(Kn[$n++]=Yi);return at(qt,dr,ir,Sr===0?it:Bn,Kn,di,ci,cr)}function ja(qt,dr,ir,hr){return at(qt,dr,ir,yr,Hi(kr()),pi(qt,2,-2),0,hr)}function Hs(qt,dr,ir,hr,Sr){return at(qt,dr,ir,Nr,pi(qt,0,hr),pi(qt,hr+1,-1),hr,Sr)}function ya(qt,dr){var ir=dr.path,hr=dr.parentSelectors;(0,Bt.ZP)(!1,"[Ant Design CSS-in-JS] ".concat(ir?"Error in ".concat(ir,": "):"").concat(qt).concat(hr.length?" Selector: ".concat(hr.join(" | ")):""))}var cs=function(dr,ir,hr){if(dr==="content"){var Sr=/(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,xn=["normal","none","initial","inherit","unset"];(typeof ir!="string"||xn.indexOf(ir)===-1&&!Sr.test(ir)&&(ir.charAt(0)!==ir.charAt(ir.length-1)||ir.charAt(0)!=='"'&&ir.charAt(0)!=="'"))&&lintWarning("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"".concat(ir,"\"'`."),hr)}},fs=null,Li=function(dr,ir,hr){dr==="animation"&&hr.hashId&&ir!=="none"&&lintWarning("You seem to be using hashed animation '".concat(ir,"', in which case 'animationName' with Keyframe as value is recommended."),hr)},ra=null;function ks(qt){var dr,ir=((dr=qt.match(/:not\(([^)]*)\)/))===null||dr===void 0?void 0:dr[1])||"",hr=ir.split(/(\[[^[]*])|(?=[.#])/).filter(function(Sr){return Sr});return hr.length>1}function Mo(qt){return qt.parentSelectors.reduce(function(dr,ir){return dr?ir.includes("&")?ir.replace(/&/g,dr):"".concat(dr," ").concat(ir):ir},"")}var Ya=function(dr,ir,hr){var Sr=Mo(hr),xn=Sr.match(/:not\([^)]*\)/g)||[];xn.length>0&&xn.some(ks)&&ya("Concat ':not' selector not support in legacy browsers.",hr)},Ns=Ya,is=function(dr,ir,hr){switch(dr){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":ya("You seem to be using non-logical property '".concat(dr,"' 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."),hr);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof ir=="string"){var Sr=ir.split(" ").map(function(Bn){return Bn.trim()});Sr.length===4&&Sr[1]!==Sr[3]&&ya("You seem to be using '".concat(dr,"' property with different left ").concat(dr," and right ").concat(dr,", 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."),hr)}return;case"clear":case"textAlign":(ir==="left"||ir==="right")&&ya("You seem to be using non-logical value '".concat(ir,"' of ").concat(dr,", 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."),hr);return;case"borderRadius":if(typeof ir=="string"){var xn=ir.split("/").map(function(Bn){return Bn.trim()}),Gn=xn.reduce(function(Bn,Kn){if(Bn)return Bn;var di=Kn.split(" ").map(function(ci){return ci.trim()});return di.length>=2&&di[0]!==di[1]||di.length===3&&di[1]!==di[2]||di.length===4&&di[2]!==di[3]?!0:Bn},!1);Gn&&ya("You seem to be using non-logical value '".concat(ir,"' of ").concat(dr,", 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."),hr)}return;default:}},fo=is,bn=function(dr,ir,hr){(typeof ir=="string"&&/NaN/g.test(ir)||Number.isNaN(ir))&&ya("Unexpected 'NaN' in property '".concat(dr,": ").concat(ir,"'."),hr)},as=bn,Ps=function(dr,ir,hr){hr.parentSelectors.some(function(Sr){var xn=Sr.split(",");return xn.some(function(Gn){return Gn.split("&").length>2})})&&ya("Should not use more than one `&` in a selector.",hr)},Is=Ps,oa="data-ant-cssinjs-cache-path",ss="_FILE_STYLE__";function Ja(qt){return Object.keys(qt).map(function(dr){var ir=qt[dr];return"".concat(dr,":").concat(ir)}).join(";")}var $s,ho=!0;function po(qt){var dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;$s=qt,ho=dr}function Fo(){if(!$s&&($s={},(0,q.Z)())){var qt=document.createElement("div");qt.className=oa,qt.style.position="fixed",qt.style.visibility="hidden",qt.style.top="-9999px",document.body.appendChild(qt);var dr=getComputedStyle(qt).content||"";dr=dr.replace(/^"/,"").replace(/"$/,""),dr.split(";").forEach(function(Sr){var xn=Sr.split(":"),Gn=(0,r.Z)(xn,2),Bn=Gn[0],Kn=Gn[1];$s[Bn]=Kn});var ir=document.querySelector("style[".concat(oa,"]"));if(ir){var hr;ho=!1,(hr=ir.parentNode)===null||hr===void 0||hr.removeChild(ir)}document.body.removeChild(qt)}}function tu(qt){return Fo(),!!$s[qt]}function zo(qt){var dr=$s[qt],ir=null;if(dr&&(0,q.Z)())if(ho)ir=ss;else{var hr=document.querySelector("style[".concat(B,'="').concat($s[qt],'"]'));hr?ir=hr.innerHTML:delete $s[qt]}return[ir,dr]}var Io="_skip_check_",Zo="_multi_value_";function ru(qt){var dr=mt($a(qt),or);return dr.replace(/\{%%%\:[^;];}/g,";")}function Ho(qt){return(0,oe.Z)(qt)==="object"&&qt&&(Io in qt||Zo in qt)}function ns(qt,dr,ir){if(!dr)return qt;var hr=".".concat(dr),Sr=ir==="low"?":where(".concat(hr,")"):hr,xn=qt.split(",").map(function(Gn){var Bn,Kn=Gn.trim().split(/\s+/),di=Kn[0]||"",ci=((Bn=di.match(/^\w+/))===null||Bn===void 0?void 0:Bn[0])||"";return di="".concat(ci).concat(Sr).concat(di.slice(ci.length)),[di].concat((0,l.Z)(Kn.slice(1))).join(" ")});return xn.join(",")}var oi=function qt(dr){var ir=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},Sr=hr.root,xn=hr.injectHash,Gn=hr.parentSelectors,Bn=ir.hashId,Kn=ir.layer,di=ir.path,ci=ir.hashPriority,cr=ir.transformers,Mr=cr===void 0?[]:cr,Fr=ir.linters,Pn=Fr===void 0?[]:Fr,In="",pt={};function $n(Yi){var zr=Yi.getName(Bn);if(!pt[zr]){var pa=qt(Yi.style,ir,{root:!1,parentSelectors:Gn}),Ji=(0,r.Z)(pa,1),Ca=Ji[0];pt[zr]="@keyframes ".concat(Yi.getName(Bn)).concat(Ca)}}function Vn(Yi){var zr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Yi.forEach(function(pa){Array.isArray(pa)?Vn(pa,zr):pa&&zr.push(pa)}),zr}var zi=Vn(Array.isArray(dr)?dr:[dr]);return zi.forEach(function(Yi){var zr=typeof Yi=="string"&&!Sr?{}:Yi;if(typeof zr=="string")In+="".concat(zr,`
|
|
|
`);else if(zr._keyframe)$n(zr);else{var pa=Mr.reduce(function(Ji,Ca){var hs;return(Ca==null||(hs=Ca.visit)===null||hs===void 0?void 0:hs.call(Ca,Ji))||Ji},zr);Object.keys(pa).forEach(function(Ji){var Ca=pa[Ji];if((0,oe.Z)(Ca)==="object"&&Ca&&(Ji!=="animationName"||!Ca._keyframe)&&!Ho(Ca)){var hs=!1,Rs=Ji.trim(),vi=!1;(Sr||xn)&&Bn?Rs.startsWith("@")?hs=!0:Rs==="&"?Rs=ns("",Bn,ci):Rs=ns(Ji,Bn,ci):Sr&&!Bn&&(Rs==="&"||Rs==="")&&(Rs="",vi=!0);var ps=qt(Ca,ir,{root:vi,injectHash:hs,parentSelectors:[].concat((0,l.Z)(Gn),[Rs])}),lo=(0,r.Z)(ps,2),cn=lo[0],Wa=lo[1];pt=(0,c.Z)((0,c.Z)({},pt),Wa),In+="".concat(Rs).concat(cn)}else{let Hn=function(Ls,no){var Xe=Ls.replace(/[A-Z]/g,function(Mt){return"-".concat(Mt.toLowerCase())}),Qe=no;!_t[Ls]&&typeof Qe=="number"&&Qe!==0&&(Qe="".concat(Qe,"px")),Ls==="animationName"&&no!==null&&no!==void 0&&no._keyframe&&($n(no),Qe=no.getName(Bn)),In+="".concat(Xe,":").concat(Qe,";")};var Ks,mo=(Ks=Ca==null?void 0:Ca.value)!==null&&Ks!==void 0?Ks:Ca;(0,oe.Z)(Ca)==="object"&&Ca!==null&&Ca!==void 0&&Ca[Zo]&&Array.isArray(mo)?mo.forEach(function(Ls){Hn(Ji,Ls)}):Hn(Ji,mo)}})}}),Sr?Kn&&(In&&(In="@layer ".concat(Kn.name," {").concat(In,"}")),Kn.dependencies&&(pt["@layer ".concat(Kn.name)]=Kn.dependencies.map(function(Yi){return"@layer ".concat(Yi,", ").concat(Kn.name,";")}).join(`
|
|
|
`))):In="{".concat(In,"}"),[In,pt]};function _i(qt,dr){return o("".concat(qt.join("%")).concat(dr))}function es(){return null}var ts="style";function ds(qt,dr){var ir=qt.token,hr=qt.path,Sr=qt.hashId,xn=qt.layer,Gn=qt.nonce,Bn=qt.clientOnly,Kn=qt.order,di=Kn===void 0?0:Kn,ci=u.useContext(ne),cr=ci.autoClear,Mr=ci.mock,Fr=ci.defaultCache,Pn=ci.hashPriority,In=ci.container,pt=ci.ssrInline,$n=ci.transformers,Vn=ci.linters,zi=ci.cache,Yi=ci.layer,zr=ir._tokenKey,pa=[zr];Yi&&pa.push("layer"),pa.push.apply(pa,(0,l.Z)(hr));var Ji=lt,Ca=Lt(ts,pa,function(){var lo=pa.join("|");if(tu(lo)){var cn=zo(lo),Wa=(0,r.Z)(cn,2),Ks=Wa[0],mo=Wa[1];if(Ks)return[Ks,zr,mo,{},Bn,di]}var Hn=dr(),Ls=oi(Hn,{hashId:Sr,hashPriority:Pn,layer:Yi?xn:void 0,path:hr.join("-"),transformers:$n,linters:Vn}),no=(0,r.Z)(Ls,2),Xe=no[0],Qe=no[1],Mt=ru(Xe),Gt=_i(pa,Mt);return[Mt,zr,Gt,Qe,Bn,di]},function(lo,cn){var Wa=(0,r.Z)(lo,3),Ks=Wa[2];(cn||cr)&<&&(0,h.jL)(Ks,{mark:B,attachTo:In})},function(lo){var cn=(0,r.Z)(lo,4),Wa=cn[0],Ks=cn[1],mo=cn[2],Hn=cn[3];if(Ji&&Wa!==ss){var Ls={mark:B,prepend:Yi?!1:"queue",attachTo:In,priority:di},no=typeof Gn=="function"?Gn():Gn;no&&(Ls.csp={nonce:no});var Xe=[],Qe=[];Object.keys(Hn).forEach(function(Gt){Gt.startsWith("@layer")?Xe.push(Gt):Qe.push(Gt)}),Xe.forEach(function(Gt){(0,h.hq)(ru(Hn[Gt]),"_layer-".concat(Gt),(0,c.Z)((0,c.Z)({},Ls),{},{prepend:!0}))});var Mt=(0,h.hq)(Wa,mo,Ls);Mt[G]=zi.instanceId,Mt.setAttribute(M,zr),Qe.forEach(function(Gt){(0,h.hq)(ru(Hn[Gt]),"_effect-".concat(Gt),Ls)})}}),hs=(0,r.Z)(Ca,3),Rs=hs[0],vi=hs[1],ps=hs[2];return function(lo){var cn;return!pt||Ji||!Fr?cn=u.createElement(es,null):cn=u.createElement("style",(0,sr.Z)({},(0,i.Z)((0,i.Z)({},M,vi),B,ps),{dangerouslySetInnerHTML:{__html:Rs}})),u.createElement(u.Fragment,null,cn,lo)}}var Bo=function(dr,ir,hr){var Sr=(0,r.Z)(dr,6),xn=Sr[0],Gn=Sr[1],Bn=Sr[2],Kn=Sr[3],di=Sr[4],ci=Sr[5],cr=hr||{},Mr=cr.plain;if(di)return null;var Fr=xn,Pn={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ci)};return Fr=Wt(xn,Gn,Bn,Pn,Mr),Kn&&Object.keys(Kn).forEach(function(In){if(!ir[In]){ir[In]=!0;var pt=ru(Kn[In]),$n=Wt(pt,Gn,"_effect-".concat(In),Pn,Mr);In.startsWith("@layer")?Fr=$n+Fr:Fr+=$n}}),[ci,Bn,Fr]},Wo="cssVar",du=function(dr,ir){var hr=dr.key,Sr=dr.prefix,xn=dr.unitless,Gn=dr.ignore,Bn=dr.token,Kn=dr.scope,di=Kn===void 0?"":Kn,ci=(0,u.useContext)(ne),cr=ci.cache.instanceId,Mr=ci.container,Fr=Bn._tokenKey,Pn=[].concat((0,l.Z)(dr.path),[hr,di,Fr]),In=Lt(Wo,Pn,function(){var pt=ir(),$n=Vt(pt,hr,{prefix:Sr,unitless:xn,ignore:Gn,scope:di}),Vn=(0,r.Z)($n,2),zi=Vn[0],Yi=Vn[1],zr=_i(Pn,Yi);return[zi,Yi,zr,hr]},function(pt){var $n=(0,r.Z)(pt,3),Vn=$n[2];lt&&(0,h.jL)(Vn,{mark:B,attachTo:Mr})},function(pt){var $n=(0,r.Z)(pt,3),Vn=$n[1],zi=$n[2];if(Vn){var Yi=(0,h.hq)(Vn,zi,{mark:B,prepend:"queue",attachTo:Mr,priority:-999});Yi[G]=cr,Yi.setAttribute(M,hr)}});return In},js=function(dr,ir,hr){var Sr=(0,r.Z)(dr,4),xn=Sr[1],Gn=Sr[2],Bn=Sr[3],Kn=hr||{},di=Kn.plain;if(!xn)return null;var ci=-999,cr={"data-rc-order":"prependQueue","data-rc-priority":"".concat(ci)},Mr=Wt(xn,Bn,Gn,cr,di);return[ci,Gn,Mr]},No=du,nu=(0,i.Z)((0,i.Z)((0,i.Z)({},ts,Bo),Zr,mn),Wo,js);function yu(qt){return qt!==null}function Nu(qt,dr){var ir=typeof dr=="boolean"?{plain:dr}:dr||{},hr=ir.plain,Sr=hr===void 0?!1:hr,xn=ir.types,Gn=xn===void 0?["style","token","cssVar"]:xn,Bn=ir.once,Kn=Bn===void 0?!1:Bn,di=new RegExp("^(".concat((typeof Gn=="string"?[Gn]:Gn).join("|"),")%")),ci=Array.from(qt.cache.keys()).filter(function(Pn){return di.test(Pn)}),cr={},Mr={},Fr="";return ci.map(function(Pn){if(Kn&&qt.extracted.has(Pn))return null;var In=Pn.replace(di,"").replace(/%/g,"|"),pt=Pn.split("%"),$n=(0,r.Z)(pt,1),Vn=$n[0],zi=nu[Vn],Yi=zi(qt.cache.get(Pn)[1],cr,{plain:Sr});if(!Yi)return null;var zr=(0,r.Z)(Yi,3),pa=zr[0],Ji=zr[1],Ca=zr[2];return Pn.startsWith("style")&&(Mr[In]=Ji),qt.extracted.add(Pn),[pa,Ca]}).filter(yu).sort(function(Pn,In){var pt=(0,r.Z)(Pn,1),$n=pt[0],Vn=(0,r.Z)(In,1),zi=Vn[0];return $n-zi}).forEach(function(Pn){var In=(0,r.Z)(Pn,2),pt=In[1];Fr+=pt}),Fr+=Wt(".".concat(oa,'{content:"').concat(Ja(Mr),'";}'),void 0,void 0,(0,i.Z)({},oa,oa),Sr),Fr}var Ju=function(){function qt(dr,ir){(0,m.Z)(this,qt),(0,i.Z)(this,"name",void 0),(0,i.Z)(this,"style",void 0),(0,i.Z)(this,"_keyframe",!0),this.name=dr,this.style=ir}return(0,b.Z)(qt,[{key:"getName",value:function(){var ir=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ir?"".concat(ir,"-").concat(this.name):this.name}}]),qt}(),$o=Ju;function oo(qt){if(typeof qt=="number")return[[qt],!1];var dr=String(qt).trim(),ir=dr.match(/(.*)(!important)/),hr=(ir?ir[1]:dr).trim().split(/\s+/),Sr=[],xn=0;return[hr.reduce(function(Gn,Bn){if(Bn.includes("(")||Bn.includes(")")){var Kn=Bn.split("(").length-1,di=Bn.split(")").length-1;xn+=Kn-di}return xn>=0&&Sr.push(Bn),xn===0&&(Gn.push(Sr.join(" ")),Sr=[]),Gn},[]),!!ir]}function bu(qt){return qt.notSplit=!0,qt}var Do={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:bu(["borderTop","borderBottom"]),borderBlockStart:bu(["borderTop"]),borderBlockEnd:bu(["borderBottom"]),borderInline:bu(["borderLeft","borderRight"]),borderInlineStart:bu(["borderLeft"]),borderInlineEnd:bu(["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 Oo(qt,dr){var ir=qt;return dr&&(ir="".concat(ir," !important")),{_skip_check_:!0,value:ir}}var jo={visit:function(dr){var ir={};return Object.keys(dr).forEach(function(hr){var Sr=dr[hr],xn=Do[hr];if(xn&&(typeof Sr=="number"||typeof Sr=="string")){var Gn=oo(Sr),Bn=(0,r.Z)(Gn,2),Kn=Bn[0],di=Bn[1];xn.length&&xn.notSplit?xn.forEach(function(ci){ir[ci]=Oo(Sr,di)}):xn.length===1?ir[xn[0]]=Oo(Kn[0],di):xn.length===2?xn.forEach(function(ci,cr){var Mr;ir[ci]=Oo((Mr=Kn[cr])!==null&&Mr!==void 0?Mr:Kn[0],di)}):xn.length===4?xn.forEach(function(ci,cr){var Mr,Fr;ir[ci]=Oo((Mr=(Fr=Kn[cr])!==null&&Fr!==void 0?Fr:Kn[cr-2])!==null&&Mr!==void 0?Mr:Kn[0],di)}):ir[hr]=Sr}else ir[hr]=Sr}),ir}},Iu=jo,Vo=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function iu(qt,dr){var ir=Math.pow(10,dr+1),hr=Math.floor(qt*ir);return Math.round(hr/10)*10/ir}var uo=function(){var dr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ir=dr.rootValue,hr=ir===void 0?16:ir,Sr=dr.precision,xn=Sr===void 0?5:Sr,Gn=dr.mediaQuery,Bn=Gn===void 0?!1:Gn,Kn=function(cr,Mr){if(!Mr)return cr;var Fr=parseFloat(Mr);if(Fr<=1)return cr;var Pn=iu(Fr/hr,xn);return"".concat(Pn,"rem")},di=function(cr){var Mr=(0,c.Z)({},cr);return Object.entries(cr).forEach(function(Fr){var Pn=(0,r.Z)(Fr,2),In=Pn[0],pt=Pn[1];if(typeof pt=="string"&&pt.includes("px")){var $n=pt.replace(Vo,Kn);Mr[In]=$n}!_t[In]&&typeof pt=="number"&&pt!==0&&(Mr[In]="".concat(pt,"px").replace(Vo,Kn));var Vn=In.trim();if(Vn.startsWith("@")&&Vn.includes("px")&&Bn){var zi=In.replace(Vo,Kn);Mr[zi]=Mr[In],delete Mr[In]}}),Mr};return{visit:di}},Yo=uo,Du={supportModernCSS:function(){return je()&&rt()}}},7657:function(d,v,e){"use strict";e.d(v,{Z:function(){return le}});var r=e(54476),i=e(42978),l=e(20068),c=e(75931),f=e(59301),o=e(92310),h=e.n(o),u=e(30071),a=e(18418),x=e(33885),p=e(76190),y=e(810),m=e(96452),b=e(48736);function S(z){return z.replace(/-(.)/g,function($,ie){return ie.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($,ie){var me=z[ie];switch(ie){case"class":$.className=me,delete $.class;break;default:delete $[ie],$[S(ie)]=me}return $},{})}function P(z,$,ie){return ie?f.createElement(z.tag,(0,x.Z)((0,x.Z)({key:$},A(z.attrs)),ie),(z.children||[]).map(function(me,Pe){return P(me,"".concat($,"-").concat(z.tag,"-").concat(Pe))})):f.createElement(z.tag,(0,x.Z)({key:$},A(z.attrs)),(z.children||[]).map(function(me,Pe){return P(me,"".concat($,"-").concat(z.tag,"-").concat(Pe))}))}function M(z){return(0,u.generate)(z)[0]}function B(z){return z?Array.isArray(z)?z:[z]:[]}var N={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},G=`
|
|
|
.anticon {
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
color: inherit;
|
|
|
font-style: normal;
|
|
|
line-height: 0;
|
|
|
text-align: center;
|
|
|
text-transform: none;
|
|
|
vertical-align: -0.125em;
|
|
|
text-rendering: optimizeLegibility;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
}
|
|
|
|
|
|
.anticon > * {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.anticon svg {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.anticon::before {
|
|
|
display: none;
|
|
|
}
|
|
|
|
|
|
.anticon .anticon-icon {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
.anticon[tabindex] {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
.anticon-spin::before,
|
|
|
.anticon-spin {
|
|
|
display: inline-block;
|
|
|
-webkit-animation: loadingCircle 1s infinite linear;
|
|
|
animation: loadingCircle 1s infinite linear;
|
|
|
}
|
|
|
|
|
|
@-webkit-keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@keyframes loadingCircle {
|
|
|
100% {
|
|
|
-webkit-transform: rotate(360deg);
|
|
|
transform: rotate(360deg);
|
|
|
}
|
|
|
}
|
|
|
`,W=function($){var ie=(0,f.useContext)(a.Z),me=ie.csp,Pe=ie.prefixCls,De=ie.layer,Ze=G;Pe&&(Ze=Ze.replace(/anticon/g,Pe)),De&&(Ze="@layer ".concat(De,` {
|
|
|
`).concat(Ze,`
|
|
|
}`)),(0,f.useEffect)(function(){var Ne=$.current,Bt=(0,m.A)(Ne);(0,y.hq)(Ze,"@ant-design-icons",{prepend:!De,csp:me,attachTo:Bt})},[])},H=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function ne(z){var $=z.primaryColor,ie=z.secondaryColor;ae.primaryColor=$,ae.secondaryColor=ie||M($),ae.calculated=!!ie}function oe(){return(0,x.Z)({},ae)}var q=function($){var ie=$.icon,me=$.className,Pe=$.onClick,De=$.style,Ze=$.primaryColor,Ne=$.secondaryColor,Bt=(0,c.Z)($,H),yt=f.useRef(),It=ae;if(Ze&&(It={primaryColor:Ze,secondaryColor:Ne||M(Ze)}),W(yt),k(R(ie),"icon should be icon definiton, but got ".concat(ie)),!R(ie))return null;var rr=ie;return rr&&typeof rr.icon=="function"&&(rr=(0,x.Z)((0,x.Z)({},rr),{},{icon:rr.icon(It.primaryColor,It.secondaryColor)})),P(rr.icon,"svg-".concat(rr.name),(0,x.Z)((0,x.Z)({className:me,onClick:Pe,style:De,"data-icon":rr.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},Bt),{},{ref:yt}))};q.displayName="IconReact",q.getTwoToneColors=oe,q.setTwoToneColors=ne;var J=q;function K(z){var $=B(z),ie=(0,i.Z)($,2),me=ie[0],Pe=ie[1];return J.setTwoToneColors({primaryColor:me,secondaryColor:Pe})}function se(){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 ie=z.className,me=z.icon,Pe=z.spin,De=z.rotate,Ze=z.tabIndex,Ne=z.onClick,Bt=z.twoToneColor,yt=(0,c.Z)(z,ee),It=f.useContext(a.Z),rr=It.prefixCls,Yt=rr===void 0?"anticon":rr,ur=It.rootClassName,We=h()(ur,Yt,(0,l.Z)((0,l.Z)({},"".concat(Yt,"-").concat(me.name),!!me.name),"".concat(Yt,"-spin"),!!Pe||me.name==="loading"),ie),Pt=Ze;Pt===void 0&&Ne&&(Pt=-1);var zt=De?{msTransform:"rotate(".concat(De,"deg)"),transform:"rotate(".concat(De,"deg)")}:void 0,nt=B(Bt),Et=(0,i.Z)(nt,2),ht=Et[0],Je=Et[1];return f.createElement("span",(0,r.Z)({role:"img","aria-label":me.name},yt,{ref:$,tabIndex:Pt,onClick:Ne,className:We}),f.createElement(J,{icon:me,primaryColor:ht,secondaryColor:Je,style:zt}))});Q.displayName="AntdIcon",Q.getTwoToneColor=se,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(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},19248:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},99267:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},96512:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},78987:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},58617:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(54476),i=e(59301),l={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},c=l,f=e(7657),o=function(x,p){return i.createElement(f.Z,(0,r.Z)({},x,{ref:p,icon:c}))},h=i.forwardRef(o),u=h},12722:function(d,v,e){"use strict";e.d(v,{GC:function(){return x},T6:function(){return y},VD:function(){return m},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),P=Math.min(S,k,R),M=0,B=0,N=(A+P)/2;if(A===P)B=0,M=0;else{var G=A-P;switch(B=N>.5?G/(2-A-P):G/(A+P),A){case S:M=(k-R)/G+(k<R?6:0);break;case k:M=(R-S)/G+2;break;case R:M=(S-k)/G+4;break;default:break}M/=6}return{h:M,s:B,l:N}}function c(S,k,R){return R<0&&(R+=1),R>1&&(R-=1),R<.16666666666666666?S+(k-S)*(6*R):R<.5?k:R<.6666666666666666?S+(k-S)*(.6666666666666666-R)*6:S}function f(S,k,R){var A,P,M;if(S=(0,r.sh)(S,360),k=(0,r.sh)(k,100),R=(0,r.sh)(R,100),k===0)P=R,M=R,A=R;else{var B=R<.5?R*(1+k):R+k-R*k,N=2*R-B;A=c(N,B,S+.3333333333333333),P=c(N,B,S),M=c(N,B,S-.3333333333333333)}return{r:A*255,g:P*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),P=Math.min(S,k,R),M=0,B=A,N=A-P,G=A===0?0:N/A;if(A===P)M=0;else{switch(A){case S:M=(k-R)/N+(k<R?6:0);break;case k:M=(R-S)/N+2;break;case R:M=(S-k)/N+4;break;default:break}M/=6}return{h:M,s:G,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),P=S-A,M=R*(1-k),B=R*(1-P*k),N=R*(1-(1-P)*k),G=A%6,W=[R,B,M,M,N,R][G],H=[N,R,R,B,M,M][G],ae=[M,M,N,R,R,B][G];return{r:W*255,g:H*255,b:ae*255}}function u(S,k,R,A){var P=[(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&&P[0].startsWith(P[0].charAt(1))&&P[1].startsWith(P[1].charAt(1))&&P[2].startsWith(P[2].charAt(1))?P[0].charAt(0)+P[1].charAt(0)+P[2].charAt(0):P.join("")}function a(S,k,R,A,P){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 P&&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 P=[(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 P.join("")}function p(S){return Math.round(parseFloat(S)*255).toString(16)}function y(S){return m(S)/255}function m(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(m){var b={r:0,g:0,b:0},S=1,k=null,R=null,A=null,P=!1,M=!1;return typeof m=="string"&&(m=p(m)),typeof m=="object"&&(y(m.r)&&y(m.g)&&y(m.b)?(b=(0,r.rW)(m.r,m.g,m.b),P=!0,M=String(m.r).substr(-1)==="%"?"prgb":"rgb"):y(m.h)&&y(m.s)&&y(m.v)?(k=(0,l.JX)(m.s),R=(0,l.JX)(m.v),b=(0,r.WE)(m.h,k,R),P=!0,M="hsv"):y(m.h)&&y(m.s)&&y(m.l)&&(k=(0,l.JX)(m.s),A=(0,l.JX)(m.l),b=(0,r.ve)(m.h,k,A),P=!0,M="hsl"),Object.prototype.hasOwnProperty.call(m,"a")&&(S=m.a)),S=(0,l.Yq)(S),{ok:P,format:m.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(m){if(m=m.trim().toLowerCase(),m.length===0)return!1;var b=!1;if(i.R[m])m=i.R[m],b=!0;else if(m==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var S=x.rgb.exec(m);return S?{r:S[1],g:S[2],b:S[3]}:(S=x.rgba.exec(m),S?{r:S[1],g:S[2],b:S[3],a:S[4]}:(S=x.hsl.exec(m),S?{h:S[1],s:S[2],l:S[3]}:(S=x.hsla.exec(m),S?{h:S[1],s:S[2],l:S[3],a:S[4]}:(S=x.hsv.exec(m),S?{h:S[1],s:S[2],v:S[3]}:(S=x.hsva.exec(m),S?{h:S[1],s:S[2],v:S[3],a:S[4]}:(S=x.hex8.exec(m),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(m),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(m),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(m),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(m){return!!x.CSS_UNIT.exec(String(m))}},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,m=u.g/255,b=u.b/255;return y<=.03928?a=y/12.92:a=Math.pow((y+.055)/1.055,2.4),m<=.03928?x=m/12.92:x=Math.pow((m+.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],m=p[1];if(u===m)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,m={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(m)},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,m=[],b=1/u;u--;)m.push(new h({h:x,s:p,v:y})),y=(y+b)%1;return m},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,m=1;m<u;m++)p.push(new h({h:(x+m*y)%360,s:a.s,l:a.l}));return p},h.prototype.equals=function(u){return this.toRgbString()===new h(u).toRgbString()},h}();function o(h,u){return h===void 0&&(h=""),u===void 0&&(u={}),new f(h,u)}},12187:function(d,v,e){"use strict";e.d(v,{FZ:function(){return h},JX:function(){return o},V2:function(){return i},Yq:function(){return f},sh:function(){return r}});function r(u,a){l(u)&&(u="100%");var x=c(u);return u=a===360?u:Math.min(a,Math.max(0,parseFloat(u))),x&&(u=parseInt(String(u*a),10)/100),Math.abs(u-a)<1e-6?1:(a===360?u=(u<0?u%a+a:u%a)/parseFloat(String(a)):u=u%a/parseFloat(String(a)),u)}function i(u){return Math.min(1,Math.max(0,u))}function l(u){return typeof u=="string"&&u.indexOf(".")!==-1&&parseFloat(u)===1}function c(u){return typeof u=="string"&&u.indexOf("%")!==-1}function f(u){return u=parseFloat(u),(isNaN(u)||u<0||u>1)&&(u=1),u}function o(u){return u<=1?"".concat(Number(u)*100,"%"):u}function h(u){return u.length===1?"0"+u:String(u)}},43403:function(d,v,e){"use strict";e.d(v,{Z:function(){return W}});var r=e(42978),i=e(59301),l=e(4676),c=e(47273),f=e(48736),o=e(8654),h=i.createContext(null),u=h,a=e(94480),x=e(34280),p=[];function y(H,ae){var ne=i.useState(function(){if(!(0,c.Z)())return null;var me=document.createElement("div");return me}),oe=(0,r.Z)(ne,1),q=oe[0],J=i.useRef(!1),K=i.useContext(u),se=i.useState(p),ee=(0,r.Z)(se,2),Q=ee[0],le=ee[1],z=K||(J.current?void 0:function(me){le(function(Pe){var De=[me].concat((0,a.Z)(Pe));return De})});function $(){q.parentElement||document.body.appendChild(q),J.current=!0}function ie(){var me;(me=q.parentElement)===null||me===void 0||me.removeChild(q),J.current=!1}return(0,x.Z)(function(){return H?K?K($):$():ie(),ie},[H]),(0,x.Z)(function(){Q.length&&(Q.forEach(function(me){return me()}),le(p))},[Q]),[q,z]}var m=e(810),b=e(75152);function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var k="rc-util-locker-".concat(Date.now()),R=0;function A(H){var ae=!!H,ne=i.useState(function(){return R+=1,"".concat(k,"_").concat(R)}),oe=(0,r.Z)(ne,1),q=oe[0];(0,x.Z)(function(){if(ae){var J=(0,b.o)(document.body).width,K=S();(0,m.hq)(`
|
|
|
html body {
|
|
|
overflow-y: hidden;
|
|
|
`.concat(K?"width: calc(100% - ".concat(J,"px);"):"",`
|
|
|
}`),q)}else(0,m.jL)(q);return function(){(0,m.jL)(q)}},[ae,q])}var P=!1;function M(H){return typeof H=="boolean"&&(P=H),P}var B=function(ae){return ae===!1?!1:!(0,c.Z)()||!ae?null:typeof ae=="string"?document.querySelector(ae):typeof ae=="function"?ae():ae},N=i.forwardRef(function(H,ae){var ne=H.open,oe=H.autoLock,q=H.getContainer,J=H.debug,K=H.autoDestroy,se=K===void 0?!0:K,ee=H.children,Q=i.useState(ne),le=(0,r.Z)(Q,2),z=le[0],$=le[1],ie=z||ne;i.useEffect(function(){(se||ne)&&$(ne)},[ne,se]);var me=i.useState(function(){return B(q)}),Pe=(0,r.Z)(me,2),De=Pe[0],Ze=Pe[1];i.useEffect(function(){var nt=B(q);Ze(nt!=null?nt:null)});var Ne=y(ie&&!De,J),Bt=(0,r.Z)(Ne,2),yt=Bt[0],It=Bt[1],rr=De!=null?De:yt;A(oe&&ne&&(0,c.Z)()&&(rr===yt||rr===document.body));var Yt=null;if(ee&&(0,o.Yr)(ee)&&ae){var ur=ee;Yt=ur.ref}var We=(0,o.x1)(Yt,ae);if(!ie||!(0,c.Z)()||De===void 0)return null;var Pt=rr===!1||M(),zt=ee;return ae&&(zt=i.cloneElement(ee,{ref:We})),i.createElement(u.Provider,{value:It},Pt?zt:(0,l.createPortal)(zt,rr))}),G=N,W=G},35593:function(d,v,e){"use strict";e.d(v,{Z:function(){return zt}});var r=e(33885),i=e(42978),l=e(75931),c=e(43403),f=e(92310),o=e.n(f),h=e(29301),u=e(76846),a=e(96452),x=e(6089),p=e(80402),y=e(34280),m=e(49658),b=e(59301),S=e(54476),k=e(77900),R=e(8654);function A(nt){var Et=nt.prefixCls,ht=nt.align,Je=nt.arrow,Ue=nt.arrowPos,ge=Je||{},Se=ge.className,Le=ge.content,je=Ue.x,He=je===void 0?0:je,rt=Ue.y,lt=rt===void 0?0:rt,Kt=b.useRef();if(!ht||!ht.points)return null;var Wt={position:"absolute"};if(ht.autoArrow!==!1){var Ae=ht.points[0],qe=ht.points[1],Vt=Ae[0],kt=Ae[1],Ht=qe[0],$t=qe[1];Vt===Ht||!["t","b"].includes(Vt)?Wt.top=lt:Vt==="t"?Wt.top=0:Wt.bottom=0,kt===$t||!["l","r"].includes(kt)?Wt.left=He:kt==="l"?Wt.left=0:Wt.right=0}return b.createElement("div",{ref:Kt,className:o()("".concat(Et,"-arrow"),Se),style:Wt},Le)}function P(nt){var Et=nt.prefixCls,ht=nt.open,Je=nt.zIndex,Ue=nt.mask,ge=nt.motion;return Ue?b.createElement(k.default,(0,S.Z)({},ge,{motionAppear:!0,visible:ht,removeOnLeave:!0}),function(Se){var Le=Se.className;return b.createElement("div",{style:{zIndex:Je},className:o()("".concat(Et,"-mask"),Le)})}):null}var M=b.memo(function(nt){var Et=nt.children;return Et},function(nt,Et){return Et.cache}),B=M,N=b.forwardRef(function(nt,Et){var ht=nt.popup,Je=nt.className,Ue=nt.prefixCls,ge=nt.style,Se=nt.target,Le=nt.onVisibleChanged,je=nt.open,He=nt.keepDom,rt=nt.fresh,lt=nt.onClick,Kt=nt.mask,Wt=nt.arrow,Ae=nt.arrowPos,qe=nt.align,Vt=nt.motion,kt=nt.maskMotion,Ht=nt.forceRender,$t=nt.getPopupContainer,Tt=nt.autoDestroy,Xt=nt.portal,Ge=nt.zIndex,ce=nt.onMouseEnter,pe=nt.onMouseLeave,Dt=nt.onPointerEnter,Ce=nt.ready,ct=nt.offsetX,Zt=nt.offsetY,St=nt.offsetR,Ie=nt.offsetB,wt=nt.onAlign,be=nt.onPrepare,Ye=nt.stretch,vt=nt.targetWidth,Lt=nt.targetHeight,Me=typeof ht=="function"?ht():ht,Or=je||He,At=($t==null?void 0:$t.length)>0,Yr=b.useState(!$t||!At),rn=(0,i.Z)(Yr,2),wr=rn[0],jr=rn[1];if((0,y.Z)(function(){!wr&&At&&Se&&jr(!0)},[wr,At,Se]),!wr)return null;var mr="auto",Zr={left:"-1000vw",top:"-1000vh",right:mr,bottom:mr};if(Ce||!je){var un,mn=qe.points,sr=qe.dynamicInset||((un=qe._experimental)===null||un===void 0?void 0:un.dynamicInset),Rt=sr&&mn[0][1]==="r",_t=sr&&mn[0][0]==="b";Rt?(Zr.right=St,Zr.left=mr):(Zr.left=ct,Zr.right=mr),_t?(Zr.bottom=Ie,Zr.top=mr):(Zr.top=Zt,Zr.bottom=mr)}var gt={};return Ye&&(Ye.includes("height")&&Lt?gt.height=Lt:Ye.includes("minHeight")&&Lt&&(gt.minHeight=Lt),Ye.includes("width")&&vt?gt.width=vt:Ye.includes("minWidth")&&vt&&(gt.minWidth=vt)),je||(gt.pointerEvents="none"),b.createElement(Xt,{open:Ht||Or,getContainer:$t&&function(){return $t(Se)},autoDestroy:Tt},b.createElement(P,{prefixCls:Ue,open:je,zIndex:Ge,mask:Kt,motion:kt}),b.createElement(h.Z,{onResize:wt,disabled:!je},function(jt){return b.createElement(k.default,(0,S.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ht,leavedClassName:"".concat(Ue,"-hidden")},Vt,{onAppearPrepare:be,onEnterPrepare:be,visible:je,onVisibleChanged:function(yr){var it;Vt==null||(it=Vt.onVisibleChanged)===null||it===void 0||it.call(Vt,yr),Le(yr)}}),function(Ar,yr){var it=Ar.className,Nr=Ar.style,An=o()(Ue,it,Je);return b.createElement("div",{ref:(0,R.sQ)(jt,Et,yr),className:An,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(Ae.x||0,"px"),"--arrow-y":"".concat(Ae.y||0,"px")},Zr),gt),Nr),{},{boxSizing:"border-box",zIndex:Ge},ge),onMouseEnter:ce,onMouseLeave:pe,onPointerEnter:Dt,onClick:lt},Wt&&b.createElement(A,{prefixCls:Ue,arrow:Wt,arrowPos:Ae,align:qe}),b.createElement(B,{cache:!je&&!rt},Me))})}))}),G=N,W=b.forwardRef(function(nt,Et){var ht=nt.children,Je=nt.getTriggerDOMNode,Ue=(0,R.Yr)(ht),ge=b.useCallback(function(Le){(0,R.mH)(Et,Je?Je(Le):Le)},[Je]),Se=(0,R.x1)(ge,ht.ref);return Ue?b.cloneElement(ht,{ref:Se}):ht}),H=W,ae=b.createContext(null),ne=ae;function oe(nt){return nt?Array.isArray(nt)?nt:[nt]:[]}function q(nt,Et,ht,Je){return b.useMemo(function(){var Ue=oe(ht!=null?ht:Et),ge=oe(Je!=null?Je:Et),Se=new Set(Ue),Le=new Set(ge);return nt&&(Se.has("hover")&&(Se.delete("hover"),Se.add("click")),Le.has("hover")&&(Le.delete("hover"),Le.add("click"))),[Se,Le]},[nt,Et,ht,Je])}var J=e(29194);function K(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2?arguments[2]:void 0;return ht?nt[0]===Et[0]:nt[0]===Et[0]&&nt[1]===Et[1]}function se(nt,Et,ht,Je){for(var Ue=ht.points,ge=Object.keys(nt),Se=0;Se<ge.length;Se+=1){var Le,je=ge[Se];if(K((Le=nt[je])===null||Le===void 0?void 0:Le.points,Ue,Je))return"".concat(Et,"-placement-").concat(je)}return""}function ee(nt,Et,ht,Je){return Et||(ht?{motionName:"".concat(nt,"-").concat(ht)}:Je?{motionName:Je}:null)}function Q(nt){return nt.ownerDocument.defaultView}function le(nt){for(var Et=[],ht=nt==null?void 0:nt.parentElement,Je=["hidden","scroll","clip","auto"];ht;){var Ue=Q(ht).getComputedStyle(ht),ge=Ue.overflowX,Se=Ue.overflowY,Le=Ue.overflow;[ge,Se,Le].some(function(je){return Je.includes(je)})&&Et.push(ht),ht=ht.parentElement}return Et}function z(nt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(nt)?Et:nt}function $(nt){return z(parseFloat(nt),0)}function ie(nt,Et){var ht=(0,r.Z)({},nt);return(Et||[]).forEach(function(Je){if(!(Je instanceof HTMLBodyElement||Je instanceof HTMLHtmlElement)){var Ue=Q(Je).getComputedStyle(Je),ge=Ue.overflow,Se=Ue.overflowClipMargin,Le=Ue.borderTopWidth,je=Ue.borderBottomWidth,He=Ue.borderLeftWidth,rt=Ue.borderRightWidth,lt=Je.getBoundingClientRect(),Kt=Je.offsetHeight,Wt=Je.clientHeight,Ae=Je.offsetWidth,qe=Je.clientWidth,Vt=$(Le),kt=$(je),Ht=$(He),$t=$(rt),Tt=z(Math.round(lt.width/Ae*1e3)/1e3),Xt=z(Math.round(lt.height/Kt*1e3)/1e3),Ge=(Ae-qe-Ht-$t)*Tt,ce=(Kt-Wt-Vt-kt)*Xt,pe=Vt*Xt,Dt=kt*Xt,Ce=Ht*Tt,ct=$t*Tt,Zt=0,St=0;if(ge==="clip"){var Ie=$(Se);Zt=Ie*Tt,St=Ie*Xt}var wt=lt.x+Ce-Zt,be=lt.y+pe-St,Ye=wt+lt.width+2*Zt-Ce-ct-Ge,vt=be+lt.height+2*St-pe-Dt-ce;ht.left=Math.max(ht.left,wt),ht.top=Math.max(ht.top,be),ht.right=Math.min(ht.right,Ye),ht.bottom=Math.min(ht.bottom,vt)}}),ht}function me(nt){var Et=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ht="".concat(Et),Je=ht.match(/^(.*)\%$/);return Je?nt*(parseFloat(Je[1])/100):parseFloat(ht)}function Pe(nt,Et){var ht=Et||[],Je=(0,i.Z)(ht,2),Ue=Je[0],ge=Je[1];return[me(nt.width,Ue),me(nt.height,ge)]}function De(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[nt[0],nt[1]]}function Ze(nt,Et){var ht=Et[0],Je=Et[1],Ue,ge;return ht==="t"?ge=nt.y:ht==="b"?ge=nt.y+nt.height:ge=nt.y+nt.height/2,Je==="l"?Ue=nt.x:Je==="r"?Ue=nt.x+nt.width:Ue=nt.x+nt.width/2,{x:Ue,y:ge}}function Ne(nt,Et){var ht={t:"b",b:"t",l:"r",r:"l"};return nt.map(function(Je,Ue){return Ue===Et?ht[Je]||"c":Je}).join("")}function Bt(nt,Et,ht,Je,Ue,ge,Se){var Le=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Ue[Je]||{}}),je=(0,i.Z)(Le,2),He=je[0],rt=je[1],lt=b.useRef(0),Kt=b.useMemo(function(){return Et?le(Et):[]},[Et]),Wt=b.useRef({}),Ae=function(){Wt.current={}};nt||Ae();var qe=(0,x.Z)(function(){if(Et&&ht&&nt){let ss=function($s,ho){var po=arguments.length>2&&arguments[2]!==void 0?arguments[2]:An,Fo=Me.x+$s,tu=Me.y+ho,zo=Fo+un,Io=tu+Zr,Zo=Math.max(Fo,po.left),ru=Math.max(tu,po.top),Ho=Math.min(zo,po.right),ns=Math.min(Io,po.bottom);return Math.max(0,(Ho-Zo)*(ns-ru))},Ja=function(){tr=Me.y+Jt,Cr=tr+Zr,kr=Me.x+Rn,Pr=kr+un};var Ht,$t,Tt=Et,Xt=Tt.ownerDocument,Ge=Q(Tt),ce=Ge.getComputedStyle(Tt),pe=ce.width,Dt=ce.height,Ce=ce.position,ct=Tt.style.left,Zt=Tt.style.top,St=Tt.style.right,Ie=Tt.style.bottom,wt=Tt.style.overflow,be=(0,r.Z)((0,r.Z)({},Ue[Je]),ge),Ye=Xt.createElement("div");(Ht=Tt.parentElement)===null||Ht===void 0||Ht.appendChild(Ye),Ye.style.left="".concat(Tt.offsetLeft,"px"),Ye.style.top="".concat(Tt.offsetTop,"px"),Ye.style.position=Ce,Ye.style.height="".concat(Tt.offsetHeight,"px"),Ye.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 vt;if(Array.isArray(ht))vt={x:ht[0],y:ht[1],width:0,height:0};else{var Lt=ht.getBoundingClientRect();vt={x:Lt.x,y:Lt.y,width:Lt.width,height:Lt.height}}var Me=Tt.getBoundingClientRect(),Or=Xt.documentElement,At=Or.clientWidth,Yr=Or.clientHeight,rn=Or.scrollWidth,wr=Or.scrollHeight,jr=Or.scrollTop,mr=Or.scrollLeft,Zr=Me.height,un=Me.width,mn=vt.height,sr=vt.width,Rt={left:0,top:0,right:At,bottom:Yr},_t={left:-mr,top:-jr,right:rn-mr,bottom:wr-jr},gt=be.htmlRegion,jt="visible",Ar="visibleFirst";gt!=="scroll"&>!==Ar&&(gt=jt);var yr=gt===Ar,it=ie(_t,Kt),Nr=ie(Rt,Kt),An=gt===jt?Nr:it,Jn=yr?Nr:An;Tt.style.left="auto",Tt.style.top="auto",Tt.style.right="0",Tt.style.bottom="0";var gr=Tt.getBoundingClientRect();Tt.style.left=ct,Tt.style.top=Zt,Tt.style.right=St,Tt.style.bottom=Ie,Tt.style.overflow=wt,($t=Tt.parentElement)===null||$t===void 0||$t.removeChild(Ye);var nn=z(Math.round(un/parseFloat(pe)*1e3)/1e3),vn=z(Math.round(Zr/parseFloat(Dt)*1e3)/1e3);if(nn===0||vn===0||(0,u.Sh)(ht)&&!(0,J.Z)(ht))return;var Wn=be.offset,si=be.targetOffset,gi=Pe(Me,Wn),aa=(0,i.Z)(gi,2),ui=aa[0],Ni=aa[1],mi=Pe(vt,si),Pi=(0,i.Z)(mi,2),Ra=Pi[0],fi=Pi[1];vt.x-=Ra,vt.y-=fi;var Hi=be.points||[],bt=(0,i.Z)(Hi,2),ut=bt[0],ii=bt[1],Si=De(ii),li=De(ut),sa=Ze(vt,Si),Ti=Ze(Me,li),pi=(0,r.Z)({},be),Rn=sa.x-Ti.x+ui,Jt=sa.y-Ti.y+Ni,dt=ss(Rn,Jt),tt=ss(Rn,Jt,Nr),Ot=Ze(vt,["t","l"]),mt=Ze(Me,["t","l"]),or=Ze(vt,["b","r"]),lr=Ze(Me,["b","r"]),Ir=be.overflow||{},Hr=Ir.adjustX,ze=Ir.adjustY,et=Ir.shiftX,xe=Ir.shiftY,at=function(ho){return typeof ho=="boolean"?ho:ho>=0},tr,Cr,kr,Pr;Ja();var Rr=at(ze),Tn=li[0]===Si[0];if(Rr&&li[0]==="t"&&(Cr>Jn.bottom||Wt.current.bt)){var Tr=Jt;Tn?Tr-=Zr-mn:Tr=Ot.y-lr.y-Ni;var pn=ss(Rn,Tr),sn=ss(Rn,Tr,Nr);pn>dt||pn===dt&&(!yr||sn>=tt)?(Wt.current.bt=!0,Jt=Tr,Ni=-Ni,pi.points=[Ne(li,0),Ne(Si,0)]):Wt.current.bt=!1}if(Rr&&li[0]==="b"&&(tr<Jn.top||Wt.current.tb)){var ln=Jt;Tn?ln+=Zr-mn:ln=or.y-mt.y-Ni;var Ln=ss(Rn,ln),Ia=ss(Rn,ln,Nr);Ln>dt||Ln===dt&&(!yr||Ia>=tt)?(Wt.current.tb=!0,Jt=ln,Ni=-Ni,pi.points=[Ne(li,0),Ne(Si,0)]):Wt.current.tb=!1}var ji=at(Hr),Ii=li[1]===Si[1];if(ji&&li[1]==="l"&&(Pr>Jn.right||Wt.current.rl)){var En=Rn;Ii?En-=un-sr:En=Ot.x-lr.x-ui;var yi=ss(En,Jt),Vi=ss(En,Jt,Nr);yi>dt||yi===dt&&(!yr||Vi>=tt)?(Wt.current.rl=!0,Rn=En,ui=-ui,pi.points=[Ne(li,1),Ne(Si,1)]):Wt.current.rl=!1}if(ji&&li[1]==="r"&&(kr<Jn.left||Wt.current.lr)){var Ea=Rn;Ii?Ea+=un-sr:Ea=or.x-mt.x-ui;var Gs=ss(Ea,Jt),$a=ss(Ea,Jt,Nr);Gs>dt||Gs===dt&&(!yr||$a>=tt)?(Wt.current.lr=!0,Rn=Ea,ui=-ui,pi.points=[Ne(li,1),Ne(Si,1)]):Wt.current.lr=!1}Ja();var Bs=et===!0?0:et;typeof Bs=="number"&&(kr<Nr.left&&(Rn-=kr-Nr.left-ui,vt.x+sr<Nr.left+Bs&&(Rn+=vt.x-Nr.left+sr-Bs)),Pr>Nr.right&&(Rn-=Pr-Nr.right-ui,vt.x>Nr.right-Bs&&(Rn+=vt.x-Nr.right+Bs)));var ro=xe===!0?0:xe;typeof ro=="number"&&(tr<Nr.top&&(Jt-=tr-Nr.top-Ni,vt.y+mn<Nr.top+ro&&(Jt+=vt.y-Nr.top+mn-ro)),Cr>Nr.bottom&&(Jt-=Cr-Nr.bottom-Ni,vt.y>Nr.bottom-ro&&(Jt+=vt.y-Nr.bottom+ro)));var ja=Me.x+Rn,Hs=ja+un,ya=Me.y+Jt,cs=ya+Zr,fs=vt.x,Li=fs+sr,ra=vt.y,ks=ra+mn,Mo=Math.max(ja,fs),Ya=Math.min(Hs,Li),Ns=(Mo+Ya)/2,is=Ns-ja,fo=Math.max(ya,ra),bn=Math.min(cs,ks),as=(fo+bn)/2,Ps=as-ya;Se==null||Se(Et,pi);var Is=gr.right-Me.x-(Rn+Me.width),oa=gr.bottom-Me.y-(Jt+Me.height);rt({ready:!0,offsetX:Rn/nn,offsetY:Jt/vn,offsetR:Is/nn,offsetB:oa/vn,arrowX:is/nn,arrowY:Ps/vn,scaleX:nn,scaleY:vn,align:pi})}}),Vt=function(){lt.current+=1;var $t=lt.current;Promise.resolve().then(function(){lt.current===$t&&qe()})},kt=function(){rt(function($t){return(0,r.Z)((0,r.Z)({},$t),{},{ready:!1})})};return(0,y.Z)(kt,[Je]),(0,y.Z)(function(){nt||kt()},[nt]),[He.ready,He.offsetX,He.offsetY,He.offsetR,He.offsetB,He.arrowX,He.arrowY,He.scaleX,He.scaleY,He.align,Vt]}var yt=e(94480);function It(nt,Et,ht,Je,Ue){(0,y.Z)(function(){if(nt&&Et&&ht){let lt=function(){Je(),Ue()};var ge=Et,Se=ht,Le=le(ge),je=le(Se),He=Q(Se),rt=new Set([He].concat((0,yt.Z)(Le),(0,yt.Z)(je)));return rt.forEach(function(Kt){Kt.addEventListener("scroll",lt,{passive:!0})}),He.addEventListener("resize",lt,{passive:!0}),Je(),function(){rt.forEach(function(Kt){Kt.removeEventListener("scroll",lt),He.removeEventListener("resize",lt)})}}},[nt,Et,ht])}var rr=e(48736),Yt=e(16089);function ur(nt,Et,ht,Je,Ue,ge,Se,Le){var je=b.useRef(nt),He=b.useRef(!1);je.current!==nt&&(He.current=!0,je.current=nt),b.useEffect(function(){var rt=(0,Yt.Z)(function(){He.current=!1});return function(){Yt.Z.cancel(rt)}},[nt]),b.useEffect(function(){if(Et&&Je&&(!Ue||ge)){var rt=function(){var Ce=!1,ct=function(Ie){var wt=Ie.target;Ce=Se(wt)},Zt=function(Ie){var wt=Ie.target;!He.current&&je.current&&!Ce&&!Se(wt)&&Le(!1)};return[ct,Zt]},lt=rt(),Kt=(0,i.Z)(lt,2),Wt=Kt[0],Ae=Kt[1],qe=rt(),Vt=(0,i.Z)(qe,2),kt=Vt[0],Ht=Vt[1],$t=Q(Je);$t.addEventListener("mousedown",Wt,!0),$t.addEventListener("click",Ae,!0),$t.addEventListener("contextmenu",Ae,!0);var Tt=(0,a.A)(ht);if(Tt&&(Tt.addEventListener("mousedown",kt,!0),Tt.addEventListener("click",Ht,!0),Tt.addEventListener("contextmenu",Ht,!0)),0)var Xt,Ge,ce,pe;return function(){$t.removeEventListener("mousedown",Wt,!0),$t.removeEventListener("click",Ae,!0),$t.removeEventListener("contextmenu",Ae,!0),Tt&&(Tt.removeEventListener("mousedown",kt,!0),Tt.removeEventListener("click",Ht,!0),Tt.removeEventListener("contextmenu",Ht,!0))}}},[Et,ht,Je,Ue,ge])}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 Pt(){var nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c.Z,Et=b.forwardRef(function(ht,Je){var Ue=ht.prefixCls,ge=Ue===void 0?"rc-trigger-popup":Ue,Se=ht.children,Le=ht.action,je=Le===void 0?"hover":Le,He=ht.showAction,rt=ht.hideAction,lt=ht.popupVisible,Kt=ht.defaultPopupVisible,Wt=ht.onPopupVisibleChange,Ae=ht.afterPopupVisibleChange,qe=ht.mouseEnterDelay,Vt=ht.mouseLeaveDelay,kt=Vt===void 0?.1:Vt,Ht=ht.focusDelay,$t=ht.blurDelay,Tt=ht.mask,Xt=ht.maskClosable,Ge=Xt===void 0?!0:Xt,ce=ht.getPopupContainer,pe=ht.forceRender,Dt=ht.autoDestroy,Ce=ht.destroyPopupOnHide,ct=ht.popup,Zt=ht.popupClassName,St=ht.popupStyle,Ie=ht.popupPlacement,wt=ht.builtinPlacements,be=wt===void 0?{}:wt,Ye=ht.popupAlign,vt=ht.zIndex,Lt=ht.stretch,Me=ht.getPopupClassNameFromAlign,Or=ht.fresh,At=ht.alignPoint,Yr=ht.onPopupClick,rn=ht.onPopupAlign,wr=ht.arrow,jr=ht.popupMotion,mr=ht.maskMotion,Zr=ht.popupTransitionName,un=ht.popupAnimation,mn=ht.maskTransitionName,sr=ht.maskAnimation,Rt=ht.className,_t=ht.getTriggerDOMNode,gt=(0,l.Z)(ht,We),jt=Dt||Ce||!1,Ar=b.useState(!1),yr=(0,i.Z)(Ar,2),it=yr[0],Nr=yr[1];(0,y.Z)(function(){Nr((0,m.Z)())},[]);var An=b.useRef({}),Jn=b.useContext(ne),gr=b.useMemo(function(){return{registerSubPopup:function(_i,es){An.current[_i]=es,Jn==null||Jn.registerSubPopup(_i,es)}}},[Jn]),nn=(0,p.Z)(),vn=b.useState(null),Wn=(0,i.Z)(vn,2),si=Wn[0],gi=Wn[1],aa=(0,x.Z)(function(oi){(0,u.Sh)(oi)&&si!==oi&&gi(oi),Jn==null||Jn.registerSubPopup(nn,oi)}),ui=b.useState(null),Ni=(0,i.Z)(ui,2),mi=Ni[0],Pi=Ni[1],Ra=b.useRef(null),fi=(0,x.Z)(function(oi){(0,u.Sh)(oi)&&mi!==oi&&(Pi(oi),Ra.current=oi)}),Hi=b.Children.only(Se),bt=(Hi==null?void 0:Hi.props)||{},ut={},ii=(0,x.Z)(function(oi){var _i,es,ts=mi;return(ts==null?void 0:ts.contains(oi))||((_i=(0,a.A)(ts))===null||_i===void 0?void 0:_i.host)===oi||oi===ts||(si==null?void 0:si.contains(oi))||((es=(0,a.A)(si))===null||es===void 0?void 0:es.host)===oi||oi===si||Object.values(An.current).some(function(ds){return(ds==null?void 0:ds.contains(oi))||oi===ds})}),Si=ee(ge,jr,un,Zr),li=ee(ge,mr,sr,mn),sa=b.useState(Kt||!1),Ti=(0,i.Z)(sa,2),pi=Ti[0],Rn=Ti[1],Jt=lt!=null?lt:pi,dt=(0,x.Z)(function(oi){lt===void 0&&Rn(oi)});(0,y.Z)(function(){Rn(lt||!1)},[lt]);var tt=b.useRef(Jt);tt.current=Jt;var Ot=b.useRef([]);Ot.current=[];var mt=(0,x.Z)(function(oi){var _i;dt(oi),((_i=Ot.current[Ot.current.length-1])!==null&&_i!==void 0?_i:Jt)!==oi&&(Ot.current.push(oi),Wt==null||Wt(oi))}),or=b.useRef(),lr=function(){clearTimeout(or.current)},Ir=function(_i){var es=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;lr(),es===0?mt(_i):or.current=setTimeout(function(){mt(_i)},es*1e3)};b.useEffect(function(){return lr},[]);var Hr=b.useState(!1),ze=(0,i.Z)(Hr,2),et=ze[0],xe=ze[1];(0,y.Z)(function(oi){(!oi||Jt)&&xe(!0)},[Jt]);var at=b.useState(null),tr=(0,i.Z)(at,2),Cr=tr[0],kr=tr[1],Pr=b.useState([0,0]),Rr=(0,i.Z)(Pr,2),Tn=Rr[0],Tr=Rr[1],pn=function(_i){Tr([_i.clientX,_i.clientY])},sn=Bt(Jt,si,At?Tn:mi,Ie,be,Ye,rn),ln=(0,i.Z)(sn,11),Ln=ln[0],Ia=ln[1],ji=ln[2],Ii=ln[3],En=ln[4],yi=ln[5],Vi=ln[6],Ea=ln[7],Gs=ln[8],$a=ln[9],Bs=ln[10],ro=q(it,je,He,rt),ja=(0,i.Z)(ro,2),Hs=ja[0],ya=ja[1],cs=Hs.has("click"),fs=ya.has("click")||ya.has("contextMenu"),Li=(0,x.Z)(function(){et||Bs()}),ra=function(){tt.current&&At&&fs&&Ir(!1)};It(Jt,mi,si,Li,ra),(0,y.Z)(function(){Li()},[Tn,Ie]),(0,y.Z)(function(){Jt&&!(be!=null&&be[Ie])&&Li()},[JSON.stringify(Ye)]);var ks=b.useMemo(function(){var oi=se(be,ge,$a,At);return o()(oi,Me==null?void 0:Me($a))},[$a,Me,be,ge,At]);b.useImperativeHandle(Je,function(){return{nativeElement:Ra.current,forceAlign:Li}});var Mo=b.useState(0),Ya=(0,i.Z)(Mo,2),Ns=Ya[0],is=Ya[1],fo=b.useState(0),bn=(0,i.Z)(fo,2),as=bn[0],Ps=bn[1],Is=function(){if(Lt&&mi){var _i=mi.getBoundingClientRect();is(_i.width),Ps(_i.height)}},oa=function(){Is(),Li()},ss=function(_i){xe(!1),Bs(),Ae==null||Ae(_i)},Ja=function(){return new Promise(function(_i){Is(),kr(function(){return _i})})};(0,y.Z)(function(){Cr&&(Bs(),Cr(),kr(null))},[Cr]);function $s(oi,_i,es,ts){ut[oi]=function(ds){var Bo;ts==null||ts(ds),Ir(_i,es);for(var Wo=arguments.length,du=new Array(Wo>1?Wo-1:0),js=1;js<Wo;js++)du[js-1]=arguments[js];(Bo=bt[oi])===null||Bo===void 0||Bo.call.apply(Bo,[bt,ds].concat(du))}}(cs||fs)&&(ut.onClick=function(oi){var _i;tt.current&&fs?Ir(!1):!tt.current&&cs&&(pn(oi),Ir(!0));for(var es=arguments.length,ts=new Array(es>1?es-1:0),ds=1;ds<es;ds++)ts[ds-1]=arguments[ds];(_i=bt.onClick)===null||_i===void 0||_i.call.apply(_i,[bt,oi].concat(ts))}),ur(Jt,fs,mi,si,Tt,Ge,ii,Ir);var ho=Hs.has("hover"),po=ya.has("hover"),Fo,tu;ho&&($s("onMouseEnter",!0,qe,function(oi){pn(oi)}),$s("onPointerEnter",!0,qe,function(oi){pn(oi)}),Fo=function(_i){(Jt||et)&&si!==null&&si!==void 0&&si.contains(_i.target)&&Ir(!0,qe)},At&&(ut.onMouseMove=function(oi){var _i;(_i=bt.onMouseMove)===null||_i===void 0||_i.call(bt,oi)})),po&&($s("onMouseLeave",!1,kt),$s("onPointerLeave",!1,kt),tu=function(){Ir(!1,kt)}),Hs.has("focus")&&$s("onFocus",!0,Ht),ya.has("focus")&&$s("onBlur",!1,$t),Hs.has("contextMenu")&&(ut.onContextMenu=function(oi){var _i;tt.current&&ya.has("contextMenu")?Ir(!1):(pn(oi),Ir(!0)),oi.preventDefault();for(var es=arguments.length,ts=new Array(es>1?es-1:0),ds=1;ds<es;ds++)ts[ds-1]=arguments[ds];(_i=bt.onContextMenu)===null||_i===void 0||_i.call.apply(_i,[bt,oi].concat(ts))}),Rt&&(ut.className=o()(bt.className,Rt));var zo=(0,r.Z)((0,r.Z)({},bt),ut),Io={},Zo=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Zo.forEach(function(oi){gt[oi]&&(Io[oi]=function(){for(var _i,es=arguments.length,ts=new Array(es),ds=0;ds<es;ds++)ts[ds]=arguments[ds];(_i=zo[oi])===null||_i===void 0||_i.call.apply(_i,[zo].concat(ts)),gt[oi].apply(gt,ts)})});var ru=b.cloneElement(Hi,(0,r.Z)((0,r.Z)({},zo),Io)),Ho={x:yi,y:Vi},ns=wr?(0,r.Z)({},wr!==!0?wr:{}):null;return b.createElement(b.Fragment,null,b.createElement(h.Z,{disabled:!Jt,ref:fi,onResize:oa},b.createElement(H,{getTriggerDOMNode:_t},ru)),b.createElement(ne.Provider,{value:gr},b.createElement(G,{portal:nt,ref:aa,prefixCls:ge,popup:ct,className:o()(Zt,ks),style:St,target:mi,onMouseEnter:Fo,onMouseLeave:tu,onPointerEnter:Fo,zIndex:vt,open:Jt,keepDom:et,fresh:Or,onClick:Yr,mask:Tt,motion:Si,maskMotion:li,onVisibleChanged:ss,onPrepare:Ja,forceRender:pe,autoDestroy:jt,getPopupContainer:ce,align:$a,arrow:ns,arrowPos:Ho,ready:Ln,offsetX:Ia,offsetY:ji,offsetR:Ii,offsetB:En,onAlign:Li,stretch:Lt,targetWidth:Ns/Ea,targetHeight:as/Gs})))});return Et}var zt=Pt(c.Z)},88831:function(){"use strict"},24957:function(d,v){"use strict";v.Z={loading:"loading___hdeS1",layoutMainClass:"layoutMainClass___t8btz"}},33796: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},45434:function(d,v,e){"use strict";e.d(v,{zt:function(){return hs},$j:function(){return Ji},Ue:function(){return ho},I0:function(){return lo},v9:function(){return nu}});var r={};e.r(r),e.d(r,{actionChannel:function(){return sr},all:function(){return Me},apply:function(){return rn},call:function(){return Yr},cancel:function(){return un},cancelled:function(){return Rt},cps:function(){return wr},flush:function(){return _t},fork:function(){return jr},getContext:function(){return gt},join:function(){return Zr},put:function(){return Lt},race:function(){return Or},select:function(){return mn},setContext:function(){return jt},spawn:function(){return mr},take:function(){return Ye},takeEvery:function(){return dt},takeLatest:function(){return tt},takem:function(){return vt},throttle:function(){return Ot}});var i=e(59301),l=e(75682),c=e(59781),f=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Gt in Mt)Object.prototype.hasOwnProperty.call(Mt,Gt)&&(Xe[Gt]=Mt[Gt])}return Xe},o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Xe){return typeof Xe}:function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe},h=function(Qe){return"@@redux-saga/"+Qe},u=h("TASK"),a=h("HELPER"),x=h("MATCH"),p=h("CANCEL_PROMISE"),y=h("SAGA_ACTION"),m=h("SELF_CANCELLATION"),b=function(Qe){return function(){return Qe}},S=b(!0),k=null,R=function(){},A=function(Qe){return Qe};function P(Xe,Qe,Mt){if(!Qe(Xe))throw le("error","uncaught at check",Mt),new Error(Mt)}var M=Object.prototype.hasOwnProperty;function B(Xe,Qe){return N.notUndef(Xe)&&M.call(Xe,Qe)}var N={undef:function(Qe){return Qe==null},notUndef:function(Qe){return Qe!=null},func:function(Qe){return typeof Qe=="function"},number:function(Qe){return typeof Qe=="number"},string:function(Qe){return typeof Qe=="string"},array:Array.isArray,object:function(Qe){return Qe&&!N.array(Qe)&&(typeof Qe=="undefined"?"undefined":o(Qe))==="object"},promise:function(Qe){return Qe&&N.func(Qe.then)},iterator:function(Qe){return Qe&&N.func(Qe.next)&&N.func(Qe.throw)},iterable:function(Qe){return Qe&&N.func(Symbol)?N.func(Qe[Symbol.iterator]):N.array(Qe)},task:function(Qe){return Qe&&Qe[u]},observable:function(Qe){return Qe&&N.func(Qe.subscribe)},buffer:function(Qe){return Qe&&N.func(Qe.isEmpty)&&N.func(Qe.take)&&N.func(Qe.put)},pattern:function(Qe){return Qe&&(N.string(Qe)||(typeof Qe=="undefined"?"undefined":o(Qe))==="symbol"||N.func(Qe)||N.array(Qe))},channel:function(Qe){return Qe&&N.func(Qe.take)&&N.func(Qe.close)},helper:function(Qe){return Qe&&Qe[a]},stringableFunc:function(Qe){return N.func(Qe)&&B(Qe,"toString")}},G={assign:function(Qe,Mt){for(var Gt in Mt)B(Mt,Gt)&&(Qe[Gt]=Mt[Gt])}};function W(Xe,Qe){var Mt=Xe.indexOf(Qe);Mt>=0&&Xe.splice(Mt,1)}var H={from:function(Qe){var Mt=Array(Qe.length);for(var Gt in Qe)B(Qe,Gt)&&(Mt[Gt]=Qe[Gt]);return Mt}};function ae(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=f({},Xe),Mt=new Promise(function(Gt,vr){Qe.resolve=Gt,Qe.reject=vr});return Qe.promise=Mt,Qe}function ne(Xe){for(var Qe=[],Mt=0;Mt<Xe;Mt++)Qe.push(ae());return Qe}function oe(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Mt=void 0,Gt=new Promise(function(vr){Mt=setTimeout(function(){return vr(Qe)},Xe)});return Gt[p]=function(){return clearTimeout(Mt)},Gt}function q(){var Xe,Qe=!0,Mt=void 0,Gt=void 0;return Xe={},Xe[u]=!0,Xe.isRunning=function(){return Qe},Xe.result=function(){return Mt},Xe.error=function(){return Gt},Xe.setRunning=function(Br){return Qe=Br},Xe.setResult=function(Br){return Mt=Br},Xe.setError=function(Br){return Gt=Br},Xe}function J(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return function(){return++Xe}}var K=J(),se=function(Qe){throw Qe},ee=function(Qe){return{value:Qe,done:!0}};function Q(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:se,Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",Gt=arguments[3],vr={name:Mt,next:Xe,throw:Qe,return:ee};return Gt&&(vr[a]=!0),typeof Symbol!="undefined"&&(vr[Symbol.iterator]=function(){return vr}),vr}function le(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";typeof window=="undefined"?console.log("redux-saga "+Xe+": "+Qe+`
|
|
|
`+(Mt&&Mt.stack||Mt)):console[Xe](Qe,Mt)}function z(Xe,Qe){return function(){return Xe.apply(void 0,arguments)}}var $=function(Qe,Mt){return Qe+" has been deprecated in favor of "+Mt+", please update your code"},ie=function(Qe){return new Error(`
|
|
|
redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug
|
|
|
in redux-saga code and not yours. Thanks for reporting this in the project's github repo.
|
|
|
Error: `+Qe+`
|
|
|
`)},me=function(Qe,Mt){return(Qe?Qe+".":"")+"setContext(props): argument "+Mt+" is not a plain object"},Pe=function(Qe){return function(Mt){return Qe(Object.defineProperty(Mt,y,{value:!0}))}},De=function Xe(Qe){return function(){for(var Mt=arguments.length,Gt=Array(Mt),vr=0;vr<Mt;vr++)Gt[vr]=arguments[vr];var Br=[],Wr=Qe.apply(void 0,Gt);return{next:function(on){return Br.push(on),Wr.next(on)},clone:function(){var on=Xe(Qe).apply(void 0,Gt);return Br.forEach(function(Sn){return on.next(Sn)}),on},return:function(on){return Wr.return(on)},throw:function(on){return Wr.throw(on)}}}},Ze="Channel's Buffer overflow!",Ne=1,Bt=2,yt=3,It=4,rr={isEmpty:S,put:R,take:R};function Yt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Qe=arguments[1],Mt=new Array(Xe),Gt=0,vr=0,Br=0,Wr=function(ri){Mt[vr]=ri,vr=(vr+1)%Xe,Gt++},wn=function(){if(Gt!=0){var ri=Mt[Br];return Mt[Br]=null,Gt--,Br=(Br+1)%Xe,ri}},on=function(){for(var ri=[];Gt;)ri.push(wn());return ri};return{isEmpty:function(){return Gt==0},put:function(ri){if(Gt<Xe)Wr(ri);else{var ai=void 0;switch(Qe){case Ne:throw new Error(Ze);case yt:Mt[vr]=ri,vr=(vr+1)%Xe,Br=vr;break;case It:ai=2*Xe,Mt=on(),Gt=Mt.length,vr=Mt.length,Br=0,Mt.length=ai,Xe=ai,Wr(ri);break;default:}}},take:wn,flush:on}}var ur={none:function(){return rr},fixed:function(Qe){return Yt(Qe,Ne)},dropping:function(Qe){return Yt(Qe,Bt)},sliding:function(Qe){return Yt(Qe,yt)},expanding:function(Qe){return Yt(Qe,It)}},We=[],Pt=0;function zt(Xe){try{Et(),Xe()}finally{ht()}}function nt(Xe){We.push(Xe),Pt||(Et(),Je())}function Et(){Pt++}function ht(){Pt--}function Je(){ht();for(var Xe=void 0;!Pt&&(Xe=We.shift())!==void 0;)zt(Xe)}var Ue=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Gt in Mt)Object.prototype.hasOwnProperty.call(Mt,Gt)&&(Xe[Gt]=Mt[Gt])}return Xe},ge="@@redux-saga/CHANNEL_END",Se={type:ge},Le=function(Qe){return Qe&&Qe.type===ge};function je(){var Xe=[];function Qe(Gt){return Xe.push(Gt),function(){return W(Xe,Gt)}}function Mt(Gt){for(var vr=Xe.slice(),Br=0,Wr=vr.length;Br<Wr;Br++)vr[Br](Gt)}return{subscribe:Qe,emit:Mt}}var He="invalid buffer passed to channel factory function",rt="Saga was provided with an undefined action";function lt(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ur.fixed(),Qe=!1,Mt=[];P(Xe,N.buffer,He);function Gt(){if(Qe&&Mt.length)throw ie("Cannot have a closed channel with pending takers");if(Mt.length&&!Xe.isEmpty())throw ie("Cannot have pending takers with non empty buffer")}function vr(on){if(Gt(),P(on,N.notUndef,rt),!Qe){if(!Mt.length)return Xe.put(on);for(var Sn=0;Sn<Mt.length;Sn++){var ri=Mt[Sn];if(!ri[x]||ri[x](on))return Mt.splice(Sn,1),ri(on)}}}function Br(on){Gt(),P(on,N.func,"channel.take's callback must be a function"),Qe&&Xe.isEmpty()?on(Se):Xe.isEmpty()?(Mt.push(on),on.cancel=function(){return W(Mt,on)}):on(Xe.take())}function Wr(on){if(Gt(),P(on,N.func,"channel.flush' callback must be a function"),Qe&&Xe.isEmpty()){on(Se);return}on(Xe.flush())}function wn(){if(Gt(),!Qe&&(Qe=!0,Mt.length)){var on=Mt;Mt=[];for(var Sn=0,ri=on.length;Sn<ri;Sn++)on[Sn](Se)}}return{take:Br,put:vr,flush:Wr,close:wn,get __takers__(){return Mt},get __closed__(){return Qe}}}function Kt(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ur.none(),Mt=arguments[2];arguments.length>2&&P(Mt,N.func,"Invalid match function passed to eventChannel");var Gt=lt(Qe),vr=function(){Gt.__closed__||(Br&&Br(),Gt.close())},Br=Xe(function(Wr){if(Le(Wr)){vr();return}Mt&&!Mt(Wr)||Gt.put(Wr)});if(Gt.__closed__&&Br(),!N.func(Br))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:Gt.take,flush:Gt.flush,close:vr}}function Wt(Xe){var Qe=Kt(function(Mt){return Xe(function(Gt){if(Gt[y]){Mt(Gt);return}nt(function(){return Mt(Gt)})})});return Ue({},Qe,{take:function(Gt,vr){arguments.length>1&&(P(vr,N.func,"channel.take's matcher argument must be a function"),Gt[x]=vr),Qe.take(Gt)}})}var Ae=h("IO"),qe="TAKE",Vt="PUT",kt="ALL",Ht="RACE",$t="CALL",Tt="CPS",Xt="FORK",Ge="JOIN",ce="CANCEL",pe="SELECT",Dt="ACTION_CHANNEL",Ce="CANCELLED",ct="FLUSH",Zt="GET_CONTEXT",St="SET_CONTEXT",Ie=`
|
|
|
(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)`,wt=function(Qe,Mt){var Gt;return Gt={},Gt[Ae]=!0,Gt[Qe]=Mt,Gt},be=function(Qe){return P(yr.fork(Qe),N.object,"detach(eff): argument must be a fork effect"),Qe[Xt].detached=!0,Qe};function Ye(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"*";if(arguments.length&&P(arguments[0],N.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),N.pattern(Xe))return wt(qe,{pattern:Xe});if(N.channel(Xe))return wt(qe,{channel:Xe});throw new Error("take(patternOrChannel): argument "+String(Xe)+" is not valid channel or a valid pattern")}Ye.maybe=function(){var Xe=Ye.apply(void 0,arguments);return Xe[qe].maybe=!0,Xe};var vt=z(Ye.maybe,$("takem","take.maybe"));function Lt(Xe,Qe){return arguments.length>1?(P(Xe,N.notUndef,"put(channel, action): argument channel is undefined"),P(Xe,N.channel,"put(channel, action): argument "+Xe+" is not a valid channel"),P(Qe,N.notUndef,"put(channel, action): argument action is undefined")):(P(Xe,N.notUndef,"put(action): argument action is undefined"),Qe=Xe,Xe=null),wt(Vt,{channel:Xe,action:Qe})}Lt.resolve=function(){var Xe=Lt.apply(void 0,arguments);return Xe[Vt].resolve=!0,Xe},Lt.sync=z(Lt.resolve,$("put.sync","put.resolve"));function Me(Xe){return wt(kt,Xe)}function Or(Xe){return wt(Ht,Xe)}function At(Xe,Qe,Mt){P(Qe,N.notUndef,Xe+": argument fn is undefined");var Gt=null;if(N.array(Qe)){var vr=Qe;Gt=vr[0],Qe=vr[1]}else if(Qe.fn){var Br=Qe;Gt=Br.context,Qe=Br.fn}return Gt&&N.string(Qe)&&N.func(Gt[Qe])&&(Qe=Gt[Qe]),P(Qe,N.func,Xe+": argument "+Qe+" is not a function"),{context:Gt,fn:Qe,args:Mt}}function Yr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Mt[Gt-1]=arguments[Gt];return wt($t,At("call",Xe,Mt))}function rn(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return wt($t,At("apply",{context:Xe,fn:Qe},Mt))}function wr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Mt[Gt-1]=arguments[Gt];return wt(Tt,At("cps",Xe,Mt))}function jr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Mt[Gt-1]=arguments[Gt];return wt(Xt,At("fork",Xe,Mt))}function mr(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Mt[Gt-1]=arguments[Gt];return be(jr.apply(void 0,[Xe].concat(Mt)))}function Zr(){for(var Xe=arguments.length,Qe=Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Me(Qe.map(function(vr){return Zr(vr)}));var Gt=Qe[0];return P(Gt,N.notUndef,"join(task): argument task is undefined"),P(Gt,N.task,"join(task): argument "+Gt+" is not a valid Task object "+Ie),wt(Ge,Gt)}function un(){for(var Xe=arguments.length,Qe=Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];if(Qe.length>1)return Me(Qe.map(function(vr){return un(vr)}));var Gt=Qe[0];return Qe.length===1&&(P(Gt,N.notUndef,"cancel(task): argument task is undefined"),P(Gt,N.task,"cancel(task): argument "+Gt+" is not a valid Task object "+Ie)),wt(ce,Gt||m)}function mn(Xe){for(var Qe=arguments.length,Mt=Array(Qe>1?Qe-1:0),Gt=1;Gt<Qe;Gt++)Mt[Gt-1]=arguments[Gt];return arguments.length===0?Xe=A:(P(Xe,N.notUndef,"select(selector,[...]): argument selector is undefined"),P(Xe,N.func,"select(selector,[...]): argument "+Xe+" is not a function")),wt(pe,{selector:Xe,args:Mt})}function sr(Xe,Qe){return P(Xe,N.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&(P(Qe,N.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),P(Qe,N.buffer,"actionChannel(pattern, buffer): argument "+Qe+" is not a valid buffer")),wt(Dt,{pattern:Xe,buffer:Qe})}function Rt(){return wt(Ce,{})}function _t(Xe){return P(Xe,N.channel,"flush(channel): argument "+Xe+" is not valid channel"),wt(ct,Xe)}function gt(Xe){return P(Xe,N.string,"getContext(prop): argument "+Xe+" is not a string"),wt(Zt,Xe)}function jt(Xe){return P(Xe,N.object,me(null,Xe)),wt(St,Xe)}var Ar=function(Qe){return function(Mt){return Mt&&Mt[Ae]&&Mt[Qe]}},yr={take:Ar(qe),put:Ar(Vt),all:Ar(kt),race:Ar(Ht),call:Ar($t),cps:Ar(Tt),fork:Ar(Xt),join:Ar(Ge),cancel:Ar(ce),select:Ar(pe),actionChannel:Ar(Dt),cancelled:Ar(Ce),flush:Ar(ct),getContext:Ar(Zt),setContext:Ar(St)},it=Object.assign||function(Xe){for(var Qe=1;Qe<arguments.length;Qe++){var Mt=arguments[Qe];for(var Gt in Mt)Object.prototype.hasOwnProperty.call(Mt,Gt)&&(Xe[Gt]=Mt[Gt])}return Xe},Nr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Xe){return typeof Xe}:function(Xe){return Xe&&typeof Symbol=="function"&&Xe.constructor===Symbol&&Xe!==Symbol.prototype?"symbol":typeof Xe};function An(Xe,Qe){for(var Mt in Qe){var Gt=Qe[Mt];Gt.configurable=Gt.enumerable=!0,"value"in Gt&&(Gt.writable=!0),Object.defineProperty(Xe,Mt,Gt)}return Xe}var Jn="proc first argument (Saga function result) must be an iterator",gr={toString:function(){return"@@redux-saga/CHANNEL_END"}},nn={toString:function(){return"@@redux-saga/TASK_CANCEL"}},vn={wildcard:function(){return S},default:function(Qe){return(typeof Qe=="undefined"?"undefined":Nr(Qe))==="symbol"?function(Mt){return Mt.type===Qe}:function(Mt){return Mt.type===String(Qe)}},array:function(Qe){return function(Mt){return Qe.some(function(Gt){return Wn(Gt)(Mt)})}},predicate:function(Qe){return function(Mt){return Qe(Mt)}}};function Wn(Xe){return(Xe==="*"?vn.wildcard:N.array(Xe)?vn.array:N.stringableFunc(Xe)?vn.default:N.func(Xe)?vn.predicate:vn.default)(Xe)}function si(Xe,Qe,Mt){var Gt=[],vr=void 0,Br=!1;wn(Qe);function Wr(Sn){on(),Mt(Sn,!0)}function wn(Sn){Gt.push(Sn),Sn.cont=function(ri,ai){Br||(W(Gt,Sn),Sn.cont=R,ai?Wr(ri):(Sn===Qe&&(vr=ri),Gt.length||(Br=!0,Mt(vr))))}}function on(){Br||(Br=!0,Gt.forEach(function(Sn){Sn.cont=R,Sn.cancel()}),Gt=[])}return{addTask:wn,cancelAll:on,abort:Wr,getTasks:function(){return Gt},taskNames:function(){return Gt.map(function(ri){return ri.name})}}}function gi(Xe){var Qe=Xe.context,Mt=Xe.fn,Gt=Xe.args;if(N.iterator(Mt))return Mt;var vr=void 0,Br=void 0;try{vr=Mt.apply(Qe,Gt)}catch(Wr){Br=Wr}return N.iterator(vr)?vr:Q(Br?function(){throw Br}:function(){var Wr=void 0,wn={done:!1,value:vr},on=function(ri){return{done:!0,value:ri}};return function(Sn){return Wr?on(Sn):(Wr=!0,wn)}}())}var aa=function(Qe){return{fn:Qe}};function ui(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(){return R},Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R,Gt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:R,vr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},Br=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},Wr=arguments.length>6&&arguments[6]!==void 0?arguments[6]:0,wn=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"anonymous",on=arguments[8];P(Xe,N.iterator,Jn);var Sn="[...effects]",ri=z(bo,$(Sn,"all("+Sn+")")),ai=Br.sagaMonitor,Ai=Br.logger,Ui=Br.onError,na=Ai||le,Xi=function(en){var Mn=en.sagaStack;!Mn&&en.stack&&(Mn=en.stack.split(`
|
|
|
`)[0].indexOf(en.message)!==-1?en.stack:"Error: "+en.message+`
|
|
|
`+en.stack),na("error","uncaught at "+wn,Mn||en.message||en)},Oi=Wt(Qe),Da=Object.create(vr);ua.cancel=R;var Mi=Qr(Wr,wn,Xe,on),Di={name:wn,cancel:_o,isRunning:!0},wa=si(wn,Di,Xa);function _o(){Di.isRunning&&!Di.isCancelled&&(Di.isCancelled=!0,ua(nn))}function Us(){Xe._isRunning&&!Xe._isCancelled&&(Xe._isCancelled=!0,wa.cancelAll(),Xa(nn))}return on&&(on.cancel=Us),Xe._isRunning=!0,ua(),Mi;function ua(_r,en){if(!Di.isRunning)throw new Error("Trying to resume an already finished generator");try{var Mn=void 0;en?Mn=Xe.throw(_r):_r===nn?(Di.isCancelled=!0,ua.cancel(),Mn=N.func(Xe.return)?Xe.return(nn):{done:!0,value:nn}):_r===gr?Mn=N.func(Xe.return)?Xe.return():{done:!0}:Mn=Xe.next(_r),Mn.done?(Di.isMainRunning=!1,Di.cont&&Di.cont(Mn.value)):va(Mn.value,Wr,"",ua)}catch(ni){Di.isCancelled&&Xi(ni),Di.isMainRunning=!1,Di.cont(ni,!0)}}function Xa(_r,en){Xe._isRunning=!1,Oi.close(),en?(_r instanceof Error&&Object.defineProperty(_r,"sagaStack",{value:"at "+wn+`
|
|
|
`+(_r.sagaStack||_r.stack),configurable:!0}),Mi.cont||(_r instanceof Error&&Ui?Ui(_r):Xi(_r)),Xe._error=_r,Xe._isAborted=!0,Xe._deferredEnd&&Xe._deferredEnd.reject(_r)):(Xe._result=_r,Xe._deferredEnd&&Xe._deferredEnd.resolve(_r)),Mi.cont&&Mi.cont(_r,en),Mi.joiners.forEach(function(Mn){return Mn.cb(_r,en)}),Mi.joiners=null}function va(_r,en){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",ni=arguments[3],Qi=K();ai&&ai.effectTriggered({effectId:Qi,parentEffectId:en,label:Mn,effect:_r});var zn=void 0;function jn(xa,ia){zn||(zn=!0,ni.cancel=R,ai&&(ia?ai.effectRejected(Qi,xa):ai.effectResolved(Qi,xa)),ni(xa,ia))}jn.cancel=R,ni.cancel=function(){if(!zn){zn=!0;try{jn.cancel()}catch(xa){Xi(xa)}jn.cancel=R,ai&&ai.effectCancelled(Qi)}};var Yn=void 0;return N.promise(_r)?Wi(_r,jn):N.helper(_r)?ko(aa(_r),Qi,jn):N.iterator(_r)?Pa(_r,Qi,wn,jn):N.array(_r)?ri(_r,Qi,jn):(Yn=yr.take(_r))?us(Yn,jn):(Yn=yr.put(_r))?ms(Yn,jn):(Yn=yr.all(_r))?bo(Yn,Qi,jn):(Yn=yr.race(_r))?Sa(Yn,Qi,jn):(Yn=yr.call(_r))?So(Yn,Qi,jn):(Yn=yr.cps(_r))?gs(Yn,jn):(Yn=yr.fork(_r))?ko(Yn,Qi,jn):(Yn=yr.join(_r))?_s(Yn,jn):(Yn=yr.cancel(_r))?yo(Yn,jn):(Yn=yr.select(_r))?rs(Yn,jn):(Yn=yr.actionChannel(_r))?Xs(Yn,jn):(Yn=yr.flush(_r))?ye(Yn,jn):(Yn=yr.cancelled(_r))?Oa(Yn,jn):(Yn=yr.getContext(_r))?we(Yn,jn):(Yn=yr.setContext(_r))?xr(Yn,jn):jn(_r)}function Wi(_r,en){var Mn=_r[p];N.func(Mn)?en.cancel=Mn:N.func(_r.abort)&&(en.cancel=function(){return _r.abort()}),_r.then(en,function(ni){return en(ni,!0)})}function Pa(_r,en,Mn,ni){ui(_r,Qe,Mt,Gt,Da,Br,en,Mn,ni)}function us(_r,en){var Mn=_r.channel,ni=_r.pattern,Qi=_r.maybe;Mn=Mn||Oi;var zn=function(Yn){return Yn instanceof Error?en(Yn,!0):Le(Yn)&&!Qi?en(gr):en(Yn)};try{Mn.take(zn,Wn(ni))}catch(jn){return en(jn,!0)}en.cancel=zn.cancel}function ms(_r,en){var Mn=_r.channel,ni=_r.action,Qi=_r.resolve;nt(function(){var zn=void 0;try{zn=(Mn?Mn.put:Mt)(ni)}catch(jn){if(Mn||Qi)return en(jn,!0);Xi(jn)}if(Qi&&N.promise(zn))Wi(zn,en);else return en(zn)})}function So(_r,en,Mn){var ni=_r.context,Qi=_r.fn,zn=_r.args,jn=void 0;try{jn=Qi.apply(ni,zn)}catch(Yn){return Mn(Yn,!0)}return N.promise(jn)?Wi(jn,Mn):N.iterator(jn)?Pa(jn,en,Qi.name,Mn):Mn(jn)}function gs(_r,en){var Mn=_r.context,ni=_r.fn,Qi=_r.args;try{var zn=function(Yn,xa){return N.undef(Yn)?en(xa):en(Yn,!0)};ni.apply(Mn,Qi.concat(zn)),zn.cancel&&(en.cancel=function(){return zn.cancel()})}catch(jn){return en(jn,!0)}}function ko(_r,en,Mn){var ni=_r.context,Qi=_r.fn,zn=_r.args,jn=_r.detached,Yn=gi({context:ni,fn:Qi,args:zn});try{Et();var xa=ui(Yn,Qe,Mt,Gt,Da,Br,en,Qi.name,jn?null:R);jn?Mn(xa):Yn._isRunning?(wa.addTask(xa),Mn(xa)):Yn._error?wa.abort(Yn._error):Mn(xa)}finally{Je()}}function _s(_r,en){if(_r.isRunning()){var Mn={task:Mi,cb:en};en.cancel=function(){return W(_r.joiners,Mn)},_r.joiners.push(Mn)}else _r.isAborted()?en(_r.error(),!0):en(_r.result())}function yo(_r,en){_r===m&&(_r=Mi),_r.isRunning()&&_r.cancel(),en()}function bo(_r,en,Mn){var ni=Object.keys(_r);if(!ni.length)return Mn(N.array(_r)?[]:{});var Qi=0,zn=void 0,jn={},Yn={};function xa(){Qi===ni.length&&(zn=!0,Mn(N.array(_r)?H.from(it({},jn,{length:ni.length})):jn))}ni.forEach(function(ia){var Ao=function(xu,Rl){zn||(Rl||Le(xu)||xu===gr||xu===nn?(Mn.cancel(),Mn(xu,Rl)):(jn[ia]=xu,Qi++,xa()))};Ao.cancel=R,Yn[ia]=Ao}),Mn.cancel=function(){zn||(zn=!0,ni.forEach(function(ia){return Yn[ia].cancel()}))},ni.forEach(function(ia){return va(_r[ia],en,ia,Yn[ia])})}function Sa(_r,en,Mn){var ni=void 0,Qi=Object.keys(_r),zn={};Qi.forEach(function(jn){var Yn=function(ia,Ao){if(!ni){if(Ao)Mn.cancel(),Mn(ia,!0);else if(!Le(ia)&&ia!==gr&&ia!==nn){var xo;Mn.cancel(),ni=!0;var xu=(xo={},xo[jn]=ia,xo);Mn(N.array(_r)?[].slice.call(it({},xu,{length:Qi.length})):xu)}}};Yn.cancel=R,zn[jn]=Yn}),Mn.cancel=function(){ni||(ni=!0,Qi.forEach(function(jn){return zn[jn].cancel()}))},Qi.forEach(function(jn){ni||va(_r[jn],en,jn,zn[jn])})}function rs(_r,en){var Mn=_r.selector,ni=_r.args;try{var Qi=Mn.apply(void 0,[Gt()].concat(ni));en(Qi)}catch(zn){en(zn,!0)}}function Xs(_r,en){var Mn=_r.pattern,ni=_r.buffer,Qi=Wn(Mn);Qi.pattern=Mn,en(Kt(Qe,ni||ur.fixed(),Qi))}function Oa(_r,en){en(!!Di.isCancelled)}function ye(_r,en){_r.flush(en)}function we(_r,en){en(Da[_r])}function xr(_r,en){G.assign(Da,_r),en()}function Qr(_r,en,Mn,ni){var Qi,zn,jn;return Mn._deferredEnd=null,zn={},zn[u]=!0,zn.id=_r,zn.name=en,Qi="done",jn={},jn[Qi]=jn[Qi]||{},jn[Qi].get=function(){if(Mn._deferredEnd)return Mn._deferredEnd.promise;var Yn=ae();return Mn._deferredEnd=Yn,Mn._isRunning||(Mn._error?Yn.reject(Mn._error):Yn.resolve(Mn._result)),Yn.promise},zn.cont=ni,zn.joiners=[],zn.cancel=Us,zn.isRunning=function(){return Mn._isRunning},zn.isCancelled=function(){return Mn._isCancelled},zn.isAborted=function(){return Mn._isAborted},zn.result=function(){return Mn._result},zn.error=function(){return Mn._error},zn.setContext=function(xa){P(xa,N.object,me("task",xa)),G.assign(Da,xa)},An(zn,jn),zn}}var Ni="runSaga(storeInterface, saga, ...args)",mi=Ni+": saga argument must be a Generator function!";function Pi(Xe,Qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),vr=2;vr<Mt;vr++)Gt[vr-2]=arguments[vr];var Br=void 0;N.iterator(Xe)?(Br=Xe,Xe=Qe):(P(Qe,N.func,mi),Br=Qe.apply(void 0,Gt),P(Br,N.iterator,mi));var Wr=Xe,wn=Wr.subscribe,on=Wr.dispatch,Sn=Wr.getState,ri=Wr.context,ai=Wr.sagaMonitor,Ai=Wr.logger,Ui=Wr.onError,na=K();ai&&(ai.effectTriggered=ai.effectTriggered||R,ai.effectResolved=ai.effectResolved||R,ai.effectRejected=ai.effectRejected||R,ai.effectCancelled=ai.effectCancelled||R,ai.actionDispatched=ai.actionDispatched||R,ai.effectTriggered({effectId:na,root:!0,parentEffectId:0,effect:{root:!0,saga:Qe,args:Gt}}));var Xi=ui(Br,wn,Pe(on),Sn,ri,{sagaMonitor:ai,logger:Ai,onError:Ui},na,Qe.name);return ai&&ai.effectResolved(na,Xi),Xi}function Ra(Xe,Qe){var Mt={};for(var Gt in Xe)Qe.indexOf(Gt)>=0||Object.prototype.hasOwnProperty.call(Xe,Gt)&&(Mt[Gt]=Xe[Gt]);return Mt}function fi(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=Xe.context,Mt=Qe===void 0?{}:Qe,Gt=Ra(Xe,["context"]),vr=Gt.sagaMonitor,Br=Gt.logger,Wr=Gt.onError;if(N.func(Gt))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(Br&&!N.func(Br))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(Wr&&!N.func(Wr))throw new Error("`options.onError` passed to the Saga middleware is not a function!");if(Gt.emitter&&!N.func(Gt.emitter))throw new Error("`options.emitter` passed to the Saga middleware is not a function!");function wn(on){var Sn=on.getState,ri=on.dispatch,ai=je();return ai.emit=(Gt.emitter||A)(ai.emit),wn.run=Pi.bind(null,{context:Mt,subscribe:ai.subscribe,dispatch:ri,getState:Sn,sagaMonitor:vr,logger:Br,onError:Wr}),function(Ai){return function(Ui){vr&&vr.actionDispatched&&vr.actionDispatched(Ui);var na=Ai(Ui);return ai.emit(Ui),na}}}return wn.run=function(){throw new Error("Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware")},wn.setContext=function(on){P(on,N.object,me("sagaMiddleware",on)),G.assign(Mt,on)},wn}var Hi={done:!0,value:void 0},bt={};function ut(Xe){return N.channel(Xe)?"channel":Array.isArray(Xe)?String(Xe.map(function(Qe){return String(Qe)})):String(Xe)}function ii(Xe,Qe){var Mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"iterator",Gt=void 0,vr=Qe;function Br(Wr,wn){if(vr===bt)return Hi;if(wn)throw vr=bt,wn;Gt&&Gt(Wr);var on=Xe[vr](),Sn=on[0],ri=on[1],ai=on[2];return vr=Sn,Gt=ai,vr===bt?Hi:ri}return Q(Br,function(Wr){return Br(null,Wr)},Mt,!0)}function Si(Xe,Qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),vr=2;vr<Mt;vr++)Gt[vr-2]=arguments[vr];var Br={done:!1,value:Ye(Xe)},Wr=function(ri){return{done:!1,value:jr.apply(void 0,[Qe].concat(Gt,[ri]))}},wn=void 0,on=function(ri){return wn=ri};return ii({q1:function(){return["q2",Br,on]},q2:function(){return wn===Se?[bt]:["q1",Wr(wn)]}},"q1","takeEvery("+ut(Xe)+", "+Qe.name+")")}function li(Xe,Qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),vr=2;vr<Mt;vr++)Gt[vr-2]=arguments[vr];var Br={done:!1,value:Ye(Xe)},Wr=function(Ui){return{done:!1,value:jr.apply(void 0,[Qe].concat(Gt,[Ui]))}},wn=function(Ui){return{done:!1,value:un(Ui)}},on=void 0,Sn=void 0,ri=function(Ui){return on=Ui},ai=function(Ui){return Sn=Ui};return ii({q1:function(){return["q2",Br,ai]},q2:function(){return Sn===Se?[bt]:on?["q3",wn(on)]:["q1",Wr(Sn),ri]},q3:function(){return["q1",Wr(Sn),ri]}},"q1","takeLatest("+ut(Xe)+", "+Qe.name+")")}function sa(Xe,Qe,Mt){for(var Gt=arguments.length,vr=Array(Gt>3?Gt-3:0),Br=3;Br<Gt;Br++)vr[Br-3]=arguments[Br];var Wr=void 0,wn=void 0,on={done:!1,value:sr(Qe,ur.sliding(1))},Sn=function(){return{done:!1,value:Ye(wn)}},ri=function(Xi){return{done:!1,value:jr.apply(void 0,[Mt].concat(vr,[Xi]))}},ai={done:!1,value:Yr(oe,Xe)},Ai=function(Xi){return Wr=Xi},Ui=function(Xi){return wn=Xi};return ii({q1:function(){return["q2",on,Ui]},q2:function(){return["q3",Sn(),Ai]},q3:function(){return Wr===Se?[bt]:["q4",ri(Wr)]},q4:function(){return["q2",ai]}},"q1","throttle("+ut(Qe)+", "+Mt.name+")")}var Ti=function(Qe){return"import { "+Qe+" } from 'redux-saga' has been deprecated in favor of import { "+Qe+` } from 'redux-saga/effects'.
|
|
|
The latter will not work with yield*, as helper effects are wrapped automatically for you in fork effect.
|
|
|
Therefore yield `+Qe+" will return task descriptor to your saga and execute next lines of code."},pi=null,Rn=null,Jt=null;function dt(Xe,Qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),vr=2;vr<Mt;vr++)Gt[vr-2]=arguments[vr];return jr.apply(void 0,[Si,Xe,Qe].concat(Gt))}function tt(Xe,Qe){for(var Mt=arguments.length,Gt=Array(Mt>2?Mt-2:0),vr=2;vr<Mt;vr++)Gt[vr-2]=arguments[vr];return jr.apply(void 0,[li,Xe,Qe].concat(Gt))}function Ot(Xe,Qe,Mt){for(var Gt=arguments.length,vr=Array(Gt>3?Gt-3:0),Br=3;Br<Gt;Br++)vr[Br-3]=arguments[Br];return jr.apply(void 0,[sa,Xe,Qe,Mt].concat(vr))}var mt=fi,or=e(44520),lr=e.n(or),Ir=e(76190),Hr=e(78639),ze=e.n(Hr),et=e(94480),xe=e(66712),at=e(56754),tr=e.n(at),Cr=e(67732),kr=e(83652),Pr=e(89381),Rr=e.n(Pr),Tn=e(60288),Tr=e(42978),pn=e(329),sn=e.n(pn),ln=Array.isArray.bind(Array),Ln=function(Qe){return typeof Qe=="function"},Ia=function(Qe){return Qe},ji=function(){},Ii=function(Qe,Mt){for(var Gt=0,vr=Qe.length;Gt<vr;Gt+=1)if(Mt(Qe[Gt],Gt))return Gt;return-1},En=Object.freeze({isPlainObject:ze(),isArray:ln,isFunction:Ln,returnSelf:Ia,noop:ji,findIndex:Ii});function yi(Xe,Qe){var Mt=Xe.namespace,Gt=Xe.reducers,vr=Xe.effects,Br=Xe.subscriptions;invariant(Mt,"[app.model] namespace should be defined"),invariant(typeof Mt=="string","[app.model] namespace should be string, but got ".concat(_typeof(Mt))),invariant(!Qe.some(function(Wr){return Wr.namespace===Mt}),"[app.model] namespace should be unique"),Gt&&(invariant(isPlainObject(Gt)||ln(Gt),"[app.model] reducers should be plain object or array, but got ".concat(_typeof(Gt))),invariant(!ln(Gt)||isPlainObject(Gt[0])&&Ln(Gt[1]),"[app.model] reducers with array should be [Object, Function]")),vr&&invariant(isPlainObject(vr),"[app.model] effects should be plain object, but got ".concat(_typeof(vr))),Br&&(invariant(isPlainObject(Br),"[app.model] subscriptions should be plain object, but got ".concat(_typeof(Br))),invariant(Vi(Br),"[app.model] subscription should be function"))}function Vi(Xe){return Object.keys(Xe).every(function(Qe){return Ln(Xe[Qe])})}var Ea="/";function Gs(Xe,Qe,Mt){return Object.keys(Xe).reduce(function(Gt,vr){tr()(vr.indexOf("".concat(Qe).concat(Ea))!==0,"[prefixNamespace]: ".concat(Mt," ").concat(vr," should not be prefixed with namespace ").concat(Qe));var Br="".concat(Qe).concat(Ea).concat(vr);return Gt[Br]=Xe[vr],Gt},{})}function $a(Xe){var Qe=Xe.namespace,Mt=Xe.reducers,Gt=Xe.effects;if(Mt)if(ln(Mt)){var vr=(0,xe.Z)(Mt),Br=vr[0],Wr=vr.slice(1);Xe.reducers=[Gs(Br,Qe,"reducer")].concat((0,et.Z)(Wr))}else Xe.reducers=Gs(Mt,Qe,"reducer");return Gt&&(Xe.effects=Gs(Gt,Qe,"effect")),Xe}var Bs=["onError","onStateChange","onAction","onHmr","onReducer","onEffect","extraReducers","extraEnhancers","_handleActions"];function ro(Xe){return Object.keys(Xe).reduce(function(Qe,Mt){return Bs.indexOf(Mt)>-1&&(Qe[Mt]=Xe[Mt]),Qe},{})}var ja=function(){function Xe(){(0,Cr.Z)(this,Xe),this._handleActions=null,this.hooks=Bs.reduce(function(Qe,Mt){return Qe[Mt]=[],Qe},{})}return(0,kr.Z)(Xe,[{key:"use",value:function(Mt){lr()(ze()(Mt),"plugin.use: plugin should be plain object");var Gt=this.hooks;for(var vr in Mt)Object.prototype.hasOwnProperty.call(Mt,vr)&&(lr()(Gt[vr],"plugin.use: unknown plugin property: ".concat(vr)),vr==="_handleActions"?this._handleActions=Mt[vr]:vr==="extraEnhancers"?Gt[vr]=Mt[vr]:Gt[vr].push(Mt[vr]))}},{key:"apply",value:function(Mt,Gt){var vr=this.hooks,Br=["onError","onHmr"];lr()(Br.indexOf(Mt)>-1,"plugin.apply: hook ".concat(Mt," cannot be applied"));var Wr=vr[Mt];return function(){if(Wr.length){var wn=!0,on=!1,Sn=void 0;try{for(var ri=Wr[Symbol.iterator](),ai;!(wn=(ai=ri.next()).done);wn=!0){var Ai=ai.value;Ai.apply(void 0,arguments)}}catch(Ui){on=!0,Sn=Ui}finally{try{!wn&&ri.return!=null&&ri.return()}finally{if(on)throw Sn}}}else Gt&&Gt.apply(void 0,arguments)}}},{key:"get",value:function(Mt){var Gt=this.hooks;return lr()(Mt in Gt,"plugin.get: hook ".concat(Mt," cannot be got")),Mt==="extraReducers"?Hs(Gt[Mt]):Mt==="onReducer"?ya(Gt[Mt]):Gt[Mt]}}]),Xe}();function Hs(Xe){var Qe={},Mt=!0,Gt=!1,vr=void 0;try{for(var Br=Xe[Symbol.iterator](),Wr;!(Mt=(Wr=Br.next()).done);Mt=!0){var wn=Wr.value;Qe=(0,l.Z)({},Qe,wn)}}catch(on){Gt=!0,vr=on}finally{try{!Mt&&Br.return!=null&&Br.return()}finally{if(Gt)throw vr}}return Qe}function ya(Xe){return function(Qe){var Mt=!0,Gt=!1,vr=void 0;try{for(var Br=Xe[Symbol.iterator](),Wr;!(Mt=(Wr=Br.next()).done);Mt=!0){var wn=Wr.value;Qe=wn(Qe)}}catch(on){Gt=!0,vr=on}finally{try{!Mt&&Br.return!=null&&Br.return()}finally{if(Gt)throw vr}}return Qe}}function cs(Xe){var Qe=Xe.reducers,Mt=Xe.initialState,Gt=Xe.plugin,vr=Xe.sagaMiddleware,Br=Xe.promiseMiddleware,Wr=Xe.createOpts.setupMiddlewares,wn=Wr===void 0?Ia:Wr,on=Gt.get("extraEnhancers");lr()(ln(on),"[app.start] extraEnhancers should be array, but got ".concat((0,Ir.Z)(on)));var Sn=Gt.get("onAction"),ri=wn([Br,vr].concat((0,et.Z)(Rr()(Sn)))),ai=c.qC,Ai=[c.md.apply(void 0,(0,et.Z)(ri))].concat((0,et.Z)(on));return(0,c.MT)(Qe,Mt,ai.apply(void 0,(0,et.Z)(Ai)))}function fs(Xe,Qe){var Mt="".concat(Qe.namespace).concat(Ea).concat(Xe),Gt=Mt.replace(/\/@@[^/]+?$/,""),vr=Array.isArray(Qe.reducers)?Qe.reducers[0][Gt]:Qe.reducers&&Qe.reducers[Gt];return vr||Qe.effects&&Qe.effects[Gt]?Mt:Xe}function Li(Xe,Qe,Mt,Gt){var vr=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};return sn().mark(function Br(){var Wr;return sn().wrap(function(on){for(;;)switch(on.prev=on.next){case 0:on.t0=sn().keys(Xe);case 1:if((on.t1=on.t0()).done){on.next=7;break}if(Wr=on.t1.value,!Object.prototype.hasOwnProperty.call(Xe,Wr)){on.next=5;break}return on.delegateYield(sn().mark(function Sn(){var ri,ai;return sn().wrap(function(Ui){for(;;)switch(Ui.prev=Ui.next){case 0:return ri=ra(Wr,Xe[Wr],Qe,Mt,Gt,vr),Ui.next=3,jr(ri);case 3:return ai=Ui.sent,Ui.next=6,jr(sn().mark(function na(){return sn().wrap(function(Oi){for(;;)switch(Oi.prev=Oi.next){case 0:return Oi.next=2,Ye("".concat(Qe.namespace,"/@@CANCEL_EFFECTS"));case 2:return Oi.next=4,un(ai);case 4:case"end":return Oi.stop()}},na)}));case 6:case"end":return Ui.stop()}},Sn)})(),"t2",5);case 5:on.next=1;break;case 7:case"end":return on.stop()}},Br)})}function ra(Xe,Qe,Mt,Gt,vr,Br){var Wr=sn().mark(na),wn=Qe,on="takeEvery",Sn,ri;if(Array.isArray(Qe)){var ai=(0,Tr.Z)(Qe,1);wn=ai[0];var Ai=Qe[1];Ai&&Ai.type&&(on=Ai.type,on==="throttle"&&(lr()(Ai.ms,"app.start: opts.ms should be defined if type is throttle"),Sn=Ai.ms),on==="poll"&&(lr()(Ai.delay,"app.start: opts.delay should be defined if type is poll"),ri=Ai.delay)),lr()(["watcher","takeEvery","takeLatest","throttle","poll"].indexOf(on)>-1,"app.start: effect type should be takeEvery, takeLatest, throttle, poll or watcher")}function Ui(){}function na(){var Oi,Da,Mi,Di,wa,_o,Us,ua,Xa,va=arguments;return sn().wrap(function(Pa){for(;;)switch(Pa.prev=Pa.next){case 0:for(Oi=va.length,Da=new Array(Oi),Mi=0;Mi<Oi;Mi++)Da[Mi]=va[Mi];return Di=Da.length>0?Da[0]:{},wa=Di.__dva_resolve,_o=wa===void 0?Ui:wa,Us=Di.__dva_reject,ua=Us===void 0?Ui:Us,Pa.prev=2,Pa.next=5,Lt({type:"".concat(Xe).concat(Ea,"@@start")});case 5:return Pa.next=7,wn.apply(void 0,(0,et.Z)(Da.concat(ks(Mt,Br))));case 7:return Xa=Pa.sent,Pa.next=10,Lt({type:"".concat(Xe).concat(Ea,"@@end")});case 10:_o(Xa),Pa.next=17;break;case 13:Pa.prev=13,Pa.t0=Pa.catch(2),Gt(Pa.t0,{key:Xe,effectArgs:Da}),Pa.t0._dontReject||ua(Pa.t0);case 17:case"end":return Pa.stop()}},Wr,null,[[2,13]])}var Xi=Mo(vr,na,Mt,Xe);switch(on){case"watcher":return na;case"takeLatest":return sn().mark(function Oi(){return sn().wrap(function(Mi){for(;;)switch(Mi.prev=Mi.next){case 0:return Mi.next=2,tt(Xe,Xi);case 2:case"end":return Mi.stop()}},Oi)});case"throttle":return sn().mark(function Oi(){return sn().wrap(function(Mi){for(;;)switch(Mi.prev=Mi.next){case 0:return Mi.next=2,Ot(Sn,Xe,Xi);case 2:case"end":return Mi.stop()}},Oi)});case"poll":return sn().mark(function Oi(){var Da,Mi,Di,wa,_o,Us,ua;return sn().wrap(function(va){for(;;)switch(va.prev=va.next){case 0:Di=function(Pa,us){var ms;return sn().wrap(function(gs){for(;;)switch(gs.prev=gs.next){case 0:ms=Pa.call;case 1:return gs.next=4,ms(Xi,us);case 4:return gs.next=6,ms(Mi,ri);case 6:gs.next=1;break;case 8:case"end":return gs.stop()}},Da)},Mi=function(Pa){return new Promise(function(us){return setTimeout(us,Pa)})},Da=sn().mark(Di),wa=Yr,_o=Ye,Us=Or;case 4:return va.next=7,_o("".concat(Xe,"-start"));case 7:return ua=va.sent,va.next=10,Us([wa(Di,r,ua),_o("".concat(Xe,"-stop"))]);case 10:va.next=4;break;case 12:case"end":return va.stop()}},Oi)});default:return sn().mark(function Oi(){return sn().wrap(function(Mi){for(;;)switch(Mi.prev=Mi.next){case 0:return Mi.next=2,dt(Xe,Xi);case 2:case"end":return Mi.stop()}},Oi)})}}function ks(Xe,Qe){function Mt(Wr,wn){lr()(Wr,"dispatch: action should be a plain Object with type");var on=Qe.namespacePrefixWarning,Sn=on===void 0?!0:on;Sn&&tr()(Wr.indexOf("".concat(Xe.namespace).concat(Ea))!==0,"[".concat(wn,"] ").concat(Wr," should not be prefixed with namespace ").concat(Xe.namespace))}function Gt(Wr){var wn=Wr.type;return Mt(wn,"sagaEffects.put"),Lt((0,l.Z)({},Wr,{type:fs(wn,Xe)}))}function vr(Wr){var wn=Wr.type;return Mt(wn,"sagaEffects.put.resolve"),Lt.resolve((0,l.Z)({},Wr,{type:fs(wn,Xe)}))}Gt.resolve=vr;function Br(Wr){return typeof Wr=="string"?(Mt(Wr,"sagaEffects.take"),Ye(fs(Wr,Xe))):Array.isArray(Wr)?Ye(Wr.map(function(wn){return typeof wn=="string"?(Mt(wn,"sagaEffects.take"),fs(wn,Xe)):wn})):Ye(Wr)}return(0,l.Z)({},r,{put:Gt,take:Br})}function Mo(Xe,Qe,Mt,Gt){var vr=!0,Br=!1,Wr=void 0;try{for(var wn=Xe[Symbol.iterator](),on;!(vr=(on=wn.next()).done);vr=!0){var Sn=on.value;Qe=Sn(Qe,r,Mt,Gt)}}catch(ri){Br=!0,Wr=ri}finally{try{!vr&&wn.return!=null&&wn.return()}finally{if(Br)throw Wr}}return Qe}function Ya(Xe){return Xe}function Ns(Xe){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ya;return function(Mt,Gt){var vr=Gt.type;return lr()(vr,"dispatch: action should be a plain Object with type"),Xe===vr?Qe(Mt,Gt):Mt}}function is(){for(var Xe=arguments.length,Qe=new Array(Xe),Mt=0;Mt<Xe;Mt++)Qe[Mt]=arguments[Mt];return function(Gt,vr){return Qe.reduce(function(Br,Wr){return Wr(Br,vr)},Gt)}}function fo(Xe,Qe){var Mt=Object.keys(Xe).map(function(vr){return Ns(vr,Xe[vr])}),Gt=is.apply(void 0,(0,et.Z)(Mt));return function(){var vr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qe,Br=arguments.length>1?arguments[1]:void 0;return Gt(vr,Br)}}function bn(Xe,Qe,Mt){return Array.isArray(Xe)?Xe[1]((Mt||fo)(Xe[0],Qe)):(Mt||fo)(Xe||{},Qe)}function as(Xe){return function(){return function(Mt){return function(Gt){var vr=Gt.type;return Qe(vr)?new Promise(function(Br,Wr){Mt((0,l.Z)({__dva_resolve:Br,__dva_reject:Wr},Gt))}):Mt(Gt)}}};function Qe(Mt){if(!Mt||typeof Mt!="string")return!1;var Gt=Mt.split(Ea),vr=(0,Tr.Z)(Gt,1),Br=vr[0],Wr=Xe._models.filter(function(wn){return wn.namespace===Br})[0];return!!(Wr&&Wr.effects&&Wr.effects[Mt])}}function Ps(Xe,Qe){return function(Mt){var Gt=Mt.type;return lr()(Gt,"dispatch: action should be a plain Object with type"),tr()(Gt.indexOf("".concat(Qe.namespace).concat(Ea))!==0,"dispatch: ".concat(Gt," should not be prefixed with namespace ").concat(Qe.namespace)),Xe((0,l.Z)({},Mt,{type:fs(Gt,Qe)}))}}function Is(Xe,Qe,Mt,Gt){var vr=[],Br=[];for(var Wr in Xe)if(Object.prototype.hasOwnProperty.call(Xe,Wr)){var wn=Xe[Wr],on=wn({dispatch:Ps(Mt._store.dispatch,Qe),history:Mt._history},Gt);Ln(on)?vr.push(on):Br.push(Wr)}return{funcs:vr,nonFuncs:Br}}function oa(Xe,Qe){if(Xe[Qe]){var Mt=Xe[Qe],Gt=Mt.funcs,vr=Mt.nonFuncs;tr()(vr.length===0,"[app.unmodel] subscription should return unlistener function, check these subscriptions ".concat(vr.join(", ")));var Br=!0,Wr=!1,wn=void 0;try{for(var on=Gt[Symbol.iterator](),Sn;!(Br=(Sn=on.next()).done);Br=!0){var ri=Sn.value;ri()}}catch(ai){Wr=!0,wn=ai}finally{try{!Br&&on.return!=null&&on.return()}finally{if(Wr)throw wn}}delete Xe[Qe]}}var ss=ji,Ja=Ii,$s={namespace:"@@dva",state:0,reducers:{UPDATE:function(Qe){return Qe+1}}};function ho(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Mt=Qe.initialReducer,Gt=Qe.setupApp,vr=Gt===void 0?ss:Gt,Br=new ja;Br.use(ro(Xe));var Wr={_models:[$a((0,l.Z)({},$s))],_store:null,_plugin:Br,use:Br.use.bind(Br),model:wn,start:ai};return Wr;function wn(Ai){var Ui=$a((0,l.Z)({},Ai));return Wr._models.push(Ui),Ui}function on(Ai,Ui,na,Xi){Xi=wn(Xi);var Oi=Wr._store;Oi.asyncReducers[Xi.namespace]=bn(Xi.reducers,Xi.state,Br._handleActions),Oi.replaceReducer(Ai()),Xi.effects&&Oi.runSaga(Wr._getSaga(Xi.effects,Xi,Ui,Br.get("onEffect"),Xe)),Xi.subscriptions&&(na[Xi.namespace]=Is(Xi.subscriptions,Xi,Wr,Ui))}function Sn(Ai,Ui,na,Xi){var Oi=Wr._store;delete Oi.asyncReducers[Xi],delete Ui[Xi],Oi.replaceReducer(Ai()),Oi.dispatch({type:"@@dva/UPDATE"}),Oi.dispatch({type:"".concat(Xi,"/@@CANCEL_EFFECTS")}),oa(na,Xi),Wr._models=Wr._models.filter(function(Da){return Da.namespace!==Xi})}function ri(Ai,Ui,na,Xi,Oi){var Da=Wr._store,Mi=Oi.namespace,Di=Ja(Wr._models,function(wa){return wa.namespace===Mi});~Di&&(Da.dispatch({type:"".concat(Mi,"/@@CANCEL_EFFECTS")}),delete Da.asyncReducers[Mi],delete Ui[Mi],oa(na,Mi),Wr._models.splice(Di,1)),Wr.model(Oi),Da.dispatch({type:"@@dva/UPDATE"})}function ai(){var Ai=function(xr,Qr){xr&&(typeof xr=="string"&&(xr=new Error(xr)),xr.preventDefault=function(){xr._dontReject=!0},Br.apply("onError",function(_r){throw new Error(_r.stack||_r)})(xr,Wr._store.dispatch,Qr))},Ui=mt(),na=as(Wr);Wr._getSaga=Li.bind(null);var Xi=[],Oi=(0,l.Z)({},Mt),Da=!0,Mi=!1,Di=void 0;try{for(var wa=Wr._models[Symbol.iterator](),_o;!(Da=(_o=wa.next()).done);Da=!0){var Us=_o.value;Oi[Us.namespace]=bn(Us.reducers,Us.state,Br._handleActions),Us.effects&&Xi.push(Wr._getSaga(Us.effects,Us,Ai,Br.get("onEffect"),Xe))}}catch(we){Mi=!0,Di=we}finally{try{!Da&&wa.return!=null&&wa.return()}finally{if(Mi)throw Di}}var ua=Br.get("onReducer"),Xa=Br.get("extraReducers");lr()(Object.keys(Xa).every(function(we){return!(we in Oi)}),"[app.start] extraReducers is conflict with other reducers, reducers list: ".concat(Object.keys(Oi).join(", "))),Wr._store=cs({reducers:ye(),initialState:Xe.initialState||{},plugin:Br,createOpts:Qe,sagaMiddleware:Ui,promiseMiddleware:na});var va=Wr._store;va.runSaga=Ui.run,va.asyncReducers={};var Wi=Br.get("onStateChange"),Pa=!0,us=!1,ms=void 0;try{for(var So=function(){var xr=ko.value;va.subscribe(function(){xr(va.getState())})},gs=Wi[Symbol.iterator](),ko;!(Pa=(ko=gs.next()).done);Pa=!0)So()}catch(we){us=!0,ms=we}finally{try{!Pa&&gs.return!=null&&gs.return()}finally{if(us)throw ms}}Xi.forEach(Ui.run),vr(Wr);var _s={},yo=!0,bo=!1,Sa=void 0;try{for(var rs=this._models[Symbol.iterator](),Xs;!(yo=(Xs=rs.next()).done);yo=!0){var Oa=Xs.value;Oa.subscriptions&&(_s[Oa.namespace]=Is(Oa.subscriptions,Oa,Wr,Ai))}}catch(we){bo=!0,Sa=we}finally{try{!yo&&rs.return!=null&&rs.return()}finally{if(bo)throw Sa}}Wr.model=on.bind(Wr,ye,Ai,_s),Wr.unmodel=Sn.bind(Wr,ye,Oi,_s),Wr.replaceModel=ri.bind(Wr,ye,Oi,_s,Ai);function ye(){return ua((0,c.UY)((0,l.Z)({},Oi,Xa,Wr._store?Wr._store.asyncReducers:{})))}}}var po=e(37573),Fo=e(45097),tu=e(4676);function zo(Xe){Xe()}let Io=zo;const Zo=Xe=>Io=Xe,ru=()=>Io,Ho=Symbol.for("react-redux-context"),ns=typeof globalThis!="undefined"?globalThis:{};function oi(){var Xe;if(!i.createContext)return{};const Qe=(Xe=ns[Ho])!=null?Xe:ns[Ho]=new Map;let Mt=Qe.get(i.createContext);return Mt||(Mt=i.createContext(null),Qe.set(i.createContext,Mt)),Mt}const _i=oi();var es=null;function ts(Xe=_i){return function(){return(0,i.useContext)(Xe)}}const ds=ts(),Bo=()=>{throw new Error("uSES not initialized!")};let Wo=Bo;const du=Xe=>{Wo=Xe},js=(Xe,Qe)=>Xe===Qe;function No(Xe=_i){const Qe=Xe===_i?ds:ts(Xe);return function(Gt,vr={}){const{equalityFn:Br=js,stabilityCheck:Wr=void 0,noopCheck:wn=void 0}=typeof vr=="function"?{equalityFn:vr}:vr,{store:on,subscription:Sn,getServerState:ri,stabilityCheck:ai,noopCheck:Ai}=Qe(),Ui=(0,i.useRef)(!0),na=(0,i.useCallback)({[Gt.name](Oi){return Gt(Oi)}}[Gt.name],[Gt,ai,Wr]),Xi=Wo(Sn.addNestedSub,on.getState,ri||on.getState,na,Br);return(0,i.useDebugValue)(Xi),Xi}}const nu=No();var yu=e(54476),Nu=e(85377),Ju=e(94266),$o=e.n(Ju),oo=e(23265);const bu=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Do(Xe,Qe,Mt,Gt,{areStatesEqual:vr,areOwnPropsEqual:Br,areStatePropsEqual:Wr}){let wn=!1,on,Sn,ri,ai,Ai;function Ui(Mi,Di){return on=Mi,Sn=Di,ri=Xe(on,Sn),ai=Qe(Gt,Sn),Ai=Mt(ri,ai,Sn),wn=!0,Ai}function na(){return ri=Xe(on,Sn),Qe.dependsOnOwnProps&&(ai=Qe(Gt,Sn)),Ai=Mt(ri,ai,Sn),Ai}function Xi(){return Xe.dependsOnOwnProps&&(ri=Xe(on,Sn)),Qe.dependsOnOwnProps&&(ai=Qe(Gt,Sn)),Ai=Mt(ri,ai,Sn),Ai}function Oi(){const Mi=Xe(on,Sn),Di=!Wr(Mi,ri);return ri=Mi,Di&&(Ai=Mt(ri,ai,Sn)),Ai}function Da(Mi,Di){const wa=!Br(Di,Sn),_o=!vr(Mi,on,Di,Sn);return on=Mi,Sn=Di,wa&&_o?na():wa?Xi():_o?Oi():Ai}return function(Di,wa){return wn?Da(Di,wa):Ui(Di,wa)}}function Oo(Xe,Qe){let{initMapStateToProps:Mt,initMapDispatchToProps:Gt,initMergeProps:vr}=Qe,Br=(0,Nu.Z)(Qe,bu);const Wr=Mt(Xe,Br),wn=Gt(Xe,Br),on=vr(Xe,Br);return Do(Wr,wn,on,Xe,Br)}function jo(Xe,Qe){const Mt={};for(const Gt in Xe){const vr=Xe[Gt];typeof vr=="function"&&(Mt[Gt]=(...Br)=>Qe(vr(...Br)))}return Mt}function Iu(Xe){return function(Mt){const Gt=Xe(Mt);function vr(){return Gt}return vr.dependsOnOwnProps=!1,vr}}function Vo(Xe){return Xe.dependsOnOwnProps?!!Xe.dependsOnOwnProps:Xe.length!==1}function iu(Xe,Qe){return function(Gt,{displayName:vr}){const Br=function(wn,on){return Br.dependsOnOwnProps?Br.mapToProps(wn,on):Br.mapToProps(wn,void 0)};return Br.dependsOnOwnProps=!0,Br.mapToProps=function(wn,on){Br.mapToProps=Xe,Br.dependsOnOwnProps=Vo(Xe);let Sn=Br(wn,on);return typeof Sn=="function"&&(Br.mapToProps=Sn,Br.dependsOnOwnProps=Vo(Sn),Sn=Br(wn,on)),Sn},Br}}function uo(Xe,Qe){return(Mt,Gt)=>{throw new Error(`Invalid value of type ${typeof Xe} for ${Qe} argument when connecting component ${Gt.wrappedComponentName}.`)}}function Yo(Xe){return Xe&&typeof Xe=="object"?Iu(Qe=>jo(Xe,Qe)):Xe?typeof Xe=="function"?iu(Xe,"mapDispatchToProps"):uo(Xe,"mapDispatchToProps"):Iu(Qe=>({dispatch:Qe}))}function Du(Xe){return Xe?typeof Xe=="function"?iu(Xe,"mapStateToProps"):uo(Xe,"mapStateToProps"):Iu(()=>({}))}function qt(Xe,Qe,Mt){return(0,yu.Z)({},Mt,Xe,Qe)}function dr(Xe){return function(Mt,{displayName:Gt,areMergedPropsEqual:vr}){let Br=!1,Wr;return function(on,Sn,ri){const ai=Xe(on,Sn,ri);return Br?vr(ai,Wr)||(Wr=ai):(Br=!0,Wr=ai),Wr}}}function ir(Xe){return Xe?typeof Xe=="function"?dr(Xe):uo(Xe,"mergeProps"):()=>qt}function hr(){const Xe=ru();let Qe=null,Mt=null;return{clear(){Qe=null,Mt=null},notify(){Xe(()=>{let Gt=Qe;for(;Gt;)Gt.callback(),Gt=Gt.next})},get(){let Gt=[],vr=Qe;for(;vr;)Gt.push(vr),vr=vr.next;return Gt},subscribe(Gt){let vr=!0,Br=Mt={callback:Gt,next:null,prev:Mt};return Br.prev?Br.prev.next=Br:Qe=Br,function(){!vr||Qe===null||(vr=!1,Br.next?Br.next.prev=Br.prev:Mt=Br.prev,Br.prev?Br.prev.next=Br.next:Qe=Br.next)}}}}const Sr={notify(){},get:()=>[]};function xn(Xe,Qe){let Mt,Gt=Sr,vr=0,Br=!1;function Wr(Xi){ri();const Oi=Gt.subscribe(Xi);let Da=!1;return()=>{Da||(Da=!0,Oi(),ai())}}function wn(){Gt.notify()}function on(){na.onStateChange&&na.onStateChange()}function Sn(){return Br}function ri(){vr++,Mt||(Mt=Qe?Qe.addNestedSub(on):Xe.subscribe(on),Gt=hr())}function ai(){vr--,Mt&&vr===0&&(Mt(),Mt=void 0,Gt.clear(),Gt=Sr)}function Ai(){Br||(Br=!0,ri())}function Ui(){Br&&(Br=!1,ai())}const na={addNestedSub:Wr,notifyNestedSubs:wn,handleChangeWrapper:on,isSubscribed:Sn,trySubscribe:Ai,tryUnsubscribe:Ui,getListeners:()=>Gt};return na}const Bn=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?i.useLayoutEffect:i.useEffect;function Kn(Xe,Qe){return Xe===Qe?Xe!==0||Qe!==0||1/Xe===1/Qe:Xe!==Xe&&Qe!==Qe}function di(Xe,Qe){if(Kn(Xe,Qe))return!0;if(typeof Xe!="object"||Xe===null||typeof Qe!="object"||Qe===null)return!1;const Mt=Object.keys(Xe),Gt=Object.keys(Qe);if(Mt.length!==Gt.length)return!1;for(let vr=0;vr<Mt.length;vr++)if(!Object.prototype.hasOwnProperty.call(Qe,Mt[vr])||!Kn(Xe[Mt[vr]],Qe[Mt[vr]]))return!1;return!0}const ci=["reactReduxForwardedRef"];let cr=Bo;const Mr=Xe=>{cr=Xe},Fr=null,Pn=[null,null],In=Xe=>{try{return JSON.stringify(Xe)}catch(Qe){return String(Xe)}};function pt(Xe,Qe,Mt){Bn(()=>Xe(...Qe),Mt)}function $n(Xe,Qe,Mt,Gt,vr,Br){Xe.current=Gt,Mt.current=!1,vr.current&&(vr.current=null,Br())}function Vn(Xe,Qe,Mt,Gt,vr,Br,Wr,wn,on,Sn,ri){if(!Xe)return()=>{};let ai=!1,Ai=null;const Ui=()=>{if(ai||!wn.current)return;const Xi=Qe.getState();let Oi,Da;try{Oi=Gt(Xi,vr.current)}catch(Mi){Da=Mi,Ai=Mi}Da||(Ai=null),Oi===Br.current?Wr.current||Sn():(Br.current=Oi,on.current=Oi,Wr.current=!0,ri())};return Mt.onStateChange=Ui,Mt.trySubscribe(),Ui(),()=>{if(ai=!0,Mt.tryUnsubscribe(),Mt.onStateChange=null,Ai)throw Ai}}const zi=()=>Fr;function Yi(Xe,Qe){return Xe===Qe}let zr=!1;function pa(Xe,Qe,Mt,{pure:Gt,areStatesEqual:vr=Yi,areOwnPropsEqual:Br=di,areStatePropsEqual:Wr=di,areMergedPropsEqual:wn=di,forwardRef:on=!1,context:Sn=_i}={}){const ri=Sn,ai=Du(Xe),Ai=Yo(Qe),Ui=ir(Mt),na=!!Xe;return Oi=>{const Da=Oi.displayName||Oi.name||"Component",Mi=`Connect(${Da})`,Di={shouldHandleStateChanges:na,displayName:Mi,wrappedComponentName:Da,WrappedComponent:Oi,initMapStateToProps:ai,initMapDispatchToProps:Ai,initMergeProps:Ui,areStatesEqual:vr,areStatePropsEqual:Wr,areOwnPropsEqual:Br,areMergedPropsEqual:wn};function wa(ua){const[Xa,va,Wi]=i.useMemo(()=>{const{reactReduxForwardedRef:zn}=ua,jn=(0,Nu.Z)(ua,ci);return[ua.context,zn,jn]},[ua]),Pa=i.useMemo(()=>Xa&&Xa.Consumer&&(0,oo.isContextConsumer)(i.createElement(Xa.Consumer,null))?Xa:ri,[Xa,ri]),us=i.useContext(Pa),ms=!!ua.store&&!!ua.store.getState&&!!ua.store.dispatch,So=!!us&&!!us.store,gs=ms?ua.store:us.store,ko=So?us.getServerState:gs.getState,_s=i.useMemo(()=>Oo(gs.dispatch,Di),[gs]),[yo,bo]=i.useMemo(()=>{if(!na)return Pn;const zn=xn(gs,ms?void 0:us.subscription),jn=zn.notifyNestedSubs.bind(zn);return[zn,jn]},[gs,ms,us]),Sa=i.useMemo(()=>ms?us:(0,yu.Z)({},us,{subscription:yo}),[ms,us,yo]),rs=i.useRef(),Xs=i.useRef(Wi),Oa=i.useRef(),ye=i.useRef(!1),we=i.useRef(!1),xr=i.useRef(!1),Qr=i.useRef();Bn(()=>(xr.current=!0,()=>{xr.current=!1}),[]);const _r=i.useMemo(()=>()=>Oa.current&&Wi===Xs.current?Oa.current:_s(gs.getState(),Wi),[gs,Wi]),en=i.useMemo(()=>jn=>yo?Vn(na,gs,yo,_s,Xs,rs,ye,xr,Oa,bo,jn):()=>{},[yo]);pt($n,[Xs,rs,ye,Wi,Oa,bo]);let Mn;try{Mn=cr(en,_r,ko?()=>_s(ko(),Wi):_r)}catch(zn){throw Qr.current&&(zn.message+=`
|
|
|
The error may be correlated with this previous error:
|
|
|
${Qr.current.stack}
|
|
|
|
|
|
`),zn}Bn(()=>{Qr.current=void 0,Oa.current=void 0,rs.current=Mn});const ni=i.useMemo(()=>i.createElement(Oi,(0,yu.Z)({},Mn,{ref:va})),[va,Oi,Mn]);return i.useMemo(()=>na?i.createElement(Pa.Provider,{value:Sa},ni):ni,[Pa,ni,Sa])}const Us=i.memo(wa);if(Us.WrappedComponent=Oi,Us.displayName=wa.displayName=Mi,on){const Xa=i.forwardRef(function(Wi,Pa){return i.createElement(Us,(0,yu.Z)({},Wi,{reactReduxForwardedRef:Pa}))});return Xa.displayName=Mi,Xa.WrappedComponent=Oi,$o()(Xa,Oi)}return $o()(Us,Oi)}}var Ji=pa;function Ca({store:Xe,context:Qe,children:Mt,serverState:Gt,stabilityCheck:vr="once",noopCheck:Br="once"}){const Wr=i.useMemo(()=>{const Sn=xn(Xe);return{store:Xe,subscription:Sn,getServerState:Gt?()=>Gt:void 0,stabilityCheck:vr,noopCheck:Br}},[Xe,Gt,vr,Br]),wn=i.useMemo(()=>Xe.getState(),[Xe]);Bn(()=>{const{subscription:Sn}=Wr;return Sn.onStateChange=Sn.notifyNestedSubs,Sn.trySubscribe(),wn!==Xe.getState()&&Sn.notifyNestedSubs(),()=>{Sn.tryUnsubscribe(),Sn.onStateChange=void 0}},[Wr,wn]);const on=Qe||_i;return i.createElement(on.Provider,{value:Wr},Mt)}var hs=Ca;function Rs(Xe=_i){const Qe=Xe===_i?ds:ts(Xe);return function(){const{store:Gt}=Qe();return Gt}}const vi=Rs();function ps(Xe=_i){const Qe=Xe===_i?vi:Rs(Xe);return function(){return Qe().dispatch}}const lo=ps();du(Fo.useSyncExternalStoreWithSelector),Mr(po.useSyncExternalStore),Zo(tu.unstable_batchedUpdates);var cn=Object.defineProperty,Wa=Object.getOwnPropertySymbols,Ks=Object.prototype.hasOwnProperty,mo=Object.prototype.propertyIsEnumerable,Hn=(Xe,Qe,Mt)=>Qe in Xe?cn(Xe,Qe,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):Xe[Qe]=Mt,Ls=(Xe,Qe)=>{for(var Mt in Qe||(Qe={}))Ks.call(Qe,Mt)&&Hn(Xe,Mt,Qe[Mt]);if(Wa)for(var Mt of Wa(Qe))mo.call(Qe,Mt)&&Hn(Xe,Mt,Qe[Mt]);return Xe};function no(Xe){const Qe=create(Xe,{initialReducer:{},setupApp(){}}),Mt=Qe.start;return Qe.router=Gt,Qe.start=vr,Qe;function Gt(Br){Qe._router=Br}function vr(Br){if(typeof Br!="undefined")throw new Error("dva.start() should not be called with any arguments.");Qe._store||Mt.call(Qe);const Wr=Qe._store,wn=Qe._router;return on=>React.createElement(Provider,{store:Wr},wn(Ls({app:Qe},on)))}}},59098:function(d,v,e){"use strict";e.d(v,{fi:function(){return m},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,P)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:P}):R[A]=P,a=(R,A)=>{for(var P in A||(A={}))o.call(A,P)&&u(R,P,A[P]);if(f)for(var P of f(A))h.call(A,P)&&u(R,P,A[P]);return R},x=(R,A)=>l(R,c(A));let p,y="/";function m(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(P,M){A.push(S(P,A),M)},replace(P,M){A.replace(S(P,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 P=A.location.pathname;return x(a({},R),{pathname:R.pathname?`${k(y)}${R.pathname}`:P})}else throw new Error(`Unexpected to: ${R}`)}function k(R){return R.slice(-1)==="/"?R.slice(0,-1):R}},19964:function(d,v,e){"use strict";e.d(v,{gD:function(){return mn},We:function(){return sr}});var r={};e.r(r),e.d(r,{dva:function(){return a}});var i={};e.r(i),e.d(i,{innerProvider:function(){return He}});var l={};e.r(l),e.d(l,{rootContainer:function(){return Ce}});var c={};e.r(c),e.d(c,{dataflowProvider:function(){return Zt}});var f={};e.r(f),e.d(f,{i18nProvider:function(){return wr}});var o=e(8591),h=e(56656),u=e.n(h);u().locale("ZH-cn");const a={config:{onError(Rt){o.ZP.error(Rt.message,3)}}};var x=e(59301),p=e(12708),y=e.n(p),m=e(12373),b=e.n(m),S=e(44520),k=e.n(S),R=e(19747),A=e.n(R);function P(){return P=Object.assign||function(Rt){for(var _t=1;_t<arguments.length;_t++){var gt=arguments[_t];for(var jt in gt)Object.prototype.hasOwnProperty.call(gt,jt)&&(Rt[jt]=gt[jt])}return Rt},P.apply(this,arguments)}function M(Rt,_t){Rt.prototype=Object.create(_t.prototype),Rt.prototype.constructor=Rt,B(Rt,_t)}function B(Rt,_t){return B=Object.setPrototypeOf||function(gt,jt){return gt.__proto__=jt,gt},B(Rt,_t)}function N(Rt,_t){if(Rt==null)return{};var gt,jt,Ar={},yr=Object.keys(Rt);for(jt=0;jt<yr.length;jt++)_t.indexOf(gt=yr[jt])>=0||(Ar[gt]=Rt[gt]);return Ar}var G={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},W={rel:["amphtml","canonical","alternate"]},H={type:["application/ld+json"]},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"]},ne=Object.keys(G).map(function(Rt){return G[Rt]}),oe={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},q=Object.keys(oe).reduce(function(Rt,_t){return Rt[oe[_t]]=_t,Rt},{}),J=function(Rt,_t){for(var gt=Rt.length-1;gt>=0;gt-=1){var jt=Rt[gt];if(Object.prototype.hasOwnProperty.call(jt,_t))return jt[_t]}return null},K=function(Rt){var _t=J(Rt,G.TITLE),gt=J(Rt,"titleTemplate");if(Array.isArray(_t)&&(_t=_t.join("")),gt&&_t)return gt.replace(/%s/g,function(){return _t});var jt=J(Rt,"defaultTitle");return _t||jt||void 0},se=function(Rt){return J(Rt,"onChangeClientState")||function(){}},ee=function(Rt,_t){return _t.filter(function(gt){return gt[Rt]!==void 0}).map(function(gt){return gt[Rt]}).reduce(function(gt,jt){return P({},gt,jt)},{})},Q=function(Rt,_t){return _t.filter(function(gt){return gt[G.BASE]!==void 0}).map(function(gt){return gt[G.BASE]}).reverse().reduce(function(gt,jt){if(!gt.length)for(var Ar=Object.keys(jt),yr=0;yr<Ar.length;yr+=1){var it=Ar[yr].toLowerCase();if(Rt.indexOf(it)!==-1&&jt[it])return gt.concat(jt)}return gt},[])},le=function(Rt,_t,gt){var jt={};return gt.filter(function(Ar){return!!Array.isArray(Ar[Rt])||(Ar[Rt]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+Rt+' should be of type "Array". Instead found type "'+typeof Ar[Rt]+'"'),!1)}).map(function(Ar){return Ar[Rt]}).reverse().reduce(function(Ar,yr){var it={};yr.filter(function(nn){for(var vn,Wn=Object.keys(nn),si=0;si<Wn.length;si+=1){var gi=Wn[si],aa=gi.toLowerCase();_t.indexOf(aa)===-1||vn==="rel"&&nn[vn].toLowerCase()==="canonical"||aa==="rel"&&nn[aa].toLowerCase()==="stylesheet"||(vn=aa),_t.indexOf(gi)===-1||gi!=="innerHTML"&&gi!=="cssText"&&gi!=="itemprop"||(vn=gi)}if(!vn||!nn[vn])return!1;var ui=nn[vn].toLowerCase();return jt[vn]||(jt[vn]={}),it[vn]||(it[vn]={}),!jt[vn][ui]&&(it[vn][ui]=!0,!0)}).reverse().forEach(function(nn){return Ar.push(nn)});for(var Nr=Object.keys(it),An=0;An<Nr.length;An+=1){var Jn=Nr[An],gr=P({},jt[Jn],it[Jn]);jt[Jn]=gr}return Ar},[]).reverse()},z=function(Rt,_t){if(Array.isArray(Rt)&&Rt.length){for(var gt=0;gt<Rt.length;gt+=1)if(Rt[gt][_t])return!0}return!1},$=function(Rt){return Array.isArray(Rt)?Rt.join(""):Rt},ie=function(Rt,_t){return Array.isArray(Rt)?Rt.reduce(function(gt,jt){return function(Ar,yr){for(var it=Object.keys(Ar),Nr=0;Nr<it.length;Nr+=1)if(yr[it[Nr]]&&yr[it[Nr]].includes(Ar[it[Nr]]))return!0;return!1}(jt,_t)?gt.priority.push(jt):gt.default.push(jt),gt},{priority:[],default:[]}):{default:Rt}},me=function(Rt,_t){var gt;return P({},Rt,((gt={})[_t]=void 0,gt))},Pe=[G.NOSCRIPT,G.SCRIPT,G.STYLE],De=function(Rt,_t){return _t===void 0&&(_t=!0),_t===!1?String(Rt):String(Rt).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},Ze=function(Rt){return Object.keys(Rt).reduce(function(_t,gt){var jt=Rt[gt]!==void 0?gt+'="'+Rt[gt]+'"':""+gt;return _t?_t+" "+jt:jt},"")},Ne=function(Rt,_t){return _t===void 0&&(_t={}),Object.keys(Rt).reduce(function(gt,jt){return gt[oe[jt]||jt]=Rt[jt],gt},_t)},Bt=function(Rt,_t){return _t.map(function(gt,jt){var Ar,yr=((Ar={key:jt})["data-rh"]=!0,Ar);return Object.keys(gt).forEach(function(it){var Nr=oe[it]||it;Nr==="innerHTML"||Nr==="cssText"?yr.dangerouslySetInnerHTML={__html:gt.innerHTML||gt.cssText}:yr[Nr]=gt[it]}),x.createElement(Rt,yr)})},yt=function(Rt,_t,gt){switch(Rt){case G.TITLE:return{toComponent:function(){return Ar=_t.titleAttributes,(yr={key:jt=_t.title})["data-rh"]=!0,it=Ne(Ar,yr),[x.createElement(G.TITLE,it,jt)];var jt,Ar,yr,it},toString:function(){return function(jt,Ar,yr,it){var Nr=Ze(yr),An=$(Ar);return Nr?"<"+jt+' data-rh="true" '+Nr+">"+De(An,it)+"</"+jt+">":"<"+jt+' data-rh="true">'+De(An,it)+"</"+jt+">"}(Rt,_t.title,_t.titleAttributes,gt)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Ne(_t)},toString:function(){return Ze(_t)}};default:return{toComponent:function(){return Bt(Rt,_t)},toString:function(){return function(jt,Ar,yr){return Ar.reduce(function(it,Nr){var An=Object.keys(Nr).filter(function(nn){return!(nn==="innerHTML"||nn==="cssText")}).reduce(function(nn,vn){var Wn=Nr[vn]===void 0?vn:vn+'="'+De(Nr[vn],yr)+'"';return nn?nn+" "+Wn:Wn},""),Jn=Nr.innerHTML||Nr.cssText||"",gr=Pe.indexOf(jt)===-1;return it+"<"+jt+' data-rh="true" '+An+(gr?"/>":">"+Jn+"</"+jt+">")},"")}(Rt,_t,gt)}}}},It=function(Rt){var _t=Rt.baseTag,gt=Rt.bodyAttributes,jt=Rt.encode,Ar=Rt.htmlAttributes,yr=Rt.noscriptTags,it=Rt.styleTags,Nr=Rt.title,An=Nr===void 0?"":Nr,Jn=Rt.titleAttributes,gr=Rt.linkTags,nn=Rt.metaTags,vn=Rt.scriptTags,Wn={toComponent:function(){},toString:function(){return""}};if(Rt.prioritizeSeoTags){var si=function(gi){var aa=gi.linkTags,ui=gi.scriptTags,Ni=gi.encode,mi=ie(gi.metaTags,ae),Pi=ie(aa,W),Ra=ie(ui,H);return{priorityMethods:{toComponent:function(){return[].concat(Bt(G.META,mi.priority),Bt(G.LINK,Pi.priority),Bt(G.SCRIPT,Ra.priority))},toString:function(){return yt(G.META,mi.priority,Ni)+" "+yt(G.LINK,Pi.priority,Ni)+" "+yt(G.SCRIPT,Ra.priority,Ni)}},metaTags:mi.default,linkTags:Pi.default,scriptTags:Ra.default}}(Rt);Wn=si.priorityMethods,gr=si.linkTags,nn=si.metaTags,vn=si.scriptTags}return{priority:Wn,base:yt(G.BASE,_t,jt),bodyAttributes:yt("bodyAttributes",gt,jt),htmlAttributes:yt("htmlAttributes",Ar,jt),link:yt(G.LINK,gr,jt),meta:yt(G.META,nn,jt),noscript:yt(G.NOSCRIPT,yr,jt),script:yt(G.SCRIPT,vn,jt),style:yt(G.STYLE,it,jt),title:yt(G.TITLE,{title:An,titleAttributes:Jn},jt)}},rr=[],Yt=function(Rt,_t){var gt=this;_t===void 0&&(_t=typeof document!="undefined"),this.instances=[],this.value={setHelmet:function(jt){gt.context.helmet=jt},helmetInstances:{get:function(){return gt.canUseDOM?rr:gt.instances},add:function(jt){(gt.canUseDOM?rr:gt.instances).push(jt)},remove:function(jt){var Ar=(gt.canUseDOM?rr:gt.instances).indexOf(jt);(gt.canUseDOM?rr:gt.instances).splice(Ar,1)}}},this.context=Rt,this.canUseDOM=_t,_t||(Rt.helmet=It({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},ur=x.createContext({}),We=y().shape({setHelmet:y().func,helmetInstances:y().shape({get:y().func,add:y().func,remove:y().func})}),Pt=typeof document!="undefined",zt=function(Rt){function _t(gt){var jt;return(jt=Rt.call(this,gt)||this).helmetData=new Yt(jt.props.context,_t.canUseDOM),jt}return M(_t,Rt),_t.prototype.render=function(){return x.createElement(ur.Provider,{value:this.helmetData.value},this.props.children)},_t}(x.Component);zt.canUseDOM=Pt,zt.propTypes={context:y().shape({helmet:y().shape()}),children:y().node.isRequired},zt.defaultProps={context:{}},zt.displayName="HelmetProvider";var nt=function(Rt,_t){var gt,jt=document.head||document.querySelector(G.HEAD),Ar=jt.querySelectorAll(Rt+"[data-rh]"),yr=[].slice.call(Ar),it=[];return _t&&_t.length&&_t.forEach(function(Nr){var An=document.createElement(Rt);for(var Jn in Nr)Object.prototype.hasOwnProperty.call(Nr,Jn)&&(Jn==="innerHTML"?An.innerHTML=Nr.innerHTML:Jn==="cssText"?An.styleSheet?An.styleSheet.cssText=Nr.cssText:An.appendChild(document.createTextNode(Nr.cssText)):An.setAttribute(Jn,Nr[Jn]===void 0?"":Nr[Jn]));An.setAttribute("data-rh","true"),yr.some(function(gr,nn){return gt=nn,An.isEqualNode(gr)})?yr.splice(gt,1):it.push(An)}),yr.forEach(function(Nr){return Nr.parentNode.removeChild(Nr)}),it.forEach(function(Nr){return jt.appendChild(Nr)}),{oldTags:yr,newTags:it}},Et=function(Rt,_t){var gt=document.getElementsByTagName(Rt)[0];if(gt){for(var jt=gt.getAttribute("data-rh"),Ar=jt?jt.split(","):[],yr=[].concat(Ar),it=Object.keys(_t),Nr=0;Nr<it.length;Nr+=1){var An=it[Nr],Jn=_t[An]||"";gt.getAttribute(An)!==Jn&>.setAttribute(An,Jn),Ar.indexOf(An)===-1&&Ar.push(An);var gr=yr.indexOf(An);gr!==-1&&yr.splice(gr,1)}for(var nn=yr.length-1;nn>=0;nn-=1)gt.removeAttribute(yr[nn]);Ar.length===yr.length?gt.removeAttribute("data-rh"):gt.getAttribute("data-rh")!==it.join(",")&>.setAttribute("data-rh",it.join(","))}},ht=function(Rt,_t){var gt=Rt.baseTag,jt=Rt.htmlAttributes,Ar=Rt.linkTags,yr=Rt.metaTags,it=Rt.noscriptTags,Nr=Rt.onChangeClientState,An=Rt.scriptTags,Jn=Rt.styleTags,gr=Rt.title,nn=Rt.titleAttributes;Et(G.BODY,Rt.bodyAttributes),Et(G.HTML,jt),function(gi,aa){gi!==void 0&&document.title!==gi&&(document.title=$(gi)),Et(G.TITLE,aa)}(gr,nn);var vn={baseTag:nt(G.BASE,gt),linkTags:nt(G.LINK,Ar),metaTags:nt(G.META,yr),noscriptTags:nt(G.NOSCRIPT,it),scriptTags:nt(G.SCRIPT,An),styleTags:nt(G.STYLE,Jn)},Wn={},si={};Object.keys(vn).forEach(function(gi){var aa=vn[gi],ui=aa.newTags,Ni=aa.oldTags;ui.length&&(Wn[gi]=ui),Ni.length&&(si[gi]=vn[gi].oldTags)}),_t&&_t(),Nr(Rt,Wn,si)},Je=null,Ue=function(Rt){function _t(){for(var jt,Ar=arguments.length,yr=new Array(Ar),it=0;it<Ar;it++)yr[it]=arguments[it];return(jt=Rt.call.apply(Rt,[this].concat(yr))||this).rendered=!1,jt}M(_t,Rt);var gt=_t.prototype;return gt.shouldComponentUpdate=function(jt){return!A()(jt,this.props)},gt.componentDidUpdate=function(){this.emitChange()},gt.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},gt.emitChange=function(){var jt,Ar,yr=this.props.context,it=yr.setHelmet,Nr=null,An=(jt=yr.helmetInstances.get().map(function(Jn){var gr=P({},Jn.props);return delete gr.context,gr}),{baseTag:Q(["href"],jt),bodyAttributes:ee("bodyAttributes",jt),defer:J(jt,"defer"),encode:J(jt,"encodeSpecialCharacters"),htmlAttributes:ee("htmlAttributes",jt),linkTags:le(G.LINK,["rel","href"],jt),metaTags:le(G.META,["name","charset","http-equiv","property","itemprop"],jt),noscriptTags:le(G.NOSCRIPT,["innerHTML"],jt),onChangeClientState:se(jt),scriptTags:le(G.SCRIPT,["src","innerHTML"],jt),styleTags:le(G.STYLE,["cssText"],jt),title:K(jt),titleAttributes:ee("titleAttributes",jt),prioritizeSeoTags:z(jt,"prioritizeSeoTags")});zt.canUseDOM?(Ar=An,Je&&cancelAnimationFrame(Je),Ar.defer?Je=requestAnimationFrame(function(){ht(Ar,function(){Je=null})}):(ht(Ar),Je=null)):It&&(Nr=It(An)),it(Nr)},gt.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},gt.render=function(){return this.init(),null},_t}(x.Component);Ue.propTypes={context:We.isRequired},Ue.displayName="HelmetDispatcher";var ge=["children"],Se=["children"],Le=function(Rt){function _t(){return Rt.apply(this,arguments)||this}M(_t,Rt);var gt=_t.prototype;return gt.shouldComponentUpdate=function(jt){return!b()(me(this.props,"helmetData"),me(jt,"helmetData"))},gt.mapNestedChildrenToProps=function(jt,Ar){if(!Ar)return null;switch(jt.type){case G.SCRIPT:case G.NOSCRIPT:return{innerHTML:Ar};case G.STYLE:return{cssText:Ar};default:throw new Error("<"+jt.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},gt.flattenArrayTypeChildren=function(jt){var Ar,yr=jt.child,it=jt.arrayTypeChildren;return P({},it,((Ar={})[yr.type]=[].concat(it[yr.type]||[],[P({},jt.newChildProps,this.mapNestedChildrenToProps(yr,jt.nestedChildren))]),Ar))},gt.mapObjectTypeChildren=function(jt){var Ar,yr,it=jt.child,Nr=jt.newProps,An=jt.newChildProps,Jn=jt.nestedChildren;switch(it.type){case G.TITLE:return P({},Nr,((Ar={})[it.type]=Jn,Ar.titleAttributes=P({},An),Ar));case G.BODY:return P({},Nr,{bodyAttributes:P({},An)});case G.HTML:return P({},Nr,{htmlAttributes:P({},An)});default:return P({},Nr,((yr={})[it.type]=P({},An),yr))}},gt.mapArrayTypeChildrenToProps=function(jt,Ar){var yr=P({},Ar);return Object.keys(jt).forEach(function(it){var Nr;yr=P({},yr,((Nr={})[it]=jt[it],Nr))}),yr},gt.warnOnInvalidChildren=function(jt,Ar){return k()(ne.some(function(yr){return jt.type===yr}),typeof jt.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+ne.join(", ")+" are allowed. Helmet does not support rendering <"+jt.type+"> elements. Refer to our API for more information."),k()(!Ar||typeof Ar=="string"||Array.isArray(Ar)&&!Ar.some(function(yr){return typeof yr!="string"}),"Helmet expects a string as a child of <"+jt.type+">. Did you forget to wrap your children in braces? ( <"+jt.type+">{``}</"+jt.type+"> ) Refer to our API for more information."),!0},gt.mapChildrenToProps=function(jt,Ar){var yr=this,it={};return x.Children.forEach(jt,function(Nr){if(Nr&&Nr.props){var An=Nr.props,Jn=An.children,gr=N(An,ge),nn=Object.keys(gr).reduce(function(Wn,si){return Wn[q[si]||si]=gr[si],Wn},{}),vn=Nr.type;switch(typeof vn=="symbol"?vn=vn.toString():yr.warnOnInvalidChildren(Nr,Jn),vn){case G.FRAGMENT:Ar=yr.mapChildrenToProps(Jn,Ar);break;case G.LINK:case G.META:case G.NOSCRIPT:case G.SCRIPT:case G.STYLE:it=yr.flattenArrayTypeChildren({child:Nr,arrayTypeChildren:it,newChildProps:nn,nestedChildren:Jn});break;default:Ar=yr.mapObjectTypeChildren({child:Nr,newProps:Ar,newChildProps:nn,nestedChildren:Jn})}}}),this.mapArrayTypeChildrenToProps(it,Ar)},gt.render=function(){var jt=this.props,Ar=jt.children,yr=N(jt,Se),it=P({},yr),Nr=yr.helmetData;return Ar&&(it=this.mapChildrenToProps(Ar,it)),!Nr||Nr instanceof Yt||(Nr=new Yt(Nr.context,Nr.instances)),Nr?x.createElement(Ue,P({},it,{context:Nr.value,helmetData:void 0})):x.createElement(ur.Consumer,null,function(An){return x.createElement(Ue,P({},it,{context:An}))})},_t}(x.Component);Le.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},Le.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Le.displayName="Helmet";const je={},He=Rt=>x.createElement(zt,{context:je},Rt);var rt=e(92736),lt=e(76560),Kt=e(36237),Wt=e(21384),Ae=e(28440),qe=e.n(Ae),Vt=Object.defineProperty,kt=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,$t=Object.prototype.propertyIsEnumerable,Tt=(Rt,_t,gt)=>_t in Rt?Vt(Rt,_t,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Rt[_t]=gt,Xt=(Rt,_t)=>{for(var gt in _t||(_t={}))Ht.call(_t,gt)&&Tt(Rt,gt,_t[gt]);if(kt)for(var gt of kt(_t))$t.call(_t,gt)&&Tt(Rt,gt,_t[gt]);return Rt},Ge=(Rt,_t)=>{var gt={};for(var jt in Rt)Ht.call(Rt,jt)&&_t.indexOf(jt)<0&&(gt[jt]=Rt[jt]);if(Rt!=null&&kt)for(var jt of kt(Rt))_t.indexOf(jt)<0&&$t.call(Rt,jt)&&(gt[jt]=Rt[jt]);return gt};let ce=null;const pe=()=>(ce||(ce=sr().applyPlugins({key:"antd",type:lt.ApplyPluginsType.modify,initialValue:Xt({},{componentSize:"middle"})})),ce);function Dt({children:Rt}){let _t=Rt;const[gt,jt]=x.useState(()=>{const yr=pe(),{appConfig:it}=yr;return Ge(yr,["appConfig"])}),Ar=yr=>{jt(it=>qe()({},it,typeof yr=="function"?yr(it):yr))};return gt.prefixCls&&rt.ZP.config({prefixCls:gt.prefixCls}),gt.iconPrefixCls&&rt.ZP.config({iconPrefixCls:gt.iconPrefixCls}),gt.theme&&rt.ZP.config({theme:gt.theme}),_t=x.createElement(rt.ZP,Xt({},gt),_t),_t=x.createElement(Kt.StyleProvider,{hashPriority:"high"},_t),_t=x.createElement(Wt.C.Provider,{value:Ar},x.createElement(Wt.S.Provider,{value:gt},_t)),_t}function Ce(Rt){return x.createElement(Dt,null,Rt)}var ct=e(55610);function Zt(Rt,_t){return x.createElement(ct.j,_t,Rt)}var St=e(24175),Ie=e(26108),wt=e(81863),be=Object.defineProperty,Ye=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable,Me=(Rt,_t,gt)=>_t in Rt?be(Rt,_t,{enumerable:!0,configurable:!0,writable:!0,value:gt}):Rt[_t]=gt,Or=(Rt,_t)=>{for(var gt in _t||(_t={}))vt.call(_t,gt)&&Me(Rt,gt,_t[gt]);if(Ye)for(var gt of Ye(_t))Lt.call(_t,gt)&&Me(Rt,gt,_t[gt]);return Rt};function At(){var Rt,_t;const gt=getLocale();(Rt=moment)!=null&&Rt.locale&&moment.locale(((_t=localeInfo[gt])==null?void 0:_t.momentLocale)||"zh-cn"),setIntl(gt)}const Yr=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?x.useLayoutEffect:x.useEffect,rn=Rt=>{var _t;const gt=(0,Ie.Kd)(),[jt,Ar]=x.useState(gt),[yr,it]=x.useState(()=>(0,Ie.lw)(jt,!0)),Nr=gr=>{var nn,vn;(nn=u())!=null&&nn.locale&&u().locale(((vn=Ie.H8[gr])==null?void 0:vn.momentLocale)||"en"),Ar(gr),it((0,Ie.lw)(gr))};Yr(()=>(Ie.B.on(Ie.PZ,Nr),()=>{Ie.B.off(Ie.PZ,Nr)}),[]);const An=Or({},wt.Z),Jn=(0,Ie.Mg)();return x.createElement(rt.ZP,{direction:Jn,locale:((_t=Ie.H8[jt])==null?void 0:_t.antd)||An},x.createElement(Ie.eU,{value:yr},Rt.children))};function wr(Rt){return x.createElement(rn,null,Rt)}function jr(Rt){return Rt.default?typeof Rt.default=="function"?Rt.default():Rt.default:Rt}function mr(){return[{apply:jr(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 Zr(){return["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","dva","locale","qiankun"]}let un=null;function mn(){return un=lt.PluginManager.create({plugins:mr(),validKeys:Zr()}),un}function sr(){return un}},76560:function(d,v,e){"use strict";e.d(v,{ApplyPluginsType:function(){return Pt},Link:function(){return J},Outlet:function(){return K.j3},PluginManager:function(){return zt},connect:function(){return f.$j},getDvaApp:function(){return o.Q},history:function(){return nt.m8},useAppData:function(){return H.Ov},useDispatch:function(){return f.I0},useLocation:function(){return K.TH},useOutletContext:function(){return K.bx},useParams:function(){return K.UO},useSearchParams:function(){return W.lr},useSelector:function(){return f.v9}});var r=e(59301),i=e(21384);function l(){return React.useContext(AntdConfigContext)}function c(){return React.useContext(AntdConfigContextSetter)}var f=e(45434),o=e(55610),h=e(26108),u=Object.defineProperty,a=Object.defineProperties,x=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,b=(He,rt,lt)=>rt in He?u(He,rt,{enumerable:!0,configurable:!0,writable:!0,value:lt}):He[rt]=lt,S=(He,rt)=>{for(var lt in rt||(rt={}))y.call(rt,lt)&&b(He,lt,rt[lt]);if(p)for(var lt of p(rt))m.call(rt,lt)&&b(He,lt,rt[lt]);return He},k=(He,rt)=>a(He,x(rt)),R=(He,rt)=>{var lt={};for(var Kt in He)y.call(He,Kt)&&rt.indexOf(Kt)<0&&(lt[Kt]=He[Kt]);if(He!=null&&p)for(var Kt of p(He))rt.indexOf(Kt)<0&&m.call(He,Kt)&&(lt[Kt]=He[Kt]);return lt};const A=He=>{var rt=He,{overlayClassName:lt}=rt,Kt=R(rt,["overlayClassName"]);return React.createElement(Dropdown,S({overlayClassName:lt},Kt))},P=He=>He.reduce((rt,lt)=>lt.lang?k(S({},rt),{[lt.lang]:lt}):rt,{}),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=He=>React.createElement(React.Fragment,null);var N=e(38329),G=e(38127),W=e(32451),H=e(9139),ae=e(87296);function ne(He,rt){var lt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Kt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(typeof IntersectionObserver!="function")return null;var Wt=r.useRef(typeof IntersectionObserver=="function"),Ae=r.useRef(null);return r.useEffect(function(){if(!(!He.current||!Wt.current||Kt.disabled))return Ae.current=new IntersectionObserver(function(qe){var Vt=(0,ae.Z)(qe,1),kt=Vt[0];rt(kt)},lt),Ae.current.observe(He.current),function(){var qe;(qe=Ae.current)===null||qe===void 0||qe.disconnect()}},[rt,lt,Kt.disabled,He]),Ae.current}var oe=["prefetch"];function q(He){var rt=r.useRef(null);return r.useEffect(function(){He&&(typeof He=="function"?He(rt.current):He.current=rt.current)}),rt}var J=r.forwardRef(function(He,rt){var lt,Kt=He.prefetch,Wt=(0,G.Z)(He,oe),Ae=typeof window!="undefined"&&window.__umi_route_prefetch__||{defaultPrefetch:"none",defaultPrefetchTimeout:50},qe=Ae.defaultPrefetch,Vt=Ae.defaultPrefetchTimeout,kt=(Kt===!0?"intent":Kt===!1?"none":Kt)||qe;if(!["intent","render","viewport","none"].includes(kt))throw new Error("Invalid prefetch value ".concat(kt," found in Link component"));var Ht=(0,H.Ov)(),$t=typeof He.to=="string"?He.to:(lt=He.to)===null||lt===void 0?void 0:lt.pathname,Tt=r.useRef(!1),Xt=q(rt),Ge=function(Dt){if(kt==="intent"){var Ce=Dt.target||{};Ce.preloadTimeout||(Ce.preloadTimeout=setTimeout(function(){var ct;Ce.preloadTimeout=null,(ct=Ht.preloadRoute)===null||ct===void 0||ct.call(Ht,$t)},He.prefetchTimeout||Vt))}},ce=function(Dt){if(kt==="intent"){var Ce=Dt.target||{};Ce.preloadTimeout&&(clearTimeout(Ce.preloadTimeout),Ce.preloadTimeout=null)}};return(0,r.useLayoutEffect)(function(){if(kt==="render"&&!Tt.current){var pe;(pe=Ht.preloadRoute)===null||pe===void 0||pe.call(Ht,$t),Tt.current=!0}},[kt,$t]),ne(Xt,function(pe){if(pe!=null&&pe.isIntersecting){var Dt;(Dt=Ht.preloadRoute)===null||Dt===void 0||Dt.call(Ht,$t)}},{rootMargin:"100px"},{disabled:kt!=="viewport"}),$t?r.createElement(W.rU,(0,N.Z)({onMouseEnter:Ge,onMouseLeave:ce,ref:Xt},Wt),He.children):null}),K=e(35338),se=e(8616);function ee(){"use strict";ee=function(){return rt};var He,rt={},lt=Object.prototype,Kt=lt.hasOwnProperty,Wt=Object.defineProperty||function(wr,jr,mr){wr[jr]=mr.value},Ae=typeof Symbol=="function"?Symbol:{},qe=Ae.iterator||"@@iterator",Vt=Ae.asyncIterator||"@@asyncIterator",kt=Ae.toStringTag||"@@toStringTag";function Ht(wr,jr,mr){return Object.defineProperty(wr,jr,{value:mr,enumerable:!0,configurable:!0,writable:!0}),wr[jr]}try{Ht({},"")}catch(wr){Ht=function(mr,Zr,un){return mr[Zr]=un}}function $t(wr,jr,mr,Zr){var un=jr&&jr.prototype instanceof Ce?jr:Ce,mn=Object.create(un.prototype),sr=new Yr(Zr||[]);return Wt(mn,"_invoke",{value:Lt(wr,mr,sr)}),mn}function Tt(wr,jr,mr){try{return{type:"normal",arg:wr.call(jr,mr)}}catch(Zr){return{type:"throw",arg:Zr}}}rt.wrap=$t;var Xt="suspendedStart",Ge="suspendedYield",ce="executing",pe="completed",Dt={};function Ce(){}function ct(){}function Zt(){}var St={};Ht(St,qe,function(){return this});var Ie=Object.getPrototypeOf,wt=Ie&&Ie(Ie(rn([])));wt&&wt!==lt&&Kt.call(wt,qe)&&(St=wt);var be=Zt.prototype=Ce.prototype=Object.create(St);function Ye(wr){["next","throw","return"].forEach(function(jr){Ht(wr,jr,function(mr){return this._invoke(jr,mr)})})}function vt(wr,jr){function mr(un,mn,sr,Rt){var _t=Tt(wr[un],wr,mn);if(_t.type!=="throw"){var gt=_t.arg,jt=gt.value;return jt&&(0,se.Z)(jt)=="object"&&Kt.call(jt,"__await")?jr.resolve(jt.__await).then(function(Ar){mr("next",Ar,sr,Rt)},function(Ar){mr("throw",Ar,sr,Rt)}):jr.resolve(jt).then(function(Ar){gt.value=Ar,sr(gt)},function(Ar){return mr("throw",Ar,sr,Rt)})}Rt(_t.arg)}var Zr;Wt(this,"_invoke",{value:function(mn,sr){function Rt(){return new jr(function(_t,gt){mr(mn,sr,_t,gt)})}return Zr=Zr?Zr.then(Rt,Rt):Rt()}})}function Lt(wr,jr,mr){var Zr=Xt;return function(un,mn){if(Zr===ce)throw new Error("Generator is already running");if(Zr===pe){if(un==="throw")throw mn;return{value:He,done:!0}}for(mr.method=un,mr.arg=mn;;){var sr=mr.delegate;if(sr){var Rt=Me(sr,mr);if(Rt){if(Rt===Dt)continue;return Rt}}if(mr.method==="next")mr.sent=mr._sent=mr.arg;else if(mr.method==="throw"){if(Zr===Xt)throw Zr=pe,mr.arg;mr.dispatchException(mr.arg)}else mr.method==="return"&&mr.abrupt("return",mr.arg);Zr=ce;var _t=Tt(wr,jr,mr);if(_t.type==="normal"){if(Zr=mr.done?pe:Ge,_t.arg===Dt)continue;return{value:_t.arg,done:mr.done}}_t.type==="throw"&&(Zr=pe,mr.method="throw",mr.arg=_t.arg)}}}function Me(wr,jr){var mr=jr.method,Zr=wr.iterator[mr];if(Zr===He)return jr.delegate=null,mr==="throw"&&wr.iterator.return&&(jr.method="return",jr.arg=He,Me(wr,jr),jr.method==="throw")||mr!=="return"&&(jr.method="throw",jr.arg=new TypeError("The iterator does not provide a '"+mr+"' method")),Dt;var un=Tt(Zr,wr.iterator,jr.arg);if(un.type==="throw")return jr.method="throw",jr.arg=un.arg,jr.delegate=null,Dt;var mn=un.arg;return mn?mn.done?(jr[wr.resultName]=mn.value,jr.next=wr.nextLoc,jr.method!=="return"&&(jr.method="next",jr.arg=He),jr.delegate=null,Dt):mn:(jr.method="throw",jr.arg=new TypeError("iterator result is not an object"),jr.delegate=null,Dt)}function Or(wr){var jr={tryLoc:wr[0]};1 in wr&&(jr.catchLoc=wr[1]),2 in wr&&(jr.finallyLoc=wr[2],jr.afterLoc=wr[3]),this.tryEntries.push(jr)}function At(wr){var jr=wr.completion||{};jr.type="normal",delete jr.arg,wr.completion=jr}function Yr(wr){this.tryEntries=[{tryLoc:"root"}],wr.forEach(Or,this),this.reset(!0)}function rn(wr){if(wr||wr===""){var jr=wr[qe];if(jr)return jr.call(wr);if(typeof wr.next=="function")return wr;if(!isNaN(wr.length)){var mr=-1,Zr=function un(){for(;++mr<wr.length;)if(Kt.call(wr,mr))return un.value=wr[mr],un.done=!1,un;return un.value=He,un.done=!0,un};return Zr.next=Zr}}throw new TypeError((0,se.Z)(wr)+" is not iterable")}return ct.prototype=Zt,Wt(be,"constructor",{value:Zt,configurable:!0}),Wt(Zt,"constructor",{value:ct,configurable:!0}),ct.displayName=Ht(Zt,kt,"GeneratorFunction"),rt.isGeneratorFunction=function(wr){var jr=typeof wr=="function"&&wr.constructor;return!!jr&&(jr===ct||(jr.displayName||jr.name)==="GeneratorFunction")},rt.mark=function(wr){return Object.setPrototypeOf?Object.setPrototypeOf(wr,Zt):(wr.__proto__=Zt,Ht(wr,kt,"GeneratorFunction")),wr.prototype=Object.create(be),wr},rt.awrap=function(wr){return{__await:wr}},Ye(vt.prototype),Ht(vt.prototype,Vt,function(){return this}),rt.AsyncIterator=vt,rt.async=function(wr,jr,mr,Zr,un){un===void 0&&(un=Promise);var mn=new vt($t(wr,jr,mr,Zr),un);return rt.isGeneratorFunction(jr)?mn:mn.next().then(function(sr){return sr.done?sr.value:mn.next()})},Ye(be),Ht(be,kt,"Generator"),Ht(be,qe,function(){return this}),Ht(be,"toString",function(){return"[object Generator]"}),rt.keys=function(wr){var jr=Object(wr),mr=[];for(var Zr in jr)mr.push(Zr);return mr.reverse(),function un(){for(;mr.length;){var mn=mr.pop();if(mn in jr)return un.value=mn,un.done=!1,un}return un.done=!0,un}},rt.values=rn,Yr.prototype={constructor:Yr,reset:function(jr){if(this.prev=0,this.next=0,this.sent=this._sent=He,this.done=!1,this.delegate=null,this.method="next",this.arg=He,this.tryEntries.forEach(At),!jr)for(var mr in this)mr.charAt(0)==="t"&&Kt.call(this,mr)&&!isNaN(+mr.slice(1))&&(this[mr]=He)},stop:function(){this.done=!0;var jr=this.tryEntries[0].completion;if(jr.type==="throw")throw jr.arg;return this.rval},dispatchException:function(jr){if(this.done)throw jr;var mr=this;function Zr(gt,jt){return sr.type="throw",sr.arg=jr,mr.next=gt,jt&&(mr.method="next",mr.arg=He),!!jt}for(var un=this.tryEntries.length-1;un>=0;--un){var mn=this.tryEntries[un],sr=mn.completion;if(mn.tryLoc==="root")return Zr("end");if(mn.tryLoc<=this.prev){var Rt=Kt.call(mn,"catchLoc"),_t=Kt.call(mn,"finallyLoc");if(Rt&&_t){if(this.prev<mn.catchLoc)return Zr(mn.catchLoc,!0);if(this.prev<mn.finallyLoc)return Zr(mn.finallyLoc)}else if(Rt){if(this.prev<mn.catchLoc)return Zr(mn.catchLoc,!0)}else{if(!_t)throw new Error("try statement without catch or finally");if(this.prev<mn.finallyLoc)return Zr(mn.finallyLoc)}}}},abrupt:function(jr,mr){for(var Zr=this.tryEntries.length-1;Zr>=0;--Zr){var un=this.tryEntries[Zr];if(un.tryLoc<=this.prev&&Kt.call(un,"finallyLoc")&&this.prev<un.finallyLoc){var mn=un;break}}mn&&(jr==="break"||jr==="continue")&&mn.tryLoc<=mr&&mr<=mn.finallyLoc&&(mn=null);var sr=mn?mn.completion:{};return sr.type=jr,sr.arg=mr,mn?(this.method="next",this.next=mn.finallyLoc,Dt):this.complete(sr)},complete:function(jr,mr){if(jr.type==="throw")throw jr.arg;return jr.type==="break"||jr.type==="continue"?this.next=jr.arg:jr.type==="return"?(this.rval=this.arg=jr.arg,this.method="return",this.next="end"):jr.type==="normal"&&mr&&(this.next=mr),Dt},finish:function(jr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var Zr=this.tryEntries[mr];if(Zr.finallyLoc===jr)return this.complete(Zr.completion,Zr.afterLoc),At(Zr),Dt}},catch:function(jr){for(var mr=this.tryEntries.length-1;mr>=0;--mr){var Zr=this.tryEntries[mr];if(Zr.tryLoc===jr){var un=Zr.completion;if(un.type==="throw"){var mn=un.arg;At(Zr)}return mn}}throw new Error("illegal catch attempt")},delegateYield:function(jr,mr,Zr){return this.delegate={iterator:rn(jr),resultName:mr,nextLoc:Zr},this.method==="next"&&(this.arg=He),Dt}},rt}var Q=e(63579);function le(He,rt,lt,Kt,Wt,Ae,qe){try{var Vt=He[Ae](qe),kt=Vt.value}catch(Ht){lt(Ht);return}Vt.done?rt(kt):Promise.resolve(kt).then(Kt,Wt)}function z(He){return function(){var rt=this,lt=arguments;return new Promise(function(Kt,Wt){var Ae=He.apply(rt,lt);function qe(kt){le(Ae,Kt,Wt,qe,Vt,"next",kt)}function Vt(kt){le(Ae,Kt,Wt,qe,Vt,"throw",kt)}qe(void 0)})}}var $=e(99227);function ie(He,rt){var lt=typeof Symbol!="undefined"&&He[Symbol.iterator]||He["@@iterator"];if(!lt){if(Array.isArray(He)||(lt=(0,$.Z)(He))||rt&&He&&typeof He.length=="number"){lt&&(He=lt);var Kt=0,Wt=function(){};return{s:Wt,n:function(){return Kt>=He.length?{done:!0}:{done:!1,value:He[Kt++]}},e:function(Ht){throw Ht},f:Wt}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ae=!0,qe=!1,Vt;return{s:function(){lt=lt.call(He)},n:function(){var Ht=lt.next();return Ae=Ht.done,Ht},e:function(Ht){qe=!0,Vt=Ht},f:function(){try{!Ae&<.return!=null&<.return()}finally{if(qe)throw Vt}}}}var me=e(73825);function Pe(He){if(typeof Symbol!="undefined"&&He[Symbol.iterator]!=null||He["@@iterator"]!=null)return Array.from(He)}var De=e(66160);function Ze(He){return(0,me.Z)(He)||Pe(He)||(0,$.Z)(He)||(0,De.Z)()}function Ne(He,rt){if(!(He instanceof rt))throw new TypeError("Cannot call a class as a function")}var Bt=e(89878);function yt(He,rt){for(var lt=0;lt<rt.length;lt++){var Kt=rt[lt];Kt.enumerable=Kt.enumerable||!1,Kt.configurable=!0,"value"in Kt&&(Kt.writable=!0),Object.defineProperty(He,(0,Bt.Z)(Kt.key),Kt)}}function It(He,rt,lt){return rt&&yt(He.prototype,rt),lt&&yt(He,lt),Object.defineProperty(He,"prototype",{writable:!1}),He}var rr=e(65873);function Yt(He,rt){if(!He)throw new Error(rt)}function ur(He){var rt=He.fns,lt=He.args;if(rt.length===1)return rt[0];var Kt=rt.pop();return rt.reduce(function(Wt,Ae){return function(){return Ae(Wt,lt)}},Kt)}function We(He){return!!He&&(0,se.Z)(He)==="object"&&typeof He.then=="function"}var Pt=function(He){return He.compose="compose",He.modify="modify",He.event="event",He}({}),zt=function(){function He(rt){Ne(this,He),(0,rr.Z)(this,"opts",void 0),(0,rr.Z)(this,"hooks",{}),this.opts=rt}return It(He,[{key:"register",value:function(lt){var Kt=this;Yt(lt.apply,"plugin register failed, apply must supplied"),Object.keys(lt.apply).forEach(function(Wt){Yt(Kt.opts.validKeys.indexOf(Wt)>-1,"register failed, invalid key ".concat(Wt," ").concat(lt.path?"from plugin ".concat(lt.path):"",".")),Kt.hooks[Wt]=(Kt.hooks[Wt]||[]).concat(lt.apply[Wt])})}},{key:"getHooks",value:function(lt){var Kt=lt.split("."),Wt=Ze(Kt),Ae=Wt[0],qe=Wt.slice(1),Vt=this.hooks[Ae]||[];return qe.length&&(Vt=Vt.map(function(kt){try{var Ht=kt,$t=ie(qe),Tt;try{for($t.s();!(Tt=$t.n()).done;){var Xt=Tt.value;Ht=Ht[Xt]}}catch(Ge){$t.e(Ge)}finally{$t.f()}return Ht}catch(Ge){return null}}).filter(Boolean)),Vt}},{key:"applyPlugins",value:function(lt){var Kt=lt.key,Wt=lt.type,Ae=lt.initialValue,qe=lt.args,Vt=lt.async,kt=this.getHooks(Kt)||[];switch(qe&&Yt((0,se.Z)(qe)==="object","applyPlugins failed, args must be plain object."),Vt&&Yt(Wt===Pt.modify||Wt===Pt.event,"async only works with modify and event type."),Wt){case Pt.modify:return Vt?kt.reduce(function(){var Ht=z(ee().mark(function $t(Tt,Xt){var Ge;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:if(Yt(typeof Xt=="function"||(0,se.Z)(Xt)==="object"||We(Xt),"applyPlugins failed, all hooks for key ".concat(Kt," 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 Xt!="function"){pe.next=16;break}if(Ge=Xt(Tt,qe),!We(Ge)){pe.next=13;break}return pe.next=10,Ge;case 10:return pe.abrupt("return",pe.sent);case 13:return pe.abrupt("return",Ge);case 14:pe.next=21;break;case 16:if(!We(Xt)){pe.next=20;break}return pe.next=19,Xt;case 19:Xt=pe.sent;case 20:return pe.abrupt("return",(0,Q.Z)((0,Q.Z)({},Tt),Xt));case 21:case"end":return pe.stop()}},$t)}));return function($t,Tt){return Ht.apply(this,arguments)}}(),We(Ae)?Ae:Promise.resolve(Ae)):kt.reduce(function(Ht,$t){return Yt(typeof $t=="function"||(0,se.Z)($t)==="object","applyPlugins failed, all hooks for key ".concat(Kt," must be function or plain object.")),typeof $t=="function"?$t(Ht,qe):(0,Q.Z)((0,Q.Z)({},Ht),$t)},Ae);case Pt.event:return z(ee().mark(function Ht(){var $t,Tt,Xt,Ge;return ee().wrap(function(pe){for(;;)switch(pe.prev=pe.next){case 0:$t=ie(kt),pe.prev=1,$t.s();case 3:if((Tt=$t.n()).done){pe.next=12;break}if(Xt=Tt.value,Yt(typeof Xt=="function","applyPlugins failed, all hooks for key ".concat(Kt," must be function.")),Ge=Xt(qe),!(Vt&&We(Ge))){pe.next=10;break}return pe.next=10,Ge;case 10:pe.next=3;break;case 12:pe.next=17;break;case 14:pe.prev=14,pe.t0=pe.catch(1),$t.e(pe.t0);case 17:return pe.prev=17,$t.f(),pe.finish(17);case 20:case"end":return pe.stop()}},Ht,null,[[1,14,17,20]])}))();case Pt.compose:return function(){return ur({fns:kt.concat(Ae),args:qe})()}}}}],[{key:"create",value:function(lt){var Kt=new He({validKeys:lt.validKeys});return lt.plugins.forEach(function(Wt){Kt.register(Wt)}),Kt}}]),He}(),nt=e(59098);let Et=0,ht=0;function Je(He,rt){}function Ue(He){return JSON.stringify(He,null,2)}function ge(He){const rt=He.length>1?He.map(Se).join(" "):He[0];return typeof rt=="object"?`${Ue(rt)}`:rt.toString()}function Se(He){return typeof He=="object"?`${JSON.stringify(He)}`:He.toString()}const Le={log(...He){ge(He)},info(...He){ge(He)},warn(...He){ge(He)},error(...He){ge(He)},group(){ht++},groupCollapsed(){ht++},groupEnd(){ht&&--ht},clear(){},trace(...He){console.trace(...He)},profile(...He){console.profile(...He)},profileEnd(...He){console.profileEnd(...He)}},je=()=>{}},21384: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.")})},55610:function(d,v,e){"use strict";e.d(v,{j:function(){return Bc},Q:function(){return tf}});var r=e(45434),i=e(89880),l=e.n(i),c=e(59301),f=e(76560),o=e(96047),h=Object.defineProperty,u=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,p=(C,D,L)=>D in C?h(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,y=(C,D)=>{for(var L in D||(D={}))a.call(D,L)&&p(C,L,D[L]);if(u)for(var L of u(D))x.call(D,L)&&p(C,L,D[L]);return C},b={namespace:"account",state:{basicInfo:void 0,actionTabs:{key:"",params:{}}},effects:{*updateAvatar({payload:C},{call:D,put:L}){return yield D(o.n1,C)},*appplySchool({payload:C},{call:D,put:L}){return yield D(o.bz,C)},*getSchoolOption({payload:C},{call:D,put:L}){return yield D(o.GY,C)},*getDepartmentOption({payload:C},{call:D,put:L}){return yield D(o.Ql,C)},*appplyDepartment({payload:C},{call:D,put:L}){return yield D(o.Zm,C)},*updateAccount({payload:C},{call:D,put:L}){return yield D(o.sG,C)},*cancelRealNameAuth({payload:C},{call:D,put:L}){return yield D(o.P,C)},*cancelProfessionalAuth({payload:C},{call:D,put:L}){return yield D(o.$f,C)},*applyProfessionalAuth({payload:C},{call:D,put:L}){return yield D(o.Ow,C)},*applyRealNameAuth({payload:C},{call:D,put:L}){return yield D(o.ht,C)},*getCode({payload:C},{call:D,put:L}){return yield D(o.Cq,C)},*bindPhone({payload:C},{call:D,put:L}){return yield D(o.eF,C)},*bindEmail({payload:C},{call:D,put:L}){return yield D(o.I8,C)},*updatePassword({payload:C},{call:D,put:L}){return yield D(o.gQ,C)},*unbindAccount({payload:C},{call:D,put:L}){return yield D(o.wi,C)},*getBasicInfo({payload:C},{call:D,put:L}){const _e=yield D(o.o9,C);return yield L({type:"save",payload:{basicInfo:y({},_e)}}),_e},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:y({},C)}})}},reducers:{save(C,D){return y(y({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},S=e(1754),k=Object.defineProperty,R=Object.getOwnPropertySymbols,A=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,M=(C,D,L)=>D in C?k(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,B=(C,D)=>{for(var L in D||(D={}))A.call(D,L)&&M(C,L,D[L]);if(R)for(var L of R(D))P.call(D,L)&&M(C,L,D[L]);return C},G={namespace:"announcement",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,actionTabs:{}},effects:{*informDown({payload:C,callback:D},{call:L,put:_e}){return yield L(S.nZ,C)},*informUp({payload:C,callback:D},{call:L,put:_e}){return yield L(S.TO,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:B({},C)}})}},reducers:{save(C,D){return B(B({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},W=e(14794),H=Object.defineProperty,ae=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,q=(C,D,L)=>D in C?H(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,J=(C,D)=>{for(var L in D||(D={}))ne.call(D,L)&&q(C,L,D[L]);if(ae)for(var L of ae(D))oe.call(D,L)&&q(C,L,D[L]);return C},se={namespace:"attachment",state:{name:"\u8D44\u6E90",loading:!0,detail:{},actionTabs:{}},effects:{*allAttachment({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(W.SV,C);return yield _e({type:"save",payload:{allList:J({},Oe)}}),Oe},*mineAttachment({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(W.zI,C);return yield _e({type:"save",payload:{mineList:J({},Oe)}}),Oe},*fileImport({payload:C,callback:D},{call:L,put:_e}){return yield L(W.tO,C)},*getDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(W.Nm,C);return yield _e({type:"save",payload:{detail:J({},Oe)}}),Oe},*updateVisits({payload:C,callback:D},{call:L,put:_e}){return yield L(W.H,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:J({},C)}})}},reducers:{save(C,D){return J(J({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},ee=e(74891),Q=Object.defineProperty,le=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable,ie=(C,D,L)=>D in C?Q(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,me=(C,D)=>{for(var L in D||(D={}))z.call(D,L)&&ie(C,L,D[L]);if(le)for(var L of le(D))$.call(D,L)&&ie(C,L,D[L]);return C},De={namespace:"boards",state:{name:"\u8BA8\u8BBA",loading:!0,actionTabs:{},boardsDetail:{},boardsCategoryList:{}},effects:{*getBoardsCategoryList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(ee.yq,C);return yield _e({type:"save",payload:{boardsCategoryList:me({},Oe.data)}}),Oe.data},*getBoardsDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(ee.dI,C);return yield _e({type:"save",payload:{boardsDetail:me({},Oe.data)}}),Oe.data},*setTopping({payload:C,callback:D},{call:L,put:_e}){return yield L(ee.cc,C)},*escTopping({payload:C,callback:D},{call:L,put:_e}){return yield L(ee.CJ,C)},*getReplyList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(ee.PC,C);yield _e({type:"save",payload:{replyList:me({},Oe.data)}})},*createReply({payload:C,callback:D},{call:L,put:_e}){return yield L(ee.PP,C)},*replyLike({payload:C,callback:D},{call:L,put:_e}){return yield L(ee.NA,C)},*replyUnLike({payload:C,callback:D},{call:L,put:_e}){return yield L(ee.YQ,C)},*deleteReply({payload:C,callback:D},{call:L,put:_e}){return yield L(ee.Mf,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:me({},C)}})}},reducers:{save(C,D){return me(me({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Ze=e(72664),Ne=Object.defineProperty,Bt=Object.getOwnPropertySymbols,yt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,rr=(C,D,L)=>D in C?Ne(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Yt=(C,D)=>{for(var L in D||(D={}))yt.call(D,L)&&rr(C,L,D[L]);if(Bt)for(var L of Bt(D))It.call(D,L)&&rr(C,L,D[L]);return C},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:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.$Q,C);return yield _e({type:"save",payload:{ScoreRangesData:Oe==null?void 0:Oe.data}}),Oe},*getQuestionResult({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze._U,C);return yield _e({type:"save",payload:{NormalResult:Oe}}),Oe},*getUserExercise({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.xA,C);return yield _e({type:"save",payload:{userExerciseList:Yt({},(Oe==null?void 0:Oe.data)||{})}}),console.log("getUserExercise-res:",Oe),Oe==null?void 0:Oe.data},*getExerciseIdentityPhotos({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.J,C);return yield _e({type:"save",payload:{exerciseIdentityPhotos:Yt({},(Oe==null?void 0:Oe.data)||{})}}),Oe==null?void 0:Oe.data},*getExerciseExportHeadData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.iw,C);return yield _e({type:"save",payload:{exerciseExportHeadData:Yt({},Oe)}}),Oe},*getExerciseUserInfo({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.Ty,C);return(Oe==null?void 0:Oe.status)===0&&(yield _e({type:"save",payload:Yt({},{exerciseUserInfo:Yt({},Oe.data)})})),Oe},*getExaminationIntelligentSettings({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.sA,C);return yield _e({type:"save",payload:{examinationIntelligentSettings:Yt({},Oe)}}),Oe},*getRandomEditExercises({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.yu,C);return yield _e({type:"save",payload:{editRandomExercises:Yt({},Oe)}}),Oe},*getExerciseList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.G$,C);if(Oe!=null&&Oe.total_exercise_users)try{localStorage.total_exercise_users=JSON.stringify(Oe.total_exercise_users)}catch(hn){}return yield _e({type:"save",payload:{exerciseList:Yt({},Oe)}}),yield _e({type:"save",payload:{order_type:C.order_type,order:C.order}}),Oe},*getExerciseStatistics({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze._u,C);return yield _e({type:"save",payload:{statisticsList:Yt({},Oe)}}),Oe},*getBrankList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.n$,C);return yield _e({type:"save",payload:{brankList:Yt({},Oe)}}),Oe},*saveBanks({payload:C,callback:D},{call:L,put:_e}){return yield L(Ze.lf,C)},*getExerciseCourses({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.N3,C);return yield _e({type:"save",payload:{exerciseCoursesList:Yt({},Oe)}}),Oe},*addExercise({payload:C,callback:D},{call:L,put:_e}){return yield L(Ze.uR,C)},*editExercise({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.qf,C);return yield _e({type:"save",payload:{editData:Yt({},Oe)}}),Oe},*getTagDiscipline({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.YY,C);return yield _e({type:"save",payload:{tagDisciplineData:Yt({},Oe)}}),Oe},*editExerciseQuestion({payload:C,callback:D},{call:L,put:_e}){return yield L(Ze.Di,C)},*addExerciseQuestion({payload:C,callback:D},{call:L,put:_e}){return yield L(Ze.MK,C)},*exeriseMoveUpDown({payload:C,callback:D},{call:L,put:_e}){return yield L(Ze.GK,C)},*getEndGroups({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.KE,C);return yield _e({type:"save",payload:{endGroups:Yt({},Oe)}}),Oe},*getPublishGroups({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.ux,C);return yield _e({type:"save",payload:{publishGroups:Yt({},Oe)}}),Oe},*getCommonHeader({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.UK,C);return yield _e({type:"save",payload:{commonHeader:Yt({},Oe)}}),Oe},*getReviewExercise({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.BJ,C);return yield _e({type:"save",payload:{reviewExercise:Yt({},Oe)}}),Oe},*postReviewExercise({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.pu,C);return yield _e({type:"save",payload:{reviewExercise:Yt({},Oe)}}),Oe},*getCentralizeReviewExercise({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.X4,C);return yield _e({type:"save",payload:{reviewExercise:Yt({},Oe)}}),Oe},*clearData({payload:C,callback:D},{call:L,put:_e}){yield _e({type:"save",payload:{[C.key]:{}}})},*getReviewGroupExercise({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.W4,C);return yield _e({type:"save",payload:{reviewGroupExercise:Yt({},Oe)}}),Oe},*getWorkSetting({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.Ul,C);return yield _e({type:"save",payload:{workSetting:Yt({},Oe)}}),Oe},*getRedoModal({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.tX,C);return yield _e({type:"save",payload:{redoModal:Yt({},Oe)}}),Oe},*getRedoListModal({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.s,C);return yield _e({type:"save",payload:{redoModal:Yt({},Oe)}}),Oe},*getCodeReviewDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.Xn,C);return yield _e({type:"save",payload:{codeReviewDetail:Yt({},Oe)}}),Oe},*changeScore({payload:C,callback:D},{call:L,put:_e}){return yield L(Ze.gG,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Yt({},C)}})},*setUpdateIndex({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:C==="clear"?null:Math.random()}})},*setSaveExerciseDownUsers({payload:C},{call:D,put:L}){yield L({type:"save",payload:{saveExerciseDownUsers:C}})}},reducers:{save(C,D){return Yt(Yt({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Pt=e(65583),zt=Object.defineProperty,nt=Object.getOwnPropertySymbols,Et=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,Je=(C,D,L)=>D in C?zt(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ue=(C,D)=>{for(var L in D||(D={}))Et.call(D,L)&&Je(C,L,D[L]);if(nt)for(var L of nt(D))ht.call(D,L)&&Je(C,L,D[L]);return C},Se={namespace:"graduation",state:{name:"\u6BD5\u4E1A\u8BBE\u8BA1",loading:!0,actionTabs:{},detailList:{},detailTaskList:{},replyList:{},detail:{},addTopicData:{},editTopicData:{},editTasksData:{}},effects:{*getTopisDetailList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Pt.x_,C);return yield _e({type:"save",payload:{detailList:Ue({},Oe)}}),Oe},*getTasksListDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Pt.QA,C);return yield _e({type:"save",payload:{detailTaskList:Ue({},Oe)}}),Oe},*getTopisDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Pt.B6,C);return yield _e({type:"save",payload:{detail:Ue({},Oe)}}),Oe},*getTasksDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Pt.y3,C);return yield _e({type:"save",payload:{tasksDetail:Ue({},Oe)}}),Oe},*refuseTopic({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.mM,C)},*agreeTopic({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.je,C)},*getReplyList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Pt.PC,C);yield _e({type:"save",payload:{replyList:Ue({},Oe)}})},*createReply({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.PP,C)},*replyLike({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.NA,C)},*replyUnLike({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.YQ,C)},*deleteReply({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.Mf,C)},*addTopicDefaultData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Pt.y0,C);yield _e({type:"save",payload:{addTopicData:Ue({},Oe)}})},*editTopicDefaultData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Pt.hL,C);return yield _e({type:"save",payload:{editTopicData:Ue({},Oe)}}),Oe},*editTasksDefaultData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Pt._n,C);return yield _e({type:"save",payload:{editTasksData:Ue({},Oe)}}),Oe},*addTopic({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.Gr,C)},*editTopic({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.wA,C)},*addTasks({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.Sv,C)},*editTasks({payload:C,callback:D},{call:L,put:_e}){return yield L(Pt.RP,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ue({},C)}})}},reducers:{save(C,D){return Ue(Ue({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Le=e(89392),je=e(45278),He=Object.defineProperty,rt=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Wt=(C,D,L)=>D in C?He(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ae=(C,D)=>{for(var L in D||(D={}))lt.call(D,L)&&Wt(C,L,D[L]);if(rt)for(var L of rt(D))Kt.call(D,L)&&Wt(C,L,D[L]);return C},Vt={namespace:"shixunHomeworks",state:{name:"",loading:!0,workList:{},shixunWorkList:{},headerInfo:{},shixunWorkReport:{},codeReview:{},codeReviewDetail:{},workSetting:{},changeData:{},codeReviewCourse:{},referenceAnswer:{},publishGroups:{},endGroups:{},brankList:{},replyList:{},workDetail:{},commonHomeWorkAddDefaultData:{},studentWorkAddDefaultData:{},studentWorkEditDefaultData:{},commonHomeWorkEditDefaultData:{},studentWorkDetail:{},studentWorkSupplyDetail:{},studentWorkCommon:{},allStudentWorks:{},searchMemberList:{},searchProjectList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},homeworkAssistantPermissions:{},shixunAssistantPermission:{},courseAssistantPermission:{}},effects:{*getWorkList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.h$,C);try{sessionStorage.all_student_works=JSON.stringify(Oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(C),localStorage.setItem("all_student_works_param",JSON.stringify(C))}catch(hn){}return yield _e({type:"save",payload:{workList:Ae({},Oe)}}),Oe},*getShixunWorkHeadInfo({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.fK,C);try{}catch(hn){}return yield _e({type:"save",payload:{headerInfo:Oe==null?void 0:Oe.data}}),Oe},*getShixunWorkList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.Z8,C);try{sessionStorage.all_student_works=JSON.stringify(Oe.all_student_works),sessionStorage.all_student_works_params=JSON.stringify(C),localStorage.setItem("all_student_works_param",JSON.stringify(C))}catch(hn){}return yield _e({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:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.RP,C);return yield _e({type:"save",payload:{codeReview:Ae({},Oe)}}),Oe},*getCodeReviewDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.Xn,C);return yield _e({type:"save",payload:{codeReviewDetail:Ae({},Oe)}}),Oe},*getWorkDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.to,C);return yield _e({type:"save",payload:{workDetail:Ae({},Oe)}}),Oe},*updateWork({payload:C,callback:D},{call:L,put:_e}){return yield L(je.H,C)},*getShixunWorkReport({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.sw,C);try{Oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(hn){}return yield _e({type:"save",payload:{shixunWorkReport:Ae({},Oe)}}),Oe},*getShixunWorkReports({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.cz,C);try{Oe.all_student_works=JSON.parse(sessionStorage.all_student_works||"[]")}catch(hn){}return yield _e({type:"save",payload:{shixunWorkReport:Ae({},Oe)}}),Oe},*getWorkSetting({payload:C,callback:D},{call:L,put:_e}){var Oe,hn;const On=yield L(je.Ul,C);(Oe=On==null?void 0:On.group_settings)==null||Oe.map(Fi=>{Fi.value=Fi.group_name,Fi.id=Fi.group_id,Fi.group_id=[Fi.group_id]}),(hn=On==null?void 0:On.allow_late_settings)==null||hn.map(Fi=>{Fi.value=Fi.group_name,Fi.id=Fi.group_id,Fi.group_id=[Fi.group_id]});const yn={shixun_evaluation:On.shixun_evaluation,challenge_settings:On.challenge_settings};return yield _e({type:"save",payload:{workSetting:Ae({},On),changeData:(0,Le.cloneDeep)(yn)}}),On},*updateSetting({payload:C,callback:D},{call:L,put:_e}){return yield L(je.m7,C)},*getCodeReviewCourse({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.JG,C);return yield _e({type:"save",payload:{codeReviewCourse:Ae({},Oe)}}),Oe},*exportShixunWorks({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.Dx,C)},*getReferenceAnswer({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.Q3,C);return yield _e({type:"save",payload:{referenceAnswer:Ae({},Oe)}}),Oe},*getPublishGroups({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.ux,C);return yield _e({type:"save",payload:{publishGroups:Ae({},Oe)}}),Oe},*getEndGroups({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.KE,C);return yield _e({type:"save",payload:{endGroups:Ae({},Oe)}}),Oe},*getBrankList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.n$,C);return yield _e({type:"save",payload:{brankList:Ae({},Oe)}}),Oe},*changeScore({payload:C,callback:D},{call:L,put:_e}){return yield L(je.gG,C)},*saveBanks({payload:C,callback:D},{call:L,put:_e}){return yield L(je.lf,C)},*addCommonHomeWorkDefaultData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.Qt,C);return yield _e({type:"save",payload:{commonHomeWorkAddDefaultData:Ae({},Oe)}}),Oe},*getSearchMemberList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.Lz,C);return yield _e({type:"save",payload:{searchMemberList:Ae({},Oe)}}),Oe},*getProjectList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.ku,C);return yield _e({type:"save",payload:{searchProjectList:Ae({},Oe)}}),Oe},*addStudentWorkDefaultData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.ak,C);return yield _e({type:"save",payload:{studentWorkAddDefaultData:Ae({},Oe)}}),Oe},*editStudentWorkDefaultData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.PW,C);return yield _e({type:"save",payload:{studentWorkEditDefaultData:Ae({},Oe)}}),Oe},*editCommonHomeWorkDefaultData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.BD,C);return yield _e({type:"save",payload:{commonHomeWorkEditDefaultData:Ae({},Oe)}}),Oe},*editCommonHomeWorkDefaultBankData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.pH,C);return yield _e({type:"save",payload:{commonHomeWorkEditDefaultData:Ae({},Oe)}}),Oe},*getReplyList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.PC,C);yield _e({type:"save",payload:{replyList:Ae({},Oe)}})},*getStudentWorkDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.Hj,C);yield _e({type:"save",payload:{studentWorkDetail:Ae({},Oe)}})},*getStudentWorkSupplyDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.ub,C);yield _e({type:"save",payload:{studentWorkSupplyDetail:Ae({},Oe)}})},*getStudentWorkCommon({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.JA,C);yield _e({type:"save",payload:{studentWorkCommon:Ae({},Oe)}})},*getAllStudentWorks({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.ql,C);return yield _e({type:"save",payload:{allStudentWorks:Ae({},Oe)}}),Oe},*getFileRepeatResult({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.oN,C);return yield _e({type:"save",payload:{codeReview:Ae({},Oe)}}),Oe},*getFileRepeatDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(je.Ti,C);return yield _e({type:"save",payload:{codeReviewDetail:Ae({},Oe)}}),Oe},*createReply({payload:C,callback:D},{call:L,put:_e}){return yield L(je.PP,C)},*replyLike({payload:C,callback:D},{call:L,put:_e}){return yield L(je.NA,C)},*replyUnLike({payload:C,callback:D},{call:L,put:_e}){return yield L(je.YQ,C)},*deleteReply({payload:C,callback:D},{call:L,put:_e}){return yield L(je.Mf,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ae({},C)}})}},reducers:{save(C,D){return Ae(Ae({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},kt=e(64948),Ht=e(34055),$t=Object.defineProperty,Tt=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,ce=(C,D,L)=>D in C?$t(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,pe=(C,D)=>{for(var L in D||(D={}))Xt.call(D,L)&&ce(C,L,D[L]);if(Tt)for(var L of Tt(D))Ge.call(D,L)&&ce(C,L,D[L]);return C},Ce={namespace:"classroomList",state:{name:"",loading:!0,detailTopBanner:{copy_completed:!0},detailLeftMenus:{},detailLeftMenusNames:{},detailShixunsList:{},detailGraduationTopicsList:{},detailGraduationTaskList:{},detailExerciseList:{},detailPollsList:{},detailCommonHomeworksList:{},detailAttendancesList:{},detailAttendancesDetail:{},detailAnnouncementList:{},detailAttachmentList:{},detailCourseware:{},courseMine:{},detailVideoList:{},detailLiveVideoList:{},detailBoardList:{},courseGroups:{},allCourseGroups:{},detailCourseGroupsList:{},detailCoursStudentsList:{},detailCourseStatisticsList:{},detailAttendancesStatistic:{},detailCourseWorkscore:{},detailCourseActscore:{},coursesLists:{},shixunLists:{},schoolList:{},taskList:[],searchMemberList:{},actionTabs:{key:""},listParams:{order:"all",page:1,limit:16,search:""},shareStatus:!1,AssistantObject:{},updateData:""},effects:{*setAssistantPermissions({payload:C},{call:D,put:L}){yield D(kt.gq,C)},*getAssistantPermissions({payload:C},{call:D,put:L}){if(!(0,Ht.eB)())return;const _e=yield D(kt.rS,C);yield L({type:"save",payload:{AssistantObject:_e.permissions}})},*getAiStatusQuery({payload:C},{call:D,put:L}){const _e=yield D(kt.LH,C);return yield L({type:"save",payload:{cal_finish_if:_e.cal_finish_if}}),_e},*updateCoursePortraitData({payload:C},{call:D,put:L}){return yield D(kt.Z_,C)},*getUserPortraitConfig({payload:C},{call:D,put:L}){const _e=yield D(kt._0,C);return yield L({type:"save",payload:{userPortraitConfig:_e.data}}),_e},*updateUserPortraitConfig({payload:C},{call:D,put:L}){return yield D(kt.r2,C)},*getClassroom({payload:C},{call:D,put:L}){const _e=C,Oe=yield D(kt.V8,C);return yield L({type:"save",payload:pe({listParams:_e},Oe)}),Oe},*getClassroomTopBanner({payload:C},{call:D,put:L}){const _e=yield D(kt.U_,C);return yield L({type:"save",payload:{detailTopBanner:_e.status?{copy_completed:!0}:pe({},_e)}}),_e.status?{copy_completed:!0}:_e},*getClassroomLeftMenus({payload:C},{call:D,put:L}){const _e=yield D(kt.w9,C);let Oe=[...(_e==null?void 0:_e.course_modules)||[],...(_e==null?void 0:_e.hidden_modules)||[]],hn={};return Oe==null||Oe.forEach(On=>{hn[On.type]=On.name}),yield L({type:"save",payload:{detailLeftMenus:pe({},_e),detailLeftMenusNames:hn}}),_e},*getClassroomShixunsList({payload:C},{call:D,put:L}){const _e=yield D(kt.Nd,C);yield L({type:"save",payload:{detailShixunsList:pe({},_e)}})},*getClassroomTeacherShixunsList({payload:C},{call:D,put:L}){const _e=yield D(kt.Gk,C);return yield L({type:"save",payload:{detailShixunsList:pe({},_e)}}),_e},*getClassroomCommonList({payload:C},{call:D,put:L}){const _e=yield D(kt.Nd,C);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}})},*getClassroomTeacherCommonList({payload:C},{call:D,put:L}){const _e=yield D(kt.Gk,C);return yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}}),_e},*getClassroomGraduationTopicsList({payload:C},{call:D,put:L}){const _e=yield D(kt.yV,C);yield L({type:"save",payload:{detailGraduationTopicsList:pe({},_e)}})},*getClassroomGraduationTaskList({payload:C},{call:D,put:L}){const _e=yield D(kt.R2,C);yield L({type:"save",payload:{detailGraduationTaskList:pe({},_e)}})},*getClassroomExercisesList({payload:C},{call:D,put:L}){const _e=yield D(kt.N7,C);yield L({type:"save",payload:{detailExerciseList:pe({},_e)}})},*getClassroomPollsList({payload:C},{call:D,put:L}){const _e=yield D(kt.BR,C);yield L({type:"save",payload:{detailPollsList:pe({},_e)}})},*getCourseGroups({payload:C},{call:D,put:L}){const _e=yield D(kt.qB,C);yield L({type:"save",payload:{courseGroups:pe({},_e)}})},*getAllCourseGroup({payload:C},{call:D,put:L}){const _e=yield D(kt.c_,C);return yield L({type:"save",payload:{allCourseGroups:pe({},_e)}}),_e},*getClassroomCommonHomeworksList({payload:C},{call:D,put:L}){const _e=yield D(kt.Al,C);yield L({type:"save",payload:{detailCommonHomeworksList:pe({},_e)}})},*getClassroomAttendancesList({payload:C},{call:D,put:L}){const _e=yield D(kt.Vw,C);yield L({type:"save",payload:{detailAttendancesList:pe({},_e)}})},*getClassroomAttendancesStatistic({payload:C},{call:D,put:L}){const _e=yield D(kt.Ls,C);yield L({type:"save",payload:{detailAttendancesStatistic:pe({},_e)}})},*getAttendanceDetail({payload:C},{call:D,put:L}){const _e=yield D(kt.zg,C);return yield L({type:"save",payload:{detailAttendancesDetail:pe({},_e)}}),_e},*getAnnouncementList({payload:C},{call:D,put:L}){const _e=yield D(kt.QZ,C);yield L({type:"save",payload:{detailAnnouncementList:pe({},_e)}})},*getAttachmentList({payload:C},{call:D,put:L}){const _e=yield D(kt.KT,C);yield L({type:"save",payload:{detailAttachmentList:pe({},_e.data)}})},*getCourseware({payload:C},{call:D,put:L}){const _e=yield D(kt.ZT,C);yield L({type:"save",payload:{detailCourseware:pe({},_e.data)}})},*getVideoList({payload:C},{call:D,put:L}){const _e=yield D(kt.O3,C);yield L({type:"save",payload:{detailVideoList:pe({},_e)}})},*getLiveVideoList({payload:C},{call:D,put:L}){const _e=yield D(kt.DJ,C);yield L({type:"save",payload:{detailLiveVideoList:pe({},_e)}})},*getCoursesMine({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.Ed,C);return yield _e({type:"save",payload:{courseMine:pe({},Oe)}}),Oe.data},*getBoardList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.KP,C);return yield _e({type:"save",payload:{detailBoardList:pe({},Oe.data)}}),Oe.data},*getCourseGroupsList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.kW,C);return yield _e({type:"save",payload:{detailCourseGroupsList:pe({},Oe)}}),Oe},*getCourseStudentsList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.J2,C);return yield _e({type:"save",payload:{detailCoursStudentsList:pe({},Oe)}}),Oe.data},*getCourseStatistics({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.g4,C);return yield _e({type:"save",payload:{detailCourseStatisticsList:pe({},Oe)}}),Oe},*getCourseActscore({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.t1,C);return yield _e({type:"save",payload:{detailCourseActscore:pe({},Oe)}}),Oe},*getCourseWorkscore({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.GV,C);return yield _e({type:"save",payload:{detailCourseWorkscore:pe({},Oe)}}),Oe},*getShixunLists({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.Pj,C);return yield _e({type:"save",payload:{shixunLists:pe({},Oe)}}),Oe},*getExperimentLists({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt._9,C);return yield _e({type:"save",payload:{shixunLists:pe({},Oe)}}),Oe},*getShixunAiRecommendLists({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.Hn,C);return yield _e({type:"save",payload:{shixunAiRecommendLists:pe({},Oe)}}),Oe},*getCoursesLists({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.W7,C);return yield _e({type:"save",payload:{coursesLists:pe({},Oe)}}),Oe},*createCoursesHomework({payload:C,callback:D},{call:L,put:_e}){return yield L(kt.Ds,C)},*createShixunHomework({payload:C,callback:D},{call:L,put:_e}){return yield L(kt.aQ,C)},*createExperiment({payload:C,callback:D},{call:L,put:_e}){return yield L(kt.BQ,C)},*getSchoolList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.K$,C);return yield _e({type:"save",payload:{schoolList:pe({},Oe.school_names)}}),Oe.school_names},*searchSchoolTeacherList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.nQ,C);return yield _e({type:"save",payload:{searchMemberList:pe({},Oe)}}),Oe},*getAllTaskList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.km,C);return yield _e({type:"save",payload:{taskList:[...Oe.tasks]}}),Oe},*updateTaskPosition({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(kt.U8,C);return yield _e({type:"save",payload:{actionTabs:{key:""}}}),Oe},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:pe({},C)}})},*setUpdateData({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateData:C}})}},reducers:{save(C,D){return pe(pe({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},ct=Object.defineProperty,Zt=Object.getOwnPropertySymbols,St=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,wt=(C,D,L)=>D in C?ct(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,be=(C,D)=>{for(var L in D||(D={}))St.call(D,L)&&wt(C,L,D[L]);if(Zt)for(var L of Zt(D))Ie.call(D,L)&&wt(C,L,D[L]);return C},vt={namespace:"newClassroom",state:{schoolList:[],searchCourseList:[],actionTabs:{key:"",params:{}}},effects:{*getSchoolList({payload:C},{call:D,put:L}){const _e=yield D(kt.K$,C);yield L({type:"save",payload:{schoolList:(_e==null?void 0:_e.school_names)||[]}})},*getSearchCourseList({payload:C},{call:D,put:L}){const _e=yield D(kt.oM,C);yield L({type:"save",payload:{searchCourseList:(_e==null?void 0:_e.course_lists)||[]}})},*submitCourses({payload:C},{call:D,put:L}){return yield D(kt.Bn,C)},*appplySchool({payload:C},{call:D,put:L}){return yield D(kt.bz,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:be({},C)}})},*joincoursegroup({payload:C},{call:D,put:L}){return yield D(kt.WK,C)}},reducers:{save(C,D){return be(be({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Lt=Object.defineProperty,Me=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,At=Object.prototype.propertyIsEnumerable,Yr=(C,D,L)=>D in C?Lt(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,rn=(C,D)=>{for(var L in D||(D={}))Or.call(D,L)&&Yr(C,L,D[L]);if(Me)for(var L of Me(D))At.call(D,L)&&Yr(C,L,D[L]);return C},jr={namespace:"classroomsOverview",state:{},effects:{*getCourseUseInfos({payload:C},{call:D,put:L}){const _e=yield D(kt.Dd,C);yield L({type:"save",payload:{CourseUseInfos:_e}})},*getRankList({payload:C},{call:D,put:L}){const _e=yield D(kt.Fg,C);yield L({type:"save",payload:{RankList:{teacher_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",course_num:"\u7BA1\u7406\u8BFE",homework_num:"\u53D1\u5E03\u4F5C\u4E1A\u6570",exercise_num:"\u53D1\u5E03\u8003\u8BD5\u6570",resource_num:"\u4E0A\u4F20\u8D44\u6E90\u6570"},...(_e==null?void 0:_e.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"},...(_e==null?void 0:_e.student_list)||[]],learn_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_course_list)||[]],interact_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u4E92\u52A8\u8BA8\u8BBA\u6570"},...(_e==null?void 0:_e.interact_course_list)||[]],finish_course_list:[{rank:"\u6392\u540D",name:"\u6559\u5B66\u8BFE\u5802\u540D\u79F0",num:"\u603B\u5B8C\u6210\u6570"},...(_e==null?void 0:_e.finish_course_list)||[]]}}})},*getStatisticsBody({payload:C},{call:D,put:L}){const _e=yield D(kt.Gz,C);yield L({type:"save",payload:{SBody:_e}})},*getStatisticsHeader({payload:C},{call:D,put:L}){const _e=yield D(kt.Hl,C);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(C,D){return rn(rn({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},mr=e(79763),Zr=Object.defineProperty,un=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,Rt=(C,D,L)=>D in C?Zr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,_t=(C,D)=>{for(var L in D||(D={}))mn.call(D,L)&&Rt(C,L,D[L]);if(un)for(var L of un(D))sr.call(D,L)&&Rt(C,L,D[L]);return C},jt={namespace:"polls",state:{name:"\u666E\u901A\u8BD5\u5377\uFF0C\u968F\u673A\u8BD5\u5377\u8BE6\u60C5\u9875\u9762",loading:!0,pollsList:{},statisticsList:{},pollsCoursesList:{},brankList:{},actionTabs:{},commonHeader:{},pollSetting:{},endGroups:{},publishGroups:{},exerciseBanks:{}},effects:{*getPollsList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.s3,C);return yield _e({type:"save",payload:{pollsList:_t({},Oe)}}),Oe},*getCommonHeader({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.UK,C);return yield _e({type:"save",payload:{commonHeader:_t({},Oe)}}),Oe},*getPollsStatistics({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.Qn,C);return yield _e({type:"save",payload:{statisticsList:_t({},Oe)}}),Oe},*getBrankList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.n$,C);return yield _e({type:"save",payload:{brankList:_t({},Oe)}}),Oe},*saveBanks({payload:C,callback:D},{call:L,put:_e}){return yield L(mr.lf,C)},*getPollsCourses({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.Q9,C);return yield _e({type:"save",payload:{pollsCoursesList:_t({},Oe)}}),Oe},*getPollsSetting({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.Hi,C);return yield _e({type:"save",payload:{pollSetting:_t({},Oe)}}),Oe},*editPolls({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.Ye,C);return yield _e({type:"save",payload:{editData:_t({},JSON.parse(JSON.stringify(Oe)))}}),Oe},*getEndGroups({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.KE,C);return yield _e({type:"save",payload:{endGroups:_t({},Oe)}}),Oe},*getPublishGroups({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.ux,C);return yield _e({type:"save",payload:{publishGroups:_t({},Oe)}}),Oe},*getExerciseBanks({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(mr.kp,C);return yield _e({type:"save",payload:{exerciseBanks:_t({},Oe)}}),Oe},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:_t({},C)}})}},reducers:{save(C,D){return _t(_t({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Ar=e(92982),yr=Object.defineProperty,it=Object.getOwnPropertySymbols,Nr=Object.prototype.hasOwnProperty,An=Object.prototype.propertyIsEnumerable,Jn=(C,D,L)=>D in C?yr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,gr=(C,D)=>{for(var L in D||(D={}))Nr.call(D,L)&&Jn(C,L,D[L]);if(it)for(var L of it(D))An.call(D,L)&&Jn(C,L,D[L]);return C},vn={namespace:"teachers",state:{list:{},applyList:{},allCourseGroups:{},graduationGroupList:{},studentsList:{},actionTabs:{key:"",params:{}},updateIndex:1},effects:{*getList({payload:C},{call:D,put:L}){var _e;const Oe=yield D(Ar.gp,C);return(_e=Oe==null?void 0:Oe.teacher_list)==null||_e.map(hn=>(hn.key=hn.course_member_id,hn)),yield L({type:"save",payload:{list:Oe}}),Oe},*getStudentsList({payload:C},{call:D,put:L}){var _e;const Oe=yield D(Ar.ur,C);return(_e=Oe==null?void 0:Oe.students)==null||_e.map(hn=>(hn.key=hn.user_id,hn)),yield L({type:"save",payload:{studentsList:Oe}}),Oe},*getApplyList({payload:C},{call:D,put:L}){const _e=yield D(Ar.s,C);return yield L({type:"save",payload:{applyList:_e}}),_e},*getAllCourseGroups({payload:C},{call:D,put:L}){const _e=yield D(Ar.xV,C);return yield L({type:"save",payload:{allCourseGroups:_e}}),_e},*getGraduationGroupList({payload:C},{call:D,put:L}){const _e=yield D(Ar.Bg,C);return yield L({type:"save",payload:{graduationGroupList:_e}}),_e},*setAllCourseGroups({payload:C},{call:D,put:L}){const _e=yield D(Ar.oZ,C);return yield L({type:"save",payload:{setAllCourseGroups:_e}}),_e},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:gr({},C)}})},*setUpdateIndex({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})}},reducers:{save(C,D){return gr(gr({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Wn=e(80541),si=Object.defineProperty,gi=Object.getOwnPropertySymbols,aa=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,Ni=(C,D,L)=>D in C?si(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,mi=(C,D)=>{for(var L in D||(D={}))aa.call(D,L)&&Ni(C,L,D[L]);if(gi)for(var L of gi(D))ui.call(D,L)&&Ni(C,L,D[L]);return C},Ra={namespace:"video",state:{name:"\u8D44\u6E90",loading:!0,actionTabs:{},videoStatisticsList:{},newVideoStatisticsList:{},videoDurationStatics:{},StudentvideoStatistics:{},videoPeopleStatics:{},videoStatistics:{},oneVideoStatisticsList:{}},effects:{*getVideoStatisticsList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Wn.BQ,C);return yield _e({type:"save",payload:{videoStatisticsList:mi({},Oe)}}),Oe},*getNewVideoStatisticsList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Wn.cU,C);return yield _e({type:"save",payload:{newVideoStatisticsList:mi({},Oe)}}),Oe},*getVideoPeopleStatics({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Wn.Zx,C);return yield _e({type:"save",payload:{videoPeopleStatics:mi({},Oe)}}),Oe},*getVideoDurationStatics({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Wn.Mz,C);return yield _e({type:"save",payload:{videoDurationStatics:mi({},Oe)}}),Oe},*getVideoStatistics({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Wn.ZY,C);return yield _e({type:"save",payload:{videoStatistics:mi({},Oe)}}),Oe},*getOneVideoStatisticsList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Wn.cU,C);return yield _e({type:"save",payload:{oneVideoStatisticsList:mi({},Oe)}}),Oe},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:mi({},C)}})},*getStudentVideoStatisticsList({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Wn.Vg,C);return yield _e({type:"save",payload:{StudentvideoStatistics:mi({},Oe)}}),Oe}},reducers:{save(C,D){return mi(mi({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},fi=e(65906),Hi=Object.defineProperty,bt=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,ii=Object.prototype.propertyIsEnumerable,Si=(C,D,L)=>D in C?Hi(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,li=(C,D)=>{for(var L in D||(D={}))ut.call(D,L)&&Si(C,L,D[L]);if(bt)for(var L of bt(D))ii.call(D,L)&&Si(C,L,D[L]);return C},Ti={namespace:"competitions",state:{name:"",loading:!0,listParams:{page:1,per_page:20,category:""},Staff:{},Header:{},competition_title:"",banner:"",competitions:[],count:"",RightItems:{},Prizes:{},Account:{},TabResultList:{},competition_team:{},all_team_member:{},actionTabs:{key:"",params:{}},GuidesData:{}},effects:{*postGuides({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.cC,C)},*getGuides({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.Ax,C);return yield _e({type:"save",payload:{GuidesData:Oe}}),Oe},*getWorkSubmitUpdateRes({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.zF,C)},*getList({payload:C},{call:D,put:L}){const _e=C,Oe=yield D(fi.bQ,C);return yield L({type:"save",payload:li({listParams:_e},Oe)}),Oe},*getMemberWorks({payload:C},{call:D,put:L}){const _e=yield D(fi.xx,C);return yield L({type:"save",payload:{MemberWorks:_e||{}}}),_e},*addApplytojoincourse({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.qS,C)},*competitionTeams({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.Pt,C)},*getStaff({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.Dh,C);return yield _e({type:"save",payload:{Staff:Oe}}),Oe},*getHeader({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.Pg,C);return yield _e({type:"save",payload:{Header:Oe}}),Oe},*getItem({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.rV,C);return yield _e({type:"save",payload:{RightItems:Oe}}),Oe},*updateMdContent({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.zj,C)},*getTeamList({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.aq,C)},*getTeamDetail({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.Ze,C)},*UpTeam({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.yS,C)},*DeleteTeam({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.ps,C)},*ExitTeam({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.vV,C)},*AddTeam({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.FU,C)},*AddPersonnel({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.R9,C)},*JoinTeam({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.zc,C)},*getTeacher({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.jS,C)},*getStudents({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.sK,C)},*SubmitTeam({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.rm,C)},*Reward({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.Qp,C)},*ChartRules({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.Ux,C)},*Charts({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.GQ,C)},*TabResults({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.ml,C);return yield _e({type:"save",payload:{TabResultList:Oe}}),Oe},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:li({},C)}})},*Results({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.u9,C)},*Prize({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.pU,C);return yield _e({type:"save",payload:{Prizes:Oe}}),Oe},*Accounts({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.XJ,C);return yield _e({type:"save",payload:{Account:Oe}}),Oe},*getVerification({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.Ni,C)},*PhoneBind({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.uZ,C)},*EmailBind({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.rk,C)},*Authentication({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.Vy,C)},*Professional({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.tC,C)},*setleader({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.tO,C)},*getShixun({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.qj,C)},*getCourse({payload:C,callback:D},{call:L,put:_e}){return yield L(fi.XR,C)},*competition_teams({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.zz,C);return yield _e({type:"save",payload:{competition_team:Oe}}),Oe},*all_team_members({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(fi.$P,C);return yield _e({type:"save",payload:{all_team_member:Oe}}),Oe}},reducers:{save(C,D){return li(li({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},pi=e(83325),Rn=e(97760),Jt=Object.defineProperty,dt=Object.defineProperties,tt=Object.getOwnPropertyDescriptors,Ot=Object.getOwnPropertySymbols,mt=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,lr=(C,D,L)=>D in C?Jt(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ir=(C,D)=>{for(var L in D||(D={}))mt.call(D,L)&&lr(C,L,D[L]);if(Ot)for(var L of Ot(D))or.call(D,L)&&lr(C,L,D[L]);return C},Hr=(C,D)=>dt(C,tt(D)),et={namespace:"engineeringEvaluteDetail",state:{classDataSource:{active:null,dataList:[]},actionTabs:{key:"",params:{}},name:"",headerData:{dataSource:{[Rn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rn.k[0]}`,loading:"engineeringEvaluteDetail/getMajorList",dataList:[]},[Rn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rn.k[1]}`,loading:"engineeringEvaluteDetail/getYearList",dataList:[]}},active:{}},tabListData:[],echartsData:{barData:{name:"",dataSource:{xData:[],yBarData:[],yLineData:[]}},lineData:{name:"",xData:[],seriesData:[]},scatterData:{}}},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ir({},C)}})},*getMajorList({payload:C},{call:D,put:L,select:_e}){const{userInfo:Oe}=yield _e(hn=>hn.user);if(Oe!=null&&Oe.school_id){const hn=yield D(pi.BA,Oe.school_id);hn&&hn.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Rn.k[0],value:hn.data.map(On=>({label:On.name,value:On.ec_major_school_id}))}}))}},*getYearList({payload:C},{call:D,put:L}){const _e=yield D(pi.Nx,C);_e&&_e.data&&(yield L({type:"setMajorOrYearDataSource",payload:{key:Rn.k[1],value:_e.data.map(Oe=>({label:Oe.year,value:Oe.ec_year_id}))}}))},*getCourseResultDetail({payload:C},{call:D,put:L}){console.log(C,"payload");const _e=yield D(pi.p1,C);_e&&_e.ec_course_target&&(yield L({type:"setEchartsData",payload:_e}))},*getCourseResultDetailClass({payload:C},{call:D,put:L}){const _e=yield D(pi.ff,C);_e&&_e.class_name&&(yield L({type:"save",payload:{classDataSource:{active:null,dataList:[..._e.class_name]}}}))},*setClassActive({payload:C},{call:D,put:L}){yield L({type:"save",payload:{classDataSource:Ir({},C)}})}},reducers:{save(C,D){return Ir(Ir({},C),D.payload)},setMajorOrYearDataSource(C,{payload:D}){return Hr(Ir({},C),{headerData:Hr(Ir({},C.headerData),{dataSource:Hr(Ir({},C.headerData.dataSource),{[D.key]:Hr(Ir({},C.headerData.dataSource[D.key]),{dataList:D.value})})})})},setMajorOrYearActive(C,{payload:D}){return Hr(Ir({},C),{headerData:Hr(Ir({},C.headerData),{active:Hr(Ir({},C.headerData.active),{[D.key]:D.value})})})},setEchartsData(C,{payload:D}){let L={name:D.course_name||"",dataSource:{xData:[],yBarData:[],yLineData:[]}},_e={name:D.course_name||"",xData:[],seriesData:[]},Oe={};return D.ec_course_target.forEach((hn,On)=>{hn.position=On+1,L=Hr(Ir({},L),{dataSource:{xData:[...L.dataSource.xData,On+1],yBarData:[...L.dataSource.yBarData,hn.actual_grade],yLineData:[...L.dataSource.yLineData,hn.standard_grade]}});let yn=[],Fi={min:[],max:[]},Ka=[],La=[],Go=[];hn.student_data.detail.forEach((Ts,Eo)=>{let Fs=Ts.score;yn.push(Eo+1),Fi.max.push(Fs>=hn.student_data.goal_score?Fs:null),Fi.min.push(Fs>=hn.student_data.goal_score?null:Fs),Ka.push(Ts.name),La.push(Ts.student_id),Go.push(Ts.clazz)}),Oe[On+1]={name:On+1,average_score:hn.student_data.average_score,goal_score:hn.student_data.goal_score,xData:yn,yData:Fi,name_data:Ka,student_ids:La,class_data:Go,goal_scoreData:new Array(hn.student_data.detail.length).fill(hn.student_data.goal_score),average_scoreData:new Array(hn.student_data.detail.length).fill(hn.student_data.average_score)}}),D.history.forEach(hn=>{_e=Hr(Ir({},_e),{xData:[..._e.xData,hn.year],seriesData:[..._e.seriesData,hn.total_score]})}),Hr(Ir({},C),{name:D.course_name||"",tabListData:D.ec_course_target,echartsData:{barData:L,lineData:_e,scatterData:Oe}})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},xe=Object.defineProperty,at=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,kr=(C,D,L)=>D in C?xe(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Pr=(C,D)=>{for(var L in D||(D={}))tr.call(D,L)&&kr(C,L,D[L]);if(at)for(var L of at(D))Cr.call(D,L)&&kr(C,L,D[L]);return C},Tn={namespace:"engineering",state:{showMenu:!0,matrixVerify:{key:!1,params:{}},actionTabs:{key:"",params:{}}},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Pr({},C)}})},*setShowMenu({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showMenu:C}})},*setMatrixVerify({payload:C},{call:D,put:L}){yield L({type:"save",payload:{matrixVerify:Pr({},C)}})}},reducers:{save(C,D){return Pr(Pr({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Tr=e(56854),pn=Object.defineProperty,sn=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,Ln=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,ji=Object.prototype.propertyIsEnumerable,Ii=(C,D,L)=>D in C?pn(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,En=(C,D)=>{for(var L in D||(D={}))Ia.call(D,L)&&Ii(C,L,D[L]);if(Ln)for(var L of Ln(D))ji.call(D,L)&&Ii(C,L,D[L]);return C},yi=(C,D)=>sn(C,ln(D)),Ea={namespace:"engineeringNavigtion",state:{actionTabs:{key:"",params:{}},headerData:{title:"\u8BA4\u8BC1\u5BFC\u822A",dataSource:{[Rn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rn.k[0]}`,loading:"engineeringNavigtion/getMajorList",dataList:[]},[Rn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rn.k[1]}`,loading:"engineeringNavigtion/getYearList",dataList:[]}},active:{},name:"",tabBarContent:{user_name:"",user_school:"",user_type:""}},cardListData:{appraiseData:{norm:{title:"\u6307\u6807\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-biyezhibiao",label:"\u6BD5\u4E1A\u6307\u6807",value:"/engineering/graduated/index"},{icon:"icon-biyejuzhen",label:"\u6BD5\u4E1A\u77E9\u9635",value:"/engineering/graduated/matrix"}],listData:[{key:"graduation_count",icon:"icon-biyeyaoqiu1",backgroundColor:"#F2EBFB",textColor:"#713BDB",label:"\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_subitem_count",icon:"icon-zhibiaodian",backgroundColor:"#FEF3EF",textColor:"#FF8B58",label:"\u6307\u6807\u70B9",value:"-",unit:"\u9879"},{key:"graduation_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"},{key:"graduation_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42",value:"-",unit:"\u9879"}]},course:{title:"\u8BFE\u7A0B\u8BC4\u4EF7",result:"-",tabBarContent:[{icon:"icon-kechengliebiao",label:"\u8BFE\u7A0B\u5217\u8868",value:"/engineering/course/list"},{icon:"icon-kechengjuzhen",label:"\u8BFE\u7A0B\u77E9\u9635",value:"/engineering/course/matrix"}],listData:[{key:"course_count",icon:"icon-kechengshuliang",backgroundColor:"#E2F5FF",textColor:"#007AFF",label:"\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_target_count",icon:"icon-mubiao",backgroundColor:"#FEF8EF",textColor:"#FEB315",label:"\u8BFE\u7A0B\u76EE\u6807",value:"-",unit:"\u9879"},{key:"course_achieve_count",icon:"icon-dacheng",backgroundColor:"#D7F5E6",textColor:"#07C160",label:"\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"},{key:"course_not_achieve_count",icon:"icon-weidacheng",backgroundColor:"#F5F5F5",textColor:"#7C8184",label:"\u672A\u8FBE\u6210\u8BFE\u7A0B\u6570\u91CF",value:"-",unit:"\u95E8"}]}},teamData:{teach:{title:"\u6388\u8BFE\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]},work:{title:"\u5DE5\u4F5C\u56E2\u961F",tabBarContent:"0\u4EBA",listData:[]}}},totalListData:[{key:"student_count",title:"\u5F53\u524D\u5B66\u751F\u603B\u6570",value:0,icon:"icon-xuesheng1",backgroundColor:"rgba(201,236,255,0.51)",textColor:"#007AFF"},{key:"student_in_count",title:"\u8F6C\u5165\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanru",backgroundColor:"rgba(119,241,174,0.4)",textColor:"#1FA363"},{key:"student_out_count",title:"\u8F6C\u51FA\u5B66\u751F\u603B\u6570",value:0,icon:"icon-zhuanchu",backgroundColor:"rgba(255,197,147,0.44)",textColor:"#FA6400"}]},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:En({},C)}})},*getMajorList({},{call:C,put:D,select:L}){const{userInfo:_e}=yield L(Oe=>Oe.user);if(_e!=null&&_e.school_id){const Oe=yield C(pi.BA,_e.school_id);if(Oe&&Oe.data){const hn=Tr.U.getItem(_e==null?void 0:_e.login);yield D({type:"setMajorOrYearDataSource",payload:{key:Rn.k[0],value:Oe.data.map(On=>({label:On.name,value:On.ec_major_school_id})),active:Oe.data.length>0?hn[0]||Oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:C},{call:D,put:L,select:_e}){const Oe=yield D(pi.Nx,C.id),{userInfo:hn}=yield _e(On=>On.user);if(Oe&&Oe.data){const On=Tr.U.getItem(hn==null?void 0:hn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Rn.k[1],value:Oe.data.map(yn=>({label:yn.year,value:yn.ec_year_id})),active:Oe.data.length>0?C.firstEnter?On[1]:Oe.data[0].ec_year_id:void 0}})}},*getTopPage({},{call:C,put:D,select:L}){const{headerData:_e}=yield L(On=>On.engineeringNavigtion),{userInfo:Oe}=yield L(On=>On.user);let hn={};if(_e.active[Rn.k[1]]&&Oe.school_id){const On=[_e.active[Rn.k[0]],_e.active[Rn.k[1]]];Tr.U.setItem(Oe==null?void 0:Oe.login,On);const yn=yield C(pi.bA,{ec_year_id:_e.active[Rn.k[1]],school_id:Oe.school_id});yn&&yn.data&&(hn=yn.data),yield D({type:"setTopPage",payload:hn})}},*putTopPageName({payload:C,callback:D},{call:L,put:_e}){try{const Oe=yield L(pi.ay,C);D(Oe)}catch(Oe){let hn="";Oe&&(hn=JSON.stringify(Oe),Oe.message&&(hn=Oe.message)),D({message:hn,status:999})}}},reducers:{save(C,D){return En(En({},C),D.payload)},setMajorOrYearDataSource(C,{payload:D}){let L=C.headerData.active;return D.active&&(L=yi(En({},L),{[D.key]:D.active})),yi(En({},C),{headerData:yi(En({},C.headerData),{dataSource:yi(En({},C.headerData.dataSource),{[D.key]:yi(En({},C.headerData.dataSource[D.key]),{dataList:D.value})}),active:L})})},setMajorOrYearActive(C,{payload:D}){return yi(En({},C),{headerData:yi(En({},C.headerData),{active:yi(En({},C.headerData.active),{[D.key]:D.value})})})},setTopPage(C,{payload:D}){return yi(En({},C),{headerData:yi(En({},C.headerData),{name:D.name,tabBarContent:{user_name:D.user_name,user_school:D.user_school,user_type:D.user_type}}),cardListData:yi(En({},C.cardListData),{appraiseData:yi(En({},C.cardListData.appraiseData),{norm:yi(En({},C.cardListData.appraiseData.norm),{result:D.graduaiton_result,listData:C.cardListData.appraiseData.norm.listData.map(L=>yi(En({},L),{value:D[L.key]||0}))}),course:yi(En({},C.cardListData.appraiseData.course),{result:D.course_result,listData:C.cardListData.appraiseData.course.listData.map(L=>yi(En({},L),{value:D[L.key]||0}))})}),teamData:{teach:yi(En({},C.cardListData.teamData.teach),{tabBarContent:`${D.course_teachers?D.course_teachers.length:0}\u4EBA`,listData:D.course_teachers||[]}),work:yi(En({},C.cardListData.teamData.work),{tabBarContent:`${D.work_teachers?D.work_teachers.length:0}\u4EBA`,listData:D.work_teachers||[]})}}),totalListData:C.totalListData.map(L=>yi(En({},L),{value:D[L.key]||0}))})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Gs=Object.defineProperty,$a=Object.defineProperties,Bs=Object.getOwnPropertyDescriptors,ro=Object.getOwnPropertySymbols,ja=Object.prototype.hasOwnProperty,Hs=Object.prototype.propertyIsEnumerable,ya=(C,D,L)=>D in C?Gs(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,cs=(C,D)=>{for(var L in D||(D={}))ja.call(D,L)&&ya(C,L,D[L]);if(ro)for(var L of ro(D))Hs.call(D,L)&&ya(C,L,D[L]);return C},fs=(C,D)=>$a(C,Bs(D)),ra={namespace:"engineeringNormDetail",state:{actionTabs:{key:"",params:{}},dataSource:{name:"",goal_value:0,actual_value:0,subitems:[]}},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:cs({},C)}})},*getGraduationResultDetail({payload:C},{call:D,put:L}){const _e=yield D(pi.gq,C);yield L({type:"save",payload:{dataSource:_e}})}},reducers:{save(C,D){return cs(cs({},C),D.payload)},setDataSource(C,{payload:D}){let L=D;return fs(cs({},C),{dataSource:L})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},ks=e(8591),Mo=Object.defineProperty,Ya=Object.defineProperties,Ns=Object.getOwnPropertyDescriptors,is=Object.getOwnPropertySymbols,fo=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,as=(C,D,L)=>D in C?Mo(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Ps=(C,D)=>{for(var L in D||(D={}))fo.call(D,L)&&as(C,L,D[L]);if(is)for(var L of is(D))bn.call(D,L)&&as(C,L,D[L]);return C},Is=(C,D)=>Ya(C,Ns(D)),oa=(C,D)=>{var L={};for(var _e in C)fo.call(C,_e)&&D.indexOf(_e)<0&&(L[_e]=C[_e]);if(C!=null&&is)for(var _e of is(C))D.indexOf(_e)<0&&bn.call(C,_e)&&(L[_e]=C[_e]);return L},Ja={namespace:"engineeringNormList",state:{actionTabs:{key:"",params:{}},headerData:{dataSource:{[Rn.k[0]]:{width:235,placeholder:`\u8BF7\u9009\u62E9${Rn.k[0]}`,loading:"engineeringNormList/getMajorList",dataList:[]},[Rn.k[1]]:{width:138,placeholder:`\u8BF7\u9009\u62E9${Rn.k[1]}`,loading:"engineeringNormList/getYearList",dataList:[]}},active:{}},tabListData:[],expandedRowKeys:[],all_goal_value:""},effects:{*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Ps({},C)}})},*getMajorList({},{call:C,put:D,select:L}){const{userInfo:_e}=yield L(Oe=>Oe.user);if(_e!=null&&_e.school_id){const Oe=yield C(pi.BA,_e.school_id);if(Oe&&Oe.data){const hn=Tr.U.getItem(_e==null?void 0:_e.login);yield D({type:"setMajorOrYearDataSource",payload:{key:Rn.k[0],value:Oe.data.map(On=>({label:On.name,value:On.ec_major_school_id})),active:Oe.data.length>0?hn[0]||Oe.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:C},{call:D,put:L,select:_e}){const Oe=yield D(pi.Nx,C.id),{userInfo:hn}=yield _e(On=>On.user);if(Oe&&Oe.data){const On=Tr.U.getItem(hn==null?void 0:hn.login);yield L({type:"setMajorOrYearDataSource",payload:{key:Rn.k[1],value:Oe.data.map(yn=>({label:yn.year,value:yn.ec_year_id})),active:Oe.data.length>0?C.firstEnter?On[1]:Oe.data[0].ec_year_id:void 0}})}},*getGraduationResults({},{call:C,put:D,select:L}){const{headerData:_e}=yield L(Ka=>Ka.engineeringNormList),{userInfo:Oe}=yield L(Ka=>Ka.user);let hn=[],On=[],yn="";const Fi=_e.active[Rn.k[1]];if(Fi){const Ka=[_e.active[Rn.k[0]],_e.active[Rn.k[1]]];Tr.U.setItem(Oe==null?void 0:Oe.login,Ka);const La=yield C(pi.eM,Fi);La&&La.graduation_requirements&&(yn=La.all_goal_value||"",hn=La.graduation_requirements.map(Go=>{var Ts=Go,{subitems:Eo}=Ts,Fs=oa(Ts,["subitems"]);return On.push(Fs.id),Is(Ps({},Fs),{children:Eo})}))}yield D({type:"save",payload:{tabListData:hn,all_goal_value:yn,expandedRowKeys:On}})},*exportGraduation({},{call:C,select:D}){const{headerData:L}=yield D(_e=>_e.engineeringNormList);L.active[Rn.k[1]]&&(yield C(pi.OE,L.active[Rn.k[1]]))},*compute({payload:C},{call:D,put:L}){const _e=C,{all:Oe}=_e,hn=oa(_e,["all"]),On=yield D(Oe?pi.Qx:pi.Xl,hn);On&&On.status===0?(ks.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield L({type:"getGraduationResults"})):ks.ZP.error(On.message)},*getFormulas({callback:C},{call:D,select:L}){const{headerData:_e}=yield L(Oe=>Oe.engineeringNormList);if(_e.active[Rn.k[1]]){const Oe=yield D(pi.mK,_e.active[Rn.k[1]]);C(Oe)}},*setFormulas({payload:C,callback:D},{call:L}){const _e=yield L(pi.y9,C);D(_e)},*putGoalValue({payload:C},{call:D,put:L}){const _e=yield D(pi.No,C);if(_e&&_e.status===0)ks.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";_e&&_e.message&&(Oe=_e.message),ks.ZP.error(Oe)}}},reducers:{save(C,D){return Ps(Ps({},C),D.payload)},setMajorOrYearDataSource(C,{payload:D}){let L=C.headerData.active;return D.active&&(L=Is(Ps({},L),{[D.key]:D.active})),Is(Ps({},C),{headerData:Is(Ps({},C.headerData),{dataSource:Is(Ps({},C.headerData.dataSource),{[D.key]:Is(Ps({},C.headerData.dataSource[D.key]),{dataList:D.value})}),active:L})})},setMajorOrYearActive(C,{payload:D}){return Is(Ps({},C),{headerData:Is(Ps({},C.headerData),{active:Is(Ps({},C.headerData.active),{[D.key]:D.value})})})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},$s=e(14195),ho=Object.defineProperty,po=Object.getOwnPropertySymbols,Fo=Object.prototype.hasOwnProperty,tu=Object.prototype.propertyIsEnumerable,zo=(C,D,L)=>D in C?ho(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Io=(C,D)=>{for(var L in D||(D={}))Fo.call(D,L)&&zo(C,L,D[L]);if(po)for(var L of po(D))tu.call(D,L)&&zo(C,L,D[L]);return C},ru={namespace:"forumsDetail",state:{forumsDetailData:{}},effects:{*getForumsDetailData({payload:C},{call:D,put:L}){const _e=yield D($s.Si,C);return yield L({type:"save",payload:{forumsDetailData:Io({},_e)}}),_e},*setForumsDetailData({payload:C},{call:D,put:L}){yield L({type:"save",payload:{forumsDetailData:Io({},C)}})}},reducers:{save(C,D){return Io(Io({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Ho=Object.defineProperty,ns=Object.getOwnPropertySymbols,oi=Object.prototype.hasOwnProperty,_i=Object.prototype.propertyIsEnumerable,es=(C,D,L)=>D in C?Ho(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,ts=(C,D)=>{for(var L in D||(D={}))oi.call(D,L)&&es(C,L,D[L]);if(ns)for(var L of ns(D))_i.call(D,L)&&es(C,L,D[L]);return C},Bo={namespace:"forumsList",state:{forumsData:{},listParams:{page:1,order:"updated_at"}},effects:{*getForumsData({payload:C},{call:D,put:L}){const _e=yield D(C.memoType==="shixun_discuss"?$s.kd:$s.bc,C);return delete C.memoType,yield L({type:"save",payload:{listParams:C,forumsData:ts({},_e)}}),_e}},reducers:{save(C,D){return ts(ts({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Wo=e(92890),du=e(90524),js=e(28209),No=e.n(js),nu=Object.defineProperty,yu=Object.getOwnPropertySymbols,Nu=Object.prototype.hasOwnProperty,Ju=Object.prototype.propertyIsEnumerable,$o=(C,D,L)=>D in C?nu(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,oo=(C,D)=>{for(var L in D||(D={}))Nu.call(D,L)&&$o(C,L,D[L]);if(yu)for(var L of yu(D))Ju.call(D,L)&&$o(C,L,D[L]);return C},Do={namespace:"globalSetting",state:{name:"\u5168\u5C40\u914D\u7F6E",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,showFooter:!0,showHeader:!0,showTip:!1,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"defaults",shareData:{title:document.title,imgUrl:"https://ali-cdn.educoder.net/images/avatars/LaboratorySetting/1tab?t=1610677202",desc:""},globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1},infoData:{name:"",phone:""},isSaiaDomain:window.location.host=="saia.educoder.net",actionTabs:{key:"",params:{}}},effects:{*query({payload:C},{call:D,put:L}){var _e,Oe;const hn=yield D(Wo.D2,C);du.Z.ONLYOFFICE=(_e=hn==null?void 0:hn.setting)==null?void 0:_e.office_server_url,Oo(hn);try{const Fi="5183666c72eec9e4",Ka="5183666c72eec9e4";var On=No().enc.Utf8.parse(Fi);let La=No().enc.Utf8.parse(Ka);var yn=No().AES.decrypt(((Oe=hn==null?void 0:hn.setting)==null?void 0:Oe.user_default_password)||"",On,{iv:La,mode:No().mode.CBC});hn.setting.user_default_password=yn.toString(No().enc.Utf8)}catch(Fi){}yield L({type:"save",payload:oo({},hn)})},*getSystemUpdate({payload:C},{call:D,put:L}){const _e=yield D(Wo.n0,C);yield L({type:"save",payload:{updateData:oo({},_e)}})},*setTheme({payload:C},{call:D,put:L}){const _e=yield D(Wo.n0,C);yield L({type:"save",payload:{theme:C||"default"}})},*setShareData({payload:C},{call:D,put:L}){yield L({type:"save",payload:{shareData:C}})},*setGlobalLoading({payload:C},{call:D,put:L}){yield L({type:"save",payload:{globalLoading:oo({},C)}})},*delayTipToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showTip:C}})},*headerToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showHeader:C}})},*footerToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showFooter:C}})},*headerFooterToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showHeaderFooter:C}})},*delayTipToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showTip:C}})},*headerFixedToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showHeaderFixed:C}})},*onlyShowBackTopToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{onlyShowBackTop:C}})},*onlyShowBackTopIconToggle({payload:C},{call:D,put:L}){yield L({type:"save",payload:{onlyShowBackTopIcons:C}})},*setOperateModel({payload:C},{call:D,put:L}){yield L({type:"save",payload:{operateModel:C}})},*setOperateModelPath({payload:C},{call:D,put:L}){yield L({type:"save",payload:{operateModelPath:C}})},*setShowQuestionBackTop({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showQuestionBackTop:C}})},*setInfoData({payload:C},{call:D,put:L}){yield L({type:"save",payload:{infoData:oo({},C)}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:oo({},C)}})}},reducers:{save(C,D){return oo(oo({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{})}}};const Oo=(C={})=>{var D,L,_e,Oe,hn;if(window.self!==window.top||!((D=C.setting)!=null&&D.tab_logo_url))return;const On=document.createElement("link"),yn=document.getElementById("dynamic-favicon");On.id="dynamic-favicon",On.rel="shortcut icon",On.href=(L=C.setting)!=null&&L.tab_logo_url?`${du.Z.IMG_SERVER}/${(_e=C.setting)==null?void 0:_e.tab_logo_url}`:"",yn&&document.head.removeChild(yn),document.head.appendChild(On);try{(Oe=C.setting)!=null&&Oe.main_site||(document.querySelector('meta[name="keywords"]').content=(hn=C.setting)==null?void 0:hn.name,document.querySelector('meta[name="description"]').remove())}catch(Fi){}};var jo=e(86645),Iu=Object.defineProperty,Vo=Object.getOwnPropertySymbols,iu=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,Yo=(C,D,L)=>D in C?Iu(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Du=(C,D)=>{for(var L in D||(D={}))iu.call(D,L)&&Yo(C,L,D[L]);if(Vo)for(var L of Vo(D))uo.call(D,L)&&Yo(C,L,D[L]);return C},dr={namespace:"graduations",state:{actionTabs:{key:"",params:{}},details:{},menus:[],forTask:[],ownedList:[],students:{},years:[],graduation:{teachers_count:0,students_count:0,graduation_tasks_count:0},teachers:{},graduation_stages:[],Notices:{total_count:0,no_deal_count:0},Tasks:{data:[],count:0},updateIndex:1},effects:{*getGraduationsStageDetails({payload:C},{call:D,put:L}){return yield D(jo.Xh,C)},*getGraduationsFinalScore({payload:C},{call:D,put:L}){return yield D(jo.H3,C)},*getDelGraduationsTasks({payload:C},{call:D,put:L}){return yield D(jo.km,C)},*getGraduationsTasks({payload:C},{call:D,put:L}){const _e=yield D(jo.Xw,C);yield L({type:"save",payload:{Tasks:_e}})},*getGraduationsTeachers({payload:C},{call:D,put:L}){var _e;const Oe=yield D(jo.AA,C);return(_e=Oe==null?void 0:Oe.data)==null||_e.map(hn=>(hn.key=hn.id,hn)),yield L({type:"save",payload:{teachers:Oe}}),Oe},*getGraduationsStudents({payload:C},{call:D,put:L}){var _e;const Oe=yield D(jo.eh,C);(_e=Oe==null?void 0:Oe.data)==null||_e.map(hn=>(hn.key=hn.id,hn)),yield L({type:"save",payload:{students:Oe}})},*getGraduationsNotices({payload:C},{call:D,put:L}){const _e=yield D(jo.Rk,C);yield L({type:"save",payload:{Notices:_e}})},*getGraduationsInfo({payload:C},{call:D,put:L}){const _e=yield D(jo.F7,C);yield L({type:"save",payload:{graduation:_e.graduation}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Du({},C)}})},*setUpdateIndex({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getGraduationsDetails({payload:C},{call:D,put:L}){const _e=yield D(jo.Ou,C);yield L({type:"save",payload:{details:(_e==null?void 0:_e.graduation)||{},menus:(_e==null?void 0:_e.data)||[],forTask:(_e==null?void 0:_e.for_task)||[]}})}},reducers:{save(C,D){return Du(Du({},C),D.payload)}}},ir=e(55480),hr=Object.defineProperty,Sr=Object.defineProperties,xn=Object.getOwnPropertyDescriptors,Gn=Object.getOwnPropertySymbols,Bn=Object.prototype.hasOwnProperty,Kn=Object.prototype.propertyIsEnumerable,di=(C,D,L)=>D in C?hr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,ci=(C,D)=>{for(var L in D||(D={}))Bn.call(D,L)&&di(C,L,D[L]);if(Gn)for(var L of Gn(D))Kn.call(D,L)&&di(C,L,D[L]);return C},cr=(C,D)=>Sr(C,xn(D)),Fr={namespace:"homePage",state:{name:"\u9996\u9875",loading:!0},effects:{*home({payload:C},{call:D,put:L}){const _e=yield D(ir.Tt,{payload:C});yield L({type:"save",payload:cr(ci({},_e),{isloading:!0})})},*query({payload:C},{call:D,put:L}){yield L({type:"save",payload:{name:"linlu"}})},*getHomeNotice({payload:C,callback:D},{call:L,put:_e}){return yield L(ir.LA,C)},*UploadNotice({payload:C,callback:D},{call:L,put:_e}){return yield L(ir.S_,C)}},reducers:{save(C,D){return ci(ci({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Pn=Object.defineProperty,In=Object.defineProperties,pt=Object.getOwnPropertyDescriptors,$n=Object.getOwnPropertySymbols,Vn=Object.prototype.hasOwnProperty,zi=Object.prototype.propertyIsEnumerable,Yi=(C,D,L)=>D in C?Pn(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,zr=(C,D)=>{for(var L in D||(D={}))Vn.call(D,L)&&Yi(C,L,D[L]);if($n)for(var L of $n(D))zi.call(D,L)&&Yi(C,L,D[L]);return C},pa=(C,D)=>In(C,pt(D)),Ca={namespace:"innovation",state:{visibleModalName:"",hideRemindModal:!0,openForkModalPosition:"forkButton",simpleModalProps:{visible:!1}},reducers:{save(C,D){return zr(zr({},C),D.payload)},openModal(C,D){return pa(zr({},C),{visibleModalName:D.payload})},closeModal(C){return pa(zr({},C),{visibleModalName:""})},openSimpleModal(C,D){return pa(zr({},C),{simpleModalProps:zr({visible:!0},D.payload)})},closeSimpleModal(C){return pa(zr({},C),{simpleModalProps:{visible:!1}})}}},hs=e(82093),Rs=Object.defineProperty,vi=Object.getOwnPropertySymbols,ps=Object.prototype.hasOwnProperty,lo=Object.prototype.propertyIsEnumerable,cn=(C,D,L)=>D in C?Rs(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Wa=(C,D)=>{for(var L in D||(D={}))ps.call(D,L)&&cn(C,L,D[L]);if(vi)for(var L of vi(D))lo.call(D,L)&&cn(C,L,D[L]);return C},Ks=(C,D,L)=>new Promise((_e,Oe)=>{var hn=Fi=>{try{yn(L.next(Fi))}catch(Ka){Oe(Ka)}},On=Fi=>{try{yn(L.throw(Fi))}catch(Ka){Oe(Ka)}},yn=Fi=>Fi.done?_e(Fi.value):Promise.resolve(Fi.value).then(hn,On);yn((L=L.apply(C,D)).next())});const mo=C=>Ks(void 0,null,function*(){return(0,hs.ZP)("/api/paid_subjects/banner.json",{method:"get",params:Wa({},C)})}),Hn=C=>Ks(void 0,null,function*(){return(0,hs.ZP)("/api/paid_subjects/top_category.json",{method:"get",params:Wa({},C)})}),Ls=C=>Ks(void 0,null,function*(){return(0,hs.ZP)("/api/paid_subjects/hot_recommend_subjects.json",{method:"get",params:Wa({},C)})}),no=C=>Ks(void 0,null,function*(){return(0,hs.ZP)("/api/paid_subjects/time_discount_subjects.json",{method:"get",params:Wa({},C)})}),Xe=C=>Ks(void 0,null,function*(){return(0,hs.ZP)("/api/paid_subjects.json",{method:"post",body:Wa({},C)})}),Qe=C=>Ks(void 0,null,function*(){return(0,hs.ZP)("/api/paid_subjects/all_tags.json",{method:"get",params:Wa({},C)})}),Mt=C=>Ks(void 0,null,function*(){return(0,hs.ZP)("/api/paid_subjects/user_comments.json",{method:"get",params:Wa({},C)})}),Gt=C=>Ks(void 0,null,function*(){return(0,hs.ZP)("/api/paid_subjects/info_show.json",{method:"get",params:Wa({},C)})});var vr=Object.defineProperty,Br=Object.getOwnPropertySymbols,Wr=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable,on=(C,D,L)=>D in C?vr(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Sn=(C,D)=>{for(var L in D||(D={}))Wr.call(D,L)&&on(C,L,D[L]);if(Br)for(var L of Br(D))wn.call(D,L)&&on(C,L,D[L]);return C},ai={namespace:"intraincourse",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",BannerList:[],Adv:{},TopCategoryList:[],HotList:[],DiscountList:[],SubjectList:{},Tags:[],UserComments:[],InfoShow:{}},effects:{*getBannerList({payload:C},{call:D,put:L}){const{data:{adv:_e,top_banner:Oe}}=yield D(mo,C);yield L({type:"save",payload:{BannerList:Oe,Adv:_e}})},*getTopCategoryList({payload:C},{call:D,put:L}){const{data:{top_category_list:_e}}=yield D(Hn,C);yield L({type:"save",payload:{TopCategoryList:[{id:-1,name:"\u5168\u90E8"},..._e]}})},*getHotList({payload:C},{call:D,put:L}){const{data:{hot_list:_e}}=yield D(Ls,C);yield L({type:"save",payload:{HotList:_e}})},*getDiscountList({payload:C},{call:D,put:L}){const{data:{discount_list:_e}}=yield D(no,C);yield L({type:"save",payload:{DiscountList:_e}})},*getPaidSubjects({payload:C},{call:D,put:L}){const{data:_e}=yield D(Xe,C);yield L({type:"save",payload:{SubjectList:_e}})},*getTags({payload:C},{call:D,put:L}){const{data:{list:_e}}=yield D(Qe,C);yield L({type:"save",payload:{Tags:_e}})},*getUserComments({payload:C},{call:D,put:L}){const{data:{list:_e}}=yield D(Mt,C);yield L({type:"save",payload:{UserComments:_e}})},*getInfoShow({payload:C},{call:D,put:L}){const{data:_e}=yield D(Gt,C);yield L({type:"save",payload:{InfoShow:_e}})}},reducers:{save(C,D){return Sn(Sn({},C),D.payload)}}},Ui={namespace:"loadingss",state:{global:!1,effects:{},models:{}}},na=e(93440),Xi=Object.defineProperty,Oi=Object.getOwnPropertySymbols,Da=Object.prototype.hasOwnProperty,Mi=Object.prototype.propertyIsEnumerable,Di=(C,D,L)=>D in C?Xi(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,wa=(C,D)=>{for(var L in D||(D={}))Da.call(D,L)&&Di(C,L,D[L]);if(Oi)for(var L of Oi(D))Mi.call(D,L)&&Di(C,L,D[L]);return C},Us={namespace:"messages",state:{tidingsList:[],privateMessage:[],unreadInfo:[],recentContacts:{},privateMessageDetails:{},userPrivateMessage:{},actionTabs:{key:"",params:{}}},effects:{*getPrivateMessageDetails({payload:C},{call:D,put:L}){const _e=yield D(na.Ub,C);return yield L({type:"save",payload:{privateMessageDetails:_e||[]}}),_e},*getTidings({payload:C},{call:D,put:L}){const _e=yield D(na.AD,C);yield L({type:"save",payload:{tidingsList:_e||[]}})},*getPrivateMessages({payload:C},{call:D,put:L}){const _e=yield D(na.V8,C);return yield L({type:"save",payload:{privateMessage:_e||[]}}),_e},*getUsersForPrivateMessages({payload:C},{call:D,put:L}){const _e=yield D(na.QJ,C);return yield L({type:"save",payload:{userPrivateMessage:_e||[]}}),_e},*unreadMessageInfo({payload:C},{call:D,put:L}){const _e=yield D(na.Ig,C);yield L({type:"save",payload:{unreadInfo:_e||[]}})},*getRecentContacts({payload:C},{call:D,put:L}){const _e=yield D(na.Ko,C);return yield L({type:"save",payload:{recentContacts:_e||[]}}),_e},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:wa({},C)}})}},reducers:{save(C,D){return wa(wa({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},ua=e(47580),Xa=e(49661),va=e(22688),Wi=Object.defineProperty,Pa=Object.defineProperties,us=Object.getOwnPropertyDescriptors,ms=Object.getOwnPropertySymbols,So=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,ko=(C,D,L)=>D in C?Wi(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,_s=(C,D)=>{for(var L in D||(D={}))So.call(D,L)&&ko(C,L,D[L]);if(ms)for(var L of ms(D))gs.call(D,L)&&ko(C,L,D[L]);return C},yo=(C,D)=>Pa(C,us(D));const bo=(C,D)=>{var L,_e,Oe,hn,On,yn,Fi,Ka,La;if(!C)return;const{exam:Go,single_questions:Ts,multiple_questions:Eo,judgement_questions:Fs,program_questions:gc,completion_questions:rf,subjective_questions:gl,practical_questions:nf,combination_questions:Tl,bprogram_questions:Zi}=C||{},cu=[_s({type:"SINGLE",question_type:0,name:((L=D==null?void 0:D.find(ws=>ws.value==va.fw[0].nameType))==null?void 0:L.name)||va.fw[0].name},Ts),_s({type:"MULTIPLE",question_type:1,name:((_e=D==null?void 0:D.find(ws=>ws.value==va.fw[1].nameType))==null?void 0:_e.name)||va.fw[1].name},Eo),_s({type:"JUDGMENT",question_type:2,name:((Oe=D==null?void 0:D.find(ws=>ws.value==va.fw[2].nameType))==null?void 0:Oe.name)||va.fw[2].name},Fs),_s({type:"PROGRAM",question_type:6,name:((hn=D==null?void 0:D.find(ws=>ws.value==va.fw[6].nameType))==null?void 0:hn.name)||va.fw[6].name},gc),_s({type:"COMPLETION",question_type:3,name:((On=D==null?void 0:D.find(ws=>ws.value==va.fw[3].nameType))==null?void 0:On.name)||va.fw[3].name},rf),_s({type:"SUBJECTIVE",question_type:4,name:((yn=D==null?void 0:D.find(ws=>ws.value==va.fw[4].nameType))==null?void 0:yn.name)||va.fw[4].name},gl),_s({type:"PRACTICAL",question_type:5,name:((Fi=D==null?void 0:D.find(ws=>ws.value==va.fw[5].nameType))==null?void 0:Fi.name)||va.fw[5].name},nf),_s({type:"COMBINATION",question_type:7,name:((Ka=D==null?void 0:D.find(ws=>ws.value==va.fw[7].nameType))==null?void 0:Ka.name)||va.fw[7].name},Tl),_s({type:"BPROGRAM",question_type:8,name:((La=D==null?void 0:D.find(ws=>ws.value==va.fw[8].nameType))==null?void 0:La.name)||va.fw[8].name},Zi)],Nc=[];if(C.sort_by_qustion_type)for(const ws of C.qustion_type_order_name_en)Nc.push(cu.find(Cl=>Cl.type===ws));const so=(C.sort_by_qustion_type?Nc:cu).filter(ws=>(ws==null?void 0:ws.questions_count)>0).map((ws,Cl)=>{var Ql;return _s(_s({},ws),{number:(0,Xa.EM)(Cl+1),questions:(Ql=ws==null?void 0:ws.questions)==null?void 0:Ql.map($c=>yo(_s({},$c),{shixun:$c.examination_bank_shixun_challenges,question_type:ws.question_type}))})});return{exam:Go,questionList:so}};var Sa=e(37798),rs=Object.defineProperty,Xs=Object.getOwnPropertySymbols,Oa=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,we=(C,D,L)=>D in C?rs(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,xr=(C,D)=>{for(var L in D||(D={}))Oa.call(D,L)&&we(C,L,D[L]);if(Xs)for(var L of Xs(D))ye.call(D,L)&&we(C,L,D[L]);return C},_r={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{*postExistCourse({payload:C},{call:D,put:L}){return yield D(ua.a2,C)},*postCheckExaminationBanks({payload:C},{call:D,put:L}){return yield D(ua.q$,C)},*postPaperlibraryCopy({payload:C},{call:D,put:L}){return yield D(ua.ID,C)},*getDisciplines({payload:C},{call:D,put:L}){const _e=yield D(ua.d1,C);return yield L({type:"save",payload:{disciplinesData:xr({},_e)}}),_e},*getCustomDisciplines({payload:C},{call:D,put:L}){const _e=yield D(ua.ar,C);return yield L({type:"save",payload:{disciplinesData:xr({},_e)}}),_e},*getEditDisciplines({payload:C},{call:D,put:L}){const _e=yield D(ua.d1,C),Oe=_e==null?void 0:_e.disciplines,hn=(0,Sa.L)(Oe);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:xr({},_e)}}),_e},*getTeachGroupData({payload:C},{call:D,put:L}){const _e=yield D(ua.Dm,C);return yield L({type:"save",payload:{teachGroupData:xr({},_e)}}),_e},*getPaperData({payload:C},{call:D,put:L}){const _e=yield D(ua.iT,C),Oe=yield D(ua.cV,C),hn=bo(_e,Oe.data);return yield L({type:"save",payload:{paperData:hn}}),_e},*getPaperlibraryList({payload:C},{call:D,put:L}){return yield D(ua.Gd,C)},*setPublic({payload:C},{call:D,put:L}){return yield D(ua.DF,C)},*handleDelete({payload:C},{call:D,put:L}){return yield D(ua.fn,C)},*getCourseList({payload:C},{call:D,put:L}){return yield D(ua.tS,C)},*postBatchSendToCourse({payload:C},{call:D,put:L}){return yield D(ua.lc,C)},*sendToClass({payload:C},{call:D,put:L}){return yield D(ua.kp,C)},*adjustPosition({payload:C},{call:D,put:L}){return yield D(ua.qN,C)},*setScore({payload:C},{call:D,put:L}){return yield D(ua.ts,C)},*handleDeleteEditQuestion({payload:C},{call:D,put:L}){return yield D(ua.NC,C)},*batchSetScore({payload:C},{call:D,put:L}){return yield D(ua.YP,C)},*batchDelete({payload:C},{call:D,put:L}){return yield D(ua.Hm,C)},*updatePaper({payload:C},{call:D,put:L}){return yield D(ua.jK,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:xr({},C)}})}},reducers:{save(C,D){return xr(xr({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},en=Object.defineProperty,Mn=Object.getOwnPropertySymbols,ni=Object.prototype.hasOwnProperty,Qi=Object.prototype.propertyIsEnumerable,zn=(C,D,L)=>D in C?en(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,jn=(C,D)=>{for(var L in D||(D={}))ni.call(D,L)&&zn(C,L,D[L]);if(Mn)for(var L of Mn(D))Qi.call(D,L)&&zn(C,L,D[L]);return C},xa={namespace:"newExercisePaper",state:{loading:!0,exerciseExportHeadData:{},tagDisciplineData:{},editData:{},actionTabs:{removeEventListenerExitScreen:!1}},effects:{*getExerciseExportHeadData({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(ua.Dq,C);return yield _e({type:"save",payload:{exerciseExportHeadData:jn({},Oe)}}),Oe},*editExercise({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(ua.Di,C);return yield _e({type:"save",payload:{editData:jn({},Oe)}}),Oe},*getTagDiscipline({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Ze.YY,C);return yield _e({type:"save",payload:{tagDisciplineData:jn({},Oe)}}),Oe},*editExerciseQuestion({payload:C,callback:D},{call:L,put:_e}){return yield L(ua.oF,C)},*addExerciseQuestion({payload:C,callback:D},{call:L,put:_e}){return yield L(ua.oF,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:jn({},C)}})}},reducers:{save(C,D){return jn(jn({},C),D.payload)},modifyTitle(C,D){const L=(0,Le.cloneDeep)(C);return L.editData.exercise.exercise_name=D.payload,L}},subscriptions:{setup({dispatch:C,history:D}){}}},ia=e(37034),Ao=Object.defineProperty,xo=Object.getOwnPropertySymbols,xu=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable,El=(C,D,L)=>D in C?Ao(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,$u=(C,D)=>{for(var L in D||(D={}))xu.call(D,L)&&El(C,L,D[L]);if(xo)for(var L of xo(D))Rl.call(D,L)&&El(C,L,D[L]);return C},ju={namespace:"pathsDetail",state:{detail:{},rightData:{},Courses:{},stageData:[],StageChildrenData:{},discusses:{},actionTabs:{key:"",params:{}},isShowSchedule:!1,keywords:"",stage_id:null,visibleType:"",editKey:-1},effects:{*getDiscusses({payload:C},{call:D,put:L}){const _e=yield D(ia.Ax,C);yield L({type:"save",payload:{discusses:$u({},_e)}})},*getPathsDetail({payload:C},{call:D,put:L}){const _e=yield D(ia.lk,C);return yield L({type:"save",payload:{detail:$u({},_e)}}),_e},*getCourseDetail({payload:C},{call:D,put:L}){const _e=yield D(ia.Sp,C);return yield L({type:"save",payload:{detail:$u({},_e)}}),_e},*getRightData({payload:C},{call:D,put:L}){const _e=yield D(ia.AQ,C);yield L({type:"save",payload:{rightData:$u({},_e)}})},*getCoureses({payload:C},{call:D,put:L}){const _e=yield D(ia.ue,C);yield L({type:"save",payload:{Courses:$u({},_e)}})},*getStageChildrenData({payload:C},{call:D,put:L}){const _e=yield D(ia.w4,C);return yield L({type:"save",payload:{StageChildrenData:_e}}),_e},*getStageData({payload:C},{call:D,put:L}){var _e,Oe,hn;let On=null;return C!=null&&C.show_course_section?On=yield D(ia.yN,C):On=yield D(ia.p,C),yield L({type:"save",payload:{stageData:((_e=On==null?void 0:On.data)==null?void 0:_e.stages)||(On==null?void 0:On.stages)||[],isShowSchedule:((Oe=On==null?void 0:On.data)==null?void 0:Oe.is_show_schedule)||(On==null?void 0:On.is_show_schedule)||!1}}),(hn=On==null?void 0:On.data)==null?void 0:hn.stages},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:$u({},C)}})}},reducers:{save(C,D){return $u($u({},C),D.payload)}}},Ve=Object.defineProperty,Z=Object.getOwnPropertySymbols,X=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,de=(C,D,L)=>D in C?Ve(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Te=(C,D)=>{for(var L in D||(D={}))X.call(D,L)&&de(C,L,D[L]);if(Z)for(var L of Z(D))te.call(D,L)&&de(C,L,D[L]);return C},Ct={namespace:"pathsList",state:{name:"",loading:!0,actionTabs:{key:"",params:{}},listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}},effects:{*getCourse({payload:C},{call:D,put:L}){const _e=C,Oe=yield D(ia.tS,C);return yield L({type:"save",payload:Te({listParams:_e},Oe)}),Oe},*getMenus({payload:C},{call:D,put:L}){const _e=yield D(ia.fh,C);yield L({type:"save",payload:{menus:_e}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Te({},C)}})},*clearListParams({payload:C},{call:D,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order:"new",page:1,limit:16,keyword:""}}})}},reducers:{save(C,D){return Te(Te({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Ut=Object.defineProperty,er=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable,fn=(C,D,L)=>D in C?Ut(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Dn=(C,D)=>{for(var L in D||(D={}))br.call(D,L)&&fn(C,L,D[L]);if(er)for(var L of er(D))Gr.call(D,L)&&fn(C,L,D[L]);return C},ei={namespace:"newCourse",state:{actionTabs:{key:"",params:{}}},effects:{*editCourse({payload:C},{call:D,put:L}){return yield D(ia.tu,C)},*submitCourse({payload:C},{call:D,put:L}){return yield D(ia.pU,C)},*getEditCourseData({payload:C},{call:D,put:L}){return yield D(ia.mQ,C)},*getSchoolOption({payload:C},{call:D,put:L}){return yield D(ia.GY,C)},*appplySchool({payload:C},{call:D,put:L}){return yield D(ia.bz,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Dn({},C)}})}},reducers:{save(C,D){return Dn(Dn({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Ci=Object.defineProperty,Aa=Object.defineProperties,la=Object.getOwnPropertyDescriptors,Er=Object.getOwnPropertySymbols,ys=Object.prototype.hasOwnProperty,bs=Object.prototype.propertyIsEnumerable,Ws=(C,D,L)=>D in C?Ci(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,os=(C,D)=>{for(var L in D||(D={}))ys.call(D,L)&&Ws(C,L,D[L]);if(Er)for(var L of Er(D))bs.call(D,L)&&Ws(C,L,D[L]);return C},Ua=(C,D)=>Aa(C,la(D)),Qs={namespace:"pathsOverview",state:{},effects:{*getSubjectUseInfos({payload:C},{call:D,put:L}){const _e=yield D(ia.nq,C);yield L({type:"save",payload:{SubjectUseInfos:_e}})},*getRankList({payload:C},{call:D,put:L}){const _e=yield D(ia.Fg,C);yield L({type:"save",payload:{RankList:Ua(os({},_e),{learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u8BFE\u7A0B\u540D\u79F0",data:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_list)||[]]})}})},*getStatisticsBody({payload:C},{call:D,put:L}){const _e=yield D(ia.Gz,C);yield L({type:"save",payload:{SBody:_e}})},*getOnlineCount({payload:C},{call:D,put:L}){const _e=yield D(ia.hS,C);yield L({type:"save",payload:{OnlineCount:_e==null?void 0:_e.data}})},*getStatisticsHeader({payload:C},{call:D,put:L}){const _e=yield D(ia.Hl,C);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(C,D){return os(os({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},ki=e(70610),Ro=Object.defineProperty,vo=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,qs=Object.prototype.propertyIsEnumerable,To=(C,D,L)=>D in C?Ro(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,xs=(C,D)=>{for(var L in D||(D={}))au.call(D,L)&&To(C,L,D[L]);if(vo)for(var L of vo(D))qs.call(D,L)&&To(C,L,D[L]);return C},cl={namespace:"problemset",state:{disciplinesData:void 0,courseOptions:[],basketData:void 0,editData:void 0,groupData:void 0,teachGroupData:void 0,actionTabs:{key:"",params:{}},itemBanks:{},groupfolderList:{}},effects:{*getGroup({payload:C},{call:D,put:L}){const _e=yield D(ki.ex,C);return yield L({type:"save",payload:{groupfolderList:_e}}),_e},*getDisciplines({payload:C},{call:D,put:L}){const _e=yield D(ki.d1,C);return yield L({type:"save",payload:{disciplinesData:xs({},_e)}}),_e},*getEditDisciplines({payload:C},{call:D,put:L}){const _e=yield D(ki.d1,C),Oe=_e==null?void 0:_e.disciplines,hn=(0,Sa.L)(Oe);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:xs({},_e)}}),_e},*getBasketList({payload:C},{call:D,put:L}){const _e=yield D(ki.Qj,C);return yield L({type:"save",payload:{basketData:xs({},_e)}}),_e},*getTeachGroupData({payload:C},{call:D,put:L}){const _e=yield D(ki.Dm,C);return yield L({type:"save",payload:{teachGroupData:xs({},_e)}}),_e},*getEditData({payload:C},{call:D,put:L}){const _e=yield D(ki.FG,C);return yield L({type:"save",payload:{editData:xs({},_e)}}),_e},*getEditDataBprogram({payload:C},{call:D,put:L}){const _e=yield D(ki.Bo,C);return yield L({type:"save",payload:{editData:xs({},_e)}}),_e},*getGroupData({payload:C},{call:D,put:L}){const _e=yield D(ki.hI,C);return yield L({type:"save",payload:{groupData:xs({},_e)}}),_e},*getItemBanks({payload:C},{call:D,put:L}){const _e=yield D(ki.Of,C);return yield L({type:"save",payload:{itemBanks:xs({},_e)}}),_e},*setPrivate({payload:C},{call:D,put:L}){return yield D(ki.Pl,C)},*revokePublish({payload:C},{call:D,put:L}){return yield D(ki.IJ,C)},*setPublic({payload:C},{call:D,put:L}){return yield D(ki.DF,C)},*handleDelete({payload:C},{call:D,put:L}){return yield D(ki.fn,C)},*startExperience({payload:C},{call:D,put:L}){return yield D(ki.Bd,C)},*cancel({payload:C},{call:D,put:L}){return yield D(ki.al,C)},*select({payload:C},{call:D,put:L}){return yield D(ki.Ys,C)},*examUnselectAll({payload:C},{call:D,put:L}){return yield D(ki.rV,C)},*basketDelete({payload:C},{call:D,put:L}){return yield D(ki.x5,C)},*unselectAll({payload:C},{call:D,put:L}){return yield D(ki.HF,C)},*addKnowledge({payload:C},{call:D,put:L}){return yield D(ki.U6,C)},*editProblemset({payload:C},{call:D,put:L}){return yield D(ki.Wk,C)},*addProblemset({payload:C},{call:D,put:L}){return yield D(ki.Mr,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:xs({},C)}})}},reducers:{save(C,D){return xs(xs({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},fl=Object.defineProperty,el=Object.getOwnPropertySymbols,Vs=Object.prototype.hasOwnProperty,dl=Object.prototype.propertyIsEnumerable,Uu=(C,D,L)=>D in C?fl(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Js=(C,D)=>{for(var L in D||(D={}))Vs.call(D,L)&&Uu(C,L,D[L]);if(el)for(var L of el(D))dl.call(D,L)&&Uu(C,L,D[L]);return C},Ll={namespace:"problemsetPreview",state:{disciplinesData:void 0,courseOptions:[],paperData:void 0,actionTabs:{key:"",params:{}}},effects:{*getPaperData({payload:C},{call:D,put:L}){const _e=yield D(ki.iT,C),Oe=(0,Sa.r)(_e);return yield L({type:"save",payload:{paperData:Oe}}),_e},*getEditDisciplines({payload:C},{call:D,put:L}){const _e=yield D(ki.d1,C),Oe=_e==null?void 0:_e.disciplines,hn=(0,Sa.L)(Oe);return yield L({type:"save",payload:{courseOptions:hn,disciplinesData:Js({},_e)}}),_e},*setScore({payload:C},{call:D,put:L}){return yield D(ki.ts,C)},*handleDelete({payload:C},{call:D,put:L}){return yield D(ki.Cn,C)},*batchSetScore({payload:C},{call:D,put:L}){return yield D(ki.YP,C)},*batchDelete({payload:C},{call:D,put:L}){return yield D(ki.Hm,C)},*adjustPosition({payload:C},{call:D,put:L}){return yield D(ki.qN,C)},*newPreviewProblemset({payload:C},{call:D,put:L}){return yield D(ki.et,C)},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Js({},C)}})}},reducers:{save(C,D){return Js(Js({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},hu=e(5707),Ml=Object.defineProperty,eo=Object.getOwnPropertySymbols,pu=Object.prototype.hasOwnProperty,pl=Object.prototype.propertyIsEnumerable,Hl=(C,D,L)=>D in C?Ml(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,zu=(C,D)=>{for(var L in D||(D={}))pu.call(D,L)&&Hl(C,L,D[L]);if(eo)for(var L of eo(D))pl.call(D,L)&&Hl(C,L,D[L]);return C},ac={namespace:"restful",state:{restful:void 0,restfulDetail:{},actionTabs:{key:"",params:{}}},effects:{*getRestful({payload:C},{call:D,put:L}){const _e=yield D(hu.Go,C);return yield L({type:"save",payload:{restful:zu({},_e)}}),_e},*getRestfulDetail({payload:C},{call:D,put:L}){const _e=yield D(hu.H5,C);return yield L({type:"save",payload:{restfulDetail:zu({},(_e==null?void 0:_e.data)||{})}}),(_e==null?void 0:_e.data)||{}},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:zu({},C)}})}},reducers:{save(C,D){return zu(zu({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},hi=e(67135);const Tc=(C={})=>{var D,L,_e,Oe,hn,On;return[{name:"\u5185\u5BB9\u5BA1\u6838\u60C5\u51B5",id:"Content",status:(D=C==null?void 0:C.content_info)==null?void 0:D.status,username:(L=C==null?void 0:C.content_info)==null?void 0:L.username,time:(_e=C==null?void 0:C.content_info)==null?void 0:_e.time},{name:"\u6027\u80FD\u5BA1\u6838\u60C5\u51B5",id:"Performance",status:(Oe=C==null?void 0:C.perference_info)==null?void 0:Oe.status,username:(hn=C==null?void 0:C.perference_info)==null?void 0:hn.username,time:(On=C==null?void 0:C.perference_info)==null?void 0:On.time}]};var ao=Object.defineProperty,sc=Object.defineProperties,Ou=Object.getOwnPropertyDescriptors,wl=Object.getOwnPropertySymbols,tl=Object.prototype.hasOwnProperty,Cc=Object.prototype.propertyIsEnumerable,Kc=(C,D,L)=>D in C?ao(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Lo=(C,D)=>{for(var L in D||(D={}))tl.call(D,L)&&Kc(C,L,D[L]);if(wl)for(var L of wl(D))Cc.call(D,L)&&Kc(C,L,D[L]);return C},Vc=(C,D)=>sc(C,Ou(D)),oc={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:{is_jupyter:!0,is_jupyter_lab:!0},auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},hasStartedEnv:!1,repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{*getShixunsDetail({payload:C},{call:D,put:L}){const _e=yield D(hi.Po,C);return yield L({type:"save",payload:{detail:Lo({},_e)}}),_e},*getMirrorApplies({payload:C},{call:D,put:L}){const _e=yield D(hi.tX,C);return yield L({type:"save",payload:{mirrorApplies:Lo({},(_e==null?void 0:_e.data)||{})}}),_e},*getRightData({payload:C},{call:D,put:L}){const _e=yield D(hi.AQ,C);yield L({type:"save",payload:{rightData:Lo({},_e)}})},*getChallengesData({payload:C},{call:D,put:L}){const _e=yield D(hi.n5,C);yield L({type:"save",payload:{challenges:Lo({},_e)}})},*saveCopyForExercise({payload:C},{call:D,put:L}){return yield D(hi.FB,C)},*execJupyter({payload:C},{call:D,put:L}){return yield D(hi.BK,C)},*execShixun({payload:C},{call:D,put:L}){const _e=yield D(hi.Ir,C);return(_e==null?void 0:_e.status)===-3&&(0,Xa.eF)(),_e},*openChallenge({payload:C},{call:D,put:L}){return yield D(hi.dK,C)},*challengeMoveUp({payload:C},{call:D,put:L}){return yield D(hi.zD,C)},*challengeMoveDown({payload:C},{call:D,put:L}){return yield D(hi.hn,C)},*cancelCollect({payload:C},{call:D,put:L}){return yield D(hi.rs,C)},*collect({payload:C},{call:D,put:L}){return yield D(hi.KM,C)},*searchUserCourses({payload:C},{call:D,put:L}){return yield D(hi._7,C)},*sendToCourse({payload:C},{call:D,put:L}){return yield D(hi.Q,C)},*cancelRelease({payload:C},{call:D,put:L}){return yield D(hi.Ne,C)},*cancelPublic({payload:C},{call:D,put:L}){return yield D(hi.Er,C)},*applyPublic({payload:C},{call:D,put:L}){return yield D(hi.WO,C)},*release({payload:C},{call:D,put:L}){return yield D(hi.Ar,C)},*updateAuditSituation({payload:C},{call:D,put:L}){return yield D(hi.LP,C)},*getCollaboratorsData({payload:C},{call:D,put:L}){return yield D(hi.j8,C)},*addCollaborator({payload:C},{call:D,put:L}){return yield D(hi.OV,C)},*addTeachGroupMember({payload:C},{call:D,put:L}){return yield D(hi.l3,C)},*getChangeManager({payload:C},{call:D,put:L}){return yield D(hi.P2,C)},*changeManager({payload:C},{call:D,put:L}){return yield D(hi.X$,C)},*deleteCollaborators({payload:C},{call:D,put:L}){return yield D(hi.xk,C)},*getRankingList({payload:C},{call:D,put:L}){return yield D(hi.E4,C)},*getMirrorScript({payload:C},{call:D,put:L}){return yield D(hi.Z2,C)},*getScriptContent({payload:C},{call:D,put:L}){return yield D(hi.Bj,C)},*getCustomScript({payload:C},{call:D,put:L}){return yield D(hi.Wi,C)},*updateSettingBasicInfo({payload:C},{call:D,put:L}){return yield D(hi.ZO,C)},*getShixunQuote({payload:C},{call:D,put:L}){return yield D(hi.Gr,C)},*deleteShixun({payload:C},{call:D,put:L}){return yield D(hi.Ps,C)},*permanentClose({payload:C},{call:D,put:L}){return yield D(hi.U9,C)},*getDepartments({payload:C},{call:D,put:L}){return yield D(hi.Ql,C)},*updatePermissionSetting({payload:C},{call:D,put:L}){return yield D(hi.aH,C)},*updateLearnSetting({payload:C},{call:D,put:L}){return yield D(hi.yE,C)},*updateSetting({payload:C},{call:D,put:L}){return yield D(hi.m7,C)},*getSetData({payload:C},{call:D,put:L}){return yield D(hi.U0,C)},*deleteDataSet({payload:C},{call:D,put:L}){return yield D(hi.uo,C)},*deleteGitFile({payload:C},{call:D,put:L}){return yield D(hi.sr,C)},*deleteGitFiles({payload:C},{call:D,put:L}){return yield D(hi.p0,C)},*moveGitFile({payload:C},{call:D,put:L}){return yield D(hi.IT,C)},*moveGitFiles({payload:C},{call:D,put:L}){return yield D(hi.t2,C)},*getRepository({payload:C},{call:D,put:L}){const _e=yield D(hi.Ag,C);return yield L({type:"save",payload:{repository:Lo({},_e)}}),Lo({},_e)},*getRepositorys({payload:C},{call:D,put:L}){const _e=yield D(hi.Wl,C);return yield L({type:"save",payload:{repository:Lo({},_e)}}),Lo({},_e)},*getRepositorys({payload:C},{call:D,put:L}){const _e=yield D(hi.Wl,C);return yield L({type:"save",payload:{repository:Lo({},_e)}}),Lo({},_e)},*getSecretRepository({payload:C},{call:D,put:L}){const _e=yield D(hi.w,C);return yield L({type:"save",payload:{secretRepository:Lo({},_e)}}),_e},*addRepositoryFile({payload:C},{call:D,put:L}){return yield D(hi.v3,C)},*addRepositoryFiles({payload:C},{call:D,put:L}){return yield D(hi.fL,C)},*getRepositoryCommit({payload:C},{call:D,put:L}){return yield D(hi.Je,C)},*getFileContent({payload:C},{call:D,put:L}){const _e=yield D(hi.LK,C);return yield L({type:"save",payload:{fileContent:Vc(Lo({},_e),{params:C})}}),_e},*getFileContents({payload:C},{call:D,put:L}){const _e=yield D(hi.nu,C);return yield L({type:"save",payload:{fileContent:Vc(Lo({},_e),{params:C})}}),_e},*updateRepositoryFile({payload:C},{call:D,put:L}){return yield D(hi.kF,C)},*updateRepositoryFiles({payload:C},{call:D,put:L}){return yield D(hi.jq,C)},*uploadGitFolder({payload:C},{call:D,put:L}){return yield D(hi.Op,C)},*updateCollaboratorEditable({payload:C},{call:D,put:L}){return yield D(hi.Dz,C)},*getSettingsData({payload:C},{call:D,put:L}){const _e=yield D(hi.DC,C);yield L({type:"save",payload:{setting:Lo({},_e)}})},*getChallengesNew({payload:C},{call:D,put:L}){const _e=yield D(hi.km,C);yield L({type:"save",payload:{challengesNew:Lo({},_e)}})},*getChallengesEdit({payload:C},{call:D,put:L}){const _e=yield D(hi.q0,C);return yield L({type:"save",payload:{challengesEdit:Lo({},_e)}}),_e},*getAuditSituationData({payload:C},{call:D,put:L}){const _e=yield D(hi.GI,C),Oe=Tc(_e);yield L({type:"save",payload:{auditSituationData:Oe}})},*getEditChallengesQuestion({payload:C},{call:D,put:L}){const _e=yield D(hi.UQ,C);return yield L({type:"save",payload:{editChallengesQuestion:_e}}),_e},*getInfoWithJupyterLab({payload:C},{call:D,put:L}){const _e=yield D(hi.mI,C);return yield L({type:"save",payload:{infoWithJupyterLab:_e}}),_e},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Lo({},C)}})}},reducers:{save(C,D){return console.log("reducers:",C,D),Lo(Lo({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},ml=Object.defineProperty,pf=Object.getOwnPropertySymbols,Uo=Object.prototype.hasOwnProperty,Zu=Object.prototype.propertyIsEnumerable,Wl=(C,D,L)=>D in C?ml(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Es=(C,D)=>{for(var L in D||(D={}))Uo.call(D,L)&&Wl(C,L,D[L]);if(pf)for(var L of pf(D))Zu.call(D,L)&&Wl(C,L,D[L]);return C},su={namespace:"shixunsList",state:{name:"",loading:!0,listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}},effects:{*getShixuns({payload:C},{call:D,put:L}){const _e=yield D(hi.he,C),Oe=Es({},C);return yield L({type:"save",payload:Es({listParams:Oe},_e)}),_e},*getMenus({payload:C},{call:D,put:L}){var _e;const Oe=yield D(hi.I_,C);(_e=Oe==null?void 0:Oe.disciplines)==null||_e.map(hn=>(hn.sub_repertoires=hn.sub_disciplines,hn)),yield L({type:"save",payload:{menus:[...(Oe==null?void 0:Oe.disciplines)||[]]}})},*clearListParams({payload:C},{call:D,put:L}){yield L({type:"save",payload:{listParams:{sort:"desc",order_by:"new",page:1,limit:16,keyword:"",status:0,diff:0,hideme:!1}}})}},reducers:{save(C,D){return Es(Es({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Pc=Object.defineProperty,uu=Object.getOwnPropertySymbols,mu=Object.prototype.hasOwnProperty,Ic=Object.prototype.propertyIsEnumerable,Yc=(C,D,L)=>D in C?Pc(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Eu=(C,D)=>{for(var L in D||(D={}))mu.call(D,L)&&Yc(C,L,D[L]);if(uu)for(var L of uu(D))Ic.call(D,L)&&Yc(C,L,D[L]);return C},Hu={namespace:"newShixuns",state:{newData:{},actionTabs:{key:"",params:{}},environmentData:{}},effects:{*getNewShixunsData({payload:C},{call:D,put:L}){const _e=yield D(hi.b8,C);return yield L({type:"save",payload:{newData:Eu({},_e)}}),_e},*deleteAttachment({payload:C},{call:D,put:L}){return yield D(hi.OW,C)},*applyShixunMirror({payload:C},{call:D,put:L}){return yield D(hi.EH,C)},*submitShixuns({payload:C},{call:D,put:L}){return yield D(hi.eX,C)},*getShixunsJupyterLab({payload:C},{call:D,put:L}){const _e=yield D(hi.Gu,C);return yield L({type:"save",payload:{newData:Eu({},_e)}}),_e},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Eu({},C)}})},*getEnvironmentData({payload:C},{call:D,put:L}){const _e=yield D(hi.K,C);return console.log(_e,"response"),yield L({type:"save",payload:{environmentData:Eu({},_e.data)}}),_e}},reducers:{save(C,D){return Eu(Eu({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){}}},Dc=Object.defineProperty,Fl=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,mf=Object.prototype.propertyIsEnumerable,_f=(C,D,L)=>D in C?Dc(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,rl=(C,D)=>{for(var L in D||(D={}))Qa.call(D,L)&&_f(C,L,D[L]);if(Fl)for(var L of Fl(D))mf.call(D,L)&&_f(C,L,D[L]);return C},Of={namespace:"shixunsOverview",state:{},effects:{*getShixunUseInfos({payload:C},{call:D,put:L}){const _e=yield D(hi.e,C);yield L({type:"save",payload:{ShixunUseInfos:_e}})},*getRankList({payload:C},{call:D,put:L}){const _e=yield D(hi.Fg,C);yield L({type:"save",payload:{RankList:{user_list:[{rank:"\u6392\u540D",name:"\u59D3\u540D",role:"\u89D2\u8272",student_id:"\u5B66\u53F7/\u5DE5\u53F7",num:"\u901A\u8FC7\u5173\u5361\u6570"},...(_e==null?void 0:_e.user_list)||[]],learn_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5B66\u4E60\u4EBA\u6570"},...(_e==null?void 0:_e.learn_list)||[]],clearance_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u901A\u5173\u6570"},...(_e==null?void 0:_e.clearance_list)||[]],quote_list:[{rank:"\u6392\u540D",name:"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0",num:"\u5F15\u7528\u6B21\u6570"},...(_e==null?void 0:_e.quote_list)||[]]}}})},*getStatisticsBody({payload:C},{call:D,put:L}){const _e=yield D(hi.Gz,C);yield L({type:"save",payload:{SBody:_e}})},*getOnlineCount({payload:C},{call:D,put:L}){const _e=yield D(hi.hS,C);yield L({type:"save",payload:{OnlineCount:_e==null?void 0:_e.data}})},*getStatisticsHeader({payload:C},{call:D,put:L}){const _e=yield D(hi.Hl,C);yield L({type:"save",payload:{SHeader:_e}})}},reducers:{save(C,D){return rl(rl({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Oc=(C,D,L)=>new Promise((_e,Oe)=>{var hn=Fi=>{try{yn(L.next(Fi))}catch(Ka){Oe(Ka)}},On=Fi=>{try{yn(L.throw(Fi))}catch(Ka){Oe(Ka)}},yn=Fi=>Fi.done?_e(Fi.value):Promise.resolve(Fi.value).then(hn,On);yn((L=L.apply(C,D)).next())});function wu(C){return Oc(this,null,function*(){return(0,hs.ZP)("/api/shixuns/new.json",{method:"Get",params:C})})}function vf(C){return Oc(this,null,function*(){return(0,hs.ZP)(`/api/shixuns/${C.id}/required_status.json`,{method:"Get",params:{}})})}var kc=Object.defineProperty,uc=Object.defineProperties,Qc=Object.getOwnPropertyDescriptors,lc=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Wu=Object.prototype.propertyIsEnumerable,Kl=(C,D,L)=>D in C?kc(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,nl=(C,D)=>{for(var L in D||(D={}))Su.call(D,L)&&Kl(C,L,D[L]);if(lc)for(var L of lc(D))Wu.call(D,L)&&Kl(C,L,D[L]);return C},qc=(C,D)=>uc(C,Qc(D)),Vl={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{*setParams({payload:C},{call:D,put:L}){yield L({type:"save",payload:nl({},C)})},*getTestData({payload:C},{call:D,put:L}){const _e=yield D(wu,C);yield L({type:"save",payload:{data:_e}})},*setUpdateIndex({payload:C},{call:D,put:L}){yield L({type:"save",payload:{updateIndex:Math.random()}})},*getCommonData({payload:C},{call:D,put:L}){const _e=yield D(vf,C);yield L({type:"save",payload:nl({},_e.data)})},*setSideBarTabs({payload:C},{call:D,put:L}){yield L({type:"sideBar",payload:nl({},C)})}},reducers:{save(C,D){return nl(nl({},C),D.payload)},sideBar(C,D){return qc(nl({},C),{sideBar:nl(nl({},C.sideBar),D.payload)})}},subscriptions:{setup({dispatch:C,history:D}){}}},Ms=e(63423),go=Object.defineProperty,_l=Object.getOwnPropertySymbols,_u=Object.prototype.hasOwnProperty,il=Object.prototype.propertyIsEnumerable,Co=(C,D,L)=>D in C?go(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Bl=(C,D)=>{for(var L in D||(D={}))_u.call(D,L)&&Co(C,L,D[L]);if(_l)for(var L of _l(D))il.call(D,L)&&Co(C,L,D[L]);return C},Jc={namespace:"userDetail",state:{systemUpdate:void 0,homepageInfo:void 0,homeworkBanksDetail:{},actionTabs:{key:"",params:{}}},effects:{*getHomeworkBanksDetail({payload:C},{call:D,put:L}){const _e=yield D(Ms.JJ,C);return yield L({type:"save",payload:{homeworkBanksDetail:Bl({},_e)}}),_e},*getSystemUpdate({payload:C},{call:D,put:L}){const _e=yield D(Ms.n0,C);return yield L({type:"save",payload:{systemUpdate:Bl({},_e)}}),_e},*getHomepageInfo({payload:C},{call:D,put:L}){const _e=yield D(Ms.DA,C);return yield L({type:"save",payload:{homepageInfo:Bl({},_e)}}),_e},*signed({payload:C},{call:D,put:L}){return yield D(Ms.qN,C)},*getCourses({payload:C},{call:D,put:L}){return yield D(Ms.Ho,C)},*getShixuns({payload:C},{call:D,put:L}){return yield D(Ms.rV,C)},*getPaths({payload:C},{call:D,put:L}){return yield D(Ms.w3,C)},*getProjects({payload:C},{call:D,put:L}){return yield D(Ms.mW,C)},*getVideos({payload:C},{call:D,put:L}){return yield D(Ms.WY,C)},*getReviewVideos({payload:C},{call:D,put:L}){return yield D(Ms.Qx,C)},*deleteVideo({payload:C},{call:D,put:L}){return yield D(Ms.FM,C)},*getQuestionBanks({payload:C},{call:D,put:L}){return yield D(Ms.ai,C)},*topicsSetPublic({payload:C},{call:D,put:L}){return yield D(Ms.Cx,C)},*topicsDelete({payload:C},{call:D,put:L}){return yield D(Ms.WS,C)},*topicGetCourseList({payload:C},{call:D,put:L}){return yield D(Ms.gI,C)},*topicSendToClass({payload:C},{call:D,put:L}){return C.object_type==="videos"?yield D(Ms.Fn,C):yield D(Ms.Ef,C)},*logWatchHistory({payload:C},{call:D,put:L}){const _e=yield D(Ms.lO,C);return _e==null?void 0:_e.log_id},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Bl({},C)}})}},reducers:{save(C,D){return Bl(Bl({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},yf=Object.defineProperty,Sl=Object.getOwnPropertySymbols,Qo=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,$e=(C,D,L)=>D in C?yf(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,vu=(C,D)=>{for(var L in D||(D={}))Qo.call(D,L)&&$e(C,L,D[L]);if(Sl)for(var L of Sl(D))vl.call(D,L)&&$e(C,L,D[L]);return C},Au=(C,D)=>{var L={};for(var _e in C)Qo.call(C,_e)&&D.indexOf(_e)<0&&(L[_e]=C[_e]);if(C!=null&&Sl)for(var _e of Sl(C))D.indexOf(_e)<0&&vl.call(C,_e)&&(L[_e]=C[_e]);return L},qo={namespace:"user",state:{name:"\u7528\u6237\u767B\u5F55\u6A21\u5757",showPopLogin:!1,showClosable:!1,bindAccountModalVisible:!1,userInfoForBindAccountModal:{},loginInfo:{login:"",password:""},userInfo:{},navigationInfo:{},loading:!0,actionTabs:{key:"",params:{},phone:""}},effects:{*login({payload:C},{call:D,put:L}){const _e=C,{to:Oe}=_e,hn=Au(_e,["to"]);if(!(yield D(Ms.Es,hn)).status)try{Oe?f.history.replace(Oe):location.reload()}catch(yn){}},*showPopLogin({payload:C},{put:D}){yield D({type:"save",payload:{showPopLogin:C.showPopLogin,showClosable:C.showClosable}})},*setBindAccountModal({payload:C},{put:D}){yield D({type:"save",payload:{bindAccountModalVisible:C.bindAccountModalVisible,userInfoForBindAccountModal:C.userInfoForBindAccountModal,loginInfo:C.loginInfo}})},*getUserInfo({payload:C},{call:D,put:L}){const _e=yield D(Ms.bG,vu({},C));return localStorage.userInfo=JSON.stringify(_e),yield L({type:"save",payload:{userInfo:vu({},_e)}}),_e},*getNavigationInfo({payload:C},{call:D,put:L}){const _e=yield D(Ms.x4,vu({},C));yield L({type:"save",payload:{navigationInfo:vu({},_e)}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:vu({},C)}})}},reducers:{save(C,D){return vu(vu({},C),D.payload)}}},ku=e(38746),Yl=Object.defineProperty,fc=Object.defineProperties,Nl=Object.getOwnPropertyDescriptors,Gu=Object.getOwnPropertySymbols,al=Object.prototype.hasOwnProperty,Rc=Object.prototype.propertyIsEnumerable,dc=(C,D,L)=>D in C?Yl(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,Tu=(C,D)=>{for(var L in D||(D={}))al.call(D,L)&&dc(C,L,D[L]);if(Gu)for(var L of Gu(D))Rc.call(D,L)&&dc(C,L,D[L]);return C},Al=(C,D)=>fc(C,Nl(D));const Ku=()=>{var C,D,L,_e,Oe,hn,On;let yn=window.location.href.split("/");if(!yn.includes("video"))return;let Fi=(C=yn[yn.length-1])==null?void 0:C.split("?")[0];Fi=Number(Fi);const Ka=(L=(D=yn[yn.length-1])==null?void 0:D.split("?")[1])==null?void 0:L.split("=")[1];return((Oe=(_e=yn[yn.length-1])==null?void 0:_e.split("?")[1])==null?void 0:Oe.split("=")[0])==="subject_id"?{videoId:Fi,subject_id:Ka}:((On=(hn=yn[yn.length-1])==null?void 0:hn.split("?")[1])==null?void 0:On.split("=")[0])==="new_video_id"?{videoId:Fi,new_video_id:Ka}:{videoId:Fi,course_id:Ka}};var bf={namespace:"videoDetail",state:{detail:{},actionTabs:{key:"",params:{}},videoTabs:{key:"",params:{}},stages:[],cust_seq:0,queryParams:Ku(),videoList:[],attachmentList:[],selectParams:{checkBoxValue:!1,radioValue:1},active:{}},effects:{*getVideoDetail({payload:C,callback:D},{call:L,put:_e}){const Oe=yield L(Wn.O2,C);return D?D(Oe):yield _e({type:"save",payload:{detail:Tu({},Oe)}}),Oe},*setVideoValue({payload:C},{call:D,put:L}){yield L({type:"save",payload:{detail:Tu({},C)}})},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:Tu({},C)}})},*setVideoTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{videoTabs:Tu({},C)}})},*setSelectValue({payload:C},{call:D,put:L}){yield L({type:"save",payload:{selectParams:Tu({},C)}})},*getStageData({payload:C},{call:D,put:L,select:_e}){const Oe=yield D(Wn.yN,C),hn=yield D(ia.lk,{id:C.subject_id}),{queryParams:On}=yield _e(Ts=>Ts.videoDetail),{stages:yn=[]}=Oe,Fi=[];let Ka=[],La={};const Go=Ts=>{Ts.forEach(Eo=>{String(Eo.id)===String(On.videoId)&&(La=Eo),Eo.item_type==="VideoItem"?Fi.push(Eo):Eo.item_type==="Attachment"&&Ka.push(Eo),Eo.children&&Eo.children.length&&Go(Eo.children)})};yn==null||yn.forEach(Ts=>{Go(Ts.items)}),window.filterVideoSign=[...Fi],yield L({type:"save",payload:{stages:yn,active:La,cust_seq:hn.cust_seq,videoList:Fi,attachmentList:Ka}})},*getVideoData({payload:C},{call:D,put:L,select:_e}){const Oe=yield D(Wn.fn,C),{categories:hn=[],coruse_videos:On=[]}=Oe;yield L({type:"save",payload:{stages:(hn==null?void 0:hn.length)>0?hn:[{coruse_videos:On,name:"\u672A\u5206\u914D\u76EE\u5F55"}]}})},*getCourseStageData({payload:C},{call:D,put:L,select:_e}){const Oe=yield D(ku.R7,C),{queryParams:hn}=yield _e(Go=>Go.videoDetail),{stages:On}=Oe;let yn=[],Fi=[],Ka={};const La=Go=>{Go.forEach(Ts=>{String(Ts.id)===String(hn.videoId)&&(Ka=Ts),Ts.item_type==="VideoItem"?yn.push(Ts):Ts.item_type==="Attachment"&&Fi.push(Ts),Ts.children&&Ts.children.length&&La(Ts.children)})};On==null||On.forEach(Go=>{La(Go.items)}),window.filterVideoSign=[...yn],yield L({type:"save",payload:{active:Ka,stages:On,cust_seq:!0,videoList:yn,attachmentList:Fi}})}},reducers:{save(C,D){return Tu(Tu({},C),D.payload)},handleListItemClick(C,D){const{videoList:L,attachmentList:_e}=C,Oe=D.payload.videoId||D.payload.attachmentId,hn=[...L,..._e].find(On=>`${On.id}`==`${Oe}`);return Al(Tu({},C),{active:hn,queryParams:Tu(Tu({},Ku()),D.payload)})}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}},Jo=e(19985),$l=Object.defineProperty,ef=Object.getOwnPropertySymbols,hc=Object.prototype.hasOwnProperty,pc=Object.prototype.propertyIsEnumerable,mc=(C,D,L)=>D in C?$l(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,_c=(C,D)=>{for(var L in D||(D={}))hc.call(D,L)&&mc(C,L,D[L]);if(ef)for(var L of ef(D))pc.call(D,L)&&mc(C,L,D[L]);return C},Lc={namespace:"virtualSpaces",state:{showMenu:!0,loading:!0,actionTabs:{key:"",params:{},module_id:""},virtualSpacesDetails:{},menus:[],LessonsList:{},LessonDetail:{},LessonResList:{},DiscussionList:{},DiscussionDetail:{},Workplace:{BaseData:{}}},effects:{*getBaseStatisticData({payload:C},{call:D,put:L}){const _e=yield D(Jo.y2,C);return yield L({type:"save",payload:{Workplace:{BaseData:_e.data}}}),_e},*putEditDiscussion({payload:C},{call:D,put:L}){return yield D(Jo.CH,C)},*getDiscussionDetail({payload:C},{call:D,put:L}){const _e=yield D(Jo.XQ,C);return yield L({type:"save",payload:{DiscussionDetail:_e}}),_e},*postDiscussionList({payload:C},{call:D,put:L}){return yield D(Jo.Ll,C)},*getDiscussionList({payload:C},{call:D,put:L}){const _e=yield D(Jo.EA,C);return yield L({type:"save",payload:{DiscussionList:_e}}),_e},*postAddLessonRes({payload:C},{call:D,put:L}){return yield D(Jo.cZ,C)},*getLessonResourcesList({payload:C},{call:D,put:L}){const _e=yield D(Jo.b,C);return yield L({type:"save",payload:{LessonResList:_e}}),_e},*putGoodLessonsDetail({payload:C},{call:D,put:L}){return yield D(Jo.To,C)},*getGoodLessonsDetail({payload:C},{call:D,put:L}){const _e=yield D(Jo.FU,C);return yield L({type:"save",payload:{LessonDetail:_e}}),_e},*postGoodLessonsList({payload:C},{call:D,put:L}){return yield D(Jo.Vf,C)},*getGoodLessonsList({payload:C},{call:D,put:L}){const _e=yield D(Jo.G_,C);return yield L({type:"save",payload:{LessonsList:_e}}),_e},*setActionTabs({payload:C},{call:D,put:L}){yield L({type:"save",payload:{actionTabs:_c({},C)}})},*setShowMenu({payload:C},{call:D,put:L}){yield L({type:"save",payload:{showMenu:C}})},*getVirtualSpacesDetails({payload:C},{call:D,put:L}){const _e=yield D(Jo.sT,C);yield L({type:"save",payload:{virtualSpacesDetails:_c({},_e)}})},*setVirtualSpacesLoading({payload:C},{call:D,put:L}){yield L({type:"save",payload:{loading:C}})},*getVirtualSpacesMenus({payload:C},{call:D,put:L}){const _e=yield D(Jo.Sl,C);return yield L({type:"save",payload:{menus:_e}}),_e}},reducers:{save(C,D){return _c(_c({},C),D.payload)}},subscriptions:{setup({dispatch:C,history:D}){return D.listen(({pathname:L})=>{L==="/"&&C({type:"query"})})}}};const vc={model_1:{namespace:"account.index",model:b},model_2:{namespace:"classrooms.announcement",model:G},model_3:{namespace:"classrooms.attachment",model:se},model_4:{namespace:"classrooms.boards",model:De},model_5:{namespace:"classrooms.exercise",model:We},model_6:{namespace:"classrooms.graduation",model:Se},model_7:{namespace:"classrooms.homeworks",model:Vt},model_8:{namespace:"classrooms.index",model:Ce},model_9:{namespace:"classrooms.new",model:vt},model_10:{namespace:"classrooms.overview",model:jr},model_11:{namespace:"classrooms.polls",model:jt},model_12:{namespace:"classrooms.teacher",model:vn},model_13:{namespace:"classrooms.video",model:Ra},model_14:{namespace:"competitions.index",model:Ti},model_15:{namespace:"engineering.evaluateDetail",model:et},model_16:{namespace:"engineering.evaluateList",model:Rn.Z},model_17:{namespace:"engineering.index",model:Tn},model_18:{namespace:"engineering.navigation",model:Ea},model_19:{namespace:"engineering.normDetail",model:ra},model_20:{namespace:"engineering.normList",model:Ja},model_21:{namespace:"forums.detail",model:ru},model_22:{namespace:"forums.index",model:Bo},model_23:{namespace:"globalSetting",model:Do},model_24:{namespace:"graduations.index",model:dr},model_25:{namespace:"homePage",model:Fr},model_26:{namespace:"innovation.index",model:Ca},model_27:{namespace:"intraincourse.index",model:ai},model_28:{namespace:"loading",model:Ui},model_29:{namespace:"messages.index",model:Us},model_30:{namespace:"paperlibrary.index",model:_r},model_31:{namespace:"paperlibrary.newPaper",model:xa},model_32:{namespace:"paths.detail",model:ju},model_33:{namespace:"paths.index",model:Ct},model_34:{namespace:"paths.new",model:ei},model_35:{namespace:"paths.overview",model:Qs},model_36:{namespace:"problemset.index",model:cl},model_37:{namespace:"problemset.preview",model:Ll},model_38:{namespace:"resetFul.index",model:ac},model_39:{namespace:"shixuns.detail",model:oc},model_40:{namespace:"shixuns.index",model:su},model_41:{namespace:"shixuns.new",model:Hu},model_42:{namespace:"shixuns.overview",model:Of},model_43:{namespace:"shixuns.practiceSetting",model:Vl},model_44:{namespace:"user.detail",model:Jc},model_45:{namespace:"user.index",model:qo},model_46:{namespace:"video.detail",model:bf},model_47:{namespace:"virtualSpaces.index",model:Lc}};var Xl=Object.defineProperty,Ef=Object.getOwnPropertySymbols,Mc=Object.prototype.hasOwnProperty,Vu=Object.prototype.propertyIsEnumerable,sl=(C,D,L)=>D in C?Xl(C,D,{enumerable:!0,configurable:!0,writable:!0,value:L}):C[D]=L,lu=(C,D)=>{for(var L in D||(D={}))Mc.call(D,L)&&sl(C,L,D[L]);if(Ef)for(var L of Ef(D))Vu.call(D,L)&&sl(C,L,D[L]);return C};let Fc;function Bc(C){const{pluginManager:D}=(0,f.useAppData)(),L=(0,c.useRef)(),_e=D.applyPlugins({key:"dva",type:f.ApplyPluginsType.modify,initialValue:{}});if(!L.current){L.current=(0,r.Ue)(lu({history:f.history},_e.config||{}),{initialReducer:{},setupMiddlewares(Oe){return[...Oe]},setupApp(Oe){Oe._history=f.history}}),Fc=L.current,L.current.use(l()()),(_e.plugins||[]).forEach(Oe=>{L.current.use(Oe)});for(const Oe of Object.keys(vc))L.current.model(lu({namespace:vc[Oe].namespace},vc[Oe].model));L.current.start()}return c.createElement(r.zt,{store:L.current._store},C.children)}function tf(){return Fc}},26108:function(d,v,e){"use strict";e.d(v,{PZ:function(){return li},eU:function(){return a},B:function(){return Si},Mg:function(){return mt},lw:function(){return dt},Kd:function(){return Ot},H8:function(){return Ti}});var r=e(59301),i=e(94266),l=e.n(i);const c=l()||i;function f(ze){return ze.displayName||ze.name||"Component"}const o=r.createContext(null),{Consumer:h,Provider:u}=o,a=u,x=null;function p(ze,et){const{intlPropName:xe="intl",forwardRef:at=!1,enforceContext:tr=!0}=et||{},Cr=kr=>React.createElement(h,null,Pr=>(tr&&invariantIntlContext(Pr),React.createElement(ze,Object.assign({},kr,{[xe]:Pr},{ref:at?kr.forwardedRef:null}))));return Cr.displayName=`injectIntl(${f(ze)})`,Cr.WrappedComponent=ze,c(at?React.forwardRef((kr,Pr)=>React.createElement(Cr,Object.assign({},kr,{forwardedRef:Pr}))):Cr,ze)}var y;(function(ze){ze[ze.literal=0]="literal",ze[ze.argument=1]="argument",ze[ze.number=2]="number",ze[ze.date=3]="date",ze[ze.time=4]="time",ze[ze.select=5]="select",ze[ze.plural=6]="plural",ze[ze.pound=7]="pound"})(y||(y={}));function m(ze){return ze.type===y.literal}function b(ze){return ze.type===y.argument}function S(ze){return ze.type===y.number}function k(ze){return ze.type===y.date}function R(ze){return ze.type===y.time}function A(ze){return ze.type===y.select}function P(ze){return ze.type===y.plural}function M(ze){return ze.type===y.pound}function B(ze){return!!(ze&&typeof ze=="object"&&ze.type===0)}function N(ze){return!!(ze&&typeof ze=="object"&&ze.type===1)}function G(ze){return{type:y.literal,value:ze}}function W(ze,et){return{type:y.number,value:ze,style:et}}var H=function(){var ze=function(et,xe){return ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(at,tr){at.__proto__=tr}||function(at,tr){for(var Cr in tr)tr.hasOwnProperty(Cr)&&(at[Cr]=tr[Cr])},ze(et,xe)};return function(et,xe){ze(et,xe);function at(){this.constructor=et}et.prototype=xe===null?Object.create(xe):(at.prototype=xe.prototype,new at)}}(),ae=function(){return ae=Object.assign||function(ze){for(var et,xe=1,at=arguments.length;xe<at;xe++){et=arguments[xe];for(var tr in et)Object.prototype.hasOwnProperty.call(et,tr)&&(ze[tr]=et[tr])}return ze},ae.apply(this,arguments)},ne=function(ze){H(et,ze);function et(xe,at,tr,Cr){var kr=ze.call(this)||this;return kr.message=xe,kr.expected=at,kr.found=tr,kr.location=Cr,kr.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(kr,et),kr}return et.buildMessage=function(xe,at){function tr(Tr){return Tr.charCodeAt(0).toString(16).toUpperCase()}function Cr(Tr){return Tr.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(pn){return"\\x0"+tr(pn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(pn){return"\\x"+tr(pn)})}function kr(Tr){return Tr.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(pn){return"\\x0"+tr(pn)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(pn){return"\\x"+tr(pn)})}function Pr(Tr){switch(Tr.type){case"literal":return'"'+Cr(Tr.text)+'"';case"class":var pn=Tr.parts.map(function(sn){return Array.isArray(sn)?kr(sn[0])+"-"+kr(sn[1]):kr(sn)});return"["+(Tr.inverted?"^":"")+pn+"]";case"any":return"any character";case"end":return"end of input";case"other":return Tr.description}}function Rr(Tr){var pn=Tr.map(Pr),sn,ln;if(pn.sort(),pn.length>0){for(sn=1,ln=1;sn<pn.length;sn++)pn[sn-1]!==pn[sn]&&(pn[ln]=pn[sn],ln++);pn.length=ln}switch(pn.length){case 1:return pn[0];case 2:return pn[0]+" or "+pn[1];default:return pn.slice(0,-1).join(", ")+", or "+pn[pn.length-1]}}function Tn(Tr){return Tr?'"'+Cr(Tr)+'"':"end of input"}return"Expected "+Rr(xe)+" but "+Tn(at)+" found."},et}(Error);function oe(ze,et){et=et!==void 0?et:{};var xe={},at={start:Xe},tr=Xe,Cr=function(ye){return ye.join("")},kr=function(ye){return ae({type:y.literal,value:ye},Oa())},Pr="#",Rr=vi("#",!1),Tn=function(){return ae({type:y.pound},Oa())},Tr=Wa("argumentElement"),pn="{",sn=vi("{",!1),ln="}",Ln=vi("}",!1),Ia=function(ye){return ae({type:y.argument,value:ye},Oa())},ji=Wa("numberSkeletonId"),Ii=/^['\/{}]/,En=ps(["'","/","{","}"],!1,!1),yi=lo(),Vi=Wa("numberSkeletonTokenOption"),Ea="/",Gs=vi("/",!1),$a=function(ye){return ye},Bs=Wa("numberSkeletonToken"),ro=function(ye,we){return{stem:ye,options:we}},ja=function(ye){return ae({type:0,tokens:ye},Oa())},Hs="::",ya=vi("::",!1),cs=function(ye){return ye},fs=function(){return Sa.push("numberArgStyle"),!0},Li=function(ye){return Sa.pop(),ye.replace(/\s*$/,"")},ra=",",ks=vi(",",!1),Mo="number",Ya=vi("number",!1),Ns=function(ye,we,xr){return ae({type:we==="number"?y.number:we==="date"?y.date:y.time,style:xr&&xr[2],value:ye},Oa())},is="'",fo=vi("'",!1),bn=/^[^']/,as=ps(["'"],!0,!1),Ps=/^[^a-zA-Z'{}]/,Is=ps([["a","z"],["A","Z"],"'","{","}"],!0,!1),oa=/^[a-zA-Z]/,ss=ps([["a","z"],["A","Z"]],!1,!1),Ja=function(ye){return ae({type:1,pattern:ye},Oa())},$s=function(){return Sa.push("dateOrTimeArgStyle"),!0},ho="date",po=vi("date",!1),Fo="time",tu=vi("time",!1),zo="plural",Io=vi("plural",!1),Zo="selectordinal",ru=vi("selectordinal",!1),Ho="offset:",ns=vi("offset:",!1),oi=function(ye,we,xr,Qr){return ae({type:y.plural,pluralType:we==="plural"?"cardinal":"ordinal",value:ye,offset:xr?xr[2]:0,options:Qr.reduce(function(_r,en){var Mn=en.id,ni=en.value,Qi=en.location;return Mn in _r&&Rs('Duplicate option "'+Mn+'" in plural element: "'+Ji()+'"',Ca()),_r[Mn]={value:ni,location:Qi},_r},{})},Oa())},_i="select",es=vi("select",!1),ts=function(ye,we){return ae({type:y.select,value:ye,options:we.reduce(function(xr,Qr){var _r=Qr.id,en=Qr.value,Mn=Qr.location;return _r in xr&&Rs('Duplicate option "'+_r+'" in select element: "'+Ji()+'"',Ca()),xr[_r]={value:en,location:Mn},xr},{})},Oa())},ds="=",Bo=vi("=",!1),Wo=function(ye){return Sa.push("select"),!0},du=function(ye,we){return Sa.pop(),ae({id:ye,value:we},Oa())},js=function(ye){return Sa.push("plural"),!0},No=function(ye,we){return Sa.pop(),ae({id:ye,value:we},Oa())},nu=Wa("whitespace"),yu=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Nu=ps([[" ","\r"]," ","\x85","\xA0","\u1680",["\u2000","\u200A"],"\u2028","\u2029","\u202F","\u205F","\u3000"],!1,!1),Ju=Wa("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]/,oo=ps([["!","/"],[":","@"],["[","^"],"`",["{","~"],["\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),bu=Wa("optional whitespace"),Do=Wa("number"),Oo="-",jo=vi("-",!1),Iu=function(ye,we){return we?ye?-we:we:0},Vo=Wa("apostrophe"),iu=Wa("double apostrophes"),uo="''",Yo=vi("''",!1),Du=function(){return"'"},qt=function(ye,we){return ye+we.replace("''","'")},dr=function(ye){return ye!=="{"&&!(Xs()&&ye==="#")&&!(rs()&&ye==="}")},ir=`
|
|
|
`,hr=vi(`
|
|
|
`,!1),Sr=function(ye){return ye==="{"||ye==="}"||Xs()&&ye==="#"},xn=Wa("argNameOrNumber"),Gn=Wa("argNumber"),Bn="0",Kn=vi("0",!1),di=function(){return 0},ci=/^[1-9]/,cr=ps([["1","9"]],!1,!1),Mr=/^[0-9]/,Fr=ps([["0","9"]],!1,!1),Pn=function(ye){return parseInt(ye.join(""),10)},In=Wa("argName"),pt=0,$n=0,Vn=[{line:1,column:1}],zi=0,Yi=[],zr=0,pa;if(et.startRule!==void 0){if(!(et.startRule in at))throw new Error(`Can't start parsing from rule "`+et.startRule+'".');tr=at[et.startRule]}function Ji(){return ze.substring($n,pt)}function Ca(){return mo($n,pt)}function hs(ye,we){throw we=we!==void 0?we:mo($n,pt),no([Wa(ye)],ze.substring($n,pt),we)}function Rs(ye,we){throw we=we!==void 0?we:mo($n,pt),Ls(ye,we)}function vi(ye,we){return{type:"literal",text:ye,ignoreCase:we}}function ps(ye,we,xr){return{type:"class",parts:ye,inverted:we,ignoreCase:xr}}function lo(){return{type:"any"}}function cn(){return{type:"end"}}function Wa(ye){return{type:"other",description:ye}}function Ks(ye){var we=Vn[ye],xr;if(we)return we;for(xr=ye-1;!Vn[xr];)xr--;for(we=Vn[xr],we={line:we.line,column:we.column};xr<ye;)ze.charCodeAt(xr)===10?(we.line++,we.column=1):we.column++,xr++;return Vn[ye]=we,we}function mo(ye,we){var xr=Ks(ye),Qr=Ks(we);return{start:{offset:ye,line:xr.line,column:xr.column},end:{offset:we,line:Qr.line,column:Qr.column}}}function Hn(ye){pt<zi||(pt>zi&&(zi=pt,Yi=[]),Yi.push(ye))}function Ls(ye,we){return new ne(ye,[],"",we)}function no(ye,we,xr){return new ne(ne.buildMessage(ye,we),ye,we,xr)}function Xe(){var ye;return ye=Qe(),ye}function Qe(){var ye,we;for(ye=[],we=Mt();we!==xe;)ye.push(we),we=Mt();return ye}function Mt(){var ye;return ye=vr(),ye===xe&&(ye=Wr(),ye===xe&&(ye=Mi(),ye===xe&&(ye=Di(),ye===xe&&(ye=wa(),ye===xe&&(ye=Br()))))),ye}function Gt(){var ye,we,xr;if(ye=pt,we=[],xr=ms(),xr===xe&&(xr=So(),xr===xe&&(xr=gs())),xr!==xe)for(;xr!==xe;)we.push(xr),xr=ms(),xr===xe&&(xr=So(),xr===xe&&(xr=gs()));else we=xe;return we!==xe&&($n=ye,we=Cr(we)),ye=we,ye}function vr(){var ye,we;return ye=pt,we=Gt(),we!==xe&&($n=ye,we=kr(we)),ye=we,ye}function Br(){var ye,we;return ye=pt,ze.charCodeAt(pt)===35?(we=Pr,pt++):(we=xe,zr===0&&Hn(Rr)),we!==xe&&($n=ye,we=Tn()),ye=we,ye}function Wr(){var ye,we,xr,Qr,_r,en;return zr++,ye=pt,ze.charCodeAt(pt)===123?(we=pn,pt++):(we=xe,zr===0&&Hn(sn)),we!==xe?(xr=Wi(),xr!==xe?(Qr=_s(),Qr!==xe?(_r=Wi(),_r!==xe?(ze.charCodeAt(pt)===125?(en=ln,pt++):(en=xe,zr===0&&Hn(Ln)),en!==xe?($n=ye,we=Ia(Qr),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe),zr--,ye===xe&&(we=xe,zr===0&&Hn(Tr)),ye}function wn(){var ye,we,xr,Qr,_r;if(zr++,ye=pt,we=[],xr=pt,Qr=pt,zr++,_r=Xa(),_r===xe&&(Ii.test(ze.charAt(pt))?(_r=ze.charAt(pt),pt++):(_r=xe,zr===0&&Hn(En))),zr--,_r===xe?Qr=void 0:(pt=Qr,Qr=xe),Qr!==xe?(ze.length>pt?(_r=ze.charAt(pt),pt++):(_r=xe,zr===0&&Hn(yi)),_r!==xe?(Qr=[Qr,_r],xr=Qr):(pt=xr,xr=xe)):(pt=xr,xr=xe),xr!==xe)for(;xr!==xe;)we.push(xr),xr=pt,Qr=pt,zr++,_r=Xa(),_r===xe&&(Ii.test(ze.charAt(pt))?(_r=ze.charAt(pt),pt++):(_r=xe,zr===0&&Hn(En))),zr--,_r===xe?Qr=void 0:(pt=Qr,Qr=xe),Qr!==xe?(ze.length>pt?(_r=ze.charAt(pt),pt++):(_r=xe,zr===0&&Hn(yi)),_r!==xe?(Qr=[Qr,_r],xr=Qr):(pt=xr,xr=xe)):(pt=xr,xr=xe);else we=xe;return we!==xe?ye=ze.substring(ye,pt):ye=we,zr--,ye===xe&&(we=xe,zr===0&&Hn(ji)),ye}function on(){var ye,we,xr;return zr++,ye=pt,ze.charCodeAt(pt)===47?(we=Ea,pt++):(we=xe,zr===0&&Hn(Gs)),we!==xe?(xr=wn(),xr!==xe?($n=ye,we=$a(xr),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe),zr--,ye===xe&&(we=xe,zr===0&&Hn(Vi)),ye}function Sn(){var ye,we,xr,Qr,_r;if(zr++,ye=pt,we=Wi(),we!==xe)if(xr=wn(),xr!==xe){for(Qr=[],_r=on();_r!==xe;)Qr.push(_r),_r=on();Qr!==xe?($n=ye,we=ro(xr,Qr),ye=we):(pt=ye,ye=xe)}else pt=ye,ye=xe;else pt=ye,ye=xe;return zr--,ye===xe&&(we=xe,zr===0&&Hn(Bs)),ye}function ri(){var ye,we,xr;if(ye=pt,we=[],xr=Sn(),xr!==xe)for(;xr!==xe;)we.push(xr),xr=Sn();else we=xe;return we!==xe&&($n=ye,we=ja(we)),ye=we,ye}function ai(){var ye,we,xr;return ye=pt,ze.substr(pt,2)===Hs?(we=Hs,pt+=2):(we=xe,zr===0&&Hn(ya)),we!==xe?(xr=ri(),xr!==xe?($n=ye,we=cs(xr),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe),ye===xe&&(ye=pt,$n=pt,we=fs(),we?we=void 0:we=xe,we!==xe?(xr=Gt(),xr!==xe?($n=ye,we=Li(xr),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)),ye}function Ai(){var ye,we,xr,Qr,_r,en,Mn,ni,Qi,zn,jn,Yn,xa;return ye=pt,ze.charCodeAt(pt)===123?(we=pn,pt++):(we=xe,zr===0&&Hn(sn)),we!==xe?(xr=Wi(),xr!==xe?(Qr=_s(),Qr!==xe?(_r=Wi(),_r!==xe?(ze.charCodeAt(pt)===44?(en=ra,pt++):(en=xe,zr===0&&Hn(ks)),en!==xe?(Mn=Wi(),Mn!==xe?(ze.substr(pt,6)===Mo?(ni=Mo,pt+=6):(ni=xe,zr===0&&Hn(Ya)),ni!==xe?(Qi=Wi(),Qi!==xe?(zn=pt,ze.charCodeAt(pt)===44?(jn=ra,pt++):(jn=xe,zr===0&&Hn(ks)),jn!==xe?(Yn=Wi(),Yn!==xe?(xa=ai(),xa!==xe?(jn=[jn,Yn,xa],zn=jn):(pt=zn,zn=xe)):(pt=zn,zn=xe)):(pt=zn,zn=xe),zn===xe&&(zn=null),zn!==xe?(jn=Wi(),jn!==xe?(ze.charCodeAt(pt)===125?(Yn=ln,pt++):(Yn=xe,zr===0&&Hn(Ln)),Yn!==xe?($n=ye,we=Ns(Qr,ni,zn),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe),ye}function Ui(){var ye,we,xr,Qr;if(ye=pt,ze.charCodeAt(pt)===39?(we=is,pt++):(we=xe,zr===0&&Hn(fo)),we!==xe){if(xr=[],Qr=ms(),Qr===xe&&(bn.test(ze.charAt(pt))?(Qr=ze.charAt(pt),pt++):(Qr=xe,zr===0&&Hn(as))),Qr!==xe)for(;Qr!==xe;)xr.push(Qr),Qr=ms(),Qr===xe&&(bn.test(ze.charAt(pt))?(Qr=ze.charAt(pt),pt++):(Qr=xe,zr===0&&Hn(as)));else xr=xe;xr!==xe?(ze.charCodeAt(pt)===39?(Qr=is,pt++):(Qr=xe,zr===0&&Hn(fo)),Qr!==xe?(we=[we,xr,Qr],ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)}else pt=ye,ye=xe;if(ye===xe)if(ye=[],we=ms(),we===xe&&(Ps.test(ze.charAt(pt))?(we=ze.charAt(pt),pt++):(we=xe,zr===0&&Hn(Is))),we!==xe)for(;we!==xe;)ye.push(we),we=ms(),we===xe&&(Ps.test(ze.charAt(pt))?(we=ze.charAt(pt),pt++):(we=xe,zr===0&&Hn(Is)));else ye=xe;return ye}function na(){var ye,we;if(ye=[],oa.test(ze.charAt(pt))?(we=ze.charAt(pt),pt++):(we=xe,zr===0&&Hn(ss)),we!==xe)for(;we!==xe;)ye.push(we),oa.test(ze.charAt(pt))?(we=ze.charAt(pt),pt++):(we=xe,zr===0&&Hn(ss));else ye=xe;return ye}function Xi(){var ye,we,xr,Qr;if(ye=pt,we=pt,xr=[],Qr=Ui(),Qr===xe&&(Qr=na()),Qr!==xe)for(;Qr!==xe;)xr.push(Qr),Qr=Ui(),Qr===xe&&(Qr=na());else xr=xe;return xr!==xe?we=ze.substring(we,pt):we=xr,we!==xe&&($n=ye,we=Ja(we)),ye=we,ye}function Oi(){var ye,we,xr;return ye=pt,ze.substr(pt,2)===Hs?(we=Hs,pt+=2):(we=xe,zr===0&&Hn(ya)),we!==xe?(xr=Xi(),xr!==xe?($n=ye,we=cs(xr),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe),ye===xe&&(ye=pt,$n=pt,we=$s(),we?we=void 0:we=xe,we!==xe?(xr=Gt(),xr!==xe?($n=ye,we=Li(xr),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)),ye}function Da(){var ye,we,xr,Qr,_r,en,Mn,ni,Qi,zn,jn,Yn,xa;return ye=pt,ze.charCodeAt(pt)===123?(we=pn,pt++):(we=xe,zr===0&&Hn(sn)),we!==xe?(xr=Wi(),xr!==xe?(Qr=_s(),Qr!==xe?(_r=Wi(),_r!==xe?(ze.charCodeAt(pt)===44?(en=ra,pt++):(en=xe,zr===0&&Hn(ks)),en!==xe?(Mn=Wi(),Mn!==xe?(ze.substr(pt,4)===ho?(ni=ho,pt+=4):(ni=xe,zr===0&&Hn(po)),ni===xe&&(ze.substr(pt,4)===Fo?(ni=Fo,pt+=4):(ni=xe,zr===0&&Hn(tu))),ni!==xe?(Qi=Wi(),Qi!==xe?(zn=pt,ze.charCodeAt(pt)===44?(jn=ra,pt++):(jn=xe,zr===0&&Hn(ks)),jn!==xe?(Yn=Wi(),Yn!==xe?(xa=Oi(),xa!==xe?(jn=[jn,Yn,xa],zn=jn):(pt=zn,zn=xe)):(pt=zn,zn=xe)):(pt=zn,zn=xe),zn===xe&&(zn=null),zn!==xe?(jn=Wi(),jn!==xe?(ze.charCodeAt(pt)===125?(Yn=ln,pt++):(Yn=xe,zr===0&&Hn(Ln)),Yn!==xe?($n=ye,we=Ns(Qr,ni,zn),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe),ye}function Mi(){var ye;return ye=Ai(),ye===xe&&(ye=Da()),ye}function Di(){var ye,we,xr,Qr,_r,en,Mn,ni,Qi,zn,jn,Yn,xa,ia,Ao,xo;if(ye=pt,ze.charCodeAt(pt)===123?(we=pn,pt++):(we=xe,zr===0&&Hn(sn)),we!==xe)if(xr=Wi(),xr!==xe)if(Qr=_s(),Qr!==xe)if(_r=Wi(),_r!==xe)if(ze.charCodeAt(pt)===44?(en=ra,pt++):(en=xe,zr===0&&Hn(ks)),en!==xe)if(Mn=Wi(),Mn!==xe)if(ze.substr(pt,6)===zo?(ni=zo,pt+=6):(ni=xe,zr===0&&Hn(Io)),ni===xe&&(ze.substr(pt,13)===Zo?(ni=Zo,pt+=13):(ni=xe,zr===0&&Hn(ru))),ni!==xe)if(Qi=Wi(),Qi!==xe)if(ze.charCodeAt(pt)===44?(zn=ra,pt++):(zn=xe,zr===0&&Hn(ks)),zn!==xe)if(jn=Wi(),jn!==xe)if(Yn=pt,ze.substr(pt,7)===Ho?(xa=Ho,pt+=7):(xa=xe,zr===0&&Hn(ns)),xa!==xe?(ia=Wi(),ia!==xe?(Ao=Pa(),Ao!==xe?(xa=[xa,ia,Ao],Yn=xa):(pt=Yn,Yn=xe)):(pt=Yn,Yn=xe)):(pt=Yn,Yn=xe),Yn===xe&&(Yn=null),Yn!==xe)if(xa=Wi(),xa!==xe){if(ia=[],Ao=ua(),Ao!==xe)for(;Ao!==xe;)ia.push(Ao),Ao=ua();else ia=xe;ia!==xe?(Ao=Wi(),Ao!==xe?(ze.charCodeAt(pt)===125?(xo=ln,pt++):(xo=xe,zr===0&&Hn(Ln)),xo!==xe?($n=ye,we=oi(Qr,ni,Yn,ia),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)}else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;return ye}function wa(){var ye,we,xr,Qr,_r,en,Mn,ni,Qi,zn,jn,Yn,xa,ia;if(ye=pt,ze.charCodeAt(pt)===123?(we=pn,pt++):(we=xe,zr===0&&Hn(sn)),we!==xe)if(xr=Wi(),xr!==xe)if(Qr=_s(),Qr!==xe)if(_r=Wi(),_r!==xe)if(ze.charCodeAt(pt)===44?(en=ra,pt++):(en=xe,zr===0&&Hn(ks)),en!==xe)if(Mn=Wi(),Mn!==xe)if(ze.substr(pt,6)===_i?(ni=_i,pt+=6):(ni=xe,zr===0&&Hn(es)),ni!==xe)if(Qi=Wi(),Qi!==xe)if(ze.charCodeAt(pt)===44?(zn=ra,pt++):(zn=xe,zr===0&&Hn(ks)),zn!==xe)if(jn=Wi(),jn!==xe){if(Yn=[],xa=Us(),xa!==xe)for(;xa!==xe;)Yn.push(xa),xa=Us();else Yn=xe;Yn!==xe?(xa=Wi(),xa!==xe?(ze.charCodeAt(pt)===125?(ia=ln,pt++):(ia=xe,zr===0&&Hn(Ln)),ia!==xe?($n=ye,we=ts(Qr,Yn),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)}else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;else pt=ye,ye=xe;return ye}function _o(){var ye,we,xr,Qr;return ye=pt,we=pt,ze.charCodeAt(pt)===61?(xr=ds,pt++):(xr=xe,zr===0&&Hn(Bo)),xr!==xe?(Qr=Pa(),Qr!==xe?(xr=[xr,Qr],we=xr):(pt=we,we=xe)):(pt=we,we=xe),we!==xe?ye=ze.substring(ye,pt):ye=we,ye===xe&&(ye=bo()),ye}function Us(){var ye,we,xr,Qr,_r,en,Mn,ni;return ye=pt,we=Wi(),we!==xe?(xr=bo(),xr!==xe?(Qr=Wi(),Qr!==xe?(ze.charCodeAt(pt)===123?(_r=pn,pt++):(_r=xe,zr===0&&Hn(sn)),_r!==xe?($n=pt,en=Wo(xr),en?en=void 0:en=xe,en!==xe?(Mn=Qe(),Mn!==xe?(ze.charCodeAt(pt)===125?(ni=ln,pt++):(ni=xe,zr===0&&Hn(Ln)),ni!==xe?($n=ye,we=du(xr,Mn),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe),ye}function ua(){var ye,we,xr,Qr,_r,en,Mn,ni;return ye=pt,we=Wi(),we!==xe?(xr=_o(),xr!==xe?(Qr=Wi(),Qr!==xe?(ze.charCodeAt(pt)===123?(_r=pn,pt++):(_r=xe,zr===0&&Hn(sn)),_r!==xe?($n=pt,en=js(xr),en?en=void 0:en=xe,en!==xe?(Mn=Qe(),Mn!==xe?(ze.charCodeAt(pt)===125?(ni=ln,pt++):(ni=xe,zr===0&&Hn(Ln)),ni!==xe?($n=ye,we=No(xr,Mn),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe)):(pt=ye,ye=xe),ye}function Xa(){var ye,we;return zr++,yu.test(ze.charAt(pt))?(ye=ze.charAt(pt),pt++):(ye=xe,zr===0&&Hn(Nu)),zr--,ye===xe&&(we=xe,zr===0&&Hn(nu)),ye}function va(){var ye,we;return zr++,$o.test(ze.charAt(pt))?(ye=ze.charAt(pt),pt++):(ye=xe,zr===0&&Hn(oo)),zr--,ye===xe&&(we=xe,zr===0&&Hn(Ju)),ye}function Wi(){var ye,we,xr;for(zr++,ye=pt,we=[],xr=Xa();xr!==xe;)we.push(xr),xr=Xa();return we!==xe?ye=ze.substring(ye,pt):ye=we,zr--,ye===xe&&(we=xe,zr===0&&Hn(bu)),ye}function Pa(){var ye,we,xr;return zr++,ye=pt,ze.charCodeAt(pt)===45?(we=Oo,pt++):(we=xe,zr===0&&Hn(jo)),we===xe&&(we=null),we!==xe?(xr=yo(),xr!==xe?($n=ye,we=Iu(we,xr),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe),zr--,ye===xe&&(we=xe,zr===0&&Hn(Do)),ye}function us(){var ye,we;return zr++,ze.charCodeAt(pt)===39?(ye=is,pt++):(ye=xe,zr===0&&Hn(fo)),zr--,ye===xe&&(we=xe,zr===0&&Hn(Vo)),ye}function ms(){var ye,we;return zr++,ye=pt,ze.substr(pt,2)===uo?(we=uo,pt+=2):(we=xe,zr===0&&Hn(Yo)),we!==xe&&($n=ye,we=Du()),ye=we,zr--,ye===xe&&(we=xe,zr===0&&Hn(iu)),ye}function So(){var ye,we,xr,Qr,_r,en;if(ye=pt,ze.charCodeAt(pt)===39?(we=is,pt++):(we=xe,zr===0&&Hn(fo)),we!==xe)if(xr=ko(),xr!==xe){for(Qr=pt,_r=[],ze.substr(pt,2)===uo?(en=uo,pt+=2):(en=xe,zr===0&&Hn(Yo)),en===xe&&(bn.test(ze.charAt(pt))?(en=ze.charAt(pt),pt++):(en=xe,zr===0&&Hn(as)));en!==xe;)_r.push(en),ze.substr(pt,2)===uo?(en=uo,pt+=2):(en=xe,zr===0&&Hn(Yo)),en===xe&&(bn.test(ze.charAt(pt))?(en=ze.charAt(pt),pt++):(en=xe,zr===0&&Hn(as)));_r!==xe?Qr=ze.substring(Qr,pt):Qr=_r,Qr!==xe?(ze.charCodeAt(pt)===39?(_r=is,pt++):(_r=xe,zr===0&&Hn(fo)),_r===xe&&(_r=null),_r!==xe?($n=ye,we=qt(xr,Qr),ye=we):(pt=ye,ye=xe)):(pt=ye,ye=xe)}else pt=ye,ye=xe;else pt=ye,ye=xe;return ye}function gs(){var ye,we,xr,Qr;return ye=pt,we=pt,ze.length>pt?(xr=ze.charAt(pt),pt++):(xr=xe,zr===0&&Hn(yi)),xr!==xe?($n=pt,Qr=dr(xr),Qr?Qr=void 0:Qr=xe,Qr!==xe?(xr=[xr,Qr],we=xr):(pt=we,we=xe)):(pt=we,we=xe),we===xe&&(ze.charCodeAt(pt)===10?(we=ir,pt++):(we=xe,zr===0&&Hn(hr))),we!==xe?ye=ze.substring(ye,pt):ye=we,ye}function ko(){var ye,we,xr,Qr;return ye=pt,we=pt,ze.length>pt?(xr=ze.charAt(pt),pt++):(xr=xe,zr===0&&Hn(yi)),xr!==xe?($n=pt,Qr=Sr(xr),Qr?Qr=void 0:Qr=xe,Qr!==xe?(xr=[xr,Qr],we=xr):(pt=we,we=xe)):(pt=we,we=xe),we!==xe?ye=ze.substring(ye,pt):ye=we,ye}function _s(){var ye,we;return zr++,ye=pt,we=yo(),we===xe&&(we=bo()),we!==xe?ye=ze.substring(ye,pt):ye=we,zr--,ye===xe&&(we=xe,zr===0&&Hn(xn)),ye}function yo(){var ye,we,xr,Qr,_r;if(zr++,ye=pt,ze.charCodeAt(pt)===48?(we=Bn,pt++):(we=xe,zr===0&&Hn(Kn)),we!==xe&&($n=ye,we=di()),ye=we,ye===xe){if(ye=pt,we=pt,ci.test(ze.charAt(pt))?(xr=ze.charAt(pt),pt++):(xr=xe,zr===0&&Hn(cr)),xr!==xe){for(Qr=[],Mr.test(ze.charAt(pt))?(_r=ze.charAt(pt),pt++):(_r=xe,zr===0&&Hn(Fr));_r!==xe;)Qr.push(_r),Mr.test(ze.charAt(pt))?(_r=ze.charAt(pt),pt++):(_r=xe,zr===0&&Hn(Fr));Qr!==xe?(xr=[xr,Qr],we=xr):(pt=we,we=xe)}else pt=we,we=xe;we!==xe&&($n=ye,we=Pn(we)),ye=we}return zr--,ye===xe&&(we=xe,zr===0&&Hn(Gn)),ye}function bo(){var ye,we,xr,Qr,_r;if(zr++,ye=pt,we=[],xr=pt,Qr=pt,zr++,_r=Xa(),_r===xe&&(_r=va()),zr--,_r===xe?Qr=void 0:(pt=Qr,Qr=xe),Qr!==xe?(ze.length>pt?(_r=ze.charAt(pt),pt++):(_r=xe,zr===0&&Hn(yi)),_r!==xe?(Qr=[Qr,_r],xr=Qr):(pt=xr,xr=xe)):(pt=xr,xr=xe),xr!==xe)for(;xr!==xe;)we.push(xr),xr=pt,Qr=pt,zr++,_r=Xa(),_r===xe&&(_r=va()),zr--,_r===xe?Qr=void 0:(pt=Qr,Qr=xe),Qr!==xe?(ze.length>pt?(_r=ze.charAt(pt),pt++):(_r=xe,zr===0&&Hn(yi)),_r!==xe?(Qr=[Qr,_r],xr=Qr):(pt=xr,xr=xe)):(pt=xr,xr=xe);else we=xe;return we!==xe?ye=ze.substring(ye,pt):ye=we,zr--,ye===xe&&(we=xe,zr===0&&Hn(In)),ye}var Sa=["root"];function rs(){return Sa.length>1}function Xs(){return Sa[Sa.length-1]==="plural"}function Oa(){return et&&et.captureLocation?{location:Ca()}:{}}if(pa=tr(),pa!==xe&&pt===ze.length)return pa;throw pa!==xe&&pt<ze.length&&Hn(cn()),no(Yi,zi<ze.length?ze.charAt(zi):null,zi<ze.length?mo(zi,zi+1):mo(zi,zi))}var q=oe,J=function(){for(var ze=0,et=0,xe=arguments.length;et<xe;et++)ze+=arguments[et].length;for(var at=Array(ze),tr=0,et=0;et<xe;et++)for(var Cr=arguments[et],kr=0,Pr=Cr.length;kr<Pr;kr++,tr++)at[tr]=Cr[kr];return at},K=/(^|[^\\])#/g;function se(ze){ze.forEach(function(et){!P(et)&&!A(et)||Object.keys(et.options).forEach(function(xe){for(var at,tr=et.options[xe],Cr=-1,kr=void 0,Pr=0;Pr<tr.value.length;Pr++){var Rr=tr.value[Pr];if(m(Rr)&&K.test(Rr.value)){Cr=Pr,kr=Rr;break}}if(kr){var Tn=kr.value.replace(K,"$1{"+et.value+", number}"),Tr=q(Tn);(at=tr.value).splice.apply(at,J([Cr,1],Tr))}se(tr.value)})})}function ee(ze,et){var xe=q(ze,et);return(!et||et.normalizeHashtagInPlural!==!1)&&se(xe),xe}var Q=function(){for(var ze=0,et=0,xe=arguments.length;et<xe;et++)ze+=arguments[et].length;for(var at=Array(ze),tr=0,et=0;et<xe;et++)for(var Cr=arguments[et],kr=0,Pr=Cr.length;kr<Pr;kr++,tr++)at[tr]=Cr[kr];return at};function le(ze){return JSON.stringify(ze.map(function(et){return et&&typeof et=="object"?z(et):et}))}function z(ze){return Object.keys(ze).sort().map(function(et){var xe;return xe={},xe[et]=ze[et],xe})}var $=function(ze,et){return et===void 0&&(et={}),function(){for(var xe,at=[],tr=0;tr<arguments.length;tr++)at[tr]=arguments[tr];var Cr=le(at),kr=Cr&&et[Cr];return kr||(kr=new((xe=ze).bind.apply(xe,Q([void 0],at))),Cr&&(et[Cr]=kr)),kr}},ie=$,me=function(){return me=Object.assign||function(ze){for(var et,xe=1,at=arguments.length;xe<at;xe++){et=arguments[xe];for(var tr in et)Object.prototype.hasOwnProperty.call(et,tr)&&(ze[tr]=et[tr])}return ze},me.apply(this,arguments)},Pe=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function De(ze){var et={};return ze.replace(Pe,function(xe){var at=xe.length;switch(xe[0]){case"G":et.era=at===4?"long":at===5?"narrow":"short";break;case"y":et.year=at===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":et.month=["numeric","2-digit","short","long","narrow"][at-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":et.day=["numeric","2-digit"][at-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":et.weekday=at===4?"short":at===5?"narrow":"short";break;case"e":if(at<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][at-4];break;case"c":if(at<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");et.weekday=["short","long","narrow","short"][at-4];break;case"a":et.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":et.hourCycle="h12",et.hour=["numeric","2-digit"][at-1];break;case"H":et.hourCycle="h23",et.hour=["numeric","2-digit"][at-1];break;case"K":et.hourCycle="h11",et.hour=["numeric","2-digit"][at-1];break;case"k":et.hourCycle="h24",et.hour=["numeric","2-digit"][at-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":et.minute=["numeric","2-digit"][at-1];break;case"s":et.second=["numeric","2-digit"][at-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":et.timeZoneName=at<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),et}function Ze(ze){return ze.replace(/^(.*?)-/,"")}var Ne=/^\.(?:(0+)(\+|#+)?)?$/g,Bt=/^(@+)?(\+|#+)?$/g;function yt(ze){var et={};return ze.replace(Bt,function(xe,at,tr){return typeof tr!="string"?(et.minimumSignificantDigits=at.length,et.maximumSignificantDigits=at.length):tr==="+"?et.minimumSignificantDigits=at.length:at[0]==="#"?et.maximumSignificantDigits=at.length:(et.minimumSignificantDigits=at.length,et.maximumSignificantDigits=at.length+(typeof tr=="string"?tr.length:0)),""}),et}function It(ze){switch(ze){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function rr(ze){var et={},xe=It(ze);return xe||et}function Yt(ze){for(var et={},xe=0,at=ze;xe<at.length;xe++){var tr=at[xe];switch(tr.stem){case"percent":et.style="percent";continue;case"currency":et.style="currency",et.currency=tr.options[0];continue;case"group-off":et.useGrouping=!1;continue;case"precision-integer":et.maximumFractionDigits=0;continue;case"measure-unit":et.style="unit",et.unit=Ze(tr.options[0]);continue;case"compact-short":et.notation="compact",et.compactDisplay="short";continue;case"compact-long":et.notation="compact",et.compactDisplay="long";continue;case"scientific":et=me(me(me({},et),{notation:"scientific"}),tr.options.reduce(function(kr,Pr){return me(me({},kr),rr(Pr))},{}));continue;case"engineering":et=me(me(me({},et),{notation:"engineering"}),tr.options.reduce(function(kr,Pr){return me(me({},kr),rr(Pr))},{}));continue;case"notation-simple":et.notation="standard";continue;case"unit-width-narrow":et.currencyDisplay="narrowSymbol",et.unitDisplay="narrow";continue;case"unit-width-short":et.currencyDisplay="code",et.unitDisplay="short";continue;case"unit-width-full-name":et.currencyDisplay="name",et.unitDisplay="long";continue;case"unit-width-iso-code":et.currencyDisplay="symbol";continue}if(Ne.test(tr.stem)){if(tr.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");tr.stem.replace(Ne,function(kr,Pr,Rr){return kr==="."?et.maximumFractionDigits=0:Rr==="+"?et.minimumFractionDigits=Rr.length:Pr[0]==="#"?et.maximumFractionDigits=Pr.length:(et.minimumFractionDigits=Pr.length,et.maximumFractionDigits=Pr.length+(typeof Rr=="string"?Rr.length:0)),""}),tr.options.length&&(et=me(me({},et),yt(tr.options[0])));continue}if(Bt.test(tr.stem)){et=me(me({},et),yt(tr.stem));continue}var Cr=It(tr.stem);Cr&&(et=me(me({},et),Cr))}return et}var ur=function(){var ze=function(et,xe){return ze=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(at,tr){at.__proto__=tr}||function(at,tr){for(var Cr in tr)tr.hasOwnProperty(Cr)&&(at[Cr]=tr[Cr])},ze(et,xe)};return function(et,xe){ze(et,xe);function at(){this.constructor=et}et.prototype=xe===null?Object.create(xe):(at.prototype=xe.prototype,new at)}}(),We=function(){for(var ze=0,et=0,xe=arguments.length;et<xe;et++)ze+=arguments[et].length;for(var at=Array(ze),tr=0,et=0;et<xe;et++)for(var Cr=arguments[et],kr=0,Pr=Cr.length;kr<Pr;kr++,tr++)at[tr]=Cr[kr];return at},Pt=function(ze){ur(et,ze);function et(xe,at){var tr=ze.call(this,xe)||this;return tr.variableId=at,tr}return et}(Error);function zt(ze){return ze.length<2?ze:ze.reduce(function(et,xe){var at=et[et.length-1];return!at||at.type!==0||xe.type!==0?et.push(xe):at.value+=xe.value,et},[])}function nt(ze,et,xe,at,tr,Cr,kr){if(ze.length===1&&m(ze[0]))return[{type:0,value:ze[0].value}];for(var Pr=[],Rr=0,Tn=ze;Rr<Tn.length;Rr++){var Tr=Tn[Rr];if(m(Tr)){Pr.push({type:0,value:Tr.value});continue}if(M(Tr)){typeof Cr=="number"&&Pr.push({type:0,value:xe.getNumberFormat(et).format(Cr)});continue}var pn=Tr.value;if(!(tr&&pn in tr))throw new Pt('The intl string context variable "'+pn+'" was not provided to the string "'+kr+'"');var sn=tr[pn];if(b(Tr)){(!sn||typeof sn=="string"||typeof sn=="number")&&(sn=typeof sn=="string"||typeof sn=="number"?String(sn):""),Pr.push({type:1,value:sn});continue}if(k(Tr)){var ln=typeof Tr.style=="string"?at.date[Tr.style]:void 0;Pr.push({type:0,value:xe.getDateTimeFormat(et,ln).format(sn)});continue}if(R(Tr)){var ln=typeof Tr.style=="string"?at.time[Tr.style]:N(Tr.style)?De(Tr.style.pattern):void 0;Pr.push({type:0,value:xe.getDateTimeFormat(et,ln).format(sn)});continue}if(S(Tr)){var ln=typeof Tr.style=="string"?at.number[Tr.style]:B(Tr.style)?Yt(Tr.style.tokens):void 0;Pr.push({type:0,value:xe.getNumberFormat(et,ln).format(sn)});continue}if(A(Tr)){var Ln=Tr.options[sn]||Tr.options.other;if(!Ln)throw new RangeError('Invalid values for "'+Tr.value+'": "'+sn+'". Options are "'+Object.keys(Tr.options).join('", "')+'"');Pr.push.apply(Pr,nt(Ln.value,et,xe,at,tr));continue}if(P(Tr)){var Ln=Tr.options["="+sn];if(!Ln){if(!Intl.PluralRules)throw new Pt(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`);var Ia=xe.getPluralRules(et,{type:Tr.pluralType}).select(sn-(Tr.offset||0));Ln=Tr.options[Ia]||Tr.options.other}if(!Ln)throw new RangeError('Invalid values for "'+Tr.value+'": "'+sn+'". Options are "'+Object.keys(Tr.options).join('", "')+'"');Pr.push.apply(Pr,nt(Ln.value,et,xe,at,tr,sn-(Tr.offset||0)));continue}}return zt(Pr)}function Et(ze,et,xe,at,tr,Cr){var kr=nt(ze,et,xe,at,tr,void 0,Cr);return kr.length===1?kr[0].value:kr.reduce(function(Pr,Rr){return Pr+=Rr.value},"")}var ht,Je="@@",Ue=/@@(\d+_\d+)@@/g,ge=0;function Se(){return Date.now()+"_"+ ++ge}function Le(ze,et){return ze.split(Ue).filter(Boolean).map(function(xe){return et[xe]!=null?et[xe]:xe}).reduce(function(xe,at){return xe.length&&typeof at=="string"&&typeof xe[xe.length-1]=="string"?xe[xe.length-1]+=at:xe.push(at),xe},[])}var je=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,He=Date.now()+"@@",rt=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function lt(ze,et,xe){var at=ze.tagName,tr=ze.outerHTML,Cr=ze.textContent,kr=ze.childNodes;if(!at)return Le(Cr||"",et);at=at.toLowerCase();var Pr=~rt.indexOf(at),Rr=xe[at];if(Rr&&Pr)throw new Pt(at+" is a self-closing tag and can not be used, please use another tag name.");if(!kr.length)return[tr];var Tn=Array.prototype.slice.call(kr).reduce(function(Tr,pn){return Tr.concat(lt(pn,et,xe))},[]);return Rr?typeof Rr=="function"?[Rr.apply(void 0,Tn)]:[Rr]:We(["<"+at+">"],Tn,["</"+at+">"])}function Kt(ze,et,xe,at,tr,Cr){var kr=nt(ze,et,xe,at,tr,void 0,Cr),Pr={},Rr=kr.reduce(function(sn,ln){if(ln.type===0)return sn+=ln.value;var Ln=Se();return Pr[Ln]=ln.value,sn+=""+Je+Ln+Je},"");if(!je.test(Rr))return Le(Rr,Pr);if(!tr)throw new Pt("Message has placeholders but no values was given");if(typeof DOMParser=="undefined")throw new Pt("Cannot format XML message without DOMParser");ht||(ht=new DOMParser);var Tn=ht.parseFromString('<formatted-message id="'+He+'">'+Rr+"</formatted-message>","text/html").getElementById(He);if(!Tn)throw new Pt("Malformed HTML message "+Rr);var Tr=Object.keys(tr).filter(function(sn){return!!Tn.getElementsByTagName(sn).length});if(!Tr.length)return Le(Rr,Pr);var pn=Tr.filter(function(sn){return sn!==sn.toLowerCase()});if(pn.length)throw new Pt("HTML tag must be lowercased but the following tags are not: "+pn.join(", "));return Array.prototype.slice.call(Tn.childNodes).reduce(function(sn,ln){return sn.concat(lt(ln,Pr,tr))},[])}var Wt=function(){return Wt=Object.assign||function(ze){for(var et,xe=1,at=arguments.length;xe<at;xe++){et=arguments[xe];for(var tr in et)Object.prototype.hasOwnProperty.call(et,tr)&&(ze[tr]=et[tr])}return ze},Wt.apply(this,arguments)};function Ae(ze,et){return et?Wt(Wt(Wt({},ze||{}),et||{}),Object.keys(ze).reduce(function(xe,at){return xe[at]=Wt(Wt({},ze[at]),et[at]||{}),xe},{})):ze}function qe(ze,et){return et?Object.keys(ze).reduce(function(xe,at){return xe[at]=Ae(ze[at],et[at]),xe},Wt({},ze)):ze}function Vt(ze){return ze===void 0&&(ze={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ie(Intl.NumberFormat,ze.number),getDateTimeFormat:ie(Intl.DateTimeFormat,ze.dateTime),getPluralRules:ie(Intl.PluralRules,ze.pluralRules)}}var kt=function(){function ze(et,xe,at,tr){var Cr=this;if(xe===void 0&&(xe=ze.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(kr){return Et(Cr.ast,Cr.locales,Cr.formatters,Cr.formats,kr,Cr.message)},this.formatToParts=function(kr){return nt(Cr.ast,Cr.locales,Cr.formatters,Cr.formats,kr,void 0,Cr.message)},this.formatHTMLMessage=function(kr){return Kt(Cr.ast,Cr.locales,Cr.formatters,Cr.formats,kr,Cr.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(Cr.locales)[0]}},this.getAst=function(){return Cr.ast},typeof et=="string"){if(this.message=et,!ze.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=ze.__parse(et,{normalizeHashtagInPlural:!1})}else this.ast=et;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=qe(ze.formats,at),this.locales=xe,this.formatters=tr&&tr.formatters||Vt(this.formatterCache)}return ze.defaultLocale=new Intl.NumberFormat().resolvedOptions().locale,ze.__parse=ee,ze.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},ze}(),Ht=kt,$t=Ht;function Tt(ze,et,xe){if(xe===void 0&&(xe=Error),!ze)throw new xe(et)}const Xt={38:"&",62:">",60:"<",34:""",39:"'"},Ge=/[&><"']/g;function ce(ze){return(""+ze).replace(Ge,et=>Xt[et.charCodeAt(0)])}function pe(ze,et,xe={}){return et.reduce((at,tr)=>(tr in ze?at[tr]=ze[tr]:tr in xe&&(at[tr]=xe[tr]),at),{})}function Dt(ze){Tt(ze,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function Ce(ze,et){const xe=et?`
|
|
|
${et.stack}`:"";return`[React Intl] ${ze}${xe}`}function ct(ze){}const Zt={formats:{},messages:{},timeZone:void 0,textComponent:r.Fragment,defaultLocale:"en",defaultFormats:{},onError:ct};function St(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function Ie(ze=St()){const et=Intl.RelativeTimeFormat,xe=Intl.ListFormat,at=Intl.DisplayNames;return{getDateTimeFormat:ie(Intl.DateTimeFormat,ze.dateTime),getNumberFormat:ie(Intl.NumberFormat,ze.number),getMessageFormat:ie($t,ze.message),getRelativeTimeFormat:ie(et,ze.relativeTime),getPluralRules:ie(Intl.PluralRules,ze.pluralRules),getListFormat:ie(xe,ze.list),getDisplayNames:ie(at,ze.displayNames)}}function wt(ze,et,xe,at){const tr=ze&&ze[et];let Cr;if(tr&&(Cr=tr[xe]),Cr)return Cr;at(Ce(`No ${et} format named: ${xe}`))}const be=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Ye({locale:ze,formats:et,onError:xe},at,tr={}){const{format:Cr}=tr,kr=Cr&&wt(et,"number",Cr,xe)||{},Pr=pe(tr,be,kr);return at(ze,Pr)}function vt(ze,et,xe,at={}){try{return Ye(ze,et,at).format(xe)}catch(tr){ze.onError(Ce("Error formatting number.",tr))}return String(xe)}function Lt(ze,et,xe,at={}){try{return Ye(ze,et,at).formatToParts(xe)}catch(tr){ze.onError(Ce("Error formatting number.",tr))}return[]}const Me=["numeric","style"];function Or({locale:ze,formats:et,onError:xe},at,tr={}){const{format:Cr}=tr,kr=!!Cr&&wt(et,"relative",Cr,xe)||{},Pr=pe(tr,Me,kr);return at(ze,Pr)}function At(ze,et,xe,at,tr={}){at||(at="second"),Intl.RelativeTimeFormat||ze.onError(Ce(`Intl.RelativeTimeFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-relativetimeformat"
|
|
|
`));try{return Or(ze,et,tr).format(xe,at)}catch(kr){ze.onError(Ce("Error formatting relative time.",kr))}return String(xe)}const Yr=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function rn({locale:ze,formats:et,onError:xe,timeZone:at},tr,Cr,kr={}){const{format:Pr}=kr,Rr=Object.assign(Object.assign({},at&&{timeZone:at}),Pr&&wt(et,tr,Pr,xe));let Tn=pe(kr,Yr,Rr);return tr==="time"&&!Tn.hour&&!Tn.minute&&!Tn.second&&(Tn=Object.assign(Object.assign({},Tn),{hour:"numeric",minute:"numeric"})),Cr(ze,Tn)}function wr(ze,et,xe,at={}){const tr=typeof xe=="string"?new Date(xe||0):xe;try{return rn(ze,"date",et,at).format(tr)}catch(Cr){ze.onError(Ce("Error formatting date.",Cr))}return String(tr)}function jr(ze,et,xe,at={}){const tr=typeof xe=="string"?new Date(xe||0):xe;try{return rn(ze,"time",et,at).format(tr)}catch(Cr){ze.onError(Ce("Error formatting time.",Cr))}return String(tr)}function mr(ze,et,xe,at={}){const tr=typeof xe=="string"?new Date(xe||0):xe;try{return rn(ze,"date",et,at).formatToParts(tr)}catch(Cr){ze.onError(Ce("Error formatting date.",Cr))}return[]}function Zr(ze,et,xe,at={}){const tr=typeof xe=="string"?new Date(xe||0):xe;try{return rn(ze,"time",et,at).formatToParts(tr)}catch(Cr){ze.onError(Ce("Error formatting time.",Cr))}return[]}const un=["localeMatcher","type"];function mn({locale:ze,onError:et},xe,at,tr={}){Intl.PluralRules||et(Ce(`Intl.PluralRules is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
`));const Cr=pe(tr,un);try{return xe(ze,Cr).select(at)}catch(kr){et(Ce("Error formatting plural.",kr))}return"other"}function sr(ze,et){return Object.keys(ze).reduce((xe,at)=>(xe[at]=Object.assign({timeZone:et},ze[at]),xe),{})}function Rt(ze,et){return Object.keys(Object.assign(Object.assign({},ze),et)).reduce((at,tr)=>(at[tr]=Object.assign(Object.assign({},ze[tr]||{}),et[tr]||{}),at),{})}function _t(ze,et){if(!et)return ze;const xe=$t.formats;return Object.assign(Object.assign(Object.assign({},xe),ze),{date:Rt(sr(xe.date,et),sr(ze.date||{},et)),time:Rt(sr(xe.time,et),sr(ze.time||{},et))})}const gt=ze=>r.createElement(r.Fragment,null,...ze);function jt({locale:ze,formats:et,messages:xe,defaultLocale:at,defaultFormats:tr,onError:Cr,timeZone:kr},Pr,Rr={id:""},Tn={}){const{id:Tr,defaultMessage:pn}=Rr;Tt(!!Tr,"[React Intl] An `id` must be provided to format a message.");const sn=xe&&xe[String(Tr)];et=_t(et,kr),tr=_t(tr,kr);let ln=[];if(sn)try{ln=Pr.getMessageFormat(sn,ze,et,{formatters:Pr}).formatHTMLMessage(Tn)}catch(Ln){Cr(Ce(`Error formatting message: "${Tr}" for locale: "${ze}"`+(pn?", using default message as fallback.":""),Ln))}else(!pn||ze&&ze.toLowerCase()!==at.toLowerCase())&&Cr(Ce(`Missing message: "${Tr}" for locale: "${ze}"`+(pn?", using default message as fallback.":"")));if(!ln.length&&pn)try{ln=Pr.getMessageFormat(pn,at,tr).formatHTMLMessage(Tn)}catch(Ln){Cr(Ce(`Error formatting the default message for: "${Tr}"`,Ln))}return ln.length?ln.length===1&&typeof ln[0]=="string"?ln[0]||pn||String(Tr):gt(ln):(Cr(Ce(`Cannot format message: "${Tr}", using message ${sn||pn?"source":"id"} as fallback.`)),typeof sn=="string"?sn||pn||String(Tr):pn||String(Tr))}function Ar(ze,et,xe={id:""},at={}){const tr=Object.keys(at).reduce((Cr,kr)=>{const Pr=at[kr];return Cr[kr]=typeof Pr=="string"?ce(Pr):Pr,Cr},{});return jt(ze,et,xe,tr)}var yr=e(18947),it=e.n(yr);const Nr=["localeMatcher","type","style"],An=Date.now();function Jn(ze){return`${An}_${ze}_${An}`}function gr({locale:ze,onError:et},xe,at,tr={}){Intl.ListFormat||et(Ce(`Intl.ListFormat is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-listformat"
|
|
|
`));const kr=pe(tr,Nr);try{const Pr={},Rr=at.map((Tr,pn)=>{if(typeof Tr=="object"){const sn=Jn(pn);return Pr[sn]=Tr,sn}return String(Tr)});return Object.keys(Pr).length?xe(ze,kr).formatToParts(Rr).reduce((Tr,pn)=>{const sn=pn.value;return Pr[sn]?Tr.push(Pr[sn]):typeof Tr[Tr.length-1]=="string"?Tr[Tr.length-1]+=sn:Tr.push(sn),Tr},[]):xe(ze,kr).format(Rr)}catch(Pr){et(Ce("Error formatting list.",Pr))}return at}const nn=["localeMatcher","style","type","fallback"];function vn({locale:ze,onError:et},xe,at,tr={}){Intl.DisplayNames||et(Ce(`Intl.DisplayNames is not available in this environment.
|
|
|
Try polyfilling it using "@formatjs/intl-displaynames"
|
|
|
`));const kr=pe(tr,nn);try{return xe(ze,kr).of(at)}catch(Pr){et(Ce("Error formatting display name.",Pr))}}const Wn=it()||yr;function si(ze){return{locale:ze.locale,timeZone:ze.timeZone,formats:ze.formats,textComponent:ze.textComponent,messages:ze.messages,defaultLocale:ze.defaultLocale,defaultFormats:ze.defaultFormats,onError:ze.onError}}function gi(ze,et){const xe=Ie(et),at=Object.assign(Object.assign({},Zt),ze),{locale:tr,defaultLocale:Cr,onError:kr}=at;return tr?!Intl.NumberFormat.supportedLocalesOf(tr).length&&kr?kr(Ce(`Missing locale data for locale: "${tr}" in Intl.NumberFormat. Using default locale: "${Cr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(tr).length&&kr&&kr(Ce(`Missing locale data for locale: "${tr}" in Intl.DateTimeFormat. Using default locale: "${Cr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details`)):(kr&&kr(Ce(`"locale" was not configured, using "${Cr}" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details`)),at.locale=at.defaultLocale||"en"),Object.assign(Object.assign({},at),{formatters:xe,formatNumber:vt.bind(null,at,xe.getNumberFormat),formatNumberToParts:Lt.bind(null,at,xe.getNumberFormat),formatRelativeTime:At.bind(null,at,xe.getRelativeTimeFormat),formatDate:wr.bind(null,at,xe.getDateTimeFormat),formatDateToParts:mr.bind(null,at,xe.getDateTimeFormat),formatTime:jr.bind(null,at,xe.getDateTimeFormat),formatTimeToParts:Zr.bind(null,at,xe.getDateTimeFormat),formatPlural:mn.bind(null,at,xe.getPluralRules),formatMessage:jt.bind(null,at,xe),formatHTMLMessage:Ar.bind(null,at,xe),formatList:gr.bind(null,at,xe.getListFormat),formatDisplayName:vn.bind(null,at,xe.getDisplayNames)})}class aa extends r.PureComponent{constructor(){super(...arguments),this.cache=St(),this.state={cache:this.cache,intl:gi(si(this.props),this.cache),prevConfig:si(this.props)}}static getDerivedStateFromProps(et,{prevConfig:xe,cache:at}){const tr=si(et);return Wn(xe,tr)?null:{intl:gi(tr,at),prevConfig:tr}}render(){return Dt(this.state.intl),r.createElement(a,{value:this.state.intl},this.props.children)}}aa.displayName="IntlProvider",aa.defaultProps=Zt;var ui=e(19964),Ni=e(3424),mi=e.n(Ni),Pi=e(85239),Ra=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,bt=(ze,et)=>{var xe={};for(var at in ze)fi.call(ze,at)&&et.indexOf(at)<0&&(xe[at]=ze[at]);if(ze!=null&&Ra)for(var at of Ra(ze))et.indexOf(at)<0&&Hi.call(ze,at)&&(xe[at]=ze[at]);return xe};let ut;const ii=!0,Si=new(mi()),li=Symbol("LANG_CHANGE"),sa=(ze,et="")=>Object.keys(ze).reduce((xe,at)=>{const tr=ze[at],Cr=et?`${et}.${at}`:at;return typeof tr=="string"?xe[Cr]=tr:Object.assign(xe,sa(tr,Cr)),xe},{}),Ti={},pi=(ze,et,xe)=>{var at,tr,Cr,kr;if(!ze)return;const Pr=(at=Ti[ze])!=null&&at.messages?Object.assign({},Ti[ze].messages,et):et,{momentLocale:Rr=(tr=Ti[ze])==null?void 0:tr.momentLocale,antd:Tn=(Cr=Ti[ze])==null?void 0:Cr.antd}=xe||{},Tr=(kr=ze.split("-"))==null?void 0:kr.join("-");Ti[ze]={messages:Pr,locale:Tr,momentLocale:Rr,antd:Tn},Tr===Ot()&&Si.emit(li,Tr)},Rn=ze=>(0,ui.We)().applyPlugins({key:"locale",type:"modify",initialValue:ze}),Jt=ze=>{const xe=Rn(Ti[ze]),{cache:at}=xe,tr=bt(xe,["cache"]);return gi(tr,at)},dt=(ze,et)=>ut&&!et&&!ze?ut:(ze||(ze=Ot()),ze&&Ti[ze]?Jt(ze):Ti["zh-CN"]?Jt("zh-CN"):gi({locale:"zh-CN",messages:{}})),tt=ze=>{ut=dt(ze,!0)},Ot=()=>{const ze=Rn({});return typeof(ze==null?void 0:ze.getLocale)=="function"?ze.getLocale():(navigator.cookieEnabled&&typeof localStorage!="undefined"&&ii?window.localStorage.getItem("umi_locale"):"")||void 0||"zh-CN"},mt=()=>{const ze=Ot();return["he","ar","fa","ku"].filter(at=>ze.startsWith(at)).length?"rtl":"ltr"},or=(ze,et=!0)=>{(()=>{if(Ot()!==ze){if(navigator.cookieEnabled&&typeof window.localStorage!="undefined"&&ii&&window.localStorage.setItem("umi_locale",ze||""),tt(ze),et)window.location.reload();else if(Si.emit(li,ze),window.dispatchEvent){const at=new Event("languagechange");window.dispatchEvent(at)}}})()};let lr=!0;const Ir=(ze,et)=>(lr&&(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
|
|
|
`),lr=!1),ut||tt(Ot()),ut.formatMessage(ze,et)),Hr=()=>Object.keys(Ti)},15610: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(93490),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 m=[];if(!y||!y.candidate){if(console.log("ips",p),p.length==0||!(0,c.t)(p[0])){const H=r.default.info({title:f.createElement(i.Z,null,f.createElement(l.Z,{flex:"1"},"\u63D0\u793A"),f.createElement(l.Z,null,f.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:()=>H.destroy()}))),icon:null,width:500,className:"custom-modal-divider",content:f.createElement(i.Z,null,f.createElement(l.Z,null,"\u5F53\u524D\u8003\u8BD5\u5DF2\u542F\u7528\u9650\u5236\u8003\u8BD5\u8BBF\u95EEIP\uFF08\u9650\u5236\u516C\u5171IP+\u5185\u7F51IP\uFF09\u3002",(h.ip_limit==="inner"||h.ip_bind)&&f.createElement(f.Fragment,null,f.createElement("span",{className:"c-red"},"\uFF08\u53EA\u5141\u8BB8\u5728Chrome\u8C37\u6B4C\u6D4F\u89C8\u5668\u4F5C\u7B54\uFF0C\u5E76\u4E14\u9700\u8981\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6\uFF09"),f.createElement("br",null),f.createElement(Button,{onClick:showInstallWebRtcDoc,type:"link"},"\u5982\u4F55\u5B89\u88C5WebRTC Leak Prevent\u63D2\u4EF6?"))))});return a("WebRTC disabled or restricted by browser")}const W=p.filter(H=>(0,c.t)(H));return!W||!W.length?a("IP\u83B7\u53D6\u5931\u8D25"):u(W.join(""))}let b=y.candidate.candidate.split(" "),[S,k,R,A,P,M,,B,...N]=b,G=["rtp","rtpc"];if(console.log("event:",y),p.some(W=>W==P)||p.push(P),console.log(" candidate: "+S.split(":")[1]),console.log(" component: "+G[k-1]),console.log(" protocol: "+R),console.log(" priority: "+A),console.log(" ip: "+P),console.log(" port: "+M),console.log(" type: "+B),N.length){console.log("attributes: ");for(let W=0;W<N.length;W+=2)console.log("> "+N[W]+": "+N[W+1])}}})},57884:function(d,v,e){"use strict";var r=e(59301),i=e(4977),l=e(3113),c=e(76560),f=e(22688),o=Object.defineProperty,h=Object.defineProperties,u=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,x=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,y=(k,R,A)=>R in k?o(k,R,{enumerable:!0,configurable:!0,writable:!0,value:A}):k[R]=A,m=(k,R)=>{for(var A in R||(R={}))x.call(R,A)&&y(k,A,R[A]);if(a)for(var A of a(R))p.call(R,A)&&y(k,A,R[A]);return k},b=(k,R)=>h(k,u(R));const S=({img:k,buttonProps:R={},styles:A={},customText:P,ButtonText:M,ButtonClick:B,Buttonclass:N,ButtonTwo:G,imgStyles:W,loading:H=!1,className:ae="",globalSetting:ne})=>{const oe=(0,r.useMemo)(()=>{var q;if(k)return k;switch(Number((q=ne==null?void 0:ne.setting)==null?void 0:q.theme)){case f.Fy.THEMEONE:return e(56022);case f.Fy.DEFAULT:default:return i}},[ne,k]);return r.createElement("section",{className:`tc animated fadeIn ${ae}`,style:m({color:"#999",margin:"100px auto",visibility:H?"hidden":"visible"},A)},r.createElement("img",{src:oe,style:b(m({},W),{pointerEvents:"none",userSelect:"none"})}),r.createElement("p",{className:"mt20 font14"},P||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),M&&r.createElement(l.ZP,m({className:N,onClick:B},R),M),G&&G)};v.Z=(0,c.connect)(({globalSetting:k})=>({globalSetting:k}))(S)},10825: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(54476),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},o=f,h=e(7657),u=function(oe,q){return r.createElement(h.Z,(0,c.Z)({},oe,{ref:q,icon:o}))},a=r.forwardRef(u),x=a,p=e(51124),y=e(6848),m=e(49661),b=e(72664),S=e(57884),k=e(90524),R=e(14794),A=e(59301),P=Object.defineProperty,M=Object.getOwnPropertySymbols,B=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,G=(ne,oe,q)=>oe in ne?P(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:q}):ne[oe]=q,W=(ne,oe)=>{for(var q in oe||(oe={}))B.call(oe,q)&&G(ne,q,oe[q]);if(M)for(var q of M(oe))N.call(oe,q)&&G(ne,q,oe[q]);return ne},H=(ne,oe,q)=>new Promise((J,K)=>{var se=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(se,ee);Q((q=q.apply(ne,oe)).next())}),ae=({editOffice:ne="view",data:oe,theme:q,type:J,filename:K,monacoEditor:se,className:ee,style:Q,close:le,onClose:z,hasMask:$,disabledDownload:ie,onImgDimensions:me,showNodata:Pe,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"),[Bt,yt]=(0,r.useState)(""),[It,rr]=(0,r.useState)(),Yt=window.ENV==="build"?"/react/build":"",ur=location.host.startsWith("localhost")?k.Z.PROXY_SERVER:k.Z.API_SERVER,Pt=10*(1024*1024),zt=(0,r.useRef)();oe!=null&&oe.startsWith("/api")&&J!=="txt"&&(oe=k.Z.API_SERVER+oe);const nt=Ue=>Ue.substring(Ue.lastIndexOf("/")+1).split(".").pop();K&&se&&(se.filename=K),(0,r.useEffect)(()=>{var Ue,ge;const Se=(ge=(Ue=document.cookie)==null?void 0:Ue.replace(/\s/g,""))==null?void 0:ge.split(";");Se==null||Se.map(Le=>{let je=Le.split("=");je[0]==="_educoder_session"&&yt(je[1])})},[]),(0,r.useEffect)(()=>{J==="office"&&(oe.indexOf("bigfilescdn.")>-1||oe.indexOf("bigfiles1")>-1?rr({url:oe,fileType:nt(oe),model:oe.indexOf("model=edit")?"edit":"view"}):Et())},[J,oe]);const Et=()=>H(void 0,null,function*(){console.log("data:",oe);let Ue=oe;oe.startsWith("http")||(Ue=location.origin+Ue);let ge=new URL(Ue).pathname.split("/").pop();const Se=yield(0,b.gJ)({attachment_id:ge});Se.url=ur+Se.url,rr(Se)}),ht=()=>{if(oe.startsWith("http")||oe.startsWith("blob:")){Je();return}(0,m.Nd)(K||"educoder",decodeURIComponent(oe))},Je=()=>{De&&(0,R.fc)({id:De==null?void 0:De.id,watch_type:1,course_id:De==null?void 0:De.course_id}),(0,m.Nd)(K||"educoder",decodeURIComponent(oe))};return console.log(oe,"data"),A.createElement("div",{style:W({},Q||{}),className:`${$&&i.bgBlack} ${J?i.wrp:"hide"}`},le&&A.createElement("div",{className:i.close,ref:zt},!!me&&A.createElement(y.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>zt.current},A.createElement("span",{onClick:()=>{z(),me()}},A.createElement("i",{className:"icon-yulanpizhu"}))),!ie&&A.createElement(y.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>zt.current},A.createElement("span",{onClick:Je},A.createElement("i",{className:"icon-quxiaozhiding"}))),A.createElement(y.Z,{title:"\u5173\u95ED",getPopupContainer:()=>zt.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,W({},se)))),J==="audio"&&A.createElement("audio",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`,autoPlay:!0}),J==="video"&&A.createElement(A.Fragment,null,(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?A.createElement("video",{controls:!0,src:`${oe}`,autoPlay:!0}):A.createElement("video",{controls:!0,src:`data:video/mp4;base64,${oe}`,autoPlay:!0})),J==="office"&&It&&A.createElement("iframe",{src:`${Yt}/office.html?key=${It.key}&url=${btoa(It.url)}&callbackUrl=${ur+(It.callbackUrl||"")}&fileType=${It.fileType}&title=${It.title||""}&model=${ne}&officeServer=${k.Z.ONLYOFFICE}&disabledDownload=${!!ie}`}),J==="html"&&A.createElement("iframe",{src:oe+"&disposition=inline"}),J==="pdf"&&A.createElement("iframe",{src:`${Yt}/js/pdfview/index.html?filename=${K||"educoder.pdf"}&url=${encodeURIComponent(oe)}&disabledDownload=${!!ie}`}),J==="image"&&A.createElement("img",{src:(oe==null?void 0:oe.indexOf("http"))>-1||oe!=null&&oe.startsWith("/api")?oe:`data:image/png;base64,${oe}`}),(J==="other"||J==="download")&&A.createElement(A.Fragment,null,Pe?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:ht,disabled:ie},"\u4E0B\u8F7D")}):A.createElement(l.ZP,{type:"primary",size:"middle",onClick:ht,disabled:ie},A.createElement(x,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},7664:function(d,v,e){"use strict";e.d(v,{z:function(){return W},Z:function(){return H}});var r=e(59301),i=e(88831),l=e(90290),c=e(64018),f=e(68535),o=e(90524),h=e(49661),u=e(15342),a=e(1012),x=e(10825),p=e(59301),m=({html:ae})=>{const ne=(0,r.useRef)(null),oe=(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=ne.current.attachShadow({mode:"open"});oe.current=document.createElement("div"),oe.current.className="markdown-body",oe.current.innerHTML=ae,J.appendChild(oe.current);const K=document.createElement("style");return K.textContent=q,J.appendChild(K),()=>{J.innerHTML=""}},[]),(0,r.useEffect)(()=>{oe.current&&(oe.current.innerHTML=ae)},[ae]),p.createElement("div",{ref:ne})},b=Object.defineProperty,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=(ae,ne,oe)=>ne in ae?b(ae,ne,{enumerable:!0,configurable:!0,writable:!0,value:oe}):ae[ne]=oe,P=(ae,ne)=>{for(var oe in ne||(ne={}))k.call(ne,oe)&&A(ae,oe,ne[oe]);if(S)for(var oe of S(ne))R.call(ne,oe)&&A(ae,oe,ne[oe]);return ae};const M="@\u2581\u2581@",B="@\u2581@",N=/<pre[^>]*>/g;function G(ae){let ne=document.createElement("div");return ne.innerHTML=ae,ne.childNodes.length===0?"":ne.childNodes[0].nodeValue}const W=(ae,ne)=>{ae=ae||"";const oe=/(?: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 ne?ae.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(oe,(se,ee,Q,le,z,$,ie)=>{const me=ee||le||$,Pe=Q||z||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+me+Pe+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ae=ae.replace(K,(se,ee,Q,le,z,$,ie)=>{const me=ee||le||$,Pe=Q||z||ie||"?";return o.Z.API_SERVER+"/attachments/download/"+me+Pe+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(oe,(se,ee,Q,le,z,$,ie)=>{const me=ee||le||$,Pe=Q||z||ie||"?";return o.Z.API_SERVER+"/api/attachments/"+me+Pe+"&t="+(0,h.Jn)(me,Date.now())+(se.indexOf(")")>-1?")":"&")}).replace(q,(se,ee,Q,le,z)=>{const $=ee||le,ie=Q||z||"";return'"'+o.Z.API_SERVER+"/api/attachments/"+$+ie+$+ie+"&t="+(0,h.Jn)($,Date.now())}).replace(J,(se,ee,Q,le,z)=>{const $=ee||le,ie=Q||z||"";return"("+o.Z.API_SERVER+"/files/uploads/"+$+ie+$+ie+"&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 H=({value:ae="",className:ne,showTextOnly:oe,showLines:q,style:J={},stylesPrev:K={},highlightKeywords:se,showProgramFill:ee,isProgramFill:Q,disabledFill:le=!1,programFillValue:z,onFillChange:$=Pe=>{},onFillBlur:ie=()=>{},onFillFocus:me=()=>{}})=>{let Pe=String(ae);const[De,Ze]=(0,r.useState)(""),[Ne,Bt]=(0,r.useState)("office"),[yt,It]=(0,r.useState)([]),rr=(0,r.useRef)("a"+(0,a.Z)()),Yt={},ur=(je,He,rt)=>{const lt=document.createElement(je===B?"input":"textarea");lt.style.width="100%",lt.style.height=je===B?"40px":"151px",lt.rows=5,lt.spellcheck=!1,lt.name="edu-program-fill",lt.placeholder="\u8BF7\u8F93\u5165",lt.dataset.id=He;const Kt=Object.keys(Yt).length;return Yt[Kt]=lt,`<span class="edu-program-fill-wrap ${je===B?"":"show"}" style="width:${je===B?"400px":"100%"}" title=${rt||""}><span>${lt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function We(je){return je=je.replace(/!\[.*?\]\(.*?\)/g,""),je=je.replace(/\[.*?\]\(.*?\)/g,""),je=je.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),je=je.replace(/<embed.*?>/g,""),je=je.replace(/<img.*?>/g,""),je=je.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),je=je.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),je=je.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),je=je.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),je}const Pt=je=>je.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(He,rt){let lt=rt.replace(/(\n|\r)/g,"").split("}"),Kt=[];return lt.map(Wt=>{Wt!=""&&Kt.push(`.${rr.current} ${Wt}`)}),`<style>${Kt.join("}")}</style>`}),zt=(0,r.useMemo)(()=>{try{const lt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Kt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Wt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Ae=/\(\/attachments\/download\//g;Pe=Pe.replace(Ae,"("+o.Z.API_SERVER+"/attachments/download/").replace(lt,"("+o.Z.API_SERVER+"/api/attachments/").replace(Kt,'"'+o.Z.API_SERVER+"/api/attachments/").replace(Wt,'"'+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(lt){}if(ee){let lt=-1;return Pe=Pe.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Kt,Wt,Ae){var qe;return++lt,ur(Kt,lt,(qe=z==null?void 0:z[lt])==null?void 0:qe.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Pt(Pe||"")}</pre>`}let je=Pt(Pe);je=(0,l.ZP)(je);const He=(0,l.ez)();Pe.match(/\[TOC\]/)&&(je=je.replace("<p>[TOC]</p>",(0,l.Qv)()),(0,l.Iy)()),je=je.replace(/(__special_katext_id_\d+__)/g,(lt,Kt)=>{const{type:Wt,expression:Ae}=He[Kt];return(0,u.renderToString)(G(Ae)||"",{displayMode:Wt==="block",throwOnError:!1,output:"html"})}),je=je.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,l.AL)();const rt=document.createElement("div");if(rt.innerHTML=je,oe)return rt.innerText;if(se){const lt=se.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je(rt,lt),rt.innerHTML}return setTimeout(()=>Se(),500),rt.innerHTML},[Pe,se]);(0,r.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(He=>{He.oninput=nt,He.onblur=Et,He.onfocus=ht})},[yt]),(0,r.useEffect)(()=>{var je,He,rt,lt,Kt;if(z!=null&&z.length)try{const Wt=Ue.current.querySelectorAll(".edu-program-fill-score"),Ae=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[qe,Vt]of Ae.entries())Vt.value=((je=z==null?void 0:z[qe])==null?void 0:je.value)||"",((He=z==null?void 0:z[qe])==null?void 0:He.type)==="warning"?Vt.className="program-fill-warning":((rt=z==null?void 0:z[qe])==null?void 0:rt.type)==="success"?Vt.className="program-fill-success":Vt.className="";for(const[qe,Vt]of Wt.entries())Vt.innerHTML=(lt=z==null?void 0:z[qe])!=null&<.score?`${(Kt=z==null?void 0:z[qe])==null?void 0:Kt.score}\u5206`:"";It(z)}catch(Wt){console.log(Wt,"error")}},[z]);const nt=je=>{yt[je.target.dataset.id]=yt[je.target.dataset.id]||{},yt[je.target.dataset.id].value=je.target.value,It([...yt]),$(yt,je.target.dataset.id)},Et=je=>{yt[je.target.dataset.id]=yt[je.target.dataset.id]||{},yt[je.target.dataset.id].value=je.target.value,It([...yt]),ie(yt,je.target.dataset.id)},ht=je=>{yt[je.target.dataset.id]=yt[je.target.dataset.id]||{},yt[je.target.dataset.id].value=je.target.value,It([...yt]),me(yt,je.target.dataset.id)};function Je(je,He){return je.childNodes.forEach(rt=>{var lt;if(rt.childNodes.length>0)Je(rt,He);else if(rt.nodeName!=="IMG")if(rt.innerHTML)rt.innerHTML=(lt=rt.innerHTML)==null?void 0:lt.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Kt=document.createElement("span");Kt.innerHTML=rt.textContent.replace(new RegExp(He,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),rt.replaceWith(Kt)}})}const Ue=(0,r.useRef)();l.jb.WebkitLineClamp=q,q&&(J=P(P({},J),l.jb));function ge(je){let He=je.target;if(He.tagName.toUpperCase()==="A"){let rt=He.getAttribute("href");if(rt.indexOf("office")>-1)je.preventDefault(),Ze(rt),Bt("office");else if(rt.indexOf("application/pdf")>-1)je.preventDefault(),Ze(rt),Bt("pdf");else if(rt.indexOf("text/html")>-1)je.preventDefault(),Ze(rt),Bt("html");else if(rt.startsWith("#")){je.preventDefault();let lt=document.getElementById(rt.replace("#",""));lt&<.scrollIntoView(!0)}}}const Se=()=>{var je;const He=(je=Ue.current)==null?void 0:je.querySelectorAll("video");He==null||He.forEach(rt=>{if(rt.oncontextmenu=()=>!1,rt.src.indexOf(".m3u8")>-1&&!rt.canPlayType("application/vnd.apple.mpegurl")){if(f.ZP.isSupported()){var lt=new f.ZP;lt.loadSource(rt.src),lt.attachMedia(rt)}}})};(0,r.useEffect)(()=>{if(Ue.current&&zt&&zt.match(N)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",ge),()=>{var je;(je=Ue.current)==null||je.removeEventListener("click",ge),(0,l.AL)(),(0,l.Iy)()}},[zt,Ue.current,ge]),(0,r.useEffect)(()=>{var je;const He=rt=>{rt.preventDefault(),rt.clipboardData.setData("text",window.getSelection().toString())};return(je=Ue.current)==null||je.addEventListener("copy",He),()=>{var rt;(rt=Ue.current)==null||rt.removeEventListener("copy",He)}},[Ue.current]);const Le=je=>/<style[\s\S]*?>/i.test(je||"");return r.createElement(r.Fragment,null,oe&&r.createElement("div",{ref:Ue},zt),!oe&&!Le(zt)&&r.createElement("div",{ref:Ue,style:P({},J),className:`${ne||""} ${le?"disabled-fill":""} markdown-body ${rr.current}`,dangerouslySetInnerHTML:{__html:zt}}),!oe&&Le(zt)&&r.createElement(m,{html:zt}),r.createElement(x.Z,{close:!0,data:De,type:De!=null&&De.length?Ne:"",style:P({},K),onClose:()=>Ze("")}))}},51124:function(d,v,e){"use strict";e.d(v,{SV:function(){return Ue},ZP:function(){return Je}});var r=e(59301),i=e(76374);const l={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},c={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},f={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},o={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},h={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
|
`)}]};var u=e(53184),a=e.n(u),x=Object.defineProperty,p=Object.defineProperties,y=Object.getOwnPropertyDescriptors,m=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable,k=(ge,Se,Le)=>Se in ge?x(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ge[Se]=Le,R=(ge,Se)=>{for(var Le in Se||(Se={}))b.call(Se,Le)&&k(ge,Le,Se[Le]);if(m)for(var Le of m(Se))S.call(Se,Le)&&k(ge,Le,Se[Le]);return ge},A=(ge,Se)=>p(ge,y(Se)),P=(ge,Se,Le)=>new Promise((je,He)=>{var rt=Wt=>{try{Kt(Le.next(Wt))}catch(Ae){He(Ae)}},lt=Wt=>{try{Kt(Le.throw(Wt))}catch(Ae){He(Ae)}},Kt=Wt=>Wt.done?je(Wt.value):Promise.resolve(Wt.value).then(rt,lt);Kt((Le=Le.apply(ge,Se)).next())});const M={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},B=(ge,Se)=>Se.map(Le=>({label:Le,kind:ge.languages.CompletionItemKind.Keyword,insertText:Le})),N=ge=>Object.keys(M.tables).map(Se=>({label:Se,kind:ge.languages.CompletionItemKind.Variable,insertText:Se})),G=(ge,Se)=>{const Le=M.tables[ge];return Le?Le.map(je=>({label:je,kind:Se.languages.CompletionItemKind.Field,insertText:je})):[]};function W(ge,Se,Le,je,He){let rt=Se.getWordUntilPosition(Le),lt={startLineNumber:Le.lineNumber,endLineNumber:Le.lineNumber,startColumn:rt.startColumn,endColumn:rt.endColumn},Kt=je.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Keyword,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}));return He.map(Wt=>{Kt.push(A(R({},Wt),{range:lt}))}),Kt}var H=ge=>{M.languages.map(He=>(ge.languages.registerDocumentFormattingEditProvider(He,{provideDocumentFormattingEdits(rt,lt,Kt){return P(this,null,function*(){const Wt=a()(rt.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:rt.getFullModelRange(),text:Wt}]})}}),He));const Se=f.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Le=o.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet})),je=c.quickKey.map(He=>({label:He.label,kind:ge.languages.CompletionItemKind.Method,insertText:He.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet}));ge.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(He,rt){var lt=He.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Wt=He.getLineContent(rt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...f.keywords.map(Ae=>({label:Ae,kind:ge.languages.CompletionItemKind.Function,documentation:Ae,insertText:Ae,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...f.quickKey.map(Ae=>({label:Ae.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ae.content,insertText:Wt.startsWith("#")?Ae.content.replace(/#/,""):Ae.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(He,rt){var lt=He.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn};return{suggestions:[...l.keywords.map(Wt=>({label:Wt,kind:ge.languages.CompletionItemKind.Function,documentation:Wt,insertText:Wt,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(He,rt){var lt=He.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Wt=He.getLineContent(rt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...c.keywords.map(Ae=>({label:Ae,kind:ge.languages.CompletionItemKind.Function,documentation:Ae,insertText:Ae,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...c.quickKey.map(Ae=>({label:Ae.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ae.content,insertText:Wt.startsWith("#")?Ae.content.replace(/#/,""):Ae.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(He,rt){var lt=He.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Wt=He.getLineContent(rt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...h.keywords.map(Ae=>({label:Ae,kind:ge.languages.CompletionItemKind.Function,documentation:Ae,insertText:Ae,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...h.quickKey.map(Ae=>({label:Ae.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ae.content,insertText:Wt.startsWith("#")?Ae.content.replace(/#/,""):Ae.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}}),ge.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(He,rt){var lt=He.getWordUntilPosition(rt),Kt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:lt.startColumn,endColumn:lt.endColumn},Wt=He.getLineContent(rt.lineNumber).substring(lt.startColumn-2,lt.endColumn);return{suggestions:[...o.keywords.map(Ae=>({label:Ae,kind:ge.languages.CompletionItemKind.Function,documentation:Ae,insertText:Ae,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt})),...o.quickKey.map(Ae=>({label:Ae.label,kind:ge.languages.CompletionItemKind.Function,documentation:Ae.content,insertText:Wt.startsWith("#")?Ae.content.replace(/#/,""):Ae.content,insertTextRules:ge.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Kt}))]}}})};const ae="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ne=Object.defineProperty,oe=(ge,Se,Le)=>Se in ge?ne(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ge[Se]=Le,q=(ge,Se,Le)=>oe(ge,typeof Se!="symbol"?Se+"":Se,Le);const J=class e0{constructor(Se,Le,je){this.placeholder=Se,this.editor=Le,this.monaco=je,Le.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return e0.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};q(J,"ID","editor.widget.placeholderHint");var se=J,ee=e(96236),Q=e(8591),le=e(6848),z=e(89392),$=e(33796),ie=e(56102),me=Object.defineProperty,Pe=Object.defineProperties,De=Object.getOwnPropertyDescriptors,Ze=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,yt=(ge,Se,Le)=>Se in ge?me(ge,Se,{enumerable:!0,configurable:!0,writable:!0,value:Le}):ge[Se]=Le,It=(ge,Se)=>{for(var Le in Se||(Se={}))Ne.call(Se,Le)&&yt(ge,Le,Se[Le]);if(Ze)for(var Le of Ze(Se))Bt.call(Se,Le)&&yt(ge,Le,Se[Le]);return ge},rr=(ge,Se)=>Pe(ge,De(Se)),Yt=(ge,Se)=>{var Le={};for(var je in ge)Ne.call(ge,je)&&Se.indexOf(je)<0&&(Le[je]=ge[je]);if(ge!=null&&Ze)for(var je of Ze(ge))Se.indexOf(je)<0&&Bt.call(ge,je)&&(Le[je]=ge[je]);return Le},ur=(ge,Se,Le)=>new Promise((je,He)=>{var rt=Wt=>{try{Kt(Le.next(Wt))}catch(Ae){He(Ae)}},lt=Wt=>{try{Kt(Le.throw(Wt))}catch(Ae){He(Ae)}},Kt=Wt=>Wt.done?je(Wt.value):Promise.resolve(Wt.value).then(rt,lt);Kt((Le=Le.apply(ge,Se)).next())});function We(ge){return/^\d+$/.test(ge)?`${ge}px`:ge}function Pt(){}let zt=!1;const nt={"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 Et(ge=[]){let Se=ge;if(Array.isArray(ge)){for(let Le=0;Le<ge.length;Le++){let je=nt[ge[Le]];if(je)return je}return Se[0]}return nt[Se]||Se}let ht=null;var Je=ge=>{var Se=ge,{width:Le="100%",height:je="100%",value:He,language:rt="javascript",style:lt={},options:Kt={},overrideServices:Wt={},theme:Ae="vs-dark",onEditBlur:qe,isCopy:Vt=!1,onSave:kt,autoHeight:Ht=!1,forbidCopy:$t=!1,onChange:Tt=Pt,editorDidMount:Xt=Pt,onFocus:Ge=Pt,onBreakPoint:ce=Pt,breakPointValue:pe=[],filename:Dt="educoder.txt",errorLine:Ce,errorContent:ct="",highlightLine:Zt,openBreakPoint:St=!1,placeholder:Ie=""}=Se,wt=Yt(Se,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const be=(0,r.useRef)(),Ye=(0,r.useRef)({}),vt=(0,r.useRef)(),Lt=(0,r.useRef)(),Me=(0,r.useRef)([]),Or=(0,r.useRef)(!1),At=(0,r.useRef)(),Yr=(0,r.useRef)(),rn=(0,r.useRef)(!1),[wr,jr]=(0,r.useState)(!1);function mr(){let gr;return be.current&&(gr=new i.Z(nn=>{for(let vn of nn)(vn.target.offsetHeight>0||vn.target.offsetWidth>0)&&Ye.current.instance.layout()}),gr.observe(be.current)),gr}function Zr(){Q.ZP.warning({content:decodeURIComponent(ae),key:"monaco-editor-tip"})}const un=()=>{let gr=Ye.current.instance;if(He!=null&&gr&&wr){const nn=gr.getModel();nn&&He!==nn.getValue()&&(zt=!0,nn.setValue(He),gr.layout(),zt=!1)}};(0,r.useEffect)(()=>{const gr=$.Z.subscribe("formatDocument",nn=>{var vn;let Wn=Ye.current.instance;(vn=Wn==null?void 0:Wn.getAction)==null||vn.call(Wn,"editor.action.formatDocument").run()});return window.updateMonacoValue=nn=>{Tt(nn)},gr},[]),(0,r.useEffect)(()=>{var gr;let nn=Ye.current.instance;Lt.current&&clearTimeout(Lt.current),Lt.current=setTimeout(()=>{un()},500),He&&(He!=null&&He.length)&&((gr=nn==null?void 0:nn.updateOptions)==null||gr.call(nn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(He.split(/\r\n|\r|\n/g).length))+3,5)}))},[He,wr,Ye.current]),(0,r.useEffect)(()=>{if(Ce&&Ye.current&&Ye.current.instance){let nn=Ye.current.instance;nn.changeViewZones(function(vn){var Wn=document.createElement("div");Wn.style.padding="10px 20px",Wn.style.width="calc(100% - 20px)",Wn.className="my-error-line-wrp",Wn.innerHTML=ct,vn.addZone({afterLineNumber:Ce||11,heightInLines:3,domNode:Wn})});var gr={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}};nn.addOverlayWidget(gr),nn.revealPositionInCenter({lineNumber:20,column:1})}},[Ce,Ye.current,wr]);const mn=(gr="",nn)=>{if(!gr||gr.trim()==="")return!0;const Wn=Ye.current.instance.getModel().getLineTokens(nn);let si=!1;for(let gi=0;gi<2;gi++)Wn.getStandardTokenType(gi)===1&&(si=!0);return si};(0,r.useEffect)(()=>{var gr;const nn=(gr=Ye.current)==null?void 0:gr.instance;if(nn&&wr&&$t){const vn=nn.onDidBlurEditorWidget(()=>{rn.current=!1}),Wn=nn.onDidFocusEditorText(()=>{rn.current=!0});return()=>{vn.dispose(),Wn.dispose()}}},[Ye.current,wr,$t]),(0,r.useEffect)(()=>{var gr;if((gr=Ye.current)!=null&&gr.instance&&wr&&St){let nn=Ye.current.instance,vn=nn.getModel();if(!vn)return;(()=>{var bt;let ut=[],ii=[];const Si=vn.getAllDecorations();for(let sa of Si)sa.options.className==="highlighted-line"&&(ut.push((bt=sa==null?void 0:sa.range)==null?void 0:bt.startLineNumber),ii.push(sa==null?void 0:sa.id));if(Zt===ut[0])return;vn.deltaDecorations(ii,[]);const li=vn.getLineCount();Zt&&Zt<=li&&(nn.deltaDecorations([],[{range:new ht.Range(Zt,1,Zt,vn.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),nn.revealLineInCenter(Zt))})();const si=(bt=!1)=>{var ut;let ii=[],Si=[];const li=vn.getAllDecorations();for(let sa of li)sa.options.linesDecorationsClassName==="breakpoints-select"&&(ii.push((ut=sa==null?void 0:sa.range)==null?void 0:ut.startLineNumber),Si.push(sa==null?void 0:sa.id));if(bt)return{lines:ii,ids:Si};ce(ii)},gi=bt=>ur(void 0,null,function*(){let ut={range:new ht.Range(bt,1,bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield vn.deltaDecorations([],[ut]),si()}),aa=bt=>ur(void 0,null,function*(){let ut=[];const ii=nn.getLineDecorations(bt);for(let Si of ii)Si.options.linesDecorationsClassName==="breakpoints-select"&&ut.push(Si.id);yield vn.deltaDecorations(ut,[]),si()}),ui=bt=>{let ut=nn.getLineDecorations(bt);for(let ii of ut)if(ii.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,z.isEqual)(pe,si(!0).lines)){vn.deltaDecorations(si(!0).ids,[]);const bt=pe.map(ut=>({range:new ht.Range(ut,1,ut,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));vn.deltaDecorations([],bt)}const Ni=nn.onDidChangeModelContent(bt=>{let ut=nn.getPosition();if(ut){let ii=ut.lineNumber;clearTimeout(Yr.current),Yr.current=setTimeout(()=>{mn(vn.getLineContent(ii),ii)?aa(ii):ui(ii)?(aa(ii),gi(ii)):si()},100)}}),mi=nn.onMouseDown(bt=>{var ut,ii,Si;if(bt.target.detail&&((Si=(ii=(ut=bt.target)==null?void 0:ut.element)==null?void 0:ii.className)!=null&&Si.includes("line-numbers"))){let li=bt.target.position.lineNumber;if(mn(vn.getLineContent(li),li))return;ui(li)?aa(li):gi(li)}}),Pi=bt=>{let ut={range:new ht.Range(bt,1,bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Me.current=nn.deltaDecorations(Me.current,[ut])},Ra=()=>{Me.current=nn.deltaDecorations(Me.current,[])},fi=nn.onMouseMove(bt=>{var ut,ii,Si;if(Ra(),bt.target.detail&&((Si=(ii=(ut=bt.target)==null?void 0:ut.element)==null?void 0:ii.className)!=null&&Si.includes("line-numbers"))){let li=bt.target.position.lineNumber;if(mn(vn.getLineContent(li),li))return;Pi(li)}}),Hi=nn.onMouseLeave(()=>{Ra()});return()=>{Ni.dispose(),mi.dispose(),fi.dispose(),Hi.dispose()}}},[Ye.current,wr,pe,Zt,St,rt]),(0,r.useEffect)(()=>{var gr;(gr=Ye.current)!=null&&gr.instance&&St&&Ye.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function sr(){let gr=Ye.current.instance;if(gr){const nn=gr.getSelection(),vn=Ye.current.pastePos||{},Wn=new ht.Range(vn.startLineNumber||nn.endLineNumber,vn.startColumn||nn.endColumn,vn.endLineNumber||nn.endLineNumber,vn.endColumn||nn.endColumn);setTimeout(()=>{gr.executeEdits("",[{range:Wn,text:""}])},300)}}function Rt(gr){(window.navigator.platform.match("Mac")?gr.metaKey:gr.ctrlKey)&&gr.keyCode==83&&(gr.preventDefault(),kt())}const _t=()=>{if(Ht&&Ye.current.instance){const gr=Ye.current.instance.getContentHeight();An(gr<je?je:gr)}else An(je)};function gt(gr){var nn=document.createEvent("MouseEvents");nn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),gr.dispatchEvent(nn)}const jt=gr=>{if(!rn.current)return;const{keyCode:nn,ctrlKey:vn,metaKey:Wn,target:si,type:gi}=gr;return(gi==="paste"||(nn===67||nn===86)&&(Wn||vn))&&si.nodeName==="TEXTAREA"&&(Zr(),gr.preventDefault()),!1};function Ar(gr,nn){var vn=window.URL||window.webkitURL||window,Wn=new Blob([nn]),si=document.createElementNS("http://www.w3.org/1999/xhtml","a");si.href=vn.createObjectURL(Wn),si.download=gr,gt(si)}(0,r.useEffect)(()=>{_t()},[_t]),(0,r.useEffect)(()=>{be.current&&!wr&&Promise.all([e.e(8909),e.e(5028)]).then(e.bind(e,71448)).then(gr=>{try{ht=gr,Ye.current.instance=ht.editor.create(be.current,{value:He,language:Et(rt),theme:Ae,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Wt);const nn=Ye.current.instance;let si=[...ee.BH._menuItems].find(Ni=>Ni[0]._debugName=="EditorContext")[1],gi=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],aa=(Ni,mi)=>{var Pi,Ra;let fi=Ni._first;do mi.includes((Ra=(Pi=fi.element)==null?void 0:Pi.command)==null?void 0:Ra.id)&&Ni._remove(fi);while(fi=fi.next)};if(Xt(nn,ht),setTimeout(()=>{_t(),Ye.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Ar(Dt||"educoder.txt",nn.getValue())}})},500),Ye.current.subscription=nn.onDidChangeModelContent(Ni=>{Or.current?clearTimeout(At.current):(_t(),Tt(nn.getValue(),Ni)),At.current=setTimeout(()=>{Or.current=!1},500)}),window.Monaco||H(ht,Et(rt)),$t&&(aa(si,gi),be.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",jt),window.removeEventListener("paste",jt),window.addEventListener("keydown",jt),window.addEventListener("paste",jt)),window.Monaco=ht,qe&&nn.onDidBlurEditorWidget(()=>{qe(nn.getValue())}),Ge&&nn.onDidFocusEditorText(()=>{Ge(nn.getValue())}),$t)try{nn.onDidPaste(Ni=>{const mi=nn.getSelection(),Pi=Ye.current.pastePos||{},Ra=new ht.Range(Pi.startLineNumber||mi.endLineNumber,Pi.startColumn||mi.endColumn,Pi.endLineNumber||mi.endLineNumber,Pi.endColumn||mi.endColumn);nn.executeEdits("",[{range:Ni.range,text:""}])})}catch(Ni){}let ui=mr();return Ie&&typeof Ie=="string"&&new se(Ie,nn,ht),jr(!0),()=>{const Ni=Ye.current.instance;Ni.dispose();const mi=Ni.getModel();mi&&mi.dispose(),Ye.current.subscription&&Ye.current.subscription.dispose(),ui.unobserve(be.current)}}catch(nn){}})},[]),(0,r.useEffect)(()=>{if(Ye.current.instance&&wr)return document.addEventListener("keydown",Rt,!1),()=>{document.removeEventListener("keydown",Rt)}},[kt,wr]),(0,r.useEffect)(()=>{let gr=Ye.current.instance;if(gr&&wr){let nn=Et(rt);ht.editor.setModelLanguage(gr.getModel(),nn)}},[rt,wr]),(0,r.useEffect)(()=>{Ye.current.instance&&wr&&ht.editor.setTheme(Ae)},[Ae,wr]),(0,r.useEffect)(()=>{let gr=Ye.current.instance;vt.current=Kt,gr&&wr&&(gr.updateOptions(It({},Kt)),setTimeout(()=>{gr.getModel().updateOptions(It({},Kt))},200))},[JSON.stringify(Kt),wr]),(0,r.useEffect)(()=>{let gr=Ye.current.instance;gr&&wr&&gr.layout()},[Le,je,wr]);const[yr,it]=(0,r.useState)(We(Le)),[Nr,An]=(0,r.useState)(We(je)),Jn=rr(It({},lt),{width:yr,height:Nr,position:"relative"});return r.createElement("div",{className:"my-monaco-editor",ref:be,style:Jn},Vt&&r.createElement(ie.CopyToClipboard,{text:He,onCopy:()=>Q.ZP.success("\u590D\u5236\u6210\u529F")},r.createElement(le.Z,{title:"\u590D\u5236\u4EE3\u7801"},r.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},r.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:ge="100%",height:Se="100%",original:Le,modified:je,language:He,options:rt={}}){const lt=(0,r.useRef)(),[Kt,Wt]=(0,r.useState)(null);function Ae(Ht){let $t;return lt.current&&($t=new i.Z(Tt=>{for(let Xt of Tt)(Xt.target.offsetHeight>0||Xt.target.offsetWidth>0)&&Ht.layout()}),$t.observe(lt.current)),$t}(0,r.useEffect)(()=>(lt.current&&Promise.all([e.e(8909),e.e(9404)]).then(e.bind(e,2550)).then(Ht=>{ht=Ht;const $t=ht.editor.createDiffEditor(lt.current,rr(It({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},rt),{wordWrap:!0}));Wt($t);let Tt=Ae($t);return()=>{$t.dispose();const Xt=$t.getModel();Xt&&Xt.dispose(),Tt.unobserve(lt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,r.useEffect)(()=>{Kt&&Kt.setModel({original:ht.editor.createModel(Le,He),modified:ht.editor.createModel(je,He)})},[Le,je,He,Kt]);const qe=We(ge),Vt=We(Se),kt={width:qe,height:Vt};return r.createElement("div",{className:"my-diff-editor",ref:lt,style:kt})}},97760:function(d,v,e){"use strict";e.d(v,{k:function(){return b}});var r=e(83325),i=e(8591),l=e(56854),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)),m=(k,R)=>{var A={};for(var P in k)u.call(k,P)&&R.indexOf(P)<0&&(A[P]=k[P]);if(k!=null&&h)for(var P of h(k))R.indexOf(P)<0&&a.call(k,P)&&(A[P]=k[P]);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:P}){const{userInfo:M}=yield P(B=>B.user);if(M!=null&&M.school_id){const B=yield R(r.BA,M.school_id);if(B&&B.data){const N=l.U.getItem(M==null?void 0:M.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[0],value:B.data.map(G=>({label:G.name,value:G.ec_major_school_id})),active:B.data.length>0?N[0]||B.data[0].ec_major_school_id:void 0}})}}},*getYearList({payload:k},{call:R,put:A,select:P}){const M=yield R(r.Nx,k.id),{userInfo:B}=yield P(N=>N.user);if(M&&M.data){const N=l.U.getItem(B==null?void 0:B.login);yield A({type:"setMajorOrYearDataSource",payload:{key:b[1],value:M.data.map(G=>({label:G.year,value:G.ec_year_id})),active:M.data.length>0?k.firstEnter?N[1]:M.data[0].ec_year_id:void 0}})}},*getCourseResults({payload:k={}},{call:R,put:A,select:P}){const{calc:M,page:B,per_page:N}=k,{headerData:G,tabListData:W}=yield P(ne=>ne.engineeringEvaluteList),{userInfo:H}=yield P(ne=>ne.user);let ae=G.active[b[1]];if(ae){let ne={id:ae,page:B||1,per_page:N||W.pageSize};M&&(ne=y(p({},ne),{page:W.pageNo}));const oe=yield R(r._y,ne),q=[G.active[b[0]],G.active[b[1]]];l.U.setItem(H==null?void 0:H.login,q),oe&&oe.ec_courses&&(yield A({type:"setCourseResults",payload:y(p({},W),{pageNo:ne.page,total:oe.count,pageSize:ne.per_page||W.pageSize,dataSource:oe.ec_courses.map((J,K)=>y(p({},J),{key:ne.page>1?(ne.page-1)*ne.per_page+K+1:K+1}))})}))}else yield A({type:"setCourseResults",payload:y(p({},W),{pageNo:1,total:0,dataSource:[]})})},*exportCourse({payload:k},{call:R,select:A}){const{headerData:P}=yield A(M=>M.engineeringEvaluteList);P.active[b[1]]&&(yield R(r.F,P.active[b[1]]))},*compute({payload:k},{call:R,put:A}){const P=k,{all:M}=P,B=m(P,["all"]),N=yield R(M?r.At:r.PX,B);N&&N.status===0?(i.ZP.success("\u8BA1\u7B97\u5B8C\u6210"),yield A({type:"getCourseResults",payload:{calc:!0}})):i.ZP.error(N.message)}},reducers:{save(k,R){return p(p({},k),R.payload)},setMajorOrYearDataSource(k,{payload:R}){let A=k.headerData.active;return R.active&&(A=y(p({},A),{[R.key]:R.active})),y(p({},k),{headerData:y(p({},k.headerData),{dataSource:y(p({},k.headerData.dataSource),{[R.key]:y(p({},k.headerData.dataSource[R.key]),{dataList:R.value})}),active:A})})},setMajorOrYearActive(k,{payload:R}){return y(p({},k),{headerData:y(p({},k.headerData),{active:y(p({},k.headerData.active),{[R.key]:R.value})})})},setCourseResults(k,{payload:R}){return y(p({},k),{tabListData:p(p({},k.tabListData),R)})}},subscriptions:{setup({dispatch:k,history:R}){return R.listen(({pathname:A})=>{A==="/"&&k({type:"query"})})}}};v.Z=S},37798: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(m=>({value:m.id,label:m.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:m,multiple_questions:b,judgement_questions:S,program_questions:k,completion_questions:R,subjective_questions:A,practical_questions:P,combination_questions:M}=x||{},N=[o({type:"SINGLE",name:"\u5355\u9009\u9898"},m),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"},P),o({type:"COMBINATION",name:"\u7EC4\u5408\u9898"},M)].filter(G=>G.questions_count>0).map((G,W)=>o(o({},G),{number:u[W+1]}));return{all_questions_count:p,all_score:y,questionList:N}}},56854:function(d,v,e){"use strict";e.d(v,{U:function(){return c},t:function(){return l}});var r=e(43418),i=e(34055);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)}}},96047: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 P},Zm:function(){return u},bz:function(){return f},eF:function(){return S},gQ:function(){return R},ht:function(){return m},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(82093),i=(N,G,W)=>new Promise((H,ae)=>{var ne=J=>{try{q(W.next(J))}catch(K){ae(K)}},oe=J=>{try{q(W.throw(J))}catch(K){ae(K)}},q=J=>J.done?H(J.value):Promise.resolve(J.value).then(ne,oe);q((W=W.apply(N,G)).next())});function l(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/avatar.json`,{method:"put",body:N})})}function c(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}.json`,{method:"get"})})}function f(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:N})})}function o(N){return i(this,null,function*(){return(0,r.ZP)("/api/schools/limit_list.json",{method:"get",params:N})})}function h(N){return i(this,null,function*(){return(0,r.ZP)(`/api/schools/${N.id}/departments/for_option.json`,{method:"get",params:N})})}function u(N){return i(this,null,function*(){return(0,r.ZP)("/api/add_department_applies.json",{method:"post",body:N})})}function a(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}.json`,{method:"put",body:N})})}function x(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/authentication_apply.json`,{method:"delete"})})}function p(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/professional_auth_apply.json`,{method:"delete"})})}function y(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/professional_auth_apply.json`,{method:"post",body:N})})}function m(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.id}/authentication_apply.json`,{method:"post",body:N})})}function b(N){return i(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:N})})}function S(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/phone_bind.json`,{method:"post",body:N})})}function k(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/email_bind.json`,{method:"post",body:N})})}function R(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.login}/password.json`,{method:"put",body:N})})}function A(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${N.basicInfoId}/open_users/${N.id}.json`,{method:"delete"})})}function P(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_authentication.json`,{method:"post",body:N})})}function M(N){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/cancel_professional_certification.json`,{method:"post",body:N})})}function B(N,G){return i(this,null,function*(){return(0,r.ZP)(`/api/users/${N.login}/videos/${N.id}/create_subject_video.json`,{method:"post",body:G})})}},1754: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(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(m,b,S)=>b in m?i(m,b,{enumerable:!0,configurable:!0,writable:!0,value:S}):m[b]=S,h=(m,b)=>{for(var S in b||(b={}))c.call(b,S)&&o(m,S,b[S]);if(l)for(var S of l(b))f.call(b,S)&&o(m,S,b[S]);return m},u=(m,b,S)=>new Promise((k,R)=>{var A=B=>{try{M(S.next(B))}catch(N){R(N)}},P=B=>{try{M(S.throw(B))}catch(N){R(N)}},M=B=>B.done?k(B.value):Promise.resolve(B.value).then(A,P);M((S=S.apply(m,b)).next())});function a(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_up.json`,{method:"post",body:h({},m)})})}function x(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/inform_down.json`,{method:"post",body:h({},m)})})}function p(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/update_informs.json`,{method:"post",body:h({},m)})})}function y(m){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${m.coursesId}/new_informs.json`,{method:"post",body:h({},m)})})}},14794:function(d,v,e){"use strict";e.d(v,{$n:function(){return S},H:function(){return b},Nm:function(){return y},Ot:function(){return m},SV:function(){return a},fc:function(){return R},mn:function(){return k},tO:function(){return p},zI:function(){return x}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,P,M)=>P in A?i(A,P,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[P]=M,h=(A,P)=>{for(var M in P||(P={}))c.call(P,M)&&o(A,M,P[M]);if(l)for(var M of l(P))f.call(P,M)&&o(A,M,P[M]);return A},u=(A,P,M)=>new Promise((B,N)=>{var G=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},W=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(G,W);H((M=M.apply(A,P)).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 m(A){return u(this,null,function*(){const{id:P}=A;return delete A.id,(0,r.ZP)(`/api/files/${P}.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)})})}},74891:function(d,v,e){"use strict";e.d(v,{CJ:function(){return y},Mf:function(){return R},NA:function(){return S},PC:function(){return m},PP:function(){return b},YQ:function(){return k},cc:function(){return p},dI:function(){return x},yq:function(){return a}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(A,P,M)=>P in A?i(A,P,{enumerable:!0,configurable:!0,writable:!0,value:M}):A[P]=M,h=(A,P)=>{for(var M in P||(P={}))c.call(P,M)&&o(A,M,P[M]);if(l)for(var M of l(P))f.call(P,M)&&o(A,M,P[M]);return A},u=(A,P,M)=>new Promise((B,N)=>{var G=ae=>{try{H(M.next(ae))}catch(ne){N(ne)}},W=ae=>{try{H(M.throw(ae))}catch(ne){N(ne)}},H=ae=>ae.done?B(ae.value):Promise.resolve(ae.value).then(G,W);H((M=M.apply(A,P)).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 m(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)})})}},64948:function(d,v,e){"use strict";e.d(v,{$T:function(){return yr},A:function(){return $t},Ab:function(){return ui},Al:function(){return Q},BQ:function(){return ht},BR:function(){return ee},Bn:function(){return Le},Cq:function(){return jt},DJ:function(){return Ne},Dd:function(){return m},Ds:function(){return Ue},EO:function(){return Tt},Ed:function(){return Bt},F9:function(){return rt},FU:function(){return Kt},Fg:function(){return b},GV:function(){return ur},Gk:function(){return q},Gm:function(){return zt},Gz:function(){return S},Hl:function(){return k},Hn:function(){return W},ID:function(){return un},IU:function(){return Ce},J2:function(){return rr},K$:function(){return ge},KP:function(){return yt},KT:function(){return De},L$:function(){return Vt},LH:function(){return P},Lk:function(){return Hi},Ls:function(){return ie},MA:function(){return Jn},Mc:function(){return fi},N7:function(){return se},Nd:function(){return oe},Nl:function(){return Dt},Ns:function(){return mn},O3:function(){return Ze},Pj:function(){return Pt},QX:function(){return pe},QZ:function(){return Pe},R2:function(){return K},Rk:function(){return Ar},S9:function(){return kt},U8:function(){return Rt},UD:function(){return wr},U_:function(){return ae},Uy:function(){return mr},V8:function(){return G},Vw:function(){return $},W0:function(){return Zt},W7:function(){return Je},WK:function(){return gr},Wr:function(){return aa},YR:function(){return Ge},Z0:function(){return vt},ZL:function(){return wt},ZT:function(){return Ni},ZX:function(){return vn},Z_:function(){return M},_0:function(){return B},_9:function(){return nt},_B:function(){return Pi},aP:function(){return St},aQ:function(){return Et},aZ:function(){return Ae},al:function(){return Ht},bm:function(){return rn},bz:function(){return je},c_:function(){return gt},ds:function(){return Yr},fN:function(){return nn},fr:function(){return Xt},g4:function(){return Yt},gq:function(){return R},hf:function(){return z},i:function(){return Lt},i6:function(){return Nr},i7:function(){return Zr},iE:function(){return a},ih:function(){return Wn},kW:function(){return It},km:function(){return sr},nP:function(){return p},nQ:function(){return He},nX:function(){return Or},oM:function(){return Se},oR:function(){return Ra},o_:function(){return Ie},pf:function(){return At},pr:function(){return mi},pv:function(){return it},qB:function(){return le},r2:function(){return N},rS:function(){return A},s:function(){return si},sb:function(){return qe},sm:function(){return y},t1:function(){return We},tB:function(){return gi},tR:function(){return lt},td:function(){return ct},uh:function(){return Wt},up:function(){return _t},v2:function(){return x},vV:function(){return be},w9:function(){return ne},wR:function(){return An},yS:function(){return ce},yV:function(){return J},yd:function(){return Me},zg:function(){return me}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(bt,ut,ii)=>ut in bt?i(bt,ut,{enumerable:!0,configurable:!0,writable:!0,value:ii}):bt[ut]=ii,h=(bt,ut)=>{for(var ii in ut||(ut={}))c.call(ut,ii)&&o(bt,ii,ut[ii]);if(l)for(var ii of l(ut))f.call(ut,ii)&&o(bt,ii,ut[ii]);return bt},u=(bt,ut,ii)=>new Promise((Si,li)=>{var sa=Rn=>{try{pi(ii.next(Rn))}catch(Jt){li(Jt)}},Ti=Rn=>{try{pi(ii.throw(Rn))}catch(Jt){li(Jt)}},pi=Rn=>Rn.done?Si(Rn.value):Promise.resolve(Rn.value).then(sa,Ti);pi((ii=ii.apply(bt,ut)).next())});const a=bt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/course_videos/configs.json`,{method:"put",body:bt})}),x=bt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/course_videos/list_for_config.json`,{method:"Get",params:bt})}),p=bt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/homework_commons/max_late_time.json`,{method:"Get",params:bt})}),y=bt=>u(void 0,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/homework_commons/batch_late_setting`,{method:"post",body:bt})}),m=bt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/course_use_infos.json",{method:"Get",params:bt})}),b=bt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/rank_list.json",{method:"Get",params:bt})}),S=bt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_body.json",{method:"Get",params:bt})}),k=bt=>u(void 0,null,function*(){return(0,r.ZP)("/api/course_statistics/statistics_header.json",{method:"Get",params:bt})});function R(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.course_id}/set_assistant_permissions.json`,{method:"post",body:h({},bt.permissions)})})}function A(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.course_id}/assistant_permissions.json`,{method:"Get",params:h({},bt)})})}function P(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/ai_status_query.json`,{method:"Get",params:bt})})}function M(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/update_course_portrait_data.json`,{method:"post",body:h({},bt)})})}function B(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/get_user_portrait_config.json`,{method:"Get",params:bt})})}function N(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/update_user_portrait_config.json?id=${bt.coursesId}`,{method:"put",body:h({},bt)})})}function G(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"Get",params:h({},bt)})})}function W(bt){return u(this,null,function*(){return(0,r.ZP)("/api/intelligent_recommendations/according_course_recommend_shixuns.json",{method:"Get",params:h({},bt)})})}function H(bt){return u(this,null,function*(){return Fetch("/api/disciplines.json",{method:"Get",params:h({},bt)})})}function ae(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/top_banner.json`,{method:"get",params:h({},bt)})})}function ne(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id||bt.coursesId}/left_banner.json`,{method:"get",params:h({},bt)})})}function oe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/homework_commons.json`,{method:"get",params:h({},bt)})})}function q(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/homework_commons/list.json`,{method:"get",params:h({},bt)})})}function J(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/graduation_topics.json`,{method:"get",params:h({},bt)})})}function K(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/graduation_tasks.json`,{method:"get",params:h({},bt)})})}function se(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/v2/courses/${bt.id}/exercises.json`,{method:"get",params:h({},bt)})})}function ee(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/polls.json`,{method:"get",params:h({},bt)})})}function Q(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/homework_commons.json`,{method:"get",params:h({},bt)})})}function le(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/course_groups.json`,{method:"get",params:h({},bt)})})}function z(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/all_course_groups.json`,{method:"get",params:h({},bt)})})}function $(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/attendances.json`,{method:"get",params:h({},bt)})})}function ie(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/courses/${bt.coursesId}/attendances.json`,{method:"get",params:h({},bt)})})}function me(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/attendances/${bt.id}/edit.json`,{method:"get",params:h({},bt)})})}function Pe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/informs.json`,{method:"get",params:h({},bt)})})}function De(bt){return u(this,null,function*(){return(0,r.ZP)("/api/files.json",{method:"get",params:h({},bt)})})}function Ze(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/course_videos.json`,{method:"get",params:h({},bt)})})}function Ne(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/live_links.json`,{method:"get",params:h({},bt)})})}function Bt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/mine.json",{method:"get",params:h({},bt)})})}function yt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${bt.categoryId}/messages.json`,{method:"get",params:h({},bt)})})}function It(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/course_groups.json`,{method:"get",params:h({},bt)})})}function rr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/students.json`,{method:"get",params:h({},bt)})})}function Yt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/statistics.json`,{method:"get",params:h({},bt)})})}function ur(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/work_score.json`,{method:"get",params:h({},bt)})})}function We(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/act_score.json`,{method:"get",params:h({},bt)})})}function Pt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/shixun_lists.json",{method:"get",params:h({},bt)})})}function zt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"get",params:h({},bt)})})}function nt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/homework_commons/impersonal_list.json`,{method:"get",params:h({},bt)})})}function Et(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/homework_commons/create_shixun_homework.json`,{method:"post",body:h({},bt)})})}function ht(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt==null?void 0:bt.course_id}/homework_commons/create_collaborators.json`,{method:"post",body:h({},bt)})})}function Je(bt){return u(this,null,function*(){return(0,r.ZP)("/api/subject_lists.json",{method:"get",params:h({},bt)})})}function Ue(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/homework_commons/create_subject_homework.json`,{method:"post",body:h({},bt)})})}function ge(bt){return u(this,null,function*(){return(0,r.ZP)("/api/schools/school_list.json",{method:"get",params:bt})})}function Se(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_course_list.json",{method:"post",body:bt})})}function Le(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses.json",{method:"post",body:bt})})}function je(bt){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:bt})})}function He(bt){return u(this,null,function*(){return(0,r.ZP)("/api/users/member_search.json",{method:"get",params:bt})})}function rt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/student_groups.json",{method:"get",params:h({page:1,limit:1e3},bt)})})}function lt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.identifier}/add_student_groups.json`,{method:"post",body:bt})})}function Kt(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/search_all.json",{method:"get",params:bt})})}function Wt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/add_teacher.json`,{method:"post",body:bt})})}function Ae(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/add_students_by_search.json`,{method:"post",body:bt})})}function qe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/set_public_or_private.json`,{method:"post",body:bt})})}function Vt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/set_invite_code_halt.json`,{method:"post",body:bt})})}function kt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/duplicate_course.json`,{method:"post",body:bt})})}function Ht(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/update_end_date.json`,{method:"put",body:bt})})}function $t(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}.json`,{method:"delete",body:bt})})}function Tt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/settings.json`,{method:"get",params:h({},bt)})})}function Xt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}.json`,{method:"put",body:bt})})}function Ge(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_couser_info.json`,{method:"get",params:{export:!0}})})}function ce(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_member_act_score_async.json`,{method:"get",params:h({export:!0},bt)})})}function pe(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_total_homework_commons_score.json`,{method:"get",params:h({export:!0},bt)})})}function Dt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_total_exercises_and_other_score.json`,{method:"get",params:h({export:!0},bt)})})}function Ce(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_star_user.json`,{method:"get",params:h({export:!0},bt)})})}function ct(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_mooc_records.json`,{method:"get",params:h({export:!0},bt)})})}function Zt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/export_total_course_score.json`,{method:"get",params:h({export:!0},bt)})})}function St(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${bt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},bt)})})}function Ie(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${bt.categoryId}/export_shixun_report.json`,{method:"get",params:h({export:!0},bt)})})}function wt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt.categoryId}/export_exercise_users.json`,{method:"get",params:h({export:!0},bt)})})}function be(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt.categoryId}/export_exercise_word.json`,{method:"get",params:h({export:!0},bt)})})}function Ye(bt){return u(this,null,function*(){return Fetch(`/api/homework_commons/${bt.categoryId}/works_list.zip`,{method:"get",params:h({export:!0},bt)})})}function vt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api//course_second_categories/${bt.id}.json`,{method:"delete",params:{export:!0}})})}function Lt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api//boards/${bt.id}.json`,{method:"delete",params:{export:!0}})})}function Me(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${bt.id}/sticky_module.json`,{method:"get"})})}function Or(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_modules/${bt.id}/hidden_module.json`,{method:"get"})})}function At(bt){return u(this,null,function*(){return(0,r.ZP)("/api/courses/new.json",{method:"get",params:bt})})}function Yr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/weapps/attendances/${bt.id}.json`,{method:"get",params:bt})})}function rn(bt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"get",params:bt})})}function wr(bt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances/update_status.json",{method:"post",body:bt})})}function jr(bt){return u(this,null,function*(){return Fetch(`/api/polls/${bt.categoryId}/commit_result.xlsx`,{method:"get",params:h({export:!0},bt)})})}function mr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt.categoryId}/export_scores.json`,{method:"get",params:h({export:!0},bt)})})}function Zr(bt){return(0,r.ZP)(`/api/polls/${bt.categoryId}/start_answer.json`,{method:"get",params:h({},bt)})}function un(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${bt.questionId}/poll_votes.json`,{method:"post",body:bt})})}function mn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${bt.categoryId}/commit_poll.json`,{method:"post",body:bt})})}function sr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.courseId}/tasks_list.json`,{method:"get",params:bt})})}function Rt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.courseId}/update_task_position.json`,{method:"post",body:bt})})}function _t(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/calculate_all_shixun_scores.json`,{method:"get",params:bt})})}function gt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/all_course_groups.json`,{method:"get",params:bt})})}function jt(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/polls/all_course_groups.json`,{method:"get",params:bt})})}function Ar(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/students.json`,{method:"get",params:bt})})}function yr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${bt.categoryId}/rename_group.json`,{method:"POST",body:bt})})}function it(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_groups/${bt.categoryId}.json`,{method:"delete",body:bt})})}function Nr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/join_course_group.json`,{method:"POST",body:bt})})}function An(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/transfer_to_course_group.json`,{method:"post",body:bt})})}function Jn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/delete_from_course.json`,{method:"post",body:bt})})}function gr(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/join_course_group.json`,{method:"post",body:bt})})}function nn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/exit_course.json`,{method:"post"})})}function vn(bt){return u(this,null,function*(){return(0,r.ZP)("/api/weapps/course_member_attendances.json",{method:"post",body:h({},bt)})})}function Wn(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/mooc_users/${bt.user_id}/edit.json`,{method:"get",params:bt})})}function si(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/mooc_users.json`,{method:"post",body:bt})})}function gi(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.coursesId}/mooc_users/${bt.user_id}.json`,{method:"put",body:bt})})}function aa(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/course_second_categories/${bt.id}/move_category.json`,{method:"post",body:bt})})}function ui(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/boards/${bt.id}/move_category.json`,{method:"post",body:bt})})}function Ni(bt){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt.id}/courseware.json`,{method:"get",params:bt})})}function mi(bt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt}/mark_wrong_topic.json`,{method:"get",params:ut})})}function Pi(bt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/exercises/${bt}/cancel_wrong_topic.json`,{method:"get",params:ut})})}function Ra(bt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${bt}/allow_end_group.json`,{method:"get",params:ut})})}function fi(bt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${bt}/homework_commons/end_with_homework_list_position.json`,{method:"post",body:ut})})}function Hi(bt,ut){return u(this,null,function*(){return(0,r.ZP)(`/api/tasks/${bt}/get_content_for_commit_id.json`,{method:"get",params:ut})})}},65906:function(d,v,e){"use strict";e.d(v,{$M:function(){return Yt},$P:function(){return Kt},Ax:function(){return x},Dh:function(){return k},FU:function(){return H},GQ:function(){return ee},IN:function(){return Ue},JM:function(){return je},Ju:function(){return rr},Mn:function(){return Je},Ni:function(){return ie},Pg:function(){return R},Pt:function(){return S},Qp:function(){return K},R9:function(){return ae},Ux:function(){return se},Vy:function(){return Ze},XJ:function(){return $},XR:function(){return yt},Ze:function(){return B},aq:function(){return M},bQ:function(){return m},bu:function(){return p},cC:function(){return a},jS:function(){return oe},lm:function(){return ge},ml:function(){return le},o3:function(){return We},pA:function(){return zt},pS:function(){return Le},pU:function(){return z},ps:function(){return W},q0:function(){return Et},qN:function(){return ht},qS:function(){return b},qj:function(){return Bt},qt:function(){return rt},rV:function(){return A},rZ:function(){return He},rk:function(){return Pe},rm:function(){return J},sK:function(){return q},sL:function(){return nt},su:function(){return Se},tC:function(){return De},tO:function(){return Ne},u9:function(){return Q},uZ:function(){return me},vV:function(){return G},xx:function(){return Wt},y8:function(){return It},yS:function(){return N},zF:function(){return y},zc:function(){return ne},zj:function(){return P},zz:function(){return lt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(Ae,qe,Vt)=>qe in Ae?i(Ae,qe,{enumerable:!0,configurable:!0,writable:!0,value:Vt}):Ae[qe]=Vt,h=(Ae,qe)=>{for(var Vt in qe||(qe={}))c.call(qe,Vt)&&o(Ae,Vt,qe[Vt]);if(l)for(var Vt of l(qe))f.call(qe,Vt)&&o(Ae,Vt,qe[Vt]);return Ae},u=(Ae,qe,Vt)=>new Promise((kt,Ht)=>{var $t=Ge=>{try{Xt(Vt.next(Ge))}catch(ce){Ht(ce)}},Tt=Ge=>{try{Xt(Vt.throw(Ge))}catch(ce){Ht(ce)}},Xt=Ge=>Ge.done?kt(Ge.value):Promise.resolve(Ge.value).then($t,Tt);Xt((Vt=Vt.apply(Ae,qe)).next())});const a=Ae=>(0,r.ZP)(`/api/competitions/${Ae.identifier}/create_guide.json`,{method:"post",body:Ae}),x=Ae=>(0,r.ZP)(`/api/competitions/${Ae.identifier}/guides.json`,{method:"get",params:Ae}),p=Ae=>(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/${Ae.competition_team_id}/edit_info.json`,{method:"put",body:Ae});function y(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/update_result.json`,{method:"post",body:Ae})})}function m(Ae){return u(this,null,function*(){return(0,r.ZP)("/api/competitions.json",{method:"Get",params:h({},Ae)})})}function b(Ae){return u(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:Ae})})}function S(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams.json`,{method:"post"})})}function k(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_staff.json`,{method:"get"})})}function R(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/common_header.json`,{method:"get"})})}function A(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/${Ae.url}`,{method:"get",params:h({},Ae)})})}function P(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/update_md_content.json`,{method:"post",body:Ae})})}function M(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams.json`,{method:"get",params:Ae})})}function B(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/${Ae.Teannameid}/edit.json`,{method:"get",params:Ae})})}function N(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/${Ae.Teannameid}.json`,{method:"put",body:Ae})})}function G(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/${Ae.id}/leave.json`,{method:"post",body:Ae})})}function W(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/${Ae.id}.json`,{method:"delete"})})}function H(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams.json`,{method:"post",body:Ae})})}function ae(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.id}/add_managers.json`,{method:"post",body:Ae})})}function ne(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/join.json`,{method:"post",body:Ae})})}function oe(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/teachers.json`,{method:"get",params:Ae})})}function q(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/students.json`,{method:"get",params:Ae})})}function J(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/${Ae.teamid}/crud_team_members.json`,{method:"post",body:Ae})})}function K(Ae){return u(this,null,function*(){return(0,r.ZP)("/api/users/competition_reward.json",{method:"post",body:Ae})})}function se(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/chart_rules.json`,{method:"get"})})}function ee(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/charts.json`,{method:"get",params:Ae})})}function Q(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/results.json`,{method:"get",params:Ae})})}function le(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/md_tab_rules.json`,{method:"get",params:Ae})})}function z(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/prize.json`,{method:"get",params:Ae})})}function $(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ae.id}.json`,{method:"get",params:Ae})})}function ie(Ae){return u(this,null,function*(){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:Ae})})}function me(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ae.userid}/phone_bind.json`,{method:"post",body:Ae})})}function Pe(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ae.userid}/email_bind.json`,{method:"post",body:Ae})})}function De(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ae.userid}/professional_auth_apply.json`,{method:"delete"})})}function Ze(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/users/accounts/${Ae.userid}/authentication_apply.json`,{method:"delete"})})}function Ne(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/prize_leader_account.json`,{method:"put",body:Ae})})}function Bt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/${Ae.teamid}/shixun_detail.json`,{method:"get"})})}function yt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams/${Ae.teamid}/course_detail.json`,{method:"get"})})}function It(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/attachments/${Ae.id}.json`,{method:"delete"})})}function rr(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.id}/get_certificate_info.json`,{method:"get",params:Ae})})}function Yt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.id}/basic_setting.json`,{method:"post",body:Ae})})}function ur(){return u(this,null,function*(){return Fetch("/api/competitions/download_template",{method:"get",responseType:"arraybuffer"})})}function We(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae}/common_header.json`,{method:"get"})})}function Pt(Ae){return u(this,null,function*(){return Fetch("/api/competitions.json",{method:"post",body:Ae})})}function zt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae==null?void 0:Ae.id}/search_managers.json`,{method:"get",params:Ae})})}function nt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae}/get_managers.json`,{method:"get"})})}function Et(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae==null?void 0:Ae.id}/add_managers.json`,{method:"post",body:Ae})})}function ht(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae==null?void 0:Ae.id}/delete_managers.json`,{method:"delete",body:Ae})})}function Je(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae}/get_picture.json`,{method:"get"})})}function Ue(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae==null?void 0:Ae.id}/identifier_exist.json`,{method:"post",body:Ae})})}function ge(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae}/get_shixun_settings.json`,{method:"get"})})}function Se(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae==null?void 0:Ae.id}/shixun_add.json`,{method:"post",body:Ae})})}function Le(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae==null?void 0:Ae.id}/shixun_delete.json`,{method:"delete",body:Ae})})}function je(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae==null?void 0:Ae.id}/shixun_select.json`,{method:"post",body:Ae})})}function He(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae}/info_finish.json`,{method:"get"})})}function rt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae==null?void 0:Ae.id}/competition_review.json`,{method:"post",body:h({},Ae)})})}function lt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_teams.json`,{method:"get",params:Ae})})}function Kt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/all_team_members.json`,{method:"get",params:Ae})})}function Wt(Ae){return u(this,null,function*(){return(0,r.ZP)(`/api/competitions/${Ae.identifier}/competition_commit_records/member_works.json`,{method:"get",params:Ae})})}},83325:function(d,v,e){"use strict";e.d(v,{F:function(){return b},OE:function(){return P},ff:function(){return S},p1:function(){return k},_y:function(){return m},mK:function(){return G},gq:function(){return H},eM:function(){return N},BA:function(){return oe},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 W},No:function(){return ae},ay:function(){return K}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(se,ee,Q)=>ee in se?i(se,ee,{enumerable:!0,configurable:!0,writable:!0,value:Q}):se[ee]=Q,a=(se,ee)=>{for(var Q in ee||(ee={}))o.call(ee,Q)&&u(se,Q,ee[Q]);if(f)for(var Q of f(ee))h.call(ee,Q)&&u(se,Q,ee[Q]);return se},x=(se,ee)=>l(se,c(ee)),p=(se,ee)=>{var Q={};for(var le in se)o.call(se,le)&&ee.indexOf(le)<0&&(Q[le]=se[le]);if(se!=null&&f)for(var le of f(se))ee.indexOf(le)<0&&h.call(se,le)&&(Q[le]=se[le]);return Q},y=(se,ee,Q)=>new Promise((le,z)=>{var $=Pe=>{try{me(Q.next(Pe))}catch(De){z(De)}},ie=Pe=>{try{me(Q.throw(Pe))}catch(De){z(De)}},me=Pe=>Pe.done?le(Pe.value):Promise.resolve(Pe.value).then($,ie);me((Q=Q.apply(se,ee)).next())});const m=se=>y(void 0,null,function*(){var ee=se,{id:Q}=ee,le=p(ee,["id"]);return(0,r.ZP)(`/api/ec_years/${Q}/course_results.json`,{method:"get",params:le})}),b=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/course_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},S=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/get_class.json`,{method:"get"}),k=({ec_year_id:se,id:ee,class_name:Q=null})=>(0,r.ZP)(`/api/ec_years/${se}/course_results/${ee}.json`,{method:"get",params:{class_name:Q}}),R=({ec_year_id:se})=>(0,r.ZP)("/api/ec_courses/1/evaluations/compute_all_courses_data",{method:"post",body:{ec_year_id:se}}),A=({ec_course_id:se})=>(0,r.ZP)(`/api/ec_courses/${se}/evaluations/evaluation_data`,{method:"POST"}),P=se=>{let ee=document.createElement("iframe");ee.src=`/api/ec_years/${se}/ec_graduation_results.xlsx`,ee.style.display="none",document.body.appendChild(ee)},M=({ec_year_id:se})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_all`,{method:"post"}),B=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/compute_single?id=${ee}`,{method:"POST"}),N=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results.json`,{method:"get"}),G=se=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/get_formulas.json`,{method:"get"}),W=({ec_year_id:se,formula_one:ee,formula_two:Q,formula_three:le})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/set_formulas.json`,{method:"PUT",body:{formula_one_id:ee,formula_two_id:Q,formula_three_id:le}}),H=({ec_year_id:se,id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/ec_graduation_results/${ee}.json`,{method:"get"}),ae=se=>{var ee=se,{ec_year_id:Q,type:le,goal_value:z}=ee,$=p(ee,["ec_year_id","type","goal_value"]);let ie=`?type=${le}`,me={method:"PUT"};return le==="all"&&(ie+=`&goal_value=${z}`),le==="each"&&(me=x(a({},me),{body:$})),(0,r.ZP)(`/api/ec_years/${Q}/ec_graduation_results/set_goal_value${ie}`,me)};var ne=(se,ee,Q)=>new Promise((le,z)=>{var $=Pe=>{try{me(Q.next(Pe))}catch(De){z(De)}},ie=Pe=>{try{me(Q.throw(Pe))}catch(De){z(De)}},me=Pe=>Pe.done?le(Pe.value):Promise.resolve(Pe.value).then($,ie);me((Q=Q.apply(se,ee)).next())});const oe=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/schools/${se}/ec_majors/get_major_list.json`,{method:"get"})}),q=se=>ne(void 0,null,function*(){return(0,r.ZP)(`/api/ec_major_schools/${se}/ec_years/get_year_list.json`,{method:"get"})}),J=({ec_year_id:se,school_id:ee})=>(0,r.ZP)(`/api/ec_years/${se}/top_pages.json`,{method:"get",params:{school_id:ee}}),K=({id:se,name:ee})=>(0,r.ZP)(`/api/ec_years/1/top_pages/${se}?name=${ee}`,{method:"PUT"})},72664:function(d,v,e){"use strict";e.d(v,{$Q:function(){return P},$l:function(){return yr},BJ:function(){return ht},CD:function(){return qe},Cd:function(){return rt},Cl:function(){return Me},Di:function(){return ur},Fl:function(){return zt},G$:function(){return le},GK:function(){return Pt},Ip:function(){return ge},J:function(){return z},KE:function(){return nt},L8:function(){return Xt},LP:function(){return Se},MK:function(){return We},Mb:function(){return wr},N0:function(){return W},N3:function(){return Ne},OO:function(){return R},P8:function(){return mn},PJ:function(){return ie},PT:function(){return mr},Qc:function(){return ae},RK:function(){return Q},Ty:function(){return Ye},UH:function(){return ct},UK:function(){return Bt},Uj:function(){return Wt},Ul:function(){return He},VL:function(){return Ht},Vj:function(){return ce},W4:function(){return Kt},WL:function(){return pe},Wj:function(){return ee},X4:function(){return Ue},Xn:function(){return Yr},Xo:function(){return oe},YY:function(){return Yt},Ym:function(){return N},Yu:function(){return sr},ZD:function(){return un},Zg:function(){return Or},_B:function(){return Ae},_F:function(){return jr},_U:function(){return J},_u:function(){return me},aU:function(){return G},ab:function(){return Lt},cC:function(){return be},cV:function(){return K},ck:function(){return Zr},dp:function(){return H},eA:function(){return jt},fG:function(){return S},gA:function(){return se},gG:function(){return rn},gJ:function(){return Rt},hk:function(){return y},hv:function(){return m},iB:function(){return b},iU:function(){return k},iw:function(){return wt},kp:function(){return $t},lL:function(){return A},lf:function(){return Ze},n$:function(){return De},n7:function(){return q},nF:function(){return Ge},o3:function(){return _t},oS:function(){return Le},oX:function(){return kt},oy:function(){return vt},p7:function(){return B},pL:function(){return Vt},pu:function(){return Je},q6:function(){return Tt},qf:function(){return rr},qz:function(){return je},s:function(){return St},sA:function(){return Dt},sS:function(){return gt},tX:function(){return Zt},uR:function(){return yt},ux:function(){return Et},wy:function(){return It},xA:function(){return Ie},yE:function(){return ne},yu:function(){return Ce},zP:function(){return M},zR:function(){return Ar}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(it,Nr,An)=>Nr in it?i(it,Nr,{enumerable:!0,configurable:!0,writable:!0,value:An}):it[Nr]=An,a=(it,Nr)=>{for(var An in Nr||(Nr={}))o.call(Nr,An)&&u(it,An,Nr[An]);if(f)for(var An of f(Nr))h.call(Nr,An)&&u(it,An,Nr[An]);return it},x=(it,Nr)=>l(it,c(Nr)),p=(it,Nr,An)=>new Promise((Jn,gr)=>{var nn=si=>{try{Wn(An.next(si))}catch(gi){gr(gi)}},vn=si=>{try{Wn(An.throw(si))}catch(gi){gr(gi)}},Wn=si=>si.done?Jn(si.value):Promise.resolve(si.value).then(nn,vn);Wn((An=An.apply(it,Nr)).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}),m=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}),P=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}),N=it=>(0,r.ZP)(`/api/exercises/${it.id}/generate_exam_summary.json`,{method:"post",body:it}),G=it=>(0,r.ZP)(`/api/exercises/${it.id}/exam_summary_settings.json`,{method:"post",body:it}),W=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})}),H=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}),ne=it=>(0,r.ZP)(`/api/exercises/${it.id}/encrypt_or_decrypt.json`,{method:"post",body:it}),oe=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 se(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 ie(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 me(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_result.json`,{method:"get",params:a({},it)})})}function Pe(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 Bt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/common_header.json`,{method:"get",params:a({},it)})})}function yt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises.json`,{method:"post",body:a({},it)})})}function It(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}.json`,{method:"put",body:a({},it)})})}function rr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}.json`,{method:"get",params:a({},it)})})}function Yt(it){return p(this,null,function*(){return(0,r.ZP)("/api/tag_disciplines.json",{method:"get",params:a({},it)})})}function ur(it){return p(this,null,function*(){const{id:Nr}=it;return delete it.id,(0,r.ZP)(`/api/exercise_questions/${Nr}.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 Pt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}/up_down.json`,{method:"post",body:a({},it)})})}function zt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}.json`,{method:"delete"})})}function nt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${it.coursesId}/exercises/end_modal.json`,{method:"get",params:a({},it)})})}function Et(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/publish_groups.json`,{method:"get",params:a({},it)})})}function ht(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/user_exercise_detail.json`,{method:"get",params:a({},it)})})}function Je(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/consult_exercise.json`,{method:"post",body:a({},it)})})}function Ue(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.exerciseId}/teacher_appraise.json`,{method:"get",params:a({},it)})})}function ge(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.id}/adjust_score.json`,{method:"post",body:a({},it)})})}function Se(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 Le(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/adjust_score.json`,{method:"post",body:a({},it)})})}function je(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.id}/delayed_time.json`,{method:"post",body:a({},it)})})}function He(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/exercise_setting.json`,{method:"get",params:a({},it)})})}function rt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/v2/exercises/${it.categoryId}/exercise_setting.json`,{method:"get",params:a({},it)})})}function lt(it){return p(this,null,function*(){return Fetch(`/api/exercises/${it.categoryId}/commit_setting.json`,{method:"post",body:a({},it)})})}function Kt(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 Wt(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 Ae(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 Vt(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/start_unlock.json`,{method:"post",body:a({},it)})}function kt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercise_questions/${it.questionId}/exercise_answers.json`,{method:"post",body:it})})}function Ht(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/commit_exercise.json`,{method:"post",body:it})})}function $t(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 Xt(it){return(0,r.ZP)(`/api/${it.url}`,{method:"get",params:a({},it)})}function Ge(it){return(0,r.ZP)(`/api/problems/${it.id}/start.json`,{method:"get",params:a({},it)})}function ce(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 Dt(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 Zt(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/redo_modal.json`,{method:"get",params:a({},it)})}function St(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/student_redo_lists.json`,{method:"get",params:a({},it)})}function Ie(it){return(0,r.ZP)("/api/exercises/get_user_exercises.json",{method:"get",params:it})}function wt(it){return(0,r.ZP)(`/api/exercises/${it.id}/exercise_header.json`,{method:"get",params:a({},it)})}function be(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/allow_close_camera.json`,{method:"post",body:a({},it)})}function Ye(it){return(0,r.ZP)(`/api/exercises/${it.categoryId}/get_exercise_user_info.json`,{method:"get",params:a({},it)})}function vt(it){return(0,r.ZP)(`/api/exercises/${it.id}/record_screen`,{method:"post",params:a({},it)})}function Lt(it){return(0,r.ZP)(`/api/exercises/${it.id}/unbind_ip.json`,{method:"post",body:a({},it)})}function Me(it){return(0,r.ZP)(`/api/exercises/${it.id}/check_ip.json`,{method:"get",params:a({},it)})}function Or(it){return(0,r.ZP)(`/api/exercises/${it==null?void 0:it.id}/check_user_exercise.json`,{method:"get",params:a({},it)})}function At(it){return Fetch(`/api/exercises/${it.id}/make_up_students.json`,{method:"get",params:a({},it)})}function Yr(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 rn(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 wr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${it.categoryId}/simulate_exercise.json`,{method:"post",body:a({},it)})})}function jr(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 Zr(it){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it.categoryId}/commit_screen_at.json`,{method:"post",body:a({},it)})})}function un(it,Nr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/unlock_user`,{method:"post",body:Nr})})}function mn(it,Nr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/save_screen_record.json`,{method:"post",body:Nr})})}function sr(it,Nr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/screen_record_list.json`,{method:"get",params:Nr})})}function Rt(it){return p(this,null,function*(){return(0,r.ZP)("/api/attachments/set_ecs_attachment.json",{method:"get",params:a({},it)})})}function _t(it){return p(this,null,function*(){return(0,r.ZP)("/api/exercises/need_redo.json",{method:"get",params:it})})}function gt(it,Nr){return p(this,null,function*(){return(0,r.ZP)(`/api/exercises/${it}/mark.json`,{method:"post",body:Nr})})}function jt(it){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${it}/exit_delete_pod.json`,{method:"post",body:it})})}function Ar(it){return p(this,null,function*(){return(0,r.ZP)("/api/users/change_exercise_score.json",{method:"put",body:it})})}function yr(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)})})}},14195:function(d,v,e){"use strict";e.d(v,{B0:function(){return p},Si:function(){return R},Sr:function(){return P},YP:function(){return A},b4:function(){return k},bc:function(){return a},dX:function(){return S},eh:function(){return M},iI:function(){return m},kd:function(){return x},qR:function(){return b},sW:function(){return y},ts:function(){return N},vL:function(){return B},z5:function(){return G}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(W,H,ae)=>H in W?i(W,H,{enumerable:!0,configurable:!0,writable:!0,value:ae}):W[H]=ae,h=(W,H)=>{for(var ae in H||(H={}))c.call(H,ae)&&o(W,ae,H[ae]);if(l)for(var ae of l(H))f.call(H,ae)&&o(W,ae,H[ae]);return W},u=(W,H,ae)=>new Promise((ne,oe)=>{var q=se=>{try{K(ae.next(se))}catch(ee){oe(ee)}},J=se=>{try{K(ae.throw(se))}catch(ee){oe(ee)}},K=se=>se.done?ne(se.value):Promise.resolve(se.value).then(q,J);K((ae=ae.apply(W,H)).next())});function a(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"get",params:W})})}function x(W){return u(this,null,function*(){return(0,r.ZP)("/api/discusses/forum_discusses.json",{method:"get",params:W})})}function p(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/sticky_or_cancel.json`,{method:"post",body:W})})}function y(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"delete",body:W})})}function m(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos/new.json",{method:"get",params:W})})}function b(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/edit.json`,{method:"get",params:W})})}function S(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos.json",{method:"post",body:h({},W)})})}function k(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"put",body:h({},W)})})}function R(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}.json`,{method:"get",params:W})})}function A(W){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${W.user_id}/watch.json`,{method:"post",body:W})})}function P(W){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${W.user_id}/watch.json`,{method:"delete",body:h({},W)})})}function M(W){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${W.id}/reward_code.json`,{method:"post",body:W})})}function B(W){return u(this,null,function*(){return(0,r.ZP)(`/api/discusses/${W.id}/plus.json`,{method:"post",body:W})})}function N(W){return u(this,null,function*(){return(0,r.ZP)("/api/memos/reply.json",{method:"post",body:W})})}function G(W){return u(this,null,function*(){return(0,r.ZP)(`/api/memos/${W.id}/more_reply.json`,{method:"get",params:W})})}},92890:function(d,v,e){"use strict";e.d(v,{D2:function(){return a},n0:function(){return x},tk:function(){return p}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(y,m,b)=>m in y?i(y,m,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[m]=b,h=(y,m)=>{for(var b in m||(m={}))c.call(m,b)&&o(y,b,m[b]);if(l)for(var b of l(m))f.call(m,b)&&o(y,b,m[b]);return y},u=(y,m,b)=>new Promise((S,k)=>{var R=M=>{try{P(b.next(M))}catch(B){k(B)}},A=M=>{try{P(b.throw(M))}catch(B){k(B)}},P=M=>M.done?S(M.value):Promise.resolve(M.value).then(R,A);P((b=b.apply(y,m)).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})})}},65583:function(d,v,e){"use strict";e.d(v,{B6:function(){return p},Gr:function(){return N},Mf:function(){return P},NA:function(){return R},PC:function(){return S},PP:function(){return k},QA:function(){return x},RP:function(){return H},Sv:function(){return W},YQ:function(){return A},_n:function(){return ae},hL:function(){return B},je:function(){return b},mM:function(){return m},wA:function(){return G},x_:function(){return y},y0:function(){return M},y3:function(){return a}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(ne,oe,q)=>oe in ne?i(ne,oe,{enumerable:!0,configurable:!0,writable:!0,value:q}):ne[oe]=q,h=(ne,oe)=>{for(var q in oe||(oe={}))c.call(oe,q)&&o(ne,q,oe[q]);if(l)for(var q of l(oe))f.call(oe,q)&&o(ne,q,oe[q]);return ne},u=(ne,oe,q)=>new Promise((J,K)=>{var se=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(se,ee);Q((q=q.apply(ne,oe)).next())});function a(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function x(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/tasks_list.json`,{method:"get",params:h({},ne)})})}function p(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/show_detail.json`,{method:"get",params:h({},ne)})})}function y(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}.json`,{method:"get",params:h({},ne)})})}function m(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/refuse_student_topic.json`,{method:"post",body:h({},ne)})})}function b(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/accept_student_topic.json`,{method:"post",body:h({},ne)})})}function S(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${ne.categoryId}/show_comment.json`,{method:"get",params:h({},ne)})})}function k(ne){return u(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:h({},ne)})})}function R(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:h({},ne)})})}function A(ne){return u(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:h({},ne)})})}function P(ne){return u(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:h({},ne)})})}function M(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/new.json`,{method:"get",params:h({},ne)})})}function B(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}function N(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics`,{method:"post",body:h({},ne)})})}function G(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_topics/${ne.categoryId}`,{method:"put",body:h({},ne)})})}function W(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${ne.coursesId}/graduation_tasks`,{method:"post",body:h({},ne)})})}function H(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}.json`,{method:"put",body:h({},ne)})})}function ae(ne){return u(this,null,function*(){return(0,r.ZP)(`/api/graduation_tasks/${ne.categoryId}/edit.json`,{method:"get",params:h({},ne)})})}},86645:function(d,v,e){"use strict";e.d(v,{AA:function(){return G},Db:function(){return x},Dd:function(){return b},F7:function(){return q},Fi:function(){return le},H3:function(){return m},HF:function(){return k},HH:function(){return y},Ib:function(){return se},J3:function(){return o},NT:function(){return l},NX:function(){return A},Ot:function(){return R},Ou:function(){return J},Ps:function(){return c},Rk:function(){return oe},Tz:function(){return a},V1:function(){return ee},Wz:function(){return f},Xh:function(){return p},Xw:function(){return ne},YS:function(){return H},Zd:function(){return Q},bS:function(){return P},ck:function(){return S},eh:function(){return N},il:function(){return h},j7:function(){return u},jW:function(){return W},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(82093),i=(ie,me,Pe)=>new Promise((De,Ze)=>{var Ne=It=>{try{yt(Pe.next(It))}catch(rr){Ze(rr)}},Bt=It=>{try{yt(Pe.throw(It))}catch(rr){Ze(rr)}},yt=It=>It.done?De(It.value):Promise.resolve(It.value).then(Ne,Bt);yt((Pe=Pe.apply(ie,me)).next())});function l(ie){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})}function c(ie){return(0,r.ZP)(`/api/schools/${ie.id}/departments/for_option.json`,{method:"get",params:ie})}function f(ie){return(0,r.ZP)("/api/graduations.json",{method:"POST",body:ie})}function o(ie){return(0,r.ZP)("/api/graduations.json",{method:"get",params:ie})}function h(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/authorized_redelivery.json`,{method:"POST",body:ie})})}function u(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.stageid}/submit.json`,{method:"POST",body:ie})})}function a(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_status.json`,{method:"get",params:ie})})}function x(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/export_all_attachments.json`,{method:"get",params:ie})})}function p(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_stages/${ie.id}.json`,{method:"get",params:ie})})}function y(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/set_final_score.json`,{method:"POST",body:ie})})}function m(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/student_tasks/final_score.json`,{method:"get",params:ie})})}function b(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/set_novice_guide.json`,{method:"POST",body:ie})})}function S(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices/${ie.doid}/set_do.json`,{method:"POST",body:ie})})}function k(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"POST",body:ie})})}function R(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.identifier}/graduation_students/${ie.id}/update_major.json`,{method:"PUT",body:ie})})}function A(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"POST",body:ie})})}function P(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers/search.json`,{method:"get",params:ie})})}function M(ie){return i(this,null,function*(){return(0,r.ZP)("/api/schools/search.json",{method:"get",params:ie})})}function B(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students/search.json`,{method:"get",params:ie})})}function N(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_students.json`,{method:"get",params:ie})})}function G(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_teachers.json`,{method:"get",params:ie})})}function W(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks.json`,{method:"POST",body:ie})})}function H(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.graduation_id}/graduation_tasks/${ie.id}.json`,{method:"PUT",body:ie})})}function ae(ie){return i(this,null,function*(){var me;return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks/${(me=ie.ids)==null?void 0:me[0]}`,{method:"DELETE",body:{ids:ie.ids}})})}function ne(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_tasks.json`,{method:"get",params:ie})})}function oe(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}/graduation_notices.json`,{method:"get",params:ie})})}function q(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie.id}.json`,{method:"get"})})}function J(ie){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie==null?void 0:ie.id}/common_header.json`,{method:"get"})})}function K(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/preview.json`,{method:"get"})})}function se(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/not_pass.json`,{method:"post",body:me})})}function ee(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/pass.json`,{method:"post",body:me})})}function Q(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/not_pass.json`,{method:"post",body:me})})}function le(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/pass.json`,{method:"post",body:me})})}function z(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_students/batch_delete`,{method:"delete",body:me})})}function $(ie,me){return i(this,null,function*(){return(0,r.ZP)(`/api/graduations/${ie}/graduation_teachers/batch_delete`,{method:"delete",body:me})})}},55480:function(d,v,e){"use strict";e.d(v,{LA:function(){return a},NX:function(){return y},Rm:function(){return c},S_:function(){return x},Tt:function(){return o},Yu:function(){return b},Zz:function(){return p},cR:function(){return h},eX:function(){return l},h$:function(){return f},su:function(){return m},vm:function(){return u}});var r=e(82093),i=(S,k,R)=>new Promise((A,P)=>{var M=G=>{try{N(R.next(G))}catch(W){P(W)}},B=G=>{try{N(R.throw(G))}catch(W){P(W)}},N=G=>G.done?A(G.value):Promise.resolve(G.value).then(M,B);N((R=R.apply(S,k)).next())});const l=S=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_detail.json",{method:"Get",params:S})}),c=S=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/env_list.json",{method:"Get",params:S})}),f=S=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/online_list.json",{method:"Get",params:S})});function o(){return i(this,null,function*(){return(0,r.ZP)("/api/home/index.json",{method:"Get"})})}function h(S){return i(this,null,function*(){return(0,r.ZP)("/api/courses/apply_to_join_course.json",{method:"post",body:S})})}function u(S){return i(this,null,function*(){return(0,r.ZP)("/api/project_applies.json",{method:"post",body:S})})}function a(S){return i(this,null,function*(){return(0,r.ZP)("/api/users/home_notice.json",{method:"Get"})})}function x(S){return i(this,null,function*(){return(0,r.ZP)("/api/users/view_notice.json",{method:"post",body:S})})}const p=S=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/add_teacher.json",{method:"post",body:S})}),y=S=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/remove_teacher.json",{method:"delete",body:S})}),m=S=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/teacher_list.json",{method:"get",params:S})}),b=S=>i(void 0,null,function*(){return(0,r.ZP)("/api/home/data.json",{method:"get",params:S})})},93440:function(d,v,e){"use strict";e.d(v,{AD:function(){return a},Ig:function(){return x},Ko:function(){return m},QJ:function(){return b},Ub:function(){return S},V8:function(){return p},dl:function(){return k},w0:function(){return y}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(R,A,P)=>A in R?i(R,A,{enumerable:!0,configurable:!0,writable:!0,value:P}):R[A]=P,h=(R,A)=>{for(var P in A||(A={}))c.call(A,P)&&o(R,P,A[P]);if(l)for(var P of l(A))f.call(A,P)&&o(R,P,A[P]);return R},u=(R,A,P)=>new Promise((M,B)=>{var N=H=>{try{W(P.next(H))}catch(ae){B(ae)}},G=H=>{try{W(P.throw(H))}catch(ae){B(ae)}},W=H=>H.done?M(H.value):Promise.resolve(H.value).then(N,G);W((P=P.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 m(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"})})}},38746:function(d,v,e){"use strict";e.d(v,{A2:function(){return b},CI:function(){return p},Ep:function(){return m},Ex:function(){return M},R7:function(){return a},WW:function(){return B},_V:function(){return P},ms:function(){return R},s0:function(){return S},vf:function(){return y},xn:function(){return x},yy:function(){return A}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(N,G,W)=>G in N?i(N,G,{enumerable:!0,configurable:!0,writable:!0,value:W}):N[G]=W,h=(N,G)=>{for(var W in G||(G={}))c.call(G,W)&&o(N,W,G[W]);if(l)for(var W of l(G))f.call(G,W)&&o(N,W,G[W]);return N},u=(N,G,W)=>new Promise((H,ae)=>{var ne=J=>{try{q(W.next(J))}catch(K){ae(K)}},oe=J=>{try{q(W.throw(J))}catch(K){ae(K)}},q=J=>J.done?H(J.value):Promise.resolve(J.value).then(ne,oe);q((W=W.apply(N,G)).next())});function a(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/online_learning.json`,{method:"get"})})}function x(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"put",body:N})})}function p(N){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${N.coursesId}/course_stages.json`,{method:"post",body:N})})}function y(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_shixun_to_stage.json`,{method:"post",body:N})})}function m(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/select_shixun_to_stage.json`,{method:"post",body:N})})}function b(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_video_to_stage.json`,{method:"post",body:N})})}function S(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/add_attachment_to_stage.json`,{method:"post",body:N})})}function k(N){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:N})})}function R(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/up_position.json`,{method:"post"})})}function A(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}/down_position.json`,{method:"post"})})}function P(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.id}.json`,{method:"delete"})})}function M(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/move_position.json`,{method:"post",body:h({},N)})})}function B(N){return u(this,null,function*(){return(0,r.ZP)(`/api/course_stages/${N.stage_id}/items/${N.id}`,{method:"delete"})})}},47580:function(d,v,e){"use strict";e.d(v,{DF:function(){return b},Di:function(){return ee},Dm:function(){return oe},Dq:function(){return Pe},Gd:function(){return m},Hb:function(){return De},Hm:function(){return H},ID:function(){return u},JP:function(){return me},NC:function(){return G},Pl:function(){return S},Qc:function(){return c},Qp:function(){return q},RK:function(){return x},YP:function(){return W},a2:function(){return o},ar:function(){return y},cV:function(){return a},d1:function(){return p},dp:function(){return l},fn:function(){return k},iT:function(){return M},jK:function(){return ne},kF:function(){return Ze},kp:function(){return P},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 se},wX:function(){return J},yE:function(){return f}});var r=e(82093),i=(Ne,Bt,yt)=>new Promise((It,rr)=>{var Yt=Pt=>{try{We(yt.next(Pt))}catch(zt){rr(zt)}},ur=Pt=>{try{We(yt.throw(Pt))}catch(zt){rr(zt)}},We=Pt=>Pt.done?It(Pt.value):Promise.resolve(Pt.value).then(Yt,ur);We((yt=yt.apply(Ne,Bt)).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 m(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 P(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 N(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 G(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 W(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 H(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 ne(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne.id}.json`,{method:"put",body:Ne})})}function oe(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 se(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,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/examination_banks_item_banks.json`,{method:"post",body:Bt})})}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,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/sort_question_type.json`,{method:"post",body:Bt})})}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 ie(Ne,Bt){return i(this,null,function*(){return Fetch(`/api/examination_banks/${Ne}/batch_set_score.json`,{method:"post",body:Bt})})}function me(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/simulate_exercise.json`,{method:"post"})})}function Pe(Ne){return i(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${Ne}/exercise_header.json`,{method:"get"})})}function De(Ne,Bt,yt){return i(this,null,function*(){const It=new FormData;return It.append("file",Bt),It.append("sub_discipline_id",yt),(0,r.ZP)(`/api/examination_banks/${Ne}/import_item_banks.json`,{method:"post",body:It},!0)})}function Ze(Ne){return i(this,null,function*(){return(0,r.ZP)("/api/users/change_exam_score.json",{method:"put",body:Ne})})}},37034:function(d,v,e){"use strict";e.d(v,{$D:function(){return q},A2:function(){return ge},A7:function(){return Zt},AQ:function(){return N},Ax:function(){return Ae},Bn:function(){return wt},CI:function(){return He},DQ:function(){return pe},DU:function(){return zt},EP:function(){return oe},Ep:function(){return Ue},Er:function(){return ie},Ex:function(){return kt},FD:function(){return Dt},F_:function(){return Pt},Fg:function(){return x},GY:function(){return Xt},Go:function(){return le},Gz:function(){return p},Hl:function(){return y},JS:function(){return yt},KM:function(){return se},M2:function(){return Le},MO:function(){return me},Mt:function(){return je},Mu:function(){return qe},NV:function(){return Ie},Q:function(){return Pe},Sp:function(){return B},VO:function(){return Ce},WD:function(){return Tt},WO:function(){return $},WW:function(){return Ht},_C:function(){return St},_V:function(){return Wt},bw:function(){return ne},bz:function(){return ce},c3:function(){return Bt},eJ:function(){return Q},ef:function(){return We},fh:function(){return k},fj:function(){return z},hS:function(){return m},jT:function(){return ct},ke:function(){return $t},lk:function(){return M},mQ:function(){return P},ms:function(){return lt},mx:function(){return Ze},nq:function(){return a},ol:function(){return Ge},p:function(){return W},p4:function(){return De},pU:function(){return A},rS:function(){return It},rs:function(){return ee},s0:function(){return Se},sm:function(){return Ne},tS:function(){return b},tu:function(){return R},ue:function(){return G},vf:function(){return ht},w4:function(){return H},xG:function(){return Je},xn:function(){return Et},yN:function(){return ae},yy:function(){return Kt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(be,Ye,vt)=>Ye in be?i(be,Ye,{enumerable:!0,configurable:!0,writable:!0,value:vt}):be[Ye]=vt,h=(be,Ye)=>{for(var vt in Ye||(Ye={}))c.call(Ye,vt)&&o(be,vt,Ye[vt]);if(l)for(var vt of l(Ye))f.call(Ye,vt)&&o(be,vt,Ye[vt]);return be},u=(be,Ye,vt)=>new Promise((Lt,Me)=>{var Or=rn=>{try{Yr(vt.next(rn))}catch(wr){Me(wr)}},At=rn=>{try{Yr(vt.throw(rn))}catch(wr){Me(wr)}},Yr=rn=>rn.done?Lt(rn.value):Promise.resolve(rn.value).then(Or,At);Yr((vt=vt.apply(be,Ye)).next())});const a=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/subject_use_infos.json",{method:"Get",params:be})}),x=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/rank_list.json",{method:"Get",params:be})}),p=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_body.json",{method:"Get",params:be})}),y=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/statistics_header.json",{method:"Get",params:be})}),m=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/subject_statistics/online_count.json",{method:"Get",params:be})});function b(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"Get",params:h({},be)})})}function S(be){return u(this,null,function*(){return Fetch("/api/intelligent_recommendations/subject_lists.json",{method:"Get",params:h({},be)})})}function k(be){return u(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:h({},be)})})}function R(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"PUT",body:be})})}function A(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths.json",{method:"post",body:be})})}function P(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/edit.json`,{method:"get"})})}function M(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function B(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}.json`,{method:"get",params:h({identifier:be.id},be)})})}function N(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/right_banner.json`,{method:"get",params:be})})}function G(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"get",params:be})})}const W=be=>u(void 0,null,function*(){return(0,r.ZP)("/api/v2/stages.json",{method:"Get",params:be})}),H=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/v2/stage_shixuns/${be.id}/children.json`,{method:"Get",params:be})});function ae(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"get",params:be})})}function ne(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/update_team_title.json`,{method:"post",body:be})})}function oe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/delete_member.json`,{method:"Delete",body:be})})}function q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses/${be==null?void 0:be.courseid}.json`,{method:"Delete"})})}function J(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/up_member_position.json`,{method:"post",body:be})})}function K(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/down_member_position.json`,{method:"post",body:be})})}function se(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"post",body:be})})}function ee(be){return u(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:be})})}function Q(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}.json`,{method:"Delete",body:be})})}function le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/publish.json`,{method:"post",body:be})})}function z(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_publish.json`,{method:"post",body:be})})}function $(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/apply_public.json`,{method:"post",body:be})})}function ie(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/cancel_public.json`,{method:"post",body:be})})}function me(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/choose_course.json`,{method:"get",params:be})})}function Pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/send_to_course.json`,{method:"post",body:be})})}function De(be){return u(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${be.id}/send_to_course.json`,{method:"post",body:be})})}function Ze(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/add_subject_members.json`,{method:"post",body:be})})}function Ne(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/spoc_courses.json`,{method:"post",body:be})})}function Bt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/appointment.json`,{method:"post",body:be})})}function yt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/join_excellent_course.json`,{method:"post",body:be})})}function It(be){return u(this,null,function*(){return(0,r.ZP)("/api/watch_attachment_histories.json",{method:"post",body:be})})}function rr(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/statistics_info.json`,{method:"get",params:be})})}function Yt(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/shixun_analyze.json`,{method:"get",params:be})})}function ur(be){return u(this,null,function*(){return Fetch(`/api/paths/${be.id}/learning_analyze.json`,{method:"get",params:be})})}function We(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/learning_statistics.json`,{method:"get",params:be})})}function Pt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/shixun_statistics.json`,{method:"get",params:be})})}function zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/study_analyze/${be.type}.json`,{method:"get",params:be})})}function nt(be){return u(this,null,function*(){return Fetch("/api/paths/append_to_stage.json",{method:"post",body:be})})}function Et(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"put",body:be})})}function ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_shixun_to_stage.json`,{method:"post",body:be})})}const Je=be=>u(void 0,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.stage_id}/select_challenge_to_stage.json`,{method:"post",body:be})});function Ue(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/select_shixun_to_stage.json`,{method:"post",body:be})})}function ge(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_video_to_stage.json`,{method:"post",body:be})})}function Se(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_attachment_to_stage.json`,{method:"post",body:be})})}function Le(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be.id}.json`,{method:"put",body:be})})}function je(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/add_blank_to_stage.json`,{method:"post",body:be})})}function He(be){return u(this,null,function*(){return(0,r.ZP)("/api/stages.json",{method:"post",body:be})})}function rt(be){return u(this,null,function*(){return Fetch("/api/paths/add_shixun_to_stage.json",{method:"post",body:be})})}function lt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/up_position.json`,{method:"get"})})}function Kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}/down_position.json`,{method:"get"})})}function Wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.id}.json`,{method:"delete"})})}function Ae(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.pathId}/discusses.json`,{method:"get",params:h({},be)})})}function qe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.coursesId}/excellent_discusses.json`,{method:"get",params:h({},be)})})}function Vt(be){return u(this,null,function*(){return Fetch("/api/discusses.json",{method:"post",body:h({},be)})})}function kt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/move_position`,{method:"post",body:h({},be)})})}function Ht(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be.stage_id}/items/${be.id}`,{method:"delete"})})}function $t(be){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${be.id}/excellent_discuss`,{method:"post",body:h({},be)})})}function Tt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/paths/${be.id}/post_discuss`,{method:"post",body:h({},be)})})}function Xt(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/for_option.json",{method:"get",params:be})})}function Ge(be){return u(this,null,function*(){return(0,r.ZP)("/api/schools/province_data.json",{method:"get",params:be})})}function ce(be){return u(this,null,function*(){return(0,r.ZP)("/api/add_school_applies.json",{method:"post",body:be})})}function pe(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/add_homework_to_stage.json`,{method:"post",body:be})})}function Dt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}/edit.json`,{method:"get",params:be})})}function Ce(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stage_shixuns/${be==null?void 0:be.id}.json`,{method:"put",body:be})})}function ct(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/subjects/subject_homework.json`,{method:"get",params:be})})}function Zt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_id}/courses/course_homework.json`,{method:"get",params:be})})}function St(be){return u(this,null,function*(){return(0,r.ZP)(`/api/stages/${be==null?void 0:be.id}/batch_add_homework_to_stage.json`,{method:"post",body:be})})}function Ie(be){return u(this,null,function*(){return(0,r.ZP)("/api/paths/get_homework_detail.json",{method:"get",params:be})})}function wt(be){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${be==null?void 0:be.user_login}/subjects/cancel.json`,{method:"get",params:be})})}},79763:function(d,v,e){"use strict";e.d(v,{Fd:function(){return se},Hi:function(){return y},IU:function(){return G},KE:function(){return b},Kc:function(){return Q},MK:function(){return W},Q9:function(){return P},Qg:function(){return N},Qn:function(){return k},UK:function(){return p},W:function(){return z},Ye:function(){return B},_c:function(){return a},hO:function(){return oe},iV:function(){return le},jy:function(){return H},kp:function(){return ne},lf:function(){return A},m7:function(){return m},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(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=($,ie,me)=>ie in $?i($,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):$[ie]=me,h=($,ie)=>{for(var me in ie||(ie={}))c.call(ie,me)&&o($,me,ie[me]);if(l)for(var me of l(ie))f.call(ie,me)&&o($,me,ie[me]);return $},u=($,ie,me)=>new Promise((Pe,De)=>{var Ze=yt=>{try{Bt(me.next(yt))}catch(It){De(It)}},Ne=yt=>{try{Bt(me.throw(yt))}catch(It){De(It)}},Bt=yt=>yt.done?Pe(yt.value):Promise.resolve(yt.value).then(Ze,Ne);Bt((me=me.apply($,ie)).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 m($){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 P($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls/publish_modal.json`,{method:"get",params:h({},$)})})}function M($){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${$.coursesId}/polls.json`,{method:"POST",body:h({},$)})})}function B($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.categoryId}/edit.json`,{method:"get"})})}function N($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function G($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function W($){return u(this,null,function*(){return(0,r.ZP)(`/api/polls/${$.pollsId}/poll_questions.json`,{method:"post",body:h({},$)})})}function H($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}.json`,{method:"delete",body:h({},$)})})}function ae($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_questions/${$.pollsId}/up_down.json`,{method:"post",body:h({},$)})})}function ne($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"get"})})}function oe($){return u(this,null,function*(){return(0,r.ZP)(`/api/exercise_banks/${$.topicId}.json`,{method:"put",body:h({},$)})})}function 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 se($){return u(this,null,function*(){return(0,r.ZP)("/api/poll_bank_questions.json",{method:"post",body:h({},$)})})}function ee($){return u(this,null,function*(){return(0,r.ZP)(`/api/poll_bank_questions/${$.pollsId}.json`,{method:"put",body:h({},$)})})}function 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({},$)})})}},70610:function(d,v,e){"use strict";e.d(v,{$c:function(){return rt},A1:function(){return je},Bd:function(){return P},Bo:function(){return q},Cc:function(){return se},Cn:function(){return le},DF:function(){return R},Dm:function(){return We},FG:function(){return oe},GW:function(){return Pt},HF:function(){return W},Hm:function(){return $},IJ:function(){return Le},L5:function(){return ur},LS:function(){return nt},MZ:function(){return ge},Mr:function(){return ne},NZ:function(){return Bt},Of:function(){return S},Pl:function(){return k},Qj:function(){return m},Qp:function(){return ht},RT:function(){return Ae},Rp:function(){return Et},U6:function(){return H},Vl:function(){return ee},Wk:function(){return ae},YP:function(){return z},Ys:function(){return B},al:function(){return M},bF:function(){return lt},d1:function(){return y},dt:function(){return Kt},et:function(){return me},ex:function(){return b},fY:function(){return Pe},fn:function(){return A},hI:function(){return yt},hg:function(){return Ue},iT:function(){return J},lS:function(){return Ne},nD:function(){return zt},qN:function(){return ie},rV:function(){return N},s:function(){return Ze},sD:function(){return Se},sS:function(){return Yt},ts:function(){return K},vi:function(){return He},wX:function(){return Je},x5:function(){return G},zh:function(){return De}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(qe,Vt,kt)=>Vt in qe?i(qe,Vt,{enumerable:!0,configurable:!0,writable:!0,value:kt}):qe[Vt]=kt,a=(qe,Vt)=>{for(var kt in Vt||(Vt={}))o.call(Vt,kt)&&u(qe,kt,Vt[kt]);if(f)for(var kt of f(Vt))h.call(Vt,kt)&&u(qe,kt,Vt[kt]);return qe},x=(qe,Vt)=>l(qe,c(Vt)),p=(qe,Vt,kt)=>new Promise((Ht,$t)=>{var Tt=ce=>{try{Ge(kt.next(ce))}catch(pe){$t(pe)}},Xt=ce=>{try{Ge(kt.throw(ce))}catch(pe){$t(pe)}},Ge=ce=>ce.done?Ht(ce.value):Promise.resolve(ce.value).then(Tt,Xt);Ge((kt=kt.apply(qe,Vt)).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 m(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 P(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 N(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/item_baskets/delete_item_type.json",{method:"delete",body:{item_type:qe.type}})})}function W(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks/cancel_items.json",{method:"post",body:qe})})}function H(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 ne(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks.json",{method:"post",body:qe})})}function oe(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 se(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 ie(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_baskets/${qe.id}/adjust_position.json`,{method:"post",body:qe})})}function me(qe){return p(this,null,function*(){return(0,r.ZP)("/api/examination_banks.json",{method:"post",body:qe})})}function Pe(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/examination_banks/${qe.id}/revoke_item.json`,{method:"delete",body:qe})})}function 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 Bt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"get",params:qe})})}function yt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups/mine.json",{method:"get",params:qe})})}function It(qe){return p(this,null,function*(){return Fetch(`/api/item_banks/${qe.id}/join_to_group.json`,{method:"post",body:qe})})}function rr(qe){return p(this,null,function*(){return Fetch(`/api/item_banks_groups/${qe.id}.json`,{method:"put",body:qe})})}function Yt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks_groups.json",{method:"post",body:qe})})}function ur(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 Pt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares.json",{method:"post",body:qe})})}function zt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_delete.json",{method:"post",body:qe})})}function nt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/batch_to_group.json",{method:"post",body:qe})})}function Et(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/add_to_mine.json",{method:"post",body:qe})})}function ht(qe){return p(this,null,function*(){return(0,r.ZP)("/api/item_banks/set_batch_public.json",{method:"post",body:qe})})}function Je(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks/${qe==null?void 0:qe.id}/set_public.json`,{method:"post",body:qe})})}function Ue(qe){return p(this,null,function*(){return(0,r.ZP)("/api/teach_group_shares/show_groups.json",{method:"get",params:qe})})}function ge(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/publish.json`,{method:"post",body:qe})}function Se(qe){return(0,r.ZP)(`/api/problems/${qe.identifier}/cancel_publish.json`,{method:"post",body:qe})}function Le(qe){return(0,r.ZP)("/api/item_banks/cancel_public.json",{method:"post",body:{ids:[...qe.id]}})}function je(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/up_position.json`,{method:"get",params:qe})})}function He(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/item_banks_groups/${qe.id}/down_position.json`,{method:"get",params:qe})})}function rt(qe){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${qe.id}/edit_hack.json`,{method:"get",params:qe})})}function lt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish_condition.json",{method:"post",body:qe})})}function Kt(qe){return p(this,null,function*(){return(0,r.ZP)("/api/problems/batch_publish.json",{method:"post",body:qe})})}function Wt(qe){return p(this,null,function*(){return Fetch("/api/item_banks/get_groups.json",{method:"get",params:qe})})}function Ae(){return p(this,null,function*(){return(0,r.ZP)("/api/item_baskets/delete_all_items.json",{method:"delete"})})}},5707:function(d,v,e){"use strict";e.d(v,{E1:function(){return f},Go:function(){return l},H5:function(){return c}});var r=e(82093),i=(o,h,u)=>new Promise((a,x)=>{var p=b=>{try{m(u.next(b))}catch(S){x(S)}},y=b=>{try{m(u.throw(b))}catch(S){x(S)}},m=b=>b.done?a(b.value):Promise.resolve(b.value).then(p,y);m((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})})}},45278:function(d,v,e){"use strict";e.d(v,{Am:function(){return m},Ar:function(){return We},BD:function(){return He},Be:function(){return Je},Dx:function(){return ee},Fr:function(){return pe},G$:function(){return k},GS:function(){return H},Gw:function(){return S},H:function(){return Yt},H1:function(){return ur},Hj:function(){return lt},JA:function(){return Wt},JG:function(){return se},KE:function(){return z},Lz:function(){return Le},Mf:function(){return rr},NA:function(){return yt},PC:function(){return Ne},PP:function(){return Bt},PW:function(){return nt},Q3:function(){return Q},QC:function(){return Ae},Qt:function(){return je},Qz:function(){return P},R$:function(){return Ge},RP:function(){return oe},Ti:function(){return St},Uc:function(){return Ht},Ul:function(){return J},VB:function(){return ct},Vs:function(){return $t},Wr:function(){return R},Xn:function(){return q},YQ:function(){return It},Yn:function(){return b},Z8:function(){return G},ak:function(){return zt},cN:function(){return B},co:function(){return Ue},cz:function(){return De},fK:function(){return W},gG:function(){return Ze},gZ:function(){return kt},h$:function(){return N},ku:function(){return Se},lf:function(){return ie},m7:function(){return K},mQ:function(){return M},mz:function(){return ht},n$:function(){return $},oK:function(){return y},oN:function(){return Zt},pH:function(){return rt},pb:function(){return Ce},qP:function(){return qe},ql:function(){return Vt},rN:function(){return ge},sw:function(){return me},t1:function(){return Pe},to:function(){return ne},ub:function(){return Kt},ux:function(){return le},wS:function(){return Dt},wT:function(){return A},yT:function(){return Pt},yy:function(){return Tt},z2:function(){return Et}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(Ie,wt,be)=>wt in Ie?i(Ie,wt,{enumerable:!0,configurable:!0,writable:!0,value:be}):Ie[wt]=be,a=(Ie,wt)=>{for(var be in wt||(wt={}))o.call(wt,be)&&u(Ie,be,wt[be]);if(f)for(var be of f(wt))h.call(wt,be)&&u(Ie,be,wt[be]);return Ie},x=(Ie,wt)=>l(Ie,c(wt)),p=(Ie,wt,be)=>new Promise((Ye,vt)=>{var Lt=At=>{try{Or(be.next(At))}catch(Yr){vt(Yr)}},Me=At=>{try{Or(be.throw(At))}catch(Yr){vt(Yr)}},Or=At=>At.done?Ye(At.value):Promise.resolve(At.value).then(Lt,Me);Or((be=be.apply(Ie,wt)).next())});const y=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.id}/update_journals.json`,{method:"post",body:Ie})}),m=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/change_score.json`,{method:"post",body:Ie})}),b=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/history_comment`,{method:"Get",params:Ie})}),S=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.homeworkId}/feedback_know`,{method:"Get",params:Ie})}),k=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.userId}/student_work_feedbacks.json`,{method:"POST",body:Ie})}),R=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/feedback_list.json`,{method:"Get",params:Ie})}),A=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie==null?void 0:Ie.userId}/histories.json`,{method:"Get",params:Ie})}),P=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/feedback_list`,{method:"Get",params:Ie})}),M=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/anonymous_exception_list.json`,{method:"Get",params:Ie})}),B=Ie=>p(void 0,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie==null?void 0:Ie.homeworkId}/appeal_list`,{method:"Get",params:Ie})});function N(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.json`,{method:"post",body:a({},Ie)})})}function G(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/student_works.json`,{method:"get",params:a({},Ie)})})}function W(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/shixun_homeworks/${Ie.categoryId}/header_info.json`,{method:"get",params:a({},Ie)})})}function H(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie}/query_game_url.json`,{method:"get"})})}function ae(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie}/get_newest_shixun_work_comments.json`,{method:"get"})})}function ne(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"get"})})}function oe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_results.json`,{method:"get",params:a({},Ie)})})}function q(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/code_review_detail.json`,{method:"get",params:a({},Ie)})})}function J(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/settings.json`,{method:"get",params:a({},Ie)})})}function K(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_settings.json`,{method:"post",body:a({},Ie)})})}function se(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/group_list.json`,{method:"get",params:a({},Ie)})})}function ee(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/works_list.xlsx`,{method:"get",params:a({},Ie)})})}function Q(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.coursesId}/reference_answer.json`,{method:"get",params:a({},Ie)})})}function le(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/publish_groups.json`,{method:"get",params:a({},Ie)})})}function z(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/end_groups.json`,{method:"get",params:a({},Ie)})})}function $(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/bank_list.json",{method:"get",params:a({},Ie)})})}function ie(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/question_banks/save_banks.json",{method:"post",body:a({},Ie)})})}function me(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report.json`,{method:"get",params:Ie})})}function Pe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/shixun_work_report_echart_data.json`,{method:"get",params:Ie})})}function De(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/user_hack_detail.json`,{method:"get",params:x(a({},Ie),{id:Ie.categoryId})})})}function Ze(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.categoryId}/adjust_review_score.json`,{method:"post",body:a({},Ie)})})}function Ne(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/show_comment.json`,{method:"get",params:a({},Ie)})})}function Bt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/users/reply_message.json",{method:"post",body:a({},Ie)})})}function yt(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/like.json",{method:"post",body:a({},Ie)})})}function It(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/praise_tread/unlike.json",{method:"delete",body:a({},Ie)})})}function rr(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/commons/delete.json",{method:"delete",body:a({},Ie)})})}function Yt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_explanation.json`,{method:"post",body:a({},Ie)})})}function ur(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons.json`,{method:"post",body:a({},Ie)})})}function We(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}.json`,{method:"put",body:a({},Ie)})})}function Pt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"put",body:a({},Ie)})})}function zt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/new.json`,{method:"get",params:a({},Ie)})})}function nt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/edit.json`,{method:"get",params:a({},Ie)})})}function Et(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}.json`,{method:"put",body:a({},Ie)})})}function ht(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/revise_attachment.json`,{method:"post",body:a({},Ie)})})}function Je(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works.json`,{method:"post",body:a({},Ie)})})}function Ue(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/relate_project.json`,{method:"post",body:a({},Ie)})})}function ge(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.homeworkId}/student_works/cancel_relate_project.json`,{method:"get"})})}function Se(Ie){return p(this,null,function*(){return(0,r.ZP)("/api/users/projects/search.json",{method:"get",params:a({},Ie)})})}function Le(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.commonHomeworkId}/student_works/search_member_list.json`,{method:"get",params:a({},Ie)})})}function je(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/new.json`,{method:"get",params:a({},Ie)})})}function He(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/edit.json`,{method:"get",params:a({},Ie)})})}function rt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_banks/${Ie.id}.json`,{method:"get",params:a({},Ie)})})}function lt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}.json`,{method:"get",params:a({},Ie)})})}function Kt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/supply_attachments.json`,{method:"get",params:a({},Ie)})})}function Wt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/comment_list.json`,{method:"get",params:a({},Ie)})})}function Ae(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/destroy_score.json`,{method:"delete",body:a({},Ie)})})}function qe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/add_score_reply.json`,{method:"post",body:a({},Ie)})})}function Vt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/all_student_works.json`,{method:"get",params:a({},Ie)})})}function kt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/destroy_work_comment.json`,{method:"delete",body:a({},Ie)})})}function Ht(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/score_status.json`,{method:"get",params:a({},Ie)})})}function $t(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/homework_commons/${Ie.categoryId}/update_score.json`,{method:"get",params:a({},Ie)})})}function Tt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/add_score.json`,{method:"post",body:a({},Ie)})})}function Xt(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/cancel_appeal.json`,{method:"post",body:a({},Ie)})})}function Ge(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.userId}/appeal_anonymous_score.json`,{method:"post",body:a({},Ie)})})}function ce(Ie){return p(this,null,function*(){return Fetch(`/api/student_works/${Ie.userId}/deal_appeal_score.json`,{method:"post",body:a({},Ie)})})}function pe(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${Ie.id}/reset_my_game.json`,{method:"get",params:a({},Ie)})})}function Dt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/commit_des.json`,{method:"get",params:a({},Ie)})})}function Ce(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/student_works/${Ie.homeworkId}/update_des.json`,{method:"post",body:a({},Ie)})})}function ct(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_list.json`,{method:"get",params:a({},Ie)})})}function Zt(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.coursesId}/homework_commons/file_repeat_result.json`,{method:"get",params:a({},Ie)})})}function St(Ie){return p(this,null,function*(){return(0,r.ZP)(`/api/courses/${Ie.course_id}/homework_commons/file_repeat_detail.json`,{method:"get",params:a({},Ie)})})}},67135:function(d,v,e){"use strict";e.d(v,{$Q:function(){return jr},AE:function(){return $t},AQ:function(){return M},Ag:function(){return wt},Ar:function(){return le},At:function(){return Rt},BK:function(){return G},Bj:function(){return zt},DC:function(){return We},Dz:function(){return _t},E4:function(){return ur},EH:function(){return ie},Ee:function(){return An},Er:function(){return ee},FB:function(){return N},Fg:function(){return S},GI:function(){return De},Gr:function(){return ht},Gu:function(){return Pe},Gz:function(){return b},HS:function(){return bt},Hl:function(){return y},IT:function(){return St},I_:function(){return A},Ir:function(){return W},Je:function(){return Me},K:function(){return jt},K0:function(){return Nr},KM:function(){return q},K_:function(){return Zr},LK:function(){return Or},LP:function(){return Ze},Ne:function(){return se},OV:function(){return Bt},OW:function(){return $},Op:function(){return wr},P2:function(){return It},Po:function(){return P},Ps:function(){return Je},Q:function(){return K},Q1:function(){return Ar},QA:function(){return mi},Ql:function(){return ge},Rs:function(){return Ae},SG:function(){return Hi},Tn:function(){return Xt},Tr:function(){return Pi},U0:function(){return He},U9:function(){return Ue},UQ:function(){return Ce},Ui:function(){return mr},Vx:function(){return it},WO:function(){return Q},WT:function(){return Ra},Wi:function(){return nt},Wl:function(){return be},X$:function(){return rr},Yn:function(){return ce},Z2:function(){return Pt},ZO:function(){return Et},Zt:function(){return gt},_7:function(){return J},_9:function(){return pe},aH:function(){return Se},al:function(){return Kt},b8:function(){return z},bq:function(){return Ge},dK:function(){return H},e:function(){return k},eX:function(){return me},eb:function(){return qe},fL:function(){return Lt},h4:function(){return yr},hS:function(){return m},he:function(){return R},hn:function(){return ne},ii:function(){return Wt},im:function(){return Dt},j8:function(){return Ne},jq:function(){return rn},kF:function(){return Yr},km:function(){return lt},l3:function(){return yt},m7:function(){return je},mI:function(){return Ni},n5:function(){return B},nu:function(){return At},p0:function(){return Zt},q0:function(){return Ht},q9:function(){return sr},qA:function(){return mn},rO:function(){return kt},rs:function(){return oe},sr:function(){return ct},t2:function(){return Ie},tX:function(){return Jn},uo:function(){return rt},v3:function(){return vt},w:function(){return Ye},xK:function(){return Tt},xg:function(){return Vt},xk:function(){return Yt},yE:function(){return Le},yx:function(){return ui},zD:function(){return ae},zH:function(){return un}});var r=e(82093),i=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,u=(ut,ii,Si)=>ii in ut?i(ut,ii,{enumerable:!0,configurable:!0,writable:!0,value:Si}):ut[ii]=Si,a=(ut,ii)=>{for(var Si in ii||(ii={}))o.call(ii,Si)&&u(ut,Si,ii[Si]);if(f)for(var Si of f(ii))h.call(ii,Si)&&u(ut,Si,ii[Si]);return ut},x=(ut,ii)=>l(ut,c(ii)),p=(ut,ii,Si)=>new Promise((li,sa)=>{var Ti=Jt=>{try{Rn(Si.next(Jt))}catch(dt){sa(dt)}},pi=Jt=>{try{Rn(Si.throw(Jt))}catch(dt){sa(dt)}},Rn=Jt=>Jt.done?li(Jt.value):Promise.resolve(Jt.value).then(Ti,pi);Rn((Si=Si.apply(ut,ii)).next())});const y=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_header.json",{method:"Get",params:ut})}),m=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/online_count.json",{method:"Get",params:ut})}),b=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/statistics_body.json",{method:"Get",params:ut})}),S=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/rank_list.json",{method:"Get",params:ut})}),k=ut=>p(void 0,null,function*(){return(0,r.ZP)("/api/shixun_statistics/shixun_use_infos.json",{method:"Get",params:ut})});function R(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"Get",params:a({},ut)})})}function A(ut){return p(this,null,function*(){return(0,r.ZP)("/api/disciplines.json",{method:"Get",params:a({source:"shixun"},ut||{})})})}function P(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"Get",params:ut})})}function M(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/show_right.json`,{method:"Get"})})}function B(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges.json`,{method:"Get"})})}function N(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/save_copy_for_exercise.json`,{method:"post",body:{save_type:ut.save_type}})})}function G(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/jupyter_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function W(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_exec.json${ut.reset?`?reset=${ut.reset}`:""}`,{method:"Get",params:ut})})}function H(ut){return p(this,null,function*(){return(0,r.ZP)(ut.url,{method:"Get"})})}function ae(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_up.json`,{method:"Get"})})}function ne(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.shixun_identifier}/challenges/${ut.challenge_id}/index_down.json`,{method:"Get"})})}function oe(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections/cancel.json",{method:"Delete",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function q(ut){return p(this,null,function*(){return(0,r.ZP)("/api/collections.json",{method:"Post",body:{container_id:ut.container_id,container_type:ut.container_type}})})}function J(ut){return p(this,null,function*(){const{id:ii}=ut||{};return(0,r.ZP)(`/api/shixuns/${ii}/search_user_courses.json`,{method:"Get",params:ut})})}function K(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut==null?void 0:ut.id}/send_to_course.json`,{method:"Post",body:a({},ut)})})}function se(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_publish.json`,{method:"Get"})})}function ee(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/cancel_apply_public.json`,{method:"Get"})})}function Q(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/apply_public.json`,{method:"post",body:a({},ut)})})}function le(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/publish.json`,{method:"Get"})})}function z(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_new.json",{method:"Get"})})}function $(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/attachments/${ut.id}.json`,{method:"delete"})})}function ie(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/apply_shixun_mirror.json",{method:"post",body:ut})})}function me(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns.json",{method:"post",body:ut})})}function Pe(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/jupyter_lab_new.json",{method:"get",params:ut})})}function De(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_newest_record.json`,{method:"Get"})})}function Ze(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/review_shixun.json`,{method:"post",body:ut})})}function Ne(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators.json`,{method:"Get",params:ut})})}function Bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_members_added.json`,{method:"post",body:ut})})}function yt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/add_members_group.json`,{method:"post",body:ut})})}function It(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"Get",params:ut})})}function rr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/change_manager.json`,{method:"post",body:ut})})}function Yt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/collaborators_delete.json`,{method:"delete",body:{user_id:ut.userId}})})}function ur(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/ranking_list.json`,{method:"Get"})})}function We(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/settings.json`,{method:"Get"})})}function Pt(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/get_mirror_script.json",{method:"Get",params:{mirror_id:ut.mirror_id}})})}function zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_script_contents.json`,{method:"Get",params:ut})})}function nt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_custom_script.json`,{method:"Get",params:ut})})}function Et(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_for_jupyter.json`,{method:"put",body:ut})})}function ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/shixun_quotes.json`,{method:"Get"})})}function Je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}.json`,{method:"delete"})})}function Ue(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/close.json`,{method:"post",body:ut})})}function ge(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/departments.json",{method:"Get",params:ut})})}function Se(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_permission_setting.json`,{method:"post",body:ut})})}function Le(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_learn_setting.json`,{method:"post",body:ut})})}function je(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_setting`,{method:"post",body:ut})})}function He(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/get_data_sets.json`,{method:"Get",params:ut})})}function rt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/destroy_data_sets.json`,{method:"Delete",body:{id:ut.deleteId}})})}function lt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/new.json`,{method:"get"})})}function Kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/challenges.json`,{method:"post",body:a({},ut)})})}function Wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/edit.json`,{method:"get",params:{tab:ut.tab}})})}function Ae(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"put",body:a({},ut)})})}function qe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_questions.json`,{method:"get"})})}function Vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/move_position.json`,{method:"post",body:a({},ut)})})}function kt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}.json`,{method:"delete",body:a({},ut)})})}function Ht(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit.json`,{method:"get",params:a({},ut)})})}function $t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/answer.json`,{method:"get",params:a({},ut)})})}function Tt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengeId}/crud_answer.json`,{method:"post",body:a({},ut)})})}function Xt(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_choose_question.json`,{method:"post",body:a({},ut)});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_blank_question.json`,{method:"post",body:a({},ut)});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/create_judge_question.json`,{method:"post",body:a({},ut)})})}function Ge(ut){return p(this,null,function*(){if(ut.type===1)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_choose_question.json`,{method:"post",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===2)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_blank_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})});if(ut.type===3)return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/update_judge_question.json`,{method:"put",body:x(a({},ut),{choose_id:ut.questionId})})})}function ce(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/destroy_challenge_choose.json`,{method:"Delete",body:{choose_id:ut.questionId}})})}function pe(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_up_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Dt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/choose_question_down_position.json`,{method:"post",body:{challenge_choose_id:ut.questionId}})})}function Ce(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/challenges/${ut.challengesId}/edit_choose_question.json`,{method:"get",params:x(a({},ut),{choose_id:ut.questionId})})})}function ct(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function Zt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/delete_git_file.json`,{method:"Delete",body:ut})})}function St(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function Ie(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/mv_file.json`,{method:"post",body:ut})})}function wt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/repository.json`,{method:"post",body:ut})})}function be(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/repository.json`,{method:"post",body:ut})})}function Ye(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/secret_repository.json`,{method:"post",body:ut})})}function vt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Lt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/add_file.json`,{method:"post",body:ut})})}function Me(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/commits.json`,{method:"post",body:ut})})}function Or(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/file_content.json`,{method:"post",body:ut})})}function At(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/file_content.json`,{method:"post",body:ut})})}function Yr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_file.json`,{method:"post",body:ut})})}function rn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/update_file.json`,{method:"post",body:ut})})}function wr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/upload_git_folder.json`,{method:"post",body:{path:ut.path,secret_repository:ut.secret_repository}})})}function jr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/${ut.url}`,{method:"Get"})})}function mr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_tpm.json",{method:"Get",params:ut})})}function Zr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/timeinfo_with_tpm.json",{method:"Get",params:ut})})}function un(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/reset_with_tpm.json",{method:"Get",params:ut})})}function mn(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/save_with_tpm.json",{method:"Get",params:ut})})}function sr(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/active_with_tpm.json",{method:"Get",params:ut})})}function Rt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/fork_list.json`,{method:"Get",params:ut})})}function _t(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.identifier}/change_editable.json`,{method:"put",body:a({},ut)})})}function gt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/set_secret_dir.json`,{method:"post",body:a({},ut)})})}function jt(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/new.json",{method:"Get",params:ut})})}function Ar(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/environment_info",{method:"Get",params:ut})})}function yr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function it(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/sci/projects/${ut.id}/init_repository.json`,{method:"post",body:a({},ut)})})}function Nr(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_secret_repository.json`,{method:"post",body:a({},ut)})})}function An(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/exist_exercise.json`,{method:"get",params:a({},ut)})})}function Jn(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/mirror_applies/${ut.id}.json`,{method:"get",params:a({},ut)})})}function gr(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/publish.json`,{method:"post",body:a({},ut)})})}function nn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_vnc.json`,{method:"post",params:a({},ut)})})}function vn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/open_webssh.json`,{method:"post",params:a({},ut)})})}function Wn(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/save_image.json`,{method:"post",body:a({},ut)})})}function si(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/delete_image.json`,{method:"post",body:a({},ut)})})}function gi(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/extend_vnc.json`,{method:"post",body:a({},ut)})})}function aa(ut){return p(this,null,function*(){return Fetch(`/api/mirror_applies/${ut.id}/reset_vnc_link.json`,{method:"post",body:a({},ut)})})}function ui(ut){return p(this,null,function*(){return(0,r.ZP)("/api/paths/get_task_pass.json",{method:"get",params:a({},ut)})})}function Ni(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/get_info_with_jupyter_lab.json",{method:"get",params:a({},ut)})})}function mi(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut.id}/update_jupyter_lab_setting.json`,{method:"post",body:a({},ut)})})}function Pi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/shixuns/check_shixun_copy.json",{method:"post",body:ut})})}function Ra(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/progress_homeworks/${ut}`,{method:"get",params:{is_initiative_study:1}})})}function fi(ut){return p(this,null,function*(){return Fetch(`/api/shixuns/${ut.id}/update_shixun_study_num.json`,{method:"post",body:a({},ut)})})}function Hi(ut){return p(this,null,function*(){return(0,r.ZP)("/api/jupyters/preview.json",{method:"get",params:ut})})}function bt(ut){return p(this,null,function*(){return(0,r.ZP)(`/api/shixuns/${ut}/recommend_config.json`,{method:"get"})})}},92982:function(d,v,e){"use strict";e.d(v,{Bg:function(){return p},FO:function(){return M},eJ:function(){return b},eZ:function(){return S},fd:function(){return W},gp:function(){return a},iU:function(){return N},l3:function(){return R},mw:function(){return A},oZ:function(){return m},rM:function(){return P},r_:function(){return G},s:function(){return x},ur:function(){return B},xV:function(){return y},yb:function(){return k}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(H,ae,ne)=>ae in H?i(H,ae,{enumerable:!0,configurable:!0,writable:!0,value:ne}):H[ae]=ne,h=(H,ae)=>{for(var ne in ae||(ae={}))c.call(ae,ne)&&o(H,ne,ae[ne]);if(l)for(var ne of l(ae))f.call(ae,ne)&&o(H,ne,ae[ne]);return H},u=(H,ae,ne)=>new Promise((oe,q)=>{var J=ee=>{try{se(ne.next(ee))}catch(Q){q(Q)}},K=ee=>{try{se(ne.throw(ee))}catch(Q){q(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(J,K);se((ne=ne.apply(H,ae)).next())});function a(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teachers.json`,{method:"get",params:h({},H)})})}function x(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/apply_teachers.json`,{method:"get",params:h({},H)})})}function p(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/graduation_group_list.json`,{method:"get",params:h({},H)})})}function y(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/all_course_groups.json`,{method:"get",params:h({},H)})})}function m(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/set_course_group.json`,{method:"post",body:h({},H)})})}function b(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/join_graduation_group.json`,{method:"post",body:h({},H)})})}function S(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/create_graduation_group.json`,{method:"post",body:h({},H)})})}function k(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_course_teacher.json`,{method:"post",body:h({},H)})})}function R(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/delete_from_course.json`,{method:"post",body:h({},H)})})}function A(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_member_role.json`,{method:"post",body:h({},H)})})}function P(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/change_course_admin.json`,{method:"post",body:h({},H)})})}function M(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/teacher_application_review.json`,{method:"post",body:h({},H)})})}function B(H){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H.coursesId}/students.json`,{method:"get",params:h({},H)})})}function N(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/apply_students.json`,{method:"get",params:ae})})}function G(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/join_student_checkout.json`,{method:"get",params:ae})})}function W(H,ae){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${H}/student_application_review.json`,{method:"post",body:ae})})}},63423:function(d,v,e){"use strict";e.d(v,{B$:function(){return y},Cx:function(){return J},DA:function(){return P},DH:function(){return p},Ef:function(){return ee},Es:function(){return b},Ex:function(){return rr},FM:function(){return ne},Fn:function(){return Q},Gq:function(){return ur},Ho:function(){return B},IU:function(){return me},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 H},ai:function(){return q},bG:function(){return k},bJ:function(){return a},c0:function(){return Yt},dE:function(){return ie},dt:function(){return $},gI:function(){return se},lO:function(){return oe},mW:function(){return W},n0:function(){return A},nV:function(){return Ze},o1:function(){return Bt},qE:function(){return m},qN:function(){return M},rV:function(){return N},sh:function(){return De},vR:function(){return S},w3:function(){return G},x4:function(){return R},z2:function(){return yt}});var r=e(82093),i=Object.defineProperty,l=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,o=(We,Pt,zt)=>Pt in We?i(We,Pt,{enumerable:!0,configurable:!0,writable:!0,value:zt}):We[Pt]=zt,h=(We,Pt)=>{for(var zt in Pt||(Pt={}))c.call(Pt,zt)&&o(We,zt,Pt[zt]);if(l)for(var zt of l(Pt))f.call(Pt,zt)&&o(We,zt,Pt[zt]);return We},u=(We,Pt,zt)=>new Promise((nt,Et)=>{var ht=ge=>{try{Ue(zt.next(ge))}catch(Se){Et(Se)}},Je=ge=>{try{Ue(zt.throw(ge))}catch(Se){Et(Se)}},Ue=ge=>ge.done?nt(ge.value):Promise.resolve(ge.value).then(ht,Je);Ue((zt=zt.apply(We,Pt)).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})}),m=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 P(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 N(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/shixuns.json`,{method:"get",params:We})})}function G(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/subjects.json`,{method:"get",params:We})})}function W(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/projects.json`,{method:"get",params:We})})}function H(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 ne(We){return u(this,null,function*(){return(0,r.ZP)(`/api/users/${We.username}/videos/${We.id}.json`,{method:"delete"})})}function oe(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 se(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 ie(We){return u(this,null,function*(){return(0,r.ZP)(`/api/myshixuns/${We.identifier}/cancel.json`,{method:"delete",body:h({},We)})})}function me(We){return u(this,null,function*(){return(0,r.ZP)("/api/users/get_engineer_url.json",{method:"get",params:h({},We)})})}function Pe(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 Bt(We){return(0,r.ZP)("/api/accounts/get_verification_code.json",{method:"get",params:We})}function yt(We){return(0,r.ZP)("/api/accounts/register.json",{method:"post",body:h({},We)})}function It(We){return Fetch("/api/weapps/register.json",{method:"post",body:h({},We)})}function rr(We){return(0,r.ZP)(`/api/users/accounts/${We.login}/password.json`,{method:"put",body:h({},We)})}function Yt(We){return(0,r.ZP)("/api/accounts/reset_password.json",{method:"post",body:h({},We)})}function ur(We){return(0,r.ZP)("/api/accounts/login_for_phone.json",{method:"get",params:h({},We)})}},80541:function(d,v,e){"use strict";e.d(v,{BQ:function(){return a},DH:function(){return B},Db:function(){return oe},Ju:function(){return ne},Mz:function(){return W},O2:function(){return m},TJ:function(){return k},Vg:function(){return y},ZY:function(){return x},Zx:function(){return G},cU:function(){return p},fn:function(){return ae},jK:function(){return R},yN:function(){return H}});var r=e(82093),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((se,ee)=>{var Q=$=>{try{z(K.next($))}catch(ie){ee(ie)}},le=$=>{try{z(K.throw($))}catch(ie){ee(ie)}},z=$=>$.done?se($.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 m(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 P(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 N(q){return u(this,null,function*(){return Fetch(`/api/video_items/${q.id}/add_school.json`,{method:"post",body:q})})}function G(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_people_statics.json`,{method:"get",params:q})})}function W(q){return u(this,null,function*(){return(0,r.ZP)(`/api/courses/${q.course_id}/video_duration_statics.json`,{method:"get",params:q})})}function H(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 ne(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses.json",{method:"post",body:q})})}function oe(q){return u(this,null,function*(){return(0,r.ZP)("/api/study_action_analyses/detail.json",{method:"post",body:q})})}},19985:function(d,v,e){"use strict";e.d(v,{A:function(){return W},CH:function(){return c},EA:function(){return h},FU:function(){return x},G_:function(){return m},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 G},cZ:function(){return u},rV:function(){return P},sT:function(){return b},tS:function(){return N},xt:function(){return A},y2:function(){return l}});var r=e(82093),i=(H,ae,ne)=>new Promise((oe,q)=>{var J=ee=>{try{se(ne.next(ee))}catch(Q){q(Q)}},K=ee=>{try{se(ne.throw(ee))}catch(Q){q(Q)}},se=ee=>ee.done?oe(ee.value):Promise.resolve(ee.value).then(J,K);se((ne=ne.apply(H,ae)).next())});const l=H=>i(void 0,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/base_statistic_data.json`,{method:"Get",params:H})});function c(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"put",body:H})})}function f(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions/${H.id}.json`,{method:"get",params:H})})}function o(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"post",body:H})})}function h(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/discussions.json`,{method:"get",params:H})})}function u(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/add_resources.json`,{method:"post",body:H})})}function a(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}/lesson_resources_list.json`,{method:"get",params:H})})}function x(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"get",params:H})})}function p(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons/${H.id}.json`,{method:"put",body:H})})}function y(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"post",body:H})})}function m(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/good_lessons.json`,{method:"get",params:H})})}function b(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}.json`,{method:"get"})})}function S(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H==null?void 0:H.id}/modules.json`,{method:"get"})})}function k(H){return i(this,null,function*(){return Fetch(`/api/virtual_classrooms/${H.id}/videos/batch_publish.json`,{method:"post",body:H})})}function R(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members.json`,{method:"post",body:H})})}function A(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_spacesId}/members/${H.id}/change_creator.json`,{method:"post",body:H})})}function P(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns.json`,{method:"get",params:ae})})}function M(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/shixuns`,{method:"post",body:ae})})}function B(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/shixuns/${H.shixun_id}.json`,{method:"delete"})})}function N(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"get",params:ae})})}function G(H,ae){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H}/subjects.json`,{method:"post",body:ae})})}function W(H){return i(this,null,function*(){return(0,r.ZP)(`/api/virtual_classrooms/${H.virtual_classroom_id}/subjects/${H.subject_id}.json`,{method:"delete"})})}},34055:function(d,v,e){"use strict";e.d(v,{$O:function(){return J},EO:function(){return rt},G5:function(){return G},GD:function(){return i},GJ:function(){return x},Gg:function(){return p},I2:function(){return f},IR:function(){return H},JA:function(){return He},JL:function(){return A},Jd:function(){return q},Ny:function(){return k},RV:function(){return ne},Rb:function(){return N},Rm:function(){return W},V9:function(){return $},Yh:function(){return Q},aN:function(){return b},aQ:function(){return u},ag:function(){return je},bg:function(){return Kt},d8:function(){return B},dE:function(){return ae},eB:function(){return oe},eY:function(){return Wt},fn:function(){return Le},h:function(){return $t},j5:function(){return m},m$:function(){return Ae},oF:function(){return y},qz:function(){return h},t_:function(){return S},tu:function(){return Vt},y8:function(){return lt}});var r=e(76560),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:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Xt;return Tt.some(ce=>ce==(Ge==null?void 0:Ge.role))},o=Tt=>{const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Xt;return Ge!=null&&Ge.own?!0:Tt.some(ce=>{var pe;return ce==((pe=Ge==null?void 0:Ge.course)==null?void 0:pe.course_role)})},h=()=>{const{user:Tt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Xt}=Tt;return Xt.main_site},u=()=>{var Tt;const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Xt;return(Tt=Ge==null?void 0:Ge.course)==null?void 0:Tt.course_is_end},a=()=>{const{user:Tt}=getDvaApp()._store.getState(),{userInfo:Xt}=Tt;return Xt.authentication},x=()=>o([1,2,5,8,12]),p=()=>o([1,8,5,12,2]),y=()=>o([1,8,5]),m=()=>o([1]),b=()=>o([1,2,5]),S=()=>o([1,2]),k=()=>f([1,2]),R=()=>f([1]),A=()=>f([1,2,5]),P=()=>o([1,5]),M=()=>o([5,8]),B=()=>o([5]),N=()=>o([1,5,2]),G=()=>o([1,2,5,8]),W=()=>o([12]),H=()=>o([8]),ae=()=>o([15]),ne=()=>o([1,2,5,8,12,15]),oe=()=>o([1,2,5,8,12]),q=()=>{var Tt;const{user:Xt}=(0,r.getDvaApp)()._store.getState(),{userInfo:Ge}=Xt;return((Tt=Ge==null?void 0:Ge.course)==null?void 0:Tt.course_role)===null},J=()=>{var Tt;const{user:Xt,globalSetting:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Xt,pe=((Tt=Ge==null?void 0:Ge.setting)==null?void 0:Tt.big_model_users)||[];return pe==null?void 0:pe.includes(ce==null?void 0:ce.login)},K=(Tt=!0,Xt=!1)=>f([1,2,5,8,12,15]),se=(Tt=!0,Xt=!1)=>Xt||!Xt&&f([1]),ee=(Tt=!0,Xt=!1)=>Xt||!Xt&&f([1,2]),Q=()=>f([15]),le=(Tt=!0,Xt=!1)=>Tt?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),z=(Tt=!0,Xt=!1)=>Tt?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),$=(Tt=!0,Xt=!1)=>{const{user:Ge}=(0,r.getDvaApp)()._store.getState(),{userInfo:ce}=Ge;return ce!=null&&ce.is_shixun_marker?!0:f([1,2,5,8])},ie=(Tt=!0,Xt=!1)=>Tt?f([1]):Xt||!Xt&&f([1]),me=(Tt=!0,Xt=!1)=>Tt?f([1,2]):Xt||!Xt&&f([1,2]),Pe=(Tt=!0,Xt=!1)=>Tt?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),De=(Tt=!0,Xt=!1)=>Tt?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),Ze=(Tt=!0,Xt=!1)=>Tt?f([1,2,5]):Xt||!Xt&&f([1,2]),Ne=(Tt=!0,Xt=!1)=>Tt?f([1]):!1,Bt=(Tt=!0,Xt=!1)=>f([1,2,5,8,12,15]),yt=(Tt=!0,Xt=!1)=>Tt?f([1]):Xt||!Xt&&f([1]),It=(Tt=!0,Xt=!1)=>Tt?f([1,2]):Xt||!Xt&&f([1,2]),rr=(Tt=!0,Xt=!1)=>Tt?f([1,2,5,8,12,15]):Xt||!Xt&&f([1,2]),Yt=(Tt=!0,Xt=!1)=>Tt?!1:Xt||!Xt&&f([1,2]),ur=(Tt=!0,Xt=!1)=>Tt?Xt||!Xt&&f([1,2]):!1,We=(Tt=!0,Xt=!1)=>Tt?f([1,2,5,8,12]):!1,Pt=(Tt=!0,Xt=!1)=>Tt?!Xt&&f([1,2,5,8,12]):!1,zt=(Tt=!0,Xt=!1)=>Tt?f([1,2,5]):Xt||!Xt&&f([1,2]),nt=(Tt=!0,Xt=!1)=>f([1,2,5,8,12]),Et=(Tt=!0,Xt=!1)=>Tt?f([1]):Xt||!Xt&&f([1]),ht=(Tt=!0,Xt=!1)=>Tt?f([1,2]):Xt||!Xt&&f([1,2]),Je=(Tt=!0,Xt=!1)=>Tt?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),Ue=(Tt=!0,Xt=!1)=>Tt?Xt||!Xt&&f([1,2]):!1,ge=(Tt=!0,Xt=!1)=>Tt?f([1,2,5,8,12]):Xt||!Xt&&f([1,2]),Se=(Tt=!0,Xt=!1)=>o([8]),Le=()=>f([1]),je=()=>f([1,2]),He=()=>f([15]),rt=()=>f([1,2,5]),lt=()=>f([1,2,5,12]),Kt=()=>{var Tt;const{user:Xt}=(0,r.getDvaApp)()._store.getState();return!!((Tt=Xt.userInfo)!=null&&Tt.login)},Wt=()=>{const{user:Tt}=(0,r.getDvaApp)()._store.getState();return Tt.userInfo},Ae=()=>{var Tt,Xt;const{user:Ge}=(0,r.getDvaApp)()._store.getState();return!!((Xt=(Tt=Ge.userInfo)==null?void 0:Tt.path)!=null&&Xt.own)},qe=Tt=>{const{graduations:Xt}=(0,r.getDvaApp)()._store.getState(),{details:Ge}=Xt;return Tt.some(ce=>ce===(Ge==null?void 0:Ge.user_identity))},Vt=()=>qe([0,1]),kt=()=>qe([0]),Ht=()=>qe([1]),$t=()=>qe([2])},22688:function(d,v,e){"use strict";e.d(v,{Fy:function(){return o},Qo:function(){return h},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=(u=>(u.PROBLEM="problem",u.PAPER="paper",u.OTHER="other",u))(l||{}),c=(u=>(u.SINGLE="single",u.MULTIPLEFLOW="multiple_flow",u.MULTIPLEFIXED="multiple_fixed",u.OTHER="other",u))(c||{}),f=(u=>(u[u.BISHI=1]="BISHI",u[u.JISHI=2]="JISHI",u[u.KOUSHI=3]="KOUSHI",u[u.OTHER=4]="OTHER",u))(f||{}),o=(u=>(u[u.DEFAULT=0]="DEFAULT",u[u.THEMEONE=1]="THEMEONE",u))(o||{}),h=(u=>(u.All="",u.Shixun="shixun",u.VideoItem="video",u.Attachment="attachment",u.Group_count="group_homework",u.Normal_count="normal_homework",u.ExaminationBank="exercise",u.HomeworkCommon="hack_homework",u.Discusses="Discusses",u.Challenge="challenge",u))(h||{})},28048: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"}},90524:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});const r={PROXY_SERVER:"http://113.246.243.98:12123",API_SERVER:"",REPORT_SERVER:"http://192.168.1.57:3001",IMG_SERVER:"http://172.16.100.119",FORGE:"https://code.educoder.net/",SSH_SERVER:"wss://webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",TERMINAL_URL:"testsvc1.vnc.educoder.net",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")};var i=null,c={local:{API_SERVER:"http://localhost:3000",IMG_SERVER:"https://testali-cdn.educoder.net/",REPORT_SERVER:"http://192.168.1.57:3001",FORGE:"https://test-oldweb.educoder.net/",SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",OFFICE_SERVER:"https://testoffice.educoder.net",ONLYOFFICE:"https://testoffice.educoder.net",OFFICE_IP:"http://113.246.243.98:9569",QQLoginCB:encodeURIComponent("https://test-newweb.educoder.net")},dev:r,newReactTest:{API_SERVER:(()=>{let f;switch(location.host){case"test4.educoder.net":f="https://test4-data.educoder.net";break;case"test3.educoder.net":f="https://test3-data.educoder.net";break;case"test2.educoder.net":f="https://test2-data.educoder.net";break;default:f="https://test-data.educoder.net";break}return f})(),SSH_SERVER:"wss://pre-webssh.educoder.net",SSH_Slice:"https://testfu.educoder.net",IMG_SERVER:(()=>{let f="https://new-testali-cdn.educoder.net";const 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"]},82093:function(d,v,e){"use strict";e.d(v,{IV:function(){return z},U2:function(){return se},ZP:function(){return oe},d4:function(){return ee},gz:function(){return le},rz:function(){return ne},v_:function(){return Q}});var r=e(90524),i=e(28909),l=e(43418),c=e(8591),f=e(85582),o=e.n(f),h=e(59301),u=e(76560),a=e(49661),x=e(89392),p=e.n(x),y=Object.defineProperty,m=Object.defineProperties,b=Object.getOwnPropertyDescriptors,S=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,A=($,ie,me)=>ie in $?y($,ie,{enumerable:!0,configurable:!0,writable:!0,value:me}):$[ie]=me,P=($,ie)=>{for(var me in ie||(ie={}))k.call(ie,me)&&A($,me,ie[me]);if(S)for(var me of S(ie))R.call(ie,me)&&A($,me,ie[me]);return $},M=($,ie)=>m($,b(ie)),B=($,ie,me)=>new Promise((Pe,De)=>{var Ze=yt=>{try{Bt(me.next(yt))}catch(It){De(It)}},Ne=yt=>{try{Bt(me.throw(yt))}catch(It){De(It)}},Bt=yt=>yt.done?Pe(yt.value):Promise.resolve(yt.value).then(Ze,Ne);Bt((me=me.apply($,ie)).next())});let N;const G={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},W=($,ie)=>B(void 0,null,function*(){if($.status>=200&&$.status<300)return $;const me=G[$.status]||$.statusText;let Pe;var De=$.json();yield De.then((Ne,Bt)=>{setTimeout(()=>{let yt=(0,u.getDvaApp)()},400),Pe=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?"":me})});const Ze=new Error(me);throw Ze.name=$.status,Ze.response=$,{data:$,code:$.status,message:Pe||me}}),H=($,ie)=>{const me=$.headers.get("Content-Type");return me&&me.match(/application\/json/i)&&$.clone().text().then(()=>{}),$};function ae($){try{return decodeURIComponent($),decodeURIComponent(encodeURIComponent($))===$}catch(ie){return!1}}const ne=$=>{$=$||{};let ie="";for(let me in $)typeof $[me]=="object"?Array.isArray($[me])&&$[me].forEach((Pe,De)=>{ie+="&"+me+"[]="+Pe}):$[me]!==void 0&&(ie+="&"+me+"="+(ae($[me])?$[me]:encodeURIComponent($[me])));return ie.substr(1)};function oe($,ie,me,Pe){ie.method||(ie.method="get"),ie.method=ie.method.toUpperCase(),ie.mode="cors";const De=P({},ie),{user:Ze}=(0,u.getDvaApp)()._store.getState(),{userInfo:Ne}=Ze,Bt=$+(De.body?JSON.stringify(De.body):""),yt=o().sha256().update(Bt).digest("hex"),It={credentials:"include",withCredentials:!0},rr={};Ne!=null&&Ne.login&&(rr.zzud=Ne==null?void 0:Ne.login,Ne!=null&&Ne.school_id&&(rr.zzsud=Ne==null?void 0:Ne.school_id),De.params=P(P({},De.params||{}),rr));let Yt=P(P({},It),(0,x.cloneDeep)(De));(Yt.method==="POST"||Yt.method==="PUT"||Yt.method==="PATCH"||Yt.method==="DELETE")&&(me?(Yt.headers=M(P({_method:ie.method.toUpperCase()},Yt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),Yt.body=De.body):(Yt.headers=P({Accept:"application/json",_method:ie.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},Yt.headers),Yt.body=JSON.stringify(De.body))),Yt.method=="GET"?(Yt.headers=M(P({Accept:"application/json","Content-Type":"application/json; charset=utf-8",_method:ie.method.toUpperCase()},Yt.headers),{"Pc-Authorization":(0,a.ej)("_educoder_session"),"X-Original-Protocol":location.protocol,"X-Original-Host":location.host}),De.params&&ne(De.params)&&($+="?"+ne(De.params))):rr.zzud&&($+="?"+ne(P({},rr)));const ur=De.expirys&&60;let We;(Et=>{Et.json="application/json;charset=UTF-8",Et.form="application/x-www-form-urlencoded; charset=UTF-8"})(We||(We={}));let Pt;(Et=>{Et.get="GET",Et.post="POST"})(Pt||(Pt={}));const zt=Et=>B(this,null,function*(){const ht=yield Et.arrayBuffer();let Je;const Ue=new Blob([ht]);try{Je=Et.headers.get("Content-Disposition").split(";")[1].replace("filename=","").replace(/[\s+,\',\",\‘,\’,\“,\”,\<,\>,\《,\》]/g,"")}catch(je){Je="userfiles.zip"}const ge=document.createElement("a"),Se=window.URL.createObjectURL(Ue),Le=Je;return ge.href=Se,ge.download=Le,ge.click(),window.URL.revokeObjectURL(Se),ht});let nt=r.Z.API_SERVER;return(window.ENV==="dev"||$.startsWith("http"))&&(nt=""),Yt.method=="GET"&&Yt.params&&Object.keys(Yt.params).map(Et=>{if(Yt.params[Et]&&!Array.isArray(Yt.params[Et]))try{Yt.params[Et]=encodeURIComponent(decodeURIComponent(Yt.params[Et]))}catch(ht){Yt.params[Et]=encodeURIComponent(Yt.params[Et])}}),(0,a.Ec)(Yt,$),Pe&&(nt=""),Yt.headers._method=Yt.method,Yt.headers["X-HTTP-Method-Override"]=Yt.method,Yt.method!=="GET"&&(Yt.method="POST"),fetch(nt+$,Yt).then(Et=>W(Et,P({url:r.Z.API_SERVER+$},Yt))).then(Et=>H(Et,yt)).then(Et=>B(this,null,function*(){var ht,Je,Ue,ge;try{const Le=Et.headers.get("cs");Le&&(0,a.d8)("_educoder_session",Le,1)}catch(Le){}if(Et.status===204)return Et.text();let Se;if(Et.headers.get("content-type").indexOf("application/json")>-1){Se=yield Et.json();try{const Le=/\(\s+\/api\/attachments\/(\d+)|\(\/api\/attachments\/(\d+)\//g,je=/\"\/api\/attachments\/(\d+)\//g,He=/\(\s+\/files\/uploads\/(\d+)|\"\/files\/uploads\/(\d+)\//g,rt=/\/api\/attachments\/(\d+)/g,lt=/\/attachments\/download\/(\d+)/g;let Kt=JSON.stringify(Se).replace(rt,(Wt,Ae,qe,Vt)=>{const kt=Ae||qe||Vt;return"/api/attachments/"+(0,a.Jn)(kt)}).replace(lt,(Wt,Ae,qe)=>{const Vt=Ae||qe;return"/attachments/download/"+(0,a.Jn)(Vt)}).replace(Le,(Wt,Ae,qe,Vt)=>{const kt=Ae||qe||Vt;return"(/api/attachments/"+(0,a.Jn)(kt)}).replace(je,(Wt,Ae,qe)=>{const Vt=Ae||qe;return'"/api/attachments/'+(0,a.Jn)(Vt)}).replace(He,(Wt,Ae,qe)=>{const Vt=Ae||qe;return"(/files/uploads/"+(0,a.Jn)(Vt)}).replace(/\r\n/g,`
|
|
|
`);Se=JSON.parse(Kt)}catch(Le){}}else Yt.headers["Content-Type"]==="application/xml"?Se=yield Et.text():(ht=De.body)!=null&&ht.autoDownload||(Je=De.params)!=null&&Je.autoDownload?Se=yield zt(Et):Se=yield Et.arrayBuffer();try{Se.status===401&&(!((Ue=Yt.params)!=null&&Ue.hidePopLogin)||!((ge=Yt.body)!=null&&ge.hidePopLogin))&&(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),Se.status===402&&(localStorage.getItem("addinfo")==="2"?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u586B\u5145\u4FE1\u606F\u5F39\u7A97"}}):(N=N||l.default.confirm({visible:!1,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88"}),N.update({centered:!0,visible:!0,title:"\u63D0\u793A",content:"\u60A8\u9700\u8981\u53BB\u5B8C\u5584\u60A8\u7684\u4E2A\u4EBA\u8D44\u6599\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD",okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{u.history.push("/account/profile/edit")}})))}catch(Le){console.log("fetcherr",Le)}return K(Se,$),Se})).catch(Et=>{try{const ht=Et.code;if(Et instanceof TypeError&&window.showNetworkErrorTip(`${$}<span class="ml10">${Et.message}</span>`),ht){if(ht===401){(0,u.getDvaApp)()._store.dispatch({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}});return}K(Et,$)}else $.includes("/file/filePatchMerge")?(0,u.getDvaApp)()._store.dispatch({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5206\u7247\u4E13\u7528504",params:Yt.body}}):Et.message!=="403"&&window.showNetworkErrorTip(`${$}<span class="ml10">${Et.message}</span>`);return Et}catch(ht){}})}let q=!1,J=!1;const K=($,ie)=>{var me,Pe,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="";(me=$==null?void 0:$.data)!=null&&me.exercise_list&&((De=(Pe=$==null?void 0:$.data)==null?void 0:Pe.exercise_list)==null||De.map(Bt=>{Ne+=`<a target="_blank" href="/classrooms/${Bt.identifier}/exercise">\u300A${Bt.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:Bt}=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 se($,ie){return oe(`/api/${$}`,{method:"Get",params:ie||{}})}function ee($,ie){return oe(`/${$}`,{method:"Get",params:ie})}function Q($,ie){return oe(`/api/${$}`,{method:"Post",body:P({},ie)})}function le($,ie){return oe(`/api/${$}`,{method:"Put",body:P({},ie)})}function z($,ie){return oe(`/api/${$}`,{method:"delete",body:P({},ie||{})})}},77976: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="},90290: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,ne){const oe=ae.match(/^(\s+)(?:```)/);if(oe===null)return ne;const q=oe[1];return ne.split(`
|
|
|
`).map(J=>{const K=J.match(/^\s+/);if(K===null)return J;const[se]=K;return se.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 m(ae,ne,oe,q){if(ne>=ae.length||ae[ne].level<=oe)return ne;var J=ae[ne];q.push("<li><a href='#"+f+J.anchor+"'>"+J.text+"</a>"),ne++;var K=[];return ne=m(ae,ne,J.level,K),K.length>0&&(q.push("<ul>"),K.forEach(function(se){q.push(se)}),q.push("</ul>")),q.push("</li>"),ne=m(ae,ne,oe,q),ne}function b(){return m(h,0,0,u),u.push("</ul>"),u.join("")}const S={heading(ae){const ne=x.exec(ae);if(f+=1,ne)return{type:"heading",raw:ne[0],depth:ne[1].length,text:ne[2]}},fences(ae){const ne=this.rules.block.fences.exec(ae);if(ne){const oe=ne[0];let q=o(oe,ne[3]||"");const J=ne[2]?ne[2].trim():ne[2];if(["latex","katex","math"].indexOf(J)>=0){const K=A(),se=q;q=K,P[K]={type:"block",expression:se}}return{type:"code",raw:oe,lang:J,text:q}}}},k=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let R=0;const A=()=>`__special_katext_id_${R++}__`;let P={};function M(){return P}function B(){R=0,P={}}function N(ae){return ae=ae.replace(k,(ne,oe)=>{const q=A();return P[q]={type:"inline",expression:oe},q}),ae}const G=a.listitem;a.listitem=function(ae){return G(N(ae))};const W=a.paragraph;a.paragraph=function(ae){return W(N(ae))};const H=a.tablecell;a.tablecell=function(ae,ne){return H(N(ae),ne)},a.code=function(ae,ne,oe){const q=(ne||"").match(/\S*/)[0];return q?["latex","katex","math"].indexOf(q)>=0?`<p class='editormd-tex'>${ae}</p>`:`<pre class="prettyprint linenums"><code class="language-${ne}">${oe?ae:(0,l.escape)(ae,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(oe?ae:(0,l.escape)(ae,!0))+"</code></pre>"},a.heading=function(ae,ne,oe){let q=this.options.headerPrefix+oe.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return h.push({anchor:q,level:ne,text:ae}),"<h"+ne+' id="'+f+q+'">'+ae+"</h"+ne+">"},i().setOptions({silent:!0,gfm:!0,pedantic:!1}),i().use({tokenizer:S,renderer:a}),v.ZP=i()},49661: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},Hi:function(){return GraphDownloadImageUrl},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},ZI:function(){return numFormat},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__(34055),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__(15610),_service_exercise__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(72664),_contentType__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(28048),umi__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(76560),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__(90524),_components_mediator__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(33796),_components_RenderHtml__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(7664),_utils_fetch__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(82093),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__(77976),moment__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(56656),moment__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_12__),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(48228),dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(dayjs_plugin_customParseFormat__WEBPACK_IMPORTED_MODULE_13__),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 GraphDownloadImageUrl=(d,...v)=>__async(void 0,[d,...v],function*(e,r={},i=!0){const l=yield e.toDataURL(r),[c,f]=l.split(","),o=c.match(/:(.*?);/)[1],h=atob(f);let u=h.length;const a=new Uint8Array(u);for(;u--;)a[u]=h.charCodeAt(u);const x=new Blob([a],{type:o});return i?URL.createObjectURL(x):x}),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="\u8003\u8BD5\u7CFB\u7EDF":d!==""&&d&&(document.title=d||(document.domain.indexOf(".educoder.net")>-1?"\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,m=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,m=m+1}),__spreadValues(__spreadValues({},S),{number:v[k+1]})});return{all_questions_count:m,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((P,M)=>{R.type===P.type&&y.push(P)})});const m=[];let b=0,S=0;const k=y.filter(R=>R.questions_count>0).map((R,A)=>{var P;return(P=R.questions)==null||P.forEach(M=>{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:m,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,numFormat=d=>d?(d>=1e3&&(d=d/1e3+"K"),d):0},93490: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)}},9139: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)(),m=o(),b=m.clientRoutes,S=(0,l.fp)(b,y.pathname);return S||[]}function u(){var y,m=h().slice(-1),b=((y=m[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(),m=o(),b=m.serverLoaderData,S=m.basename,k=React.useState(function(){var M={},B=!1;return y.forEach(function(N){var G=b[N.route.id];G&&(Object.assign(M,G),B=!0)}),B?M:void 0}),R=_slicedToArray(k,2),A=R[0],P=R[1];return React.useEffect(function(){window.__UMI_LOADER_DATA__||Promise.all(y.filter(function(M){return M.route.hasServerLoader}).map(function(M){return new Promise(function(B){fetchServerLoader({id:M.route.id,basename:S,cb:B})})})).then(function(M){if(M.length){var B={};M.forEach(function(N){Object.assign(B,N)}),P(B)}})},[]),{data:A}}function x(){var y=useRouteData(),m=o();return{data:m.clientLoaderData[y.route.id]}}function p(){var y=a(),m=x();return{data:_objectSpread(_objectSpread({},y.data),m.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:m,emitEvent:b,isSilent:S,quitOnNullishReturnValue:k,actionFn:R}=h,A=i.useRef(!1),P=i.useRef(null),[M,B]=(0,r.Z)(!1),N=function(){y==null||y.apply(void 0,arguments)};i.useEffect(()=>{let H=null;return m&&(H=setTimeout(()=>{var ae;(ae=P.current)===null||ae===void 0||ae.focus()})),()=>{H&&clearTimeout(H)}},[]);const G=H=>{f(H)&&(B(!0),H.then(function(){B(!1,!0),N.apply(void 0,arguments),A.current=!1},ae=>{if(B(!1,!0),A.current=!1,!(S!=null&&S()))return Promise.reject(ae)}))},W=H=>{if(A.current)return;if(A.current=!0,!R){N();return}let ae;if(b){if(ae=R(H),k&&!f(ae)){A.current=!1,N(H);return}}else if(R.length)ae=R(y),A.current=!1;else if(ae=R(),!ae){N();return}G(ae)};return i.createElement(l.ZP,Object.assign({},(0,c.n)(u),{onClick:W,loading:M,prefixCls:x},p,{ref:P}),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:m,style:b}=y,S=i.useRef(null),[k,R]=i.useState(0),[A,P]=i.useState(0),[M,B]=(0,r.Z)(!1,{value:y.open}),{getPrefixCls:N}=i.useContext(c.E_),G=N(u||"select",m);i.useEffect(()=>{if(B(!0),typeof ResizeObserver!="undefined"){const H=new ResizeObserver(ne=>{const oe=ne[0].target;R(oe.offsetHeight+8),P(oe.offsetWidth)}),ae=setInterval(()=>{var ne;const oe=a?`.${a(G)}`:`.${G}-dropdown`,q=(ne=S.current)===null||ne===void 0?void 0:ne.querySelector(oe);q&&(clearInterval(ae),H.observe(q))},10);return()=>{clearInterval(ae),H.disconnect()}}},[]);let W=Object.assign(Object.assign({},y),{style:Object.assign(Object.assign({},b),{margin:0}),open:M,visible:M,getPopupContainer:()=>S.current});return x&&(W=x(W)),i.createElement("div",{ref:S,style:{paddingBottom:k,position:"relative",minWidth:A}},i.createElement(h,Object.assign({},W)))}return f(p)}},36785:function(d,v,e){"use strict";e.d(v,{o2:function(){return f},yT:function(){return o}});var r=e(94480),i=e(33166);const l=i.i.map(h=>`${h}-inverse`),c=["success","processing","error","default","warning"];function f(h){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,r.Z)(l),(0,r.Z)(i.i)).includes(h):i.i.includes(h)}function o(h){return c.includes(h)}},47729:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(99267),i=e(59301);function l(f,o,h){return typeof f=="boolean"?f:o===void 0?!!h:o!==!1&&o!==null}function c(f,o,h){let u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:i.createElement(r.Z,null),a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(!l(f,o,a))return[!1,null];const p=typeof o=="boolean"||o===void 0||o===null?u:o;return[!0,h?h(p):p]}},62892:function(d,v,e){"use strict";e.d(v,{m:function(){return h}});const r=()=>({height:0,opacity:0}),i=u=>{const{scrollHeight:a}=u;return{height:a,opacity:1}},l=u=>({height:u?u.offsetHeight:0}),c=(u,a)=>(a==null?void 0:a.deadline)===!0||a.propertyName==="height",f=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:i,onEnterActive:i,onLeaveStart:l,onLeaveActive:r,onAppearEnd:c,onEnterEnd:c,onLeaveEnd:c,motionDeadline:500}},o=null,h=(u,a,x)=>x!==void 0?x:`${u}-${a}`;v.Z=f},79676:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(19447);function i(h,u,a,x){if(x===!1)return{adjustX:!1,adjustY:!1};const p=x&&typeof x=="object"?x:{},y={};switch(h){case"top":case"bottom":y.shiftX=u.dropdownArrowOffset*2+a;break;case"left":case"right":y.shiftY=u.dropdownArrowOffsetVertical*2+a;break}const m=Object.assign(Object.assign({},y),p);return m.shiftX||(m.adjustX=!0),m.shiftY||(m.adjustY=!0),m}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:m}=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 P=(0,r.fS)({contentRadius:y,limitVerticalRadius:!0});if(x)switch(k){case"topLeft":case"bottomLeft":A.offset[0]=-P.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":A.offset[0]=P.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":A.offset[1]=-P.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":A.offset[1]=P.dropdownArrowOffset+b;break}A.overflow=i(k,P,u,a),m&&(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 m=p.toUpperCase(),b=`screen${m}Min`,S=`screen${m}`;if(!(a[b]<=a[S]))throw new Error(`${b}<=${S} fails : !(${a[b]}<=${a[S]})`);if(y<x.length-1){const k=`screen${m}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(m){return y=m,x.forEach(b=>b(y)),x.size>=1},subscribe(m){return x.size||this.register(),p+=1,x.set(p,m),m(y),p},unsubscribe(m){x.delete(m),x.size||this.unregister()},unregister(){Object.keys(a).forEach(m=>{const b=a[m],S=this.matchHandlers[b];S==null||S.mql.removeListener(S==null?void 0:S.listener)}),x.clear()},register(){Object.keys(a).forEach(m=>{const b=a[m],S=R=>{let{matches:A}=R;this.dispatch(Object.assign(Object.assign({},y),{[m]: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=ne=>{const{componentCls:oe,colorPrimary:q}=ne;return{[oe]:{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 ${ne.motionEaseOutCirc}`,`opacity 2s ${ne.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow 0.3s ${ne.motionEaseInOut}`,`opacity 0.35s ${ne.motionEaseInOut}`].join(",")}}}}};var x=(0,u.Z)("Wave",ne=>[a(ne)]),p=e(70425),y=e(16089),m=e(77900),b=e(1585);function S(ne){const oe=(ne||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return oe&&oe[1]&&oe[2]&&oe[3]?!(oe[1]===oe[2]&&oe[2]===oe[3]):!0}function k(ne){return ne&&ne!=="#fff"&&ne!=="#ffffff"&&ne!=="rgb(255, 255, 255)"&&ne!=="rgba(255, 255, 255, 1)"&&S(ne)&&!/rgba\((?:\d*, ){3}0\)/.test(ne)&&ne!=="transparent"}function R(ne){const{borderTopColor:oe,borderColor:q,backgroundColor:J}=getComputedStyle(ne);return k(oe)?oe:k(q)?q:k(J)?J:null}var A=e(4572);function P(ne){return Number.isNaN(ne)?0:ne}const M=ne=>{const{className:oe,target:q,component:J}=ne,K=f.useRef(null),[se,ee]=f.useState(null),[Q,le]=f.useState([]),[z,$]=f.useState(0),[ie,me]=f.useState(0),[Pe,De]=f.useState(0),[Ze,Ne]=f.useState(0),[Bt,yt]=f.useState(!1),It={left:z,top:ie,width:Pe,height:Ze,borderRadius:Q.map(ur=>`${ur}px`).join(" ")};se&&(It["--wave-color"]=se);function rr(){const ur=getComputedStyle(q);ee(R(q));const We=ur.position==="static",{borderLeftWidth:Pt,borderTopWidth:zt}=ur;$(We?q.offsetLeft:P(-parseFloat(Pt))),me(We?q.offsetTop:P(-parseFloat(zt))),De(q.offsetWidth),Ne(q.offsetHeight);const{borderTopLeftRadius:nt,borderTopRightRadius:Et,borderBottomLeftRadius:ht,borderBottomRightRadius:Je}=ur;le([nt,Et,Je,ht].map(Ue=>P(parseFloat(Ue))))}if(f.useEffect(()=>{if(q){const ur=(0,y.Z)(()=>{rr(),yt(!0)});let We;return typeof ResizeObserver!="undefined"&&(We=new ResizeObserver(rr),We.observe(q)),()=>{y.Z.cancel(ur),We==null||We.disconnect()}}},[]),!Bt)return null;const Yt=(J==="Checkbox"||J==="Radio")&&(q==null?void 0:q.classList.contains(A.A));return f.createElement(m.default,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(ur,We)=>{var Pt;if(We.deadline||We.propertyName==="opacity"){const zt=(Pt=K.current)===null||Pt===void 0?void 0:Pt.parentElement;(0,b.v)(zt).then(()=>{zt==null||zt.remove()})}return!1}},ur=>{let{className:We}=ur;return f.createElement("div",{ref:K,className:i()(oe,{"wave-quick":Yt},We),style:It})})};var N=(ne,oe)=>{var q;const{component:J}=oe;if(J==="Checkbox"&&!(!((q=ne.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",ne==null||ne.insertBefore(K,ne==null?void 0:ne.firstChild),(0,b.s)(f.createElement(M,Object.assign({},oe,{target:ne})),K)},G=e(88088);function W(ne,oe,q){const{wave:J}=f.useContext(o.E_),[,K,se]=(0,G.Z)(),ee=(0,p.useEvent)(z=>{const $=ne.current;if(J!=null&&J.disabled||!$)return;const ie=$.querySelector(`.${A.A}`)||$,{showEffect:me}=J||{};(me||N)(ie,{className:oe,token:K,component:q,event:z,hashId:se})}),Q=f.useRef();return z=>{y.Z.cancel(Q.current),Q.current=(0,y.Z)(()=>{ee(z)})}}var ae=ne=>{const{children:oe,disabled:q,component:J}=ne,{getPrefixCls:K}=(0,f.useContext)(o.E_),se=(0,f.useRef)(null),ee=K("wave"),[,Q]=x(ee),le=W(se,i()(ee,Q),J);if(f.useEffect(()=>{const $=se.current;if(!$||$.nodeType!==1||q)return;const ie=me=>{!(0,c.Z)(me.target)||!$.getAttribute||$.getAttribute("disabled")||$.disabled||$.className.includes("disabled")||$.className.includes("-leave")||le(me)};return $.addEventListener("click",ie,!0),()=>{$.removeEventListener("click",ie,!0)}},[q]),!f.isValidElement(oe))return oe!=null?oe:null;const z=(0,l.Yr)(oe)?(0,l.sQ)(oe.ref,se):se;return(0,h.Tm)(oe,{ref:z})}},4572:function(d,v,e){"use strict";e.d(v,{A:function(){return r}});const r="ant-wave-target"},67797:function(d,v,e){"use strict";e.d(v,{n:function(){return kt},Z:function(){return Xt}});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(Ge,ce){var pe={};for(var Dt in Ge)Object.prototype.hasOwnProperty.call(Ge,Dt)&&ce.indexOf(Dt)<0&&(pe[Dt]=Ge[Dt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Dt=Object.getOwnPropertySymbols(Ge);Ce<Dt.length;Ce++)ce.indexOf(Dt[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Dt[Ce])&&(pe[Dt[Ce]]=Ge[Dt[Ce]]);return pe};const m=r.createContext(void 0);var S=Ge=>{const{getPrefixCls:ce,direction:pe}=r.useContext(h.E_),{prefixCls:Dt,size:Ce,className:ct}=Ge,Zt=y(Ge,["prefixCls","size","className"]),St=ce("btn-group",Dt),[,,Ie]=(0,p.Z)();let wt="";switch(Ce){case"large":wt="lg";break;case"small":wt="sm";break;case"middle":case void 0:break;default:}const be=l()(St,{[`${St}-${wt}`]:wt,[`${St}-rtl`]:pe==="rtl"},ct,Ie);return r.createElement(m.Provider,{value:Ce},r.createElement("div",Object.assign({},Zt,{className:be})))},k=e(92343);const R=/^[\u4e00-\u9fa5]{2}$/,A=R.test.bind(R);function P(Ge){return typeof Ge=="string"}function M(Ge){return Ge==="text"||Ge==="link"}function B(Ge,ce){if(Ge==null)return;const pe=ce?" ":"";return typeof Ge!="string"&&typeof Ge!="number"&&P(Ge.type)&&A(Ge.props.children)?(0,k.Tm)(Ge,{children:Ge.props.children.split("").join(pe)}):P(Ge)?A(Ge)?r.createElement("span",null,Ge.split("").join(pe)):r.createElement("span",null,Ge):(0,k.M2)(Ge)?r.createElement("span",null,Ge):Ge}function N(Ge,ce){let pe=!1;const Dt=[];return r.Children.forEach(Ge,Ce=>{const ct=typeof Ce,Zt=ct==="string"||ct==="number";if(pe&&Zt){const St=Dt.length-1,Ie=Dt[St];Dt[St]=`${Ie}${Ce}`}else Dt.push(Ce);pe=Zt}),r.Children.map(Dt,Ce=>B(Ce,ce))}const G=null,W=null,H=null;var ne=(0,r.forwardRef)((Ge,ce)=>{const{className:pe,style:Dt,children:Ce,prefixCls:ct}=Ge,Zt=l()(`${ct}-icon`,pe);return r.createElement("span",{ref:ce,className:Zt,style:Dt},Ce)}),oe=e(58617),q=e(77900);const J=(0,r.forwardRef)((Ge,ce)=>{let{prefixCls:pe,className:Dt,style:Ce,iconClassName:ct}=Ge;const Zt=l()(`${pe}-loading-icon`,Dt);return r.createElement(ne,{prefixCls:pe,className:Zt,style:Ce,ref:ce},r.createElement(oe.Z,{className:ct}))}),K=()=>({width:0,opacity:0,transform:"scale(0)"}),se=Ge=>({width:Ge.scrollWidth,opacity:1,transform:"scale(1)"});var Q=Ge=>{const{prefixCls:ce,loading:pe,existIcon:Dt,className:Ce,style:ct}=Ge,Zt=!!pe;return Dt?r.createElement(J,{prefixCls:ce,className:Ce,style:ct}):r.createElement(q.default,{visible:Zt,motionName:`${ce}-loading-icon-motion`,removeOnLeave:!0,onAppearStart:K,onAppearActive:se,onEnterStart:K,onEnterActive:se,onLeaveStart:se,onLeaveActive:K},(St,Ie)=>{let{className:wt,style:be}=St;return r.createElement(J,{prefixCls:ce,className:Ce,style:Object.assign(Object.assign({},ct),be),ref:Ie,iconClassName:wt})})},le=e(17313),z=e(37613),$=e(83116);const ie=(Ge,ce)=>({[`> span, > ${Ge}`]:{"&:not(:last-child)":{[`&, & > ${Ge}`]:{"&:not(:disabled)":{borderInlineEndColor:ce}}},"&:not(:first-child)":{[`&, & > ${Ge}`]:{"&:not(:disabled)":{borderInlineStartColor:ce}}}}});var Pe=Ge=>{const{componentCls:ce,fontSize:pe,lineWidth:Dt,groupBorderColor:Ce,colorErrorHover:ct}=Ge;return{[`${ce}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${ce}`]:{"&:not(:last-child)":{[`&, & > ${ce}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:-Dt,[`&, & > ${ce}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[ce]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${ce}-icon-only`]:{fontSize:pe}},ie(`${ce}-primary`,Ce),ie(`${ce}-danger`,ct)]}};const De=Ge=>{const{componentCls:ce,iconCls:pe,fontWeight:Dt}=Ge;return{[ce]:{outline:"none",position:"relative",display:"inline-block",fontWeight:Dt,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",backgroundColor:"transparent",border:`${Ge.lineWidth}px ${Ge.lineType} transparent`,cursor:"pointer",transition:`all ${Ge.motionDurationMid} ${Ge.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",lineHeight:Ge.lineHeight,color:Ge.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${ce}-icon`]:{lineHeight:0},[`> ${pe} + span, > span + ${pe}`]:{marginInlineStart:Ge.marginXS},[`&:not(${ce}-icon-only) > ${ce}-icon`]:{[`&${ce}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:Ge.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,le.Qy)(Ge)),[`&-icon-only${ce}-compact-item`]:{flex:"none"},[`&-compact-item${ce}-primary`]:{[`&:not([disabled]) + ${ce}-compact-item${ce}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ge.lineWidth,insetInlineStart:-Ge.lineWidth,display:"inline-block",width:Ge.lineWidth,height:`calc(100% + ${Ge.lineWidth*2}px)`,backgroundColor:Ge.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${ce}-primary`]:{[`&:not([disabled]) + ${ce}-compact-vertical-item${ce}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:-Ge.lineWidth,insetInlineStart:-Ge.lineWidth,display:"inline-block",width:`calc(100% + ${Ge.lineWidth*2}px)`,height:Ge.lineWidth,backgroundColor:Ge.colorPrimaryHover,content:'""'}}}}}}},Ze=(Ge,ce,pe)=>({[`&:not(:disabled):not(${Ge}-disabled)`]:{"&:hover":ce,"&:active":pe}}),Ne=Ge=>({minWidth:Ge.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Bt=Ge=>({borderRadius:Ge.controlHeight,paddingInlineStart:Ge.controlHeight/2,paddingInlineEnd:Ge.controlHeight/2}),yt=Ge=>({cursor:"not-allowed",borderColor:Ge.borderColorDisabled,color:Ge.colorTextDisabled,backgroundColor:Ge.colorBgContainerDisabled,boxShadow:"none"}),It=(Ge,ce,pe,Dt,Ce,ct,Zt,St)=>({[`&${Ge}-background-ghost`]:Object.assign(Object.assign({color:pe||void 0,backgroundColor:ce,borderColor:Dt||void 0,boxShadow:"none"},Ze(Ge,Object.assign({backgroundColor:ce},Zt),Object.assign({backgroundColor:ce},St))),{"&:disabled":{cursor:"not-allowed",color:Ce||void 0,borderColor:ct||void 0}})}),rr=Ge=>({[`&:disabled, &${Ge.componentCls}-disabled`]:Object.assign({},yt(Ge))}),Yt=Ge=>Object.assign({},rr(Ge)),ur=Ge=>({[`&:disabled, &${Ge.componentCls}-disabled`]:{cursor:"not-allowed",color:Ge.colorTextDisabled}}),We=Ge=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Yt(Ge)),{backgroundColor:Ge.defaultBg,borderColor:Ge.defaultBorderColor,color:Ge.defaultColor,boxShadow:Ge.defaultShadow}),Ze(Ge.componentCls,{color:Ge.colorPrimaryHover,borderColor:Ge.colorPrimaryHover},{color:Ge.colorPrimaryActive,borderColor:Ge.colorPrimaryActive})),It(Ge.componentCls,Ge.ghostBg,Ge.defaultGhostColor,Ge.defaultGhostBorderColor,Ge.colorTextDisabled,Ge.colorBorder)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:Ge.colorError,borderColor:Ge.colorError},Ze(Ge.componentCls,{color:Ge.colorErrorHover,borderColor:Ge.colorErrorBorderHover},{color:Ge.colorErrorActive,borderColor:Ge.colorErrorActive})),It(Ge.componentCls,Ge.ghostBg,Ge.colorError,Ge.colorError,Ge.colorTextDisabled,Ge.colorBorder)),rr(Ge))}),Pt=Ge=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Yt(Ge)),{color:Ge.primaryColor,backgroundColor:Ge.colorPrimary,boxShadow:Ge.primaryShadow}),Ze(Ge.componentCls,{color:Ge.colorTextLightSolid,backgroundColor:Ge.colorPrimaryHover},{color:Ge.colorTextLightSolid,backgroundColor:Ge.colorPrimaryActive})),It(Ge.componentCls,Ge.ghostBg,Ge.colorPrimary,Ge.colorPrimary,Ge.colorTextDisabled,Ge.colorBorder,{color:Ge.colorPrimaryHover,borderColor:Ge.colorPrimaryHover},{color:Ge.colorPrimaryActive,borderColor:Ge.colorPrimaryActive})),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({backgroundColor:Ge.colorError,boxShadow:Ge.dangerShadow,color:Ge.dangerColor},Ze(Ge.componentCls,{backgroundColor:Ge.colorErrorHover},{backgroundColor:Ge.colorErrorActive})),It(Ge.componentCls,Ge.ghostBg,Ge.colorError,Ge.colorError,Ge.colorTextDisabled,Ge.colorBorder,{color:Ge.colorErrorHover,borderColor:Ge.colorErrorHover},{color:Ge.colorErrorActive,borderColor:Ge.colorErrorActive})),rr(Ge))}),zt=Ge=>Object.assign(Object.assign({},We(Ge)),{borderStyle:"dashed"}),nt=Ge=>Object.assign(Object.assign(Object.assign({color:Ge.colorLink},Ze(Ge.componentCls,{color:Ge.colorLinkHover,backgroundColor:Ge.linkHoverBg},{color:Ge.colorLinkActive})),ur(Ge)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ge.colorError},Ze(Ge.componentCls,{color:Ge.colorErrorHover},{color:Ge.colorErrorActive})),ur(Ge))}),Et=Ge=>Object.assign(Object.assign(Object.assign({},Ze(Ge.componentCls,{color:Ge.colorText,backgroundColor:Ge.textHoverBg},{color:Ge.colorText,backgroundColor:Ge.colorBgTextActive})),ur(Ge)),{[`&${Ge.componentCls}-dangerous`]:Object.assign(Object.assign({color:Ge.colorError},ur(Ge)),Ze(Ge.componentCls,{color:Ge.colorErrorHover,backgroundColor:Ge.colorErrorBg},{color:Ge.colorErrorHover,backgroundColor:Ge.colorErrorBg}))}),ht=Ge=>{const{componentCls:ce}=Ge;return{[`${ce}-default`]:We(Ge),[`${ce}-primary`]:Pt(Ge),[`${ce}-dashed`]:zt(Ge),[`${ce}-link`]:nt(Ge),[`${ce}-text`]:Et(Ge),[`${ce}-ghost`]:It(Ge.componentCls,Ge.ghostBg,Ge.colorBgContainer,Ge.colorBgContainer,Ge.colorTextDisabled,Ge.colorBorder)}},Je=function(Ge){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:pe,controlHeight:Dt,fontSize:Ce,lineHeight:ct,lineWidth:Zt,borderRadius:St,buttonPaddingHorizontal:Ie,iconCls:wt}=Ge,be=Math.max(0,(Dt-Ce*ct)/2-Zt),Ye=`${pe}-icon-only`;return[{[`${pe}${ce}`]:{fontSize:Ce,height:Dt,padding:`${be}px ${Ie}px`,borderRadius:St,[`&${Ye}`]:{width:Dt,paddingInlineStart:0,paddingInlineEnd:0,[`&${pe}-round`]:{width:"auto"},[wt]:{fontSize:Ge.buttonIconOnlyFontSize}},[`&${pe}-loading`]:{opacity:Ge.opacityLoading,cursor:"default"},[`${pe}-loading-icon`]:{transition:`width ${Ge.motionDurationSlow} ${Ge.motionEaseInOut}, opacity ${Ge.motionDurationSlow} ${Ge.motionEaseInOut}`}}},{[`${pe}${pe}-circle${ce}`]:Ne(Ge)},{[`${pe}${pe}-round${ce}`]:Bt(Ge)}]},Ue=Ge=>Je((0,z.TS)(Ge,{fontSize:Ge.contentFontSize})),ge=Ge=>{const ce=(0,z.TS)(Ge,{controlHeight:Ge.controlHeightSM,fontSize:Ge.contentFontSizeSM,padding:Ge.paddingXS,buttonPaddingHorizontal:Ge.paddingInlineSM,borderRadius:Ge.borderRadiusSM,buttonIconOnlyFontSize:Ge.onlyIconSizeSM});return Je(ce,`${Ge.componentCls}-sm`)},Se=Ge=>{const ce=(0,z.TS)(Ge,{controlHeight:Ge.controlHeightLG,fontSize:Ge.contentFontSizeLG,buttonPaddingHorizontal:Ge.paddingInlineLG,borderRadius:Ge.borderRadiusLG,buttonIconOnlyFontSize:Ge.onlyIconSizeLG});return Je(ce,`${Ge.componentCls}-lg`)},Le=Ge=>{const{componentCls:ce}=Ge;return{[ce]:{[`&${ce}-block`]:{width:"100%"}}}},je=Ge=>{const{paddingInline:ce,onlyIconSize:pe}=Ge;return(0,z.TS)(Ge,{buttonPaddingHorizontal:ce,buttonIconOnlyFontSize:pe})},He=Ge=>({fontWeight:400,defaultShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.controlTmpOutline}`,primaryShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.controlOutline}`,dangerShadow:`0 ${Ge.controlOutlineWidth}px 0 ${Ge.colorErrorOutline}`,primaryColor:Ge.colorTextLightSolid,dangerColor:Ge.colorTextLightSolid,borderColorDisabled:Ge.colorBorder,defaultGhostColor:Ge.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:Ge.colorBgContainer,paddingInline:Ge.paddingContentHorizontal-Ge.lineWidth,paddingInlineLG:Ge.paddingContentHorizontal-Ge.lineWidth,paddingInlineSM:8-Ge.lineWidth,onlyIconSize:Ge.fontSizeLG,onlyIconSizeSM:Ge.fontSizeLG-2,onlyIconSizeLG:Ge.fontSizeLG+2,groupBorderColor:Ge.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:Ge.colorBgTextHover,defaultColor:Ge.colorText,defaultBg:Ge.colorBgContainer,defaultBorderColor:Ge.colorBorder,defaultBorderColorDisabled:Ge.colorBorder,contentFontSize:Ge.fontSize,contentFontSizeSM:Ge.fontSize,contentFontSizeLG:Ge.fontSizeLG});var rt=(0,$.Z)("Button",Ge=>{const ce=je(Ge);return[De(ce),ge(ce),Ue(ce),Se(ce),Le(ce),ht(ce),Pe(ce)]},He),lt=e(74207);function Kt(Ge,ce){return{[`&-item:not(${ce}-last-item)`]:{marginBottom:-Ge.lineWidth},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Wt(Ge,ce){return{[`&-item:not(${ce}-first-item):not(${ce}-last-item)`]:{borderRadius:0},[`&-item${ce}-first-item:not(${ce}-last-item)`]:{[`&, &${Ge}-sm, &${Ge}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${ce}-last-item:not(${ce}-first-item)`]:{[`&, &${Ge}-sm, &${Ge}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Ae(Ge){const ce=`${Ge.componentCls}-compact-vertical`;return{[ce]:Object.assign(Object.assign({},Kt(Ge,ce)),Wt(Ge.componentCls,ce))}}var qe=(0,$.b)(["Button","compact"],Ge=>{const ce=je(Ge);return[(0,lt.c)(ce),Ae(ce)]},He),Vt=function(Ge,ce){var pe={};for(var Dt in Ge)Object.prototype.hasOwnProperty.call(Ge,Dt)&&ce.indexOf(Dt)<0&&(pe[Dt]=Ge[Dt]);if(Ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Dt=Object.getOwnPropertySymbols(Ge);Ce<Dt.length;Ce++)ce.indexOf(Dt[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ge,Dt[Ce])&&(pe[Dt[Ce]]=Ge[Dt[Ce]]);return pe};function kt(Ge){return Ge==="danger"?{danger:!0}:{type:Ge}}function Ht(Ge){if(typeof Ge=="object"&&Ge){const ce=Ge==null?void 0:Ge.delay;return{loading:!1,delay:!Number.isNaN(ce)&&typeof ce=="number"?ce:0}}return{loading:!!Ge,delay:0}}const $t=(Ge,ce)=>{var pe,Dt;const{loading:Ce=!1,prefixCls:ct,type:Zt="default",danger:St,shape:Ie="default",size:wt,styles:be,disabled:Ye,className:vt,rootClassName:Lt,children:Me,icon:Or,ghost:At=!1,block:Yr=!1,htmlType:rn="button",classNames:wr,style:jr={}}=Ge,mr=Vt(Ge,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","ghost","block","htmlType","classNames","style"]),{getPrefixCls:Zr,autoInsertSpaceInButton:un,direction:mn,button:sr}=(0,r.useContext)(h.E_),Rt=Zr("btn",ct),[_t,gt]=rt(Rt),jt=(0,r.useContext)(u.Z),Ar=Ye!=null?Ye:jt,yr=(0,r.useContext)(m),it=(0,r.useMemo)(()=>Ht(Ce),[Ce]),[Nr,An]=(0,r.useState)(it.loading),[Jn,gr]=(0,r.useState)(!1),nn=(0,r.createRef)(),vn=(0,f.sQ)(ce,nn),Wn=r.Children.count(Me)===1&&!Or&&!M(Zt);(0,r.useEffect)(()=>{let Ti=null;it.delay>0?Ti=setTimeout(()=>{Ti=null,An(!0)},it.delay):An(it.loading);function pi(){Ti&&(clearTimeout(Ti),Ti=null)}return pi},[it]),(0,r.useEffect)(()=>{if(!vn||!vn.current||un===!1)return;const Ti=vn.current.textContent;Wn&&A(Ti)?Jn||gr(!0):Jn&&gr(!1)},[vn]);const si=Ti=>{const{onClick:pi}=Ge;if(Nr||Ar){Ti.preventDefault();return}pi==null||pi(Ti)},gi=un!==!1,{compactSize:aa,compactItemClassnames:ui}=(0,x.ri)(Rt,mn),Ni={large:"lg",small:"sm",middle:void 0},mi=(0,a.Z)(Ti=>{var pi,Rn;return(Rn=(pi=wt!=null?wt:aa)!==null&&pi!==void 0?pi:yr)!==null&&Rn!==void 0?Rn:Ti}),Pi=mi&&Ni[mi]||"",Ra=Nr?"loading":Or,fi=(0,c.Z)(mr,["navigate"]),Hi=l()(Rt,gt,{[`${Rt}-${Ie}`]:Ie!=="default"&&Ie,[`${Rt}-${Zt}`]:Zt,[`${Rt}-${Pi}`]:Pi,[`${Rt}-icon-only`]:!Me&&Me!==0&&!!Ra,[`${Rt}-background-ghost`]:At&&!M(Zt),[`${Rt}-loading`]:Nr,[`${Rt}-two-chinese-chars`]:Jn&&gi&&!Nr,[`${Rt}-block`]:Yr,[`${Rt}-dangerous`]:!!St,[`${Rt}-rtl`]:mn==="rtl"},ui,vt,Lt,sr==null?void 0:sr.className),bt=Object.assign(Object.assign({},sr==null?void 0:sr.style),jr),ut=l()(wr==null?void 0:wr.icon,(pe=sr==null?void 0:sr.classNames)===null||pe===void 0?void 0:pe.icon),ii=Object.assign(Object.assign({},(be==null?void 0:be.icon)||{}),((Dt=sr==null?void 0:sr.styles)===null||Dt===void 0?void 0:Dt.icon)||{}),Si=Or&&!Nr?r.createElement(ne,{prefixCls:Rt,className:ut,style:ii},Or):r.createElement(Q,{existIcon:!!Or,prefixCls:Rt,loading:!!Nr}),li=Me||Me===0?N(Me,Wn&&gi):null;if(fi.href!==void 0)return _t(r.createElement("a",Object.assign({},fi,{className:l()(Hi,{[`${Rt}-disabled`]:Ar}),style:bt,onClick:si,ref:vn}),Si,li));let sa=r.createElement("button",Object.assign({},mr,{type:rn,className:Hi,style:bt,onClick:si,disabled:Ar,ref:vn}),Si,li,ui&&r.createElement(qe,{key:"compact",prefixCls:Rt}));return M(Zt)||(sa=r.createElement(o.Z,{component:"Button",disabled:!!Nr},sa)),_t(sa)},Tt=(0,r.forwardRef)($t);Tt.Group=S,Tt.__ANT_BUTTON=!0;var Xt=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 ur},w6:function(){return It}});var r=e(36237),i=e(18418),l=e(80547),c=e(24434),f=e(59301),o=e(28726),h=e(98044),u=e(41887);const a="internalMark";var p=We=>{const{locale:Pt={},children:zt,_ANT_MARK__:nt}=We;f.useEffect(()=>(0,h.f)(Pt&&Pt.Modal),[Pt]);const Et=f.useMemo(()=>Object.assign(Object.assign({},Pt),{exist:!0}),[Pt]);return f.createElement(u.Z.Provider,{value:Et},zt)},y=e(31724),m=e(45246),b=e(34117),S=e(36355),k=e(30071),R=e(64993),A=e(47273),P=e(810);const M=`-ant-${Date.now()}-${Math.random()}`;function B(We,Pt){const zt={},nt=(Je,Ue)=>{let ge=Je.clone();return ge=(Ue==null?void 0:Ue(ge))||ge,ge.toRgbString()},Et=(Je,Ue)=>{const ge=new R.C(Je),Se=(0,k.generate)(ge.toRgbString());zt[`${Ue}-color`]=nt(ge),zt[`${Ue}-color-disabled`]=Se[1],zt[`${Ue}-color-hover`]=Se[4],zt[`${Ue}-color-active`]=Se[6],zt[`${Ue}-color-outline`]=ge.clone().setAlpha(.2).toRgbString(),zt[`${Ue}-color-deprecated-bg`]=Se[0],zt[`${Ue}-color-deprecated-border`]=Se[2]};if(Pt.primaryColor){Et(Pt.primaryColor,"primary");const Je=new R.C(Pt.primaryColor),Ue=(0,k.generate)(Je.toRgbString());Ue.forEach((Se,Le)=>{zt[`primary-${Le+1}`]=Se}),zt["primary-color-deprecated-l-35"]=nt(Je,Se=>Se.lighten(35)),zt["primary-color-deprecated-l-20"]=nt(Je,Se=>Se.lighten(20)),zt["primary-color-deprecated-t-20"]=nt(Je,Se=>Se.tint(20)),zt["primary-color-deprecated-t-50"]=nt(Je,Se=>Se.tint(50)),zt["primary-color-deprecated-f-12"]=nt(Je,Se=>Se.setAlpha(Se.getAlpha()*.12));const ge=new R.C(Ue[0]);zt["primary-color-active-deprecated-f-30"]=nt(ge,Se=>Se.setAlpha(Se.getAlpha()*.3)),zt["primary-color-active-deprecated-d-02"]=nt(ge,Se=>Se.darken(2))}return Pt.successColor&&Et(Pt.successColor,"success"),Pt.warningColor&&Et(Pt.warningColor,"warning"),Pt.errorColor&&Et(Pt.errorColor,"error"),Pt.infoColor&&Et(Pt.infoColor,"info"),`
|
|
|
:root {
|
|
|
${Object.keys(zt).map(Je=>`--${We}-${Je}: ${zt[Je]};`).join(`
|
|
|
`)}
|
|
|
}
|
|
|
`.trim()}function N(We,Pt){const zt=B(We,Pt);(0,A.Z)()&&(0,P.hq)(zt,`${M}-dynamic-theme`)}var G=e(1684),W=e(52946);function H(){const We=(0,f.useContext)(G.Z),Pt=(0,f.useContext)(W.Z);return{componentDisabled:We,componentSize:Pt}}var ae=H,ne=e(13697);function oe(We,Pt){const zt=We||{},nt=zt.inherit===!1||!Pt?m.u_:Pt;return(0,l.Z)(()=>{if(!We)return Pt;const Et=Object.assign({},nt.components);return Object.keys(We.components||{}).forEach(ht=>{Et[ht]=Object.assign(Object.assign({},Et[ht]),We.components[ht])}),Object.assign(Object.assign(Object.assign({},nt),zt),{token:Object.assign(Object.assign({},nt.token),zt.token),components:Et})},[zt,nt],(Et,ht)=>Et.some((Je,Ue)=>{const ge=ht[Ue];return!(0,ne.Z)(Je,ge,!0)}))}var q=e(77900),J=e(88088);function K(We){const{children:Pt}=We,[,zt]=(0,J.Z)(),{motion:nt}=zt,Et=f.useRef(!1);return Et.current=Et.current||nt===!1,Et.current?f.createElement(q.Provider,{motion:nt},Pt):Pt}var se=e(73040),ee=function(We,Pt){var zt={};for(var nt in We)Object.prototype.hasOwnProperty.call(We,nt)&&Pt.indexOf(nt)<0&&(zt[nt]=We[nt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Et=0,nt=Object.getOwnPropertySymbols(We);Et<nt.length;Et++)Pt.indexOf(nt[Et])<0&&Object.prototype.propertyIsEnumerable.call(We,nt[Et])&&(zt[nt[Et]]=We[nt[Et]]);return zt};let Q=!1;const le=null,z=null,$=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","pagination","form","select","button"],ie="ant";let me,Pe,De;function Ze(){return me||ie}function Ne(){return Pe||S.oR}function Bt(We){return Object.keys(We).some(Pt=>Pt.endsWith("Color"))}const yt=We=>{let{prefixCls:Pt,iconPrefixCls:zt,theme:nt}=We;Pt!==void 0&&(me=Pt),zt!==void 0&&(Pe=zt),nt&&(Bt(nt)?N(Ze(),nt):De=nt)},It=()=>({getPrefixCls:(We,Pt)=>Pt||(We?`${Ze()}-${We}`:Ze()),getIconPrefixCls:Ne,getRootPrefixCls:()=>me||Ze(),getTheme:()=>De}),rr=We=>{const{children:Pt,csp:zt,autoInsertSpaceInButton:nt,alert:Et,anchor:ht,form:Je,locale:Ue,componentSize:ge,direction:Se,space:Le,virtual:je,dropdownMatchSelectWidth:He,popupMatchSelectWidth:rt,popupOverflow:lt,legacyLocale:Kt,parentContext:Wt,iconPrefixCls:Ae,theme:qe,componentDisabled:Vt,segmented:kt,statistic:Ht,spin:$t,calendar:Tt,carousel:Xt,cascader:Ge,collapse:ce,typography:pe,checkbox:Dt,descriptions:Ce,divider:ct,drawer:Zt,skeleton:St,steps:Ie,image:wt,layout:be,list:Ye,mentions:vt,modal:Lt,progress:Me,result:Or,slider:At,breadcrumb:Yr,menu:rn,pagination:wr,input:jr,empty:mr,badge:Zr,radio:un,rate:mn,switch:sr,transfer:Rt,avatar:_t,message:gt,tag:jt,table:Ar,card:yr,tabs:it,timeline:Nr,timePicker:An,upload:Jn,notification:gr,tree:nn,colorPicker:vn,datePicker:Wn,wave:si}=We,gi=f.useCallback((li,sa)=>{const{prefixCls:Ti}=We;if(sa)return sa;const pi=Ti||Wt.getPrefixCls("");return li?`${pi}-${li}`:pi},[Wt.getPrefixCls,We.prefixCls]),aa=Ae||Wt.iconPrefixCls||S.oR,ui=aa!==Wt.iconPrefixCls,Ni=zt||Wt.csp,mi=(0,se.Z)(aa,Ni),Pi=oe(qe,Wt.theme),Ra={csp:Ni,autoInsertSpaceInButton:nt,alert:Et,anchor:ht,locale:Ue||Kt,direction:Se,space:Le,virtual:je,popupMatchSelectWidth:rt!=null?rt:He,popupOverflow:lt,getPrefixCls:gi,iconPrefixCls:aa,theme:Pi,segmented:kt,statistic:Ht,spin:$t,calendar:Tt,carousel:Xt,cascader:Ge,collapse:ce,typography:pe,checkbox:Dt,descriptions:Ce,divider:ct,drawer:Zt,skeleton:St,steps:Ie,image:wt,input:jr,layout:be,list:Ye,mentions:vt,modal:Lt,progress:Me,result:Or,slider:At,breadcrumb:Yr,menu:rn,pagination:wr,empty:mr,badge:Zr,radio:un,rate:mn,switch:sr,transfer:Rt,avatar:_t,message:gt,tag:jt,table:Ar,card:yr,tabs:it,timeline:Nr,timePicker:An,upload:Jn,notification:gr,tree:nn,colorPicker:vn,datePicker:Wn,wave:si},fi=Object.assign({},Wt);Object.keys(Ra).forEach(li=>{Ra[li]!==void 0&&(fi[li]=Ra[li])}),$.forEach(li=>{const sa=We[li];sa&&(fi[li]=sa)});const Hi=(0,l.Z)(()=>fi,fi,(li,sa)=>{const Ti=Object.keys(li),pi=Object.keys(sa);return Ti.length!==pi.length||Ti.some(Rn=>li[Rn]!==sa[Rn])}),bt=f.useMemo(()=>({prefixCls:aa,csp:Ni}),[aa,Ni]);let ut=ui?mi(Pt):Pt;const ii=f.useMemo(()=>{var li,sa,Ti,pi;return(0,c.T)(((li=y.Z.Form)===null||li===void 0?void 0:li.defaultValidateMessages)||{},((Ti=(sa=Hi.locale)===null||sa===void 0?void 0:sa.Form)===null||Ti===void 0?void 0:Ti.defaultValidateMessages)||{},((pi=Hi.form)===null||pi===void 0?void 0:pi.validateMessages)||{},(Je==null?void 0:Je.validateMessages)||{})},[Hi,Je==null?void 0:Je.validateMessages]);Object.keys(ii).length>0&&(ut=f.createElement(o.Z.Provider,{value:ii},Pt)),Ue&&(ut=f.createElement(p,{locale:Ue,_ANT_MARK__:a},ut)),(aa||Ni)&&(ut=f.createElement(i.Z.Provider,{value:bt},ut)),ge&&(ut=f.createElement(W.q,{size:ge},ut)),ut=f.createElement(K,null,ut);const Si=f.useMemo(()=>{const li=Pi||{},{algorithm:sa,token:Ti,components:pi}=li,Rn=ee(li,["algorithm","token","components"]),Jt=sa&&(!Array.isArray(sa)||sa.length>0)?(0,r.createTheme)(sa):m.uH,dt={};return Object.entries(pi||{}).forEach(tt=>{let[Ot,mt]=tt;const or=Object.assign({},mt);"algorithm"in or&&(or.algorithm===!0?or.theme=Jt:(Array.isArray(or.algorithm)||typeof or.algorithm=="function")&&(or.theme=(0,r.createTheme)(or.algorithm)),delete or.algorithm),dt[Ot]=or}),Object.assign(Object.assign({},Rn),{theme:Jt,token:Object.assign(Object.assign({},b.Z),Ti),components:dt})},[Pi]);return qe&&(ut=f.createElement(m.Mj.Provider,{value:Si},ut)),Vt!==void 0&&(ut=f.createElement(G.n,{disabled:Vt},ut)),f.createElement(S.E_.Provider,{value:Hi},ut)},Yt=We=>{const Pt=f.useContext(S.E_),zt=f.useContext(u.Z);return f.createElement(rr,Object.assign({parentContext:Pt,legacyLocale:zt},We))};Yt.ConfigContext=S.E_,Yt.SizeContext=W.Z,Yt.config=yt,Yt.useConfig=ae,Object.defineProperty(Yt,"SizeContext",{get:()=>W.Z});var ur=Yt},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:m}=x;const b=(0,r.useContext)(u),S=(0,r.useMemo)(()=>{const k=Object.assign({},b);return m&&delete k.isFormItemInput,y&&(delete k.status,delete k.hasFeedback,delete k.feedbackIcon),k},[y,m,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 m={};for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&y.indexOf(b)<0&&(m[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])&&(m[b[S]]=p[b[S]]);return m};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:m,direction:b}=r.useContext(c.E_),{gutter:S,wrap:k}=r.useContext(f.Z),{prefixCls:R,span:A,order:P,offset:M,push:B,pull:N,className:G,children:W,flex:H,style:ae}=p,ne=h(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),oe=m("col",R),[q,J]=(0,o.c)(oe);let K={};a.forEach(Q=>{let le={};const z=p[Q];typeof z=="number"?le.span=z:typeof z=="object"&&(le=z||{}),delete ne[Q],K=Object.assign(Object.assign({},K),{[`${oe}-${Q}-${le.span}`]:le.span!==void 0,[`${oe}-${Q}-order-${le.order}`]:le.order||le.order===0,[`${oe}-${Q}-offset-${le.offset}`]:le.offset||le.offset===0,[`${oe}-${Q}-push-${le.push}`]:le.push||le.push===0,[`${oe}-${Q}-pull-${le.pull}`]:le.pull||le.pull===0,[`${oe}-${Q}-flex-${le.flex}`]:le.flex||le.flex==="auto",[`${oe}-rtl`]:b==="rtl"})});const se=l()(oe,{[`${oe}-${A}`]:A!==void 0,[`${oe}-order-${P}`]:P,[`${oe}-offset-${M}`]:M,[`${oe}-push-${B}`]:B,[`${oe}-pull-${N}`]:N},G,K,J),ee={};if(S&&S[0]>0){const Q=S[0]/2;ee.paddingLeft=Q,ee.paddingRight=Q}return H&&(ee.flex=u(H),k===!1&&!ee.minWidth&&(ee.minWidth=0)),q(r.createElement("div",Object.assign({},ne,{style:Object.assign(Object.assign({},ee),ae),className:se,ref:y}),W))});v.Z=x},27382:function(d,v,e){"use strict";var r=e(59301),i=e(92310),l=e.n(i),c=e(69507),f=e(36355),o=e(6700),h=e(98242),u=function(m,b){var S={};for(var k in m)Object.prototype.hasOwnProperty.call(m,k)&&b.indexOf(k)<0&&(S[k]=m[k]);if(m!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,k=Object.getOwnPropertySymbols(m);R<k.length;R++)b.indexOf(k[R])<0&&Object.prototype.propertyIsEnumerable.call(m,k[R])&&(S[k[R]]=m[k[R]]);return S};const a=null,x=null;function p(m,b){const[S,k]=r.useState(typeof m=="string"?m:""),R=()=>{if(typeof m=="string"&&k(m),typeof m=="object")for(let A=0;A<c.c4.length;A++){const P=c.c4[A];if(!b[P])continue;const M=m[P];if(M!==void 0){k(M);return}}};return r.useEffect(()=>{R()},[JSON.stringify(m),b]),S}const y=r.forwardRef((m,b)=>{const{prefixCls:S,justify:k,align:R,className:A,style:P,children:M,gutter:B=0,wrap:N}=m,G=u(m,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:W,direction:H}=r.useContext(f.E_),[ae,ne]=r.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[oe,q]=r.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),J=p(R,oe),K=p(k,oe),se=r.useRef(B),ee=(0,c.ZP)();r.useEffect(()=>{const yt=ee.subscribe(It=>{q(It);const rr=se.current||0;(!Array.isArray(rr)&&typeof rr=="object"||Array.isArray(rr)&&(typeof rr[0]=="object"||typeof rr[1]=="object"))&&ne(It)});return()=>ee.unsubscribe(yt)},[]);const Q=()=>{const yt=[void 0,void 0];return(Array.isArray(B)?B:[B,void 0]).forEach((rr,Yt)=>{if(typeof rr=="object")for(let ur=0;ur<c.c4.length;ur++){const We=c.c4[ur];if(ae[We]&&rr[We]!==void 0){yt[Yt]=rr[We];break}}else yt[Yt]=rr}),yt},le=W("row",S),[z,$]=(0,h.V)(le),ie=Q(),me=l()(le,{[`${le}-no-wrap`]:N===!1,[`${le}-${K}`]:K,[`${le}-${J}`]:J,[`${le}-rtl`]:H==="rtl"},A,$),Pe={},De=ie[0]!=null&&ie[0]>0?ie[0]/-2:void 0;De&&(Pe.marginLeft=De,Pe.marginRight=De),[,Pe.rowGap]=ie;const[Ze,Ne]=ie,Bt=r.useMemo(()=>({gutter:[Ze,Ne],wrap:N}),[Ze,Ne,N]);return z(r.createElement(o.Z.Provider,{value:Bt},r.createElement("div",Object.assign({},G,{className:me,style:Object.assign(Object.assign({},Pe),P),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:m}=x,b={};for(let S=m;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/m*100}%`,maxWidth:`${S/m*100}%`}],b[`${y}${p}-push-${S}`]={insetInlineStart:`${S/m*100}%`},b[`${y}${p}-pull-${S}`]={insetInlineEnd:`${S/m*100}%`},b[`${y}${p}-offset-${S}`]={marginInlineStart:`${S/m*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(m=>h(p,y[m],m)).reduce((m,b)=>Object.assign(Object.assign({},m),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 Et}});var r=e(94480),i=e(59301),l=e(1585),c=e(92736),f=e(29679),o=e(19248),h=e(96512),u=e(78987),a=e(58617),x=e(92310),p=e.n(x),y=e(581),m=e(36355),b=e(36237),S=e(17313),k=e(83116),R=e(37613);const A=ht=>{const{componentCls:Je,iconCls:Ue,boxShadow:ge,colorText:Se,colorSuccess:Le,colorError:je,colorWarning:He,colorInfo:rt,fontSizeLG:lt,motionEaseInOutCirc:Kt,motionDurationSlow:Wt,marginXS:Ae,paddingXS:qe,borderRadiusLG:Vt,zIndexPopup:kt,contentPadding:Ht,contentBg:$t}=ht,Tt=`${Je}-notice`,Xt=new b.Keyframes("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:qe,transform:"translateY(0)",opacity:1}}),Ge=new b.Keyframes("MessageMoveOut",{"0%":{maxHeight:ht.height,padding:qe,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),ce={padding:qe,textAlign:"center",[`${Je}-custom-content > ${Ue}`]:{verticalAlign:"text-bottom",marginInlineEnd:Ae,fontSize:lt},[`${Tt}-content`]:{display:"inline-block",padding:Ht,background:$t,borderRadius:Vt,boxShadow:ge,pointerEvents:"all"},[`${Je}-success > ${Ue}`]:{color:Le},[`${Je}-error > ${Ue}`]:{color:je},[`${Je}-warning > ${Ue}`]:{color:He},[`${Je}-info > ${Ue},
|
|
|
${Je}-loading > ${Ue}`]:{color:rt}};return[{[Je]:Object.assign(Object.assign({},(0,S.Wf)(ht)),{color:Se,position:"fixed",top:Ae,width:"100%",pointerEvents:"none",zIndex:kt,[`${Je}-move-up`]:{animationFillMode:"forwards"},[`
|
|
|
${Je}-move-up-appear,
|
|
|
${Je}-move-up-enter
|
|
|
`]:{animationName:Xt,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Kt},[`
|
|
|
${Je}-move-up-appear${Je}-move-up-appear-active,
|
|
|
${Je}-move-up-enter${Je}-move-up-enter-active
|
|
|
`]:{animationPlayState:"running"},[`${Je}-move-up-leave`]:{animationName:Ge,animationDuration:Wt,animationPlayState:"paused",animationTimingFunction:Kt},[`${Je}-move-up-leave${Je}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[Je]:{[Tt]:Object.assign({},ce)}},{[`${Je}-notice-pure-panel`]:Object.assign(Object.assign({},ce),{padding:0,textAlign:"start"})}]};var P=(0,k.Z)("Message",ht=>{const Je=(0,R.TS)(ht,{height:150});return[A(Je)]},ht=>({zIndexPopup:ht.zIndexPopupBase+10,contentBg:ht.colorBgElevated,contentPadding:`${(ht.controlHeightLG-ht.fontSize*ht.lineHeight)/2}px ${ht.paddingSM}px`})),M=function(ht,Je){var Ue={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&Je.indexOf(ge)<0&&(Ue[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(ht);Se<ge.length;Se++)Je.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Se])&&(Ue[ge[Se]]=ht[ge[Se]]);return Ue};const B={info:i.createElement(u.Z,null),success:i.createElement(f.Z,null),error:i.createElement(o.Z,null),warning:i.createElement(h.Z,null),loading:i.createElement(a.Z,null)},N=ht=>{let{prefixCls:Je,type:Ue,icon:ge,children:Se}=ht;return i.createElement("div",{className:p()(`${Je}-custom-content`,`${Je}-${Ue}`)},ge||B[Ue],i.createElement("span",null,Se))};var W=ht=>{const{prefixCls:Je,className:Ue,type:ge,icon:Se,content:Le}=ht,je=M(ht,["prefixCls","className","type","icon","content"]),{getPrefixCls:He}=i.useContext(m.E_),rt=Je||He("message"),[,lt]=P(rt);return i.createElement(y.qX,Object.assign({},je,{prefixCls:rt,className:p()(Ue,lt,`${rt}-notice-pure-panel`),eventKey:"pure",duration:null,content:i.createElement(N,{prefixCls:rt,type:ge,icon:Se},Le)}))},H=e(99267);function ae(ht,Je){return{motionName:Je!=null?Je:`${ht}-move-up`}}function ne(ht){let Je;const Ue=new Promise(Se=>{Je=ht(()=>{Se(!0)})}),ge=()=>{Je==null||Je()};return ge.then=(Se,Le)=>Ue.then(Se,Le),ge.promise=Ue,ge}var oe=function(ht,Je){var Ue={};for(var ge in ht)Object.prototype.hasOwnProperty.call(ht,ge)&&Je.indexOf(ge)<0&&(Ue[ge]=ht[ge]);if(ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ge=Object.getOwnPropertySymbols(ht);Se<ge.length;Se++)Je.indexOf(ge[Se])<0&&Object.prototype.propertyIsEnumerable.call(ht,ge[Se])&&(Ue[ge[Se]]=ht[ge[Se]]);return Ue};const q=8,J=3,K=ht=>{let{children:Je,prefixCls:Ue}=ht;const[,ge]=P(Ue);return i.createElement(y.JB,{classNames:{list:ge,notice:ge}},Je)},se=(ht,Je)=>{let{prefixCls:Ue,key:ge}=Je;return i.createElement(K,{prefixCls:Ue,key:ge},ht)},ee=i.forwardRef((ht,Je)=>{const{top:Ue,prefixCls:ge,getContainer:Se,maxCount:Le,duration:je=J,rtl:He,transitionName:rt,onAllRemoved:lt}=ht,{getPrefixCls:Kt,getPopupContainer:Wt,message:Ae}=i.useContext(m.E_),qe=ge||Kt("message"),Vt=()=>({left:"50%",transform:"translateX(-50%)",top:Ue!=null?Ue:q}),kt=()=>p()({[`${qe}-rtl`]:He}),Ht=()=>ae(qe,rt),$t=i.createElement("span",{className:`${qe}-close-x`},i.createElement(H.Z,{className:`${qe}-close-icon`})),[Tt,Xt]=(0,y.lm)({prefixCls:qe,style:Vt,className:kt,motion:Ht,closable:!1,closeIcon:$t,duration:je,getContainer:()=>(Se==null?void 0:Se())||(Wt==null?void 0:Wt())||document.body,maxCount:Le,onAllRemoved:lt,renderNotifications:se});return i.useImperativeHandle(Je,()=>Object.assign(Object.assign({},Tt),{prefixCls:qe,message:Ae})),Xt});let Q=0;function le(ht){const Je=i.useRef(null);return[i.useMemo(()=>{const ge=rt=>{var lt;(lt=Je.current)===null||lt===void 0||lt.close(rt)},Se=rt=>{if(!Je.current){const pe=()=>{};return pe.then=()=>{},pe}const{open:lt,prefixCls:Kt,message:Wt}=Je.current,Ae=`${Kt}-notice`,{content:qe,icon:Vt,type:kt,key:Ht,className:$t,style:Tt,onClose:Xt}=rt,Ge=oe(rt,["content","icon","type","key","className","style","onClose"]);let ce=Ht;return ce==null&&(Q+=1,ce=`antd-message-${Q}`),ne(pe=>(lt(Object.assign(Object.assign({},Ge),{key:ce,content:i.createElement(N,{prefixCls:Kt,type:kt,icon:Vt},qe),placement:"top",className:p()(kt&&`${Ae}-${kt}`,$t,Wt==null?void 0:Wt.className),style:Object.assign(Object.assign({},Wt==null?void 0:Wt.style),Tt),onClose:()=>{Xt==null||Xt(),pe()}})),()=>{ge(ce)}))},je={open:Se,destroy:rt=>{var lt;rt!==void 0?ge(rt):(lt=Je.current)===null||lt===void 0||lt.destroy()}};return["info","success","warning","error","loading"].forEach(rt=>{const lt=(Kt,Wt,Ae)=>{let qe;Kt&&typeof Kt=="object"&&"content"in Kt?qe=Kt:qe={content:Kt};let Vt,kt;typeof Wt=="function"?kt=Wt:(Vt=Wt,kt=Ae);const Ht=Object.assign(Object.assign({onClose:kt,duration:Vt},qe),{type:rt});return Se(Ht)};je[rt]=lt}),je},[]),i.createElement(ee,Object.assign({key:"message-holder"},ht,{ref:Je}))]}function z(ht){return le(ht)}let $=null,ie=ht=>ht(),me=[],Pe={};function De(){const{prefixCls:ht,getContainer:Je,duration:Ue,rtl:ge,maxCount:Se,top:Le}=Pe,je=ht!=null?ht:(0,c.w6)().getPrefixCls("message"),He=(Je==null?void 0:Je())||document.body;return{prefixCls:je,getContainer:()=>He,duration:Ue,rtl:ge,maxCount:Se,top:Le}}const Ze=i.forwardRef((ht,Je)=>{const[Ue,ge]=i.useState(De),[Se,Le]=le(Ue),je=(0,c.w6)(),He=je.getRootPrefixCls(),rt=je.getIconPrefixCls(),lt=je.getTheme(),Kt=()=>{ge(De)};return i.useEffect(Kt,[]),i.useImperativeHandle(Je,()=>{const Wt=Object.assign({},Se);return Object.keys(Wt).forEach(Ae=>{Wt[Ae]=function(){return Kt(),Se[Ae].apply(Se,arguments)}}),{instance:Wt,sync:Kt}}),i.createElement(c.ZP,{prefixCls:He,iconPrefixCls:rt,theme:lt},Le)});function Ne(){if(!$){const ht=document.createDocumentFragment(),Je={fragment:ht};$=Je,ie(()=>{(0,l.s)(i.createElement(Ze,{ref:Ue=>{const{instance:ge,sync:Se}=Ue||{};Promise.resolve().then(()=>{!Je.instance&&ge&&(Je.instance=ge,Je.sync=Se,Ne())})}}),ht)});return}$.instance&&(me.forEach(ht=>{const{type:Je,skipped:Ue}=ht;if(!Ue)switch(Je){case"open":{ie(()=>{const ge=$.instance.open(Object.assign(Object.assign({},Pe),ht.config));ge==null||ge.then(ht.resolve),ht.setCloseFn(ge)});break}case"destroy":ie(()=>{$==null||$.instance.destroy(ht.key)});break;default:ie(()=>{var ge;const Se=(ge=$.instance)[Je].apply(ge,(0,r.Z)(ht.args));Se==null||Se.then(ht.resolve),ht.setCloseFn(Se)})}}),me=[])}function Bt(ht){Pe=Object.assign(Object.assign({},Pe),ht),ie(()=>{var Je;(Je=$==null?void 0:$.sync)===null||Je===void 0||Je.call($)})}function yt(ht){const Je=ne(Ue=>{let ge;const Se={type:"open",config:ht,resolve:Ue,setCloseFn:Le=>{ge=Le}};return me.push(Se),()=>{ge?ie(()=>{ge()}):Se.skipped=!0}});return Ne(),Je}function It(ht,Je){const Ue=ne(ge=>{let Se;const Le={type:ht,args:Je,resolve:ge,setCloseFn:je=>{Se=je}};return me.push(Le),()=>{Se?ie(()=>{Se()}):Le.skipped=!0}});return Ne(),Ue}function rr(ht){me.push({type:"destroy",key:ht}),Ne()}const Yt=["success","info","warning","error","loading"],We={open:yt,destroy:rr,config:Bt,useMessage:z,_InternalPanelDoNotUseOrYouWillBeFired:W};Yt.forEach(ht=>{We[ht]=function(){for(var Je=arguments.length,Ue=new Array(Je),ge=0;ge<Je;ge++)Ue[ge]=arguments[ge];return It(ht,Ue)}});const Pt=()=>{};let zt=null,nt=null;var Et=We},43418:function(d,v,e){"use strict";e.d(v,{default:function(){return ct}});var r=e(94480),i=e(1585),l=e(59301),c=e(92736),f=e(29679),o=e(19248),h=e(96512),u=e(78987),a=e(92310),x=e.n(a),p=e(62892),y=e(9763),m=e(92806);const b=l.createContext({}),{Provider:S}=b;var R=()=>{const{autoFocusButton:Zt,cancelButtonProps:St,cancelTextLocale:Ie,isSilent:wt,mergedOkCancel:be,rootPrefixCls:Ye,close:vt,onCancel:Lt,onConfirm:Me}=(0,l.useContext)(b);return be?l.createElement(m.Z,{isSilent:wt,actionFn:Lt,close:function(){vt==null||vt.apply(void 0,arguments),Me==null||Me(!1)},autoFocus:Zt==="cancel",buttonProps:St,prefixCls:`${Ye}-btn`},Ie):null},P=()=>{const{autoFocusButton:Zt,close:St,isSilent:Ie,okButtonProps:wt,rootPrefixCls:be,okTextLocale:Ye,okType:vt,onConfirm:Lt,onOk:Me}=(0,l.useContext)(b);return l.createElement(m.Z,{isSilent:Ie,type:vt||"primary",actionFn:Me,close:function(){St==null||St.apply(void 0,arguments),Lt==null||Lt(!0)},autoFocus:Zt==="ok",buttonProps:wt,prefixCls:`${be}-btn`},Ye)},M=e(99267),B=e(86923),N=e(47729),G=e(47273);const W=()=>(0,G.Z)()&&window.document.documentElement;var H=e(36355),ae=e(32441),ne=e(33234),oe=e(11575),q=e(1684),J=e(3113),se=()=>{const{cancelButtonProps:Zt,cancelTextLocale:St,onCancel:Ie}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({onClick:Ie},Zt),St)},ee=e(67797),le=()=>{const{confirmLoading:Zt,okButtonProps:St,okType:Ie,okTextLocale:wt,onOk:be}=(0,l.useContext)(b);return l.createElement(J.ZP,Object.assign({},(0,ee.n)(Ie),{loading:Zt,onClick:be},St),wt)},z=e(98044);function $(Zt,St){return l.createElement("span",{className:`${Zt}-close-x`},St||l.createElement(M.Z,{className:`${Zt}-close-icon`}))}const ie=Zt=>{const{okText:St,okType:Ie="primary",cancelText:wt,confirmLoading:be,onOk:Ye,onCancel:vt,okButtonProps:Lt,cancelButtonProps:Me,footer:Or}=Zt,[At]=(0,y.Z)("Modal",(0,z.A)()),Yr=St||(At==null?void 0:At.okText),rn=wt||(At==null?void 0:At.cancelText),wr={confirmLoading:be,okButtonProps:Lt,cancelButtonProps:Me,okTextLocale:Yr,cancelTextLocale:rn,okType:Ie,onOk:Ye,onCancel:vt},jr=l.useMemo(()=>wr,(0,r.Z)(Object.values(wr)));let mr;return typeof Or=="function"||typeof Or=="undefined"?(mr=l.createElement(S,{value:jr},l.createElement(se,null),l.createElement(le,null)),typeof Or=="function"&&(mr=Or(mr,{OkBtn:le,CancelBtn:se}))):mr=Or,l.createElement(q.n,{disabled:!1},mr)};var me=e(73819),Pe=function(Zt,St){var Ie={};for(var wt in Zt)Object.prototype.hasOwnProperty.call(Zt,wt)&&St.indexOf(wt)<0&&(Ie[wt]=Zt[wt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Zt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,wt[be])&&(Ie[wt[be]]=Zt[wt[be]]);return Ie};let De;const Ze=Zt=>{De={x:Zt.pageX,y:Zt.pageY},setTimeout(()=>{De=null},100)};W()&&document.documentElement.addEventListener("click",Ze,!0);var Bt=Zt=>{var St;const{getPopupContainer:Ie,getPrefixCls:wt,direction:be,modal:Ye}=l.useContext(H.E_),vt=vn=>{const{onCancel:Wn}=Zt;Wn==null||Wn(vn)},Lt=vn=>{const{onOk:Wn}=Zt;Wn==null||Wn(vn)},{prefixCls:Me,className:Or,rootClassName:At,open:Yr,wrapClassName:rn,centered:wr,getContainer:jr,closeIcon:mr,closable:Zr,focusTriggerAfterClose:un=!0,style:mn,visible:sr,width:Rt=520,footer:_t}=Zt,gt=Pe(Zt,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","closeIcon","closable","focusTriggerAfterClose","style","visible","width","footer"]),jt=wt("modal",Me),Ar=wt(),[yr,it]=(0,me.ZP)(jt),Nr=x()(rn,{[`${jt}-centered`]:!!wr,[`${jt}-wrap-rtl`]:be==="rtl"}),An=_t!==null&&l.createElement(ie,Object.assign({},Zt,{onOk:Lt,onCancel:vt})),[Jn,gr]=(0,N.Z)(Zr,mr,vn=>$(jt,vn),l.createElement(M.Z,{className:`${jt}-close-icon`}),!0),nn=(0,oe.H)(`.${jt}-content`);return yr(l.createElement(ne.BR,null,l.createElement(ae.Ux,{status:!0,override:!0},l.createElement(B.Z,Object.assign({width:Rt},gt,{getContainer:jr===void 0?Ie:jr,prefixCls:jt,rootClassName:x()(it,At),wrapClassName:Nr,footer:An,visible:Yr!=null?Yr:sr,mousePosition:(St=gt.mousePosition)!==null&&St!==void 0?St:De,onClose:vt,closable:Jn,closeIcon:gr,focusTriggerAfterClose:un,transitionName:(0,p.m)(Ar,"zoom",Zt.transitionName),maskTransitionName:(0,p.m)(Ar,"fade",Zt.maskTransitionName),className:x()(it,Or,Ye==null?void 0:Ye.className),style:Object.assign(Object.assign({},Ye==null?void 0:Ye.style),mn),panelRef:nn})))))},yt=e(17313),It=e(83116);const rr=Zt=>{const{componentCls:St,titleFontSize:Ie,titleLineHeight:wt,modalConfirmIconSize:be,fontSize:Ye,lineHeight:vt}=Zt,Lt=`${St}-confirm`,Me=Math.round(Ie*wt),Or=Math.round(Ye*vt);return{[Lt]:{"&-rtl":{direction:"rtl"},[`${Zt.antCls}-modal-header`]:{display:"none"},[`${Lt}-body-wrapper`]:Object.assign({},(0,yt.dF)()),[`${Lt}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${Zt.iconCls}`]:{flex:"none",fontSize:be,marginInlineEnd:Zt.marginSM,marginTop:(Or-be)/2},[`&-has-title > ${Zt.iconCls}`]:{marginTop:(Me-be)/2}},[`${Lt}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:Zt.marginXS},[`${Lt}-title`]:{color:Zt.colorTextHeading,fontWeight:Zt.fontWeightStrong,fontSize:Ie,lineHeight:wt},[`${Lt}-content`]:{color:Zt.colorText,fontSize:Ye,lineHeight:vt},[`${Lt}-btns`]:{textAlign:"end",marginTop:Zt.marginSM,[`${Zt.antCls}-btn + ${Zt.antCls}-btn`]:{marginBottom:0,marginInlineStart:Zt.marginXS}}},[`${Lt}-error ${Lt}-body > ${Zt.iconCls}`]:{color:Zt.colorError},[`${Lt}-warning ${Lt}-body > ${Zt.iconCls},
|
|
|
${Lt}-confirm ${Lt}-body > ${Zt.iconCls}`]:{color:Zt.colorWarning},[`${Lt}-info ${Lt}-body > ${Zt.iconCls}`]:{color:Zt.colorInfo},[`${Lt}-success ${Lt}-body > ${Zt.iconCls}`]:{color:Zt.colorSuccess}}};var Yt=(0,It.b)(["Modal","confirm"],Zt=>{const St=(0,me.B4)(Zt);return[rr(St)]},me.eh,{order:-1e3}),ur=function(Zt,St){var Ie={};for(var wt in Zt)Object.prototype.hasOwnProperty.call(Zt,wt)&&St.indexOf(wt)<0&&(Ie[wt]=Zt[wt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Zt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,wt[be])&&(Ie[wt[be]]=Zt[wt[be]]);return Ie};function We(Zt){const{prefixCls:St,icon:Ie,okText:wt,cancelText:be,confirmPrefixCls:Ye,type:vt,okCancel:Lt,footer:Me,locale:Or}=Zt,At=ur(Zt,["prefixCls","icon","okText","cancelText","confirmPrefixCls","type","okCancel","footer","locale"]);let Yr=Ie;if(!Ie&&Ie!==null)switch(vt){case"info":Yr=l.createElement(u.Z,null);break;case"success":Yr=l.createElement(f.Z,null);break;case"error":Yr=l.createElement(o.Z,null);break;default:Yr=l.createElement(h.Z,null)}const rn=Lt!=null?Lt:vt==="confirm",wr=Zt.autoFocusButton===null?!1:Zt.autoFocusButton||"ok",[jr]=(0,y.Z)("Modal"),mr=Or||jr,Zr=wt||(rn?mr==null?void 0:mr.okText:mr==null?void 0:mr.justOkText),un=be||(mr==null?void 0:mr.cancelText),mn=Object.assign({autoFocusButton:wr,cancelTextLocale:un,okTextLocale:Zr,mergedOkCancel:rn},At),sr=l.useMemo(()=>mn,(0,r.Z)(Object.values(mn))),Rt=l.createElement(l.Fragment,null,l.createElement(R,null),l.createElement(P,null)),_t=Zt.title!==void 0&&Zt.title!==null,gt=`${Ye}-body`;return l.createElement("div",{className:`${Ye}-body-wrapper`},l.createElement("div",{className:x()(gt,{[`${gt}-has-title`]:_t})},Yr,l.createElement("div",{className:`${Ye}-paragraph`},_t&&l.createElement("span",{className:`${Ye}-title`},Zt.title),l.createElement("div",{className:`${Ye}-content`},Zt.content))),Me===void 0||typeof Me=="function"?l.createElement(S,{value:sr},l.createElement("div",{className:`${Ye}-btns`},typeof Me=="function"?Me(Rt,{OkBtn:P,CancelBtn:R}):Rt)):Me,l.createElement(Yt,{prefixCls:St}))}var zt=Zt=>{const{close:St,zIndex:Ie,afterClose:wt,visible:be,open:Ye,keyboard:vt,centered:Lt,getContainer:Me,maskStyle:Or,direction:At,prefixCls:Yr,wrapClassName:rn,rootPrefixCls:wr,iconPrefixCls:jr,theme:mr,bodyStyle:Zr,closable:un=!1,closeIcon:mn,modalRender:sr,focusTriggerAfterClose:Rt,onConfirm:_t}=Zt,gt=`${Yr}-confirm`,jt=Zt.width||416,Ar=Zt.style||{},yr=Zt.mask===void 0?!0:Zt.mask,it=Zt.maskClosable===void 0?!1:Zt.maskClosable,Nr=x()(gt,`${gt}-${Zt.type}`,{[`${gt}-rtl`]:At==="rtl"},Zt.className);return l.createElement(c.ZP,{prefixCls:wr,iconPrefixCls:jr,direction:At,theme:mr},l.createElement(Bt,{prefixCls:Yr,className:Nr,wrapClassName:x()({[`${gt}-centered`]:!!Zt.centered},rn),onCancel:()=>{St==null||St({triggerCancel:!0}),_t==null||_t(!1)},open:Ye,title:"",footer:null,transitionName:(0,p.m)(wr||"","zoom",Zt.transitionName),maskTransitionName:(0,p.m)(wr||"","fade",Zt.maskTransitionName),mask:yr,maskClosable:it,maskStyle:Or,style:Ar,bodyStyle:Zr,width:jt,zIndex:Ie,afterClose:wt,keyboard:vt,centered:Lt,getContainer:Me,closable:un,closeIcon:mn,modalRender:sr,focusTriggerAfterClose:Rt},l.createElement(We,Object.assign({},Zt,{confirmPrefixCls:gt}))))},Et=[],ht=function(Zt,St){var Ie={};for(var wt in Zt)Object.prototype.hasOwnProperty.call(Zt,wt)&&St.indexOf(wt)<0&&(Ie[wt]=Zt[wt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Zt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,wt[be])&&(Ie[wt[be]]=Zt[wt[be]]);return Ie};let Je="";function Ue(){return Je}function ge(Zt){const St=document.createDocumentFragment();let Ie=Object.assign(Object.assign({},Zt),{close:vt,open:!0}),wt;function be(){for(var Me=arguments.length,Or=new Array(Me),At=0;At<Me;At++)Or[At]=arguments[At];const Yr=Or.some(rn=>rn&&rn.triggerCancel);Zt.onCancel&&Yr&&Zt.onCancel.apply(Zt,[()=>{}].concat((0,r.Z)(Or.slice(1))));for(let rn=0;rn<Et.length;rn++)if(Et[rn]===vt){Et.splice(rn,1);break}(0,i.v)(St)}function Ye(Me){var{okText:Or,cancelText:At,prefixCls:Yr,getContainer:rn}=Me,wr=ht(Me,["okText","cancelText","prefixCls","getContainer"]);clearTimeout(wt),wt=setTimeout(()=>{const jr=(0,z.A)(),{getPrefixCls:mr,getIconPrefixCls:Zr,getTheme:un}=(0,c.w6)(),mn=mr(void 0,Ue()),sr=Yr||`${mn}-modal`,Rt=Zr(),_t=un();let gt=rn;gt===!1&&(gt=void 0),(0,i.s)(l.createElement(zt,Object.assign({},wr,{getContainer:gt,prefixCls:sr,rootPrefixCls:mn,iconPrefixCls:Rt,okText:Or,locale:jr,theme:_t,cancelText:At||jr.cancelText})),St)})}function vt(){for(var Me=arguments.length,Or=new Array(Me),At=0;At<Me;At++)Or[At]=arguments[At];Ie=Object.assign(Object.assign({},Ie),{open:!1,afterClose:()=>{typeof Zt.afterClose=="function"&&Zt.afterClose(),be.apply(this,Or)}}),Ie.visible&&delete Ie.visible,Ye(Ie)}function Lt(Me){typeof Me=="function"?Ie=Me(Ie):Ie=Object.assign(Object.assign({},Ie),Me),Ye(Ie)}return Ye(Ie),Et.push(vt),{destroy:vt,update:Lt}}function Se(Zt){return Object.assign(Object.assign({},Zt),{type:"warning"})}function Le(Zt){return Object.assign(Object.assign({},Zt),{type:"info"})}function je(Zt){return Object.assign(Object.assign({},Zt),{type:"success"})}function He(Zt){return Object.assign(Object.assign({},Zt),{type:"error"})}function rt(Zt){return Object.assign(Object.assign({},Zt),{type:"confirm"})}function lt(Zt){let{rootPrefixCls:St}=Zt;Je=St}var Kt=e(53487),Wt=function(Zt,St){var Ie={};for(var wt in Zt)Object.prototype.hasOwnProperty.call(Zt,wt)&&St.indexOf(wt)<0&&(Ie[wt]=Zt[wt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Zt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,wt[be])&&(Ie[wt[be]]=Zt[wt[be]]);return Ie};const Ae=Zt=>{const{prefixCls:St,className:Ie,closeIcon:wt,closable:be,type:Ye,title:vt,children:Lt}=Zt,Me=Wt(Zt,["prefixCls","className","closeIcon","closable","type","title","children"]),{getPrefixCls:Or}=l.useContext(H.E_),At=Or(),Yr=St||Or("modal"),[,rn]=(0,me.ZP)(Yr),wr=`${Yr}-confirm`;let jr={};return Ye?jr={closable:be!=null?be:!1,title:"",footer:"",children:l.createElement(We,Object.assign({},Zt,{prefixCls:Yr,confirmPrefixCls:wr,rootPrefixCls:At,content:Lt}))}:jr={closable:be!=null?be:!0,title:vt,footer:Zt.footer===void 0?l.createElement(ie,Object.assign({},Zt)):Zt.footer,children:Lt},l.createElement(B.s,Object.assign({prefixCls:Yr,className:x()(rn,`${Yr}-pure-panel`,Ye&&wr,Ye&&`${wr}-${Ye}`,Ie)},Me,{closeIcon:$(Yr,wt),closable:be},jr))};var qe=(0,Kt.i)(Ae);function Vt(){const[Zt,St]=l.useState([]),Ie=l.useCallback(wt=>(St(be=>[].concat((0,r.Z)(be),[wt])),()=>{St(be=>be.filter(Ye=>Ye!==wt))}),[]);return[Zt,Ie]}var kt=e(31724),Ht=function(Zt,St){var Ie={};for(var wt in Zt)Object.prototype.hasOwnProperty.call(Zt,wt)&&St.indexOf(wt)<0&&(Ie[wt]=Zt[wt]);if(Zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,wt=Object.getOwnPropertySymbols(Zt);be<wt.length;be++)St.indexOf(wt[be])<0&&Object.prototype.propertyIsEnumerable.call(Zt,wt[be])&&(Ie[wt[be]]=Zt[wt[be]]);return Ie};const $t=(Zt,St)=>{var Ie,{afterClose:wt,config:be}=Zt,Ye=Ht(Zt,["afterClose","config"]);const[vt,Lt]=l.useState(!0),[Me,Or]=l.useState(be),{direction:At,getPrefixCls:Yr}=l.useContext(H.E_),rn=Yr("modal"),wr=Yr(),jr=()=>{var mn;wt(),(mn=Me.afterClose)===null||mn===void 0||mn.call(Me)},mr=function(){Lt(!1);for(var mn=arguments.length,sr=new Array(mn),Rt=0;Rt<mn;Rt++)sr[Rt]=arguments[Rt];const _t=sr.some(gt=>gt&>.triggerCancel);Me.onCancel&&_t&&Me.onCancel.apply(Me,[()=>{}].concat((0,r.Z)(sr.slice(1))))};l.useImperativeHandle(St,()=>({destroy:mr,update:mn=>{Or(sr=>Object.assign(Object.assign({},sr),mn))}}));const Zr=(Ie=Me.okCancel)!==null&&Ie!==void 0?Ie:Me.type==="confirm",[un]=(0,y.Z)("Modal",kt.Z.Modal);return l.createElement(zt,Object.assign({prefixCls:rn,rootPrefixCls:wr},Me,{close:mr,open:vt,afterClose:jr,okText:Me.okText||(Zr?un==null?void 0:un.okText:un==null?void 0:un.justOkText),direction:Me.direction||At,cancelText:Me.cancelText||(un==null?void 0:un.cancelText)},Ye))};var Tt=l.forwardRef($t);let Xt=0;const Ge=l.memo(l.forwardRef((Zt,St)=>{const[Ie,wt]=Vt();return l.useImperativeHandle(St,()=>({patchElement:wt}),[]),l.createElement(l.Fragment,null,Ie)}));function ce(){const Zt=l.useRef(null),[St,Ie]=l.useState([]);l.useEffect(()=>{St.length&&((0,r.Z)(St).forEach(vt=>{vt()}),Ie([]))},[St]);const wt=l.useCallback(Ye=>function(Lt){var Me;Xt+=1;const Or=l.createRef();let At;const Yr=new Promise(Zr=>{At=Zr});let rn=!1,wr;const jr=l.createElement(Tt,{key:`modal-${Xt}`,config:Ye(Lt),ref:Or,afterClose:()=>{wr==null||wr()},isSilent:()=>rn,onConfirm:Zr=>{At(Zr)}});return wr=(Me=Zt.current)===null||Me===void 0?void 0:Me.patchElement(jr),wr&&Et.push(wr),{destroy:()=>{function Zr(){var un;(un=Or.current)===null||un===void 0||un.destroy()}Or.current?Zr():Ie(un=>[].concat((0,r.Z)(un),[Zr]))},update:Zr=>{function un(){var mn;(mn=Or.current)===null||mn===void 0||mn.update(Zr)}Or.current?un():Ie(mn=>[].concat((0,r.Z)(mn),[un]))},then:Zr=>(rn=!0,Yr.then(Zr))}},[]);return[l.useMemo(()=>({info:wt(Le),success:wt(je),error:wt(He),warning:wt(Se),confirm:wt(rt)}),[]),l.createElement(Ge,{key:"modal-holder",ref:Zt})]}var pe=ce;function Dt(Zt){return ge(Se(Zt))}const Ce=Bt;Ce.useModal=pe,Ce.info=function(St){return ge(Le(St))},Ce.success=function(St){return ge(je(St))},Ce.error=function(St){return ge(He(St))},Ce.warning=Dt,Ce.warn=Dt,Ce.confirm=function(St){return ge(rt(St))},Ce.destroyAll=function(){for(;Et.length;){const St=Et.pop();St&&St()}},Ce.config=lt,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(m){return{position:m,inset:0}}const h=m=>{const{componentCls:b,antCls:S}=m;return[{[`${b}-root`]:{[`${b}${S}-zoom-enter, ${b}${S}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:m.motionDurationSlow,userSelect:"none"},[`${b}${S}-zoom-leave ${b}-content`]:{pointerEvents:"none"},[`${b}-mask`]:Object.assign(Object.assign({},o("fixed")),{zIndex:m.zIndexPopupBase,height:"100%",backgroundColor:m.colorBgMask,pointerEvents:"none",[`${b}-hidden`]:{display:"none"}}),[`${b}-wrap`]:Object.assign(Object.assign({},o("fixed")),{zIndex:m.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch",[`&:has(${b}${S}-zoom-enter), &:has(${b}${S}-zoom-appear)`]:{pointerEvents:"none"}})}},{[`${b}-root`]:(0,i.J$)(m)}]},u=m=>{const{componentCls:b}=m;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: ${m.screenSMMax})`]:{[b]:{maxWidth:"calc(100vw - 16px)",margin:`${m.marginXS} auto`},[`${b}-centered`]:{[b]:{flex:1}}}}},{[b]:Object.assign(Object.assign({},(0,r.Wf)(m)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${m.margin*2}px)`,margin:"0 auto",paddingBottom:m.paddingLG,[`${b}-title`]:{margin:0,color:m.titleColor,fontWeight:m.fontWeightStrong,fontSize:m.titleFontSize,lineHeight:m.titleLineHeight,wordWrap:"break-word"},[`${b}-content`]:{position:"relative",backgroundColor:m.contentBg,backgroundClip:"padding-box",border:0,borderRadius:m.borderRadiusLG,boxShadow:m.boxShadow,pointerEvents:"auto",padding:`${m.paddingMD}px ${m.paddingContentHorizontalLG}px`},[`${b}-close`]:Object.assign({position:"absolute",top:(m.modalHeaderHeight-m.modalCloseBtnSize)/2,insetInlineEnd:(m.modalHeaderHeight-m.modalCloseBtnSize)/2,zIndex:m.zIndexPopupBase+10,padding:0,color:m.modalCloseIconColor,fontWeight:m.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:m.borderRadiusSM,width:m.modalCloseBtnSize,height:m.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${m.motionDurationMid}, background-color ${m.motionDurationMid}`,"&-x":{display:"flex",fontSize:m.fontSizeLG,fontStyle:"normal",lineHeight:`${m.modalCloseBtnSize}px`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:m.modalIconHoverColor,backgroundColor:m.wireframe?"transparent":m.colorFillContent,textDecoration:"none"},"&:active":{backgroundColor:m.wireframe?"transparent":m.colorFillContentHover}},(0,r.Qy)(m)),[`${b}-header`]:{color:m.colorText,background:m.headerBg,borderRadius:`${m.borderRadiusLG}px ${m.borderRadiusLG}px 0 0`,marginBottom:m.marginXS},[`${b}-body`]:{fontSize:m.fontSize,lineHeight:m.lineHeight,wordWrap:"break-word"},[`${b}-footer`]:{textAlign:"end",background:m.footerBg,marginTop:m.marginSM,[`${m.antCls}-btn + ${m.antCls}-btn:not(${m.antCls}-dropdown-trigger)`]:{marginBottom:0,marginInlineStart:m.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=m=>{const{componentCls:b,antCls:S}=m,k=`${b}-confirm`;return{[b]:{[`${b}-content`]:{padding:0},[`${b}-header`]:{padding:m.modalHeaderPadding,borderBottom:`${m.modalHeaderBorderWidth}px ${m.modalHeaderBorderStyle} ${m.modalHeaderBorderColorSplit}`,marginBottom:0},[`${b}-body`]:{padding:m.modalBodyPadding},[`${b}-footer`]:{padding:`${m.modalFooterPaddingVertical}px ${m.modalFooterPaddingHorizontal}px`,borderTop:`${m.modalFooterBorderWidth}px ${m.modalFooterBorderStyle} ${m.modalFooterBorderColorSplit}`,borderRadius:`0 0 ${m.borderRadiusLG}px ${m.borderRadiusLG}px`,marginTop:0}},[k]:{[`${S}-modal-body`]:{padding:`${m.padding*2}px ${m.padding*2}px ${m.paddingLG}px`},[`${k}-body`]:{[`> ${m.iconCls}`]:{marginInlineEnd:m.margin,[`+ ${k}-title + ${k}-content`]:{marginInlineStart:m.modalConfirmIconSize+m.margin}}},[`${k}-btns`]:{marginTop:m.marginLG}}}},x=m=>{const{componentCls:b}=m;return{[`${b}-root`]:{[`${b}-wrap-rtl`]:{direction:"rtl",[`${b}-confirm-body`]:{direction:"rtl"}}}}},p=m=>{const b=m.padding,S=m.fontSizeHeading5,k=m.lineHeightHeading5;return(0,c.TS)(m,{modalBodyPadding:m.paddingLG,modalHeaderPadding:`${b}px ${m.paddingLG}px`,modalHeaderBorderWidth:m.lineWidth,modalHeaderBorderStyle:m.lineType,modalHeaderBorderColorSplit:m.colorSplit,modalHeaderHeight:k*S+b*2,modalFooterBorderColorSplit:m.colorSplit,modalFooterBorderStyle:m.lineType,modalFooterPaddingVertical:m.paddingXS,modalFooterPaddingHorizontal:m.padding,modalFooterBorderWidth:m.lineWidth,modalIconHoverColor:m.colorIconHover,modalCloseIconColor:m.colorIcon,modalCloseBtnSize:m.fontSize*m.lineHeight,modalConfirmIconSize:m.fontSize*m.lineHeight})},y=m=>({footerBg:"transparent",headerBg:m.colorBgElevated,titleLineHeight:m.lineHeightHeading5,titleFontSize:m.fontSizeHeading5,contentBg:m.colorBgElevated,titleColor:m.colorTextHeading});v.ZP=(0,f.Z)("Modal",m=>{const b=p(m);return[u(b),x(b),h(b),m.wireframe&&a(b),(0,l._y)(b,"zoom")]},y)},28909:function(d,v,e){"use strict";e.d(v,{Z:function(){return ht}});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),m=e(36355),b=e(36237),S=e(17313),k=e(83116),R=e(37613),P=Je=>{const{componentCls:Ue,width:ge,notificationMarginEdge:Se}=Je,Le=new b.Keyframes("antNotificationTopFadeIn",{"0%":{marginTop:"-100%",opacity:0},"100%":{marginTop:0,opacity:1}}),je=new b.Keyframes("antNotificationBottomFadeIn",{"0%":{marginBottom:"-100%",opacity:0},"100%":{marginBottom:0,opacity:1}}),He=new b.Keyframes("antNotificationLeftFadeIn",{"0%":{right:{_skip_check_:!0,value:ge},opacity:0},"100%":{right:{_skip_check_:!0,value:0},opacity:1}});return{[`&${Ue}-top, &${Ue}-bottom`]:{marginInline:0},[`&${Ue}-top`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:Le}},[`&${Ue}-bottom`]:{[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:je}},[`&${Ue}-topLeft, &${Ue}-bottomLeft`]:{marginInlineEnd:0,marginInlineStart:Se,[`${Ue}-fade-enter${Ue}-fade-enter-active, ${Ue}-fade-appear${Ue}-fade-appear-active`]:{animationName:He}}}};const M=Je=>{const{iconCls:Ue,componentCls:ge,boxShadow:Se,fontSizeLG:Le,notificationMarginBottom:je,borderRadiusLG:He,colorSuccess:rt,colorInfo:lt,colorWarning:Kt,colorError:Wt,colorTextHeading:Ae,notificationBg:qe,notificationPadding:Vt,notificationMarginEdge:kt,motionDurationMid:Ht,motionEaseInOut:$t,fontSize:Tt,lineHeight:Xt,width:Ge,notificationIconSize:ce,colorText:pe}=Je,Dt=`${ge}-notice`,Ce=new b.Keyframes("antNotificationFadeIn",{"0%":{left:{_skip_check_:!0,value:Ge},opacity:0},"100%":{left:{_skip_check_:!0,value:0},opacity:1}}),ct=new b.Keyframes("antNotificationFadeOut",{"0%":{maxHeight:Je.animationMaxHeight,marginBottom:je,opacity:1},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}}),Zt={position:"relative",width:Ge,maxWidth:`calc(100vw - ${kt*2}px)`,marginBottom:je,marginInlineStart:"auto",padding:Vt,overflow:"hidden",lineHeight:Xt,wordWrap:"break-word",background:qe,borderRadius:He,boxShadow:Se,[`${ge}-close-icon`]:{fontSize:Tt,cursor:"pointer"},[`${Dt}-message`]:{marginBottom:Je.marginXS,color:Ae,fontSize:Le,lineHeight:Je.lineHeightLG},[`${Dt}-description`]:{fontSize:Tt,color:pe},[`&${Dt}-closable ${Dt}-message`]:{paddingInlineEnd:Je.paddingLG},[`${Dt}-with-icon ${Dt}-message`]:{marginBottom:Je.marginXS,marginInlineStart:Je.marginSM+ce,fontSize:Le},[`${Dt}-with-icon ${Dt}-description`]:{marginInlineStart:Je.marginSM+ce,fontSize:Tt},[`${Dt}-icon`]:{position:"absolute",fontSize:ce,lineHeight:0,[`&-success${Ue}`]:{color:rt},[`&-info${Ue}`]:{color:lt},[`&-warning${Ue}`]:{color:Kt},[`&-error${Ue}`]:{color:Wt}},[`${Dt}-close`]:{position:"absolute",top:Je.notificationPaddingVertical,insetInlineEnd:Je.notificationPaddingHorizontal,color:Je.colorIcon,outline:"none",width:Je.notificationCloseButtonSize,height:Je.notificationCloseButtonSize,borderRadius:Je.borderRadiusSM,transition:`background-color ${Je.motionDurationMid}, color ${Je.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:Je.colorIconHover,backgroundColor:Je.wireframe?"transparent":Je.colorFillContent}},[`${Dt}-btn`]:{float:"right",marginTop:Je.marginSM}};return[{[ge]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(Je)),{position:"fixed",zIndex:Je.zIndexPopup,marginInlineEnd:kt,[`${ge}-hook-holder`]:{position:"relative"},[`&${ge}-top, &${ge}-bottom`]:{[Dt]:{marginInline:"auto auto"}},[`&${ge}-topLeft, &${ge}-bottomLeft`]:{[Dt]:{marginInlineEnd:"auto",marginInlineStart:0}},[`${ge}-fade-enter, ${ge}-fade-appear`]:{animationDuration:Je.motionDurationMid,animationTimingFunction:$t,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${ge}-fade-leave`]:{animationTimingFunction:$t,animationFillMode:"both",animationDuration:Ht,animationPlayState:"paused"},[`${ge}-fade-enter${ge}-fade-enter-active, ${ge}-fade-appear${ge}-fade-appear-active`]:{animationName:Ce,animationPlayState:"running"},[`${ge}-fade-leave${ge}-fade-leave-active`]:{animationName:ct,animationPlayState:"running"}}),P(Je)),{"&-rtl":{direction:"rtl",[`${Dt}-btn`]:{float:"left"}}})},{[ge]:{[Dt]:Object.assign({},Zt)}},{[`${Dt}-pure-panel`]:Object.assign(Object.assign({},Zt),{margin:0})}]};var B=(0,k.Z)("Notification",Je=>{const Ue=Je.paddingMD,ge=Je.paddingLG,Se=(0,R.TS)(Je,{notificationBg:Je.colorBgElevated,notificationPaddingVertical:Ue,notificationPaddingHorizontal:ge,notificationIconSize:Je.fontSizeLG*Je.lineHeightLG,notificationCloseButtonSize:Je.controlHeightLG*.55,notificationMarginBottom:Je.margin,notificationPadding:`${Je.paddingMD}px ${Je.paddingContentHorizontalLG}px`,notificationMarginEdge:Je.marginLG,animationMaxHeight:150});return[M(Se)]},Je=>({zIndexPopup:Je.zIndexPopupBase+50,width:384})),N=function(Je,Ue){var ge={};for(var Se in Je)Object.prototype.hasOwnProperty.call(Je,Se)&&Ue.indexOf(Se)<0&&(ge[Se]=Je[Se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Se=Object.getOwnPropertySymbols(Je);Le<Se.length;Le++)Ue.indexOf(Se[Le])<0&&Object.prototype.propertyIsEnumerable.call(Je,Se[Le])&&(ge[Se[Le]]=Je[Se[Le]]);return ge};const G={info:r.createElement(u.Z,null),success:r.createElement(c.Z,null),error:r.createElement(f.Z,null),warning:r.createElement(h.Z,null),loading:r.createElement(a.Z,null)};function W(Je,Ue){return Ue===null||Ue===!1?null:Ue||r.createElement("span",{className:`${Je}-close-x`},r.createElement(o.Z,{className:`${Je}-close-icon`}))}const H={success:c.Z,info:u.Z,error:f.Z,warning:h.Z},ae=Je=>{const{prefixCls:Ue,icon:ge,type:Se,message:Le,description:je,btn:He,role:rt="alert"}=Je;let lt=null;return ge?lt=r.createElement("span",{className:`${Ue}-icon`},ge):Se&&(lt=r.createElement(H[Se]||null,{className:p()(`${Ue}-icon`,`${Ue}-icon-${Se}`)})),r.createElement("div",{className:p()({[`${Ue}-with-icon`]:lt}),role:rt},lt,r.createElement("div",{className:`${Ue}-message`},Le),r.createElement("div",{className:`${Ue}-description`},je),He&&r.createElement("div",{className:`${Ue}-btn`},He))};var oe=Je=>{const{prefixCls:Ue,className:ge,icon:Se,type:Le,message:je,description:He,btn:rt,closable:lt=!0,closeIcon:Kt}=Je,Wt=N(Je,["prefixCls","className","icon","type","message","description","btn","closable","closeIcon"]),{getPrefixCls:Ae}=r.useContext(m.E_),qe=Ue||Ae("notification"),Vt=`${qe}-notice`,[,kt]=B(qe);return r.createElement(y.qX,Object.assign({},Wt,{prefixCls:qe,className:p()(ge,kt,`${Vt}-pure-panel`),eventKey:"pure",duration:null,closable:lt,closeIcon:W(qe,Kt),content:r.createElement(ae,{prefixCls:Vt,icon:Se,type:Le,message:je,description:He,btn:rt})}))};function q(Je,Ue,ge){let Se;switch(Je){case"top":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:Ue,bottom:"auto"};break;case"topLeft":Se={left:0,top:Ue,bottom:"auto"};break;case"topRight":Se={right:0,top:Ue,bottom:"auto"};break;case"bottom":Se={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:ge};break;case"bottomLeft":Se={left:0,top:"auto",bottom:ge};break;default:Se={right:0,top:"auto",bottom:ge};break}return Se}function J(Je){return{motionName:`${Je}-fade`}}var K=function(Je,Ue){var ge={};for(var Se in Je)Object.prototype.hasOwnProperty.call(Je,Se)&&Ue.indexOf(Se)<0&&(ge[Se]=Je[Se]);if(Je!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,Se=Object.getOwnPropertySymbols(Je);Le<Se.length;Le++)Ue.indexOf(Se[Le])<0&&Object.prototype.propertyIsEnumerable.call(Je,Se[Le])&&(ge[Se[Le]]=Je[Se[Le]]);return ge};const se=24,ee=4.5,Q="topRight",le=Je=>{let{children:Ue,prefixCls:ge}=Je;const[,Se]=B(ge);return r.createElement(y.JB,{classNames:{list:Se,notice:Se}},Ue)},z=(Je,Ue)=>{let{prefixCls:ge,key:Se}=Ue;return r.createElement(le,{prefixCls:ge,key:Se},Je)},$=r.forwardRef((Je,Ue)=>{const{top:ge,bottom:Se,prefixCls:Le,getContainer:je,maxCount:He,rtl:rt,onAllRemoved:lt}=Je,{getPrefixCls:Kt,getPopupContainer:Wt,notification:Ae}=r.useContext(m.E_),qe=Le||Kt("notification"),Vt=Xt=>q(Xt,ge!=null?ge:se,Se!=null?Se:se),kt=()=>p()({[`${qe}-rtl`]:rt}),Ht=()=>J(qe),[$t,Tt]=(0,y.lm)({prefixCls:qe,style:Vt,className:kt,motion:Ht,closable:!0,closeIcon:W(qe),duration:ee,getContainer:()=>(je==null?void 0:je())||(Wt==null?void 0:Wt())||document.body,maxCount:He,onAllRemoved:lt,renderNotifications:z});return r.useImperativeHandle(Ue,()=>Object.assign(Object.assign({},$t),{prefixCls:qe,notification:Ae})),Tt});function ie(Je){const Ue=r.useRef(null);return[r.useMemo(()=>{const Se=rt=>{var lt;if(!Ue.current)return;const{open:Kt,prefixCls:Wt,notification:Ae}=Ue.current,qe=`${Wt}-notice`,{message:Vt,description:kt,icon:Ht,type:$t,btn:Tt,className:Xt,style:Ge,role:ce="alert",closeIcon:pe}=rt,Dt=K(rt,["message","description","icon","type","btn","className","style","role","closeIcon"]),Ce=W(qe,pe);return Kt(Object.assign(Object.assign({placement:(lt=Je==null?void 0:Je.placement)!==null&<!==void 0?lt:Q},Dt),{content:r.createElement(ae,{prefixCls:qe,icon:Ht,type:$t,message:Vt,description:kt,btn:Tt,role:ce}),className:p()($t&&`${qe}-${$t}`,Xt,Ae==null?void 0:Ae.className),style:Object.assign(Object.assign({},Ae==null?void 0:Ae.style),Ge),closeIcon:Ce,closable:!!Ce}))},je={open:Se,destroy:rt=>{var lt,Kt;rt!==void 0?(lt=Ue.current)===null||lt===void 0||lt.close(rt):(Kt=Ue.current)===null||Kt===void 0||Kt.destroy()}};return["success","info","warning","error"].forEach(rt=>{je[rt]=lt=>Se(Object.assign(Object.assign({},lt),{type:rt}))}),je},[]),r.createElement($,Object.assign({key:"notification-holder"},Je,{ref:Ue}))]}function me(Je){return ie(Je)}let Pe=null,De=Je=>Je(),Ze=[],Ne={};function Bt(){const{prefixCls:Je,getContainer:Ue,rtl:ge,maxCount:Se,top:Le,bottom:je}=Ne,He=Je!=null?Je:(0,l.w6)().getPrefixCls("notification"),rt=(Ue==null?void 0:Ue())||document.body;return{prefixCls:He,getContainer:()=>rt,rtl:ge,maxCount:Se,top:Le,bottom:je}}const yt=r.forwardRef((Je,Ue)=>{const[ge,Se]=r.useState(Bt),[Le,je]=ie(ge),He=(0,l.w6)(),rt=He.getRootPrefixCls(),lt=He.getIconPrefixCls(),Kt=He.getTheme(),Wt=()=>{Se(Bt)};return r.useEffect(Wt,[]),r.useImperativeHandle(Ue,()=>{const Ae=Object.assign({},Le);return Object.keys(Ae).forEach(qe=>{Ae[qe]=function(){return Wt(),Le[qe].apply(Le,arguments)}}),{instance:Ae,sync:Wt}}),r.createElement(l.ZP,{prefixCls:rt,iconPrefixCls:lt,theme:Kt},je)});function It(){if(!Pe){const Je=document.createDocumentFragment(),Ue={fragment:Je};Pe=Ue,De(()=>{(0,i.s)(r.createElement(yt,{ref:ge=>{const{instance:Se,sync:Le}=ge||{};Promise.resolve().then(()=>{!Ue.instance&&Se&&(Ue.instance=Se,Ue.sync=Le,It())})}}),Je)});return}Pe.instance&&(Ze.forEach(Je=>{switch(Je.type){case"open":{De(()=>{Pe.instance.open(Object.assign(Object.assign({},Ne),Je.config))});break}case"destroy":De(()=>{Pe==null||Pe.instance.destroy(Je.key)});break}}),Ze=[])}function rr(Je){Ne=Object.assign(Object.assign({},Ne),Je),De(()=>{var Ue;(Ue=Pe==null?void 0:Pe.sync)===null||Ue===void 0||Ue.call(Pe)})}function Yt(Je){Ze.push({type:"open",config:Je}),It()}function ur(Je){Ze.push({type:"destroy",key:Je}),It()}const We=["success","info","warning","error"],zt={open:Yt,destroy:ur,config:rr,useNotification:me,_InternalPanelDoNotUseOrYouWillBeFired:oe};We.forEach(Je=>{zt[Je]=Ue=>Yt(Object.assign(Object.assign({},Ue),{type:Je}))});const nt=()=>{};let Et=null;var ht=zt},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:P,isLastItem:M}=k,B=A==="vertical"?"-vertical-":"-";return i()(`${b}-compact${B}item`,{[`${b}-compact${B}first-item`]:P,[`${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)},m=b=>{const{getPrefixCls:S,direction:k}=c.useContext(f.E_),{size:R,direction:A,block:P,prefixCls:M,className:B,rootClassName:N,children:G}=b,W=u(b,["size","direction","block","prefixCls","className","rootClassName","children"]),H=(0,o.Z)(ee=>R!=null?R:ee),ae=S("space-compact",M),[ne,oe]=(0,h.Z)(ae),q=i()(ae,oe,{[`${ae}-rtl`]:k==="rtl",[`${ae}-block`]:P,[`${ae}-vertical`]:A==="vertical"},B,N),J=c.useContext(a),K=(0,l.Z)(G),se=c.useMemo(()=>K.map((ee,Q)=>{const le=ee&&ee.key||`${ae}-item-${Q}`;return c.createElement(y,{key:le,compactSize:H,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:ne(c.createElement("div",Object.assign({className:q},W),se))};v.ZP=m},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 G}});var r=e(92310),i=e.n(r),l=e(2738),c=e(59301),f=e(53280),o=e(92343),h=e(36355),u=e(36237),a=e(17313),x=e(83116),p=e(37613);const y=new u.Keyframes("antSpinMove",{to:{opacity:1}}),m=new u.Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),b=W=>({[`${W.componentCls}`]:Object.assign(Object.assign({},(0,a.Wf)(W)),{position:"absolute",display:"none",color:W.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${W.motionDurationSlow} ${W.motionEaseInOutCirc}`,"&-spinning":{position:"static",display:"inline-block",opacity:1},"&-nested-loading":{position:"relative",[`> div > ${W.componentCls}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:W.contentHeight,[`${W.componentCls}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:-W.dotSize/2},[`${W.componentCls}-text`]:{position:"absolute",top:"50%",width:"100%",paddingTop:(W.dotSize-W.fontSize)/2+2,textShadow:`0 1px 2px ${W.colorBgContainer}`,fontSize:W.fontSize},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSize/2)-10},"&-sm":{[`${W.componentCls}-dot`]:{margin:-W.dotSizeSM/2},[`${W.componentCls}-text`]:{paddingTop:(W.dotSizeSM-W.fontSize)/2+2},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSizeSM/2)-10}},"&-lg":{[`${W.componentCls}-dot`]:{margin:-(W.dotSizeLG/2)},[`${W.componentCls}-text`]:{paddingTop:(W.dotSizeLG-W.fontSize)/2+2},[`&${W.componentCls}-show-text ${W.componentCls}-dot`]:{marginTop:-(W.dotSizeLG/2)-10}}},[`${W.componentCls}-container`]:{position:"relative",transition:`opacity ${W.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:W.colorBgContainer,opacity:0,transition:`all ${W.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${W.componentCls}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:W.spinDotDefault},[`${W.componentCls}-dot`]:{position:"relative",display:"inline-block",fontSize:W.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:(W.dotSize-W.marginXXS/2)/2,height:(W.dotSize-W.marginXXS/2)/2,backgroundColor:W.colorPrimary,borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:y,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:m,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&-sm ${W.componentCls}-dot`]:{fontSize:W.dotSizeSM,i:{width:(W.dotSizeSM-W.marginXXS/2)/2,height:(W.dotSizeSM-W.marginXXS/2)/2}},[`&-lg ${W.componentCls}-dot`]:{fontSize:W.dotSizeLG,i:{width:(W.dotSizeLG-W.marginXXS)/2,height:(W.dotSizeLG-W.marginXXS)/2}},[`&${W.componentCls}-show-text ${W.componentCls}-text`]:{display:"block"}})});var S=(0,x.Z)("Spin",W=>{const H=(0,p.TS)(W,{spinDotDefault:W.colorTextDescription});return[b(H)]},W=>({contentHeight:400,dotSize:W.controlHeightLG/2,dotSizeSM:W.controlHeightLG*.35,dotSizeLG:W.controlHeight})),k=function(W,H){var ae={};for(var ne in W)Object.prototype.hasOwnProperty.call(W,ne)&&H.indexOf(ne)<0&&(ae[ne]=W[ne]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,ne=Object.getOwnPropertySymbols(W);oe<ne.length;oe++)H.indexOf(ne[oe])<0&&Object.prototype.propertyIsEnumerable.call(W,ne[oe])&&(ae[ne[oe]]=W[ne[oe]]);return ae};const R=null;let A=null;function P(W,H){const{indicator:ae}=H,ne=`${W}-dot`;return ae===null?null:(0,o.l$)(ae)?(0,o.Tm)(ae,{className:i()(ae.props.className,ne)}):(0,o.l$)(A)?(0,o.Tm)(A,{className:i()(A.props.className,ne)}):c.createElement("span",{className:i()(ne,`${W}-dot-spin`)},c.createElement("i",{className:`${W}-dot-item`,key:1}),c.createElement("i",{className:`${W}-dot-item`,key:2}),c.createElement("i",{className:`${W}-dot-item`,key:3}),c.createElement("i",{className:`${W}-dot-item`,key:4}))}function M(W,H){return!!W&&!!H&&!isNaN(Number(H))}const B=W=>{const{spinPrefixCls:H,spinning:ae=!0,delay:ne=0,className:oe,rootClassName:q,size:J="default",tip:K,wrapperClassName:se,style:ee,children:Q,hashId:le}=W,z=k(W,["spinPrefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","hashId"]),[$,ie]=c.useState(()=>ae&&!M(ae,ne));c.useEffect(()=>{if(ae){const rr=(0,f.D)(ne,()=>{ie(!0)});return rr(),()=>{var Yt;(Yt=rr==null?void 0:rr.cancel)===null||Yt===void 0||Yt.call(rr)}}ie(!1)},[ne,ae]);const me=c.useMemo(()=>typeof Q!="undefined",[Q]),{direction:Pe,spin:De}=c.useContext(h.E_),Ze=i()(H,De==null?void 0:De.className,{[`${H}-sm`]:J==="small",[`${H}-lg`]:J==="large",[`${H}-spinning`]:$,[`${H}-show-text`]:!!K,[`${H}-rtl`]:Pe==="rtl"},oe,q,le),Ne=i()(`${H}-container`,{[`${H}-blur`]:$}),Bt=(0,l.Z)(z,["indicator","prefixCls"]),yt=Object.assign(Object.assign({},De==null?void 0:De.style),ee),It=c.createElement("div",Object.assign({},Bt,{style:yt,className:Ze,"aria-live":"polite","aria-busy":$}),P(H,W),K&&me?c.createElement("div",{className:`${H}-text`},K):null);return me?c.createElement("div",Object.assign({},Bt,{className:i()(`${H}-nested-loading`,se,le)}),$&&c.createElement("div",{key:"loading"},It),c.createElement("div",{className:Ne,key:"container"},Q)):It},N=W=>{const{prefixCls:H}=W,{getPrefixCls:ae}=c.useContext(h.E_),ne=ae("spin",H),[oe,q]=S(ne),J=Object.assign(Object.assign({},W),{spinPrefixCls:ne,hashId:q});return oe(c.createElement(B,Object.assign({},J)))};N.setDefaultIndicator=W=>{A=W};var G=N},74207:function(d,v,e){"use strict";e.d(v,{c:function(){return l}});function r(c,f,o){const{focusElCls:h,focus:u,borderElCls:a}=o,x=a?"> *":"",p=["hover",u?"focus":null,"active"].filter(Boolean).map(y=>`&:${y} ${x}`).join(",");return{[`&-item:not(${f}-last-item)`]:{marginInlineEnd:-c.lineWidth},"&-item":Object.assign(Object.assign({[p]:{zIndex:2}},h?{[`&${h}`]:{zIndex:2}}:{}),{[`&[disabled] ${x}`]:{zIndex:0}})}}function i(c,f,o){const{borderElCls:h}=o,u=h?`> ${h}`:"";return{[`&-item:not(${f}-first-item):not(${f}-last-item) ${u}`]:{borderRadius:0},[`&-item:not(${f}-last-item)${f}-first-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${f}-first-item)${f}-last-item`]:{[`& ${u}, &${c}-sm ${u}, &${c}-lg ${u}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function l(c){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:o}=c,h=`${o}-compact`;return{[h]:Object.assign(Object.assign({},r(c,h,f)),i(o,h,f))}}},17313:function(d,v,e){"use strict";e.d(v,{Lx:function(){return f},Qy:function(){return u},Ro:function(){return l},Wf:function(){return i},dF:function(){return c},du:function(){return o},oN:function(){return h},vS:function(){return r}});const r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=a=>({boxSizing:"border-box",margin:0,padding:0,color:a.colorText,fontSize:a.fontSize,lineHeight:a.lineHeight,listStyle:"none",fontFamily:a.fontFamily}),l=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),f=a=>({a:{color:a.colorLink,textDecoration:a.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${a.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:a.colorLinkHover},"&:active":{color:a.colorLinkActive},"&:active,\n &:hover":{textDecoration:a.linkHoverDecoration,outline:0},"&:focus":{textDecoration:a.linkFocusDecoration,outline:0},"&[disabled]":{color:a.colorTextDisabled,cursor:"not-allowed"}}}),o=(a,x)=>{const{fontFamily:p,fontSize:y}=a,m=`[class^="${x}"], [class*=" ${x}"]`;return{[m]:{fontFamily:p,fontSize:y,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[m]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},h=a=>({outline:`${a.lineWidthFocus}px solid ${a.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),u=a=>({"&:focus-visible":Object.assign({},h(a))})},1950:function(d,v,e){"use strict";e.d(v,{J$:function(){return f}});var r=e(36237),i=e(95406);const l=new r.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),c=new r.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),f=function(o){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:u}=o,a=`${u}-fade`,x=h?"&":"";return[(0,i.R)(a,l,c,o.motionDurationMid,h),{[`
|
|
|
${x}${a}-enter,
|
|
|
${x}${a}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:"linear"},[`${x}${a}-leave`]:{animationTimingFunction:"linear"}}]}},95406:function(d,v,e){"use strict";e.d(v,{R:function(){return l}});const r=c=>({animationDuration:c,animationFillMode:"both"}),i=c=>({animationDuration:c,animationFillMode:"both"}),l=function(c,f,o,h){const a=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[`
|
|
|
${a}${c}-enter,
|
|
|
${a}${c}-appear
|
|
|
`]:Object.assign(Object.assign({},r(h)),{animationPlayState:"paused"}),[`${a}${c}-leave`]:Object.assign(Object.assign({},i(h)),{animationPlayState:"paused"}),[`
|
|
|
${a}${c}-enter${c}-enter-active,
|
|
|
${a}${c}-appear${c}-appear-active
|
|
|
`]:{animationName:f,animationPlayState:"running"},[`${a}${c}-leave${c}-leave-active`]:{animationName:o,animationPlayState:"running",pointerEvents:"none"}}}},29878:function(d,v,e){"use strict";e.d(v,{_y:function(){return k},kr:function(){return l}});var r=e(36237),i=e(95406);const l=new r.Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),c=new r.Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),f=new r.Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),o=new r.Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),h=new r.Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),u=new r.Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),a=new r.Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),x=new r.Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),p=new r.Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),y=new r.Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),m=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:m,outKeyframes:b}},k=(R,A)=>{const{antCls:P}=R,M=`${P}-${A}`,{inKeyframes:B,outKeyframes:N}=S[A];return[(0,i.R)(M,B,N,A==="zoom-big-fast"?R.motionDurationFast:R.motionDurationMid),{[`
|
|
|
${M}-enter,
|
|
|
${M}-appear
|
|
|
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:R.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${M}-leave`]:{animationTimingFunction:R.motionEaseInOutCirc}}]}},19447:function(d,v,e){"use strict";e.d(v,{ZP:function(){return f},fS:function(){return l},qN:function(){return i}});var r=e(47585);const i=8;function l(o){const h=i,{contentRadius:u,limitVerticalRadius:a}=o,x=u>12?u+2:12;return{dropdownArrowOffset:x,dropdownArrowOffsetVertical:a?h:x}}function c(o,h){return o?h:{}}function f(o,h){const{componentCls:u,sizePopupArrow:a,borderRadiusXS:x,borderRadiusOuter:p,boxShadowPopoverArrow:y}=o,{colorBg:m,contentRadius:b=o.borderRadiusLG,limitVerticalRadius:S,arrowDistance:k=0,arrowPlacement:R={left:!0,right:!0,top:!0,bottom:!0}}=h,{dropdownArrowOffsetVertical:A,dropdownArrowOffset:P}=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,m,y)),{"&:before":{background:m}})]},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:P}},[`&-placement-topRight ${u}-arrow`]:{right:{_skip_check_:!0,value:P}}})),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:P}},[`&-placement-bottomRight ${u}-arrow`]:{right:{_skip_check_:!0,value:P}}})),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)),m=c*(Math.sqrt(2)-1)+l*(1/Math.sqrt(2)),b=2*h-y,S=m,k=2*h-x,R=p,A=2*h-u,P=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} ${m} A ${l} ${l} 0 0 1 ${b} ${S} L ${k} ${R} A ${c} ${c} 0 0 0 ${A} ${P} 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 G},u_:function(){return N},uH:function(){return B}});var r=e(36237),i=e(59301),l=e(30071),f=W=>{const{controlHeight:H}=W;return{controlHeightSM:H*.75,controlHeightXS:H*.5,controlHeightLG:H*1.25}};function o(W){const{sizeUnit:H,sizeStep:ae}=W;return{sizeXXL:H*(ae+8),sizeXL:H*(ae+4),sizeLG:H*(ae+2),sizeMD:H*(ae+1),sizeMS:H*ae,size:H*ae,sizeSM:H*(ae-1),sizeXS:H*(ae-2),sizeXXS:H*(ae-3)}}var h=e(34117),u=e(64993);function a(W,H){let{generateColorPalettes:ae,generateNeutralColorPalettes:ne}=H;const{colorSuccess:oe,colorWarning:q,colorError:J,colorInfo:K,colorPrimary:se,colorBgBase:ee,colorTextBase:Q}=W,le=ae(se),z=ae(oe),$=ae(q),ie=ae(J),me=ae(K),Pe=ne(ee,Q),De=W.colorLink||W.colorInfo,Ze=ae(De);return Object.assign(Object.assign({},Pe),{colorPrimaryBg:le[1],colorPrimaryBgHover:le[2],colorPrimaryBorder:le[3],colorPrimaryBorderHover:le[4],colorPrimaryHover:le[5],colorPrimary:le[6],colorPrimaryActive:le[7],colorPrimaryTextHover:le[8],colorPrimaryText:le[9],colorPrimaryTextActive:le[10],colorSuccessBg:z[1],colorSuccessBgHover:z[2],colorSuccessBorder:z[3],colorSuccessBorderHover:z[4],colorSuccessHover:z[4],colorSuccess:z[6],colorSuccessActive:z[7],colorSuccessTextHover:z[8],colorSuccessText:z[9],colorSuccessTextActive:z[10],colorErrorBg:ie[1],colorErrorBgHover:ie[2],colorErrorBorder:ie[3],colorErrorBorderHover:ie[4],colorErrorHover:ie[5],colorError:ie[6],colorErrorActive:ie[7],colorErrorTextHover:ie[8],colorErrorText:ie[9],colorErrorTextActive:ie[10],colorWarningBg:$[1],colorWarningBgHover:$[2],colorWarningBorder:$[3],colorWarningBorderHover:$[4],colorWarningHover:$[4],colorWarning:$[6],colorWarningActive:$[7],colorWarningTextHover:$[8],colorWarningText:$[9],colorWarningTextActive:$[10],colorInfoBg:me[1],colorInfoBgHover:me[2],colorInfoBorder:me[3],colorInfoBorderHover:me[4],colorInfoHover:me[4],colorInfo:me[6],colorInfoActive:me[7],colorInfoTextHover:me[8],colorInfoText:me[9],colorInfoTextActive:me[10],colorLinkHover:Ze[4],colorLink:Ze[6],colorLinkActive:Ze[7],colorBgMask:new u.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}var p=W=>{let H=W,ae=W,ne=W,oe=W;return W<6&&W>=5?H=W+1:W<16&&W>=6?H=W+2:W>=16&&(H=16),W<7&&W>=5?ae=4:W<8&&W>=7?ae=5:W<14&&W>=8?ae=6:W<16&&W>=14?ae=7:W>=16&&(ae=8),W<6&&W>=2?ne=1:W>=6&&(ne=2),W>4&&W<8?oe=4:W>=8&&(oe=6),{borderRadius:W>16?16:W,borderRadiusXS:ne,borderRadiusSM:ae,borderRadiusLG:H,borderRadiusOuter:oe}};function y(W){const{motionUnit:H,motionBase:ae,borderRadius:ne,lineWidth:oe}=W;return Object.assign({motionDurationFast:`${(ae+H).toFixed(1)}s`,motionDurationMid:`${(ae+H*2).toFixed(1)}s`,motionDurationSlow:`${(ae+H*3).toFixed(1)}s`,lineWidthBold:oe+1},p(ne))}const m=(W,H)=>new u.C(W).setAlpha(H).toRgbString(),b=(W,H)=>new u.C(W).darken(H).toHexString(),S=W=>{const H=(0,l.generate)(W);return{1:H[0],2:H[1],3:H[2],4:H[3],5:H[4],6:H[5],7:H[6],8:H[4],9:H[5],10:H[6]}},k=(W,H)=>{const ae=W||"#fff",ne=H||"#000";return{colorBgBase:ae,colorTextBase:ne,colorText:m(ne,.88),colorTextSecondary:m(ne,.65),colorTextTertiary:m(ne,.45),colorTextQuaternary:m(ne,.25),colorFill:m(ne,.15),colorFillSecondary:m(ne,.06),colorFillTertiary:m(ne,.04),colorFillQuaternary:m(ne,.02),colorBgLayout:b(ae,4),colorBgContainer:b(ae,0),colorBgElevated:b(ae,0),colorBgSpotlight:m(ne,.85),colorBorder:b(ae,15),colorBorderSecondary:b(ae,6)}};function R(W){const H=new Array(10).fill(null).map((ae,ne)=>{const oe=ne-1,q=W*Math.pow(2.71828,oe/5),J=ne>1?Math.floor(q):Math.ceil(q);return Math.floor(J/2)*2});return H[1]=W,H.map(ae=>{const ne=ae+8;return{size:ae,lineHeight:ne/ae}})}var P=W=>{const H=R(W),ae=H.map(oe=>oe.size),ne=H.map(oe=>oe.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:ne[1],lineHeightLG:ne[2],lineHeightSM:ne[0],lineHeightHeading1:ne[6],lineHeightHeading2:ne[5],lineHeightHeading3:ne[4],lineHeightHeading4:ne[3],lineHeightHeading5:ne[2]}};function M(W){const H=Object.keys(h.M).map(ae=>{const ne=(0,l.generate)(W[ae]);return new Array(10).fill(1).reduce((oe,q,J)=>(oe[`${ae}-${J+1}`]=ne[J],oe[`${ae}${J+1}`]=ne[J],oe),{})}).reduce((ae,ne)=>(ae=Object.assign(Object.assign({},ae),ne),ae),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},W),H),a(W,{generateColorPalettes:S,generateNeutralColorPalettes:k})),P(W.fontSize)),o(W)),f(W)),y(W))}const B=(0,r.createTheme)(M),N={token:h.Z,hashed:!0},G=i.createContext(N)},33166:function(d,v,e){"use strict";e.d(v,{i:function(){return r}});const r=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},34117:function(d,v,e){"use strict";e.d(v,{M:function(){return r}});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},i=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
|
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
|
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});v.Z=i},88088:function(d,v,e){"use strict";e.d(v,{Z:function(){return S}});var r=e(36237),i=e(59301),l="5.9.0",c=l,f=e(45246),o=e(34117),h=e(64993);function u(k){return k>=0&&k<=255}function a(k,R){const{r:A,g:P,b:M,a:B}=new h.C(k).toRgb();if(B<1)return k;const{r:N,g:G,b:W}=new h.C(R).toRgb();for(let H=.01;H<=1;H+=.01){const ae=Math.round((A-N*(1-H))/H),ne=Math.round((P-G*(1-H))/H),oe=Math.round((M-W*(1-H))/H);if(u(ae)&&u(ne)&&u(oe))return new h.C({r:ae,g:ne,b:oe,a:Math.round(H*100)/100}).toRgbString()}return new h.C({r:A,g:P,b:M,a:1}).toRgbString()}var x=a,p=function(k,R){var A={};for(var P in k)Object.prototype.hasOwnProperty.call(k,P)&&R.indexOf(P)<0&&(A[P]=k[P]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,P=Object.getOwnPropertySymbols(k);M<P.length;M++)R.indexOf(P[M])<0&&Object.prototype.propertyIsEnumerable.call(k,P[M])&&(A[P[M]]=k[P[M]]);return A};function y(k){const{override:R}=k,A=p(k,["override"]),P=Object.assign({},R);Object.keys(o.Z).forEach(oe=>{delete P[oe]});const M=Object.assign(Object.assign({},A),P),B=480,N=576,G=768,W=992,H=1200,ae=1600;if(M.motion===!1){const oe="0s";M.motionDurationFast=oe,M.motionDurationMid=oe,M.motionDurationSlow=oe}return Object.assign(Object.assign(Object.assign({},M),{colorFillContent:M.colorFillSecondary,colorFillContentHover:M.colorFill,colorFillAlter:M.colorFillQuaternary,colorBgContainerDisabled:M.colorFillTertiary,colorBorderBg:M.colorBgContainer,colorSplit:x(M.colorBorderSecondary,M.colorBgContainer),colorTextPlaceholder:M.colorTextQuaternary,colorTextDisabled:M.colorTextQuaternary,colorTextHeading:M.colorText,colorTextLabel:M.colorTextSecondary,colorTextDescription:M.colorTextTertiary,colorTextLightSolid:M.colorWhite,colorHighlight:M.colorError,colorBgTextHover:M.colorFillSecondary,colorBgTextActive:M.colorFill,colorIcon:M.colorTextTertiary,colorIconHover:M.colorText,colorErrorOutline:x(M.colorErrorBg,M.colorBgContainer),colorWarningOutline:x(M.colorWarningBg,M.colorBgContainer),fontSizeIcon:M.fontSizeSM,lineWidthFocus:M.lineWidth*4,lineWidth:M.lineWidth,controlOutlineWidth:M.lineWidth*2,controlInteractiveSize:M.controlHeight/2,controlItemBgHover:M.colorFillTertiary,controlItemBgActive:M.colorPrimaryBg,controlItemBgActiveHover:M.colorPrimaryBgHover,controlItemBgActiveDisabled:M.colorFill,controlTmpOutline:M.colorFillQuaternary,controlOutline:x(M.colorPrimaryBg,M.colorBgContainer),lineType:M.lineType,borderRadius:M.borderRadius,borderRadiusXS:M.borderRadiusXS,borderRadiusSM:M.borderRadiusSM,borderRadiusLG:M.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:M.sizeXXS,paddingXS:M.sizeXS,paddingSM:M.sizeSM,padding:M.size,paddingMD:M.sizeMD,paddingLG:M.sizeLG,paddingXL:M.sizeXL,paddingContentHorizontalLG:M.sizeLG,paddingContentVerticalLG:M.sizeMS,paddingContentHorizontal:M.sizeMS,paddingContentVertical:M.sizeSM,paddingContentHorizontalSM:M.size,paddingContentVerticalSM:M.sizeXS,marginXXS:M.sizeXXS,marginXS:M.sizeXS,marginSM:M.sizeSM,margin:M.size,marginMD:M.sizeMD,marginLG:M.sizeLG,marginXL:M.sizeXL,marginXXL:M.sizeXXL,boxShadow:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowSecondary:`
|
|
|
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
|
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
|
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
|
`,boxShadowTertiary:`
|
|
|
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
|
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
|
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
|
`,screenXS:B,screenXSMin:B,screenXSMax:N-1,screenSM:N,screenSMMin:N,screenSMMax:G-1,screenMD:G,screenMDMin:G,screenMDMax:W-1,screenLG:W,screenLGMin:W,screenLGMax:H-1,screenXL:H,screenXLMin:H,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)"}),P)}var m=function(k,R){var A={};for(var P in k)Object.prototype.hasOwnProperty.call(k,P)&&R.indexOf(P)<0&&(A[P]=k[P]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,P=Object.getOwnPropertySymbols(k);M<P.length;M++)R.indexOf(P[M])<0&&Object.prototype.propertyIsEnumerable.call(k,P[M])&&(A[P[M]]=k[P[M]]);return A};const b=(k,R,A)=>{const P=A.getDerivativeToken(k),{override:M}=R,B=m(R,["override"]);let N=Object.assign(Object.assign({},P),{override:M});return N=y(N),B&&Object.entries(B).forEach(G=>{let[W,H]=G;const{theme:ae}=H,ne=m(H,["theme"]);let oe=ne;ae&&(oe=b(Object.assign(Object.assign({},N),ne),{override:ne},ae)),N[W]=oe}),N};function S(){const{token:k,hashed:R,theme:A,components:P}=i.useContext(f.Mj),M=`${c}-${R||""}`,B=A||f.uH,[N,G]=(0,r.useCacheToken)(B,[o.Z,k],{salt:M,override:Object.assign({override:k},P),getComputedToken:b,formatToken:y});return[B,N,R?G:""]}},83116:function(d,v,e){"use strict";e.d(v,{Z:function(){return a},b:function(){return x}});var r=e(59301),i=e(36237),l=e(70425),c=e(36355),f=e(17313),o=e(88088),h=e(37613),u=e(73040);function a(p,y,m){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[P,M,B]=(0,o.Z)(),{getPrefixCls:N,iconPrefixCls:G,csp:W}=(0,r.useContext)(c.E_),H=N(),ae={theme:P,token:M,hashId:B,nonce:()=>W==null?void 0:W.nonce,clientOnly:b.clientOnly,order:b.order||-999};return(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{clientOnly:!1,path:["Shared",H]}),()=>[{"&":(0,f.Lx)(M)}]),(0,u.Z)(G),[(0,i.useStyleRegister)(Object.assign(Object.assign({},ae),{path:[R,A,G]}),()=>{const{token:ne,flush:oe}=(0,h.ZP)(M),q=Object.assign({},M[k]);if(b.deprecatedTokens){const{deprecatedTokens:le}=b;le.forEach(z=>{let[$,ie]=z;var me;(q!=null&&q[$]||q!=null&&q[ie])&&((me=q[ie])!==null&&me!==void 0||(q[ie]=q==null?void 0:q[$]))})}const J=typeof m=="function"?m((0,h.TS)(ne,q!=null?q:{})):m,K=Object.assign(Object.assign({},J),q),se=`.${A}`,ee=(0,h.TS)(ne,{componentCls:se,prefixCls:A,iconCls:`.${G}`,antCls:`.${H}`},K),Q=y(ee,{hashId:B,prefixCls:A,rootPrefixCls:H,iconPrefixCls:G,overrideComponentToken:q});return oe(k,K),[b.resetStyle===!1?null:(0,f.du)(M,A),Q]}),B]}}const x=(p,y,m,b)=>{const S=a(p,y,m,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,m){return i&&a.add(m),y[m]}}),p=(y,m)=>{var b;c[y]={global:Array.from(a),component:Object.assign(Object.assign({},(b=c[y])===null||b===void 0?void 0:b.component),m)}}),{token:x,keys:a,flush:p}}},73040:function(d,v,e){"use strict";var r=e(36237),i=e(17313),l=e(88088);const c=(f,o)=>{const[h,u]=(0,l.Z)();return(0,r.useStyleRegister)({theme:h,token:u,hashId:"",path:["ant-design-icons",f],nonce:()=>o==null?void 0:o.nonce},()=>[{[`.${f}`]:Object.assign(Object.assign({},(0,i.Ro)()),{[`.${f} .${f}-icon`]:{display:"block"}})}])};v.Z=c},67532:function(d,v){"use strict";const e={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};v.Z=e},6848:function(d,v,e){"use strict";e.d(v,{Z:function(){return oe}});var r=e(59301),i=e(92310),l=e.n(i),c=e(55477),f=e(18929),o=e(62892),h=e(79676),u=e(92343),a=e(36355),x=e(33234),p=e(88088),y=e(17313),m=e(29878),b=e(19447),S=e(45157),k=e(37613),R=e(83116);const A=q=>{const{componentCls:J,tooltipMaxWidth:K,tooltipColor:se,tooltipBg:ee,tooltipBorderRadius:Q,zIndexPopup:le,controlHeight:z,boxShadowSecondary:$,paddingSM:ie,paddingXS:me,tooltipRadiusOuter:Pe}=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:`${ie/2}px ${me}px`,color:se,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:Pe}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:Q,limitVerticalRadius:!0}),{[`${J}-pure`]:{position:"relative",maxWidth:"none",margin:q.sizePopupArrow}}]};var P=(q,J)=>(0,R.Z)("Tooltip",se=>{if(J===!1)return[];const{borderRadius:ee,colorTextLightSolid:Q,colorBgDefault:le,borderRadiusOuter:z}=se,$=(0,k.TS)(se,{tooltipMaxWidth:250,tooltipColor:Q,tooltipBorderRadius:ee,tooltipBg:le,tooltipRadiusOuter:z>4?4:z});return[A($),(0,m._y)(se,"zoom-big-fast")]},se=>{let{zIndexPopupBase:ee,colorBgSpotlight:Q}=se;return{zIndexPopup:ee+70,colorBgDefault:Q}},{resetStyle:!1})(q),M=e(36785);function B(q,J){const K=(0,M.o2)(J),se=l()({[`${q}-${J}`]:J&&K}),ee={},Q={};return J&&!K&&(ee.background=J,Q["--antd-arrow-background-color"]=J),{className:se,overlayStyle:ee,arrowStyle:Q}}var G=q=>{const{prefixCls:J,className:K,placement:se="top",title:ee,color:Q,overlayInnerStyle:le}=q,{getPrefixCls:z}=r.useContext(a.E_),$=z("tooltip",J),[ie,me]=P($,!0),Pe=B($,Q),De=Pe.arrowStyle,Ze=Object.assign(Object.assign({},le),Pe.overlayStyle),Ne=l()(me,$,`${$}-pure`,`${$}-placement-${se}`,K,Pe.className);return ie(r.createElement("div",{className:Ne,style:De},r.createElement("div",{className:`${$}-arrow`}),r.createElement(c.G,Object.assign({},q,{className:me,prefixCls:$,overlayInnerStyle:Ze}),ee)))},W=function(q,J){var K={};for(var se in q)Object.prototype.hasOwnProperty.call(q,se)&&J.indexOf(se)<0&&(K[se]=q[se]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,se=Object.getOwnPropertySymbols(q);ee<se.length;ee++)J.indexOf(se[ee])<0&&Object.prototype.propertyIsEnumerable.call(q,se[ee])&&(K[se[ee]]=q[se[ee]]);return K};const H=(q,J)=>{const K={},se=Object.assign({},q);return J.forEach(ee=>{q&&ee in q&&(K[ee]=q[ee],delete se[ee])}),{picked:K,omitted:se}};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:se,omitted:ee}=H(q.props.style,["position","left","right","top","bottom","float","display","zIndex"]),Q=Object.assign(Object.assign({display:"inline-block"},se),{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 ne=r.forwardRef((q,J)=>{var K,se;const{prefixCls:ee,openClassName:Q,getTooltipContainer:le,overlayClassName:z,color:$,overlayInnerStyle:ie,children:me,afterOpenChange:Pe,afterVisibleChange:De,destroyTooltipOnHide:Ze,arrow:Ne=!0,title:Bt,overlay:yt,builtinPlacements:It,arrowPointAtCenter:rr=!1,autoAdjustOverflow:Yt=!0}=q,ur=!!Ne,[,We]=(0,p.Z)(),{getPopupContainer:Pt,getPrefixCls:zt,direction:nt}=r.useContext(a.E_),Et=r.useRef(null),ht=()=>{var Ie;(Ie=Et.current)===null||Ie===void 0||Ie.forceAlign()};r.useImperativeHandle(J,()=>({forceAlign:ht,forcePopupAlign:()=>{ht()}}));const[Je,Ue]=(0,f.Z)(!1,{value:(K=q.open)!==null&&K!==void 0?K:q.visible,defaultValue:(se=q.defaultOpen)!==null&&se!==void 0?se:q.defaultVisible}),ge=!Bt&&!yt&&Bt!==0,Se=Ie=>{var wt,be;Ue(ge?!1:Ie),ge||((wt=q.onOpenChange)===null||wt===void 0||wt.call(q,Ie),(be=q.onVisibleChange)===null||be===void 0||be.call(q,Ie))},Le=r.useMemo(()=>{var Ie,wt;let be=rr;return typeof Ne=="object"&&(be=(wt=(Ie=Ne.pointAtCenter)!==null&&Ie!==void 0?Ie:Ne.arrowPointAtCenter)!==null&&wt!==void 0?wt:rr),It||(0,h.Z)({arrowPointAtCenter:be,autoAdjustOverflow:Yt,arrowWidth:ur?We.sizePopupArrow:0,borderRadius:We.borderRadius,offset:We.marginXXS,visibleFirst:!0})},[rr,Ne,It,We]),je=r.useMemo(()=>Bt===0?Bt:yt||Bt||"",[yt,Bt]),He=r.createElement(x.BR,null,typeof je=="function"?je():je),{getPopupContainer:rt,placement:lt="top",mouseEnterDelay:Kt=.1,mouseLeaveDelay:Wt=.1,overlayStyle:Ae,rootClassName:qe}=q,Vt=W(q,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),kt=zt("tooltip",ee),Ht=zt(),$t=q["data-popover-inject"];let Tt=Je;!("open"in q)&&!("visible"in q)&&ge&&(Tt=!1);const Xt=ae((0,u.l$)(me)&&!(0,u.M2)(me)?me:r.createElement("span",null,me),kt),Ge=Xt.props,ce=!Ge.className||typeof Ge.className=="string"?l()(Ge.className,Q||`${kt}-open`):Ge.className,[pe,Dt]=P(kt,!$t),Ce=B(kt,$),ct=Ce.arrowStyle,Zt=Object.assign(Object.assign({},ie),Ce.overlayStyle),St=l()(z,{[`${kt}-rtl`]:nt==="rtl"},Ce.className,qe,Dt);return pe(r.createElement(c.Z,Object.assign({},Vt,{showArrow:ur,placement:lt,mouseEnterDelay:Kt,mouseLeaveDelay:Wt,prefixCls:kt,overlayClassName:St,overlayStyle:Object.assign(Object.assign({},ct),Ae),getTooltipContainer:rt||le||Pt,ref:Et,builtinPlacements:Le,overlay:He,visible:Tt,onVisibleChange:Se,afterVisibleChange:Pe!=null?Pe:De,overlayInnerStyle:Zt,arrowContent:r.createElement("span",{className:`${kt}-arrow-content`}),motion:{motionName:(0,o.m)(Ht,"zoom-big-fast",q.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ze}),Tt?(0,u.Tm)(Xt,{className:ce}):Xt))});ne._InternalPanelDoNotUseOrYouWillBeFired=G;var oe=ne},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"],m="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"],P=[x,y,p,b,S,k,R,A],M=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,B="str",N="kwd",G="com",W="typ",H="lit",ae="pun",ne="pln",oe="tag",q="dec",J="src",K="atn",se="atv",ee="nocode",Q="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function le(nt){for(var Et=0,ht=!1,Je=!1,Ue=0,ge=nt.length;Ue<ge;++Ue){var Se=nt[Ue];if(Se.ignoreCase)Je=!0;else if(/[a-z]/i.test(Se.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){ht=!0,Je=!1;break}}var Le={b:8,t:9,n:10,v:11,f:12,r:13};function je(Wt){var Ae=Wt.charCodeAt(0);if(Ae!==92)return Ae;var qe=Wt.charAt(1);return Ae=Le[qe],Ae||("0"<=qe&&qe<="7"?parseInt(Wt.substring(1),8):qe==="u"||qe==="x"?parseInt(Wt.substring(2),16):Wt.charCodeAt(1))}function He(Wt){if(Wt<32)return(Wt<16?"\\x0":"\\x")+Wt.toString(16);var Ae=String.fromCharCode(Wt);return Ae==="\\"||Ae==="-"||Ae==="]"||Ae==="^"?"\\"+Ae:Ae}function rt(Wt){var Ae=Wt.substring(1,Wt.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),qe=[],Vt=Ae[0]==="^",kt=["["];Vt&&kt.push("^");for(var Ht=Vt?1:0,$t=Ae.length;Ht<$t;++Ht){var Tt=Ae[Ht];if(/\\[bdsw]/i.test(Tt))kt.push(Tt);else{var Xt=je(Tt),Ge;Ht+2<$t&&Ae[Ht+1]==="-"?(Ge=je(Ae[Ht+2]),Ht+=2):Ge=Xt,qe.push([Xt,Ge]),Ge<65||Xt>122||(Ge<65||Xt>90||qe.push([Math.max(65,Xt)|32,Math.min(Ge,90)|32]),Ge<97||Xt>122||qe.push([Math.max(97,Xt)&-33,Math.min(Ge,122)&-33]))}}qe.sort(function(Ce,ct){return Ce[0]-ct[0]||ct[1]-Ce[1]});for(var ce=[],pe=[],Ht=0;Ht<qe.length;++Ht){var Dt=qe[Ht];Dt[0]<=pe[1]+1?pe[1]=Math.max(pe[1],Dt[1]):ce.push(pe=Dt)}for(var Ht=0;Ht<ce.length;++Ht){var Dt=ce[Ht];kt.push(He(Dt[0])),Dt[1]>Dt[0]&&(Dt[1]+1>Dt[0]&&kt.push("-"),kt.push(He(Dt[1])))}return kt.push("]"),kt.join("")}function lt(Wt){for(var Ae=Wt.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),qe=Ae.length,Vt=[],kt=0,Ht=0;kt<qe;++kt){var $t=Ae[kt];if($t==="(")++Ht;else if($t.charAt(0)==="\\"){var Tt=+$t.substring(1);Tt&&(Tt<=Ht?Vt[Tt]=-1:Ae[kt]=He(Tt))}}for(var kt=1;kt<Vt.length;++kt)Vt[kt]===-1&&(Vt[kt]=++Et);for(var kt=0,Ht=0;kt<qe;++kt){var $t=Ae[kt];if($t==="(")++Ht,Vt[Ht]||(Ae[kt]="(?:");else if($t.charAt(0)==="\\"){var Tt=+$t.substring(1);Tt&&Tt<=Ht&&(Ae[kt]="\\"+Vt[Tt])}}for(var kt=0;kt<qe;++kt)Ae[kt]==="^"&&Ae[kt+1]!=="^"&&(Ae[kt]="");if(Wt.ignoreCase&&ht)for(var kt=0;kt<qe;++kt){var $t=Ae[kt],Xt=$t.charAt(0);$t.length>=2&&Xt==="["?Ae[kt]=rt($t):Xt!=="\\"&&(Ae[kt]=$t.replace(/[a-zA-Z]/g,function(pe){var Dt=pe.charCodeAt(0);return"["+String.fromCharCode(Dt&-33,Dt|32)+"]"}))}return Ae.join("")}for(var Kt=[],Ue=0,ge=nt.length;Ue<ge;++Ue){var Se=nt[Ue];if(Se.global||Se.multiline)throw new Error(""+Se);Kt.push("(?:"+lt(Se)+")")}return new RegExp(Kt.join("|"),Je?"gi":"g")}function z(nt,Et){var ht=/(?:^|\s)nocode(?:\s|$)/,Je=[],Ue=0,ge=[],Se=0;function Le(je){var He=je.nodeType;if(He==1){if(ht.test(je.className))return;for(var rt=je.firstChild;rt;rt=rt.nextSibling)Le(rt);var lt=je.nodeName.toLowerCase();(lt==="br"||lt==="li")&&(Je[Se]=`
|
|
|
`,ge[Se<<1]=Ue++,ge[Se++<<1|1]=je)}else if(He==3||He==4){var Kt=je.nodeValue;Kt.length&&(Et?Kt=Kt.replace(/\r\n?/g,`
|
|
|
`):Kt=Kt.replace(/[ \t\r\n]+/g," "),Je[Se]=Kt,ge[Se<<1]=Ue,Ue+=Kt.length,ge[Se++<<1|1]=je)}}return Le(nt),{sourceCode:Je.join("").replace(/\n$/,""),spans:ge}}function $(nt,Et,ht,Je,Ue){if(ht){var ge={sourceNode:nt,pre:1,langExtension:null,numberLines:null,sourceCode:ht,spans:null,basePos:Et,decorations:null};Je(ge),Ue.push.apply(Ue,ge.decorations)}}var ie=/\S/;function me(nt){for(var Et=void 0,ht=nt.firstChild;ht;ht=ht.nextSibling){var Je=ht.nodeType;Et=Je===1?Et?nt:ht:Je===3&&ie.test(ht.nodeValue)?nt:Et}return Et===nt?void 0:Et}function Pe(nt,Et){var ht={},Je;(function(){for(var Se=nt.concat(Et),Le=[],je={},He=0,rt=Se.length;He<rt;++He){var lt=Se[He],Kt=lt[3];if(Kt)for(var Wt=Kt.length;--Wt>=0;)ht[Kt.charAt(Wt)]=lt;var Ae=lt[1],qe=""+Ae;je.hasOwnProperty(qe)||(Le.push(Ae),je[qe]=null)}Le.push(/[\0-\uffff]/),Je=le(Le)})();var Ue=Et.length,ge=function(Se){for(var Le=Se.sourceCode,je=Se.basePos,He=Se.sourceNode,rt=[je,ne],lt=0,Kt=Le.match(Je)||[],Wt={},Ae=0,qe=Kt.length;Ae<qe;++Ae){var Vt=Kt[Ae],kt=Wt[Vt],Ht=void 0,$t;if(typeof kt=="string")$t=!1;else{var Tt=ht[Vt.charAt(0)];if(Tt)Ht=Vt.match(Tt[1]),kt=Tt[0];else{for(var Xt=0;Xt<Ue;++Xt)if(Tt=Et[Xt],Ht=Vt.match(Tt[1]),Ht){kt=Tt[0];break}Ht||(kt=ne)}$t=kt.length>=5&&kt.substring(0,5)==="lang-",$t&&!(Ht&&typeof Ht[1]=="string")&&($t=!1,kt=J),$t||(Wt[Vt]=kt)}var Ge=lt;if(lt+=Vt.length,!$t)rt.push(je+Ge,kt);else{var ce=Ht[1],pe=Vt.indexOf(ce),Dt=pe+ce.length;Ht[2]&&(Dt=Vt.length-Ht[2].length,pe=Dt-ce.length);var Ce=kt.substring(5);$(He,je+Ge,Vt.substring(0,pe),ge,rt),$(He,je+Ge+pe,ce,rr(Ce,ce),rt),$(He,je+Ge+Dt,Vt.substring(Dt),ge,rt)}}Se.decorations=rt};return ge}function De(nt){var Et=[],ht=[];nt.tripleQuotedStrings?Et.push([B,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,`'"`]):nt.multiLineStrings?Et.push([B,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):Et.push([B,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,`"'`]),nt.verbatimStrings&&ht.push([B,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var Je=nt.hashComments;Je&&(nt.cStyleComments?(Je>1?Et.push([G,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):Et.push([G,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),ht.push([B,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):Et.push([G,/^#[^\r\n]*/,null,"#"])),nt.cStyleComments&&(ht.push([G,/^\/\/[^\r\n]*/,null]),ht.push([G,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var Ue=nt.regexLiterals;if(Ue){var ge=Ue>1?"":`
|
|
|
\r`,Se=ge?".":"[\\S\\s]",Le="/(?=[^/*"+ge+"])(?:[^/\\x5B\\x5C"+ge+"]|\\x5C"+Se+"|\\x5B(?:[^\\x5C\\x5D"+ge+"]|\\x5C"+Se+")*(?:\\x5D|$))+/";ht.push(["lang-regex",RegExp("^"+Q+"("+Le+")")])}var je=nt.types;je&&ht.push([W,je]);var He=(""+nt.keywords).replace(/^ | $/g,"");He.length&&ht.push([N,new RegExp("^(?:"+He.replace(/[\s,]+/g,"|")+")\\b"),null]),Et.push([ne,/^\s+/,null,` \r
|
|
|
\xA0`]);var rt="^.[^\\s\\w.$@'\"`/\\\\]*";return nt.regexLiterals&&(rt+="(?!s*/)"),ht.push([H,/^@[a-z_$][a-z_$@0-9]*/i,null],[W,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[ne,/^[a-z_$][a-z_$@0-9]*/i,null],[H,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[ne,/^\\[\s\S]?/,null],[ae,new RegExp(rt),null]),Pe(Et,ht)}var Ze=De({keywords:P,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function Ne(nt,Et,ht){for(var Je=/(?:^|\s)nocode(?:\s|$)/,Ue=/\r\n?|\n/,ge=nt.ownerDocument,Se=ge.createElement("li");nt.firstChild;)Se.appendChild(nt.firstChild);var Le=[Se];function je(Ae){var qe=Ae.nodeType;if(qe==1&&!Je.test(Ae.className))if(Ae.nodeName==="br")He(Ae),Ae.parentNode&&Ae.parentNode.removeChild(Ae);else for(var Vt=Ae.firstChild;Vt;Vt=Vt.nextSibling)je(Vt);else if((qe==3||qe==4)&&ht){var kt=Ae.nodeValue,Ht=kt.match(Ue);if(Ht){var $t=kt.substring(0,Ht.index);Ae.nodeValue=$t;var Tt=kt.substring(Ht.index+Ht[0].length);if(Tt){var Xt=Ae.parentNode;Xt.insertBefore(ge.createTextNode(Tt),Ae.nextSibling)}He(Ae),$t||Ae.parentNode.removeChild(Ae)}}}function He(Ae){for(;!Ae.nextSibling;)if(Ae=Ae.parentNode,!Ae)return;function qe(Ht,$t){var Tt=$t?Ht.cloneNode(!1):Ht,Xt=Ht.parentNode;if(Xt){var Ge=qe(Xt,1),ce=Ht.nextSibling;Ge.appendChild(Tt);for(var pe=ce;pe;pe=ce)ce=pe.nextSibling,Ge.appendChild(pe)}return Tt}for(var Vt=qe(Ae.nextSibling,0),kt;(kt=Vt.parentNode)&&kt.nodeType===1;)Vt=kt;Le.push(Vt)}for(var rt=0;rt<Le.length;++rt)je(Le[rt]);Et===(Et|0)&&Le[0].setAttribute("value",Et);var lt=ge.createElement("ol");lt.className="linenums";for(var Kt=Math.max(0,Et-1|0)||0,rt=0,Wt=Le.length;rt<Wt;++rt)Se=Le[rt],Se.className="L"+(rt+Kt)%10,Se.firstChild||Se.appendChild(ge.createTextNode("\xA0")),lt.appendChild(Se);nt.appendChild(lt)}function Bt(nt){var Et=/\bMSIE\s(\d+)/.exec(navigator.userAgent);Et=Et&&+Et[1]<=8;var ht=/\n/g,Je=nt.sourceCode,Ue=Je.length,ge=0,Se=nt.spans,Le=Se.length,je=0,He=nt.decorations,rt=He.length,lt=0;He[rt]=Ue;var Kt,Wt;for(Wt=Kt=0;Wt<rt;)He[Wt]!==He[Wt+2]?(He[Kt++]=He[Wt++],He[Kt++]=He[Wt++]):Wt+=2;for(rt=Kt,Wt=Kt=0;Wt<rt;){for(var Ae=He[Wt],qe=He[Wt+1],Vt=Wt+2;Vt+2<=rt&&He[Vt+1]===qe;)Vt+=2;He[Kt++]=Ae,He[Kt++]=qe,Wt=Vt}rt=He.length=Kt;var kt=nt.sourceNode,Ht="";kt&&(Ht=kt.style.display,kt.style.display="none");try{for(var $t=null;je<Le;){var Tt=Se[je],Xt=Se[je+2]||Ue,Ge=He[lt+2]||Ue,Vt=Math.min(Xt,Ge),ce=Se[je+1],pe;if(ce.nodeType!==1&&(pe=Je.substring(ge,Vt))){Et&&(pe=pe.replace(ht,"\r")),ce.nodeValue=pe;var Dt=ce.ownerDocument,Ce=Dt.createElement("span");Ce.className=He[lt+1];var ct=ce.parentNode;ct.replaceChild(Ce,ce),Ce.appendChild(ce),ge<Xt&&(Se[je+1]=ce=Dt.createTextNode(Je.substring(Vt,Xt)),ct.insertBefore(ce,Ce.nextSibling))}ge=Vt,ge>=Xt&&(je+=2),ge>=Ge&&(lt+=2)}}finally{kt&&(kt.style.display=Ht)}}var yt={};function It(nt,Et){for(var ht=Et.length;--ht>=0;){var Je=Et[ht];yt.hasOwnProperty(Je)?o.console&&console.warn("cannot override language handler %s",Je):yt[Je]=nt}}function rr(nt,Et){return nt&&yt.hasOwnProperty(nt)||(nt=/^\s*</.test(Et)?"default-markup":"default-code"),yt[nt]}It(Ze,["default-code"]),It(Pe([],[[ne,/^[^<?]+/],[q,/^<!\w[^>]*(?:>|$)/],[G,/^<\!--[\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"]),It(Pe([[ne,/^[\s]+/,null,` \r
|
|
|
`],[se,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,`"'`]],[[oe,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[K,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[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"]),It(Pe([],[[se,/^[\s\S]+/]]),["uq.val"]),It(De({keywords:x,hashComments:!0,cStyleComments:!0,types:M}),["c","cc","cpp","cxx","cyc","m"]),It(De({keywords:"null,true,false"}),["json"]),It(De({keywords:y,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:M}),["cs"]),It(De({keywords:p,cStyleComments:!0}),["java"]),It(De({keywords:A,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),It(De({keywords:k,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),It(De({keywords:S,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),It(De({keywords:R,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),It(De({keywords:b,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),It(De({keywords:m,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),It(Pe([],[[B,/^[\s\S]+/]]),["regex"]);function Yt(nt){var Et=nt.langExtension;try{var ht=z(nt.sourceNode,nt.pre),Je=ht.sourceCode;nt.sourceCode=Je,nt.spans=ht.spans,nt.basePos=0,rr(Et,Je)(nt),Bt(nt)}catch(Ue){o.console&&console.log(Ue&&Ue.stack||Ue)}}function ur(nt,Et,ht){var Je=ht||!1,Ue=Et||null,ge=document.createElement("div");ge.innerHTML="<pre>"+nt+"</pre>",ge=ge.firstChild,Je&&Ne(ge,Je,!0);var Se={langExtension:Ue,numberLines:Je,sourceNode:ge,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return Yt(Se),ge.innerHTML}function We(nt,Et){var ht=Et||document.body,Je=ht.ownerDocument||document;function Ue(Tt){return ht.getElementsByTagName(Tt)}for(var ge=[Ue("pre"),Ue("code"),Ue("xmp")],Se=[],Le=0;Le<ge.length;++Le)for(var je=0,He=ge[Le].length;je<He;++je)Se.push(ge[Le][je]);ge=null;var rt=Date;rt.now||(rt={now:function(){return+new Date}});var lt=0,Kt=/\blang(?:uage)?-([\w.]+)(?!\S)/,Wt=/\bprettyprint\b/,Ae=/\bprettyprinted\b/,qe=/pre|xmp/i,Vt=/^code$/i,kt=/^(?:pre|code|xmp)$/i,Ht={};function $t(){for(var Tt=o.PR_SHOULD_USE_CONTINUATION?rt.now()+250:1/0;lt<Se.length&&rt.now()<Tt;lt++){for(var Xt=Se[lt],Ge=Ht,ce=Xt;ce=ce.previousSibling;){var pe=ce.nodeType,Dt=(pe===7||pe===8)&&ce.nodeValue;if(Dt?!/^\??prettify\b/.test(Dt):pe!==3||/\S/.test(ce.nodeValue))break;if(Dt){Ge={},Dt.replace(/\b(\w+)=([\w:.%+-]+)/g,function(At,Yr,rn){Ge[Yr]=rn});break}}var Ce=Xt.className;if((Ge!==Ht||Wt.test(Ce))&&!Ae.test(Ce)){for(var ct=!1,Zt=Xt.parentNode;Zt;Zt=Zt.parentNode){var St=Zt.tagName;if(kt.test(St)&&Zt.className&&Wt.test(Zt.className)){ct=!0;break}}if(!ct){Xt.className+=" prettyprinted";var Ie=Ge.lang;if(!Ie){Ie=Ce.match(Kt);var wt;!Ie&&(wt=me(Xt))&&Vt.test(wt.tagName)&&(Ie=wt.className.match(Kt)),Ie&&(Ie=Ie[1])}var be;if(qe.test(Xt.tagName))be=1;else{var Ye=Xt.currentStyle,vt=Je.defaultView,Lt=Ye?Ye.whiteSpace:vt&&vt.getComputedStyle?vt.getComputedStyle(Xt,null).getPropertyValue("white-space"):0;be=Lt&&Lt.substring(0,3)==="pre"}var Me=Ge.linenums;(Me=Me==="true"||+Me)||(Me=Ce.match(/\blinenums\b(?::(\d+))?/),Me=Me?Me[1]&&Me[1].length?+Me[1]:!0:!1),Me&&Ne(Xt,Me,be);var Or={langExtension:Ie,sourceNode:Xt,numberLines:Me,pre:be,sourceCode:null,basePos:null,spans:null,decorations:null};Yt(Or)}}}lt<Se.length?o.setTimeout($t,250):typeof nt=="function"&&nt()}$t()}var Pt=o.PR={createSimpleLexer:Pe,registerLangHandler:It,sourceDecorator:De,PR_ATTRIB_NAME:K,PR_ATTRIB_VALUE:se,PR_COMMENT:G,PR_DECLARATION:q,PR_KEYWORD:N,PR_LITERAL:H,PR_NOCODE:ee,PR_PLAIN:ne,PR_PUNCTUATION:ae,PR_SOURCE:J,PR_STRING:B,PR_TAG:oe,PR_TYPE:W,prettyPrintOne:r?o.prettyPrintOne=ur:c=ur,prettyPrint:f=r?o.prettyPrint=We:f=We},zt=o.define;typeof zt=="function"&&zt.amd&&zt("google-code-prettify",[],function(){return Pt})})()},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,m,b=!1;h||(h={}),u=h.debug||!1;try{x=r(),p=document.createRange(),y=document.getSelection(),m=document.createElement("span"),m.textContent=o,m.ariaHidden="true",m.style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.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(m),p.selectNodeContents(m),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()),m&&document.body.removeChild(m),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=[],m=[],b=[],S=[];(function(){for(var A=[],P=0;P<256;P++)P<128?A[P]=P<<1:A[P]=P<<1^283;for(var M=0,B=0,P=0;P<256;P++){var N=B^B<<1^B<<2^B<<3^B<<4;N=N>>>8^N&255^99,o[M]=N,h[N]=M;var G=A[M],W=A[G],H=A[W],ae=A[N]*257^N*16843008;u[M]=ae<<24|ae>>>8,a[M]=ae<<16|ae>>>16,x[M]=ae<<8|ae>>>24,p[M]=ae;var ae=H*16843009^W*65537^G*257^M*16843008;y[N]=ae<<24|ae>>>8,m[N]=ae<<16|ae>>>16,b[N]=ae<<8|ae>>>24,S[N]=ae,M?(M=G^A[A[A[H^G]]],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 P=this._keyPriorReset=this._key,M=P.words,B=P.sigBytes/4,N=this._nRounds=B+6,G=(N+1)*4,W=this._keySchedule=[],H=0;H<G;H++)H<B?W[H]=M[H]:(A=W[H-1],H%B?B>6&&H%B==4&&(A=o[A>>>24]<<24|o[A>>>16&255]<<16|o[A>>>8&255]<<8|o[A&255]):(A=A<<8|A>>>24,A=o[A>>>24]<<24|o[A>>>16&255]<<16|o[A>>>8&255]<<8|o[A&255],A^=k[H/B|0]<<24),W[H]=W[H-B]^A);for(var ae=this._invKeySchedule=[],ne=0;ne<G;ne++){var H=G-ne;if(ne%4)var A=W[H];else var A=W[H-4];ne<4||H<=4?ae[ne]=A:ae[ne]=y[o[A>>>24]]^m[o[A>>>16&255]]^b[o[A>>>8&255]]^S[o[A&255]]}}},encryptBlock:function(A,P){this._doCryptBlock(A,P,this._keySchedule,u,a,x,p,o)},decryptBlock:function(A,P){var M=A[P+1];A[P+1]=A[P+3],A[P+3]=M,this._doCryptBlock(A,P,this._invKeySchedule,y,m,b,S,h);var M=A[P+1];A[P+1]=A[P+3],A[P+3]=M},_doCryptBlock:function(A,P,M,B,N,G,W,H){for(var ae=this._nRounds,ne=A[P]^M[0],oe=A[P+1]^M[1],q=A[P+2]^M[2],J=A[P+3]^M[3],K=4,se=1;se<ae;se++){var ee=B[ne>>>24]^N[oe>>>16&255]^G[q>>>8&255]^W[J&255]^M[K++],Q=B[oe>>>24]^N[q>>>16&255]^G[J>>>8&255]^W[ne&255]^M[K++],le=B[q>>>24]^N[J>>>16&255]^G[ne>>>8&255]^W[oe&255]^M[K++],z=B[J>>>24]^N[ne>>>16&255]^G[oe>>>8&255]^W[q&255]^M[K++];ne=ee,oe=Q,q=le,J=z}var ee=(H[ne>>>24]<<24|H[oe>>>16&255]<<16|H[q>>>8&255]<<8|H[J&255])^M[K++],Q=(H[oe>>>24]<<24|H[q>>>16&255]<<16|H[J>>>8&255]<<8|H[ne&255])^M[K++],le=(H[q>>>24]<<24|H[J>>>16&255]<<16|H[ne>>>8&255]<<8|H[oe&255])^M[K++],z=(H[J>>>24]<<24|H[ne>>>16&255]<<16|H[oe>>>8&255]<<8|H[q&255])^M[K++];A[P]=ee,A[P+1]=Q,A[P+2]=le,A[P+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,m=c.Cipher=h.extend({cfg:f.extend(),createEncryptor:function(oe,q){return this.create(this._ENC_XFORM_MODE,oe,q)},createDecryptor:function(oe,q){return this.create(this._DEC_XFORM_MODE,oe,q)},init:function(oe,q,J){this.cfg=this.cfg.extend(J),this._xformMode=oe,this._key=q,this.reset()},reset:function(){h.reset.call(this),this._doReset()},process:function(oe){return this._append(oe),this._process()},finalize:function(oe){oe&&this._append(oe);var q=this._doFinalize();return q},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function oe(q){return typeof q=="string"?ne:W}return function(q){return{encrypt:function(J,K,se){return oe(K).encrypt(q,J,K,se)},decrypt:function(J,K,se){return oe(K).decrypt(q,J,K,se)}}}}()}),b=c.StreamCipher=m.extend({_doFinalize:function(){var oe=this._process(!0);return oe},blockSize:1}),S=l.mode={},k=c.BlockCipherMode=f.extend({createEncryptor:function(oe,q){return this.Encryptor.create(oe,q)},createDecryptor:function(oe,q){return this.Decryptor.create(oe,q)},init:function(oe,q){this._cipher=oe,this._iv=q}}),R=S.CBC=function(){var oe=k.extend();oe.Encryptor=oe.extend({processBlock:function(J,K){var se=this._cipher,ee=se.blockSize;q.call(this,J,K,ee),se.encryptBlock(J,K),this._prevBlock=J.slice(K,K+ee)}}),oe.Decryptor=oe.extend({processBlock:function(J,K){var se=this._cipher,ee=se.blockSize,Q=J.slice(K,K+ee);se.decryptBlock(J,K),q.call(this,J,K,ee),this._prevBlock=Q}});function q(J,K,se){var ee,Q=this._iv;Q?(ee=Q,this._iv=i):ee=this._prevBlock;for(var le=0;le<se;le++)J[K+le]^=ee[le]}return oe}(),A=l.pad={},P=A.Pkcs7={pad:function(oe,q){for(var J=q*4,K=J-oe.sigBytes%J,se=K<<24|K<<16|K<<8|K,ee=[],Q=0;Q<K;Q+=4)ee.push(se);var le=o.create(ee,K);oe.concat(le)},unpad:function(oe){var q=oe.words[oe.sigBytes-1>>>2]&255;oe.sigBytes-=q}},M=c.BlockCipher=m.extend({cfg:m.cfg.extend({mode:R,padding:P}),reset:function(){var oe;m.reset.call(this);var q=this.cfg,J=q.iv,K=q.mode;this._xformMode==this._ENC_XFORM_MODE?oe=K.createEncryptor:(oe=K.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==oe?this._mode.init(this,J&&J.words):(this._mode=oe.call(K,this,J&&J.words),this._mode.__creator=oe)},_doProcessBlock:function(oe,q){this._mode.processBlock(oe,q)},_doFinalize:function(){var oe,q=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(q.pad(this._data,this.blockSize),oe=this._process(!0)):(oe=this._process(!0),q.unpad(oe)),oe},blockSize:128/32}),B=c.CipherParams=f.extend({init:function(oe){this.mixIn(oe)},toString:function(oe){return(oe||this.formatter).stringify(this)}}),N=l.format={},G=N.OpenSSL={stringify:function(oe){var q,J=oe.ciphertext,K=oe.salt;return K?q=o.create([1398893684,1701076831]).concat(K).concat(J):q=J,q.toString(x)},parse:function(oe){var q,J=x.parse(oe),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})}},W=c.SerializableCipher=f.extend({cfg:f.extend({format:G}),encrypt:function(oe,q,J,K){K=this.cfg.extend(K);var se=oe.createEncryptor(J,K),ee=se.finalize(q),Q=se.cfg;return B.create({ciphertext:ee,key:J,iv:Q.iv,algorithm:oe,mode:Q.mode,padding:Q.padding,blockSize:oe.blockSize,formatter:K.format})},decrypt:function(oe,q,J,K){K=this.cfg.extend(K),q=this._parse(q,K.format);var se=oe.createDecryptor(J,K).finalize(q.ciphertext);return se},_parse:function(oe,q){return typeof oe=="string"?q.parse(oe,this):oe}}),H=l.kdf={},ae=H.OpenSSL={execute:function(oe,q,J,K){K||(K=o.random(64/8));var se=y.create({keySize:q+J}).compute(oe,K),ee=o.create(se.words.slice(q),J*4);return se.sigBytes=q*4,B.create({key:se,iv:ee,salt:K})}},ne=c.PasswordBasedCipher=W.extend({cfg:W.cfg.extend({kdf:ae}),encrypt:function(oe,q,J,K){K=this.cfg.extend(K);var se=K.kdf.execute(J,oe.keySize,oe.ivSize);K.iv=se.iv;var ee=W.encrypt.call(this,oe,q,se.key,K);return ee.mixIn(se),ee},decrypt:function(oe,q,J,K){K=this.cfg.extend(K),q=this._parse(q,K.format);var se=K.kdf.execute(J,oe.keySize,oe.ivSize,q.salt);K.iv=se.iv;var ee=W.decrypt.call(this,oe,q,se.key,K);return ee}})}()})},52952:function(d,v,e){(function(r,i){d.exports=v=i()})(this,function(){var r=r||function(i,l){var c;if(typeof window!="undefined"&&window.crypto&&(c=window.crypto),typeof self!="undefined"&&self.crypto&&(c=self.crypto),typeof globalThis!="undefined"&&globalThis.crypto&&(c=globalThis.crypto),!c&&typeof window!="undefined"&&window.msCrypto&&(c=window.msCrypto),!c&&typeof e.g!="undefined"&&e.g.crypto&&(c=e.g.crypto),!c)try{c=e(3828)}catch(A){}var f=function(){if(c){if(typeof c.getRandomValues=="function")try{return c.getRandomValues(new Uint32Array(1))[0]}catch(A){}if(typeof c.randomBytes=="function")try{return c.randomBytes(4).readInt32LE()}catch(A){}}throw new Error("Native crypto module could not be used to get secure random number.")},o=Object.create||function(){function A(){}return function(P){var M;return A.prototype=P,M=new A,A.prototype=null,M}}(),h={},u=h.lib={},a=u.Base=function(){return{extend:function(A){var P=o(this);return A&&P.mixIn(A),(!P.hasOwnProperty("init")||this.init===P.init)&&(P.init=function(){P.$super.init.apply(this,arguments)}),P.init.prototype=P,P.$super=this,P},create:function(){var A=this.extend();return A.init.apply(A,arguments),A},init:function(){},mixIn:function(A){for(var P in A)A.hasOwnProperty(P)&&(this[P]=A[P]);A.hasOwnProperty("toString")&&(this.toString=A.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),x=u.WordArray=a.extend({init:function(A,P){A=this.words=A||[],P!=l?this.sigBytes=P:this.sigBytes=A.length*4},toString:function(A){return(A||y).stringify(this)},concat:function(A){var P=this.words,M=A.words,B=this.sigBytes,N=A.sigBytes;if(this.clamp(),B%4)for(var G=0;G<N;G++){var W=M[G>>>2]>>>24-G%4*8&255;P[B+G>>>2]|=W<<24-(B+G)%4*8}else for(var H=0;H<N;H+=4)P[B+H>>>2]=M[H>>>2];return this.sigBytes+=N,this},clamp:function(){var A=this.words,P=this.sigBytes;A[P>>>2]&=4294967295<<32-P%4*8,A.length=i.ceil(P/4)},clone:function(){var A=a.clone.call(this);return A.words=this.words.slice(0),A},random:function(A){for(var P=[],M=0;M<A;M+=4)P.push(f());return new x.init(P,A)}}),p=h.enc={},y=p.Hex={stringify:function(A){for(var P=A.words,M=A.sigBytes,B=[],N=0;N<M;N++){var G=P[N>>>2]>>>24-N%4*8&255;B.push((G>>>4).toString(16)),B.push((G&15).toString(16))}return B.join("")},parse:function(A){for(var P=A.length,M=[],B=0;B<P;B+=2)M[B>>>3]|=parseInt(A.substr(B,2),16)<<24-B%8*4;return new x.init(M,P/2)}},m=p.Latin1={stringify:function(A){for(var P=A.words,M=A.sigBytes,B=[],N=0;N<M;N++){var G=P[N>>>2]>>>24-N%4*8&255;B.push(String.fromCharCode(G))}return B.join("")},parse:function(A){for(var P=A.length,M=[],B=0;B<P;B++)M[B>>>2]|=(A.charCodeAt(B)&255)<<24-B%4*8;return new x.init(M,P)}},b=p.Utf8={stringify:function(A){try{return decodeURIComponent(escape(m.stringify(A)))}catch(P){throw new Error("Malformed UTF-8 data")}},parse:function(A){return m.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 P,M=this._data,B=M.words,N=M.sigBytes,G=this.blockSize,W=G*4,H=N/W;A?H=i.ceil(H):H=i.max((H|0)-this._minBufferSize,0);var ae=H*G,ne=i.min(ae*4,N);if(ae){for(var oe=0;oe<ae;oe+=G)this._doProcessBlock(B,oe);P=B.splice(0,ae),M.sigBytes-=ne}return new x.init(P,ne)},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 P=this._doFinalize();return P},blockSize:512/32,_createHelper:function(A){return function(P,M){return new A.init(M).finalize(P)}},_createHmacHelper:function(A){return function(P,M){return new R.HMAC.init(A,M).finalize(P)}}}),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=[],m=0;m<x;m+=3)for(var b=a[m>>>2]>>>24-m%4*8&255,S=a[m+1>>>2]>>>24-(m+1)%4*8&255,k=a[m+2>>>2]>>>24-(m+2)%4*8&255,R=b<<16|S<<8|k,A=0;A<4&&m+A*.75<x;A++)y.push(p.charAt(R>>>6*(3-A)&63));var P=p.charAt(64);if(P)for(;y.length%4;)y.push(P);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 m=x.charAt(64);if(m){var b=u.indexOf(m);b!==-1&&(a=b)}return h(u,a,p)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function h(u,a,x){for(var p=[],y=0,m=0;m<a;m++)if(m%4){var b=x[u.charCodeAt(m-1)]<<m%4*2,S=x[u.charCodeAt(m)]>>>6-m%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 m=[],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,P=0;P<4&&b+P*.75<p;P++)m.push(y.charAt(A>>>6*(3-P)&63));var M=y.charAt(64);if(M)for(;m.length%4;)m.push(M);return m.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 m=0;m<p.length;m++)y[p.charCodeAt(m)]=m}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,m=0;m<a;m++)if(m%4){var b=x[u.charCodeAt(m-1)]<<m%4*2,S=x[u.charCodeAt(m)]>>>6-m%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 m=a[y>>>2]>>>16-y%4*8&65535;p.push(String.fromCharCode(m))}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 m=h(a[y>>>2]>>>16-y%4*8&65535);p.push(String.fromCharCode(m))}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,m=y.hasher.create(),b=f.create(),S=b.words,k=y.keySize,R=y.iterations;S.length<k;){p&&m.update(p),p=m.update(a).finalize(x),m.reset();for(var A=1;A<R;A++)p=m.finalize(p),m.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 m=this._oKey=x.clone(),b=this._iKey=x.clone(),S=m.words,k=b.words,R=0;R<p;R++)S[R]^=1549556828,k[R]^=909522486;m.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 P=this._hash.words,M=b[S+0],B=b[S+1],N=b[S+2],G=b[S+3],W=b[S+4],H=b[S+5],ae=b[S+6],ne=b[S+7],oe=b[S+8],q=b[S+9],J=b[S+10],K=b[S+11],se=b[S+12],ee=b[S+13],Q=b[S+14],le=b[S+15],z=P[0],$=P[1],ie=P[2],me=P[3];z=x(z,$,ie,me,M,7,u[0]),me=x(me,z,$,ie,B,12,u[1]),ie=x(ie,me,z,$,N,17,u[2]),$=x($,ie,me,z,G,22,u[3]),z=x(z,$,ie,me,W,7,u[4]),me=x(me,z,$,ie,H,12,u[5]),ie=x(ie,me,z,$,ae,17,u[6]),$=x($,ie,me,z,ne,22,u[7]),z=x(z,$,ie,me,oe,7,u[8]),me=x(me,z,$,ie,q,12,u[9]),ie=x(ie,me,z,$,J,17,u[10]),$=x($,ie,me,z,K,22,u[11]),z=x(z,$,ie,me,se,7,u[12]),me=x(me,z,$,ie,ee,12,u[13]),ie=x(ie,me,z,$,Q,17,u[14]),$=x($,ie,me,z,le,22,u[15]),z=p(z,$,ie,me,B,5,u[16]),me=p(me,z,$,ie,ae,9,u[17]),ie=p(ie,me,z,$,K,14,u[18]),$=p($,ie,me,z,M,20,u[19]),z=p(z,$,ie,me,H,5,u[20]),me=p(me,z,$,ie,J,9,u[21]),ie=p(ie,me,z,$,le,14,u[22]),$=p($,ie,me,z,W,20,u[23]),z=p(z,$,ie,me,q,5,u[24]),me=p(me,z,$,ie,Q,9,u[25]),ie=p(ie,me,z,$,G,14,u[26]),$=p($,ie,me,z,oe,20,u[27]),z=p(z,$,ie,me,ee,5,u[28]),me=p(me,z,$,ie,N,9,u[29]),ie=p(ie,me,z,$,ne,14,u[30]),$=p($,ie,me,z,se,20,u[31]),z=y(z,$,ie,me,H,4,u[32]),me=y(me,z,$,ie,oe,11,u[33]),ie=y(ie,me,z,$,K,16,u[34]),$=y($,ie,me,z,Q,23,u[35]),z=y(z,$,ie,me,B,4,u[36]),me=y(me,z,$,ie,W,11,u[37]),ie=y(ie,me,z,$,ne,16,u[38]),$=y($,ie,me,z,J,23,u[39]),z=y(z,$,ie,me,ee,4,u[40]),me=y(me,z,$,ie,M,11,u[41]),ie=y(ie,me,z,$,G,16,u[42]),$=y($,ie,me,z,ae,23,u[43]),z=y(z,$,ie,me,q,4,u[44]),me=y(me,z,$,ie,se,11,u[45]),ie=y(ie,me,z,$,le,16,u[46]),$=y($,ie,me,z,N,23,u[47]),z=m(z,$,ie,me,M,6,u[48]),me=m(me,z,$,ie,ne,10,u[49]),ie=m(ie,me,z,$,Q,15,u[50]),$=m($,ie,me,z,H,21,u[51]),z=m(z,$,ie,me,se,6,u[52]),me=m(me,z,$,ie,G,10,u[53]),ie=m(ie,me,z,$,J,15,u[54]),$=m($,ie,me,z,B,21,u[55]),z=m(z,$,ie,me,oe,6,u[56]),me=m(me,z,$,ie,le,10,u[57]),ie=m(ie,me,z,$,ae,15,u[58]),$=m($,ie,me,z,ee,21,u[59]),z=m(z,$,ie,me,W,6,u[60]),me=m(me,z,$,ie,K,10,u[61]),ie=m(ie,me,z,$,N,15,u[62]),$=m($,ie,me,z,q,21,u[63]),P[0]=P[0]+z|0,P[1]=P[1]+$|0,P[2]=P[2]+ie|0,P[3]=P[3]+me|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),P=k;S[(R+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,S[(R+64>>>9<<4)+14]=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,b.sigBytes=(S.length+1)*4,this._process();for(var M=this._hash,B=M.words,N=0;N<4;N++){var G=B[N];B[N]=(G<<8|G>>>24)&16711935|(G<<24|G>>>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,P,M){var B=b+(S&k|~S&R)+A+M;return(B<<P|B>>>32-P)+S}function p(b,S,k,R,A,P,M){var B=b+(S&R|k&~R)+A+M;return(B<<P|B>>>32-P)+S}function y(b,S,k,R,A,P,M){var B=b+(S^k^R)+A+M;return(B<<P|B>>>32-P)+S}function m(b,S,k,R,A,P,M){var B=b+(k^(S|~R))+A+M;return(B<<P|B>>>32-P)+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 m=0;m<a;m++)o[h+m]^=y[m]}});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,m=u.create(y.hasher,x),b=f.create(),S=f.create([1]),k=b.words,R=S.words,A=y.keySize,P=y.iterations;k.length<A;){var M=m.update(p).finalize(S);m.reset();for(var B=M.words,N=B.length,G=M,W=1;W<P;W++){G=m.finalize(G),m.reset();for(var H=G.words,ae=0;ae<N;ae++)B[ae]^=H[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,m=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]^=m[S+4&7];if(y){var k=y.words,R=k[0],A=k[1],P=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=P>>>16|M&4294901760,N=M<<16|P&65535;b[0]^=P,b[1]^=B,b[2]^=M,b[3]^=N,b[4]^=P,b[5]^=B,b[6]^=M,b[7]^=N;for(var S=0;S<4;S++)x.call(this)}},_doProcessBlock:function(p,y){var m=this._X;x.call(this),o[0]=m[0]^m[5]>>>16^m[3]<<16,o[1]=m[2]^m[7]>>>16^m[5]<<16,o[2]=m[4]^m[1]>>>16^m[7]<<16,o[3]=m[6]^m[3]>>>16^m[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,m=0;m<8;m++)h[m]=y[m];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 m=0;m<8;m++){var b=p[m]+y[m],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[m]=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,m=0;m<4;m++)p[m]=(p[m]<<8|p[m]>>>24)&16711935|(p[m]<<24|p[m]>>>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 m=0;m<4;m++)x.call(this);for(var m=0;m<8;m++)S[m]^=b[m+4&7];if(y){var k=y.words,R=k[0],A=k[1],P=(R<<8|R>>>24)&16711935|(R<<24|R>>>8)&4278255360,M=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,B=P>>>16|M&4294901760,N=M<<16|P&65535;S[0]^=P,S[1]^=B,S[2]^=M,S[3]^=N,S[4]^=P,S[5]^=B,S[6]^=M,S[7]^=N;for(var m=0;m<4;m++)x.call(this)}},_doProcessBlock:function(p,y){var m=this._X;x.call(this),o[0]=m[0]^m[5]>>>16^m[3]<<16,o[1]=m[2]^m[7]>>>16^m[5]<<16,o[2]=m[4]^m[1]>>>16^m[7]<<16,o[3]=m[6]^m[3]>>>16^m[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,m=0;m<8;m++)h[m]=y[m];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 m=0;m<8;m++){var b=p[m]+y[m],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[m]=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=[],m=0;m<256;m++)y[m]=m;for(var m=0,b=0;m<256;m++){var S=m%p,k=x[S>>>2]>>>24-S%4*8&255;b=(b+y[m]+k)%256;var R=y[m];y[m]=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,m=0;m<4;m++){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-m*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]),m=f.create([1352829926,1548603684,1836072691,2053994217,0]),b=h.RIPEMD160=o.extend({_doReset:function(){this._hash=f.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(B,N){for(var G=0;G<16;G++){var W=N+G,H=B[W];B[W]=(H<<8|H>>>24)&16711935|(H<<24|H>>>8)&4278255360}var ae=this._hash.words,ne=y.words,oe=m.words,q=u.words,J=a.words,K=x.words,se=p.words,ee,Q,le,z,$,ie,me,Pe,De,Ze;ie=ee=ae[0],me=Q=ae[1],Pe=le=ae[2],De=z=ae[3],Ze=$=ae[4];for(var Ne,G=0;G<80;G+=1)Ne=ee+B[N+q[G]]|0,G<16?Ne+=S(Q,le,z)+ne[0]:G<32?Ne+=k(Q,le,z)+ne[1]:G<48?Ne+=R(Q,le,z)+ne[2]:G<64?Ne+=A(Q,le,z)+ne[3]:Ne+=P(Q,le,z)+ne[4],Ne=Ne|0,Ne=M(Ne,K[G]),Ne=Ne+$|0,ee=$,$=z,z=M(le,10),le=Q,Q=Ne,Ne=ie+B[N+J[G]]|0,G<16?Ne+=P(me,Pe,De)+oe[0]:G<32?Ne+=A(me,Pe,De)+oe[1]:G<48?Ne+=R(me,Pe,De)+oe[2]:G<64?Ne+=k(me,Pe,De)+oe[3]:Ne+=S(me,Pe,De)+oe[4],Ne=Ne|0,Ne=M(Ne,se[G]),Ne=Ne+Ze|0,ie=Ze,Ze=De,De=M(Pe,10),Pe=me,me=Ne;Ne=ae[1]+le+De|0,ae[1]=ae[2]+z+Ze|0,ae[2]=ae[3]+$+ie|0,ae[3]=ae[4]+ee+me|0,ae[4]=ae[0]+Q+Pe|0,ae[0]=Ne},_doFinalize:function(){var B=this._data,N=B.words,G=this._nDataBytes*8,W=B.sigBytes*8;N[W>>>5]|=128<<24-W%32,N[(W+64>>>9<<4)+14]=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360,B.sigBytes=(N.length+1)*4,this._process();for(var H=this._hash,ae=H.words,ne=0;ne<5;ne++){var oe=ae[ne];ae[ne]=(oe<<8|oe>>>24)&16711935|(oe<<24|oe>>>8)&4278255360}return H},clone:function(){var B=o.clone.call(this);return B._hash=this._hash.clone(),B}});function S(B,N,G){return B^N^G}function k(B,N,G){return B&N|~B&G}function R(B,N,G){return(B|~N)^G}function A(B,N,G){return B&G|N&~G}function P(B,N,G){return B^(N|~G)}function M(B,N){return B<<N|B>>>32-N}l.RIPEMD160=o._createHelper(b),l.HmacRIPEMD160=o._createHmacHelper(b)}(Math),r.RIPEMD160})},49479:function(d,v,e){(function(r,i){d.exports=v=i(e(52952))})(this,function(r){return function(){var i=r,l=i.lib,c=l.WordArray,f=l.Hasher,o=i.algo,h=[],u=o.SHA1=f.extend({_doReset:function(){this._hash=new c.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(a,x){for(var p=this._hash.words,y=p[0],m=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 P=(y<<5|y>>>27)+k+h[R];R<20?P+=(m&b|~m&S)+1518500249:R<40?P+=(m^b^S)+1859775393:R<60?P+=(m&b|m&S|b&S)-1894007588:P+=(m^b^S)-899497514,k=S,S=b,b=m<<30|m>>>2,m=y,y=P}p[0]=p[0]+y|0,p[1]=p[1]+m|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 m(k){return(k-(k|0))*4294967296|0}for(var b=2,S=0;S<64;)y(b)&&(S<8&&(u[S]=m(i.pow(b,.5))),a[S]=m(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,m){for(var b=this._hash.words,S=b[0],k=b[1],R=b[2],A=b[3],P=b[4],M=b[5],B=b[6],N=b[7],G=0;G<64;G++){if(G<16)x[G]=y[m+G]|0;else{var W=x[G-15],H=(W<<25|W>>>7)^(W<<14|W>>>18)^W>>>3,ae=x[G-2],ne=(ae<<15|ae>>>17)^(ae<<13|ae>>>19)^ae>>>10;x[G]=H+x[G-7]+ne+x[G-16]}var oe=P&M^~P&B,q=S&k^S&R^k&R,J=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),K=(P<<26|P>>>6)^(P<<21|P>>>11)^(P<<7|P>>>25),se=N+K+oe+a[G]+x[G],ee=J+q;N=B,B=M,M=P,P=A+se|0,A=R,R=k,k=S,S=se+ee|0}b[0]=b[0]+S|0,b[1]=b[1]+k|0,b[2]=b[2]+R|0,b[3]=b[3]+A|0,b[4]=b[4]+P|0,b[5]=b[5]+M|0,b[6]=b[6]+B|0,b[7]=b[7]+N|0},_doFinalize:function(){var y=this._data,m=y.words,b=this._nDataBytes*8,S=y.sigBytes*8;return m[S>>>5]|=128<<24-S%32,m[(S+64>>>9<<4)+14]=i.floor(b/4294967296),m[(S+64>>>9<<4)+15]=b,y.sigBytes=m.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,P=(2*S+3*k)%5;S=A,k=P}for(var S=0;S<5;S++)for(var k=0;k<5;k++)p[S+5*k]=k+(2*S+3*k)%5*5;for(var M=1,B=0;B<24;B++){for(var N=0,G=0,W=0;W<7;W++){if(M&1){var H=(1<<W)-1;H<32?G^=1<<H:N^=1<<H-32}M&128?M=M<<1^113:M<<=1}y[B]=u.create(N,G)}})();var m=[];(function(){for(var S=0;S<25;S++)m[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,P=0;P<A;P++){var M=S[k+2*P],B=S[k+2*P+1];M=(M<<8|M>>>24)&16711935|(M<<24|M>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360;var N=R[P];N.high^=B,N.low^=M}for(var G=0;G<24;G++){for(var W=0;W<5;W++){for(var H=0,ae=0,ne=0;ne<5;ne++){var N=R[W+5*ne];H^=N.high,ae^=N.low}var oe=m[W];oe.high=H,oe.low=ae}for(var W=0;W<5;W++)for(var q=m[(W+4)%5],J=m[(W+1)%5],K=J.high,se=J.low,H=q.high^(K<<1|se>>>31),ae=q.low^(se<<1|K>>>31),ne=0;ne<5;ne++){var N=R[W+5*ne];N.high^=H,N.low^=ae}for(var ee=1;ee<25;ee++){var H,ae,N=R[ee],Q=N.high,le=N.low,z=x[ee];z<32?(H=Q<<z|le>>>32-z,ae=le<<z|Q>>>32-z):(H=le<<z-32|Q>>>64-z,ae=Q<<z-32|le>>>64-z);var $=m[p[ee]];$.high=H,$.low=ae}var ie=m[0],me=R[0];ie.high=me.high,ie.low=me.low;for(var W=0;W<5;W++)for(var ne=0;ne<5;ne++){var ee=W+5*ne,N=R[ee],Pe=m[ee],De=m[(W+1)%5+5*ne],Ze=m[(W+2)%5+5*ne];N.high=Pe.high^~De.high&Ze.high,N.low=Pe.low^~De.low&Ze.low}var N=R[0],Ne=y[G];N.high^=Ne.high,N.low^=Ne.low}},_doFinalize:function(){var S=this._data,k=S.words,R=this._nDataBytes*8,A=S.sigBytes*8,P=this.blockSize*32;k[A>>>5]|=1<<24-A%32,k[(i.ceil((A+1)/P)*P>>>5)-1]|=128,S.sigBytes=k.length*4,this._process();for(var M=this._state,B=this.cfg.outputLength/8,N=B/8,G=[],W=0;W<N;W++){var H=M[W],ae=H.high,ne=H.low;ae=(ae<<8|ae>>>24)&16711935|(ae<<24|ae>>>8)&4278255360,ne=(ne<<8|ne>>>24)&16711935|(ne<<24|ne>>>8)&4278255360,G.push(ne),G.push(ae)}return new f.init(G,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 m=0;m<80;m++)p[m]=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(m,b){for(var S=this._hash.words,k=S[0],R=S[1],A=S[2],P=S[3],M=S[4],B=S[5],N=S[6],G=S[7],W=k.high,H=k.low,ae=R.high,ne=R.low,oe=A.high,q=A.low,J=P.high,K=P.low,se=M.high,ee=M.low,Q=B.high,le=B.low,z=N.high,$=N.low,ie=G.high,me=G.low,Pe=W,De=H,Ze=ae,Ne=ne,Bt=oe,yt=q,It=J,rr=K,Yt=se,ur=ee,We=Q,Pt=le,zt=z,nt=$,Et=ie,ht=me,Je=0;Je<80;Je++){var Ue,ge,Se=p[Je];if(Je<16)ge=Se.high=m[b+Je*2]|0,Ue=Se.low=m[b+Je*2+1]|0;else{var Le=p[Je-15],je=Le.high,He=Le.low,rt=(je>>>1|He<<31)^(je>>>8|He<<24)^je>>>7,lt=(He>>>1|je<<31)^(He>>>8|je<<24)^(He>>>7|je<<25),Kt=p[Je-2],Wt=Kt.high,Ae=Kt.low,qe=(Wt>>>19|Ae<<13)^(Wt<<3|Ae>>>29)^Wt>>>6,Vt=(Ae>>>19|Wt<<13)^(Ae<<3|Wt>>>29)^(Ae>>>6|Wt<<26),kt=p[Je-7],Ht=kt.high,$t=kt.low,Tt=p[Je-16],Xt=Tt.high,Ge=Tt.low;Ue=lt+$t,ge=rt+Ht+(Ue>>>0<lt>>>0?1:0),Ue=Ue+Vt,ge=ge+qe+(Ue>>>0<Vt>>>0?1:0),Ue=Ue+Ge,ge=ge+Xt+(Ue>>>0<Ge>>>0?1:0),Se.high=ge,Se.low=Ue}var ce=Yt&We^~Yt&zt,pe=ur&Pt^~ur&nt,Dt=Pe&Ze^Pe&Bt^Ze&Bt,Ce=De&Ne^De&yt^Ne&yt,ct=(Pe>>>28|De<<4)^(Pe<<30|De>>>2)^(Pe<<25|De>>>7),Zt=(De>>>28|Pe<<4)^(De<<30|Pe>>>2)^(De<<25|Pe>>>7),St=(Yt>>>14|ur<<18)^(Yt>>>18|ur<<14)^(Yt<<23|ur>>>9),Ie=(ur>>>14|Yt<<18)^(ur>>>18|Yt<<14)^(ur<<23|Yt>>>9),wt=x[Je],be=wt.high,Ye=wt.low,vt=ht+Ie,Lt=Et+St+(vt>>>0<ht>>>0?1:0),vt=vt+pe,Lt=Lt+ce+(vt>>>0<pe>>>0?1:0),vt=vt+Ye,Lt=Lt+be+(vt>>>0<Ye>>>0?1:0),vt=vt+Ue,Lt=Lt+ge+(vt>>>0<Ue>>>0?1:0),Me=Zt+Ce,Or=ct+Dt+(Me>>>0<Zt>>>0?1:0);Et=zt,ht=nt,zt=We,nt=Pt,We=Yt,Pt=ur,ur=rr+vt|0,Yt=It+Lt+(ur>>>0<rr>>>0?1:0)|0,It=Bt,rr=yt,Bt=Ze,yt=Ne,Ze=Pe,Ne=De,De=vt+Me|0,Pe=Lt+Or+(De>>>0<vt>>>0?1:0)|0}H=k.low=H+De,k.high=W+Pe+(H>>>0<De>>>0?1:0),ne=R.low=ne+Ne,R.high=ae+Ze+(ne>>>0<Ne>>>0?1:0),q=A.low=q+yt,A.high=oe+Bt+(q>>>0<yt>>>0?1:0),K=P.low=K+rr,P.high=J+It+(K>>>0<rr>>>0?1:0),ee=M.low=ee+ur,M.high=se+Yt+(ee>>>0<ur>>>0?1:0),le=B.low=le+Pt,B.high=Q+We+(le>>>0<Pt>>>0?1:0),$=N.low=$+nt,N.high=z+zt+($>>>0<nt>>>0?1:0),me=G.low=me+ht,G.high=ie+Et+(me>>>0<ht>>>0?1:0)},_doFinalize:function(){var m=this._data,b=m.words,S=this._nDataBytes*8,k=m.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,m.sigBytes=b.length*4,this._process();var R=this._hash.toX32();return R},clone:function(){var m=c.clone.call(this);return m._hash=this._hash.clone(),m},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=[],P=0;P<56;P++){var M=h[P]-1;A[P]=R[M>>>5]>>>31-M%32&1}for(var B=this._subKeys=[],N=0;N<16;N++){for(var G=B[N]=[],W=a[N],P=0;P<24;P++)G[P/6|0]|=A[(u[P]-1+W)%28]<<31-P%6,G[4+(P/6|0)]|=A[28+(u[P+24]-1+W)%28]<<31-P%6;G[0]=G[0]<<1|G[0]>>>31;for(var P=1;P<7;P++)G[P]=G[P]>>>(P-1)*4+3;G[7]=G[7]<<5|G[7]>>>27}for(var H=this._invSubKeys=[],P=0;P<16;P++)H[P]=B[15-P]},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],m.call(this,4,252645135),m.call(this,16,65535),b.call(this,2,858993459),b.call(this,8,16711935),m.call(this,1,1431655765);for(var P=0;P<16;P++){for(var M=A[P],B=this._lBlock,N=this._rBlock,G=0,W=0;W<8;W++)G|=x[W][((N^M[W])&p[W])>>>0];this._lBlock=N,this._rBlock=B^G}var H=this._lBlock;this._lBlock=this._rBlock,this._rBlock=H,m.call(this,1,1431655765),b.call(this,8,16711935),b.call(this,2,858993459),m.call(this,16,65535),m.call(this,4,252645135),k[R]=this._lBlock,k[R+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function m(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),P=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(P)),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=[],m=0;m<p;m++){var b=x[m];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,m=0;m<y;m++)p[m]=p[m].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,m;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),m={value:u,configurable:a,enumerable:x,writable:p},y?l(c(y),m):m};o.gs=function(h,u,a){var x,p,y,m;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),m={get:u,set:a,configurable:x,enumerable:p},y?l(c(y),m):m}},56656:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v=1e3,e=6e4,r=36e5,i="millisecond",l="second",c="minute",f="hour",o="day",h="week",u="month",a="quarter",x="year",p="date",y="Invalid Date",m=/^(\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(ne){var oe=["th","st","nd","rd"],q=ne%100;return"["+ne+(oe[(q-20)%10]||oe[q]||oe[0])+"]"}},k=function(ne,oe,q){var J=String(ne);return!J||J.length>=oe?ne:""+Array(oe+1-J.length).join(q)+ne},R={s:k,z:function(ne){var oe=-ne.utcOffset(),q=Math.abs(oe),J=Math.floor(q/60),K=q%60;return(oe<=0?"+":"-")+k(J,2,"0")+":"+k(K,2,"0")},m:function ne(oe,q){if(oe.date()<q.date())return-ne(q,oe);var J=12*(q.year()-oe.year())+(q.month()-oe.month()),K=oe.clone().add(J,u),se=q-K<0,ee=oe.clone().add(J+(se?-1:1),u);return+(-(J+(q-K)/(se?K-ee:ee-K))||0)},a:function(ne){return ne<0?Math.ceil(ne)||0:Math.floor(ne)},p:function(ne){return{M:u,y:x,w:h,d:o,D:p,h:f,m:c,s:l,ms:i,Q:a}[ne]||String(ne||"").toLowerCase().replace(/s$/,"")},u:function(ne){return ne===void 0}},A="en",P={};P[A]=S;var M="$isDayjsObject",B=function(ne){return ne instanceof H||!(!ne||!ne[M])},N=function ne(oe,q,J){var K;if(!oe)return A;if(typeof oe=="string"){var se=oe.toLowerCase();P[se]&&(K=se),q&&(P[se]=q,K=se);var ee=oe.split("-");if(!K&&ee.length>1)return ne(ee[0])}else{var Q=oe.name;P[Q]=oe,K=Q}return!J&&K&&(A=K),K||!J&&A},G=function(ne,oe){if(B(ne))return ne.clone();var q=typeof oe=="object"?oe:{};return q.date=ne,q.args=arguments,new H(q)},W=R;W.l=N,W.i=B,W.w=function(ne,oe){return G(ne,{locale:oe.$L,utc:oe.$u,x:oe.$x,$offset:oe.$offset})};var H=function(){function ne(q){this.$L=N(q.locale,null,!0),this.parse(q),this.$x=this.$x||q.x||{},this[M]=!0}var oe=ne.prototype;return oe.parse=function(q){this.$d=function(J){var K=J.date,se=J.utc;if(K===null)return new Date(NaN);if(W.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var ee=K.match(m);if(ee){var Q=ee[2]-1||0,le=(ee[7]||"0").substring(0,3);return se?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()},oe.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()},oe.$utils=function(){return W},oe.isValid=function(){return this.$d.toString()!==y},oe.isSame=function(q,J){var K=G(q);return this.startOf(J)<=K&&K<=this.endOf(J)},oe.isAfter=function(q,J){return G(q)<this.startOf(J)},oe.isBefore=function(q,J){return this.endOf(J)<G(q)},oe.$g=function(q,J,K){return W.u(q)?this[J]:this.set(K,q)},oe.unix=function(){return Math.floor(this.valueOf()/1e3)},oe.valueOf=function(){return this.$d.getTime()},oe.startOf=function(q,J){var K=this,se=!!W.u(J)||J,ee=W.p(q),Q=function(Ze,Ne){var Bt=W.w(K.$u?Date.UTC(K.$y,Ne,Ze):new Date(K.$y,Ne,Ze),K);return se?Bt:Bt.endOf(o)},le=function(Ze,Ne){return W.w(K.toDate()[Ze].apply(K.toDate("s"),(se?[0,0,0,0]:[23,59,59,999]).slice(Ne)),K)},z=this.$W,$=this.$M,ie=this.$D,me="set"+(this.$u?"UTC":"");switch(ee){case x:return se?Q(1,0):Q(31,11);case u:return se?Q(1,$):Q(0,$+1);case h:var Pe=this.$locale().weekStart||0,De=(z<Pe?z+7:z)-Pe;return Q(se?ie-De:ie+(6-De),$);case o:case p:return le(me+"Hours",0);case f:return le(me+"Minutes",1);case c:return le(me+"Seconds",2);case l:return le(me+"Milliseconds",3);default:return this.clone()}},oe.endOf=function(q){return this.startOf(q,!1)},oe.$set=function(q,J){var K,se=W.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)[se],le=se===o?this.$D+(J-this.$W):J;if(se===u||se===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},oe.set=function(q,J){return this.clone().$set(q,J)},oe.get=function(q){return this[W.p(q)]()},oe.add=function(q,J){var K,se=this;q=Number(q);var ee=W.p(J),Q=function($){var ie=G(se);return W.w(ie.date(ie.date()+Math.round($*q)),se)};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 W.w(z,this)},oe.subtract=function(q,J){return this.add(-1*q,J)},oe.format=function(q){var J=this,K=this.$locale();if(!this.isValid())return K.invalidDate||y;var se=q||"YYYY-MM-DDTHH:mm:ssZ",ee=W.z(this),Q=this.$H,le=this.$m,z=this.$M,$=K.weekdays,ie=K.months,me=K.meridiem,Pe=function(Ne,Bt,yt,It){return Ne&&(Ne[Bt]||Ne(J,se))||yt[Bt].slice(0,It)},De=function(Ne){return W.s(Q%12||12,Ne,"0")},Ze=me||function(Ne,Bt,yt){var It=Ne<12?"AM":"PM";return yt?It.toLowerCase():It};return se.replace(b,function(Ne,Bt){return Bt||function(yt){switch(yt){case"YY":return String(J.$y).slice(-2);case"YYYY":return W.s(J.$y,4,"0");case"M":return z+1;case"MM":return W.s(z+1,2,"0");case"MMM":return Pe(K.monthsShort,z,ie,3);case"MMMM":return Pe(ie,z);case"D":return J.$D;case"DD":return W.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Pe(K.weekdaysMin,J.$W,$,2);case"ddd":return Pe(K.weekdaysShort,J.$W,$,3);case"dddd":return $[J.$W];case"H":return String(Q);case"HH":return W.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 W.s(le,2,"0");case"s":return String(J.$s);case"ss":return W.s(J.$s,2,"0");case"SSS":return W.s(J.$ms,3,"0");case"Z":return ee}return null}(Ne)||ee.replace(":","")})},oe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},oe.diff=function(q,J,K){var se,ee=this,Q=W.p(J),le=G(q),z=(le.utcOffset()-this.utcOffset())*e,$=this-le,ie=function(){return W.m(ee,le)};switch(Q){case x:se=ie()/12;break;case u:se=ie();break;case a:se=ie()/3;break;case h:se=($-z)/6048e5;break;case o:se=($-z)/864e5;break;case f:se=$/r;break;case c:se=$/e;break;case l:se=$/v;break;default:se=$}return K?se:W.a(se)},oe.daysInMonth=function(){return this.endOf(u).$D},oe.$locale=function(){return P[this.$L]},oe.locale=function(q,J){if(!q)return this.$L;var K=this.clone(),se=N(q,J,!0);return se&&(K.$L=se),K},oe.clone=function(){return W.w(this.$d,this)},oe.toDate=function(){return new Date(this.valueOf())},oe.toJSON=function(){return this.isValid()?this.toISOString():null},oe.toISOString=function(){return this.$d.toISOString()},oe.toString=function(){return this.$d.toUTCString()},ne}(),ae=H.prototype;return G.prototype=ae,[["$ms",i],["$s",l],["$m",c],["$H",f],["$W",o],["$M",u],["$y",x],["$D",p]].forEach(function(ne){ae[ne[1]]=function(oe){return this.$g(oe,ne[0],ne[1])}}),G.extend=function(ne,oe){return ne.$i||(ne(oe,H,G),ne.$i=!0),G},G.locale=N,G.isDayjs=B,G.unix=function(ne){return G(1e3*ne)},G.en=P[A],G.Ls=P,G.p={},G})},24175:function(d,v,e){(function(r,i){d.exports=i(e(56656))})(this,function(r){"use strict";function i(f){return f&&typeof f=="object"&&"default"in f?f:{default:f}}var l=i(r),c={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(f,o){return o==="W"?f+"\u5468":f+"\u65E5"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(f,o){var h=100*f+o;return h<600?"\u51CC\u6668":h<900?"\u65E9\u4E0A":h<1100?"\u4E0A\u5348":h<1300?"\u4E2D\u5348":h<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};return l.default.locale(c,null,!0),c})},71912:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){var r=e.prototype,i=r.format;r.format=function(l){var c=this,f=this.$locale();if(!this.isValid())return i.bind(this)(l);var o=this.$utils(),h=(l||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((c.$M+1)/3);case"Do":return f.ordinal(c.$D);case"gggg":return c.weekYear();case"GGGG":return c.isoWeekYear();case"wo":return f.ordinal(c.week(),"W");case"w":case"ww":return o.s(c.week(),u==="w"?1:2,"0");case"W":case"WW":return o.s(c.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return o.s(String(c.$H===0?24:c.$H),u==="k"?1:2,"0");case"X":return Math.floor(c.$d.getTime()/1e3);case"x":return c.$d.getTime();case"z":return"["+c.offsetName()+"]";case"zzz":return"["+c.offsetName("long")+"]";default:return u}});return i.bind(this)(h)}}})},48228:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d/,i=/\d\d/,l=/\d\d?/,c=/\d*[^-_:/,()\s\d]+/,f={},o=function(m){return(m=+m)+(m>68?1900:2e3)},h=function(m){return function(b){this[m]=+b}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(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}(m)}],a=function(m){var b=f[m];return b&&(b.indexOf?b:b.s.concat(b.f))},x=function(m,b){var S,k=f.meridiem;if(k){for(var R=1;R<=24;R+=1)if(m.indexOf(k(R,0,b))>-1){S=R>12;break}}else S=m===(b?"pm":"PM");return S},p={A:[c,function(m){this.afternoon=x(m,!1)}],a:[c,function(m){this.afternoon=x(m,!0)}],Q:[r,function(m){this.month=3*(m-1)+1}],S:[r,function(m){this.milliseconds=100*+m}],SS:[i,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],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(m){var b=f.ordinal,S=m.match(/\d+/);if(this.day=S[0],b)for(var k=1;k<=31;k+=1)b(k).replace(/\[|\]/g,"")===m&&(this.day=k)}],w:[l,h("week")],ww:[i,h("week")],M:[l,h("month")],MM:[i,h("month")],MMM:[c,function(m){var b=a("months"),S=(a("monthsShort")||b.map(function(k){return k.slice(0,3)})).indexOf(m)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[c,function(m){var b=a("months").indexOf(m)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,h("year")],YY:[i,function(m){this.year=o(m)}],YYYY:[/\d{4}/,h("year")],Z:u,ZZ:u};function y(m){var b,S;b=m,S=f&&f.formats;for(var k=(m=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(G,W,H){var ae=H&&H.toUpperCase();return W||S[H]||v[H]||S[ae].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ne,oe,q){return oe||q.slice(1)})})).match(e),R=k.length,A=0;A<R;A+=1){var P=k[A],M=p[P],B=M&&M[0],N=M&&M[1];k[A]=N?{regex:B,parser:N}:P.replace(/^\[|\]$/g,"")}return function(G){for(var W={},H=0,ae=0;H<R;H+=1){var ne=k[H];if(typeof ne=="string")ae+=ne.length;else{var oe=ne.regex,q=ne.parser,J=G.slice(ae),K=oe.exec(J)[0];q.call(W,K),G=G.replace(K,"")}}return function(se){var ee=se.afternoon;if(ee!==void 0){var Q=se.hours;ee?Q<12&&(se.hours+=12):Q===12&&(se.hours=0),delete se.afternoon}}(W),W}}return function(m,b,S){S.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(o=m.parseTwoDigitYear);var k=b.prototype,R=k.parse;k.parse=function(A){var P=A.date,M=A.utc,B=A.args;this.$u=M;var N=B[1];if(typeof N=="string"){var G=B[2]===!0,W=B[3]===!0,H=G||W,ae=B[2];W&&(ae=B[2]),f=this.$locale(),!G&&ae&&(f=S.Ls[ae]),this.$d=function(J,K,se,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,ie=Q.hours,me=Q.minutes,Pe=Q.seconds,De=Q.milliseconds,Ze=Q.zone,Ne=Q.week,Bt=new Date,yt=$||(le||z?1:Bt.getDate()),It=le||Bt.getFullYear(),rr=0;le&&!z||(rr=z>0?z-1:Bt.getMonth());var Yt,ur=ie||0,We=me||0,Pt=Pe||0,zt=De||0;return Ze?new Date(Date.UTC(It,rr,yt,ur,We,Pt,zt+60*Ze.offset*1e3)):se?new Date(Date.UTC(It,rr,yt,ur,We,Pt,zt)):(Yt=new Date(It,rr,yt,ur,We,Pt,zt),Ne&&(Yt=ee(Yt).week(Ne).toDate()),Yt)}catch(nt){return new Date("")}}(P,N,M,S),this.init(),ae&&ae!==!0&&(this.$L=this.locale(ae).$L),H&&P!=this.format(N)&&(this.$d=new Date("")),f={}}else if(N instanceof Array)for(var ne=N.length,oe=1;oe<=ne;oe+=1){B[1]=N[oe-1];var q=S.apply(this,B);if(q.isValid()){this.$d=q.$d,this.$L=q.$L,this.init();break}oe===ne&&(this.$d=new Date(""))}else R.call(this,A)}}})},92468:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v,e,r=1e3,i=6e4,l=36e5,c=864e5,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,o=31536e6,h=2628e6,u=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,a={years:o,months:h,days:c,hours:l,minutes:i,seconds:r,milliseconds:1,weeks:6048e5},x=function(P){return P instanceof R},p=function(P,M,B){return new R(P,B,M.$l)},y=function(P){return e.p(P)+"s"},m=function(P){return P<0},b=function(P){return m(P)?Math.ceil(P):Math.floor(P)},S=function(P){return Math.abs(P)},k=function(P,M){return P?m(P)?{negative:!0,format:""+S(P)+M}:{negative:!1,format:""+P+M}:{negative:!1,format:""}},R=function(){function P(B,N,G){var W=this;if(this.$d={},this.$l=G,B===void 0&&(this.$ms=0,this.parseFromMilliseconds()),N)return p(B*a[y(N)],this);if(typeof B=="number")return this.$ms=B,this.parseFromMilliseconds(),this;if(typeof B=="object")return Object.keys(B).forEach(function(ne){W.$d[y(ne)]=B[ne]}),this.calMilliseconds(),this;if(typeof B=="string"){var H=B.match(u);if(H){var ae=H.slice(2).map(function(ne){return ne!=null?Number(ne):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=P.prototype;return M.calMilliseconds=function(){var B=this;this.$ms=Object.keys(this.$d).reduce(function(N,G){return N+(B.$d[G]||0)*a[G]},0)},M.parseFromMilliseconds=function(){var B=this.$ms;this.$d.years=b(B/o),B%=o,this.$d.months=b(B/h),B%=h,this.$d.days=b(B/c),B%=c,this.$d.hours=b(B/l),B%=l,this.$d.minutes=b(B/i),B%=i,this.$d.seconds=b(B/r),B%=r,this.$d.milliseconds=B},M.toISOString=function(){var B=k(this.$d.years,"Y"),N=k(this.$d.months,"M"),G=+this.$d.days||0;this.$d.weeks&&(G+=7*this.$d.weeks);var W=k(G,"D"),H=k(this.$d.hours,"H"),ae=k(this.$d.minutes,"M"),ne=this.$d.seconds||0;this.$d.milliseconds&&(ne+=this.$d.milliseconds/1e3,ne=Math.round(1e3*ne)/1e3);var oe=k(ne,"S"),q=B.negative||N.negative||W.negative||H.negative||ae.negative||oe.negative,J=H.format||ae.format||oe.format?"T":"",K=(q?"-":"")+"P"+B.format+N.format+W.format+J+H.format+ae.format+oe.format;return K==="P"||K==="-P"?"P0D":K},M.toJSON=function(){return this.toISOString()},M.format=function(B){var N=B||"YYYY-MM-DDTHH:mm:ss",G={Y:this.$d.years,YY:e.s(this.$d.years,2,"0"),YYYY:e.s(this.$d.years,4,"0"),M:this.$d.months,MM:e.s(this.$d.months,2,"0"),D:this.$d.days,DD:e.s(this.$d.days,2,"0"),H:this.$d.hours,HH:e.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:e.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:e.s(this.$d.seconds,2,"0"),SSS:e.s(this.$d.milliseconds,3,"0")};return N.replace(f,function(W,H){return H||String(G[W])})},M.as=function(B){return this.$ms/a[y(B)]},M.get=function(B){var N=this.$ms,G=y(B);return G==="milliseconds"?N%=1e3:N=G==="weeks"?b(N/a[G]):this.$d[G],N||0},M.add=function(B,N,G){var W;return W=N?B*a[y(N)]:x(B)?B.$ms:p(B,this).$ms,p(this.$ms+W*(G?-1:1),this)},M.subtract=function(B,N){return this.add(B,N,!0)},M.locale=function(B){var N=this.clone();return N.$l=B,N},M.clone=function(){return p(this.$ms,this)},M.humanize=function(B){return v().add(this.$ms,"ms").locale(this.$l).fromNow(!B)},M.valueOf=function(){return this.asMilliseconds()},M.milliseconds=function(){return this.get("milliseconds")},M.asMilliseconds=function(){return this.as("milliseconds")},M.seconds=function(){return this.get("seconds")},M.asSeconds=function(){return this.as("seconds")},M.minutes=function(){return this.get("minutes")},M.asMinutes=function(){return this.as("minutes")},M.hours=function(){return this.get("hours")},M.asHours=function(){return this.as("hours")},M.days=function(){return this.get("days")},M.asDays=function(){return this.as("days")},M.weeks=function(){return this.get("weeks")},M.asWeeks=function(){return this.as("weeks")},M.months=function(){return this.get("months")},M.asMonths=function(){return this.as("months")},M.years=function(){return this.get("years")},M.asYears=function(){return this.as("years")},P}(),A=function(P,M,B){return P.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(P,M,B){v=B,e=B().$utils(),B.duration=function(W,H){var ae=B.locale();return p(W,{$l:ae},H)},B.isDuration=x;var N=M.prototype.add,G=M.prototype.subtract;M.prototype.add=function(W,H){return x(W)?A(this,W,1):N.bind(this)(W,H)},M.prototype.subtract=function(W,H){return x(W)?A(this,W,-1):G.bind(this)(W,H)}}})},22982:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){r.isMoment=function(i){return r.isDayjs(i)}}})},81626:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrAfter=function(r,i){return this.isSame(r,i)||this.isAfter(r,i)}}})},29256:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.isSameOrBefore=function(r,i){return this.isSame(r,i)||this.isBefore(r,i)}}})},54449:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){var i=e.prototype,l=function(u){return u&&(u.indexOf?u:u.s)},c=function(u,a,x,p,y){var m=u.name?u:u.$locale(),b=l(m[a]),S=l(m[x]),k=b||S.map(function(A){return A.slice(0,p)});if(!y)return k;var R=m.weekStart;return k.map(function(A,P){return k[(P+(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,m){return y||m.slice(1)})}(u.formats[a.toUpperCase()])},h=function(){var u=this;return{months:function(a){return a?a.format("MMMM"):c(u,"months")},monthsShort:function(a){return a?a.format("MMM"):c(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(a){return a?a.format("dddd"):c(u,"weekdays")},weekdaysMin:function(a){return a?a.format("dd"):c(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(a){return a?a.format("ddd"):c(u,"weekdaysShort","weekdays",3)},longDateFormat:function(a){return o(u.$locale(),a)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return h.bind(this)()},r.localeData=function(){var u=f();return{firstDayOfWeek:function(){return u.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(a){return o(u,a)},meridiem:u.meridiem,ordinal:u.ordinal}},r.months=function(){return c(f(),"months")},r.monthsShort=function(){return c(f(),"monthsShort","months",3)},r.weekdays=function(u){return c(f(),"weekdays",null,null,u)},r.weekdaysShort=function(u){return c(f(),"weekdaysShort","weekdays",3,u)},r.weekdaysMin=function(u){return c(f(),"weekdaysMin","weekdays",2,u)}}})},10564:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(e,r,i){var l=r.prototype,c=l.format;i.en.formats=v,l.format=function(f){f===void 0&&(f="YYYY-MM-DDTHH:mm:ssZ");var o=this.$locale().formats,h=function(u,a){return u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,p,y){var m=y&&y.toUpperCase();return p||a[y]||v[y]||a[m].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(b,S,k){return S||k.slice(1)})})}(f,o===void 0?{}:o);return c.call(this,h)}}})},27082:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e,r){v=v||{};var i=e.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(o,h,u,a){return i.fromToBase(o,h,u,a)}r.en.relativeTime=l,i.fromToBase=function(o,h,u,a,x){for(var p,y,m,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 P=(v.rounding||Math.round)(Math.abs(p));if(m=p>0,P<=A.r||!A.r){P<=1&&R>0&&(A=S[R-1]);var M=b[A.l];x&&(P=x(""+P)),y=typeof M=="string"?M.replace("%d",P):M(P,h,A.l,m);break}}if(h)return y;var B=m?b.future:b.past;return typeof B=="function"?B(y):B.replace("%s",y)},i.to=function(o,h){return c(o,h,this,!0)},i.from=function(o,h){return c(o,h,this)};var f=function(o){return o.$u?r.utc():r()};i.toNow=function(o){return this.to(f(this),o)},i.fromNow=function(o){return this.from(f(this),o)}}})},53501:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";var v="week",e="year";return function(r,i,l){var c=i.prototype;c.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var o=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var h=l(this).startOf(e).add(1,e).date(o),u=l(this).endOf(v);if(h.isBefore(u))return 1}var a=l(this).startOf(e).date(o).startOf(v).subtract(1,"millisecond"),x=this.diff(a,v,!0);return x<0?l(this).startOf("week").week():Math.ceil(x)},c.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}})},36867:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.weekYear=function(){var r=this.month(),i=this.week(),l=this.year();return i===1&&r===11?l+1:r===0&&i>=52?l-1:l}}})},27112:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";return function(v,e){e.prototype.weekday=function(r){var i=this.$locale().weekStart||0,l=this.$W,c=(l<i?l+7:l)-i;return this.$utils().u(r)?c:this.subtract(c,"day").add(r,"day")}}})},89880:function(d){"use strict";function v(o,h,u){return h in o?Object.defineProperty(o,h,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[h]=u,o}function e(o,h){var u=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);h&&(a=a.filter(function(x){return Object.getOwnPropertyDescriptor(o,x).enumerable})),u.push.apply(u,a)}return u}function r(o){for(var h=1;h<arguments.length;h++){var u=arguments[h]!=null?arguments[h]:{};h%2?e(Object(u),!0).forEach(function(a){v(o,a,u[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(u)):e(Object(u)).forEach(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(u,a))})}return o}var i="@@DVA_LOADING/SHOW",l="@@DVA_LOADING/HIDE",c="loading";function f(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},h=o.namespace||c,u=o.only,a=u===void 0?[]:u,x=o.except,p=x===void 0?[]:x;if(a.length>0&&p.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var y={global:!1,models:{},effects:{}},m=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,P=A||{},M=P.namespace,B=P.actionType,N;switch(R){case i:N=r(r({},S),{},{global:!0,models:r(r({},S.models),{},v({},M,!0)),effects:r(r({},S.effects),{},v({},B,!0))});break;case l:{var G=r(r({},S.effects),{},v({},B,!1)),W=r(r({},S.models),{},v({},M,Object.keys(G).some(function(ae){var ne=ae.split("/")[0];return ne!==M?!1:G[ae]}))),H=Object.keys(W).some(function(ae){return W[ae]});N=r(r({},S),{},{global:H,models:W,effects:G});break}default:N=S;break}return N});function b(S,k,R,A){var P=k.put,M=R.namespace;return a.length===0&&p.length===0||a.length>0&&a.indexOf(A)!==-1||p.length>0&&p.indexOf(A)===-1?regeneratorRuntime.mark(function B(){var N=arguments;return regeneratorRuntime.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.next=2,P({type:i,payload:{namespace:M,actionType:A}});case 2:return W.next=4,S.apply(void 0,N);case 4:return W.next=6,P({type:l,payload:{namespace:M,actionType:A}});case 6:case"end":return W.stop()}},B)}):S}return{extraReducers:m,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,m,b,S,k;x=function(R,A){var P;return i(A),u.call(this,"__ee__")?P=this.__ee__:(P=a.value=f(null),o(this,"__ee__",a),a.value=null),P[R]?typeof P[R]=="object"?P[R].push(A):P[R]=[P[R],A]:P[R]=A,this},p=function(R,A){var P,M;return i(A),M=this,x.call(this,R,P=function(){y.call(M,R,P),l.call(A,this,arguments)}),P.__eeOnceListener__=A,this},y=function(R,A){var P,M,B,N;if(i(A),!u.call(this,"__ee__"))return this;if(P=this.__ee__,!P[R])return this;if(M=P[R],typeof M=="object")for(N=0;B=M[N];++N)(B===A||B.__eeOnceListener__===A)&&(M.length===2?P[R]=M[N?0:1]:M.splice(N,1));else(M===A||M.__eeOnceListener__===A)&&delete P[R];return this},m=function(R){var A,P,M,B,N;if(u.call(this,"__ee__")&&(B=this.__ee__[R],!!B))if(typeof B=="object"){for(P=arguments.length,N=new Array(P-1),A=1;A<P;++A)N[A-1]=arguments[A];for(B=B.slice(),A=0;M=B[A];++A)l.call(M,this,N)}else switch(arguments.length){case 1:c.call(B,this);break;case 2:c.call(B,this,arguments[1]);break;case 3:c.call(B,this,arguments[1],arguments[2]);break;default:for(P=arguments.length,N=new Array(P-1),A=1;A<P;++A)N[A-1]=arguments[A];l.call(B,this,N)}},b={on:x,once:p,off:y,emit:m},S={on:r(x),once:r(p),off:r(y),emit:r(m)},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 P=this.h[0],M=this.h[1],B=this.h[2],N=this.h[3],G=this.h[4],W=P,H=M,ae=B,ne=N,oe=G,q=0;q<80;q++){var J=c(l(o(P,a(q,M,B,N),R[y[q]+A],x(q)),b[q]),G);P=G,G=N,N=l(B,10),B=M,M=J,J=c(l(o(W,a(79-q,H,ae,ne),R[m[q]+A],p(q)),S[q]),oe),W=oe,oe=ne,ne=l(ae,10),ae=H,H=J}J=f(this.h[1],B,ne),this.h[1]=f(this.h[2],N,oe),this.h[2]=f(this.h[3],G,W),this.h[3]=f(this.h[4],P,H),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,P){return k<=15?R^A^P:k<=31?R&A|~R&P:k<=47?(R|~A)^P:k<=63?R&P|A&~P:R^(A|~P)}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],m=[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,m){for(var b=this.W,S=0;S<16;S++)b[S]=y[m+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],P=this.h[3],M=this.h[4];for(S=0;S<b.length;S++){var B=~~(S/20),N=o(c(k,5),h(B,R,A,P),M,b[S],a[B]);M=P,P=A,A=c(R,30),R=k,k=N}this.h[0]=f(this.h[0],k),this.h[1]=f(this.h[1],R),this.h[2]=f(this.h[2],A),this.h[3]=f(this.h[3],P),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,m=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,P){for(var M=this.W,B=0;B<16;B++)M[B]=A[P+B];for(;B<M.length;B++)M[B]=o(m(M[B-2]),M[B-7],y(M[B-15]),M[B-16]);var N=this.h[0],G=this.h[1],W=this.h[2],H=this.h[3],ae=this.h[4],ne=this.h[5],oe=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,ne,oe),this.k[B],M[B]),K=f(x(N),a(N,G,W));q=oe,oe=ne,ne=ae,ae=f(H,J),H=W,W=G,G=N,N=f(J,K)}this.h[0]=f(this.h[0],N),this.h[1]=f(this.h[1],G),this.h[2]=f(this.h[2],W),this.h[3]=f(this.h[3],H),this.h[4]=f(this.h[4],ae),this.h[5]=f(this.h[5],ne),this.h[6]=f(this.h[6],oe),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,m=r.sum64_5_hi,b=r.sum64_5_lo,S=i.BlockHash,k=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function R(){if(!(this instanceof R))return new R;S.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=k,this.W=new Array(160)}r.inherits(R,S),d.exports=R,R.blockSize=1024,R.outSize=512,R.hmacStrength=192,R.padLength=128,R.prototype._prepareBlock=function(K,se){for(var ee=this.W,Q=0;Q<32;Q++)ee[Q]=K[se+Q];for(;Q<ee.length;Q+=2){var le=oe(ee[Q-4],ee[Q-3]),z=q(ee[Q-4],ee[Q-3]),$=ee[Q-14],ie=ee[Q-13],me=ae(ee[Q-30],ee[Q-29]),Pe=ne(ee[Q-30],ee[Q-29]),De=ee[Q-32],Ze=ee[Q-31];ee[Q]=p(le,z,$,ie,me,Pe,De,Ze),ee[Q+1]=y(le,z,$,ie,me,Pe,De,Ze)}},R.prototype._update=function(K,se){this._prepareBlock(K,se);var ee=this.W,Q=this.h[0],le=this.h[1],z=this.h[2],$=this.h[3],ie=this.h[4],me=this.h[5],Pe=this.h[6],De=this.h[7],Ze=this.h[8],Ne=this.h[9],Bt=this.h[10],yt=this.h[11],It=this.h[12],rr=this.h[13],Yt=this.h[14],ur=this.h[15];l(this.k.length===ee.length);for(var We=0;We<ee.length;We+=2){var Pt=Yt,zt=ur,nt=W(Ze,Ne),Et=H(Ze,Ne),ht=A(Ze,Ne,Bt,yt,It,rr),Je=P(Ze,Ne,Bt,yt,It,rr),Ue=this.k[We],ge=this.k[We+1],Se=ee[We],Le=ee[We+1],je=m(Pt,zt,nt,Et,ht,Je,Ue,ge,Se,Le),He=b(Pt,zt,nt,Et,ht,Je,Ue,ge,Se,Le);Pt=N(Q,le),zt=G(Q,le),nt=M(Q,le,z,$,ie,me),Et=B(Q,le,z,$,ie,me);var rt=a(Pt,zt,nt,Et),lt=x(Pt,zt,nt,Et);Yt=It,ur=rr,It=Bt,rr=yt,Bt=Ze,yt=Ne,Ze=a(Pe,De,je,He),Ne=x(De,De,je,He),Pe=ie,De=me,ie=z,me=$,z=Q,$=le,Q=a(je,He,rt,lt),le=x(je,He,rt,lt)}u(this.h,0,Q,le),u(this.h,2,z,$),u(this.h,4,ie,me),u(this.h,6,Pe,De),u(this.h,8,Ze,Ne),u(this.h,10,Bt,yt),u(this.h,12,It,rr),u(this.h,14,Yt,ur)},R.prototype._digest=function(K){return K==="hex"?r.toHex32(this.h,"big"):r.split32(this.h,"big")};function A(J,K,se,ee,Q){var le=J&se^~J&Q;return le<0&&(le+=4294967296),le}function P(J,K,se,ee,Q,le){var z=K&ee^~K≤return z<0&&(z+=4294967296),z}function M(J,K,se,ee,Q){var le=J&se^J&Q^se&Q;return le<0&&(le+=4294967296),le}function B(J,K,se,ee,Q,le){var z=K&ee^K&le^ee≤return z<0&&(z+=4294967296),z}function N(J,K){var se=c(J,K,28),ee=c(K,J,2),Q=c(K,J,7),le=se^ee^Q;return le<0&&(le+=4294967296),le}function G(J,K){var se=f(J,K,28),ee=f(K,J,2),Q=f(K,J,7),le=se^ee^Q;return le<0&&(le+=4294967296),le}function W(J,K){var se=c(J,K,14),ee=c(J,K,18),Q=c(K,J,9),le=se^ee^Q;return le<0&&(le+=4294967296),le}function H(J,K){var se=f(J,K,14),ee=f(J,K,18),Q=f(K,J,9),le=se^ee^Q;return le<0&&(le+=4294967296),le}function ae(J,K){var se=c(J,K,1),ee=c(J,K,8),Q=o(J,K,7),le=se^ee^Q;return le<0&&(le+=4294967296),le}function ne(J,K){var se=f(J,K,1),ee=f(J,K,8),Q=h(J,K,7),le=se^ee^Q;return le<0&&(le+=4294967296),le}function oe(J,K){var se=c(J,K,19),ee=c(K,J,29),Q=o(J,K,6),le=se^ee^Q;return le<0&&(le+=4294967296),le}function q(J,K){var se=f(J,K,19),ee=f(K,J,29),Q=h(J,K,6),le=se^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,m,b){if(p===0)return c(y,m,b);if(p===1||p===3)return o(y,m,b);if(p===2)return f(y,m,b)}v.ft_1=l;function c(p,y,m){return p&y^~p&m}v.ch32=c;function f(p,y,m){return p&y^p&m^y&m}v.maj32=f;function o(p,y,m){return p^y^m}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 se=0,ee=0;ee<q.length;ee++){var Q=q.charCodeAt(ee);Q<128?K[se++]=Q:Q<2048?(K[se++]=Q>>6|192,K[se++]=Q&63|128):l(q,ee)?(Q=65536+((Q&1023)<<10)+(q.charCodeAt(++ee)&1023),K[se++]=Q>>18|240,K[se++]=Q>>12&63|128,K[se++]=Q>>6&63|128,K[se++]=Q&63|128):(K[se++]=Q>>12|224,K[se++]=Q>>6&63|128,K[se++]=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="",se=0;se<q.length;se++){var ee=q[se];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,se){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 $;se==="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),se=0,ee=0;se<q.length;se++,ee+=4){var Q=q[se];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 m(q,J){return q<<J|q>>>32-J}v.rotl32=m;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,se){return q+J+K+se>>>0}v.sum32_4=k;function R(q,J,K,se,ee){return q+J+K+se+ee>>>0}v.sum32_5=R;function A(q,J,K,se){var ee=q[J],Q=q[J+1],le=se+Q>>>0,z=(le<se?1:0)+K+ee;q[J]=z>>>0,q[J+1]=le}v.sum64=A;function P(q,J,K,se){var ee=J+se>>>0,Q=(ee<J?1:0)+q+K;return Q>>>0}v.sum64_hi=P;function M(q,J,K,se){var ee=J+se;return ee>>>0}v.sum64_lo=M;function B(q,J,K,se,ee,Q,le,z){var $=0,ie=J;ie=ie+se>>>0,$+=ie<J?1:0,ie=ie+Q>>>0,$+=ie<Q?1:0,ie=ie+z>>>0,$+=ie<z?1:0;var me=q+K+ee+le+$;return me>>>0}v.sum64_4_hi=B;function N(q,J,K,se,ee,Q,le,z){var $=J+se+Q+z;return $>>>0}v.sum64_4_lo=N;function G(q,J,K,se,ee,Q,le,z,$,ie){var me=0,Pe=J;Pe=Pe+se>>>0,me+=Pe<J?1:0,Pe=Pe+Q>>>0,me+=Pe<Q?1:0,Pe=Pe+z>>>0,me+=Pe<z?1:0,Pe=Pe+ie>>>0,me+=Pe<ie?1:0;var De=q+K+ee+le+$+me;return De>>>0}v.sum64_5_hi=G;function W(q,J,K,se,ee,Q,le,z,$,ie){var me=J+se+Q+z+ie;return me>>>0}v.sum64_5_lo=W;function H(q,J,K){var se=J<<32-K|q>>>K;return se>>>0}v.rotr64_hi=H;function ae(q,J,K){var se=q<<32-K|J>>>K;return se>>>0}v.rotr64_lo=ae;function ne(q,J,K){return q>>>K}v.shr64_hi=ne;function oe(q,J,K){var se=q<<32-K|J>>>K;return se>>>0}v.shr64_lo=oe},19340:function(d,v,e){"use strict";e.d(v,{Ep:function(){return S},PP:function(){return x},aU:function(){return i},cP:function(){return k},lX:function(){return u},q_:function(){return a}});var r=e(54476),i;(function(R){R.Pop="POP",R.Push="PUSH",R.Replace="REPLACE"})(i||(i={}));var l=function(R){return R};function c(R,A){if(!R){typeof console!="undefined"&&console.warn(A);try{throw new Error(A)}catch(P){}}}var f="beforeunload",o="hashchange",h="popstate";function u(R){R===void 0&&(R={});var A=R,P=A.window,M=P===void 0?document.defaultView:P,B=M.history;function N(){var Pe=M.location,De=Pe.pathname,Ze=Pe.search,Ne=Pe.hash,Bt=B.state||{};return[Bt.idx,l({pathname:De,search:Ze,hash:Ne,state:Bt.usr||null,key:Bt.key||"default"})]}var G=null;function W(){if(G)J.call(G),G=null;else{var Pe=i.Pop,De=N(),Ze=De[0],Ne=De[1];if(J.length){if(Ze!=null){var Bt=ne-Ze;Bt&&(G={action:Pe,location:Ne,retry:function(){ie(Bt*-1)}},ie(Bt))}}else le(Pe)}}M.addEventListener(h,W);var H=i.Pop,ae=N(),ne=ae[0],oe=ae[1],q=m(),J=m();ne==null&&(ne=0,B.replaceState((0,r.Z)({},B.state,{idx:ne}),""));function K(Pe){return typeof Pe=="string"?Pe:S(Pe)}function se(Pe,De){return De===void 0&&(De=null),l((0,r.Z)({pathname:oe.pathname,hash:"",search:""},typeof Pe=="string"?k(Pe):Pe,{state:De,key:b()}))}function ee(Pe,De){return[{usr:Pe.state,key:Pe.key,idx:De},K(Pe)]}function Q(Pe,De,Ze){return!J.length||(J.call({action:Pe,location:De,retry:Ze}),!1)}function le(Pe){H=Pe;var De=N();ne=De[0],oe=De[1],q.call({action:H,location:oe})}function z(Pe,De){var Ze=i.Push,Ne=se(Pe,De);function Bt(){z(Pe,De)}if(Q(Ze,Ne,Bt)){var yt=ee(Ne,ne+1),It=yt[0],rr=yt[1];try{B.pushState(It,"",rr)}catch(Yt){M.location.assign(rr)}le(Ze)}}function $(Pe,De){var Ze=i.Replace,Ne=se(Pe,De);function Bt(){$(Pe,De)}if(Q(Ze,Ne,Bt)){var yt=ee(Ne,ne),It=yt[0],rr=yt[1];B.replaceState(It,"",rr),le(Ze)}}function ie(Pe){B.go(Pe)}var me={get action(){return H},get location(){return oe},createHref:K,push:z,replace:$,go:ie,back:function(){ie(-1)},forward:function(){ie(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 me}function a(R){R===void 0&&(R={});var A=R,P=A.window,M=P===void 0?document.defaultView:P,B=M.history;function N(){var De=k(M.location.hash.substr(1)),Ze=De.pathname,Ne=Ze===void 0?"/":Ze,Bt=De.search,yt=Bt===void 0?"":Bt,It=De.hash,rr=It===void 0?"":It,Yt=B.state||{};return[Yt.idx,l({pathname:Ne,search:yt,hash:rr,state:Yt.usr||null,key:Yt.key||"default"})]}var G=null;function W(){if(G)J.call(G),G=null;else{var De=i.Pop,Ze=N(),Ne=Ze[0],Bt=Ze[1];if(J.length){if(Ne!=null){var yt=ne-Ne;yt&&(G={action:De,location:Bt,retry:function(){me(yt*-1)}},me(yt))}}else z(De)}}M.addEventListener(h,W),M.addEventListener(o,function(){var De=N(),Ze=De[1];S(Ze)!==S(oe)&&W()});var H=i.Pop,ae=N(),ne=ae[0],oe=ae[1],q=m(),J=m();ne==null&&(ne=0,B.replaceState((0,r.Z)({},B.state,{idx:ne}),""));function K(){var De=document.querySelector("base"),Ze="";if(De&&De.getAttribute("href")){var Ne=M.location.href,Bt=Ne.indexOf("#");Ze=Bt===-1?Ne:Ne.slice(0,Bt)}return Ze}function se(De){return K()+"#"+(typeof De=="string"?De:S(De))}function ee(De,Ze){return Ze===void 0&&(Ze=null),l((0,r.Z)({pathname:oe.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},se(De)]}function le(De,Ze,Ne){return!J.length||(J.call({action:De,location:Ze,retry:Ne}),!1)}function z(De){H=De;var Ze=N();ne=Ze[0],oe=Ze[1],q.call({action:H,location:oe})}function $(De,Ze){var Ne=i.Push,Bt=ee(De,Ze);function yt(){$(De,Ze)}if(le(Ne,Bt,yt)){var It=Q(Bt,ne+1),rr=It[0],Yt=It[1];try{B.pushState(rr,"",Yt)}catch(ur){M.location.assign(Yt)}z(Ne)}}function ie(De,Ze){var Ne=i.Replace,Bt=ee(De,Ze);function yt(){ie(De,Ze)}if(le(Ne,Bt,yt)){var It=Q(Bt,ne),rr=It[0],Yt=It[1];B.replaceState(rr,"",Yt),z(Ne)}}function me(De){B.go(De)}var Pe={get action(){return H},get location(){return oe},createHref:se,push:$,replace:ie,go:me,back:function(){me(-1)},forward:function(){me(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 Pe}function x(R){R===void 0&&(R={});var A=R,P=A.initialEntries,M=P===void 0?["/"]:P,B=A.initialIndex,N=M.map(function(z){var $=l((0,r.Z)({pathname:"/",search:"",hash:"",state:null,key:b()},typeof z=="string"?k(z):z));return $}),G=p(B==null?N.length-1:B,0,N.length-1),W=i.Pop,H=N[G],ae=m(),ne=m();function oe(z){return typeof z=="string"?z:S(z)}function q(z,$){return $===void 0&&($=null),l((0,r.Z)({pathname:H.pathname,search:"",hash:""},typeof z=="string"?k(z):z,{state:$,key:b()}))}function J(z,$,ie){return!ne.length||(ne.call({action:z,location:$,retry:ie}),!1)}function K(z,$){W=z,H=$,ae.call({action:W,location:H})}function se(z,$){var ie=i.Push,me=q(z,$);function Pe(){se(z,$)}J(ie,me,Pe)&&(G+=1,N.splice(G,N.length,me),K(ie,me))}function ee(z,$){var ie=i.Replace,me=q(z,$);function Pe(){ee(z,$)}J(ie,me,Pe)&&(N[G]=me,K(ie,me))}function Q(z){var $=p(G+z,0,N.length-1),ie=i.Pop,me=N[$];function Pe(){Q(z)}J(ie,me,Pe)&&(G=$,K(ie,me))}var le={get index(){return G},get action(){return W},get location(){return H},createHref:oe,push:se,replace:ee,go:Q,back:function(){Q(-1)},forward:function(){Q(1)},listen:function($){return ae.push($)},block:function($){return ne.push($)}};return le}function p(R,A,P){return Math.min(Math.max(R,A),P)}function y(R){R.preventDefault(),R.returnValue=""}function m(){var R=[];return{get length(){return R.length},push:function(P){return R.push(P),function(){R=R.filter(function(M){return M!==P})}},call:function(P){R.forEach(function(M){return M&&M(P)})}}}function b(){return Math.random().toString(36).substr(2,8)}function S(R){var A=R.pathname,P=A===void 0?"/":A,M=R.search,B=M===void 0?"":M,N=R.hash,G=N===void 0?"":N;return B&&B!=="?"&&(P+=B.charAt(0)==="?"?B:"?"+B),G&&G!=="#"&&(P+=G.charAt(0)==="#"?G:"#"+G),P}function k(R){var A={};if(R){var P=R.indexOf("#");P>=0&&(A.hash=R.substr(P),R=R.substr(0,P));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,m=Object.prototype;function b(S,k,R){if(typeof k!="string"){if(m){var A=y(k);A&&A!==m&&b(S,A,R)}var P=a(k);x&&(P=P.concat(x(k)));for(var M=h(S),B=h(k),N=0;N<P.length;++N){var G=P[N];if(!l[G]&&!(R&&R[G])&&!(B&&B[G])&&!(M&&M[G])){var W=p(k,G);try{u(S,G,W)}catch(H){}}}}return S}d.exports=b},4603:function(d){typeof Object.create=="function"?d.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(e,r){if(r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e}}},44520:function(d){"use strict";var v=function(e,r,i,l,c,f,o,h){if(!e){var u;if(r===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=[i,l,c,f,o,h],x=0;u=new Error(r.replace(/%s/g,function(){return a[x++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};d.exports=v},78034:function(d){d.exports=function(r){return r!=null&&(v(r)||e(r)||!!r._isBuffer)};function v(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function e(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&v(r.slice(0,0))}},78639:function(d,v,e){"use strict";var r=e(77497);function i(l){return r(l)===!0&&Object.prototype.toString.call(l)==="[object Object]"}d.exports=function(c){var f,o;return!(i(c)===!1||(f=c.constructor,typeof f!="function")||(o=f.prototype,i(o)===!1)||o.hasOwnProperty("isPrototypeOf")===!1)}},77497:function(d){"use strict";d.exports=function(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}},53184:function(d,v,e){"use strict";var r,i;function l(c,f,o){var h=function(u,a){return c.js_beautify(u,a)};return h.js=c.js_beautify,h.css=f.css_beautify,h.html=o.html_beautify,h.js_beautify=c.js_beautify,h.css_beautify=f.css_beautify,h.html_beautify=o.html_beautify,h}r=[e(58553),e(87804),e(40998)],i=function(c,f,o){return l(c,f,o)}.apply(v,r),i!==void 0&&(d.exports=i)},87804:function(d,v){var e,r;(function(){var i;(function(){"use strict";var c=[,,function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var m=this.__items.length-1;m>=0;m--)if(this.__items[m].match(y))return!0;return!1},a.prototype.set_indent=function(y,m){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=m||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 m=y.lastIndexOf(`
|
|
|
`);m!==-1?this.__character_count=y.length-m: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,m){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)),m=m||"",y.indent_level>0&&(m=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=m,this.__base_string_length=m.length}x.prototype.get_indent_size=function(y,m){var b=this.__base_string_length;return m=m||0,y<0&&(b=0),b+=y*this.__indent_size,b+=m,b},x.prototype.get_indent_string=function(y,m){var b=this.__base_string;return m=m||0,y<0&&(y=0,b=""),m+=y*this.__indent_size,this.__ensure_cache(m),b+=this.__cache[m],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,m=0,b="";this.__indent_size&&y>=this.__indent_size&&(m=Math.floor(y/this.__indent_size),y-=m*this.__indent_size,b=new Array(m+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,m){this.__indent_cache=new x(y,m),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,m){return this.__indent_cache.get_indent_string(y,m)},p.prototype.get_indent_size=function(y,m){return this.__indent_cache.get_indent_size(y,m)},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 m=this.current_line.pop();m&&(m[m.length-1]===`
|
|
|
`&&(m=m.replace(/\n+$/g,"")),this.current_line.push(m)),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,m){return y=y||0,m=m||0,this.next_line.set_indent(y,m),this.__lines.length>1?(this.current_line.set_indent(y,m),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var m=0;m<y.newlines;m++)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 m=this.__lines.length;y<m;)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,m){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)!==m){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,m){this.raw_options=x(y,m),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,m){var b=this.raw_options[y],S=m||[];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,m){var b=this.raw_options[y],S=b===void 0?!!m:!!b;return S},a.prototype._get_characters=function(y,m){var b=this.raw_options[y],S=m||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,m){var b=this.raw_options[y];m=parseInt(m,10),isNaN(m)&&(m=0);var S=parseInt(b,10);return isNaN(S)&&(S=m),S},a.prototype._get_selection=function(y,m,b){var S=this._get_selection_list(y,m,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
|
|
|
`+m+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,m,b){if(!m||m.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[m[0]],!this._is_valid_selection(b,m))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,m))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
|
|
|
`+m+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,m){return y.length&&m.length&&!y.some(function(b){return m.indexOf(b)===-1})};function x(y,m){var b={};y=p(y);var S;for(S in y)S!==m&&(b[S]=y[S]);if(m&&y[m])for(S in y[m])b[S]=y[m][S];return b}function p(y){var m={},b;for(b in y){var S=b.replace(/-/g,"_");m[S]=y[b]}return m}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 m=p.exec(this.__input);return m&&!(a&&p.sticky)&&m.index!==y&&(m=null),m},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 m=this.peek(y);return p.lastIndex=0,m!==null&&p.test(m)},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,m){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,m)),b},x.prototype.readUntil=function(p,y){var m="",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,m=this.__input.substring(this.__position,b),this.__position=b,m},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var m=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?m=new RegExp(p,b):p&&(m=new RegExp(p.source,b)),m},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,m=this.readUntilAfter(p);return this.__position=y,m},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 m(b,S){var k=new p(b,S);return k.beautify()}u.exports=m,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(17).Options,y=x(2).Output,m=x(8).InputScanner,b=x(13).Directives,S=new b(/\/\*/,/\*\//),k=/\r\n|[\r\n]/,R=/\r\n|[\r\n]/g,A=/\s/,P=/(?:\s|\n)+/g,M=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,B=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function N(G,W){this._source_text=G||"",this._options=new p(W),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}N.prototype.eatString=function(G){var W="";for(this._ch=this._input.next();this._ch;){if(W+=this._ch,this._ch==="\\")W+=this._input.next();else if(G.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return W},N.prototype.eatWhitespace=function(G){for(var W=A.test(this._input.peek()),H=0;A.test(this._input.peek());)this._ch=this._input.next(),G&&this._ch===`
|
|
|
`&&(H===0||H<this._options.max_preserve_newlines)&&(H++,this._output.add_new_line(!0));return W},N.prototype.foundNestedPseudoClass=function(){for(var G=0,W=1,H=this._input.peek(W);H;){if(H==="{")return!0;if(H==="(")G+=1;else if(H===")"){if(G===0)return!1;G-=1}else if(H===";"||H==="}")return!1;W++,H=this._input.peek(W)}return!1},N.prototype.print_string=function(G){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(G)},N.prototype.preserveSingleSpace=function(G){G&&(this._output.space_before_token=!0)},N.prototype.indent=function(){this._indentLevel++},N.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},N.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var G=this._source_text,W=this._options.eol;W==="auto"&&(W=`
|
|
|
`,G&&k.test(G||"")&&(W=G.match(k)[0])),G=G.replace(R,`
|
|
|
`);var H=G.match(/^[\t ]*/)[0];this._output=new y(this._options,H),this._input=new m(G),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var ae=0,ne=!1,oe=!1,q=!1,J=!1,K=!1,se=this._ch,ee=!1,Q,le,z;Q=this._input.read(P),le=Q!=="",z=se,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),se=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var $=this._input.read(M),ie=S.get_directives($);ie&&ie.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 me=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);me.match(/[ :]$/)&&(me=this.eatString(": ").replace(/\s+$/,""),this.print_string(me),this._output.space_before_token=!0),ae===0&&me.indexOf(":")!==-1&&(oe=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(le),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var Pe=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);Pe.match(/[ :]$/)&&(Pe=this.eatString(": ").replace(/\s+$/,""),this.print_string(Pe),this._output.space_before_token=!0),ae===0&&Pe.indexOf(":")!==-1?(oe=!0,this.indent()):Pe in this.NESTED_AT_RULE?(this._nestedLevel+=1,Pe in this.CONDITIONAL_GROUP_RULE&&(q=!0)):ae===0&&!oe&&(J=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(le),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")oe&&(oe=!1,this.outdent()),J=!1,q?(q=!1,ne=this._indentLevel>=this._nestedLevel):ne=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&ne&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(z==="("?this._output.space_before_token=!1:z!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),z==="{"&&this._output.trim(!0),oe&&(this.outdent(),oe=!1),this.print_string(this._ch),ne=!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}(ne||q)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!J&&ae===0?(this.print_string(":"),oe||(oe=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var 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?(oe&&(this.outdent(),oe=!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),oe&&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&&(!oe||K)&&ae===0&&!J?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!oe&&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 Bt=z==='"'||z==="'";this.preserveSingleSpace(Bt||le),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&ee&&this._output.add_new_line()}var yt=this._output.get_code(W);return yt},u.exports.Beautifier=N},function(u,a,x){var p=x(6).Options;function y(m){p.call(this,m,"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 m(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}m.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},m.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},m.prototype.__ensure_cache=function(S){for(;S>=this.__cache.length;)this.__add_column()},m.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 m(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(m,b,S,k){this.type=m,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=m(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 m(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=m},,function(p){var y=RegExp.prototype.hasOwnProperty("sticky");function m(b){this.__input=b||"",this.__input_length=this.__input.length,this.__position=0}m.prototype.restart=function(){this.__position=0},m.prototype.back=function(){this.__position>0&&(this.__position-=1)},m.prototype.hasNext=function(){return this.__position<this.__input_length},m.prototype.next=function(){var b=null;return this.hasNext()&&(b=this.__input.charAt(this.__position),this.__position+=1),b},m.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},m.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},m.prototype.test=function(b,S){return S=S||0,S+=this.__position,S>=0&&S<this.__input_length?!!this.__match(b,S):!1},m.prototype.testChar=function(b,S){var k=this.peek(S);return b.lastIndex=0,k!==null&&b.test(k)},m.prototype.match=function(b){var S=this.__match(b,this.__position);return S?this.__position+=S[0].length:S=null,S},m.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},m.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},m.prototype.readUntilAfter=function(b){return this.readUntil(b,!0)},m.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},m.prototype.get_literal_regexp=function(b){return RegExp(b.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},m.prototype.peekUntilAfter=function(b){var S=this.__position,k=this.readUntilAfter(b);return this.__position=S,k},m.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=m},function(p,y,m){var b=m(8).InputScanner,S=m(3).Token,k=m(10).TokenStream,R=m(11).WhitespacePattern,A={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},P=function(M,B){this._input=new b(M),this._options=B||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new R(this._input)};P.prototype.tokenize=function(){this._input.restart(),this.__tokens=new k,this._reset();for(var M,B=new S(A.START,""),N=null,G=[],W=new k;B.type!==A.EOF;){for(M=this._get_next_token(B,N);this._is_comment(M);)W.add(M),M=this._get_next_token(B,N);W.isEmpty()||(M.comments_before=W,W=new k),M.parent=N,this._is_opening(M)?(G.push(N),N=M):N&&this._is_closing(M,N)&&(M.opened=N,N.closed=M,N=G.pop(),M.parent=N),M.previous=B,B.next=M,this.__tokens.add(M),B=M}return this.__tokens},P.prototype._is_first_token=function(){return this.__tokens.isEmpty()},P.prototype._reset=function(){},P.prototype._get_next_token=function(M,B){this._readWhitespace();var N=this._input.read(/.+/g);return N?this._create_token(A.RAW,N):this._create_token(A.EOF,"")},P.prototype._is_comment=function(M){return!1},P.prototype._is_opening=function(M){return!1},P.prototype._is_closing=function(M,B){return!1},P.prototype._create_token=function(M,B){var N=new S(M,B,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return N},P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},p.exports.Tokenizer=P,p.exports.TOKEN=A},function(p){function y(m){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=m}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 m=null;return this.hasNext()&&(m=this.__tokens[this.__position],this.__position+=1),m},y.prototype.peek=function(m){var b=null;return m=m||0,m+=this.__position,m>=0&&m<this.__tokens_length&&(b=this.__tokens[m]),b},y.prototype.add=function(m){this.__parent_token&&(m.parent=this.__parent_token),this.__tokens.push(m),this.__tokens_length+=1},p.exports.TokenStream=y},function(p,y,m){var b=m(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,P=[],M=k.exec(R);M;)P.push(R.substring(A,M.index)),A=M.index+M[0].length,M=k.exec(R);return A<R.length?P.push(R.substring(A,R.length)):P.push(""),P},p.exports.WhitespacePattern=S},function(p){function y(m,b){this._input=m,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 m=this._input.read(this._starting_pattern);return(!this._starting_pattern||m)&&(m+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),m},y.prototype.read_match=function(){return this._input.match(this._match_pattern)},y.prototype.until_after=function(m){var b=this._create();return b._until_after=!0,b._until_pattern=this._input.get_regexp(m),b._update(),b},y.prototype.until=function(m){var b=this._create();return b._until_after=!1,b._until_pattern=this._input.get_regexp(m),b._update(),b},y.prototype.starting_with=function(m){var b=this._create();return b._starting_pattern=this._input.get_regexp(m,!0),b._update(),b},y.prototype.matching=function(m){var b=this._create();return b._match_pattern=this._input.get_regexp(m,!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(m,b){m=typeof m=="string"?m:m.source,b=typeof b=="string"?b:b.source,this.__directives_block_pattern=new RegExp(m+/ beautify( \w+[:]\w+)+ /.source+b,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(m+/\sbeautify\signore:end\s/.source+b,"g")}y.prototype.get_directives=function(m){if(!m.match(this.__directives_block_pattern))return null;var b={};this.__directive_pattern.lastIndex=0;for(var S=this.__directive_pattern.exec(m);S;)b[S[1]]=S[2],S=this.__directive_pattern.exec(m);return b},y.prototype.readIgnored=function(m){return m.readUntilAfter(this.__directives_end_ignore_pattern)},p.exports.Directives=y},function(p,y,m){var b=m(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 P=new b(R);this.__patterns={handlebars_comment:P.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:P.starting_with(/{{{/).until_after(/}}}/),handlebars:P.starting_with(/{{/).until_after(/}}/),php:P.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:P.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:P.starting_with(/{%/).until_after(/%}/),django_value:P.starting_with(/{{/).until_after(/}}/),django_comment:P.starting_with(/{#/).until_after(/#}/),smarty:P.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:P.starting_with(/{\*/).until_after(/\*}/),smarty_literal:P.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 P in S)A._disabled[P]=R.templating.indexOf(P)===-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 P=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&P==="?"&&(R=R||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&P==="%"&&(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,m){var b=m(19).Beautifier,S=m(20).Options;function k(R,A,P,M){var B=new b(R,A,P,M);return B.beautify()}p.exports=k,p.exports.defaultOptions=function(){return new S}},function(p,y,m){var b=m(20).Options,S=m(2).Output,k=m(21).Tokenizer,R=m(21).TOKEN,A=/\r\n|[\r\n]/,P=/\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 se=0;se<K;se++)this.print_newline(se>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,se=J.next;se.type!==R.EOF&&J.closed!==se;){if(se.type===R.ATTRIBUTE&&se.text==="type"){se.next&&se.next.type===R.EQUALS&&se.next.next&&se.next.next.type===R.VALUE&&(K=se.next.next.text);break}se=se.next}return K},N=function(J,K){var se=null,ee=null;return K.closed?(J==="script"?se="text/javascript":J==="style"&&(se="text/css"),se=B(K)||se,se.search("text/css")>-1?ee="css":se.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?ee="javascript":se.search(/(text|application|dojo)\/(x-)?(html)/)>-1?ee="html":se.search(/test\/null/)>-1&&(ee="null"),ee):null};function G(J,K){return K.indexOf(J)!==-1}function W(J,K,se){this.parent=J||null,this.tag=K?K.tag_name:"",this.indent_level=se||0,this.parser_token=K||null}function H(J){this._printer=J,this._current_frame=null}H.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},H.prototype.record_tag=function(J){var K=new W(this._current_frame,J,this._printer.indent_level);this._current_frame=K},H.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},H.prototype._get_frame=function(J,K){for(var se=this._current_frame;se&&J.indexOf(se.tag)===-1;){if(K&&K.indexOf(se.tag)!==-1){se=null;break}se=se.parent}return se},H.prototype.try_pop=function(J,K){var se=this._get_frame([J],K);return this._try_pop_frame(se)},H.prototype.indent_to_tag=function(J){var K=this._get_frame(J);K&&(this._printer.indent_level=K.indent_level)};function ae(J,K,se,ee){this._source_text=J||"",K=K||{},this._js_beautify=se,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(P,`
|
|
|
`);var se=J.match(/^[\t ]*/)[0],ee={text:"",type:""},Q=new ne(this._options),le=new M(this._options,se),z=new k(J,this._options).tokenize();this._tag_stack=new H(le);for(var $=null,ie=z.next();ie.type!==R.EOF;)ie.type===R.TAG_OPEN||ie.type===R.COMMENT?($=this._handle_tag_open(le,ie,Q,ee,z),Q=$):ie.type===R.ATTRIBUTE||ie.type===R.EQUALS||ie.type===R.VALUE||ie.type===R.TEXT&&!Q.tag_complete?$=this._handle_inside_tag(le,ie,Q,ee):ie.type===R.TAG_CLOSE?$=this._handle_tag_close(le,ie,Q):ie.type===R.TEXT?$=this._handle_text(le,ie,Q):ie.type===R.CONTROL_FLOW_OPEN?$=this._handle_control_flow_open(le,ie):ie.type===R.CONTROL_FLOW_CLOSE?$=this._handle_control_flow_close(le,ie):le.add_raw_token(ie),ee=$,ie=z.next();var me=le._output.get_code(K);return me},ae.prototype._handle_control_flow_open=function(J,K){var se={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(),se},ae.prototype._handle_control_flow_close=function(J,K){var se={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),se},ae.prototype._handle_tag_close=function(J,K,se){var ee={text:K.text,type:K.type};return J.alignment_size=0,se.tag_complete=!0,J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),se.is_unformatted?J.add_raw_token(K):(se.tag_start_char==="<"&&(J.set_space_before_token(K.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&se.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(K)),se.indent_content&&!(se.is_unformatted||se.is_content_unformatted)&&(J.indent(),se.indent_content=!1),!se.is_inline_element&&!(se.is_unformatted||se.is_content_unformatted)&&J.set_wrap_point(),ee},ae.prototype._handle_inside_tag=function(J,K,se,ee){var Q=se.has_wrapped_attrs,le={text:K.text,type:K.type};return J.set_space_before_token(K.newlines||K.whitespace_before!=="",!0),se.is_unformatted?J.add_raw_token(K):se.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&&se.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&&se.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(),se.has_wrapped_attrs=Q),le},ae.prototype._handle_text=function(J,K,se){var ee={text:K.text,type:"TK_CONTENT"};return se.custom_beautifier_name?this._print_custom_beatifier_text(J,K,se):se.is_unformatted||se.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,se){var ee=this;if(K.text!==""){var Q=K.text,le,z=1,$="",ie="";se.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?le=this._js_beautify:se.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?le=this._css_beautify:se.custom_beautifier_name==="html"&&(le=function(Bt,yt){var It=new ae(Bt,yt,ee._js_beautify,ee._css_beautify);return It.beautify()}),this._options.indent_scripts==="keep"?z=0:this._options.indent_scripts==="separate"&&(z=-J.indent_level);var me=J.get_full_indent(z);if(Q=Q.replace(/\n[ \t]*$/,""),se.custom_beautifier_name!=="html"&&Q[0]==="<"&&Q.match(/^(<!--|<!\[CDATA\[)/)){var Pe=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(Q);if(!Pe){J.add_raw_token(K);return}$=me+Pe[1]+`
|
|
|
`,Q=Pe[4],Pe[5]&&(ie=me+Pe[5]),Q=Q.replace(/\n[ \t]*$/,""),(Pe[2]||Pe[3].indexOf(`
|
|
|
`)!==-1)&&(Pe=Pe[3].match(/[ \t]+$/),Pe&&(K.whitespace_before=Pe[0]))}if(Q)if(le){var De=function(){this.eol=`
|
|
|
`};De.prototype=this._options.raw_options;var Ze=new De;Q=le(me+Q,Ze)}else{var Ne=K.whitespace_before;Ne&&(Q=Q.replace(new RegExp(`
|
|
|
(`+Ne+")?","g"),`
|
|
|
`)),Q=me+Q.replace(/\n/g,`
|
|
|
`+me)}$&&(Q?Q=$+Q+`
|
|
|
`+ie:Q=$+ie),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,se,ee,Q){var le=this._get_tag_open_token(K);if((se.is_unformatted||se.is_content_unformatted)&&!se.is_empty_element&&K.type===R.TAG_OPEN&&!le.is_start_tag?(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,se,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 ne=function(J,K,se){if(this.parent=K||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!se)this.tag_complete=!0;else{var ee;this.tag_start_char=se.text[0],this.text=se.text,this.tag_start_char==="<"?(ee=se.text.match(/^<([^\s>]*)/),this.tag_check=ee?ee[1]:""):(ee=se.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=ee?ee[1]:"",(se.text.startsWith("{{#>")||se.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&se.next!==null?this.tag_check=se.next.text.split(" ")[0]:this.tag_check=se.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),se.type===R.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||se.closed&&se.closed.text==="/>";var 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 ne(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||G(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&&G(K.tag_check,this._options.unformatted),K.is_content_unformatted=!K.is_empty_element&&G(K.tag_check,this._options.content_unformatted),K.is_inline_element=G(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,se,ee,Q){if(se.is_empty_element||(se.is_end_tag?se.start_tag_token=this._tag_stack.try_pop(se.tag_name):(this._do_optional_end_element(se)&&(se.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(se),(se.tag_name==="script"||se.tag_name==="style")&&!(se.is_unformatted||se.is_content_unformatted)&&(se.custom_beautifier_name=N(se.tag_check,K)))),G(se.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),se.is_empty_element){if(se.tag_start_char==="{"&&se.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),se.indent_content=!0;var le=J.current_line_has_match(/{{#if/);le||J.print_newline(!1)}se.tag_name==="!--"&&Q.type===R.TAG_CLOSE&&ee.is_end_tag&&se.text.indexOf(`
|
|
|
`)===-1||(se.is_inline_element||se.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,se))}else if(se.is_end_tag){var z=!1;z=se.start_tag_token&&se.start_tag_token.multiline_content,z=z||!se.is_inline_element&&!(ee.is_inline_element||ee.is_unformatted)&&!(Q.type===R.TAG_CLOSE&&se.start_tag_token===ee)&&Q.type!=="TK_CONTENT",(se.is_content_unformatted||se.is_unformatted)&&(z=!1),z&&J.print_newline(!1)}else se.indent_content=!se.custom_beautifier_name,se.tag_start_char==="<"&&(se.tag_name==="html"?se.indent_content=this._options.indent_inner_html:se.tag_name==="head"?se.indent_content=this._options.indent_head_inner_html:se.tag_name==="body"&&(se.indent_content=this._options.indent_body_inner_html)),!(se.is_inline_element||se.is_unformatted)&&(Q.type!=="TK_CONTENT"||se.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,se)},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 oe=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],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"&&oe.indexOf(J.tag_name)!==-1){var se=J.parent.parent;(!se||q.indexOf(se.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,m){var b=m(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,m){var b=m(9).Tokenizer,S=m(9).TOKEN,k=m(13).Directives,R=m(14).TemplatablePattern,A=m(12).Pattern,P={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:S.START,RAW:S.RAW,EOF:S.EOF},M=new k(/<\!--/,/-->/),B=function(N,G){b.call(this,N,G),this._current_tag_name="";var W=new R(this._input).read_options(this._options),H=new A(this._input);if(this.__patterns={word:W.until(/[\n\r\t <]/),word_control_flow_close_excluded:W.until(/[\n\r\t <}]/),single_quote:W.until_after(/'/),double_quote:W.until_after(/"/),attribute:W.until(/[\n\r\t =>]|\/>/),element_name:W.until(/[\n\r\t >\/]/),angular_control_flow_start:H.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:H.starting_with(/{{!--/).until_after(/--}}/),handlebars:H.starting_with(/{{/).until_after(/}}/),handlebars_open:H.until(/[\n\r\t }]/),handlebars_raw_close:H.until(/}}/),comment:H.starting_with(/<!--/).until_after(/-->/),cdata:H.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:H.starting_with(/<!\[/).until_after(/]>/),processing:H.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var ae=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=H.matching(ae).until_after(ae)}};B.prototype=new b,B.prototype._is_comment=function(N){return!1},B.prototype._is_opening=function(N){return N.type===P.TAG_OPEN||N.type===P.CONTROL_FLOW_OPEN},B.prototype._is_closing=function(N,G){return N.type===P.TAG_CLOSE&&G&&((N.text===">"||N.text==="/>")&&G.text[0]==="<"||N.text==="}}"&&G.text[0]==="{"&&G.text[1]==="{")||N.type===P.CONTROL_FLOW_CLOSE&&N.text==="}"&&G.text.endsWith("{")},B.prototype._reset=function(){this._current_tag_name=""},B.prototype._get_next_token=function(N,G){var W=null;this._readWhitespace();var H=this._input.peek();return H===null?this._create_token(P.EOF,""):(W=W||this._read_open_handlebars(H,G),W=W||this._read_attribute(H,N,G),W=W||this._read_close(H,G),W=W||this._read_script_and_style(H,N),W=W||this._read_control_flows(H,G),W=W||this._read_raw_content(H,N,G),W=W||this._read_content_word(H,G),W=W||this._read_comment_or_cdata(H),W=W||this._read_processing(H),W=W||this._read_open(H,G),W=W||this._create_token(P.UNKNOWN,this._input.next()),W)},B.prototype._read_comment_or_cdata=function(N){var G=null,W=null,H=null;if(N==="<"){var ae=this._input.peek(1);ae==="!"&&(W=this.__patterns.comment.read(),W?(H=M.get_directives(W),H&&H.ignore==="start"&&(W+=M.readIgnored(this._input))):W=this.__patterns.cdata.read()),W&&(G=this._create_token(P.COMMENT,W),G.directives=H)}return G},B.prototype._read_processing=function(N){var G=null,W=null,H=null;if(N==="<"){var ae=this._input.peek(1);(ae==="!"||ae==="?")&&(W=this.__patterns.conditional_comment.read(),W=W||this.__patterns.processing.read()),W&&(G=this._create_token(P.COMMENT,W),G.directives=H)}return G},B.prototype._read_open=function(N,G){var W=null,H=null;return(!G||G.type===P.CONTROL_FLOW_OPEN)&&N==="<"&&(W=this._input.next(),this._input.peek()==="/"&&(W+=this._input.next()),W+=this.__patterns.element_name.read(),H=this._create_token(P.TAG_OPEN,W)),H},B.prototype._read_open_handlebars=function(N,G){var W=null,H=null;return(!G||G.type===P.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&N==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(W=this.__patterns.handlebars_comment.read(),W=W||this.__patterns.handlebars.read(),H=this._create_token(P.COMMENT,W)):(W=this.__patterns.handlebars_open.read(),H=this._create_token(P.TAG_OPEN,W))),H},B.prototype._read_control_flows=function(N,G){var W="",H=null;if(!this._options.templating.includes("angular"))return H;if(N==="@"){if(W=this.__patterns.angular_control_flow_start.read(),W==="")return H;for(var ae=W.endsWith("(")?1:0,ne=0;!(W.endsWith("{")&&ae===ne);){var oe=this._input.next();if(oe===null)break;oe==="("?ae++:oe===")"&&ne++,W+=oe}H=this._create_token(P.CONTROL_FLOW_OPEN,W)}else N==="}"&&G&&G.type===P.CONTROL_FLOW_OPEN&&(W=this._input.next(),H=this._create_token(P.CONTROL_FLOW_CLOSE,W));return H},B.prototype._read_close=function(N,G){var W=null,H=null;return G&&G.type===P.TAG_OPEN&&(G.text[0]==="<"&&(N===">"||N==="/"&&this._input.peek(1)===">")?(W=this._input.next(),N==="/"&&(W+=this._input.next()),H=this._create_token(P.TAG_CLOSE,W)):G.text[0]==="{"&&N==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),H=this._create_token(P.TAG_CLOSE,"}}"))),H},B.prototype._read_attribute=function(N,G,W){var H=null,ae="";if(W&&W.text[0]==="<")if(N==="=")H=this._create_token(P.EQUALS,this._input.next());else if(N==='"'||N==="'"){var ne=this._input.next();N==='"'?ne+=this.__patterns.double_quote.read():ne+=this.__patterns.single_quote.read(),H=this._create_token(P.VALUE,ne)}else ae=this.__patterns.attribute.read(),ae&&(G.type===P.EQUALS?H=this._create_token(P.VALUE,ae):H=this._create_token(P.ATTRIBUTE,ae));return H},B.prototype._is_content_unformatted=function(N){return this._options.void_elements.indexOf(N)===-1&&(this._options.content_unformatted.indexOf(N)!==-1||this._options.unformatted.indexOf(N)!==-1)},B.prototype._read_raw_content=function(N,G,W){var H="";if(W&&W.text[0]==="{")H=this.__patterns.handlebars_raw_close.read();else if(G.type===P.TAG_CLOSE&&G.opened.text[0]==="<"&&G.text[0]!=="/"){var ae=G.opened.text.substr(1).toLowerCase();this._is_content_unformatted(ae)&&(H=this._input.readUntil(new RegExp("</"+ae+"[\\n\\r\\t ]*?>","ig")))}return H?this._create_token(P.TEXT,H):null},B.prototype._read_script_and_style=function(N,G){if(G.type===P.TAG_CLOSE&&G.opened.text[0]==="<"&&G.text[0]!=="/"){var W=G.opened.text.substr(1).toLowerCase();if(W==="script"||W==="style"){var H=this._read_comment_or_cdata(N);if(H)return H.type=P.TEXT,H;var ae=this._input.readUntil(new RegExp("</"+W+"[\\n\\r\\t ]*?>","ig"));if(ae)return this._create_token(P.TEXT,ae)}}return null},B.prototype._read_content_word=function(N,G){var W="";return this._options.unformatted_content_delimiter&&N===this._options.unformatted_content_delimiter[0]&&(W=this.__patterns.unformatted_content_delimiter.read()),W||(W=G&&G.type===P.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),W?this._create_token(P.TEXT,W):null},p.exports.Tokenizer=B,p.exports.TOKEN=P}],u={};function a(p){var y=u[p];if(y!==void 0)return y.exports;var m=u[p]={exports:{}};return h[p](m,m.exports,a),m.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 m(b,S){var k=new p(b,S);return k.beautify()}u.exports=m,u.exports.defaultOptions=function(){return new y}},function(u,a,x){var p=x(2).Output,y=x(3).Token,m=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 P($,ie){return ie.indexOf($)!==-1}function M($){return $.replace(/^\s+/g,"")}function B($){for(var ie={},me=0;me<$.length;me++)ie[$[me].replace(/-/g,"_")]=$[me];return ie}function N($,ie){return $&&$.type===A.RESERVED&&$.text===ie}function G($,ie){return $&&$.type===A.RESERVED&&P($.text,ie)}var W=["case","return","do","if","throw","else","await","break","continue","async"],H=["before-newline","after-newline","preserve-newline"],ae=B(H),ne=[ae.before_newline,ae.preserve_newline],oe={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function q($,ie){ie.multiline_frame||ie.mode===oe.ForInitializer||ie.mode===oe.Conditional||$.remove_indent(ie.start_line_index)}function J($){$=$.replace(m.allLineBreaks,`
|
|
|
`);for(var ie=[],me=$.indexOf(`
|
|
|
`);me!==-1;)ie.push($.substring(0,me)),$=$.substring(me+1),me=$.indexOf(`
|
|
|
`);return $.length&&ie.push($),ie}function K($){return $===oe.ArrayLiteral}function se($){return P($,[oe.Expression,oe.ForInitializer,oe.Conditional])}function ee($,ie){for(var me=0;me<$.length;me++){var Pe=$[me].trim();if(Pe.charAt(0)!==ie)return!1}return!0}function Q($,ie){for(var me=0,Pe=$.length,De;me<Pe;me++)if(De=$[me],De&&De.indexOf(ie)!==0)return!1;return!0}function le($,ie){ie=ie||{},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(ie)}le.prototype.create_flags=function($,ie){var me=0;$&&(me=$.indentation_level,!this._output.just_added_newline()&&$.line_indent_level>me&&(me=$.line_indent_level));var Pe={mode:ie,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:me,alignment:0,line_indent_level:$?$.line_indent_level:me,start_line_index:this._output.get_line_number(),ternary_depth:0};return Pe},le.prototype._reset=function($){var ie=$.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new p(this._options,ie),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(oe.BlockStatement);var me=new S($,this._options);return this._tokens=me.tokenize(),$},le.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $,ie=this._reset(this._source_text),me=this._options.eol;this._options.eol==="auto"&&(me=`
|
|
|
`,ie&&m.lineBreak.test(ie||"")&&(me=ie.match(m.lineBreak)[0]));for(var Pe=this._tokens.next();Pe;)this.handle_token(Pe),this._last_last_text=this._flags.last_token.text,this._flags.last_token=Pe,Pe=this._tokens.next();return $=this._output.get_code(me),$},le.prototype.handle_token=function($,ie){$.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($,ie):$.type===A.COMMENT?this.handle_comment($,ie):$.type===A.DOT?this.handle_dot($):$.type===A.EOF?this.handle_eof($):$.type===A.UNKNOWN?this.handle_unknown($,ie):this.handle_unknown($,ie)},le.prototype.handle_whitespace_and_comments=function($,ie){var me=$.newlines,Pe=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,ie),this.handle_token(De,ie),De=$.comments_before.next();if(Pe)for(var Ze=0;Ze<me;Ze+=1)this.print_newline(Ze>0,ie);else if(this._options.max_preserve_newlines&&me>this._options.max_preserve_newlines&&(me=this._options.max_preserve_newlines),this._options.preserve_newlines&&me>1){this.print_newline(!1,ie);for(var Ne=1;Ne<me;Ne+=1)this.print_newline(!0,ie)}};var z=["async","break","continue","return","throw","yield"];le.prototype.allow_wrap_or_preserved_newline=function($,ie){if(ie=ie===void 0?!1:ie,!this._output.just_added_newline()){var me=this._options.preserve_newlines&&$.newlines||ie,Pe=P(this._flags.last_token.text,R)||P($.text,R);if(Pe){var De=P(this._flags.last_token.text,R)&&P(this._options.operator_position,ne)||P($.text,R);me=me&&De}if(me)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(G(this._flags.last_token,z))return;this._output.set_wrap_point()}}},le.prototype.print_newline=function($,ie){if(!ie&&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 me=this._tokens.peek();this._flags.mode===oe.Statement&&!(this._flags.if_block&&N(me,"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 ie=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(ie),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation($),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation($),this._output.non_breaking_space=!0,this._output.add_token($.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},le.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},le.prototype.set_mode=function($){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,$),this._flags=this.create_flags(this._previous_flags,$),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},le.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===oe.Statement&&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===oe.ObjectLiteral&&this._flags.mode===oe.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||G(this._flags.last_token,["get","set"]))},le.prototype.start_of_statement=function($){var ie=!1;return ie=ie||G(this._flags.last_token,["var","let","const"])&&$.type===A.WORD,ie=ie||N(this._flags.last_token,"do"),ie=ie||!(this._flags.parent.mode===oe.ObjectLiteral&&this._flags.mode===oe.Statement)&&G(this._flags.last_token,z)&&!$.newlines,ie=ie||N(this._flags.last_token,"else")&&!(N($,"if")&&!$.comments_before),ie=ie||this._flags.last_token.type===A.END_EXPR&&(this._previous_flags.mode===oe.ForInitializer||this._previous_flags.mode===oe.Conditional),ie=ie||this._flags.last_token.type===A.WORD&&this._flags.mode===oe.BlockStatement&&!this._flags.in_case&&!($.text==="--"||$.text==="++")&&this._last_last_text!=="function"&&$.type!==A.WORD&&$.type!==A.RESERVED,ie=ie||this._flags.mode===oe.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||G(this._flags.last_token,["get","set"])),ie?(this.set_mode(oe.Statement),this.indent(),this.handle_whitespace_and_comments($,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline($,G($,["do","for","if","while"])),!0):!1},le.prototype.handle_start_expr=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($);var ie=oe.Expression;if($.text==="["){if(this._flags.last_token.type===A.WORD||this._flags.last_token.text===")"){G(this._flags.last_token,k)&&(this._output.space_before_token=!0),this.print_token($),this.set_mode(ie),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}ie=oe.ArrayLiteral,K(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),P(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,ie=oe.ForInitializer):P(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,ie=oe.Conditional):P(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:(P(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 me=this._tokens.peek(-3);if(this._options.space_after_named_function&&me){var Pe=this._tokens.peek(-4);G(me,["async","function"])||me.text==="*"&&G(Pe,["async","function"])?this._output.space_before_token=!0:this._flags.mode===oe.ObjectLiteral?(me.text==="{"||me.text===","||me.text==="*"&&(Pe.text==="{"||Pe.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline($);(this._flags.last_token.type===A.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(P(this._last_last_text,["function","yield"])||this._flags.mode===oe.ObjectLiteral&&P(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(ie),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},le.prototype.handle_end_expr=function($){for(;this._flags.mode===oe.Statement;)this.restore_mode();this.handle_whitespace_and_comments($),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline($,$.text==="]"&&K(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===A.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token($),this.restore_mode(),q(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===oe.Conditional&&(this._previous_flags.mode=oe.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},le.prototype.handle_start_block=function($){this.handle_whitespace_and_comments($);var ie=this._tokens.peek(),me=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===A.END_EXPR?(this.set_mode(oe.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(oe.BlockStatement):me&&(P(me.text,[":",","])&&P(ie.type,[A.STRING,A.WORD,A.RESERVED])||P(ie.text,["get","set","..."])&&P(me.type,[A.WORD,A.RESERVED]))?P(this._last_last_text,["class","interface"])&&!P(me.text,[":",","])?this.set_mode(oe.BlockStatement):this.set_mode(oe.ObjectLiteral):this._flags.last_token.type===A.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(oe.BlockStatement):P(this._flags.last_token.type,[A.EQUALS,A.START_EXPR,A.COMMA,A.OPERATOR])||G(this._flags.last_token,["return","throw","import","default"])?this.set_mode(oe.ObjectLiteral):this.set_mode(oe.BlockStatement),this._flags.last_token&&G(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var Pe=!ie.comments_before&&ie.text==="}",De=Pe&&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||G(this._flags.last_token,W)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(K(this._previous_flags.mode)&&(this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.COMMA)&&((this._flags.last_token.type===A.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline($),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==A.OPERATOR&&this._flags.last_token.type!==A.START_EXPR&&(P(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(),!Pe&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},le.prototype.handle_end_block=function($){for(this.handle_whitespace_and_comments($);this._flags.mode===oe.Statement;)this.restore_mode();var ie=this._flags.last_token.type===A.START_BLOCK;this._flags.inline_frame&&!ie?this._output.space_before_token=!0:this._options.brace_style==="expand"?ie||this.print_newline():ie||(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(P($.text,["set","get"])&&this._flags.mode!==oe.ObjectLiteral)$.type=A.WORD;else if($.text==="import"&&P(this._tokens.peek().text,["(","."]))$.type=A.WORD;else if(P($.text,["as","from"])&&!this._flags.import_block)$.type=A.WORD;else if(this._flags.mode===oe.ObjectLiteral){var ie=this._tokens.peek();ie.text===":"&&($.type=A.WORD)}}if(this.start_of_statement($)?G(this._flags.last_token,["var","let","const"])&&$.type===A.WORD&&(this._flags.declaration_statement=!0):$.newlines&&!se(this._flags.mode)&&(this._flags.last_token.type!==A.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==A.EQUALS&&(this._options.preserve_newlines||!G(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments($),this.print_newline()):this.handle_whitespace_and_comments($),this._flags.do_block&&!this._flags.do_while)if(N($,"while")){this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&N($,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===oe.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&G($,["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()&&!(P(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===oe.ObjectLiteral)&&this.allow_wrap_or_preserved_newline($),N($,"function")){(P(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(P(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?G(this._flags.last_token,["get","set","new","export"])||G(this._flags.last_token,z)?this._output.space_before_token=!0:N(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===A.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(se(this._flags.mode)||K(this._flags.mode))||this.print_newline(),this.print_token($),this._flags.last_word=$.text;return}var me="NONE";if(this._flags.last_token.type===A.END_BLOCK?this._previous_flags.inline_frame?me="SPACE":G($,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines?me="NEWLINE":(me="SPACE",this._output.space_before_token=!0):me="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&this._flags.mode===oe.BlockStatement?me="NEWLINE":this._flags.last_token.type===A.SEMICOLON&&se(this._flags.mode)?me="SPACE":this._flags.last_token.type===A.STRING?me="NEWLINE":this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.last_token.text==="*"&&(P(this._last_last_text,["function","yield"])||this._flags.mode===oe.ObjectLiteral&&P(this._last_last_text,["{",","]))?me="SPACE":this._flags.last_token.type===A.START_BLOCK?this._flags.inline_frame?me="SPACE":me="NEWLINE":this._flags.last_token.type===A.END_EXPR&&(this._output.space_before_token=!0,me="NEWLINE"),G($,k)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?me="SPACE":me="NEWLINE"),G($,["else","catch","finally"]))if((!(this._flags.last_token.type===A.END_BLOCK&&this._previous_flags.mode===oe.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&$.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var Pe=this._output.current_line;Pe.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else me==="NEWLINE"?G(this._flags.last_token,W)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&G($,["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||!G($,["var","let","const"]))&&this._flags.last_token.text!==":"&&(N($,"if")&&N($.previous,"else")?this._output.space_before_token=!0:this.print_newline()):G($,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():me==="SPACE"&&(this._output.space_before_token=!0);$.previous&&($.previous.type===A.WORD||$.previous.type===A.RESERVED)&&(this._output.space_before_token=!0),this.print_token($),this._flags.last_word=$.text,$.type===A.RESERVED&&($.text==="do"?this._flags.do_block=!0:$.text==="if"?this._flags.if_block=!0:$.text==="import"?this._flags.import_block=!0:this._flags.import_block&&N($,"from")&&(this._flags.import_block=!1))},le.prototype.handle_semicolon=function($){this.start_of_statement($)?this._output.space_before_token=!1:this.handle_whitespace_and_comments($);for(var ie=this._tokens.peek();this._flags.mode===oe.Statement&&!(this._flags.if_block&&N(ie,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token($)},le.prototype.handle_string=function($){$.text.startsWith("`")&&$.newlines===0&&$.whitespace_before===""&&($.previous.text===")"||this._flags.last_token.type===A.WORD)||(this.start_of_statement($)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments($),this._flags.last_token.type===A.RESERVED||this._flags.last_token.type===A.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===A.COMMA||this._flags.last_token.type===A.START_EXPR||this._flags.last_token.type===A.EQUALS||this._flags.last_token.type===A.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline($):$.text.startsWith("`")&&this._flags.last_token.type===A.END_EXPR&&($.previous.text==="]"||$.previous.text===")")&&$.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token($)},le.prototype.handle_equals=function($){this.start_of_statement($)||this.handle_whitespace_and_comments($),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token($),this._output.space_before_token=!0},le.prototype.handle_comma=function($){this.handle_whitespace_and_comments($,!0),this.print_token($),this._output.space_before_token=!0,this._flags.declaration_statement?(se(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)):this._flags.mode===oe.ObjectLiteral||this._flags.mode===oe.Statement&&this._flags.parent.mode===oe.ObjectLiteral?(this._flags.mode===oe.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline($)},le.prototype.handle_operator=function($){var ie=$.text==="*"&&(G(this._flags.last_token,["function","yield"])||P(this._flags.last_token.type,[A.START_BLOCK,A.COMMA,A.END_BLOCK,A.SEMICOLON])),me=P($.text,["-","+"])&&(P(this._flags.last_token.type,[A.START_BLOCK,A.START_EXPR,A.EQUALS,A.OPERATOR])||P(this._flags.last_token.text,k)||this._flags.last_token.text===",");if(!this.start_of_statement($)){var Pe=!ie;this.handle_whitespace_and_comments($,Pe)}if($.text==="*"&&this._flags.last_token.type===A.DOT){this.print_token($);return}if($.text==="::"){this.print_token($);return}if(P($.text,["-","+"])&&this.start_of_object_property()){this.print_token($);return}if(this._flags.last_token.type===A.OPERATOR&&P(this._options.operator_position,ne)&&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),!me&&!ie&&this._options.preserve_newlines&&P($.text,R)){var Bt=$.text===":",yt=Bt&&Ne,It=Bt&&!Ne;switch(this._options.operator_position){case ae.before_newline:this._output.space_before_token=!It,this.print_token($),(!Bt||yt)&&this.allow_wrap_or_preserved_newline($),this._output.space_before_token=!0;return;case ae.after_newline:this._output.space_before_token=!0,!Bt||yt?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline($):this._output.space_before_token=!1,this.print_token($),this._output.space_before_token=!0;return;case ae.preserve_newline:It||this.allow_wrap_or_preserved_newline($),De=!(this._output.just_added_newline()||It),this._output.space_before_token=De,this.print_token($),this._output.space_before_token=!0;return}}if(ie){this.allow_wrap_or_preserved_newline($),De=!1;var rr=this._tokens.peek();Ze=rr&&P(rr.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(P($.text,["--","++","!","~"])||me){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 Yt=G(this._flags.last_token,W)&&$.newlines;Yt&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Yt,!0)}this._flags.last_token.text===";"&&se(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=P($.text,["--","-","++","+"])&&P(this._flags.last_token.text,["--","-","++","+"]),P($.text,["+","-"])&&P(this._flags.last_token.text,["--","++"])&&(Ze=!0)),(this._flags.mode===oe.BlockStatement&&!this._flags.inline_frame||this._flags.mode===oe.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||De,this.print_token($),this._output.space_before_token=Ze},le.prototype.handle_block_comment=function($,ie){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,ie),this.print_token($),$.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!m.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($,ie)},le.prototype.print_block_commment=function($,ie){var me=J($.text),Pe,De=!1,Ze=!1,Ne=$.whitespace_before,Bt=Ne.length;if(this.print_newline(!1,ie),this.print_token_line_indentation($),this._output.add_token(me[0]),this.print_newline(!1,ie),me.length>1){for(me=me.slice(1),De=ee(me,"*"),Ze=Q(me,Ne),De&&(this._flags.alignment=1),Pe=0;Pe<me.length;Pe++)De?(this.print_token_line_indentation($),this._output.add_token(M(me[Pe]))):Ze&&me[Pe]?(this.print_token_line_indentation($),this._output.add_token(me[Pe].substring(Bt))):(this._output.current_line.set_indent(-1),this._output.add_token(me[Pe])),this.print_newline(!1,ie);this._flags.alignment=0}},le.prototype.handle_comment=function($,ie){$.newlines?this.print_newline(!1,ie):this._output.trim(!0),this._output.space_before_token=!0,this.print_token($),this.print_newline(!1,ie)},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),G(this._flags.last_token,W)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline($,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token($)},le.prototype.handle_unknown=function($,ie){this.print_token($),$.text[$.text.length-1]===`
|
|
|
`&&this.print_newline(!1,ie)},le.prototype.handle_eof=function($){for(;this._flags.mode===oe.Statement;)this.restore_mode();this.handle_whitespace_and_comments($)},u.exports.Beautifier=le},function(u){function a(y){this.__parent=y,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}a.prototype.clone_empty=function(){var y=new a(this.__parent);return y.set_indent(this.__indent_count,this.__alignment_count),y},a.prototype.item=function(y){return y<0?this.__items[this.__items.length+y]:this.__items[y]},a.prototype.has_match=function(y){for(var m=this.__items.length-1;m>=0;m--)if(this.__items[m].match(y))return!0;return!1},a.prototype.set_indent=function(y,m){this.is_empty()&&(this.__indent_count=y||0,this.__alignment_count=m||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 m=y.lastIndexOf(`
|
|
|
`);m!==-1?this.__character_count=y.length-m: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,m){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)),m=m||"",y.indent_level>0&&(m=new Array(y.indent_level+1).join(this.__indent_string)),this.__base_string=m,this.__base_string_length=m.length}x.prototype.get_indent_size=function(y,m){var b=this.__base_string_length;return m=m||0,y<0&&(b=0),b+=y*this.__indent_size,b+=m,b},x.prototype.get_indent_string=function(y,m){var b=this.__base_string;return m=m||0,y<0&&(y=0,b=""),m+=y*this.__indent_size,this.__ensure_cache(m),b+=this.__cache[m],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,m=0,b="";this.__indent_size&&y>=this.__indent_size&&(m=Math.floor(y/this.__indent_size),y-=m*this.__indent_size,b=new Array(m+1).join(this.__indent_string)),y&&(b+=new Array(y+1).join(" ")),this.__cache.push(b)};function p(y,m){this.__indent_cache=new x(y,m),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,m){return this.__indent_cache.get_indent_string(y,m)},p.prototype.get_indent_size=function(y,m){return this.__indent_cache.get_indent_size(y,m)},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 m=this.current_line.pop();m&&(m[m.length-1]===`
|
|
|
`&&(m=m.replace(/\n+$/g,"")),this.current_line.push(m)),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,m){return y=y||0,m=m||0,this.next_line.set_indent(y,m),this.__lines.length>1?(this.current_line.set_indent(y,m),!0):(this.current_line.set_indent(),!1)},p.prototype.add_raw_token=function(y){for(var m=0;m<y.newlines;m++)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 m=this.__lines.length;y<m;)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,m){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)!==m){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,m){this.type=x,this.text=p,this.comments_before=null,this.newlines=y||0,this.whitespace_before=m||"",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",m="\\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+m+"])*";a.identifier=new RegExp(S+k,"g"),a.identifierStart=new RegExp(S),a.identifierMatch=new RegExp("(?:"+b+"|["+p+y+m+"])+");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 m(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)}m.prototype=new p,u.exports.Options=m},function(u){function a(y,m){this.raw_options=x(y,m),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,m){var b=this.raw_options[y],S=m||[];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,m){var b=this.raw_options[y],S=b===void 0?!!m:!!b;return S},a.prototype._get_characters=function(y,m){var b=this.raw_options[y],S=m||"";return typeof b=="string"&&(S=b.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),S},a.prototype._get_number=function(y,m){var b=this.raw_options[y];m=parseInt(m,10),isNaN(m)&&(m=0);var S=parseInt(b,10);return isNaN(S)&&(S=m),S},a.prototype._get_selection=function(y,m,b){var S=this._get_selection_list(y,m,b);if(S.length!==1)throw new Error("Invalid Option Value: The option '"+y+`' can only be one of the following values:
|
|
|
`+m+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return S[0]},a.prototype._get_selection_list=function(y,m,b){if(!m||m.length===0)throw new Error("Selection list cannot be empty.");if(b=b||[m[0]],!this._is_valid_selection(b,m))throw new Error("Invalid Default Value!");var S=this._get_array(y,b);if(!this._is_valid_selection(S,m))throw new Error("Invalid Option Value: The option '"+y+`' can contain only the following values:
|
|
|
`+m+`
|
|
|
You passed in: '`+this.raw_options[y]+"'");return S},a.prototype._is_valid_selection=function(y,m){return y.length&&m.length&&!y.some(function(b){return m.indexOf(b)===-1})};function x(y,m){var b={};y=p(y);var S;for(S in y)S!==m&&(b[S]=y[S]);if(m&&y[m])for(S in y[m])b[S]=y[m][S];return b}function p(y){var m={},b;for(b in y){var S=b.replace(/-/g,"_");m[S]=y[b]}return m}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,m=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 P={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:m.START,RAW:m.RAW,EOF:m.EOF},M=new b(/\/\*/,/\*\//),B=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,N=/[0-9]/,G=/[^\d\.]/,W=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),H=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";H=H.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),H="\\?\\.(?!\\d) "+H,H=H.replace(/ /g,"|");var ae=new RegExp(H),ne="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),oe=ne.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),q=new RegExp("^(?:"+oe.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===P.COMMENT||ee.type===P.BLOCK_COMMENT||ee.type===P.UNKNOWN},K.prototype._is_opening=function(ee){return ee.type===P.START_BLOCK||ee.type===P.START_EXPR},K.prototype._is_closing=function(ee,Q){return(ee.type===P.END_BLOCK||ee.type===P.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(P.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(P.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===P.DOT||ee.type===P.RESERVED&&(ee.text==="set"||ee.text==="get"))&&q.test(Q)?(Q==="in"||Q==="of")&&(ee.type===P.WORD||ee.type===P.STRING)?this._create_token(P.OPERATOR,Q):this._create_token(P.RESERVED,Q):this._create_token(P.WORD,Q);if(Q=this.__patterns.number.read(),Q!=="")return this._create_token(P.WORD,Q)},K.prototype._read_singles=function(ee){var Q=null;return ee==="("||ee==="["?Q=this._create_token(P.START_EXPR,ee):ee===")"||ee==="]"?Q=this._create_token(P.END_EXPR,ee):ee==="{"?Q=this._create_token(P.START_BLOCK,ee):ee==="}"?Q=this._create_token(P.END_BLOCK,ee):ee===";"?Q=this._create_token(P.SEMICOLON,ee):ee==="."&&G.test(this._input.peek(1))?Q=this._create_token(P.DOT,ee):ee===","&&(Q=this._create_token(P.COMMA,ee)),Q&&this._input.next(),Q},K.prototype._read_pair=function(ee,Q){var le=null;return ee==="#"&&Q==="{"&&(le=this._create_token(P.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(P.EQUALS,ee):ee==="?."?this._create_token(P.DOT,ee):this._create_token(P.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(P.UNKNOWN,Q.trim()+`
|
|
|
`);if(Q=this.__patterns.include.read(),Q)return this._create_token(P.UNKNOWN,Q.trim()+`
|
|
|
`);ee=this._input.next();var le="#";if(this._input.hasNext()&&this._input.testChar(N)){do ee=this._input.next(),le+=ee;while(this._input.hasNext()&&ee!=="#"&&ee!=="=");return ee==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(le+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(le+="{}",this._input.next(),this._input.next())),this._create_token(P.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(P.COMMENT,Q)}}else if(J&&ee==="-"&&(Q=this.__patterns.html_comment_end.read(),Q))return J=!1,this._create_token(P.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(P.BLOCK_COMMENT,le),Q.directives=z}else this._input.peek(1)==="/"&&(le=this.__patterns.comment.read(),Q=this._create_token(P.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=se(Q)),this._input.peek()===ee&&(Q+=this._input.next()),Q=Q.replace(S.allLineBreaks,`
|
|
|
`),this._create_token(P.STRING,Q)}return null},K.prototype._allow_regexp_or_xml=function(ee){return ee.type===P.RESERVED&&A(ee.text,["return","case","throw","else","do","typeof","yield"])||ee.type===P.END_EXPR&&ee.text===")"&&ee.opened.previous.type===P.RESERVED&&A(ee.opened.previous.text,["if","while","for"])||A(ee.type,[P.COMMENT,P.START_EXPR,P.START_BLOCK,P.START,P.END_BLOCK,P.OPERATOR,P.EQUALS,P.EOF,P.SEMICOLON,P.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(P.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+}$/,"}"),ie=$.indexOf("{")===0,me=0;z;){var Pe=!!z[1],De=z[2],Ze=!!z[z.length-1]||De.slice(0,8)==="![CDATA[";if(!Ze&&(De===$||ie&&De.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(Pe?--me:++me),le+=z[0],me<=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(P.STRING,le)}}return null};function se(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 ie=$.read(),me="";this._input.hasNext();){if(me=this._input.next(),me===ee||!Q&&S.newline.test(me)){this._input.back();break}else me==="\\"&&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(),me+=this._input.next()):le&&(le==="${"&&me==="$"&&this._input.peek()==="{"&&(me+=this._input.next()),le===me&&(ee==="`"?me+=this._read_string_recursive("}",Q,"`"):me+=this._read_string_recursive("`",Q,"${"),this._input.hasNext()&&(me+=this._input.next())));me+=$.read(),ie+=me}return ie},u.exports.Tokenizer=K,u.exports.TOKEN=P,u.exports.positionable_operators=W.slice(),u.exports.line_starters=ne.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 m=p.exec(this.__input);return m&&!(a&&p.sticky)&&m.index!==y&&(m=null),m},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 m=this.peek(y);return p.lastIndex=0,m!==null&&p.test(m)},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,m){var b="",S;return p&&(S=this.match(p),S&&(b+=S[0])),y&&(S||!p)&&(b+=this.readUntil(y,m)),b},x.prototype.readUntil=function(p,y){var m="",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,m=this.__input.substring(this.__position,b),this.__position=b,m},x.prototype.readUntilAfter=function(p){return this.readUntil(p,!0)},x.prototype.get_regexp=function(p,y){var m=null,b="g";return y&&a&&(b="y"),typeof p=="string"&&p!==""?m=new RegExp(p,b):p&&(m=new RegExp(p.source,b)),m},x.prototype.get_literal_regexp=function(p){return RegExp(p.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},x.prototype.peekUntilAfter=function(p){var y=this.__position,m=this.readUntilAfter(p);return this.__position=y,m},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,m=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 m,this._reset();for(var R,A=new y(S.START,""),P=null,M=[],B=new m;A.type!==S.EOF;){for(R=this._get_next_token(A,P);this._is_comment(R);)B.add(R),R=this._get_next_token(A,P);B.isEmpty()||(R.comments_before=B,B=new m),R.parent=P,this._is_opening(R)?(M.push(P),P=R):P&&this._is_closing(R,P)&&(R.opened=P,P.closed=R,P=M.pop(),R.parent=P),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 P=this._input.read(/.+/g);return P?this._create_token(S.RAW,P):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 P=new y(R,A,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return P},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(m,b){p.call(this,m,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(m,b){m+="\\t ",b+="\\n\\r",this._match_pattern=this._input.get_regexp("["+m+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 m=this._input.read(this._match_pattern);if(m===" ")this.whitespace_before_token=" ";else if(m){var b=this.__split(this._newline_regexp,m);this.newline_count=b.length-1,this.whitespace_before_token=b[this.newline_count]}return m},y.prototype.matching=function(m,b){var S=this._create();return S.__set_whitespace_patterns(m,b),S._update(),S},y.prototype._create=function(){return new y(this._input,this)},y.prototype.__split=function(m,b){m.lastIndex=0;for(var S=0,k=[],R=m.exec(b);R;)k.push(b.substring(S,R.index)),S=R.index+R[0].length,R=m.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 m(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}/)}}m.prototype=new p,m.prototype._create=function(){return new m(this._input,this)},m.prototype._update=function(){this.__set_templated_pattern()},m.prototype.disable=function(b){var S=this._create();return S._disabled[b]=!0,S._update(),S},m.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},m.prototype.exclude=function(b){var S=this._create();return S._excluded[b]=!0,S._update(),S},m.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},m.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("|")+")")},m.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=m}],f={};function o(u){var a=f[u];if(a!==void 0)return a.exports;var x=f[u]={exports:{}};return c[u](x,x.exports,o),x.exports}var h=o(0);i=h})();var l=i;e=[],r=function(){return{js_beautify:l}}.apply(v,e),r!==void 0&&(d.exports=r)})()},15342:function(d){(function(e,r){d.exports=r()})(typeof self!="undefined"?self:this,function(){return function(v){var e={};function r(i){if(e[i])return e[i].exports;var l=e[i]={i,l:!1,exports:{}};return v[i].call(l.exports,l,l.exports,r),l.l=!0,l.exports}return r.m=v,r.c=e,r.d=function(i,l,c){r.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},r.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,l){if(l&1&&(i=r(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var f in i)r.d(c,f,function(o){return i[o]}.bind(null,f));return c},r.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(l,"a",l),l},r.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},r.p="",r(r.s=1)}([function(v,e,r){},function(v,e,r){"use strict";r.r(e);var i=r(0),l=function(){function Ve(Z,X,te){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=Z,this.start=X,this.end=te}return Ve.range=function(X,te){return te?!X||!X.loc||!te.loc||X.loc.lexer!==te.loc.lexer?null:new Ve(X.loc.lexer,X.loc.start,te.loc.end):X&&X.loc},Ve}(),c=function(){function Ve(X,te){this.text=void 0,this.loc=void 0,this.text=X,this.loc=te}var Z=Ve.prototype;return Z.range=function(te,de){return new Ve(de,l.range(this,te))},Ve}(),f=function Ve(Z,X){this.position=void 0;var te="KaTeX parse error: "+Z,de,Te=X&&X.loc;if(Te&&Te.start<=Te.end){var Ke=Te.lexer.input;de=Te.start;var Ct=Te.end;de===Ke.length?te+=" at end of input: ":te+=" at position "+(de+1)+": ";var Ut=Ke.slice(de,Ct).replace(/[^]/g,"$&\u0332"),er;de>15?er="\u2026"+Ke.slice(de-15,de):er=Ke.slice(0,de);var br;Ct+15<Ke.length?br=Ke.slice(Ct,Ct+15)+"\u2026":br=Ke.slice(Ct),te+=er+Ut+br}var Gr=new Error(te);return Gr.name="ParseError",Gr.__proto__=Ve.prototype,Gr.position=de,Gr};f.prototype.__proto__=Error.prototype;var o=f,h=function(Z,X){return Z.indexOf(X)!==-1},u=function(Z,X){return Z===void 0?X:Z},a=/([A-Z])/g,x=function(Z){return Z.replace(a,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},y=/[&><"']/g;function m(Ve){return String(Ve).replace(y,function(Z){return p[Z]})}var b=function Ve(Z){return Z.type==="ordgroup"||Z.type==="color"?Z.body.length===1?Ve(Z.body[0]):Z:Z.type==="font"?Ve(Z.body):Z},S=function(Z){var X=b(Z);return X.type==="mathord"||X.type==="textord"||X.type==="atom"},k=function(Z){if(!Z)throw new Error("Expected non-null, but got "+String(Z));return Z},R=function(Z){var X=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(Z);return X!=null?X[1]:"_relative"},A={contains:h,deflt:u,escape:m,hyphenate:x,getBaseElem:b,isCharacterBox:S,protocolFromUrl:R},P=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 Z=Ve.prototype;return Z.reportNonstrict=function(te,de,Te){var Ke=this.strict;if(typeof Ke=="function"&&(Ke=Ke(te,de,Te)),!(!Ke||Ke==="ignore")){if(Ke===!0||Ke==="error")throw new o("LaTeX-incompatible input and strict mode is set to 'error': "+(de+" ["+te+"]"),Te);Ke==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(de+" ["+te+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ke+"': "+de+" ["+te+"]"))}},Z.useStrictBehavior=function(te,de,Te){var Ke=this.strict;if(typeof Ke=="function")try{Ke=Ke(te,de,Te)}catch(Ct){Ke="error"}return!Ke||Ke==="ignore"?!1:Ke===!0||Ke==="error"?!0:Ke==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(de+" ["+te+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Ke+"': "+de+" ["+te+"]")),!1)},Z.isTrusted=function(te){te.url&&!te.protocol&&(te.protocol=A.protocolFromUrl(te.url));var de=typeof this.trust=="function"?this.trust(te):this.trust;return!!de},Ve}(),M=function(){function Ve(X,te,de){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=X,this.size=te,this.cramped=de}var Z=Ve.prototype;return Z.sup=function(){return q[J[this.id]]},Z.sub=function(){return q[K[this.id]]},Z.fracNum=function(){return q[se[this.id]]},Z.fracDen=function(){return q[ee[this.id]]},Z.cramp=function(){return q[Q[this.id]]},Z.text=function(){return q[le[this.id]]},Z.isTight=function(){return this.size>=2},Ve}(),B=0,N=1,G=2,W=3,H=4,ae=5,ne=6,oe=7,q=[new M(B,0,!1),new M(N,0,!0),new M(G,1,!1),new M(W,1,!0),new M(H,2,!1),new M(ae,2,!0),new M(ne,3,!1),new M(oe,3,!0)],J=[H,ae,H,ae,ne,oe,ne,oe],K=[ae,ae,ae,ae,oe,oe,oe,oe],se=[G,W,H,ae,ne,oe,ne,oe],ee=[W,W,ae,ae,oe,oe,oe,oe],Q=[N,N,W,W,ae,ae,oe,oe],le=[B,N,G,W,G,W,G,W],z={DISPLAY:q[B],TEXT:q[G],SCRIPT:q[H],SCRIPTSCRIPT:q[ne]},$=[{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 ie(Ve){for(var Z=0;Z<$.length;Z++)for(var X=$[Z],te=0;te<X.blocks.length;te++){var de=X.blocks[te];if(Ve>=de[0]&&Ve<=de[1])return X.name}return null}var me=[];$.forEach(function(Ve){return Ve.blocks.forEach(function(Z){return me.push.apply(me,Z)})});function Pe(Ve){for(var Z=0;Z<me.length;Z+=2)if(Ve>=me[Z]&&Ve<=me[Z+1])return!0;return!1}var De=80,Ze=function(Z,X){return"M95,"+(622+Z+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`+Z/2.075+" -"+Z+`
|
|
|
c5.3,-9.3,12,-14,20,-14
|
|
|
H400000v`+(40+Z)+`H845.2724
|
|
|
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
|
|
|
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
|
|
|
M`+(834+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},Ne=function(Z,X){return"M263,"+(601+Z+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`+Z/2.084+" -"+Z+`
|
|
|
c4.7,-7.3,11,-11,19,-11
|
|
|
H40000v`+(40+Z)+`H1012.3
|
|
|
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
|
|
|
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
|
|
|
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
|
|
|
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
|
|
|
M`+(1001+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},Bt=function(Z,X){return"M983 "+(10+Z+X)+`
|
|
|
l`+Z/3.13+" -"+Z+`
|
|
|
c4,-6.7,10,-10,18,-10 H400000v`+(40+Z)+`
|
|
|
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
|
|
|
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
|
|
|
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
|
|
|
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
|
|
|
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
|
|
|
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
|
|
|
M`+(1001+Z)+" "+X+"h400000v"+(40+Z)+"h-400000z"},yt=function(Z,X){return"M424,"+(2398+Z+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`+Z/4.223+" -"+Z+`c4,-6.7,10,-10,18,-10 H400000
|
|
|
v`+(40+Z)+`H1014.6
|
|
|
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
|
|
|
c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2z M`+(1001+Z)+" "+X+`
|
|
|
h400000v`+(40+Z)+"h-400000z"},It=function(Z,X){return"M473,"+(2713+Z+X)+`
|
|
|
c339.3,-1799.3,509.3,-2700,510,-2702 l`+Z/5.298+" -"+Z+`
|
|
|
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Z)+`H1017.7
|
|
|
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
|
|
|
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
|
|
|
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
|
|
|
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
|
|
|
606zM`+(1001+Z)+" "+X+"h400000v"+(40+Z)+"H1017.7z"},rr=function(Z,X,te){var de=te-54-X-Z;return"M702 "+(Z+X)+"H400000"+(40+Z)+`
|
|
|
H742v`+de+`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+Z)+"H742z"},Yt=function(Z,X,te){X=1e3*X;var de="";switch(Z){case"sqrtMain":de=Ze(X,De);break;case"sqrtSize1":de=Ne(X,De);break;case"sqrtSize2":de=Bt(X,De);break;case"sqrtSize3":de=yt(X,De);break;case"sqrtSize4":de=It(X,De);break;case"sqrtTall":de=rr(X,De,te)}return de},ur={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 Z=Ve.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){for(var te=document.createDocumentFragment(),de=0;de<this.children.length;de++)te.appendChild(this.children[de].toNode());return te},Z.toMarkup=function(){for(var te="",de=0;de<this.children.length;de++)te+=this.children[de].toMarkup();return te},Z.toText=function(){var te=function(Te){return Te.toText()};return this.children.map(te).join("")},Ve}(),Pt=function(Z){return Z.filter(function(X){return X}).join(" ")},zt=function(Z,X,te){if(this.classes=Z||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=te||{},X){X.style.isTight()&&this.classes.push("mtight");var de=X.getColor();de&&(this.style.color=de)}},nt=function(Z){var X=document.createElement(Z);X.className=Pt(this.classes);for(var te in this.style)this.style.hasOwnProperty(te)&&(X.style[te]=this.style[te]);for(var de in this.attributes)this.attributes.hasOwnProperty(de)&&X.setAttribute(de,this.attributes[de]);for(var Te=0;Te<this.children.length;Te++)X.appendChild(this.children[Te].toNode());return X},Et=function(Z){var X="<"+Z;this.classes.length&&(X+=' class="'+A.escape(Pt(this.classes))+'"');var te="";for(var de in this.style)this.style.hasOwnProperty(de)&&(te+=A.hyphenate(de)+":"+this.style[de]+";");te&&(X+=' style="'+A.escape(te)+'"');for(var Te in this.attributes)this.attributes.hasOwnProperty(Te)&&(X+=" "+Te+'="'+A.escape(this.attributes[Te])+'"');X+=">";for(var Ke=0;Ke<this.children.length;Ke++)X+=this.children[Ke].toMarkup();return X+="</"+Z+">",X},ht=function(){function Ve(X,te,de,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,zt.call(this,X,de,Te),this.children=te||[]}var Z=Ve.prototype;return Z.setAttribute=function(te,de){this.attributes[te]=de},Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){return nt.call(this,"span")},Z.toMarkup=function(){return Et.call(this,"span")},Ve}(),Je=function(){function Ve(X,te,de,Te){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,zt.call(this,te,Te),this.children=de||[],this.setAttribute("href",X)}var Z=Ve.prototype;return Z.setAttribute=function(te,de){this.attributes[te]=de},Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){return nt.call(this,"a")},Z.toMarkup=function(){return Et.call(this,"a")},Ve}(),Ue=function(){function Ve(X,te,de){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=te,this.src=X,this.classes=["mord"],this.style=de}var Z=Ve.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){var te=document.createElement("img");te.src=this.src,te.alt=this.alt,te.className="mord";for(var de in this.style)this.style.hasOwnProperty(de)&&(te.style[de]=this.style[de]);return te},Z.toMarkup=function(){var te="<img src='"+this.src+" 'alt='"+this.alt+"' ",de="";for(var Te in this.style)this.style.hasOwnProperty(Te)&&(de+=A.hyphenate(Te)+":"+this.style[Te]+";");return de&&(te+=' style="'+A.escape(de)+'"'),te+="'/>",te},Ve}(),ge={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Se=function(){function Ve(X,te,de,Te,Ke,Ct,Ut,er){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=X,this.height=te||0,this.depth=de||0,this.italic=Te||0,this.skew=Ke||0,this.width=Ct||0,this.classes=Ut||[],this.style=er||{},this.maxFontSize=0;var br=ie(this.text.charCodeAt(0));br&&this.classes.push(br+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ge[this.text])}var Z=Ve.prototype;return Z.hasClass=function(te){return A.contains(this.classes,te)},Z.toNode=function(){var te=document.createTextNode(this.text),de=null;this.italic>0&&(de=document.createElement("span"),de.style.marginRight=this.italic+"em"),this.classes.length>0&&(de=de||document.createElement("span"),de.className=Pt(this.classes));for(var Te in this.style)this.style.hasOwnProperty(Te)&&(de=de||document.createElement("span"),de.style[Te]=this.style[Te]);return de?(de.appendChild(te),de):te},Z.toMarkup=function(){var te=!1,de="<span";this.classes.length&&(te=!0,de+=' class="',de+=A.escape(Pt(this.classes)),de+='"');var Te="";this.italic>0&&(Te+="margin-right:"+this.italic+"em;");for(var Ke in this.style)this.style.hasOwnProperty(Ke)&&(Te+=A.hyphenate(Ke)+":"+this.style[Ke]+";");Te&&(te=!0,de+=' style="'+A.escape(Te)+'"');var Ct=A.escape(this.text);return te?(de+=">",de+=Ct,de+="</span>",de):Ct},Ve}(),Le=function(){function Ve(X,te){this.children=void 0,this.attributes=void 0,this.children=X||[],this.attributes=te||{}}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",de=document.createElementNS(te,"svg");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&de.setAttribute(Te,this.attributes[Te]);for(var Ke=0;Ke<this.children.length;Ke++)de.appendChild(this.children[Ke].toNode());return de},Z.toMarkup=function(){var te="<svg";for(var de in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,de)&&(te+=" "+de+"='"+this.attributes[de]+"'");te+=">";for(var Te=0;Te<this.children.length;Te++)te+=this.children[Te].toMarkup();return te+="</svg>",te},Ve}(),je=function(){function Ve(X,te){this.pathName=void 0,this.alternate=void 0,this.pathName=X,this.alternate=te}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",de=document.createElementNS(te,"path");return this.alternate?de.setAttribute("d",this.alternate):de.setAttribute("d",ur[this.pathName]),de},Z.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+ur[this.pathName]+"'/>"},Ve}(),He=function(){function Ve(X){this.attributes=void 0,this.attributes=X||{}}var Z=Ve.prototype;return Z.toNode=function(){var te="http://www.w3.org/2000/svg",de=document.createElementNS(te,"line");for(var Te in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,Te)&&de.setAttribute(Te,this.attributes[Te]);return de},Z.toMarkup=function(){var te="<line";for(var de in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,de)&&(te+=" "+de+"='"+this.attributes[de]+"'");return te+="/>",te},Ve}();function rt(Ve){if(Ve instanceof Se)return Ve;throw new Error("Expected symbolNode but got "+String(Ve)+".")}function lt(Ve){if(Ve instanceof ht)return Ve;throw new Error("Expected span<HtmlDomNode> but got "+String(Ve)+".")}var Kt={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Wt={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Ae={\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,Z){Kt[Ve]=Z}function Vt(Ve,Z,X){if(!Kt[Z])throw new Error("Font metrics not found for font: "+Z+".");var te=Ve.charCodeAt(0),de=Kt[Z][te];if(!de&&Ve[0]in Ae&&(te=Ae[Ve[0]].charCodeAt(0),de=Kt[Z][te]),!de&&X==="text"&&Pe(te)&&(de=Kt[Z][77]),de)return{depth:de[0],height:de[1],italic:de[2],skew:de[3],width:de[4]}}var kt={};function Ht(Ve){var Z;if(Ve>=5?Z=0:Ve>=3?Z=1:Z=2,!kt[Z]){var X=kt[Z]={cssEmPerMu:Wt.quad[Z]/18};for(var te in Wt)Wt.hasOwnProperty(te)&&(X[te]=Wt[te][Z])}return kt[Z]}var $t={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},Xt={math:{},text:{}},Ge=Xt;function ce(Ve,Z,X,te,de,Te){Xt[Ve][de]={font:Z,group:X,replace:te},Te&&te&&(Xt[Ve][te]=Xt[Ve][de])}var pe="math",Dt="text",Ce="main",ct="ams",Zt="accent-token",St="bin",Ie="close",wt="inner",be="mathord",Ye="op-token",vt="open",Lt="punct",Me="rel",Or="spacing",At="textord";ce(pe,Ce,Me,"\u2261","\\equiv",!0),ce(pe,Ce,Me,"\u227A","\\prec",!0),ce(pe,Ce,Me,"\u227B","\\succ",!0),ce(pe,Ce,Me,"\u223C","\\sim",!0),ce(pe,Ce,Me,"\u22A5","\\perp"),ce(pe,Ce,Me,"\u2AAF","\\preceq",!0),ce(pe,Ce,Me,"\u2AB0","\\succeq",!0),ce(pe,Ce,Me,"\u2243","\\simeq",!0),ce(pe,Ce,Me,"\u2223","\\mid",!0),ce(pe,Ce,Me,"\u226A","\\ll",!0),ce(pe,Ce,Me,"\u226B","\\gg",!0),ce(pe,Ce,Me,"\u224D","\\asymp",!0),ce(pe,Ce,Me,"\u2225","\\parallel"),ce(pe,Ce,Me,"\u22C8","\\bowtie",!0),ce(pe,Ce,Me,"\u2323","\\smile",!0),ce(pe,Ce,Me,"\u2291","\\sqsubseteq",!0),ce(pe,Ce,Me,"\u2292","\\sqsupseteq",!0),ce(pe,Ce,Me,"\u2250","\\doteq",!0),ce(pe,Ce,Me,"\u2322","\\frown",!0),ce(pe,Ce,Me,"\u220B","\\ni",!0),ce(pe,Ce,Me,"\u221D","\\propto",!0),ce(pe,Ce,Me,"\u22A2","\\vdash",!0),ce(pe,Ce,Me,"\u22A3","\\dashv",!0),ce(pe,Ce,Me,"\u220B","\\owns"),ce(pe,Ce,Lt,".","\\ldotp"),ce(pe,Ce,Lt,"\u22C5","\\cdotp"),ce(pe,Ce,At,"#","\\#"),ce(Dt,Ce,At,"#","\\#"),ce(pe,Ce,At,"&","\\&"),ce(Dt,Ce,At,"&","\\&"),ce(pe,Ce,At,"\u2135","\\aleph",!0),ce(pe,Ce,At,"\u2200","\\forall",!0),ce(pe,Ce,At,"\u210F","\\hbar",!0),ce(pe,Ce,At,"\u2203","\\exists",!0),ce(pe,Ce,At,"\u2207","\\nabla",!0),ce(pe,Ce,At,"\u266D","\\flat",!0),ce(pe,Ce,At,"\u2113","\\ell",!0),ce(pe,Ce,At,"\u266E","\\natural",!0),ce(pe,Ce,At,"\u2663","\\clubsuit",!0),ce(pe,Ce,At,"\u2118","\\wp",!0),ce(pe,Ce,At,"\u266F","\\sharp",!0),ce(pe,Ce,At,"\u2662","\\diamondsuit",!0),ce(pe,Ce,At,"\u211C","\\Re",!0),ce(pe,Ce,At,"\u2661","\\heartsuit",!0),ce(pe,Ce,At,"\u2111","\\Im",!0),ce(pe,Ce,At,"\u2660","\\spadesuit",!0),ce(Dt,Ce,At,"\xA7","\\S",!0),ce(Dt,Ce,At,"\xB6","\\P",!0),ce(pe,Ce,At,"\u2020","\\dag"),ce(Dt,Ce,At,"\u2020","\\dag"),ce(Dt,Ce,At,"\u2020","\\textdagger"),ce(pe,Ce,At,"\u2021","\\ddag"),ce(Dt,Ce,At,"\u2021","\\ddag"),ce(Dt,Ce,At,"\u2021","\\textdaggerdbl"),ce(pe,Ce,Ie,"\u23B1","\\rmoustache",!0),ce(pe,Ce,vt,"\u23B0","\\lmoustache",!0),ce(pe,Ce,Ie,"\u27EF","\\rgroup",!0),ce(pe,Ce,vt,"\u27EE","\\lgroup",!0),ce(pe,Ce,St,"\u2213","\\mp",!0),ce(pe,Ce,St,"\u2296","\\ominus",!0),ce(pe,Ce,St,"\u228E","\\uplus",!0),ce(pe,Ce,St,"\u2293","\\sqcap",!0),ce(pe,Ce,St,"\u2217","\\ast"),ce(pe,Ce,St,"\u2294","\\sqcup",!0),ce(pe,Ce,St,"\u25EF","\\bigcirc"),ce(pe,Ce,St,"\u2219","\\bullet"),ce(pe,Ce,St,"\u2021","\\ddagger"),ce(pe,Ce,St,"\u2240","\\wr",!0),ce(pe,Ce,St,"\u2A3F","\\amalg"),ce(pe,Ce,St,"&","\\And"),ce(pe,Ce,Me,"\u27F5","\\longleftarrow",!0),ce(pe,Ce,Me,"\u21D0","\\Leftarrow",!0),ce(pe,Ce,Me,"\u27F8","\\Longleftarrow",!0),ce(pe,Ce,Me,"\u27F6","\\longrightarrow",!0),ce(pe,Ce,Me,"\u21D2","\\Rightarrow",!0),ce(pe,Ce,Me,"\u27F9","\\Longrightarrow",!0),ce(pe,Ce,Me,"\u2194","\\leftrightarrow",!0),ce(pe,Ce,Me,"\u27F7","\\longleftrightarrow",!0),ce(pe,Ce,Me,"\u21D4","\\Leftrightarrow",!0),ce(pe,Ce,Me,"\u27FA","\\Longleftrightarrow",!0),ce(pe,Ce,Me,"\u21A6","\\mapsto",!0),ce(pe,Ce,Me,"\u27FC","\\longmapsto",!0),ce(pe,Ce,Me,"\u2197","\\nearrow",!0),ce(pe,Ce,Me,"\u21A9","\\hookleftarrow",!0),ce(pe,Ce,Me,"\u21AA","\\hookrightarrow",!0),ce(pe,Ce,Me,"\u2198","\\searrow",!0),ce(pe,Ce,Me,"\u21BC","\\leftharpoonup",!0),ce(pe,Ce,Me,"\u21C0","\\rightharpoonup",!0),ce(pe,Ce,Me,"\u2199","\\swarrow",!0),ce(pe,Ce,Me,"\u21BD","\\leftharpoondown",!0),ce(pe,Ce,Me,"\u21C1","\\rightharpoondown",!0),ce(pe,Ce,Me,"\u2196","\\nwarrow",!0),ce(pe,Ce,Me,"\u21CC","\\rightleftharpoons",!0),ce(pe,ct,Me,"\u226E","\\nless",!0),ce(pe,ct,Me,"\uE010","\\@nleqslant"),ce(pe,ct,Me,"\uE011","\\@nleqq"),ce(pe,ct,Me,"\u2A87","\\lneq",!0),ce(pe,ct,Me,"\u2268","\\lneqq",!0),ce(pe,ct,Me,"\uE00C","\\@lvertneqq"),ce(pe,ct,Me,"\u22E6","\\lnsim",!0),ce(pe,ct,Me,"\u2A89","\\lnapprox",!0),ce(pe,ct,Me,"\u2280","\\nprec",!0),ce(pe,ct,Me,"\u22E0","\\npreceq",!0),ce(pe,ct,Me,"\u22E8","\\precnsim",!0),ce(pe,ct,Me,"\u2AB9","\\precnapprox",!0),ce(pe,ct,Me,"\u2241","\\nsim",!0),ce(pe,ct,Me,"\uE006","\\@nshortmid"),ce(pe,ct,Me,"\u2224","\\nmid",!0),ce(pe,ct,Me,"\u22AC","\\nvdash",!0),ce(pe,ct,Me,"\u22AD","\\nvDash",!0),ce(pe,ct,Me,"\u22EA","\\ntriangleleft"),ce(pe,ct,Me,"\u22EC","\\ntrianglelefteq",!0),ce(pe,ct,Me,"\u228A","\\subsetneq",!0),ce(pe,ct,Me,"\uE01A","\\@varsubsetneq"),ce(pe,ct,Me,"\u2ACB","\\subsetneqq",!0),ce(pe,ct,Me,"\uE017","\\@varsubsetneqq"),ce(pe,ct,Me,"\u226F","\\ngtr",!0),ce(pe,ct,Me,"\uE00F","\\@ngeqslant"),ce(pe,ct,Me,"\uE00E","\\@ngeqq"),ce(pe,ct,Me,"\u2A88","\\gneq",!0),ce(pe,ct,Me,"\u2269","\\gneqq",!0),ce(pe,ct,Me,"\uE00D","\\@gvertneqq"),ce(pe,ct,Me,"\u22E7","\\gnsim",!0),ce(pe,ct,Me,"\u2A8A","\\gnapprox",!0),ce(pe,ct,Me,"\u2281","\\nsucc",!0),ce(pe,ct,Me,"\u22E1","\\nsucceq",!0),ce(pe,ct,Me,"\u22E9","\\succnsim",!0),ce(pe,ct,Me,"\u2ABA","\\succnapprox",!0),ce(pe,ct,Me,"\u2246","\\ncong",!0),ce(pe,ct,Me,"\uE007","\\@nshortparallel"),ce(pe,ct,Me,"\u2226","\\nparallel",!0),ce(pe,ct,Me,"\u22AF","\\nVDash",!0),ce(pe,ct,Me,"\u22EB","\\ntriangleright"),ce(pe,ct,Me,"\u22ED","\\ntrianglerighteq",!0),ce(pe,ct,Me,"\uE018","\\@nsupseteqq"),ce(pe,ct,Me,"\u228B","\\supsetneq",!0),ce(pe,ct,Me,"\uE01B","\\@varsupsetneq"),ce(pe,ct,Me,"\u2ACC","\\supsetneqq",!0),ce(pe,ct,Me,"\uE019","\\@varsupsetneqq"),ce(pe,ct,Me,"\u22AE","\\nVdash",!0),ce(pe,ct,Me,"\u2AB5","\\precneqq",!0),ce(pe,ct,Me,"\u2AB6","\\succneqq",!0),ce(pe,ct,Me,"\uE016","\\@nsubseteqq"),ce(pe,ct,St,"\u22B4","\\unlhd"),ce(pe,ct,St,"\u22B5","\\unrhd"),ce(pe,ct,Me,"\u219A","\\nleftarrow",!0),ce(pe,ct,Me,"\u219B","\\nrightarrow",!0),ce(pe,ct,Me,"\u21CD","\\nLeftarrow",!0),ce(pe,ct,Me,"\u21CF","\\nRightarrow",!0),ce(pe,ct,Me,"\u21AE","\\nleftrightarrow",!0),ce(pe,ct,Me,"\u21CE","\\nLeftrightarrow",!0),ce(pe,ct,Me,"\u25B3","\\vartriangle"),ce(pe,ct,At,"\u210F","\\hslash"),ce(pe,ct,At,"\u25BD","\\triangledown"),ce(pe,ct,At,"\u25CA","\\lozenge"),ce(pe,ct,At,"\u24C8","\\circledS"),ce(pe,ct,At,"\xAE","\\circledR"),ce(Dt,ct,At,"\xAE","\\circledR"),ce(pe,ct,At,"\u2221","\\measuredangle",!0),ce(pe,ct,At,"\u2204","\\nexists"),ce(pe,ct,At,"\u2127","\\mho"),ce(pe,ct,At,"\u2132","\\Finv",!0),ce(pe,ct,At,"\u2141","\\Game",!0),ce(pe,ct,At,"\u2035","\\backprime"),ce(pe,ct,At,"\u25B2","\\blacktriangle"),ce(pe,ct,At,"\u25BC","\\blacktriangledown"),ce(pe,ct,At,"\u25A0","\\blacksquare"),ce(pe,ct,At,"\u29EB","\\blacklozenge"),ce(pe,ct,At,"\u2605","\\bigstar"),ce(pe,ct,At,"\u2222","\\sphericalangle",!0),ce(pe,ct,At,"\u2201","\\complement",!0),ce(pe,ct,At,"\xF0","\\eth",!0),ce(pe,ct,At,"\u2571","\\diagup"),ce(pe,ct,At,"\u2572","\\diagdown"),ce(pe,ct,At,"\u25A1","\\square"),ce(pe,ct,At,"\u25A1","\\Box"),ce(pe,ct,At,"\u25CA","\\Diamond"),ce(pe,ct,At,"\xA5","\\yen",!0),ce(Dt,ct,At,"\xA5","\\yen",!0),ce(pe,ct,At,"\u2713","\\checkmark",!0),ce(Dt,ct,At,"\u2713","\\checkmark"),ce(pe,ct,At,"\u2136","\\beth",!0),ce(pe,ct,At,"\u2138","\\daleth",!0),ce(pe,ct,At,"\u2137","\\gimel",!0),ce(pe,ct,At,"\u03DD","\\digamma",!0),ce(pe,ct,At,"\u03F0","\\varkappa"),ce(pe,ct,vt,"\u250C","\\ulcorner",!0),ce(pe,ct,Ie,"\u2510","\\urcorner",!0),ce(pe,ct,vt,"\u2514","\\llcorner",!0),ce(pe,ct,Ie,"\u2518","\\lrcorner",!0),ce(pe,ct,Me,"\u2266","\\leqq",!0),ce(pe,ct,Me,"\u2A7D","\\leqslant",!0),ce(pe,ct,Me,"\u2A95","\\eqslantless",!0),ce(pe,ct,Me,"\u2272","\\lesssim",!0),ce(pe,ct,Me,"\u2A85","\\lessapprox",!0),ce(pe,ct,Me,"\u224A","\\approxeq",!0),ce(pe,ct,St,"\u22D6","\\lessdot"),ce(pe,ct,Me,"\u22D8","\\lll",!0),ce(pe,ct,Me,"\u2276","\\lessgtr",!0),ce(pe,ct,Me,"\u22DA","\\lesseqgtr",!0),ce(pe,ct,Me,"\u2A8B","\\lesseqqgtr",!0),ce(pe,ct,Me,"\u2251","\\doteqdot"),ce(pe,ct,Me,"\u2253","\\risingdotseq",!0),ce(pe,ct,Me,"\u2252","\\fallingdotseq",!0),ce(pe,ct,Me,"\u223D","\\backsim",!0),ce(pe,ct,Me,"\u22CD","\\backsimeq",!0),ce(pe,ct,Me,"\u2AC5","\\subseteqq",!0),ce(pe,ct,Me,"\u22D0","\\Subset",!0),ce(pe,ct,Me,"\u228F","\\sqsubset",!0),ce(pe,ct,Me,"\u227C","\\preccurlyeq",!0),ce(pe,ct,Me,"\u22DE","\\curlyeqprec",!0),ce(pe,ct,Me,"\u227E","\\precsim",!0),ce(pe,ct,Me,"\u2AB7","\\precapprox",!0),ce(pe,ct,Me,"\u22B2","\\vartriangleleft"),ce(pe,ct,Me,"\u22B4","\\trianglelefteq"),ce(pe,ct,Me,"\u22A8","\\vDash",!0),ce(pe,ct,Me,"\u22AA","\\Vvdash",!0),ce(pe,ct,Me,"\u2323","\\smallsmile"),ce(pe,ct,Me,"\u2322","\\smallfrown"),ce(pe,ct,Me,"\u224F","\\bumpeq",!0),ce(pe,ct,Me,"\u224E","\\Bumpeq",!0),ce(pe,ct,Me,"\u2267","\\geqq",!0),ce(pe,ct,Me,"\u2A7E","\\geqslant",!0),ce(pe,ct,Me,"\u2A96","\\eqslantgtr",!0),ce(pe,ct,Me,"\u2273","\\gtrsim",!0),ce(pe,ct,Me,"\u2A86","\\gtrapprox",!0),ce(pe,ct,St,"\u22D7","\\gtrdot"),ce(pe,ct,Me,"\u22D9","\\ggg",!0),ce(pe,ct,Me,"\u2277","\\gtrless",!0),ce(pe,ct,Me,"\u22DB","\\gtreqless",!0),ce(pe,ct,Me,"\u2A8C","\\gtreqqless",!0),ce(pe,ct,Me,"\u2256","\\eqcirc",!0),ce(pe,ct,Me,"\u2257","\\circeq",!0),ce(pe,ct,Me,"\u225C","\\triangleq",!0),ce(pe,ct,Me,"\u223C","\\thicksim"),ce(pe,ct,Me,"\u2248","\\thickapprox"),ce(pe,ct,Me,"\u2AC6","\\supseteqq",!0),ce(pe,ct,Me,"\u22D1","\\Supset",!0),ce(pe,ct,Me,"\u2290","\\sqsupset",!0),ce(pe,ct,Me,"\u227D","\\succcurlyeq",!0),ce(pe,ct,Me,"\u22DF","\\curlyeqsucc",!0),ce(pe,ct,Me,"\u227F","\\succsim",!0),ce(pe,ct,Me,"\u2AB8","\\succapprox",!0),ce(pe,ct,Me,"\u22B3","\\vartriangleright"),ce(pe,ct,Me,"\u22B5","\\trianglerighteq"),ce(pe,ct,Me,"\u22A9","\\Vdash",!0),ce(pe,ct,Me,"\u2223","\\shortmid"),ce(pe,ct,Me,"\u2225","\\shortparallel"),ce(pe,ct,Me,"\u226C","\\between",!0),ce(pe,ct,Me,"\u22D4","\\pitchfork",!0),ce(pe,ct,Me,"\u221D","\\varpropto"),ce(pe,ct,Me,"\u25C0","\\blacktriangleleft"),ce(pe,ct,Me,"\u2234","\\therefore",!0),ce(pe,ct,Me,"\u220D","\\backepsilon"),ce(pe,ct,Me,"\u25B6","\\blacktriangleright"),ce(pe,ct,Me,"\u2235","\\because",!0),ce(pe,ct,Me,"\u22D8","\\llless"),ce(pe,ct,Me,"\u22D9","\\gggtr"),ce(pe,ct,St,"\u22B2","\\lhd"),ce(pe,ct,St,"\u22B3","\\rhd"),ce(pe,ct,Me,"\u2242","\\eqsim",!0),ce(pe,Ce,Me,"\u22C8","\\Join"),ce(pe,ct,Me,"\u2251","\\Doteq",!0),ce(pe,ct,St,"\u2214","\\dotplus",!0),ce(pe,ct,St,"\u2216","\\smallsetminus"),ce(pe,ct,St,"\u22D2","\\Cap",!0),ce(pe,ct,St,"\u22D3","\\Cup",!0),ce(pe,ct,St,"\u2A5E","\\doublebarwedge",!0),ce(pe,ct,St,"\u229F","\\boxminus",!0),ce(pe,ct,St,"\u229E","\\boxplus",!0),ce(pe,ct,St,"\u22C7","\\divideontimes",!0),ce(pe,ct,St,"\u22C9","\\ltimes",!0),ce(pe,ct,St,"\u22CA","\\rtimes",!0),ce(pe,ct,St,"\u22CB","\\leftthreetimes",!0),ce(pe,ct,St,"\u22CC","\\rightthreetimes",!0),ce(pe,ct,St,"\u22CF","\\curlywedge",!0),ce(pe,ct,St,"\u22CE","\\curlyvee",!0),ce(pe,ct,St,"\u229D","\\circleddash",!0),ce(pe,ct,St,"\u229B","\\circledast",!0),ce(pe,ct,St,"\u22C5","\\centerdot"),ce(pe,ct,St,"\u22BA","\\intercal",!0),ce(pe,ct,St,"\u22D2","\\doublecap"),ce(pe,ct,St,"\u22D3","\\doublecup"),ce(pe,ct,St,"\u22A0","\\boxtimes",!0),ce(pe,ct,Me,"\u21E2","\\dashrightarrow",!0),ce(pe,ct,Me,"\u21E0","\\dashleftarrow",!0),ce(pe,ct,Me,"\u21C7","\\leftleftarrows",!0),ce(pe,ct,Me,"\u21C6","\\leftrightarrows",!0),ce(pe,ct,Me,"\u21DA","\\Lleftarrow",!0),ce(pe,ct,Me,"\u219E","\\twoheadleftarrow",!0),ce(pe,ct,Me,"\u21A2","\\leftarrowtail",!0),ce(pe,ct,Me,"\u21AB","\\looparrowleft",!0),ce(pe,ct,Me,"\u21CB","\\leftrightharpoons",!0),ce(pe,ct,Me,"\u21B6","\\curvearrowleft",!0),ce(pe,ct,Me,"\u21BA","\\circlearrowleft",!0),ce(pe,ct,Me,"\u21B0","\\Lsh",!0),ce(pe,ct,Me,"\u21C8","\\upuparrows",!0),ce(pe,ct,Me,"\u21BF","\\upharpoonleft",!0),ce(pe,ct,Me,"\u21C3","\\downharpoonleft",!0),ce(pe,ct,Me,"\u22B8","\\multimap",!0),ce(pe,ct,Me,"\u21AD","\\leftrightsquigarrow",!0),ce(pe,ct,Me,"\u21C9","\\rightrightarrows",!0),ce(pe,ct,Me,"\u21C4","\\rightleftarrows",!0),ce(pe,ct,Me,"\u21A0","\\twoheadrightarrow",!0),ce(pe,ct,Me,"\u21A3","\\rightarrowtail",!0),ce(pe,ct,Me,"\u21AC","\\looparrowright",!0),ce(pe,ct,Me,"\u21B7","\\curvearrowright",!0),ce(pe,ct,Me,"\u21BB","\\circlearrowright",!0),ce(pe,ct,Me,"\u21B1","\\Rsh",!0),ce(pe,ct,Me,"\u21CA","\\downdownarrows",!0),ce(pe,ct,Me,"\u21BE","\\upharpoonright",!0),ce(pe,ct,Me,"\u21C2","\\downharpoonright",!0),ce(pe,ct,Me,"\u21DD","\\rightsquigarrow",!0),ce(pe,ct,Me,"\u21DD","\\leadsto"),ce(pe,ct,Me,"\u21DB","\\Rrightarrow",!0),ce(pe,ct,Me,"\u21BE","\\restriction"),ce(pe,Ce,At,"\u2018","`"),ce(pe,Ce,At,"$","\\$"),ce(Dt,Ce,At,"$","\\$"),ce(Dt,Ce,At,"$","\\textdollar"),ce(pe,Ce,At,"%","\\%"),ce(Dt,Ce,At,"%","\\%"),ce(pe,Ce,At,"_","\\_"),ce(Dt,Ce,At,"_","\\_"),ce(Dt,Ce,At,"_","\\textunderscore"),ce(pe,Ce,At,"\u2220","\\angle",!0),ce(pe,Ce,At,"\u221E","\\infty",!0),ce(pe,Ce,At,"\u2032","\\prime"),ce(pe,Ce,At,"\u25B3","\\triangle"),ce(pe,Ce,At,"\u0393","\\Gamma",!0),ce(pe,Ce,At,"\u0394","\\Delta",!0),ce(pe,Ce,At,"\u0398","\\Theta",!0),ce(pe,Ce,At,"\u039B","\\Lambda",!0),ce(pe,Ce,At,"\u039E","\\Xi",!0),ce(pe,Ce,At,"\u03A0","\\Pi",!0),ce(pe,Ce,At,"\u03A3","\\Sigma",!0),ce(pe,Ce,At,"\u03A5","\\Upsilon",!0),ce(pe,Ce,At,"\u03A6","\\Phi",!0),ce(pe,Ce,At,"\u03A8","\\Psi",!0),ce(pe,Ce,At,"\u03A9","\\Omega",!0),ce(pe,Ce,At,"A","\u0391"),ce(pe,Ce,At,"B","\u0392"),ce(pe,Ce,At,"E","\u0395"),ce(pe,Ce,At,"Z","\u0396"),ce(pe,Ce,At,"H","\u0397"),ce(pe,Ce,At,"I","\u0399"),ce(pe,Ce,At,"K","\u039A"),ce(pe,Ce,At,"M","\u039C"),ce(pe,Ce,At,"N","\u039D"),ce(pe,Ce,At,"O","\u039F"),ce(pe,Ce,At,"P","\u03A1"),ce(pe,Ce,At,"T","\u03A4"),ce(pe,Ce,At,"X","\u03A7"),ce(pe,Ce,At,"\xAC","\\neg",!0),ce(pe,Ce,At,"\xAC","\\lnot"),ce(pe,Ce,At,"\u22A4","\\top"),ce(pe,Ce,At,"\u22A5","\\bot"),ce(pe,Ce,At,"\u2205","\\emptyset"),ce(pe,ct,At,"\u2205","\\varnothing"),ce(pe,Ce,be,"\u03B1","\\alpha",!0),ce(pe,Ce,be,"\u03B2","\\beta",!0),ce(pe,Ce,be,"\u03B3","\\gamma",!0),ce(pe,Ce,be,"\u03B4","\\delta",!0),ce(pe,Ce,be,"\u03F5","\\epsilon",!0),ce(pe,Ce,be,"\u03B6","\\zeta",!0),ce(pe,Ce,be,"\u03B7","\\eta",!0),ce(pe,Ce,be,"\u03B8","\\theta",!0),ce(pe,Ce,be,"\u03B9","\\iota",!0),ce(pe,Ce,be,"\u03BA","\\kappa",!0),ce(pe,Ce,be,"\u03BB","\\lambda",!0),ce(pe,Ce,be,"\u03BC","\\mu",!0),ce(pe,Ce,be,"\u03BD","\\nu",!0),ce(pe,Ce,be,"\u03BE","\\xi",!0),ce(pe,Ce,be,"\u03BF","\\omicron",!0),ce(pe,Ce,be,"\u03C0","\\pi",!0),ce(pe,Ce,be,"\u03C1","\\rho",!0),ce(pe,Ce,be,"\u03C3","\\sigma",!0),ce(pe,Ce,be,"\u03C4","\\tau",!0),ce(pe,Ce,be,"\u03C5","\\upsilon",!0),ce(pe,Ce,be,"\u03D5","\\phi",!0),ce(pe,Ce,be,"\u03C7","\\chi",!0),ce(pe,Ce,be,"\u03C8","\\psi",!0),ce(pe,Ce,be,"\u03C9","\\omega",!0),ce(pe,Ce,be,"\u03B5","\\varepsilon",!0),ce(pe,Ce,be,"\u03D1","\\vartheta",!0),ce(pe,Ce,be,"\u03D6","\\varpi",!0),ce(pe,Ce,be,"\u03F1","\\varrho",!0),ce(pe,Ce,be,"\u03C2","\\varsigma",!0),ce(pe,Ce,be,"\u03C6","\\varphi",!0),ce(pe,Ce,St,"\u2217","*"),ce(pe,Ce,St,"+","+"),ce(pe,Ce,St,"\u2212","-"),ce(pe,Ce,St,"\u22C5","\\cdot",!0),ce(pe,Ce,St,"\u2218","\\circ"),ce(pe,Ce,St,"\xF7","\\div",!0),ce(pe,Ce,St,"\xB1","\\pm",!0),ce(pe,Ce,St,"\xD7","\\times",!0),ce(pe,Ce,St,"\u2229","\\cap",!0),ce(pe,Ce,St,"\u222A","\\cup",!0),ce(pe,Ce,St,"\u2216","\\setminus"),ce(pe,Ce,St,"\u2227","\\land"),ce(pe,Ce,St,"\u2228","\\lor"),ce(pe,Ce,St,"\u2227","\\wedge",!0),ce(pe,Ce,St,"\u2228","\\vee",!0),ce(pe,Ce,At,"\u221A","\\surd"),ce(pe,Ce,vt,"(","("),ce(pe,Ce,vt,"[","["),ce(pe,Ce,vt,"\u27E8","\\langle",!0),ce(pe,Ce,vt,"\u2223","\\lvert"),ce(pe,Ce,vt,"\u2225","\\lVert"),ce(pe,Ce,Ie,")",")"),ce(pe,Ce,Ie,"]","]"),ce(pe,Ce,Ie,"?","?"),ce(pe,Ce,Ie,"!","!"),ce(pe,Ce,Ie,"\u27E9","\\rangle",!0),ce(pe,Ce,Ie,"\u2223","\\rvert"),ce(pe,Ce,Ie,"\u2225","\\rVert"),ce(pe,Ce,Me,"=","="),ce(pe,Ce,Me,"<","<"),ce(pe,Ce,Me,">",">"),ce(pe,Ce,Me,":",":"),ce(pe,Ce,Me,"\u2248","\\approx",!0),ce(pe,Ce,Me,"\u2245","\\cong",!0),ce(pe,Ce,Me,"\u2265","\\ge"),ce(pe,Ce,Me,"\u2265","\\geq",!0),ce(pe,Ce,Me,"\u2190","\\gets"),ce(pe,Ce,Me,">","\\gt"),ce(pe,Ce,Me,"\u2208","\\in",!0),ce(pe,Ce,Me,"\uE020","\\@not"),ce(pe,Ce,Me,"\u2282","\\subset",!0),ce(pe,Ce,Me,"\u2283","\\supset",!0),ce(pe,Ce,Me,"\u2286","\\subseteq",!0),ce(pe,Ce,Me,"\u2287","\\supseteq",!0),ce(pe,ct,Me,"\u2288","\\nsubseteq",!0),ce(pe,ct,Me,"\u2289","\\nsupseteq",!0),ce(pe,Ce,Me,"\u22A8","\\models"),ce(pe,Ce,Me,"\u2190","\\leftarrow",!0),ce(pe,Ce,Me,"\u2264","\\le"),ce(pe,Ce,Me,"\u2264","\\leq",!0),ce(pe,Ce,Me,"<","\\lt"),ce(pe,Ce,Me,"\u2192","\\rightarrow",!0),ce(pe,Ce,Me,"\u2192","\\to"),ce(pe,ct,Me,"\u2271","\\ngeq",!0),ce(pe,ct,Me,"\u2270","\\nleq",!0),ce(pe,Ce,Or,"\xA0","\\ "),ce(pe,Ce,Or,"\xA0","~"),ce(pe,Ce,Or,"\xA0","\\space"),ce(pe,Ce,Or,"\xA0","\\nobreakspace"),ce(Dt,Ce,Or,"\xA0","\\ "),ce(Dt,Ce,Or,"\xA0","~"),ce(Dt,Ce,Or,"\xA0","\\space"),ce(Dt,Ce,Or,"\xA0","\\nobreakspace"),ce(pe,Ce,Or,null,"\\nobreak"),ce(pe,Ce,Or,null,"\\allowbreak"),ce(pe,Ce,Lt,",",","),ce(pe,Ce,Lt,";",";"),ce(pe,ct,St,"\u22BC","\\barwedge",!0),ce(pe,ct,St,"\u22BB","\\veebar",!0),ce(pe,Ce,St,"\u2299","\\odot",!0),ce(pe,Ce,St,"\u2295","\\oplus",!0),ce(pe,Ce,St,"\u2297","\\otimes",!0),ce(pe,Ce,At,"\u2202","\\partial",!0),ce(pe,Ce,St,"\u2298","\\oslash",!0),ce(pe,ct,St,"\u229A","\\circledcirc",!0),ce(pe,ct,St,"\u22A1","\\boxdot",!0),ce(pe,Ce,St,"\u25B3","\\bigtriangleup"),ce(pe,Ce,St,"\u25BD","\\bigtriangledown"),ce(pe,Ce,St,"\u2020","\\dagger"),ce(pe,Ce,St,"\u22C4","\\diamond"),ce(pe,Ce,St,"\u22C6","\\star"),ce(pe,Ce,St,"\u25C3","\\triangleleft"),ce(pe,Ce,St,"\u25B9","\\triangleright"),ce(pe,Ce,vt,"{","\\{"),ce(Dt,Ce,At,"{","\\{"),ce(Dt,Ce,At,"{","\\textbraceleft"),ce(pe,Ce,Ie,"}","\\}"),ce(Dt,Ce,At,"}","\\}"),ce(Dt,Ce,At,"}","\\textbraceright"),ce(pe,Ce,vt,"{","\\lbrace"),ce(pe,Ce,Ie,"}","\\rbrace"),ce(pe,Ce,vt,"[","\\lbrack"),ce(Dt,Ce,At,"[","\\lbrack"),ce(pe,Ce,Ie,"]","\\rbrack"),ce(Dt,Ce,At,"]","\\rbrack"),ce(pe,Ce,vt,"(","\\lparen"),ce(pe,Ce,Ie,")","\\rparen"),ce(Dt,Ce,At,"<","\\textless"),ce(Dt,Ce,At,">","\\textgreater"),ce(pe,Ce,vt,"\u230A","\\lfloor",!0),ce(pe,Ce,Ie,"\u230B","\\rfloor",!0),ce(pe,Ce,vt,"\u2308","\\lceil",!0),ce(pe,Ce,Ie,"\u2309","\\rceil",!0),ce(pe,Ce,At,"\\","\\backslash"),ce(pe,Ce,At,"\u2223","|"),ce(pe,Ce,At,"\u2223","\\vert"),ce(Dt,Ce,At,"|","\\textbar"),ce(pe,Ce,At,"\u2225","\\|"),ce(pe,Ce,At,"\u2225","\\Vert"),ce(Dt,Ce,At,"\u2225","\\textbardbl"),ce(Dt,Ce,At,"~","\\textasciitilde"),ce(Dt,Ce,At,"\\","\\textbackslash"),ce(Dt,Ce,At,"^","\\textasciicircum"),ce(pe,Ce,Me,"\u2191","\\uparrow",!0),ce(pe,Ce,Me,"\u21D1","\\Uparrow",!0),ce(pe,Ce,Me,"\u2193","\\downarrow",!0),ce(pe,Ce,Me,"\u21D3","\\Downarrow",!0),ce(pe,Ce,Me,"\u2195","\\updownarrow",!0),ce(pe,Ce,Me,"\u21D5","\\Updownarrow",!0),ce(pe,Ce,Ye,"\u2210","\\coprod"),ce(pe,Ce,Ye,"\u22C1","\\bigvee"),ce(pe,Ce,Ye,"\u22C0","\\bigwedge"),ce(pe,Ce,Ye,"\u2A04","\\biguplus"),ce(pe,Ce,Ye,"\u22C2","\\bigcap"),ce(pe,Ce,Ye,"\u22C3","\\bigcup"),ce(pe,Ce,Ye,"\u222B","\\int"),ce(pe,Ce,Ye,"\u222B","\\intop"),ce(pe,Ce,Ye,"\u222C","\\iint"),ce(pe,Ce,Ye,"\u222D","\\iiint"),ce(pe,Ce,Ye,"\u220F","\\prod"),ce(pe,Ce,Ye,"\u2211","\\sum"),ce(pe,Ce,Ye,"\u2A02","\\bigotimes"),ce(pe,Ce,Ye,"\u2A01","\\bigoplus"),ce(pe,Ce,Ye,"\u2A00","\\bigodot"),ce(pe,Ce,Ye,"\u222E","\\oint"),ce(pe,Ce,Ye,"\u222F","\\oiint"),ce(pe,Ce,Ye,"\u2230","\\oiiint"),ce(pe,Ce,Ye,"\u2A06","\\bigsqcup"),ce(pe,Ce,Ye,"\u222B","\\smallint"),ce(Dt,Ce,wt,"\u2026","\\textellipsis"),ce(pe,Ce,wt,"\u2026","\\mathellipsis"),ce(Dt,Ce,wt,"\u2026","\\ldots",!0),ce(pe,Ce,wt,"\u2026","\\ldots",!0),ce(pe,Ce,wt,"\u22EF","\\@cdots",!0),ce(pe,Ce,wt,"\u22F1","\\ddots",!0),ce(pe,Ce,At,"\u22EE","\\varvdots"),ce(pe,Ce,Zt,"\u02CA","\\acute"),ce(pe,Ce,Zt,"\u02CB","\\grave"),ce(pe,Ce,Zt,"\xA8","\\ddot"),ce(pe,Ce,Zt,"~","\\tilde"),ce(pe,Ce,Zt,"\u02C9","\\bar"),ce(pe,Ce,Zt,"\u02D8","\\breve"),ce(pe,Ce,Zt,"\u02C7","\\check"),ce(pe,Ce,Zt,"^","\\hat"),ce(pe,Ce,Zt,"\u20D7","\\vec"),ce(pe,Ce,Zt,"\u02D9","\\dot"),ce(pe,Ce,Zt,"\u02DA","\\mathring"),ce(pe,Ce,be,"\u0131","\\imath",!0),ce(pe,Ce,be,"\u0237","\\jmath",!0),ce(Dt,Ce,At,"\u0131","\\i",!0),ce(Dt,Ce,At,"\u0237","\\j",!0),ce(Dt,Ce,At,"\xDF","\\ss",!0),ce(Dt,Ce,At,"\xE6","\\ae",!0),ce(Dt,Ce,At,"\xE6","\\ae",!0),ce(Dt,Ce,At,"\u0153","\\oe",!0),ce(Dt,Ce,At,"\xF8","\\o",!0),ce(Dt,Ce,At,"\xC6","\\AE",!0),ce(Dt,Ce,At,"\u0152","\\OE",!0),ce(Dt,Ce,At,"\xD8","\\O",!0),ce(Dt,Ce,Zt,"\u02CA","\\'"),ce(Dt,Ce,Zt,"\u02CB","\\`"),ce(Dt,Ce,Zt,"\u02C6","\\^"),ce(Dt,Ce,Zt,"\u02DC","\\~"),ce(Dt,Ce,Zt,"\u02C9","\\="),ce(Dt,Ce,Zt,"\u02D8","\\u"),ce(Dt,Ce,Zt,"\u02D9","\\."),ce(Dt,Ce,Zt,"\u02DA","\\r"),ce(Dt,Ce,Zt,"\u02C7","\\v"),ce(Dt,Ce,Zt,"\xA8",'\\"'),ce(Dt,Ce,Zt,"\u02DD","\\H"),ce(Dt,Ce,Zt,"\u25EF","\\textcircled");var Yr={"--":!0,"---":!0,"``":!0,"''":!0};ce(Dt,Ce,At,"\u2013","--"),ce(Dt,Ce,At,"\u2013","\\textendash"),ce(Dt,Ce,At,"\u2014","---"),ce(Dt,Ce,At,"\u2014","\\textemdash"),ce(Dt,Ce,At,"\u2018","`"),ce(Dt,Ce,At,"\u2018","\\textquoteleft"),ce(Dt,Ce,At,"\u2019","'"),ce(Dt,Ce,At,"\u2019","\\textquoteright"),ce(Dt,Ce,At,"\u201C","``"),ce(Dt,Ce,At,"\u201C","\\textquotedblleft"),ce(Dt,Ce,At,"\u201D","''"),ce(Dt,Ce,At,"\u201D","\\textquotedblright"),ce(pe,Ce,At,"\xB0","\\degree",!0),ce(Dt,Ce,At,"\xB0","\\degree"),ce(Dt,Ce,At,"\xB0","\\textdegree",!0),ce(pe,Ce,be,"\xA3","\\pounds"),ce(pe,Ce,be,"\xA3","\\mathsterling",!0),ce(Dt,Ce,be,"\xA3","\\pounds"),ce(Dt,Ce,be,"\xA3","\\textsterling",!0),ce(pe,ct,At,"\u2720","\\maltese"),ce(Dt,ct,At,"\u2720","\\maltese"),ce(Dt,Ce,Or,"\xA0","\\ "),ce(Dt,Ce,Or,"\xA0"," "),ce(Dt,Ce,Or,"\xA0","~");for(var rn='0123456789/@."',wr=0;wr<rn.length;wr++){var jr=rn.charAt(wr);ce(pe,Ce,At,jr,jr)}for(var mr='0123456789!@*()-=+[]<>|";:?/.,',Zr=0;Zr<mr.length;Zr++){var un=mr.charAt(Zr);ce(Dt,Ce,At,un,un)}for(var mn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",sr=0;sr<mn.length;sr++){var Rt=mn.charAt(sr);ce(pe,Ce,be,Rt,Rt),ce(Dt,Ce,At,Rt,Rt)}ce(pe,ct,At,"C","\u2102"),ce(Dt,ct,At,"C","\u2102"),ce(pe,ct,At,"H","\u210D"),ce(Dt,ct,At,"H","\u210D"),ce(pe,ct,At,"N","\u2115"),ce(Dt,ct,At,"N","\u2115"),ce(pe,ct,At,"P","\u2119"),ce(Dt,ct,At,"P","\u2119"),ce(pe,ct,At,"Q","\u211A"),ce(Dt,ct,At,"Q","\u211A"),ce(pe,ct,At,"R","\u211D"),ce(Dt,ct,At,"R","\u211D"),ce(pe,ct,At,"Z","\u2124"),ce(Dt,ct,At,"Z","\u2124"),ce(pe,Ce,be,"h","\u210E"),ce(Dt,Ce,be,"h","\u210E");for(var _t="",gt=0;gt<mn.length;gt++){var jt=mn.charAt(gt);_t=String.fromCharCode(55349,56320+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),_t=String.fromCharCode(55349,56372+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),_t=String.fromCharCode(55349,56424+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),_t=String.fromCharCode(55349,56580+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),_t=String.fromCharCode(55349,56736+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),_t=String.fromCharCode(55349,56788+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),_t=String.fromCharCode(55349,56840+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),_t=String.fromCharCode(55349,56944+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),gt<26&&(_t=String.fromCharCode(55349,56632+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t),_t=String.fromCharCode(55349,56476+gt),ce(pe,Ce,be,jt,_t),ce(Dt,Ce,At,jt,_t))}_t="\u{1D55C}",ce(pe,Ce,be,"k",_t),ce(Dt,Ce,At,"k",_t);for(var Ar=0;Ar<10;Ar++){var yr=Ar.toString();_t=String.fromCharCode(55349,57294+Ar),ce(pe,Ce,be,yr,_t),ce(Dt,Ce,At,yr,_t),_t=String.fromCharCode(55349,57314+Ar),ce(pe,Ce,be,yr,_t),ce(Dt,Ce,At,yr,_t),_t=String.fromCharCode(55349,57324+Ar),ce(pe,Ce,be,yr,_t),ce(Dt,Ce,At,yr,_t),_t=String.fromCharCode(55349,57334+Ar),ce(pe,Ce,be,yr,_t),ce(Dt,Ce,At,yr,_t)}for(var it="\xC7\xD0\xDE\xE7\xFE",Nr=0;Nr<it.length;Nr++){var An=it.charAt(Nr);ce(pe,Ce,be,An,An),ce(Dt,Ce,At,An,An)}ce(Dt,Ce,At,"\xF0","\xF0"),ce(Dt,Ce,At,"\u2013","\u2013"),ce(Dt,Ce,At,"\u2014","\u2014"),ce(Dt,Ce,At,"\u2018","\u2018"),ce(Dt,Ce,At,"\u2019","\u2019"),ce(Dt,Ce,At,"\u201C","\u201C"),ce(Dt,Ce,At,"\u201D","\u201D");var Jn=[["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"]],gr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],nn=function(Z,X){var te=Z.charCodeAt(0),de=Z.charCodeAt(1),Te=(te-55296)*1024+(de-56320)+65536,Ke=X==="math"?0:1;if(119808<=Te&&Te<120484){var Ct=Math.floor((Te-119808)/26);return[Jn[Ct][2],Jn[Ct][Ke]]}else if(120782<=Te&&Te<=120831){var Ut=Math.floor((Te-120782)/10);return[gr[Ut][2],gr[Ut][Ke]]}else{if(Te===120485||Te===120486)return[Jn[0][2],Jn[0][Ke]];if(120486<Te&&Te<120782)return["",""];throw new o("Unsupported character: "+Z)}},vn=[[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]],Wn=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],si=function(Z,X){return X.size<2?Z:vn[Z-1][X.size-1]},gi=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=Wn[this.size-1],this.maxSize=X.maxSize,this.minRuleThickness=X.minRuleThickness,this._fontMetrics=void 0}var Z=Ve.prototype;return Z.extend=function(te){var de={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var Te in te)te.hasOwnProperty(Te)&&(de[Te]=te[Te]);return new Ve(de)},Z.havingStyle=function(te){return this.style===te?this:this.extend({style:te,size:si(this.textSize,te)})},Z.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Z.havingSize=function(te){return this.size===te&&this.textSize===te?this:this.extend({style:this.style.text(),size:te,textSize:te,sizeMultiplier:Wn[te-1]})},Z.havingBaseStyle=function(te){te=te||this.style.text();var de=si(Ve.BASESIZE,te);return this.size===de&&this.textSize===Ve.BASESIZE&&this.style===te?this:this.extend({style:te,size:de})},Z.havingBaseSizing=function(){var te;switch(this.style.id){case 4:case 5:te=3;break;case 6:case 7:te=1;break;default:te=6}return this.extend({style:this.style.text(),size:te})},Z.withColor=function(te){return this.extend({color:te})},Z.withPhantom=function(){return this.extend({phantom:!0})},Z.withFont=function(te){return this.extend({font:te})},Z.withTextFontFamily=function(te){return this.extend({fontFamily:te,font:""})},Z.withTextFontWeight=function(te){return this.extend({fontWeight:te,font:""})},Z.withTextFontShape=function(te){return this.extend({fontShape:te,font:""})},Z.sizingClasses=function(te){return te.size!==this.size?["sizing","reset-size"+te.size,"size"+this.size]:[]},Z.baseSizingClasses=function(){return this.size!==Ve.BASESIZE?["sizing","reset-size"+this.size,"size"+Ve.BASESIZE]:[]},Z.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=Ht(this.size)),this._fontMetrics},Z.getColor=function(){return this.phantom?"transparent":this.color},Ve}();gi.BASESIZE=6;var aa=gi,ui={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Ni={ex:!0,em:!0,mu:!0},mi=function(Z){return typeof Z!="string"&&(Z=Z.unit),Z in ui||Z in Ni||Z==="ex"},Pi=function(Z,X){var te;if(Z.unit in ui)te=ui[Z.unit]/X.fontMetrics().ptPerEm/X.sizeMultiplier;else if(Z.unit==="mu")te=X.fontMetrics().cssEmPerMu;else{var de;if(X.style.isTight()?de=X.havingStyle(X.style.text()):de=X,Z.unit==="ex")te=de.fontMetrics().xHeight;else if(Z.unit==="em")te=de.fontMetrics().quad;else throw new o("Invalid unit: '"+Z.unit+"'");de!==X&&(te*=de.sizeMultiplier/X.sizeMultiplier)}return Math.min(Z.number*te,X.maxSize)},Ra=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],fi=function(Z,X,te){return Ge[te][Z]&&Ge[te][Z].replace&&(Z=Ge[te][Z].replace),{value:Z,metrics:Vt(Z,X,te)}},Hi=function(Z,X,te,de,Te){var Ke=fi(Z,X,te),Ct=Ke.metrics;Z=Ke.value;var Ut;if(Ct){var er=Ct.italic;(te==="text"||de&&de.font==="mathit")&&(er=0),Ut=new Se(Z,Ct.height,Ct.depth,er,Ct.skew,Ct.width,Te)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+Z+"' in style '"+X+"' and mode '"+te+"'")),Ut=new Se(Z,0,0,0,0,0,Te);if(de){Ut.maxFontSize=de.sizeMultiplier,de.style.isTight()&&Ut.classes.push("mtight");var br=de.getColor();br&&(Ut.style.color=br)}return Ut},bt=function(Z,X,te,de){return de===void 0&&(de=[]),te.font==="boldsymbol"&&fi(Z,"Main-Bold",X).metrics?Hi(Z,"Main-Bold",X,te,de.concat(["mathbf"])):Z==="\\"||Ge[X][Z].font==="main"?Hi(Z,"Main-Regular",X,te,de):Hi(Z,"AMS-Regular",X,te,de.concat(["amsrm"]))},ut=function(Z,X,te,de){return/[0-9]/.test(Z.charAt(0))||A.contains(Ra,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ii=function(Z,X,te,de){return A.contains(Ra,Z)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(Z.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Si=function(Z,X,te,de){return fi(Z,"Math-BoldItalic",X).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},li=function(Z,X,te){var de=Z.mode,Te=Z.text,Ke=["mord"],Ct=de==="math"||de==="text"&&X.font,Ut=Ct?X.font:X.fontFamily;if(Te.charCodeAt(0)===55349){var er=nn(Te,de),br=er[0],Gr=er[1];return Hi(Te,br,de,X,Ke.concat(Gr))}else if(Ut){var fn,Dn;if(Ut==="boldsymbol"||Ut==="mathnormal"){var Xn=Ut==="boldsymbol"?Si(Te,de,X,Ke):ii(Te,de,X,Ke);fn=Xn.fontName,Dn=[Xn.fontClass]}else A.contains(Ra,Te)?(fn="Main-Italic",Dn=["mathit"]):Ct?(fn=ze[Ut].fontName,Dn=[Ut]):(fn=Hr(Ut,X.fontWeight,X.fontShape),Dn=[Ut,X.fontWeight,X.fontShape]);if(fi(Te,fn,de).metrics)return Hi(Te,fn,de,X,Ke.concat(Dn));if(Yr.hasOwnProperty(Te)&&fn.substr(0,10)==="Typewriter"){for(var ei=[],Ci=0;Ci<Te.length;Ci++)ei.push(Hi(Te[Ci],fn,de,X,Ke.concat(Dn)));return Ot(ei)}}if(te==="mathord"){var Aa=ut(Te,de,X,Ke);return Hi(Te,Aa.fontName,de,X,Ke.concat([Aa.fontClass]))}else if(te==="textord"){var la=Ge[de][Te]&&Ge[de][Te].font;if(la==="ams"){var Er=Hr("amsrm",X.fontWeight,X.fontShape);return Hi(Te,Er,de,X,Ke.concat("amsrm",X.fontWeight,X.fontShape))}else if(la==="main"||!la){var ys=Hr("textrm",X.fontWeight,X.fontShape);return Hi(Te,ys,de,X,Ke.concat(X.fontWeight,X.fontShape))}else{var bs=Hr(la,X.fontWeight,X.fontShape);return Hi(Te,bs,de,X,Ke.concat(bs,X.fontWeight,X.fontShape))}}else throw new Error("unexpected type: "+te+" in makeOrd")},sa=function(Z,X){if(Pt(Z.classes)!==Pt(X.classes)||Z.skew!==X.skew||Z.maxFontSize!==X.maxFontSize)return!1;for(var te in Z.style)if(Z.style.hasOwnProperty(te)&&Z.style[te]!==X.style[te])return!1;for(var de in X.style)if(X.style.hasOwnProperty(de)&&Z.style[de]!==X.style[de])return!1;return!0},Ti=function(Z){for(var X=0;X<Z.length-1;X++){var te=Z[X],de=Z[X+1];te instanceof Se&&de instanceof Se&&sa(te,de)&&(te.text+=de.text,te.height=Math.max(te.height,de.height),te.depth=Math.max(te.depth,de.depth),te.italic=de.italic,Z.splice(X+1,1),X--)}return Z},pi=function(Z){for(var X=0,te=0,de=0,Te=0;Te<Z.children.length;Te++){var Ke=Z.children[Te];Ke.height>X&&(X=Ke.height),Ke.depth>te&&(te=Ke.depth),Ke.maxFontSize>de&&(de=Ke.maxFontSize)}Z.height=X,Z.depth=te,Z.maxFontSize=de},Rn=function(Z,X,te,de){var Te=new ht(Z,X,te,de);return pi(Te),Te},Jt=function(Z,X,te,de){return new ht(Z,X,te,de)},dt=function(Z,X,te){var de=Rn([Z],[],X);return de.height=Math.max(te||X.fontMetrics().defaultRuleThickness,X.minRuleThickness),de.style.borderBottomWidth=de.height+"em",de.maxFontSize=1,de},tt=function(Z,X,te,de){var Te=new Je(Z,X,te,de);return pi(Te),Te},Ot=function(Z){var X=new We(Z);return pi(X),X},mt=function(Z,X){return Z instanceof We?Rn([],[Z],X):Z},or=function(Z){if(Z.positionType==="individualShift"){for(var X=Z.children,te=[X[0]],de=-X[0].shift-X[0].elem.depth,Te=de,Ke=1;Ke<X.length;Ke++){var Ct=-X[Ke].shift-Te-X[Ke].elem.depth,Ut=Ct-(X[Ke-1].elem.height+X[Ke-1].elem.depth);Te=Te+Ct,te.push({type:"kern",size:Ut}),te.push(X[Ke])}return{children:te,depth:de}}var er;if(Z.positionType==="top"){for(var br=Z.positionData,Gr=0;Gr<Z.children.length;Gr++){var fn=Z.children[Gr];br-=fn.type==="kern"?fn.size:fn.elem.height+fn.elem.depth}er=br}else if(Z.positionType==="bottom")er=-Z.positionData;else{var Dn=Z.children[0];if(Dn.type!=="elem")throw new Error('First child must have type "elem".');if(Z.positionType==="shift")er=-Dn.elem.depth-Z.positionData;else if(Z.positionType==="firstBaseline")er=-Dn.elem.depth;else throw new Error("Invalid positionType "+Z.positionType+".")}return{children:Z.children,depth:er}},lr=function(Z,X){for(var te=or(Z),de=te.children,Te=te.depth,Ke=0,Ct=0;Ct<de.length;Ct++){var Ut=de[Ct];if(Ut.type==="elem"){var er=Ut.elem;Ke=Math.max(Ke,er.maxFontSize,er.height)}}Ke+=2;var br=Rn(["pstrut"],[]);br.style.height=Ke+"em";for(var Gr=[],fn=Te,Dn=Te,Xn=Te,ei=0;ei<de.length;ei++){var Ci=de[ei];if(Ci.type==="kern")Xn+=Ci.size;else{var Aa=Ci.elem,la=Ci.wrapperClasses||[],Er=Ci.wrapperStyle||{},ys=Rn(la,[br,Aa],void 0,Er);ys.style.top=-Ke-Xn-Aa.depth+"em",Ci.marginLeft&&(ys.style.marginLeft=Ci.marginLeft),Ci.marginRight&&(ys.style.marginRight=Ci.marginRight),Gr.push(ys),Xn+=Aa.height+Aa.depth}fn=Math.min(fn,Xn),Dn=Math.max(Dn,Xn)}var bs=Rn(["vlist"],Gr);bs.style.height=Dn+"em";var Ws;if(fn<0){var os=Rn([],[]),Ua=Rn(["vlist"],[os]);Ua.style.height=-fn+"em";var io=Rn(["vlist-s"],[new Se("\u200B")]);Ws=[Rn(["vlist-r"],[bs,io]),Rn(["vlist-r"],[Ua])]}else Ws=[Rn(["vlist-r"],[bs])];var Qs=Rn(["vlist-t"],Ws);return Ws.length===2&&Qs.classes.push("vlist-t2"),Qs.height=Dn,Qs.depth=-fn,Qs},Ir=function(Z,X){var te=Rn(["mspace"],[],X),de=Pi(Z,X);return te.style.marginRight=de+"em",te},Hr=function(Z,X,te){var de="";switch(Z){case"amsrm":de="AMS";break;case"textrm":de="Main";break;case"textsf":de="SansSerif";break;case"texttt":de="Typewriter";break;default:de=Z}var Te;return X==="textbf"&&te==="textit"?Te="BoldItalic":X==="textbf"?Te="Bold":X==="textit"?Te="Italic":Te="Regular",de+"-"+Te},ze={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},et={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},xe=function(Z,X){var te=et[Z],de=te[0],Te=te[1],Ke=te[2],Ct=new je(de),Ut=new Le([Ct],{width:Te+"em",height:Ke+"em",style:"width:"+Te+"em",viewBox:"0 0 "+1e3*Te+" "+1e3*Ke,preserveAspectRatio:"xMinYMin"}),er=Jt(["overlay"],[Ut],X);return er.height=Ke,er.style.height=Ke+"em",er.style.width=Te+"em",er},at={fontMap:ze,makeSymbol:Hi,mathsym:bt,makeSpan:Rn,makeSvgSpan:Jt,makeLineSpan:dt,makeAnchor:tt,makeFragment:Ot,wrapFragment:mt,makeVList:lr,makeOrd:li,makeGlue:Ir,staticSvg:xe,svgData:et,tryCombineChars:Ti};function tr(Ve,Z){var X=Cr(Ve,Z);if(!X)throw new Error("Expected node of type "+Z+", but got "+(Ve?"node of type "+Ve.type:String(Ve)));return X}function Cr(Ve,Z){return Ve&&Ve.type===Z?Ve:null}function kr(Ve,Z){var X=Pr(Ve,Z);if(!X)throw new Error('Expected node of type "atom" and family "'+Z+'", but got '+(Ve?Ve.type==="atom"?"atom of family "+Ve.family:"node of type "+Ve.type:String(Ve)));return X}function Pr(Ve,Z){return Ve&&Ve.type==="atom"&&Ve.family===Z?Ve:null}function Rr(Ve){var Z=Tn(Ve);if(!Z)throw new Error("Expected node of symbol group type, but got "+(Ve?"node of type "+Ve.type:String(Ve)));return Z}function Tn(Ve){return Ve&&(Ve.type==="atom"||Tt.hasOwnProperty(Ve.type))?Ve:null}var Tr={number:3,unit:"mu"},pn={number:4,unit:"mu"},sn={number:5,unit:"mu"},ln={mord:{mop:Tr,mbin:pn,mrel:sn,minner:Tr},mop:{mord:Tr,mop:Tr,mrel:sn,minner:Tr},mbin:{mord:pn,mop:pn,mopen:pn,minner:pn},mrel:{mord:sn,mop:sn,mopen:sn,minner:sn},mopen:{},mclose:{mop:Tr,mbin:pn,mrel:sn,minner:Tr},mpunct:{mord:Tr,mop:Tr,mrel:sn,mopen:Tr,mclose:Tr,mpunct:Tr,minner:Tr},minner:{mord:Tr,mop:Tr,mbin:pn,mrel:sn,mopen:Tr,mpunct:Tr,minner:Tr}},Ln={mord:{mop:Tr},mop:{mord:Tr,mop:Tr},mbin:{},mrel:{},mopen:{},mclose:{mop:Tr},mpunct:{},minner:{mop:Tr}},Ia={},ji={},Ii={};function En(Ve){for(var Z=Ve.type,X=Ve.names,te=Ve.props,de=Ve.handler,Te=Ve.htmlBuilder,Ke=Ve.mathmlBuilder,Ct={type:Z,numArgs:te.numArgs,argTypes:te.argTypes,greediness:te.greediness===void 0?1:te.greediness,allowedInText:!!te.allowedInText,allowedInMath:te.allowedInMath===void 0?!0:te.allowedInMath,numOptionalArgs:te.numOptionalArgs||0,infix:!!te.infix,handler:de},Ut=0;Ut<X.length;++Ut)Ia[X[Ut]]=Ct;Z&&(Te&&(ji[Z]=Te),Ke&&(Ii[Z]=Ke))}function yi(Ve){var Z=Ve.type,X=Ve.htmlBuilder,te=Ve.mathmlBuilder;En({type:Z,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:X,mathmlBuilder:te})}var Vi=function(Z){var X=Cr(Z,"ordgroup");return X?X.body:[Z]},Ea=at.makeSpan,Gs=["leftmost","mbin","mopen","mrel","mop","mpunct"],$a=["rightmost","mrel","mclose","mpunct"],Bs={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT},ro={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ja=function(Z,X,te,de){de===void 0&&(de=[null,null]);for(var Te=[],Ke=0;Ke<Z.length;Ke++){var Ct=ra(Z[Ke],X);if(Ct instanceof We){var Ut=Ct.children;Te.push.apply(Te,Ut)}else Te.push(Ct)}if(!te)return Te;var er=X;if(Z.length===1){var br=Cr(Z[0],"sizing")||Cr(Z[0],"styling");br&&(br.type==="sizing"?er=X.havingSize(br.size):br.type==="styling"&&(er=X.havingStyle(Bs[br.style])))}var Gr=Ea([de[0]||"leftmost"],[],X),fn=Ea([de[1]||"rightmost"],[],X);return Hs(Te,function(Dn,Xn){var ei=Xn.classes[0],Ci=Dn.classes[0];ei==="mbin"&&A.contains($a,Ci)?Xn.classes[0]="mord":Ci==="mbin"&&A.contains(Gs,ei)&&(Dn.classes[0]="mord")},{node:Gr},fn),Hs(Te,function(Dn,Xn){var ei=fs(Xn),Ci=fs(Dn),Aa=ei&&Ci?Dn.hasClass("mtight")?Ln[ei][Ci]:ln[ei][Ci]:null;if(Aa)return at.makeGlue(Aa,er)},{node:Gr},fn),Te},Hs=function Ve(Z,X,te,de){de&&Z.push(de);for(var Te=0;Te<Z.length;Te++){var Ke=Z[Te],Ct=ya(Ke);if(Ct){Ve(Ct.children,X,te);continue}if(Ke.classes[0]!=="mspace"){var Ut=X(Ke,te.node);Ut&&(te.insertAfter?te.insertAfter(Ut):(Z.unshift(Ut),Te++)),te.node=Ke,te.insertAfter=function(er){return function(br){Z.splice(er+1,0,br),Te++}}(Te)}}de&&Z.pop()},ya=function(Z){return Z instanceof We||Z instanceof Je?Z:null},cs=function Ve(Z,X){var te=ya(Z);if(te){var de=te.children;if(de.length){if(X==="right")return Ve(de[de.length-1],"right");if(X==="left")return Ve(de[0],"left")}}return Z},fs=function(Z,X){return Z?(X&&(Z=cs(Z,X)),ro[Z.classes[0]]||null):null},Li=function(Z,X){var te=["nulldelimiter"].concat(Z.baseSizingClasses());return Ea(X.concat(te))},ra=function(Z,X,te){if(!Z)return Ea();if(ji[Z.type]){var de=ji[Z.type](Z,X);if(te&&X.size!==te.size){de=Ea(X.sizingClasses(te),[de],X);var Te=X.sizeMultiplier/te.sizeMultiplier;de.height*=Te,de.depth*=Te}return de}else throw new o("Got group of unknown type: '"+Z.type+"'")};function ks(Ve,Z){var X=Ea(["base"],Ve,Z),te=Ea(["strut"]);return te.style.height=X.height+X.depth+"em",te.style.verticalAlign=-X.depth+"em",X.children.unshift(te),X}function Mo(Ve,Z){var X=null;Ve.length===1&&Ve[0].type==="tag"&&(X=Ve[0].tag,Ve=Ve[0].body);for(var te=ja(Ve,Z,!0),de=[],Te=[],Ke=0;Ke<te.length;Ke++)if(Te.push(te[Ke]),te[Ke].hasClass("mbin")||te[Ke].hasClass("mrel")||te[Ke].hasClass("allowbreak")){for(var Ct=!1;Ke<te.length-1&&te[Ke+1].hasClass("mspace")&&!te[Ke+1].hasClass("newline");)Ke++,Te.push(te[Ke]),te[Ke].hasClass("nobreak")&&(Ct=!0);Ct||(de.push(ks(Te,Z)),Te=[])}else te[Ke].hasClass("newline")&&(Te.pop(),Te.length>0&&(de.push(ks(Te,Z)),Te=[]),de.push(te[Ke]));Te.length>0&&de.push(ks(Te,Z));var Ut;X&&(Ut=ks(ja(X,Z,!0)),Ut.classes=["tag"],de.push(Ut));var er=Ea(["katex-html"],de);if(er.setAttribute("aria-hidden","true"),Ut){var br=Ut.children[0];br.style.height=er.height+er.depth+"em",br.style.verticalAlign=-er.depth+"em"}return er}function Ya(Ve){return new We(Ve)}var Ns=function(){function Ve(X,te){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=X,this.attributes={},this.children=te||[]}var Z=Ve.prototype;return Z.setAttribute=function(te,de){this.attributes[te]=de},Z.getAttribute=function(te){return this.attributes[te]},Z.toNode=function(){var te=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var de in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,de)&&te.setAttribute(de,this.attributes[de]);for(var Te=0;Te<this.children.length;Te++)te.appendChild(this.children[Te].toNode());return te},Z.toMarkup=function(){var te="<"+this.type;for(var de in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,de)&&(te+=" "+de+'="',te+=A.escape(this.attributes[de]),te+='"');te+=">";for(var Te=0;Te<this.children.length;Te++)te+=this.children[Te].toMarkup();return te+="</"+this.type+">",te},Z.toText=function(){return this.children.map(function(te){return te.toText()}).join("")},Ve}(),is=function(){function Ve(X){this.text=void 0,this.text=X}var Z=Ve.prototype;return Z.toNode=function(){return document.createTextNode(this.text)},Z.toMarkup=function(){return A.escape(this.toText())},Z.toText=function(){return this.text},Ve}(),fo=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 Z=Ve.prototype;return Z.toNode=function(){if(this.character)return document.createTextNode(this.character);var te=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return te.setAttribute("width",this.width+"em"),te},Z.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},Z.toText=function(){return this.character?this.character:" "},Ve}(),bn={MathNode:Ns,TextNode:is,SpaceNode:fo,newDocumentFragment:Ya},as=function(Z,X,te){return Ge[X][Z]&&Ge[X][Z].replace&&Z.charCodeAt(0)!==55349&&!(Yr.hasOwnProperty(Z)&&te&&(te.fontFamily&&te.fontFamily.substr(4,2)==="tt"||te.font&&te.font.substr(4,2)==="tt"))&&(Z=Ge[X][Z].replace),new bn.TextNode(Z)},Ps=function(Z){return Z.length===1?Z[0]:new bn.MathNode("mrow",Z)},Is=function(Z,X){if(X.fontFamily==="texttt")return"monospace";if(X.fontFamily==="textsf")return X.fontShape==="textit"&&X.fontWeight==="textbf"?"sans-serif-bold-italic":X.fontShape==="textit"?"sans-serif-italic":X.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(X.fontShape==="textit"&&X.fontWeight==="textbf")return"bold-italic";if(X.fontShape==="textit")return"italic";if(X.fontWeight==="textbf")return"bold";var te=X.font;if(!te||te==="mathnormal")return null;var de=Z.mode;if(te==="mathit")return"italic";if(te==="boldsymbol")return"bold-italic";if(te==="mathbf")return"bold";if(te==="mathbb")return"double-struck";if(te==="mathfrak")return"fraktur";if(te==="mathscr"||te==="mathcal")return"script";if(te==="mathsf")return"sans-serif";if(te==="mathtt")return"monospace";var Te=Z.text;if(A.contains(["\\imath","\\jmath"],Te))return null;Ge[de][Te]&&Ge[de][Te].replace&&(Te=Ge[de][Te].replace);var Ke=at.fontMap[te].fontName;return Vt(Te,Ke,de)?at.fontMap[te].variant:null},oa=function(Z,X,te){if(Z.length===1){var de=Ja(Z[0],X);return te&&de instanceof Ns&&de.type==="mo"&&(de.setAttribute("lspace","0em"),de.setAttribute("rspace","0em")),[de]}for(var Te=[],Ke,Ct=0;Ct<Z.length;Ct++){var Ut=Ja(Z[Ct],X);if(Ut instanceof Ns&&Ke instanceof Ns){if(Ut.type==="mtext"&&Ke.type==="mtext"&&Ut.getAttribute("mathvariant")===Ke.getAttribute("mathvariant")){var er;(er=Ke.children).push.apply(er,Ut.children);continue}else if(Ut.type==="mn"&&Ke.type==="mn"){var br;(br=Ke.children).push.apply(br,Ut.children);continue}else if(Ut.type==="mi"&&Ut.children.length===1&&Ke.type==="mn"){var Gr=Ut.children[0];if(Gr instanceof is&&Gr.text==="."){var fn;(fn=Ke.children).push.apply(fn,Ut.children);continue}}else if(Ke.type==="mi"&&Ke.children.length===1){var Dn=Ke.children[0];if(Dn instanceof is&&Dn.text==="\u0338"&&(Ut.type==="mo"||Ut.type==="mi"||Ut.type==="mn")){var Xn=Ut.children[0];Xn instanceof is&&Xn.text.length>0&&(Xn.text=Xn.text.slice(0,1)+"\u0338"+Xn.text.slice(1),Te.pop())}}}Te.push(Ut),Ke=Ut}return Te},ss=function(Z,X,te){return Ps(oa(Z,X,te))},Ja=function(Z,X){if(!Z)return new bn.MathNode("mrow");if(Ii[Z.type]){var te=Ii[Z.type](Z,X);return te}else throw new o("Got group of unknown type: '"+Z.type+"'")};function $s(Ve,Z,X,te){var de=oa(Ve,X),Te;de.length===1&&de[0]instanceof Ns&&A.contains(["mrow","mtable"],de[0].type)?Te=de[0]:Te=new bn.MathNode("mrow",de);var Ke=new bn.MathNode("annotation",[new bn.TextNode(Z)]);Ke.setAttribute("encoding","application/x-tex");var Ct=new bn.MathNode("semantics",[Te,Ke]),Ut=new bn.MathNode("math",[Ct]);Ut.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var er=te?"katex":"katex-mathml";return at.makeSpan([er],[Ut])}var ho=function(Z){return new aa({style:Z.displayMode?z.DISPLAY:z.TEXT,maxSize:Z.maxSize,minRuleThickness:Z.minRuleThickness})},po=function(Z,X){if(X.displayMode){var te=["katex-display"];X.leqno&&te.push("leqno"),X.fleqn&&te.push("fleqn"),Z=at.makeSpan(te,[Z])}return Z},Fo=function(Z,X,te){var de=ho(te),Te;if(te.output==="mathml")return $s(Z,X,de,!0);if(te.output==="html"){var Ke=Mo(Z,de);Te=at.makeSpan(["katex"],[Ke])}else{var Ct=$s(Z,X,de,!1),Ut=Mo(Z,de);Te=at.makeSpan(["katex"],[Ct,Ut])}return po(Te,te)},tu=function(Z,X,te){var de=ho(te),Te=Mo(Z,de),Ke=at.makeSpan(["katex"],[Te]);return po(Ke,te)},zo=Fo,Io={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Zo=function(Z){var X=new bn.MathNode("mo",[new bn.TextNode(Io[Z.substr(1)])]);return X.setAttribute("stretchy","true"),X},ru={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]},Ho=function(Z){return Z.type==="ordgroup"?Z.body.length:1},ns=function(Z,X){function te(){var Ut=4e5,er=Z.label.substr(1);if(A.contains(["widehat","widecheck","widetilde","utilde"],er)){var br=Z,Gr=Ho(br.base),fn,Dn,Xn;if(Gr>5)er==="widehat"||er==="widecheck"?(fn=420,Ut=2364,Xn=.42,Dn=er+"4"):(fn=312,Ut=2340,Xn=.34,Dn="tilde4");else{var ei=[1,1,2,2,3,3][Gr];er==="widehat"||er==="widecheck"?(Ut=[0,1062,2364,2364,2364][ei],fn=[0,239,300,360,420][ei],Xn=[0,.24,.3,.3,.36,.42][ei],Dn=er+ei):(Ut=[0,600,1033,2339,2340][ei],fn=[0,260,286,306,312][ei],Xn=[0,.26,.286,.3,.306,.34][ei],Dn="tilde"+ei)}var Ci=new je(Dn),Aa=new Le([Ci],{width:"100%",height:Xn+"em",viewBox:"0 0 "+Ut+" "+fn,preserveAspectRatio:"none"});return{span:at.makeSvgSpan([],[Aa],X),minWidth:0,height:Xn}}else{var la=[],Er=ru[er],ys=Er[0],bs=Er[1],Ws=Er[2],os=Ws/1e3,Ua=ys.length,io,Qs;if(Ua===1){var ki=Er[3];io=["hide-tail"],Qs=[ki]}else if(Ua===2)io=["halfarrow-left","halfarrow-right"],Qs=["xMinYMin","xMaxYMin"];else if(Ua===3)io=["brace-left","brace-center","brace-right"],Qs=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Ua+" children.");for(var Ro=0;Ro<Ua;Ro++){var vo=new je(ys[Ro]),au=new Le([vo],{width:"400em",height:os+"em",viewBox:"0 0 "+Ut+" "+Ws,preserveAspectRatio:Qs[Ro]+" slice"}),qs=at.makeSvgSpan([io[Ro]],[au],X);if(Ua===1)return{span:qs,minWidth:bs,height:os};qs.style.height=os+"em",la.push(qs)}return{span:at.makeSpan(["stretchy"],la,X),minWidth:bs,height:os}}}var de=te(),Te=de.span,Ke=de.minWidth,Ct=de.height;return Te.height=Ct,Te.style.height=Ct+"em",Ke>0&&(Te.style.minWidth=Ke+"em"),Te},oi=function(Z,X,te,de){var Te,Ke=Z.height+Z.depth+2*te;if(/fbox|color/.test(X)){if(Te=at.makeSpan(["stretchy",X],[],de),X==="fbox"){var Ct=de.color&&de.getColor();Ct&&(Te.style.borderColor=Ct)}}else{var Ut=[];/^[bx]cancel$/.test(X)&&Ut.push(new He({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(X)&&Ut.push(new He({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var er=new Le(Ut,{width:"100%",height:Ke+"em"});Te=at.makeSvgSpan([],[er],de)}return Te.height=Ke,Te.style.height=Ke+"em",Te},_i={encloseSpan:oi,mathMLnode:Zo,svgSpan:ns},es=function(Z,X){var te,de,Te=Cr(Z,"supsub"),Ke;Te?(de=tr(Te.base,"accent"),te=de.base,Te.base=te,Ke=lt(ra(Te,X)),Te.base=de):(de=tr(Z,"accent"),te=de.base);var Ct=ra(te,X.havingCrampedStyle()),Ut=de.isShifty&&A.isCharacterBox(te),er=0;if(Ut){var br=A.getBaseElem(te),Gr=ra(br,X.havingCrampedStyle());er=rt(Gr).skew}var fn=Math.min(Ct.height,X.fontMetrics().xHeight),Dn;if(de.isStretchy)Dn=_i.svgSpan(de,X),Dn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"elem",elem:Dn,wrapperClasses:["svg-align"],wrapperStyle:er>0?{width:"calc(100% - "+2*er+"em)",marginLeft:2*er+"em"}:void 0}]},X);else{var Xn,ei;de.label==="\\vec"?(Xn=at.staticSvg("vec",X),ei=at.svgData.vec[1]):(Xn=at.makeOrd({mode:de.mode,text:de.label},X,"textord"),Xn=rt(Xn),Xn.italic=0,ei=Xn.width),Dn=at.makeSpan(["accent-body"],[Xn]);var Ci=de.label==="\\textcircled";Ci&&(Dn.classes.push("accent-full"),fn=Ct.height);var Aa=er;Ci||(Aa-=ei/2),Dn.style.left=Aa+"em",de.label==="\\textcircled"&&(Dn.style.top=".2em"),Dn=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"kern",size:-fn},{type:"elem",elem:Dn}]},X)}var la=at.makeSpan(["mord","accent"],[Dn],X);return Ke?(Ke.children[0]=la,Ke.height=Math.max(la.height,Ke.height),Ke.classes[0]="mord",Ke):la},ts=function(Z,X){var te=Z.isStretchy?_i.mathMLnode(Z.label):new bn.MathNode("mo",[as(Z.label,Z.mode)]),de=new bn.MathNode("mover",[Ja(Z.base,X),te]);return de.setAttribute("accent","true"),de},ds=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Ve){return"\\"+Ve}).join("|"));En({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(Z,X){var te=X[0],de=!ds.test(Z.funcName),Te=!de||Z.funcName==="\\widehat"||Z.funcName==="\\widetilde"||Z.funcName==="\\widecheck";return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:de,isShifty:Te,base:te}},htmlBuilder:es,mathmlBuilder:ts}),En({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){var te=X[0];return{type:"accent",mode:Z.parser.mode,label:Z.funcName,isStretchy:!1,isShifty:!0,base:te}},htmlBuilder:es,mathmlBuilder:ts}),En({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0];return{type:"accentUnder",mode:te.mode,label:de,base:Te}},htmlBuilder:function(Z,X){var te=ra(Z.base,X),de=_i.svgSpan(Z,X),Te=Z.label==="\\utilde"?.12:0,Ke=at.makeVList({positionType:"bottom",positionData:de.height+Te,children:[{type:"elem",elem:de,wrapperClasses:["svg-align"]},{type:"kern",size:Te},{type:"elem",elem:te}]},X);return at.makeSpan(["mord","accentunder"],[Ke],X)},mathmlBuilder:function(Z,X){var te=_i.mathMLnode(Z.label),de=new bn.MathNode("munder",[Ja(Z.base,X),te]);return de.setAttribute("accentunder","true"),de}});var Bo=function(Z){var X=new bn.MathNode("mpadded",Z?[Z]:[]);return X.setAttribute("width","+0.6em"),X.setAttribute("lspace","0.3em"),X};En({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,X,te){var de=Z.parser,Te=Z.funcName;return{type:"xArrow",mode:de.mode,label:Te,body:X[0],below:te[0]}},htmlBuilder:function(Z,X){var te=X.style,de=X.havingStyle(te.sup()),Te=at.wrapFragment(ra(Z.body,de,X),X);Te.classes.push("x-arrow-pad");var Ke;Z.below&&(de=X.havingStyle(te.sub()),Ke=at.wrapFragment(ra(Z.below,de,X),X),Ke.classes.push("x-arrow-pad"));var Ct=_i.svgSpan(Z,X),Ut=-X.fontMetrics().axisHeight+.5*Ct.height,er=-X.fontMetrics().axisHeight-.5*Ct.height-.111;(Te.depth>.25||Z.label==="\\xleftequilibrium")&&(er-=Te.depth);var br;if(Ke){var Gr=-X.fontMetrics().axisHeight+Ke.height+.5*Ct.height+.111;br=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:er},{type:"elem",elem:Ct,shift:Ut},{type:"elem",elem:Ke,shift:Gr}]},X)}else br=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Te,shift:er},{type:"elem",elem:Ct,shift:Ut}]},X);return br.children[0].children[0].children[1].classes.push("svg-align"),at.makeSpan(["mrel","x-arrow"],[br],X)},mathmlBuilder:function(Z,X){var te=_i.mathMLnode(Z.label),de;if(Z.body){var Te=Bo(Ja(Z.body,X));if(Z.below){var Ke=Bo(Ja(Z.below,X));de=new bn.MathNode("munderover",[te,Ke,Te])}else de=new bn.MathNode("mover",[te,Te])}else if(Z.below){var Ct=Bo(Ja(Z.below,X));de=new bn.MathNode("munder",[te,Ct])}else de=Bo(),de=new bn.MathNode("mover",[te,de]);return de}}),En({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){for(var te=Z.parser,de=tr(X[0],"ordgroup"),Te=de.body,Ke="",Ct=0;Ct<Te.length;Ct++){var Ut=tr(Te[Ct],"textord");Ke+=Ut.text}var er=parseInt(Ke);if(isNaN(er))throw new o("\\@char has non-numeric argument "+Ke);return{type:"textord",mode:te.mode,text:String.fromCharCode(er)}}});var Wo=function(Z,X){var te=ja(Z.body,X.withColor(Z.color),!1);return at.makeFragment(te)},du=function(Z,X){var te=oa(Z.body,X.withColor(Z.color)),de=new bn.MathNode("mstyle",te);return de.setAttribute("mathcolor",Z.color),de};En({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(Z,X){var te=Z.parser,de=tr(X[0],"color-token").color,Te=X[1];return{type:"color",mode:te.mode,color:de,body:Vi(Te)}},htmlBuilder:Wo,mathmlBuilder:du}),En({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(Z,X){var te=Z.parser,de=Z.breakOnTokenText,Te=tr(X[0],"color-token").color;te.gullet.macros.set("\\current@color",Te);var Ke=te.parseExpression(!0,de);return{type:"color",mode:te.mode,color:Te,body:Ke}},htmlBuilder:Wo,mathmlBuilder:du}),En({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,X,te){var de=Z.parser,Te=Z.funcName,Ke=te[0],Ct=Te==="\\cr",Ut=!1;return Ct||(de.settings.displayMode&&de.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Ut=!1:Ut=!0),{type:"cr",mode:de.mode,newLine:Ut,newRow:Ct,size:Ke&&tr(Ke,"size").value}},htmlBuilder:function(Z,X){if(Z.newRow)throw new o("\\cr valid only within a tabular/array environment");var te=at.makeSpan(["mspace"],[],X);return Z.newLine&&(te.classes.push("newline"),Z.size&&(te.style.marginTop=Pi(Z.size,X)+"em")),te},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mspace");return Z.newLine&&(te.setAttribute("linebreak","newline"),Z.size&&te.setAttribute("height",Pi(Z.size,X)+"em")),te}});var js=function(Z,X,te){var de=Ge.math[Z]&&Ge.math[Z].replace,Te=Vt(de||Z,X,te);if(!Te)throw new Error("Unsupported symbol "+Z+" and font size "+X+".");return Te},No=function(Z,X,te,de){var Te=te.havingBaseStyle(X),Ke=at.makeSpan(de.concat(Te.sizingClasses(te)),[Z],te),Ct=Te.sizeMultiplier/te.sizeMultiplier;return Ke.height*=Ct,Ke.depth*=Ct,Ke.maxFontSize=Te.sizeMultiplier,Ke},nu=function(Z,X,te){var de=X.havingBaseStyle(te),Te=(1-X.sizeMultiplier/de.sizeMultiplier)*X.fontMetrics().axisHeight;Z.classes.push("delimcenter"),Z.style.top=Te+"em",Z.height-=Te,Z.depth+=Te},yu=function(Z,X,te,de,Te,Ke){var Ct=at.makeSymbol(Z,"Main-Regular",Te,de),Ut=No(Ct,X,de,Ke);return te&&nu(Ut,de,X),Ut},Nu=function(Z,X,te,de){return at.makeSymbol(Z,"Size"+X+"-Regular",te,de)},Ju=function(Z,X,te,de,Te,Ke){var Ct=Nu(Z,X,Te,de),Ut=No(at.makeSpan(["delimsizing","size"+X],[Ct],de),z.TEXT,de,Ke);return te&&nu(Ut,de,z.TEXT),Ut},$o=function(Z,X,te){var de;X==="Size1-Regular"?de="delim-size1":de="delim-size4";var Te=at.makeSpan(["delimsizinginner",de],[at.makeSpan([],[at.makeSymbol(Z,X,te)])]);return{type:"elem",elem:Te}},oo={type:"kern",size:-.005},bu=function(Z,X,te,de,Te,Ke){var Ct,Ut,er,br;Ct=er=br=Z,Ut=null;var Gr="Size1-Regular";Z==="\\uparrow"?er=br="\u23D0":Z==="\\Uparrow"?er=br="\u2016":Z==="\\downarrow"?Ct=er="\u23D0":Z==="\\Downarrow"?Ct=er="\u2016":Z==="\\updownarrow"?(Ct="\\uparrow",er="\u23D0",br="\\downarrow"):Z==="\\Updownarrow"?(Ct="\\Uparrow",er="\u2016",br="\\Downarrow"):Z==="["||Z==="\\lbrack"?(Ct="\u23A1",er="\u23A2",br="\u23A3",Gr="Size4-Regular"):Z==="]"||Z==="\\rbrack"?(Ct="\u23A4",er="\u23A5",br="\u23A6",Gr="Size4-Regular"):Z==="\\lfloor"||Z==="\u230A"?(er=Ct="\u23A2",br="\u23A3",Gr="Size4-Regular"):Z==="\\lceil"||Z==="\u2308"?(Ct="\u23A1",er=br="\u23A2",Gr="Size4-Regular"):Z==="\\rfloor"||Z==="\u230B"?(er=Ct="\u23A5",br="\u23A6",Gr="Size4-Regular"):Z==="\\rceil"||Z==="\u2309"?(Ct="\u23A4",er=br="\u23A5",Gr="Size4-Regular"):Z==="("||Z==="\\lparen"?(Ct="\u239B",er="\u239C",br="\u239D",Gr="Size4-Regular"):Z===")"||Z==="\\rparen"?(Ct="\u239E",er="\u239F",br="\u23A0",Gr="Size4-Regular"):Z==="\\{"||Z==="\\lbrace"?(Ct="\u23A7",Ut="\u23A8",br="\u23A9",er="\u23AA",Gr="Size4-Regular"):Z==="\\}"||Z==="\\rbrace"?(Ct="\u23AB",Ut="\u23AC",br="\u23AD",er="\u23AA",Gr="Size4-Regular"):Z==="\\lgroup"||Z==="\u27EE"?(Ct="\u23A7",br="\u23A9",er="\u23AA",Gr="Size4-Regular"):Z==="\\rgroup"||Z==="\u27EF"?(Ct="\u23AB",br="\u23AD",er="\u23AA",Gr="Size4-Regular"):Z==="\\lmoustache"||Z==="\u23B0"?(Ct="\u23A7",br="\u23AD",er="\u23AA",Gr="Size4-Regular"):(Z==="\\rmoustache"||Z==="\u23B1")&&(Ct="\u23AB",br="\u23A9",er="\u23AA",Gr="Size4-Regular");var fn=js(Ct,Gr,Te),Dn=fn.height+fn.depth,Xn=js(er,Gr,Te),ei=Xn.height+Xn.depth,Ci=js(br,Gr,Te),Aa=Ci.height+Ci.depth,la=0,Er=1;if(Ut!==null){var ys=js(Ut,Gr,Te);la=ys.height+ys.depth,Er=2}var bs=Dn+Aa+la,Ws=Math.max(0,Math.ceil((X-bs)/(Er*ei))),os=bs+Ws*Er*ei,Ua=de.fontMetrics().axisHeight;te&&(Ua*=de.sizeMultiplier);var io=os/2-Ua,Qs=(Ws+1)*.005-ei,ki=[];if(ki.push($o(br,Gr,Te)),Ut===null)for(var Ro=0;Ro<Ws;Ro++)ki.push(oo),ki.push($o(er,Gr,Te));else{for(var vo=0;vo<Ws;vo++)ki.push(oo),ki.push($o(er,Gr,Te));ki.push({type:"kern",size:Qs}),ki.push($o(er,Gr,Te)),ki.push(oo),ki.push($o(Ut,Gr,Te));for(var au=0;au<Ws;au++)ki.push(oo),ki.push($o(er,Gr,Te))}ki.push({type:"kern",size:Qs}),ki.push($o(er,Gr,Te)),ki.push(oo),ki.push($o(Ct,Gr,Te));var qs=de.havingBaseStyle(z.TEXT),To=at.makeVList({positionType:"bottom",positionData:io,children:ki},qs);return No(at.makeSpan(["delimsizing","mult"],[To],qs),z.TEXT,de,Ke)},Do=80,Oo=.08,jo=function(Z,X,te,de,Te){var Ke=Yt(Z,de,te),Ct=new je(Z,Ke),Ut=new Le([Ct],{width:"400em",height:X+"em",viewBox:"0 0 400000 "+te,preserveAspectRatio:"xMinYMin slice"});return at.makeSvgSpan(["hide-tail"],[Ut],Te)},Iu=function(Z,X){var te=X.havingBaseSizing(),de=Sr("\\surd",Z*te.sizeMultiplier,ir,te),Te=te.sizeMultiplier,Ke=Math.max(0,X.minRuleThickness-X.fontMetrics().sqrtRuleThickness),Ct,Ut=0,er=0,br=0,Gr;return de.type==="small"?(br=1e3+1e3*Ke+Do,Z<1?Te=1:Z<1.4&&(Te=.7),Ut=(1+Ke+Oo)/Te,er=(1+Ke)/Te,Ct=jo("sqrtMain",Ut,br,Ke,X),Ct.style.minWidth="0.853em",Gr=.833/Te):de.type==="large"?(br=(1e3+Do)*Yo[de.size],er=(Yo[de.size]+Ke)/Te,Ut=(Yo[de.size]+Ke+Oo)/Te,Ct=jo("sqrtSize"+de.size,Ut,br,Ke,X),Ct.style.minWidth="1.02em",Gr=1/Te):(Ut=Z+Ke+Oo,er=Z+Ke,br=Math.floor(1e3*Z+Ke)+Do,Ct=jo("sqrtTall",Ut,br,Ke,X),Ct.style.minWidth="0.742em",Gr=1.056),Ct.height=er,Ct.style.height=Ut+"em",{span:Ct,advanceWidth:Gr,ruleWidth:(X.fontMetrics().sqrtRuleThickness+Ke)*Te}},Vo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],iu=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],uo=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Yo=[0,1.2,1.8,2.4,3],Du=function(Z,X,te,de,Te){if(Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle"),A.contains(Vo,Z)||A.contains(uo,Z))return Ju(Z,X,!1,te,de,Te);if(A.contains(iu,Z))return bu(Z,Yo[X],!1,te,de,Te);throw new o("Illegal delimiter: '"+Z+"'")},qt=[{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}],dr=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"stack"}],ir=[{type:"small",style:z.SCRIPTSCRIPT},{type:"small",style:z.SCRIPT},{type:"small",style:z.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],hr=function(Z){if(Z.type==="small")return"Main-Regular";if(Z.type==="large")return"Size"+Z.size+"-Regular";if(Z.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+Z.type+"' here.")},Sr=function(Z,X,te,de){for(var Te=Math.min(2,3-de.style.size),Ke=Te;Ke<te.length&&te[Ke].type!=="stack";Ke++){var Ct=js(Z,hr(te[Ke]),"math"),Ut=Ct.height+Ct.depth;if(te[Ke].type==="small"){var er=de.havingBaseStyle(te[Ke].style);Ut*=er.sizeMultiplier}if(Ut>X)return te[Ke]}return te[te.length-1]},xn=function(Z,X,te,de,Te,Ke){Z==="<"||Z==="\\lt"||Z==="\u27E8"?Z="\\langle":(Z===">"||Z==="\\gt"||Z==="\u27E9")&&(Z="\\rangle");var Ct;A.contains(uo,Z)?Ct=qt:A.contains(Vo,Z)?Ct=ir:Ct=dr;var Ut=Sr(Z,X,Ct,de);return Ut.type==="small"?yu(Z,Ut.style,te,de,Te,Ke):Ut.type==="large"?Ju(Z,Ut.size,te,de,Te,Ke):bu(Z,X,te,de,Te,Ke)},Gn=function(Z,X,te,de,Te,Ke){var Ct=de.fontMetrics().axisHeight*de.sizeMultiplier,Ut=901,er=5/de.fontMetrics().ptPerEm,br=Math.max(X-Ct,te+Ct),Gr=Math.max(br/500*Ut,2*br-er);return xn(Z,Gr,!0,de,Te,Ke)},Bn={sqrtImage:Iu,sizedDelim:Du,customSizedDelim:xn,leftRightDelim:Gn},Kn={"\\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}},di=["(","\\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 ci(Ve,Z){var X=Tn(Ve);if(X&&A.contains(di,X.text))return X;throw new o("Invalid delimiter: '"+(X?X.text:JSON.stringify(Ve))+"' after '"+Z.funcName+"'",Ve)}En({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(Z,X){var te=ci(X[0],Z);return{type:"delimsizing",mode:Z.parser.mode,size:Kn[Z.funcName].size,mclass:Kn[Z.funcName].mclass,delim:te.text}},htmlBuilder:function(Z,X){return Z.delim==="."?at.makeSpan([Z.mclass]):Bn.sizedDelim(Z.delim,Z.size,X,Z.mode,[Z.mclass])},mathmlBuilder:function(Z){var X=[];Z.delim!=="."&&X.push(as(Z.delim,Z.mode));var te=new bn.MathNode("mo",X);return Z.mclass==="mopen"||Z.mclass==="mclose"?te.setAttribute("fence","true"):te.setAttribute("fence","false"),te}});function cr(Ve){if(!Ve.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}En({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser.gullet.macros.get("\\current@color");if(te&&typeof te!="string")throw new o("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Z.parser.mode,delim:ci(X[0],Z).text,color:te}}}),En({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(Z,X){var te=ci(X[0],Z),de=Z.parser;++de.leftrightDepth;var Te=de.parseExpression(!1);--de.leftrightDepth,de.expect("\\right",!1);var Ke=tr(de.parseFunction(),"leftright-right");return{type:"leftright",mode:de.mode,body:Te,left:te.text,right:Ke.delim,rightColor:Ke.color}},htmlBuilder:function(Z,X){cr(Z);for(var te=ja(Z.body,X,!0,["mopen","mclose"]),de=0,Te=0,Ke=!1,Ct=0;Ct<te.length;Ct++)te[Ct].isMiddle?Ke=!0:(de=Math.max(te[Ct].height,de),Te=Math.max(te[Ct].depth,Te));de*=X.sizeMultiplier,Te*=X.sizeMultiplier;var Ut;if(Z.left==="."?Ut=Li(X,["mopen"]):Ut=Bn.leftRightDelim(Z.left,de,Te,X,Z.mode,["mopen"]),te.unshift(Ut),Ke)for(var er=1;er<te.length;er++){var br=te[er],Gr=br.isMiddle;Gr&&(te[er]=Bn.leftRightDelim(Gr.delim,de,Te,Gr.options,Z.mode,[]))}var fn;if(Z.right===".")fn=Li(X,["mclose"]);else{var Dn=Z.rightColor?X.withColor(Z.rightColor):X;fn=Bn.leftRightDelim(Z.right,de,Te,Dn,Z.mode,["mclose"])}return te.push(fn),at.makeSpan(["minner"],te,X)},mathmlBuilder:function(Z,X){cr(Z);var te=oa(Z.body,X);if(Z.left!=="."){var de=new bn.MathNode("mo",[as(Z.left,Z.mode)]);de.setAttribute("fence","true"),te.unshift(de)}if(Z.right!=="."){var Te=new bn.MathNode("mo",[as(Z.right,Z.mode)]);Te.setAttribute("fence","true"),Z.rightColor&&Te.setAttribute("mathcolor",Z.rightColor),te.push(Te)}return Ps(te)}}),En({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(Z,X){var te=ci(X[0],Z);if(!Z.parser.leftrightDepth)throw new o("\\middle without preceding \\left",te);return{type:"middle",mode:Z.parser.mode,delim:te.text}},htmlBuilder:function(Z,X){var te;if(Z.delim===".")te=Li(X,[]);else{te=Bn.sizedDelim(Z.delim,1,X,Z.mode,[]);var de={delim:Z.delim,options:X};te.isMiddle=de}return te},mathmlBuilder:function(Z,X){var te=Z.delim==="\\vert"||Z.delim==="|"?as("|","text"):as(Z.delim,Z.mode),de=new bn.MathNode("mo",[te]);return de.setAttribute("fence","true"),de.setAttribute("lspace","0.05em"),de.setAttribute("rspace","0.05em"),de}});var Mr=function(Z,X){var te=at.wrapFragment(ra(Z.body,X),X),de=Z.label.substr(1),Te=X.sizeMultiplier,Ke,Ct=0,Ut=A.isCharacterBox(Z.body);if(de==="sout")Ke=at.makeSpan(["stretchy","sout"]),Ke.height=X.fontMetrics().defaultRuleThickness/Te,Ct=-.5*X.fontMetrics().xHeight;else{/cancel/.test(de)?Ut||te.classes.push("cancel-pad"):te.classes.push("boxpad");var er=0,br=0;/box/.test(de)?(br=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness),er=X.fontMetrics().fboxsep+(de==="colorbox"?0:br)):er=Ut?.2:0,Ke=_i.encloseSpan(te,de,er,X),/fbox|boxed|fcolorbox/.test(de)&&(Ke.style.borderStyle="solid",Ke.style.borderWidth=br+"em"),Ct=te.depth+er,Z.backgroundColor&&(Ke.style.backgroundColor=Z.backgroundColor,Z.borderColor&&(Ke.style.borderColor=Z.borderColor))}var Gr;return Z.backgroundColor?Gr=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Ke,shift:Ct},{type:"elem",elem:te,shift:0}]},X):Gr=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:te,shift:0},{type:"elem",elem:Ke,shift:Ct,wrapperClasses:/cancel/.test(de)?["svg-align"]:[]}]},X),/cancel/.test(de)&&(Gr.height=te.height,Gr.depth=te.depth),/cancel/.test(de)&&!Ut?at.makeSpan(["mord","cancel-lap"],[Gr],X):at.makeSpan(["mord"],[Gr],X)},Fr=function(Z,X){var te=0,de=new bn.MathNode(Z.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ja(Z.body,X)]);switch(Z.label){case"\\cancel":de.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":de.setAttribute("notation","downdiagonalstrike");break;case"\\sout":de.setAttribute("notation","horizontalstrike");break;case"\\fbox":de.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(te=X.fontMetrics().fboxsep*X.fontMetrics().ptPerEm,de.setAttribute("width","+"+2*te+"pt"),de.setAttribute("height","+"+2*te+"pt"),de.setAttribute("lspace",te+"pt"),de.setAttribute("voffset",te+"pt"),Z.label==="\\fcolorbox"){var Te=Math.max(X.fontMetrics().fboxrule,X.minRuleThickness);de.setAttribute("style","border: "+Te+"em solid "+String(Z.borderColor))}break;case"\\xcancel":de.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Z.backgroundColor&&de.setAttribute("mathbackground",Z.backgroundColor),de};En({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(Z,X,te){var de=Z.parser,Te=Z.funcName,Ke=tr(X[0],"color-token").color,Ct=X[1];return{type:"enclose",mode:de.mode,label:Te,backgroundColor:Ke,body:Ct}},htmlBuilder:Mr,mathmlBuilder:Fr}),En({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(Z,X,te){var de=Z.parser,Te=Z.funcName,Ke=tr(X[0],"color-token").color,Ct=tr(X[1],"color-token").color,Ut=X[2];return{type:"enclose",mode:de.mode,label:Te,backgroundColor:Ct,borderColor:Ke,body:Ut}},htmlBuilder:Mr,mathmlBuilder:Fr}),En({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Z,X){var te=Z.parser;return{type:"enclose",mode:te.mode,label:"\\fbox",body:X[0]}}}),En({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(Z,X,te){var de=Z.parser,Te=Z.funcName,Ke=X[0];return{type:"enclose",mode:de.mode,label:Te,body:Ke}},htmlBuilder:Mr,mathmlBuilder:Fr});var Pn={};function In(Ve){for(var Z=Ve.type,X=Ve.names,te=Ve.props,de=Ve.handler,Te=Ve.htmlBuilder,Ke=Ve.mathmlBuilder,Ct={type:Z,numArgs:te.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:de},Ut=0;Ut<X.length;++Ut)Pn[X[Ut]]=Ct;Te&&(ji[Z]=Te),Ke&&(Ii[Z]=Ke)}function pt(Ve){var Z=[];Ve.consumeSpaces();for(var X=Ve.fetch().text;X==="\\hline"||X==="\\hdashline";)Ve.consume(),Z.push(X==="\\hdashline"),Ve.consumeSpaces(),X=Ve.fetch().text;return Z}function $n(Ve,Z,X){var te=Z.hskipBeforeAndAfter,de=Z.addJot,Te=Z.cols,Ke=Z.arraystretch,Ct=Z.colSeparationType;if(Ve.gullet.beginGroup(),Ve.gullet.macros.set("\\\\","\\cr"),!Ke){var Ut=Ve.gullet.expandMacroAsText("\\arraystretch");if(Ut==null)Ke=1;else if(Ke=parseFloat(Ut),!Ke||Ke<0)throw new o("Invalid \\arraystretch: "+Ut)}Ve.gullet.beginGroup();var er=[],br=[er],Gr=[],fn=[];for(fn.push(pt(Ve));;){var Dn=Ve.parseExpression(!1,"\\cr");Ve.gullet.endGroup(),Ve.gullet.beginGroup(),Dn={type:"ordgroup",mode:Ve.mode,body:Dn},X&&(Dn={type:"styling",mode:Ve.mode,style:X,body:[Dn]}),er.push(Dn);var Xn=Ve.fetch().text;if(Xn==="&")Ve.consume();else if(Xn==="\\end"){er.length===1&&Dn.type==="styling"&&Dn.body[0].body.length===0&&br.pop(),fn.length<br.length+1&&fn.push([]);break}else if(Xn==="\\cr"){var ei=tr(Ve.parseFunction(),"cr");Gr.push(ei.size),fn.push(pt(Ve)),er=[],br.push(er)}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:de,arraystretch:Ke,body:br,cols:Te,rowGaps:Gr,hskipBeforeAndAfter:te,hLinesBeforeRow:fn,colSeparationType:Ct}}function Vn(Ve){return Ve.substr(0,1)==="d"?"display":"text"}var zi=function(Z,X){var te,de,Te=Z.body.length,Ke=Z.hLinesBeforeRow,Ct=0,Ut=new Array(Te),er=[],br=Math.max(X.fontMetrics().arrayRuleWidth,X.minRuleThickness),Gr=1/X.fontMetrics().ptPerEm,fn=5*Gr;if(Z.colSeparationType&&Z.colSeparationType==="small"){var Dn=X.havingStyle(z.SCRIPT).sizeMultiplier;fn=.2778*(Dn/X.sizeMultiplier)}var Xn=12*Gr,ei=3*Gr,Ci=Z.arraystretch*Xn,Aa=.7*Ci,la=.3*Ci,Er=0;function ys(pu){for(var pl=0;pl<pu.length;++pl)pl>0&&(Er+=.25),er.push({pos:Er,isDashed:pu[pl]})}for(ys(Ke[0]),te=0;te<Z.body.length;++te){var bs=Z.body[te],Ws=Aa,os=la;Ct<bs.length&&(Ct=bs.length);var Ua=new Array(bs.length);for(de=0;de<bs.length;++de){var io=ra(bs[de],X);os<io.depth&&(os=io.depth),Ws<io.height&&(Ws=io.height),Ua[de]=io}var Qs=Z.rowGaps[te],ki=0;Qs&&(ki=Pi(Qs,X),ki>0&&(ki+=la,os<ki&&(os=ki),ki=0)),Z.addJot&&(os+=ei),Ua.height=Ws,Ua.depth=os,Er+=Ws,Ua.pos=Er,Er+=os+ki,Ut[te]=Ua,ys(Ke[te+1])}var Ro=Er/2+X.fontMetrics().axisHeight,vo=Z.cols||[],au=[],qs,To;for(de=0,To=0;de<Ct||To<vo.length;++de,++To){for(var xs=vo[To]||{},ic=!0;xs.type==="separator";){if(ic||(qs=at.makeSpan(["arraycolsep"],[]),qs.style.width=X.fontMetrics().doubleRuleSep+"em",au.push(qs)),xs.separator==="|"||xs.separator===":"){var cl=xs.separator==="|"?"solid":"dashed",fl=at.makeSpan(["vertical-separator"],[],X);fl.style.height=Er+"em",fl.style.borderRightWidth=br+"em",fl.style.borderRightStyle=cl,fl.style.margin="0 -"+br/2+"em",fl.style.verticalAlign=-(Er-Ro)+"em",au.push(fl)}else throw new o("Invalid separator type: "+xs.separator);To++,xs=vo[To]||{},ic=!1}if(!(de>=Ct)){var el=void 0;(de>0||Z.hskipBeforeAndAfter)&&(el=A.deflt(xs.pregap,fn),el!==0&&(qs=at.makeSpan(["arraycolsep"],[]),qs.style.width=el+"em",au.push(qs)));var Vs=[];for(te=0;te<Te;++te){var dl=Ut[te],Uu=dl[de];if(Uu){var Js=dl.pos-Ro;Uu.depth=dl.depth,Uu.height=dl.height,Vs.push({type:"elem",elem:Uu,shift:Js})}}Vs=at.makeVList({positionType:"individualShift",children:Vs},X),Vs=at.makeSpan(["col-align-"+(xs.align||"c")],[Vs]),au.push(Vs),(de<Ct-1||Z.hskipBeforeAndAfter)&&(el=A.deflt(xs.postgap,fn),el!==0&&(qs=at.makeSpan(["arraycolsep"],[]),qs.style.width=el+"em",au.push(qs)))}}if(Ut=at.makeSpan(["mtable"],au),er.length>0){for(var hl=at.makeLineSpan("hline",X,br),Ll=at.makeLineSpan("hdashline",X,br),hu=[{type:"elem",elem:Ut,shift:0}];er.length>0;){var Ml=er.pop(),eo=Ml.pos-Ro;Ml.isDashed?hu.push({type:"elem",elem:Ll,shift:eo}):hu.push({type:"elem",elem:hl,shift:eo})}Ut=at.makeVList({positionType:"individualShift",children:hu},X)}return at.makeSpan(["mord"],[Ut],X)},Yi={c:"center ",l:"left ",r:"right "},zr=function(Z,X){var te=new bn.MathNode("mtable",Z.body.map(function(Er){return new bn.MathNode("mtr",Er.map(function(ys){return new bn.MathNode("mtd",[Ja(ys,X)])}))})),de=Z.arraystretch===.5?.1:.16+Z.arraystretch-1+(Z.addJot?.09:0);te.setAttribute("rowspacing",de+"em");var Te="",Ke="";if(Z.cols){var Ct=Z.cols,Ut="",er=!1,br=0,Gr=Ct.length;Ct[0].type==="separator"&&(Te+="top ",br=1),Ct[Ct.length-1].type==="separator"&&(Te+="bottom ",Gr-=1);for(var fn=br;fn<Gr;fn++)Ct[fn].type==="align"?(Ke+=Yi[Ct[fn].align],er&&(Ut+="none "),er=!0):Ct[fn].type==="separator"&&er&&(Ut+=Ct[fn].separator==="|"?"solid ":"dashed ",er=!1);te.setAttribute("columnalign",Ke.trim()),/[sd]/.test(Ut)&&te.setAttribute("columnlines",Ut.trim())}if(Z.colSeparationType==="align"){for(var Dn=Z.cols||[],Xn="",ei=1;ei<Dn.length;ei++)Xn+=ei%2?"0em ":"1em ";te.setAttribute("columnspacing",Xn.trim())}else Z.colSeparationType==="alignat"?te.setAttribute("columnspacing","0em"):Z.colSeparationType==="small"?te.setAttribute("columnspacing","0.2778em"):te.setAttribute("columnspacing","1em");var Ci="",Aa=Z.hLinesBeforeRow;Te+=Aa[0].length>0?"left ":"",Te+=Aa[Aa.length-1].length>0?"right ":"";for(var la=1;la<Aa.length-1;la++)Ci+=Aa[la].length===0?"none ":Aa[la][0]?"dashed ":"solid ";return/[sd]/.test(Ci)&&te.setAttribute("rowlines",Ci.trim()),Te!==""&&(te=new bn.MathNode("menclose",[te]),te.setAttribute("notation",Te.trim())),Z.arraystretch&&Z.arraystretch<1&&(te=new bn.MathNode("mstyle",[te]),te.setAttribute("scriptlevel","1")),te},pa=function(Z,X){var te=[],de=$n(Z.parser,{cols:te,addJot:!0},"display"),Te,Ke=0,Ct={type:"ordgroup",mode:Z.mode,body:[]},Ut=Cr(X[0],"ordgroup");if(Ut){for(var er="",br=0;br<Ut.body.length;br++){var Gr=tr(Ut.body[br],"textord");er+=Gr.text}Te=Number(er),Ke=Te*2}var fn=!Ke;de.body.forEach(function(Ci){for(var Aa=1;Aa<Ci.length;Aa+=2){var la=tr(Ci[Aa],"styling"),Er=tr(la.body[0],"ordgroup");Er.body.unshift(Ct)}if(fn)Ke<Ci.length&&(Ke=Ci.length);else{var ys=Ci.length/2;if(Te<ys)throw new o("Too many math in a row: "+("expected "+Te+", but got "+ys),Ci[0])}});for(var Dn=0;Dn<Ke;++Dn){var Xn="r",ei=0;Dn%2===1?Xn="l":Dn>0&&fn&&(ei=1),te[Dn]={type:"align",align:Xn,pregap:ei,postgap:0}}return de.colSeparationType=fn?"align":"alignat",de};In({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Z,X){var te=Tn(X[0]),de=te?[X[0]]:tr(X[0],"ordgroup").body,Te=de.map(function(Ct){var Ut=Rr(Ct),er=Ut.text;if("lcr".indexOf(er)!==-1)return{type:"align",align:er};if(er==="|")return{type:"separator",separator:"|"};if(er===":")return{type:"separator",separator:":"};throw new o("Unknown column alignment: "+er,Ct)}),Ke={cols:Te,hskipBeforeAndAfter:!0};return $n(Z.parser,Ke,Vn(Z.envName))},htmlBuilder:zi,mathmlBuilder:zr}),In({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(Z){var X={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Z.envName],te={hskipBeforeAndAfter:!1},de=$n(Z.parser,te,Vn(Z.envName));return X?{type:"leftright",mode:Z.mode,body:[de],left:X[0],right:X[1],rightColor:void 0}:de},htmlBuilder:zi,mathmlBuilder:zr}),In({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Z){var X={arraystretch:.5},te=$n(Z.parser,X,"script");return te.colSeparationType="small",te},htmlBuilder:zi,mathmlBuilder:zr}),In({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Z,X){var te=Tn(X[0]),de=te?[X[0]]:tr(X[0],"ordgroup").body,Te=de.map(function(Ct){var Ut=Rr(Ct),er=Ut.text;if("lc".indexOf(er)!==-1)return{type:"align",align:er};throw new o("Unknown column alignment: "+er,Ct)});if(Te.length>1)throw new o("{subarray} can contain only one column");var Ke={cols:Te,hskipBeforeAndAfter:!1,arraystretch:.5};if(Ke=$n(Z.parser,Ke,"script"),Ke.body[0].length>1)throw new o("{subarray} can contain only one column");return Ke},htmlBuilder:zi,mathmlBuilder:zr}),In({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(Z){var X={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},te=$n(Z.parser,X,Vn(Z.envName));return{type:"leftright",mode:Z.mode,body:[te],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:zi,mathmlBuilder:zr}),In({type:"array",names:["aligned"],props:{numArgs:0},handler:pa,htmlBuilder:zi,mathmlBuilder:zr}),In({type:"array",names:["gathered"],props:{numArgs:0},handler:function(Z){var X={cols:[{type:"align",align:"c"}],addJot:!0};return $n(Z.parser,X,"display")},htmlBuilder:zi,mathmlBuilder:zr}),In({type:"array",names:["alignedat"],props:{numArgs:1},handler:pa,htmlBuilder:zi,mathmlBuilder:zr}),En({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Z,X){throw new o(Z.funcName+" valid only within array environment")}});var Ji=Pn,Ca=Ji;En({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0];if(Te.type!=="ordgroup")throw new o("Invalid environment name",Te);for(var Ke="",Ct=0;Ct<Te.body.length;++Ct)Ke+=tr(Te.body[Ct],"textord").text;if(de==="\\begin"){if(!Ca.hasOwnProperty(Ke))throw new o("No such environment: "+Ke,Te);var Ut=Ca[Ke],er=te.parseArguments("\\begin{"+Ke+"}",Ut),br=er.args,Gr=er.optArgs,fn={mode:te.mode,envName:Ke,parser:te},Dn=Ut.handler(fn,br,Gr);te.expect("\\end",!1);var Xn=te.nextToken,ei=tr(te.parseFunction(),"environment");if(ei.name!==Ke)throw new o("Mismatch: \\begin{"+Ke+"} matched by \\end{"+ei.name+"}",Xn);return Dn}return{type:"environment",mode:te.mode,name:Ke,nameGroup:Te}}});var hs=at.makeSpan;function Rs(Ve,Z){var X=ja(Ve.body,Z,!0);return hs([Ve.mclass],X,Z)}function vi(Ve,Z){var X,te=oa(Ve.body,Z);return Ve.mclass==="minner"?bn.newDocumentFragment(te):(Ve.mclass==="mord"?Ve.isCharacterBox?(X=te[0],X.type="mi"):X=new bn.MathNode("mi",te):(Ve.isCharacterBox?(X=te[0],X.type="mo"):X=new bn.MathNode("mo",te),Ve.mclass==="mbin"?(X.attributes.lspace="0.22em",X.attributes.rspace="0.22em"):Ve.mclass==="mpunct"?(X.attributes.lspace="0em",X.attributes.rspace="0.17em"):(Ve.mclass==="mopen"||Ve.mclass==="mclose")&&(X.attributes.lspace="0em",X.attributes.rspace="0em")),X)}En({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0];return{type:"mclass",mode:te.mode,mclass:"m"+de.substr(5),body:Vi(Te),isCharacterBox:A.isCharacterBox(Te)}},htmlBuilder:Rs,mathmlBuilder:vi});var ps=function(Z){var X=Z.type==="ordgroup"&&Z.body.length?Z.body[0]:Z;return X.type==="atom"&&(X.family==="bin"||X.family==="rel")?"m"+X.family:"mord"};En({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Z,X){var te=Z.parser;return{type:"mclass",mode:te.mode,mclass:ps(X[0]),body:[X[1]],isCharacterBox:A.isCharacterBox(X[1])}}}),En({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[1],Ke=X[0],Ct;de!=="\\stackrel"?Ct=ps(Te):Ct="mrel";var Ut={type:"op",mode:Te.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:de!=="\\stackrel",body:Vi(Te)},er={type:"supsub",mode:Ke.mode,base:Ut,sup:de==="\\underset"?null:Ke,sub:de==="\\underset"?Ke:null};return{type:"mclass",mode:te.mode,mclass:Ct,body:[er],isCharacterBox:A.isCharacterBox(er)}},htmlBuilder:Rs,mathmlBuilder:vi});var lo=function(Z,X){var te=Z.font,de=X.withFont(te);return ra(Z.body,de)},cn=function(Z,X){var te=Z.font,de=X.withFont(te);return Ja(Z.body,de)},Wa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};En({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0],Ke=de;return Ke in Wa&&(Ke=Wa[Ke]),{type:"font",mode:te.mode,font:Ke.slice(1),body:Te}},htmlBuilder:lo,mathmlBuilder:cn}),En({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(Z,X){var te=Z.parser,de=X[0],Te=A.isCharacterBox(de);return{type:"mclass",mode:te.mode,mclass:ps(de),body:[{type:"font",mode:te.mode,font:"boldsymbol",body:de}],isCharacterBox:Te}}}),En({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=Z.breakOnTokenText,Ke=te.mode,Ct=te.parseExpression(!0,Te),Ut="math"+de.slice(1);return{type:"font",mode:Ke,font:Ut,body:{type:"ordgroup",mode:te.mode,body:Ct}}},htmlBuilder:lo,mathmlBuilder:cn});var Ks=function(Z,X){var te=X;return Z==="display"?te=te.id>=z.SCRIPT.id?te.text():z.DISPLAY:Z==="text"&&te.size===z.DISPLAY.size?te=z.TEXT:Z==="script"?te=z.SCRIPT:Z==="scriptscript"&&(te=z.SCRIPTSCRIPT),te},mo=function(Z,X){var te=Ks(Z.size,X.style),de=te.fracNum(),Te=te.fracDen(),Ke;Ke=X.havingStyle(de);var Ct=ra(Z.numer,Ke,X);if(Z.continued){var Ut=8.5/X.fontMetrics().ptPerEm,er=3.5/X.fontMetrics().ptPerEm;Ct.height=Ct.height<Ut?Ut:Ct.height,Ct.depth=Ct.depth<er?er:Ct.depth}Ke=X.havingStyle(Te);var br=ra(Z.denom,Ke,X),Gr,fn,Dn;Z.hasBarLine?(Z.barSize?(fn=Pi(Z.barSize,X),Gr=at.makeLineSpan("frac-line",X,fn)):Gr=at.makeLineSpan("frac-line",X),fn=Gr.height,Dn=Gr.height):(Gr=null,fn=0,Dn=X.fontMetrics().defaultRuleThickness);var Xn,ei,Ci;te.size===z.DISPLAY.size||Z.size==="display"?(Xn=X.fontMetrics().num1,fn>0?ei=3*Dn:ei=7*Dn,Ci=X.fontMetrics().denom1):(fn>0?(Xn=X.fontMetrics().num2,ei=Dn):(Xn=X.fontMetrics().num3,ei=3*Dn),Ci=X.fontMetrics().denom2);var Aa;if(Gr){var Er=X.fontMetrics().axisHeight;Xn-Ct.depth-(Er+.5*fn)<ei&&(Xn+=ei-(Xn-Ct.depth-(Er+.5*fn))),Er-.5*fn-(br.height-Ci)<ei&&(Ci+=ei-(Er-.5*fn-(br.height-Ci)));var ys=-(Er-.5*fn);Aa=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:br,shift:Ci},{type:"elem",elem:Gr,shift:ys},{type:"elem",elem:Ct,shift:-Xn}]},X)}else{var la=Xn-Ct.depth-(br.height-Ci);la<ei&&(Xn+=.5*(ei-la),Ci+=.5*(ei-la)),Aa=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:br,shift:Ci},{type:"elem",elem:Ct,shift:-Xn}]},X)}Ke=X.havingStyle(te),Aa.height*=Ke.sizeMultiplier/X.sizeMultiplier,Aa.depth*=Ke.sizeMultiplier/X.sizeMultiplier;var bs;te.size===z.DISPLAY.size?bs=X.fontMetrics().delim1:bs=X.fontMetrics().delim2;var Ws,os;return Z.leftDelim==null?Ws=Li(X,["mopen"]):Ws=Bn.customSizedDelim(Z.leftDelim,bs,!0,X.havingStyle(te),Z.mode,["mopen"]),Z.continued?os=at.makeSpan([]):Z.rightDelim==null?os=Li(X,["mclose"]):os=Bn.customSizedDelim(Z.rightDelim,bs,!0,X.havingStyle(te),Z.mode,["mclose"]),at.makeSpan(["mord"].concat(Ke.sizingClasses(X)),[Ws,at.makeSpan(["mfrac"],[Aa]),os],X)},Hn=function(Z,X){var te=new bn.MathNode("mfrac",[Ja(Z.numer,X),Ja(Z.denom,X)]);if(!Z.hasBarLine)te.setAttribute("linethickness","0px");else if(Z.barSize){var de=Pi(Z.barSize,X);te.setAttribute("linethickness",de+"em")}var Te=Ks(Z.size,X.style);if(Te.size!==X.style.size){te=new bn.MathNode("mstyle",[te]);var Ke=Te.size===z.DISPLAY.size?"true":"false";te.setAttribute("displaystyle",Ke),te.setAttribute("scriptlevel","0")}if(Z.leftDelim!=null||Z.rightDelim!=null){var Ct=[];if(Z.leftDelim!=null){var Ut=new bn.MathNode("mo",[new bn.TextNode(Z.leftDelim.replace("\\",""))]);Ut.setAttribute("fence","true"),Ct.push(Ut)}if(Ct.push(te),Z.rightDelim!=null){var er=new bn.MathNode("mo",[new bn.TextNode(Z.rightDelim.replace("\\",""))]);er.setAttribute("fence","true"),Ct.push(er)}return Ps(Ct)}return te};En({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0],Ke=X[1],Ct,Ut=null,er=null,br="auto";switch(de){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":Ct=!0;break;case"\\\\atopfrac":Ct=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Ct=!1,Ut="(",er=")";break;case"\\\\bracefrac":Ct=!1,Ut="\\{",er="\\}";break;case"\\\\brackfrac":Ct=!1,Ut="[",er="]";break;default:throw new Error("Unrecognized genfrac command")}switch(de){case"\\cfrac":case"\\dfrac":case"\\dbinom":br="display";break;case"\\tfrac":case"\\tbinom":br="text";break}return{type:"genfrac",mode:te.mode,continued:de==="\\cfrac",numer:Te,denom:Ke,hasBarLine:Ct,leftDelim:Ut,rightDelim:er,size:br,barSize:null}},htmlBuilder:mo,mathmlBuilder:Hn}),En({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(Z){var X=Z.parser,te=Z.funcName,de=Z.token,Te;switch(te){case"\\over":Te="\\frac";break;case"\\choose":Te="\\binom";break;case"\\atop":Te="\\\\atopfrac";break;case"\\brace":Te="\\\\bracefrac";break;case"\\brack":Te="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:X.mode,replaceWith:Te,token:de}}});var Ls=["display","text","script","scriptscript"],no=function(Z){var X=null;return Z.length>0&&(X=Z,X=X==="."?null:X),X};En({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(Z,X){var te=Z.parser,de=X[4],Te=X[5],Ke=Cr(X[0],"atom");Ke&&(Ke=kr(X[0],"open"));var Ct=Ke?no(Ke.text):null,Ut=Cr(X[1],"atom");Ut&&(Ut=kr(X[1],"close"));var er=Ut?no(Ut.text):null,br=tr(X[2],"size"),Gr,fn=null;br.isBlank?Gr=!0:(fn=br.value,Gr=fn.number>0);var Dn="auto",Xn=Cr(X[3],"ordgroup");if(Xn){if(Xn.body.length>0){var ei=tr(Xn.body[0],"textord");Dn=Ls[Number(ei.text)]}}else Xn=tr(X[3],"textord"),Dn=Ls[Number(Xn.text)];return{type:"genfrac",mode:te.mode,numer:de,denom:Te,continued:!1,hasBarLine:Gr,barSize:fn,leftDelim:Ct,rightDelim:er,size:Dn}},htmlBuilder:mo,mathmlBuilder:Hn}),En({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=Z.token;return{type:"infix",mode:te.mode,replaceWith:"\\\\abovefrac",size:tr(X[0],"size").value,token:Te}}}),En({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0],Ke=k(tr(X[1],"infix").size),Ct=X[2],Ut=Ke.number>0;return{type:"genfrac",mode:te.mode,numer:Te,denom:Ct,continued:!1,hasBarLine:Ut,barSize:Ke,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:mo,mathmlBuilder:Hn});var Xe=function(Z,X){var te=X.style,de,Te,Ke=Cr(Z,"supsub");Ke?(de=Ke.sup?ra(Ke.sup,X.havingStyle(te.sup()),X):ra(Ke.sub,X.havingStyle(te.sub()),X),Te=tr(Ke.base,"horizBrace")):Te=tr(Z,"horizBrace");var Ct=ra(Te.base,X.havingBaseStyle(z.DISPLAY)),Ut=_i.svgSpan(Te,X),er;if(Te.isOver?(er=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Ct},{type:"kern",size:.1},{type:"elem",elem:Ut}]},X),er.children[0].children[0].children[1].classes.push("svg-align")):(er=at.makeVList({positionType:"bottom",positionData:Ct.depth+.1+Ut.height,children:[{type:"elem",elem:Ut},{type:"kern",size:.1},{type:"elem",elem:Ct}]},X),er.children[0].children[0].children[0].classes.push("svg-align")),de){var br=at.makeSpan(["mord",Te.isOver?"mover":"munder"],[er],X);Te.isOver?er=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:br},{type:"kern",size:.2},{type:"elem",elem:de}]},X):er=at.makeVList({positionType:"bottom",positionData:br.depth+.2+de.height+de.depth,children:[{type:"elem",elem:de},{type:"kern",size:.2},{type:"elem",elem:br}]},X)}return at.makeSpan(["mord",Te.isOver?"mover":"munder"],[er],X)},Qe=function(Z,X){var te=_i.mathMLnode(Z.label);return new bn.MathNode(Z.isOver?"mover":"munder",[Ja(Z.base,X),te])};En({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,de=Z.funcName;return{type:"horizBrace",mode:te.mode,label:de,isOver:/^\\over/.test(de),base:X[0]}},htmlBuilder:Xe,mathmlBuilder:Qe}),En({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=X[1],Te=tr(X[0],"url").url;return te.settings.isTrusted({command:"\\href",url:Te})?{type:"href",mode:te.mode,href:Te,body:Vi(de)}:te.formatUnsupportedCmd("\\href")},htmlBuilder:function(Z,X){var te=ja(Z.body,X,!1);return at.makeAnchor(Z.href,[],te,X)},mathmlBuilder:function(Z,X){var te=ss(Z.body,X);return te instanceof Ns||(te=new Ns("mrow",[te])),te.setAttribute("href",Z.href),te}}),En({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=tr(X[0],"url").url;if(!te.settings.isTrusted({command:"\\url",url:de}))return te.formatUnsupportedCmd("\\url");for(var Te=[],Ke=0;Ke<de.length;Ke++){var Ct=de[Ke];Ct==="~"&&(Ct="\\textasciitilde"),Te.push({type:"textord",mode:"text",text:Ct})}var Ut={type:"text",mode:te.mode,font:"\\texttt",body:Te};return{type:"href",mode:te.mode,href:de,body:Vi(Ut)}}}),En({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(Z,X){var te=Z.parser;return{type:"htmlmathml",mode:te.mode,html:Vi(X[0]),mathml:Vi(X[1])}},htmlBuilder:function(Z,X){var te=ja(Z.html,X,!1);return at.makeFragment(te)},mathmlBuilder:function(Z,X){return ss(Z.mathml,X)}});var Mt=function(Z){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(Z))return{number:+Z,unit:"bp"};var X=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(Z);if(!X)throw new o("Invalid size: '"+Z+"' in \\includegraphics");var te={number:+(X[1]+X[2]),unit:X[3]};if(!mi(te))throw new o("Invalid unit: '"+te.unit+"' in \\includegraphics.");return te};En({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(Z,X,te){var de=Z.parser,Te={number:0,unit:"em"},Ke={number:.9,unit:"em"},Ct={number:0,unit:"em"},Ut="";if(te[0])for(var er=tr(te[0],"raw").string,br=er.split(","),Gr=0;Gr<br.length;Gr++){var fn=br[Gr].split("=");if(fn.length===2){var Dn=fn[1].trim();switch(fn[0].trim()){case"alt":Ut=Dn;break;case"width":Te=Mt(Dn);break;case"height":Ke=Mt(Dn);break;case"totalheight":Ct=Mt(Dn);break;default:throw new o("Invalid key: '"+fn[0]+"' in \\includegraphics.")}}}var Xn=tr(X[0],"url").url;return Ut===""&&(Ut=Xn,Ut=Ut.replace(/^.*[\\/]/,""),Ut=Ut.substring(0,Ut.lastIndexOf("."))),de.settings.isTrusted({command:"\\includegraphics",url:Xn})?{type:"includegraphics",mode:de.mode,alt:Ut,width:Te,height:Ke,totalheight:Ct,src:Xn}:de.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(Z,X){var te=Pi(Z.height,X),de=0;Z.totalheight.number>0&&(de=Pi(Z.totalheight,X)-te,de=Number(de.toFixed(2)));var Te=0;Z.width.number>0&&(Te=Pi(Z.width,X));var Ke={height:te+de+"em"};Te>0&&(Ke.width=Te+"em"),de>0&&(Ke.verticalAlign=-de+"em");var Ct=new Ue(Z.src,Z.alt,Ke);return Ct.height=te,Ct.depth=de,Ct},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mglyph",[]);te.setAttribute("alt",Z.alt);var de=Pi(Z.height,X),Te=0;if(Z.totalheight.number>0&&(Te=Pi(Z.totalheight,X)-de,Te=Te.toFixed(2),te.setAttribute("valign","-"+Te+"em")),te.setAttribute("height",de+Te+"em"),Z.width.number>0){var Ke=Pi(Z.width,X);te.setAttribute("width",Ke+"em")}return te.setAttribute("src",Z.src),te}}),En({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=tr(X[0],"size");if(te.settings.strict){var Ke=de[1]==="m",Ct=Te.value.unit==="mu";Ke?(Ct||te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+de+" supports only mu units, "+("not "+Te.value.unit+" units")),te.mode!=="math"&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+de+" works only in math mode")):Ct&&te.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+de+" doesn't support mu units")}return{type:"kern",mode:te.mode,dimension:Te.value}},htmlBuilder:function(Z,X){return at.makeGlue(Z.dimension,X)},mathmlBuilder:function(Z,X){var te=Pi(Z.dimension,X);return new bn.SpaceNode(te)}}),En({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0];return{type:"lap",mode:te.mode,alignment:de.slice(5),body:Te}},htmlBuilder:function(Z,X){var te;Z.alignment==="clap"?(te=at.makeSpan([],[ra(Z.body,X)]),te=at.makeSpan(["inner"],[te],X)):te=at.makeSpan(["inner"],[ra(Z.body,X)]);var de=at.makeSpan(["fix"],[]),Te=at.makeSpan([Z.alignment],[te,de],X),Ke=at.makeSpan(["strut"]);return Ke.style.height=Te.height+Te.depth+"em",Ke.style.verticalAlign=-Te.depth+"em",Te.children.unshift(Ke),Te=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Te}]},X),at.makeSpan(["mord"],[Te],X)},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mpadded",[Ja(Z.body,X)]);if(Z.alignment!=="rlap"){var de=Z.alignment==="llap"?"-1":"-0.5";te.setAttribute("lspace",de+"width")}return te.setAttribute("width","0px"),te}}),En({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){var te=Z.funcName,de=Z.parser,Te=de.mode;de.switchMode("math");var Ke=te==="\\("?"\\)":"$",Ct=de.parseExpression(!1,Ke);return de.expect(Ke),de.switchMode(Te),{type:"styling",mode:de.mode,style:"text",body:Ct}}}),En({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Z,X){throw new o("Mismatched "+Z.funcName)}});var Gt=function(Z,X){switch(X.style.size){case z.DISPLAY.size:return Z.display;case z.TEXT.size:return Z.text;case z.SCRIPT.size:return Z.script;case z.SCRIPTSCRIPT.size:return Z.scriptscript;default:return Z.text}};En({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(Z,X){var te=Z.parser;return{type:"mathchoice",mode:te.mode,display:Vi(X[0]),text:Vi(X[1]),script:Vi(X[2]),scriptscript:Vi(X[3])}},htmlBuilder:function(Z,X){var te=Gt(Z,X),de=ja(te,X,!1);return at.makeFragment(de)},mathmlBuilder:function(Z,X){var te=Gt(Z,X);return ss(te,X)}});var vr=function(Z,X,te,de,Te,Ke,Ct){Z=at.makeSpan([],[Z]);var Ut,er;if(X){var br=ra(X,de.havingStyle(Te.sup()),de);er={elem:br,kern:Math.max(de.fontMetrics().bigOpSpacing1,de.fontMetrics().bigOpSpacing3-br.depth)}}if(te){var Gr=ra(te,de.havingStyle(Te.sub()),de);Ut={elem:Gr,kern:Math.max(de.fontMetrics().bigOpSpacing2,de.fontMetrics().bigOpSpacing4-Gr.height)}}var fn;if(er&&Ut){var Dn=de.fontMetrics().bigOpSpacing5+Ut.elem.height+Ut.elem.depth+Ut.kern+Z.depth+Ct;fn=at.makeVList({positionType:"bottom",positionData:Dn,children:[{type:"kern",size:de.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ut.elem,marginLeft:-Ke+"em"},{type:"kern",size:Ut.kern},{type:"elem",elem:Z},{type:"kern",size:er.kern},{type:"elem",elem:er.elem,marginLeft:Ke+"em"},{type:"kern",size:de.fontMetrics().bigOpSpacing5}]},de)}else if(Ut){var Xn=Z.height-Ct;fn=at.makeVList({positionType:"top",positionData:Xn,children:[{type:"kern",size:de.fontMetrics().bigOpSpacing5},{type:"elem",elem:Ut.elem,marginLeft:-Ke+"em"},{type:"kern",size:Ut.kern},{type:"elem",elem:Z}]},de)}else if(er){var ei=Z.depth+Ct;fn=at.makeVList({positionType:"bottom",positionData:ei,children:[{type:"elem",elem:Z},{type:"kern",size:er.kern},{type:"elem",elem:er.elem,marginLeft:Ke+"em"},{type:"kern",size:de.fontMetrics().bigOpSpacing5}]},de)}else return Z;return at.makeSpan(["mop","op-limits"],[fn],de)},Br=["\\smallint"],Wr=function(Z,X){var te,de,Te=!1,Ke,Ct=Cr(Z,"supsub");Ct?(te=Ct.sup,de=Ct.sub,Ke=tr(Ct.base,"op"),Te=!0):Ke=tr(Z,"op");var Ut=X.style,er=!1;Ut.size===z.DISPLAY.size&&Ke.symbol&&!A.contains(Br,Ke.name)&&(er=!0);var br;if(Ke.symbol){var Gr=er?"Size2-Regular":"Size1-Regular",fn="";if((Ke.name==="\\oiint"||Ke.name==="\\oiiint")&&(fn=Ke.name.substr(1),Ke.name=fn==="oiint"?"\\iint":"\\iiint"),br=at.makeSymbol(Ke.name,Gr,"math",X,["mop","op-symbol",er?"large-op":"small-op"]),fn.length>0){var Dn=br.italic,Xn=at.staticSvg(fn+"Size"+(er?"2":"1"),X);br=at.makeVList({positionType:"individualShift",children:[{type:"elem",elem:br,shift:0},{type:"elem",elem:Xn,shift:er?.08:0}]},X),Ke.name="\\"+fn,br.classes.unshift("mop"),br.italic=Dn}}else if(Ke.body){var ei=ja(Ke.body,X,!0);ei.length===1&&ei[0]instanceof Se?(br=ei[0],br.classes[0]="mop"):br=at.makeSpan(["mop"],at.tryCombineChars(ei),X)}else{for(var Ci=[],Aa=1;Aa<Ke.name.length;Aa++)Ci.push(at.mathsym(Ke.name[Aa],Ke.mode,X));br=at.makeSpan(["mop"],Ci,X)}var la=0,Er=0;return(br instanceof Se||Ke.name==="\\oiint"||Ke.name==="\\oiiint")&&!Ke.suppressBaseShift&&(la=(br.height-br.depth)/2-X.fontMetrics().axisHeight,Er=br.italic),Te?vr(br,te,de,X,Ut,Er,la):(la&&(br.style.position="relative",br.style.top=la+"em"),br)},wn=function(Z,X){var te;if(Z.symbol)te=new Ns("mo",[as(Z.name,Z.mode)]),A.contains(Br,Z.name)&&te.setAttribute("largeop","false");else if(Z.body)te=new Ns("mo",oa(Z.body,X));else{te=new Ns("mi",[new is(Z.name.slice(1))]);var de=new Ns("mo",[as("\u2061","text")]);Z.parentIsSupSub?te=new Ns("mo",[te,de]):te=Ya([te,de])}return te},on={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};En({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=de;return Te.length===1&&(Te=on[Te]),{type:"op",mode:te.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:Te}},htmlBuilder:Wr,mathmlBuilder:wn}),En({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,de=X[0];return{type:"op",mode:te.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Vi(de)}},htmlBuilder:Wr,mathmlBuilder:wn});var Sn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};En({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(Z){var X=Z.parser,te=Z.funcName;return{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:Wr,mathmlBuilder:wn}),En({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(Z){var X=Z.parser,te=Z.funcName;return{type:"op",mode:X.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:te}},htmlBuilder:Wr,mathmlBuilder:wn}),En({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(Z){var X=Z.parser,te=Z.funcName,de=te;return de.length===1&&(de=Sn[de]),{type:"op",mode:X.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:de}},htmlBuilder:Wr,mathmlBuilder:wn});var ri=function(Z,X){var te,de,Te=!1,Ke,Ct=Cr(Z,"supsub");Ct?(te=Ct.sup,de=Ct.sub,Ke=tr(Ct.base,"operatorname"),Te=!0):Ke=tr(Z,"operatorname");var Ut;if(Ke.body.length>0){for(var er=Ke.body.map(function(Dn){var Xn=Dn.text;return typeof Xn=="string"?{type:"textord",mode:Dn.mode,text:Xn}:Dn}),br=ja(er,X.withFont("mathrm"),!0),Gr=0;Gr<br.length;Gr++){var fn=br[Gr];fn instanceof Se&&(fn.text=fn.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ut=at.makeSpan(["mop"],br,X)}else Ut=at.makeSpan(["mop"],[],X);return Te?vr(Ut,te,de,X,X.style,0,0):Ut},ai=function(Z,X){for(var te=oa(Z.body,X.withFont("mathrm")),de=!0,Te=0;Te<te.length;Te++){var Ke=te[Te];if(!(Ke instanceof bn.SpaceNode))if(Ke instanceof bn.MathNode)switch(Ke.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Ct=Ke.children[0];Ke.children.length===1&&Ct instanceof bn.TextNode?Ct.text=Ct.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):de=!1;break}default:de=!1}else de=!1}if(de){var Ut=te.map(function(Gr){return Gr.toText()}).join("");te=[new bn.TextNode(Ut)]}var er=new bn.MathNode("mi",te);er.setAttribute("mathvariant","normal");var br=new bn.MathNode("mo",[as("\u2061","text")]);return Z.parentIsSupSub?new bn.MathNode("mo",[er,br]):bn.newDocumentFragment([er,br])};En({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0];return{type:"operatorname",mode:te.mode,body:Vi(Te),alwaysHandleSupSub:de==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:ri,mathmlBuilder:ai}),yi({type:"ordgroup",htmlBuilder:function(Z,X){return Z.semisimple?at.makeFragment(ja(Z.body,X,!1)):at.makeSpan(["mord"],ja(Z.body,X,!0),X)},mathmlBuilder:function(Z,X){return ss(Z.body,X,!0)}}),En({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(Z,X){var te=Z.parser,de=X[0];return{type:"overline",mode:te.mode,body:de}},htmlBuilder:function(Z,X){var te=ra(Z.body,X.havingCrampedStyle()),de=at.makeLineSpan("overline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ke=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te},{type:"kern",size:3*Te},{type:"elem",elem:de},{type:"kern",size:Te}]},X);return at.makeSpan(["mord","overline"],[Ke],X)},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mo",[new bn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var de=new bn.MathNode("mover",[Ja(Z.body,X),te]);return de.setAttribute("accent","true"),de}}),En({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=X[0];return{type:"phantom",mode:te.mode,body:Vi(de)}},htmlBuilder:function(Z,X){var te=ja(Z.body,X.withPhantom(),!1);return at.makeFragment(te)},mathmlBuilder:function(Z,X){var te=oa(Z.body,X);return new bn.MathNode("mphantom",te)}}),En({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=X[0];return{type:"hphantom",mode:te.mode,body:de}},htmlBuilder:function(Z,X){var te=at.makeSpan([],[ra(Z.body,X.withPhantom())]);if(te.height=0,te.depth=0,te.children)for(var de=0;de<te.children.length;de++)te.children[de].height=0,te.children[de].depth=0;return te=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X),at.makeSpan(["mord"],[te],X)},mathmlBuilder:function(Z,X){var te=oa(Vi(Z.body),X),de=new bn.MathNode("mphantom",te),Te=new bn.MathNode("mpadded",[de]);return Te.setAttribute("height","0px"),Te.setAttribute("depth","0px"),Te}}),En({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=X[0];return{type:"vphantom",mode:te.mode,body:de}},htmlBuilder:function(Z,X){var te=at.makeSpan(["inner"],[ra(Z.body,X.withPhantom())]),de=at.makeSpan(["fix"],[]);return at.makeSpan(["mord","rlap"],[te,de],X)},mathmlBuilder:function(Z,X){var te=oa(Vi(Z.body),X),de=new bn.MathNode("mphantom",te),Te=new bn.MathNode("mpadded",[de]);return Te.setAttribute("width","0px"),Te}}),En({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=tr(X[0],"size").value,Te=X[1];return{type:"raisebox",mode:te.mode,dy:de,body:Te}},htmlBuilder:function(Z,X){var te=ra(Z.body,X),de=Pi(Z.dy,X);return at.makeVList({positionType:"shift",positionData:-de,children:[{type:"elem",elem:te}]},X)},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mpadded",[Ja(Z.body,X)]),de=Z.dy.number+Z.dy.unit;return te.setAttribute("voffset",de),te}}),En({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(Z,X,te){var de=Z.parser,Te=te[0],Ke=tr(X[0],"size"),Ct=tr(X[1],"size");return{type:"rule",mode:de.mode,shift:Te&&tr(Te,"size").value,width:Ke.value,height:Ct.value}},htmlBuilder:function(Z,X){var te=at.makeSpan(["mord","rule"],[],X),de=Pi(Z.width,X),Te=Pi(Z.height,X),Ke=Z.shift?Pi(Z.shift,X):0;return te.style.borderRightWidth=de+"em",te.style.borderTopWidth=Te+"em",te.style.bottom=Ke+"em",te.width=de,te.height=Te+Ke,te.depth=-Ke,te.maxFontSize=Te*1.125*X.sizeMultiplier,te},mathmlBuilder:function(Z,X){var te=Pi(Z.width,X),de=Pi(Z.height,X),Te=Z.shift?Pi(Z.shift,X):0,Ke=X.color&&X.getColor()||"black",Ct=new bn.MathNode("mspace");Ct.setAttribute("mathbackground",Ke),Ct.setAttribute("width",te+"em"),Ct.setAttribute("height",de+"em");var Ut=new bn.MathNode("mpadded",[Ct]);return Te>=0?Ut.setAttribute("height","+"+Te+"em"):(Ut.setAttribute("height",Te+"em"),Ut.setAttribute("depth","+"+-Te+"em")),Ut.setAttribute("voffset",Te+"em"),Ut}});function Ai(Ve,Z,X){for(var te=ja(Ve,Z,!1),de=Z.sizeMultiplier/X.sizeMultiplier,Te=0;Te<te.length;Te++){var Ke=te[Te].classes.indexOf("sizing");Ke<0?Array.prototype.push.apply(te[Te].classes,Z.sizingClasses(X)):te[Te].classes[Ke+1]==="reset-size"+Z.size&&(te[Te].classes[Ke+1]="reset-size"+X.size),te[Te].height*=de,te[Te].depth*=de}return at.makeFragment(te)}var Ui=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],na=function(Z,X){var te=X.havingSize(Z.size);return Ai(Z.body,te,X)};En({type:"sizing",names:Ui,props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var te=Z.breakOnTokenText,de=Z.funcName,Te=Z.parser,Ke=Te.parseExpression(!1,te);return{type:"sizing",mode:Te.mode,size:Ui.indexOf(de)+1,body:Ke}},htmlBuilder:na,mathmlBuilder:function(Z,X){var te=X.havingSize(Z.size),de=oa(Z.body,te),Te=new bn.MathNode("mstyle",de);return Te.setAttribute("mathsize",te.sizeMultiplier+"em"),Te}}),En({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(Z,X,te){var de=Z.parser,Te=!1,Ke=!1,Ct=te[0]&&tr(te[0],"ordgroup");if(Ct)for(var Ut="",er=0;er<Ct.body.length;++er){var br=Ct.body[er];if(Ut=br.text,Ut==="t")Te=!0;else if(Ut==="b")Ke=!0;else{Te=!1,Ke=!1;break}}else Te=!0,Ke=!0;var Gr=X[0];return{type:"smash",mode:de.mode,body:Gr,smashHeight:Te,smashDepth:Ke}},htmlBuilder:function(Z,X){var te=at.makeSpan([],[ra(Z.body,X)]);if(!Z.smashHeight&&!Z.smashDepth)return te;if(Z.smashHeight&&(te.height=0,te.children))for(var de=0;de<te.children.length;de++)te.children[de].height=0;if(Z.smashDepth&&(te.depth=0,te.children))for(var Te=0;Te<te.children.length;Te++)te.children[Te].depth=0;var Ke=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te}]},X);return at.makeSpan(["mord"],[Ke],X)},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mpadded",[Ja(Z.body,X)]);return Z.smashHeight&&te.setAttribute("height","0px"),Z.smashDepth&&te.setAttribute("depth","0px"),te}}),En({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(Z,X,te){var de=Z.parser,Te=te[0],Ke=X[0];return{type:"sqrt",mode:de.mode,body:Ke,index:Te}},htmlBuilder:function(Z,X){var te=ra(Z.body,X.havingCrampedStyle());te.height===0&&(te.height=X.fontMetrics().xHeight),te=at.wrapFragment(te,X);var de=X.fontMetrics(),Te=de.defaultRuleThickness,Ke=Te;X.style.id<z.TEXT.id&&(Ke=X.fontMetrics().xHeight);var Ct=Te+Ke/4,Ut=te.height+te.depth+Ct+Te,er=Bn.sqrtImage(Ut,X),br=er.span,Gr=er.ruleWidth,fn=er.advanceWidth,Dn=br.height-Gr;Dn>te.height+te.depth+Ct&&(Ct=(Ct+Dn-te.height-te.depth)/2);var Xn=br.height-te.height-Ct-Gr;te.style.paddingLeft=fn+"em";var ei=at.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:te,wrapperClasses:["svg-align"]},{type:"kern",size:-(te.height+Xn)},{type:"elem",elem:br},{type:"kern",size:Gr}]},X);if(Z.index){var Ci=X.havingStyle(z.SCRIPTSCRIPT),Aa=ra(Z.index,Ci,X),la=.6*(ei.height-ei.depth),Er=at.makeVList({positionType:"shift",positionData:-la,children:[{type:"elem",elem:Aa}]},X),ys=at.makeSpan(["root"],[Er]);return at.makeSpan(["mord","sqrt"],[ys,ei],X)}else return at.makeSpan(["mord","sqrt"],[ei],X)},mathmlBuilder:function(Z,X){var te=Z.body,de=Z.index;return de?new bn.MathNode("mroot",[Ja(te,X),Ja(de,X)]):new bn.MathNode("msqrt",[Ja(te,X)])}});var Xi={display:z.DISPLAY,text:z.TEXT,script:z.SCRIPT,scriptscript:z.SCRIPTSCRIPT};En({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X){var te=Z.breakOnTokenText,de=Z.funcName,Te=Z.parser,Ke=Te.parseExpression(!0,te),Ct=de.slice(1,de.length-5);return{type:"styling",mode:Te.mode,style:Ct,body:Ke}},htmlBuilder:function(Z,X){var te=Xi[Z.style],de=X.havingStyle(te).withFont("");return Ai(Z.body,de,X)},mathmlBuilder:function(Z,X){var te=Xi[Z.style],de=X.havingStyle(te),Te=oa(Z.body,de),Ke=new bn.MathNode("mstyle",Te),Ct={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ut=Ct[Z.style];return Ke.setAttribute("scriptlevel",Ut[0]),Ke.setAttribute("displaystyle",Ut[1]),Ke}});var Oi=function(Z,X){var te=Z.base;if(te)if(te.type==="op"){var de=te.limits&&(X.style.size===z.DISPLAY.size||te.alwaysHandleSupSub);return de?Wr:null}else if(te.type==="operatorname"){var Te=te.alwaysHandleSupSub&&(X.style.size===z.DISPLAY.size||te.limits);return Te?ri:null}else{if(te.type==="accent")return A.isCharacterBox(te.base)?es:null;if(te.type==="horizBrace"){var Ke=!Z.sub;return Ke===te.isOver?Xe:null}else return null}else return null};yi({type:"supsub",htmlBuilder:function(Z,X){var te=Oi(Z,X);if(te)return te(Z,X);var de=Z.base,Te=Z.sup,Ke=Z.sub,Ct=ra(de,X),Ut,er,br=X.fontMetrics(),Gr=0,fn=0,Dn=de&&A.isCharacterBox(de);if(Te){var Xn=X.havingStyle(X.style.sup());Ut=ra(Te,Xn,X),Dn||(Gr=Ct.height-Xn.fontMetrics().supDrop*Xn.sizeMultiplier/X.sizeMultiplier)}if(Ke){var ei=X.havingStyle(X.style.sub());er=ra(Ke,ei,X),Dn||(fn=Ct.depth+ei.fontMetrics().subDrop*ei.sizeMultiplier/X.sizeMultiplier)}var Ci;X.style===z.DISPLAY?Ci=br.sup1:X.style.cramped?Ci=br.sup3:Ci=br.sup2;var Aa=X.sizeMultiplier,la=.5/br.ptPerEm/Aa+"em",Er=null;if(er){var ys=Z.base&&Z.base.type==="op"&&Z.base.name&&(Z.base.name==="\\oiint"||Z.base.name==="\\oiiint");(Ct instanceof Se||ys)&&(Er=-Ct.italic+"em")}var bs;if(Ut&&er){Gr=Math.max(Gr,Ci,Ut.depth+.25*br.xHeight),fn=Math.max(fn,br.sub2);var Ws=br.defaultRuleThickness,os=4*Ws;if(Gr-Ut.depth-(er.height-fn)<os){fn=os-(Gr-Ut.depth)+er.height;var Ua=.8*br.xHeight-(Gr-Ut.depth);Ua>0&&(Gr+=Ua,fn-=Ua)}var io=[{type:"elem",elem:er,shift:fn,marginRight:la,marginLeft:Er},{type:"elem",elem:Ut,shift:-Gr,marginRight:la}];bs=at.makeVList({positionType:"individualShift",children:io},X)}else if(er){fn=Math.max(fn,br.sub1,er.height-.8*br.xHeight);var Qs=[{type:"elem",elem:er,marginLeft:Er,marginRight:la}];bs=at.makeVList({positionType:"shift",positionData:fn,children:Qs},X)}else if(Ut)Gr=Math.max(Gr,Ci,Ut.depth+.25*br.xHeight),bs=at.makeVList({positionType:"shift",positionData:-Gr,children:[{type:"elem",elem:Ut,marginRight:la}]},X);else throw new Error("supsub must have either sup or sub.");var ki=fs(Ct,"right")||"mord";return at.makeSpan([ki],[Ct,at.makeSpan(["msupsub"],[bs])],X)},mathmlBuilder:function(Z,X){var te=!1,de,Te,Ke=Cr(Z.base,"horizBrace");Ke&&(Te=!!Z.sup,Te===Ke.isOver&&(te=!0,de=Ke.isOver)),Z.base&&(Z.base.type==="op"||Z.base.type==="operatorname")&&(Z.base.parentIsSupSub=!0);var Ct=[Ja(Z.base,X)];Z.sub&&Ct.push(Ja(Z.sub,X)),Z.sup&&Ct.push(Ja(Z.sup,X));var Ut;if(te)Ut=de?"mover":"munder";else if(Z.sub)if(Z.sup){var Gr=Z.base;Gr&&Gr.type==="op"&&Gr.limits&&X.style===z.DISPLAY||Gr&&Gr.type==="operatorname"&&Gr.alwaysHandleSupSub&&(X.style===z.DISPLAY||Gr.limits)?Ut="munderover":Ut="msubsup"}else{var br=Z.base;br&&br.type==="op"&&br.limits&&(X.style===z.DISPLAY||br.alwaysHandleSupSub)||br&&br.type==="operatorname"&&br.alwaysHandleSupSub&&(br.limits||X.style===z.DISPLAY)?Ut="munder":Ut="msub"}else{var er=Z.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="mover":Ut="msup"}var fn=new bn.MathNode(Ut,Ct);return fn}}),yi({type:"atom",htmlBuilder:function(Z,X){return at.mathsym(Z.text,Z.mode,X,["m"+Z.family])},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mo",[as(Z.text,Z.mode)]);if(Z.family==="bin"){var de=Is(Z,X);de==="bold-italic"&&te.setAttribute("mathvariant",de)}else Z.family==="punct"?te.setAttribute("separator","true"):(Z.family==="open"||Z.family==="close")&&te.setAttribute("stretchy","false");return te}});var Da={mi:"italic",mn:"normal",mtext:"normal"};yi({type:"mathord",htmlBuilder:function(Z,X){return at.makeOrd(Z,X,"mathord")},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mi",[as(Z.text,Z.mode,X)]),de=Is(Z,X)||"italic";return de!==Da[te.type]&&te.setAttribute("mathvariant",de),te}}),yi({type:"textord",htmlBuilder:function(Z,X){return at.makeOrd(Z,X,"textord")},mathmlBuilder:function(Z,X){var te=as(Z.text,Z.mode,X),de=Is(Z,X)||"normal",Te;return Z.mode==="text"?Te=new bn.MathNode("mtext",[te]):/[0-9]/.test(Z.text)?Te=new bn.MathNode("mn",[te]):Z.text==="\\prime"?Te=new bn.MathNode("mo",[te]):Te=new bn.MathNode("mi",[te]),de!==Da[Te.type]&&Te.setAttribute("mathvariant",de),Te}});var Mi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Di={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};yi({type:"spacing",htmlBuilder:function(Z,X){if(Di.hasOwnProperty(Z.text)){var te=Di[Z.text].className||"";if(Z.mode==="text"){var de=at.makeOrd(Z,X,"textord");return de.classes.push(te),de}else return at.makeSpan(["mspace",te],[at.mathsym(Z.text,Z.mode,X)],X)}else{if(Mi.hasOwnProperty(Z.text))return at.makeSpan(["mspace",Mi[Z.text]],[],X);throw new o('Unknown type of space "'+Z.text+'"')}},mathmlBuilder:function(Z,X){var te;if(Di.hasOwnProperty(Z.text))te=new bn.MathNode("mtext",[new bn.TextNode("\xA0")]);else{if(Mi.hasOwnProperty(Z.text))return new bn.MathNode("mspace");throw new o('Unknown type of space "'+Z.text+'"')}return te}});var wa=function(){var Z=new bn.MathNode("mtd",[]);return Z.setAttribute("width","50%"),Z};yi({type:"tag",mathmlBuilder:function(Z,X){var te=new bn.MathNode("mtable",[new bn.MathNode("mtr",[wa(),new bn.MathNode("mtd",[ss(Z.body,X)]),wa(),new bn.MathNode("mtd",[ss(Z.tag,X)])])]);return te.setAttribute("width","100%"),te}});var _o={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Us={"\\textbf":"textbf","\\textmd":"textmd"},ua={"\\textit":"textit","\\textup":"textup"},Xa=function(Z,X){var te=Z.font;return te?_o[te]?X.withTextFontFamily(_o[te]):Us[te]?X.withTextFontWeight(Us[te]):X.withTextFontShape(ua[te]):X};En({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(Z,X){var te=Z.parser,de=Z.funcName,Te=X[0];return{type:"text",mode:te.mode,body:Vi(Te),font:de}},htmlBuilder:function(Z,X){var te=Xa(Z,X),de=ja(Z.body,te,!0);return at.makeSpan(["mord","text"],at.tryCombineChars(de),te)},mathmlBuilder:function(Z,X){var te=Xa(Z,X);return ss(Z.body,te)}}),En({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Z,X){var te=Z.parser;return{type:"underline",mode:te.mode,body:X[0]}},htmlBuilder:function(Z,X){var te=ra(Z.body,X),de=at.makeLineSpan("underline-line",X),Te=X.fontMetrics().defaultRuleThickness,Ke=at.makeVList({positionType:"top",positionData:te.height,children:[{type:"kern",size:Te},{type:"elem",elem:de},{type:"kern",size:3*Te},{type:"elem",elem:te}]},X);return at.makeSpan(["mord","underline"],[Ke],X)},mathmlBuilder:function(Z,X){var te=new bn.MathNode("mo",[new bn.TextNode("\u203E")]);te.setAttribute("stretchy","true");var de=new bn.MathNode("munder",[Ja(Z.body,X),te]);return de.setAttribute("accentunder","true"),de}}),En({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Z,X,te){throw new o("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Z,X){for(var te=va(Z),de=[],Te=X.havingStyle(X.style.text()),Ke=0;Ke<te.length;Ke++){var Ct=te[Ke];Ct==="~"&&(Ct="\\textasciitilde"),de.push(at.makeSymbol(Ct,"Typewriter-Regular",Z.mode,Te,["mord","texttt"]))}return at.makeSpan(["mord","text"].concat(Te.sizingClasses(X)),at.tryCombineChars(de),Te)},mathmlBuilder:function(Z,X){var te=new bn.TextNode(va(Z)),de=new bn.MathNode("mtext",[te]);return de.setAttribute("mathvariant","monospace"),de}});var va=function(Z){return Z.body.replace(/ /g,Z.star?"\u2423":"\xA0")},Wi=Ia,Pa=Wi,us=`[ \r
|
|
|
]`,ms="\\\\[a-zA-Z@]+",So="\\\\[^\uD800-\uDFFF]",gs=""+ms+us+"*",ko=new RegExp("^("+ms+")"+us+"*$"),_s="[\u0300-\u036F]",yo=new RegExp(_s+"+$"),bo="("+us+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(_s+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(_s+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+gs)+("|"+So+")"),Sa=function(){function Ve(X,te){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=X,this.settings=te,this.tokenRegex=new RegExp(bo,"g"),this.catcodes={"%":14}}var Z=Ve.prototype;return Z.setCatcode=function(te,de){this.catcodes[te]=de},Z.lex=function(){var te=this.input,de=this.tokenRegex.lastIndex;if(de===te.length)return new c("EOF",new l(this,de,de));var Te=this.tokenRegex.exec(te);if(Te===null||Te.index!==de)throw new o("Unexpected character: '"+te[de]+"'",new c(te[de],new l(this,de,de+1)));var Ke=Te[2]||" ";if(this.catcodes[Ke]===14){var Ct=te.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return Ct===-1?(this.tokenRegex.lastIndex=te.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=Ct+1,this.lex()}var Ut=Ke.match(ko);return Ut&&(Ke=Ut[1]),new c(Ke,new l(this,de,this.tokenRegex.lastIndex))},Ve}(),rs=function(){function Ve(X,te){X===void 0&&(X={}),te===void 0&&(te={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=te,this.builtins=X,this.undefStack=[]}var Z=Ve.prototype;return Z.beginGroup=function(){this.undefStack.push({})},Z.endGroup=function(){if(this.undefStack.length===0)throw new o("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var te=this.undefStack.pop();for(var de in te)te.hasOwnProperty(de)&&(te[de]===void 0?delete this.current[de]:this.current[de]=te[de])},Z.has=function(te){return this.current.hasOwnProperty(te)||this.builtins.hasOwnProperty(te)},Z.get=function(te){return this.current.hasOwnProperty(te)?this.current[te]:this.builtins[te]},Z.set=function(te,de,Te){if(Te===void 0&&(Te=!1),Te){for(var Ke=0;Ke<this.undefStack.length;Ke++)delete this.undefStack[Ke][te];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][te]=de)}else{var Ct=this.undefStack[this.undefStack.length-1];Ct&&!Ct.hasOwnProperty(te)&&(Ct[te]=this.current[te])}this.current[te]=de},Ve}(),Xs={},Oa=Xs;function ye(Ve,Z){Xs[Ve]=Z}ye("\\@firstoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[0],numArgs:0}}),ye("\\@secondoftwo",function(Ve){var Z=Ve.consumeArgs(2);return{tokens:Z[1],numArgs:0}}),ye("\\@ifnextchar",function(Ve){var Z=Ve.consumeArgs(3),X=Ve.future();return Z[0].length===1&&Z[0][0].text===X.text?{tokens:Z[1],numArgs:0}:{tokens:Z[2],numArgs:0}}),ye("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ye("\\TextOrMath",function(Ve){var Z=Ve.consumeArgs(2);return Ve.mode==="text"?{tokens:Z[0],numArgs:0}:{tokens:Z[1],numArgs:0}});var we={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};ye("\\char",function(Ve){var Z=Ve.popToken(),X,te="";if(Z.text==="'")X=8,Z=Ve.popToken();else if(Z.text==='"')X=16,Z=Ve.popToken();else if(Z.text==="`")if(Z=Ve.popToken(),Z.text[0]==="\\")te=Z.text.charCodeAt(1);else{if(Z.text==="EOF")throw new o("\\char` missing argument");te=Z.text.charCodeAt(0)}else X=10;if(X){if(te=we[Z.text],te==null||te>=X)throw new o("Invalid base-"+X+" digit "+Z.text);for(var de;(de=we[Ve.future().text])!=null&&de<X;)te*=X,te+=de,Ve.popToken()}return"\\@char{"+te+"}"});var xr=function(Z,X){var te=Z.consumeArgs(1)[0];if(te.length!==1)throw new o("\\gdef's first argument must be a macro name");var de=te[0].text,Te=0;for(te=Z.consumeArgs(1)[0];te.length===1&&te[0].text==="#";){if(te=Z.consumeArgs(1)[0],te.length!==1)throw new o('Invalid argument number length "'+te.length+'"');if(!/^[1-9]$/.test(te[0].text))throw new o('Invalid argument number "'+te[0].text+'"');if(Te++,parseInt(te[0].text)!==Te)throw new o('Argument number "'+te[0].text+'" out of order');te=Z.consumeArgs(1)[0]}return Z.macros.set(de,{tokens:te,numArgs:Te},X),""};ye("\\gdef",function(Ve){return xr(Ve,!0)}),ye("\\def",function(Ve){return xr(Ve,!1)}),ye("\\global",function(Ve){var Z=Ve.consumeArgs(1)[0];if(Z.length!==1)throw new o("Invalid command after \\global");var X=Z[0].text;if(X==="\\def")return xr(Ve,!0);throw new o("Invalid command '"+X+"' after \\global")});var Qr=function(Z,X,te){var de=Z.consumeArgs(1)[0];if(de.length!==1)throw new o("\\newcommand's first argument must be a macro name");var Te=de[0].text,Ke=Z.isDefined(Te);if(Ke&&!X)throw new o("\\newcommand{"+Te+"} attempting to redefine "+(Te+"; use \\renewcommand"));if(!Ke&&!te)throw new o("\\renewcommand{"+Te+"} when command "+Te+" does not yet exist; use \\newcommand");var Ct=0;if(de=Z.consumeArgs(1)[0],de.length===1&&de[0].text==="["){for(var Ut="",er=Z.expandNextToken();er.text!=="]"&&er.text!=="EOF";)Ut+=er.text,er=Z.expandNextToken();if(!Ut.match(/^\s*[0-9]+\s*$/))throw new o("Invalid number of arguments: "+Ut);Ct=parseInt(Ut),de=Z.consumeArgs(1)[0]}return Z.macros.set(Te,{tokens:de,numArgs:Ct}),""};ye("\\newcommand",function(Ve){return Qr(Ve,!1,!0)}),ye("\\renewcommand",function(Ve){return Qr(Ve,!0,!1)}),ye("\\providecommand",function(Ve){return Qr(Ve,!0,!0)}),ye("\\bgroup","{"),ye("\\egroup","}"),ye("\\lq","`"),ye("\\rq","'"),ye("\\aa","\\r a"),ye("\\AA","\\r A"),ye("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ye("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ye("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ye("\u212C","\\mathscr{B}"),ye("\u2130","\\mathscr{E}"),ye("\u2131","\\mathscr{F}"),ye("\u210B","\\mathscr{H}"),ye("\u2110","\\mathscr{I}"),ye("\u2112","\\mathscr{L}"),ye("\u2133","\\mathscr{M}"),ye("\u211B","\\mathscr{R}"),ye("\u212D","\\mathfrak{C}"),ye("\u210C","\\mathfrak{H}"),ye("\u2128","\\mathfrak{Z}"),ye("\\Bbbk","\\Bbb{k}"),ye("\xB7","\\cdotp"),ye("\\llap","\\mathllap{\\textrm{#1}}"),ye("\\rlap","\\mathrlap{\\textrm{#1}}"),ye("\\clap","\\mathclap{\\textrm{#1}}"),ye("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ye("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ye("\\ne","\\neq"),ye("\u2260","\\neq"),ye("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ye("\u2209","\\notin"),ye("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ye("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ye("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ye("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ye("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ye("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ye("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ye("\u27C2","\\perp"),ye("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ye("\u220C","\\notni"),ye("\u231C","\\ulcorner"),ye("\u231D","\\urcorner"),ye("\u231E","\\llcorner"),ye("\u231F","\\lrcorner"),ye("\xA9","\\copyright"),ye("\xAE","\\textregistered"),ye("\uFE0F","\\textregistered"),ye("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ye("\u22EE","\\vdots"),ye("\\varGamma","\\mathit{\\Gamma}"),ye("\\varDelta","\\mathit{\\Delta}"),ye("\\varTheta","\\mathit{\\Theta}"),ye("\\varLambda","\\mathit{\\Lambda}"),ye("\\varXi","\\mathit{\\Xi}"),ye("\\varPi","\\mathit{\\Pi}"),ye("\\varSigma","\\mathit{\\Sigma}"),ye("\\varUpsilon","\\mathit{\\Upsilon}"),ye("\\varPhi","\\mathit{\\Phi}"),ye("\\varPsi","\\mathit{\\Psi}"),ye("\\varOmega","\\mathit{\\Omega}"),ye("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ye("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ye("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ye("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ye("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ye("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var _r={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};ye("\\dots",function(Ve){var Z="\\dotso",X=Ve.expandAfterFuture().text;return X in _r?Z=_r[X]:(X.substr(0,4)==="\\not"||X in Ge.math&&A.contains(["bin","rel"],Ge.math[X].group))&&(Z="\\dotsb"),Z});var en={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};ye("\\dotso",function(Ve){var Z=Ve.future().text;return Z in en?"\\ldots\\,":"\\ldots"}),ye("\\dotsc",function(Ve){var Z=Ve.future().text;return Z in en&&Z!==","?"\\ldots\\,":"\\ldots"}),ye("\\cdots",function(Ve){var Z=Ve.future().text;return Z in en?"\\@cdots\\,":"\\@cdots"}),ye("\\dotsb","\\cdots"),ye("\\dotsm","\\cdots"),ye("\\dotsi","\\!\\cdots"),ye("\\dotsx","\\ldots\\,"),ye("\\DOTSI","\\relax"),ye("\\DOTSB","\\relax"),ye("\\DOTSX","\\relax"),ye("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ye("\\,","\\tmspace+{3mu}{.1667em}"),ye("\\thinspace","\\,"),ye("\\>","\\mskip{4mu}"),ye("\\:","\\tmspace+{4mu}{.2222em}"),ye("\\medspace","\\:"),ye("\\;","\\tmspace+{5mu}{.2777em}"),ye("\\thickspace","\\;"),ye("\\!","\\tmspace-{3mu}{.1667em}"),ye("\\negthinspace","\\!"),ye("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ye("\\negthickspace","\\tmspace-{5mu}{.277em}"),ye("\\enspace","\\kern.5em "),ye("\\enskip","\\hskip.5em\\relax"),ye("\\quad","\\hskip1em\\relax"),ye("\\qquad","\\hskip2em\\relax"),ye("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ye("\\tag@paren","\\tag@literal{({#1})}"),ye("\\tag@literal",function(Ve){if(Ve.macros.get("\\df@tag"))throw new o("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ye("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ye("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ye("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ye("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ye("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ye("\\\\","\\newline"),ye("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Mn=Kt["Main-Regular"][84][1]-.7*Kt["Main-Regular"][65][1]+"em";ye("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Mn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ye("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Mn+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ye("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ye("\\@hspace","\\hskip #1\\relax"),ye("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ye("\\ordinarycolon",":"),ye("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ye("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ye("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ye("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ye("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ye("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ye("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ye("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ye("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ye("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ye("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ye("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ye("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ye("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ye("\u2237","\\dblcolon"),ye("\u2239","\\eqcolon"),ye("\u2254","\\coloneqq"),ye("\u2255","\\eqqcolon"),ye("\u2A74","\\Coloneqq"),ye("\\ratio","\\vcentcolon"),ye("\\coloncolon","\\dblcolon"),ye("\\colonequals","\\coloneqq"),ye("\\coloncolonequals","\\Coloneqq"),ye("\\equalscolon","\\eqqcolon"),ye("\\equalscoloncolon","\\Eqqcolon"),ye("\\colonminus","\\coloneq"),ye("\\coloncolonminus","\\Coloneq"),ye("\\minuscolon","\\eqcolon"),ye("\\minuscoloncolon","\\Eqcolon"),ye("\\coloncolonapprox","\\Colonapprox"),ye("\\coloncolonsim","\\Colonsim"),ye("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ye("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ye("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ye("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ye("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ye("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ye("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ye("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ye("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ye("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ye("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ye("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ye("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ye("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ye("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ye("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ye("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ye("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ye("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ye("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ye("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ye("\u27E6","\\llbracket"),ye("\u27E7","\\rrbracket"),ye("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ye("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ye("\u2983","\\lBrace"),ye("\u2984","\\rBrace"),ye("\\darr","\\downarrow"),ye("\\dArr","\\Downarrow"),ye("\\Darr","\\Downarrow"),ye("\\lang","\\langle"),ye("\\rang","\\rangle"),ye("\\uarr","\\uparrow"),ye("\\uArr","\\Uparrow"),ye("\\Uarr","\\Uparrow"),ye("\\N","\\mathbb{N}"),ye("\\R","\\mathbb{R}"),ye("\\Z","\\mathbb{Z}"),ye("\\alef","\\aleph"),ye("\\alefsym","\\aleph"),ye("\\Alpha","\\mathrm{A}"),ye("\\Beta","\\mathrm{B}"),ye("\\bull","\\bullet"),ye("\\Chi","\\mathrm{X}"),ye("\\clubs","\\clubsuit"),ye("\\cnums","\\mathbb{C}"),ye("\\Complex","\\mathbb{C}"),ye("\\Dagger","\\ddagger"),ye("\\diamonds","\\diamondsuit"),ye("\\empty","\\emptyset"),ye("\\Epsilon","\\mathrm{E}"),ye("\\Eta","\\mathrm{H}"),ye("\\exist","\\exists"),ye("\\harr","\\leftrightarrow"),ye("\\hArr","\\Leftrightarrow"),ye("\\Harr","\\Leftrightarrow"),ye("\\hearts","\\heartsuit"),ye("\\image","\\Im"),ye("\\infin","\\infty"),ye("\\Iota","\\mathrm{I}"),ye("\\isin","\\in"),ye("\\Kappa","\\mathrm{K}"),ye("\\larr","\\leftarrow"),ye("\\lArr","\\Leftarrow"),ye("\\Larr","\\Leftarrow"),ye("\\lrarr","\\leftrightarrow"),ye("\\lrArr","\\Leftrightarrow"),ye("\\Lrarr","\\Leftrightarrow"),ye("\\Mu","\\mathrm{M}"),ye("\\natnums","\\mathbb{N}"),ye("\\Nu","\\mathrm{N}"),ye("\\Omicron","\\mathrm{O}"),ye("\\plusmn","\\pm"),ye("\\rarr","\\rightarrow"),ye("\\rArr","\\Rightarrow"),ye("\\Rarr","\\Rightarrow"),ye("\\real","\\Re"),ye("\\reals","\\mathbb{R}"),ye("\\Reals","\\mathbb{R}"),ye("\\Rho","\\mathrm{P}"),ye("\\sdot","\\cdot"),ye("\\sect","\\S"),ye("\\spades","\\spadesuit"),ye("\\sub","\\subset"),ye("\\sube","\\subseteq"),ye("\\supe","\\supseteq"),ye("\\Tau","\\mathrm{T}"),ye("\\thetasym","\\vartheta"),ye("\\weierp","\\wp"),ye("\\Zeta","\\mathrm{Z}"),ye("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ye("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ye("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ye("\\blue","\\textcolor{##6495ed}{#1}"),ye("\\orange","\\textcolor{##ffa500}{#1}"),ye("\\pink","\\textcolor{##ff00af}{#1}"),ye("\\red","\\textcolor{##df0030}{#1}"),ye("\\green","\\textcolor{##28ae7b}{#1}"),ye("\\gray","\\textcolor{gray}{#1}"),ye("\\purple","\\textcolor{##9d38bd}{#1}"),ye("\\blueA","\\textcolor{##ccfaff}{#1}"),ye("\\blueB","\\textcolor{##80f6ff}{#1}"),ye("\\blueC","\\textcolor{##63d9ea}{#1}"),ye("\\blueD","\\textcolor{##11accd}{#1}"),ye("\\blueE","\\textcolor{##0c7f99}{#1}"),ye("\\tealA","\\textcolor{##94fff5}{#1}"),ye("\\tealB","\\textcolor{##26edd5}{#1}"),ye("\\tealC","\\textcolor{##01d1c1}{#1}"),ye("\\tealD","\\textcolor{##01a995}{#1}"),ye("\\tealE","\\textcolor{##208170}{#1}"),ye("\\greenA","\\textcolor{##b6ffb0}{#1}"),ye("\\greenB","\\textcolor{##8af281}{#1}"),ye("\\greenC","\\textcolor{##74cf70}{#1}"),ye("\\greenD","\\textcolor{##1fab54}{#1}"),ye("\\greenE","\\textcolor{##0d923f}{#1}"),ye("\\goldA","\\textcolor{##ffd0a9}{#1}"),ye("\\goldB","\\textcolor{##ffbb71}{#1}"),ye("\\goldC","\\textcolor{##ff9c39}{#1}"),ye("\\goldD","\\textcolor{##e07d10}{#1}"),ye("\\goldE","\\textcolor{##a75a05}{#1}"),ye("\\redA","\\textcolor{##fca9a9}{#1}"),ye("\\redB","\\textcolor{##ff8482}{#1}"),ye("\\redC","\\textcolor{##f9685d}{#1}"),ye("\\redD","\\textcolor{##e84d39}{#1}"),ye("\\redE","\\textcolor{##bc2612}{#1}"),ye("\\maroonA","\\textcolor{##ffbde0}{#1}"),ye("\\maroonB","\\textcolor{##ff92c6}{#1}"),ye("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ye("\\maroonD","\\textcolor{##ca337c}{#1}"),ye("\\maroonE","\\textcolor{##9e034e}{#1}"),ye("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ye("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ye("\\purpleC","\\textcolor{##aa87ff}{#1}"),ye("\\purpleD","\\textcolor{##7854ab}{#1}"),ye("\\purpleE","\\textcolor{##543b78}{#1}"),ye("\\mintA","\\textcolor{##f5f9e8}{#1}"),ye("\\mintB","\\textcolor{##edf2df}{#1}"),ye("\\mintC","\\textcolor{##e0e5cc}{#1}"),ye("\\grayA","\\textcolor{##f6f7f7}{#1}"),ye("\\grayB","\\textcolor{##f0f1f2}{#1}"),ye("\\grayC","\\textcolor{##e3e5e6}{#1}"),ye("\\grayD","\\textcolor{##d6d8da}{#1}"),ye("\\grayE","\\textcolor{##babec2}{#1}"),ye("\\grayF","\\textcolor{##888d93}{#1}"),ye("\\grayG","\\textcolor{##626569}{#1}"),ye("\\grayH","\\textcolor{##3b3e40}{#1}"),ye("\\grayI","\\textcolor{##21242c}{#1}"),ye("\\kaBlue","\\textcolor{##314453}{#1}"),ye("\\kaGreen","\\textcolor{##71B307}{#1}");var ni={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Qi=function(){function Ve(X,te,de){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=te,this.expansionCount=0,this.feed(X),this.macros=new rs(Oa,te.macros),this.mode=de,this.stack=[]}var Z=Ve.prototype;return Z.feed=function(te){this.lexer=new Sa(te,this.settings)},Z.switchMode=function(te){this.mode=te},Z.beginGroup=function(){this.macros.beginGroup()},Z.endGroup=function(){this.macros.endGroup()},Z.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Z.popToken=function(){return this.future(),this.stack.pop()},Z.pushToken=function(te){this.stack.push(te)},Z.pushTokens=function(te){var de;(de=this.stack).push.apply(de,te)},Z.consumeSpaces=function(){for(;;){var te=this.future();if(te.text===" ")this.stack.pop();else break}},Z.consumeArgs=function(te){for(var de=[],Te=0;Te<te;++Te){this.consumeSpaces();var Ke=this.popToken();if(Ke.text==="{"){for(var Ct=[],Ut=1;Ut!==0;){var er=this.popToken();if(Ct.push(er),er.text==="{")++Ut;else if(er.text==="}")--Ut;else if(er.text==="EOF")throw new o("End of input in macro argument",Ke)}Ct.pop(),Ct.reverse(),de[Te]=Ct}else{if(Ke.text==="EOF")throw new o("End of input expecting macro argument");de[Te]=[Ke]}}return de},Z.expandOnce=function(){var te=this.popToken(),de=te.text,Te=this._getExpansion(de);if(Te==null)return this.pushToken(te),te;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new o("Too many expansions: infinite loop or need to increase maxExpand setting");var Ke=Te.tokens;if(Te.numArgs){var Ct=this.consumeArgs(Te.numArgs);Ke=Ke.slice();for(var Ut=Ke.length-1;Ut>=0;--Ut){var er=Ke[Ut];if(er.text==="#"){if(Ut===0)throw new o("Incomplete placeholder at end of macro body",er);if(er=Ke[--Ut],er.text==="#")Ke.splice(Ut+1,1);else if(/^[1-9]$/.test(er.text)){var br;(br=Ke).splice.apply(br,[Ut,2].concat(Ct[+er.text-1]))}else throw new o("Not a valid argument number",er)}}}return this.pushTokens(Ke),Ke},Z.expandAfterFuture=function(){return this.expandOnce(),this.future()},Z.expandNextToken=function(){for(;;){var te=this.expandOnce();if(te instanceof c)if(te.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},Z.expandMacro=function(te){if(this.macros.get(te)){var de=[],Te=this.stack.length;for(this.pushToken(new c(te));this.stack.length>Te;){var Ke=this.expandOnce();Ke instanceof c&&de.push(this.stack.pop())}return de}},Z.expandMacroAsText=function(te){var de=this.expandMacro(te);return de&&de.map(function(Te){return Te.text}).join("")},Z._getExpansion=function(te){var de=this.macros.get(te);if(de==null)return de;var Te=typeof de=="function"?de(this):de;if(typeof Te=="string"){var Ke=0;if(Te.indexOf("#")!==-1)for(var Ct=Te.replace(/##/g,"");Ct.indexOf("#"+(Ke+1))!==-1;)++Ke;for(var Ut=new Sa(Te,this.settings),er=[],br=Ut.lex();br.text!=="EOF";)er.push(br),br=Ut.lex();er.reverse();var Gr={tokens:er,numArgs:Ke};return Gr}return Te},Z.isDefined=function(te){return this.macros.has(te)||Pa.hasOwnProperty(te)||Ge.math.hasOwnProperty(te)||Ge.text.hasOwnProperty(te)||ni.hasOwnProperty(te)},Ve}(),zn={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},jn={\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"},Yn=function(){function Ve(X,te){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Qi(X,te,this.mode),this.settings=te,this.leftrightDepth=0}var Z=Ve.prototype;return Z.expect=function(te,de){if(de===void 0&&(de=!0),this.fetch().text!==te)throw new o("Expected '"+te+"', got '"+this.fetch().text+"'",this.fetch());de&&this.consume()},Z.consume=function(){this.nextToken=null},Z.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Z.switchMode=function(te){this.mode=te,this.gullet.switchMode(te)},Z.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var te=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),te},Z.parseExpression=function(te,de){for(var Te=[];;){this.mode==="math"&&this.consumeSpaces();var Ke=this.fetch();if(Ve.endOfExpression.indexOf(Ke.text)!==-1||de&&Ke.text===de||te&&Pa[Ke.text]&&Pa[Ke.text].infix)break;var Ct=this.parseAtom(de);if(!Ct)break;Te.push(Ct)}return this.mode==="text"&&this.formLigatures(Te),this.handleInfixNodes(Te)},Z.handleInfixNodes=function(te){for(var de=-1,Te,Ke=0;Ke<te.length;Ke++){var Ct=Cr(te[Ke],"infix");if(Ct){if(de!==-1)throw new o("only one infix operator per group",Ct.token);de=Ke,Te=Ct.replaceWith}}if(de!==-1&&Te){var Ut,er,br=te.slice(0,de),Gr=te.slice(de+1);br.length===1&&br[0].type==="ordgroup"?Ut=br[0]:Ut={type:"ordgroup",mode:this.mode,body:br},Gr.length===1&&Gr[0].type==="ordgroup"?er=Gr[0]:er={type:"ordgroup",mode:this.mode,body:Gr};var fn;return Te==="\\\\abovefrac"?fn=this.callFunction(Te,[Ut,te[de],er],[]):fn=this.callFunction(Te,[Ut,er],[]),[fn]}else return te},Z.handleSupSubscript=function(te){var de=this.fetch(),Te=de.text;this.consume();var Ke=this.parseGroup(te,!1,Ve.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!Ke)throw new o("Expected group after '"+Te+"'",de);return Ke},Z.formatUnsupportedCmd=function(te){for(var de=[],Te=0;Te<te.length;Te++)de.push({type:"textord",mode:"text",text:te[Te]});var Ke={type:"text",mode:this.mode,body:de},Ct={type:"color",mode:this.mode,color:this.settings.errorColor,body:[Ke]};return Ct},Z.parseAtom=function(te){var de=this.parseGroup("atom",!1,null,te);if(this.mode==="text")return de;for(var Te,Ke;;){this.consumeSpaces();var Ct=this.fetch();if(Ct.text==="\\limits"||Ct.text==="\\nolimits"){var Ut=Cr(de,"op");if(Ut){var er=Ct.text==="\\limits";Ut.limits=er,Ut.alwaysHandleSupSub=!0}else if(Ut=Cr(de,"operatorname"),Ut&&Ut.alwaysHandleSupSub){var br=Ct.text==="\\limits";Ut.limits=br}else throw new o("Limit controls must follow a math operator",Ct);this.consume()}else if(Ct.text==="^"){if(Te)throw new o("Double superscript",Ct);Te=this.handleSupSubscript("superscript")}else if(Ct.text==="_"){if(Ke)throw new o("Double subscript",Ct);Ke=this.handleSupSubscript("subscript")}else if(Ct.text==="'"){if(Te)throw new o("Double superscript",Ct);var Gr={type:"textord",mode:this.mode,text:"\\prime"},fn=[Gr];for(this.consume();this.fetch().text==="'";)fn.push(Gr),this.consume();this.fetch().text==="^"&&fn.push(this.handleSupSubscript("superscript")),Te={type:"ordgroup",mode:this.mode,body:fn}}else break}return Te||Ke?{type:"supsub",mode:this.mode,base:de,sup:Te,sub:Ke}:de},Z.parseFunction=function(te,de,Te){var Ke=this.fetch(),Ct=Ke.text,Ut=Pa[Ct];if(!Ut)return null;if(this.consume(),Te!=null&&Ut.greediness<=Te)throw new o("Got function '"+Ct+"' with no arguments"+(de?" as "+de:""),Ke);if(this.mode==="text"&&!Ut.allowedInText)throw new o("Can't use function '"+Ct+"' in text mode",Ke);if(this.mode==="math"&&Ut.allowedInMath===!1)throw new o("Can't use function '"+Ct+"' in math mode",Ke);var er=this.parseArguments(Ct,Ut),br=er.args,Gr=er.optArgs;return this.callFunction(Ct,br,Gr,Ke,te)},Z.callFunction=function(te,de,Te,Ke,Ct){var Ut={funcName:te,parser:this,token:Ke,breakOnTokenText:Ct},er=Pa[te];if(er&&er.handler)return er.handler(Ut,de,Te);throw new o("No function handler for "+te)},Z.parseArguments=function(te,de){var Te=de.numArgs+de.numOptionalArgs;if(Te===0)return{args:[],optArgs:[]};for(var Ke=de.greediness,Ct=[],Ut=[],er=0;er<Te;er++){var br=de.argTypes&&de.argTypes[er],Gr=er<de.numOptionalArgs,fn=er>0&&!Gr||er===0&&!Gr&&this.mode==="math",Dn=this.parseGroupOfType("argument to '"+te+"'",br,Gr,Ke,fn);if(!Dn){if(Gr){Ut.push(null);continue}throw new o("Expected group after '"+te+"'",this.fetch())}(Gr?Ut:Ct).push(Dn)}return{args:Ct,optArgs:Ut}},Z.parseGroupOfType=function(te,de,Te,Ke,Ct){switch(de){case"color":return Ct&&this.consumeSpaces(),this.parseColorGroup(Te);case"size":return Ct&&this.consumeSpaces(),this.parseSizeGroup(Te);case"url":return this.parseUrlGroup(Te,Ct);case"math":case"text":return this.parseGroup(te,Te,Ke,void 0,de,Ct);case"hbox":{var Ut=this.parseGroup(te,Te,Ke,void 0,"text",Ct);if(!Ut)return Ut;var er={type:"styling",mode:Ut.mode,body:[Ut],style:"text"};return er}case"raw":{if(Ct&&this.consumeSpaces(),Te&&this.fetch().text==="{")return null;var br=this.parseStringGroup("raw",Te,!0);if(br)return{type:"raw",mode:"text",string:br.text};throw new o("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(te,Te,Ke,void 0,void 0,Ct);default:throw new o("Unknown group type as "+te,this.fetch())}},Z.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},Z.parseStringGroup=function(te,de,Te){var Ke=de?"[":"{",Ct=de?"]":"}",Ut=this.fetch();if(Ut.text!==Ke){if(de)return null;if(Te&&Ut.text!=="EOF"&&/[^{}[\]]/.test(Ut.text))return this.consume(),Ut}var er=this.mode;this.mode="text",this.expect(Ke);for(var br="",Gr=this.fetch(),fn=0,Dn=Gr,Xn;(Xn=this.fetch()).text!==Ct||Te&&fn>0;){switch(Xn.text){case"EOF":throw new o("Unexpected end of input in "+te,Gr.range(Dn,br));case Ke:fn++;break;case Ct:fn--;break}Dn=Xn,br+=Dn.text,this.consume()}return this.expect(Ct),this.mode=er,Gr.range(Dn,br)},Z.parseRegexGroup=function(te,de){var Te=this.mode;this.mode="text";for(var Ke=this.fetch(),Ct=Ke,Ut="",er;(er=this.fetch()).text!=="EOF"&&te.test(Ut+er.text);)Ct=er,Ut+=Ct.text,this.consume();if(Ut==="")throw new o("Invalid "+de+": '"+Ke.text+"'",Ke);return this.mode=Te,Ke.range(Ct,Ut)},Z.parseColorGroup=function(te){var de=this.parseStringGroup("color",te);if(!de)return null;var Te=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(de.text);if(!Te)throw new o("Invalid color: '"+de.text+"'",de);var Ke=Te[0];return/^[0-9a-f]{6}$/i.test(Ke)&&(Ke="#"+Ke),{type:"color-token",mode:this.mode,color:Ke}},Z.parseSizeGroup=function(te){var de,Te=!1;if(!te&&this.fetch().text!=="{"?de=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):de=this.parseStringGroup("size",te),!de)return null;!te&&de.text.length===0&&(de.text="0pt",Te=!0);var Ke=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(de.text);if(!Ke)throw new o("Invalid size: '"+de.text+"'",de);var Ct={number:+(Ke[1]+Ke[2]),unit:Ke[3]};if(!mi(Ct))throw new o("Invalid unit: '"+Ct.unit+"'",de);return{type:"size",mode:this.mode,value:Ct,isBlank:Te}},Z.parseUrlGroup=function(te,de){this.gullet.lexer.setCatcode("%",13);var Te=this.parseStringGroup("url",te,!0);if(this.gullet.lexer.setCatcode("%",14),!Te)return null;var Ke=Te.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:Ke}},Z.parseGroup=function(te,de,Te,Ke,Ct,Ut){var er=this.mode;Ct&&this.switchMode(Ct),Ut&&this.consumeSpaces();var br=this.fetch(),Gr=br.text,fn;if(de?Gr==="[":Gr==="{"||Gr==="\\begingroup"){this.consume();var Dn=Ve.endOfGroup[Gr];this.gullet.beginGroup();var Xn=this.parseExpression(!1,Dn),ei=this.fetch();this.expect(Dn),this.gullet.endGroup(),fn={type:"ordgroup",mode:this.mode,loc:l.range(br,ei),body:Xn,semisimple:Gr==="\\begingroup"||void 0}}else if(de)fn=null;else if(fn=this.parseFunction(Ke,te,Te)||this.parseSymbol(),fn==null&&Gr[0]==="\\"&&!ni.hasOwnProperty(Gr)){if(this.settings.throwOnError)throw new o("Undefined control sequence: "+Gr,br);fn=this.formatUnsupportedCmd(Gr),this.consume()}return Ct&&this.switchMode(er),fn},Z.formLigatures=function(te){for(var de=te.length-1,Te=0;Te<de;++Te){var Ke=te[Te],Ct=Ke.text;Ct==="-"&&te[Te+1].text==="-"&&(Te+1<de&&te[Te+2].text==="-"?(te.splice(Te,3,{type:"textord",mode:"text",loc:l.range(Ke,te[Te+2]),text:"---"}),de-=2):(te.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ke,te[Te+1]),text:"--"}),de-=1)),(Ct==="'"||Ct==="`")&&te[Te+1].text===Ct&&(te.splice(Te,2,{type:"textord",mode:"text",loc:l.range(Ke,te[Te+1]),text:Ct+Ct}),de-=1)}},Z.parseSymbol=function(){var te=this.fetch(),de=te.text;if(/^\\verb[^a-zA-Z]/.test(de)){this.consume();var Te=de.slice(5),Ke=Te.charAt(0)==="*";if(Ke&&(Te=Te.slice(1)),Te.length<2||Te.charAt(0)!==Te.slice(-1))throw new o(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return Te=Te.slice(1,-1),{type:"verb",mode:"text",body:Te,star:Ke}}jn.hasOwnProperty(de[0])&&!Ge[this.mode][de[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+de[0]+'" used in math mode',te),de=jn[de[0]]+de.substr(1));var Ct=yo.exec(de);Ct&&(de=de.substring(0,Ct.index),de==="i"?de="\u0131":de==="j"&&(de="\u0237"));var Ut;if(Ge[this.mode][de]){this.settings.strict&&this.mode==="math"&&it.indexOf(de)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+de[0]+'" used in math mode',te);var er=Ge[this.mode][de].group,br=l.range(te),Gr;if($t.hasOwnProperty(er)){var fn=er;Gr={type:"atom",mode:this.mode,family:fn,loc:br,text:de}}else Gr={type:er,mode:this.mode,loc:br,text:de};Ut=Gr}else if(de.charCodeAt(0)>=128)this.settings.strict&&(Pe(de.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+de[0]+'" used in math mode',te):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+de[0]+'"'+(" ("+de.charCodeAt(0)+")"),te)),Ut={type:"textord",mode:"text",loc:l.range(te),text:de};else return null;if(this.consume(),Ct)for(var Dn=0;Dn<Ct[0].length;Dn++){var Xn=Ct[0][Dn];if(!zn[Xn])throw new o("Unknown accent ' "+Xn+"'",te);var ei=zn[Xn][this.mode];if(!ei)throw new o("Accent "+Xn+" unsupported in "+this.mode+" mode",te);Ut={type:"accent",mode:this.mode,loc:l.range(te),label:ei,isStretchy:!1,isShifty:!0,base:Ut}}return Ut},Ve}();Yn.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Yn.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Yn.SUPSUB_GREEDINESS=1;var xa=function(Z,X){if(!(typeof Z=="string"||Z instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var te=new Yn(Z,X);delete te.gullet.macros.current["\\df@tag"];var de=te.parse();if(te.gullet.macros.get("\\df@tag")){if(!X.displayMode)throw new o("\\tag works only in display equations");te.gullet.feed("\\df@tag"),de=[{type:"tag",mode:"text",body:de,tag:te.parse()}]}return de},ia=xa,Ao=function(Z,X,te){X.textContent="";var de=El(Z,te).toNode();X.appendChild(de)};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."),Ao=function(){throw new o("KaTeX doesn't work in quirks mode.")});var xo=function(Z,X){var te=El(Z,X).toMarkup();return te},xu=function(Z,X){var te=new P(X);return ia(Z,te)},Rl=function(Z,X,te){if(te.throwOnError||!(Z instanceof o))throw Z;var de=at.makeSpan(["katex-error"],[new Se(X)]);return de.setAttribute("title",Z.toString()),de.setAttribute("style","color:"+te.errorColor),de},El=function(Z,X){var te=new P(X);try{var de=ia(Z,te);return Fo(de,Z,te)}catch(Te){return Rl(Te,Z,te)}},$u=function(Z,X){var te=new P(X);try{var de=ia(Z,te);return tu(de,Z,te)}catch(Te){return Rl(Te,Z,te)}},df={version:"0.11.1",render:Ao,renderToString:xo,ParseError:o,__parse:xu,__renderToDomTree:El,__renderToHTMLTree:$u,__setFontMetrics:qe,__defineSymbol:ce,__defineMacro:ye,__domTree:{Span:ht,Anchor:Je,SymbolNode:Se,SvgNode:Le,PathNode:je,LineNode:He}},ju=e.default=df}]).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),m=!y&&i(x),b=!y&&!m&&c(x),S=!y&&!m&&!b&&o(x),k=y||m||b||S,R=k?r(x.length,String):[],A=R.length;for(var P in x)(p||u.call(x,P))&&!(k&&(P=="length"||b&&(P=="offset"||P=="parent")||S&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||f(P,A)))&&R.push(P);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(m){if(!l(m)||i(m))return!1;var b=r(m)?p:o;return b.test(c(m))}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]",m="[object RegExp]",b="[object Set]",S="[object String]",k="[object WeakMap]",R="[object ArrayBuffer]",A="[object DataView]",P="[object Float32Array]",M="[object Float64Array]",B="[object Int8Array]",N="[object Int16Array]",G="[object Int32Array]",W="[object Uint8Array]",H="[object Uint8ClampedArray]",ae="[object Uint16Array]",ne="[object Uint32Array]",oe={};oe[P]=oe[M]=oe[B]=oe[N]=oe[G]=oe[W]=oe[H]=oe[ae]=oe[ne]=!0,oe[c]=oe[f]=oe[R]=oe[o]=oe[A]=oe[h]=oe[u]=oe[a]=oe[x]=oe[p]=oe[y]=oe[m]=oe[b]=oe[S]=oe[k]=!1;function q(J){return l(J)&&i(J.length)&&!!oe[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,m){a!==x&&l(x,function(b,S){if(m||(m=new r),f(b))c(a,x,S,p,u,y,m);else{var k=y?y(h(a,S),b,S+"",a,x,m):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),m=e(18397),b=e(47052),S=e(20480);function k(R,A,P,M,B,N,G){var W=b(R,P),H=b(A,P),ae=G.get(H);if(ae){r(R,P,ae);return}var ne=N?N(W,H,P+"",R,A,G):void 0,oe=ne===void 0;if(oe){var q=h(H),J=!q&&a(H),K=!q&&!J&&m(H);ne=H,q||J||K?h(W)?ne=W:u(W)?ne=c(W):J?(oe=!1,ne=i(H,!0)):K?(oe=!1,ne=l(H,!0)):ne=[]:y(H)||o(H)?(ne=W,o(W)?ne=S(W):(!p(W)||x(W))&&(ne=f(H))):oe=!1}oe&&(G.set(H,ne),B(ne,H,M,N,G),G.delete(H)),r(R,P,ne)}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 m=u.call(y,"constructor")&&y.constructor;return typeof m=="function"&&m instanceof m&&h.call(m)==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,m=4,b=1,S=2,k=1,R=2,A=4,P=8,M=16,B=32,N=64,G=128,W=256,H=512,ae=30,ne="...",oe=800,q=16,J=1,K=2,se=3,ee=1/0,Q=9007199254740991,le=17976931348623157e292,z=NaN,$=4294967295,ie=$-1,me=$>>>1,Pe=[["ary",G],["bind",k],["bindKey",R],["curry",P],["curryRight",M],["flip",H],["partial",B],["partialRight",N],["rearg",W]],De="[object Arguments]",Ze="[object Array]",Ne="[object AsyncFunction]",Bt="[object Boolean]",yt="[object Date]",It="[object DOMException]",rr="[object Error]",Yt="[object Function]",ur="[object GeneratorFunction]",We="[object Map]",Pt="[object Number]",zt="[object Null]",nt="[object Object]",Et="[object Promise]",ht="[object Proxy]",Je="[object RegExp]",Ue="[object Set]",ge="[object String]",Se="[object Symbol]",Le="[object Undefined]",je="[object WeakMap]",He="[object WeakSet]",rt="[object ArrayBuffer]",lt="[object DataView]",Kt="[object Float32Array]",Wt="[object Float64Array]",Ae="[object Int8Array]",qe="[object Int16Array]",Vt="[object Int32Array]",kt="[object Uint8Array]",Ht="[object Uint8ClampedArray]",$t="[object Uint16Array]",Tt="[object Uint32Array]",Xt=/\b__p \+= '';/g,Ge=/\b(__p \+=) '' \+/g,ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,pe=/&(?:amp|lt|gt|quot|#39);/g,Dt=/[&<>"']/g,Ce=RegExp(pe.source),ct=RegExp(Dt.source),Zt=/<%-([\s\S]+?)%>/g,St=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,be=/^\w*$/,Ye=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,vt=/[\\^$.*+?()[\]{}|]/g,Lt=RegExp(vt.source),Me=/^\s+/,Or=/\s/,At=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Yr=/\{\n\/\* \[wrapped with (.+)\] \*/,rn=/,? & /,wr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,jr=/[()=,{}\[\]\/\s]/,mr=/\\(\\)?/g,Zr=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,un=/\w*$/,mn=/^[-+]0x[0-9a-f]+$/i,sr=/^0b[01]+$/i,Rt=/^\[object .+?Constructor\]$/,_t=/^0o[0-7]+$/i,gt=/^(?:0|[1-9]\d*)$/,jt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ar=/($^)/,yr=/['\n\r\u2028\u2029\\]/g,it="\\ud800-\\udfff",Nr="\\u0300-\\u036f",An="\\ufe20-\\ufe2f",Jn="\\u20d0-\\u20ff",gr=Nr+An+Jn,nn="\\u2700-\\u27bf",vn="a-z\\xdf-\\xf6\\xf8-\\xff",Wn="\\xac\\xb1\\xd7\\xf7",si="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",gi="\\u2000-\\u206f",aa=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ui="A-Z\\xc0-\\xd6\\xd8-\\xde",Ni="\\ufe0e\\ufe0f",mi=Wn+si+gi+aa,Pi="['\u2019]",Ra="["+it+"]",fi="["+mi+"]",Hi="["+gr+"]",bt="\\d+",ut="["+nn+"]",ii="["+vn+"]",Si="[^"+it+mi+bt+nn+vn+ui+"]",li="\\ud83c[\\udffb-\\udfff]",sa="(?:"+Hi+"|"+li+")",Ti="[^"+it+"]",pi="(?:\\ud83c[\\udde6-\\uddff]){2}",Rn="[\\ud800-\\udbff][\\udc00-\\udfff]",Jt="["+ui+"]",dt="\\u200d",tt="(?:"+ii+"|"+Si+")",Ot="(?:"+Jt+"|"+Si+")",mt="(?:"+Pi+"(?:d|ll|m|re|s|t|ve))?",or="(?:"+Pi+"(?:D|LL|M|RE|S|T|VE))?",lr=sa+"?",Ir="["+Ni+"]?",Hr="(?:"+dt+"(?:"+[Ti,pi,Rn].join("|")+")"+Ir+lr+")*",ze="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",et="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",xe=Ir+lr+Hr,at="(?:"+[ut,pi,Rn].join("|")+")"+xe,tr="(?:"+[Ti+Hi+"?",Hi,pi,Rn,Ra].join("|")+")",Cr=RegExp(Pi,"g"),kr=RegExp(Hi,"g"),Pr=RegExp(li+"(?="+li+")|"+tr+xe,"g"),Rr=RegExp([Jt+"?"+ii+"+"+mt+"(?="+[fi,Jt,"$"].join("|")+")",Ot+"+"+or+"(?="+[fi,Jt+tt,"$"].join("|")+")",Jt+"?"+tt+"+"+mt,Jt+"+"+or,et,ze,bt,at].join("|"),"g"),Tn=RegExp("["+dt+it+gr+Ni+"]"),Tr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,pn=["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"],sn=-1,ln={};ln[Kt]=ln[Wt]=ln[Ae]=ln[qe]=ln[Vt]=ln[kt]=ln[Ht]=ln[$t]=ln[Tt]=!0,ln[De]=ln[Ze]=ln[rt]=ln[Bt]=ln[lt]=ln[yt]=ln[rr]=ln[Yt]=ln[We]=ln[Pt]=ln[nt]=ln[Je]=ln[Ue]=ln[ge]=ln[je]=!1;var Ln={};Ln[De]=Ln[Ze]=Ln[rt]=Ln[lt]=Ln[Bt]=Ln[yt]=Ln[Kt]=Ln[Wt]=Ln[Ae]=Ln[qe]=Ln[Vt]=Ln[We]=Ln[Pt]=Ln[nt]=Ln[Je]=Ln[Ue]=Ln[ge]=Ln[Se]=Ln[kt]=Ln[Ht]=Ln[$t]=Ln[Tt]=!0,Ln[rr]=Ln[Yt]=Ln[je]=!1;var Ia={\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"},ji={"&":"&","<":"<",">":">",'"':""","'":"'"},Ii={"&":"&","<":"<",">":">",""":'"',"'":"'"},En={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},yi=parseFloat,Vi=parseInt,Ea=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Gs=typeof self=="object"&&self&&self.Object===Object&&self,$a=Ea||Gs||Function("return this")(),Bs=v&&!v.nodeType&&v,ro=Bs&&!0&&d&&!d.nodeType&&d,ja=ro&&ro.exports===Bs,Hs=ja&&Ea.process,ya=function(){try{var cr=ro&&ro.require&&ro.require("util").types;return cr||Hs&&Hs.binding&&Hs.binding("util")}catch(Mr){}}(),cs=ya&&ya.isArrayBuffer,fs=ya&&ya.isDate,Li=ya&&ya.isMap,ra=ya&&ya.isRegExp,ks=ya&&ya.isSet,Mo=ya&&ya.isTypedArray;function Ya(cr,Mr,Fr){switch(Fr.length){case 0:return cr.call(Mr);case 1:return cr.call(Mr,Fr[0]);case 2:return cr.call(Mr,Fr[0],Fr[1]);case 3:return cr.call(Mr,Fr[0],Fr[1],Fr[2])}return cr.apply(Mr,Fr)}function Ns(cr,Mr,Fr,Pn){for(var In=-1,pt=cr==null?0:cr.length;++In<pt;){var $n=cr[In];Mr(Pn,$n,Fr($n),cr)}return Pn}function is(cr,Mr){for(var Fr=-1,Pn=cr==null?0:cr.length;++Fr<Pn&&Mr(cr[Fr],Fr,cr)!==!1;);return cr}function fo(cr,Mr){for(var Fr=cr==null?0:cr.length;Fr--&&Mr(cr[Fr],Fr,cr)!==!1;);return cr}function bn(cr,Mr){for(var Fr=-1,Pn=cr==null?0:cr.length;++Fr<Pn;)if(!Mr(cr[Fr],Fr,cr))return!1;return!0}function as(cr,Mr){for(var Fr=-1,Pn=cr==null?0:cr.length,In=0,pt=[];++Fr<Pn;){var $n=cr[Fr];Mr($n,Fr,cr)&&(pt[In++]=$n)}return pt}function Ps(cr,Mr){var Fr=cr==null?0:cr.length;return!!Fr&&Zo(cr,Mr,0)>-1}function Is(cr,Mr,Fr){for(var Pn=-1,In=cr==null?0:cr.length;++Pn<In;)if(Fr(Mr,cr[Pn]))return!0;return!1}function oa(cr,Mr){for(var Fr=-1,Pn=cr==null?0:cr.length,In=Array(Pn);++Fr<Pn;)In[Fr]=Mr(cr[Fr],Fr,cr);return In}function ss(cr,Mr){for(var Fr=-1,Pn=Mr.length,In=cr.length;++Fr<Pn;)cr[In+Fr]=Mr[Fr];return cr}function Ja(cr,Mr,Fr,Pn){var In=-1,pt=cr==null?0:cr.length;for(Pn&&pt&&(Fr=cr[++In]);++In<pt;)Fr=Mr(Fr,cr[In],In,cr);return Fr}function $s(cr,Mr,Fr,Pn){var In=cr==null?0:cr.length;for(Pn&&In&&(Fr=cr[--In]);In--;)Fr=Mr(Fr,cr[In],In,cr);return Fr}function ho(cr,Mr){for(var Fr=-1,Pn=cr==null?0:cr.length;++Fr<Pn;)if(Mr(cr[Fr],Fr,cr))return!0;return!1}var po=oi("length");function Fo(cr){return cr.split("")}function tu(cr){return cr.match(wr)||[]}function zo(cr,Mr,Fr){var Pn;return Fr(cr,function(In,pt,$n){if(Mr(In,pt,$n))return Pn=pt,!1}),Pn}function Io(cr,Mr,Fr,Pn){for(var In=cr.length,pt=Fr+(Pn?1:-1);Pn?pt--:++pt<In;)if(Mr(cr[pt],pt,cr))return pt;return-1}function Zo(cr,Mr,Fr){return Mr===Mr?qt(cr,Mr,Fr):Io(cr,Ho,Fr)}function ru(cr,Mr,Fr,Pn){for(var In=Fr-1,pt=cr.length;++In<pt;)if(Pn(cr[In],Mr))return In;return-1}function Ho(cr){return cr!==cr}function ns(cr,Mr){var Fr=cr==null?0:cr.length;return Fr?ds(cr,Mr)/Fr:z}function oi(cr){return function(Mr){return Mr==null?i:Mr[cr]}}function _i(cr){return function(Mr){return cr==null?i:cr[Mr]}}function es(cr,Mr,Fr,Pn,In){return In(cr,function(pt,$n,Vn){Fr=Pn?(Pn=!1,pt):Mr(Fr,pt,$n,Vn)}),Fr}function ts(cr,Mr){var Fr=cr.length;for(cr.sort(Mr);Fr--;)cr[Fr]=cr[Fr].value;return cr}function ds(cr,Mr){for(var Fr,Pn=-1,In=cr.length;++Pn<In;){var pt=Mr(cr[Pn]);pt!==i&&(Fr=Fr===i?pt:Fr+pt)}return Fr}function Bo(cr,Mr){for(var Fr=-1,Pn=Array(cr);++Fr<cr;)Pn[Fr]=Mr(Fr);return Pn}function Wo(cr,Mr){return oa(Mr,function(Fr){return[Fr,cr[Fr]]})}function du(cr){return cr&&cr.slice(0,Sr(cr)+1).replace(Me,"")}function js(cr){return function(Mr){return cr(Mr)}}function No(cr,Mr){return oa(Mr,function(Fr){return cr[Fr]})}function nu(cr,Mr){return cr.has(Mr)}function yu(cr,Mr){for(var Fr=-1,Pn=cr.length;++Fr<Pn&&Zo(Mr,cr[Fr],0)>-1;);return Fr}function Nu(cr,Mr){for(var Fr=cr.length;Fr--&&Zo(Mr,cr[Fr],0)>-1;);return Fr}function Ju(cr,Mr){for(var Fr=cr.length,Pn=0;Fr--;)cr[Fr]===Mr&&++Pn;return Pn}var $o=_i(Ia),oo=_i(ji);function bu(cr){return"\\"+En[cr]}function Do(cr,Mr){return cr==null?i:cr[Mr]}function Oo(cr){return Tn.test(cr)}function jo(cr){return Tr.test(cr)}function Iu(cr){for(var Mr,Fr=[];!(Mr=cr.next()).done;)Fr.push(Mr.value);return Fr}function Vo(cr){var Mr=-1,Fr=Array(cr.size);return cr.forEach(function(Pn,In){Fr[++Mr]=[In,Pn]}),Fr}function iu(cr,Mr){return function(Fr){return cr(Mr(Fr))}}function uo(cr,Mr){for(var Fr=-1,Pn=cr.length,In=0,pt=[];++Fr<Pn;){var $n=cr[Fr];($n===Mr||$n===x)&&(cr[Fr]=x,pt[In++]=Fr)}return pt}function Yo(cr){var Mr=-1,Fr=Array(cr.size);return cr.forEach(function(Pn){Fr[++Mr]=Pn}),Fr}function Du(cr){var Mr=-1,Fr=Array(cr.size);return cr.forEach(function(Pn){Fr[++Mr]=[Pn,Pn]}),Fr}function qt(cr,Mr,Fr){for(var Pn=Fr-1,In=cr.length;++Pn<In;)if(cr[Pn]===Mr)return Pn;return-1}function dr(cr,Mr,Fr){for(var Pn=Fr+1;Pn--;)if(cr[Pn]===Mr)return Pn;return Pn}function ir(cr){return Oo(cr)?Gn(cr):po(cr)}function hr(cr){return Oo(cr)?Bn(cr):Fo(cr)}function Sr(cr){for(var Mr=cr.length;Mr--&&Or.test(cr.charAt(Mr)););return Mr}var xn=_i(Ii);function Gn(cr){for(var Mr=Pr.lastIndex=0;Pr.test(cr);)++Mr;return Mr}function Bn(cr){return cr.match(Pr)||[]}function Kn(cr){return cr.match(Rr)||[]}var di=function cr(Mr){Mr=Mr==null?$a:ci.defaults($a.Object(),Mr,ci.pick($a,pn));var Fr=Mr.Array,Pn=Mr.Date,In=Mr.Error,pt=Mr.Function,$n=Mr.Math,Vn=Mr.Object,zi=Mr.RegExp,Yi=Mr.String,zr=Mr.TypeError,pa=Fr.prototype,Ji=pt.prototype,Ca=Vn.prototype,hs=Mr["__core-js_shared__"],Rs=Ji.toString,vi=Ca.hasOwnProperty,ps=0,lo=function(){var w=/[^.]+$/.exec(hs&&hs.keys&&hs.keys.IE_PROTO||"");return w?"Symbol(src)_1."+w:""}(),cn=Ca.toString,Wa=Rs.call(Vn),Ks=$a._,mo=zi("^"+Rs.call(vi).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Hn=ja?Mr.Buffer:i,Ls=Mr.Symbol,no=Mr.Uint8Array,Xe=Hn?Hn.allocUnsafe:i,Qe=iu(Vn.getPrototypeOf,Vn),Mt=Vn.create,Gt=Ca.propertyIsEnumerable,vr=pa.splice,Br=Ls?Ls.isConcatSpreadable:i,Wr=Ls?Ls.iterator:i,wn=Ls?Ls.toStringTag:i,on=function(){try{var w=La(Vn,"defineProperty");return w({},"",{}),w}catch(F){}}(),Sn=Mr.clearTimeout!==$a.clearTimeout&&Mr.clearTimeout,ri=Pn&&Pn.now!==$a.Date.now&&Pn.now,ai=Mr.setTimeout!==$a.setTimeout&&Mr.setTimeout,Ai=$n.ceil,Ui=$n.floor,na=Vn.getOwnPropertySymbols,Xi=Hn?Hn.isBuffer:i,Oi=Mr.isFinite,Da=pa.join,Mi=iu(Vn.keys,Vn),Di=$n.max,wa=$n.min,_o=Pn.now,Us=Mr.parseInt,ua=$n.random,Xa=pa.reverse,va=La(Mr,"DataView"),Wi=La(Mr,"Map"),Pa=La(Mr,"Promise"),us=La(Mr,"Set"),ms=La(Mr,"WeakMap"),So=La(Vn,"create"),gs=ms&&new ms,ko={},_s=ba(va),yo=ba(Wi),bo=ba(Pa),Sa=ba(us),rs=ba(ms),Xs=Ls?Ls.prototype:i,Oa=Xs?Xs.valueOf:i,ye=Xs?Xs.toString:i;function we(w){if(gu(w)&&!Na(w)&&!(w instanceof en)){if(w instanceof _r)return w;if(vi.call(w,"__wrapped__"))return Ds(w)}return new _r(w)}var xr=function(){function w(){}return function(F){if(!fu(F))return{};if(Mt)return Mt(F);w.prototype=F;var fe=new w;return w.prototype=i,fe}}();function Qr(){}function _r(w,F){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!F,this.__index__=0,this.__values__=i}we.templateSettings={escape:Zt,evaluate:St,interpolate:Ie,variable:"",imports:{_:we}},we.prototype=Qr.prototype,we.prototype.constructor=we,_r.prototype=xr(Qr.prototype),_r.prototype.constructor=_r;function en(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$,this.__views__=[]}function Mn(){var w=new en(this.__wrapped__);return w.__actions__=qo(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=qo(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=qo(this.__views__),w}function ni(){if(this.__filtered__){var w=new en(this);w.__dir__=-1,w.__filtered__=!0}else w=this.clone(),w.__dir__*=-1;return w}function Qi(){var w=this.__wrapped__.value(),F=this.__dir__,fe=Na(w),Be=F<0,xt=fe?w.length:0,Qt=gc(0,xt,this.__views__),pr=Qt.start,Lr=Qt.end,Jr=Lr-pr,Nn=Be?Lr:pr-1,Un=this.__iteratees__,qn=Un.length,$i=0,ga=wa(Jr,this.__takeCount__);if(!fe||!Be&&xt==Jr&&ga==Jr)return gf(w,this.__actions__);var Za=[];e:for(;Jr--&&$i<ga;){Nn+=F;for(var Cs=-1,Ha=w[Nn];++Cs<qn;){var Zs=Un[Cs],Ys=Zs.iteratee,wc=Zs.type,Zl=Ys(Ha);if(wc==K)Ha=Zl;else if(!Zl){if(wc==J)continue e;break e}}Za[$i++]=Ha}return Za}en.prototype=xr(Qr.prototype),en.prototype.constructor=en;function zn(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Be=w[F];this.set(Be[0],Be[1])}}function jn(){this.__data__=So?So(null):{},this.size=0}function Yn(w){var F=this.has(w)&&delete this.__data__[w];return this.size-=F?1:0,F}function xa(w){var F=this.__data__;if(So){var fe=F[w];return fe===u?i:fe}return vi.call(F,w)?F[w]:i}function ia(w){var F=this.__data__;return So?F[w]!==i:vi.call(F,w)}function Ao(w,F){var fe=this.__data__;return this.size+=this.has(w)?0:1,fe[w]=So&&F===i?u:F,this}zn.prototype.clear=jn,zn.prototype.delete=Yn,zn.prototype.get=xa,zn.prototype.has=ia,zn.prototype.set=Ao;function xo(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Be=w[F];this.set(Be[0],Be[1])}}function xu(){this.__data__=[],this.size=0}function Rl(w){var F=this.__data__,fe=ys(F,w);if(fe<0)return!1;var Be=F.length-1;return fe==Be?F.pop():vr.call(F,fe,1),--this.size,!0}function El(w){var F=this.__data__,fe=ys(F,w);return fe<0?i:F[fe][1]}function $u(w){return ys(this.__data__,w)>-1}function df(w,F){var fe=this.__data__,Be=ys(fe,w);return Be<0?(++this.size,fe.push([w,F])):fe[Be][1]=F,this}xo.prototype.clear=xu,xo.prototype.delete=Rl,xo.prototype.get=El,xo.prototype.has=$u,xo.prototype.set=df;function ju(w){var F=-1,fe=w==null?0:w.length;for(this.clear();++F<fe;){var Be=w[F];this.set(Be[0],Be[1])}}function Ve(){this.size=0,this.__data__={hash:new zn,map:new(Wi||xo),string:new zn}}function Z(w){var F=Fi(this,w).delete(w);return this.size-=F?1:0,F}function X(w){return Fi(this,w).get(w)}function te(w){return Fi(this,w).has(w)}function de(w,F){var fe=Fi(this,w),Be=fe.size;return fe.set(w,F),this.size+=fe.size==Be?0:1,this}ju.prototype.clear=Ve,ju.prototype.delete=Z,ju.prototype.get=X,ju.prototype.has=te,ju.prototype.set=de;function Te(w){var F=-1,fe=w==null?0:w.length;for(this.__data__=new ju;++F<fe;)this.add(w[F])}function Ke(w){return this.__data__.set(w,u),this}function Ct(w){return this.__data__.has(w)}Te.prototype.add=Te.prototype.push=Ke,Te.prototype.has=Ct;function Ut(w){var F=this.__data__=new xo(w);this.size=F.size}function er(){this.__data__=new xo,this.size=0}function br(w){var F=this.__data__,fe=F.delete(w);return this.size=F.size,fe}function Gr(w){return this.__data__.get(w)}function fn(w){return this.__data__.has(w)}function Dn(w,F){var fe=this.__data__;if(fe instanceof xo){var Be=fe.__data__;if(!Wi||Be.length<c-1)return Be.push([w,F]),this.size=++fe.size,this;fe=this.__data__=new ju(Be)}return fe.set(w,F),this.size=fe.size,this}Ut.prototype.clear=er,Ut.prototype.delete=br,Ut.prototype.get=Gr,Ut.prototype.has=fn,Ut.prototype.set=Dn;function Xn(w,F){var fe=Na(w),Be=!fe&&Bu(w),xt=!fe&&!Be&&xc(w),Qt=!fe&&!Be&&!xt&&ed(w),pr=fe||Be||xt||Qt,Lr=pr?Bo(w.length,Yi):[],Jr=Lr.length;for(var Nn in w)(F||vi.call(w,Nn))&&!(pr&&(Nn=="length"||xt&&(Nn=="offset"||Nn=="parent")||Qt&&(Nn=="buffer"||Nn=="byteLength"||Nn=="byteOffset")||Ko(Nn,Jr)))&&Lr.push(Nn);return Lr}function ei(w){var F=w.length;return F?w[Hu(0,F-1)]:i}function Ci(w,F){return Gi(qo(w),Qs(F,0,w.length))}function Aa(w){return Gi(qo(w))}function la(w,F,fe){(fe!==i&&!Wc(w[F],fe)||fe===i&&!(F in w))&&Ua(w,F,fe)}function Er(w,F,fe){var Be=w[F];(!(vi.call(w,F)&&Wc(Be,fe))||fe===i&&!(F in w))&&Ua(w,F,fe)}function ys(w,F){for(var fe=w.length;fe--;)if(Wc(w[fe][0],F))return fe;return-1}function bs(w,F,fe,Be){return To(w,function(xt,Qt,pr){F(Be,xt,fe(xt),pr)}),Be}function Ws(w,F){return w&&ku(F,ll(F),w)}function os(w,F){return w&&ku(F,rc(F),w)}function Ua(w,F,fe){F=="__proto__"&&on?on(w,F,{configurable:!0,enumerable:!0,value:fe,writable:!0}):w[F]=fe}function io(w,F){for(var fe=-1,Be=F.length,xt=Fr(Be),Qt=w==null;++fe<Be;)xt[fe]=Qt?i:Cd(w,F[fe]);return xt}function Qs(w,F,fe){return w===w&&(fe!==i&&(w=w<=fe?w:fe),F!==i&&(w=w>=F?w:F)),w}function ki(w,F,fe,Be,xt,Qt){var pr,Lr=F&p,Jr=F&y,Nn=F&m;if(fe&&(pr=xt?fe(w,Be,xt,Qt):fe(w)),pr!==i)return pr;if(!fu(w))return w;var Un=Na(w);if(Un){if(pr=nf(w),!Lr)return qo(w,pr)}else{var qn=Fs(w),$i=qn==Yt||qn==ur;if(xc(w))return kf(w,Lr);if(qn==nt||qn==De||$i&&!xt){if(pr=Jr||$i?{}:Tl(w),!Lr)return Jr?fc(w,os(pr,w)):Yl(w,Ws(pr,w))}else{if(!Ln[qn])return xt?w:{};pr=Zi(w,qn,Lr)}}Qt||(Qt=new Ut);var ga=Qt.get(w);if(ga)return ga;Qt.set(w,pr),$d(w)?w.forEach(function(Ha){pr.add(ki(Ha,F,fe,Ha,w,Qt))}):Bd(w)&&w.forEach(function(Ha,Zs){pr.set(Zs,ki(Ha,F,fe,Zs,w,Qt))});var Za=Nn?Jr?_e:L:Jr?rc:ll,Cs=Un?i:Za(w);return is(Cs||w,function(Ha,Zs){Cs&&(Zs=Ha,Ha=w[Zs]),Er(pr,Zs,ki(Ha,F,fe,Zs,w,Qt))}),pr}function Ro(w){var F=ll(w);return function(fe){return vo(fe,w,F)}}function vo(w,F,fe){var Be=fe.length;if(w==null)return!Be;for(w=Vn(w);Be--;){var xt=fe[Be],Qt=F[xt],pr=w[xt];if(pr===i&&!(xt in w)||!Qt(pr))return!1}return!0}function au(w,F,fe){if(typeof w!="function")throw new zr(o);return Uc(function(){w.apply(i,fe)},F)}function qs(w,F,fe,Be){var xt=-1,Qt=Ps,pr=!0,Lr=w.length,Jr=[],Nn=F.length;if(!Lr)return Jr;fe&&(F=oa(F,js(fe))),Be?(Qt=Is,pr=!1):F.length>=c&&(Qt=nu,pr=!1,F=new Te(F));e:for(;++xt<Lr;){var Un=w[xt],qn=fe==null?Un:fe(Un);if(Un=Be||Un!==0?Un:0,pr&&qn===qn){for(var $i=Nn;$i--;)if(F[$i]===qn)continue e;Jr.push(Un)}else Qt(F,qn,Be)||Jr.push(Un)}return Jr}var To=al(Js),xs=al(hl,!0);function ic(w,F){var fe=!0;return To(w,function(Be,xt,Qt){return fe=!!F(Be,xt,Qt),fe}),fe}function cl(w,F,fe){for(var Be=-1,xt=w.length;++Be<xt;){var Qt=w[Be],pr=F(Qt);if(pr!=null&&(Lr===i?pr===pr&&!Ec(pr):fe(pr,Lr)))var Lr=pr,Jr=Qt}return Jr}function fl(w,F,fe,Be){var xt=w.length;for(fe=As(fe),fe<0&&(fe=-fe>xt?0:xt+fe),Be=Be===i||Be>xt?xt:As(Be),Be<0&&(Be+=xt),Be=fe>Be?0:Ud(Be);fe<Be;)w[fe++]=F;return w}function el(w,F){var fe=[];return To(w,function(Be,xt,Qt){F(Be,xt,Qt)&&fe.push(Be)}),fe}function Vs(w,F,fe,Be,xt){var Qt=-1,pr=w.length;for(fe||(fe=Nc),xt||(xt=[]);++Qt<pr;){var Lr=w[Qt];F>0&&fe(Lr)?F>1?Vs(Lr,F-1,fe,Be,xt):ss(xt,Lr):Be||(xt[xt.length]=Lr)}return xt}var dl=Rc(),Uu=Rc(!0);function Js(w,F){return w&&dl(w,F,ll)}function hl(w,F){return w&&Uu(w,F,ll)}function Ll(w,F){return as(F,function(fe){return jf(w[fe])})}function hu(w,F){F=_u(F,w);for(var fe=0,Be=F.length;w!=null&&fe<Be;)w=w[ca(F[fe++])];return fe&&fe==Be?w:i}function Ml(w,F,fe){var Be=F(w);return Na(w)?Be:ss(Be,fe(w))}function eo(w){return w==null?w===i?Le:zt:wn&&wn in Vn(w)?Go(w):Sf(w)}function pu(w,F){return w>F}function pl(w,F){return w!=null&&vi.call(w,F)}function Hl(w,F){return w!=null&&F in Vn(w)}function zu(w,F,fe){return w>=wa(F,fe)&&w<Di(F,fe)}function Ac(w,F,fe){for(var Be=fe?Is:Ps,xt=w[0].length,Qt=w.length,pr=Qt,Lr=Fr(Qt),Jr=1/0,Nn=[];pr--;){var Un=w[pr];pr&&F&&(Un=oa(Un,js(F))),Jr=wa(Un.length,Jr),Lr[pr]=!fe&&(F||xt>=120&&Un.length>=120)?new Te(pr&&Un):i}Un=w[0];var qn=-1,$i=Lr[0];e:for(;++qn<xt&&Nn.length<Jr;){var ga=Un[qn],Za=F?F(ga):ga;if(ga=fe||ga!==0?ga:0,!($i?nu($i,Za):Be(Nn,Za,fe))){for(pr=Qt;--pr;){var Cs=Lr[pr];if(!(Cs?nu(Cs,Za):Be(w[pr],Za,fe)))continue e}$i&&$i.push(Za),Nn.push(ga)}}return Nn}function ac(w,F,fe,Be){return Js(w,function(xt,Qt,pr){F(Be,fe(xt),Qt,pr)}),Be}function hi(w,F,fe){F=_u(F,w),w=Il(w,F);var Be=w==null?w:w[ca(ou(F))];return Be==null?i:Ya(Be,w,fe)}function Tc(w){return gu(w)&&eo(w)==De}function ao(w){return gu(w)&&eo(w)==rt}function sc(w){return gu(w)&&eo(w)==yt}function Ou(w,F,fe,Be,xt){return w===F?!0:w==null||F==null||!gu(w)&&!gu(F)?w!==w&&F!==F:wl(w,F,fe,Be,Ou,xt)}function wl(w,F,fe,Be,xt,Qt){var pr=Na(w),Lr=Na(F),Jr=pr?Ze:Fs(w),Nn=Lr?Ze:Fs(F);Jr=Jr==De?nt:Jr,Nn=Nn==De?nt:Nn;var Un=Jr==nt,qn=Nn==nt,$i=Jr==Nn;if($i&&xc(w)){if(!xc(F))return!1;pr=!0,Un=!1}if($i&&!Un)return Qt||(Qt=new Ut),pr||ed(w)?Bc(w,F,fe,Be,xt,Qt):tf(w,F,Jr,fe,Be,xt,Qt);if(!(fe&b)){var ga=Un&&vi.call(w,"__wrapped__"),Za=qn&&vi.call(F,"__wrapped__");if(ga||Za){var Cs=ga?w.value():w,Ha=Za?F.value():F;return Qt||(Qt=new Ut),xt(Cs,Ha,fe,Be,Qt)}}return $i?(Qt||(Qt=new Ut),C(w,F,fe,Be,xt,Qt)):!1}function tl(w){return gu(w)&&Fs(w)==We}function Cc(w,F,fe,Be){var xt=fe.length,Qt=xt,pr=!Be;if(w==null)return!Qt;for(w=Vn(w);xt--;){var Lr=fe[xt];if(pr&&Lr[2]?Lr[1]!==w[Lr[0]]:!(Lr[0]in w))return!1}for(;++xt<Qt;){Lr=fe[xt];var Jr=Lr[0],Nn=w[Jr],Un=Lr[1];if(pr&&Lr[2]){if(Nn===i&&!(Jr in w))return!1}else{var qn=new Ut;if(Be)var $i=Be(Nn,Un,Jr,w,F,qn);if(!($i===i?Ou(Un,Nn,b|S,Be,qn):$i))return!1}}return!0}function Kc(w){if(!fu(w)||$c(w))return!1;var F=jf(w)?mo:Rt;return F.test(ba(w))}function Lo(w){return gu(w)&&eo(w)==Je}function Vc(w){return gu(w)&&Fs(w)==Ue}function hf(w){return gu(w)&&vd(w.length)&&!!ln[eo(w)]}function oc(w){return typeof w=="function"?w:w==null?nc:typeof w=="object"?Na(w)?Es(w[0],w[1]):Wl(w):qd(w)}function ml(w){if(!Pl(w))return Mi(w);var F=[];for(var fe in Vn(w))vi.call(w,fe)&&fe!="constructor"&&F.push(fe);return F}function pf(w){if(!fu(w))return jc(w);var F=Pl(w),fe=[];for(var Be in w)Be=="constructor"&&(F||!vi.call(w,Be))||fe.push(Be);return fe}function Uo(w,F){return w<F}function Zu(w,F){var fe=-1,Be=Cu(w)?Fr(w.length):[];return To(w,function(xt,Qt,pr){Be[++fe]=F(xt,Qt,pr)}),Be}function Wl(w){var F=Ka(w);return F.length==1&&F[0][2]?Yu(F[0][0],F[0][1]):function(fe){return fe===w||Cc(fe,w,F)}}function Es(w,F){return ws(w)&&Ru(F)?Yu(ca(w),F):function(fe){var Be=Cd(fe,w);return Be===i&&Be===F?Pd(fe,w):Ou(F,Be,b|S)}}function Xo(w,F,fe,Be,xt){w!==F&&dl(F,function(Qt,pr){if(xt||(xt=new Ut),fu(Qt))su(w,F,pr,fe,Xo,Be,xt);else{var Lr=Be?Be(yc(w,pr),Qt,pr+"",w,F,xt):i;Lr===i&&(Lr=Qt),la(w,pr,Lr)}},rc)}function su(w,F,fe,Be,xt,Qt,pr){var Lr=yc(w,fe),Jr=yc(F,fe),Nn=pr.get(Jr);if(Nn){la(w,fe,Nn);return}var Un=Qt?Qt(Lr,Jr,fe+"",w,F,pr):i,qn=Un===i;if(qn){var $i=Na(Jr),ga=!$i&&xc(Jr),Za=!$i&&!ga&&ed(Jr);Un=Jr,$i||ga||Za?Na(Lr)?Un=Lr:Po(Lr)?Un=qo(Lr):ga?(qn=!1,Un=kf(Jr,!0)):Za?(qn=!1,Un=vl(Jr,!0)):Un=[]:fd(Jr)||Bu(Jr)?(Un=Lr,Bu(Lr)?Un=zd(Lr):(!fu(Lr)||jf(Lr))&&(Un=Tl(Jr))):qn=!1}qn&&(pr.set(Jr,Un),xt(Un,Jr,Be,Qt,pr),pr.delete(Jr)),la(w,fe,Un)}function Pc(w,F){var fe=w.length;if(fe)return F+=F<0?fe:0,Ko(F,fe)?w[F]:i}function uu(w,F,fe){F.length?F=oa(F,function(Qt){return Na(Qt)?function(pr){return hu(pr,Qt.length===1?Qt[0]:Qt)}:Qt}):F=[nc];var Be=-1;F=oa(F,js(yn()));var xt=Zu(w,function(Qt,pr,Lr){var Jr=oa(F,function(Nn){return Nn(Qt)});return{criteria:Jr,index:++Be,value:Qt}});return ts(xt,function(Qt,pr){return vu(Qt,pr,fe)})}function mu(w,F){return Ic(w,F,function(fe,Be){return Pd(w,Be)})}function Ic(w,F,fe){for(var Be=-1,xt=F.length,Qt={};++Be<xt;){var pr=F[Be],Lr=hu(w,pr);fe(Lr,pr)&&rl(Qt,_u(pr,w),Lr)}return Qt}function Yc(w){return function(F){return hu(F,w)}}function Eu(w,F,fe,Be){var xt=Be?ru:Zo,Qt=-1,pr=F.length,Lr=w;for(w===F&&(F=qo(F)),fe&&(Lr=oa(w,js(fe)));++Qt<pr;)for(var Jr=0,Nn=F[Qt],Un=fe?fe(Nn):Nn;(Jr=xt(Lr,Un,Jr,Be))>-1;)Lr!==w&&vr.call(Lr,Jr,1),vr.call(w,Jr,1);return w}function Gl(w,F){for(var fe=w?F.length:0,Be=fe-1;fe--;){var xt=F[fe];if(fe==Be||xt!==Qt){var Qt=xt;Ko(xt)?vr.call(w,xt,1):Kl(w,xt)}}return w}function Hu(w,F){return w+Ui(ua()*(F-w+1))}function Dc(w,F,fe,Be){for(var xt=-1,Qt=Di(Ai((F-w)/(fe||1)),0),pr=Fr(Qt);Qt--;)pr[Be?Qt:++xt]=w,w+=fe;return pr}function Fl(w,F){var fe="";if(!w||F<1||F>Q)return fe;do F%2&&(fe+=w),F=Ui(F/2),F&&(w+=w);while(F);return fe}function Qa(w,F){return Dl(Lu(w,F,nc),w+"")}function mf(w){return ei(td(w))}function _f(w,F){var fe=td(w);return Gi(fe,Qs(F,0,fe.length))}function rl(w,F,fe,Be){if(!fu(w))return w;F=_u(F,w);for(var xt=-1,Qt=F.length,pr=Qt-1,Lr=w;Lr!=null&&++xt<Qt;){var Jr=ca(F[xt]),Nn=fe;if(Jr==="__proto__"||Jr==="constructor"||Jr==="prototype")return w;if(xt!=pr){var Un=Lr[Jr];Nn=Be?Be(Un,Jr,Lr):i,Nn===i&&(Nn=fu(Un)?Un:Ko(F[xt+1])?[]:{})}Er(Lr,Jr,Nn),Lr=Lr[Jr]}return w}var Xc=gs?function(w,F){return gs.set(w,F),w}:nc,Of=on?function(w,F){return on(w,"toString",{configurable:!0,enumerable:!1,value:Dd(F),writable:!0})}:nc;function Oc(w){return Gi(td(w))}function wu(w,F,fe){var Be=-1,xt=w.length;F<0&&(F=-F>xt?0:xt+F),fe=fe>xt?xt:fe,fe<0&&(fe+=xt),xt=F>fe?0:fe-F>>>0,F>>>=0;for(var Qt=Fr(xt);++Be<xt;)Qt[Be]=w[Be+F];return Qt}function vf(w,F){var fe;return To(w,function(Be,xt,Qt){return fe=F(Be,xt,Qt),!fe}),!!fe}function kc(w,F,fe){var Be=0,xt=w==null?Be:w.length;if(typeof F=="number"&&F===F&&xt<=me){for(;Be<xt;){var Qt=Be+xt>>>1,pr=w[Qt];pr!==null&&!Ec(pr)&&(fe?pr<=F:pr<F)?Be=Qt+1:xt=Qt}return xt}return uc(w,F,nc,fe)}function uc(w,F,fe,Be){var xt=0,Qt=w==null?0:w.length;if(Qt===0)return 0;F=fe(F);for(var pr=F!==F,Lr=F===null,Jr=Ec(F),Nn=F===i;xt<Qt;){var Un=Ui((xt+Qt)/2),qn=fe(w[Un]),$i=qn!==i,ga=qn===null,Za=qn===qn,Cs=Ec(qn);if(pr)var Ha=Be||Za;else Nn?Ha=Za&&(Be||$i):Lr?Ha=Za&&$i&&(Be||!ga):Jr?Ha=Za&&$i&&!ga&&(Be||!Cs):ga||Cs?Ha=!1:Ha=Be?qn<=F:qn<F;Ha?xt=Un+1:Qt=Un}return wa(Qt,ie)}function Qc(w,F){for(var fe=-1,Be=w.length,xt=0,Qt=[];++fe<Be;){var pr=w[fe],Lr=F?F(pr):pr;if(!fe||!Wc(Lr,Jr)){var Jr=Lr;Qt[xt++]=pr===0?0:pr}}return Qt}function lc(w){return typeof w=="number"?w:Ec(w)?z:+w}function Su(w){if(typeof w=="string")return w;if(Na(w))return oa(w,Su)+"";if(Ec(w))return ye?ye.call(w):"";var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function Wu(w,F,fe){var Be=-1,xt=Ps,Qt=w.length,pr=!0,Lr=[],Jr=Lr;if(fe)pr=!1,xt=Is;else if(Qt>=c){var Nn=F?null:Ef(w);if(Nn)return Yo(Nn);pr=!1,xt=nu,Jr=new Te}else Jr=F?[]:Lr;e:for(;++Be<Qt;){var Un=w[Be],qn=F?F(Un):Un;if(Un=fe||Un!==0?Un:0,pr&&qn===qn){for(var $i=Jr.length;$i--;)if(Jr[$i]===qn)continue e;F&&Jr.push(qn),Lr.push(Un)}else xt(Jr,qn,fe)||(Jr!==Lr&&Jr.push(qn),Lr.push(Un))}return Lr}function Kl(w,F){return F=_u(F,w),w=Il(w,F),w==null||delete w[ca(ou(F))]}function nl(w,F,fe,Be){return rl(w,F,fe(hu(w,F)),Be)}function qc(w,F,fe,Be){for(var xt=w.length,Qt=Be?xt:-1;(Be?Qt--:++Qt<xt)&&F(w[Qt],Qt,w););return fe?wu(w,Be?0:Qt,Be?Qt+1:xt):wu(w,Be?Qt+1:0,Be?xt:Qt)}function gf(w,F){var fe=w;return fe instanceof en&&(fe=fe.value()),Ja(F,function(Be,xt){return xt.func.apply(xt.thisArg,ss([Be],xt.args))},fe)}function Vl(w,F,fe){var Be=w.length;if(Be<2)return Be?Wu(w[0]):[];for(var xt=-1,Qt=Fr(Be);++xt<Be;)for(var pr=w[xt],Lr=-1;++Lr<Be;)Lr!=xt&&(Qt[xt]=qs(Qt[xt]||pr,w[Lr],F,fe));return Wu(Vs(Qt,1),F,fe)}function Ms(w,F,fe){for(var Be=-1,xt=w.length,Qt=F.length,pr={};++Be<xt;){var Lr=Be<Qt?F[Be]:i;fe(pr,w[Be],Lr)}return pr}function go(w){return Po(w)?w:[]}function _l(w){return typeof w=="function"?w:nc}function _u(w,F){return Na(w)?w:ws(w,F)?[w]:Ma(wo(w))}var il=Qa;function Co(w,F,fe){var Be=w.length;return fe=fe===i?Be:fe,!F&&fe>=Be?w:wu(w,F,fe)}var Bl=Sn||function(w){return $a.clearTimeout(w)};function kf(w,F){if(F)return w.slice();var fe=w.length,Be=Xe?Xe(fe):new w.constructor(fe);return w.copy(Be),Be}function Jc(w){var F=new w.constructor(w.byteLength);return new no(F).set(new no(w)),F}function yf(w,F){var fe=F?Jc(w.buffer):w.buffer;return new w.constructor(fe,w.byteOffset,w.byteLength)}function Sl(w){var F=new w.constructor(w.source,un.exec(w));return F.lastIndex=w.lastIndex,F}function Qo(w){return Oa?Vn(Oa.call(w)):{}}function vl(w,F){var fe=F?Jc(w.buffer):w.buffer;return new w.constructor(fe,w.byteOffset,w.length)}function $e(w,F){if(w!==F){var fe=w!==i,Be=w===null,xt=w===w,Qt=Ec(w),pr=F!==i,Lr=F===null,Jr=F===F,Nn=Ec(F);if(!Lr&&!Nn&&!Qt&&w>F||Qt&&pr&&Jr&&!Lr&&!Nn||Be&&pr&&Jr||!fe&&Jr||!xt)return 1;if(!Be&&!Qt&&!Nn&&w<F||Nn&&fe&&xt&&!Be&&!Qt||Lr&&fe&&xt||!pr&&xt||!Jr)return-1}return 0}function vu(w,F,fe){for(var Be=-1,xt=w.criteria,Qt=F.criteria,pr=xt.length,Lr=fe.length;++Be<pr;){var Jr=$e(xt[Be],Qt[Be]);if(Jr){if(Be>=Lr)return Jr;var Nn=fe[Be];return Jr*(Nn=="desc"?-1:1)}}return w.index-F.index}function Au(w,F,fe,Be){for(var xt=-1,Qt=w.length,pr=fe.length,Lr=-1,Jr=F.length,Nn=Di(Qt-pr,0),Un=Fr(Jr+Nn),qn=!Be;++Lr<Jr;)Un[Lr]=F[Lr];for(;++xt<pr;)(qn||xt<Qt)&&(Un[fe[xt]]=w[xt]);for(;Nn--;)Un[Lr++]=w[xt++];return Un}function cc(w,F,fe,Be){for(var xt=-1,Qt=w.length,pr=-1,Lr=fe.length,Jr=-1,Nn=F.length,Un=Di(Qt-Lr,0),qn=Fr(Un+Nn),$i=!Be;++xt<Un;)qn[xt]=w[xt];for(var ga=xt;++Jr<Nn;)qn[ga+Jr]=F[Jr];for(;++pr<Lr;)($i||xt<Qt)&&(qn[ga+fe[pr]]=w[xt++]);return qn}function qo(w,F){var fe=-1,Be=w.length;for(F||(F=Fr(Be));++fe<Be;)F[fe]=w[fe];return F}function ku(w,F,fe,Be){var xt=!fe;fe||(fe={});for(var Qt=-1,pr=F.length;++Qt<pr;){var Lr=F[Qt],Jr=Be?Be(fe[Lr],w[Lr],Lr,fe,w):i;Jr===i&&(Jr=w[Lr]),xt?Ua(fe,Lr,Jr):Er(fe,Lr,Jr)}return fe}function Yl(w,F){return ku(w,Ts(w),F)}function fc(w,F){return ku(w,Eo(w),F)}function Nl(w,F){return function(fe,Be){var xt=Na(fe)?Ns:bs,Qt=F?F():{};return xt(fe,w,yn(Be,2),Qt)}}function Gu(w){return Qa(function(F,fe){var Be=-1,xt=fe.length,Qt=xt>1?fe[xt-1]:i,pr=xt>2?fe[2]:i;for(Qt=w.length>3&&typeof Qt=="function"?(xt--,Qt):i,pr&&so(fe[0],fe[1],pr)&&(Qt=xt<3?i:Qt,xt=1),F=Vn(F);++Be<xt;){var Lr=fe[Be];Lr&&w(F,Lr,Be,Qt)}return F})}function al(w,F){return function(fe,Be){if(fe==null)return fe;if(!Cu(fe))return w(fe,Be);for(var xt=fe.length,Qt=F?xt:-1,pr=Vn(fe);(F?Qt--:++Qt<xt)&&Be(pr[Qt],Qt,pr)!==!1;);return fe}}function Rc(w){return function(F,fe,Be){for(var xt=-1,Qt=Vn(F),pr=Be(F),Lr=pr.length;Lr--;){var Jr=pr[w?Lr:++xt];if(fe(Qt[Jr],Jr,Qt)===!1)break}return F}}function dc(w,F,fe){var Be=F&k,xt=Ku(w);function Qt(){var pr=this&&this!==$a&&this instanceof Qt?xt:w;return pr.apply(Be?fe:this,arguments)}return Qt}function Tu(w){return function(F){F=wo(F);var fe=Oo(F)?hr(F):i,Be=fe?fe[0]:F.charAt(0),xt=fe?Co(fe,1).join(""):F.slice(1);return Be[w]()+xt}}function Al(w){return function(F){return Ja(Xd(Yd(F).replace(Cr,"")),w,"")}}function Ku(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 fe=xr(w.prototype),Be=w.apply(fe,F);return fu(Be)?Be:fe}}function Zf(w,F,fe){var Be=Ku(w);function xt(){for(var Qt=arguments.length,pr=Fr(Qt),Lr=Qt,Jr=On(xt);Lr--;)pr[Lr]=arguments[Lr];var Nn=Qt<3&&pr[0]!==Jr&&pr[Qt-1]!==Jr?[]:uo(pr,Jr);if(Qt-=Nn.length,Qt<fe)return vc(w,F,$l,xt.placeholder,i,pr,Nn,i,i,fe-Qt);var Un=this&&this!==$a&&this instanceof xt?Be:w;return Ya(Un,this,pr)}return xt}function bf(w){return function(F,fe,Be){var xt=Vn(F);if(!Cu(F)){var Qt=yn(fe,3);F=ll(F),fe=function(Lr){return Qt(xt[Lr],Lr,xt)}}var pr=w(F,fe,Be);return pr>-1?xt[Qt?F[pr]:pr]:i}}function Jo(w){return D(function(F){var fe=F.length,Be=fe,xt=_r.prototype.thru;for(w&&F.reverse();Be--;){var Qt=F[Be];if(typeof Qt!="function")throw new zr(o);if(xt&&!pr&&hn(Qt)=="wrapper")var pr=new _r([],!0)}for(Be=pr?Be:fe;++Be<fe;){Qt=F[Be];var Lr=hn(Qt),Jr=Lr=="wrapper"?Oe(Qt):i;Jr&&Ql(Jr[0])&&Jr[1]==(G|P|B|W)&&!Jr[4].length&&Jr[9]==1?pr=pr[hn(Jr[0])].apply(pr,Jr[3]):pr=Qt.length==1&&Ql(Qt)?pr[Lr]():pr.thru(Qt)}return function(){var Nn=arguments,Un=Nn[0];if(pr&&Nn.length==1&&Na(Un))return pr.plant(Un).value();for(var qn=0,$i=fe?F[qn].apply(this,Nn):Un;++qn<fe;)$i=F[qn].call(this,$i);return $i}})}function $l(w,F,fe,Be,xt,Qt,pr,Lr,Jr,Nn){var Un=F&G,qn=F&k,$i=F&R,ga=F&(P|M),Za=F&H,Cs=$i?i:Ku(w);function Ha(){for(var Zs=arguments.length,Ys=Fr(Zs),wc=Zs;wc--;)Ys[wc]=arguments[wc];if(ga)var Zl=On(Ha),Sc=Ju(Ys,Zl);if(Be&&(Ys=Au(Ys,Be,xt,ga)),Qt&&(Ys=cc(Ys,Qt,pr,ga)),Zs-=Sc,ga&&Zs<Nn){var Pu=uo(Ys,Zl);return vc(w,F,$l,Ha.placeholder,fe,Ys,Pu,Lr,Jr,Nn-Zs)}var ff=qn?fe:this,zf=$i?ff[w]:w;return Zs=Ys.length,Lr?Ys=Mu(Ys,Lr):Za&&Zs>1&&Ys.reverse(),Un&&Jr<Zs&&(Ys.length=Jr),this&&this!==$a&&this instanceof Ha&&(zf=Cs||Ku(zf)),zf.apply(ff,Ys)}return Ha}function ef(w,F){return function(fe,Be){return ac(fe,w,F(Be),{})}}function hc(w,F){return function(fe,Be){var xt;if(fe===i&&Be===i)return F;if(fe!==i&&(xt=fe),Be!==i){if(xt===i)return Be;typeof fe=="string"||typeof Be=="string"?(fe=Su(fe),Be=Su(Be)):(fe=lc(fe),Be=lc(Be)),xt=w(fe,Be)}return xt}}function pc(w){return D(function(F){return F=oa(F,js(yn())),Qa(function(fe){var Be=this;return w(F,function(xt){return Ya(xt,Be,fe)})})})}function mc(w,F){F=F===i?" ":Su(F);var fe=F.length;if(fe<2)return fe?Fl(F,w):F;var Be=Fl(F,Ai(w/ir(F)));return Oo(F)?Co(hr(Be),0,w).join(""):Be.slice(0,w)}function _c(w,F,fe,Be){var xt=F&k,Qt=Ku(w);function pr(){for(var Lr=-1,Jr=arguments.length,Nn=-1,Un=Be.length,qn=Fr(Un+Jr),$i=this&&this!==$a&&this instanceof pr?Qt:w;++Nn<Un;)qn[Nn]=Be[Nn];for(;Jr--;)qn[Nn++]=arguments[++Lr];return Ya($i,xt?fe:this,qn)}return pr}function xf(w){return function(F,fe,Be){return Be&&typeof Be!="number"&&so(F,fe,Be)&&(fe=Be=i),F=Uf(F),fe===i?(fe=F,F=0):fe=Uf(fe),Be=Be===i?F<fe?1:-1:Uf(Be),Dc(F,fe,Be,w)}}function Lc(w){return function(F,fe){return typeof F=="string"&&typeof fe=="string"||(F=Gc(F),fe=Gc(fe)),w(F,fe)}}function vc(w,F,fe,Be,xt,Qt,pr,Lr,Jr,Nn){var Un=F&P,qn=Un?pr:i,$i=Un?i:pr,ga=Un?Qt:i,Za=Un?i:Qt;F|=Un?B:N,F&=~(Un?N:B),F&A||(F&=~(k|R));var Cs=[w,F,xt,ga,qn,Za,$i,Lr,Jr,Nn],Ha=fe.apply(i,Cs);return Ql(w)&&Xu(Ha,Cs),Ha.placeholder=Be,Fn(Ha,w,F)}function Xl(w){var F=$n[w];return function(fe,Be){if(fe=Gc(fe),Be=Be==null?0:wa(As(Be),292),Be&&Oi(fe)){var xt=(wo(fe)+"e").split("e"),Qt=F(xt[0]+"e"+(+xt[1]+Be));return xt=(wo(Qt)+"e").split("e"),+(xt[0]+"e"+(+xt[1]-Be))}return F(fe)}}var Ef=us&&1/Yo(new us([,-0]))[1]==ee?function(w){return new us(w)}:Rd;function Mc(w){return function(F){var fe=Fs(F);return fe==We?Vo(F):fe==Ue?Du(F):Wo(F,w(F))}}function Vu(w,F,fe,Be,xt,Qt,pr,Lr){var Jr=F&R;if(!Jr&&typeof w!="function")throw new zr(o);var Nn=Be?Be.length:0;if(Nn||(F&=~(B|N),Be=xt=i),pr=pr===i?pr:Di(As(pr),0),Lr=Lr===i?Lr:As(Lr),Nn-=xt?xt.length:0,F&N){var Un=Be,qn=xt;Be=xt=i}var $i=Jr?i:Oe(w),ga=[w,F,fe,Be,xt,Un,qn,Qt,pr,Lr];if($i&&wf(ga,$i),w=ga[0],F=ga[1],fe=ga[2],Be=ga[3],xt=ga[4],Lr=ga[9]=ga[9]===i?Jr?0:w.length:Di(ga[9]-Nn,0),!Lr&&F&(P|M)&&(F&=~(P|M)),!F||F==k)var Za=dc(w,F,fe);else F==P||F==M?Za=Zf(w,F,Lr):(F==B||F==(k|B))&&!xt.length?Za=_c(w,F,fe,Be):Za=$l.apply(i,ga);var Cs=$i?Xc:Xu;return Fn(Cs(Za,ga),w,F)}function sl(w,F,fe,Be){return w===i||Wc(w,Ca[fe])&&!vi.call(Be,fe)?F:w}function lu(w,F,fe,Be,xt,Qt){return fu(w)&&fu(F)&&(Qt.set(F,w),Xo(w,F,i,lu,Qt),Qt.delete(F)),w}function Fc(w){return fd(w)?i:w}function Bc(w,F,fe,Be,xt,Qt){var pr=fe&b,Lr=w.length,Jr=F.length;if(Lr!=Jr&&!(pr&&Jr>Lr))return!1;var Nn=Qt.get(w),Un=Qt.get(F);if(Nn&&Un)return Nn==F&&Un==w;var qn=-1,$i=!0,ga=fe&S?new Te:i;for(Qt.set(w,F),Qt.set(F,w);++qn<Lr;){var Za=w[qn],Cs=F[qn];if(Be)var Ha=pr?Be(Cs,Za,qn,F,w,Qt):Be(Za,Cs,qn,w,F,Qt);if(Ha!==i){if(Ha)continue;$i=!1;break}if(ga){if(!ho(F,function(Zs,Ys){if(!nu(ga,Ys)&&(Za===Zs||xt(Za,Zs,fe,Be,Qt)))return ga.push(Ys)})){$i=!1;break}}else if(!(Za===Cs||xt(Za,Cs,fe,Be,Qt))){$i=!1;break}}return Qt.delete(w),Qt.delete(F),$i}function tf(w,F,fe,Be,xt,Qt,pr){switch(fe){case lt:if(w.byteLength!=F.byteLength||w.byteOffset!=F.byteOffset)return!1;w=w.buffer,F=F.buffer;case rt:return!(w.byteLength!=F.byteLength||!Qt(new no(w),new no(F)));case Bt:case yt:case Pt:return Wc(+w,+F);case rr:return w.name==F.name&&w.message==F.message;case Je:case ge:return w==F+"";case We:var Lr=Vo;case Ue:var Jr=Be&b;if(Lr||(Lr=Yo),w.size!=F.size&&!Jr)return!1;var Nn=pr.get(w);if(Nn)return Nn==F;Be|=S,pr.set(w,F);var Un=Bc(Lr(w),Lr(F),Be,xt,Qt,pr);return pr.delete(w),Un;case Se:if(Oa)return Oa.call(w)==Oa.call(F)}return!1}function C(w,F,fe,Be,xt,Qt){var pr=fe&b,Lr=L(w),Jr=Lr.length,Nn=L(F),Un=Nn.length;if(Jr!=Un&&!pr)return!1;for(var qn=Jr;qn--;){var $i=Lr[qn];if(!(pr?$i in F:vi.call(F,$i)))return!1}var ga=Qt.get(w),Za=Qt.get(F);if(ga&&Za)return ga==F&&Za==w;var Cs=!0;Qt.set(w,F),Qt.set(F,w);for(var Ha=pr;++qn<Jr;){$i=Lr[qn];var Zs=w[$i],Ys=F[$i];if(Be)var wc=pr?Be(Ys,Zs,$i,F,w,Qt):Be(Zs,Ys,$i,w,F,Qt);if(!(wc===i?Zs===Ys||xt(Zs,Ys,fe,Be,Qt):wc)){Cs=!1;break}Ha||(Ha=$i=="constructor")}if(Cs&&!Ha){var Zl=w.constructor,Sc=F.constructor;Zl!=Sc&&"constructor"in w&&"constructor"in F&&!(typeof Zl=="function"&&Zl instanceof Zl&&typeof Sc=="function"&&Sc instanceof Sc)&&(Cs=!1)}return Qt.delete(w),Qt.delete(F),Cs}function D(w){return Dl(Lu(w,i,sf),w+"")}function L(w){return Ml(w,ll,Ts)}function _e(w){return Ml(w,rc,Eo)}var Oe=gs?function(w){return gs.get(w)}:Rd;function hn(w){for(var F=w.name+"",fe=ko[F],Be=vi.call(ko,F)?fe.length:0;Be--;){var xt=fe[Be],Qt=xt.func;if(Qt==null||Qt==w)return xt.name}return F}function On(w){var F=vi.call(we,"placeholder")?we:w;return F.placeholder}function yn(){var w=we.iteratee||Od;return w=w===Od?oc:w,arguments.length?w(arguments[0],arguments[1]):w}function Fi(w,F){var fe=w.__data__;return Cl(F)?fe[typeof F=="string"?"string":"hash"]:fe.map}function Ka(w){for(var F=ll(w),fe=F.length;fe--;){var Be=F[fe],xt=w[Be];F[fe]=[Be,xt,Ru(xt)]}return F}function La(w,F){var fe=Do(w,F);return Kc(fe)?fe:i}function Go(w){var F=vi.call(w,wn),fe=w[wn];try{w[wn]=i;var Be=!0}catch(Qt){}var xt=cn.call(w);return Be&&(F?w[wn]=fe:delete w[wn]),xt}var Ts=na?function(w){return w==null?[]:(w=Vn(w),as(na(w),function(F){return Gt.call(w,F)}))}:Ld,Eo=na?function(w){for(var F=[];w;)ss(F,Ts(w)),w=Qe(w);return F}:Ld,Fs=eo;(va&&Fs(new va(new ArrayBuffer(1)))!=lt||Wi&&Fs(new Wi)!=We||Pa&&Fs(Pa.resolve())!=Et||us&&Fs(new us)!=Ue||ms&&Fs(new ms)!=je)&&(Fs=function(w){var F=eo(w),fe=F==nt?w.constructor:i,Be=fe?ba(fe):"";if(Be)switch(Be){case _s:return lt;case yo:return We;case bo:return Et;case Sa:return Ue;case rs:return je}return F});function gc(w,F,fe){for(var Be=-1,xt=fe.length;++Be<xt;){var Qt=fe[Be],pr=Qt.size;switch(Qt.type){case"drop":w+=pr;break;case"dropRight":F-=pr;break;case"take":F=wa(F,w+pr);break;case"takeRight":w=Di(w,F-pr);break}}return{start:w,end:F}}function rf(w){var F=w.match(Yr);return F?F[1].split(rn):[]}function gl(w,F,fe){F=_u(F,w);for(var Be=-1,xt=F.length,Qt=!1;++Be<xt;){var pr=ca(F[Be]);if(!(Qt=w!=null&&fe(w,pr)))break;w=w[pr]}return Qt||++Be!=xt?Qt:(xt=w==null?0:w.length,!!xt&&vd(xt)&&Ko(pr,xt)&&(Na(w)||Bu(w)))}function nf(w){var F=w.length,fe=new w.constructor(F);return F&&typeof w[0]=="string"&&vi.call(w,"index")&&(fe.index=w.index,fe.input=w.input),fe}function Tl(w){return typeof w.constructor=="function"&&!Pl(w)?xr(Qe(w)):{}}function Zi(w,F,fe){var Be=w.constructor;switch(F){case rt:return Jc(w);case Bt:case yt:return new Be(+w);case lt:return yf(w,fe);case Kt:case Wt:case Ae:case qe:case Vt:case kt:case Ht:case $t:case Tt:return vl(w,fe);case We:return new Be;case Pt:case ge:return new Be(w);case Je:return Sl(w);case Ue:return new Be;case Se:return Qo(w)}}function cu(w,F){var fe=F.length;if(!fe)return w;var Be=fe-1;return F[Be]=(fe>1?"& ":"")+F[Be],F=F.join(fe>2?", ":" "),w.replace(At,`{
|
|
|
/* [wrapped with `+F+`] */
|
|
|
`)}function Nc(w){return Na(w)||Bu(w)||!!(Br&&w&&w[Br])}function Ko(w,F){var fe=typeof w;return F=F==null?Q:F,!!F&&(fe=="number"||fe!="symbol"&>.test(w))&&w>-1&&w%1==0&&w<F}function so(w,F,fe){if(!fu(fe))return!1;var Be=typeof F;return(Be=="number"?Cu(fe)&&Ko(F,fe.length):Be=="string"&&F in fe)?Wc(fe[F],w):!1}function ws(w,F){if(Na(w))return!1;var fe=typeof w;return fe=="number"||fe=="symbol"||fe=="boolean"||w==null||Ec(w)?!0:be.test(w)||!wt.test(w)||F!=null&&w in Vn(F)}function Cl(w){var F=typeof w;return F=="string"||F=="number"||F=="symbol"||F=="boolean"?w!=="__proto__":w===null}function Ql(w){var F=hn(w),fe=we[F];if(typeof fe!="function"||!(F in en.prototype))return!1;if(w===fe)return!0;var Be=Oe(fe);return!!Be&&w===Be[0]}function $c(w){return!!lo&&lo in w}var jl=hs?jf:Md;function Pl(w){var F=w&&w.constructor,fe=typeof F=="function"&&F.prototype||Ca;return w===fe}function Ru(w){return w===w&&!fu(w)}function Yu(w,F){return function(fe){return fe==null?!1:fe[w]===F&&(F!==i||w in Vn(fe))}}function Ul(w){var F=ta(w,function(Be){return fe.size===a&&fe.clear(),Be}),fe=F.cache;return F}function wf(w,F){var fe=w[1],Be=F[1],xt=fe|Be,Qt=xt<(k|R|G),pr=Be==G&&fe==P||Be==G&&fe==W&&w[7].length<=F[8]||Be==(G|W)&&F[7].length<=F[8]&&fe==P;if(!(Qt||pr))return w;Be&k&&(w[2]=F[2],xt|=fe&k?0:A);var Lr=F[3];if(Lr){var Jr=w[3];w[3]=Jr?Au(Jr,Lr,F[4]):Lr,w[4]=Jr?uo(w[3],x):F[4]}return Lr=F[5],Lr&&(Jr=w[5],w[5]=Jr?cc(Jr,Lr,F[6]):Lr,w[6]=Jr?uo(w[5],x):F[6]),Lr=F[7],Lr&&(w[7]=Lr),Be&G&&(w[8]=w[8]==null?F[8]:wa(w[8],F[8])),w[9]==null&&(w[9]=F[9]),w[0]=F[0],w[1]=xt,w}function jc(w){var F=[];if(w!=null)for(var fe in Vn(w))F.push(fe);return F}function Sf(w){return cn.call(w)}function Lu(w,F,fe){return F=Di(F===i?w.length-1:F,0),function(){for(var Be=arguments,xt=-1,Qt=Di(Be.length-F,0),pr=Fr(Qt);++xt<Qt;)pr[xt]=Be[F+xt];xt=-1;for(var Lr=Fr(F+1);++xt<F;)Lr[xt]=Be[xt];return Lr[F]=fe(pr),Ya(w,this,Lr)}}function Il(w,F){return F.length<2?w:hu(w,wu(F,0,-1))}function Mu(w,F){for(var fe=w.length,Be=wa(F.length,fe),xt=qo(w);Be--;){var Qt=F[Be];w[Be]=Ko(Qt,fe)?xt[Qt]:i}return w}function yc(w,F){if(!(F==="constructor"&&typeof w[F]=="function")&&F!="__proto__")return w[F]}var Xu=ti(Xc),Uc=ai||function(w,F){return $a.setTimeout(w,F)},Dl=ti(Of);function Fn(w,F,fe){var Be=F+"";return Dl(w,cu(Be,ka(rf(Be),fe)))}function ti(w){var F=0,fe=0;return function(){var Be=_o(),xt=q-(Be-fe);if(fe=Be,xt>0){if(++F>=oe)return arguments[0]}else F=0;return w.apply(i,arguments)}}function Gi(w,F){var fe=-1,Be=w.length,xt=Be-1;for(F=F===i?Be:F;++fe<F;){var Qt=Hu(fe,xt),pr=w[Qt];w[Qt]=w[fe],w[fe]=pr}return w.length=F,w}var Ma=Ul(function(w){var F=[];return w.charCodeAt(0)===46&&F.push(""),w.replace(Ye,function(fe,Be,xt,Qt){F.push(xt?Qt.replace(mr,"$1"):Be||fe)}),F});function ca(w){if(typeof w=="string"||Ec(w))return w;var F=w+"";return F=="0"&&1/w==-ee?"-0":F}function ba(w){if(w!=null){try{return Rs.call(w)}catch(F){}try{return w+""}catch(F){}}return""}function ka(w,F){return is(Pe,function(fe){var Be="_."+fe[0];F&fe[1]&&!Ps(w,Be)&&w.push(Be)}),w.sort()}function Ds(w){if(w instanceof en)return w.clone();var F=new _r(w.__wrapped__,w.__chain__);return F.__actions__=qo(w.__actions__),F.__index__=w.__index__,F.__values__=w.__values__,F}function fa(w,F,fe){(fe?so(w,F,fe):F===i)?F=1:F=Di(As(F),0);var Be=w==null?0:w.length;if(!Be||F<1)return[];for(var xt=0,Qt=0,pr=Fr(Ai(Be/F));xt<Be;)pr[Qt++]=wu(w,xt,xt+=F);return pr}function Os(w){for(var F=-1,fe=w==null?0:w.length,Be=0,xt=[];++F<fe;){var Qt=w[F];Qt&&(xt[Be++]=Qt)}return xt}function Qu(){var w=arguments.length;if(!w)return[];for(var F=Fr(w-1),fe=arguments[0],Be=w;Be--;)F[Be-1]=arguments[Be];return ss(Na(fe)?qo(fe):[fe],Vs(F,1))}var Fu=Qa(function(w,F){return Po(w)?qs(w,Vs(F,1,Po,!0)):[]}),Ol=Qa(function(w,F){var fe=ou(F);return Po(fe)&&(fe=i),Po(w)?qs(w,Vs(F,1,Po,!0),yn(fe,2)):[]}),yl=Qa(function(w,F){var fe=ou(F);return Po(fe)&&(fe=i),Po(w)?qs(w,Vs(F,1,Po,!0),i,fe):[]});function zl(w,F,fe){var Be=w==null?0:w.length;return Be?(F=fe||F===i?1:As(F),wu(w,F<0?0:F,Be)):[]}function Kf(w,F,fe){var Be=w==null?0:w.length;return Be?(F=fe||F===i?1:As(F),F=Be-F,wu(w,0,F<0?0:F)):[]}function Af(w,F){return w&&w.length?qc(w,yn(F,3),!0,!0):[]}function ql(w,F){return w&&w.length?qc(w,yn(F,3),!0):[]}function Tf(w,F,fe,Be){var xt=w==null?0:w.length;return xt?(fe&&typeof fe!="number"&&so(w,F,fe)&&(fe=0,Be=xt),fl(w,F,fe,Be)):[]}function af(w,F,fe){var Be=w==null?0:w.length;if(!Be)return-1;var xt=fe==null?0:As(fe);return xt<0&&(xt=Di(Be+xt,0)),Io(w,yn(F,3),xt)}function Cf(w,F,fe){var Be=w==null?0:w.length;if(!Be)return-1;var xt=Be-1;return fe!==i&&(xt=As(fe),xt=fe<0?Di(Be+xt,0):wa(xt,Be-1)),Io(w,yn(F,3),xt,!0)}function sf(w){var F=w==null?0:w.length;return F?Vs(w,1):[]}function bl(w){var F=w==null?0:w.length;return F?Vs(w,ee):[]}function Hf(w,F){var fe=w==null?0:w.length;return fe?(F=F===i?1:As(F),Vs(w,F)):[]}function xl(w){for(var F=-1,fe=w==null?0:w.length,Be={};++F<fe;){var xt=w[F];Be[xt[0]]=xt[1]}return Be}function zc(w){return w&&w.length?w[0]:i}function Rf(w,F,fe){var Be=w==null?0:w.length;if(!Be)return-1;var xt=fe==null?0:As(fe);return xt<0&&(xt=Di(Be+xt,0)),Zo(w,F,xt)}function eu(w){var F=w==null?0:w.length;return F?wu(w,0,-1):[]}var of=Qa(function(w){var F=oa(w,go);return F.length&&F[0]===w[0]?Ac(F):[]}),Pf=Qa(function(w){var F=ou(w),fe=oa(w,go);return F===ou(fe)?F=i:fe.pop(),fe.length&&fe[0]===w[0]?Ac(fe,yn(F,2)):[]}),kl=Qa(function(w){var F=ou(w),fe=oa(w,go);return F=typeof F=="function"?F:i,F&&fe.pop(),fe.length&&fe[0]===w[0]?Ac(fe,i,F):[]});function Jl(w,F){return w==null?"":Da.call(w,F)}function ou(w){var F=w==null?0:w.length;return F?w[F-1]:i}function uf(w,F,fe){var Be=w==null?0:w.length;if(!Be)return-1;var xt=Be;return fe!==i&&(xt=As(fe),xt=xt<0?Di(Be+xt,0):wa(xt,Be-1)),F===F?dr(w,F,xt):Io(w,Ho,xt,!0)}function Lf(w,F){return w&&w.length?Pc(w,As(F)):i}var lf=Qa(ec);function ec(w,F){return w&&w.length&&F&&F.length?Eu(w,F):w}function Mf(w,F,fe){return w&&w.length&&F&&F.length?Eu(w,F,yn(fe,2)):w}function cf(w,F,fe){return w&&w.length&&F&&F.length?Eu(w,F,i,fe):w}var Wf=D(function(w,F){var fe=w==null?0:w.length,Be=io(w,F);return Gl(w,oa(F,function(xt){return Ko(xt,fe)?+xt:xt}).sort($e)),Be});function Qf(w,F){var fe=[];if(!(w&&w.length))return fe;var Be=-1,xt=[],Qt=w.length;for(F=yn(F,3);++Be<Qt;){var pr=w[Be];F(pr,Be,w)&&(fe.push(pr),xt.push(Be))}return Gl(w,xt),fe}function If(w){return w==null?w:Xa.call(w)}function rd(w,F,fe){var Be=w==null?0:w.length;return Be?(fe&&typeof fe!="number"&&so(w,F,fe)?(F=0,fe=Be):(F=F==null?0:As(F),fe=fe===i?Be:As(fe)),wu(w,F,fe)):[]}function Vf(w,F){return kc(w,F)}function Ff(w,F,fe){return uc(w,F,yn(fe,2))}function nd(w,F){var fe=w==null?0:w.length;if(fe){var Be=kc(w,F);if(Be<fe&&Wc(w[Be],F))return Be}return-1}function Bf(w,F){return kc(w,F,!0)}function qf(w,F,fe){return uc(w,F,yn(fe,2),!0)}function id(w,F){var fe=w==null?0:w.length;if(fe){var Be=kc(w,F,!0)-1;if(Wc(w[Be],F))return Be}return-1}function Nf(w){return w&&w.length?Qc(w):[]}function ad(w,F){return w&&w.length?Qc(w,yn(F,2)):[]}function Gf(w){var F=w==null?0:w.length;return F?wu(w,1,F):[]}function g(w,F,fe){return w&&w.length?(F=fe||F===i?1:As(F),wu(w,0,F<0?0:F)):[]}function T(w,F,fe){var Be=w==null?0:w.length;return Be?(F=fe||F===i?1:As(F),F=Be-F,wu(w,F<0?0:F,Be)):[]}function U(w,F){return w&&w.length?qc(w,yn(F,3),!1,!0):[]}function ve(w,F){return w&&w.length?qc(w,yn(F,3)):[]}var ke=Qa(function(w){return Wu(Vs(w,1,Po,!0))}),ot=Qa(function(w){var F=ou(w);return Po(F)&&(F=i),Wu(Vs(w,1,Po,!0),yn(F,2))}),Nt=Qa(function(w){var F=ou(w);return F=typeof F=="function"?F:i,Wu(Vs(w,1,Po,!0),i,F)});function nr(w){return w&&w.length?Wu(w):[]}function Dr(w,F){return w&&w.length?Wu(w,yn(F,2)):[]}function _n(w,F){return F=typeof F=="function"?F:i,w&&w.length?Wu(w,i,F):[]}function Bi(w){if(!(w&&w.length))return[];var F=0;return w=as(w,function(fe){if(Po(fe))return F=Di(fe.length,F),!0}),Bo(F,function(fe){return oa(w,oi(fe))})}function za(w,F){if(!(w&&w.length))return[];var fe=Bi(w);return F==null?fe:oa(fe,function(Be){return Ya(F,i,Be)})}var Qn=Qa(function(w,F){return Po(w)?qs(w,F):[]}),da=Qa(function(w){return Vl(as(w,Po))}),Fa=Qa(function(w){var F=ou(w);return Po(F)&&(F=i),Vl(as(w,Po),yn(F,2))}),Ta=Qa(function(w){var F=ou(w);return F=typeof F=="function"?F:i,Vl(as(w,Po),i,F)}),tn=Qa(Bi);function Ur(w,F){return Ms(w||[],F||[],Er)}function qr(w,F){return Ms(w||[],F||[],rl)}var kn=Qa(function(w){var F=w.length,fe=F>1?w[F-1]:i;return fe=typeof fe=="function"?(w.pop(),fe):i,za(w,fe)});function Zn(w){var F=we(w);return F.__chain__=!0,F}function Va(w,F){return F(w),w}function Ki(w,F){return F(w)}var Ga=D(function(w){var F=w.length,fe=F?w[0]:0,Be=this.__wrapped__,xt=function(Qt){return io(Qt,w)};return F>1||this.__actions__.length||!(Be instanceof en)||!Ko(fe)?this.thru(xt):(Be=Be.slice(fe,+fe+(F?1:0)),Be.__actions__.push({func:Ki,args:[xt],thisArg:i}),new _r(Be,this.__chain__).thru(function(Qt){return F&&!Qt.length&&Qt.push(i),Qt}))});function ls(){return Zn(this)}function qa(){return new _r(this.value(),this.__chain__)}function Zc(){this.__values__===i&&(this.__values__=jd(this.value()));var w=this.__index__>=this.__values__.length,F=w?i:this.__values__[this.__index__++];return{done:w,value:F}}function sd(){return this}function bd(w){for(var F,fe=this;fe instanceof Qr;){var Be=Ds(fe);Be.__index__=0,Be.__values__=i,F?xt.__wrapped__=Be:F=Be;var xt=Be;fe=fe.__wrapped__}return xt.__wrapped__=w,F}function xd(){var w=this.__wrapped__;if(w instanceof en){var F=w;return this.__actions__.length&&(F=new en(this)),F=F.reverse(),F.__actions__.push({func:Ki,args:[If],thisArg:i}),new _r(F,this.__chain__)}return this.thru(If)}function Ed(){return gf(this.__wrapped__,this.__actions__)}var od=Nl(function(w,F,fe){vi.call(w,fe)?++w[fe]:Ua(w,fe,1)});function dd(w,F,fe){var Be=Na(w)?bn:ic;return fe&&so(w,F,fe)&&(F=i),Be(w,yn(F,3))}function ud(w,F){var fe=Na(w)?as:el;return fe(w,yn(F,3))}var wd=bf(af),Df=bf(Cf);function O(w,F){return Vs(V(w,F),1)}function t(w,F){return Vs(V(w,F),ee)}function n(w,F,fe){return fe=fe===i?1:As(fe),Vs(V(w,F),fe)}function s(w,F){var fe=Na(w)?is:To;return fe(w,yn(F,3))}function _(w,F){var fe=Na(w)?fo:xs;return fe(w,yn(F,3))}var E=Nl(function(w,F,fe){vi.call(w,fe)?w[fe].push(F):Ua(w,fe,[F])});function I(w,F,fe,Be){w=Cu(w)?w:td(w),fe=fe&&!Be?As(fe):0;var xt=w.length;return fe<0&&(fe=Di(xt+fe,0)),gd(w)?fe<=xt&&w.indexOf(F,fe)>-1:!!xt&&Zo(w,F,fe)>-1}var j=Qa(function(w,F,fe){var Be=-1,xt=typeof F=="function",Qt=Cu(w)?Fr(w.length):[];return To(w,function(pr){Qt[++Be]=xt?Ya(F,pr,fe):hi(pr,F,fe)}),Qt}),Y=Nl(function(w,F,fe){Ua(w,fe,F)});function V(w,F){var fe=Na(w)?oa:Zu;return fe(w,yn(F,3))}function ue(w,F,fe,Be){return w==null?[]:(Na(F)||(F=F==null?[]:[F]),fe=Be?i:fe,Na(fe)||(fe=fe==null?[]:[fe]),uu(w,F,fe))}var he=Nl(function(w,F,fe){w[fe?0:1].push(F)},function(){return[[],[]]});function Ee(w,F,fe){var Be=Na(w)?Ja:es,xt=arguments.length<3;return Be(w,yn(F,4),fe,xt,To)}function Re(w,F,fe){var Be=Na(w)?$s:es,xt=arguments.length<3;return Be(w,yn(F,4),fe,xt,xs)}function Fe(w,F){var fe=Na(w)?as:el;return fe(w,Ri(yn(F,3)))}function ft(w){var F=Na(w)?ei:mf;return F(w)}function st(w,F,fe){(fe?so(w,F,fe):F===i)?F=1:F=As(F);var Be=Na(w)?Ci:_f;return Be(w,F)}function Ft(w){var F=Na(w)?Aa:Oc;return F(w)}function fr(w){if(w==null)return 0;if(Cu(w))return gd(w)?ir(w):w.length;var F=Fs(w);return F==We||F==Ue?w.size:ml(w).length}function ar(w,F,fe){var Be=Na(w)?ho:vf;return fe&&so(w,F,fe)&&(F=i),Be(w,yn(F,3))}var $r=Qa(function(w,F){if(w==null)return[];var fe=F.length;return fe>1&&so(w,F[0],F[1])?F=[]:fe>2&&so(F[0],F[1],F[2])&&(F=[F[0]]),uu(w,Vs(F,1),[])}),Xr=ri||function(){return $a.Date.now()};function gn(w,F){if(typeof F!="function")throw new zr(o);return w=As(w),function(){if(--w<1)return F.apply(this,arguments)}}function Kr(w,F,fe){return F=fe?i:F,F=w&&F==null?w.length:F,Vu(w,G,i,i,i,i,F)}function an(w,F){var fe;if(typeof F!="function")throw new zr(o);return w=As(w),function(){return--w>0&&(fe=F.apply(this,arguments)),w<=1&&(F=i),fe}}var dn=Qa(function(w,F,fe){var Be=k;if(fe.length){var xt=uo(fe,On(dn));Be|=B}return Vu(w,Be,F,fe,xt)}),Vr=Qa(function(w,F,fe){var Be=k|R;if(fe.length){var xt=uo(fe,On(Vr));Be|=B}return Vu(F,Be,w,fe,xt)});function Cn(w,F,fe){F=fe?i:F;var Be=Vu(w,P,i,i,i,i,i,F);return Be.placeholder=Cn.placeholder,Be}function wi(w,F,fe){F=fe?i:F;var Be=Vu(w,M,i,i,i,i,i,F);return Be.placeholder=wi.placeholder,Be}function qi(w,F,fe){var Be,xt,Qt,pr,Lr,Jr,Nn=0,Un=!1,qn=!1,$i=!0;if(typeof w!="function")throw new zr(o);F=Gc(F)||0,fu(fe)&&(Un=!!fe.leading,qn="maxWait"in fe,Qt=qn?Di(Gc(fe.maxWait)||0,F):Qt,$i="trailing"in fe?!!fe.trailing:$i);function ga(Pu){var ff=Be,zf=xt;return Be=xt=i,Nn=Pu,pr=w.apply(zf,ff),pr}function Za(Pu){return Nn=Pu,Lr=Uc(Zs,F),Un?ga(Pu):pr}function Cs(Pu){var ff=Pu-Jr,zf=Pu-Nn,Jd=F-ff;return qn?wa(Jd,Qt-zf):Jd}function Ha(Pu){var ff=Pu-Jr,zf=Pu-Nn;return Jr===i||ff>=F||ff<0||qn&&zf>=Qt}function Zs(){var Pu=Xr();if(Ha(Pu))return Ys(Pu);Lr=Uc(Zs,Cs(Pu))}function Ys(Pu){return Lr=i,$i&&Be?ga(Pu):(Be=xt=i,pr)}function wc(){Lr!==i&&Bl(Lr),Nn=0,Be=Jr=xt=Lr=i}function Zl(){return Lr===i?pr:Ys(Xr())}function Sc(){var Pu=Xr(),ff=Ha(Pu);if(Be=arguments,xt=this,Jr=Pu,ff){if(Lr===i)return Za(Jr);if(qn)return Bl(Lr),Lr=Uc(Zs,F),ga(Jr)}return Lr===i&&(Lr=Uc(Zs,F)),pr}return Sc.cancel=wc,Sc.flush=Zl,Sc}var ma=Qa(function(w,F){return au(w,1,F)}),ea=Qa(function(w,F,fe){return au(w,Gc(F)||0,fe)});function bi(w){return Vu(w,H)}function ta(w,F){if(typeof w!="function"||F!=null&&typeof F!="function")throw new zr(o);var fe=function(){var Be=arguments,xt=F?F.apply(this,Be):Be[0],Qt=fe.cache;if(Qt.has(xt))return Qt.get(xt);var pr=w.apply(this,Be);return fe.cache=Qt.set(xt,pr)||Qt,pr};return fe.cache=new(ta.Cache||ju),fe}ta.Cache=ju;function Ri(w){if(typeof w!="function")throw new zr(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 ha(w){return an(2,w)}var Ba=il(function(w,F){F=F.length==1&&Na(F[0])?oa(F[0],js(yn())):oa(Vs(F,1),js(yn()));var fe=F.length;return Qa(function(Be){for(var xt=-1,Qt=wa(Be.length,fe);++xt<Qt;)Be[xt]=F[xt].call(this,Be[xt]);return Ya(w,this,Be)})}),xi=Qa(function(w,F){var fe=uo(F,On(xi));return Vu(w,B,i,F,fe)}),Ei=Qa(function(w,F){var fe=uo(F,On(Ei));return Vu(w,N,i,F,fe)}),vs=D(function(w,F){return Vu(w,W,i,i,i,F)});function co(w,F){if(typeof w!="function")throw new zr(o);return F=F===i?F:As(F),Qa(w,F)}function Ss(w,F){if(typeof w!="function")throw new zr(o);return F=F==null?0:Di(As(F),0),Qa(function(fe){var Be=fe[F],xt=Co(fe,0,F);return Be&&ss(xt,Be),Ya(w,this,xt)})}function zs(w,F,fe){var Be=!0,xt=!0;if(typeof w!="function")throw new zr(o);return fu(fe)&&(Be="leading"in fe?!!fe.leading:Be,xt="trailing"in fe?!!fe.trailing:xt),qi(w,F,{leading:Be,maxWait:F,trailing:xt})}function ol(w){return Kr(w,1)}function qu(w,F){return xi(_l(F),w)}function tc(){if(!arguments.length)return[];var w=arguments[0];return Na(w)?w:[w]}function Hc(w){return ki(w,m)}function $f(w,F){return F=typeof F=="function"?F:i,ki(w,m,F)}function Sd(w){return ki(w,p|m)}function ld(w,F){return F=typeof F=="function"?F:i,ki(w,p|m,F)}function cd(w,F){return F==null||vo(w,F,ll(F))}function Wc(w,F){return w===F||w!==w&&F!==F}var to=Lc(pu),ul=Lc(function(w,F){return w>=F}),Bu=Tc(function(){return arguments}())?Tc:function(w){return gu(w)&&vi.call(w,"callee")&&!Gt.call(w,"callee")},Na=Fr.isArray,bc=cs?js(cs):ao;function Cu(w){return w!=null&&vd(w.length)&&!jf(w)}function Po(w){return gu(w)&&Cu(w)}function hd(w){return w===!0||w===!1||gu(w)&&eo(w)==Bt}var xc=Xi||Md,pd=fs?js(fs):sc;function Yf(w){return gu(w)&&w.nodeType===1&&!fd(w)}function md(w){if(w==null)return!0;if(Cu(w)&&(Na(w)||typeof w=="string"||typeof w.splice=="function"||xc(w)||ed(w)||Bu(w)))return!w.length;var F=Fs(w);if(F==We||F==Ue)return!w.size;if(Pl(w))return!ml(w).length;for(var fe in w)if(vi.call(w,fe))return!1;return!0}function Ad(w,F){return Ou(w,F)}function _d(w,F,fe){fe=typeof fe=="function"?fe:i;var Be=fe?fe(w,F):i;return Be===i?Ou(w,F,i,fe):!!Be}function Jf(w){if(!gu(w))return!1;var F=eo(w);return F==rr||F==It||typeof w.message=="string"&&typeof w.name=="string"&&!fd(w)}function Xf(w){return typeof w=="number"&&Oi(w)}function jf(w){if(!fu(w))return!1;var F=eo(w);return F==Yt||F==ur||F==Ne||F==ht}function Fd(w){return typeof w=="number"&&w==As(w)}function vd(w){return typeof w=="number"&&w>-1&&w%1==0&&w<=Q}function fu(w){var F=typeof w;return w!=null&&(F=="object"||F=="function")}function gu(w){return w!=null&&typeof w=="object"}var Bd=Li?js(Li):tl;function r0(w,F){return w===F||Cc(w,F,Ka(F))}function n0(w,F,fe){return fe=typeof fe=="function"?fe:i,Cc(w,F,Ka(F),fe)}function i0(w){return Nd(w)&&w!=+w}function a0(w){if(jl(w))throw new In(f);return Kc(w)}function s0(w){return w===null}function o0(w){return w==null}function Nd(w){return typeof w=="number"||gu(w)&&eo(w)==Pt}function fd(w){if(!gu(w)||eo(w)!=nt)return!1;var F=Qe(w);if(F===null)return!0;var fe=vi.call(F,"constructor")&&F.constructor;return typeof fe=="function"&&fe instanceof fe&&Rs.call(fe)==Wa}var Td=ra?js(ra):Lo;function u0(w){return Fd(w)&&w>=-Q&&w<=Q}var $d=ks?js(ks):Vc;function gd(w){return typeof w=="string"||!Na(w)&&gu(w)&&eo(w)==ge}function Ec(w){return typeof w=="symbol"||gu(w)&&eo(w)==Se}var ed=Mo?js(Mo):hf;function l0(w){return w===i}function c0(w){return gu(w)&&Fs(w)==je}function f0(w){return gu(w)&&eo(w)==He}var d0=Lc(Uo),h0=Lc(function(w,F){return w<=F});function jd(w){if(!w)return[];if(Cu(w))return gd(w)?hr(w):qo(w);if(Wr&&w[Wr])return Iu(w[Wr]());var F=Fs(w),fe=F==We?Vo:F==Ue?Yo:td;return fe(w)}function Uf(w){if(!w)return w===0?w:0;if(w=Gc(w),w===ee||w===-ee){var F=w<0?-1:1;return F*le}return w===w?w:0}function As(w){var F=Uf(w),fe=F%1;return F===F?fe?F-fe:F:0}function Ud(w){return w?Qs(As(w),0,$):0}function Gc(w){if(typeof w=="number")return w;if(Ec(w))return z;if(fu(w)){var F=typeof w.valueOf=="function"?w.valueOf():w;w=fu(F)?F+"":F}if(typeof w!="string")return w===0?w:+w;w=du(w);var fe=sr.test(w);return fe||_t.test(w)?Vi(w.slice(2),fe?2:8):mn.test(w)?z:+w}function zd(w){return ku(w,rc(w))}function p0(w){return w?Qs(As(w),-Q,Q):w===0?w:0}function wo(w){return w==null?"":Su(w)}var m0=Gu(function(w,F){if(Pl(F)||Cu(F)){ku(F,ll(F),w);return}for(var fe in F)vi.call(F,fe)&&Er(w,fe,F[fe])}),Zd=Gu(function(w,F){ku(F,rc(F),w)}),yd=Gu(function(w,F,fe,Be){ku(F,rc(F),w,Be)}),_0=Gu(function(w,F,fe,Be){ku(F,ll(F),w,Be)}),v0=D(io);function g0(w,F){var fe=xr(w);return F==null?fe:Ws(fe,F)}var y0=Qa(function(w,F){w=Vn(w);var fe=-1,Be=F.length,xt=Be>2?F[2]:i;for(xt&&so(F[0],F[1],xt)&&(Be=1);++fe<Be;)for(var Qt=F[fe],pr=rc(Qt),Lr=-1,Jr=pr.length;++Lr<Jr;){var Nn=pr[Lr],Un=w[Nn];(Un===i||Wc(Un,Ca[Nn])&&!vi.call(w,Nn))&&(w[Nn]=Qt[Nn])}return w}),b0=Qa(function(w){return w.push(i,lu),Ya(Hd,i,w)});function x0(w,F){return zo(w,yn(F,3),Js)}function E0(w,F){return zo(w,yn(F,3),hl)}function w0(w,F){return w==null?w:dl(w,yn(F,3),rc)}function S0(w,F){return w==null?w:Uu(w,yn(F,3),rc)}function A0(w,F){return w&&Js(w,yn(F,3))}function T0(w,F){return w&&hl(w,yn(F,3))}function C0(w){return w==null?[]:Ll(w,ll(w))}function P0(w){return w==null?[]:Ll(w,rc(w))}function Cd(w,F,fe){var Be=w==null?i:hu(w,F);return Be===i?fe:Be}function I0(w,F){return w!=null&&gl(w,F,pl)}function Pd(w,F){return w!=null&&gl(w,F,Hl)}var D0=ef(function(w,F,fe){F!=null&&typeof F.toString!="function"&&(F=cn.call(F)),w[F]=fe},Dd(nc)),O0=ef(function(w,F,fe){F!=null&&typeof F.toString!="function"&&(F=cn.call(F)),vi.call(w,F)?w[F].push(fe):w[F]=[fe]},yn),k0=Qa(hi);function ll(w){return Cu(w)?Xn(w):ml(w)}function rc(w){return Cu(w)?Xn(w,!0):pf(w)}function R0(w,F){var fe={};return F=yn(F,3),Js(w,function(Be,xt,Qt){Ua(fe,F(Be,xt,Qt),Be)}),fe}function L0(w,F){var fe={};return F=yn(F,3),Js(w,function(Be,xt,Qt){Ua(fe,xt,F(Be,xt,Qt))}),fe}var M0=Gu(function(w,F,fe){Xo(w,F,fe)}),Hd=Gu(function(w,F,fe,Be){Xo(w,F,fe,Be)}),F0=D(function(w,F){var fe={};if(w==null)return fe;var Be=!1;F=oa(F,function(Qt){return Qt=_u(Qt,w),Be||(Be=Qt.length>1),Qt}),ku(w,_e(w),fe),Be&&(fe=ki(fe,p|y|m,Fc));for(var xt=F.length;xt--;)Kl(fe,F[xt]);return fe});function B0(w,F){return Wd(w,Ri(yn(F)))}var N0=D(function(w,F){return w==null?{}:mu(w,F)});function Wd(w,F){if(w==null)return{};var fe=oa(_e(w),function(Be){return[Be]});return F=yn(F),Ic(w,fe,function(Be,xt){return F(Be,xt[0])})}function $0(w,F,fe){F=_u(F,w);var Be=-1,xt=F.length;for(xt||(xt=1,w=i);++Be<xt;){var Qt=w==null?i:w[ca(F[Be])];Qt===i&&(Be=xt,Qt=fe),w=jf(Qt)?Qt.call(w):Qt}return w}function j0(w,F,fe){return w==null?w:rl(w,F,fe)}function U0(w,F,fe,Be){return Be=typeof Be=="function"?Be:i,w==null?w:rl(w,F,fe,Be)}var Gd=Mc(ll),Kd=Mc(rc);function z0(w,F,fe){var Be=Na(w),xt=Be||xc(w)||ed(w);if(F=yn(F,4),fe==null){var Qt=w&&w.constructor;xt?fe=Be?new Qt:[]:fu(w)?fe=jf(Qt)?xr(Qe(w)):{}:fe={}}return(xt?is:Js)(w,function(pr,Lr,Jr){return F(fe,pr,Lr,Jr)}),fe}function Z0(w,F){return w==null?!0:Kl(w,F)}function H0(w,F,fe){return w==null?w:nl(w,F,_l(fe))}function W0(w,F,fe,Be){return Be=typeof Be=="function"?Be:i,w==null?w:nl(w,F,_l(fe),Be)}function td(w){return w==null?[]:No(w,ll(w))}function G0(w){return w==null?[]:No(w,rc(w))}function K0(w,F,fe){return fe===i&&(fe=F,F=i),fe!==i&&(fe=Gc(fe),fe=fe===fe?fe:0),F!==i&&(F=Gc(F),F=F===F?F:0),Qs(Gc(w),F,fe)}function V0(w,F,fe){return F=Uf(F),fe===i?(fe=F,F=0):fe=Uf(fe),w=Gc(w),zu(w,F,fe)}function Y0(w,F,fe){if(fe&&typeof fe!="boolean"&&so(w,F,fe)&&(F=fe=i),fe===i&&(typeof F=="boolean"?(fe=F,F=i):typeof w=="boolean"&&(fe=w,w=i)),w===i&&F===i?(w=0,F=1):(w=Uf(w),F===i?(F=w,w=0):F=Uf(F)),w>F){var Be=w;w=F,F=Be}if(fe||w%1||F%1){var xt=ua();return wa(w+xt*(F-w+yi("1e-"+((xt+"").length-1))),F)}return Hu(w,F)}var X0=Al(function(w,F,fe){return F=F.toLowerCase(),w+(fe?Vd(F):F)});function Vd(w){return Id(wo(w).toLowerCase())}function Yd(w){return w=wo(w),w&&w.replace(jt,$o).replace(kr,"")}function Q0(w,F,fe){w=wo(w),F=Su(F);var Be=w.length;fe=fe===i?Be:Qs(As(fe),0,Be);var xt=fe;return fe-=F.length,fe>=0&&w.slice(fe,xt)==F}function q0(w){return w=wo(w),w&&ct.test(w)?w.replace(Dt,oo):w}function J0(w){return w=wo(w),w&&Lt.test(w)?w.replace(vt,"\\$&"):w}var eh=Al(function(w,F,fe){return w+(fe?"-":"")+F.toLowerCase()}),th=Al(function(w,F,fe){return w+(fe?" ":"")+F.toLowerCase()}),rh=Tu("toLowerCase");function nh(w,F,fe){w=wo(w),F=As(F);var Be=F?ir(w):0;if(!F||Be>=F)return w;var xt=(F-Be)/2;return mc(Ui(xt),fe)+w+mc(Ai(xt),fe)}function ih(w,F,fe){w=wo(w),F=As(F);var Be=F?ir(w):0;return F&&Be<F?w+mc(F-Be,fe):w}function ah(w,F,fe){w=wo(w),F=As(F);var Be=F?ir(w):0;return F&&Be<F?mc(F-Be,fe)+w:w}function sh(w,F,fe){return fe||F==null?F=0:F&&(F=+F),Us(wo(w).replace(Me,""),F||0)}function oh(w,F,fe){return(fe?so(w,F,fe):F===i)?F=1:F=As(F),Fl(wo(w),F)}function uh(){var w=arguments,F=wo(w[0]);return w.length<3?F:F.replace(w[1],w[2])}var lh=Al(function(w,F,fe){return w+(fe?"_":"")+F.toLowerCase()});function ch(w,F,fe){return fe&&typeof fe!="number"&&so(w,F,fe)&&(F=fe=i),fe=fe===i?$:fe>>>0,fe?(w=wo(w),w&&(typeof F=="string"||F!=null&&!Td(F))&&(F=Su(F),!F&&Oo(w))?Co(hr(w),0,fe):w.split(F,fe)):[]}var fh=Al(function(w,F,fe){return w+(fe?" ":"")+Id(F)});function dh(w,F,fe){return w=wo(w),fe=fe==null?0:Qs(As(fe),0,w.length),F=Su(F),w.slice(fe,fe+F.length)==F}function hh(w,F,fe){var Be=we.templateSettings;fe&&so(w,F,fe)&&(F=i),w=wo(w),F=yd({},F,Be,sl);var xt=yd({},F.imports,Be.imports,sl),Qt=ll(xt),pr=No(xt,Qt),Lr,Jr,Nn=0,Un=F.interpolate||Ar,qn="__p += '",$i=zi((F.escape||Ar).source+"|"+Un.source+"|"+(Un===Ie?Zr:Ar).source+"|"+(F.evaluate||Ar).source+"|$","g"),ga="//# sourceURL="+(vi.call(F,"sourceURL")?(F.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++sn+"]")+`
|
|
|
`;w.replace($i,function(Ha,Zs,Ys,wc,Zl,Sc){return Ys||(Ys=wc),qn+=w.slice(Nn,Sc).replace(yr,bu),Zs&&(Lr=!0,qn+=`' +
|
|
|
__e(`+Zs+`) +
|
|
|
'`),Zl&&(Jr=!0,qn+=`';
|
|
|
`+Zl+`;
|
|
|
__p += '`),Ys&&(qn+=`' +
|
|
|
((__t = (`+Ys+`)) == null ? '' : __t) +
|
|
|
'`),Nn=Sc+Ha.length,Ha}),qn+=`';
|
|
|
`;var Za=vi.call(F,"variable")&&F.variable;if(!Za)qn=`with (obj) {
|
|
|
`+qn+`
|
|
|
}
|
|
|
`;else if(jr.test(Za))throw new In(h);qn=(Jr?qn.replace(Xt,""):qn).replace(Ge,"$1").replace(ce,"$1;"),qn="function("+(Za||"obj")+`) {
|
|
|
`+(Za?"":`obj || (obj = {});
|
|
|
`)+"var __t, __p = ''"+(Lr?", __e = _.escape":"")+(Jr?`, __j = Array.prototype.join;
|
|
|
function print() { __p += __j.call(arguments, '') }
|
|
|
`:`;
|
|
|
`)+qn+`return __p
|
|
|
}`;var Cs=Qd(function(){return pt(Qt,ga+"return "+qn).apply(i,pr)});if(Cs.source=qn,Jf(Cs))throw Cs;return Cs}function ph(w){return wo(w).toLowerCase()}function mh(w){return wo(w).toUpperCase()}function _h(w,F,fe){if(w=wo(w),w&&(fe||F===i))return du(w);if(!w||!(F=Su(F)))return w;var Be=hr(w),xt=hr(F),Qt=yu(Be,xt),pr=Nu(Be,xt)+1;return Co(Be,Qt,pr).join("")}function vh(w,F,fe){if(w=wo(w),w&&(fe||F===i))return w.slice(0,Sr(w)+1);if(!w||!(F=Su(F)))return w;var Be=hr(w),xt=Nu(Be,hr(F))+1;return Co(Be,0,xt).join("")}function gh(w,F,fe){if(w=wo(w),w&&(fe||F===i))return w.replace(Me,"");if(!w||!(F=Su(F)))return w;var Be=hr(w),xt=yu(Be,hr(F));return Co(Be,xt).join("")}function yh(w,F){var fe=ae,Be=ne;if(fu(F)){var xt="separator"in F?F.separator:xt;fe="length"in F?As(F.length):fe,Be="omission"in F?Su(F.omission):Be}w=wo(w);var Qt=w.length;if(Oo(w)){var pr=hr(w);Qt=pr.length}if(fe>=Qt)return w;var Lr=fe-ir(Be);if(Lr<1)return Be;var Jr=pr?Co(pr,0,Lr).join(""):w.slice(0,Lr);if(xt===i)return Jr+Be;if(pr&&(Lr+=Jr.length-Lr),Td(xt)){if(w.slice(Lr).search(xt)){var Nn,Un=Jr;for(xt.global||(xt=zi(xt.source,wo(un.exec(xt))+"g")),xt.lastIndex=0;Nn=xt.exec(Un);)var qn=Nn.index;Jr=Jr.slice(0,qn===i?Lr:qn)}}else if(w.indexOf(Su(xt),Lr)!=Lr){var $i=Jr.lastIndexOf(xt);$i>-1&&(Jr=Jr.slice(0,$i))}return Jr+Be}function bh(w){return w=wo(w),w&&Ce.test(w)?w.replace(pe,xn):w}var xh=Al(function(w,F,fe){return w+(fe?" ":"")+F.toUpperCase()}),Id=Tu("toUpperCase");function Xd(w,F,fe){return w=wo(w),F=fe?i:F,F===i?jo(w)?Kn(w):tu(w):w.match(F)||[]}var Qd=Qa(function(w,F){try{return Ya(w,i,F)}catch(fe){return Jf(fe)?fe:new In(fe)}}),Eh=D(function(w,F){return is(F,function(fe){fe=ca(fe),Ua(w,fe,dn(w[fe],w))}),w});function wh(w){var F=w==null?0:w.length,fe=yn();return w=F?oa(w,function(Be){if(typeof Be[1]!="function")throw new zr(o);return[fe(Be[0]),Be[1]]}):[],Qa(function(Be){for(var xt=-1;++xt<F;){var Qt=w[xt];if(Ya(Qt[0],this,Be))return Ya(Qt[1],this,Be)}})}function Sh(w){return Ro(ki(w,p))}function Dd(w){return function(){return w}}function Ah(w,F){return w==null||w!==w?F:w}var Th=Jo(),Ch=Jo(!0);function nc(w){return w}function Od(w){return oc(typeof w=="function"?w:ki(w,p))}function Ph(w){return Wl(ki(w,p))}function Ih(w,F){return Es(w,ki(F,p))}var Dh=Qa(function(w,F){return function(fe){return hi(fe,w,F)}}),Oh=Qa(function(w,F){return function(fe){return hi(w,fe,F)}});function kd(w,F,fe){var Be=ll(F),xt=Ll(F,Be);fe==null&&!(fu(F)&&(xt.length||!Be.length))&&(fe=F,F=w,w=this,xt=Ll(F,ll(F)));var Qt=!(fu(fe)&&"chain"in fe)||!!fe.chain,pr=jf(w);return is(xt,function(Lr){var Jr=F[Lr];w[Lr]=Jr,pr&&(w.prototype[Lr]=function(){var Nn=this.__chain__;if(Qt||Nn){var Un=w(this.__wrapped__),qn=Un.__actions__=qo(this.__actions__);return qn.push({func:Jr,args:arguments,thisArg:w}),Un.__chain__=Nn,Un}return Jr.apply(w,ss([this.value()],arguments))})}),w}function kh(){return $a._===this&&($a._=Ks),this}function Rd(){}function Rh(w){return w=As(w),Qa(function(F){return Pc(F,w)})}var Lh=pc(oa),Mh=pc(bn),Fh=pc(ho);function qd(w){return ws(w)?oi(ca(w)):Yc(w)}function Bh(w){return function(F){return w==null?i:hu(w,F)}}var Nh=xf(),$h=xf(!0);function Ld(){return[]}function Md(){return!1}function jh(){return{}}function Uh(){return""}function zh(){return!0}function Zh(w,F){if(w=As(w),w<1||w>Q)return[];var fe=$,Be=wa(w,$);F=yn(F),w-=$;for(var xt=Bo(Be,F);++fe<w;)F(fe);return xt}function Hh(w){return Na(w)?oa(w,ca):Ec(w)?[w]:qo(Ma(wo(w)))}function Wh(w){var F=++ps;return wo(w)+F}var Gh=hc(function(w,F){return w+F},0),Kh=Xl("ceil"),Vh=hc(function(w,F){return w/F},1),Yh=Xl("floor");function Xh(w){return w&&w.length?cl(w,nc,pu):i}function Qh(w,F){return w&&w.length?cl(w,yn(F,2),pu):i}function qh(w){return ns(w,nc)}function Jh(w,F){return ns(w,yn(F,2))}function ep(w){return w&&w.length?cl(w,nc,Uo):i}function tp(w,F){return w&&w.length?cl(w,yn(F,2),Uo):i}var rp=hc(function(w,F){return w*F},1),np=Xl("round"),ip=hc(function(w,F){return w-F},0);function ap(w){return w&&w.length?ds(w,nc):0}function sp(w,F){return w&&w.length?ds(w,yn(F,2)):0}return we.after=gn,we.ary=Kr,we.assign=m0,we.assignIn=Zd,we.assignInWith=yd,we.assignWith=_0,we.at=v0,we.before=an,we.bind=dn,we.bindAll=Eh,we.bindKey=Vr,we.castArray=tc,we.chain=Zn,we.chunk=fa,we.compact=Os,we.concat=Qu,we.cond=wh,we.conforms=Sh,we.constant=Dd,we.countBy=od,we.create=g0,we.curry=Cn,we.curryRight=wi,we.debounce=qi,we.defaults=y0,we.defaultsDeep=b0,we.defer=ma,we.delay=ea,we.difference=Fu,we.differenceBy=Ol,we.differenceWith=yl,we.drop=zl,we.dropRight=Kf,we.dropRightWhile=Af,we.dropWhile=ql,we.fill=Tf,we.filter=ud,we.flatMap=O,we.flatMapDeep=t,we.flatMapDepth=n,we.flatten=sf,we.flattenDeep=bl,we.flattenDepth=Hf,we.flip=bi,we.flow=Th,we.flowRight=Ch,we.fromPairs=xl,we.functions=C0,we.functionsIn=P0,we.groupBy=E,we.initial=eu,we.intersection=of,we.intersectionBy=Pf,we.intersectionWith=kl,we.invert=D0,we.invertBy=O0,we.invokeMap=j,we.iteratee=Od,we.keyBy=Y,we.keys=ll,we.keysIn=rc,we.map=V,we.mapKeys=R0,we.mapValues=L0,we.matches=Ph,we.matchesProperty=Ih,we.memoize=ta,we.merge=M0,we.mergeWith=Hd,we.method=Dh,we.methodOf=Oh,we.mixin=kd,we.negate=Ri,we.nthArg=Rh,we.omit=F0,we.omitBy=B0,we.once=ha,we.orderBy=ue,we.over=Lh,we.overArgs=Ba,we.overEvery=Mh,we.overSome=Fh,we.partial=xi,we.partialRight=Ei,we.partition=he,we.pick=N0,we.pickBy=Wd,we.property=qd,we.propertyOf=Bh,we.pull=lf,we.pullAll=ec,we.pullAllBy=Mf,we.pullAllWith=cf,we.pullAt=Wf,we.range=Nh,we.rangeRight=$h,we.rearg=vs,we.reject=Fe,we.remove=Qf,we.rest=co,we.reverse=If,we.sampleSize=st,we.set=j0,we.setWith=U0,we.shuffle=Ft,we.slice=rd,we.sortBy=$r,we.sortedUniq=Nf,we.sortedUniqBy=ad,we.split=ch,we.spread=Ss,we.tail=Gf,we.take=g,we.takeRight=T,we.takeRightWhile=U,we.takeWhile=ve,we.tap=Va,we.throttle=zs,we.thru=Ki,we.toArray=jd,we.toPairs=Gd,we.toPairsIn=Kd,we.toPath=Hh,we.toPlainObject=zd,we.transform=z0,we.unary=ol,we.union=ke,we.unionBy=ot,we.unionWith=Nt,we.uniq=nr,we.uniqBy=Dr,we.uniqWith=_n,we.unset=Z0,we.unzip=Bi,we.unzipWith=za,we.update=H0,we.updateWith=W0,we.values=td,we.valuesIn=G0,we.without=Qn,we.words=Xd,we.wrap=qu,we.xor=da,we.xorBy=Fa,we.xorWith=Ta,we.zip=tn,we.zipObject=Ur,we.zipObjectDeep=qr,we.zipWith=kn,we.entries=Gd,we.entriesIn=Kd,we.extend=Zd,we.extendWith=yd,kd(we,we),we.add=Gh,we.attempt=Qd,we.camelCase=X0,we.capitalize=Vd,we.ceil=Kh,we.clamp=K0,we.clone=Hc,we.cloneDeep=Sd,we.cloneDeepWith=ld,we.cloneWith=$f,we.conformsTo=cd,we.deburr=Yd,we.defaultTo=Ah,we.divide=Vh,we.endsWith=Q0,we.eq=Wc,we.escape=q0,we.escapeRegExp=J0,we.every=dd,we.find=wd,we.findIndex=af,we.findKey=x0,we.findLast=Df,we.findLastIndex=Cf,we.findLastKey=E0,we.floor=Yh,we.forEach=s,we.forEachRight=_,we.forIn=w0,we.forInRight=S0,we.forOwn=A0,we.forOwnRight=T0,we.get=Cd,we.gt=to,we.gte=ul,we.has=I0,we.hasIn=Pd,we.head=zc,we.identity=nc,we.includes=I,we.indexOf=Rf,we.inRange=V0,we.invoke=k0,we.isArguments=Bu,we.isArray=Na,we.isArrayBuffer=bc,we.isArrayLike=Cu,we.isArrayLikeObject=Po,we.isBoolean=hd,we.isBuffer=xc,we.isDate=pd,we.isElement=Yf,we.isEmpty=md,we.isEqual=Ad,we.isEqualWith=_d,we.isError=Jf,we.isFinite=Xf,we.isFunction=jf,we.isInteger=Fd,we.isLength=vd,we.isMap=Bd,we.isMatch=r0,we.isMatchWith=n0,we.isNaN=i0,we.isNative=a0,we.isNil=o0,we.isNull=s0,we.isNumber=Nd,we.isObject=fu,we.isObjectLike=gu,we.isPlainObject=fd,we.isRegExp=Td,we.isSafeInteger=u0,we.isSet=$d,we.isString=gd,we.isSymbol=Ec,we.isTypedArray=ed,we.isUndefined=l0,we.isWeakMap=c0,we.isWeakSet=f0,we.join=Jl,we.kebabCase=eh,we.last=ou,we.lastIndexOf=uf,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=Ld,we.stubFalse=Md,we.stubObject=jh,we.stubString=Uh,we.stubTrue=zh,we.multiply=rp,we.nth=Lf,we.noConflict=kh,we.noop=Rd,we.now=Xr,we.pad=nh,we.padEnd=ih,we.padStart=ah,we.parseInt=sh,we.random=Y0,we.reduce=Ee,we.reduceRight=Re,we.repeat=oh,we.replace=uh,we.result=$0,we.round=np,we.runInContext=cr,we.sample=ft,we.size=fr,we.snakeCase=lh,we.some=ar,we.sortedIndex=Vf,we.sortedIndexBy=Ff,we.sortedIndexOf=nd,we.sortedLastIndex=Bf,we.sortedLastIndexBy=qf,we.sortedLastIndexOf=id,we.startCase=fh,we.startsWith=dh,we.subtract=ip,we.sum=ap,we.sumBy=sp,we.template=hh,we.times=Zh,we.toFinite=Uf,we.toInteger=As,we.toLength=Ud,we.toLower=ph,we.toNumber=Gc,we.toSafeInteger=p0,we.toString=wo,we.toUpper=mh,we.trim=_h,we.trimEnd=vh,we.trimStart=gh,we.truncate=yh,we.unescape=bh,we.uniqueId=Wh,we.upperCase=xh,we.upperFirst=Id,we.each=s,we.eachRight=_,we.first=zc,kd(we,function(){var w={};return Js(we,function(F,fe){vi.call(we.prototype,fe)||(w[fe]=F)}),w}(),{chain:!1}),we.VERSION=l,is(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){we[w].placeholder=we}),is(["drop","take"],function(w,F){en.prototype[w]=function(fe){fe=fe===i?1:Di(As(fe),0);var Be=this.__filtered__&&!F?new en(this):this.clone();return Be.__filtered__?Be.__takeCount__=wa(fe,Be.__takeCount__):Be.__views__.push({size:wa(fe,$),type:w+(Be.__dir__<0?"Right":"")}),Be},en.prototype[w+"Right"]=function(fe){return this.reverse()[w](fe).reverse()}}),is(["filter","map","takeWhile"],function(w,F){var fe=F+1,Be=fe==J||fe==se;en.prototype[w]=function(xt){var Qt=this.clone();return Qt.__iteratees__.push({iteratee:yn(xt,3),type:fe}),Qt.__filtered__=Qt.__filtered__||Be,Qt}}),is(["head","last"],function(w,F){var fe="take"+(F?"Right":"");en.prototype[w]=function(){return this[fe](1).value()[0]}}),is(["initial","tail"],function(w,F){var fe="drop"+(F?"":"Right");en.prototype[w]=function(){return this.__filtered__?new en(this):this[fe](1)}}),en.prototype.compact=function(){return this.filter(nc)},en.prototype.find=function(w){return this.filter(w).head()},en.prototype.findLast=function(w){return this.reverse().find(w)},en.prototype.invokeMap=Qa(function(w,F){return typeof w=="function"?new en(this):this.map(function(fe){return hi(fe,w,F)})}),en.prototype.reject=function(w){return this.filter(Ri(yn(w)))},en.prototype.slice=function(w,F){w=As(w);var fe=this;return fe.__filtered__&&(w>0||F<0)?new en(fe):(w<0?fe=fe.takeRight(-w):w&&(fe=fe.drop(w)),F!==i&&(F=As(F),fe=F<0?fe.dropRight(-F):fe.take(F-w)),fe)},en.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},en.prototype.toArray=function(){return this.take($)},Js(en.prototype,function(w,F){var fe=/^(?:filter|find|map|reject)|While$/.test(F),Be=/^(?:head|last)$/.test(F),xt=we[Be?"take"+(F=="last"?"Right":""):F],Qt=Be||/^find/.test(F);xt&&(we.prototype[F]=function(){var pr=this.__wrapped__,Lr=Be?[1]:arguments,Jr=pr instanceof en,Nn=Lr[0],Un=Jr||Na(pr),qn=function(Zs){var Ys=xt.apply(we,ss([Zs],Lr));return Be&&$i?Ys[0]:Ys};Un&&fe&&typeof Nn=="function"&&Nn.length!=1&&(Jr=Un=!1);var $i=this.__chain__,ga=!!this.__actions__.length,Za=Qt&&!$i,Cs=Jr&&!ga;if(!Qt&&Un){pr=Cs?pr:new en(this);var Ha=w.apply(pr,Lr);return Ha.__actions__.push({func:Ki,args:[qn],thisArg:i}),new _r(Ha,$i)}return Za&&Cs?w.apply(this,Lr):(Ha=this.thru(qn),Za?Be?Ha.value()[0]:Ha.value():Ha)})}),is(["pop","push","shift","sort","splice","unshift"],function(w){var F=pa[w],fe=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",Be=/^(?:pop|shift)$/.test(w);we.prototype[w]=function(){var xt=arguments;if(Be&&!this.__chain__){var Qt=this.value();return F.apply(Na(Qt)?Qt:[],xt)}return this[fe](function(pr){return F.apply(Na(pr)?pr:[],xt)})}}),Js(en.prototype,function(w,F){var fe=we[F];if(fe){var Be=fe.name+"";vi.call(ko,Be)||(ko[Be]=[]),ko[Be].push({name:F,func:fe})}}),ko[$l(i,R).name]=[{name:"wrapper",func:i}],en.prototype.clone=Mn,en.prototype.reverse=ni,en.prototype.value=Qi,we.prototype.at=Ga,we.prototype.chain=ls,we.prototype.commit=qa,we.prototype.next=Zc,we.prototype.plant=bd,we.prototype.reverse=xd,we.prototype.toJSON=we.prototype.valueOf=we.prototype.value=Ed,we.prototype.first=we.prototype.head,Wr&&(we.prototype[Wr]=sd),we},ci=di();$a._=ci,r=function(){return ci}.call(v,e,v,d),r!==i&&(d.exports=r)}).call(this)},28440:function(d,v,e){var r=e(50097),i=e(63323),l=i(function(c,f,o){r(c,f,o)});d.exports=l},55950:function(d){function v(){return!1}d.exports=v},20480:function(d,v,e){var r=e(95378),i=e(56730);function l(c){return r(c,i(c))}d.exports=l},32834:function(d){(function(v,e){d.exports=e()})(this,function(){"use strict";function v(St,Ie){for(var wt=0;wt<Ie.length;wt++){var be=Ie[wt];be.enumerable=be.enumerable||!1,be.configurable=!0,"value"in be&&(be.writable=!0),Object.defineProperty(St,be.key,be)}}function e(St,Ie,wt){return Ie&&v(St.prototype,Ie),wt&&v(St,wt),St}function r(St,Ie){if(St){if(typeof St=="string")return i(St,Ie);var wt=Object.prototype.toString.call(St).slice(8,-1);if(wt==="Object"&&St.constructor&&(wt=St.constructor.name),wt==="Map"||wt==="Set")return Array.from(St);if(wt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(wt))return i(St,Ie)}}function i(St,Ie){(Ie==null||Ie>St.length)&&(Ie=St.length);for(var wt=0,be=new Array(Ie);wt<Ie;wt++)be[wt]=St[wt];return be}function l(St,Ie){var wt=typeof Symbol!="undefined"&&St[Symbol.iterator]||St["@@iterator"];if(wt)return(wt=wt.call(St)).next.bind(wt);if(Array.isArray(St)||(wt=r(St))||Ie&&St&&typeof St.length=="number"){wt&&(St=wt);var be=0;return function(){return be>=St.length?{done:!0}:{done:!1,value:St[be++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var c={exports:{}};function f(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function o(St){c.exports.defaults=St}c.exports={defaults:f(),getDefaults:f,changeDefaults:o};var h=/[&<>"']/,u=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,x=/[<>"']|&(?!#?\w+;)/g,p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=function(Ie){return p[Ie]};function m(St,Ie){if(Ie){if(h.test(St))return St.replace(u,y)}else if(a.test(St))return St.replace(x,y);return St}var b=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function S(St){return St.replace(b,function(Ie,wt){return wt=wt.toLowerCase(),wt==="colon"?":":wt.charAt(0)==="#"?wt.charAt(1)==="x"?String.fromCharCode(parseInt(wt.substring(2),16)):String.fromCharCode(+wt.substring(1)):""})}var k=/(^|[^\[])\^/g;function R(St,Ie){St=St.source||St,Ie=Ie||"";var wt={replace:function(Ye,vt){return vt=vt.source||vt,vt=vt.replace(k,"$1"),St=St.replace(Ye,vt),wt},getRegex:function(){return new RegExp(St,Ie)}};return wt}var A=/[^\w:]/g,P=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function M(St,Ie,wt){if(St){var be;try{be=decodeURIComponent(S(wt)).replace(A,"").toLowerCase()}catch(Ye){return null}if(be.indexOf("javascript:")===0||be.indexOf("vbscript:")===0||be.indexOf("data:")===0)return null}Ie&&!P.test(wt)&&(wt=H(Ie,wt));try{wt=encodeURI(wt).replace(/%25/g,"%")}catch(Ye){return null}return wt}var B={},N=/^[^:]+:\/*[^/]*$/,G=/^([^:]+:)[\s\S]*$/,W=/^([^:]+:\/*[^/]*)[\s\S]*$/;function H(St,Ie){B[" "+St]||(N.test(St)?B[" "+St]=St+"/":B[" "+St]=q(St,"/",!0)),St=B[" "+St];var wt=St.indexOf(":")===-1;return Ie.substring(0,2)==="//"?wt?Ie:St.replace(G,"$1")+Ie:Ie.charAt(0)==="/"?wt?Ie:St.replace(W,"$1")+Ie:St+Ie}var ae={exec:function(){}};function ne(St){for(var Ie=1,wt,be;Ie<arguments.length;Ie++){wt=arguments[Ie];for(be in wt)Object.prototype.hasOwnProperty.call(wt,be)&&(St[be]=wt[be])}return St}function oe(St,Ie){var wt=St.replace(/\|/g,function(vt,Lt,Me){for(var Or=!1,At=Lt;--At>=0&&Me[At]==="\\";)Or=!Or;return Or?"|":" |"}),be=wt.split(/ \|/),Ye=0;if(be.length>Ie)be.splice(Ie);else for(;be.length<Ie;)be.push("");for(;Ye<be.length;Ye++)be[Ye]=be[Ye].trim().replace(/\\\|/g,"|");return be}function q(St,Ie,wt){var be=St.length;if(be===0)return"";for(var Ye=0;Ye<be;){var vt=St.charAt(be-Ye-1);if(vt===Ie&&!wt)Ye++;else if(vt!==Ie&&wt)Ye++;else break}return St.substr(0,be-Ye)}function J(St,Ie){if(St.indexOf(Ie[1])===-1)return-1;for(var wt=St.length,be=0,Ye=0;Ye<wt;Ye++)if(St[Ye]==="\\")Ye++;else if(St[Ye]===Ie[0])be++;else if(St[Ye]===Ie[1]&&(be--,be<0))return Ye;return-1}function K(St){St&&St.sanitize&&!St.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function se(St,Ie){if(Ie<1)return"";for(var wt="";Ie>1;)Ie&1&&(wt+=St),Ie>>=1,St+=St;return wt+St}var ee={escape:m,unescape:S,edit:R,cleanUrl:M,resolveUrl:H,noopTest:ae,merge:ne,splitCells:oe,rtrim:q,findClosingBracket:J,checkSanitizeDeprecation:K,repeatString:se},Q=c.exports.defaults,le=ee.rtrim,z=ee.splitCells,$=ee.escape,ie=ee.findClosingBracket;function me(St,Ie,wt){var be=Ie.href,Ye=Ie.title?$(Ie.title):null,vt=St[1].replace(/\\([\[\]])/g,"$1");return St[0].charAt(0)!=="!"?{type:"link",raw:wt,href:be,title:Ye,text:vt}:{type:"image",raw:wt,href:be,title:Ye,text:$(vt)}}function Pe(St,Ie){var wt=St.match(/^(\s+)(?:```)/);if(wt===null)return Ie;var be=wt[1];return Ie.split(`
|
|
|
`).map(function(Ye){var vt=Ye.match(/^\s+/);if(vt===null)return Ye;var Lt=vt[0];return Lt.length>=be.length?Ye.slice(be.length):Ye}).join(`
|
|
|
`)}var De=function(){function St(wt){this.options=wt||Q}var Ie=St.prototype;return Ie.space=function(be){var Ye=this.rules.block.newline.exec(be);if(Ye)return Ye[0].length>1?{type:"space",raw:Ye[0]}:{raw:`
|
|
|
`}},Ie.code=function(be){var Ye=this.rules.block.code.exec(be);if(Ye){var vt=Ye[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Ye[0],codeBlockStyle:"indented",text:this.options.pedantic?vt:le(vt,`
|
|
|
`)}}},Ie.fences=function(be){var Ye=this.rules.block.fences.exec(be);if(Ye){var vt=Ye[0],Lt=Pe(vt,Ye[3]||"");return{type:"code",raw:vt,lang:Ye[2]?Ye[2].trim():Ye[2],text:Lt}}},Ie.heading=function(be){var Ye=this.rules.block.heading.exec(be);if(Ye){var vt=Ye[2].trim();if(/#$/.test(vt)){var Lt=le(vt,"#");(this.options.pedantic||!Lt||/ $/.test(Lt))&&(vt=Lt.trim())}return{type:"heading",raw:Ye[0],depth:Ye[1].length,text:vt}}},Ie.nptable=function(be){var Ye=this.rules.block.nptable.exec(be);if(Ye){var vt={type:"table",header:z(Ye[1].replace(/^ *| *\| *$/g,"")),align:Ye[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ye[3]?Ye[3].replace(/\n$/,"").split(`
|
|
|
`):[],raw:Ye[0]};if(vt.header.length===vt.align.length){var Lt=vt.align.length,Me;for(Me=0;Me<Lt;Me++)/^ *-+: *$/.test(vt.align[Me])?vt.align[Me]="right":/^ *:-+: *$/.test(vt.align[Me])?vt.align[Me]="center":/^ *:-+ *$/.test(vt.align[Me])?vt.align[Me]="left":vt.align[Me]=null;for(Lt=vt.cells.length,Me=0;Me<Lt;Me++)vt.cells[Me]=z(vt.cells[Me],vt.header.length);return vt}}},Ie.hr=function(be){var Ye=this.rules.block.hr.exec(be);if(Ye)return{type:"hr",raw:Ye[0]}},Ie.blockquote=function(be){var Ye=this.rules.block.blockquote.exec(be);if(Ye){var vt=Ye[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Ye[0],text:vt}}},Ie.list=function(be){var Ye=this.rules.block.list.exec(be);if(Ye){var vt=Ye[0],Lt=Ye[2],Me=Lt.length>1,Or={type:"list",raw:vt,ordered:Me,start:Me?+Lt.slice(0,-1):"",loose:!1,items:[]},At=Ye[0].match(this.rules.block.item),Yr=!1,rn,wr,jr,mr,Zr,un,mn,sr,Rt,_t=At.length;jr=this.rules.block.listItemStart.exec(At[0]);for(var gt=0;gt<_t;gt++){if(rn=At[gt],vt=rn,this.options.pedantic||(Rt=rn.match(new RegExp("\\n\\s*\\n {0,"+(jr[0].length-1)+"}\\S")),Rt&&(Zr=rn.length-Rt.index+At.slice(gt+1).join(`
|
|
|
`).length,Or.raw=Or.raw.substring(0,Or.raw.length-Zr),rn=rn.substring(0,Rt.index),vt=rn,_t=gt+1)),gt!==_t-1){if(mr=this.rules.block.listItemStart.exec(At[gt+1]),this.options.pedantic?mr[1].length>jr[1].length:mr[1].length>=jr[0].length||mr[1].length>3){At.splice(gt,2,At[gt]+(!this.options.pedantic&&mr[1].length<jr[0].length&&!At[gt].match(/\n$/)?"":`
|
|
|
`)+At[gt+1]),gt--,_t--;continue}else(!this.options.pedantic||this.options.smartLists?mr[2][mr[2].length-1]!==Lt[Lt.length-1]:Me===(mr[2].length===1))&&(Zr=At.slice(gt+1).join(`
|
|
|
`).length,Or.raw=Or.raw.substring(0,Or.raw.length-Zr),gt=_t-1);jr=mr}wr=rn.length,rn=rn.replace(/^ *([*+-]|\d+[.)]) ?/,""),~rn.indexOf(`
|
|
|
`)&&(wr-=rn.length,rn=this.options.pedantic?rn.replace(/^ {1,4}/gm,""):rn.replace(new RegExp("^ {1,"+wr+"}","gm"),"")),rn=le(rn,`
|
|
|
`),gt!==_t-1&&(vt=vt+`
|
|
|
`),un=Yr||/\n\n(?!\s*$)/.test(vt),gt!==_t-1&&(Yr=vt.slice(-2)===`
|
|
|
|
|
|
`,un||(un=Yr)),un&&(Or.loose=!0),this.options.gfm&&(mn=/^\[[ xX]\] /.test(rn),sr=void 0,mn&&(sr=rn[1]!==" ",rn=rn.replace(/^\[[ xX]\] +/,""))),Or.items.push({type:"list_item",raw:vt,task:mn,checked:sr,loose:un,text:rn})}return Or}},Ie.html=function(be){var Ye=this.rules.block.html.exec(be);if(Ye)return{type:this.options.sanitize?"paragraph":"html",raw:Ye[0],pre:!this.options.sanitizer&&(Ye[1]==="pre"||Ye[1]==="script"||Ye[1]==="style"),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Ye[0]):$(Ye[0]):Ye[0]}},Ie.def=function(be){var Ye=this.rules.block.def.exec(be);if(Ye){Ye[3]&&(Ye[3]=Ye[3].substring(1,Ye[3].length-1));var vt=Ye[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:vt,raw:Ye[0],href:Ye[2],title:Ye[3]}}},Ie.table=function(be){var Ye=this.rules.block.table.exec(be);if(Ye){var vt={type:"table",header:z(Ye[1].replace(/^ *| *\| *$/g,"")),align:Ye[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:Ye[3]?Ye[3].replace(/\n$/,"").split(`
|
|
|
`):[]};if(vt.header.length===vt.align.length){vt.raw=Ye[0];var Lt=vt.align.length,Me;for(Me=0;Me<Lt;Me++)/^ *-+: *$/.test(vt.align[Me])?vt.align[Me]="right":/^ *:-+: *$/.test(vt.align[Me])?vt.align[Me]="center":/^ *:-+ *$/.test(vt.align[Me])?vt.align[Me]="left":vt.align[Me]=null;for(Lt=vt.cells.length,Me=0;Me<Lt;Me++)vt.cells[Me]=z(vt.cells[Me].replace(/^ *\| *| *\| *$/g,""),vt.header.length);return vt}}},Ie.lheading=function(be){var Ye=this.rules.block.lheading.exec(be);if(Ye)return{type:"heading",raw:Ye[0],depth:Ye[2].charAt(0)==="="?1:2,text:Ye[1]}},Ie.paragraph=function(be){var Ye=this.rules.block.paragraph.exec(be);if(Ye)return{type:"paragraph",raw:Ye[0],text:Ye[1].charAt(Ye[1].length-1)===`
|
|
|
`?Ye[1].slice(0,-1):Ye[1]}},Ie.text=function(be){var Ye=this.rules.block.text.exec(be);if(Ye)return{type:"text",raw:Ye[0],text:Ye[0]}},Ie.escape=function(be){var Ye=this.rules.inline.escape.exec(be);if(Ye)return{type:"escape",raw:Ye[0],text:$(Ye[1])}},Ie.tag=function(be,Ye,vt){var Lt=this.rules.inline.tag.exec(be);if(Lt)return!Ye&&/^<a /i.test(Lt[0])?Ye=!0:Ye&&/^<\/a>/i.test(Lt[0])&&(Ye=!1),!vt&&/^<(pre|code|kbd|script)(\s|>)/i.test(Lt[0])?vt=!0:vt&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Lt[0])&&(vt=!1),{type:this.options.sanitize?"text":"html",raw:Lt[0],inLink:Ye,inRawBlock:vt,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Lt[0]):$(Lt[0]):Lt[0]}},Ie.link=function(be){var Ye=this.rules.inline.link.exec(be);if(Ye){var vt=Ye[2].trim();if(!this.options.pedantic&&/^</.test(vt)){if(!/>$/.test(vt))return;var Lt=le(vt.slice(0,-1),"\\");if((vt.length-Lt.length)%2===0)return}else{var Me=ie(Ye[2],"()");if(Me>-1){var Or=Ye[0].indexOf("!")===0?5:4,At=Or+Ye[1].length+Me;Ye[2]=Ye[2].substring(0,Me),Ye[0]=Ye[0].substring(0,At).trim(),Ye[3]=""}}var Yr=Ye[2],rn="";if(this.options.pedantic){var wr=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(Yr);wr&&(Yr=wr[1],rn=wr[3])}else rn=Ye[3]?Ye[3].slice(1,-1):"";return Yr=Yr.trim(),/^</.test(Yr)&&(this.options.pedantic&&!/>$/.test(vt)?Yr=Yr.slice(1):Yr=Yr.slice(1,-1)),me(Ye,{href:Yr&&Yr.replace(this.rules.inline._escapes,"$1"),title:rn&&rn.replace(this.rules.inline._escapes,"$1")},Ye[0])}},Ie.reflink=function(be,Ye){var vt;if((vt=this.rules.inline.reflink.exec(be))||(vt=this.rules.inline.nolink.exec(be))){var Lt=(vt[2]||vt[1]).replace(/\s+/g," ");if(Lt=Ye[Lt.toLowerCase()],!Lt||!Lt.href){var Me=vt[0].charAt(0);return{type:"text",raw:Me,text:Me}}return me(vt,Lt,vt[0])}},Ie.emStrong=function(be,Ye,vt){vt===void 0&&(vt="");var Lt=this.rules.inline.emStrong.lDelim.exec(be);if(Lt&&!(Lt[3]&&vt.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var Me=Lt[1]||Lt[2]||"";if(!Me||Me&&(vt===""||this.rules.inline.punctuation.exec(vt))){var Or=Lt[0].length-1,At,Yr,rn=Or,wr=0,jr=Lt[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(jr.lastIndex=0,Ye=Ye.slice(-1*be.length+Or);(Lt=jr.exec(Ye))!=null;)if(At=Lt[1]||Lt[2]||Lt[3]||Lt[4]||Lt[5]||Lt[6],!!At){if(Yr=At.length,Lt[3]||Lt[4]){rn+=Yr;continue}else if((Lt[5]||Lt[6])&&Or%3&&!((Or+Yr)%3)){wr+=Yr;continue}if(rn-=Yr,!(rn>0))return Yr=Math.min(Yr,Yr+rn+wr),Math.min(Or,Yr)%2?{type:"em",raw:be.slice(0,Or+Lt.index+Yr+1),text:be.slice(1,Or+Lt.index+Yr)}:{type:"strong",raw:be.slice(0,Or+Lt.index+Yr+1),text:be.slice(2,Or+Lt.index+Yr-1)}}}}},Ie.codespan=function(be){var Ye=this.rules.inline.code.exec(be);if(Ye){var vt=Ye[2].replace(/\n/g," "),Lt=/[^ ]/.test(vt),Me=/^ /.test(vt)&&/ $/.test(vt);return Lt&&Me&&(vt=vt.substring(1,vt.length-1)),vt=$(vt,!0),{type:"codespan",raw:Ye[0],text:vt}}},Ie.br=function(be){var Ye=this.rules.inline.br.exec(be);if(Ye)return{type:"br",raw:Ye[0]}},Ie.del=function(be){var Ye=this.rules.inline.del.exec(be);if(Ye)return{type:"del",raw:Ye[0],text:Ye[2]}},Ie.autolink=function(be,Ye){var vt=this.rules.inline.autolink.exec(be);if(vt){var Lt,Me;return vt[2]==="@"?(Lt=$(this.options.mangle?Ye(vt[1]):vt[1]),Me="mailto:"+Lt):(Lt=$(vt[1]),Me=Lt),{type:"link",raw:vt[0],text:Lt,href:Me,tokens:[{type:"text",raw:Lt,text:Lt}]}}},Ie.url=function(be,Ye){var vt;if(vt=this.rules.inline.url.exec(be)){var Lt,Me;if(vt[2]==="@")Lt=$(this.options.mangle?Ye(vt[0]):vt[0]),Me="mailto:"+Lt;else{var Or;do Or=vt[0],vt[0]=this.rules.inline._backpedal.exec(vt[0])[0];while(Or!==vt[0]);Lt=$(vt[0]),vt[1]==="www."?Me="http://"+Lt:Me=Lt}return{type:"link",raw:vt[0],text:Lt,href:Me,tokens:[{type:"text",raw:Lt,text:Lt}]}}},Ie.inlineText=function(be,Ye,vt){var Lt=this.rules.inline.text.exec(be);if(Lt){var Me;return Ye?Me=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Lt[0]):$(Lt[0]):Lt[0]:Me=$(this.options.smartypants?vt(Lt[0]):Lt[0]),{type:"text",raw:Lt[0],text:Me}}},St}(),Ze=ee.noopTest,Ne=ee.edit,Bt=ee.merge,yt={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?! {0,3}bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:Ze,table:Ze,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html| +\n)[^\n]+)*)/,text:/^[^\n]+/};yt._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,yt._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,yt.def=Ne(yt.def).replace("label",yt._label).replace("title",yt._title).getRegex(),yt.bullet=/(?:[*+-]|\d{1,9}[.)])/,yt.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,yt.item=Ne(yt.item,"gm").replace(/bull/g,yt.bullet).getRegex(),yt.listItemStart=Ne(/^( *)(bull) */).replace("bull",yt.bullet).getRegex(),yt.list=Ne(yt.list).replace(/bull/g,yt.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+yt.def.source+")").getRegex(),yt._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",yt._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,yt.html=Ne(yt.html,"i").replace("comment",yt._comment).replace("tag",yt._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),yt.paragraph=Ne(yt._paragraph).replace("hr",yt.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",yt._tag).getRegex(),yt.blockquote=Ne(yt.blockquote).replace("paragraph",yt.paragraph).getRegex(),yt.normal=Bt({},yt),yt.gfm=Bt({},yt.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),yt.gfm.nptable=Ne(yt.gfm.nptable).replace("hr",yt.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",yt._tag).getRegex(),yt.gfm.table=Ne(yt.gfm.table).replace("hr",yt.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",yt._tag).getRegex(),yt.pedantic=Bt({},yt.normal,{html:Ne(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",yt._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ze,paragraph:Ne(yt.normal._paragraph).replace("hr",yt.hr).replace("heading",` *#{1,6} *[^
|
|
|
]`).replace("lheading",yt.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var It={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])/};It._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~",It.punctuation=Ne(It.punctuation).replace(/punctuation/g,It._punctuation).getRegex(),It.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,It.escapedEmSt=/\\\*|\\_/g,It._comment=Ne(yt._comment).replace("(?:-->|$)","-->").getRegex(),It.emStrong.lDelim=Ne(It.emStrong.lDelim).replace(/punct/g,It._punctuation).getRegex(),It.emStrong.rDelimAst=Ne(It.emStrong.rDelimAst,"g").replace(/punct/g,It._punctuation).getRegex(),It.emStrong.rDelimUnd=Ne(It.emStrong.rDelimUnd,"g").replace(/punct/g,It._punctuation).getRegex(),It._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,It._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,It._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])?)+(?![-_])/,It.autolink=Ne(It.autolink).replace("scheme",It._scheme).replace("email",It._email).getRegex(),It._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,It.tag=Ne(It.tag).replace("comment",It._comment).replace("attribute",It._attribute).getRegex(),It._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,It._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,It._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,It.link=Ne(It.link).replace("label",It._label).replace("href",It._href).replace("title",It._title).getRegex(),It.reflink=Ne(It.reflink).replace("label",It._label).getRegex(),It.reflinkSearch=Ne(It.reflinkSearch,"g").replace("reflink",It.reflink).replace("nolink",It.nolink).getRegex(),It.normal=Bt({},It),It.pedantic=Bt({},It.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",It._label).getRegex(),reflink:Ne(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",It._label).getRegex()}),It.gfm=Bt({},It.normal,{escape:Ne(It.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.!#$%&'*+\/=?_`{\|}~-]+@)))/}),It.gfm.url=Ne(It.gfm.url,"i").replace("email",It.gfm._extended_email).getRegex(),It.breaks=Bt({},It.gfm,{br:Ne(It.br).replace("{2,}","*").getRegex(),text:Ne(It.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var rr={block:yt,inline:It},Yt=De,ur=c.exports.defaults,We=rr.block,Pt=rr.inline,zt=ee.repeatString;function nt(St){return St.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201C").replace(/"/g,"\u201D").replace(/\.{3}/g,"\u2026")}function Et(St){var Ie="",wt,be,Ye=St.length;for(wt=0;wt<Ye;wt++)be=St.charCodeAt(wt),Math.random()>.5&&(be="x"+be.toString(16)),Ie+="&#"+be+";";return Ie}var ht=function(){function St(wt){this.tokens=[],this.tokens.links=Object.create(null),this.options=wt||ur,this.options.tokenizer=this.options.tokenizer||new Yt,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var be={block:We.normal,inline:Pt.normal};this.options.pedantic?(be.block=We.pedantic,be.inline=Pt.pedantic):this.options.gfm&&(be.block=We.gfm,this.options.breaks?be.inline=Pt.breaks:be.inline=Pt.gfm),this.tokenizer.rules=be}St.lex=function(be,Ye){var vt=new St(Ye);return vt.lex(be)},St.lexInline=function(be,Ye){var vt=new St(Ye);return vt.inlineTokens(be)};var Ie=St.prototype;return Ie.lex=function(be){return be=be.replace(/\r\n|\r/g,`
|
|
|
`).replace(/\t/g," "),this.blockTokens(be,this.tokens,!0),this.inline(this.tokens),this.tokens},Ie.blockTokens=function(be,Ye,vt){Ye===void 0&&(Ye=[]),vt===void 0&&(vt=!0),this.options.pedantic&&(be=be.replace(/^ +$/gm,""));for(var Lt,Me,Or,At;be;){if(Lt=this.tokenizer.space(be)){be=be.substring(Lt.raw.length),Lt.type&&Ye.push(Lt);continue}if(Lt=this.tokenizer.code(be)){be=be.substring(Lt.raw.length),At=Ye[Ye.length-1],At&&At.type==="paragraph"?(At.raw+=`
|
|
|
`+Lt.raw,At.text+=`
|
|
|
`+Lt.text):Ye.push(Lt);continue}if(Lt=this.tokenizer.fences(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.heading(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.nptable(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.hr(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.blockquote(be)){be=be.substring(Lt.raw.length),Lt.tokens=this.blockTokens(Lt.text,[],vt),Ye.push(Lt);continue}if(Lt=this.tokenizer.list(be)){for(be=be.substring(Lt.raw.length),Or=Lt.items.length,Me=0;Me<Or;Me++)Lt.items[Me].tokens=this.blockTokens(Lt.items[Me].text,[],!1);Ye.push(Lt);continue}if(Lt=this.tokenizer.html(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(vt&&(Lt=this.tokenizer.def(be))){be=be.substring(Lt.raw.length),this.tokens.links[Lt.tag]||(this.tokens.links[Lt.tag]={href:Lt.href,title:Lt.title});continue}if(Lt=this.tokenizer.table(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.lheading(be)){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(vt&&(Lt=this.tokenizer.paragraph(be))){be=be.substring(Lt.raw.length),Ye.push(Lt);continue}if(Lt=this.tokenizer.text(be)){be=be.substring(Lt.raw.length),At=Ye[Ye.length-1],At&&At.type==="text"?(At.raw+=`
|
|
|
`+Lt.raw,At.text+=`
|
|
|
`+Lt.text):Ye.push(Lt);continue}if(be){var Yr="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(Yr);break}else throw new Error(Yr)}}return Ye},Ie.inline=function(be){var Ye,vt,Lt,Me,Or,At,Yr=be.length;for(Ye=0;Ye<Yr;Ye++)switch(At=be[Ye],At.type){case"paragraph":case"text":case"heading":{At.tokens=[],this.inlineTokens(At.text,At.tokens);break}case"table":{for(At.tokens={header:[],cells:[]},Me=At.header.length,vt=0;vt<Me;vt++)At.tokens.header[vt]=[],this.inlineTokens(At.header[vt],At.tokens.header[vt]);for(Me=At.cells.length,vt=0;vt<Me;vt++)for(Or=At.cells[vt],At.tokens.cells[vt]=[],Lt=0;Lt<Or.length;Lt++)At.tokens.cells[vt][Lt]=[],this.inlineTokens(Or[Lt],At.tokens.cells[vt][Lt]);break}case"blockquote":{this.inline(At.tokens);break}case"list":{for(Me=At.items.length,vt=0;vt<Me;vt++)this.inline(At.items[vt].tokens);break}}return be},Ie.inlineTokens=function(be,Ye,vt,Lt){Ye===void 0&&(Ye=[]),vt===void 0&&(vt=!1),Lt===void 0&&(Lt=!1);var Me,Or,At=be,Yr,rn,wr;if(this.tokens.links){var jr=Object.keys(this.tokens.links);if(jr.length>0)for(;(Yr=this.tokenizer.rules.inline.reflinkSearch.exec(At))!=null;)jr.includes(Yr[0].slice(Yr[0].lastIndexOf("[")+1,-1))&&(At=At.slice(0,Yr.index)+"["+zt("a",Yr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(Yr=this.tokenizer.rules.inline.blockSkip.exec(At))!=null;)At=At.slice(0,Yr.index)+"["+zt("a",Yr[0].length-2)+"]"+At.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(Yr=this.tokenizer.rules.inline.escapedEmSt.exec(At))!=null;)At=At.slice(0,Yr.index)+"++"+At.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;be;){if(rn||(wr=""),rn=!1,Me=this.tokenizer.escape(be)){be=be.substring(Me.raw.length),Ye.push(Me);continue}if(Me=this.tokenizer.tag(be,vt,Lt)){be=be.substring(Me.raw.length),vt=Me.inLink,Lt=Me.inRawBlock;var mr=Ye[Ye.length-1];mr&&Me.type==="text"&&mr.type==="text"?(mr.raw+=Me.raw,mr.text+=Me.text):Ye.push(Me);continue}if(Me=this.tokenizer.link(be)){be=be.substring(Me.raw.length),Me.type==="link"&&(Me.tokens=this.inlineTokens(Me.text,[],!0,Lt)),Ye.push(Me);continue}if(Me=this.tokenizer.reflink(be,this.tokens.links)){be=be.substring(Me.raw.length);var Zr=Ye[Ye.length-1];Me.type==="link"?(Me.tokens=this.inlineTokens(Me.text,[],!0,Lt),Ye.push(Me)):Zr&&Me.type==="text"&&Zr.type==="text"?(Zr.raw+=Me.raw,Zr.text+=Me.text):Ye.push(Me);continue}if(Me=this.tokenizer.emStrong(be,At,wr)){be=be.substring(Me.raw.length),Me.tokens=this.inlineTokens(Me.text,[],vt,Lt),Ye.push(Me);continue}if(Me=this.tokenizer.codespan(be)){be=be.substring(Me.raw.length),Ye.push(Me);continue}if(Me=this.tokenizer.br(be)){be=be.substring(Me.raw.length),Ye.push(Me);continue}if(Me=this.tokenizer.del(be)){be=be.substring(Me.raw.length),Me.tokens=this.inlineTokens(Me.text,[],vt,Lt),Ye.push(Me);continue}if(Me=this.tokenizer.autolink(be,Et)){be=be.substring(Me.raw.length),Ye.push(Me);continue}if(!vt&&(Me=this.tokenizer.url(be,Et))){be=be.substring(Me.raw.length),Ye.push(Me);continue}if(Me=this.tokenizer.inlineText(be,Lt,nt)){be=be.substring(Me.raw.length),Me.raw.slice(-1)!=="_"&&(wr=Me.raw.slice(-1)),rn=!0,Or=Ye[Ye.length-1],Or&&Or.type==="text"?(Or.raw+=Me.raw,Or.text+=Me.text):Ye.push(Me);continue}if(be){var un="Infinite loop on byte: "+be.charCodeAt(0);if(this.options.silent){console.error(un);break}else throw new Error(un)}}return Ye},e(St,null,[{key:"rules",get:function(){return{block:We,inline:Pt}}}]),St}(),Je=c.exports.defaults,Ue=ee.cleanUrl,ge=ee.escape,Se=function(){function St(wt){this.options=wt||Je}var Ie=St.prototype;return Ie.code=function(be,Ye,vt){var Lt=(Ye||"").match(/\S*/)[0];if(this.options.highlight){var Me=this.options.highlight(be,Lt);Me!=null&&Me!==be&&(vt=!0,be=Me)}return be=be.replace(/\n$/,"")+`
|
|
|
`,Lt?'<pre><code class="'+this.options.langPrefix+ge(Lt,!0)+'">'+(vt?be:ge(be,!0))+`</code></pre>
|
|
|
`:"<pre><code>"+(vt?be:ge(be,!0))+`</code></pre>
|
|
|
`},Ie.blockquote=function(be){return`<blockquote>
|
|
|
`+be+`</blockquote>
|
|
|
`},Ie.html=function(be){return be},Ie.heading=function(be,Ye,vt,Lt){return this.options.headerIds?"<h"+Ye+' id="'+this.options.headerPrefix+Lt.slug(vt)+'">'+be+"</h"+Ye+`>
|
|
|
`:"<h"+Ye+">"+be+"</h"+Ye+`>
|
|
|
`},Ie.hr=function(){return this.options.xhtml?`<hr/>
|
|
|
`:`<hr>
|
|
|
`},Ie.list=function(be,Ye,vt){var Lt=Ye?"ol":"ul",Me=Ye&&vt!==1?' start="'+vt+'"':"";return"<"+Lt+Me+`>
|
|
|
`+be+"</"+Lt+`>
|
|
|
`},Ie.listitem=function(be){return"<li>"+be+`</li>
|
|
|
`},Ie.checkbox=function(be){return"<input "+(be?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},Ie.paragraph=function(be){return"<p>"+be+`</p>
|
|
|
`},Ie.table=function(be,Ye){return Ye&&(Ye="<tbody>"+Ye+"</tbody>"),`<table>
|
|
|
<thead>
|
|
|
`+be+`</thead>
|
|
|
`+Ye+`</table>
|
|
|
`},Ie.tablerow=function(be){return`<tr>
|
|
|
`+be+`</tr>
|
|
|
`},Ie.tablecell=function(be,Ye){var vt=Ye.header?"th":"td",Lt=Ye.align?"<"+vt+' align="'+Ye.align+'">':"<"+vt+">";return Lt+be+"</"+vt+`>
|
|
|
`},Ie.strong=function(be){return"<strong>"+be+"</strong>"},Ie.em=function(be){return"<em>"+be+"</em>"},Ie.codespan=function(be){return"<code>"+be+"</code>"},Ie.br=function(){return this.options.xhtml?"<br/>":"<br>"},Ie.del=function(be){return"<del>"+be+"</del>"},Ie.link=function(be,Ye,vt){if(be=Ue(this.options.sanitize,this.options.baseUrl,be),be===null)return vt;var Lt='<a href="'+ge(be)+'"';return Ye&&(Lt+=' title="'+Ye+'"'),Lt+=">"+vt+"</a>",Lt},Ie.image=function(be,Ye,vt){if(be=Ue(this.options.sanitize,this.options.baseUrl,be),be===null)return vt;var Lt='<img src="'+be+'" alt="'+vt+'"';return Ye&&(Lt+=' title="'+Ye+'"'),Lt+=this.options.xhtml?"/>":">",Lt},Ie.text=function(be){return be},St}(),Le=function(){function St(){}var Ie=St.prototype;return Ie.strong=function(be){return be},Ie.em=function(be){return be},Ie.codespan=function(be){return be},Ie.del=function(be){return be},Ie.html=function(be){return be},Ie.text=function(be){return be},Ie.link=function(be,Ye,vt){return""+vt},Ie.image=function(be,Ye,vt){return""+vt},Ie.br=function(){return""},St}(),je=function(){function St(){this.seen={}}var Ie=St.prototype;return Ie.serialize=function(be){return be.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},Ie.getNextSafeSlug=function(be,Ye){var vt=be,Lt=0;if(this.seen.hasOwnProperty(vt)){Lt=this.seen[be];do Lt++,vt=be+"-"+Lt;while(this.seen.hasOwnProperty(vt))}return Ye||(this.seen[be]=Lt,this.seen[vt]=0),vt},Ie.slug=function(be,Ye){Ye===void 0&&(Ye={});var vt=this.serialize(be);return this.getNextSafeSlug(vt,Ye.dryrun)},St}(),He=Se,rt=Le,lt=je,Kt=c.exports.defaults,Wt=ee.unescape,Ae=function(){function St(wt){this.options=wt||Kt,this.options.renderer=this.options.renderer||new He,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new rt,this.slugger=new lt}St.parse=function(be,Ye){var vt=new St(Ye);return vt.parse(be)},St.parseInline=function(be,Ye){var vt=new St(Ye);return vt.parseInline(be)};var Ie=St.prototype;return Ie.parse=function(be,Ye){Ye===void 0&&(Ye=!0);var vt="",Lt,Me,Or,At,Yr,rn,wr,jr,mr,Zr,un,mn,sr,Rt,_t,gt,jt,Ar,yr=be.length;for(Lt=0;Lt<yr;Lt++)switch(Zr=be[Lt],Zr.type){case"space":continue;case"hr":{vt+=this.renderer.hr();continue}case"heading":{vt+=this.renderer.heading(this.parseInline(Zr.tokens),Zr.depth,Wt(this.parseInline(Zr.tokens,this.textRenderer)),this.slugger);continue}case"code":{vt+=this.renderer.code(Zr.text,Zr.lang,Zr.escaped);continue}case"table":{for(jr="",wr="",At=Zr.header.length,Me=0;Me<At;Me++)wr+=this.renderer.tablecell(this.parseInline(Zr.tokens.header[Me]),{header:!0,align:Zr.align[Me]});for(jr+=this.renderer.tablerow(wr),mr="",At=Zr.cells.length,Me=0;Me<At;Me++){for(rn=Zr.tokens.cells[Me],wr="",Yr=rn.length,Or=0;Or<Yr;Or++)wr+=this.renderer.tablecell(this.parseInline(rn[Or]),{header:!1,align:Zr.align[Or]});mr+=this.renderer.tablerow(wr)}vt+=this.renderer.table(jr,mr);continue}case"blockquote":{mr=this.parse(Zr.tokens),vt+=this.renderer.blockquote(mr);continue}case"list":{for(un=Zr.ordered,mn=Zr.start,sr=Zr.loose,At=Zr.items.length,mr="",Me=0;Me<At;Me++)_t=Zr.items[Me],gt=_t.checked,jt=_t.task,Rt="",_t.task&&(Ar=this.renderer.checkbox(gt),sr?_t.tokens.length>0&&_t.tokens[0].type==="text"?(_t.tokens[0].text=Ar+" "+_t.tokens[0].text,_t.tokens[0].tokens&&_t.tokens[0].tokens.length>0&&_t.tokens[0].tokens[0].type==="text"&&(_t.tokens[0].tokens[0].text=Ar+" "+_t.tokens[0].tokens[0].text)):_t.tokens.unshift({type:"text",text:Ar}):Rt+=Ar),Rt+=this.parse(_t.tokens,sr),mr+=this.renderer.listitem(Rt,jt,gt);vt+=this.renderer.list(mr,un,mn);continue}case"html":{vt+=this.renderer.html(Zr.text);continue}case"paragraph":{vt+=this.renderer.paragraph(this.parseInline(Zr.tokens));continue}case"text":{for(mr=Zr.tokens?this.parseInline(Zr.tokens):Zr.text;Lt+1<yr&&be[Lt+1].type==="text";)Zr=be[++Lt],mr+=`
|
|
|
`+(Zr.tokens?this.parseInline(Zr.tokens):Zr.text);vt+=Ye?this.renderer.paragraph(mr):mr;continue}default:{var it='Token with "'+Zr.type+'" type was not found.';if(this.options.silent){console.error(it);return}else throw new Error(it)}}return vt},Ie.parseInline=function(be,Ye){Ye=Ye||this.renderer;var vt="",Lt,Me,Or=be.length;for(Lt=0;Lt<Or;Lt++)switch(Me=be[Lt],Me.type){case"escape":{vt+=Ye.text(Me.text);break}case"html":{vt+=Ye.html(Me.text);break}case"link":{vt+=Ye.link(Me.href,Me.title,this.parseInline(Me.tokens,Ye));break}case"image":{vt+=Ye.image(Me.href,Me.title,Me.text);break}case"strong":{vt+=Ye.strong(this.parseInline(Me.tokens,Ye));break}case"em":{vt+=Ye.em(this.parseInline(Me.tokens,Ye));break}case"codespan":{vt+=Ye.codespan(Me.text);break}case"br":{vt+=Ye.br();break}case"del":{vt+=Ye.del(this.parseInline(Me.tokens,Ye));break}case"text":{vt+=Ye.text(Me.text);break}default:{var At='Token with "'+Me.type+'" type was not found.';if(this.options.silent){console.error(At);return}else throw new Error(At)}}return vt},St}(),qe=ht,Vt=Ae,kt=De,Ht=Se,$t=Le,Tt=je,Xt=ee.merge,Ge=ee.checkSanitizeDeprecation,ce=ee.escape,pe=c.exports.getDefaults,Dt=c.exports.changeDefaults,Ce=c.exports.defaults;function ct(St,Ie,wt){if(typeof St=="undefined"||St===null)throw new Error("marked(): input parameter is undefined or null");if(typeof St!="string")throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(St)+", string expected");if(typeof Ie=="function"&&(wt=Ie,Ie=null),Ie=Xt({},ct.defaults,Ie||{}),Ge(Ie),wt){var be=Ie.highlight,Ye;try{Ye=qe.lex(St,Ie)}catch(Or){return wt(Or)}var vt=function(At){var Yr;if(!At)try{Ie.walkTokens&&ct.walkTokens(Ye,Ie.walkTokens),Yr=Vt.parse(Ye,Ie)}catch(rn){At=rn}return Ie.highlight=be,At?wt(At):wt(null,Yr)};if(!be||be.length<3||(delete Ie.highlight,!Ye.length))return vt();var Lt=0;ct.walkTokens(Ye,function(Or){Or.type==="code"&&(Lt++,setTimeout(function(){be(Or.text,Or.lang,function(At,Yr){if(At)return vt(At);Yr!=null&&Yr!==Or.text&&(Or.text=Yr,Or.escaped=!0),Lt--,Lt===0&&vt()})},0))}),Lt===0&&vt();return}try{var Me=qe.lex(St,Ie);return Ie.walkTokens&&ct.walkTokens(Me,Ie.walkTokens),Vt.parse(Me,Ie)}catch(Or){if(Or.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ie.silent)return"<p>An error occurred:</p><pre>"+ce(Or.message+"",!0)+"</pre>";throw Or}}ct.options=ct.setOptions=function(St){return Xt(ct.defaults,St),Dt(ct.defaults),ct},ct.getDefaults=pe,ct.defaults=Ce,ct.use=function(St){var Ie=Xt({},St);if(St.renderer&&function(){var be=ct.defaults.renderer||new Ht,Ye=function(Me){var Or=be[Me];be[Me]=function(){for(var At=arguments.length,Yr=new Array(At),rn=0;rn<At;rn++)Yr[rn]=arguments[rn];var wr=St.renderer[Me].apply(be,Yr);return wr===!1&&(wr=Or.apply(be,Yr)),wr}};for(var vt in St.renderer)Ye(vt);Ie.renderer=be}(),St.tokenizer&&function(){var be=ct.defaults.tokenizer||new kt,Ye=function(Me){var Or=be[Me];be[Me]=function(){for(var At=arguments.length,Yr=new Array(At),rn=0;rn<At;rn++)Yr[rn]=arguments[rn];var wr=St.tokenizer[Me].apply(be,Yr);return wr===!1&&(wr=Or.apply(be,Yr)),wr}};for(var vt in St.tokenizer)Ye(vt);Ie.tokenizer=be}(),St.walkTokens){var wt=ct.defaults.walkTokens;Ie.walkTokens=function(be){St.walkTokens(be),wt&&wt(be)}}ct.setOptions(Ie)},ct.walkTokens=function(St,Ie){for(var wt=l(St),be;!(be=wt()).done;){var Ye=be.value;switch(Ie(Ye),Ye.type){case"table":{for(var vt=l(Ye.tokens.header),Lt;!(Lt=vt()).done;){var Me=Lt.value;ct.walkTokens(Me,Ie)}for(var Or=l(Ye.tokens.cells),At;!(At=Or()).done;)for(var Yr=At.value,rn=l(Yr),wr;!(wr=rn()).done;){var jr=wr.value;ct.walkTokens(jr,Ie)}break}case"list":{ct.walkTokens(Ye.items,Ie);break}default:Ye.tokens&&ct.walkTokens(Ye.tokens,Ie)}}},ct.parseInline=function(St,Ie){if(typeof St=="undefined"||St===null)throw new Error("marked.parseInline(): input parameter is undefined or null");if(typeof St!="string")throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(St)+", string expected");Ie=Xt({},ct.defaults,Ie||{}),Ge(Ie);try{var wt=qe.lexInline(St,Ie);return Ie.walkTokens&&ct.walkTokens(wt,Ie.walkTokens),Vt.parseInline(wt,Ie)}catch(be){if(be.message+=`
|
|
|
Please report this to https://github.com/markedjs/marked.`,Ie.silent)return"<p>An error occurred:</p><pre>"+ce(be.message+"",!0)+"</pre>";throw be}},ct.Parser=Vt,ct.parser=Vt.parse,ct.Renderer=Ht,ct.TextRenderer=$t,ct.Lexer=qe,ct.lexer=qe.lex,ct.Tokenizer=kt,ct.Slugger=Tt,ct.parse=ct;var Zt=ct;return Zt})},11690:function(d){const v=/[&<>"']/,e=/[&<>"']/g,r=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"},c=H=>l[H];function f(H,ae){if(ae){if(v.test(H))return H.replace(e,c)}else if(r.test(H))return H.replace(i,c);return H}const o=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function h(H){return H.replace(o,(ae,ne)=>(ne=ne.toLowerCase(),ne==="colon"?":":ne.charAt(0)==="#"?ne.charAt(1)==="x"?String.fromCharCode(parseInt(ne.substring(2),16)):String.fromCharCode(+ne.substring(1)):""))}const u=/(^|[^\[])\^/g;function a(H,ae){H=H.source||H,ae=ae||"";const ne={replace:(oe,q)=>(q=q.source||q,q=q.replace(u,"$1"),H=H.replace(oe,q),ne),getRegex:()=>new RegExp(H,ae)};return ne}const x=/[^\w:]/g,p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function y(H,ae,ne){if(H){let oe;try{oe=decodeURIComponent(h(ne)).replace(x,"").toLowerCase()}catch(q){return null}if(oe.indexOf("javascript:")===0||oe.indexOf("vbscript:")===0||oe.indexOf("data:")===0)return null}ae&&!p.test(ne)&&(ne=R(ae,ne));try{ne=encodeURI(ne).replace(/%25/g,"%")}catch(oe){return null}return ne}const m={},b=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,k=/^([^:]+:\/*[^/]*)[\s\S]*$/;function R(H,ae){m[" "+H]||(b.test(H)?m[" "+H]=H+"/":m[" "+H]=B(H,"/",!0)),H=m[" "+H];const ne=H.indexOf(":")===-1;return ae.substring(0,2)==="//"?ne?ae:H.replace(S,"$1")+ae:ae.charAt(0)==="/"?ne?ae:H.replace(k,"$1")+ae:H+ae}const A={exec:function(){}};function P(H){let ae=1,ne,oe;for(;ae<arguments.length;ae++){ne=arguments[ae];for(oe in ne)Object.prototype.hasOwnProperty.call(ne,oe)&&(H[oe]=ne[oe])}return H}function M(H,ae){const ne=H.replace(/\|/g,(J,K,se)=>{let ee=!1,Q=K;for(;--Q>=0&&se[Q]==="\\";)ee=!ee;return ee?"|":" |"}),oe=ne.split(/ \|/);let q=0;if(oe.length>ae)oe.splice(ae);else for(;oe.length<ae;)oe.push("");for(;q<oe.length;q++)oe[q]=oe[q].trim().replace(/\\\|/g,"|");return oe}function B(H,ae,ne){const oe=H.length;if(oe===0)return"";let q=0;for(;q<oe;){const J=H.charAt(oe-q-1);if(J===ae&&!ne)q++;else if(J!==ae&&ne)q++;else break}return H.substr(0,oe-q)}function N(H,ae){if(H.indexOf(ae[1])===-1)return-1;const ne=H.length;let oe=0,q=0;for(;q<ne;q++)if(H[q]==="\\")q++;else if(H[q]===ae[0])oe++;else if(H[q]===ae[1]&&(oe--,oe<0))return q;return-1}function G(H){H&&H.sanitize&&!H.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function W(H,ae){if(ae<1)return"";let ne="";for(;ae>1;)ae&1&&(ne+=H),ae>>=1,H+=H;return ne+H}d.exports={escape:f,unescape:h,edit:a,cleanUrl:y,resolveUrl:R,noopTest:A,merge:P,splitCells:M,rtrim:B,findClosingBracket:N,checkSanitizeDeprecation:G,repeatString:W}},93735:function(d,v,e){(function(){var r=e(75041),i=e(67751).utf8,l=e(78034),c=e(67751).bin,f=function(o,h){o.constructor==String?h&&h.encoding==="binary"?o=c.stringToBytes(o):o=i.stringToBytes(o):l(o)?o=Array.prototype.slice.call(o,0):!Array.isArray(o)&&o.constructor!==Uint8Array&&(o=o.toString());for(var u=r.bytesToWords(o),a=o.length*8,x=1732584193,p=-271733879,y=-1732584194,m=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 P=x,M=p,B=y,N=m;x=S(x,p,y,m,u[b+0],7,-680876936),m=S(m,x,p,y,u[b+1],12,-389564586),y=S(y,m,x,p,u[b+2],17,606105819),p=S(p,y,m,x,u[b+3],22,-1044525330),x=S(x,p,y,m,u[b+4],7,-176418897),m=S(m,x,p,y,u[b+5],12,1200080426),y=S(y,m,x,p,u[b+6],17,-1473231341),p=S(p,y,m,x,u[b+7],22,-45705983),x=S(x,p,y,m,u[b+8],7,1770035416),m=S(m,x,p,y,u[b+9],12,-1958414417),y=S(y,m,x,p,u[b+10],17,-42063),p=S(p,y,m,x,u[b+11],22,-1990404162),x=S(x,p,y,m,u[b+12],7,1804603682),m=S(m,x,p,y,u[b+13],12,-40341101),y=S(y,m,x,p,u[b+14],17,-1502002290),p=S(p,y,m,x,u[b+15],22,1236535329),x=k(x,p,y,m,u[b+1],5,-165796510),m=k(m,x,p,y,u[b+6],9,-1069501632),y=k(y,m,x,p,u[b+11],14,643717713),p=k(p,y,m,x,u[b+0],20,-373897302),x=k(x,p,y,m,u[b+5],5,-701558691),m=k(m,x,p,y,u[b+10],9,38016083),y=k(y,m,x,p,u[b+15],14,-660478335),p=k(p,y,m,x,u[b+4],20,-405537848),x=k(x,p,y,m,u[b+9],5,568446438),m=k(m,x,p,y,u[b+14],9,-1019803690),y=k(y,m,x,p,u[b+3],14,-187363961),p=k(p,y,m,x,u[b+8],20,1163531501),x=k(x,p,y,m,u[b+13],5,-1444681467),m=k(m,x,p,y,u[b+2],9,-51403784),y=k(y,m,x,p,u[b+7],14,1735328473),p=k(p,y,m,x,u[b+12],20,-1926607734),x=R(x,p,y,m,u[b+5],4,-378558),m=R(m,x,p,y,u[b+8],11,-2022574463),y=R(y,m,x,p,u[b+11],16,1839030562),p=R(p,y,m,x,u[b+14],23,-35309556),x=R(x,p,y,m,u[b+1],4,-1530992060),m=R(m,x,p,y,u[b+4],11,1272893353),y=R(y,m,x,p,u[b+7],16,-155497632),p=R(p,y,m,x,u[b+10],23,-1094730640),x=R(x,p,y,m,u[b+13],4,681279174),m=R(m,x,p,y,u[b+0],11,-358537222),y=R(y,m,x,p,u[b+3],16,-722521979),p=R(p,y,m,x,u[b+6],23,76029189),x=R(x,p,y,m,u[b+9],4,-640364487),m=R(m,x,p,y,u[b+12],11,-421815835),y=R(y,m,x,p,u[b+15],16,530742520),p=R(p,y,m,x,u[b+2],23,-995338651),x=A(x,p,y,m,u[b+0],6,-198630844),m=A(m,x,p,y,u[b+7],10,1126891415),y=A(y,m,x,p,u[b+14],15,-1416354905),p=A(p,y,m,x,u[b+5],21,-57434055),x=A(x,p,y,m,u[b+12],6,1700485571),m=A(m,x,p,y,u[b+3],10,-1894986606),y=A(y,m,x,p,u[b+10],15,-1051523),p=A(p,y,m,x,u[b+1],21,-2054922799),x=A(x,p,y,m,u[b+8],6,1873313359),m=A(m,x,p,y,u[b+15],10,-30611744),y=A(y,m,x,p,u[b+6],15,-1560198380),p=A(p,y,m,x,u[b+13],21,1309151649),x=A(x,p,y,m,u[b+4],6,-145523070),m=A(m,x,p,y,u[b+11],10,-1120210379),y=A(y,m,x,p,u[b+2],15,718787259),p=A(p,y,m,x,u[b+9],21,-343485551),x=x+P>>>0,p=p+M>>>0,y=y+B>>>0,m=m+N>>>0}return r.endian([x,p,y,m])};f._ff=function(o,h,u,a,x,p,y){var m=o+(h&u|~h&a)+(x>>>0)+y;return(m<<p|m>>>32-p)+h},f._gg=function(o,h,u,a,x,p,y){var m=o+(h&a|u&~a)+(x>>>0)+y;return(m<<p|m>>>32-p)+h},f._hh=function(o,h,u,a,x,p,y){var m=o+(h^u^a)+(x>>>0)+y;return(m<<p|m>>>32-p)+h},f._ii=function(o,h,u,a,x,p,y){var m=o+(u^(h|~a))+(x>>>0)+y;return(m<<p|m>>>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,m){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{P(m.next(M))}catch(B){k(B)}}function A(M){try{P(m.throw(M))}catch(B){k(B)}}function P(M){M.done?S(M.value):b(M.value).then(R,A)}P((m=m.apply(x,p||[])).next())})};class f extends i.JT{constructor(p,y="",m="",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=m,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 m;try{yield this.runAction(p,y)}catch(b){m=b}this._onDidRun.fire({action:p,error:m})})}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,m,b){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=p,this.label=y,this.class=b,this._actions=m}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 m(b){return"."+p(b).join(".")}a.asCSSSelector=m})(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(m){setTimeout(()=>{throw m.stack?new Error(m.message+`
|
|
|
|
|
|
`+m.stack):m},0)}}emit(m){this.listeners.forEach(b=>{b(m)})}onUnexpectedError(m){this.unexpectedErrorHandler(m),this.emit(m)}onUnexpectedExternalError(m){this.unexpectedErrorHandler(m)}}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:m,message:b}=y;const S=y.stacktrace||y.stack;return{$isError:!0,name:m,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(m){super("NotSupported"),m&&(this.message=m)}}},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 m},ju:function(){return f}});var r=e(79881),i=e(69323),l=e(34502),c=e(95830),f;(function(b){b.None=()=>i.JT.None;function S(se){return(ee,Q=null,le)=>{let z=!1,$;return $=se(ie=>{if(!z)return $?$.dispose():z=!0,ee.call(Q,ie)},null,le),z&&$.dispose(),$}}b.once=S;function k(se,ee){return N((Q,le=null,z)=>se($=>Q.call(le,ee($)),null,z))}b.map=k;function R(se,ee){return N((Q,le=null,z)=>se($=>{ee($),Q.call(le,$)},null,z))}b.forEach=R;function A(se,ee){return N((Q,le=null,z)=>se($=>ee($)&&Q.call(le,$),null,z))}b.filter=A;function P(se){return se}b.signal=P;function M(...se){return(ee,Q=null,le)=>(0,i.F8)(...se.map(z=>z($=>ee.call(Q,$),null,le)))}b.any=M;function B(se,ee,Q){let le=Q;return k(se,z=>(le=ee(le,z),le))}b.reduce=B;function N(se){let ee;const Q=new a({onFirstListenerAdd(){ee=se(Q.fire,Q)},onLastListenerRemove(){ee.dispose()}});return Q.event}function G(se,ee,Q=100,le=!1,z){let $,ie,me,Pe=0;const De=new a({leakWarningThreshold:z,onFirstListenerAdd(){$=se(Ze=>{Pe++,ie=ee(ie,Ze),le&&!me&&(De.fire(ie),ie=void 0),clearTimeout(me),me=setTimeout(()=>{const Ne=ie;ie=void 0,me=void 0,(!le||Pe>1)&&De.fire(Ne),Pe=0},Q)})},onLastListenerRemove(){$.dispose()}});return De.event}b.debounce=G;function W(se,ee=(Q,le)=>Q===le){let Q=!0,le;return A(se,z=>{const $=Q||!ee(z,le);return Q=!1,le=z,$})}b.latch=W;function H(se,ee){return[b.filter(se,ee),b.filter(se,Q=>!ee(Q))]}b.split=H;function ae(se,ee=!1,Q=[]){let le=Q.slice(),z=se(me=>{le?le.push(me):ie.fire(me)});const $=()=>{le&&le.forEach(me=>ie.fire(me)),le=null},ie=new a({onFirstListenerAdd(){z||(z=se(me=>ie.fire(me)))},onFirstListenerDidAdd(){le&&(ee?setTimeout($):$())},onLastListenerRemove(){z&&z.dispose(),z=null}});return ie.event}b.buffer=ae;class ne{constructor(ee){this.event=ee}map(ee){return new ne(k(this.event,ee))}forEach(ee){return new ne(R(this.event,ee))}filter(ee){return new ne(A(this.event,ee))}reduce(ee,Q){return new ne(B(this.event,ee,Q))}latch(){return new ne(W(this.event))}debounce(ee,Q=100,le=!1,z){return new ne(G(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 oe(se){return new ne(se)}b.chain=oe;function q(se,ee,Q=le=>le){const le=(...me)=>ie.fire(Q(...me)),z=()=>se.on(ee,le),$=()=>se.removeListener(ee,le),ie=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return ie.event}b.fromNodeEventEmitter=q;function J(se,ee,Q=le=>le){const le=(...me)=>ie.fire(Q(...me)),z=()=>se.addEventListener(ee,le),$=()=>se.removeEventListener(ee,le),ie=new a({onFirstListenerAdd:z,onLastListenerRemove:$});return ie.event}b.fromDOMEventEmitter=J;function K(se){return new Promise(ee=>S(se)(ee))}b.toPromise=K})(f||(f={}));class o{constructor(S){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${S}_${o._idPool++}`}start(S){this._stopWatch=new c.G(!0),this._listenerCount=S}stop(){if(this._stopWatch){const S=this._stopWatch.elapsed();this._elapsedOverall+=S,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${S.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}o._idPool=0;let h=-1;class u{constructor(S,k=Math.random().toString(18).slice(2,5)){this.customThreshold=S,this.name=k,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(S){let k=h;if(typeof this.customThreshold=="number"&&(k=this.customThreshold),k<=0||S<k)return;this._stacks||(this._stacks=new Map);const R=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),A=this._stacks.get(R)||0;if(this._stacks.set(R,A+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=k*.5;let P,M=0;for(const[B,N]of this._stacks)(!P||M<N)&&(P=B,M=N);console.warn(`[${this.name}] potential listener LEAK detected, having ${S} listeners already. MOST frequent listener (${M}):`),console.warn(P)}return()=>{const P=this._stacks.get(R)||0;this._stacks.set(R,P-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 P=this._listeners.isEmpty();P&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const M=this._listeners.push(k?[S,k]:S);P&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,S,k);const B=(A=this._leakageMon)===null||A===void 0?void 0:A.check(this._listeners.size),N=(0,i.OF)(()=>{B&&B(),this._disposed||(M(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return R instanceof i.SL?R.add(N):Array.isArray(R)&&R.push(N),N}),this._event}fire(S){var k,R;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new l.S);for(let A of this._listeners)this._deliveryQueue.push([A,S]);for((k=this._perfMon)===null||k===void 0||k.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[A,P]=this._deliveryQueue.shift();try{typeof A=="function"?A.call(void 0,P):A[0].call(A[1],P)}catch(M){(0,r.dL)(M)}}(R=this._perfMon)===null||R===void 0||R.stop()}}dispose(){var S,k,R,A,P;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),(P=this._leakageMon)===null||P===void 0||P.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(P=>{const M=this.buffers[this.buffers.length-1];M?M.push(()=>k.call(R,P)):k.call(R,P)},void 0,A)}bufferEvents(S){const k=[];this.buffers.push(k);const R=S();return this.buffers.pop(),k.forEach(A=>A()),R}}class m{constructor(){this.listening=!1,this.inputEvent=f.None,this.inputEventListener=i.JT.None,this.emitter=new a({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(S){this.inputEvent=S,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=S(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(d,v,e){"use strict";e.d(v,{I:function(){return r}});function r(i){const l=this;let c=!1,f;return function(){return c||(c=!0,f=i.apply(l,arguments)),f}}},88226:function(d,v,e){"use strict";e.d(v,{$:function(){return r}});var r;(function(i){function l(M){return M&&typeof M=="object"&&typeof M[Symbol.iterator]=="function"}i.is=l;const c=Object.freeze([]);function f(){return c}i.empty=f;function*o(M){yield M}i.single=o;function h(M){return M||c}i.from=h;function u(M){return!M||M[Symbol.iterator]().next().done===!0}i.isEmpty=u;function a(M){return M[Symbol.iterator]().next().value}i.first=a;function x(M,B){for(const N of M)if(B(N))return!0;return!1}i.some=x;function p(M,B){for(const N of M)if(B(N))return N}i.find=p;function*y(M,B){for(const N of M)B(N)&&(yield N)}i.filter=y;function*m(M,B){let N=0;for(const G of M)yield B(G,N++)}i.map=m;function*b(...M){for(const B of M)for(const N of B)yield N}i.concat=b;function*S(M){for(const B of M)for(const N of B)yield N}i.concatNested=S;function k(M,B,N){let G=N;for(const W of M)G=B(G,W);return G}i.reduce=k;function*R(M,B,N=M.length){for(B<0&&(B+=M.length),N<0?N+=M.length:N>M.length&&(N=M.length);B<N;B++)yield M[B]}i.slice=R;function A(M,B=Number.POSITIVE_INFINITY){const N=[];if(B===0)return[N,M];const G=M[Symbol.iterator]();for(let W=0;W<B;W++){const H=G.next();if(H.done)return[N,i.empty()];N.push(H.value)}return[N,{[Symbol.iterator](){return G}}]}i.consume=A;function P(M,B,N=(G,W)=>G===W){const G=M[Symbol.iterator](),W=B[Symbol.iterator]();for(;;){const H=G.next(),ae=W.next();if(H.done!==ae.done)return!1;if(H.done)return!0;if(!N(H.value,ae.value))return!1}}i.equals=P})(r||(r={}))},69323:function(d,v,e){"use strict";e.d(v,{B9:function(){return m},F8:function(){return b},JT:function(){return R},Jz:function(){return P},OF:function(){return S},SL:function(){return k},Wf:function(){return y},XK:function(){return A},dk:function(){return x}});var r=e(17845),i=e(88226);const l=!1;let c=null;function f(M){c=M}if(l){const M="__is_disposable_tracked__";f(new class{trackDisposable(B){const N=new Error("Potentially leaked disposable").stack;setTimeout(()=>{B[M]||console.log(N)},3e3)}setParent(B,N){if(B&&B!==R.None)try{B[M]=!0}catch(G){}}markAsDisposed(B){if(B&&B!==R.None)try{B[M]=!0}catch(N){}}markAsSingleton(B){}})}function o(M){return c==null||c.trackDisposable(M),M}function h(M){c==null||c.markAsDisposed(M)}function u(M,B){c==null||c.setParent(M,B)}function a(M,B){if(c)for(const N of M)c.setParent(N,B)}function x(M){return c==null||c.markAsSingleton(M),M}class p extends Error{constructor(B){super(`Encountered errors while disposing of store. Errors: [${B.join(", ")}]`),this.errors=B}}function y(M){return typeof M.dispose=="function"&&M.dispose.length===0}function m(M){if(i.$.is(M)){let B=[];for(const N of M)if(N)try{N.dispose()}catch(G){B.push(G)}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(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{m(this._toDispose.values())}finally{this._toDispose.clear()}}add(B){if(!B)return B;if(B===this)throw new Error("Cannot register a disposable on itself!");return u(B,this),this._isDisposed?k.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(B),B}}k.DISABLE_DISPOSED_WARNING=!1;class R{constructor(){this._store=new k,o(this),u(this._store,this)}dispose(){h(this),this._store.dispose()}_register(B){if(B===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(B)}}R.None=Object.freeze({dispose(){}});class A{constructor(){this._isDisposed=!1,o(this)}get value(){return this._isDisposed?void 0:this._value}set value(B){var N;this._isDisposed||B===this._value||((N=this._value)===null||N===void 0||N.dispose(),B&&u(B,this),this._value=B)}clear(){this.value=void 0}dispose(){var B;this._isDisposed=!0,h(this),(B=this._value)===null||B===void 0||B.dispose(),this._value=void 0}clearAndLeak(){const B=this._value;return this._value=void 0,B&&u(B,null),B}}class P{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 G},ED:function(){return P},IJ:function(){return B},OS:function(){return ne},WE:function(){return H},dz:function(){return M},gn:function(){return W},li:function(){return S},r:function(){return J},tY:function(){return N},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,m=null,b;const S=typeof self=="object"?self:typeof e.g=="object"?e.g:{};let k;typeof S.vscode!="undefined"&&typeof S.vscode.process!="undefined"?k=S.vscode.process:typeof r!="undefined"&&(k=r);const R=typeof((i=k==null?void 0:k.versions)===null||i===void 0?void 0:i.electron)=="string"&&k.type==="renderer";if(typeof navigator=="object"&&!R)b=navigator.userAgent,c=b.indexOf("Windows")>=0,f=b.indexOf("Macintosh")>=0,x=(b.indexOf("Macintosh")>=0||b.indexOf("iPad")>=0||b.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,o=b.indexOf("Linux")>=0,a=!0,p=navigator.language,y=p;else if(typeof k=="object"){c=k.platform==="win32",f=k.platform==="darwin",o=k.platform==="linux",h=o&&!!k.env.SNAP&&!!k.env.SNAP_REVISION,p=l,y=l;const K=k.env.VSCODE_NLS_CONFIG;if(K)try{const se=JSON.parse(K),ee=se.availableLanguages["*"];p=se.locale,y=ee||l,m=se._translationsConfigFile}catch(se){}u=!0}else console.error("Unable to resolve platform.");let A=0;f?A=1:c?A=3:o&&(A=2);const P=c,M=f,B=o,N=u,G=a,W=x,H=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 ie=ee[z];if(ie.id===le.data.vscodeSetImmediateId){ee.splice(z,1),ie.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 se=Promise.resolve();return ee=>se.then(ee)}(),ne=f||x?2:c?1:3;let oe=!0,q=!1;function J(){if(!q){q=!0;const K=new Uint8Array(2);K[0]=1,K[1]=2,oe=new Uint16Array(K.buffer)[0]===513}return oe}},95830:function(d,v,e){"use strict";e.d(v,{G:function(){return l}});var r=e(23345);const i=r.li.performance&&typeof r.li.performance.now=="function";class l{constructor(f){this._highResolution=i&&f,this._startTime=this._now(),this._stopTime=-1}static create(f=!0){return new l(f)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?r.li.performance.now():Date.now()}}},82983:function(d,v,e){"use strict";e.d(v,{$i:function(){return Pe},C8:function(){return yt},GF:function(){return p},HO:function(){return Q},IO:function(){return y},K7:function(){return Bt},Kw:function(){return Yt},LC:function(){return S},Mh:function(){return ae},P1:function(){return ne},PJ:function(){return ur},Qe:function(){return De},R1:function(){return x},RP:function(){return ie},S6:function(){return We},TT:function(){return P},Ut:function(){return z},V8:function(){return k},WU:function(){return l},YK:function(){return q},YU:function(){return c},ZG:function(){return oe},ZH:function(){return K},ab:function(){return Ze},c1:function(){return It},df:function(){return G},ec:function(){return f},fi:function(){return Pt},fy:function(){return o},j3:function(){return h},j_:function(){return B},m5:function(){return r},mK:function(){return N},mr:function(){return m},oH:function(){return Et},oL:function(){return u},ok:function(){return H},ow:function(){return R},qq:function(){return W},qu:function(){return A},rL:function(){return J},uS:function(){return rr},un:function(){return a},uq:function(){return b},vH:function(){return ee},xe:function(){return Ne},zY:function(){return M}});function r(ge){return!ge||typeof ge!="string"?!0:ge.trim().length===0}const i=/{(\d+)}/g;function l(ge,...Se){return Se.length===0?ge:ge.replace(i,function(Le,je){const He=parseInt(je,10);return isNaN(He)||He<0||He>=Se.length?Le:Se[He]})}function c(ge){return ge.replace(/[<>&]/g,function(Se){switch(Se){case"<":return"<";case">":return">";case"&":return"&";default:return Se}})}function f(ge){return ge.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function o(ge,Se=" "){const Le=h(ge,Se);return u(Le,Se)}function h(ge,Se){if(!ge||!Se)return ge;const Le=Se.length;if(Le===0||ge.length===0)return ge;let je=0;for(;ge.indexOf(Se,je)===je;)je=je+Le;return ge.substring(je)}function u(ge,Se){if(!ge||!Se)return ge;const Le=Se.length,je=ge.length;if(Le===0||je===0)return ge;let He=je,rt=-1;for(;rt=ge.lastIndexOf(Se,He-1),!(rt===-1||rt+Le!==He);){if(rt===0)return"";He=rt}return ge.substring(0,He)}function a(ge){return ge.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function x(ge){return ge.replace(/\*/g,"")}function p(ge,Se,Le={}){if(!ge)throw new Error("Cannot create regex from empty string");Se||(ge=f(ge)),Le.wholeWord&&(/\B/.test(ge.charAt(0))||(ge="\\b"+ge),/\B/.test(ge.charAt(ge.length-1))||(ge=ge+"\\b"));let je="";return Le.global&&(je+="g"),Le.matchCase||(je+="i"),Le.multiline&&(je+="m"),Le.unicode&&(je+="u"),new RegExp(ge,je)}function y(ge){return ge.source==="^"||ge.source==="^$"||ge.source==="$"||ge.source==="^\\s*$"?!1:!!(ge.exec("")&&ge.lastIndex===0)}function m(ge){return(ge.global?"g":"")+(ge.ignoreCase?"i":"")+(ge.multiline?"m":"")+(ge.unicode?"u":"")}function b(ge){return ge.split(/\r\n|\r|\n/)}function S(ge){for(let Se=0,Le=ge.length;Se<Le;Se++){const je=ge.charCodeAt(Se);if(je!==32&&je!==9)return Se}return-1}function k(ge,Se=0,Le=ge.length){for(let je=Se;je<Le;je++){const He=ge.charCodeAt(je);if(He!==32&&He!==9)return ge.substring(Se,je)}return ge.substring(Se,Le)}function R(ge,Se=ge.length-1){for(let Le=Se;Le>=0;Le--){const je=ge.charCodeAt(Le);if(je!==32&&je!==9)return Le}return-1}function A(ge,Se){return ge<Se?-1:ge>Se?1:0}function P(ge,Se,Le=0,je=ge.length,He=0,rt=Se.length){for(;Le<je&&He<rt;Le++,He++){let Wt=ge.charCodeAt(Le),Ae=Se.charCodeAt(He);if(Wt<Ae)return-1;if(Wt>Ae)return 1}const lt=je-Le,Kt=rt-He;return lt<Kt?-1:lt>Kt?1:0}function M(ge,Se){return B(ge,Se,0,ge.length,0,Se.length)}function B(ge,Se,Le=0,je=ge.length,He=0,rt=Se.length){for(;Le<je&&He<rt;Le++,He++){let Wt=ge.charCodeAt(Le),Ae=Se.charCodeAt(He);if(Wt===Ae)continue;if(Wt>=128||Ae>=128)return P(ge.toLowerCase(),Se.toLowerCase(),Le,je,He,rt);N(Wt)&&(Wt-=32),N(Ae)&&(Ae-=32);const qe=Wt-Ae;if(qe!==0)return qe}const lt=je-Le,Kt=rt-He;return lt<Kt?-1:lt>Kt?1:0}function N(ge){return ge>=97&&ge<=122}function G(ge){return ge>=65&&ge<=90}function W(ge,Se){return ge.length===Se.length&&B(ge,Se)===0}function H(ge,Se){const Le=Se.length;return Se.length>ge.length?!1:B(ge,Se,0,Le)===0}function ae(ge,Se){let Le,je=Math.min(ge.length,Se.length);for(Le=0;Le<je;Le++)if(ge.charCodeAt(Le)!==Se.charCodeAt(Le))return Le;return je}function ne(ge,Se){let Le,je=Math.min(ge.length,Se.length);const He=ge.length-1,rt=Se.length-1;for(Le=0;Le<je;Le++)if(ge.charCodeAt(He-Le)!==Se.charCodeAt(rt-Le))return Le;return je}function oe(ge){return 55296<=ge&&ge<=56319}function q(ge){return 56320<=ge&&ge<=57343}function J(ge,Se){return(ge-55296<<10)+(Se-56320)+65536}function K(ge,Se,Le){const je=ge.charCodeAt(Le);if(oe(je)&&Le+1<Se){const He=ge.charCodeAt(Le+1);if(q(He))return J(je,He)}return je}function se(ge,Se){const Le=ge.charCodeAt(Se-1);if(q(Le)&&Se>1){const je=ge.charCodeAt(Se-2);if(oe(je))return J(je,Le)}return Le}function ee(ge,Se){const Le=zt.getInstance(),je=Se,He=ge.length,rt=K(ge,He,Se);Se+=rt>=65536?2:1;let lt=Le.getGraphemeBreakType(rt);for(;Se<He;){const Kt=K(ge,He,Se),Wt=Le.getGraphemeBreakType(Kt);if(Pt(lt,Wt))break;Se+=Kt>=65536?2:1,lt=Wt}return Se-je}function Q(ge,Se){const Le=zt.getInstance(),je=Se,He=se(ge,Se);Se-=He>=65536?2:1;let rt=Le.getGraphemeBreakType(He);for(;Se>0;){const lt=se(ge,Se),Kt=Le.getGraphemeBreakType(lt);if(Pt(Kt,rt))break;Se-=lt>=65536?2:1,rt=Kt}return je-Se}const le=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function z(ge){return le.test(ge)}const $=/(?:[\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 ie(ge){return $.test(ge)}const me=/^[\t\n\r\x20-\x7E]*$/;function Pe(ge){return me.test(ge)}const De=/[\u2028\u2029]/;function Ze(ge){return De.test(ge)}function Ne(ge){for(let Se=0,Le=ge.length;Se<Le;Se++)if(Bt(ge.charCodeAt(Se)))return!0;return!1}function Bt(ge){return ge=+ge,ge>=11904&&ge<=55215||ge>=63744&&ge<=64255||ge>=65281&&ge<=65374}function yt(ge){return ge>=127462&&ge<=127487||ge===8986||ge===8987||ge===9200||ge===9203||ge>=9728&&ge<=10175||ge===11088||ge===11093||ge>=127744&&ge<=128591||ge>=128640&&ge<=128764||ge>=128992&&ge<=129003||ge>=129280&&ge<=129535||ge>=129648&&ge<=129750}const It="\uFEFF";function rr(ge){return!!(ge&&ge.length>0&&ge.charCodeAt(0)===65279)}function Yt(ge,Se=!1){return ge?(Se&&(ge=ge.replace(/\\./g,"")),ge.toLowerCase()!==ge):!1}function ur(ge){return ge=ge%52,ge<26?String.fromCharCode(97+ge):String.fromCharCode(65+ge-26)}function We(ge){return zt.getInstance().getGraphemeBreakType(ge)}function Pt(ge,Se){return ge===0?Se!==5&&Se!==7:ge===2&&Se===3?!1:ge===4||ge===2||ge===3||Se===4||Se===2||Se===3?!0:!(ge===8&&(Se===8||Se===9||Se===11||Se===12)||(ge===11||ge===9)&&(Se===9||Se===10)||(ge===12||ge===10)&&Se===10||Se===5||Se===13||Se===7||ge===1||ge===13&&Se===14||ge===6&&Se===6)}class zt{constructor(){this._data=nt()}static getInstance(){return zt._INSTANCE||(zt._INSTANCE=new zt),zt._INSTANCE}getGraphemeBreakType(Se){if(Se<32)return Se===10?3:Se===13?2:4;if(Se<127)return 0;const Le=this._data,je=Le.length/3;let He=1;for(;He<=je;)if(Se<Le[3*He])He=2*He;else if(Se>Le[3*He+1])He=2*He+1;else return Le[3*He+2];return 0}}zt._INSTANCE=null;function nt(){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 Et(ge,Se){if(ge===0)return 0;const Le=ht(ge,Se);if(Le!==void 0)return Le;const je=se(Se,ge);return ge-=Je(je),ge}function ht(ge,Se){let Le=se(Se,ge);for(ge-=Je(Le);Ue(Le)||Le===65039||Le===8419;){if(ge===0)return;Le=se(Se,ge),ge-=Je(Le)}if(yt(Le)){if(ge>=0){const je=se(Se,ge);je===8205&&(ge-=Je(je))}return ge}}function Je(ge){return ge>=65536?2:1}function Ue(ge){return 127995<=ge&&ge<=127999}},72999:function(d,v,e){"use strict";e.d(v,{$E:function(){return S},$K:function(){return h},D8:function(){return y},HD:function(){return i},IU:function(){return 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(P){return Array.isArray(P)}function i(P){return typeof P=="string"}function l(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)&&!(P instanceof RegExp)&&!(P instanceof Date)}function c(P){return typeof P=="number"&&!isNaN(P)}function f(P){return P===!0||P===!1}function o(P){return typeof P=="undefined"}function h(P){return!u(P)}function u(P){return o(P)||P===null}function a(P,M){if(!P)throw new Error(M?`Unexpected type, expected '${M}'`:"Unexpected type")}function x(P){if(u(P))throw new Error("Assertion Failed: argument is undefined or null");return P}function p(P){return typeof P=="function"}function y(P,M){const B=Math.min(P.length,M.length);for(let N=0;N<B;N++)m(P[N],M[N])}function m(P,M){if(i(M)){if(typeof P!==M)throw new Error(`argument does not match constraint: typeof ${M}`)}else if(p(M)){try{if(P instanceof M)return}catch(B){}if(!u(P)&&P.constructor===M||M.length===1&&M.call(void 0,P)===!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(P){let M=[],B=Object.getPrototypeOf(P);for(;Object.prototype!==B;)M=M.concat(Object.getOwnPropertyNames(B)),B=Object.getPrototypeOf(B);return M}function S(P){const M=[];for(const B of b(P))typeof P[B]=="function"&&M.push(B);return M}function k(P,M){const B=G=>function(){const W=Array.prototype.slice.call(arguments,0);return M(G,W)};let N={};for(const G of P)N[G]=B(G);return N}function R(P){return P===null?void 0:P}function A(P,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 m}});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(P,M,B,N){var G=arguments.length,W=G<3?M:N===null?N=Object.getOwnPropertyDescriptor(M,B):N,H;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")W=Reflect.decorate(P,M,B,N);else for(var ae=P.length-1;ae>=0;ae--)(H=P[ae])&&(W=(G<3?H(W):G>3?H(M,B,W):H(M,B))||W);return G>3&&W&&Object.defineProperty(M,B,W),W},y=function(P,M){return function(B,N){M(B,N,P)}};function m(P){return P.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:P=>P===b.CommandPalette}}addCommand(P){return this.addCommands(c.$.single(P))}addCommands(P){for(const M of P)this._commands.set(M.id,M);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,f.OF)(()=>{let M=!1;for(const B of P)M=this._commands.delete(B.id)||M;M&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(P){return this._commands.get(P)}getCommands(){const P=new Map;return this._commands.forEach((M,B)=>P.set(B,M)),P}appendMenuItem(P,M){return this.appendMenuItems(c.$.single({id:P,item:M}))}appendMenuItems(P){const M=new Set,B=new o.S;for(const{id:N,item:G}of P){let W=this._menuItems.get(N);W||(W=new o.S,this._menuItems.set(N,W)),B.push(W.push(G)),M.add(N)}return this._onDidChangeMenu.fire(M),(0,f.OF)(()=>{if(B.size>0){for(let N of B)N();this._onDidChangeMenu.fire(M),B.clear()}})}getMenuItems(P){let M;return this._menuItems.has(P)?M=[...this._menuItems.get(P)]:M=[],P===b.CommandPalette&&this._appendImplicitItems(M),M}_appendImplicitItems(P){const M=new Set;for(const B of P)m(B)&&(M.add(B.command.id),B.alt&&M.add(B.alt.id));this._commands.forEach((B,N)=>{M.has(N)||P.push({command:B})})}};class R extends r.wY{constructor(M,B,N,G){super(`submenuitem.${M.submenu.id}`,typeof M.title=="string"?M.title:M.title.value,[],"submenu"),this.item=M,this._menuService=B,this._contextKeyService=N,this._options=G}get actions(){const M=[],B=this._menuService.createMenu(this.item.submenu,this._contextKeyService),N=B.getActions(this._options);B.dispose();for(const[,G]of N)G.length>0&&(M.push(...G),M.push(new r.Z0));return M.length&&M.pop(),M}}let A=class t0{constructor(M,B,N,G,W){var H,ae;if(this._commandService=W,this.id=M.id,this.label=N!=null&&N.renderShortTitle&&M.shortTitle?typeof M.shortTitle=="string"?M.shortTitle:M.shortTitle.value:typeof M.title=="string"?M.title:M.title.value,this.tooltip=(ae=typeof M.tooltip=="string"?M.tooltip:(H=M.tooltip)===null||H===void 0?void 0:H.value)!==null&&ae!==void 0?ae:"",this.enabled=!M.precondition||G.contextMatchesRules(M.precondition),this.checked=void 0,M.toggled){const ne=M.toggled.condition?M.toggled:{condition:M.toggled};this.checked=G.contextMatchesRules(ne.condition),this.checked&&ne.tooltip&&(this.tooltip=typeof ne.tooltip=="string"?ne.tooltip:ne.tooltip.value),ne.title&&(this.label=typeof ne.title=="string"?ne.title:ne.title.value)}this.item=M,this.alt=B?new t0(B,void 0,N,G,W):void 0,this._options=N,x.kS.isThemeIcon(M.icon)&&(this.class=i.dT.asClassName(M.icon))}dispose(){}run(...M){var B,N;let G=[];return!((B=this._options)===null||B===void 0)&&B.arg&&(G=[...G,this._options.arg]),!((N=this._options)===null||N===void 0)&&N.shouldForwardArgs&&(G=[...G,...M]),this._commandService.executeCommand(this.id,...G)}};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 m=y.unshift(a),b=(0,l.OF)(()=>{m();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 oe}});var r=e(23345),i=e(82983),l=e(16925);let c=r.WE||"";const f=new Map;f.set("false",!1),f.set("true",!0),f.set("isMac",r.dz),f.set("isLinux",r.IJ),f.set("isWindows",r.ED),f.set("isWeb",r.$L),f.set("isMacNative",r.dz&&!r.$L),f.set("isEdge",c.indexOf("Edg/")>=0),f.set("isFirefox",c.indexOf("Firefox")>=0),f.set("isChrome",c.indexOf("Chrome")>=0),f.set("isSafari",c.indexOf("Safari")>=0);const o=Object.prototype.hasOwnProperty;class h{static has(z){return y.create(z)}static equals(z,$){return m.create(z,$)}static regex(z,$){return G.create(z,$)}static not(z){return R.create(z)}static and(...z){return ae.create(z,null)}static or(...z){return ne.create(z,null,!0)}static deserialize(z,$=!1){if(z)return this._deserializeOrExpression(z,$)}static _deserializeOrExpression(z,$){let ie=z.split("||");return ne.create(ie.map(me=>this._deserializeAndExpression(me,$)),null,!0)}static _deserializeAndExpression(z,$){let ie=z.split("&&");return ae.create(ie.map(me=>this._deserializeOne(me,$)),null)}static _deserializeOne(z,$){if(z=z.trim(),z.indexOf("!=")>=0){let ie=z.split("!=");return k.create(ie[0].trim(),this._deserializeValue(ie[1],$))}if(z.indexOf("==")>=0){let ie=z.split("==");return m.create(ie[0].trim(),this._deserializeValue(ie[1],$))}if(z.indexOf("=~")>=0){let ie=z.split("=~");return G.create(ie[0].trim(),this._deserializeRegexValue(ie[1],$))}if(z.indexOf(" in ")>=0){let ie=z.split(" in ");return b.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(z)){const ie=z.split(">=");return M.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(z)){const ie=z.split(">");return P.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(z)){const ie=z.split("<=");return N.create(ie[0].trim(),ie[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(z)){const ie=z.split("<");return B.create(ie[0].trim(),ie[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 ie=/^'([^']*)'$/.exec(z);return ie?ie[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 ie=z.indexOf("/"),me=z.lastIndexOf("/");if(ie===me||ie<0){if($)throw new Error(`bad regexp-value '${z}', missing /-enclosure`);return console.warn(`bad regexp-value '${z}', missing /-enclosure`),null}let Pe=z.slice(ie+1,me),De=z[me+1]==="i"?"i":"";try{return new RegExp(Pe,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,ie=z?z.substituteConstants():void 0;return!$&&!ie?!0:!$||!ie?!1:$.equals(ie)}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 ie=f.get(z);return typeof ie=="boolean"?ie?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 m{constructor(z,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=4}static create(z,$,ie=null){if(typeof $=="boolean")return $?y.create(z,ie):R.create(z,ie);const me=f.get(z);return typeof me=="boolean"?$===(me?"true":"false")?p.INSTANCE:x.INSTANCE:new m(z,$,ie)}cmp(z){return z.type!==this.type?this.type-z.type:se(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const $=z?"true":"false";return this.value===$?p.INSTANCE:x.INSTANCE}return this}evaluate(z){return z.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this.value,this)),this.negated}}class b{constructor(z,$){this.key=z,this.valueKey=$,this.type=10,this.negated=null}static create(z,$){return new b(z,$)}cmp(z){return z.type!==this.type?this.type-z.type:se(this.key,this.valueKey,z.key,z.valueKey)}equals(z){return z.type===this.type?this.key===z.key&&this.valueKey===z.valueKey:!1}substituteConstants(){return this}evaluate(z){const $=z.getValue(this.valueKey),ie=z.getValue(this.key);return Array.isArray($)?$.indexOf(ie)>=0:typeof ie=="string"&&typeof $=="object"&&$!==null?o.call($,ie):!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,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=5}static create(z,$,ie=null){if(typeof $=="boolean")return $?R.create(z,ie):y.create(z,ie);const me=f.get(z);return typeof me=="boolean"?$===(me?"true":"false")?x.INSTANCE:p.INSTANCE:new k(z,$,ie)}cmp(z){return z.type!==this.type?this.type-z.type:se(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){const z=f.get(this.key);if(typeof z=="boolean"){const $=z?"true":"false";return this.value===$?x.INSTANCE:p.INSTANCE}return this}evaluate(z){return z.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=m.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 ie=f.get(z);return typeof ie=="boolean"?ie?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 P{constructor(z,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=12}static create(z,$,ie=null){return A($,me=>new P(z,me,ie))}cmp(z){return z.type!==this.type?this.type-z.type:se(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this.key,this.value,this)),this.negated}}class M{constructor(z,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=13}static create(z,$,ie=null){return A($,me=>new M(z,me,ie))}cmp(z){return z.type!==this.type?this.type-z.type:se(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=B.create(this.key,this.value,this)),this.negated}}class B{constructor(z,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=14}static create(z,$,ie=null){return A($,me=>new B(z,me,ie))}cmp(z){return z.type!==this.type?this.type-z.type:se(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=M.create(this.key,this.value,this)),this.negated}}class N{constructor(z,$,ie){this.key=z,this.value=$,this.negated=ie,this.type=15}static create(z,$,ie=null){return A($,me=>new N(z,me,ie))}cmp(z){return z.type!==this.type?this.type-z.type:se(this.key,this.value,z.key,z.value)}equals(z){return z.type===this.type?this.key===z.key&&this.value===z.value:!1}substituteConstants(){return this}evaluate(z){return typeof this.value=="string"?!1:parseFloat(z.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}class G{constructor(z,$){this.key=z,this.regexp=$,this.type=7,this.negated=null}static create(z,$){return new G(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:"",ie=z.regexp?z.regexp.source:"";return $<ie?-1:$>ie?1:0}equals(z){if(z.type===this.type){const $=this.regexp?this.regexp.source:"",ie=z.regexp?z.regexp.source:"";return this.key===z.key&&$===ie}return!1}substituteConstants(){return this}evaluate(z){let $=z.getValue(this.key);return this.regexp?this.regexp.test($):!1}serialize(){const z=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${z}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this)),this.negated}}class W{constructor(z){this._actual=z,this.type=8}static create(z){return new W(z)}cmp(z){return z.type!==this.type?this.type-z.type:this._actual.cmp(z._actual)}equals(z){return z.type===this.type?this._actual.equals(z._actual):!1}substituteConstants(){return this}evaluate(z){return!this._actual.evaluate(z)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function H(le){let z=null;for(let $=0,ie=le.length;$<ie;$++){const me=le[$].substituteConstants();if(le[$]!==me&&z===null){z=[];for(let Pe=0;Pe<$;Pe++)z[Pe]=le[Pe]}z!==null&&(z[$]=me)}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,ie=this.expr.length;$<ie;$++){const me=a(this.expr[$],z.expr[$]);if(me!==0)return me}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let $=0,ie=this.expr.length;$<ie;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=H(this.expr);return z===this.expr?this:ae.create(z,this.negated)}evaluate(z){for(let $=0,ie=this.expr.length;$<ie;$++)if(!this.expr[$].evaluate(z))return!1;return!0}static _normalizeArr(z,$){const ie=[];let me=!1;for(const Pe of z)if(Pe){if(Pe.type===1){me=!0;continue}if(Pe.type===0)return x.INSTANCE;if(Pe.type===6){ie.push(...Pe.expr);continue}ie.push(Pe)}if(ie.length===0&&me)return p.INSTANCE;if(ie.length!==0){if(ie.length===1)return ie[0];ie.sort(a);for(let Pe=1;Pe<ie.length;Pe++)ie[Pe-1].equals(ie[Pe])&&(ie.splice(Pe,1),Pe--);if(ie.length===1)return ie[0];for(;ie.length>1;){const Pe=ie[ie.length-1];if(Pe.type!==9)break;ie.pop();const De=ie.pop(),Ze=ie.length===0,Ne=ne.create(Pe.expr.map(Bt=>ae.create([Bt,De],null)),null,Ze);Ne&&(ie.push(Ne),ie.sort(a))}return ie.length===1?ie[0]:new ae(ie,$)}}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=ne.create(z,this,!0)}return this.negated}}class ne{constructor(z,$){this.expr=z,this.negated=$,this.type=9}static create(z,$,ie){return ne._normalizeArr(z,$,ie)}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,ie=this.expr.length;$<ie;$++){const me=a(this.expr[$],z.expr[$]);if(me!==0)return me}return 0}equals(z){if(z.type===this.type){if(this.expr.length!==z.expr.length)return!1;for(let $=0,ie=this.expr.length;$<ie;$++)if(!this.expr[$].equals(z.expr[$]))return!1;return!0}return!1}substituteConstants(){const z=H(this.expr);return z===this.expr?this:ne.create(z,this.negated,!1)}evaluate(z){for(let $=0,ie=this.expr.length;$<ie;$++)if(this.expr[$].evaluate(z))return!0;return!1}static _normalizeArr(z,$,ie){let me=[],Pe=!1;if(z){for(let De=0,Ze=z.length;De<Ze;De++){const Ne=z[De];if(Ne){if(Ne.type===0){Pe=!0;continue}if(Ne.type===1)return p.INSTANCE;if(Ne.type===9){me=me.concat(Ne.expr);continue}me.push(Ne)}}if(me.length===0&&Pe)return x.INSTANCE;me.sort(a)}if(me.length!==0){if(me.length===1)return me[0];for(let De=1;De<me.length;De++)me[De-1].equals(me[De])&&(me.splice(De,1),De--);if(me.length===1)return me[0];if(ie){for(let De=0;De<me.length;De++)for(let Ze=De+1;Ze<me.length;Ze++)ee(me[De],me[Ze])&&(me.splice(Ze,1),Ze--);if(me.length===1)return me[0]}return new ne(me,$)}}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(),ie=z.shift(),me=[];for(const De of Q($))for(const Ze of Q(ie))me.push(ae.create([De,Ze],null));const Pe=z.length===0;z.unshift(ne.create(me,null,Pe))}this.negated=z[0]}return this.negated}}class oe extends y{constructor(z,$,ie){super(z,null),this._defaultValue=$,typeof ie=="object"?oe._info.push(Object.assign(Object.assign({},ie),{key:z})):ie!==!0&&oe._info.push({key:z,description:ie,type:$!=null?typeof $:void 0})}static all(){return oe._info.values()}bindTo(z){return z.createKey(this.key,this._defaultValue)}getValue(z){return z.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(z){return m.create(this.key,z)}}oe._info=[];const q=(0,l.yh)("contextKeyService"),J="setContext";function K(le,z){return le<z?-1:le>z?1:0}function se(le,z,$,ie){return le<$?-1:le>$?1:z<ie?-1:z>ie?1:0}function ee(le,z){if(z.type===6&&le.type!==9&&le.type!==6){for(const me of z.expr)if(le.equals(me))return!0}const $=le.negate(),ie=Q($).concat(Q(z));ie.sort(a);for(let me=0;me<ie.length;me++){const De=ie[me].negate();for(let Ze=me+1;Ze<ie.length;Ze++){const Ne=ie[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(P){return P&&typeof P=="object"&&typeof P.id=="string"}R.isThemeColor=A})(u||(u={}));function a(R){return{id:R}}var x;(function(R){function A(W){return W&&typeof W=="object"&&typeof W.id=="string"&&(typeof W.color=="undefined"||u.isThemeColor(W.color))}R.isThemeIcon=A;const P=new RegExp(`^\\$\\((${r.dT.iconNameExpression}(?:${r.dT.iconModifierExpression})?)\\)$`);function M(W){const H=P.exec(W);if(!H)return;let[,ae]=H;return{id:ae}}R.fromString=M;function B(W,H){let ae=W.id;const ne=ae.lastIndexOf("~");return ne!==-1&&(ae=ae.substring(0,ne)),H&&(ae=`${ae}~${H}`),{id:ae}}R.modify=B;function N(W,H){var ae,ne;return W.id===H.id&&((ae=W.color)===null||ae===void 0?void 0:ae.id)===((ne=H.color)===null||ne===void 0?void 0:ne.id)}R.isEqual=N;function G(W,H){return{id:W.id,color:H?a(H):void 0}}R.asThemeIcon=G,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 m{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 P=this.themingParticipants.indexOf(A);this.themingParticipants.splice(P,1)})}getThemingParticipants(){return this.themingParticipants}}let b=new m;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(P=>this.onThemeChange(P)))}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 m(){}v.on=m,v.addListener=m,v.once=m,v.off=m,v.removeListener=m,v.removeAllListeners=m,v.emit=m,v.prependListener=m,v.prependOnceListener=m,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 m=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 m.name="Invariant Violation",m}}c.isRequired=c;function f(){return c}var o={array:c,bigint:c,bool:c,func:c,number:c,object:c,string:c,symbol:c,any:c,arrayOf:f,element:c,elementType:c,instanceOf:f,node:c,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:l,resetWarningCache:i};return o.PropTypes=o,o}},12708:function(d,v,e){if(0)var r,i;else d.exports=e(79442)()},97825:function(d){"use strict";var v="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";d.exports=v},86923:function(d,v,e){"use strict";e.d(v,{s:function(){return B},Z:function(){return oe}});var r=e(54476),i=e(42978),l=e(43403),c=e(59301),f=c.createContext({}),o=e(33885),h=e(92310),u=e.n(h),a=e(48519),x=e(80402),p=e(10228),y=e(26112);function m(q,J,K){var se=J;return!se&&K&&(se="".concat(q,"-").concat(K)),se}function b(q,J){var K=q["page".concat(J?"Y":"X","Offset")],se="scroll".concat(J?"Top":"Left");if(typeof K!="number"){var ee=q.document;K=ee.documentElement[se],typeof K!="number"&&(K=ee.body[se])}return K}function S(q){var J=q.getBoundingClientRect(),K={left:J.left,top:J.top},se=q.ownerDocument,ee=se.defaultView||se.parentWindow;return K.left+=b(ee),K.top+=b(ee,!0),K}var k=e(77900),R=e(8654),A=c.memo(function(q){var J=q.children;return J},function(q,J){var K=J.shouldUpdate;return!K}),P={width:0,height:0,overflow:"hidden",outline:"none"},M=c.forwardRef(function(q,J){var K=q.prefixCls,se=q.className,ee=q.style,Q=q.title,le=q.ariaId,z=q.footer,$=q.closable,ie=q.closeIcon,me=q.onClose,Pe=q.children,De=q.bodyStyle,Ze=q.bodyProps,Ne=q.modalRender,Bt=q.onMouseDown,yt=q.onMouseUp,It=q.holderRef,rr=q.visible,Yt=q.forceRender,ur=q.width,We=q.height,Pt=c.useContext(f),zt=Pt.panel,nt=(0,R.x1)(It,zt),Et=(0,c.useRef)(),ht=(0,c.useRef)();c.useImperativeHandle(J,function(){return{focus:function(){var He;(He=Et.current)===null||He===void 0||He.focus()},changeActive:function(He){var rt=document,lt=rt.activeElement;He&<===ht.current?Et.current.focus():!He&<===Et.current&&ht.current.focus()}}});var Je={};ur!==void 0&&(Je.width=ur),We!==void 0&&(Je.height=We);var Ue;z&&(Ue=c.createElement("div",{className:"".concat(K,"-footer")},z));var ge;Q&&(ge=c.createElement("div",{className:"".concat(K,"-header")},c.createElement("div",{className:"".concat(K,"-title"),id:le},Q)));var Se;$&&(Se=c.createElement("button",{type:"button",onClick:me,"aria-label":"Close",className:"".concat(K,"-close")},ie||c.createElement("span",{className:"".concat(K,"-close-x")})));var Le=c.createElement("div",{className:"".concat(K,"-content")},Se,ge,c.createElement("div",(0,r.Z)({className:"".concat(K,"-body"),style:De},Ze),Pe),Ue);return c.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":Q?le:null,"aria-modal":"true",ref:nt,style:(0,o.Z)((0,o.Z)({},ee),Je),className:u()(K,se),onMouseDown:Bt,onMouseUp:yt},c.createElement("div",{tabIndex:0,ref:Et,style:P,"aria-hidden":"true"}),c.createElement(A,{shouldUpdate:rr||Yt},Ne?Ne(Le):Le),c.createElement("div",{tabIndex:0,ref:ht,style:P,"aria-hidden":"true"}))}),B=M,N=c.forwardRef(function(q,J){var K=q.prefixCls,se=q.title,ee=q.style,Q=q.className,le=q.visible,z=q.forceRender,$=q.destroyOnClose,ie=q.motionName,me=q.ariaId,Pe=q.onVisibleChanged,De=q.mousePosition,Ze=(0,c.useRef)(),Ne=c.useState(),Bt=(0,i.Z)(Ne,2),yt=Bt[0],It=Bt[1],rr={};yt&&(rr.transformOrigin=yt);function Yt(){var ur=S(Ze.current);It(De?"".concat(De.x-ur.left,"px ").concat(De.y-ur.top,"px"):"")}return c.createElement(k.default,{visible:le,onVisibleChanged:Pe,onAppearPrepare:Yt,onEnterPrepare:Yt,forceRender:z,motionName:ie,removeOnLeave:$,ref:Ze},function(ur,We){var Pt=ur.className,zt=ur.style;return c.createElement(B,(0,r.Z)({},q,{ref:J,title:se,ariaId:me,prefixCls:K,holderRef:We,style:(0,o.Z)((0,o.Z)((0,o.Z)({},zt),ee),rr),className:u()(Q,Pt)}))})});N.displayName="Content";var G=N;function W(q){var J=q.prefixCls,K=q.style,se=q.visible,ee=q.maskProps,Q=q.motionName;return c.createElement(k.default,{key:"mask",visible:se,motionName:Q,leavedClassName:"".concat(J,"-mask-hidden")},function(le,z){var $=le.className,ie=le.style;return c.createElement("div",(0,r.Z)({ref:z,style:(0,o.Z)((0,o.Z)({},ie),K),className:u()("".concat(J,"-mask"),$)},ee))})}function H(q){var J=q.prefixCls,K=J===void 0?"rc-dialog":J,se=q.zIndex,ee=q.visible,Q=ee===void 0?!1:ee,le=q.keyboard,z=le===void 0?!0:le,$=q.focusTriggerAfterClose,ie=$===void 0?!0:$,me=q.wrapStyle,Pe=q.wrapClassName,De=q.wrapProps,Ze=q.onClose,Ne=q.afterOpenChange,Bt=q.afterClose,yt=q.transitionName,It=q.animation,rr=q.closable,Yt=rr===void 0?!0:rr,ur=q.mask,We=ur===void 0?!0:ur,Pt=q.maskTransitionName,zt=q.maskAnimation,nt=q.maskClosable,Et=nt===void 0?!0:nt,ht=q.maskStyle,Je=q.maskProps,Ue=q.rootClassName,ge=(0,c.useRef)(),Se=(0,c.useRef)(),Le=(0,c.useRef)(),je=c.useState(Q),He=(0,i.Z)(je,2),rt=He[0],lt=He[1],Kt=(0,x.Z)();function Wt(){(0,a.Z)(Se.current,document.activeElement)||(ge.current=document.activeElement)}function Ae(){if(!(0,a.Z)(Se.current,document.activeElement)){var ce;(ce=Le.current)===null||ce===void 0||ce.focus()}}function qe(ce){if(ce)Ae();else{if(lt(!1),We&&ge.current&&ie){try{ge.current.focus({preventScroll:!0})}catch(pe){}ge.current=null}rt&&(Bt==null||Bt())}Ne==null||Ne(ce)}function Vt(ce){Ze==null||Ze(ce)}var kt=(0,c.useRef)(!1),Ht=(0,c.useRef)(),$t=function(){clearTimeout(Ht.current),kt.current=!0},Tt=function(){Ht.current=setTimeout(function(){kt.current=!1})},Xt=null;Et&&(Xt=function(pe){kt.current?kt.current=!1:Se.current===pe.target&&Vt(pe)});function Ge(ce){if(z&&ce.keyCode===p.Z.ESC){ce.stopPropagation(),Vt(ce);return}Q&&ce.keyCode===p.Z.TAB&&Le.current.changeActive(!ce.shiftKey)}return(0,c.useEffect)(function(){Q&&(lt(!0),Wt())},[Q]),(0,c.useEffect)(function(){return function(){clearTimeout(Ht.current)}},[]),c.createElement("div",(0,r.Z)({className:u()("".concat(K,"-root"),Ue)},(0,y.Z)(q,{data:!0})),c.createElement(W,{prefixCls:K,visible:We&&Q,motionName:m(K,Pt,zt),style:(0,o.Z)({zIndex:se},ht),maskProps:Je}),c.createElement("div",(0,r.Z)({tabIndex:-1,onKeyDown:Ge,className:u()("".concat(K,"-wrap"),Pe),ref:Se,onClick:Xt,style:(0,o.Z)((0,o.Z)({zIndex:se},me),{},{display:rt?null:"none"})},De),c.createElement(G,(0,r.Z)({},q,{onMouseDown:$t,onMouseUp:Tt,ref:Le,closable:Yt,ariaId:Kt,prefixCls:K,visible:Q&&rt,onClose:Vt,onVisibleChanged:qe,motionName:m(K,yt,It)}))))}var ae=function(J){var K=J.visible,se=J.getContainer,ee=J.forceRender,Q=J.destroyOnClose,le=Q===void 0?!1:Q,z=J.afterClose,$=J.panelRef,ie=c.useState(K),me=(0,i.Z)(ie,2),Pe=me[0],De=me[1],Ze=c.useMemo(function(){return{panel:$}},[$]);return c.useEffect(function(){K&&De(!0)},[K]),!ee&&le&&!Pe?null:c.createElement(f.Provider,{value:Ze},c.createElement(l.Z,{open:K||ee||Pe,autoDestroy:!1,getContainer:se,autoLock:K||Pe},c.createElement(H,(0,r.Z)({},J,{destroyOnClose:le,afterClose:function(){z==null||z(),De(!1)}}))))};ae.displayName="Dialog";var ne=ae,oe=ne},95013:function(d,v,e){"use strict";e.r(v),e.d(v,{Field:function(){return Nr},FieldContext:function(){return M},FormProvider:function(){return Ra},List:function(){return Jn},ListContext:function(){return N},default:function(){return Rn},useForm:function(){return mi},useWatch:function(){return sa}});var r=e(59301),i=e(54476),l=e(75931),c=e(75044),f=e(3202),o=e(33885),h=e(94480),u=e(67732),a=e(83652),x=e(31226),p=e(42403),y=e(158),m=e(20068),b=e(11592),S=e(13697),k=e(48736),R="RC_FORM_INTERNAL_HOOKS",A=function(){(0,k.ZP)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},P=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=P,B=r.createContext(null),N=B;function G(Jt){return Jt==null?[]:Array.isArray(Jt)?Jt:[Jt]}function W(Jt){return Jt&&!!Jt._init}var H=e(97671);function ae(){return ae=Object.assign?Object.assign.bind():function(Jt){for(var dt=1;dt<arguments.length;dt++){var tt=arguments[dt];for(var Ot in tt)Object.prototype.hasOwnProperty.call(tt,Ot)&&(Jt[Ot]=tt[Ot])}return Jt},ae.apply(this,arguments)}function ne(Jt,dt){Jt.prototype=Object.create(dt.prototype),Jt.prototype.constructor=Jt,q(Jt,dt)}function oe(Jt){return oe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(tt){return tt.__proto__||Object.getPrototypeOf(tt)},oe(Jt)}function q(Jt,dt){return q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(Ot,mt){return Ot.__proto__=mt,Ot},q(Jt,dt)}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(Jt){return!1}}function K(Jt,dt,tt){return J()?K=Reflect.construct.bind():K=function(mt,or,lr){var Ir=[null];Ir.push.apply(Ir,or);var Hr=Function.bind.apply(mt,Ir),ze=new Hr;return lr&&q(ze,lr.prototype),ze},K.apply(null,arguments)}function se(Jt){return Function.toString.call(Jt).indexOf("[native code]")!==-1}function ee(Jt){var dt=typeof Map=="function"?new Map:void 0;return ee=function(Ot){if(Ot===null||!se(Ot))return Ot;if(typeof Ot!="function")throw new TypeError("Super expression must either be null or a function");if(typeof dt!="undefined"){if(dt.has(Ot))return dt.get(Ot);dt.set(Ot,mt)}function mt(){return K(Ot,arguments,oe(this).constructor)}return mt.prototype=Object.create(Ot.prototype,{constructor:{value:mt,enumerable:!1,writable:!0,configurable:!0}}),q(mt,Ot)},ee(Jt)}var Q=/%[sdj%]/g,le=function(){};function z(Jt){if(!Jt||!Jt.length)return null;var dt={};return Jt.forEach(function(tt){var Ot=tt.field;dt[Ot]=dt[Ot]||[],dt[Ot].push(tt)}),dt}function $(Jt){for(var dt=arguments.length,tt=new Array(dt>1?dt-1:0),Ot=1;Ot<dt;Ot++)tt[Ot-1]=arguments[Ot];var mt=0,or=tt.length;if(typeof Jt=="function")return Jt.apply(null,tt);if(typeof Jt=="string"){var lr=Jt.replace(Q,function(Ir){if(Ir==="%%")return"%";if(mt>=or)return Ir;switch(Ir){case"%s":return String(tt[mt++]);case"%d":return Number(tt[mt++]);case"%j":try{return JSON.stringify(tt[mt++])}catch(Hr){return"[Circular]"}break;default:return Ir}});return lr}return Jt}function ie(Jt){return Jt==="string"||Jt==="url"||Jt==="hex"||Jt==="email"||Jt==="date"||Jt==="pattern"}function me(Jt,dt){return!!(Jt==null||dt==="array"&&Array.isArray(Jt)&&!Jt.length||ie(dt)&&typeof Jt=="string"&&!Jt)}function Pe(Jt,dt,tt){var Ot=[],mt=0,or=Jt.length;function lr(Ir){Ot.push.apply(Ot,Ir||[]),mt++,mt===or&&tt(Ot)}Jt.forEach(function(Ir){dt(Ir,lr)})}function De(Jt,dt,tt){var Ot=0,mt=Jt.length;function or(lr){if(lr&&lr.length){tt(lr);return}var Ir=Ot;Ot=Ot+1,Ir<mt?dt(Jt[Ir],or):tt([])}or([])}function Ze(Jt){var dt=[];return Object.keys(Jt).forEach(function(tt){dt.push.apply(dt,Jt[tt]||[])}),dt}var Ne=function(Jt){ne(dt,Jt);function dt(tt,Ot){var mt;return mt=Jt.call(this,"Async Validation Error")||this,mt.errors=tt,mt.fields=Ot,mt}return dt}(ee(Error));function Bt(Jt,dt,tt,Ot,mt){if(dt.first){var or=new Promise(function(at,tr){var Cr=function(Rr){return Ot(Rr),Rr.length?tr(new Ne(Rr,z(Rr))):at(mt)},kr=Ze(Jt);De(kr,tt,Cr)});return or.catch(function(at){return at}),or}var lr=dt.firstFields===!0?Object.keys(Jt):dt.firstFields||[],Ir=Object.keys(Jt),Hr=Ir.length,ze=0,et=[],xe=new Promise(function(at,tr){var Cr=function(Pr){if(et.push.apply(et,Pr),ze++,ze===Hr)return Ot(et),et.length?tr(new Ne(et,z(et))):at(mt)};Ir.length||(Ot(et),at(mt)),Ir.forEach(function(kr){var Pr=Jt[kr];lr.indexOf(kr)!==-1?De(Pr,tt,Cr):Pe(Pr,tt,Cr)})});return xe.catch(function(at){return at}),xe}function yt(Jt){return!!(Jt&&Jt.message!==void 0)}function It(Jt,dt){for(var tt=Jt,Ot=0;Ot<dt.length;Ot++){if(tt==null)return tt;tt=tt[dt[Ot]]}return tt}function rr(Jt,dt){return function(tt){var Ot;return Jt.fullFields?Ot=It(dt,Jt.fullFields):Ot=dt[tt.field||Jt.fullField],yt(tt)?(tt.field=tt.field||Jt.fullField,tt.fieldValue=Ot,tt):{message:typeof tt=="function"?tt():tt,fieldValue:Ot,field:tt.field||Jt.fullField}}}function Yt(Jt,dt){if(dt){for(var tt in dt)if(dt.hasOwnProperty(tt)){var Ot=dt[tt];typeof Ot=="object"&&typeof Jt[tt]=="object"?Jt[tt]=ae({},Jt[tt],Ot):Jt[tt]=Ot}}return Jt}var ur=function(dt,tt,Ot,mt,or,lr){dt.required&&(!Ot.hasOwnProperty(dt.field)||me(tt,lr||dt.type))&&mt.push($(or.messages.required,dt.fullField))},We=function(dt,tt,Ot,mt,or){(/^\s+$/.test(tt)||tt==="")&&mt.push($(or.messages.whitespace,dt.fullField))},Pt,zt=function(){if(Pt)return Pt;var Jt="[a-fA-F\\d:]",dt=function(pn){return pn&&pn.includeBoundaries?"(?:(?<=\\s|^)(?="+Jt+")|(?<="+Jt+")(?=\\s|$))":""},tt="(?: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}",Ot="[a-fA-F\\d]{1,4}",mt=(`
|
|
|
(?:
|
|
|
(?:`+Ot+":){7}(?:"+Ot+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
|
|
(?:`+Ot+":){6}(?:"+tt+"|:"+Ot+`|:)| // 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
|
|
|
(?:`+Ot+":){5}(?::"+tt+"|(?::"+Ot+`){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
|
|
|
(?:`+Ot+":){4}(?:(?::"+Ot+"){0,1}:"+tt+"|(?::"+Ot+`){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
|
|
|
(?:`+Ot+":){3}(?:(?::"+Ot+"){0,2}:"+tt+"|(?::"+Ot+`){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
|
|
|
(?:`+Ot+":){2}(?:(?::"+Ot+"){0,3}:"+tt+"|(?::"+Ot+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
|
|
(?:`+Ot+":){1}(?:(?::"+Ot+"){0,4}:"+tt+"|(?::"+Ot+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
|
|
(?::(?:(?::`+Ot+"){0,5}:"+tt+"|(?::"+Ot+`){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(),or=new RegExp("(?:^"+tt+"$)|(?:^"+mt+"$)"),lr=new RegExp("^"+tt+"$"),Ir=new RegExp("^"+mt+"$"),Hr=function(pn){return pn&&pn.exact?or:new RegExp("(?:"+dt(pn)+tt+dt(pn)+")|(?:"+dt(pn)+mt+dt(pn)+")","g")};Hr.v4=function(Tr){return Tr&&Tr.exact?lr:new RegExp(""+dt(Tr)+tt+dt(Tr),"g")},Hr.v6=function(Tr){return Tr&&Tr.exact?Ir:new RegExp(""+dt(Tr)+mt+dt(Tr),"g")};var ze="(?:(?:[a-z]+:)?//)",et="(?:\\S+(?::\\S*)?@)?",xe=Hr.v4().source,at=Hr.v6().source,tr="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",Cr="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",kr="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",Pr="(?::\\d{2,5})?",Rr='(?:[/?#][^\\s"]*)?',Tn="(?:"+ze+"|www\\.)"+et+"(?:localhost|"+xe+"|"+at+"|"+tr+Cr+kr+")"+Pr+Rr;return Pt=new RegExp("(?:^"+Tn+"$)","i"),Pt},nt={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},Et={integer:function(dt){return Et.number(dt)&&parseInt(dt,10)===dt},float:function(dt){return Et.number(dt)&&!Et.integer(dt)},array:function(dt){return Array.isArray(dt)},regexp:function(dt){if(dt instanceof RegExp)return!0;try{return!!new RegExp(dt)}catch(tt){return!1}},date:function(dt){return typeof dt.getTime=="function"&&typeof dt.getMonth=="function"&&typeof dt.getYear=="function"&&!isNaN(dt.getTime())},number:function(dt){return isNaN(dt)?!1:typeof dt=="number"},object:function(dt){return typeof dt=="object"&&!Et.array(dt)},method:function(dt){return typeof dt=="function"},email:function(dt){return typeof dt=="string"&&dt.length<=320&&!!dt.match(nt.email)},url:function(dt){return typeof dt=="string"&&dt.length<=2048&&!!dt.match(zt())},hex:function(dt){return typeof dt=="string"&&!!dt.match(nt.hex)}},ht=function(dt,tt,Ot,mt,or){if(dt.required&&tt===void 0){ur(dt,tt,Ot,mt,or);return}var lr=["integer","float","array","regexp","object","method","email","number","date","url","hex"],Ir=dt.type;lr.indexOf(Ir)>-1?Et[Ir](tt)||mt.push($(or.messages.types[Ir],dt.fullField,dt.type)):Ir&&typeof tt!==dt.type&&mt.push($(or.messages.types[Ir],dt.fullField,dt.type))},Je=function(dt,tt,Ot,mt,or){var lr=typeof dt.len=="number",Ir=typeof dt.min=="number",Hr=typeof dt.max=="number",ze=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,et=tt,xe=null,at=typeof tt=="number",tr=typeof tt=="string",Cr=Array.isArray(tt);if(at?xe="number":tr?xe="string":Cr&&(xe="array"),!xe)return!1;Cr&&(et=tt.length),tr&&(et=tt.replace(ze,"_").length),lr?et!==dt.len&&mt.push($(or.messages[xe].len,dt.fullField,dt.len)):Ir&&!Hr&&et<dt.min?mt.push($(or.messages[xe].min,dt.fullField,dt.min)):Hr&&!Ir&&et>dt.max?mt.push($(or.messages[xe].max,dt.fullField,dt.max)):Ir&&Hr&&(et<dt.min||et>dt.max)&&mt.push($(or.messages[xe].range,dt.fullField,dt.min,dt.max))},Ue="enum",ge=function(dt,tt,Ot,mt,or){dt[Ue]=Array.isArray(dt[Ue])?dt[Ue]:[],dt[Ue].indexOf(tt)===-1&&mt.push($(or.messages[Ue],dt.fullField,dt[Ue].join(", ")))},Se=function(dt,tt,Ot,mt,or){if(dt.pattern){if(dt.pattern instanceof RegExp)dt.pattern.lastIndex=0,dt.pattern.test(tt)||mt.push($(or.messages.pattern.mismatch,dt.fullField,tt,dt.pattern));else if(typeof dt.pattern=="string"){var lr=new RegExp(dt.pattern);lr.test(tt)||mt.push($(or.messages.pattern.mismatch,dt.fullField,tt,dt.pattern))}}},Le={required:ur,whitespace:We,type:ht,range:Je,enum:ge,pattern:Se},je=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt,"string")&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or,"string"),me(tt,"string")||(Le.type(dt,tt,mt,lr,or),Le.range(dt,tt,mt,lr,or),Le.pattern(dt,tt,mt,lr,or),dt.whitespace===!0&&Le.whitespace(dt,tt,mt,lr,or))}Ot(lr)},He=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),tt!==void 0&&Le.type(dt,tt,mt,lr,or)}Ot(lr)},rt=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(tt===""&&(tt=void 0),me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),tt!==void 0&&(Le.type(dt,tt,mt,lr,or),Le.range(dt,tt,mt,lr,or))}Ot(lr)},lt=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),tt!==void 0&&Le.type(dt,tt,mt,lr,or)}Ot(lr)},Kt=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),me(tt)||Le.type(dt,tt,mt,lr,or)}Ot(lr)},Wt=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),tt!==void 0&&(Le.type(dt,tt,mt,lr,or),Le.range(dt,tt,mt,lr,or))}Ot(lr)},Ae=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),tt!==void 0&&(Le.type(dt,tt,mt,lr,or),Le.range(dt,tt,mt,lr,or))}Ot(lr)},qe=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(tt==null&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or,"array"),tt!=null&&(Le.type(dt,tt,mt,lr,or),Le.range(dt,tt,mt,lr,or))}Ot(lr)},Vt=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),tt!==void 0&&Le.type(dt,tt,mt,lr,or)}Ot(lr)},kt="enum",Ht=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),tt!==void 0&&Le[kt](dt,tt,mt,lr,or)}Ot(lr)},$t=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt,"string")&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or),me(tt,"string")||Le.pattern(dt,tt,mt,lr,or)}Ot(lr)},Tt=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt,"date")&&!dt.required)return Ot();if(Le.required(dt,tt,mt,lr,or),!me(tt,"date")){var Hr;tt instanceof Date?Hr=tt:Hr=new Date(tt),Le.type(dt,Hr,mt,lr,or),Hr&&Le.range(dt,Hr.getTime(),mt,lr,or)}}Ot(lr)},Xt=function(dt,tt,Ot,mt,or){var lr=[],Ir=Array.isArray(tt)?"array":typeof tt;Le.required(dt,tt,mt,lr,or,Ir),Ot(lr)},Ge=function(dt,tt,Ot,mt,or){var lr=dt.type,Ir=[],Hr=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Hr){if(me(tt,lr)&&!dt.required)return Ot();Le.required(dt,tt,mt,Ir,or,lr),me(tt,lr)||Le.type(dt,tt,mt,Ir,or)}Ot(Ir)},ce=function(dt,tt,Ot,mt,or){var lr=[],Ir=dt.required||!dt.required&&mt.hasOwnProperty(dt.field);if(Ir){if(me(tt)&&!dt.required)return Ot();Le.required(dt,tt,mt,lr,or)}Ot(lr)},pe={string:je,method:He,number:rt,boolean:lt,regexp:Kt,integer:Wt,float:Ae,array:qe,object:Vt,enum:Ht,pattern:$t,date:Tt,url:Ge,hex:Ge,email:Ge,required:Xt,any:ce};function Dt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var dt=JSON.parse(JSON.stringify(this));return dt.clone=this.clone,dt}}}var Ce=Dt(),ct=function(){function Jt(tt){this.rules=null,this._messages=Ce,this.define(tt)}var dt=Jt.prototype;return dt.define=function(Ot){var mt=this;if(!Ot)throw new Error("Cannot configure a schema with no rules");if(typeof Ot!="object"||Array.isArray(Ot))throw new Error("Rules must be an object");this.rules={},Object.keys(Ot).forEach(function(or){var lr=Ot[or];mt.rules[or]=Array.isArray(lr)?lr:[lr]})},dt.messages=function(Ot){return Ot&&(this._messages=Yt(Dt(),Ot)),this._messages},dt.validate=function(Ot,mt,or){var lr=this;mt===void 0&&(mt={}),or===void 0&&(or=function(){});var Ir=Ot,Hr=mt,ze=or;if(typeof Hr=="function"&&(ze=Hr,Hr={}),!this.rules||Object.keys(this.rules).length===0)return ze&&ze(null,Ir),Promise.resolve(Ir);function et(kr){var Pr=[],Rr={};function Tn(pn){if(Array.isArray(pn)){var sn;Pr=(sn=Pr).concat.apply(sn,pn)}else Pr.push(pn)}for(var Tr=0;Tr<kr.length;Tr++)Tn(kr[Tr]);Pr.length?(Rr=z(Pr),ze(Pr,Rr)):ze(null,Ir)}if(Hr.messages){var xe=this.messages();xe===Ce&&(xe=Dt()),Yt(xe,Hr.messages),Hr.messages=xe}else Hr.messages=this.messages();var at={},tr=Hr.keys||Object.keys(this.rules);tr.forEach(function(kr){var Pr=lr.rules[kr],Rr=Ir[kr];Pr.forEach(function(Tn){var Tr=Tn;typeof Tr.transform=="function"&&(Ir===Ot&&(Ir=ae({},Ir)),Rr=Ir[kr]=Tr.transform(Rr)),typeof Tr=="function"?Tr={validator:Tr}:Tr=ae({},Tr),Tr.validator=lr.getValidationMethod(Tr),Tr.validator&&(Tr.field=kr,Tr.fullField=Tr.fullField||kr,Tr.type=lr.getType(Tr),at[kr]=at[kr]||[],at[kr].push({rule:Tr,value:Rr,source:Ir,field:kr}))})});var Cr={};return Bt(at,Hr,function(kr,Pr){var Rr=kr.rule,Tn=(Rr.type==="object"||Rr.type==="array")&&(typeof Rr.fields=="object"||typeof Rr.defaultField=="object");Tn=Tn&&(Rr.required||!Rr.required&&kr.value),Rr.field=kr.field;function Tr(ln,Ln){return ae({},Ln,{fullField:Rr.fullField+"."+ln,fullFields:Rr.fullFields?[].concat(Rr.fullFields,[ln]):[ln]})}function pn(ln){ln===void 0&&(ln=[]);var Ln=Array.isArray(ln)?ln:[ln];!Hr.suppressWarning&&Ln.length&&Jt.warning("async-validator:",Ln),Ln.length&&Rr.message!==void 0&&(Ln=[].concat(Rr.message));var Ia=Ln.map(rr(Rr,Ir));if(Hr.first&&Ia.length)return Cr[Rr.field]=1,Pr(Ia);if(!Tn)Pr(Ia);else{if(Rr.required&&!kr.value)return Rr.message!==void 0?Ia=[].concat(Rr.message).map(rr(Rr,Ir)):Hr.error&&(Ia=[Hr.error(Rr,$(Hr.messages.required,Rr.field))]),Pr(Ia);var ji={};Rr.defaultField&&Object.keys(kr.value).map(function(yi){ji[yi]=Rr.defaultField}),ji=ae({},ji,kr.rule.fields);var Ii={};Object.keys(ji).forEach(function(yi){var Vi=ji[yi],Ea=Array.isArray(Vi)?Vi:[Vi];Ii[yi]=Ea.map(Tr.bind(null,yi))});var En=new Jt(Ii);En.messages(Hr.messages),kr.rule.options&&(kr.rule.options.messages=Hr.messages,kr.rule.options.error=Hr.error),En.validate(kr.value,kr.rule.options||Hr,function(yi){var Vi=[];Ia&&Ia.length&&Vi.push.apply(Vi,Ia),yi&&yi.length&&Vi.push.apply(Vi,yi),Pr(Vi.length?Vi:null)})}}var sn;if(Rr.asyncValidator)sn=Rr.asyncValidator(Rr,kr.value,pn,kr.source,Hr);else if(Rr.validator){try{sn=Rr.validator(Rr,kr.value,pn,kr.source,Hr)}catch(ln){console.error==null||console.error(ln),Hr.suppressValidatorError||setTimeout(function(){throw ln},0),pn(ln.message)}sn===!0?pn():sn===!1?pn(typeof Rr.message=="function"?Rr.message(Rr.fullField||Rr.field):Rr.message||(Rr.fullField||Rr.field)+" fails"):sn instanceof Array?pn(sn):sn instanceof Error&&pn(sn.message)}sn&&sn.then&&sn.then(function(){return pn()},function(ln){return pn(ln)})},function(kr){et(kr)},Ir)},dt.getType=function(Ot){if(Ot.type===void 0&&Ot.pattern instanceof RegExp&&(Ot.type="pattern"),typeof Ot.validator!="function"&&Ot.type&&!pe.hasOwnProperty(Ot.type))throw new Error($("Unknown rule type %s",Ot.type));return Ot.type||"string"},dt.getValidationMethod=function(Ot){if(typeof Ot.validator=="function")return Ot.validator;var mt=Object.keys(Ot),or=mt.indexOf("message");return or!==-1&&mt.splice(or,1),mt.length===1&&mt[0]==="required"?pe.required:pe[this.getType(Ot)]||void 0},Jt}();ct.register=function(dt,tt){if(typeof tt!="function")throw new Error("Cannot register a validator by type, validator is not a function");pe[dt]=tt},ct.warning=le,ct.messages=Ce,ct.validators=pe;var Zt="'${name}' is not a valid ${type}",St={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Zt,method:Zt,array:Zt,object:Zt,number:Zt,date:Zt,boolean:Zt,integer:Zt,float:Zt,regexp:Zt,email:Zt,url:Zt,hex:Zt},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},Ie=e(24434),wt=ct;function be(Jt,dt){return Jt.replace(/\$\{\w+\}/g,function(tt){var Ot=tt.slice(2,-1);return dt[Ot]})}var Ye="CODE_LOGIC_ERROR";function vt(Jt,dt,tt,Ot,mt){return Lt.apply(this,arguments)}function Lt(){return Lt=(0,f.Z)((0,c.Z)().mark(function Jt(dt,tt,Ot,mt,or){var lr,Ir,Hr,ze,et,xe,at,tr,Cr;return(0,c.Z)().wrap(function(Pr){for(;;)switch(Pr.prev=Pr.next){case 0:return lr=(0,o.Z)({},Ot),delete lr.ruleIndex,wt.warning=function(){},lr.validator&&(Ir=lr.validator,lr.validator=function(){try{return Ir.apply(void 0,arguments)}catch(Rr){return console.error(Rr),Promise.reject(Ye)}}),Hr=null,lr&&lr.type==="array"&&lr.defaultField&&(Hr=lr.defaultField,delete lr.defaultField),ze=new wt((0,m.Z)({},dt,[lr])),et=(0,Ie.T)(St,mt.validateMessages),ze.messages(et),xe=[],Pr.prev=10,Pr.next=13,Promise.resolve(ze.validate((0,m.Z)({},dt,tt),(0,o.Z)({},mt)));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(Rr,Tn){var Tr=Rr.message,pn=Tr===Ye?et.default:Tr;return r.isValidElement(pn)?r.cloneElement(pn,{key:"error_".concat(Tn)}):pn}));case 18:if(!(!xe.length&&Hr)){Pr.next=23;break}return Pr.next=21,Promise.all(tt.map(function(Rr,Tn){return vt("".concat(dt,".").concat(Tn),Rr,Hr,mt,or)}));case 21:return at=Pr.sent,Pr.abrupt("return",at.reduce(function(Rr,Tn){return[].concat((0,h.Z)(Rr),(0,h.Z)(Tn))},[]));case 23:return tr=(0,o.Z)((0,o.Z)({},Ot),{},{name:dt,enum:(Ot.enum||[]).join(", ")},or),Cr=xe.map(function(Rr){return typeof Rr=="string"?be(Rr,tr):Rr}),Pr.abrupt("return",Cr);case 26:case"end":return Pr.stop()}},Jt,null,[[10,15]])})),Lt.apply(this,arguments)}function Me(Jt,dt,tt,Ot,mt,or){var lr=Jt.join("."),Ir=tt.map(function(et,xe){var at=et.validator,tr=(0,o.Z)((0,o.Z)({},et),{},{ruleIndex:xe});return at&&(tr.validator=function(Cr,kr,Pr){var Rr=!1,Tn=function(){for(var sn=arguments.length,ln=new Array(sn),Ln=0;Ln<sn;Ln++)ln[Ln]=arguments[Ln];Promise.resolve().then(function(){(0,k.ZP)(!Rr,"Your validator function has already return a promise. `callback` will be ignored."),Rr||Pr.apply(void 0,ln)})},Tr=at(Cr,kr,Tn);Rr=Tr&&typeof Tr.then=="function"&&typeof Tr.catch=="function",(0,k.ZP)(Rr,"`callback` is deprecated. Please return a promise instead."),Rr&&Tr.then(function(){Pr()}).catch(function(pn){Pr(pn||" ")})}),tr}).sort(function(et,xe){var at=et.warningOnly,tr=et.ruleIndex,Cr=xe.warningOnly,kr=xe.ruleIndex;return!!at==!!Cr?tr-kr:at?1:-1}),Hr;if(mt===!0)Hr=new Promise(function(){var et=(0,f.Z)((0,c.Z)().mark(function xe(at,tr){var Cr,kr,Pr;return(0,c.Z)().wrap(function(Tn){for(;;)switch(Tn.prev=Tn.next){case 0:Cr=0;case 1:if(!(Cr<Ir.length)){Tn.next=12;break}return kr=Ir[Cr],Tn.next=5,vt(lr,dt,kr,Ot,or);case 5:if(Pr=Tn.sent,!Pr.length){Tn.next=9;break}return tr([{errors:Pr,rule:kr}]),Tn.abrupt("return");case 9:Cr+=1,Tn.next=1;break;case 12:at([]);case 13:case"end":return Tn.stop()}},xe)}));return function(xe,at){return et.apply(this,arguments)}}());else{var ze=Ir.map(function(et){return vt(lr,dt,et,Ot,or).then(function(xe){return{errors:xe,rule:et}})});Hr=(mt?Yr(ze):Or(ze)).then(function(et){return Promise.reject(et)})}return Hr.catch(function(et){return et}),Hr}function Or(Jt){return At.apply(this,arguments)}function At(){return At=(0,f.Z)((0,c.Z)().mark(function Jt(dt){return(0,c.Z)().wrap(function(Ot){for(;;)switch(Ot.prev=Ot.next){case 0:return Ot.abrupt("return",Promise.all(dt).then(function(mt){var or,lr=(or=[]).concat.apply(or,(0,h.Z)(mt));return lr}));case 1:case"end":return Ot.stop()}},Jt)})),At.apply(this,arguments)}function Yr(Jt){return rn.apply(this,arguments)}function rn(){return rn=(0,f.Z)((0,c.Z)().mark(function Jt(dt){var tt;return(0,c.Z)().wrap(function(mt){for(;;)switch(mt.prev=mt.next){case 0:return tt=0,mt.abrupt("return",new Promise(function(or){dt.forEach(function(lr){lr.then(function(Ir){Ir.errors.length&&or([Ir]),tt+=1,tt===dt.length&&or([])})})}));case 2:case"end":return mt.stop()}},Jt)})),rn.apply(this,arguments)}var wr=e(76190),jr=e(97938);function mr(Jt){return G(Jt)}function Zr(Jt,dt){var tt={};return dt.forEach(function(Ot){var mt=(0,jr.Z)(Jt,Ot);tt=(0,Ie.Z)(tt,Ot,mt)}),tt}function un(Jt,dt){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return Jt&&Jt.some(function(Ot){return mn(dt,Ot,tt)})}function mn(Jt,dt){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!Jt||!dt||!tt&&Jt.length!==dt.length?!1:dt.every(function(Ot,mt){return Jt[mt]===Ot})}function sr(Jt,dt){if(Jt===dt)return!0;if(!Jt&&dt||Jt&&!dt||!Jt||!dt||(0,wr.Z)(Jt)!=="object"||(0,wr.Z)(dt)!=="object")return!1;var tt=Object.keys(Jt),Ot=Object.keys(dt),mt=new Set([].concat(tt,Ot));return(0,h.Z)(mt).every(function(or){var lr=Jt[or],Ir=dt[or];return typeof lr=="function"&&typeof Ir=="function"?!0:lr===Ir})}function Rt(Jt){var dt=arguments.length<=1?void 0:arguments[1];return dt&&dt.target&&(0,wr.Z)(dt.target)==="object"&&Jt in dt.target?dt.target[Jt]:dt}function _t(Jt,dt,tt){var Ot=Jt.length;if(dt<0||dt>=Ot||tt<0||tt>=Ot)return Jt;var mt=Jt[dt],or=dt-tt;return or>0?[].concat((0,h.Z)(Jt.slice(0,tt)),[mt],(0,h.Z)(Jt.slice(tt,dt)),(0,h.Z)(Jt.slice(dt+1,Ot))):or<0?[].concat((0,h.Z)(Jt.slice(0,dt)),(0,h.Z)(Jt.slice(dt+1,tt+1)),[mt],(0,h.Z)(Jt.slice(tt+1,Ot))):Jt}var gt=["name"],jt=[];function Ar(Jt,dt,tt,Ot,mt,or){return typeof Jt=="function"?Jt(dt,tt,"source"in or?{source:or.source}:{}):Ot!==mt}var yr=function(Jt){(0,p.Z)(tt,Jt);var dt=(0,y.Z)(tt);function tt(Ot){var mt;if((0,u.Z)(this,tt),mt=dt.call(this,Ot),(0,m.Z)((0,x.Z)(mt),"state",{resetCount:0}),(0,m.Z)((0,x.Z)(mt),"cancelRegisterFunc",null),(0,m.Z)((0,x.Z)(mt),"mounted",!1),(0,m.Z)((0,x.Z)(mt),"touched",!1),(0,m.Z)((0,x.Z)(mt),"dirty",!1),(0,m.Z)((0,x.Z)(mt),"validatePromise",void 0),(0,m.Z)((0,x.Z)(mt),"prevValidating",void 0),(0,m.Z)((0,x.Z)(mt),"errors",jt),(0,m.Z)((0,x.Z)(mt),"warnings",jt),(0,m.Z)((0,x.Z)(mt),"cancelRegister",function(){var Hr=mt.props,ze=Hr.preserve,et=Hr.isListField,xe=Hr.name;mt.cancelRegisterFunc&&mt.cancelRegisterFunc(et,ze,mr(xe)),mt.cancelRegisterFunc=null}),(0,m.Z)((0,x.Z)(mt),"getNamePath",function(){var Hr=mt.props,ze=Hr.name,et=Hr.fieldContext,xe=et.prefixName,at=xe===void 0?[]:xe;return ze!==void 0?[].concat((0,h.Z)(at),(0,h.Z)(ze)):[]}),(0,m.Z)((0,x.Z)(mt),"getRules",function(){var Hr=mt.props,ze=Hr.rules,et=ze===void 0?[]:ze,xe=Hr.fieldContext;return et.map(function(at){return typeof at=="function"?at(xe):at})}),(0,m.Z)((0,x.Z)(mt),"refresh",function(){mt.mounted&&mt.setState(function(Hr){var ze=Hr.resetCount;return{resetCount:ze+1}})}),(0,m.Z)((0,x.Z)(mt),"metaCache",null),(0,m.Z)((0,x.Z)(mt),"triggerMetaEvent",function(Hr){var ze=mt.props.onMetaChange;if(ze){var et=(0,o.Z)((0,o.Z)({},mt.getMeta()),{},{destroy:Hr});(0,S.Z)(mt.metaCache,et)||ze(et),mt.metaCache=et}else mt.metaCache=null}),(0,m.Z)((0,x.Z)(mt),"onStoreChange",function(Hr,ze,et){var xe=mt.props,at=xe.shouldUpdate,tr=xe.dependencies,Cr=tr===void 0?[]:tr,kr=xe.onReset,Pr=et.store,Rr=mt.getNamePath(),Tn=mt.getValue(Hr),Tr=mt.getValue(Pr),pn=ze&&un(ze,Rr);switch(et.type==="valueUpdate"&&et.source==="external"&&Tn!==Tr&&(mt.touched=!0,mt.dirty=!0,mt.validatePromise=null,mt.errors=jt,mt.warnings=jt,mt.triggerMetaEvent()),et.type){case"reset":if(!ze||pn){mt.touched=!1,mt.dirty=!1,mt.validatePromise=void 0,mt.errors=jt,mt.warnings=jt,mt.triggerMetaEvent(),kr==null||kr(),mt.refresh();return}break;case"remove":{if(at){mt.reRender();return}break}case"setField":{var sn=et.data;if(pn){"touched"in sn&&(mt.touched=sn.touched),"validating"in sn&&!("originRCField"in sn)&&(mt.validatePromise=sn.validating?Promise.resolve([]):null),"errors"in sn&&(mt.errors=sn.errors||jt),"warnings"in sn&&(mt.warnings=sn.warnings||jt),mt.dirty=!0,mt.triggerMetaEvent(),mt.reRender();return}else if("value"in sn&&un(ze,Rr,!0)){mt.reRender();return}if(at&&!Rr.length&&Ar(at,Hr,Pr,Tn,Tr,et)){mt.reRender();return}break}case"dependenciesUpdate":{var ln=Cr.map(mr);if(ln.some(function(Ln){return un(et.relatedFields,Ln)})){mt.reRender();return}break}default:if(pn||(!Cr.length||Rr.length||at)&&Ar(at,Hr,Pr,Tn,Tr,et)){mt.reRender();return}break}at===!0&&mt.reRender()}),(0,m.Z)((0,x.Z)(mt),"validateRules",function(Hr){var ze=mt.getNamePath(),et=mt.getValue(),xe=Hr||{},at=xe.triggerName,tr=xe.validateOnly,Cr=tr===void 0?!1:tr,kr=Promise.resolve().then((0,f.Z)((0,c.Z)().mark(function Pr(){var Rr,Tn,Tr,pn,sn,ln,Ln;return(0,c.Z)().wrap(function(ji){for(;;)switch(ji.prev=ji.next){case 0:if(mt.mounted){ji.next=2;break}return ji.abrupt("return",[]);case 2:if(Rr=mt.props,Tn=Rr.validateFirst,Tr=Tn===void 0?!1:Tn,pn=Rr.messageVariables,sn=Rr.validateDebounce,ln=mt.getRules(),at&&(ln=ln.filter(function(Ii){return Ii}).filter(function(Ii){var En=Ii.validateTrigger;if(!En)return!0;var yi=G(En);return yi.includes(at)})),!(sn&&at)){ji.next=10;break}return ji.next=8,new Promise(function(Ii){setTimeout(Ii,sn)});case 8:if(mt.validatePromise===kr){ji.next=10;break}return ji.abrupt("return",[]);case 10:return Ln=Me(ze,et,ln,Hr,Tr,pn),Ln.catch(function(Ii){return Ii}).then(function(){var Ii=arguments.length>0&&arguments[0]!==void 0?arguments[0]:jt;if(mt.validatePromise===kr){var En;mt.validatePromise=null;var yi=[],Vi=[];(En=Ii.forEach)===null||En===void 0||En.call(Ii,function(Ea){var Gs=Ea.rule.warningOnly,$a=Ea.errors,Bs=$a===void 0?jt:$a;Gs?Vi.push.apply(Vi,(0,h.Z)(Bs)):yi.push.apply(yi,(0,h.Z)(Bs))}),mt.errors=yi,mt.warnings=Vi,mt.triggerMetaEvent(),mt.reRender()}}),ji.abrupt("return",Ln);case 13:case"end":return ji.stop()}},Pr)})));return Cr||(mt.validatePromise=kr,mt.dirty=!0,mt.errors=jt,mt.warnings=jt,mt.triggerMetaEvent(),mt.reRender()),kr}),(0,m.Z)((0,x.Z)(mt),"isFieldValidating",function(){return!!mt.validatePromise}),(0,m.Z)((0,x.Z)(mt),"isFieldTouched",function(){return mt.touched}),(0,m.Z)((0,x.Z)(mt),"isFieldDirty",function(){if(mt.dirty||mt.props.initialValue!==void 0)return!0;var Hr=mt.props.fieldContext,ze=Hr.getInternalHooks(R),et=ze.getInitialValue;return et(mt.getNamePath())!==void 0}),(0,m.Z)((0,x.Z)(mt),"getErrors",function(){return mt.errors}),(0,m.Z)((0,x.Z)(mt),"getWarnings",function(){return mt.warnings}),(0,m.Z)((0,x.Z)(mt),"isListField",function(){return mt.props.isListField}),(0,m.Z)((0,x.Z)(mt),"isList",function(){return mt.props.isList}),(0,m.Z)((0,x.Z)(mt),"isPreserve",function(){return mt.props.preserve}),(0,m.Z)((0,x.Z)(mt),"getMeta",function(){mt.prevValidating=mt.isFieldValidating();var Hr={touched:mt.isFieldTouched(),validating:mt.prevValidating,errors:mt.errors,warnings:mt.warnings,name:mt.getNamePath(),validated:mt.validatePromise===null};return Hr}),(0,m.Z)((0,x.Z)(mt),"getOnlyChild",function(Hr){if(typeof Hr=="function"){var ze=mt.getMeta();return(0,o.Z)((0,o.Z)({},mt.getOnlyChild(Hr(mt.getControlled(),ze,mt.props.fieldContext))),{},{isFunction:!0})}var et=(0,b.Z)(Hr);return et.length!==1||!r.isValidElement(et[0])?{child:et,isFunction:!1}:{child:et[0],isFunction:!1}}),(0,m.Z)((0,x.Z)(mt),"getValue",function(Hr){var ze=mt.props.fieldContext.getFieldsValue,et=mt.getNamePath();return(0,jr.Z)(Hr||ze(!0),et)}),(0,m.Z)((0,x.Z)(mt),"getControlled",function(){var Hr=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ze=mt.props,et=ze.trigger,xe=ze.validateTrigger,at=ze.getValueFromEvent,tr=ze.normalize,Cr=ze.valuePropName,kr=ze.getValueProps,Pr=ze.fieldContext,Rr=xe!==void 0?xe:Pr.validateTrigger,Tn=mt.getNamePath(),Tr=Pr.getInternalHooks,pn=Pr.getFieldsValue,sn=Tr(R),ln=sn.dispatch,Ln=mt.getValue(),Ia=kr||function(yi){return(0,m.Z)({},Cr,yi)},ji=Hr[et],Ii=(0,o.Z)((0,o.Z)({},Hr),Ia(Ln));Ii[et]=function(){mt.touched=!0,mt.dirty=!0,mt.triggerMetaEvent();for(var yi,Vi=arguments.length,Ea=new Array(Vi),Gs=0;Gs<Vi;Gs++)Ea[Gs]=arguments[Gs];at?yi=at.apply(void 0,Ea):yi=Rt.apply(void 0,[Cr].concat(Ea)),tr&&(yi=tr(yi,Ln,pn(!0))),ln({type:"updateValue",namePath:Tn,value:yi}),ji&&ji.apply(void 0,Ea)};var En=G(Rr||[]);return En.forEach(function(yi){var Vi=Ii[yi];Ii[yi]=function(){Vi&&Vi.apply(void 0,arguments);var Ea=mt.props.rules;Ea&&Ea.length&&ln({type:"validateField",namePath:Tn,triggerName:yi})}}),Ii}),Ot.fieldContext){var or=Ot.fieldContext.getInternalHooks,lr=or(R),Ir=lr.initEntityValue;Ir((0,x.Z)(mt))}return mt}return(0,a.Z)(tt,[{key:"componentDidMount",value:function(){var mt=this.props,or=mt.shouldUpdate,lr=mt.fieldContext;if(this.mounted=!0,lr){var Ir=lr.getInternalHooks,Hr=Ir(R),ze=Hr.registerField;this.cancelRegisterFunc=ze(this)}or===!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 mt=this.state.resetCount,or=this.props.children,lr=this.getOnlyChild(or),Ir=lr.child,Hr=lr.isFunction,ze;return Hr?ze=Ir:r.isValidElement(Ir)?ze=r.cloneElement(Ir,this.getControlled(Ir.props)):((0,k.ZP)(!Ir,"`children` of Field is not validate ReactElement."),ze=Ir),r.createElement(r.Fragment,{key:mt},ze)}}]),tt}(r.Component);(0,m.Z)(yr,"contextType",M),(0,m.Z)(yr,"defaultProps",{trigger:"onChange",valuePropName:"value"});function it(Jt){var dt=Jt.name,tt=(0,l.Z)(Jt,gt),Ot=r.useContext(M),mt=r.useContext(N),or=dt!==void 0?mr(dt):void 0,lr="keep";return tt.isListField||(lr="_".concat((or||[]).join("_"))),r.createElement(yr,(0,i.Z)({key:lr,name:or,isListField:!!mt},tt,{fieldContext:Ot}))}var Nr=it;function An(Jt){var dt=Jt.name,tt=Jt.initialValue,Ot=Jt.children,mt=Jt.rules,or=Jt.validateTrigger,lr=Jt.isListField,Ir=r.useContext(M),Hr=r.useContext(N),ze=r.useRef({keys:[],id:0}),et=ze.current,xe=r.useMemo(function(){var kr=mr(Ir.prefixName)||[];return[].concat((0,h.Z)(kr),(0,h.Z)(mr(dt)))},[Ir.prefixName,dt]),at=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},Ir),{},{prefixName:xe})},[Ir,xe]),tr=r.useMemo(function(){return{getKey:function(Pr){var Rr=xe.length,Tn=Pr[Rr];return[et.keys[Tn],Pr.slice(Rr+1)]}}},[xe]);if(typeof Ot!="function")return(0,k.ZP)(!1,"Form.List only accepts function as children."),null;var Cr=function(Pr,Rr,Tn){var Tr=Tn.source;return Tr==="internal"?!1:Pr!==Rr};return r.createElement(N.Provider,{value:tr},r.createElement(M.Provider,{value:at},r.createElement(Nr,{name:[],shouldUpdate:Cr,rules:mt,validateTrigger:or,initialValue:tt,isList:!0,isListField:lr!=null?lr:!!Hr},function(kr,Pr){var Rr=kr.value,Tn=Rr===void 0?[]:Rr,Tr=kr.onChange,pn=Ir.getFieldValue,sn=function(){var ji=pn(xe||[]);return ji||[]},ln={add:function(ji,Ii){var En=sn();Ii>=0&&Ii<=En.length?(et.keys=[].concat((0,h.Z)(et.keys.slice(0,Ii)),[et.id],(0,h.Z)(et.keys.slice(Ii))),Tr([].concat((0,h.Z)(En.slice(0,Ii)),[ji],(0,h.Z)(En.slice(Ii))))):(et.keys=[].concat((0,h.Z)(et.keys),[et.id]),Tr([].concat((0,h.Z)(En),[ji]))),et.id+=1},remove:function(ji){var Ii=sn(),En=new Set(Array.isArray(ji)?ji:[ji]);En.size<=0||(et.keys=et.keys.filter(function(yi,Vi){return!En.has(Vi)}),Tr(Ii.filter(function(yi,Vi){return!En.has(Vi)})))},move:function(ji,Ii){if(ji!==Ii){var En=sn();ji<0||ji>=En.length||Ii<0||Ii>=En.length||(et.keys=_t(et.keys,ji,Ii),Tr(_t(En,ji,Ii)))}}},Ln=Tn||[];return Array.isArray(Ln)||(Ln=[]),Ot(Ln.map(function(Ia,ji){var Ii=et.keys[ji];return Ii===void 0&&(et.keys[ji]=et.id,Ii=et.keys[ji],et.id+=1),{name:ji,key:Ii,isListField:!0}}),ln,Pr)})))}var Jn=An,gr=e(42978);function nn(Jt){var dt=!1,tt=Jt.length,Ot=[];return Jt.length?new Promise(function(mt,or){Jt.forEach(function(lr,Ir){lr.catch(function(Hr){return dt=!0,Hr}).then(function(Hr){tt-=1,Ot[Ir]=Hr,!(tt>0)&&(dt&&or(Ot),mt(Ot))})})}):Promise.resolve([])}var vn="__@field_split__";function Wn(Jt){return Jt.map(function(dt){return"".concat((0,wr.Z)(dt),":").concat(dt)}).join(vn)}var si=function(){function Jt(){(0,u.Z)(this,Jt),(0,m.Z)(this,"kvs",new Map)}return(0,a.Z)(Jt,[{key:"set",value:function(tt,Ot){this.kvs.set(Wn(tt),Ot)}},{key:"get",value:function(tt){return this.kvs.get(Wn(tt))}},{key:"update",value:function(tt,Ot){var mt=this.get(tt),or=Ot(mt);or?this.set(tt,or):this.delete(tt)}},{key:"delete",value:function(tt){this.kvs.delete(Wn(tt))}},{key:"map",value:function(tt){return(0,h.Z)(this.kvs.entries()).map(function(Ot){var mt=(0,gr.Z)(Ot,2),or=mt[0],lr=mt[1],Ir=or.split(vn);return tt({key:Ir.map(function(Hr){var ze=Hr.match(/^([^:]*):(.*)$/),et=(0,gr.Z)(ze,3),xe=et[1],at=et[2];return xe==="number"?Number(at):at}),value:lr})})}},{key:"toJSON",value:function(){var tt={};return this.map(function(Ot){var mt=Ot.key,or=Ot.value;return tt[mt.join(".")]=or,null}),tt}}]),Jt}(),gi=si,aa=["name"],ui=(0,a.Z)(function Jt(dt){var tt=this;(0,u.Z)(this,Jt),(0,m.Z)(this,"formHooked",!1),(0,m.Z)(this,"forceRootUpdate",void 0),(0,m.Z)(this,"subscribable",!0),(0,m.Z)(this,"store",{}),(0,m.Z)(this,"fieldEntities",[]),(0,m.Z)(this,"initialValues",{}),(0,m.Z)(this,"callbacks",{}),(0,m.Z)(this,"validateMessages",null),(0,m.Z)(this,"preserve",null),(0,m.Z)(this,"lastValidatePromise",null),(0,m.Z)(this,"getForm",function(){return{getFieldValue:tt.getFieldValue,getFieldsValue:tt.getFieldsValue,getFieldError:tt.getFieldError,getFieldWarning:tt.getFieldWarning,getFieldsError:tt.getFieldsError,isFieldsTouched:tt.isFieldsTouched,isFieldTouched:tt.isFieldTouched,isFieldValidating:tt.isFieldValidating,isFieldsValidating:tt.isFieldsValidating,resetFields:tt.resetFields,setFields:tt.setFields,setFieldValue:tt.setFieldValue,setFieldsValue:tt.setFieldsValue,validateFields:tt.validateFields,submit:tt.submit,_init:!0,getInternalHooks:tt.getInternalHooks}}),(0,m.Z)(this,"getInternalHooks",function(Ot){return Ot===R?(tt.formHooked=!0,{dispatch:tt.dispatch,initEntityValue:tt.initEntityValue,registerField:tt.registerField,useSubscribe:tt.useSubscribe,setInitialValues:tt.setInitialValues,destroyForm:tt.destroyForm,setCallbacks:tt.setCallbacks,setValidateMessages:tt.setValidateMessages,getFields:tt.getFields,setPreserve:tt.setPreserve,getInitialValue:tt.getInitialValue,registerWatch:tt.registerWatch}):((0,k.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),(0,m.Z)(this,"useSubscribe",function(Ot){tt.subscribable=Ot}),(0,m.Z)(this,"prevWithoutPreserves",null),(0,m.Z)(this,"setInitialValues",function(Ot,mt){if(tt.initialValues=Ot||{},mt){var or,lr=(0,Ie.T)(Ot,tt.store);(or=tt.prevWithoutPreserves)===null||or===void 0||or.map(function(Ir){var Hr=Ir.key;lr=(0,Ie.Z)(lr,Hr,(0,jr.Z)(Ot,Hr))}),tt.prevWithoutPreserves=null,tt.updateStore(lr)}}),(0,m.Z)(this,"destroyForm",function(){var Ot=new gi;tt.getFieldEntities(!0).forEach(function(mt){tt.isMergedPreserve(mt.isPreserve())||Ot.set(mt.getNamePath(),!0)}),tt.prevWithoutPreserves=Ot}),(0,m.Z)(this,"getInitialValue",function(Ot){var mt=(0,jr.Z)(tt.initialValues,Ot);return Ot.length?(0,Ie.T)(mt):mt}),(0,m.Z)(this,"setCallbacks",function(Ot){tt.callbacks=Ot}),(0,m.Z)(this,"setValidateMessages",function(Ot){tt.validateMessages=Ot}),(0,m.Z)(this,"setPreserve",function(Ot){tt.preserve=Ot}),(0,m.Z)(this,"watchList",[]),(0,m.Z)(this,"registerWatch",function(Ot){return tt.watchList.push(Ot),function(){tt.watchList=tt.watchList.filter(function(mt){return mt!==Ot})}}),(0,m.Z)(this,"notifyWatch",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(tt.watchList.length){var mt=tt.getFieldsValue(),or=tt.getFieldsValue(!0);tt.watchList.forEach(function(lr){lr(mt,or,Ot)})}}),(0,m.Z)(this,"timeoutId",null),(0,m.Z)(this,"warningUnhooked",function(){}),(0,m.Z)(this,"updateStore",function(Ot){tt.store=Ot}),(0,m.Z)(this,"getFieldEntities",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return Ot?tt.fieldEntities.filter(function(mt){return mt.getNamePath().length}):tt.fieldEntities}),(0,m.Z)(this,"getFieldsMap",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,mt=new gi;return tt.getFieldEntities(Ot).forEach(function(or){var lr=or.getNamePath();mt.set(lr,or)}),mt}),(0,m.Z)(this,"getFieldEntitiesForNamePathList",function(Ot){if(!Ot)return tt.getFieldEntities(!0);var mt=tt.getFieldsMap(!0);return Ot.map(function(or){var lr=mr(or);return mt.get(lr)||{INVALIDATE_NAME_PATH:mr(or)}})}),(0,m.Z)(this,"getFieldsValue",function(Ot,mt){tt.warningUnhooked();var or,lr,Ir;if(Ot===!0||Array.isArray(Ot)?(or=Ot,lr=mt):Ot&&(0,wr.Z)(Ot)==="object"&&(Ir=Ot.strict,lr=Ot.filter),or===!0&&!lr)return tt.store;var Hr=tt.getFieldEntitiesForNamePathList(Array.isArray(or)?or:null),ze=[];return Hr.forEach(function(et){var xe,at,tr="INVALIDATE_NAME_PATH"in et?et.INVALIDATE_NAME_PATH:et.getNamePath();if(Ir){var Cr,kr;if((Cr=(kr=et).isList)!==null&&Cr!==void 0&&Cr.call(kr))return}else if(!or&&(xe=(at=et).isListField)!==null&&xe!==void 0&&xe.call(at))return;if(!lr)ze.push(tr);else{var Pr="getMeta"in et?et.getMeta():null;lr(Pr)&&ze.push(tr)}}),Zr(tt.store,ze.map(mr))}),(0,m.Z)(this,"getFieldValue",function(Ot){tt.warningUnhooked();var mt=mr(Ot);return(0,jr.Z)(tt.store,mt)}),(0,m.Z)(this,"getFieldsError",function(Ot){tt.warningUnhooked();var mt=tt.getFieldEntitiesForNamePathList(Ot);return mt.map(function(or,lr){return or&&!("INVALIDATE_NAME_PATH"in or)?{name:or.getNamePath(),errors:or.getErrors(),warnings:or.getWarnings()}:{name:mr(Ot[lr]),errors:[],warnings:[]}})}),(0,m.Z)(this,"getFieldError",function(Ot){tt.warningUnhooked();var mt=mr(Ot),or=tt.getFieldsError([mt])[0];return or.errors}),(0,m.Z)(this,"getFieldWarning",function(Ot){tt.warningUnhooked();var mt=mr(Ot),or=tt.getFieldsError([mt])[0];return or.warnings}),(0,m.Z)(this,"isFieldsTouched",function(){tt.warningUnhooked();for(var Ot=arguments.length,mt=new Array(Ot),or=0;or<Ot;or++)mt[or]=arguments[or];var lr=mt[0],Ir=mt[1],Hr,ze=!1;mt.length===0?Hr=null:mt.length===1?Array.isArray(lr)?(Hr=lr.map(mr),ze=!1):(Hr=null,ze=lr):(Hr=lr.map(mr),ze=Ir);var et=tt.getFieldEntities(!0),xe=function(Pr){return Pr.isFieldTouched()};if(!Hr)return ze?et.every(xe):et.some(xe);var at=new gi;Hr.forEach(function(kr){at.set(kr,[])}),et.forEach(function(kr){var Pr=kr.getNamePath();Hr.forEach(function(Rr){Rr.every(function(Tn,Tr){return Pr[Tr]===Tn})&&at.update(Rr,function(Tn){return[].concat((0,h.Z)(Tn),[kr])})})});var tr=function(Pr){return Pr.some(xe)},Cr=at.map(function(kr){var Pr=kr.value;return Pr});return ze?Cr.every(tr):Cr.some(tr)}),(0,m.Z)(this,"isFieldTouched",function(Ot){return tt.warningUnhooked(),tt.isFieldsTouched([Ot])}),(0,m.Z)(this,"isFieldsValidating",function(Ot){tt.warningUnhooked();var mt=tt.getFieldEntities();if(!Ot)return mt.some(function(lr){return lr.isFieldValidating()});var or=Ot.map(mr);return mt.some(function(lr){var Ir=lr.getNamePath();return un(or,Ir)&&lr.isFieldValidating()})}),(0,m.Z)(this,"isFieldValidating",function(Ot){return tt.warningUnhooked(),tt.isFieldsValidating([Ot])}),(0,m.Z)(this,"resetWithFieldInitialValue",function(){var Ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},mt=new gi,or=tt.getFieldEntities(!0);or.forEach(function(Hr){var ze=Hr.props.initialValue,et=Hr.getNamePath();if(ze!==void 0){var xe=mt.get(et)||new Set;xe.add({entity:Hr,value:ze}),mt.set(et,xe)}});var lr=function(ze){ze.forEach(function(et){var xe=et.props.initialValue;if(xe!==void 0){var at=et.getNamePath(),tr=tt.getInitialValue(at);if(tr!==void 0)(0,k.ZP)(!1,"Form already set 'initialValues' with path '".concat(at.join("."),"'. Field can not overwrite it."));else{var Cr=mt.get(at);if(Cr&&Cr.size>1)(0,k.ZP)(!1,"Multiple Field with path '".concat(at.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(Cr){var kr=tt.getFieldValue(at);(!Ot.skipExist||kr===void 0)&&tt.updateStore((0,Ie.Z)(tt.store,at,(0,h.Z)(Cr)[0].value))}}}})},Ir;Ot.entities?Ir=Ot.entities:Ot.namePathList?(Ir=[],Ot.namePathList.forEach(function(Hr){var ze=mt.get(Hr);if(ze){var et;(et=Ir).push.apply(et,(0,h.Z)((0,h.Z)(ze).map(function(xe){return xe.entity})))}})):Ir=or,lr(Ir)}),(0,m.Z)(this,"resetFields",function(Ot){tt.warningUnhooked();var mt=tt.store;if(!Ot){tt.updateStore((0,Ie.T)(tt.initialValues)),tt.resetWithFieldInitialValue(),tt.notifyObservers(mt,null,{type:"reset"}),tt.notifyWatch();return}var or=Ot.map(mr);or.forEach(function(lr){var Ir=tt.getInitialValue(lr);tt.updateStore((0,Ie.Z)(tt.store,lr,Ir))}),tt.resetWithFieldInitialValue({namePathList:or}),tt.notifyObservers(mt,or,{type:"reset"}),tt.notifyWatch(or)}),(0,m.Z)(this,"setFields",function(Ot){tt.warningUnhooked();var mt=tt.store,or=[];Ot.forEach(function(lr){var Ir=lr.name,Hr=(0,l.Z)(lr,aa),ze=mr(Ir);or.push(ze),"value"in Hr&&tt.updateStore((0,Ie.Z)(tt.store,ze,Hr.value)),tt.notifyObservers(mt,[ze],{type:"setField",data:lr})}),tt.notifyWatch(or)}),(0,m.Z)(this,"getFields",function(){var Ot=tt.getFieldEntities(!0),mt=Ot.map(function(or){var lr=or.getNamePath(),Ir=or.getMeta(),Hr=(0,o.Z)((0,o.Z)({},Ir),{},{name:lr,value:tt.getFieldValue(lr)});return Object.defineProperty(Hr,"originRCField",{value:!0}),Hr});return mt}),(0,m.Z)(this,"initEntityValue",function(Ot){var mt=Ot.props.initialValue;if(mt!==void 0){var or=Ot.getNamePath(),lr=(0,jr.Z)(tt.store,or);lr===void 0&&tt.updateStore((0,Ie.Z)(tt.store,or,mt))}}),(0,m.Z)(this,"isMergedPreserve",function(Ot){var mt=Ot!==void 0?Ot:tt.preserve;return mt!=null?mt:!0}),(0,m.Z)(this,"registerField",function(Ot){tt.fieldEntities.push(Ot);var mt=Ot.getNamePath();if(tt.notifyWatch([mt]),Ot.props.initialValue!==void 0){var or=tt.store;tt.resetWithFieldInitialValue({entities:[Ot],skipExist:!0}),tt.notifyObservers(or,[Ot.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(lr,Ir){var Hr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(tt.fieldEntities=tt.fieldEntities.filter(function(xe){return xe!==Ot}),!tt.isMergedPreserve(Ir)&&(!lr||Hr.length>1)){var ze=lr?void 0:tt.getInitialValue(mt);if(mt.length&&tt.getFieldValue(mt)!==ze&&tt.fieldEntities.every(function(xe){return!mn(xe.getNamePath(),mt)})){var et=tt.store;tt.updateStore((0,Ie.Z)(et,mt,ze,!0)),tt.notifyObservers(et,[mt],{type:"remove"}),tt.triggerDependenciesUpdate(et,mt)}}tt.notifyWatch([mt])}}),(0,m.Z)(this,"dispatch",function(Ot){switch(Ot.type){case"updateValue":{var mt=Ot.namePath,or=Ot.value;tt.updateValue(mt,or);break}case"validateField":{var lr=Ot.namePath,Ir=Ot.triggerName;tt.validateFields([lr],{triggerName:Ir});break}default:}}),(0,m.Z)(this,"notifyObservers",function(Ot,mt,or){if(tt.subscribable){var lr=(0,o.Z)((0,o.Z)({},or),{},{store:tt.getFieldsValue(!0)});tt.getFieldEntities().forEach(function(Ir){var Hr=Ir.onStoreChange;Hr(Ot,mt,lr)})}else tt.forceRootUpdate()}),(0,m.Z)(this,"triggerDependenciesUpdate",function(Ot,mt){var or=tt.getDependencyChildrenFields(mt);return or.length&&tt.validateFields(or),tt.notifyObservers(Ot,or,{type:"dependenciesUpdate",relatedFields:[mt].concat((0,h.Z)(or))}),or}),(0,m.Z)(this,"updateValue",function(Ot,mt){var or=mr(Ot),lr=tt.store;tt.updateStore((0,Ie.Z)(tt.store,or,mt)),tt.notifyObservers(lr,[or],{type:"valueUpdate",source:"internal"}),tt.notifyWatch([or]);var Ir=tt.triggerDependenciesUpdate(lr,or),Hr=tt.callbacks.onValuesChange;if(Hr){var ze=Zr(tt.store,[or]);Hr(ze,tt.getFieldsValue())}tt.triggerOnFieldsChange([or].concat((0,h.Z)(Ir)))}),(0,m.Z)(this,"setFieldsValue",function(Ot){tt.warningUnhooked();var mt=tt.store;if(Ot){var or=(0,Ie.T)(tt.store,Ot);tt.updateStore(or)}tt.notifyObservers(mt,null,{type:"valueUpdate",source:"external"}),tt.notifyWatch()}),(0,m.Z)(this,"setFieldValue",function(Ot,mt){tt.setFields([{name:Ot,value:mt}])}),(0,m.Z)(this,"getDependencyChildrenFields",function(Ot){var mt=new Set,or=[],lr=new gi;tt.getFieldEntities().forEach(function(Hr){var ze=Hr.props.dependencies;(ze||[]).forEach(function(et){var xe=mr(et);lr.update(xe,function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return at.add(Hr),at})})});var Ir=function Hr(ze){var et=lr.get(ze)||new Set;et.forEach(function(xe){if(!mt.has(xe)){mt.add(xe);var at=xe.getNamePath();xe.isFieldDirty()&&at.length&&(or.push(at),Hr(at))}})};return Ir(Ot),or}),(0,m.Z)(this,"triggerOnFieldsChange",function(Ot,mt){var or=tt.callbacks.onFieldsChange;if(or){var lr=tt.getFields();if(mt){var Ir=new gi;mt.forEach(function(ze){var et=ze.name,xe=ze.errors;Ir.set(et,xe)}),lr.forEach(function(ze){ze.errors=Ir.get(ze.name)||ze.errors})}var Hr=lr.filter(function(ze){var et=ze.name;return un(Ot,et)});Hr.length&&or(Hr,lr)}}),(0,m.Z)(this,"validateFields",function(Ot,mt){var or;tt.warningUnhooked();var lr,Ir;Array.isArray(Ot)||typeof Ot=="string"||typeof mt=="string"?(lr=Ot,Ir=mt):Ir=Ot;var Hr=!!lr,ze=Hr?lr.map(mr):[],et=[],xe=String(Date.now()),at=new Set,tr=(or=Ir)===null||or===void 0?void 0:or.recursive;tt.getFieldEntities(!0).forEach(function(Rr){if(Hr||ze.push(Rr.getNamePath()),!(!Rr.props.rules||!Rr.props.rules.length)){var Tn=Rr.getNamePath();if(at.add(Tn.join(xe)),!Hr||un(ze,Tn,tr)){var Tr=Rr.validateRules((0,o.Z)({validateMessages:(0,o.Z)((0,o.Z)({},St),tt.validateMessages)},Ir));et.push(Tr.then(function(){return{name:Tn,errors:[],warnings:[]}}).catch(function(pn){var sn,ln=[],Ln=[];return(sn=pn.forEach)===null||sn===void 0||sn.call(pn,function(Ia){var ji=Ia.rule.warningOnly,Ii=Ia.errors;ji?Ln.push.apply(Ln,(0,h.Z)(Ii)):ln.push.apply(ln,(0,h.Z)(Ii))}),ln.length?Promise.reject({name:Tn,errors:ln,warnings:Ln}):{name:Tn,errors:ln,warnings:Ln}}))}}});var Cr=nn(et);tt.lastValidatePromise=Cr,Cr.catch(function(Rr){return Rr}).then(function(Rr){var Tn=Rr.map(function(Tr){var pn=Tr.name;return pn});tt.notifyObservers(tt.store,Tn,{type:"validateFinish"}),tt.triggerOnFieldsChange(Tn,Rr)});var kr=Cr.then(function(){return tt.lastValidatePromise===Cr?Promise.resolve(tt.getFieldsValue(ze)):Promise.reject([])}).catch(function(Rr){var Tn=Rr.filter(function(Tr){return Tr&&Tr.errors.length});return Promise.reject({values:tt.getFieldsValue(ze),errorFields:Tn,outOfDate:tt.lastValidatePromise!==Cr})});kr.catch(function(Rr){return Rr});var Pr=ze.filter(function(Rr){return at.has(Rr.join(xe))});return tt.triggerOnFieldsChange(Pr),kr}),(0,m.Z)(this,"submit",function(){tt.warningUnhooked(),tt.validateFields().then(function(Ot){var mt=tt.callbacks.onFinish;if(mt)try{mt(Ot)}catch(or){console.error(or)}}).catch(function(Ot){var mt=tt.callbacks.onFinishFailed;mt&&mt(Ot)})}),this.forceRootUpdate=dt});function Ni(Jt){var dt=r.useRef(),tt=r.useState({}),Ot=(0,gr.Z)(tt,2),mt=Ot[1];if(!dt.current)if(Jt)dt.current=Jt;else{var or=function(){mt({})},lr=new ui(or);dt.current=lr.getForm()}return[dt.current]}var mi=Ni,Pi=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Ra=function(dt){var tt=dt.validateMessages,Ot=dt.onFormChange,mt=dt.onFormFinish,or=dt.children,lr=r.useContext(Pi),Ir=r.useRef({});return r.createElement(Pi.Provider,{value:(0,o.Z)((0,o.Z)({},lr),{},{validateMessages:(0,o.Z)((0,o.Z)({},lr.validateMessages),tt),triggerFormChange:function(ze,et){Ot&&Ot(ze,{changedFields:et,forms:Ir.current}),lr.triggerFormChange(ze,et)},triggerFormFinish:function(ze,et){mt&&mt(ze,{values:et,forms:Ir.current}),lr.triggerFormFinish(ze,et)},registerForm:function(ze,et){ze&&(Ir.current=(0,o.Z)((0,o.Z)({},Ir.current),{},(0,m.Z)({},ze,et))),lr.registerForm(ze,et)},unregisterForm:function(ze){var et=(0,o.Z)({},Ir.current);delete et[ze],Ir.current=et,lr.unregisterForm(ze)}})},or)},fi=Pi,Hi=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],bt=function(dt,tt){var Ot=dt.name,mt=dt.initialValues,or=dt.fields,lr=dt.form,Ir=dt.preserve,Hr=dt.children,ze=dt.component,et=ze===void 0?"form":ze,xe=dt.validateMessages,at=dt.validateTrigger,tr=at===void 0?"onChange":at,Cr=dt.onValuesChange,kr=dt.onFieldsChange,Pr=dt.onFinish,Rr=dt.onFinishFailed,Tn=(0,l.Z)(dt,Hi),Tr=r.useContext(fi),pn=mi(lr),sn=(0,gr.Z)(pn,1),ln=sn[0],Ln=ln.getInternalHooks(R),Ia=Ln.useSubscribe,ji=Ln.setInitialValues,Ii=Ln.setCallbacks,En=Ln.setValidateMessages,yi=Ln.setPreserve,Vi=Ln.destroyForm;r.useImperativeHandle(tt,function(){return ln}),r.useEffect(function(){return Tr.registerForm(Ot,ln),function(){Tr.unregisterForm(Ot)}},[Tr,ln,Ot]),En((0,o.Z)((0,o.Z)({},Tr.validateMessages),xe)),Ii({onValuesChange:Cr,onFieldsChange:function(cs){if(Tr.triggerFormChange(Ot,cs),kr){for(var fs=arguments.length,Li=new Array(fs>1?fs-1:0),ra=1;ra<fs;ra++)Li[ra-1]=arguments[ra];kr.apply(void 0,[cs].concat(Li))}},onFinish:function(cs){Tr.triggerFormFinish(Ot,cs),Pr&&Pr(cs)},onFinishFailed:Rr}),yi(Ir);var Ea=r.useRef(null);ji(mt,!Ea.current),Ea.current||(Ea.current=!0),r.useEffect(function(){return Vi},[]);var Gs,$a=typeof Hr=="function";if($a){var Bs=ln.getFieldsValue(!0);Gs=Hr(Bs,ln)}else Gs=Hr;Ia(!$a);var ro=r.useRef();r.useEffect(function(){sr(ro.current||[],or||[])||ln.setFields(or||[]),ro.current=or},[or,ln]);var ja=r.useMemo(function(){return(0,o.Z)((0,o.Z)({},ln),{},{validateTrigger:tr})},[ln,tr]),Hs=r.createElement(N.Provider,{value:null},r.createElement(M.Provider,{value:ja},Gs));return et===!1?Hs:r.createElement(et,(0,i.Z)({},Tn,{onSubmit:function(cs){cs.preventDefault(),cs.stopPropagation(),ln.submit()},onReset:function(cs){var fs;cs.preventDefault(),ln.resetFields(),(fs=Tn.onReset)===null||fs===void 0||fs.call(Tn,cs)}}),Hs)},ut=bt;function ii(Jt){try{return JSON.stringify(Jt)}catch(dt){return Math.random()}}var Si=function(){};function li(){for(var Jt=arguments.length,dt=new Array(Jt),tt=0;tt<Jt;tt++)dt[tt]=arguments[tt];var Ot=dt[0],mt=Ot===void 0?[]:Ot,or=dt[1],lr=or===void 0?{}:or,Ir=W(lr)?{form:lr}:lr,Hr=Ir.form,ze=(0,r.useState)(),et=(0,gr.Z)(ze,2),xe=et[0],at=et[1],tr=(0,r.useMemo)(function(){return ii(xe)},[xe]),Cr=(0,r.useRef)(tr);Cr.current=tr;var kr=(0,r.useContext)(M),Pr=Hr||kr,Rr=Pr&&Pr._init,Tn=mr(mt),Tr=(0,r.useRef)(Tn);return Tr.current=Tn,Si(Tn),(0,r.useEffect)(function(){if(Rr){var pn=Pr.getFieldsValue,sn=Pr.getInternalHooks,ln=sn(R),Ln=ln.registerWatch,Ia=Ln(function(Ii,En){var yi=(0,jr.Z)(Ir.preserve?En:Ii,Tr.current),Vi=ii(yi);Cr.current!==Vi&&(Cr.current=Vi,at(yi))}),ji=(0,jr.Z)(Ir.preserve?pn(!0):pn(),Tr.current);return xe!==ji&&at(ji),Ia}},[Rr]),xe}var sa=li,Ti=r.forwardRef(ut),pi=Ti;pi.FormProvider=Ra,pi.Field=Nr,pi.List=Jn,pi.useForm=mi,pi.useWatch=sa;var Rn=pi},77900:function(d,v,e){"use strict";e.r(v),e.d(v,{CSSMotionList:function(){return Ge},Provider:function(){return m},default:function(){return ce}});var r=e(20068),i=e(33885),l=e(42978),c=e(76190),f=e(92310),o=e.n(f),h=e(76846),u=e(8654),a=e(59301),x=e(75931),p=["children"],y=a.createContext({});function m(pe){var Dt=pe.children,Ce=(0,x.Z)(pe,p);return a.createElement(y.Provider,{value:Ce},Dt)}var b=e(67732),S=e(83652),k=e(42403),R=e(158),A=function(pe){(0,k.Z)(Ce,pe);var Dt=(0,R.Z)(Ce);function Ce(){return(0,b.Z)(this,Ce),Dt.apply(this,arguments)}return(0,S.Z)(Ce,[{key:"render",value:function(){return this.props.children}}]),Ce}(a.Component),P=A,M=e(70425),B=e(41799),N=e(6089);function G(pe){var Dt=a.useReducer(function(wt){return wt+1},0),Ce=(0,l.Z)(Dt,2),ct=Ce[1],Zt=a.useRef(pe),St=(0,N.Z)(function(){return Zt.current}),Ie=(0,N.Z)(function(wt){Zt.current=typeof wt=="function"?wt(Zt.current):wt,ct()});return[St,Ie]}var W="none",H="appear",ae="enter",ne="leave",oe="none",q="prepare",J="start",K="active",se="end",ee="prepared",Q=e(47273);function le(pe,Dt){var Ce={};return Ce[pe.toLowerCase()]=Dt.toLowerCase(),Ce["Webkit".concat(pe)]="webkit".concat(Dt),Ce["Moz".concat(pe)]="moz".concat(Dt),Ce["ms".concat(pe)]="MS".concat(Dt),Ce["O".concat(pe)]="o".concat(Dt.toLowerCase()),Ce}function z(pe,Dt){var Ce={animationend:le("Animation","AnimationEnd"),transitionend:le("Transition","TransitionEnd")};return pe&&("AnimationEvent"in Dt||delete Ce.animationend.animation,"TransitionEvent"in Dt||delete Ce.transitionend.transition),Ce}var $=z((0,Q.Z)(),typeof window!="undefined"?window:{}),ie={};if((0,Q.Z)()){var me=document.createElement("div");ie=me.style}var Pe={};function De(pe){if(Pe[pe])return Pe[pe];var Dt=$[pe];if(Dt)for(var Ce=Object.keys(Dt),ct=Ce.length,Zt=0;Zt<ct;Zt+=1){var St=Ce[Zt];if(Object.prototype.hasOwnProperty.call(Dt,St)&&St in ie)return Pe[pe]=Dt[St],Pe[pe]}return""}var Ze=De("animationend"),Ne=De("transitionend"),Bt=!!(Ze&&Ne),yt=Ze||"animationend",It=Ne||"transitionend";function rr(pe,Dt){if(!pe)return null;if((0,c.Z)(pe)==="object"){var Ce=Dt.replace(/-\w/g,function(ct){return ct[1].toUpperCase()});return pe[Ce]}return"".concat(pe,"-").concat(Dt)}var Yt=function(pe){var Dt=(0,a.useRef)();function Ce(Zt){Zt&&(Zt.removeEventListener(It,pe),Zt.removeEventListener(yt,pe))}function ct(Zt){Dt.current&&Dt.current!==Zt&&Ce(Dt.current),Zt&&Zt!==Dt.current&&(Zt.addEventListener(It,pe),Zt.addEventListener(yt,pe),Dt.current=Zt)}return a.useEffect(function(){return function(){Ce(Dt.current)}},[]),[ct,Ce]},ur=(0,Q.Z)()?a.useLayoutEffect:a.useEffect,We=ur,Pt=e(16089),zt=function(){var pe=a.useRef(null);function Dt(){Pt.Z.cancel(pe.current)}function Ce(ct){var Zt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Dt();var St=(0,Pt.Z)(function(){Zt<=1?ct({isCanceled:function(){return St!==pe.current}}):Ce(ct,Zt-1)});pe.current=St}return a.useEffect(function(){return function(){Dt()}},[]),[Ce,Dt]},nt=[q,J,K,se],Et=[q,ee],ht=!1,Je=!0;function Ue(pe){return pe===K||pe===se}var ge=function(pe,Dt,Ce){var ct=(0,B.Z)(oe),Zt=(0,l.Z)(ct,2),St=Zt[0],Ie=Zt[1],wt=zt(),be=(0,l.Z)(wt,2),Ye=be[0],vt=be[1];function Lt(){Ie(q,!0)}var Me=Dt?Et:nt;return We(function(){if(St!==oe&&St!==se){var Or=Me.indexOf(St),At=Me[Or+1],Yr=Ce(St);Yr===ht?Ie(At,!0):At&&Ye(function(rn){function wr(){rn.isCanceled()||Ie(At,!0)}Yr===!0?wr():Promise.resolve(Yr).then(wr)})}},[pe,St]),a.useEffect(function(){return function(){vt()}},[]),[Lt,St]};function Se(pe,Dt,Ce,ct){var Zt=ct.motionEnter,St=Zt===void 0?!0:Zt,Ie=ct.motionAppear,wt=Ie===void 0?!0:Ie,be=ct.motionLeave,Ye=be===void 0?!0:be,vt=ct.motionDeadline,Lt=ct.motionLeaveImmediately,Me=ct.onAppearPrepare,Or=ct.onEnterPrepare,At=ct.onLeavePrepare,Yr=ct.onAppearStart,rn=ct.onEnterStart,wr=ct.onLeaveStart,jr=ct.onAppearActive,mr=ct.onEnterActive,Zr=ct.onLeaveActive,un=ct.onAppearEnd,mn=ct.onEnterEnd,sr=ct.onLeaveEnd,Rt=ct.onVisibleChanged,_t=(0,B.Z)(),gt=(0,l.Z)(_t,2),jt=gt[0],Ar=gt[1],yr=G(W),it=(0,l.Z)(yr,2),Nr=it[0],An=it[1],Jn=(0,B.Z)(null),gr=(0,l.Z)(Jn,2),nn=gr[0],vn=gr[1],Wn=Nr(),si=(0,a.useRef)(!1),gi=(0,a.useRef)(null);function aa(){return Ce()}var ui=(0,a.useRef)(!1);function Ni(){An(W),vn(null,!0)}var mi=(0,M.useEvent)(function(Jt){var dt=Nr();if(dt!==W){var tt=aa();if(!(Jt&&!Jt.deadline&&Jt.target!==tt)){var Ot=ui.current,mt;dt===H&&Ot?mt=un==null?void 0:un(tt,Jt):dt===ae&&Ot?mt=mn==null?void 0:mn(tt,Jt):dt===ne&&Ot&&(mt=sr==null?void 0:sr(tt,Jt)),Ot&&mt!==!1&&Ni()}}}),Pi=Yt(mi),Ra=(0,l.Z)(Pi,1),fi=Ra[0],Hi=function(dt){switch(dt){case H:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Me),J,Yr),K,jr);case ae:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,Or),J,rn),K,mr);case ne:return(0,r.Z)((0,r.Z)((0,r.Z)({},q,At),J,wr),K,Zr);default:return{}}},bt=a.useMemo(function(){return Hi(Wn)},[Wn]),ut=ge(Wn,!pe,function(Jt){if(Jt===q){var dt=bt[q];return dt?dt(aa()):ht}if(li in bt){var tt;vn(((tt=bt[li])===null||tt===void 0?void 0:tt.call(bt,aa(),null))||null)}return li===K&&Wn!==W&&(fi(aa()),vt>0&&(clearTimeout(gi.current),gi.current=setTimeout(function(){mi({deadline:!0})},vt))),li===ee&&Ni(),Je}),ii=(0,l.Z)(ut,2),Si=ii[0],li=ii[1],sa=Ue(li);ui.current=sa;var Ti=(0,a.useRef)(null);We(function(){if(!(si.current&&Ti.current===Dt)){Ar(Dt);var Jt=si.current;si.current=!0;var dt;!Jt&&Dt&&wt&&(dt=H),Jt&&Dt&&St&&(dt=ae),(Jt&&!Dt&&Ye||!Jt&&Lt&&!Dt&&Ye)&&(dt=ne);var tt=Hi(dt);dt&&(pe||tt[q])?(An(dt),Si()):An(W),Ti.current=Dt}},[Dt]),(0,a.useEffect)(function(){(Wn===H&&!wt||Wn===ae&&!St||Wn===ne&&!Ye)&&An(W)},[wt,St,Ye]),(0,a.useEffect)(function(){return function(){si.current=!1,clearTimeout(gi.current)}},[]);var pi=a.useRef(!1);(0,a.useEffect)(function(){jt&&(pi.current=!0),jt!==void 0&&Wn===W&&((pi.current||jt)&&(Rt==null||Rt(jt)),pi.current=!0)},[jt,Wn]);var Rn=nn;return bt[q]&&li===J&&(Rn=(0,i.Z)({transition:"none"},Rn)),[Wn,li,Rn,jt!=null?jt:Dt]}function Le(pe){var Dt=pe;(0,c.Z)(pe)==="object"&&(Dt=pe.transitionSupport);function Ce(Zt,St){return!!(Zt.motionName&&Dt&&St!==!1)}var ct=a.forwardRef(function(Zt,St){var Ie=Zt.visible,wt=Ie===void 0?!0:Ie,be=Zt.removeOnLeave,Ye=be===void 0?!0:be,vt=Zt.forceRender,Lt=Zt.children,Me=Zt.motionName,Or=Zt.leavedClassName,At=Zt.eventProps,Yr=a.useContext(y),rn=Yr.motion,wr=Ce(Zt,rn),jr=(0,a.useRef)(),mr=(0,a.useRef)();function Zr(){try{return jr.current instanceof HTMLElement?jr.current:(0,h.ZP)(mr.current)}catch(gr){return null}}var un=Se(wr,wt,Zr,Zt),mn=(0,l.Z)(un,4),sr=mn[0],Rt=mn[1],_t=mn[2],gt=mn[3],jt=a.useRef(gt);gt&&(jt.current=!0);var Ar=a.useCallback(function(gr){jr.current=gr,(0,u.mH)(St,gr)},[St]),yr,it=(0,i.Z)((0,i.Z)({},At),{},{visible:wt});if(!Lt)yr=null;else if(sr===W)gt?yr=Lt((0,i.Z)({},it),Ar):!Ye&&jt.current&&Or?yr=Lt((0,i.Z)((0,i.Z)({},it),{},{className:Or}),Ar):vt||!Ye&&!Or?yr=Lt((0,i.Z)((0,i.Z)({},it),{},{style:{display:"none"}}),Ar):yr=null;else{var Nr;Rt===q?Nr="prepare":Ue(Rt)?Nr="active":Rt===J&&(Nr="start");var An=rr(Me,"".concat(sr,"-").concat(Nr));yr=Lt((0,i.Z)((0,i.Z)({},it),{},{className:o()(rr(Me,sr),(0,r.Z)((0,r.Z)({},An,An&&Nr),Me,typeof Me=="string")),style:_t}),Ar)}if(a.isValidElement(yr)&&(0,u.Yr)(yr)){var Jn=(0,u.C4)(yr);Jn||(yr=a.cloneElement(yr,{ref:Ar}))}return a.createElement(P,{ref:mr},yr)});return ct.displayName="CSSMotion",ct}var je=Le(Bt),He=e(54476),rt=e(31226),lt="add",Kt="keep",Wt="remove",Ae="removed";function qe(pe){var Dt;return pe&&(0,c.Z)(pe)==="object"&&"key"in pe?Dt=pe:Dt={key:pe},(0,i.Z)((0,i.Z)({},Dt),{},{key:String(Dt.key)})}function Vt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return pe.map(qe)}function kt(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Ce=[],ct=0,Zt=Dt.length,St=Vt(pe),Ie=Vt(Dt);St.forEach(function(Ye){for(var vt=!1,Lt=ct;Lt<Zt;Lt+=1){var Me=Ie[Lt];if(Me.key===Ye.key){ct<Lt&&(Ce=Ce.concat(Ie.slice(ct,Lt).map(function(Or){return(0,i.Z)((0,i.Z)({},Or),{},{status:lt})})),ct=Lt),Ce.push((0,i.Z)((0,i.Z)({},Me),{},{status:Kt})),ct+=1,vt=!0;break}}vt||Ce.push((0,i.Z)((0,i.Z)({},Ye),{},{status:Wt}))}),ct<Zt&&(Ce=Ce.concat(Ie.slice(ct).map(function(Ye){return(0,i.Z)((0,i.Z)({},Ye),{},{status:lt})})));var wt={};Ce.forEach(function(Ye){var vt=Ye.key;wt[vt]=(wt[vt]||0)+1});var be=Object.keys(wt).filter(function(Ye){return wt[Ye]>1});return be.forEach(function(Ye){Ce=Ce.filter(function(vt){var Lt=vt.key,Me=vt.status;return Lt!==Ye||Me!==Wt}),Ce.forEach(function(vt){vt.key===Ye&&(vt.status=Kt)})}),Ce}var Ht=["component","children","onVisibleChanged","onAllRemoved"],$t=["status"],Tt=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Xt(pe){var Dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je,Ce=function(ct){(0,k.Z)(St,ct);var Zt=(0,R.Z)(St);function St(){var Ie;(0,b.Z)(this,St);for(var wt=arguments.length,be=new Array(wt),Ye=0;Ye<wt;Ye++)be[Ye]=arguments[Ye];return Ie=Zt.call.apply(Zt,[this].concat(be)),(0,r.Z)((0,rt.Z)(Ie),"state",{keyEntities:[]}),(0,r.Z)((0,rt.Z)(Ie),"removeKey",function(vt){Ie.setState(function(Lt){var Me=Lt.keyEntities.map(function(Or){return Or.key!==vt?Or:(0,i.Z)((0,i.Z)({},Or),{},{status:Ae})});return{keyEntities:Me}},function(){var Lt=Ie.state.keyEntities,Me=Lt.filter(function(Or){var At=Or.status;return At!==Ae}).length;Me===0&&Ie.props.onAllRemoved&&Ie.props.onAllRemoved()})}),Ie}return(0,S.Z)(St,[{key:"render",value:function(){var wt=this,be=this.state.keyEntities,Ye=this.props,vt=Ye.component,Lt=Ye.children,Me=Ye.onVisibleChanged,Or=Ye.onAllRemoved,At=(0,x.Z)(Ye,Ht),Yr=vt||a.Fragment,rn={};return Tt.forEach(function(wr){rn[wr]=At[wr],delete At[wr]}),delete At.keys,a.createElement(Yr,At,be.map(function(wr,jr){var mr=wr.status,Zr=(0,x.Z)(wr,$t),un=mr===lt||mr===Kt;return a.createElement(Dt,(0,He.Z)({},rn,{key:Zr.key,visible:un,eventProps:Zr,onVisibleChanged:function(sr){Me==null||Me(sr,{key:Zr.key}),sr||wt.removeKey(Zr.key)}}),function(mn,sr){return Lt((0,i.Z)((0,i.Z)({},mn),{},{index:jr}),sr)})}))}}],[{key:"getDerivedStateFromProps",value:function(wt,be){var Ye=wt.keys,vt=be.keyEntities,Lt=Vt(Ye),Me=kt(vt,Lt);return{keyEntities:Me.filter(function(Or){var At=vt.find(function(Yr){var rn=Yr.key;return Or.key===rn});return!(At&&At.status===Ae&&Or.status===Wt)})}}}]),St}(a.Component);return(0,r.Z)(Ce,"defaultProps",{component:"div"}),Ce}var Ge=Xt(Bt),ce=je},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(94480),i=e(42978),l=e(75931),c=e(59301),f=e(33885),o=e(4676),h=e(54476),u=e(92310),a=e.n(u),x=e(77900),p=e(20068),y=e(10228),m=c.forwardRef(function(ne,oe){var q=ne.prefixCls,J=ne.style,K=ne.className,se=ne.duration,ee=se===void 0?4.5:se,Q=ne.eventKey,le=ne.content,z=ne.closable,$=ne.closeIcon,ie=$===void 0?"x":$,me=ne.props,Pe=ne.onClick,De=ne.onNoticeClose,Ze=ne.times,Ne=c.useState(!1),Bt=(0,i.Z)(Ne,2),yt=Bt[0],It=Bt[1],rr=function(){De(Q)},Yt=function(Pt){(Pt.key==="Enter"||Pt.code==="Enter"||Pt.keyCode===y.Z.ENTER)&&rr()};c.useEffect(function(){if(!yt&&ee>0){var We=setTimeout(function(){rr()},ee*1e3);return function(){clearTimeout(We)}}},[ee,yt,Ze]);var ur="".concat(q,"-notice");return c.createElement("div",(0,h.Z)({},me,{ref:oe,className:a()(ur,K,(0,p.Z)({},"".concat(ur,"-closable"),z)),style:J,onMouseEnter:function(){It(!0)},onMouseLeave:function(){It(!1)},onClick:Pe}),c.createElement("div",{className:"".concat(ur,"-content")},le),z&&c.createElement("a",{tabIndex:0,className:"".concat(ur,"-close"),onKeyDown:Yt,onClick:function(Pt){Pt.preventDefault(),Pt.stopPropagation(),rr()}},ie))}),b=m,S=c.createContext({}),k=function(oe){var q=oe.children,J=oe.classNames;return c.createElement(S.Provider,{value:{classNames:J}},q)},R=k,A=function(oe){var q=oe.configList,J=oe.placement,K=oe.prefixCls,se=oe.className,ee=oe.style,Q=oe.motion,le=oe.onAllNoticeRemoved,z=oe.onNoticeClose,$=(0,c.useContext)(S),ie=$.classNames,me=q.map(function(De){return{config:De,key:De.key}}),Pe=typeof Q=="function"?Q(J):Q;return c.createElement(x.CSSMotionList,(0,h.Z)({key:J,className:a()(K,"".concat(K,"-").concat(J),ie==null?void 0:ie.list,se),style:ee,keys:me,motionAppear:!0},Pe,{onAllRemoved:function(){le(J)}}),function(De,Ze){var Ne=De.config,Bt=De.className,yt=De.style,It=Ne,rr=It.key,Yt=It.times,ur=Ne,We=ur.className,Pt=ur.style;return c.createElement(b,(0,h.Z)({},Ne,{ref:Ze,prefixCls:K,className:a()(Bt,We,ie==null?void 0:ie.notice),style:(0,f.Z)((0,f.Z)({},yt),Pt),times:Yt,key:rr,eventKey:rr,onNoticeClose:z}))})},P=A,M=c.forwardRef(function(ne,oe){var q=ne.prefixCls,J=q===void 0?"rc-notification":q,K=ne.container,se=ne.motion,ee=ne.maxCount,Q=ne.className,le=ne.style,z=ne.onAllRemoved,$=ne.renderNotifications,ie=c.useState([]),me=(0,i.Z)(ie,2),Pe=me[0],De=me[1],Ze=function(Pt){var zt,nt=Pe.find(function(Et){return Et.key===Pt});nt==null||(zt=nt.onClose)===null||zt===void 0||zt.call(nt),De(function(Et){return Et.filter(function(ht){return ht.key!==Pt})})};c.useImperativeHandle(oe,function(){return{open:function(Pt){De(function(zt){var nt=(0,r.Z)(zt),Et=nt.findIndex(function(Ue){return Ue.key===Pt.key}),ht=(0,f.Z)({},Pt);if(Et>=0){var Je;ht.times=(((Je=zt[Et])===null||Je===void 0?void 0:Je.times)||0)+1,nt[Et]=ht}else ht.times=0,nt.push(ht);return ee>0&&nt.length>ee&&(nt=nt.slice(-ee)),nt})},close:function(Pt){Ze(Pt)},destroy:function(){De([])}}});var Ne=c.useState({}),Bt=(0,i.Z)(Ne,2),yt=Bt[0],It=Bt[1];c.useEffect(function(){var We={};Pe.forEach(function(Pt){var zt=Pt.placement,nt=zt===void 0?"topRight":zt;nt&&(We[nt]=We[nt]||[],We[nt].push(Pt))}),Object.keys(yt).forEach(function(Pt){We[Pt]=We[Pt]||[]}),It(We)},[Pe]);var rr=function(Pt){It(function(zt){var nt=(0,f.Z)({},zt),Et=nt[Pt]||[];return Et.length||delete nt[Pt],nt})},Yt=c.useRef(!1);if(c.useEffect(function(){Object.keys(yt).length>0?Yt.current=!0:Yt.current&&(z==null||z(),Yt.current=!1)},[yt]),!K)return null;var ur=Object.keys(yt);return(0,o.createPortal)(c.createElement(c.Fragment,null,ur.map(function(We){var Pt=yt[We],zt=c.createElement(P,{key:We,configList:Pt,placement:We,prefixCls:J,className:Q==null?void 0:Q(We),style:le==null?void 0:le(We),motion:se,onNoticeClose:Ze,onAllNoticeRemoved:rr});return $?$(zt,{prefixCls:J,key:We}):zt})),K)}),B=M,N=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","renderNotifications"],G=function(){return document.body},W=0;function H(){for(var ne={},oe=arguments.length,q=new Array(oe),J=0;J<oe;J++)q[J]=arguments[J];return q.forEach(function(K){K&&Object.keys(K).forEach(function(se){var ee=K[se];ee!==void 0&&(ne[se]=ee)})}),ne}function ae(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=ne.getContainer,q=oe===void 0?G:oe,J=ne.motion,K=ne.prefixCls,se=ne.maxCount,ee=ne.className,Q=ne.style,le=ne.onAllRemoved,z=ne.renderNotifications,$=(0,l.Z)(ne,N),ie=c.useState(),me=(0,i.Z)(ie,2),Pe=me[0],De=me[1],Ze=c.useRef(),Ne=c.createElement(B,{container:Pe,ref:Ze,prefixCls:K,motion:J,maxCount:se,className:ee,style:Q,onAllRemoved:le,renderNotifications:z}),Bt=c.useState([]),yt=(0,i.Z)(Bt,2),It=yt[0],rr=yt[1],Yt=c.useMemo(function(){return{open:function(We){var Pt=H($,We);(Pt.key===null||Pt.key===void 0)&&(Pt.key="rc-notification-".concat(W),W+=1),rr(function(zt){return[].concat((0,r.Z)(zt),[{type:"open",config:Pt}])})},close:function(We){rr(function(Pt){return[].concat((0,r.Z)(Pt),[{type:"close",key:We}])})},destroy:function(){rr(function(We){return[].concat((0,r.Z)(We),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){De(q())}),c.useEffect(function(){Ze.current&&It.length&&(It.forEach(function(ur){switch(ur.type){case"open":Ze.current.open(ur.config);break;case"close":Ze.current.close(ur.key);break;case"destroy":Ze.current.destroy();break}}),rr(function(ur){return ur.filter(function(We){return!It.includes(We)})}))},[It]),[Yt,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(54476),i=e(59301),l=e(11592),c=e(48736),f=e(33885),o=e(76190),h=e(76846),u=e(8654),a=i.createContext(null);function x(K){var se=K.children,ee=K.onBatchResize,Q=i.useRef(0),le=i.useRef([]),z=i.useContext(a),$=i.useCallback(function(ie,me,Pe){Q.current+=1;var De=Q.current;le.current.push({size:ie,element:me,data:Pe}),Promise.resolve().then(function(){De===Q.current&&(ee==null||ee(le.current),le.current=[])}),z==null||z(ie,me,Pe)},[ee,z]);return i.createElement(a.Provider,{value:$},se)}var p=e(76374),y=new Map;function m(K){K.forEach(function(se){var ee,Q=se.target;(ee=y.get(Q))===null||ee===void 0||ee.forEach(function(le){return le(Q)})})}var b=new p.Z(m),S=null,k=null;function R(K,se){y.has(K)||(y.set(K,new Set),b.observe(K)),y.get(K).add(se)}function A(K,se){y.has(K)&&(y.get(K).delete(se),y.get(K).size||(b.unobserve(K),y.delete(K)))}var P=e(67732),M=e(83652),B=e(42403),N=e(158),G=function(K){(0,B.Z)(ee,K);var se=(0,N.Z)(ee);function ee(){return(0,P.Z)(this,ee),se.apply(this,arguments)}return(0,M.Z)(ee,[{key:"render",value:function(){return this.props.children}}]),ee}(i.Component);function W(K,se){var ee=K.children,Q=K.disabled,le=i.useRef(null),z=i.useRef(null),$=i.useContext(a),ie=typeof ee=="function",me=ie?ee(le):ee,Pe=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),De=!ie&&i.isValidElement(me)&&(0,u.Yr)(me),Ze=De?(0,u.C4)(me):null,Ne=(0,u.x1)(Ze,le),Bt=function(){var Yt;return(0,h.ZP)(le.current)||(le.current&&(0,o.Z)(le.current)==="object"?(0,h.ZP)((Yt=le.current)===null||Yt===void 0?void 0:Yt.nativeElement):null)||(0,h.ZP)(z.current)};i.useImperativeHandle(se,function(){return Bt()});var yt=i.useRef(K);yt.current=K;var It=i.useCallback(function(rr){var Yt=yt.current,ur=Yt.onResize,We=Yt.data,Pt=rr.getBoundingClientRect(),zt=Pt.width,nt=Pt.height,Et=rr.offsetWidth,ht=rr.offsetHeight,Je=Math.floor(zt),Ue=Math.floor(nt);if(Pe.current.width!==Je||Pe.current.height!==Ue||Pe.current.offsetWidth!==Et||Pe.current.offsetHeight!==ht){var ge={width:Je,height:Ue,offsetWidth:Et,offsetHeight:ht};Pe.current=ge;var Se=Et===Math.round(zt)?zt:Et,Le=ht===Math.round(nt)?nt:ht,je=(0,f.Z)((0,f.Z)({},ge),{},{offsetWidth:Se,offsetHeight:Le});$==null||$(je,rr,We),ur&&Promise.resolve().then(function(){ur(je,rr)})}},[]);return i.useEffect(function(){var rr=Bt();return rr&&!Q&&R(rr,It),function(){return A(rr,It)}},[le.current,Q]),i.createElement(G,{ref:z},De?i.cloneElement(me,{ref:Ne}):me)}var H=i.forwardRef(W),ae=H,ne="rc-observer-key";function oe(K,se){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(ne,"-").concat(z);return i.createElement(ae,(0,r.Z)({},K,{key:$,ref:z===0?se:void 0}),le)})}var q=i.forwardRef(oe);q.Collection=x;var J=q},55477:function(d,v,e){"use strict";e.d(v,{G:function(){return m},Z:function(){return R}});var r=e(54476),i=e(33885),l=e(75931),c=e(35593),f=e(59301),o={shiftX:64,adjustY:1},h={adjustX:1,shiftY:!0},u=[0,0],a={left:{points:["cr","cl"],overflow:h,offset:[-4,0],targetOffset:u},right:{points:["cl","cr"],overflow:h,offset:[4,0],targetOffset:u},top:{points:["bc","tc"],overflow:o,offset:[0,-4],targetOffset:u},bottom:{points:["tc","bc"],overflow:o,offset:[0,4],targetOffset:u},topLeft:{points:["bl","tl"],overflow:o,offset:[0,-4],targetOffset:u},leftTop:{points:["tr","tl"],overflow:h,offset:[-4,0],targetOffset:u},topRight:{points:["br","tr"],overflow:o,offset:[0,-4],targetOffset:u},rightTop:{points:["tl","tr"],overflow:h,offset:[4,0],targetOffset:u},bottomRight:{points:["tr","br"],overflow:o,offset:[0,4],targetOffset:u},rightBottom:{points:["bl","br"],overflow:h,offset:[4,0],targetOffset:u},bottomLeft:{points:["tl","bl"],overflow:o,offset:[0,4],targetOffset:u},leftBottom:{points:["br","bl"],overflow:h,offset:[-4,0],targetOffset:u}},x=null,p=e(92310),y=e.n(p);function m(A){var P=A.children,M=A.prefixCls,B=A.id,N=A.overlayInnerStyle,G=A.className,W=A.style;return f.createElement("div",{className:y()("".concat(M,"-content"),G),style:W},f.createElement("div",{className:"".concat(M,"-inner"),id:B,role:"tooltip",style:N},typeof P=="function"?P():P))}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(P,M){var B=P.overlayClassName,N=P.trigger,G=N===void 0?["hover"]:N,W=P.mouseEnterDelay,H=W===void 0?0:W,ae=P.mouseLeaveDelay,ne=ae===void 0?.1:ae,oe=P.overlayStyle,q=P.prefixCls,J=q===void 0?"rc-tooltip":q,K=P.children,se=P.onVisibleChange,ee=P.afterVisibleChange,Q=P.transitionName,le=P.animation,z=P.motion,$=P.placement,ie=$===void 0?"right":$,me=P.align,Pe=me===void 0?{}:me,De=P.destroyTooltipOnHide,Ze=De===void 0?!1:De,Ne=P.defaultVisible,Bt=P.getTooltipContainer,yt=P.overlayInnerStyle,It=P.arrowContent,rr=P.overlay,Yt=P.id,ur=P.showArrow,We=ur===void 0?!0:ur,Pt=(0,l.Z)(P,b),zt=(0,f.useRef)(null);(0,f.useImperativeHandle)(M,function(){return zt.current});var nt=(0,i.Z)({},Pt);"visible"in P&&(nt.popupVisible=P.visible);var Et=function(){return f.createElement(m,{key:"content",prefixCls:J,id:Yt,overlayInnerStyle:yt},rr)};return f.createElement(c.Z,(0,r.Z)({popupClassName:B,prefixCls:J,popup:Et,action:G,builtinPlacements:a,popupPlacement:ie,ref:zt,popupAlign:Pe,getPopupContainer:Bt,onPopupVisibleChange:se,afterPopupVisibleChange:ee,popupTransitionName:Q,popupAnimation:le,popupMotion:z,defaultPopupVisible:Ne,autoDestroy:Ze,mouseLeaveDelay:ne,popupStyle:oe,mouseEnterDelay:H,arrow:We},nt),K)},k=(0,f.forwardRef)(S),R=k},11592:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(34678),i=e(59301);function l(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=[];return i.Children.forEach(c,function(h){h==null&&!f.keepEmpty||(Array.isArray(h)?o=o.concat(l(h)):(0,r.Z)(h)&&h.props?o=o.concat(l(h.props.children,f)):o.push(h))}),o}},47273:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}},48519:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!i)return!1;if(i.contains)return i.contains(l);for(var c=l;c;){if(c===i)return!0;c=c.parentNode}return!1}},810:function(d,v,e){"use strict";e.d(v,{hq:function(){return R},jL:function(){return b}});var r=e(33885),i=e(47273),l=e(48519),c="data-rc-order",f="data-rc-priority",o="rc-util-key",h=new Map;function u(){var A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=A.mark;return P?P.startsWith("data-")?P:"data-".concat(P):o}function a(A){if(A.attachTo)return A.attachTo;var P=document.querySelector("head");return P||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(P){return P.tagName==="STYLE"})}function y(A){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(0,i.Z)())return null;var M=P.csp,B=P.prepend,N=P.priority,G=N===void 0?0:N,W=x(B),H=W==="prependQueue",ae=document.createElement("style");ae.setAttribute(c,W),H&&G&&ae.setAttribute(f,"".concat(G)),M!=null&&M.nonce&&(ae.nonce=M==null?void 0:M.nonce),ae.innerHTML=A;var ne=a(P),oe=ne.firstChild;if(B){if(H){var q=(P.styles||p(ne)).filter(function(J){if(!["prepend","prependQueue"].includes(J.getAttribute(c)))return!1;var K=Number(J.getAttribute(f)||0);return G>=K});if(q.length)return ne.insertBefore(ae,q[q.length-1].nextSibling),ae}ne.insertBefore(ae,oe)}else ne.appendChild(ae);return ae}function m(A){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=a(P);return(P.styles||p(M)).find(function(B){return B.getAttribute(u(P))===A})}function b(A){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},M=m(A,P);if(M){var B=a(P);B.removeChild(M)}}function S(A,P){var M=h.get(A);if(!M||!(0,l.Z)(document,M)){var B=y("",P),N=B.parentNode;h.set(A,N),A.removeChild(B)}}function k(){h.clear()}function R(A,P){var M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=a(M),N=p(B),G=(0,r.Z)((0,r.Z)({},M),{},{styles:N});S(B,G);var W=m(P,G);if(W){var H,ae;if((H=G.csp)!==null&&H!==void 0&&H.nonce&&W.nonce!==((ae=G.csp)===null||ae===void 0?void 0:ae.nonce)){var ne;W.nonce=(ne=G.csp)===null||ne===void 0?void 0:ne.nonce}return W.innerHTML!==A&&(W.innerHTML=A),W}var oe=y(A,G);return oe.setAttribute(u(G),P),oe}},76846:function(d,v,e){"use strict";e.d(v,{Sh:function(){return c},ZP:function(){return o}});var r=e(76190),i=e(59301),l=e(4676);function c(h){return h instanceof HTMLElement||h instanceof SVGElement}function f(h){return h&&(0,r.Z)(h)==="object"&&c(h.nativeElement)?h.nativeElement:c(h)?h:null}function o(h){var u=f(h);if(u)return u;if(h instanceof i.Component){var a;return(a=l.findDOMNode)===null||a===void 0?void 0:a.call(l,h)}return null}},29194:function(d,v){"use strict";v.Z=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var r=e.getBBox(),i=r.width,l=r.height;if(i||l)return!0}if(e.getBoundingClientRect){var c=e.getBoundingClientRect(),f=c.width,o=c.height;if(f||o)return!0}}return!1}},96452:function(d,v,e){"use strict";e.d(v,{A:function(){return l}});function r(c){var f;return c==null||(f=c.getRootNode)===null||f===void 0?void 0:f.call(c)}function i(c){return r(c)instanceof ShadowRoot}function l(c){return i(c)?r(c):null}},10228:function(d,v){"use strict";var e={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(i){var l=i.keyCode;if(i.altKey&&!i.ctrlKey||i.metaKey||l>=e.F1&&l<=e.F12)return!1;switch(l){case e.ALT:case e.CAPS_LOCK:case e.CONTEXT_MENU:case e.CTRL:case e.DOWN:case e.END:case e.ESC:case e.HOME:case e.INSERT:case e.LEFT:case e.MAC_FF_META:case e.META:case e.NUMLOCK:case e.NUM_CENTER:case e.PAGE_DOWN:case e.PAGE_UP:case e.PAUSE:case e.PRINT_SCREEN:case e.RIGHT:case e.SHIFT:case e.UP:case e.WIN_KEY:case e.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(i){if(i>=e.ZERO&&i<=e.NINE||i>=e.NUM_ZERO&&i<=e.NUM_MULTIPLY||i>=e.A&&i<=e.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&i===0)return!0;switch(i){case e.SPACE:case e.QUESTION_MARK:case e.NUM_PLUS:case e.NUM_MINUS:case e.NUM_PERIOD:case e.NUM_DIVISION:case e.SEMICOLON:case e.DASH:case e.EQUALS:case e.COMMA:case e.PERIOD:case e.SLASH:case e.APOSTROPHE:case e.SINGLE_QUOTE:case e.OPEN_SQUARE_BRACKET:case e.BACKSLASH:case e.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};v.Z=e},34678:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(76190),i=Symbol.for("react.element"),l=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function f(o){return o&&(0,r.Z)(o)==="object"&&(o.$$typeof===i||o.$$typeof===l)&&o.type===c}},1585:function(d,v,e){"use strict";var r;e.d(v,{s:function(){return A},v:function(){return G}});var i=e(75044),l=e(3202),c=e(76190),f=e(33885),o=e(4676),h=(0,f.Z)({},r||(r=e.t(o,2))),u=h.version,a=h.render,x=h.unmountComponentAtNode,p;try{var y=Number((u||"").split(".")[0]);y>=18&&(p=h.createRoot)}catch(H){}function m(H){var ae=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;ae&&(0,c.Z)(ae)==="object"&&(ae.usingClientEntryPoint=H)}var b="__rc_react_root__";function S(H,ae){m(!0);var ne=ae[b]||p(ae);m(!1),ne.render(H),ae[b]=ne}function k(H,ae){a==null||a(H,ae)}function R(H,ae){}function A(H,ae){if(p){S(H,ae);return}k(H,ae)}function P(H){return M.apply(this,arguments)}function M(){return M=(0,l.Z)((0,i.Z)().mark(function H(ae){return(0,i.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return oe.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 oe.stop()}},H)})),M.apply(this,arguments)}function B(H){x(H)}function N(H){}function G(H){return W.apply(this,arguments)}function W(){return W=(0,l.Z)((0,i.Z)().mark(function H(ae){return(0,i.Z)().wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:if(p===void 0){oe.next=2;break}return oe.abrupt("return",P(ae));case 2:B(ae);case 3:case"end":return oe.stop()}},H)})),W.apply(this,arguments)}},75152:function(d,v,e){"use strict";e.d(v,{Z:function(){return c},o:function(){return f}});var r=e(810),i;function l(o){var h="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),u=document.createElement("div");u.id=h;var a=u.style;a.position="absolute",a.left="0",a.top="0",a.width="100px",a.height="100px",a.overflow="scroll";var x,p;if(o){var y=getComputedStyle(o);a.scrollbarColor=y.scrollbarColor,a.scrollbarWidth=y.scrollbarWidth;var m=getComputedStyle(o,"::-webkit-scrollbar"),b=parseInt(m.width,10),S=parseInt(m.height,10);try{var k=b?"width: ".concat(m.width,";"):"",R=S?"height: ".concat(m.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,P=o&&p&&!isNaN(p)?p:u.offsetHeight-u.clientHeight;return document.body.removeChild(u),(0,r.jL)(h),{width:A,height:P}}function c(o){return typeof document=="undefined"?0:((o||i===void 0)&&(i=l()),i.width)}function f(o){return typeof document=="undefined"||!o||!(o instanceof Element)?{width:0,height:0}:l(o)}},6089:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(59301);function i(l){var c=r.useRef();c.current=l;var f=r.useCallback(function(){for(var o,h=arguments.length,u=new Array(h),a=0;a<h;a++)u[a]=arguments[a];return(o=c.current)===null||o===void 0?void 0:o.call.apply(o,[c].concat(u))},[]);return f}},80402:function(d,v,e){"use strict";var r,i=e(42978),l=e(33885),c=e(59301);function f(){var a=(0,l.Z)({},r||(r=e.t(c,2)));return a.useId}var o=0;function h(){}var u=f();v.Z=u?function(x){var p=u();return x||p}:function(x){var p=c.useState("ssr-id"),y=(0,i.Z)(p,2),m=y[0],b=y[1];return c.useEffect(function(){var S=o;o+=1,b("rc_unique_".concat(S))},[]),x||m}},34280:function(d,v,e){"use strict";e.d(v,{o:function(){return f}});var r=e(59301),i=e(47273),l=(0,i.Z)()?r.useLayoutEffect:r.useEffect,c=function(h,u){var a=r.useRef(!0);l(function(){return h(a.current)},u),l(function(){return a.current=!1,function(){a.current=!0}},[])},f=function(h,u){c(function(a){if(!a)return h()},u)};v.Z=c},80547:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(59301);function i(l,c,f){var o=r.useRef({});return(!("value"in o.current)||f(o.current.condition,c))&&(o.current.value=l(),o.current.condition=c),o.current.value}},18929:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(42978),i=e(6089),l=e(34280),c=e(41799);function f(h){return h!==void 0}function o(h,u){var a=u||{},x=a.defaultValue,p=a.value,y=a.onChange,m=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,P=m?m(A):A,M=(0,i.Z)(y),B=(0,c.Z)([A]),N=(0,r.Z)(B,2),G=N[0],W=N[1];(0,l.o)(function(){var ae=G[0];k!==ae&&M(k,ae)},[G]),(0,l.o)(function(){f(p)||R(p)},[p]);var H=(0,i.Z)(function(ae,ne){R(ae,ne),W([A],ne)});return[P,H]}},41799:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(42978),i=e(59301);function l(c){var f=i.useRef(!1),o=i.useState(c),h=(0,r.Z)(o,2),u=h[0],a=h[1];i.useEffect(function(){return f.current=!1,function(){f.current=!0}},[]);function x(p,y){y&&f.current||a(p)}return[u,x]}},70425:function(d,v,e){"use strict";e.r(v),e.d(v,{get:function(){return c.Z},set:function(){return f.Z},supportNodeRef:function(){return l.t4},supportRef:function(){return l.Yr},useComposeRef:function(){return l.x1},useEvent:function(){return r.Z},useMergedState:function(){return i.Z},warning:function(){return o.ZP}});var r=e(6089),i=e(18929),l=e(8654),c=e(97938),f=e(24434),o=e(48736)},13697:function(d,v,e){"use strict";var r=e(76190),i=e(48736);function l(c,f){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,h=new Set;function u(a,x){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,y=h.has(a);if((0,i.ZP)(!y,"Warning: There may be circular references"),y)return!1;if(a===x)return!0;if(o&&p>1)return!1;h.add(a);var m=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],m))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],m)})}return!1}return u(c,f)}v.Z=l},49658:function(d,v){"use strict";v.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))}},2738:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){var c=Object.assign({},i);return Array.isArray(l)&&l.forEach(function(f){delete c[f]}),c}},26112:function(d,v,e){"use strict";e.d(v,{Z:function(){return u}});var r=e(33885),i=`accept acceptCharset accessKey action allowFullScreen allowTransparency
|
|
|
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
|
|
|
charSet checked classID className colSpan cols content contentEditable contextMenu
|
|
|
controls coords crossOrigin data dateTime default defer dir disabled download draggable
|
|
|
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
|
|
|
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
|
|
|
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
|
|
|
mediaGroup method min minLength multiple muted name noValidate nonce open
|
|
|
optimum pattern placeholder poster preload radioGroup readOnly rel required
|
|
|
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
|
|
|
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
|
|
|
summary tabIndex target title type useMap value width wmode wrap`,l=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
|
|
|
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
|
|
|
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
|
|
|
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
|
|
|
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
|
|
|
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
|
|
|
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,c="".concat(i," ").concat(l).split(/[\s\n]+/),f="aria-",o="data-";function h(a,x){return a.indexOf(x)===0}function u(a){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,p;x===!1?p={aria:!0,data:!0,attr:!0}:x===!0?p={aria:!0}:p=(0,r.Z)({},x);var y={};return Object.keys(a).forEach(function(m){(p.aria&&(m==="role"||h(m,f))||p.data&&h(m,o)||p.attr&&c.includes(m))&&(y[m]=a[m])}),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 m},Yr:function(){return x},mH:function(){return h},sQ:function(){return u},t4:function(){return y},x1:function(){return a}});var r=e(76190),i=e(59301),l=e(23265),c=e(80547),f=e(34678),o=Number(i.version.split(".")[0]),h=function(S,k){typeof S=="function"?S(k):(0,r.Z)(S)==="object"&&S&&"current"in S&&(S.current=k)},u=function(){for(var S=arguments.length,k=new Array(S),R=0;R<S;R++)k[R]=arguments[R];var A=k.filter(Boolean);return A.length<=1?A[0]:function(P){k.forEach(function(M){h(M,P)})}},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,P){return A.length!==P.length||A.every(function(M,B){return M!==P[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)},m=function(S){if(S&&p(S)){var k=S;return k.props.propertyIsEnumerable("ref")?k.props.ref:k.ref}return null}},97938:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){for(var c=i,f=0;f<l.length;f+=1){if(c==null)return;c=c[l[f]]}return c}},24434:function(d,v,e){"use strict";e.d(v,{T:function(){return p},Z:function(){return h}});var r=e(76190),i=e(33885),l=e(94480),c=e(66712),f=e(97938);function o(y,m,b,S){if(!m.length)return b;var k=(0,c.Z)(m),R=k[0],A=k.slice(1),P;return!y&&typeof R=="number"?P=[]:Array.isArray(y)?P=(0,l.Z)(y):P=(0,i.Z)({},y),S&&b===void 0&&A.length===1?delete P[R][A[0]]:P[R]=o(P[R],A,b,S),P}function h(y,m,b){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return m.length&&S&&b===void 0&&!(0,f.Z)(y,m.slice(0,-1))?y:o(y,m,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,m=new Array(y),b=0;b<y;b++)m[b]=arguments[b];var S=a(m[0]);return m.forEach(function(k){function R(A,P){var M=new Set(P),B=(0,f.Z)(k,A),N=Array.isArray(B);if(N||u(B)){if(!M.has(B)){M.add(B);var G=(0,f.Z)(S,A);N?S=h(S,A,[]):(!G||(0,r.Z)(G)!=="object")&&(S=h(S,A,a(B))),x(B).forEach(function(W){R([].concat((0,l.Z)(A),[W]),M)})}}else S=h(S,A,B)}R([])}),S}},48736:function(d,v,e){"use strict";e.d(v,{ET:function(){return a},Kp:function(){return c}});var r={},i=[],l=function(p){i.push(p)};function c(x,p){if(0)var y}function f(x,p){if(0)var y}function o(){r={}}function h(x,p,y){!p&&!r[y]&&(x(!1,y),r[y]=!0)}function u(x,p){h(c,x,p)}function a(x,p){h(f,x,p)}u.preMessage=l,u.resetWarned=o,u.noteOnce=a,v.ZP=u},83145:function(d,v,e){"use strict";Object.defineProperty(v,"__esModule",{value:!0}),v.CopyToClipboard=void 0;var r=l(e(59301)),i=l(e(25769));function l(P){return P&&P.__esModule?P:{default:P}}function c(P){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(P)}function f(P,M){var B=Object.keys(P);if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(P);M&&(N=N.filter(function(G){return Object.getOwnPropertyDescriptor(P,G).enumerable})),B.push.apply(B,N)}return B}function o(P){for(var M=1;M<arguments.length;M++){var B=arguments[M]!=null?arguments[M]:{};M%2?f(B,!0).forEach(function(N){R(P,N,B[N])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(B)):f(B).forEach(function(N){Object.defineProperty(P,N,Object.getOwnPropertyDescriptor(B,N))})}return P}function h(P,M){if(P==null)return{};var B=u(P,M),N,G;if(Object.getOwnPropertySymbols){var W=Object.getOwnPropertySymbols(P);for(G=0;G<W.length;G++)N=W[G],!(M.indexOf(N)>=0)&&Object.prototype.propertyIsEnumerable.call(P,N)&&(B[N]=P[N])}return B}function u(P,M){if(P==null)return{};var B={},N=Object.keys(P),G,W;for(W=0;W<N.length;W++)G=N[W],!(M.indexOf(G)>=0)&&(B[G]=P[G]);return B}function a(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")}function x(P,M){for(var B=0;B<M.length;B++){var N=M[B];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(P,N.key,N)}}function p(P,M,B){return M&&x(P.prototype,M),B&&x(P,B),P}function y(P,M){return M&&(c(M)==="object"||typeof M=="function")?M:b(P)}function m(P){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(B){return B.__proto__||Object.getPrototypeOf(B)},m(P)}function b(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function S(P,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(M&&M.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),M&&k(P,M)}function k(P,M){return k=Object.setPrototypeOf||function(N,G){return N.__proto__=G,N},k(P,M)}function R(P,M,B){return M in P?Object.defineProperty(P,M,{value:B,enumerable:!0,configurable:!0,writable:!0}):P[M]=B,P}var A=function(P){S(M,P);function M(){var B,N;a(this,M);for(var G=arguments.length,W=new Array(G),H=0;H<G;H++)W[H]=arguments[H];return N=y(this,(B=m(M)).call.apply(B,[this].concat(W))),R(b(N),"onClick",function(ae){var ne=N.props,oe=ne.text,q=ne.onCopy,J=ne.children,K=ne.options,se=r.default.Children.only(J),ee=(0,i.default)(oe,K);q&&q(oe,ee),se&&se.props&&typeof se.props.onClick=="function"&&se.props.onClick(ae)}),N}return p(M,[{key:"render",value:function(){var N=this.props,G=N.text,W=N.onCopy,H=N.options,ae=N.children,ne=h(N,["text","onCopy","options","children"]),oe=r.default.Children.only(ae);return r.default.cloneElement(oe,o({},ne,{onClick:this.onClick}))}}]),M}(r.default.PureComponent);v.CopyToClipboard=A,R(A,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(d,v,e){"use strict";var r=e(83145),i=r.CopyToClipboard;i.CopyToClipboard=i,d.exports=i},23675:function(d,v,e){"use strict";var r=e(59301),i=e(84126),l=e(43014);function c(g){for(var T="https://reactjs.org/docs/error-decoder.html?invariant="+g,U=1;U<arguments.length;U++)T+="&args[]="+encodeURIComponent(arguments[U]);return"Minified React error #"+g+"; visit "+T+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(c(227));var f=new Set,o={};function h(g,T){u(g,T),u(g+"Capture",T)}function u(g,T){for(o[g]=T,g=0;g<T.length;g++)f.add(T[g])}var a=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),x=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,y={},m={};function b(g){return p.call(m,g)?!0:p.call(y,g)?!1:x.test(g)?m[g]=!0:(y[g]=!0,!1)}function S(g,T,U,ve){if(U!==null&&U.type===0)return!1;switch(typeof T){case"function":case"symbol":return!0;case"boolean":return ve?!1:U!==null?!U.acceptsBooleans:(g=g.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-");default:return!1}}function k(g,T,U,ve){if(T===null||typeof T=="undefined"||S(g,T,U,ve))return!0;if(ve)return!1;if(U!==null)switch(U.type){case 3:return!T;case 4:return T===!1;case 5:return isNaN(T);case 6:return isNaN(T)||1>T}return!1}function R(g,T,U,ve,ke,ot,Nt){this.acceptsBooleans=T===2||T===3||T===4,this.attributeName=ve,this.attributeNamespace=ke,this.mustUseProperty=U,this.propertyName=g,this.type=T,this.sanitizeURL=ot,this.removeEmptyString=Nt}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){A[g]=new R(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var T=g[0];A[T]=new R(T,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){A[g]=new R(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){A[g]=new R(g,2,!1,g,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(g){A[g]=new R(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){A[g]=new R(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){A[g]=new R(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){A[g]=new R(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){A[g]=new R(g,5,!1,g.toLowerCase(),null,!1,!1)});var P=/[\-:]([a-z])/g;function M(g){return g[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(g){var T=g.replace(P,M);A[T]=new R(T,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var T=g.replace(P,M);A[T]=new R(T,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var T=g.replace(P,M);A[T]=new R(T,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){A[g]=new R(g,1,!1,g.toLowerCase(),null,!1,!1)}),A.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(g){A[g]=new R(g,1,!1,g.toLowerCase(),null,!0,!0)});function B(g,T,U,ve){var ke=A.hasOwnProperty(T)?A[T]:null,ot=ke!==null?ke.type===0:ve?!1:!(!(2<T.length)||T[0]!=="o"&&T[0]!=="O"||T[1]!=="n"&&T[1]!=="N");ot||(k(T,U,ke,ve)&&(U=null),ve||ke===null?b(T)&&(U===null?g.removeAttribute(T):g.setAttribute(T,""+U)):ke.mustUseProperty?g[ke.propertyName]=U===null?ke.type===3?!1:"":U:(T=ke.attributeName,ve=ke.attributeNamespace,U===null?g.removeAttribute(T):(ke=ke.type,U=ke===3||ke===4&&U===!0?"":""+U,ve?g.setAttributeNS(ve,T,U):g.setAttribute(T,U))))}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,G=60103,W=60106,H=60107,ae=60108,ne=60114,oe=60109,q=60110,J=60112,K=60113,se=60120,ee=60115,Q=60116,le=60121,z=60128,$=60129,ie=60130,me=60131;if(typeof Symbol=="function"&&Symbol.for){var Pe=Symbol.for;G=Pe("react.element"),W=Pe("react.portal"),H=Pe("react.fragment"),ae=Pe("react.strict_mode"),ne=Pe("react.profiler"),oe=Pe("react.provider"),q=Pe("react.context"),J=Pe("react.forward_ref"),K=Pe("react.suspense"),se=Pe("react.suspense_list"),ee=Pe("react.memo"),Q=Pe("react.lazy"),le=Pe("react.block"),Pe("react.scope"),z=Pe("react.opaque.id"),$=Pe("react.debug_trace_mode"),ie=Pe("react.offscreen"),me=Pe("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 Bt(g){if(Ne===void 0)try{throw Error()}catch(U){var T=U.stack.trim().match(/\n( *(at )?)/);Ne=T&&T[1]||""}return`
|
|
|
`+Ne+g}var yt=!1;function It(g,T){if(!g||yt)return"";yt=!0;var U=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(T)if(T=function(){throw Error()},Object.defineProperty(T.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(T,[])}catch(Dr){var ve=Dr}Reflect.construct(g,[],T)}else{try{T.call()}catch(Dr){ve=Dr}g.call(T.prototype)}else{try{throw Error()}catch(Dr){ve=Dr}g()}}catch(Dr){if(Dr&&ve&&typeof Dr.stack=="string"){for(var ke=Dr.stack.split(`
|
|
|
`),ot=ve.stack.split(`
|
|
|
`),Nt=ke.length-1,nr=ot.length-1;1<=Nt&&0<=nr&&ke[Nt]!==ot[nr];)nr--;for(;1<=Nt&&0<=nr;Nt--,nr--)if(ke[Nt]!==ot[nr]){if(Nt!==1||nr!==1)do if(Nt--,nr--,0>nr||ke[Nt]!==ot[nr])return`
|
|
|
`+ke[Nt].replace(" at new "," at ");while(1<=Nt&&0<=nr);break}}}finally{yt=!1,Error.prepareStackTrace=U}return(g=g?g.displayName||g.name:"")?Bt(g):""}function rr(g){switch(g.tag){case 5:return Bt(g.type);case 16:return Bt("Lazy");case 13:return Bt("Suspense");case 19:return Bt("SuspenseList");case 0:case 2:case 15:return g=It(g.type,!1),g;case 11:return g=It(g.type.render,!1),g;case 22:return g=It(g.type._render,!1),g;case 1:return g=It(g.type,!0),g;default:return""}}function Yt(g){if(g==null)return null;if(typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case H:return"Fragment";case W:return"Portal";case ne:return"Profiler";case ae:return"StrictMode";case K:return"Suspense";case se:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case q:return(g.displayName||"Context")+".Consumer";case oe:return(g._context.displayName||"Context")+".Provider";case J:var T=g.render;return T=T.displayName||T.name||"",g.displayName||(T!==""?"ForwardRef("+T+")":"ForwardRef");case ee:return Yt(g.type);case le:return Yt(g._render);case Q:T=g._payload,g=g._init;try{return Yt(g(T))}catch(U){}}return null}function ur(g){switch(typeof g){case"boolean":case"number":case"object":case"string":case"undefined":return g;default:return""}}function We(g){var T=g.type;return(g=g.nodeName)&&g.toLowerCase()==="input"&&(T==="checkbox"||T==="radio")}function Pt(g){var T=We(g)?"checked":"value",U=Object.getOwnPropertyDescriptor(g.constructor.prototype,T),ve=""+g[T];if(!g.hasOwnProperty(T)&&typeof U!="undefined"&&typeof U.get=="function"&&typeof U.set=="function"){var ke=U.get,ot=U.set;return Object.defineProperty(g,T,{configurable:!0,get:function(){return ke.call(this)},set:function(Nt){ve=""+Nt,ot.call(this,Nt)}}),Object.defineProperty(g,T,{enumerable:U.enumerable}),{getValue:function(){return ve},setValue:function(Nt){ve=""+Nt},stopTracking:function(){g._valueTracker=null,delete g[T]}}}}function zt(g){g._valueTracker||(g._valueTracker=Pt(g))}function nt(g){if(!g)return!1;var T=g._valueTracker;if(!T)return!0;var U=T.getValue(),ve="";return g&&(ve=We(g)?g.checked?"true":"false":g.value),g=ve,g!==U?(T.setValue(g),!0):!1}function Et(g){if(g=g||(typeof document!="undefined"?document:void 0),typeof g=="undefined")return null;try{return g.activeElement||g.body}catch(T){return g.body}}function ht(g,T){var U=T.checked;return i({},T,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:U!=null?U:g._wrapperState.initialChecked})}function Je(g,T){var U=T.defaultValue==null?"":T.defaultValue,ve=T.checked!=null?T.checked:T.defaultChecked;U=ur(T.value!=null?T.value:U),g._wrapperState={initialChecked:ve,initialValue:U,controlled:T.type==="checkbox"||T.type==="radio"?T.checked!=null:T.value!=null}}function Ue(g,T){T=T.checked,T!=null&&B(g,"checked",T,!1)}function ge(g,T){Ue(g,T);var U=ur(T.value),ve=T.type;if(U!=null)ve==="number"?(U===0&&g.value===""||g.value!=U)&&(g.value=""+U):g.value!==""+U&&(g.value=""+U);else if(ve==="submit"||ve==="reset"){g.removeAttribute("value");return}T.hasOwnProperty("value")?Le(g,T.type,U):T.hasOwnProperty("defaultValue")&&Le(g,T.type,ur(T.defaultValue)),T.checked==null&&T.defaultChecked!=null&&(g.defaultChecked=!!T.defaultChecked)}function Se(g,T,U){if(T.hasOwnProperty("value")||T.hasOwnProperty("defaultValue")){var ve=T.type;if(!(ve!=="submit"&&ve!=="reset"||T.value!==void 0&&T.value!==null))return;T=""+g._wrapperState.initialValue,U||T===g.value||(g.value=T),g.defaultValue=T}U=g.name,U!==""&&(g.name=""),g.defaultChecked=!!g._wrapperState.initialChecked,U!==""&&(g.name=U)}function Le(g,T,U){(T!=="number"||Et(g.ownerDocument)!==g)&&(U==null?g.defaultValue=""+g._wrapperState.initialValue:g.defaultValue!==""+U&&(g.defaultValue=""+U))}function je(g){var T="";return r.Children.forEach(g,function(U){U!=null&&(T+=U)}),T}function He(g,T){return g=i({children:void 0},T),(T=je(T.children))&&(g.children=T),g}function rt(g,T,U,ve){if(g=g.options,T){T={};for(var ke=0;ke<U.length;ke++)T["$"+U[ke]]=!0;for(U=0;U<g.length;U++)ke=T.hasOwnProperty("$"+g[U].value),g[U].selected!==ke&&(g[U].selected=ke),ke&&ve&&(g[U].defaultSelected=!0)}else{for(U=""+ur(U),T=null,ke=0;ke<g.length;ke++){if(g[ke].value===U){g[ke].selected=!0,ve&&(g[ke].defaultSelected=!0);return}T!==null||g[ke].disabled||(T=g[ke])}T!==null&&(T.selected=!0)}}function lt(g,T){if(T.dangerouslySetInnerHTML!=null)throw Error(c(91));return i({},T,{value:void 0,defaultValue:void 0,children:""+g._wrapperState.initialValue})}function Kt(g,T){var U=T.value;if(U==null){if(U=T.children,T=T.defaultValue,U!=null){if(T!=null)throw Error(c(92));if(Array.isArray(U)){if(!(1>=U.length))throw Error(c(93));U=U[0]}T=U}T==null&&(T=""),U=T}g._wrapperState={initialValue:ur(U)}}function Wt(g,T){var U=ur(T.value),ve=ur(T.defaultValue);U!=null&&(U=""+U,U!==g.value&&(g.value=U),T.defaultValue==null&&g.defaultValue!==U&&(g.defaultValue=U)),ve!=null&&(g.defaultValue=""+ve)}function Ae(g){var T=g.textContent;T===g._wrapperState.initialValue&&T!==""&&T!==null&&(g.value=T)}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 Vt(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 kt(g,T){return g==null||g==="http://www.w3.org/1999/xhtml"?Vt(T):g==="http://www.w3.org/2000/svg"&&T==="foreignObject"?"http://www.w3.org/1999/xhtml":g}var Ht,$t=function(g){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(T,U,ve,ke){MSApp.execUnsafeLocalFunction(function(){return g(T,U,ve,ke)})}:g}(function(g,T){if(g.namespaceURI!==qe.svg||"innerHTML"in g)g.innerHTML=T;else{for(Ht=Ht||document.createElement("div"),Ht.innerHTML="<svg>"+T.valueOf().toString()+"</svg>",T=Ht.firstChild;g.firstChild;)g.removeChild(g.firstChild);for(;T.firstChild;)g.appendChild(T.firstChild)}});function Tt(g,T){if(T){var U=g.firstChild;if(U&&U===g.lastChild&&U.nodeType===3){U.nodeValue=T;return}}g.textContent=T}var Xt={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},Ge=["Webkit","ms","Moz","O"];Object.keys(Xt).forEach(function(g){Ge.forEach(function(T){T=T+g.charAt(0).toUpperCase()+g.substring(1),Xt[T]=Xt[g]})});function ce(g,T,U){return T==null||typeof T=="boolean"||T===""?"":U||typeof T!="number"||T===0||Xt.hasOwnProperty(g)&&Xt[g]?(""+T).trim():T+"px"}function pe(g,T){g=g.style;for(var U in T)if(T.hasOwnProperty(U)){var ve=U.indexOf("--")===0,ke=ce(U,T[U],ve);U==="float"&&(U="cssFloat"),ve?g.setProperty(U,ke):g[U]=ke}}var Dt=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ce(g,T){if(T){if(Dt[g]&&(T.children!=null||T.dangerouslySetInnerHTML!=null))throw Error(c(137,g));if(T.dangerouslySetInnerHTML!=null){if(T.children!=null)throw Error(c(60));if(!(typeof T.dangerouslySetInnerHTML=="object"&&"__html"in T.dangerouslySetInnerHTML))throw Error(c(61))}if(T.style!=null&&typeof T.style!="object")throw Error(c(62))}}function ct(g,T){if(g.indexOf("-")===-1)return typeof T.is=="string";switch(g){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Zt(g){return g=g.target||g.srcElement||window,g.correspondingUseElement&&(g=g.correspondingUseElement),g.nodeType===3?g.parentNode:g}var St=null,Ie=null,wt=null;function be(g){if(g=ms(g)){if(typeof St!="function")throw Error(c(280));var T=g.stateNode;T&&(T=gs(T),St(g.stateNode,g.type,T))}}function Ye(g){Ie?wt?wt.push(g):wt=[g]:Ie=g}function vt(){if(Ie){var g=Ie,T=wt;if(wt=Ie=null,be(g),T)for(g=0;g<T.length;g++)be(T[g])}}function Lt(g,T){return g(T)}function Me(g,T,U,ve,ke){return g(T,U,ve,ke)}function Or(){}var At=Lt,Yr=!1,rn=!1;function wr(){(Ie!==null||wt!==null)&&(Or(),vt())}function jr(g,T,U){if(rn)return g(T,U);rn=!0;try{return At(g,T,U)}finally{rn=!1,wr()}}function mr(g,T){var U=g.stateNode;if(U===null)return null;var ve=gs(U);if(ve===null)return null;U=ve[T];e:switch(T){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(ve=!ve.disabled)||(g=g.type,ve=!(g==="button"||g==="input"||g==="select"||g==="textarea")),g=!ve;break e;default:g=!1}if(g)return null;if(U&&typeof U!="function")throw Error(c(231,T,typeof U));return U}var Zr=!1;if(a)try{var un={};Object.defineProperty(un,"passive",{get:function(){Zr=!0}}),window.addEventListener("test",un,un),window.removeEventListener("test",un,un)}catch(g){Zr=!1}function mn(g,T,U,ve,ke,ot,Nt,nr,Dr){var _n=Array.prototype.slice.call(arguments,3);try{T.apply(U,_n)}catch(Bi){this.onError(Bi)}}var sr=!1,Rt=null,_t=!1,gt=null,jt={onError:function(g){sr=!0,Rt=g}};function Ar(g,T,U,ve,ke,ot,Nt,nr,Dr){sr=!1,Rt=null,mn.apply(jt,arguments)}function yr(g,T,U,ve,ke,ot,Nt,nr,Dr){if(Ar.apply(this,arguments),sr){if(sr){var _n=Rt;sr=!1,Rt=null}else throw Error(c(198));_t||(_t=!0,gt=_n)}}function it(g){var T=g,U=g;if(g.alternate)for(;T.return;)T=T.return;else{g=T;do T=g,T.flags&1026&&(U=T.return),g=T.return;while(g)}return T.tag===3?U:null}function Nr(g){if(g.tag===13){var T=g.memoizedState;if(T===null&&(g=g.alternate,g!==null&&(T=g.memoizedState)),T!==null)return T.dehydrated}return null}function An(g){if(it(g)!==g)throw Error(c(188))}function Jn(g){var T=g.alternate;if(!T){if(T=it(g),T===null)throw Error(c(188));return T!==g?null:g}for(var U=g,ve=T;;){var ke=U.return;if(ke===null)break;var ot=ke.alternate;if(ot===null){if(ve=ke.return,ve!==null){U=ve;continue}break}if(ke.child===ot.child){for(ot=ke.child;ot;){if(ot===U)return An(ke),g;if(ot===ve)return An(ke),T;ot=ot.sibling}throw Error(c(188))}if(U.return!==ve.return)U=ke,ve=ot;else{for(var Nt=!1,nr=ke.child;nr;){if(nr===U){Nt=!0,U=ke,ve=ot;break}if(nr===ve){Nt=!0,ve=ke,U=ot;break}nr=nr.sibling}if(!Nt){for(nr=ot.child;nr;){if(nr===U){Nt=!0,U=ot,ve=ke;break}if(nr===ve){Nt=!0,ve=ot,U=ke;break}nr=nr.sibling}if(!Nt)throw Error(c(189))}}if(U.alternate!==ve)throw Error(c(190))}if(U.tag!==3)throw Error(c(188));return U.stateNode.current===U?g:T}function gr(g){if(g=Jn(g),!g)return null;for(var T=g;;){if(T.tag===5||T.tag===6)return T;if(T.child)T.child.return=T,T=T.child;else{if(T===g)break;for(;!T.sibling;){if(!T.return||T.return===g)return null;T=T.return}T.sibling.return=T.return,T=T.sibling}}return null}function nn(g,T){for(var U=g.alternate;T!==null;){if(T===g||T===U)return!0;T=T.return}return!1}var vn,Wn,si,gi,aa=!1,ui=[],Ni=null,mi=null,Pi=null,Ra=new Map,fi=new Map,Hi=[],bt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ut(g,T,U,ve,ke){return{blockedOn:g,domEventName:T,eventSystemFlags:U|16,nativeEvent:ke,targetContainers:[ve]}}function ii(g,T){switch(g){case"focusin":case"focusout":Ni=null;break;case"dragenter":case"dragleave":mi=null;break;case"mouseover":case"mouseout":Pi=null;break;case"pointerover":case"pointerout":Ra.delete(T.pointerId);break;case"gotpointercapture":case"lostpointercapture":fi.delete(T.pointerId)}}function Si(g,T,U,ve,ke,ot){return g===null||g.nativeEvent!==ot?(g=ut(T,U,ve,ke,ot),T!==null&&(T=ms(T),T!==null&&Wn(T)),g):(g.eventSystemFlags|=ve,T=g.targetContainers,ke!==null&&T.indexOf(ke)===-1&&T.push(ke),g)}function li(g,T,U,ve,ke){switch(T){case"focusin":return Ni=Si(Ni,g,T,U,ve,ke),!0;case"dragenter":return mi=Si(mi,g,T,U,ve,ke),!0;case"mouseover":return Pi=Si(Pi,g,T,U,ve,ke),!0;case"pointerover":var ot=ke.pointerId;return Ra.set(ot,Si(Ra.get(ot)||null,g,T,U,ve,ke)),!0;case"gotpointercapture":return ot=ke.pointerId,fi.set(ot,Si(fi.get(ot)||null,g,T,U,ve,ke)),!0}return!1}function sa(g){var T=us(g.target);if(T!==null){var U=it(T);if(U!==null){if(T=U.tag,T===13){if(T=Nr(U),T!==null){g.blockedOn=T,gi(g.lanePriority,function(){l.unstable_runWithPriority(g.priority,function(){si(U)})});return}}else if(T===3&&U.stateNode.hydrate){g.blockedOn=U.tag===3?U.stateNode.containerInfo:null;return}}}g.blockedOn=null}function Ti(g){if(g.blockedOn!==null)return!1;for(var T=g.targetContainers;0<T.length;){var U=Hs(g.domEventName,g.eventSystemFlags,T[0],g.nativeEvent);if(U!==null)return T=ms(U),T!==null&&Wn(T),g.blockedOn=U,!1;T.shift()}return!0}function pi(g,T,U){Ti(g)&&U.delete(T)}function Rn(){for(aa=!1;0<ui.length;){var g=ui[0];if(g.blockedOn!==null){g=ms(g.blockedOn),g!==null&&vn(g);break}for(var T=g.targetContainers;0<T.length;){var U=Hs(g.domEventName,g.eventSystemFlags,T[0],g.nativeEvent);if(U!==null){g.blockedOn=U;break}T.shift()}g.blockedOn===null&&ui.shift()}Ni!==null&&Ti(Ni)&&(Ni=null),mi!==null&&Ti(mi)&&(mi=null),Pi!==null&&Ti(Pi)&&(Pi=null),Ra.forEach(pi),fi.forEach(pi)}function Jt(g,T){g.blockedOn===T&&(g.blockedOn=null,aa||(aa=!0,l.unstable_scheduleCallback(l.unstable_NormalPriority,Rn)))}function dt(g){function T(ke){return Jt(ke,g)}if(0<ui.length){Jt(ui[0],g);for(var U=1;U<ui.length;U++){var ve=ui[U];ve.blockedOn===g&&(ve.blockedOn=null)}}for(Ni!==null&&Jt(Ni,g),mi!==null&&Jt(mi,g),Pi!==null&&Jt(Pi,g),Ra.forEach(T),fi.forEach(T),U=0;U<Hi.length;U++)ve=Hi[U],ve.blockedOn===g&&(ve.blockedOn=null);for(;0<Hi.length&&(U=Hi[0],U.blockedOn===null);)sa(U),U.blockedOn===null&&Hi.shift()}function tt(g,T){var U={};return U[g.toLowerCase()]=T.toLowerCase(),U["Webkit"+g]="webkit"+T,U["Moz"+g]="moz"+T,U}var Ot={animationend:tt("Animation","AnimationEnd"),animationiteration:tt("Animation","AnimationIteration"),animationstart:tt("Animation","AnimationStart"),transitionend:tt("Transition","TransitionEnd")},mt={},or={};a&&(or=document.createElement("div").style,"AnimationEvent"in window||(delete Ot.animationend.animation,delete Ot.animationiteration.animation,delete Ot.animationstart.animation),"TransitionEvent"in window||delete Ot.transitionend.transition);function lr(g){if(mt[g])return mt[g];if(!Ot[g])return g;var T=Ot[g],U;for(U in T)if(T.hasOwnProperty(U)&&U in or)return mt[g]=T[U];return g}var Ir=lr("animationend"),Hr=lr("animationiteration"),ze=lr("animationstart"),et=lr("transitionend"),xe=new Map,at=new Map,tr=["abort","abort",Ir,"animationEnd",Hr,"animationIteration",ze,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",et,"transitionEnd","waiting","waiting"];function Cr(g,T){for(var U=0;U<g.length;U+=2){var ve=g[U],ke=g[U+1];ke="on"+(ke[0].toUpperCase()+ke.slice(1)),at.set(ve,T),xe.set(ve,ke),h(ke,[ve])}}var kr=l.unstable_now;kr();var Pr=8;function Rr(g){if(1&g)return Pr=15,1;if(2&g)return Pr=14,2;if(4&g)return Pr=13,4;var T=24&g;return T!==0?(Pr=12,T):g&32?(Pr=11,32):(T=192&g,T!==0?(Pr=10,T):g&256?(Pr=9,256):(T=3584&g,T!==0?(Pr=8,T):g&4096?(Pr=7,4096):(T=4186112&g,T!==0?(Pr=6,T):(T=62914560&g,T!==0?(Pr=5,T):g&67108864?(Pr=4,67108864):g&134217728?(Pr=3,134217728):(T=805306368&g,T!==0?(Pr=2,T):1073741824&g?(Pr=1,1073741824):(Pr=8,g))))))}function Tn(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 Tr(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 pn(g,T){var U=g.pendingLanes;if(U===0)return Pr=0;var ve=0,ke=0,ot=g.expiredLanes,Nt=g.suspendedLanes,nr=g.pingedLanes;if(ot!==0)ve=ot,ke=Pr=15;else if(ot=U&134217727,ot!==0){var Dr=ot&~Nt;Dr!==0?(ve=Rr(Dr),ke=Pr):(nr&=ot,nr!==0&&(ve=Rr(nr),ke=Pr))}else ot=U&~Nt,ot!==0?(ve=Rr(ot),ke=Pr):nr!==0&&(ve=Rr(nr),ke=Pr);if(ve===0)return 0;if(ve=31-Ii(ve),ve=U&((0>ve?0:1<<ve)<<1)-1,T!==0&&T!==ve&&!(T&Nt)){if(Rr(T),ke<=Pr)return T;Pr=ke}if(T=g.entangledLanes,T!==0)for(g=g.entanglements,T&=ve;0<T;)U=31-Ii(T),ke=1<<U,ve|=g[U],T&=~ke;return ve}function sn(g){return g=g.pendingLanes&-1073741825,g!==0?g:g&1073741824?1073741824:0}function ln(g,T){switch(g){case 15:return 1;case 14:return 2;case 12:return g=Ln(24&~T),g===0?ln(10,T):g;case 10:return g=Ln(192&~T),g===0?ln(8,T):g;case 8:return g=Ln(3584&~T),g===0&&(g=Ln(4186112&~T),g===0&&(g=512)),g;case 2:return T=Ln(805306368&~T),T===0&&(T=268435456),T}throw Error(c(358,g))}function Ln(g){return g&-g}function Ia(g){for(var T=[],U=0;31>U;U++)T.push(g);return T}function ji(g,T,U){g.pendingLanes|=T;var ve=T-1;g.suspendedLanes&=ve,g.pingedLanes&=ve,g=g.eventTimes,T=31-Ii(T),g[T]=U}var Ii=Math.clz32?Math.clz32:Vi,En=Math.log,yi=Math.LN2;function Vi(g){return g===0?32:31-(En(g)/yi|0)|0}var Ea=l.unstable_UserBlockingPriority,Gs=l.unstable_runWithPriority,$a=!0;function Bs(g,T,U,ve){Yr||Or();var ke=ja,ot=Yr;Yr=!0;try{Me(ke,g,T,U,ve)}finally{(Yr=ot)||wr()}}function ro(g,T,U,ve){Gs(Ea,ja.bind(null,g,T,U,ve))}function ja(g,T,U,ve){if($a){var ke;if((ke=(T&4)===0)&&0<ui.length&&-1<bt.indexOf(g))g=ut(null,g,T,U,ve),ui.push(g);else{var ot=Hs(g,T,U,ve);if(ot===null)ke&&ii(g,ve);else{if(ke){if(-1<bt.indexOf(g)){g=ut(ot,g,T,U,ve),ui.push(g);return}if(li(ot,g,T,U,ve))return;ii(g,ve)}Wr(g,T,ve,null,U)}}}}function Hs(g,T,U,ve){var ke=Zt(ve);if(ke=us(ke),ke!==null){var ot=it(ke);if(ot===null)ke=null;else{var Nt=ot.tag;if(Nt===13){if(ke=Nr(ot),ke!==null)return ke;ke=null}else if(Nt===3){if(ot.stateNode.hydrate)return ot.tag===3?ot.stateNode.containerInfo:null;ke=null}else ot!==ke&&(ke=null)}}return Wr(g,T,ve,ke,U),null}var ya=null,cs=null,fs=null;function Li(){if(fs)return fs;var g,T=cs,U=T.length,ve,ke="value"in ya?ya.value:ya.textContent,ot=ke.length;for(g=0;g<U&&T[g]===ke[g];g++);var Nt=U-g;for(ve=1;ve<=Nt&&T[U-ve]===ke[ot-ve];ve++);return fs=ke.slice(g,1<ve?1-ve:void 0)}function ra(g){var T=g.keyCode;return"charCode"in g?(g=g.charCode,g===0&&T===13&&(g=13)):g=T,g===10&&(g=13),32<=g||g===13?g:0}function ks(){return!0}function Mo(){return!1}function Ya(g){function T(U,ve,ke,ot,Nt){this._reactName=U,this._targetInst=ke,this.type=ve,this.nativeEvent=ot,this.target=Nt,this.currentTarget=null;for(var nr in g)g.hasOwnProperty(nr)&&(U=g[nr],this[nr]=U?U(ot):ot[nr]);return this.isDefaultPrevented=(ot.defaultPrevented!=null?ot.defaultPrevented:ot.returnValue===!1)?ks:Mo,this.isPropagationStopped=Mo,this}return i(T.prototype,{preventDefault:function(){this.defaultPrevented=!0;var U=this.nativeEvent;U&&(U.preventDefault?U.preventDefault():typeof U.returnValue!="unknown"&&(U.returnValue=!1),this.isDefaultPrevented=ks)},stopPropagation:function(){var U=this.nativeEvent;U&&(U.stopPropagation?U.stopPropagation():typeof U.cancelBubble!="unknown"&&(U.cancelBubble=!0),this.isPropagationStopped=ks)},persist:function(){},isPersistent:ks}),T}var Ns={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(g){return g.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},is=Ya(Ns),fo=i({},Ns,{view:0,detail:0}),bn=Ya(fo),as,Ps,Is,oa=i({},fo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:es,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!==Is&&(Is&&g.type==="mousemove"?(as=g.screenX-Is.screenX,Ps=g.screenY-Is.screenY):Ps=as=0,Is=g),as)},movementY:function(g){return"movementY"in g?g.movementY:Ps}}),ss=Ya(oa),Ja=i({},oa,{dataTransfer:0}),$s=Ya(Ja),ho=i({},fo,{relatedTarget:0}),po=Ya(ho),Fo=i({},Ns,{animationName:0,elapsedTime:0,pseudoElement:0}),tu=Ya(Fo),zo=i({},Ns,{clipboardData:function(g){return"clipboardData"in g?g.clipboardData:window.clipboardData}}),Io=Ya(zo),Zo=i({},Ns,{data:0}),ru=Ya(Zo),Ho={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ns={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"},oi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _i(g){var T=this.nativeEvent;return T.getModifierState?T.getModifierState(g):(g=oi[g])?!!T[g]:!1}function es(){return _i}var ts=i({},fo,{key:function(g){if(g.key){var T=Ho[g.key]||g.key;if(T!=="Unidentified")return T}return g.type==="keypress"?(g=ra(g),g===13?"Enter":String.fromCharCode(g)):g.type==="keydown"||g.type==="keyup"?ns[g.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:es,charCode:function(g){return g.type==="keypress"?ra(g):0},keyCode:function(g){return g.type==="keydown"||g.type==="keyup"?g.keyCode:0},which:function(g){return g.type==="keypress"?ra(g):g.type==="keydown"||g.type==="keyup"?g.keyCode:0}}),ds=Ya(ts),Bo=i({},oa,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wo=Ya(Bo),du=i({},fo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:es}),js=Ya(du),No=i({},Ns,{propertyName:0,elapsedTime:0,pseudoElement:0}),nu=Ya(No),yu=i({},oa,{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}),Nu=Ya(yu),Ju=[9,13,27,32],$o=a&&"CompositionEvent"in window,oo=null;a&&"documentMode"in document&&(oo=document.documentMode);var bu=a&&"TextEvent"in window&&!oo,Do=a&&(!$o||oo&&8<oo&&11>=oo),Oo=" ",jo=!1;function Iu(g,T){switch(g){case"keyup":return Ju.indexOf(T.keyCode)!==-1;case"keydown":return T.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vo(g){return g=g.detail,typeof g=="object"&&"data"in g?g.data:null}var iu=!1;function uo(g,T){switch(g){case"compositionend":return Vo(T);case"keypress":return T.which!==32?null:(jo=!0,Oo);case"textInput":return g=T.data,g===Oo&&jo?null:g;default:return null}}function Yo(g,T){if(iu)return g==="compositionend"||!$o&&Iu(g,T)?(g=Li(),fs=cs=ya=null,iu=!1,g):null;switch(g){case"paste":return null;case"keypress":if(!(T.ctrlKey||T.altKey||T.metaKey)||T.ctrlKey&&T.altKey){if(T.char&&1<T.char.length)return T.char;if(T.which)return String.fromCharCode(T.which)}return null;case"compositionend":return Do&&T.locale!=="ko"?null:T.data;default:return null}}var Du={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 qt(g){var T=g&&g.nodeName&&g.nodeName.toLowerCase();return T==="input"?!!Du[g.type]:T==="textarea"}function dr(g,T,U,ve){Ye(ve),T=on(T,"onChange"),0<T.length&&(U=new is("onChange","change",null,U,ve),g.push({event:U,listeners:T}))}var ir=null,hr=null;function Sr(g){Xe(g,0)}function xn(g){var T=So(g);if(nt(T))return g}function Gn(g,T){if(g==="change")return T}var Bn=!1;if(a){var Kn;if(a){var di="oninput"in document;if(!di){var ci=document.createElement("div");ci.setAttribute("oninput","return;"),di=typeof ci.oninput=="function"}Kn=di}else Kn=!1;Bn=Kn&&(!document.documentMode||9<document.documentMode)}function cr(){ir&&(ir.detachEvent("onpropertychange",Mr),hr=ir=null)}function Mr(g){if(g.propertyName==="value"&&xn(hr)){var T=[];if(dr(T,hr,g,Zt(g)),g=Sr,Yr)g(T);else{Yr=!0;try{Lt(g,T)}finally{Yr=!1,wr()}}}}function Fr(g,T,U){g==="focusin"?(cr(),ir=T,hr=U,ir.attachEvent("onpropertychange",Mr)):g==="focusout"&&cr()}function Pn(g){if(g==="selectionchange"||g==="keyup"||g==="keydown")return xn(hr)}function In(g,T){if(g==="click")return xn(T)}function pt(g,T){if(g==="input"||g==="change")return xn(T)}function $n(g,T){return g===T&&(g!==0||1/g===1/T)||g!==g&&T!==T}var Vn=typeof Object.is=="function"?Object.is:$n,zi=Object.prototype.hasOwnProperty;function Yi(g,T){if(Vn(g,T))return!0;if(typeof g!="object"||g===null||typeof T!="object"||T===null)return!1;var U=Object.keys(g),ve=Object.keys(T);if(U.length!==ve.length)return!1;for(ve=0;ve<U.length;ve++)if(!zi.call(T,U[ve])||!Vn(g[U[ve]],T[U[ve]]))return!1;return!0}function zr(g){for(;g&&g.firstChild;)g=g.firstChild;return g}function pa(g,T){var U=zr(g);g=0;for(var ve;U;){if(U.nodeType===3){if(ve=g+U.textContent.length,g<=T&&ve>=T)return{node:U,offset:T-g};g=ve}e:{for(;U;){if(U.nextSibling){U=U.nextSibling;break e}U=U.parentNode}U=void 0}U=zr(U)}}function Ji(g,T){return g&&T?g===T?!0:g&&g.nodeType===3?!1:T&&T.nodeType===3?Ji(g,T.parentNode):"contains"in g?g.contains(T):g.compareDocumentPosition?!!(g.compareDocumentPosition(T)&16):!1:!1}function Ca(){for(var g=window,T=Et();T instanceof g.HTMLIFrameElement;){try{var U=typeof T.contentWindow.location.href=="string"}catch(ve){U=!1}if(U)g=T.contentWindow;else break;T=Et(g.document)}return T}function hs(g){var T=g&&g.nodeName&&g.nodeName.toLowerCase();return T&&(T==="input"&&(g.type==="text"||g.type==="search"||g.type==="tel"||g.type==="url"||g.type==="password")||T==="textarea"||g.contentEditable==="true")}var Rs=a&&"documentMode"in document&&11>=document.documentMode,vi=null,ps=null,lo=null,cn=!1;function Wa(g,T,U){var ve=U.window===U?U.document:U.nodeType===9?U:U.ownerDocument;cn||vi==null||vi!==Et(ve)||(ve=vi,"selectionStart"in ve&&hs(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}),lo&&Yi(lo,ve)||(lo=ve,ve=on(ps,"onSelect"),0<ve.length&&(T=new is("onSelect","select",null,T,U),g.push({event:T,listeners:ve}),T.target=vi)))}Cr("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),Cr("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),Cr(tr,2);for(var Ks="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),mo=0;mo<Ks.length;mo++)at.set(Ks[mo],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 Hn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ls=new Set("cancel close invalid load scroll toggle".split(" ").concat(Hn));function no(g,T,U){var ve=g.type||"unknown-event";g.currentTarget=U,yr(ve,T,void 0,g),g.currentTarget=null}function Xe(g,T){T=(T&4)!==0;for(var U=0;U<g.length;U++){var ve=g[U],ke=ve.event;ve=ve.listeners;e:{var ot=void 0;if(T)for(var Nt=ve.length-1;0<=Nt;Nt--){var nr=ve[Nt],Dr=nr.instance,_n=nr.currentTarget;if(nr=nr.listener,Dr!==ot&&ke.isPropagationStopped())break e;no(ke,nr,_n),ot=Dr}else for(Nt=0;Nt<ve.length;Nt++){if(nr=ve[Nt],Dr=nr.instance,_n=nr.currentTarget,nr=nr.listener,Dr!==ot&&ke.isPropagationStopped())break e;no(ke,nr,_n),ot=Dr}}}if(_t)throw g=gt,_t=!1,gt=null,g}function Qe(g,T){var U=ko(T),ve=g+"__bubble";U.has(ve)||(Br(T,g,2,!1),U.add(ve))}var Mt="_reactListening"+Math.random().toString(36).slice(2);function Gt(g){g[Mt]||(g[Mt]=!0,f.forEach(function(T){Ls.has(T)||vr(T,!1,g,null),vr(T,!0,g,null)}))}function vr(g,T,U,ve){var ke=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,ot=U;if(g==="selectionchange"&&U.nodeType!==9&&(ot=U.ownerDocument),ve!==null&&!T&&Ls.has(g)){if(g!=="scroll")return;ke|=2,ot=ve}var Nt=ko(ot),nr=g+"__"+(T?"capture":"bubble");Nt.has(nr)||(T&&(ke|=4),Br(ot,g,ke,T),Nt.add(nr))}function Br(g,T,U,ve){var ke=at.get(T);switch(ke===void 0?2:ke){case 0:ke=Bs;break;case 1:ke=ro;break;default:ke=ja}U=ke.bind(null,T,U,g),ke=void 0,!Zr||T!=="touchstart"&&T!=="touchmove"&&T!=="wheel"||(ke=!0),ve?ke!==void 0?g.addEventListener(T,U,{capture:!0,passive:ke}):g.addEventListener(T,U,!0):ke!==void 0?g.addEventListener(T,U,{passive:ke}):g.addEventListener(T,U,!1)}function Wr(g,T,U,ve,ke){var ot=ve;if(!(T&1)&&!(T&2)&&ve!==null)e:for(;;){if(ve===null)return;var Nt=ve.tag;if(Nt===3||Nt===4){var nr=ve.stateNode.containerInfo;if(nr===ke||nr.nodeType===8&&nr.parentNode===ke)break;if(Nt===4)for(Nt=ve.return;Nt!==null;){var Dr=Nt.tag;if((Dr===3||Dr===4)&&(Dr=Nt.stateNode.containerInfo,Dr===ke||Dr.nodeType===8&&Dr.parentNode===ke))return;Nt=Nt.return}for(;nr!==null;){if(Nt=us(nr),Nt===null)return;if(Dr=Nt.tag,Dr===5||Dr===6){ve=ot=Nt;continue e}nr=nr.parentNode}}ve=ve.return}jr(function(){var _n=ot,Bi=Zt(U),za=[];e:{var Qn=xe.get(g);if(Qn!==void 0){var da=is,Fa=g;switch(g){case"keypress":if(ra(U)===0)break e;case"keydown":case"keyup":da=ds;break;case"focusin":Fa="focus",da=po;break;case"focusout":Fa="blur",da=po;break;case"beforeblur":case"afterblur":da=po;break;case"click":if(U.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":da=ss;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":da=$s;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":da=js;break;case Ir:case Hr:case ze:da=tu;break;case et:da=nu;break;case"scroll":da=bn;break;case"wheel":da=Nu;break;case"copy":case"cut":case"paste":da=Io;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":da=Wo}var Ta=(T&4)!==0,tn=!Ta&&g==="scroll",Ur=Ta?Qn!==null?Qn+"Capture":null:Qn;Ta=[];for(var qr=_n,kn;qr!==null;){kn=qr;var Zn=kn.stateNode;if(kn.tag===5&&Zn!==null&&(kn=Zn,Ur!==null&&(Zn=mr(qr,Ur),Zn!=null&&Ta.push(wn(qr,Zn,kn)))),tn)break;qr=qr.return}0<Ta.length&&(Qn=new da(Qn,Fa,null,U,Bi),za.push({event:Qn,listeners:Ta}))}}if(!(T&7)){e:{if(Qn=g==="mouseover"||g==="pointerover",da=g==="mouseout"||g==="pointerout",Qn&&!(T&16)&&(Fa=U.relatedTarget||U.fromElement)&&(us(Fa)||Fa[Wi]))break e;if((da||Qn)&&(Qn=Bi.window===Bi?Bi:(Qn=Bi.ownerDocument)?Qn.defaultView||Qn.parentWindow:window,da?(Fa=U.relatedTarget||U.toElement,da=_n,Fa=Fa?us(Fa):null,Fa!==null&&(tn=it(Fa),Fa!==tn||Fa.tag!==5&&Fa.tag!==6)&&(Fa=null)):(da=null,Fa=_n),da!==Fa)){if(Ta=ss,Zn="onMouseLeave",Ur="onMouseEnter",qr="mouse",(g==="pointerout"||g==="pointerover")&&(Ta=Wo,Zn="onPointerLeave",Ur="onPointerEnter",qr="pointer"),tn=da==null?Qn:So(da),kn=Fa==null?Qn:So(Fa),Qn=new Ta(Zn,qr+"leave",da,U,Bi),Qn.target=tn,Qn.relatedTarget=kn,Zn=null,us(Bi)===_n&&(Ta=new Ta(Ur,qr+"enter",Fa,U,Bi),Ta.target=kn,Ta.relatedTarget=tn,Zn=Ta),tn=Zn,da&&Fa)t:{for(Ta=da,Ur=Fa,qr=0,kn=Ta;kn;kn=Sn(kn))qr++;for(kn=0,Zn=Ur;Zn;Zn=Sn(Zn))kn++;for(;0<qr-kn;)Ta=Sn(Ta),qr--;for(;0<kn-qr;)Ur=Sn(Ur),kn--;for(;qr--;){if(Ta===Ur||Ur!==null&&Ta===Ur.alternate)break t;Ta=Sn(Ta),Ur=Sn(Ur)}Ta=null}else Ta=null;da!==null&&ri(za,Qn,da,Ta,!1),Fa!==null&&tn!==null&&ri(za,tn,Fa,Ta,!0)}}e:{if(Qn=_n?So(_n):window,da=Qn.nodeName&&Qn.nodeName.toLowerCase(),da==="select"||da==="input"&&Qn.type==="file")var Va=Gn;else if(qt(Qn))if(Bn)Va=pt;else{Va=Pn;var Ki=Fr}else(da=Qn.nodeName)&&da.toLowerCase()==="input"&&(Qn.type==="checkbox"||Qn.type==="radio")&&(Va=In);if(Va&&(Va=Va(g,_n))){dr(za,Va,U,Bi);break e}Ki&&Ki(g,Qn,_n),g==="focusout"&&(Ki=Qn._wrapperState)&&Ki.controlled&&Qn.type==="number"&&Le(Qn,"number",Qn.value)}switch(Ki=_n?So(_n):window,g){case"focusin":(qt(Ki)||Ki.contentEditable==="true")&&(vi=Ki,ps=_n,lo=null);break;case"focusout":lo=ps=vi=null;break;case"mousedown":cn=!0;break;case"contextmenu":case"mouseup":case"dragend":cn=!1,Wa(za,U,Bi);break;case"selectionchange":if(Rs)break;case"keydown":case"keyup":Wa(za,U,Bi)}var Ga;if($o)e:{switch(g){case"compositionstart":var ls="onCompositionStart";break e;case"compositionend":ls="onCompositionEnd";break e;case"compositionupdate":ls="onCompositionUpdate";break e}ls=void 0}else iu?Iu(g,U)&&(ls="onCompositionEnd"):g==="keydown"&&U.keyCode===229&&(ls="onCompositionStart");ls&&(Do&&U.locale!=="ko"&&(iu||ls!=="onCompositionStart"?ls==="onCompositionEnd"&&iu&&(Ga=Li()):(ya=Bi,cs="value"in ya?ya.value:ya.textContent,iu=!0)),Ki=on(_n,ls),0<Ki.length&&(ls=new ru(ls,g,null,U,Bi),za.push({event:ls,listeners:Ki}),Ga?ls.data=Ga:(Ga=Vo(U),Ga!==null&&(ls.data=Ga)))),(Ga=bu?uo(g,U):Yo(g,U))&&(_n=on(_n,"onBeforeInput"),0<_n.length&&(Bi=new ru("onBeforeInput","beforeinput",null,U,Bi),za.push({event:Bi,listeners:_n}),Bi.data=Ga))}Xe(za,T)})}function wn(g,T,U){return{instance:g,listener:T,currentTarget:U}}function on(g,T){for(var U=T+"Capture",ve=[];g!==null;){var ke=g,ot=ke.stateNode;ke.tag===5&&ot!==null&&(ke=ot,ot=mr(g,U),ot!=null&&ve.unshift(wn(g,ot,ke)),ot=mr(g,T),ot!=null&&ve.push(wn(g,ot,ke))),g=g.return}return ve}function Sn(g){if(g===null)return null;do g=g.return;while(g&&g.tag!==5);return g||null}function ri(g,T,U,ve,ke){for(var ot=T._reactName,Nt=[];U!==null&&U!==ve;){var nr=U,Dr=nr.alternate,_n=nr.stateNode;if(Dr!==null&&Dr===ve)break;nr.tag===5&&_n!==null&&(nr=_n,ke?(Dr=mr(U,ot),Dr!=null&&Nt.unshift(wn(U,Dr,nr))):ke||(Dr=mr(U,ot),Dr!=null&&Nt.push(wn(U,Dr,nr)))),U=U.return}Nt.length!==0&&g.push({event:T,listeners:Nt})}function ai(){}var Ai=null,Ui=null;function na(g,T){switch(g){case"button":case"input":case"select":case"textarea":return!!T.autoFocus}return!1}function Xi(g,T){return g==="textarea"||g==="option"||g==="noscript"||typeof T.children=="string"||typeof T.children=="number"||typeof T.dangerouslySetInnerHTML=="object"&&T.dangerouslySetInnerHTML!==null&&T.dangerouslySetInnerHTML.__html!=null}var Oi=typeof setTimeout=="function"?setTimeout:void 0,Da=typeof clearTimeout=="function"?clearTimeout:void 0;function Mi(g){g.nodeType===1?g.textContent="":g.nodeType===9&&(g=g.body,g!=null&&(g.textContent=""))}function Di(g){for(;g!=null;g=g.nextSibling){var T=g.nodeType;if(T===1||T===3)break}return g}function wa(g){g=g.previousSibling;for(var T=0;g;){if(g.nodeType===8){var U=g.data;if(U==="$"||U==="$!"||U==="$?"){if(T===0)return g;T--}else U==="/$"&&T++}g=g.previousSibling}return null}var _o=0;function Us(g){return{$$typeof:z,toString:g,valueOf:g}}var ua=Math.random().toString(36).slice(2),Xa="__reactFiber$"+ua,va="__reactProps$"+ua,Wi="__reactContainer$"+ua,Pa="__reactEvents$"+ua;function us(g){var T=g[Xa];if(T)return T;for(var U=g.parentNode;U;){if(T=U[Wi]||U[Xa]){if(U=T.alternate,T.child!==null||U!==null&&U.child!==null)for(g=wa(g);g!==null;){if(U=g[Xa])return U;g=wa(g)}return T}g=U,U=g.parentNode}return null}function ms(g){return g=g[Xa]||g[Wi],!g||g.tag!==5&&g.tag!==6&&g.tag!==13&&g.tag!==3?null:g}function So(g){if(g.tag===5||g.tag===6)return g.stateNode;throw Error(c(33))}function gs(g){return g[va]||null}function ko(g){var T=g[Pa];return T===void 0&&(T=g[Pa]=new Set),T}var _s=[],yo=-1;function bo(g){return{current:g}}function Sa(g){0>yo||(g.current=_s[yo],_s[yo]=null,yo--)}function rs(g,T){yo++,_s[yo]=g.current,g.current=T}var Xs={},Oa=bo(Xs),ye=bo(!1),we=Xs;function xr(g,T){var U=g.type.contextTypes;if(!U)return Xs;var ve=g.stateNode;if(ve&&ve.__reactInternalMemoizedUnmaskedChildContext===T)return ve.__reactInternalMemoizedMaskedChildContext;var ke={},ot;for(ot in U)ke[ot]=T[ot];return ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=T,g.__reactInternalMemoizedMaskedChildContext=ke),ke}function Qr(g){return g=g.childContextTypes,g!=null}function _r(){Sa(ye),Sa(Oa)}function en(g,T,U){if(Oa.current!==Xs)throw Error(c(168));rs(Oa,T),rs(ye,U)}function Mn(g,T,U){var ve=g.stateNode;if(g=T.childContextTypes,typeof ve.getChildContext!="function")return U;ve=ve.getChildContext();for(var ke in ve)if(!(ke in g))throw Error(c(108,Yt(T)||"Unknown",ke));return i({},U,ve)}function ni(g){return g=(g=g.stateNode)&&g.__reactInternalMemoizedMergedChildContext||Xs,we=Oa.current,rs(Oa,g),rs(ye,ye.current),!0}function Qi(g,T,U){var ve=g.stateNode;if(!ve)throw Error(c(169));U?(g=Mn(g,T,we),ve.__reactInternalMemoizedMergedChildContext=g,Sa(ye),Sa(Oa),rs(Oa,g)):Sa(ye),rs(ye,U)}var zn=null,jn=null,Yn=l.unstable_runWithPriority,xa=l.unstable_scheduleCallback,ia=l.unstable_cancelCallback,Ao=l.unstable_shouldYield,xo=l.unstable_requestPaint,xu=l.unstable_now,Rl=l.unstable_getCurrentPriorityLevel,El=l.unstable_ImmediatePriority,$u=l.unstable_UserBlockingPriority,df=l.unstable_NormalPriority,ju=l.unstable_LowPriority,Ve=l.unstable_IdlePriority,Z={},X=xo!==void 0?xo:function(){},te=null,de=null,Te=!1,Ke=xu(),Ct=1e4>Ke?xu:function(){return xu()-Ke};function Ut(){switch(Rl()){case El:return 99;case $u:return 98;case df:return 97;case ju:return 96;case Ve:return 95;default:throw Error(c(332))}}function er(g){switch(g){case 99:return El;case 98:return $u;case 97:return df;case 96:return ju;case 95:return Ve;default:throw Error(c(332))}}function br(g,T){return g=er(g),Yn(g,T)}function Gr(g,T,U){return g=er(g),xa(g,T,U)}function fn(){if(de!==null){var g=de;de=null,ia(g)}Dn()}function Dn(){if(!Te&&te!==null){Te=!0;var g=0;try{var T=te;br(99,function(){for(;g<T.length;g++){var U=T[g];do U=U(!0);while(U!==null)}}),te=null}catch(U){throw te!==null&&(te=te.slice(g+1)),xa(El,fn),U}finally{Te=!1}}}var Xn=N.ReactCurrentBatchConfig;function ei(g,T){if(g&&g.defaultProps){T=i({},T),g=g.defaultProps;for(var U in g)T[U]===void 0&&(T[U]=g[U]);return T}return T}var Ci=bo(null),Aa=null,la=null,Er=null;function ys(){Er=la=Aa=null}function bs(g){var T=Ci.current;Sa(Ci),g.type._context._currentValue=T}function Ws(g,T){for(;g!==null;){var U=g.alternate;if((g.childLanes&T)===T){if(U===null||(U.childLanes&T)===T)break;U.childLanes|=T}else g.childLanes|=T,U!==null&&(U.childLanes|=T);g=g.return}}function os(g,T){Aa=g,Er=la=null,g=g.dependencies,g!==null&&g.firstContext!==null&&(g.lanes&T&&(il=!0),g.firstContext=null)}function Ua(g,T){if(Er!==g&&T!==!1&&T!==0)if((typeof T!="number"||T===1073741823)&&(Er=g,T=1073741823),T={context:g,observedBits:T,next:null},la===null){if(Aa===null)throw Error(c(308));la=T,Aa.dependencies={lanes:0,firstContext:T,responders:null}}else la=la.next=T;return g._currentValue}var io=!1;function Qs(g){g.updateQueue={baseState:g.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ki(g,T){g=g.updateQueue,T.updateQueue===g&&(T.updateQueue={baseState:g.baseState,firstBaseUpdate:g.firstBaseUpdate,lastBaseUpdate:g.lastBaseUpdate,shared:g.shared,effects:g.effects})}function Ro(g,T){return{eventTime:g,lane:T,tag:0,payload:null,callback:null,next:null}}function vo(g,T){if(g=g.updateQueue,g!==null){g=g.shared;var U=g.pending;U===null?T.next=T:(T.next=U.next,U.next=T),g.pending=T}}function au(g,T){var U=g.updateQueue,ve=g.alternate;if(ve!==null&&(ve=ve.updateQueue,U===ve)){var ke=null,ot=null;if(U=U.firstBaseUpdate,U!==null){do{var Nt={eventTime:U.eventTime,lane:U.lane,tag:U.tag,payload:U.payload,callback:U.callback,next:null};ot===null?ke=ot=Nt:ot=ot.next=Nt,U=U.next}while(U!==null);ot===null?ke=ot=T:ot=ot.next=T}else ke=ot=T;U={baseState:ve.baseState,firstBaseUpdate:ke,lastBaseUpdate:ot,shared:ve.shared,effects:ve.effects},g.updateQueue=U;return}g=U.lastBaseUpdate,g===null?U.firstBaseUpdate=T:g.next=T,U.lastBaseUpdate=T}function qs(g,T,U,ve){var ke=g.updateQueue;io=!1;var ot=ke.firstBaseUpdate,Nt=ke.lastBaseUpdate,nr=ke.shared.pending;if(nr!==null){ke.shared.pending=null;var Dr=nr,_n=Dr.next;Dr.next=null,Nt===null?ot=_n:Nt.next=_n,Nt=Dr;var Bi=g.alternate;if(Bi!==null){Bi=Bi.updateQueue;var za=Bi.lastBaseUpdate;za!==Nt&&(za===null?Bi.firstBaseUpdate=_n:za.next=_n,Bi.lastBaseUpdate=Dr)}}if(ot!==null){za=ke.baseState,Nt=0,Bi=_n=Dr=null;do{nr=ot.lane;var Qn=ot.eventTime;if((ve&nr)===nr){Bi!==null&&(Bi=Bi.next={eventTime:Qn,lane:0,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null});e:{var da=g,Fa=ot;switch(nr=T,Qn=U,Fa.tag){case 1:if(da=Fa.payload,typeof da=="function"){za=da.call(Qn,za,nr);break e}za=da;break e;case 3:da.flags=da.flags&-4097|64;case 0:if(da=Fa.payload,nr=typeof da=="function"?da.call(Qn,za,nr):da,nr==null)break e;za=i({},za,nr);break e;case 2:io=!0}}ot.callback!==null&&(g.flags|=32,nr=ke.effects,nr===null?ke.effects=[ot]:nr.push(ot))}else Qn={eventTime:Qn,lane:nr,tag:ot.tag,payload:ot.payload,callback:ot.callback,next:null},Bi===null?(_n=Bi=Qn,Dr=za):Bi=Bi.next=Qn,Nt|=nr;if(ot=ot.next,ot===null){if(nr=ke.shared.pending,nr===null)break;ot=nr.next,nr.next=null,ke.lastBaseUpdate=nr,ke.shared.pending=null}}while(!0);Bi===null&&(Dr=za),ke.baseState=Dr,ke.firstBaseUpdate=_n,ke.lastBaseUpdate=Bi,Eo|=Nt,g.lanes=Nt,g.memoizedState=za}}function To(g,T,U){if(g=T.effects,T.effects=null,g!==null)for(T=0;T<g.length;T++){var ve=g[T],ke=ve.callback;if(ke!==null){if(ve.callback=null,ve=U,typeof ke!="function")throw Error(c(191,ke));ke.call(ve)}}}var xs=new r.Component().refs;function ic(g,T,U,ve){T=g.memoizedState,U=U(ve,T),U=U==null?T:i({},T,U),g.memoizedState=U,g.lanes===0&&(g.updateQueue.baseState=U)}var cl={isMounted:function(g){return(g=g._reactInternals)?it(g)===g:!1},enqueueSetState:function(g,T,U){g=g._reactInternals;var ve=Lu(),ke=Il(g),ot=Ro(ve,ke);ot.payload=T,U!=null&&(ot.callback=U),vo(g,ot),Mu(g,ke,ve)},enqueueReplaceState:function(g,T,U){g=g._reactInternals;var ve=Lu(),ke=Il(g),ot=Ro(ve,ke);ot.tag=1,ot.payload=T,U!=null&&(ot.callback=U),vo(g,ot),Mu(g,ke,ve)},enqueueForceUpdate:function(g,T){g=g._reactInternals;var U=Lu(),ve=Il(g),ke=Ro(U,ve);ke.tag=2,T!=null&&(ke.callback=T),vo(g,ke),Mu(g,ve,U)}};function fl(g,T,U,ve,ke,ot,Nt){return g=g.stateNode,typeof g.shouldComponentUpdate=="function"?g.shouldComponentUpdate(ve,ot,Nt):T.prototype&&T.prototype.isPureReactComponent?!Yi(U,ve)||!Yi(ke,ot):!0}function el(g,T,U){var ve=!1,ke=Xs,ot=T.contextType;return typeof ot=="object"&&ot!==null?ot=Ua(ot):(ke=Qr(T)?we:Oa.current,ve=T.contextTypes,ot=(ve=ve!=null)?xr(g,ke):Xs),T=new T(U,ot),g.memoizedState=T.state!==null&&T.state!==void 0?T.state:null,T.updater=cl,g.stateNode=T,T._reactInternals=g,ve&&(g=g.stateNode,g.__reactInternalMemoizedUnmaskedChildContext=ke,g.__reactInternalMemoizedMaskedChildContext=ot),T}function Vs(g,T,U,ve){g=T.state,typeof T.componentWillReceiveProps=="function"&&T.componentWillReceiveProps(U,ve),typeof T.UNSAFE_componentWillReceiveProps=="function"&&T.UNSAFE_componentWillReceiveProps(U,ve),T.state!==g&&cl.enqueueReplaceState(T,T.state,null)}function dl(g,T,U,ve){var ke=g.stateNode;ke.props=U,ke.state=g.memoizedState,ke.refs=xs,Qs(g);var ot=T.contextType;typeof ot=="object"&&ot!==null?ke.context=Ua(ot):(ot=Qr(T)?we:Oa.current,ke.context=xr(g,ot)),qs(g,U,ke,ve),ke.state=g.memoizedState,ot=T.getDerivedStateFromProps,typeof ot=="function"&&(ic(g,T,ot,U),ke.state=g.memoizedState),typeof T.getDerivedStateFromProps=="function"||typeof ke.getSnapshotBeforeUpdate=="function"||typeof ke.UNSAFE_componentWillMount!="function"&&typeof ke.componentWillMount!="function"||(T=ke.state,typeof ke.componentWillMount=="function"&&ke.componentWillMount(),typeof ke.UNSAFE_componentWillMount=="function"&&ke.UNSAFE_componentWillMount(),T!==ke.state&&cl.enqueueReplaceState(ke,ke.state,null),qs(g,U,ke,ve),ke.state=g.memoizedState),typeof ke.componentDidMount=="function"&&(g.flags|=4)}var Uu=Array.isArray;function Js(g,T,U){if(g=U.ref,g!==null&&typeof g!="function"&&typeof g!="object"){if(U._owner){if(U=U._owner,U){if(U.tag!==1)throw Error(c(309));var ve=U.stateNode}if(!ve)throw Error(c(147,g));var ke=""+g;return T!==null&&T.ref!==null&&typeof T.ref=="function"&&T.ref._stringRef===ke?T.ref:(T=function(ot){var Nt=ve.refs;Nt===xs&&(Nt=ve.refs={}),ot===null?delete Nt[ke]:Nt[ke]=ot},T._stringRef=ke,T)}if(typeof g!="string")throw Error(c(284));if(!U._owner)throw Error(c(290,g))}return g}function hl(g,T){if(g.type!=="textarea")throw Error(c(31,Object.prototype.toString.call(T)==="[object Object]"?"object with keys {"+Object.keys(T).join(", ")+"}":T))}function Ll(g){function T(tn,Ur){if(g){var qr=tn.lastEffect;qr!==null?(qr.nextEffect=Ur,tn.lastEffect=Ur):tn.firstEffect=tn.lastEffect=Ur,Ur.nextEffect=null,Ur.flags=8}}function U(tn,Ur){if(!g)return null;for(;Ur!==null;)T(tn,Ur),Ur=Ur.sibling;return null}function ve(tn,Ur){for(tn=new Map;Ur!==null;)Ur.key!==null?tn.set(Ur.key,Ur):tn.set(Ur.index,Ur),Ur=Ur.sibling;return tn}function ke(tn,Ur){return tn=kl(tn,Ur),tn.index=0,tn.sibling=null,tn}function ot(tn,Ur,qr){return tn.index=qr,g?(qr=tn.alternate,qr!==null?(qr=qr.index,qr<Ur?(tn.flags=2,Ur):qr):(tn.flags=2,Ur)):Ur}function Nt(tn){return g&&tn.alternate===null&&(tn.flags=2),tn}function nr(tn,Ur,qr,kn){return Ur===null||Ur.tag!==6?(Ur=Lf(qr,tn.mode,kn),Ur.return=tn,Ur):(Ur=ke(Ur,qr),Ur.return=tn,Ur)}function Dr(tn,Ur,qr,kn){return Ur!==null&&Ur.elementType===qr.type?(kn=ke(Ur,qr.props),kn.ref=Js(tn,Ur,qr),kn.return=tn,kn):(kn=Jl(qr.type,qr.key,qr.props,null,tn.mode,kn),kn.ref=Js(tn,Ur,qr),kn.return=tn,kn)}function _n(tn,Ur,qr,kn){return Ur===null||Ur.tag!==4||Ur.stateNode.containerInfo!==qr.containerInfo||Ur.stateNode.implementation!==qr.implementation?(Ur=lf(qr,tn.mode,kn),Ur.return=tn,Ur):(Ur=ke(Ur,qr.children||[]),Ur.return=tn,Ur)}function Bi(tn,Ur,qr,kn,Zn){return Ur===null||Ur.tag!==7?(Ur=ou(qr,tn.mode,kn,Zn),Ur.return=tn,Ur):(Ur=ke(Ur,qr),Ur.return=tn,Ur)}function za(tn,Ur,qr){if(typeof Ur=="string"||typeof Ur=="number")return Ur=Lf(""+Ur,tn.mode,qr),Ur.return=tn,Ur;if(typeof Ur=="object"&&Ur!==null){switch(Ur.$$typeof){case G:return qr=Jl(Ur.type,Ur.key,Ur.props,null,tn.mode,qr),qr.ref=Js(tn,null,Ur),qr.return=tn,qr;case W:return Ur=lf(Ur,tn.mode,qr),Ur.return=tn,Ur}if(Uu(Ur)||Ze(Ur))return Ur=ou(Ur,tn.mode,qr,null),Ur.return=tn,Ur;hl(tn,Ur)}return null}function Qn(tn,Ur,qr,kn){var Zn=Ur!==null?Ur.key:null;if(typeof qr=="string"||typeof qr=="number")return Zn!==null?null:nr(tn,Ur,""+qr,kn);if(typeof qr=="object"&&qr!==null){switch(qr.$$typeof){case G:return qr.key===Zn?qr.type===H?Bi(tn,Ur,qr.props.children,kn,Zn):Dr(tn,Ur,qr,kn):null;case W:return qr.key===Zn?_n(tn,Ur,qr,kn):null}if(Uu(qr)||Ze(qr))return Zn!==null?null:Bi(tn,Ur,qr,kn,null);hl(tn,qr)}return null}function da(tn,Ur,qr,kn,Zn){if(typeof kn=="string"||typeof kn=="number")return tn=tn.get(qr)||null,nr(Ur,tn,""+kn,Zn);if(typeof kn=="object"&&kn!==null){switch(kn.$$typeof){case G:return tn=tn.get(kn.key===null?qr:kn.key)||null,kn.type===H?Bi(Ur,tn,kn.props.children,Zn,kn.key):Dr(Ur,tn,kn,Zn);case W:return tn=tn.get(kn.key===null?qr:kn.key)||null,_n(Ur,tn,kn,Zn)}if(Uu(kn)||Ze(kn))return tn=tn.get(qr)||null,Bi(Ur,tn,kn,Zn,null);hl(Ur,kn)}return null}function Fa(tn,Ur,qr,kn){for(var Zn=null,Va=null,Ki=Ur,Ga=Ur=0,ls=null;Ki!==null&&Ga<qr.length;Ga++){Ki.index>Ga?(ls=Ki,Ki=null):ls=Ki.sibling;var qa=Qn(tn,Ki,qr[Ga],kn);if(qa===null){Ki===null&&(Ki=ls);break}g&&Ki&&qa.alternate===null&&T(tn,Ki),Ur=ot(qa,Ur,Ga),Va===null?Zn=qa:Va.sibling=qa,Va=qa,Ki=ls}if(Ga===qr.length)return U(tn,Ki),Zn;if(Ki===null){for(;Ga<qr.length;Ga++)Ki=za(tn,qr[Ga],kn),Ki!==null&&(Ur=ot(Ki,Ur,Ga),Va===null?Zn=Ki:Va.sibling=Ki,Va=Ki);return Zn}for(Ki=ve(tn,Ki);Ga<qr.length;Ga++)ls=da(Ki,tn,Ga,qr[Ga],kn),ls!==null&&(g&&ls.alternate!==null&&Ki.delete(ls.key===null?Ga:ls.key),Ur=ot(ls,Ur,Ga),Va===null?Zn=ls:Va.sibling=ls,Va=ls);return g&&Ki.forEach(function(Zc){return T(tn,Zc)}),Zn}function Ta(tn,Ur,qr,kn){var Zn=Ze(qr);if(typeof Zn!="function")throw Error(c(150));if(qr=Zn.call(qr),qr==null)throw Error(c(151));for(var Va=Zn=null,Ki=Ur,Ga=Ur=0,ls=null,qa=qr.next();Ki!==null&&!qa.done;Ga++,qa=qr.next()){Ki.index>Ga?(ls=Ki,Ki=null):ls=Ki.sibling;var Zc=Qn(tn,Ki,qa.value,kn);if(Zc===null){Ki===null&&(Ki=ls);break}g&&Ki&&Zc.alternate===null&&T(tn,Ki),Ur=ot(Zc,Ur,Ga),Va===null?Zn=Zc:Va.sibling=Zc,Va=Zc,Ki=ls}if(qa.done)return U(tn,Ki),Zn;if(Ki===null){for(;!qa.done;Ga++,qa=qr.next())qa=za(tn,qa.value,kn),qa!==null&&(Ur=ot(qa,Ur,Ga),Va===null?Zn=qa:Va.sibling=qa,Va=qa);return Zn}for(Ki=ve(tn,Ki);!qa.done;Ga++,qa=qr.next())qa=da(Ki,tn,Ga,qa.value,kn),qa!==null&&(g&&qa.alternate!==null&&Ki.delete(qa.key===null?Ga:qa.key),Ur=ot(qa,Ur,Ga),Va===null?Zn=qa:Va.sibling=qa,Va=qa);return g&&Ki.forEach(function(sd){return T(tn,sd)}),Zn}return function(tn,Ur,qr,kn){var Zn=typeof qr=="object"&&qr!==null&&qr.type===H&&qr.key===null;Zn&&(qr=qr.props.children);var Va=typeof qr=="object"&&qr!==null;if(Va)switch(qr.$$typeof){case G:e:{for(Va=qr.key,Zn=Ur;Zn!==null;){if(Zn.key===Va){switch(Zn.tag){case 7:if(qr.type===H){U(tn,Zn.sibling),Ur=ke(Zn,qr.props.children),Ur.return=tn,tn=Ur;break e}break;default:if(Zn.elementType===qr.type){U(tn,Zn.sibling),Ur=ke(Zn,qr.props),Ur.ref=Js(tn,Zn,qr),Ur.return=tn,tn=Ur;break e}}U(tn,Zn);break}else T(tn,Zn);Zn=Zn.sibling}qr.type===H?(Ur=ou(qr.props.children,tn.mode,kn,qr.key),Ur.return=tn,tn=Ur):(kn=Jl(qr.type,qr.key,qr.props,null,tn.mode,kn),kn.ref=Js(tn,Ur,qr),kn.return=tn,tn=kn)}return Nt(tn);case W:e:{for(Zn=qr.key;Ur!==null;){if(Ur.key===Zn)if(Ur.tag===4&&Ur.stateNode.containerInfo===qr.containerInfo&&Ur.stateNode.implementation===qr.implementation){U(tn,Ur.sibling),Ur=ke(Ur,qr.children||[]),Ur.return=tn,tn=Ur;break e}else{U(tn,Ur);break}else T(tn,Ur);Ur=Ur.sibling}Ur=lf(qr,tn.mode,kn),Ur.return=tn,tn=Ur}return Nt(tn)}if(typeof qr=="string"||typeof qr=="number")return qr=""+qr,Ur!==null&&Ur.tag===6?(U(tn,Ur.sibling),Ur=ke(Ur,qr),Ur.return=tn,tn=Ur):(U(tn,Ur),Ur=Lf(qr,tn.mode,kn),Ur.return=tn,tn=Ur),Nt(tn);if(Uu(qr))return Fa(tn,Ur,qr,kn);if(Ze(qr))return Ta(tn,Ur,qr,kn);if(Va&&hl(tn,qr),typeof qr=="undefined"&&!Zn)switch(tn.tag){case 1:case 22:case 0:case 11:case 15:throw Error(c(152,Yt(tn.type)||"Component"))}return U(tn,Ur)}}var hu=Ll(!0),Ml=Ll(!1),eo={},pu=bo(eo),pl=bo(eo),Hl=bo(eo);function zu(g){if(g===eo)throw Error(c(174));return g}function Ac(g,T){switch(rs(Hl,T),rs(pl,g),rs(pu,eo),g=T.nodeType,g){case 9:case 11:T=(T=T.documentElement)?T.namespaceURI:kt(null,"");break;default:g=g===8?T.parentNode:T,T=g.namespaceURI||null,g=g.tagName,T=kt(T,g)}Sa(pu),rs(pu,T)}function ac(){Sa(pu),Sa(pl),Sa(Hl)}function hi(g){zu(Hl.current);var T=zu(pu.current),U=kt(T,g.type);T!==U&&(rs(pl,g),rs(pu,U))}function Tc(g){pl.current===g&&(Sa(pu),Sa(pl))}var ao=bo(0);function sc(g){for(var T=g;T!==null;){if(T.tag===13){var U=T.memoizedState;if(U!==null&&(U=U.dehydrated,U===null||U.data==="$?"||U.data==="$!"))return T}else if(T.tag===19&&T.memoizedProps.revealOrder!==void 0){if(T.flags&64)return T}else if(T.child!==null){T.child.return=T,T=T.child;continue}if(T===g)break;for(;T.sibling===null;){if(T.return===null||T.return===g)return null;T=T.return}T.sibling.return=T.return,T=T.sibling}return null}var Ou=null,wl=null,tl=!1;function Cc(g,T){var U=eu(5,null,null,0);U.elementType="DELETED",U.type="DELETED",U.stateNode=T,U.return=g,U.flags=8,g.lastEffect!==null?(g.lastEffect.nextEffect=U,g.lastEffect=U):g.firstEffect=g.lastEffect=U}function Kc(g,T){switch(g.tag){case 5:var U=g.type;return T=T.nodeType!==1||U.toLowerCase()!==T.nodeName.toLowerCase()?null:T,T!==null?(g.stateNode=T,!0):!1;case 6:return T=g.pendingProps===""||T.nodeType!==3?null:T,T!==null?(g.stateNode=T,!0):!1;case 13:return!1;default:return!1}}function Lo(g){if(tl){var T=wl;if(T){var U=T;if(!Kc(g,T)){if(T=Di(U.nextSibling),!T||!Kc(g,T)){g.flags=g.flags&-1025|2,tl=!1,Ou=g;return}Cc(Ou,U)}Ou=g,wl=Di(T.firstChild)}else g.flags=g.flags&-1025|2,tl=!1,Ou=g}}function Vc(g){for(g=g.return;g!==null&&g.tag!==5&&g.tag!==3&&g.tag!==13;)g=g.return;Ou=g}function hf(g){if(g!==Ou)return!1;if(!tl)return Vc(g),tl=!0,!1;var T=g.type;if(g.tag!==5||T!=="head"&&T!=="body"&&!Xi(T,g.memoizedProps))for(T=wl;T;)Cc(g,T),T=Di(T.nextSibling);if(Vc(g),g.tag===13){if(g=g.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(c(317));e:{for(g=g.nextSibling,T=0;g;){if(g.nodeType===8){var U=g.data;if(U==="/$"){if(T===0){wl=Di(g.nextSibling);break e}T--}else U!=="$"&&U!=="$!"&&U!=="$?"||T++}g=g.nextSibling}wl=null}}else wl=Ou?Di(g.stateNode.nextSibling):null;return!0}function oc(){wl=Ou=null,tl=!1}var ml=[];function pf(){for(var g=0;g<ml.length;g++)ml[g]._workInProgressVersionPrimary=null;ml.length=0}var Uo=N.ReactCurrentDispatcher,Zu=N.ReactCurrentBatchConfig,Wl=0,Es=null,Xo=null,su=null,Pc=!1,uu=!1;function mu(){throw Error(c(321))}function Ic(g,T){if(T===null)return!1;for(var U=0;U<T.length&&U<g.length;U++)if(!Vn(g[U],T[U]))return!1;return!0}function Yc(g,T,U,ve,ke,ot){if(Wl=ot,Es=T,T.memoizedState=null,T.updateQueue=null,T.lanes=0,Uo.current=g===null||g.memoizedState===null?Ms:go,g=U(ve,ke),uu){ot=0;do{if(uu=!1,!(25>ot))throw Error(c(301));ot+=1,su=Xo=null,T.updateQueue=null,Uo.current=_l,g=U(ve,ke)}while(uu)}if(Uo.current=Vl,T=Xo!==null&&Xo.next!==null,Wl=0,su=Xo=Es=null,Pc=!1,T)throw Error(c(300));return g}function Eu(){var g={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return su===null?Es.memoizedState=su=g:su=su.next=g,su}function Gl(){if(Xo===null){var g=Es.alternate;g=g!==null?g.memoizedState:null}else g=Xo.next;var T=su===null?Es.memoizedState:su.next;if(T!==null)su=T,Xo=g;else{if(g===null)throw Error(c(310));Xo=g,g={memoizedState:Xo.memoizedState,baseState:Xo.baseState,baseQueue:Xo.baseQueue,queue:Xo.queue,next:null},su===null?Es.memoizedState=su=g:su=su.next=g}return su}function Hu(g,T){return typeof T=="function"?T(g):T}function Dc(g){var T=Gl(),U=T.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ve=Xo,ke=ve.baseQueue,ot=U.pending;if(ot!==null){if(ke!==null){var Nt=ke.next;ke.next=ot.next,ot.next=Nt}ve.baseQueue=ke=ot,U.pending=null}if(ke!==null){ke=ke.next,ve=ve.baseState;var nr=Nt=ot=null,Dr=ke;do{var _n=Dr.lane;if((Wl&_n)===_n)nr!==null&&(nr=nr.next={lane:0,action:Dr.action,eagerReducer:Dr.eagerReducer,eagerState:Dr.eagerState,next:null}),ve=Dr.eagerReducer===g?Dr.eagerState:g(ve,Dr.action);else{var Bi={lane:_n,action:Dr.action,eagerReducer:Dr.eagerReducer,eagerState:Dr.eagerState,next:null};nr===null?(Nt=nr=Bi,ot=ve):nr=nr.next=Bi,Es.lanes|=_n,Eo|=_n}Dr=Dr.next}while(Dr!==null&&Dr!==ke);nr===null?ot=ve:nr.next=Nt,Vn(ve,T.memoizedState)||(il=!0),T.memoizedState=ve,T.baseState=ot,T.baseQueue=nr,U.lastRenderedState=ve}return[T.memoizedState,U.dispatch]}function Fl(g){var T=Gl(),U=T.queue;if(U===null)throw Error(c(311));U.lastRenderedReducer=g;var ve=U.dispatch,ke=U.pending,ot=T.memoizedState;if(ke!==null){U.pending=null;var Nt=ke=ke.next;do ot=g(ot,Nt.action),Nt=Nt.next;while(Nt!==ke);Vn(ot,T.memoizedState)||(il=!0),T.memoizedState=ot,T.baseQueue===null&&(T.baseState=ot),U.lastRenderedState=ot}return[ot,ve]}function Qa(g,T,U){var ve=T._getVersion;ve=ve(T._source);var ke=T._workInProgressVersionPrimary;if(ke!==null?g=ke===ve:(g=g.mutableReadLanes,(g=(Wl&g)===g)&&(T._workInProgressVersionPrimary=ve,ml.push(T))),g)return U(T._source);throw ml.push(T),Error(c(350))}function mf(g,T,U,ve){var ke=hn;if(ke===null)throw Error(c(349));var ot=T._getVersion,Nt=ot(T._source),nr=Uo.current,Dr=nr.useState(function(){return Qa(ke,T,U)}),_n=Dr[1],Bi=Dr[0];Dr=su;var za=g.memoizedState,Qn=za.refs,da=Qn.getSnapshot,Fa=za.source;za=za.subscribe;var Ta=Es;return g.memoizedState={refs:Qn,source:T,subscribe:ve},nr.useEffect(function(){Qn.getSnapshot=U,Qn.setSnapshot=_n;var tn=ot(T._source);if(!Vn(Nt,tn)){tn=U(T._source),Vn(Bi,tn)||(_n(tn),tn=Il(Ta),ke.mutableReadLanes|=tn&ke.pendingLanes),tn=ke.mutableReadLanes,ke.entangledLanes|=tn;for(var Ur=ke.entanglements,qr=tn;0<qr;){var kn=31-Ii(qr),Zn=1<<kn;Ur[kn]|=tn,qr&=~Zn}}},[U,T,ve]),nr.useEffect(function(){return ve(T._source,function(){var tn=Qn.getSnapshot,Ur=Qn.setSnapshot;try{Ur(tn(T._source));var qr=Il(Ta);ke.mutableReadLanes|=qr&ke.pendingLanes}catch(kn){Ur(function(){throw kn})}})},[T,ve]),Vn(da,U)&&Vn(Fa,T)&&Vn(za,ve)||(g={pending:null,dispatch:null,lastRenderedReducer:Hu,lastRenderedState:Bi},g.dispatch=_n=gf.bind(null,Es,g),Dr.queue=g,Dr.baseQueue=null,Bi=Qa(ke,T,U),Dr.memoizedState=Dr.baseState=Bi),Bi}function _f(g,T,U){var ve=Gl();return mf(ve,g,T,U)}function rl(g){var T=Eu();return typeof g=="function"&&(g=g()),T.memoizedState=T.baseState=g,g=T.queue={pending:null,dispatch:null,lastRenderedReducer:Hu,lastRenderedState:g},g=g.dispatch=gf.bind(null,Es,g),[T.memoizedState,g]}function Xc(g,T,U,ve){return g={tag:g,create:T,destroy:U,deps:ve,next:null},T=Es.updateQueue,T===null?(T={lastEffect:null},Es.updateQueue=T,T.lastEffect=g.next=g):(U=T.lastEffect,U===null?T.lastEffect=g.next=g:(ve=U.next,U.next=g,g.next=ve,T.lastEffect=g)),g}function Of(g){var T=Eu();return g={current:g},T.memoizedState=g}function Oc(){return Gl().memoizedState}function wu(g,T,U,ve){var ke=Eu();Es.flags|=g,ke.memoizedState=Xc(1|T,U,void 0,ve===void 0?null:ve)}function vf(g,T,U,ve){var ke=Gl();ve=ve===void 0?null:ve;var ot=void 0;if(Xo!==null){var Nt=Xo.memoizedState;if(ot=Nt.destroy,ve!==null&&Ic(ve,Nt.deps)){Xc(T,U,ot,ve);return}}Es.flags|=g,ke.memoizedState=Xc(1|T,U,ot,ve)}function kc(g,T){return wu(516,4,g,T)}function uc(g,T){return vf(516,4,g,T)}function Qc(g,T){return vf(4,2,g,T)}function lc(g,T){if(typeof T=="function")return g=g(),T(g),function(){T(null)};if(T!=null)return g=g(),T.current=g,function(){T.current=null}}function Su(g,T,U){return U=U!=null?U.concat([g]):null,vf(4,2,lc.bind(null,T,g),U)}function Wu(){}function Kl(g,T){var U=Gl();T=T===void 0?null:T;var ve=U.memoizedState;return ve!==null&&T!==null&&Ic(T,ve[1])?ve[0]:(U.memoizedState=[g,T],g)}function nl(g,T){var U=Gl();T=T===void 0?null:T;var ve=U.memoizedState;return ve!==null&&T!==null&&Ic(T,ve[1])?ve[0]:(g=g(),U.memoizedState=[g,T],g)}function qc(g,T){var U=Ut();br(98>U?98:U,function(){g(!0)}),br(97<U?97:U,function(){var ve=Zu.transition;Zu.transition=1;try{g(!1),T()}finally{Zu.transition=ve}})}function gf(g,T,U){var ve=Lu(),ke=Il(g),ot={lane:ke,action:U,eagerReducer:null,eagerState:null,next:null},Nt=T.pending;if(Nt===null?ot.next=ot:(ot.next=Nt.next,Nt.next=ot),T.pending=ot,Nt=g.alternate,g===Es||Nt!==null&&Nt===Es)uu=Pc=!0;else{if(g.lanes===0&&(Nt===null||Nt.lanes===0)&&(Nt=T.lastRenderedReducer,Nt!==null))try{var nr=T.lastRenderedState,Dr=Nt(nr,U);if(ot.eagerReducer=Nt,ot.eagerState=Dr,Vn(Dr,nr))return}catch(_n){}finally{}Mu(g,ke,ve)}}var Vl={readContext:Ua,useCallback:mu,useContext:mu,useEffect:mu,useImperativeHandle:mu,useLayoutEffect:mu,useMemo:mu,useReducer:mu,useRef:mu,useState:mu,useDebugValue:mu,useDeferredValue:mu,useTransition:mu,useMutableSource:mu,useOpaqueIdentifier:mu,unstable_isNewReconciler:!1},Ms={readContext:Ua,useCallback:function(g,T){return Eu().memoizedState=[g,T===void 0?null:T],g},useContext:Ua,useEffect:kc,useImperativeHandle:function(g,T,U){return U=U!=null?U.concat([g]):null,wu(4,2,lc.bind(null,T,g),U)},useLayoutEffect:function(g,T){return wu(4,2,g,T)},useMemo:function(g,T){var U=Eu();return T=T===void 0?null:T,g=g(),U.memoizedState=[g,T],g},useReducer:function(g,T,U){var ve=Eu();return T=U!==void 0?U(T):T,ve.memoizedState=ve.baseState=T,g=ve.queue={pending:null,dispatch:null,lastRenderedReducer:g,lastRenderedState:T},g=g.dispatch=gf.bind(null,Es,g),[ve.memoizedState,g]},useRef:Of,useState:rl,useDebugValue:Wu,useDeferredValue:function(g){var T=rl(g),U=T[0],ve=T[1];return kc(function(){var ke=Zu.transition;Zu.transition=1;try{ve(g)}finally{Zu.transition=ke}},[g]),U},useTransition:function(){var g=rl(!1),T=g[0];return g=qc.bind(null,g[1]),Of(g),[g,T]},useMutableSource:function(g,T,U){var ve=Eu();return ve.memoizedState={refs:{getSnapshot:T,setSnapshot:null},source:g,subscribe:U},mf(ve,g,T,U)},useOpaqueIdentifier:function(){if(tl){var g=!1,T=Us(function(){throw g||(g=!0,U("r:"+(_o++).toString(36))),Error(c(355))}),U=rl(T)[1];return!(Es.mode&2)&&(Es.flags|=516,Xc(5,function(){U("r:"+(_o++).toString(36))},void 0,null)),T}return T="r:"+(_o++).toString(36),rl(T),T},unstable_isNewReconciler:!1},go={readContext:Ua,useCallback:Kl,useContext:Ua,useEffect:uc,useImperativeHandle:Su,useLayoutEffect:Qc,useMemo:nl,useReducer:Dc,useRef:Oc,useState:function(){return Dc(Hu)},useDebugValue:Wu,useDeferredValue:function(g){var T=Dc(Hu),U=T[0],ve=T[1];return uc(function(){var ke=Zu.transition;Zu.transition=1;try{ve(g)}finally{Zu.transition=ke}},[g]),U},useTransition:function(){var g=Dc(Hu)[0];return[Oc().current,g]},useMutableSource:_f,useOpaqueIdentifier:function(){return Dc(Hu)[0]},unstable_isNewReconciler:!1},_l={readContext:Ua,useCallback:Kl,useContext:Ua,useEffect:uc,useImperativeHandle:Su,useLayoutEffect:Qc,useMemo:nl,useReducer:Fl,useRef:Oc,useState:function(){return Fl(Hu)},useDebugValue:Wu,useDeferredValue:function(g){var T=Fl(Hu),U=T[0],ve=T[1];return uc(function(){var ke=Zu.transition;Zu.transition=1;try{ve(g)}finally{Zu.transition=ke}},[g]),U},useTransition:function(){var g=Fl(Hu)[0];return[Oc().current,g]},useMutableSource:_f,useOpaqueIdentifier:function(){return Fl(Hu)[0]},unstable_isNewReconciler:!1},_u=N.ReactCurrentOwner,il=!1;function Co(g,T,U,ve){T.child=g===null?Ml(T,null,U,ve):hu(T,g.child,U,ve)}function Bl(g,T,U,ve,ke){U=U.render;var ot=T.ref;return os(T,ke),ve=Yc(g,T,U,ve,ot,ke),g!==null&&!il?(T.updateQueue=g.updateQueue,T.flags&=-517,g.lanes&=~ke,al(g,T,ke)):(T.flags|=1,Co(g,T,ve,ke),T.child)}function kf(g,T,U,ve,ke,ot){if(g===null){var Nt=U.type;return typeof Nt=="function"&&!of(Nt)&&Nt.defaultProps===void 0&&U.compare===null&&U.defaultProps===void 0?(T.tag=15,T.type=Nt,Jc(g,T,Nt,ve,ke,ot)):(g=Jl(U.type,null,ve,T,T.mode,ot),g.ref=T.ref,g.return=T,T.child=g)}return Nt=g.child,!(ke&ot)&&(ke=Nt.memoizedProps,U=U.compare,U=U!==null?U:Yi,U(ke,ve)&&g.ref===T.ref)?al(g,T,ot):(T.flags|=1,g=kl(Nt,ve),g.ref=T.ref,g.return=T,T.child=g)}function Jc(g,T,U,ve,ke,ot){if(g!==null&&Yi(g.memoizedProps,ve)&&g.ref===T.ref)if(il=!1,(ot&ke)!==0)g.flags&16384&&(il=!0);else return T.lanes=g.lanes,al(g,T,ot);return Qo(g,T,U,ve,ot)}function yf(g,T,U){var ve=T.pendingProps,ke=ve.children,ot=g!==null?g.memoizedState:null;if(ve.mode==="hidden"||ve.mode==="unstable-defer-without-hiding")if(!(T.mode&4))T.memoizedState={baseLanes:0},ca(T,U);else if(U&1073741824)T.memoizedState={baseLanes:0},ca(T,ot!==null?ot.baseLanes:U);else return g=ot!==null?ot.baseLanes|U:U,T.lanes=T.childLanes=1073741824,T.memoizedState={baseLanes:g},ca(T,g),null;else ot!==null?(ve=ot.baseLanes|U,T.memoizedState=null):ve=U,ca(T,ve);return Co(g,T,ke,U),T.child}function Sl(g,T){var U=T.ref;(g===null&&U!==null||g!==null&&g.ref!==U)&&(T.flags|=128)}function Qo(g,T,U,ve,ke){var ot=Qr(U)?we:Oa.current;return ot=xr(T,ot),os(T,ke),U=Yc(g,T,U,ve,ot,ke),g!==null&&!il?(T.updateQueue=g.updateQueue,T.flags&=-517,g.lanes&=~ke,al(g,T,ke)):(T.flags|=1,Co(g,T,U,ke),T.child)}function vl(g,T,U,ve,ke){if(Qr(U)){var ot=!0;ni(T)}else ot=!1;if(os(T,ke),T.stateNode===null)g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),el(T,U,ve),dl(T,U,ve,ke),ve=!0;else if(g===null){var Nt=T.stateNode,nr=T.memoizedProps;Nt.props=nr;var Dr=Nt.context,_n=U.contextType;typeof _n=="object"&&_n!==null?_n=Ua(_n):(_n=Qr(U)?we:Oa.current,_n=xr(T,_n));var Bi=U.getDerivedStateFromProps,za=typeof Bi=="function"||typeof Nt.getSnapshotBeforeUpdate=="function";za||typeof Nt.UNSAFE_componentWillReceiveProps!="function"&&typeof Nt.componentWillReceiveProps!="function"||(nr!==ve||Dr!==_n)&&Vs(T,Nt,ve,_n),io=!1;var Qn=T.memoizedState;Nt.state=Qn,qs(T,ve,Nt,ke),Dr=T.memoizedState,nr!==ve||Qn!==Dr||ye.current||io?(typeof Bi=="function"&&(ic(T,U,Bi,ve),Dr=T.memoizedState),(nr=io||fl(T,U,nr,ve,Qn,Dr,_n))?(za||typeof Nt.UNSAFE_componentWillMount!="function"&&typeof Nt.componentWillMount!="function"||(typeof Nt.componentWillMount=="function"&&Nt.componentWillMount(),typeof Nt.UNSAFE_componentWillMount=="function"&&Nt.UNSAFE_componentWillMount()),typeof Nt.componentDidMount=="function"&&(T.flags|=4)):(typeof Nt.componentDidMount=="function"&&(T.flags|=4),T.memoizedProps=ve,T.memoizedState=Dr),Nt.props=ve,Nt.state=Dr,Nt.context=_n,ve=nr):(typeof Nt.componentDidMount=="function"&&(T.flags|=4),ve=!1)}else{Nt=T.stateNode,ki(g,T),nr=T.memoizedProps,_n=T.type===T.elementType?nr:ei(T.type,nr),Nt.props=_n,za=T.pendingProps,Qn=Nt.context,Dr=U.contextType,typeof Dr=="object"&&Dr!==null?Dr=Ua(Dr):(Dr=Qr(U)?we:Oa.current,Dr=xr(T,Dr));var da=U.getDerivedStateFromProps;(Bi=typeof da=="function"||typeof Nt.getSnapshotBeforeUpdate=="function")||typeof Nt.UNSAFE_componentWillReceiveProps!="function"&&typeof Nt.componentWillReceiveProps!="function"||(nr!==za||Qn!==Dr)&&Vs(T,Nt,ve,Dr),io=!1,Qn=T.memoizedState,Nt.state=Qn,qs(T,ve,Nt,ke);var Fa=T.memoizedState;nr!==za||Qn!==Fa||ye.current||io?(typeof da=="function"&&(ic(T,U,da,ve),Fa=T.memoizedState),(_n=io||fl(T,U,_n,ve,Qn,Fa,Dr))?(Bi||typeof Nt.UNSAFE_componentWillUpdate!="function"&&typeof Nt.componentWillUpdate!="function"||(typeof Nt.componentWillUpdate=="function"&&Nt.componentWillUpdate(ve,Fa,Dr),typeof Nt.UNSAFE_componentWillUpdate=="function"&&Nt.UNSAFE_componentWillUpdate(ve,Fa,Dr)),typeof Nt.componentDidUpdate=="function"&&(T.flags|=4),typeof Nt.getSnapshotBeforeUpdate=="function"&&(T.flags|=256)):(typeof Nt.componentDidUpdate!="function"||nr===g.memoizedProps&&Qn===g.memoizedState||(T.flags|=4),typeof Nt.getSnapshotBeforeUpdate!="function"||nr===g.memoizedProps&&Qn===g.memoizedState||(T.flags|=256),T.memoizedProps=ve,T.memoizedState=Fa),Nt.props=ve,Nt.state=Fa,Nt.context=Dr,ve=_n):(typeof Nt.componentDidUpdate!="function"||nr===g.memoizedProps&&Qn===g.memoizedState||(T.flags|=4),typeof Nt.getSnapshotBeforeUpdate!="function"||nr===g.memoizedProps&&Qn===g.memoizedState||(T.flags|=256),ve=!1)}return $e(g,T,U,ve,ot,ke)}function $e(g,T,U,ve,ke,ot){Sl(g,T);var Nt=(T.flags&64)!==0;if(!ve&&!Nt)return ke&&Qi(T,U,!1),al(g,T,ot);ve=T.stateNode,_u.current=T;var nr=Nt&&typeof U.getDerivedStateFromError!="function"?null:ve.render();return T.flags|=1,g!==null&&Nt?(T.child=hu(T,g.child,null,ot),T.child=hu(T,null,nr,ot)):Co(g,T,nr,ot),T.memoizedState=ve.state,ke&&Qi(T,U,!0),T.child}function vu(g){var T=g.stateNode;T.pendingContext?en(g,T.pendingContext,T.pendingContext!==T.context):T.context&&en(g,T.context,!1),Ac(g,T.containerInfo)}var Au={dehydrated:null,retryLane:0};function cc(g,T,U){var ve=T.pendingProps,ke=ao.current,ot=!1,Nt;return(Nt=(T.flags&64)!==0)||(Nt=g!==null&&g.memoizedState===null?!1:(ke&2)!==0),Nt?(ot=!0,T.flags&=-65):g!==null&&g.memoizedState===null||ve.fallback===void 0||ve.unstable_avoidThisFallback===!0||(ke|=1),rs(ao,ke&1),g===null?(ve.fallback!==void 0&&Lo(T),g=ve.children,ke=ve.fallback,ot?(g=qo(T,g,ke,U),T.child.memoizedState={baseLanes:U},T.memoizedState=Au,g):typeof ve.unstable_expectedLoadTime=="number"?(g=qo(T,g,ke,U),T.child.memoizedState={baseLanes:U},T.memoizedState=Au,T.lanes=33554432,g):(U=uf({mode:"visible",children:g},T.mode,U,null),U.return=T,T.child=U)):g.memoizedState!==null?ot?(ve=Yl(g,T,ve.children,ve.fallback,U),ot=T.child,ke=g.child.memoizedState,ot.memoizedState=ke===null?{baseLanes:U}:{baseLanes:ke.baseLanes|U},ot.childLanes=g.childLanes&~U,T.memoizedState=Au,ve):(U=ku(g,T,ve.children,U),T.memoizedState=null,U):ot?(ve=Yl(g,T,ve.children,ve.fallback,U),ot=T.child,ke=g.child.memoizedState,ot.memoizedState=ke===null?{baseLanes:U}:{baseLanes:ke.baseLanes|U},ot.childLanes=g.childLanes&~U,T.memoizedState=Au,ve):(U=ku(g,T,ve.children,U),T.memoizedState=null,U)}function qo(g,T,U,ve){var ke=g.mode,ot=g.child;return T={mode:"hidden",children:T},!(ke&2)&&ot!==null?(ot.childLanes=0,ot.pendingProps=T):ot=uf(T,ke,0,null),U=ou(U,ke,ve,null),ot.return=g,U.return=g,ot.sibling=U,g.child=ot,U}function ku(g,T,U,ve){var ke=g.child;return g=ke.sibling,U=kl(ke,{mode:"visible",children:U}),!(T.mode&2)&&(U.lanes=ve),U.return=T,U.sibling=null,g!==null&&(g.nextEffect=null,g.flags=8,T.firstEffect=T.lastEffect=g),T.child=U}function Yl(g,T,U,ve,ke){var ot=T.mode,Nt=g.child;g=Nt.sibling;var nr={mode:"hidden",children:U};return!(ot&2)&&T.child!==Nt?(U=T.child,U.childLanes=0,U.pendingProps=nr,Nt=U.lastEffect,Nt!==null?(T.firstEffect=U.firstEffect,T.lastEffect=Nt,Nt.nextEffect=null):T.firstEffect=T.lastEffect=null):U=kl(Nt,nr),g!==null?ve=kl(g,ve):(ve=ou(ve,ot,ke,null),ve.flags|=2),ve.return=T,U.return=T,U.sibling=ve,T.child=U,ve}function fc(g,T){g.lanes|=T;var U=g.alternate;U!==null&&(U.lanes|=T),Ws(g.return,T)}function Nl(g,T,U,ve,ke,ot){var Nt=g.memoizedState;Nt===null?g.memoizedState={isBackwards:T,rendering:null,renderingStartTime:0,last:ve,tail:U,tailMode:ke,lastEffect:ot}:(Nt.isBackwards=T,Nt.rendering=null,Nt.renderingStartTime=0,Nt.last=ve,Nt.tail=U,Nt.tailMode=ke,Nt.lastEffect=ot)}function Gu(g,T,U){var ve=T.pendingProps,ke=ve.revealOrder,ot=ve.tail;if(Co(g,T,ve.children,U),ve=ao.current,ve&2)ve=ve&1|2,T.flags|=64;else{if(g!==null&&g.flags&64)e:for(g=T.child;g!==null;){if(g.tag===13)g.memoizedState!==null&&fc(g,U);else if(g.tag===19)fc(g,U);else if(g.child!==null){g.child.return=g,g=g.child;continue}if(g===T)break e;for(;g.sibling===null;){if(g.return===null||g.return===T)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}ve&=1}if(rs(ao,ve),!(T.mode&2))T.memoizedState=null;else switch(ke){case"forwards":for(U=T.child,ke=null;U!==null;)g=U.alternate,g!==null&&sc(g)===null&&(ke=U),U=U.sibling;U=ke,U===null?(ke=T.child,T.child=null):(ke=U.sibling,U.sibling=null),Nl(T,!1,ke,U,ot,T.lastEffect);break;case"backwards":for(U=null,ke=T.child,T.child=null;ke!==null;){if(g=ke.alternate,g!==null&&sc(g)===null){T.child=ke;break}g=ke.sibling,ke.sibling=U,U=ke,ke=g}Nl(T,!0,U,null,ot,T.lastEffect);break;case"together":Nl(T,!1,null,null,void 0,T.lastEffect);break;default:T.memoizedState=null}return T.child}function al(g,T,U){if(g!==null&&(T.dependencies=g.dependencies),Eo|=T.lanes,U&T.childLanes){if(g!==null&&T.child!==g.child)throw Error(c(153));if(T.child!==null){for(g=T.child,U=kl(g,g.pendingProps),T.child=U,U.return=T;g.sibling!==null;)g=g.sibling,U=U.sibling=kl(g,g.pendingProps),U.return=T;U.sibling=null}return T.child}return null}var Rc,dc,Tu,Al;Rc=function(g,T){for(var U=T.child;U!==null;){if(U.tag===5||U.tag===6)g.appendChild(U.stateNode);else if(U.tag!==4&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===T)break;for(;U.sibling===null;){if(U.return===null||U.return===T)return;U=U.return}U.sibling.return=U.return,U=U.sibling}},dc=function(){},Tu=function(g,T,U,ve){var ke=g.memoizedProps;if(ke!==ve){g=T.stateNode,zu(pu.current);var ot=null;switch(U){case"input":ke=ht(g,ke),ve=ht(g,ve),ot=[];break;case"option":ke=He(g,ke),ve=He(g,ve),ot=[];break;case"select":ke=i({},ke,{value:void 0}),ve=i({},ve,{value:void 0}),ot=[];break;case"textarea":ke=lt(g,ke),ve=lt(g,ve),ot=[];break;default:typeof ke.onClick!="function"&&typeof ve.onClick=="function"&&(g.onclick=ai)}Ce(U,ve);var Nt;U=null;for(_n in ke)if(!ve.hasOwnProperty(_n)&&ke.hasOwnProperty(_n)&&ke[_n]!=null)if(_n==="style"){var nr=ke[_n];for(Nt in nr)nr.hasOwnProperty(Nt)&&(U||(U={}),U[Nt]="")}else _n!=="dangerouslySetInnerHTML"&&_n!=="children"&&_n!=="suppressContentEditableWarning"&&_n!=="suppressHydrationWarning"&&_n!=="autoFocus"&&(o.hasOwnProperty(_n)?ot||(ot=[]):(ot=ot||[]).push(_n,null));for(_n in ve){var Dr=ve[_n];if(nr=ke!=null?ke[_n]:void 0,ve.hasOwnProperty(_n)&&Dr!==nr&&(Dr!=null||nr!=null))if(_n==="style")if(nr){for(Nt in nr)!nr.hasOwnProperty(Nt)||Dr&&Dr.hasOwnProperty(Nt)||(U||(U={}),U[Nt]="");for(Nt in Dr)Dr.hasOwnProperty(Nt)&&nr[Nt]!==Dr[Nt]&&(U||(U={}),U[Nt]=Dr[Nt])}else U||(ot||(ot=[]),ot.push(_n,U)),U=Dr;else _n==="dangerouslySetInnerHTML"?(Dr=Dr?Dr.__html:void 0,nr=nr?nr.__html:void 0,Dr!=null&&nr!==Dr&&(ot=ot||[]).push(_n,Dr)):_n==="children"?typeof Dr!="string"&&typeof Dr!="number"||(ot=ot||[]).push(_n,""+Dr):_n!=="suppressContentEditableWarning"&&_n!=="suppressHydrationWarning"&&(o.hasOwnProperty(_n)?(Dr!=null&&_n==="onScroll"&&Qe("scroll",g),ot||nr===Dr||(ot=[])):typeof Dr=="object"&&Dr!==null&&Dr.$$typeof===z?Dr.toString():(ot=ot||[]).push(_n,Dr))}U&&(ot=ot||[]).push("style",U);var _n=ot;(T.updateQueue=_n)&&(T.flags|=4)}},Al=function(g,T,U,ve){U!==ve&&(T.flags|=4)};function Ku(g,T){if(!tl)switch(g.tailMode){case"hidden":T=g.tail;for(var U=null;T!==null;)T.alternate!==null&&(U=T),T=T.sibling;U===null?g.tail=null:U.sibling=null;break;case"collapsed":U=g.tail;for(var ve=null;U!==null;)U.alternate!==null&&(ve=U),U=U.sibling;ve===null?T||g.tail===null?g.tail=null:g.tail.sibling=null:ve.sibling=null}}function Zf(g,T,U){var ve=T.pendingProps;switch(T.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Qr(T.type)&&_r(),null;case 3:return ac(),Sa(ye),Sa(Oa),pf(),ve=T.stateNode,ve.pendingContext&&(ve.context=ve.pendingContext,ve.pendingContext=null),(g===null||g.child===null)&&(hf(T)?T.flags|=4:ve.hydrate||(T.flags|=256)),dc(T),null;case 5:Tc(T);var ke=zu(Hl.current);if(U=T.type,g!==null&&T.stateNode!=null)Tu(g,T,U,ve,ke),g.ref!==T.ref&&(T.flags|=128);else{if(!ve){if(T.stateNode===null)throw Error(c(166));return null}if(g=zu(pu.current),hf(T)){ve=T.stateNode,U=T.type;var ot=T.memoizedProps;switch(ve[Xa]=T,ve[va]=ot,U){case"dialog":Qe("cancel",ve),Qe("close",ve);break;case"iframe":case"object":case"embed":Qe("load",ve);break;case"video":case"audio":for(g=0;g<Hn.length;g++)Qe(Hn[g],ve);break;case"source":Qe("error",ve);break;case"img":case"image":case"link":Qe("error",ve),Qe("load",ve);break;case"details":Qe("toggle",ve);break;case"input":Je(ve,ot),Qe("invalid",ve);break;case"select":ve._wrapperState={wasMultiple:!!ot.multiple},Qe("invalid",ve);break;case"textarea":Kt(ve,ot),Qe("invalid",ve)}Ce(U,ot),g=null;for(var Nt in ot)ot.hasOwnProperty(Nt)&&(ke=ot[Nt],Nt==="children"?typeof ke=="string"?ve.textContent!==ke&&(g=["children",ke]):typeof ke=="number"&&ve.textContent!==""+ke&&(g=["children",""+ke]):o.hasOwnProperty(Nt)&&ke!=null&&Nt==="onScroll"&&Qe("scroll",ve));switch(U){case"input":zt(ve),Se(ve,ot,!0);break;case"textarea":zt(ve),Ae(ve);break;case"select":case"option":break;default:typeof ot.onClick=="function"&&(ve.onclick=ai)}ve=g,T.updateQueue=ve,ve!==null&&(T.flags|=4)}else{switch(Nt=ke.nodeType===9?ke:ke.ownerDocument,g===qe.html&&(g=Vt(U)),g===qe.html?U==="script"?(g=Nt.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild)):typeof ve.is=="string"?g=Nt.createElement(U,{is:ve.is}):(g=Nt.createElement(U),U==="select"&&(Nt=g,ve.multiple?Nt.multiple=!0:ve.size&&(Nt.size=ve.size))):g=Nt.createElementNS(g,U),g[Xa]=T,g[va]=ve,Rc(g,T,!1,!1),T.stateNode=g,Nt=ct(U,ve),U){case"dialog":Qe("cancel",g),Qe("close",g),ke=ve;break;case"iframe":case"object":case"embed":Qe("load",g),ke=ve;break;case"video":case"audio":for(ke=0;ke<Hn.length;ke++)Qe(Hn[ke],g);ke=ve;break;case"source":Qe("error",g),ke=ve;break;case"img":case"image":case"link":Qe("error",g),Qe("load",g),ke=ve;break;case"details":Qe("toggle",g),ke=ve;break;case"input":Je(g,ve),ke=ht(g,ve),Qe("invalid",g);break;case"option":ke=He(g,ve);break;case"select":g._wrapperState={wasMultiple:!!ve.multiple},ke=i({},ve,{value:void 0}),Qe("invalid",g);break;case"textarea":Kt(g,ve),ke=lt(g,ve),Qe("invalid",g);break;default:ke=ve}Ce(U,ke);var nr=ke;for(ot in nr)if(nr.hasOwnProperty(ot)){var Dr=nr[ot];ot==="style"?pe(g,Dr):ot==="dangerouslySetInnerHTML"?(Dr=Dr?Dr.__html:void 0,Dr!=null&&$t(g,Dr)):ot==="children"?typeof Dr=="string"?(U!=="textarea"||Dr!=="")&&Tt(g,Dr):typeof Dr=="number"&&Tt(g,""+Dr):ot!=="suppressContentEditableWarning"&&ot!=="suppressHydrationWarning"&&ot!=="autoFocus"&&(o.hasOwnProperty(ot)?Dr!=null&&ot==="onScroll"&&Qe("scroll",g):Dr!=null&&B(g,ot,Dr,Nt))}switch(U){case"input":zt(g),Se(g,ve,!1);break;case"textarea":zt(g),Ae(g);break;case"option":ve.value!=null&&g.setAttribute("value",""+ur(ve.value));break;case"select":g.multiple=!!ve.multiple,ot=ve.value,ot!=null?rt(g,!!ve.multiple,ot,!1):ve.defaultValue!=null&&rt(g,!!ve.multiple,ve.defaultValue,!0);break;default:typeof ke.onClick=="function"&&(g.onclick=ai)}na(U,ve)&&(T.flags|=4)}T.ref!==null&&(T.flags|=128)}return null;case 6:if(g&&T.stateNode!=null)Al(g,T,g.memoizedProps,ve);else{if(typeof ve!="string"&&T.stateNode===null)throw Error(c(166));U=zu(Hl.current),zu(pu.current),hf(T)?(ve=T.stateNode,U=T.memoizedProps,ve[Xa]=T,ve.nodeValue!==U&&(T.flags|=4)):(ve=(U.nodeType===9?U:U.ownerDocument).createTextNode(ve),ve[Xa]=T,T.stateNode=ve)}return null;case 13:return Sa(ao),ve=T.memoizedState,T.flags&64?(T.lanes=U,T):(ve=ve!==null,U=!1,g===null?T.memoizedProps.fallback!==void 0&&hf(T):U=g.memoizedState!==null,ve&&!U&&T.mode&2&&(g===null&&T.memoizedProps.unstable_avoidThisFallback!==!0||ao.current&1?La===0&&(La=3):((La===0||La===3)&&(La=4),hn===null||!(Eo&134217727)&&!(Fs&134217727)||Dl(hn,yn))),(ve||U)&&(T.flags|=4),null);case 4:return ac(),dc(T),g===null&&Gt(T.stateNode.containerInfo),null;case 10:return bs(T),null;case 17:return Qr(T.type)&&_r(),null;case 19:if(Sa(ao),ve=T.memoizedState,ve===null)return null;if(ot=(T.flags&64)!==0,Nt=ve.rendering,Nt===null)if(ot)Ku(ve,!1);else{if(La!==0||g!==null&&g.flags&64)for(g=T.child;g!==null;){if(Nt=sc(g),Nt!==null){for(T.flags|=64,Ku(ve,!1),ot=Nt.updateQueue,ot!==null&&(T.updateQueue=ot,T.flags|=4),ve.lastEffect===null&&(T.firstEffect=null),T.lastEffect=ve.lastEffect,ve=U,U=T.child;U!==null;)ot=U,g=ve,ot.flags&=2,ot.nextEffect=null,ot.firstEffect=null,ot.lastEffect=null,Nt=ot.alternate,Nt===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=Nt.childLanes,ot.lanes=Nt.lanes,ot.child=Nt.child,ot.memoizedProps=Nt.memoizedProps,ot.memoizedState=Nt.memoizedState,ot.updateQueue=Nt.updateQueue,ot.type=Nt.type,g=Nt.dependencies,ot.dependencies=g===null?null:{lanes:g.lanes,firstContext:g.firstContext}),U=U.sibling;return rs(ao,ao.current&1|2),T.child}g=g.sibling}ve.tail!==null&&Ct()>nf&&(T.flags|=64,ot=!0,Ku(ve,!1),T.lanes=33554432)}else{if(!ot)if(g=sc(Nt),g!==null){if(T.flags|=64,ot=!0,U=g.updateQueue,U!==null&&(T.updateQueue=U,T.flags|=4),Ku(ve,!0),ve.tail===null&&ve.tailMode==="hidden"&&!Nt.alternate&&!tl)return T=T.lastEffect=ve.lastEffect,T!==null&&(T.nextEffect=null),null}else 2*Ct()-ve.renderingStartTime>nf&&U!==1073741824&&(T.flags|=64,ot=!0,Ku(ve,!1),T.lanes=33554432);ve.isBackwards?(Nt.sibling=T.child,T.child=Nt):(U=ve.last,U!==null?U.sibling=Nt:T.child=Nt,ve.last=Nt)}return ve.tail!==null?(U=ve.tail,ve.rendering=U,ve.tail=U.sibling,ve.lastEffect=T.lastEffect,ve.renderingStartTime=Ct(),U.sibling=null,T=ao.current,rs(ao,ot?T&1|2:T&1),U):null;case 23:case 24:return ba(),g!==null&&g.memoizedState!==null!=(T.memoizedState!==null)&&ve.mode!=="unstable-defer-without-hiding"&&(T.flags|=4),null}throw Error(c(156,T.tag))}function bf(g){switch(g.tag){case 1:Qr(g.type)&&_r();var T=g.flags;return T&4096?(g.flags=T&-4097|64,g):null;case 3:if(ac(),Sa(ye),Sa(Oa),pf(),T=g.flags,T&64)throw Error(c(285));return g.flags=T&-4097|64,g;case 5:return Tc(g),null;case 13:return Sa(ao),T=g.flags,T&4096?(g.flags=T&-4097|64,g):null;case 19:return Sa(ao),null;case 4:return ac(),null;case 10:return bs(g),null;case 23:case 24:return ba(),null;default:return null}}function Jo(g,T){try{var U="",ve=T;do U+=rr(ve),ve=ve.return;while(ve);var ke=U}catch(ot){ke=`
|
|
|
Error generating stack: `+ot.message+`
|
|
|
`+ot.stack}return{value:g,source:T,stack:ke}}function $l(g,T){try{console.error(T.value)}catch(U){setTimeout(function(){throw U})}}var ef=typeof WeakMap=="function"?WeakMap:Map;function hc(g,T,U){U=Ro(-1,U),U.tag=3,U.payload={element:null};var ve=T.value;return U.callback=function(){cu||(cu=!0,Nc=ve),$l(g,T)},U}function pc(g,T,U){U=Ro(-1,U),U.tag=3;var ve=g.type.getDerivedStateFromError;if(typeof ve=="function"){var ke=T.value;U.payload=function(){return $l(g,T),ve(ke)}}var ot=g.stateNode;return ot!==null&&typeof ot.componentDidCatch=="function"&&(U.callback=function(){typeof ve!="function"&&(Ko===null?Ko=new Set([this]):Ko.add(this),$l(g,T));var Nt=T.stack;this.componentDidCatch(T.value,{componentStack:Nt!==null?Nt:""})}),U}var mc=typeof WeakSet=="function"?WeakSet:Set;function _c(g){var T=g.ref;if(T!==null)if(typeof T=="function")try{T(null)}catch(U){bl(g,U)}else T.current=null}function xf(g,T){switch(T.tag){case 0:case 11:case 15:case 22:return;case 1:if(T.flags&256&&g!==null){var U=g.memoizedProps,ve=g.memoizedState;g=T.stateNode,T=g.getSnapshotBeforeUpdate(T.elementType===T.type?U:ei(T.type,U),ve),g.__reactInternalSnapshotBeforeUpdate=T}return;case 3:T.flags&256&&Mi(T.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(c(163))}function Lc(g,T,U){switch(U.tag){case 0:case 11:case 15:case 22:if(T=U.updateQueue,T=T!==null?T.lastEffect:null,T!==null){g=T=T.next;do{if((g.tag&3)===3){var ve=g.create;g.destroy=ve()}g=g.next}while(g!==T)}if(T=U.updateQueue,T=T!==null?T.lastEffect:null,T!==null){g=T=T.next;do{var ke=g;ve=ke.next,ke=ke.tag,ke&4&&ke&1&&(af(U,g),Tf(U,g)),g=ve}while(g!==T)}return;case 1:g=U.stateNode,U.flags&4&&(T===null?g.componentDidMount():(ve=U.elementType===U.type?T.memoizedProps:ei(U.type,T.memoizedProps),g.componentDidUpdate(ve,T.memoizedState,g.__reactInternalSnapshotBeforeUpdate))),T=U.updateQueue,T!==null&&To(U,T,g);return;case 3:if(T=U.updateQueue,T!==null){if(g=null,U.child!==null)switch(U.child.tag){case 5:g=U.child.stateNode;break;case 1:g=U.child.stateNode}To(U,T,g)}return;case 5:g=U.stateNode,T===null&&U.flags&4&&na(U.type,U.memoizedProps)&&g.focus();return;case 6:return;case 4:return;case 12:return;case 13:U.memoizedState===null&&(U=U.alternate,U!==null&&(U=U.memoizedState,U!==null&&(U=U.dehydrated,U!==null&&dt(U))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(c(163))}function vc(g,T){for(var U=g;;){if(U.tag===5){var ve=U.stateNode;if(T)ve=ve.style,typeof ve.setProperty=="function"?ve.setProperty("display","none","important"):ve.display="none";else{ve=U.stateNode;var ke=U.memoizedProps.style;ke=ke!=null&&ke.hasOwnProperty("display")?ke.display:null,ve.style.display=ce("display",ke)}}else if(U.tag===6)U.stateNode.nodeValue=T?"":U.memoizedProps;else if((U.tag!==23&&U.tag!==24||U.memoizedState===null||U===g)&&U.child!==null){U.child.return=U,U=U.child;continue}if(U===g)break;for(;U.sibling===null;){if(U.return===null||U.return===g)return;U=U.return}U.sibling.return=U.return,U=U.sibling}}function Xl(g,T){if(jn&&typeof jn.onCommitFiberUnmount=="function")try{jn.onCommitFiberUnmount(zn,T)}catch(ot){}switch(T.tag){case 0:case 11:case 14:case 15:case 22:if(g=T.updateQueue,g!==null&&(g=g.lastEffect,g!==null)){var U=g=g.next;do{var ve=U,ke=ve.destroy;if(ve=ve.tag,ke!==void 0)if(ve&4)af(T,U);else{ve=T;try{ke()}catch(ot){bl(ve,ot)}}U=U.next}while(U!==g)}break;case 1:if(_c(T),g=T.stateNode,typeof g.componentWillUnmount=="function")try{g.props=T.memoizedProps,g.state=T.memoizedState,g.componentWillUnmount()}catch(ot){bl(T,ot)}break;case 5:_c(T);break;case 4:Fc(g,T)}}function Ef(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 Mc(g){return g.tag===5||g.tag===3||g.tag===4}function Vu(g){e:{for(var T=g.return;T!==null;){if(Mc(T))break e;T=T.return}throw Error(c(160))}var U=T;switch(T=U.stateNode,U.tag){case 5:var ve=!1;break;case 3:T=T.containerInfo,ve=!0;break;case 4:T=T.containerInfo,ve=!0;break;default:throw Error(c(161))}U.flags&16&&(Tt(T,""),U.flags&=-17);e:t:for(U=g;;){for(;U.sibling===null;){if(U.return===null||Mc(U.return)){U=null;break e}U=U.return}for(U.sibling.return=U.return,U=U.sibling;U.tag!==5&&U.tag!==6&&U.tag!==18;){if(U.flags&2||U.child===null||U.tag===4)continue t;U.child.return=U,U=U.child}if(!(U.flags&2)){U=U.stateNode;break e}}ve?sl(g,U,T):lu(g,U,T)}function sl(g,T,U){var ve=g.tag,ke=ve===5||ve===6;if(ke)g=ke?g.stateNode:g.stateNode.instance,T?U.nodeType===8?U.parentNode.insertBefore(g,T):U.insertBefore(g,T):(U.nodeType===8?(T=U.parentNode,T.insertBefore(g,U)):(T=U,T.appendChild(g)),U=U._reactRootContainer,U!=null||T.onclick!==null||(T.onclick=ai));else if(ve!==4&&(g=g.child,g!==null))for(sl(g,T,U),g=g.sibling;g!==null;)sl(g,T,U),g=g.sibling}function lu(g,T,U){var ve=g.tag,ke=ve===5||ve===6;if(ke)g=ke?g.stateNode:g.stateNode.instance,T?U.insertBefore(g,T):U.appendChild(g);else if(ve!==4&&(g=g.child,g!==null))for(lu(g,T,U),g=g.sibling;g!==null;)lu(g,T,U),g=g.sibling}function Fc(g,T){for(var U=T,ve=!1,ke,ot;;){if(!ve){ve=U.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(U.tag===5||U.tag===6){e:for(var Nt=g,nr=U,Dr=nr;;)if(Xl(Nt,Dr),Dr.child!==null&&Dr.tag!==4)Dr.child.return=Dr,Dr=Dr.child;else{if(Dr===nr)break e;for(;Dr.sibling===null;){if(Dr.return===null||Dr.return===nr)break e;Dr=Dr.return}Dr.sibling.return=Dr.return,Dr=Dr.sibling}ot?(Nt=ke,nr=U.stateNode,Nt.nodeType===8?Nt.parentNode.removeChild(nr):Nt.removeChild(nr)):ke.removeChild(U.stateNode)}else if(U.tag===4){if(U.child!==null){ke=U.stateNode.containerInfo,ot=!0,U.child.return=U,U=U.child;continue}}else if(Xl(g,U),U.child!==null){U.child.return=U,U=U.child;continue}if(U===T)break;for(;U.sibling===null;){if(U.return===null||U.return===T)return;U=U.return,U.tag===4&&(ve=!1)}U.sibling.return=U.return,U=U.sibling}}function Bc(g,T){switch(T.tag){case 0:case 11:case 14:case 15:case 22:var U=T.updateQueue;if(U=U!==null?U.lastEffect:null,U!==null){var ve=U=U.next;do(ve.tag&3)===3&&(g=ve.destroy,ve.destroy=void 0,g!==void 0&&g()),ve=ve.next;while(ve!==U)}return;case 1:return;case 5:if(U=T.stateNode,U!=null){ve=T.memoizedProps;var ke=g!==null?g.memoizedProps:ve;g=T.type;var ot=T.updateQueue;if(T.updateQueue=null,ot!==null){for(U[va]=ve,g==="input"&&ve.type==="radio"&&ve.name!=null&&Ue(U,ve),ct(g,ke),T=ct(g,ve),ke=0;ke<ot.length;ke+=2){var Nt=ot[ke],nr=ot[ke+1];Nt==="style"?pe(U,nr):Nt==="dangerouslySetInnerHTML"?$t(U,nr):Nt==="children"?Tt(U,nr):B(U,Nt,nr,T)}switch(g){case"input":ge(U,ve);break;case"textarea":Wt(U,ve);break;case"select":g=U._wrapperState.wasMultiple,U._wrapperState.wasMultiple=!!ve.multiple,ot=ve.value,ot!=null?rt(U,!!ve.multiple,ot,!1):g!==!!ve.multiple&&(ve.defaultValue!=null?rt(U,!!ve.multiple,ve.defaultValue,!0):rt(U,!!ve.multiple,ve.multiple?[]:"",!1))}}}return;case 6:if(T.stateNode===null)throw Error(c(162));T.stateNode.nodeValue=T.memoizedProps;return;case 3:U=T.stateNode,U.hydrate&&(U.hydrate=!1,dt(U.containerInfo));return;case 12:return;case 13:T.memoizedState!==null&&(gl=Ct(),vc(T.child,!0)),tf(T);return;case 19:tf(T);return;case 17:return;case 23:case 24:vc(T,T.memoizedState!==null);return}throw Error(c(163))}function tf(g){var T=g.updateQueue;if(T!==null){g.updateQueue=null;var U=g.stateNode;U===null&&(U=g.stateNode=new mc),T.forEach(function(ve){var ke=xl.bind(null,g,ve);U.has(ve)||(U.add(ve),ve.then(ke,ke))})}}function C(g,T){return g!==null&&(g=g.memoizedState,g===null||g.dehydrated!==null)?(T=T.memoizedState,T!==null&&T.dehydrated===null):!1}var D=Math.ceil,L=N.ReactCurrentDispatcher,_e=N.ReactCurrentOwner,Oe=0,hn=null,On=null,yn=0,Fi=0,Ka=bo(0),La=0,Go=null,Ts=0,Eo=0,Fs=0,gc=0,rf=null,gl=0,nf=1/0;function Tl(){nf=Ct()+500}var Zi=null,cu=!1,Nc=null,Ko=null,so=!1,ws=null,Cl=90,Ql=[],$c=[],jl=null,Pl=0,Ru=null,Yu=-1,Ul=0,wf=0,jc=null,Sf=!1;function Lu(){return Oe&48?Ct():Yu!==-1?Yu:Yu=Ct()}function Il(g){if(g=g.mode,!(g&2))return 1;if(!(g&4))return Ut()===99?1:2;if(Ul===0&&(Ul=Ts),Xn.transition!==0){wf!==0&&(wf=rf!==null?rf.pendingLanes:0),g=Ul;var T=4186112&~wf;return T&=-T,T===0&&(g=4186112&~g,T=g&-g,T===0&&(T=8192)),T}return g=Ut(),Oe&4&&g===98?g=ln(12,Ul):(g=Tn(g),g=ln(g,Ul)),g}function Mu(g,T,U){if(50<Pl)throw Pl=0,Ru=null,Error(c(185));if(g=yc(g,T),g===null)return null;ji(g,T,U),g===hn&&(Fs|=T,La===4&&Dl(g,yn));var ve=Ut();T===1?Oe&8&&!(Oe&48)?Fn(g):(Xu(g,U),Oe===0&&(Tl(),fn())):(!(Oe&4)||ve!==98&&ve!==99||(jl===null?jl=new Set([g]):jl.add(g)),Xu(g,U)),rf=g}function yc(g,T){g.lanes|=T;var U=g.alternate;for(U!==null&&(U.lanes|=T),U=g,g=g.return;g!==null;)g.childLanes|=T,U=g.alternate,U!==null&&(U.childLanes|=T),U=g,g=g.return;return U.tag===3?U.stateNode:null}function Xu(g,T){for(var U=g.callbackNode,ve=g.suspendedLanes,ke=g.pingedLanes,ot=g.expirationTimes,Nt=g.pendingLanes;0<Nt;){var nr=31-Ii(Nt),Dr=1<<nr,_n=ot[nr];if(_n===-1){if(!(Dr&ve)||Dr&ke){_n=T,Rr(Dr);var Bi=Pr;ot[nr]=10<=Bi?_n+250:6<=Bi?_n+5e3:-1}}else _n<=T&&(g.expiredLanes|=Dr);Nt&=~Dr}if(ve=pn(g,g===hn?yn:0),T=Pr,ve===0)U!==null&&(U!==Z&&ia(U),g.callbackNode=null,g.callbackPriority=0);else{if(U!==null){if(g.callbackPriority===T)return;U!==Z&&ia(U)}T===15?(U=Fn.bind(null,g),te===null?(te=[U],de=xa(El,Dn)):te.push(U),U=Z):T===14?U=Gr(99,Fn.bind(null,g)):(U=Tr(T),U=Gr(U,Uc.bind(null,g))),g.callbackPriority=T,g.callbackNode=U}}function Uc(g){if(Yu=-1,wf=Ul=0,Oe&48)throw Error(c(327));var T=g.callbackNode;if(ql()&&g.callbackNode!==T)return null;var U=pn(g,g===hn?yn:0);if(U===0)return null;var ve=U,ke=Oe;Oe|=16;var ot=fa();(hn!==g||yn!==ve)&&(Tl(),ka(g,ve));do try{Fu();break}catch(nr){Ds(g,nr)}while(!0);if(ys(),L.current=ot,Oe=ke,On!==null?ve=0:(hn=null,yn=0,ve=La),Ts&Fs)ka(g,0);else if(ve!==0){if(ve===2&&(Oe|=64,g.hydrate&&(g.hydrate=!1,Mi(g.containerInfo)),U=sn(g),U!==0&&(ve=Os(g,U))),ve===1)throw T=Go,ka(g,0),Dl(g,U),Xu(g,Ct()),T;switch(g.finishedWork=g.current.alternate,g.finishedLanes=U,ve){case 0:case 1:throw Error(c(345));case 2:zl(g);break;case 3:if(Dl(g,U),(U&62914560)===U&&(ve=gl+500-Ct(),10<ve)){if(pn(g,0)!==0)break;if(ke=g.suspendedLanes,(ke&U)!==U){Lu(),g.pingedLanes|=g.suspendedLanes&ke;break}g.timeoutHandle=Oi(zl.bind(null,g),ve);break}zl(g);break;case 4:if(Dl(g,U),(U&4186112)===U)break;for(ve=g.eventTimes,ke=-1;0<U;){var Nt=31-Ii(U);ot=1<<Nt,Nt=ve[Nt],Nt>ke&&(ke=Nt),U&=~ot}if(U=ke,U=Ct()-U,U=(120>U?120:480>U?480:1080>U?1080:1920>U?1920:3e3>U?3e3:4320>U?4320:1960*D(U/1960))-U,10<U){g.timeoutHandle=Oi(zl.bind(null,g),U);break}zl(g);break;case 5:zl(g);break;default:throw Error(c(329))}}return Xu(g,Ct()),g.callbackNode===T?Uc.bind(null,g):null}function Dl(g,T){for(T&=~gc,T&=~Fs,g.suspendedLanes|=T,g.pingedLanes&=~T,g=g.expirationTimes;0<T;){var U=31-Ii(T),ve=1<<U;g[U]=-1,T&=~ve}}function Fn(g){if(Oe&48)throw Error(c(327));if(ql(),g===hn&&g.expiredLanes&yn){var T=yn,U=Os(g,T);Ts&Fs&&(T=pn(g,T),U=Os(g,T))}else T=pn(g,0),U=Os(g,T);if(g.tag!==0&&U===2&&(Oe|=64,g.hydrate&&(g.hydrate=!1,Mi(g.containerInfo)),T=sn(g),T!==0&&(U=Os(g,T))),U===1)throw U=Go,ka(g,0),Dl(g,T),Xu(g,Ct()),U;return g.finishedWork=g.current.alternate,g.finishedLanes=T,zl(g),Xu(g,Ct()),null}function ti(){if(jl!==null){var g=jl;jl=null,g.forEach(function(T){T.expiredLanes|=24&T.pendingLanes,Xu(T,Ct())})}fn()}function Gi(g,T){var U=Oe;Oe|=1;try{return g(T)}finally{Oe=U,Oe===0&&(Tl(),fn())}}function Ma(g,T){var U=Oe;Oe&=-2,Oe|=8;try{return g(T)}finally{Oe=U,Oe===0&&(Tl(),fn())}}function ca(g,T){rs(Ka,Fi),Fi|=T,Ts|=T}function ba(){Fi=Ka.current,Sa(Ka)}function ka(g,T){g.finishedWork=null,g.finishedLanes=0;var U=g.timeoutHandle;if(U!==-1&&(g.timeoutHandle=-1,Da(U)),On!==null)for(U=On.return;U!==null;){var ve=U;switch(ve.tag){case 1:ve=ve.type.childContextTypes,ve!=null&&_r();break;case 3:ac(),Sa(ye),Sa(Oa),pf();break;case 5:Tc(ve);break;case 4:ac();break;case 13:Sa(ao);break;case 19:Sa(ao);break;case 10:bs(ve);break;case 23:case 24:ba()}U=U.return}hn=g,On=kl(g.current,null),yn=Fi=Ts=T,La=0,Go=null,gc=Fs=Eo=0}function Ds(g,T){do{var U=On;try{if(ys(),Uo.current=Vl,Pc){for(var ve=Es.memoizedState;ve!==null;){var ke=ve.queue;ke!==null&&(ke.pending=null),ve=ve.next}Pc=!1}if(Wl=0,su=Xo=Es=null,uu=!1,_e.current=null,U===null||U.return===null){La=1,Go=T,On=null;break}e:{var ot=g,Nt=U.return,nr=U,Dr=T;if(T=yn,nr.flags|=2048,nr.firstEffect=nr.lastEffect=null,Dr!==null&&typeof Dr=="object"&&typeof Dr.then=="function"){var _n=Dr;if(!(nr.mode&2)){var Bi=nr.alternate;Bi?(nr.updateQueue=Bi.updateQueue,nr.memoizedState=Bi.memoizedState,nr.lanes=Bi.lanes):(nr.updateQueue=null,nr.memoizedState=null)}var za=(ao.current&1)!==0,Qn=Nt;do{var da;if(da=Qn.tag===13){var Fa=Qn.memoizedState;if(Fa!==null)da=Fa.dehydrated!==null;else{var Ta=Qn.memoizedProps;da=Ta.fallback===void 0?!1:Ta.unstable_avoidThisFallback!==!0?!0:!za}}if(da){var tn=Qn.updateQueue;if(tn===null){var Ur=new Set;Ur.add(_n),Qn.updateQueue=Ur}else tn.add(_n);if(!(Qn.mode&2)){if(Qn.flags|=64,nr.flags|=16384,nr.flags&=-2981,nr.tag===1)if(nr.alternate===null)nr.tag=17;else{var qr=Ro(-1,1);qr.tag=2,vo(nr,qr)}nr.lanes|=1;break e}Dr=void 0,nr=T;var kn=ot.pingCache;if(kn===null?(kn=ot.pingCache=new ef,Dr=new Set,kn.set(_n,Dr)):(Dr=kn.get(_n),Dr===void 0&&(Dr=new Set,kn.set(_n,Dr))),!Dr.has(nr)){Dr.add(nr);var Zn=Hf.bind(null,ot,_n,nr);_n.then(Zn,Zn)}Qn.flags|=4096,Qn.lanes=T;break e}Qn=Qn.return}while(Qn!==null);Dr=Error((Yt(nr.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
|
|
|
|
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}La!==5&&(La=2),Dr=Jo(Dr,nr),Qn=Nt;do{switch(Qn.tag){case 3:ot=Dr,Qn.flags|=4096,T&=-T,Qn.lanes|=T;var Va=hc(Qn,ot,T);au(Qn,Va);break e;case 1:ot=Dr;var Ki=Qn.type,Ga=Qn.stateNode;if(!(Qn.flags&64)&&(typeof Ki.getDerivedStateFromError=="function"||Ga!==null&&typeof Ga.componentDidCatch=="function"&&(Ko===null||!Ko.has(Ga)))){Qn.flags|=4096,T&=-T,Qn.lanes|=T;var ls=pc(Qn,ot,T);au(Qn,ls);break e}}Qn=Qn.return}while(Qn!==null)}yl(U)}catch(qa){T=qa,On===U&&U!==null&&(On=U=U.return);continue}break}while(!0)}function fa(){var g=L.current;return L.current=Vl,g===null?Vl:g}function Os(g,T){var U=Oe;Oe|=16;var ve=fa();hn===g&&yn===T||ka(g,T);do try{Qu();break}catch(ke){Ds(g,ke)}while(!0);if(ys(),Oe=U,L.current=ve,On!==null)throw Error(c(261));return hn=null,yn=0,La}function Qu(){for(;On!==null;)Ol(On)}function Fu(){for(;On!==null&&!Ao();)Ol(On)}function Ol(g){var T=zc(g.alternate,g,Fi);g.memoizedProps=g.pendingProps,T===null?yl(g):On=T,_e.current=null}function yl(g){var T=g;do{var U=T.alternate;if(g=T.return,T.flags&2048){if(U=bf(T),U!==null){U.flags&=2047,On=U;return}g!==null&&(g.firstEffect=g.lastEffect=null,g.flags|=2048)}else{if(U=Zf(U,T,Fi),U!==null){On=U;return}if(U=T,U.tag!==24&&U.tag!==23||U.memoizedState===null||Fi&1073741824||!(U.mode&4)){for(var ve=0,ke=U.child;ke!==null;)ve|=ke.lanes|ke.childLanes,ke=ke.sibling;U.childLanes=ve}g!==null&&!(g.flags&2048)&&(g.firstEffect===null&&(g.firstEffect=T.firstEffect),T.lastEffect!==null&&(g.lastEffect!==null&&(g.lastEffect.nextEffect=T.firstEffect),g.lastEffect=T.lastEffect),1<T.flags&&(g.lastEffect!==null?g.lastEffect.nextEffect=T:g.firstEffect=T,g.lastEffect=T))}if(T=T.sibling,T!==null){On=T;return}On=T=g}while(T!==null);La===0&&(La=5)}function zl(g){var T=Ut();return br(99,Kf.bind(null,g,T)),null}function Kf(g,T){do ql();while(ws!==null);if(Oe&48)throw Error(c(327));var U=g.finishedWork;if(U===null)return null;if(g.finishedWork=null,g.finishedLanes=0,U===g.current)throw Error(c(177));g.callbackNode=null;var ve=U.lanes|U.childLanes,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 Nt=g.eventTimes,nr=g.expirationTimes;0<ot;){var Dr=31-Ii(ot),_n=1<<Dr;ke[Dr]=0,Nt[Dr]=-1,nr[Dr]=-1,ot&=~_n}if(jl!==null&&!(ve&24)&&jl.has(g)&&jl.delete(g),g===hn&&(On=hn=null,yn=0),1<U.flags?U.lastEffect!==null?(U.lastEffect.nextEffect=U,ve=U.firstEffect):ve=U:ve=U.firstEffect,ve!==null){if(ke=Oe,Oe|=32,_e.current=null,Ai=$a,Nt=Ca(),hs(Nt)){if("selectionStart"in Nt)nr={start:Nt.selectionStart,end:Nt.selectionEnd};else e:if(nr=(nr=Nt.ownerDocument)&&nr.defaultView||window,(_n=nr.getSelection&&nr.getSelection())&&_n.rangeCount!==0){nr=_n.anchorNode,ot=_n.anchorOffset,Dr=_n.focusNode,_n=_n.focusOffset;try{nr.nodeType,Dr.nodeType}catch(qa){nr=null;break e}var Bi=0,za=-1,Qn=-1,da=0,Fa=0,Ta=Nt,tn=null;t:for(;;){for(var Ur;Ta!==nr||ot!==0&&Ta.nodeType!==3||(za=Bi+ot),Ta!==Dr||_n!==0&&Ta.nodeType!==3||(Qn=Bi+_n),Ta.nodeType===3&&(Bi+=Ta.nodeValue.length),(Ur=Ta.firstChild)!==null;)tn=Ta,Ta=Ur;for(;;){if(Ta===Nt)break t;if(tn===nr&&++da===ot&&(za=Bi),tn===Dr&&++Fa===_n&&(Qn=Bi),(Ur=Ta.nextSibling)!==null)break;Ta=tn,tn=Ta.parentNode}Ta=Ur}nr=za===-1||Qn===-1?null:{start:za,end:Qn}}else nr=null;nr=nr||{start:0,end:0}}else nr=null;Ui={focusedElem:Nt,selectionRange:nr},$a=!1,jc=null,Sf=!1,Zi=ve;do try{Af()}catch(qa){if(Zi===null)throw Error(c(330));bl(Zi,qa),Zi=Zi.nextEffect}while(Zi!==null);jc=null,Zi=ve;do try{for(Nt=g;Zi!==null;){var qr=Zi.flags;if(qr&16&&Tt(Zi.stateNode,""),qr&128){var kn=Zi.alternate;if(kn!==null){var Zn=kn.ref;Zn!==null&&(typeof Zn=="function"?Zn(null):Zn.current=null)}}switch(qr&1038){case 2:Vu(Zi),Zi.flags&=-3;break;case 6:Vu(Zi),Zi.flags&=-3,Bc(Zi.alternate,Zi);break;case 1024:Zi.flags&=-1025;break;case 1028:Zi.flags&=-1025,Bc(Zi.alternate,Zi);break;case 4:Bc(Zi.alternate,Zi);break;case 8:nr=Zi,Fc(Nt,nr);var Va=nr.alternate;Ef(nr),Va!==null&&Ef(Va)}Zi=Zi.nextEffect}}catch(qa){if(Zi===null)throw Error(c(330));bl(Zi,qa),Zi=Zi.nextEffect}while(Zi!==null);if(Zn=Ui,kn=Ca(),qr=Zn.focusedElem,Nt=Zn.selectionRange,kn!==qr&&qr&&qr.ownerDocument&&Ji(qr.ownerDocument.documentElement,qr)){for(Nt!==null&&hs(qr)&&(kn=Nt.start,Zn=Nt.end,Zn===void 0&&(Zn=kn),"selectionStart"in qr?(qr.selectionStart=kn,qr.selectionEnd=Math.min(Zn,qr.value.length)):(Zn=(kn=qr.ownerDocument||document)&&kn.defaultView||window,Zn.getSelection&&(Zn=Zn.getSelection(),nr=qr.textContent.length,Va=Math.min(Nt.start,nr),Nt=Nt.end===void 0?Va:Math.min(Nt.end,nr),!Zn.extend&&Va>Nt&&(nr=Nt,Nt=Va,Va=nr),nr=pa(qr,Va),ot=pa(qr,Nt),nr&&ot&&(Zn.rangeCount!==1||Zn.anchorNode!==nr.node||Zn.anchorOffset!==nr.offset||Zn.focusNode!==ot.node||Zn.focusOffset!==ot.offset)&&(kn=kn.createRange(),kn.setStart(nr.node,nr.offset),Zn.removeAllRanges(),Va>Nt?(Zn.addRange(kn),Zn.extend(ot.node,ot.offset)):(kn.setEnd(ot.node,ot.offset),Zn.addRange(kn)))))),kn=[],Zn=qr;Zn=Zn.parentNode;)Zn.nodeType===1&&kn.push({element:Zn,left:Zn.scrollLeft,top:Zn.scrollTop});for(typeof qr.focus=="function"&&qr.focus(),qr=0;qr<kn.length;qr++)Zn=kn[qr],Zn.element.scrollLeft=Zn.left,Zn.element.scrollTop=Zn.top}$a=!!Ai,Ui=Ai=null,g.current=U,Zi=ve;do try{for(qr=g;Zi!==null;){var Ki=Zi.flags;if(Ki&36&&Lc(qr,Zi.alternate,Zi),Ki&128){kn=void 0;var Ga=Zi.ref;if(Ga!==null){var ls=Zi.stateNode;switch(Zi.tag){case 5:kn=ls;break;default:kn=ls}typeof Ga=="function"?Ga(kn):Ga.current=kn}}Zi=Zi.nextEffect}}catch(qa){if(Zi===null)throw Error(c(330));bl(Zi,qa),Zi=Zi.nextEffect}while(Zi!==null);Zi=null,X(),Oe=ke}else g.current=U;if(so)so=!1,ws=g,Cl=T;else for(Zi=ve;Zi!==null;)T=Zi.nextEffect,Zi.nextEffect=null,Zi.flags&8&&(Ki=Zi,Ki.sibling=null,Ki.stateNode=null),Zi=T;if(ve=g.pendingLanes,ve===0&&(Ko=null),ve===1?g===Ru?Pl++:(Pl=0,Ru=g):Pl=0,U=U.stateNode,jn&&typeof jn.onCommitFiberRoot=="function")try{jn.onCommitFiberRoot(zn,U,void 0,(U.current.flags&64)===64)}catch(qa){}if(Xu(g,Ct()),cu)throw cu=!1,g=Nc,Nc=null,g;return Oe&8||fn(),null}function Af(){for(;Zi!==null;){var g=Zi.alternate;Sf||jc===null||(Zi.flags&8?nn(Zi,jc)&&(Sf=!0):Zi.tag===13&&C(g,Zi)&&nn(Zi,jc)&&(Sf=!0));var T=Zi.flags;T&256&&xf(g,Zi),!(T&512)||so||(so=!0,Gr(97,function(){return ql(),null})),Zi=Zi.nextEffect}}function ql(){if(Cl!==90){var g=97<Cl?97:Cl;return Cl=90,br(g,Cf)}return!1}function Tf(g,T){Ql.push(T,g),so||(so=!0,Gr(97,function(){return ql(),null}))}function af(g,T){$c.push(T,g),so||(so=!0,Gr(97,function(){return ql(),null}))}function Cf(){if(ws===null)return!1;var g=ws;if(ws=null,Oe&48)throw Error(c(331));var T=Oe;Oe|=32;var U=$c;$c=[];for(var ve=0;ve<U.length;ve+=2){var ke=U[ve],ot=U[ve+1],Nt=ke.destroy;if(ke.destroy=void 0,typeof Nt=="function")try{Nt()}catch(Dr){if(ot===null)throw Error(c(330));bl(ot,Dr)}}for(U=Ql,Ql=[],ve=0;ve<U.length;ve+=2){ke=U[ve],ot=U[ve+1];try{var nr=ke.create;ke.destroy=nr()}catch(Dr){if(ot===null)throw Error(c(330));bl(ot,Dr)}}for(nr=g.current.firstEffect;nr!==null;)g=nr.nextEffect,nr.nextEffect=null,nr.flags&8&&(nr.sibling=null,nr.stateNode=null),nr=g;return Oe=T,fn(),!0}function sf(g,T,U){T=Jo(U,T),T=hc(g,T,1),vo(g,T),T=Lu(),g=yc(g,1),g!==null&&(ji(g,1,T),Xu(g,T))}function bl(g,T){if(g.tag===3)sf(g,g,T);else for(var U=g.return;U!==null;){if(U.tag===3){sf(U,g,T);break}else if(U.tag===1){var ve=U.stateNode;if(typeof U.type.getDerivedStateFromError=="function"||typeof ve.componentDidCatch=="function"&&(Ko===null||!Ko.has(ve))){g=Jo(T,g);var ke=pc(U,g,1);if(vo(U,ke),ke=Lu(),U=yc(U,1),U!==null)ji(U,1,ke),Xu(U,ke);else if(typeof ve.componentDidCatch=="function"&&(Ko===null||!Ko.has(ve)))try{ve.componentDidCatch(T,g)}catch(ot){}break}}U=U.return}}function Hf(g,T,U){var ve=g.pingCache;ve!==null&&ve.delete(T),T=Lu(),g.pingedLanes|=g.suspendedLanes&U,hn===g&&(yn&U)===U&&(La===4||La===3&&(yn&62914560)===yn&&500>Ct()-gl?ka(g,0):gc|=U),Xu(g,T)}function xl(g,T){var U=g.stateNode;U!==null&&U.delete(T),T=0,T===0&&(T=g.mode,T&2?T&4?(Ul===0&&(Ul=Ts),T=Ln(62914560&~Ul),T===0&&(T=4194304)):T=Ut()===99?1:2:T=1),U=Lu(),g=yc(g,T),g!==null&&(ji(g,T,U),Xu(g,U))}var zc;zc=function(g,T,U){var ve=T.lanes;if(g!==null)if(g.memoizedProps!==T.pendingProps||ye.current)il=!0;else if(U&ve)il=!!(g.flags&16384);else{switch(il=!1,T.tag){case 3:vu(T),oc();break;case 5:hi(T);break;case 1:Qr(T.type)&&ni(T);break;case 4:Ac(T,T.stateNode.containerInfo);break;case 10:ve=T.memoizedProps.value;var ke=T.type._context;rs(Ci,ke._currentValue),ke._currentValue=ve;break;case 13:if(T.memoizedState!==null)return U&T.child.childLanes?cc(g,T,U):(rs(ao,ao.current&1),T=al(g,T,U),T!==null?T.sibling:null);rs(ao,ao.current&1);break;case 19:if(ve=(U&T.childLanes)!==0,g.flags&64){if(ve)return Gu(g,T,U);T.flags|=64}if(ke=T.memoizedState,ke!==null&&(ke.rendering=null,ke.tail=null,ke.lastEffect=null),rs(ao,ao.current),ve)break;return null;case 23:case 24:return T.lanes=0,yf(g,T,U)}return al(g,T,U)}else il=!1;switch(T.lanes=0,T.tag){case 2:if(ve=T.type,g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),g=T.pendingProps,ke=xr(T,Oa.current),os(T,U),ke=Yc(null,T,ve,g,ke,U),T.flags|=1,typeof ke=="object"&&ke!==null&&typeof ke.render=="function"&&ke.$$typeof===void 0){if(T.tag=1,T.memoizedState=null,T.updateQueue=null,Qr(ve)){var ot=!0;ni(T)}else ot=!1;T.memoizedState=ke.state!==null&&ke.state!==void 0?ke.state:null,Qs(T);var Nt=ve.getDerivedStateFromProps;typeof Nt=="function"&&ic(T,ve,Nt,g),ke.updater=cl,T.stateNode=ke,ke._reactInternals=T,dl(T,ve,g,U),T=$e(null,T,ve,!0,ot,U)}else T.tag=0,Co(null,T,ke,U),T=T.child;return T;case 16:ke=T.elementType;e:{switch(g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),g=T.pendingProps,ot=ke._init,ke=ot(ke._payload),T.type=ke,ot=T.tag=Pf(ke),g=ei(ke,g),ot){case 0:T=Qo(null,T,ke,g,U);break e;case 1:T=vl(null,T,ke,g,U);break e;case 11:T=Bl(null,T,ke,g,U);break e;case 14:T=kf(null,T,ke,ei(ke.type,g),ve,U);break e}throw Error(c(306,ke,""))}return T;case 0:return ve=T.type,ke=T.pendingProps,ke=T.elementType===ve?ke:ei(ve,ke),Qo(g,T,ve,ke,U);case 1:return ve=T.type,ke=T.pendingProps,ke=T.elementType===ve?ke:ei(ve,ke),vl(g,T,ve,ke,U);case 3:if(vu(T),ve=T.updateQueue,g===null||ve===null)throw Error(c(282));if(ve=T.pendingProps,ke=T.memoizedState,ke=ke!==null?ke.element:null,ki(g,T),qs(T,ve,null,U),ve=T.memoizedState.element,ve===ke)oc(),T=al(g,T,U);else{if(ke=T.stateNode,(ot=ke.hydrate)&&(wl=Di(T.stateNode.containerInfo.firstChild),Ou=T,ot=tl=!0),ot){if(g=ke.mutableSourceEagerHydrationData,g!=null)for(ke=0;ke<g.length;ke+=2)ot=g[ke],ot._workInProgressVersionPrimary=g[ke+1],ml.push(ot);for(U=Ml(T,null,ve,U),T.child=U;U;)U.flags=U.flags&-3|1024,U=U.sibling}else Co(g,T,ve,U),oc();T=T.child}return T;case 5:return hi(T),g===null&&Lo(T),ve=T.type,ke=T.pendingProps,ot=g!==null?g.memoizedProps:null,Nt=ke.children,Xi(ve,ke)?Nt=null:ot!==null&&Xi(ve,ot)&&(T.flags|=16),Sl(g,T),Co(g,T,Nt,U),T.child;case 6:return g===null&&Lo(T),null;case 13:return cc(g,T,U);case 4:return Ac(T,T.stateNode.containerInfo),ve=T.pendingProps,g===null?T.child=hu(T,null,ve,U):Co(g,T,ve,U),T.child;case 11:return ve=T.type,ke=T.pendingProps,ke=T.elementType===ve?ke:ei(ve,ke),Bl(g,T,ve,ke,U);case 7:return Co(g,T,T.pendingProps,U),T.child;case 8:return Co(g,T,T.pendingProps.children,U),T.child;case 12:return Co(g,T,T.pendingProps.children,U),T.child;case 10:e:{ve=T.type._context,ke=T.pendingProps,Nt=T.memoizedProps,ot=ke.value;var nr=T.type._context;if(rs(Ci,nr._currentValue),nr._currentValue=ot,Nt!==null)if(nr=Nt.value,ot=Vn(nr,ot)?0:(typeof ve._calculateChangedBits=="function"?ve._calculateChangedBits(nr,ot):1073741823)|0,ot===0){if(Nt.children===ke.children&&!ye.current){T=al(g,T,U);break e}}else for(nr=T.child,nr!==null&&(nr.return=T);nr!==null;){var Dr=nr.dependencies;if(Dr!==null){Nt=nr.child;for(var _n=Dr.firstContext;_n!==null;){if(_n.context===ve&&_n.observedBits&ot){nr.tag===1&&(_n=Ro(-1,U&-U),_n.tag=2,vo(nr,_n)),nr.lanes|=U,_n=nr.alternate,_n!==null&&(_n.lanes|=U),Ws(nr.return,U),Dr.lanes|=U;break}_n=_n.next}}else Nt=nr.tag===10&&nr.type===T.type?null:nr.child;if(Nt!==null)Nt.return=nr;else for(Nt=nr;Nt!==null;){if(Nt===T){Nt=null;break}if(nr=Nt.sibling,nr!==null){nr.return=Nt.return,Nt=nr;break}Nt=Nt.return}nr=Nt}Co(g,T,ke.children,U),T=T.child}return T;case 9:return ke=T.type,ot=T.pendingProps,ve=ot.children,os(T,U),ke=Ua(ke,ot.unstable_observedBits),ve=ve(ke),T.flags|=1,Co(g,T,ve,U),T.child;case 14:return ke=T.type,ot=ei(ke,T.pendingProps),ot=ei(ke.type,ot),kf(g,T,ke,ot,ve,U);case 15:return Jc(g,T,T.type,T.pendingProps,ve,U);case 17:return ve=T.type,ke=T.pendingProps,ke=T.elementType===ve?ke:ei(ve,ke),g!==null&&(g.alternate=null,T.alternate=null,T.flags|=2),T.tag=1,Qr(ve)?(g=!0,ni(T)):g=!1,os(T,U),el(T,ve,ke),dl(T,ve,ke,U),$e(null,T,ve,!0,g,U);case 19:return Gu(g,T,U);case 23:return yf(g,T,U);case 24:return yf(g,T,U)}throw Error(c(156,T.tag))};function Rf(g,T,U,ve){this.tag=g,this.key=U,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=T,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=ve,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function eu(g,T,U,ve){return new Rf(g,T,U,ve)}function of(g){return g=g.prototype,!(!g||!g.isReactComponent)}function Pf(g){if(typeof g=="function")return of(g)?1:0;if(g!=null){if(g=g.$$typeof,g===J)return 11;if(g===ee)return 14}return 2}function kl(g,T){var U=g.alternate;return U===null?(U=eu(g.tag,T,g.key,g.mode),U.elementType=g.elementType,U.type=g.type,U.stateNode=g.stateNode,U.alternate=g,g.alternate=U):(U.pendingProps=T,U.type=g.type,U.flags=0,U.nextEffect=null,U.firstEffect=null,U.lastEffect=null),U.childLanes=g.childLanes,U.lanes=g.lanes,U.child=g.child,U.memoizedProps=g.memoizedProps,U.memoizedState=g.memoizedState,U.updateQueue=g.updateQueue,T=g.dependencies,U.dependencies=T===null?null:{lanes:T.lanes,firstContext:T.firstContext},U.sibling=g.sibling,U.index=g.index,U.ref=g.ref,U}function Jl(g,T,U,ve,ke,ot){var Nt=2;if(ve=g,typeof g=="function")of(g)&&(Nt=1);else if(typeof g=="string")Nt=5;else e:switch(g){case H:return ou(U.children,ke,ot,T);case $:Nt=8,ke|=16;break;case ae:Nt=8,ke|=1;break;case ne:return g=eu(12,U,T,ke|8),g.elementType=ne,g.type=ne,g.lanes=ot,g;case K:return g=eu(13,U,T,ke),g.type=K,g.elementType=K,g.lanes=ot,g;case se:return g=eu(19,U,T,ke),g.elementType=se,g.lanes=ot,g;case ie:return uf(U,ke,ot,T);case me:return g=eu(24,U,T,ke),g.elementType=me,g.lanes=ot,g;default:if(typeof g=="object"&&g!==null)switch(g.$$typeof){case oe:Nt=10;break e;case q:Nt=9;break e;case J:Nt=11;break e;case ee:Nt=14;break e;case Q:Nt=16,ve=null;break e;case le:Nt=22;break e}throw Error(c(130,g==null?g:typeof g,""))}return T=eu(Nt,U,T,ke),T.elementType=g,T.type=ve,T.lanes=ot,T}function ou(g,T,U,ve){return g=eu(7,g,ve,T),g.lanes=U,g}function uf(g,T,U,ve){return g=eu(23,g,ve,T),g.elementType=ie,g.lanes=U,g}function Lf(g,T,U){return g=eu(6,g,null,T),g.lanes=U,g}function lf(g,T,U){return T=eu(4,g.children!==null?g.children:[],g.key,T),T.lanes=U,T.stateNode={containerInfo:g.containerInfo,pendingChildren:null,implementation:g.implementation},T}function ec(g,T,U){this.tag=T,this.containerInfo=g,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=U,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ia(0),this.expirationTimes=Ia(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ia(0),this.mutableSourceEagerHydrationData=null}function Mf(g,T,U){var ve=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:W,key:ve==null?null:""+ve,children:g,containerInfo:T,implementation:U}}function cf(g,T,U,ve){var ke=T.current,ot=Lu(),Nt=Il(ke);e:if(U){U=U._reactInternals;t:{if(it(U)!==U||U.tag!==1)throw Error(c(170));var nr=U;do{switch(nr.tag){case 3:nr=nr.stateNode.context;break t;case 1:if(Qr(nr.type)){nr=nr.stateNode.__reactInternalMemoizedMergedChildContext;break t}}nr=nr.return}while(nr!==null);throw Error(c(171))}if(U.tag===1){var Dr=U.type;if(Qr(Dr)){U=Mn(U,Dr,nr);break e}}U=nr}else U=Xs;return T.context===null?T.context=U:T.pendingContext=U,T=Ro(ot,Nt),T.payload={element:g},ve=ve===void 0?null:ve,ve!==null&&(T.callback=ve),vo(ke,T),Mu(ke,Nt,ot),Nt}function Wf(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 Qf(g,T){if(g=g.memoizedState,g!==null&&g.dehydrated!==null){var U=g.retryLane;g.retryLane=U!==0&&U<T?U:T}}function If(g,T){Qf(g,T),(g=g.alternate)&&Qf(g,T)}function rd(){return null}function Vf(g,T,U){var ve=U!=null&&U.hydrationOptions!=null&&U.hydrationOptions.mutableSources||null;if(U=new ec(g,T,U!=null&&U.hydrate===!0),T=eu(3,null,null,T===2?7:T===1?3:0),U.current=T,T.stateNode=U,Qs(T),g[Wi]=U.current,Gt(g.nodeType===8?g.parentNode:g),ve)for(g=0;g<ve.length;g++){T=ve[g];var ke=T._getVersion;ke=ke(T._source),U.mutableSourceEagerHydrationData==null?U.mutableSourceEagerHydrationData=[T,ke]:U.mutableSourceEagerHydrationData.push(T,ke)}this._internalRoot=U}Vf.prototype.render=function(g){cf(g,this._internalRoot,null,null)},Vf.prototype.unmount=function(){var g=this._internalRoot,T=g.containerInfo;cf(null,g,null,function(){T[Wi]=null})};function Ff(g){return!(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11&&(g.nodeType!==8||g.nodeValue!==" react-mount-point-unstable "))}function nd(g,T){if(T||(T=g?g.nodeType===9?g.documentElement:g.firstChild:null,T=!(!T||T.nodeType!==1||!T.hasAttribute("data-reactroot"))),!T)for(var U;U=g.lastChild;)g.removeChild(U);return new Vf(g,0,T?{hydrate:!0}:void 0)}function Bf(g,T,U,ve,ke){var ot=U._reactRootContainer;if(ot){var Nt=ot._internalRoot;if(typeof ke=="function"){var nr=ke;ke=function(){var _n=Wf(Nt);nr.call(_n)}}cf(T,Nt,g,ke)}else{if(ot=U._reactRootContainer=nd(U,ve),Nt=ot._internalRoot,typeof ke=="function"){var Dr=ke;ke=function(){var _n=Wf(Nt);Dr.call(_n)}}Ma(function(){cf(T,Nt,g,ke)})}return Wf(Nt)}vn=function(g){if(g.tag===13){var T=Lu();Mu(g,4,T),If(g,4)}},Wn=function(g){if(g.tag===13){var T=Lu();Mu(g,67108864,T),If(g,67108864)}},si=function(g){if(g.tag===13){var T=Lu(),U=Il(g);Mu(g,U,T),If(g,U)}},gi=function(g,T){return T()},St=function(g,T,U){switch(T){case"input":if(ge(g,U),T=U.name,U.type==="radio"&&T!=null){for(U=g;U.parentNode;)U=U.parentNode;for(U=U.querySelectorAll("input[name="+JSON.stringify(""+T)+'][type="radio"]'),T=0;T<U.length;T++){var ve=U[T];if(ve!==g&&ve.form===g.form){var ke=gs(ve);if(!ke)throw Error(c(90));nt(ve),ge(ve,ke)}}}break;case"textarea":Wt(g,U);break;case"select":T=U.value,T!=null&&rt(g,!!U.multiple,T,!1)}},Lt=Gi,Me=function(g,T,U,ve,ke){var ot=Oe;Oe|=4;try{return br(98,g.bind(null,T,U,ve,ke))}finally{Oe=ot,Oe===0&&(Tl(),fn())}},Or=function(){!(Oe&49)&&(ti(),ql())},At=function(g,T){var U=Oe;Oe|=2;try{return g(T)}finally{Oe=U,Oe===0&&(Tl(),fn())}};function qf(g,T){var U=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ff(T))throw Error(c(200));return Mf(g,T,null,U)}var id={Events:[ms,So,gs,Ye,vt,ql,{current:!1}]},Nf={findFiberByHostInstance:us,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ad={bundleType:Nf.bundleType,version:Nf.version,rendererPackageName:Nf.rendererPackageName,rendererConfig:Nf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(g){return g=gr(g),g===null?null:g.stateNode},findFiberByHostInstance:Nf.findFiberByHostInstance||rd,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Gf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gf.isDisabled&&Gf.supportsFiber)try{zn=Gf.inject(ad),jn=Gf}catch(g){}}v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=id,v.createPortal=qf,v.findDOMNode=function(g){if(g==null)return null;if(g.nodeType===1)return g;var T=g._reactInternals;if(T===void 0)throw typeof g.render=="function"?Error(c(188)):Error(c(268,Object.keys(g)));return g=gr(T),g=g===null?null:g.stateNode,g},v.flushSync=function(g,T){var U=Oe;if(U&48)return g(T);Oe|=1;try{if(g)return br(99,g.bind(null,T))}finally{Oe=U,fn()}},v.hydrate=function(g,T,U){if(!Ff(T))throw Error(c(200));return Bf(null,g,T,!0,U)},v.render=function(g,T,U){if(!Ff(T))throw Error(c(200));return Bf(null,g,T,!1,U)},v.unmountComponentAtNode=function(g){if(!Ff(g))throw Error(c(40));return g._reactRootContainer?(Ma(function(){Bf(null,null,g,!1,function(){g._reactRootContainer=null,g[Wi]=null})}),!0):!1},v.unstable_batchedUpdates=Gi,v.unstable_createPortal=function(g,T){return qf(g,T,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},v.unstable_renderSubtreeIntoContainer=function(g,T,U,ve){if(!Ff(U))throw Error(c(200));if(g==null||g._reactInternals===void 0)throw Error(c(38));return Bf(g,T,U,!1,ve)},v.version="17.0.2"},4676:function(d,v,e){"use strict";function r(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(i){console.error(i)}}r(),d.exports=e(23675)},12373:function(d){var v=typeof Element!="undefined",e=typeof Map=="function",r=typeof Set=="function",i=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(c,f){if(c===f)return!0;if(c&&f&&typeof c=="object"&&typeof f=="object"){if(c.constructor!==f.constructor)return!1;var o,h,u;if(Array.isArray(c)){if(o=c.length,o!=f.length)return!1;for(h=o;h--!==0;)if(!l(c[h],f[h]))return!1;return!0}var a;if(e&&c instanceof Map&&f instanceof Map){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;for(a=c.entries();!(h=a.next()).done;)if(!l(h.value[1],f.get(h.value[0])))return!1;return!0}if(r&&c instanceof Set&&f instanceof Set){if(c.size!==f.size)return!1;for(a=c.entries();!(h=a.next()).done;)if(!f.has(h.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(f)){if(o=c.length,o!=f.length)return!1;for(h=o;h--!==0;)if(c[h]!==f[h])return!1;return!0}if(c.constructor===RegExp)return c.source===f.source&&c.flags===f.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof f.valueOf=="function")return c.valueOf()===f.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof f.toString=="function")return c.toString()===f.toString();if(u=Object.keys(c),o=u.length,o!==Object.keys(f).length)return!1;for(h=o;h--!==0;)if(!Object.prototype.hasOwnProperty.call(f,u[h]))return!1;if(v&&c instanceof Element)return!1;for(h=o;h--!==0;)if(!((u[h]==="_owner"||u[h]==="__v"||u[h]==="__o")&&c.$$typeof)&&!l(c[u[h]],f[u[h]]))return!1;return!0}return c!==c&&f!==f}d.exports=function(f,o){try{return l(f,o)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}}},30508:function(d,v){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,l=e?Symbol.for("react.fragment"):60107,c=e?Symbol.for("react.strict_mode"):60108,f=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,h=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,a=e?Symbol.for("react.concurrent_mode"):60111,x=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,y=e?Symbol.for("react.suspense_list"):60120,m=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 P(B){if(typeof B=="object"&&B!==null){var N=B.$$typeof;switch(N){case r:switch(B=B.type,B){case u:case a:case l:case f:case c:case p:return B;default:switch(B=B&&B.$$typeof,B){case h:case x:case b:case m:case o:return B;default:return N}}case i:return N}}}function M(B){return P(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=m,v.Portal=i,v.Profiler=f,v.StrictMode=c,v.Suspense=p,v.isAsyncMode=function(B){return M(B)||P(B)===u},v.isConcurrentMode=M,v.isContextConsumer=function(B){return P(B)===h},v.isContextProvider=function(B){return P(B)===o},v.isElement=function(B){return typeof B=="object"&&B!==null&&B.$$typeof===r},v.isForwardRef=function(B){return P(B)===x},v.isFragment=function(B){return P(B)===l},v.isLazy=function(B){return P(B)===b},v.isMemo=function(B){return P(B)===m},v.isPortal=function(B){return P(B)===i},v.isProfiler=function(B){return P(B)===f},v.isStrictMode=function(B){return P(B)===c},v.isSuspense=function(B){return P(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===m||B.$$typeof===o||B.$$typeof===h||B.$$typeof===x||B.$$typeof===k||B.$$typeof===R||B.$$typeof===A||B.$$typeof===S)},v.typeOf=P},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"),m=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===m||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 m}});var r=e(59301),i=e(35338),l=e(19340);function c(){return c=Object.assign||function(A){for(var P=1;P<arguments.length;P++){var M=arguments[P];for(var B in M)Object.prototype.hasOwnProperty.call(M,B)&&(A[B]=M[B])}return A},c.apply(this,arguments)}function f(A,P){if(A==null)return{};var M={},B=Object.keys(A),N,G;for(G=0;G<B.length;G++)N=B[G],!(P.indexOf(N)>=0)&&(M[N]=A[N]);return M}const o=["onClick","reloadDocument","replace","state","target","to"],h=null;function u(A,P){if(!A){typeof console!="undefined"&&console.warn(P);try{throw new Error(P)}catch(M){}}}function a(A){let{basename:P,children:M,window:B}=A,N=useRef();N.current==null&&(N.current=createBrowserHistory({window:B}));let G=N.current,[W,H]=useState({action:G.action,location:G.location});return useLayoutEffect(()=>G.listen(H),[G]),createElement(Router,{basename:P,children:M,location:W.location,navigationType:W.action,navigator:G})}function x(A){let{basename:P,children:M,window:B}=A,N=useRef();N.current==null&&(N.current=createHashHistory({window:B}));let G=N.current,[W,H]=useState({action:G.action,location:G.location});return useLayoutEffect(()=>G.listen(H),[G]),createElement(Router,{basename:P,children:M,location:W.location,navigationType:W.action,navigator:G})}function p(A){let{basename:P,children:M,history:B}=A;const[N,G]=useState({action:B.action,location:B.location});return useLayoutEffect(()=>B.listen(G),[B]),createElement(Router,{basename:P,children:M,location:N.location,navigationType:N.action,navigator:B})}function y(A){return!!(A.metaKey||A.altKey||A.ctrlKey||A.shiftKey)}const m=(0,r.forwardRef)(function(P,M){let{onClick:B,reloadDocument:N,replace:G=!1,state:W,target:H,to:ae}=P,ne=f(P,o),oe=(0,i.oQ)(ae),q=S(ae,{replace:G,state:W,target:H});function J(K){B&&B(K),!K.defaultPrevented&&!N&&q(K)}return(0,r.createElement)("a",c({},ne,{href:oe,onClick:J,ref:M,target:H}))}),b=null;function S(A,P){let{target:M,replace:B,state:N}=P===void 0?{}:P,G=(0,i.s0)(),W=(0,i.TH)(),H=(0,i.WU)(A);return(0,r.useCallback)(ae=>{if(ae.button===0&&(!M||M==="_self")&&!y(ae)){ae.preventDefault();let ne=!!B||(0,l.Ep)(W)===(0,l.Ep)(H);G(A,{replace:ne,state:N})}},[W,G,H,B,N,M,A])}function k(A){let P=(0,r.useRef)(R(A)),M=(0,i.TH)(),B=(0,r.useMemo)(()=>{let W=R(M.search);for(let H of P.current.keys())W.has(H)||P.current.getAll(H).forEach(ae=>{W.append(H,ae)});return W},[M.search]),N=(0,i.s0)(),G=(0,r.useCallback)((W,H)=>{N("?"+R(W),H)},[N]);return[B,G]}function R(A){return A===void 0&&(A=""),new URLSearchParams(typeof A=="string"||Array.isArray(A)||A instanceof URLSearchParams?A:Object.keys(A).reduce((P,M)=>{let B=A[M];return P.concat(Array.isArray(B)?B.map(N=>[M,N]):[[M,B]])},[]))}},35338:function(d,v,e){"use strict";e.d(v,{F0:function(){return nt},Fg:function(){return We},Gn:function(){return x},TH:function(){return ie},UO:function(){return yt},V$:function(){return rr},WU:function(){return It},bx:function(){return Ne},fp:function(){return p},j3:function(){return Pt},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(Ue,ge){if(!Ue)throw new Error(ge)}function h(Ue,ge){if(!Ue){typeof console!="undefined"&&console.warn(ge);try{throw new Error(ge)}catch(Se){}}}const u={};function a(Ue,ge,Se){!ge&&!u[Ue]&&(u[Ue]=!0)}function x(Ue,ge){return ge===void 0&&(ge={}),Ue.replace(/:(\w+)/g,(Se,Le)=>(ge[Le]==null&&o(!1),ge[Le])).replace(/\/*\*$/,Se=>ge["*"]==null?"":ge["*"].replace(/^\/*/,"/"))}function p(Ue,ge,Se){Se===void 0&&(Se="/");let Le=typeof ge=="string"?(0,r.cP)(ge):ge,je=K(Le.pathname||"/",Se);if(je==null)return null;let He=y(Ue);m(He);let rt=null;for(let lt=0;rt==null&<<He.length;++lt)rt=G(He[lt],je);return rt}function y(Ue,ge,Se,Le){return ge===void 0&&(ge=[]),Se===void 0&&(Se=[]),Le===void 0&&(Le=""),Ue.forEach((je,He)=>{let rt={relativePath:je.path||"",caseSensitive:je.caseSensitive===!0,childrenIndex:He,route:je};rt.relativePath.startsWith("/")&&(rt.relativePath.startsWith(Le)||o(!1),rt.relativePath=rt.relativePath.slice(Le.length));let lt=se([Le,rt.relativePath]),Kt=Se.concat(rt);je.children&&je.children.length>0&&(je.index===!0&&o(!1),y(je.children,ge,Kt,lt)),!(je.path==null&&!je.index)&&ge.push({path:lt,score:B(lt,je.index),routesMeta:Kt})}),ge}function m(Ue){Ue.sort((ge,Se)=>ge.score!==Se.score?Se.score-ge.score:N(ge.routesMeta.map(Le=>Le.childrenIndex),Se.routesMeta.map(Le=>Le.childrenIndex)))}const b=/^:\w+$/,S=3,k=2,R=1,A=10,P=-2,M=Ue=>Ue==="*";function B(Ue,ge){let Se=Ue.split("/"),Le=Se.length;return Se.some(M)&&(Le+=P),ge&&(Le+=k),Se.filter(je=>!M(je)).reduce((je,He)=>je+(b.test(He)?S:He===""?R:A),Le)}function N(Ue,ge){return Ue.length===ge.length&&Ue.slice(0,-1).every((Le,je)=>Le===ge[je])?Ue[Ue.length-1]-ge[ge.length-1]:0}function G(Ue,ge){let{routesMeta:Se}=Ue,Le={},je="/",He=[];for(let rt=0;rt<Se.length;++rt){let lt=Se[rt],Kt=rt===Se.length-1,Wt=je==="/"?ge:ge.slice(je.length)||"/",Ae=W({path:lt.relativePath,caseSensitive:lt.caseSensitive,end:Kt},Wt);if(!Ae)return null;Object.assign(Le,Ae.params);let qe=lt.route;He.push({params:Le,pathname:se([je,Ae.pathname]),pathnameBase:ee(se([je,Ae.pathnameBase])),route:qe}),Ae.pathnameBase!=="/"&&(je=se([je,Ae.pathnameBase]))}return He}function W(Ue,ge){typeof Ue=="string"&&(Ue={path:Ue,caseSensitive:!1,end:!0});let[Se,Le]=H(Ue.path,Ue.caseSensitive,Ue.end),je=ge.match(Se);if(!je)return null;let He=je[0],rt=He.replace(/(.)\/+$/,"$1"),lt=je.slice(1);return{params:Le.reduce((Wt,Ae,qe)=>{if(Ae==="*"){let Vt=lt[qe]||"";rt=He.slice(0,He.length-Vt.length).replace(/(.)\/+$/,"$1")}return Wt[Ae]=ae(lt[qe]||"",Ae),Wt},{}),pathname:He,pathnameBase:rt,pattern:Ue}}function H(Ue,ge,Se){ge===void 0&&(ge=!1),Se===void 0&&(Se=!0);let Le=[],je="^"+Ue.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(rt,lt)=>(Le.push(lt),"([^\\/]+)"));return Ue.endsWith("*")?(Le.push("*"),je+=Ue==="*"||Ue==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):je+=Se?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(je,ge?void 0:"i"),Le]}function ae(Ue,ge){try{return decodeURIComponent(Ue)}catch(Se){return Ue}}function ne(Ue,ge){ge===void 0&&(ge="/");let{pathname:Se,search:Le="",hash:je=""}=typeof Ue=="string"?(0,r.cP)(Ue):Ue;return{pathname:Se?Se.startsWith("/")?Se:oe(Se,ge):ge,search:Q(Le),hash:le(je)}}function oe(Ue,ge){let Se=ge.replace(/\/+$/,"").split("/");return Ue.split("/").forEach(je=>{je===".."?Se.length>1&&Se.pop():je!=="."&&Se.push(je)}),Se.length>1?Se.join("/"):"/"}function q(Ue,ge,Se){let Le=typeof Ue=="string"?(0,r.cP)(Ue):Ue,je=Ue===""||Le.pathname===""?"/":Le.pathname,He;if(je==null)He=Se;else{let lt=ge.length-1;if(je.startsWith("..")){let Kt=je.split("/");for(;Kt[0]==="..";)Kt.shift(),lt-=1;Le.pathname=Kt.join("/")}He=lt>=0?ge[lt]:"/"}let rt=ne(Le,He);return je&&je!=="/"&&je.endsWith("/")&&!rt.pathname.endsWith("/")&&(rt.pathname+="/"),rt}function J(Ue){return Ue===""||Ue.pathname===""?"/":typeof Ue=="string"?(0,r.cP)(Ue).pathname:Ue.pathname}function K(Ue,ge){if(ge==="/")return Ue;if(!Ue.toLowerCase().startsWith(ge.toLowerCase()))return null;let Se=Ue.charAt(ge.length);return Se&&Se!=="/"?null:Ue.slice(ge.length)||"/"}const se=Ue=>Ue.join("/").replace(/\/\/+/g,"/"),ee=Ue=>Ue.replace(/\/+$/,"").replace(/^\/*/,"/"),Q=Ue=>!Ue||Ue==="?"?"":Ue.startsWith("?")?Ue:"?"+Ue,le=Ue=>!Ue||Ue==="#"?"":Ue.startsWith("#")?Ue:"#"+Ue;function z(Ue){$()||o(!1);let{basename:ge,navigator:Se}=(0,i.useContext)(l),{hash:Le,pathname:je,search:He}=It(Ue),rt=je;if(ge!=="/"){let lt=J(Ue),Kt=lt!=null&<.endsWith("/");rt=je==="/"?ge+(Kt?"/":""):se([ge,je])}return Se.createHref({pathname:rt,search:He,hash:Le})}function $(){return(0,i.useContext)(c)!=null}function ie(){return $()||o(!1),(0,i.useContext)(c).location}function me(){return useContext(c).navigationType}function Pe(Ue){$()||o(!1);let{pathname:ge}=ie();return useMemo(()=>W(Ue,ge),[ge,Ue])}function De(){$()||o(!1);let{basename:Ue,navigator:ge}=(0,i.useContext)(l),{matches:Se}=(0,i.useContext)(f),{pathname:Le}=ie(),je=JSON.stringify(Se.map(lt=>lt.pathnameBase)),He=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{He.current=!0}),(0,i.useCallback)(function(lt,Kt){if(Kt===void 0&&(Kt={}),!He.current)return;if(typeof lt=="number"){ge.go(lt);return}let Wt=q(lt,JSON.parse(je),Le);Ue!=="/"&&(Wt.pathname=se([Ue,Wt.pathname])),(Kt.replace?ge.replace:ge.push)(Wt,Kt.state)},[Ue,ge,je,Le])}const Ze=(0,i.createContext)(null);function Ne(){return(0,i.useContext)(Ze)}function Bt(Ue){let ge=(0,i.useContext)(f).outlet;return ge&&(0,i.createElement)(Ze.Provider,{value:Ue},ge)}function yt(){let{matches:Ue}=(0,i.useContext)(f),ge=Ue[Ue.length-1];return ge?ge.params:{}}function It(Ue){let{matches:ge}=(0,i.useContext)(f),{pathname:Se}=ie(),Le=JSON.stringify(ge.map(je=>je.pathnameBase));return(0,i.useMemo)(()=>q(Ue,JSON.parse(Le),Se),[Ue,Le,Se])}function rr(Ue,ge){$()||o(!1);let{matches:Se}=(0,i.useContext)(f),Le=Se[Se.length-1],je=Le?Le.params:{},He=Le?Le.pathname:"/",rt=Le?Le.pathnameBase:"/",lt=Le&&Le.route,Kt=ie(),Wt;if(ge){var Ae;let Ht=typeof ge=="string"?(0,r.cP)(ge):ge;rt==="/"||(Ae=Ht.pathname)!=null&&Ae.startsWith(rt)||o(!1),Wt=Ht}else Wt=Kt;let qe=Wt.pathname||"/",Vt=rt==="/"?qe:qe.slice(rt.length)||"/",kt=p(Ue,{pathname:Vt});return Yt(kt&&kt.map(Ht=>Object.assign({},Ht,{params:Object.assign({},je,Ht.params),pathname:se([rt,Ht.pathname]),pathnameBase:Ht.pathnameBase==="/"?rt:se([rt,Ht.pathnameBase])})),Se)}function Yt(Ue,ge){return ge===void 0&&(ge=[]),Ue==null?null:Ue.reduceRight((Se,Le,je)=>(0,i.createElement)(f.Provider,{children:Le.route.element!==void 0?Le.route.element:Se,value:{outlet:Se,matches:ge.concat(Ue.slice(0,je+1))}}),null)}function ur(Ue){let{basename:ge,children:Se,initialEntries:Le,initialIndex:je}=Ue,He=useRef();He.current==null&&(He.current=createMemoryHistory({initialEntries:Le,initialIndex:je}));let rt=He.current,[lt,Kt]=useState({action:rt.action,location:rt.location});return useLayoutEffect(()=>rt.listen(Kt),[rt]),createElement(nt,{basename:ge,children:Se,location:lt.location,navigationType:lt.action,navigator:rt})}function We(Ue){let{to:ge,replace:Se,state:Le}=Ue;$()||o(!1);let je=De();return(0,i.useEffect)(()=>{je(ge,{replace:Se,state:Le})}),null}function Pt(Ue){return Bt(Ue.context)}function zt(Ue){o(!1)}function nt(Ue){let{basename:ge="/",children:Se=null,location:Le,navigationType:je=r.aU.Pop,navigator:He,static:rt=!1}=Ue;$()&&o(!1);let lt=ee(ge),Kt=(0,i.useMemo)(()=>({basename:lt,navigator:He,static:rt}),[lt,He,rt]);typeof Le=="string"&&(Le=(0,r.cP)(Le));let{pathname:Wt="/",search:Ae="",hash:qe="",state:Vt=null,key:kt="default"}=Le,Ht=(0,i.useMemo)(()=>{let $t=K(Wt,lt);return $t==null?null:{pathname:$t,search:Ae,hash:qe,state:Vt,key:kt}},[lt,Wt,Ae,qe,Vt,kt]);return Ht==null?null:(0,i.createElement)(l.Provider,{value:Kt},(0,i.createElement)(c.Provider,{children:Se,value:{location:Ht,navigationType:je}}))}function Et(Ue){let{children:ge,location:Se}=Ue;return rr(ht(ge),Se)}function ht(Ue){let ge=[];return Children.forEach(Ue,Se=>{if(!isValidElement(Se))return;if(Se.type===Fragment){ge.push.apply(ge,ht(Se.props.children));return}Se.type!==zt&&o(!1);let Le={caseSensitive:Se.props.caseSensitive,element:Se.props.element,index:Se.props.index,path:Se.props.path};Se.props.children&&(Le.children=ht(Se.props.children)),ge.push(Le)}),ge}function Je(Ue){return Yt(Ue)}},76100:function(d,v,e){"use strict";var r=e(84126),i=60103,l=60106;v.Fragment=60107,v.StrictMode=60108,v.Profiler=60114;var c=60109,f=60110,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 m={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||m}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||m}var A=R.prototype=new k;A.constructor=R,r(A,S.prototype),A.isPureReactComponent=!0;var P={current:null},M=Object.prototype.hasOwnProperty,B={key:!0,ref:!0,__self:!0,__source:!0};function N(Q,le,z){var $,ie={},me=null,Pe=null;if(le!=null)for($ in le.ref!==void 0&&(Pe=le.ref),le.key!==void 0&&(me=""+le.key),le)M.call(le,$)&&!B.hasOwnProperty($)&&(ie[$]=le[$]);var De=arguments.length-2;if(De===1)ie.children=z;else if(1<De){for(var Ze=Array(De),Ne=0;Ne<De;Ne++)Ze[Ne]=arguments[Ne+2];ie.children=Ze}if(Q&&Q.defaultProps)for($ in De=Q.defaultProps,De)ie[$]===void 0&&(ie[$]=De[$]);return{$$typeof:i,type:Q,key:me,ref:Pe,props:ie,_owner:P.current}}function G(Q,le){return{$$typeof:i,type:Q.type,key:le,ref:Q.ref,props:Q.props,_owner:Q._owner}}function W(Q){return typeof Q=="object"&&Q!==null&&Q.$$typeof===i}function H(Q){var le={"=":"=0",":":"=2"};return"$"+Q.replace(/[=:]/g,function(z){return le[z]})}var ae=/\/+/g;function ne(Q,le){return typeof Q=="object"&&Q!==null&&Q.key!=null?H(""+Q.key):le.toString(36)}function oe(Q,le,z,$,ie){var me=typeof Q;(me==="undefined"||me==="boolean")&&(Q=null);var Pe=!1;if(Q===null)Pe=!0;else switch(me){case"string":case"number":Pe=!0;break;case"object":switch(Q.$$typeof){case i:case l:Pe=!0}}if(Pe)return Pe=Q,ie=ie(Pe),Q=$===""?"."+ne(Pe,0):$,Array.isArray(ie)?(z="",Q!=null&&(z=Q.replace(ae,"$&/")+"/"),oe(ie,le,z,"",function(Ne){return Ne})):ie!=null&&(W(ie)&&(ie=G(ie,z+(!ie.key||Pe&&Pe.key===ie.key?"":(""+ie.key).replace(ae,"$&/")+"/")+Q)),le.push(ie)),1;if(Pe=0,$=$===""?".":$+":",Array.isArray(Q))for(var De=0;De<Q.length;De++){me=Q[De];var Ze=$+ne(me,De);Pe+=oe(me,le,z,Ze,ie)}else if(Ze=p(Q),typeof Ze=="function")for(Q=Ze.call(Q),De=0;!(me=Q.next()).done;)me=me.value,Ze=$+ne(me,De++),Pe+=oe(me,le,z,Ze,ie);else if(me==="object")throw le=""+Q,Error(y(31,le==="[object Object]"?"object with keys {"+Object.keys(Q).join(", ")+"}":le));return Pe}function q(Q,le,z){if(Q==null)return Q;var $=[],ie=0;return oe(Q,$,"","",function(me){return le.call(z,me,ie++)}),$}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 se(){var Q=K.current;if(Q===null)throw Error(y(321));return Q}var ee={ReactCurrentDispatcher:K,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:P,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(!W(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),ie=Q.key,me=Q.ref,Pe=Q._owner;if(le!=null){if(le.ref!==void 0&&(me=le.ref,Pe=P.current),le.key!==void 0&&(ie=""+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:ie,ref:me,props:$,_owner:Pe}},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=N,v.createFactory=function(Q){var le=N.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=W,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 se().useCallback(Q,le)},v.useContext=function(Q,le){return se().useContext(Q,le)},v.useDebugValue=function(){},v.useEffect=function(Q,le){return se().useEffect(Q,le)},v.useImperativeHandle=function(Q,le,z){return se().useImperativeHandle(Q,le,z)},v.useLayoutEffect=function(Q,le){return se().useLayoutEffect(Q,le)},v.useMemo=function(Q,le){return se().useMemo(Q,le)},v.useReducer=function(Q,le,z){return se().useReducer(Q,le,z)},v.useRef=function(Q){return se().useRef(Q)},v.useState=function(Q){return se().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 P},MT:function(){return y},UY:function(){return R},md:function(){return B},qC:function(){return M}});var r=e(33885);function i(N){return"Minified Redux error #"+N+"; visit https://redux.js.org/Errors?code="+N+" for the full message or use the non-minified dev environment for full errors. "}var l=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),c=function(){return Math.random().toString(36).substring(7).split("").join(".")},f={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function o(N){if(typeof N!="object"||N===null)return!1;for(var G=N;Object.getPrototypeOf(G)!==null;)G=Object.getPrototypeOf(G);return Object.getPrototypeOf(N)===G}function h(N){if(N===void 0)return"undefined";if(N===null)return"null";var G=typeof N;switch(G){case"boolean":case"string":case"number":case"symbol":case"function":return G}if(Array.isArray(N))return"array";if(x(N))return"date";if(a(N))return"error";var W=u(N);switch(W){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return W}return G.slice(8,-1).toLowerCase().replace(/\s/g,"")}function u(N){return typeof N.constructor=="function"?N.constructor.name:null}function a(N){return N instanceof Error||typeof N.message=="string"&&N.constructor&&typeof N.constructor.stackTraceLimit=="number"}function x(N){return N instanceof Date?!0:typeof N.toDateString=="function"&&typeof N.getDate=="function"&&typeof N.setDate=="function"}function p(N){var G=typeof N;return G}function y(N,G,W){var H;if(typeof G=="function"&&typeof W=="function"||typeof W=="function"&&typeof arguments[3]=="function")throw new Error(i(0));if(typeof G=="function"&&typeof W=="undefined"&&(W=G,G=void 0),typeof W!="undefined"){if(typeof W!="function")throw new Error(i(1));return W(y)(N,G)}if(typeof N!="function")throw new Error(i(2));var ae=N,ne=G,oe=[],q=oe,J=!1;function K(){q===oe&&(q=oe.slice())}function se(){if(J)throw new Error(i(3));return ne}function ee($){if(typeof $!="function")throw new Error(i(4));if(J)throw new Error(i(5));var ie=!0;return K(),q.push($),function(){if(ie){if(J)throw new Error(i(6));ie=!1,K();var Pe=q.indexOf($);q.splice(Pe,1),oe=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,ne=ae(ne,$)}finally{J=!1}for(var ie=oe=q,me=0;me<ie.length;me++){var Pe=ie[me];Pe()}return $}function le($){if(typeof $!="function")throw new Error(i(10));ae=$,Q({type:f.REPLACE})}function z(){var $,ie=ee;return $={subscribe:function(Pe){if(typeof Pe!="object"||Pe===null)throw new Error(i(11));function De(){Pe.next&&Pe.next(se())}De();var Ze=ie(De);return{unsubscribe:Ze}}},$[l]=function(){return this},$}return Q({type:f.INIT}),H={dispatch:Q,subscribe:ee,getState:se,replaceReducer:le},H[l]=z,H}var m=null;function b(N){typeof console!="undefined"&&typeof console.error=="function"&&console.error(N);try{throw new Error(N)}catch(G){}}function S(N,G,W,H){var ae=Object.keys(G),ne=W&&W.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(N))return"The "+ne+' has unexpected type of "'+p(N)+'". Expected argument to be an object with the following '+('keys: "'+ae.join('", "')+'"');var oe=Object.keys(N).filter(function(q){return!G.hasOwnProperty(q)&&!H[q]});if(oe.forEach(function(q){H[q]=!0}),!(W&&W.type===f.REPLACE)&&oe.length>0)return"Unexpected "+(oe.length>1?"keys":"key")+" "+('"'+oe.join('", "')+'" found in '+ne+". ")+"Expected to find one of the known reducer keys instead: "+('"'+ae.join('", "')+'". Unexpected keys will be ignored.')}function k(N){Object.keys(N).forEach(function(G){var W=N[G],H=W(void 0,{type:f.INIT});if(typeof H=="undefined")throw new Error(i(12));if(typeof W(void 0,{type:f.PROBE_UNKNOWN_ACTION()})=="undefined")throw new Error(i(13))})}function R(N){for(var G=Object.keys(N),W={},H=0;H<G.length;H++){var ae=G[H];typeof N[ae]=="function"&&(W[ae]=N[ae])}var ne=Object.keys(W),oe,q;try{k(W)}catch(J){q=J}return function(K,se){if(K===void 0&&(K={}),q)throw q;if(0)var ee;for(var Q=!1,le={},z=0;z<ne.length;z++){var $=ne[z],ie=W[$],me=K[$],Pe=ie(me,se);if(typeof Pe=="undefined"){var De=se&&se.type;throw new Error(i(14))}le[$]=Pe,Q=Q||Pe!==me}return Q=Q||ne.length!==Object.keys(K).length,Q?le:K}}function A(N,G){return function(){return G(N.apply(this,arguments))}}function P(N,G){if(typeof N=="function")return A(N,G);if(typeof N!="object"||N===null)throw new Error(i(16));var W={};for(var H in N){var ae=N[H];typeof ae=="function"&&(W[H]=A(ae,G))}return W}function M(){for(var N=arguments.length,G=new Array(N),W=0;W<N;W++)G[W]=arguments[W];return G.length===0?function(H){return H}:G.length===1?G[0]:G.reduce(function(H,ae){return function(){return H(ae.apply(void 0,arguments))}})}function B(){for(var N=arguments.length,G=new Array(N),W=0;W<N;W++)G[W]=arguments[W];return function(H){return function(){var ae=H.apply(void 0,arguments),ne=function(){throw new Error(i(15))},oe={getState:ae.getState,dispatch:function(){return ne.apply(void 0,arguments)}},q=G.map(function(J){return J(oe)});return ne=M.apply(void 0,q)(ae.dispatch),(0,r.Z)((0,r.Z)({},ae),{},{dispatch:ne})}}}},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,ie=Object.create($.prototype),me=new J(z||[]);return l(ie,"_invoke",{value:ae(ee,le,me)}),ie}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",m="suspendedYield",b="executing",S="completed",k={};function R(){}function A(){}function P(){}var M={};a(M,o,function(){return this});var B=Object.getPrototypeOf,N=B&&B(B(K([])));N&&N!==r&&i.call(N,o)&&(M=N);var G=P.prototype=R.prototype=Object.create(M);A.prototype=P,l(G,"constructor",{value:P,configurable:!0}),l(P,"constructor",{value:A,configurable:!0}),A.displayName=a(P,u,"GeneratorFunction");function W(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,P):(ee.__proto__=P,a(ee,u,"GeneratorFunction")),ee.prototype=Object.create(G),ee},e.awrap=function(ee){return{__await:ee}};function H(ee,Q){function le(ie,me,Pe,De){var Ze=p(ee[ie],ee,me);if(Ze.type==="throw")De(Ze.arg);else{var Ne=Ze.arg,Bt=Ne.value;return Bt&&typeof Bt=="object"&&i.call(Bt,"__await")?Q.resolve(Bt.__await).then(function(yt){le("next",yt,Pe,De)},function(yt){le("throw",yt,Pe,De)}):Q.resolve(Bt).then(function(yt){Ne.value=yt,Pe(Ne)},function(yt){return le("throw",yt,Pe,De)})}}var z;function $(ie,me){function Pe(){return new Q(function(De,Ze){le(ie,me,De,Ze)})}return z=z?z.then(Pe,Pe):Pe()}l(this,"_invoke",{value:$})}W(H.prototype),a(H.prototype,h,function(){return this}),e.AsyncIterator=H,e.async=function(ee,Q,le,z,$){$===void 0&&($=Promise);var ie=new H(x(ee,Q,le,z),$);return e.isGeneratorFunction(Q)?ie:ie.next().then(function(me){return me.done?me.value:ie.next()})};function ae(ee,Q,le){var z=y;return function(ie,me){if(z===b)throw new Error("Generator is already running");if(z===S){if(ie==="throw")throw me;return se()}for(le.method=ie,le.arg=me;;){var Pe=le.delegate;if(Pe){var De=ne(Pe,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:m,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 ne(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,ne(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 ie=$.arg;if(!ie)return Q.method="throw",Q.arg=new TypeError("iterator result is not an object"),Q.delegate=null,k;if(ie.done)Q[ee.resultName]=ie.value,Q.next=ee.nextLoc,Q.method!=="return"&&(Q.method="next",Q.arg=c);else return ie;return Q.delegate=null,k}W(G),a(G,u,"Generator"),a(G,o,function(){return this}),a(G,"toString",function(){return"[object Generator]"});function oe(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(oe,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 ie=le.pop();if(ie in Q)return $.value=ie,$.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:se}}e.values=K;function se(){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 ie.type="throw",ie.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],ie=$.completion;if($.tryLoc==="root")return le("end");if($.tryLoc<=this.prev){var me=i.call($,"catchLoc"),Pe=i.call($,"finallyLoc");if(me&&Pe){if(this.prev<$.catchLoc)return le($.catchLoc,!0);if(this.prev<$.finallyLoc)return le($.finallyLoc)}else if(me){if(this.prev<$.catchLoc)return le($.catchLoc,!0)}else if(Pe){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 ie=$?$.completion:{};return ie.type=ee,ie.arg=Q,$?(this.method="next",this.next=$.finallyLoc,k):this.complete(ie)},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,se){var ee=-1;return K.some(function(Q,le){return Q[0]===se?(ee=le,!0):!1}),ee}return function(){function K(){this.__entries__=[]}return Object.defineProperty(K.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),K.prototype.get=function(se){var ee=J(this.__entries__,se),Q=this.__entries__[ee];return Q&&Q[1]},K.prototype.set=function(se,ee){var Q=J(this.__entries__,se);~Q?this.__entries__[Q][1]=ee:this.__entries__.push([se,ee])},K.prototype.delete=function(se){var ee=this.__entries__,Q=J(ee,se);~Q&&ee.splice(Q,1)},K.prototype.has=function(se){return!!~J(this.__entries__,se)},K.prototype.clear=function(){this.__entries__.splice(0)},K.prototype.forEach=function(se,ee){ee===void 0&&(ee=null);for(var Q=0,le=this.__entries__;Q<le.length;Q++){var z=le[Q];se.call(ee,z[1],z[0])}},K}()}(),i=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,l=function(){return typeof e.g!="undefined"&&e.g.Math===Math?e.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),c=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(l):function(J){return setTimeout(function(){return J(Date.now())},1e3/60)}}(),f=2;function o(J,K){var se=!1,ee=!1,Q=0;function le(){se&&(se=!1,J()),ee&&$()}function z(){c(le)}function $(){var ie=Date.now();if(se){if(ie-Q<f)return;ee=!0}else se=!0,ee=!1,setTimeout(z,K);Q=ie}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 se=this.observers_,ee=se.indexOf(K);~ee&&se.splice(ee,1),!se.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(se){return se.gatherActive(),se.hasActive()});return K.forEach(function(se){return se.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 se=K.propertyName,ee=se===void 0?"":se,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 se=0,ee=Object.keys(K);se<ee.length;se++){var Q=ee[se];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},m=G(0,0,0,0);function b(J){return parseFloat(J)||0}function S(J){for(var K=[],se=1;se<arguments.length;se++)K[se-1]=arguments[se];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"],se={},ee=0,Q=K;ee<Q.length;ee++){var le=Q[ee],z=J["padding-"+le];se[le]=b(z)}return se}function R(J){var K=J.getBBox();return G(0,0,K.width,K.height)}function A(J){var K=J.clientWidth,se=J.clientHeight;if(!K&&!se)return m;var ee=y(J).getComputedStyle(J),Q=k(ee),le=Q.left+Q.right,z=Q.top+Q.bottom,$=b(ee.width),ie=b(ee.height);if(ee.boxSizing==="border-box"&&(Math.round($+le)!==K&&($-=S(ee,"left","right")+le),Math.round(ie+z)!==se&&(ie-=S(ee,"top","bottom")+z)),!M(J)){var me=Math.round($+le)-K,Pe=Math.round(ie+z)-se;Math.abs(me)!==1&&($-=me),Math.abs(Pe)!==1&&(ie-=Pe)}return G(Q.left,Q.top,$,ie)}var P=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?P(J)?R(J):A(J):m}function N(J){var K=J.x,se=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:se,width:ee,height:Q,top:se,right:K+ee,bottom:Q+se,left:K}),z}function G(J,K,se,ee){return{x:J,y:K,width:se,height:ee}}var W=function(){function J(K){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=G(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}(),H=function(){function J(K,se){var ee=N(se);p(this,{target:K,contentRect:ee})}return J}(),ae=function(){function J(K,se,ee){if(this.activeObservations_=[],this.observations_=new r,typeof K!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=K,this.controller_=se,this.callbackCtx_=ee}return 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 se=this.observations_;se.has(K)||(se.set(K,new W(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 se=this.observations_;se.has(K)&&(se.delete(K),se.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(se){se.isActive()&&K.activeObservations_.push(se)})},J.prototype.broadcastActive=function(){if(this.hasActive()){var K=this.callbackCtx_,se=this.activeObservations_.map(function(ee){return new H(ee.target,ee.broadcastRect())});this.callback_.call(K,se,K),this.clearActive()}},J.prototype.clearActive=function(){this.activeObservations_.splice(0)},J.prototype.hasActive=function(){return this.activeObservations_.length>0},J}(),ne=typeof WeakMap!="undefined"?new WeakMap:new r,oe=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 se=x.getInstance(),ee=new ae(K,se,this);ne.set(this,ee)}return J}();["observe","unobserve","disconnect"].forEach(function(J){oe.prototype[J]=function(){var K;return(K=ne.get(this))[J].apply(K,arguments)}});var q=function(){return typeof l.ResizeObserver!="undefined"?l.ResizeObserver:oe}();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 m=!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,P=A.port2;A.port1.onmessage=function(){if(b!==null){var z=v.unstable_now();R=z+k;try{b(!0,z)?P.postMessage(null):(m=!1,b=null)}catch($){throw P.postMessage(null),$}}else m=!1},e=function(z){b=z,m||(m=!0,P.postMessage(null))},r=function(z,$){S=x(function(){z(v.unstable_now())},$)},i=function(){p(S),S=-1}}function M(z,$){var ie=z.length;z.push($);e:for(;;){var me=ie-1>>>1,Pe=z[me];if(Pe!==void 0&&0<G(Pe,$))z[me]=$,z[ie]=Pe,ie=me;else break e}}function B(z){return z=z[0],z===void 0?null:z}function N(z){var $=z[0];if($!==void 0){var ie=z.pop();if(ie!==$){z[0]=ie;e:for(var me=0,Pe=z.length;me<Pe;){var De=2*(me+1)-1,Ze=z[De],Ne=De+1,Bt=z[Ne];if(Ze!==void 0&&0>G(Ze,ie))Bt!==void 0&&0>G(Bt,Ze)?(z[me]=Bt,z[Ne]=ie,me=Ne):(z[me]=Ze,z[De]=ie,me=De);else if(Bt!==void 0&&0>G(Bt,ie))z[me]=Bt,z[Ne]=ie,me=Ne;else break e}}return $}return null}function G(z,$){var ie=z.sortIndex-$.sortIndex;return ie!==0?ie:z.id-$.id}var W=[],H=[],ae=1,ne=null,oe=3,q=!1,J=!1,K=!1;function se(z){for(var $=B(H);$!==null;){if($.callback===null)N(H);else if($.startTime<=z)N(H),$.sortIndex=$.expirationTime,M(W,$);else break;$=B(H)}}function ee(z){if(K=!1,se(z),!J)if(B(W)!==null)J=!0,e(Q);else{var $=B(H);$!==null&&r(ee,$.startTime-z)}}function Q(z,$){J=!1,K&&(K=!1,i()),q=!0;var ie=oe;try{for(se($),ne=B(W);ne!==null&&(!(ne.expirationTime>$)||z&&!v.unstable_shouldYield());){var me=ne.callback;if(typeof me=="function"){ne.callback=null,oe=ne.priorityLevel;var Pe=me(ne.expirationTime<=$);$=v.unstable_now(),typeof Pe=="function"?ne.callback=Pe:ne===B(W)&&N(W),se($)}else N(W);ne=B(W)}if(ne!==null)var De=!0;else{var Ze=B(H);Ze!==null&&r(ee,Ze.startTime-$),De=!1}return De}finally{ne=null,oe=ie,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 oe},v.unstable_getFirstCallbackNode=function(){return B(W)},v.unstable_next=function(z){switch(oe){case 1:case 2:case 3:var $=3;break;default:$=oe}var ie=oe;oe=$;try{return z()}finally{oe=ie}},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 ie=oe;oe=z;try{return $()}finally{oe=ie}},v.unstable_scheduleCallback=function(z,$,ie){var me=v.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?me+ie:me):ie=me,z){case 1:var Pe=-1;break;case 2:Pe=250;break;case 5:Pe=1073741823;break;case 4:Pe=1e4;break;default:Pe=5e3}return Pe=ie+Pe,z={id:ae++,callback:$,priorityLevel:z,startTime:ie,expirationTime:Pe,sortIndex:-1},ie>me?(z.sortIndex=ie,M(H,z),B(W)===null&&z===B(H)&&(K?i():K=!0,r(ee,ie-me))):(z.sortIndex=Pe,M(W,z),J||q||(J=!0,e(Q))),z},v.unstable_wrapCallback=function(z){var $=oe;return function(){var ie=oe;oe=$;try{return z.apply(this,arguments)}finally{oe=ie}}}},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,m){return y===m&&(y!==0||1/y===1/m)||y!==y&&m!==m}var l=typeof Object.is=="function"?Object.is:i,c=r.useState,f=r.useEffect,o=r.useLayoutEffect,h=r.useDebugValue;function u(y,m){var b=m(),S=c({inst:{value:b,getSnapshot:m}}),k=S[0].inst,R=S[1];return o(function(){k.value=b,k.getSnapshot=m,a(k)&&R({inst:k})},[y,b,m]),f(function(){return a(k)&&R({inst:k}),y(function(){a(k)&&R({inst:k})})},[y]),h(b),b}function a(y){var m=y.getSnapshot;y=y.value;try{var b=m();return!l(y,b)}catch(S){return!0}}function x(y,m){return m()}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,m,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(G){if(!P){if(P=!0,M=G,G=m(G),b!==void 0&&k.hasValue){var W=k.value;if(b(W,G))return B=W}return B=G}if(W=B,c(M,G))return W;var H=m(G);return b!==void 0&&b(W,H)?(M=G,W):(M=G,B=H)}var P=!1,M,B,N=y===void 0?null:y;return[function(){return A(p())},N===null?void 0:function(){return A(N())}]},[p,y,m,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(m){return typeof m=="string"&&c.test(m)}for(var o=f,h=[],u=0;u<256;++u)h.push((u+256).toString(16).substr(1));function a(m){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,S=(h[m[b+0]]+h[m[b+1]]+h[m[b+2]]+h[m[b+3]]+"-"+h[m[b+4]]+h[m[b+5]]+"-"+h[m[b+6]]+h[m[b+7]]+"-"+h[m[b+8]]+h[m[b+9]]+"-"+h[m[b+10]]+h[m[b+11]]+h[m[b+12]]+h[m[b+13]]+h[m[b+14]]+h[m[b+15]]).toLowerCase();if(!o(S))throw TypeError("Stringified UUID is invalid");return S}var x=a;function p(m,b,S){m=m||{};var k=m.random||(m.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=="},56022:function(d){"use strict";d.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAI4AAAByCAYAAACFrelqAAAAAXNSR0IArs4c6QAAIABJREFUeF7tvQmcHcV1L3xOVffd5s5oNCONRiBAYkcCsxjMbiyz2YAh3mQngRicxMRx4sRL7Jef88L87MQvfskLX+zkJWT9kufkfYHPYbGNjY0tY2OwjQADlsCITQi0DbPembt1V533Ti19+/bc0cxIg6zI3B9o7u2uOlVd519nq1PVCK99DroR+PuvT/T1L2m+rivANwxPNEZ++ZLD/+Fg6yQebB36eevP0EYKTi2Mryrn4Iy8pLNJwNkAsEYgFiamG8PPvVx5y4ffedxLB9u4vAacA8yRW2/dXuxZUzylXAjOEBLPDaQ4BYEGiUjWarGKNFEoBdaaUfTs9vF3feidJzx0gLs4r+ZeA868hmmfC+Gd9+4eWLaytK6Uh3MB8PxA0vFA2K1JU0yotSKo1mKYnG6Ol4phKReKXDPSuG3n5Efff+Wa/73PLb/KFV8DziIO8NDGjcHZ5dcfc9iy4IwA4Vwp8Awh6EgAKihFSmskTQSKCIgAKrUIR8Ybj0oZNHp7wtOAKK+UFi8NV//mukuPGFrEri06qdeAs4hD+vDWqa8NLAnOUBoYIDomAFIEWhNo/k78HWCi1sRXxhrfbTThO6tWFN8FAOu4vNaEu0dqG7+1def7/vbGM6NF7Nqik3oNOIs4pP96357jThjM39rXHa5gFRQ7ycKAUQyY6QheGY/uHa00/+GYw8qXhCG8XxOgAZYmGK1Ez217pnbVR25YM76I3XpVSL0GnEUe1i9ufGnV0Su6b+3vDldrrY2kGZ+K9CuT0dd3jTX+4viVS1fkC+q/CYBVsdbEgFGaYLoWV57eXrnyoxuOfWaRu/SqkPu5As7QrZtzsOW2eGhoSL8qo+mI/vU9uwbWDub/LSfhhN3jzTtHKvEXlvb0jC1fQp/JSbhaKUUMKKWsrVNrKv3CnqlrP/i2Nd95Nfu1mLQPeeDccsumkAb73gSAUpGabDTzj350wxE1HsS//o8XT5aBPiKieOuHrlncmX7z7c/3FqDQu/uxwRcvevvkhlIOhwBoCWmgWANo0kbSxLEW24en//D9bz3qbxeTsa82rUMeOG4A+TlptsH8n3c+dwLEMvrNdx713GINOANWDfS+bnlf9y8eOVi8DjQLGGscK83WM0CsQewcnv636y5f9dHFavdA0TkkgfM/v7TtaFLFPR/aMDB1oAYy3c6fffmny8q6dCZOVzd1rej+2NKu4Pre7jzbyKBIg1bAxjCOjDd/tGVb7T1DN6yp/yz6uT9tHnLA+cv/eKlfBvGpH7x69bf3ZWDefSvJ2zag2pe6nep88Rsvf667FPwKIcS95XzAPjmrqsnpxo6Xdlbe+uENxw0vVlsHks4hB5xb7nzpyg9cffjdiDiratrbAH/hjmdPKaj82K+/c9WirA8xcISAy3eNV395cGnX7y5fmn9bvaGqL2yvXPPbG4554kAyezHbOuSA8/kvbu358LXHTe7PIDH4brxm1VcXSuOv7nrxrA9dfWTb2tLf3Pnib1Qa1Xt+b8OJz7PdU1o9+P9Um/qbN77tyDsWSv9gKn/IAWcxBvfzt794TAhKffDta16YL72//o9nBkQQrLrx6tWPzLfOf+ZyrwFnkbj3d3e98OaX69P3D21Y11wkkgc1mUMKOH915/ZjP3TNET+TyOvNX3ph5UfeuXrnQc3tRezcIQWcW+7adsHDO4d/uFgLhP+08fnC9FjY9VvvWDWyiGN+SJA6pIDzN3dsW9vMyckPX7E4HhER4d/ete2KSAU/mB08hAD75sH9Z0bQIQWcP/2Xx7p6upcO3vj2I59dPKYQ/t2XX7qoTmrbb1+9+nlP95Yv7yhpUCcLBXjjLxzxw8Vr7z8HpUMKOAdqyD9/687lQUEdo2PY+vOqxl4DzoFC2yHWziEJnL++dfvh/bBq14ZFXDo4xPi+349zSALn83eP9OR17cIbr1p49He/R/TnhMAhCRzm3T/evXN5rOmMD1x12D0/J7w8oI+5qMC5ZROVljanj9lwXvmgWLzjjL+fl0juAUUNACwacO54YOLyQg7+GAD6x2vNy9974fKnD/TD7K29z9+9tWf0R8dODQ1hW9rov9yzqyss5I/vycNpQorXL1sSaIm0Q2l4ua6CnbWp+JVqrTEyWY9Gr7tsRXVfV90PprFYjL7sN3D+/NbtxeOO6vmjnIBfBkQdSoRmrLY8PTx85YevOK6xGJ1cDBp///XtfaDF+Rji2EBPeZkUcJYAOgMFHCcQujmlUwioD/YGjKwcIk8qEpx8RYRNQmgSwUSs6BUE2KMJdoLWOwnEjqkm7a41YY9qiNGGKI1tOA9Nauqh/Nkv4Nz6wERfdw7/RQCdyWm0g30S+ssSlEKsx/jtyen45rNP7Nr0sxrAf9q4Z7C/lFsbSHEGan2WkOJE0HqFJsJACs7ibMvZ4Z23A70BAukC93lmRrtNLudaiMIgykltYS9jQxPUtdYVTbgHQO9RWuzQRDtQw65qBLsbddpdEWJs14tjkz73+Wc1PvvT7j4D51+/Mr506YD4/4WgtYhAK/sC6O2SJqeWPzymzKBaBHcNDzc/tf7Mnlf2p6Nz1f2H+4e7uyk8vpSD08JAnAWgT5MIhxNAXgiheK8tkbC6mWUJw4IEaK3MbgMZCJBCVgd6JRJQkYuJDuAxwDF4YyKUIK+FQMZdCo8COelP8LoE/8fLGETAAJsmwEmtYA8A7NZAO1k9agW7GzHtaTZzu8arzbGJZvfUh6/Ag0Zyez7sE3D4hIU3dE1+UQi4KA0aBovfrchDypvQeMOZ0jg8WlU3XHhS18NzAWA+92/ZROHS5uRRXYJODXLiTND0eiHoaIHYzbzh7Uwp9logpwy6tJjhAeD9T1FMgIjVVf05REFFJtAGnFSldH3/3QKqXYSZS2mxxWrPzqpWWdcx1oyEIJQmVDFBxEntihqxxq2V5sRVG86zOzMOls8+AecrD45/MJcXN3HS/oqlEvq7AyNpeDx4bzRPOLPRzP2144TN0Wn1q29cV/7WQh5+aGhIHHXRbw4sL5dODkR8BhKcFUg4ERGXAaBA4k22rY+f7LPljZq+JHseMo+PVF/eIxEFmszyynRkVJIQAMW8BBYb/uM0Vuu3B4W7wrsY0mVbStFKKQtY3ulAECsw//NvrpbtVdTU/3jVub2fWsi4vdplFwycf7ln18DAstL3kaCrv0fCiqWBAQqPhpUwRgkAb4HlwTPf3VZYTdAYm6Z3rz9l73YPi/ZNz1SvbzT0uc1Yvw4AD0eAHAEp1iPpoeWmZ9giafGSHsEOUqF9gKnZ3x1gICFMJI7bOMfgAWwfrrRG8rLGDAVXziCXAetBwqrR7q1qF4WzMYPrNhr62qvP792nBPxXA0QLBs5dP5r8eF7Ax7tLQq9aHibGIg+WOYUBLIB4sxlz1APH/OTBU7R796S69G17sXl+si1+W1+X/oeYKDbgIzCqxGxgUwRNRWDEOf/l+7yxv4OI4WtG3finTAEnETrto6r7eqQOBQQJGLMASGHCq6dEsqQQzH2NYjsOHiiJtJuDk5nuGhlEAMOjk3TxL61/dW3F+YJsQcBhw+5rD1UeKObEUWtWhlbiW3xY9eQY6CWMVV0t9WWkgwZsNNUdF6zr/mCnTrL9ctkR0bekoGN5tLwX4/lnJnNKLbS20loQMZhYefGMtkBz0s/sabIttmmrVCf4en+3qEqJpYyiSer5+twH//yKVY1XObFtcz4gmQmQzmyz7RAqTfe89ayeGw6GWNKCgPPP3xs98rBS+OBRK0MsBNIMDm8w84xkaeBtHWMkp0Fj7B0LJNKEY3W4+q2nd804beqJFxvvWVrEv9CEjL/kY+qZAWxNa38KhLeEvei3Bij/ZytZKehtr9Z3c83YZmQ2yfFmqr6ynJASlqRVTWIAWwZCHFuARgyY2B1hkuL5gga1wxbT2eojgahF8SevOXfpP89XMrxa5Rb0jF/67uT5aw4Lbu/vkTG7nPbMF8sYM7MdiJKzYBxYWBJwIXuoED8KQqNB96w/rXxD+sH+aSMVLjqx+d1A0irroTkJ4RqxZOxFI+UYiN79N2Cxd72UspeszWX64JhELCs0x2S48wja07RShDUba7jEpGEVzGoninz/200YEytMyaSs1swOsmk/VX42yZOl66rUJ5p02YbzlvxMcqs9vxYEnI2PT//CmhXhLUDamjBOT8WGiTY45sHkvSpvoxij2UscYyyL6q5djddvuLRvwndm84vN93cX4LNkxIo1rr39aHjsbCYXhXH3XVAuo8Ja4HHenQeUp+kkkqfppZRVjxZsfI8HiCVRI+pgRM1zOs81yHMDrb0hInx8657yNT/L+M5cz9TW46dfat6cD+k9jJqWlLGMs/+31BPPcMN0lkQskRywPJCAKBiviSuuOdt6WPc8Rl3HDTQfkAKWtySNlTAePEbSOAD6No37mlJLTvCYOh7caZso7fEk4QI//11DXmqxJCqECPWIoNbgOI8tONegzQUEP6j7XI5ARBr/6qo3dH9mnthd9GJzjUHS4Fcep6XrlkcPE1LBnCDlXO5EXTng8PFlidRJjOXWMWapWE8wXcNr33ZO+RvcyJPbm79VysMfEOs7r1IcEH0nfJzDA9RL+0Q9eZsmZbAnIDQSxIHcNeAlpIGnq2MCyondQdBTEjA+rRPgYMYl3xeOzFRdC6fCYYnpmN7zjnN67l947f2vMW/gPPJc/eqlJfF3WrMMsYahZ2DaezKSxts0xvaxEsOrMmOoGkMHg4lIXPX2s0o/2vgo9a4ejB4UgpbYsi0LwDK+ZXRbVKUAkFZRTvIZr87ZQaa+648FWMt1T4KFqXoetEwgkADdRQEjkxpqkZV9UrQsj/0f/v2joAl2jdbUxb98Ye/Y/lFaeO15A2fL9sYn8gF8hPi0BWMIt6snxkJi46S8FbfskESVDfNsOH1ybLJ25ob1A1Nbtjc+2ZXDj4A9Ds8Y2emPOVfGwNV7S87YzoDIiyqvmuxfayslKsxd8/33XldL+lhw8adcEhAIhNFJBbWmJcICR5ho4EHxYdfzy1ec2f2BA92beQPnJy/WP1II8BMxnwnkRX7K3U6Ak7Jl/LGsdgnCqgp3fohoRPC5K88q3/zdR2j5kYdHDyBgFy8xedslvY5g7aJ2KeNjPLNKES+JnD3mjWVv+xggpVRX2g7itgIB0F2SBqxjBjjeCCeQEnldK+HVfOMxWebua700HYEkak343WvO6f7/DiR45g2cBzZPn97fK7+mlHWmWgy2XouZsX7JIVFP7V6WdaFJRjHc9tB0+XeH1mO85cXap0v54NedieRiQxZebV6VWwtjfiXtu5FKvCBnXyVuuavjjVDfT0vcgdmFA72UcXEmKBcFBIFtYHxSQ9VInNZwBQGDZxZWecPK316oXZStPwcdIqpOTqlLN1zUm+z7erVBNG/gcEcefqZ2fSGHn2aPKHKz1UgGHzVOudt+icHESOw6ltQadjRi/WdXndXzbxz9/N7m2pGr+sV9AJRPVId74uRsYC852lyQluvfCgz6AKEHXMpNd6rKutguEuTiT7a+Je75xXzucdKGB4hVVd2pKl+OywRyYSori5/Z8LEgpiNIIJxuavp/r35D96cXVHc/Ci8IONzO956sH1+S9DERwKVA1GWCxYrNAhvyT1xyQMEeUqzhpUjp+1Us7hmuDt93w/rWsWVPvdS8ORfQe23t1vKFWePy9kl61dkvQRh71xm53otLSRHLXAsGXnpIR4ETQ9u5666aKe9jOuW8gDBnh4b/HZloBw5fZ7Kc7SjSS+b7wYj5VjVyjs9GBthBBPc1YvWNaEo9kI6HpWnd9wQdUS431uYEDcRaVEZruUcvXovb5tvebOUWDBxPiN3zbmycJaVeBwBHEFEXCxYB1N9Tkm8aqdBnRqtwh3qxuLPT/qb7H5s8YdVgfiPn6xjzxTHap+X56LNnrDdi/bKC9668xPGSwC95eLCkvajEeHdttceHrOfHMqSnLI0a8kKObZx60/5SCWELqnwgZldZs0Z8shGcudhDktNXNdEWAvx6ow7fHt7y1JYbZzl9nde1fvKyuqIk6UNS6FMBMFR8bjtwbhTEtSZ9Y2SC/uDi00ov7yuA9hk4szX42HP1q3u6xD/tHsdrzjkhnDXGcO8TUyuWd4cXBBIYeCcHAo5DoOUEkDPetz1b2qmQlmHsxXsSYPRrWE51egBZD6zleqftopbX5YKLPiJNnHeDUMgJCw9Gp2AbJzbA8f1JhJgmCCRCyJb0q/BhVscahgXCH0+O1+//xcuW75irmU0/pWW93c0/L4TislhbtNhntxrBL70oDRNj0/p9b1xX+tFcNDvdX3TgPLS1+q7+7uCWXWPqHeedVLxvvp0aIhLnPFxdUS6KY7vyeFI+Jz6AoA9rSQlri6Rd7iQOkywjtC8/GN6n1tOMOvKBvpRNw5Q5xMCD0dslOD3MAtYZ6ONTCuqRRbKJQKXucbl8gMbTWowPx7iaMUEjUhAZLotHrn3z0qvmQ/tHm6cGB5bl7hCIR/mlOJ6B3GcfT2s5MWaxtzpSF1dfsi6/ZT7002UW52lTFB95tvqLS0rBXw5PqHedc2Jx40I75Ms/tb1xaxDABdbLsaAxMSGfWZi4+O0t+FVwz/n0irl33X0NT9uoICLI5xDKBdESdc6oHp1SUI10K3HQBRW9BOIlj0KBVdYsw5nVTCk/nJ/L5BhFvJCqUu9/cBIP6cfXXdx/xVzjuGkThf2HN+8KAnGq8R4TR0XbpDE3yxg46YS7ZpOefXG0eNlCd2YsOnAee672K8WCvPmVitpw3gnFBaWJpgfnye2N26QU57euWS56F7217AHAHp7x4lweTJt9lLjoqXUvx0jDf7/Vgay04dielzS+bQYOr1fZsXeVU/WYGUGIxt6Zz4clHyejRZE2UqXlUbYQlnhcmh677pL+t85Fd8tLzet68vin/A4sn/dtAcQnuNva6YXmJMamOQ6kb77o5PLn5mrj1ZU4z9V+tZQT/328Su895/jCNxfSmXTZp15q3CYEJMBJor+Gda1tKuk6nK5gJRJBHLlELpfQ1RZNtlkV5h8vkYy0KcpkgP2aFc+ssSkFtcgFJ1NRaO/IezyV8tKoLG/op/vG/TJgYaniIu9eIbaWPtwVLx0sSB9/3yX9b5ljHPGZnc1vhlKstTnfFiw+cJo4HGlpzaAy/eCxxKmRVxpnX7WApYtFlzg/fr7+G7mA/nh8Cn/pvJMK+7xvmyVOGND55hTyZNRaMRgz9zMqwP/2IOGHs/Ekq+ZYJZjkK7f4ypl7PqK8pIwgnKrJ0mWJU2s4ief7kgoTpMuzqmOVZRK+FNsq3LZVF/7griRK7SWfQ15ikKfCCYji8V+5pG+vwLl7K/Wc1N3kbdchTxqjejkxzdl0Lo5mfnvpw2NjMhdt8p1sxPTxi08r/6/5TvRFB84jz9Q/XMjhH05U6Lpz1xW+Nt+OZMtt3hbdFobqfC9pEvAkasZKnbawfQpIaQljxbRtwdo5LS/D7i4gyIcIZo9dSgWlVVWV0yochYRGFrwERuIwvYiN0k5etw8FOCO9pZKyiPTpJPjE9Zf2X763cdy4mQZX9zcf4Wf074tIHAHnHLDtxxOjkGeVigbDrMpYzdcbBJM1+NYFa4vXzZdfiw6cHz9X/1gYwH+p1OB955xQuHu+HcmW+8m2xm2hhPPt2HeWNJ0Yk0SCvSmSAoyZZbNJqdS6qqXrWiaAsWmWOC13vBUjasV60nEoA9TUA/l0V0/W/rVgLeakWd6YrmsYmeSUOHvPlyGAJ66/bNlegfPNTbRkzeHRE5ooSBLqnHHsc6f+79troJizWZUmnOAB5RaPFVBcmab/evYJxXmlpS4+cJ5v/JdQ0McmqnDDeScVvrK/wEkURAoAbIKWCzLR5QyWZMeDW5/KSpmEGQYSrbRUw6ckYtSu/jwwjXHslhzSaqYNCJ4ZLlKZBQ7XC6Xdn8WR6VIBgde7bPsAwxMKhieaLmUkZSQD7hU4Q0Mkzrpy+k/WDIbXckTALwbbKL79zcAMpY1N2d0oLs3XL8G0Mhtwok6fOP+E4pwqa9GB88izjT8MJP7W5LT+tQvWFe7aH+BI6YzjlJRgHnOYZUmxswdjEsmcTcFJ5WZ7ihushOkJk61oSMmSRISkHajRaWXEecuItU/ls+nTQsx7dMbTEgD5PEI5Z4GSD1tRZsPgFLoYOK+MN1qrI94+wb0D56s/mrpeBvC5/rJUDBAPFvN6Iw4ThAilvAWNzdG221yzmwr4vg13QHW0mj//klNw9954t+jA2fR07TNhADdONcWvn39i/s59Bc7jTlWlIvzJdhT+0us9oMTOaNdBbb/8ni5jILMLbLfPmG0sKeOpTfWljF9rHFuKfo3cz16+5veTsU8WBhwLQugqCBOF9qv5LeVnJQHHbSpVBSVTTsCesRiGxxst4PqOIW65/rLll3Qaxy9volIoqj9CxL5cADCwxO48MYa5ey7ez++lr5E2YF975CdGa+dt4kiIKMI/PvekwhcOLHC21v8kEPT+SoNuvHBt6fb9Ao5zx7M2JqN9SYlVlTMJ0o2kF0VT19MzxDDdAW50KjbbXazOSEyMNik0OqWhyl5VhjYXZ/XQ5YESptSPsSUsQQaPisGkZlSqGip1DRI0lAoBLOuRJqtweMIBx3tUzs5BgU9df+nyN3caxzs2Vc8uSvoyEJonWNplwcovkWWJwouwPqBpDGdvsKfSe63achmWzjFoxvrBC9aW3nlAgfPDn9b/PAzg2lpNf/D8k0tf2mfgvMDGMRnjOC0JvCfFaZ28TsRqi7MbfNA2C7K0yunUl5GKNrtCjSjPqET22VghjnDk2Lnjfvb6v8cOhi5vJyPxvFSpMVhiaCiAguSswgC6C8L03RvATIuBs2c89b4zn6CEuPWGy1dc1FHi/GDqslxe/C9NHJGxHuaysgCUNkbD+USsIlv7+lu53z43yYxvKg2YryuN2y5cVzz3QAPnC4Gk9zRi+tB5J5Zu21fgPOaBk+aHjwKniPokLgMgk9bJ60YAoQGTVRXM/paicR6FkQQCRiuxCRZagZNZy3LM4AAgu+Ne4ngwMreOGwwMCIxU0WTKsQqarttktK6C9ZoKoZhxaEE63WPPBL9aumGlVBKQ4mMVxLPXXzZwYadx/NKD02d05eHrvBTl7/M4sKoMOTeapWHReVI+BOGXalJ/uUn/qmuePLGCF9e/rnTOAQXOD35avyWQ8AvVpv6dN64t7VM64+fv3pq/6KQj/z2U9AaPGx+oy9ouXlLY6+7fVCEvkVgd8P8sqThnmGcnD+wrk7EJhCVSzSd4peiNVrRLHW0PC7Dre+xKljgIlZqGXaOxWe9iicI2ThjaQKA3V3zwrVMKz/B4BMPj9bbdp1bN4QvXX76CI+hZYQq3btxT7uktP4yaurNMZjUVhlZ9JYavA4+XMsYMMnZPyhszhyzAQxefWrrmgALnwaca/xhKfWW9CR+5YF3x3+YhcfDWTaM93RQMgtSrAsyvQNDl5b3B9aGk1QYOPnUiNXSJcedVGV/waaVtEsn/YAb6IB/nDbPXgyZdwquotKry7fJfljjTzjg2qRoJRhUcM5g3BjGDzzj67ggljzuOHLMEmqpGRl2t7MtDOe8sLrfMzl03wJlwR+B499gY23Ls8GXFP1F8+FKTXoZY77z83J4xv3/87oerNwuE97pHnzHc3UWErjwfcuXTezPZky5oaL0xUwZjRV+47PSuzx5Q4Hz/ydoXAwmX1hrw8Ted0jkewDOlt7dnpab4qEDAICLyGXwC+ZgdbVSO6u8W1wdSJMBJM9KkV2RUWAKuDqBJr3OlB8Pv4PJBsRbEvOqyf8cqNlndbF91HbG2l4bjDiuY+IzvDgOI17Ump626sqpDQldRQjFnQwicNlGpKahUI+hfkoeuHMIrEw3jVbXbWpzvIydWDXZ93oQNtBasdVFTlYTY1VT0oqqTDgvBnQiQSB1zwJwDN39d2mWT65MxcpsGzHKMyxP348vnNtQbzfVXndW71zciL7o7/uBTjX8Xgi6qN+mTF51so5DmlItHp5YFII4iwNVBQEsBQbIUd4vR5hQLIcxiLmoENdAT3JCTsMZHOROmGo6lIrMdjlNLmQhWBc2ICqfkfmp2t9Riu1YYmYpdHMdmCKa37xyzsmCWGThAuGcsgmYMkM8xWAIbeAvsmpC1fSKYqsem8XIxgK58YDwyZuqe8SYMj9cyx7UQhFJODC7v+gseJzM+IDkNAIWQRFrx4ZY8cocrguuIyJxdmHzs+XESEaZ6ilwbCsqsndsYj48eW0DxaRgmWvGJt55R+t97kzZ8b9GB873N1duDAM+tN/WnapG+C0gfE6BcEwRBtwbFhqrhCoehePp0+mit1fIe+f5A4tFu4iTF0raIB1VWxSR1UqDyecwtQi3w+KCiXa5oqUYvRsanI6jWLfrSoGHJd8xg0dg4RuVpu2VYSDSLm1NGqjTNd065KJdC4x7nAuvppD+vTNZhz2g9c0iUkTiTR6xY8uftZruv6cbPpt72KII3AoqjiShHRBVEfFQp+E6jMXHvsYf33To+rR4gwpM10TKzIKop4JPSFOlRALGpHkVfvOasnp/OBZpXBTjff7LxFQR6fVPT7XGsHzYJLplRQtA5wmC5QP0SS5hsRxFJ9ZdzvxZIOjqRHs6G8cy1otj5Sl6DeFIZM9LmT6bXlVpCqC3ol+qINWQtoTEjcRjqGW4TwZrBolNVaOygaZYqNevkcJyG3e9iwEntLeItoKNJtZiqxjA2VYcGSyP7YCYyya0FUlZWrej501nCU21DhyhMdE8LG/RDokpD0Qs5Xdo60Ne4c3JKfezC1y3OOYyLJXHwG49MrwwCcVwY0J8B4apYw1d1rO5nyQognWwxIUsKQvGWqQaeLoD+PpC6dRopg4hxFoNa1ht8IBC68eQHAAAeN0lEQVSQSJxksK1YtadUZbje0uHtqmiG1PIppakb7bEik6OSAGd0KoJGI/F4U+mrBEevLBnjeKKqYLzShHIxNCoq51JJs8Bssste1zBdbcJUQ0HEui0DSLtxzT5DIMOpVYPdn+PJ1IYSo9olZ96Y8W3/uGtasfgDIqX7u8PfqdTUZ7+9tvgfQ9h+SPh8JMyMyb0vlXwdzhO+4InGakHqZELqI5BRToqPEemVmuCrGuA+5M6zC8Mfxa4wrSiE8DsjFWo0Y5ruLgR/KUIykS+tlM1sQKmWleVvSKGPya5me0GTDQr6PiVpEa6gM4n8PDZ/s2tO6fhM1i03EmcyggYfkOM+Vl1Z5XH0yi4TM3ECMTGSE6+PyOw7n641YaqmDQCT1fK0KrU9s//6RC7eUSrD6SMO6/4sklQgO4HEJdbwECs3zu6PH08SkpaWxEcbTfp2rakfULHaEkyWt65fbyPO+/LZJ4ljEssfaRwdhOpkRNHtDVxGthDBJxBoBRHcHSu1UbLLkZLwuQA+hAhHjU2pxnQtygPS1v4lxb83pptPcdSk+rvDDwpUx/rhTBu82YiGt0u8AEnWn7zNkqDKLwNYaZJ289skQ6L6bMWxqSY0WDIkhrktwBLv6JVlGznms3ScVm7EVv1MN1jFcZzI5+a4eklH24WI9ahaSol/89nLq1cu/QwEoHSkUEiZUcTzYDsBdRfF7zUV/aAaxfcHIJG0qDWo+WR+rPzTfQHQgoFz92PVVTkSp4GMe4Gk3Qxu3VE+v56kEL8PSMs1wd1A8C0eTz8UeUnnCoHv4ok2Xon1VK3BJ1djLpDf6+8r3o7ayFDWQaqvHPxmKOlYY/27sfFBwAQHyT3HkKwJkjJ0s1KmzZt3qGkDp2+TtwBXmlBrRIkpn6yKG4lTNhKs2lAwVY+gVlegYr/7yquczF/zc6a95FNIEhVsTswIq0euXPpp9jRT+DcvAp0VMu5YOtZSXI4ndndJfjJW9GS1ru4kjYLcPUSqRs3oicvP6Hl2IWcLzhs4d94/3F3qKrxeCLnSTBjej2/TOt0ssL2VQnyKgJYR6a8JDO5RqEwbAWB3IPD3NVGBmTYxFdUr0/VCHCvQOsZSsXhrf1/pAWDvVIPq7RK/JQUe187g9qHy7qTpj88FtqLASoQU8/m2daVbK8OdYj+teq2tNgycRiOy+7TS3OM5IwUoZbay2jadUW371uq9VV1pieOO+0oWNVuLoqaeqyoDUTvisGU3gaY4MWU8hNpMG6OrWgOULqP4uBb5KdL0cjXS/6jtEpz7SBsf0mqk0tCb3nF2z7zeeDwP4BDe++PGcQL1KSBmWGEzQE8gbgKgPiDxNQD1NV4uYgmTC8WvEulTNZ9ITwCVqWZzfLKa0zrmuHo00Fd+rljM3WJONNGg+rvEb6PE49MISKukmVLH59a0LfWYYt5BSvJufAzD79b0qimFUm+j8LwerzSgUbfvoc/SsljwFf1x/K2TLVonYDp11aZoPJAsUFqSrAWwQGD9qMMH/gCQ5rZHOgLKjlQhFJ9GxInpuvpTMUschPkUxfrpydO7frIBsV2PZji9V+DcvZXyuWr9DTIQbLNwcNpURw7HsF5ntc8ij88aMvznW9xBWqIV3COQvsKGMQeqCjlxrVJ6pQJcRhoKlemGGh2blOWuwvCK/u4dfIhpM9a3k8IxHqQlpfB3PXCynklL0rjEhczbPFITNpEQLaOXH8StTKfsnJZ1y/e8DWPXs8YmGlBvcnZeStykJZoTd8mBBh5LzgNMG8MZmemEUHsk3LTvAClRNFYfufz3QdmFTDI2jjI8YG6wOkp44jSBVmaBPPnoALAgxZ+ARhWR+pQ7UM3QMJrD8dRYHbyYp2h8crLyw2suWF6ZIRnchVmBc/vGsd4l/cXzFGnzQgwprFGmtEL/PUuUSElN+EdA0I1C3IOo7jIv5SaQhVBsAIKQ13I0UXelGi2TCMNdBTlllIgAjBT9UGvxFFCsekvhR1Dg8VlLsC2u45hnHsJltrV5W05CZK8ZBmSkjBccLWx4p5+9qgbUG1biWExkemUWMltXfSpqCwDZxPW2nGIryTJuoldtArG55siBT7LHOhsTZ15vCQulAQPEQhDgZ3m6x5o+RVpMpvnYiaeKYtWU9MMr15V3dWq3I3DueawykJfibI5vt0u/wNnCM6WmQb9AmZPiBs6Y1ABPNSN1rwUOylyIGyS2JgKfRotu44C3G4j09lpM3xEk9ZIu8VEh6AQ7+VoSwDAuMTSs5MjeZ7vRGsOZJPeUlPB009IphQzXoh2e8cka1BuR6bDjsgOQA5Lfb5saYZYyCXDSfUmhtoWVdtvJe3z8F1E0jzx84BMoqCnZtTJttMydvYHJO+8oxVKB+Ec8gbWGP1OknklLJAVBm/kkXZYGyYAazepjbz196QvZdmYAh0GTE+INvOhoCjuV5N1As8DME0ypRF2ZXAWTh4lBIS+uBdChJhyPFP47qykhAhkG+t0sEX0E1QSTzSufCJE5YiLMzJ/4DqUg7i2HHzfAaWOGA8NMh8R7ykkGf/ZB0/ZRy2tpnXHshUibyeKIjFUYOC2J49WIoWmsbacy23cnzORp2nvLxHD8OUIt0LjFdoHNI1at+KgMRGTG2I+1UVPS8sF/UvfS1wTAUUD0B+x2KA3/LhG+5esZGqjYzWrnaar3DS0ef+vpxTbwtAHnm5tGl4TF0nnag8bh24YoOsQPMoY8kgpzobwWkRe4UTU0/KtW1BSgc2GIbzdp5oyYGUtU/gU/gt+u91VAMd6dE58Ugk70vPHP0Wml2ysOn9SVmtSex4mE6OhyZ9VWCj2Mi8lKFRrNqOU5eQlo4oAtFFtwOqfaikL3aam2tLflokntW4uNpyYbhXx+olzMjZa7CuMyEPdrgqcU25b8yYz73qQO30NB55LGX0MWxBoeIlB/Q5ye5HmaptdGu6Vvmg31yFvO7Nrp20qAw5vWJ8KpC2Ug8vamS3I2hrACRiRfZcPLxAect2SvJagPi/ngl9wbxUSk6S7SuAe0LuRCvKrttS+dnhaBp8RDQPScCIK3S4TVCLhECOwBoDIvzPHLpHjapK0M/t5Sdy2GzVBxnewaz9oUQY8bP2yVSQZO04GwpRx5Kb9t2aOTC54SZe1enVe/xOGMKBeGk6VCOFIuFUYLhWDaTDFtX8THMy1WdD8p9SI7G3a8ZWIYdxpK5pO5HoJSMfDhkueaC4SjAuNP8jleEFsanqdZOp6G4bcGVdf5719+Kk4bMPrC9z4x9TopgsOM/qTAPJW3ZBgk0j01X0v/9vWVipECzBUC8V7iNSezWRB/0IzhSUG6FObEW9AYHv7A+3Q3rQhiTa8VbY8JN+UFvB0F5YxiZK/JHFkGJYHUKwT2aoJeAChyegaSIM7eb1M3aQPYf/cmSrppvw0lVT61vmlIVirT0Gg2WlmCpqmUZPHeWct1a+OB31VpJSEh8rtLw2CqkAtHusrF4a5SfiIAiO3bGpN33RgaPv5EJLTS+juRxj1sPTSdycBl3FGFSZvMI39NCSzGMf0P0lSwKEQZCD0EAozqYb5ansbo+Z7uvJFynhjq8fUnFX8IbFxwodsfHevtC4qcpplxFxwJb0mZM2RiJLDAMp+0aEMohAFtsKmRHFPSLzRjvA9Rd+cCuNguEe/tRAfDEU5d+W4O6ZrW8Yyt5nggJZoTGfggG07OLBNBHwrsI4IeQJFDUkKx3eTjNV6qWHQ6kLq/2YdO7U7wZSuT01Bv2rcb2rUwD5q00c6WvksVTdzp1oKsFNjI5XMsUXYXC7mxXE6YdD/2HDImW9sIeeC4OR7FhPfqmCaZFRzpSPiQXsZKRWA0Yg+C/r0wwDEgfgMf9iqlvyoQHzQ0zJxsRfdn8NTz2AmMRk395LIzunYYFm/cPHUagezPIpfvpdGb/t42pdwPTbqUD8U7knuEk01FdyLqnkDINyU5450q+2vmdCzcJIA6Jmj7QW6Hn8lnIinMqwlLAsQSDQwk6tP2Db/2xVpoweTx41VS1hThNtI5PlOTFaOq+GNSFD0Q7Rl0qd/JDRRCRGEYjJcK4e6urtKeQk5UpBA60nrGKckoBJFulzQGVMLmLrXuGYldizXcC2QXhufiCb9YN5fD9yFSlzsSCnUM9zSBtnp+e82S5v9sdJuKqpecUvwBcpCvWK+fa1+XvL8fXc6H4mqTGGUeHFUtgjskqHwg5QVuT/9cjXDcZycIOAb5TGVX2pjPJtzj7Bm2sVs2tWOqLSzMgFs/BQlCAiwTQJ/W2K+J+njzgemigZElYuykNKhSF6amGDiNtlVrjz7LWat+RCArhXxud7mU21Us5McCaV45za5bIlWS/rtnSQ9GNrkrK5sT6SNwMmrSdwhpztiOjdrjBgTqN1YCIsYx3RNr2Gtq6GxMYpw0a4WHkc/ik4E8iSLOk+lQnLvmrvM2kk5lVGyXFcJQdwcyvMKbqkqD0ITf5AeUSOf4l+/uVVvZmSYEoX2FM89EIfh9vSa91EstGzX3qVVmWdqknnLASwpBtp5JTU3qsbwhY3uJPBD1xorX1Ewku5e3PfFdo90yKYWVSgXq9boNIyfrTcT5MNVcGAx3lQo7isX8cC7EqgEuq2m/NpbqB/cNbRYAP6JLgLXwsE9icmdN/z0neBGYJY9/fmcl8iiNNGN9v+CdfSx5OvCGr/H9fCiuBILDLcZBEOLXGw31om+DeTobbyHFfy7PvBYatuH3nq4frSIyRPf3I4VeEsjwMp9eyVubFNGPifSeQASvz+pyDzA7iHy0rMaAU0sFLiOlk91pySy1XGlZjHbEW5fYFTHX3Lj7KetW9RJfzNAwRrqJ9SPnsxJ0xQT9StOAJlymNXQDER9kSZOVSWg0GmwKRGEYjhTycke5q7SjUJATaCz6dmmtTBox37E5yjYKYVlumjRGYBtuWm6hzwblbs0IUdt9Y0zLaYgdCuihZCdqBwZyrpcgeZGUeKzNYUARqfjrmnCfTxwlFGN4/1P1EzToZX7dKUG6c+e8AebXNbLrG219FdQbSvlmnlXGs7J8fZkAnpIoT29/IXerJqdp+rOmTXqGoDVAOO4O10qMQCvKXZDJZ6Q6i0EkU7wlh3wLaDSJj7CkkWehbN7N4PUEg5j3lROFbGwrwuXT07VymBM7ugq5V6Sgpk93TQPaNoGcUG48J04Cdp40mM0JSbMsORNEt2XWJv0wopOYnFOlLljKa1AcLOeH1bzdwbyl7YUm6ceTZ/VuuLvA3jsK8XpAOEWAIKU1H337NQVqlw+ppEMrft0xbeP49SwmadbIMJhGPvBage4POqDbSIEYMAgYqp1NqTiOzf2YZxmJpYUAL+Lohk8aQMJprWiTFHgya4qWnk4FX9LoE0ASxYla6wkgK/odAOfScEk5L5i8KEpLupbd0PJXWi34b7aUL+snQrbG3iR0W9lM2nVLkaWfzNbwSfydnYCZY8EetiJ8uqnireEMHrkeIp4ghDzLqkktmqTukRxf61g+gBhjnA0PpsdKVvGex8bXlILcwN4GYb73MBB9EvF8szfK77pF0E0NjwaCVieLSjN1lm3CG4wo1gmEqiYa9ZJrvn1YlHItgbAo5PZKpE0Pu5ILbJ9tqlhHP2loeKmTmYqhPDwAulCTIN4ZHJP+BsW8s2HfPrquJnHjTyeX5aCwBiAydhD/YyRIbFUNf2fxFTn7nbeVZr8HQUiIESLJfpR4jnFSWlObBe7TRBy4y8SJfOwh9ZctQYH6dYSCj6TekY42p9WRSWp3kezAZ0mkBrwNm508mMxk915bm9gyaiyV+eqIehVkSDjvzv/117zEMnLE9WuGFHEHc9u2rVhK2ussJhObzrPc02ebN9bqx0BimO/FcYTeqQmFXBogXqy18Q1EBPQNQWpiLp6maaRxgVTfhZs3U24Eo5O5MUZr1r/zCE4b1/ydgRJQaPxBXy8X4jJCfRafW58MLu9NRhqRKOLIbSSzg2uXKUIhTfo+/5Yg2WTPCSHW8rqhAnqZTUzWzZbPM2MdneaMKW/40Co/Fw020NvLGzOtLUQxF41sX7h8ts/O/JtX6MM4DQZc7c/diS63zWvPWtPDRs071DBvlFRdAYpLrTIUGKn4WwHJySxP07xOP0saF+YcBwyfNg/wwDP1Y6khyh6h+ybATBLAcon6DA5neRom3YJBDjCSLJmlDFmvovxMJwFlCXA862OlaQ8C2ZBth4/d0teyCpK1WWctzOc5PI20u9aSDK1p3yrXTrWTLeL7YW2Z9KeTXrKyybvj/pu3sLI0Zu+HCwJoESkdP0I6SOxDCPgkN7yElJbIeU+R3ihATs2L3xl3vBE1ovVry1tc5JjKRdk8OpU40Pa4OV4bSV3J/va3QkEDbL1ztMMPWcBRUUV5FLDNA2e2RTVDh7APiFabnRMIk4A4aSWU3SJsynCuM7KzYKWEICeR+BoJ8vcSDegaRlfHJ9gb99/V9c9g6qZoZMGXbs/sxjXxIxd3yaRuGvpCEG8BTvJffB3XbswbntkkSPcjlSzT9tzZzrj22vps1+2amtQjGgLDNnb4AqHfLIitYcQoxu8Ggqrz4Wm6SeY7UuPls0/qGUlE5ve31I4CEDOOy2A9xzYME/DfY6emss8RCDEAAa01CXHeHrDn1HRp0i8QWk3os8M6JbUGAgcB+H8T7WtopJFk8DJuTXpQzXc7ec3+c983vx/d3ErZWFw2duX89ZSbnXiFM+75bTzebknRSIKNDHprsthVO/9OEQf+rNxJl2ur0wppGBpZeunx53uBa4efCxGmIw2PC2U38skcnsdLQgzyei16IBSBWSvzvJyNp+k2YqDGRWsL/L7z5FwD2LiRgnBl45hAtqWrzkfaJ2VipVcIIY8PnHw1LjmvpAldRsSXNVLF5Cv7j8v/yrmlfZO/rOBIQOxz0VKKYnzFhDUy+xWzv9MdzeZsdyq7l7zuWZ95oXX21kffyHzKdBI02b2bThAna858nxRNxBKelMZOhNM1cooKmwDRDwUEs5oAnQaAhUH95R3Pr3fvG2sz0jZt2lGivr4joqhlFIZEFM3zncmB0Cu0kEczWIjjMa4HKKBLKZqQQuxSStl9Vnw+jXmriZkPJrGNOOym5LEgsQvJGs+axBhqmyvJmYczHsqvzvvdi6lZ3jaTI07AmEnDZDTyTE15dsk1ryKtBO1Y3/QxleLg66ZP3zBSJ03Dt5d+mFSWQZJl6bMt3TqioZH63jYWqQwGjx4uG2s9QhqeCQM8CQj7mTU5QQ814xl+0F6FRKNa3bX+9KXjvtAM6/7+p6g7CBuDs1HBJqAJxLMH1gQM3Xdo8Bo9DWIgjvQ7O/0sQMIuLk4Cn0Xn5nv6EcTORgvAfBfyBE3A6tQ8PxFUGexzb8zp0OOsLuw0TeeSqemQge9Ups5ewy6uD3wOAJ/2+Wo+x2ymN5DezSteUrMJYOzPR0FQ5Pk3K0/dc+p6fuS8ddgW9+noFm7cTOU8NAaBcwG9QHN5gW1jlrpnzrpRelDk5GF+X1gyiRB5pwTHc37aFpHM+P8KUSDSCZxUndgFBLFAMlln5sM5qY4Zfku6CSy6mZi+578zs3wiGi80tuUQpe5laWRTNH1Qk9eizLOx0evB6KVhqn8GZ7zbJAVgS0Oa3SJp+oaOo8H0k711HdJEmYYp42ema8f8nmUstJaxFBDyjqYY4idEDZThb/aTVmB5AFWtj1z4upnvNZ81nnDrA9uLhw8uGwiaIJoCMef2b6S/Z9skKVcg0qBJfOaYTc6mm5JSBRGA1A3cisKe1TgjpB0CBJr/E3YTntMd/C4YiXKaVZyZsFKyl8JHNZpS9rdC/uv7w/f9Gpv/zmX8dDf3mIbkrrXXNS27VFhP0/9OBI5rK91Odixmo2FxwG+ZsW37Z7CPbA5oSCdn2bzH1D3TXz867tl925KPqlKc8T2TBinVzWEyIjmuKH6K33bE9ZivnXjKK8xaFYbXr8OpDvDaew7Oxo0bg+4Vb1geocjrvH0A0QD039sI1gHCvBxA0MstRwNj43BKKWgMFZ/QGqvtSvA+qvZPGAJFESDvG0NBqz1APBMRZF3FMci8yzxkmq4NUDFKGRCfIwzoricj2eoD3+dy5hYbV0zD/+bvLl22Ew1T1qYUtPpgL8ygIc0JXKl+cBupvrXRSD+Hp0cBdaTh72f7kRkL80wdxoIA+b02K0jQjmpDPx7kWkGmNE9ZNdQjipfExeF163C2CM28krdw07PUo6nW0wl56WsaggGJuLRtD7NNwJJCcbROjDSVHukkIc24aFEWeXEYr6ymt36g4MPL5WwrXHN1a477+2p4pMkeDDTm6AOpEFCs5NzfgPSDk6TrZqdl5hM3oulv3NYzPjS09zN05hX6Ztq8C6LRO7VUkjSGq3vVI8cX0H8vhMEyAFySTWiMzawIAGVUC0N4uV43h3Ny7rqVYu67RNkLUixrHXVun0oGRrGZFXjzjb0FiCFg0ZH85pL2Gt9LNoSZb7ac6YfbJ2YXhs2dNrvA083+NR3J0AjcG+05H4a3MCsVC3KZBO1pmK0NjAFLNpOc3P4cvscq5qR/INezGamhppyp66RkZizMGJmR8GNhR0LzRhXgcAlvGhU7omb8EgYUJ3wMdVzbNjzh3e25ZuO8geMJscse53u6A4miLgALGsj/pVzQLyTyNpaOHz5MoBlFL3OdTgW4vgxmBiHneohW6sdcJV+9++k+tH9vBVDnan02GnPVS9+fvR+cGYn9XBYFvRIrBk28s9bkUx+qU+vXDbAD0pEvndpfMHDMxCPCxx/fXVKlrlKTVz/cR0LQi0p0JaueHVZI6/VoV5DLHEvm6gsVLpM5LGRd9qTjaS/MrdK3NeGumRV95/ZnllpaK7IZj87mBoRJ19M0TPumvKOWqusXhfkSSwrTbmjCCCbDINs/Q4NTDPjjyJlL7iETGo6eoeHbS4g5GqkV6RkLlh3GwmgDFj9IE9RkCa4r247OPzvXyRSLBhxPiAH08MM7i+Nd5WIuQNGF4RI2cLMWldFtPE4IGGo1Fum4XhVoRJO3lEuaKBb5gZA3SHf4mDyxtrc6LGQe2rL7S2N/6y9GH/aHBgrB8TSIlBqRQPVYk26CarzxuG4+h3He0sb2YZE+mzdvzlVyawYKQpTSJDks4I1h/o6kaxTFrZXbVOF8LtcvREuCmYeMzIwjAzo+v8X/9dc5IswCIZz54AxgBq2n4ZvyNJLfjlZ2KLJtpcszYe5PlsYM2pn+ziifajv7rLP2Zx/GoqbtLneUFCMps05VryEaZuUb1TOP6ZtYCBQWDTjc6MbNe8qDSwr56UmZg7ww76Hg640GYN65801FKso1bUCPu7rEdjdXFaJYyi3hHYodg46ZwFRSxjy4C1Rm3bU0ak1H3NCkkZwdrXTQM32vU51su9n2Os2g2fqUfY7sSlL62fZ2zz0n583wyS+FLh1NN3QziLQKJYra/z22gr8nXXPL2iPD1drlpw62Aq1zoGhxgfP88wWodrVUTTMMZDkIS5EIRNl6X0Uiqumme2lBq3e1aSHypVxiWLOrOKOQKz7bvez1Gb+LALUM0b3V8e7qbP3wvU/T6ESPy3Wisa/PkeZplkaepXJISkQ6DnIq5pPUp9zrjctth/DMRMbO+JXaFccdN6/Fz0UFzq2bN+fKudwMmsWXAuw+IS/i6Xygm0GgZTOKFFEokQ9TMuK+uxDIPObaj5R3z1ZDwCKBWXfwUox/83Uuwt/nErNcNu3++zqe9lz1DfMdDTYU0vUWQoPp8HPsK41OY5FXpOsFUtVhpQZyURzHmkb5DScA0NevaXRk5vtq+DrfT9/r43qjTzbWr18/57FxiwqcoaGhVqbxXjixdu1aXL783QjwQpA/NsCclFifDGVPkd988NpnbyMwNYWoykTFWOtid6yeezHW5f7UW9i8Nt4ZYGMlv6F04Z/7/vmfm0NDQ3sNuC4qcBbeRVuDAbd27buDVat6ZG61PZI8HBbIZ4j188G37pO9xr/9vWi5pk6/Z6PB9Zj2bDSYHpcZGRbI5fxffy39rD6VgOtwuexv35an4Z8jfX1vNEy5RkPHcUwTExO6UqnQ8PCw6d/y5cuRv/Nf36f072w5X4f/+nu+nqfB1zds2NApzy557IMCOB0Ah0NDQ7j2pptw7OGHxdJiEdcBwDanBo9qNvdpJu0rsA9kvVqtZp7tK5UK3fSmN/Gs571+B93zHqzAmY1XFlBr15p+p2fZQpnb3d2NPHMXWi9dfjFo8OzesmUL3XTTTQclQGZlxP4M3EFY1wCKjx7xSYsMtNn6OTQ0RHPd57rZMul6e6PB9zJt7xdQD6bx/j/szX4NsLZ+ggAAAABJRU5ErkJggg=="},3828:function(){},43968:function(d){function v(e,r){this.v=e,this.k=r}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},20943:function(d,v,e){var r=e(35859);function i(){var l,c,f=typeof Symbol=="function"?Symbol:{},o=f.iterator||"@@iterator",h=f.toStringTag||"@@toStringTag";function u(k,R,A,P){var M=R&&R.prototype instanceof x?R:x,B=Object.create(M.prototype);return r(B,"_invoke",function(N,G,W){var H,ae,ne,oe=0,q=W||[],J=!1,K={p:0,n:0,v:l,a:se,f:se.bind(l,4),d:function(Q,le){return H=Q,ae=0,ne=l,K.n=le,a}};function se(ee,Q){for(ae=ee,ne=Q,c=0;!J&&oe&&!le&&c<q.length;c++){var le,z=q[c],$=K.p,ie=z[2];ee>3?(le=ie===Q)&&(ne=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]):$<ie&&(le=ee<3||z[0]>Q||Q>ie)&&(z[4]=ee,z[5]=Q,K.n=ie,ae=0))}if(le||ee>1)return a;throw J=!0,Q}return function(ee,Q,le){if(oe>1)throw TypeError("Generator is already running");for(J&&Q===1&&se(Q,le),ae=Q,ne=le;(c=ae<2?l:ne)||!J;){H||(ae?ae<3?(ae>1&&(K.n=-1),se(ae,ne)):K.n=ne:K.v=ne);try{if(oe=2,H){if(ae||(ee="next"),c=H[ee]){if(!(c=c.call(H,ne)))throw TypeError("iterator result is not an object");if(!c.done)return c;ne=c.value,ae<2&&(ae=0)}else ae===1&&(c=H.return)&&c.call(H),ae<2&&(ne=TypeError("The iterator does not provide a '"+ee+"' method"),ae=1);H=l}else if((c=(J=K.n<0)?ne:N.call(G,K))!==a)break}catch(z){H=l,ae=1,ne=z}finally{oe=1}}return{value:c,done:J}}}(k,A,P),!0),B}var a={};function x(){}function p(){}function y(){}c=Object.getPrototypeOf;var m=[][o]?c(c([][o]())):(r(c={},o,function(){return this}),c),b=y.prototype=x.prototype=Object.create(m);function S(k){return Object.setPrototypeOf?Object.setPrototypeOf(k,y):(k.__proto__=y,r(k,h,"GeneratorFunction")),k.prototype=Object.create(b),k}return p.prototype=y,r(b,"constructor",y),r(y,"constructor",p),p.displayName="GeneratorFunction",r(y,h,"GeneratorFunction"),r(b),r(b,h,"Generator"),r(b,o,function(){return this}),r(b,"toString",function(){return"[object Generator]"}),(d.exports=i=function(){return{w:u,m:S}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},36490:function(d,v,e){var r=e(66142);function i(l,c,f,o,h){var u=r(l,c,f,o,h);return u.next().then(function(a){return a.done?a.value:u.next()})}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},66142:function(d,v,e){var r=e(20943),i=e(70715);function l(c,f,o,h,u){return new i(r().w(c,f,o,h),u||Promise)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},70715:function(d,v,e){var r=e(43968),i=e(35859);function l(c,f){function o(u,a,x,p){try{var y=c[u](a),m=y.value;return m instanceof r?f.resolve(m.v).then(function(b){o("next",b,x,p)},function(b){o("throw",b,x,p)}):f.resolve(m).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,m){o(u,x,y,m)})}return h=h?h.then(p,p):p()},!0)}d.exports=l,d.exports.__esModule=!0,d.exports.default=d.exports},35859:function(d){function v(e,r,i,l){var c=Object.defineProperty;try{c({},"",{})}catch(f){c=0}d.exports=v=function(o,h,u,a){function x(p,y){v(o,p,function(m){return this._invoke(p,y,m)})}h?c?c(o,h,{value:u,enumerable:!a,configurable:!a,writable:!a}):o[h]=u:(x("next",0),x("throw",1),x("return",2))},d.exports.__esModule=!0,d.exports.default=d.exports,v(e,r,i,l)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},27419:function(d){function v(e){var r=Object(e),i=[];for(var l in r)i.unshift(l);return function c(){for(;i.length;)if((l=i.pop())in r)return c.value=l,c.done=!1,c;return c.done=!0,c}}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},68037:function(d,v,e){var r=e(43968),i=e(20943),l=e(36490),c=e(66142),f=e(70715),o=e(27419),h=e(88562);function u(){"use strict";var a=i(),x=a.m(u),p=(Object.getPrototypeOf?Object.getPrototypeOf(x):x.__proto__).constructor;function y(S){var k=typeof S=="function"&&S.constructor;return!!k&&(k===p||(k.displayName||k.name)==="GeneratorFunction")}var m={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[M],B)},delegateYield:function(M,B,N){return k.resultName=B,R(A.d,h(M),N)},finish:function(M){return R(A.f,M)}},R=function(M,B,N){A.p=k.prev,A.n=k.next;try{return M(B,N)}finally{k.next=A.n}}),k.resultName&&(k[k.resultName]=A.v,k.resultName=void 0),k.sent=A.v,k.next=A.n;try{return S.call(this,k)}finally{A.p=k.prev,A.n=k.next}}}return(d.exports=u=function(){return{wrap:function(R,A,P,M){return a.w(b(R),A,P,M&&M.reverse())},isGeneratorFunction:y,mark:a.m,awrap:function(R,A){return new r(R,A)},AsyncIterator:f,async:function(R,A,P,M,B){return(y(A)?c:l)(b(R),A,P,M,B)},keys:o,values:h}},d.exports.__esModule=!0,d.exports.default=d.exports)()}d.exports=u,d.exports.__esModule=!0,d.exports.default=d.exports},88562:function(d,v,e){var r=e(33906).default;function i(l){if(l!=null){var c=l[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],f=0;if(c)return c.call(l);if(typeof l.next=="function")return l;if(!isNaN(l.length))return{next:function(){return l&&f>=l.length&&(l=void 0),{value:l&&l[f++],done:!l}}}}throw new TypeError(r(l)+" is not iterable")}d.exports=i,d.exports.__esModule=!0,d.exports.default=d.exports},33906:function(d){function v(e){"@babel/helpers - typeof";return d.exports=v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},d.exports.__esModule=!0,d.exports.default=d.exports,v(e)}d.exports=v,d.exports.__esModule=!0,d.exports.default=d.exports},329:function(d,v,e){var r=e(68037)();d.exports=r;try{regeneratorRuntime=r}catch(i){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},92310:function(d,v){var e,r;(function(){"use strict";var i={}.hasOwnProperty;function l(){for(var o="",h=0;h<arguments.length;h++){var u=arguments[h];u&&(o=f(o,c(u)))}return o}function c(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return l.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var h="";for(var u in o)i.call(o,u)&&o[u]&&(h=f(h,u));return h}function f(o,h){return h?o?o+" "+h:o+h:o}d.exports?(l.default=l,d.exports=l):(e=[],r=function(){return l}.apply(v,e),r!==void 0&&(d.exports=r))})()},63335:function(d,v,e){"use strict";var r=e(55327),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a function")}},6086:function(d,v,e){"use strict";var r=e(39812),i=e(40593),l=TypeError;d.exports=function(c){if(r(c))return c;throw new l(i(c)+" is not a constructor")}},42683:function(d,v,e){"use strict";var r=e(2786).has;d.exports=function(i){return r(i),i}},557:function(d,v,e){"use strict";var r=e(55327),i=String,l=TypeError;d.exports=function(c){if(typeof c=="object"||r(c))return c;throw new l("Can't set "+i(c)+" as a prototype")}},17442:function(d,v,e){"use strict";var r=e(19691).has;d.exports=function(i){return r(i),i}},79606:function(d){"use strict";var v=TypeError;d.exports=function(e){if(typeof e=="string")return e;throw new v("Argument is not a string")}},63619:function(d,v,e){"use strict";var r=e(42530).has;d.exports=function(i){return r(i),i}},18888:function(d,v,e){"use strict";var r=e(91385).has;d.exports=function(i){return r(i),i}},5978:function(d,v,e){"use strict";var r=e(89945),i=e(94237),l=e(80666),c=e(80449),f=e(63335),o=e(4112),h=e(53776),u=e(59893),a=u("asyncDispose"),x=u("dispose"),p=i([].push),y=function(b,S){if(S==="async-dispose"){var k=h(b,a);return k!==void 0?k:(k=h(b,x),function(){r(k,this)})}return h(b,x)},m=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=m(S,k)}else A=m(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,m=Math.min,b=x.prototype,S=p.prototype,k=i(b.slice),R=l(b,"resizable","get"),A=l(b,"maxByteLength","get"),P=i(S.getInt8),M=i(S.setInt8);d.exports=(u||h)&&function(B,N,G){var W=o(B),H=N===void 0?W:c(N),ae=!R||!R(B),ne;if(f(B))throw new y("ArrayBuffer is detached");if(u&&(B=a(B,{transfer:[B]}),W===H&&(G||ae)))return B;if(W>=H&&(!G||ae))ne=k(B,0,H);else{var oe=G&&!ae&&A?{maxByteLength:A(B)}:void 0;ne=new x(H,oe);for(var q=new p(B),J=new p(ne),K=m(H,W),se=0;se<K;se++)M(J,se,P(q,se))}return u||h(B),ne}},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),m=e(53456),b=e(58218),S=e(59893),k=e(6145),R=e(94844),A=R.enforce,P=R.get,M=l.Int8Array,B=M&&M.prototype,N=l.Uint8ClampedArray,G=N&&N.prototype,W=M&&m(M),H=B&&m(B),ae=Object.prototype,ne=l.TypeError,oe=S("toStringTag"),q=k("TYPED_ARRAY_TAG"),J="TypedArrayConstructor",K=r&&!!b&&h(l.opera)!=="Opera",se=!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},ie=function(It){if(!f(It))return!1;var rr=h(It);return rr==="DataView"||o(z,rr)||o($,rr)},me=function(yt){var It=m(yt);if(f(It)){var rr=P(It);return rr&&o(rr,J)?rr[J]:me(It)}},Pe=function(yt){if(!f(yt))return!1;var It=h(yt);return o(z,It)||o($,It)},De=function(yt){if(Pe(yt))return yt;throw new ne("Target is not a typed array")},Ze=function(yt){if(c(yt)&&(!b||y(W,yt)))return yt;throw new ne(u(yt)+" is not a typed array constructor")},Ne=function(yt,It,rr,Yt){if(i){if(rr)for(var ur in z){var We=l[ur];if(We&&o(We.prototype,yt))try{delete We.prototype[yt]}catch(Pt){try{We.prototype[yt]=It}catch(zt){}}}(!H[yt]||rr)&&x(H,yt,rr?It:K&&B[yt]||It,Yt)}},Bt=function(yt,It,rr){var Yt,ur;if(i){if(b){if(rr){for(Yt in z)if(ur=l[Yt],ur&&o(ur,yt))try{delete ur[yt]}catch(We){}}if(!W[yt]||rr)try{return x(W,yt,rr?It:K&&W[yt]||It)}catch(We){}else return}for(Yt in z)ur=l[Yt],ur&&(!ur[yt]||rr)&&x(ur,yt,It)}};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(W)||W===Function.prototype)&&(W=function(){throw new ne("Incorrect invocation")},K))for(ee in z)l[ee]&&b(l[ee],W);if((!K||!H||H===ae)&&(H=W.prototype,K))for(ee in z)l[ee]&&b(l[ee].prototype,H);if(K&&m(G)!==H&&b(G,H),i&&!o(H,oe)){se=!0,p(H,oe,{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:se&&q,aTypedArray:De,aTypedArrayConstructor:Ze,exportTypedArrayMethod:Ne,exportTypedArrayStaticMethod:Bt,getTypedArrayConstructor:me,isView:ie,isTypedArray:Pe,TypedArray:W,TypedArrayPrototype:H}},91669:function(d,v,e){"use strict";var r=e(92916),i=e(94237),l=e(35454),c=e(3737),f=e(8090),o=e(68151),h=e(64110),u=e(66477),a=e(3338),x=e(56472),p=e(56902),y=e(61578),m=e(24225),b=e(14894),S=e(61618),k=e(53456),R=e(58218),A=e(80689).f,P=e(75202),M=e(71698),B=e(94573),N=e(94844),G=f.PROPER,W=f.CONFIGURABLE,H="ArrayBuffer",ae="DataView",ne="prototype",oe="Wrong length",q="Wrong index",J=N.getterFor(H),K=N.getterFor(ae),se=N.set,ee=r[H],Q=ee,le=Q&&Q[ne],z=r[ae],$=z&&z[ne],ie=Object.prototype,me=r.Array,Pe=r.RangeError,De=i(P),Ze=i([].reverse),Ne=S.pack,Bt=S.unpack,yt=function(Le){return[Le&255]},It=function(Le){return[Le&255,Le>>8&255]},rr=function(Le){return[Le&255,Le>>8&255,Le>>16&255,Le>>24&255]},Yt=function(Le){return Le[3]<<24|Le[2]<<16|Le[1]<<8|Le[0]},ur=function(Le){return Ne(b(Le),23,4)},We=function(Le){return Ne(Le,52,8)},Pt=function(Le,je,He){h(Le[ne],je,{configurable:!0,get:function(){return He(this)[je]}})},zt=function(Le,je,He,rt){var lt=K(Le),Kt=m(He),Wt=!!rt;if(Kt+je>lt.byteLength)throw new Pe(q);var Ae=lt.bytes,qe=Kt+lt.byteOffset,Vt=M(Ae,qe,qe+je);return Wt?Vt:Ze(Vt)},nt=function(Le,je,He,rt,lt,Kt){var Wt=K(Le),Ae=m(He),qe=rt(+lt),Vt=!!Kt;if(Ae+je>Wt.byteLength)throw new Pe(q);for(var kt=Wt.bytes,Ht=Ae+Wt.byteOffset,$t=0;$t<je;$t++)kt[Ht+$t]=qe[Vt?$t:je-$t-1]};if(!c)Q=function(je){x(this,le);var He=m(je);se(this,{type:H,bytes:De(me(He),0),byteLength:He}),l||(this.byteLength=He,this.detached=!1)},le=Q[ne],z=function(je,He,rt){x(this,$),x(je,le);var lt=J(je),Kt=lt.byteLength,Wt=p(He);if(Wt<0||Wt>Kt)throw new Pe("Wrong offset");if(rt=rt===void 0?Kt-Wt:y(rt),Wt+rt>Kt)throw new Pe(oe);se(this,{type:ae,buffer:je,byteLength:rt,byteOffset:Wt,bytes:lt.bytes}),l||(this.buffer=je,this.byteLength=rt,this.byteOffset=Wt)},$=z[ne],l&&(Pt(Q,"byteLength",J),Pt(z,"buffer",K),Pt(z,"byteLength",K),Pt(z,"byteOffset",K)),u($,{getInt8:function(je){return zt(this,1,je)[0]<<24>>24},getUint8:function(je){return zt(this,1,je)[0]},getInt16:function(je){var He=zt(this,2,je,arguments.length>1?arguments[1]:!1);return(He[1]<<8|He[0])<<16>>16},getUint16:function(je){var He=zt(this,2,je,arguments.length>1?arguments[1]:!1);return He[1]<<8|He[0]},getInt32:function(je){return Yt(zt(this,4,je,arguments.length>1?arguments[1]:!1))},getUint32:function(je){return Yt(zt(this,4,je,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(je){return Bt(zt(this,4,je,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(je){return Bt(zt(this,8,je,arguments.length>1?arguments[1]:!1),52)},setInt8:function(je,He){nt(this,1,je,yt,He)},setUint8:function(je,He){nt(this,1,je,yt,He)},setInt16:function(je,He){nt(this,2,je,It,He,arguments.length>2?arguments[2]:!1)},setUint16:function(je,He){nt(this,2,je,It,He,arguments.length>2?arguments[2]:!1)},setInt32:function(je,He){nt(this,4,je,rr,He,arguments.length>2?arguments[2]:!1)},setUint32:function(je,He){nt(this,4,je,rr,He,arguments.length>2?arguments[2]:!1)},setFloat32:function(je,He){nt(this,4,je,ur,He,arguments.length>2?arguments[2]:!1)},setFloat64:function(je,He){nt(this,8,je,We,He,arguments.length>2?arguments[2]:!1)}});else{var Et=G&&ee.name!==H;if(!a(function(){ee(1)})||!a(function(){new ee(-1)})||a(function(){return new ee,new ee(1.5),new ee(NaN),ee.length!==1||Et&&!W})){Q=function(je){return x(this,le),new ee(m(je))},Q[ne]=le;for(var ht=A(ee),Je=0,Ue;ht.length>Je;)(Ue=ht[Je++])in Q||o(Q,Ue,ee[Ue]);le.constructor=Q}else Et&&W&&o(ee,"name",H);R&&k($)!==ie&&R($,ie);var ge=new z(new Q(2)),Se=i($.setInt8);ge.setInt8(0,2147483648),ge.setInt8(1,2147483649),(ge.getInt8(0)||!ge.getInt8(1))&&u($,{setInt8:function(je,He){Se(this,je,He<<24>>24)},setUint8:function(je,He){Se(this,je,He<<24>>24)}},{unsafe:!0})}B(Q,H),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),m=arguments.length>2?arguments[2]:void 0,b=f((m===void 0?x:i(m,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),m=e(57975),b=e(55266).toArray,S=y("asyncIterator"),k=i(p("Array","values")),R=i(k([]).next),A=function(){return new P(this)},P=function(M){this.iterator=k(M)};P.prototype.next=function(){return R(this.iterator)},d.exports=function(B){var N=this,G=arguments.length,W=G>1?arguments[1]:void 0,H=G>2?arguments[2]:void 0;return new(x("Promise"))(function(ae){var ne=l(B);W!==void 0&&(W=r(W,H));var oe=a(ne,S),q=oe?void 0:u(ne)||A,J=c(N)?new N:[],K=oe?f(ne,oe):new m(h(o(ne,q)));ae(b(K,W,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(m){var b=l(m),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 P=x(b),M=0,B,N,G,W,H,ae;if(P&&!(this===p&&f(P)))for(W=a(b,P),H=W.next,N=S?new this:[];!(G=i(H,W)).done;M++)ae=A?c(W,R,[G.value,M],!0):G.value,u(N,M,ae);else for(B=h(b),N=S?new this(B):p(B);B>M;M++)ae=A?R(b[M],M):b[M],u(N,M,ae);return N.length=M,N}},33940:function(d,v,e){"use strict";var r=e(80666),i=e(94237),l=e(1835),c=e(94029),f=e(82762),o=e(2786),h=o.Map,u=o.get,a=o.has,x=o.set,p=i([].push);d.exports=function(m){for(var b=c(this),S=l(b),k=r(m,arguments.length>1?arguments[1]:void 0),R=new h,A=f(S),P=0,M,B;A>P;P++)B=S[P],M=k(B,P,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,m,b){for(var S=c(p),k=l(S),R=r(y,m),A=h(null),P=o(k),M=0,B,N,G;P>M;M++)G=k[M],N=f(R(G,M,S)),N in A?x(A[N],G):A[N]=[G];if(b&&(B=b(S),B!==a))for(N in A)A[N]=u(B,A[N]);return A}},22999:function(d,v,e){"use strict";var r=e(80524),i=e(51981),l=e(82762),c=function(f){return function(o,h,u){var a=r(o),x=l(a),p=i(u,x),y;if(f&&h!==h){for(;x>p;)if(y=a[p++],y!==y)return!0}else for(;x>p;p++)if((f||p in a)&&a[p]===h)return f||p||0;return!f&&-1}};d.exports={includes:c(!0),indexOf:c(!1)}},53279:function(d,v,e){"use strict";var r=e(80666),i=e(1835),l=e(94029),c=e(82762),f=function(o){var h=o===1;return function(u,a,x){for(var p=l(u),y=i(p),m=c(y),b=r(a,x),S,k;m-- >0;)if(S=y[m],k=b(S,m,p),k)switch(o){case 0:return S;case 1:return m}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,m=a===4,b=a===6,S=a===7,k=a===5||b;return function(R,A,P,M){for(var B=c(R),N=l(B),G=f(N),W=r(A,P),H=0,ae=M||o,ne=x?ae(R,G):p||S?ae(R,0):void 0,oe,q;G>H;H++)if((k||H in N)&&(oe=N[H],q=W(oe,H,B),a))if(x)ne[H]=q;else if(q)switch(a){case 3:return!0;case 5:return oe;case 6:return H;case 2:h(ne,oe)}else switch(a){case 4:return!1;case 7:h(ne,oe)}return b?-1:y||m?m:ne}};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 m=i(this),b=c(m),S=b-1;for(arguments.length>1&&(S=o(S,l(arguments[1]))),S<0&&(S=b+S);S>=0;S--)if(S in m&&m[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),m=l(y),b=c(y);r(a);var S=h?b-1:0,k=h?-1:1;if(x<2)for(;;){if(S in m){p=m[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 m&&(p=a(p,m[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)),m=0;x<p;x++,m++)l(y,m,o[x]);return y.length=m,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,m=0;y<x||m<p;)o[y+m]=y<x&&m<p?a(h[y],u[m])<=0?h[y++]:u[m++]:y<x?h[y++]:u[m++];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(m){var b=f(this),S=c(b),k=[],R=new u,A=l(m)?function(N){return N}:i(m),P,M,B;for(P=0;P<S;P++)M=b[P],B=A(M),a(R,B)||x(R,B,M);return h(R,function(N){p(k,N)}),k}},82041:function(d,v,e){"use strict";var r=e(82762),i=e(56902),l=RangeError;d.exports=function(c,f,o,h){var u=r(c),a=i(o),x=a<0?u+a:a;if(x>=u||x<0)throw new l("Incorrect index");for(var p=new f(u),y=0;y<u;y++)p[y]=y===x?h:c[y];return p}},57975:function(d,v,e){"use strict";var r=e(89945),i=e(80449),l=e(20132),c=e(53776),f=e(66477),o=e(94844),h=e(65911),u=e(14052),a=e(25587),x=h("Promise"),p="AsyncFromSyncIterator",y=o.set,m=o.getterFor(p),b=function(k,R,A){var P=k.done;x.resolve(k.value).then(function(M){R(a(M,P))},A)},S=function(R){R.type=p,y(this,R)};S.prototype=f(l(u),{next:function(){var R=m(this);return new x(function(A,P){var M=i(r(R.next,R.iterator));b(M,A,P)})},return:function(){var k=m(this).iterator;return new x(function(R,A){var P=c(k,"return");if(P===void 0)return R(a(void 0,!0));var M=i(r(P,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),m=e(67996),b=a("Promise"),S=h("toStringTag"),k="AsyncIteratorHelper",R="WrapForValidAsyncIterator",A=u.set,P=function(N){var G=!N,W=u.getterFor(N?R:k),H=function(ae){var ne=i(function(){return W(ae)}),oe=ne.error,q=ne.value;return oe||G&&q.done?{exit:!0,value:oe?b.reject(q):b.resolve(y(void 0,!0))}:{exit:!1,value:q}};return o(c(p),{next:function(){var ne=H(this),oe=ne.value;if(ne.exit)return oe;var q=i(function(){return l(oe.nextHandler(b))}),J=q.error,K=q.value;return J&&(oe.done=!0),J?b.reject(K):b.resolve(K)},return:function(){var ae=H(this),ne=ae.value;if(ae.exit)return ne;ne.done=!0;var oe=ne.iterator,q,J,K=i(function(){if(ne.inner)try{m(ne.inner.iterator,"normal")}catch(se){return m(oe,"throw",se)}return x(oe,"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,oe)}),J=K.value,K.error?b.reject(J):N?b.resolve(J):b.resolve(J).then(function(se){return l(se),y(void 0,!0)}))}})},M=P(!0),B=P(!1);f(B,S,"Async Iterator Helper"),d.exports=function(N,G){var W=function(ae,ne){ne?(ne.iterator=ae.iterator,ne.next=ae.next):ne=ae,ne.type=G?R:k,ne.nextHandler=N,ne.counter=0,ne.done=!1,A(this,ne)};return W.prototype=G?M:B,W}},34535:function(d,v,e){"use strict";var r=e(89945),i=e(41586),l=function(c,f){return[f,c]};d.exports=function(){return r(i,this,l)}},55266:function(d,v,e){"use strict";var r=e(89945),i=e(63335),l=e(80449),c=e(31946),f=e(66434),o=e(65911),h=e(10731),u=e(28255),a=function(x){var p=x===0,y=x===1,m=x===2,b=x===3;return function(S,k,R){l(S);var A=k!==void 0;(A||!p)&&i(k);var P=h(S),M=o("Promise"),B=P.iterator,N=P.next,G=0;return new M(function(W,H){var ae=function(oe){u(B,H,oe,H)},ne=function(){try{if(A)try{f(G)}catch(oe){ae(oe)}M.resolve(l(r(N,B))).then(function(oe){try{if(l(oe).done)p?(R.length=G,W(R)):W(b?!1:m||void 0);else{var q=oe.value;try{if(A){var J=k(q,G),K=function(se){if(y)ne();else if(m)se?ne():u(B,W,!1,H);else if(p)try{R[G++]=se,ne()}catch(ee){ae(ee)}else se?u(B,W,b||q,H):ne()};c(J)?M.resolve(J).then(K,ae):K(J)}else R[G++]=q,ne()}catch(se){ae(se)}}}catch(se){H(se)}},H)}catch(oe){H(oe)}};ne()})}};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,m=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 P=A.value;try{var M=m(P,p.counter++),B=function(N){b(h(N,!1))};c(M)?x.resolve(M).then(B,R):B(M)}catch(N){R(N)}}}catch(N){k(N)}},k)})});d.exports=function(p){return l(this),i(p),new a(f(this),{mapper:p})}},14052:function(d,v,e){"use strict";var r=e(92916),i=e(77398),l=e(55327),c=e(20132),f=e(53456),o=e(2291),h=e(59893),u=e(16697),a="USE_FUNCTION_CONSTRUCTOR",x=h("asyncIterator"),p=r.AsyncIterator,y=i.AsyncIteratorPrototype,m,b;if(y)m=y;else if(l(p))m=p.prototype;else if(i[a]||r[a])try{b=f(f(f(Function("return async function*(){}()")()))),f(b)===Object.prototype&&(m=b)}catch(S){}m?u&&(m=c(m)):m={},l(m[x])||o(m,x,function(){return this}),d.exports=m},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,m,b,S;return c(this),y=p!==void 0,y&&l(p),f(a)?new this:(m=[],y?(b=0,S=r(p,x>2?arguments[2]:void 0),o(a,function(k){i(h,m,S(k,b++))})):o(a,h,{that:m}),new this(m))}},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,m=e(94844),b=m.set,S=m.getterFor;d.exports={getConstructor:function(k,R,A,P){var M=k(function(H,ae){f(H,B),b(H,{type:R,index:r(null),first:void 0,last:void 0,size:0}),p||(H.size=0),o(ae)||h(ae,H[P],{that:H,AS_ENTRIES:A})}),B=M.prototype,N=S(R),G=function(H,ae,ne){var oe=N(H),q=W(H,ae),J,K;return q?q.value=ne:(oe.last=q={index:K=y(ae,!0),key:ae,value:ne,previous:J=oe.last,next:void 0,removed:!1},oe.first||(oe.first=q),J&&(J.next=q),p?oe.size++:H.size++,K!=="F"&&(oe.index[K]=q)),H},W=function(H,ae){var ne=N(H),oe=y(ae),q;if(oe!=="F")return ne.index[oe];for(q=ne.first;q;q=q.next)if(q.key===ae)return q};return l(B,{clear:function(){for(var ae=this,ne=N(ae),oe=ne.index,q=ne.first;q;)q.removed=!0,q.previous&&(q.previous=q.previous.next=void 0),delete oe[q.index],q=q.next;ne.first=ne.last=void 0,p?ne.size=0:ae.size=0},delete:function(H){var ae=this,ne=N(ae),oe=W(ae,H);if(oe){var q=oe.next,J=oe.previous;delete ne.index[oe.index],oe.removed=!0,J&&(J.next=q),q&&(q.previous=J),ne.first===oe&&(ne.first=q),ne.last===oe&&(ne.last=J),p?ne.size--:ae.size--}return!!oe},forEach:function(ae){for(var ne=N(this),oe=c(ae,arguments.length>1?arguments[1]:void 0),q;q=q?q.next:ne.first;)for(oe(q.value,q.key,this);q&&q.removed;)q=q.previous},has:function(ae){return!!W(this,ae)}}),l(B,A?{get:function(ae){var ne=W(this,ae);return ne&&ne.value},set:function(ae,ne){return G(this,ae===0?0:ae,ne)}}:{add:function(ae){return G(this,ae=ae===0?0:ae,ae)}}),p&&i(B,"size",{configurable:!0,get:function(){return N(this).size}}),M},setStrong:function(k,R,A){var P=R+" Iterator",M=S(R),B=S(P);u(k,R,function(N,G){b(this,{type:P,target:N,state:M(N),kind:G,last:void 0})},function(){for(var N=B(this),G=N.kind,W=N.last;W&&W.removed;)W=W.previous;return!N.target||!(N.last=W=W?W.next:N.state.first)?(N.target=void 0,a(void 0,!0)):a(G==="keys"?W.key:G==="values"?W.value:[W.key,W.value],!1)},A?"entries":"values",!A,!0),x(R)}}},39656:function(d,v,e){"use strict";var r=e(94237),i=e(66477),l=e(2074).getWeakData,c=e(56472),f=e(80449),o=e(4112),h=e(31946),u=e(62003),a=e(90560),x=e(32621),p=e(94844),y=p.set,m=p.getterFor,b=a.find,S=a.findIndex,k=r([].splice),R=0,A=function(B){return B.frozen||(B.frozen=new P)},P=function(){this.entries=[]},M=function(B,N){return b(B.entries,function(G){return G[0]===N})};P.prototype={get:function(B){var N=M(this,B);if(N)return N[1]},has:function(B){return!!M(this,B)},set:function(B,N){var G=M(this,B);G?G[1]=N:this.entries.push([B,N])},delete:function(B){var N=S(this.entries,function(G){return G[0]===B});return~N&&k(this.entries,N,1),!!~N}},d.exports={getConstructor:function(B,N,G,W){var H=B(function(q,J){c(q,ae),y(q,{type:N,id:R++,frozen:void 0}),o(J)||u(J,q[W],{that:q,AS_ENTRIES:G})}),ae=H.prototype,ne=m(N),oe=function(q,J,K){var se=ne(q),ee=l(f(J),!0);return ee===!0?A(se).set(J,K):ee[se.id]=K,q};return i(ae,{delete:function(q){var J=ne(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=ne(this);if(!h(J))return!1;var se=l(J);return se===!0?A(K).has(J):se&&x(se,K.id)}}),i(ae,G?{get:function(J){var K=ne(this);if(h(J)){var se=l(J);return se===!0?A(K).get(J):se?se[K.id]:void 0}},set:function(J,K){return oe(this,J,K)}}:{add:function(J){return oe(this,J,!0)}}),H}}},48059:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(20865),f=e(2291),o=e(2074),h=e(62003),u=e(56472),a=e(55327),x=e(4112),p=e(31946),y=e(3338),m=e(35221),b=e(94573),S=e(25576);d.exports=function(k,R,A){var P=k.indexOf("Map")!==-1,M=k.indexOf("Weak")!==-1,B=P?"set":"add",N=i[k],G=N&&N.prototype,W=N,H={},ae=function(ee){var Q=l(G[ee]);f(G,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})},ne=c(k,!a(N)||!(M||G.forEach&&!y(function(){new N().entries().next()})));if(ne)W=A.getConstructor(R,k,P,B),o.enable();else if(c(k,!0)){var oe=new W,q=oe[B](M?{}:-0,1)!==oe,J=y(function(){oe.has(1)}),K=m(function(ee){new N(ee)}),se=!M&&y(function(){for(var ee=new N,Q=5;Q--;)ee[B](Q,Q);return!ee.has(-0)});K||(W=R(function(ee,Q){u(ee,G);var le=S(new N,ee,W);return x(Q)||h(Q,le[B],{that:le,AS_ENTRIES:P}),le}),W.prototype=G,G.constructor=W),(J||se)&&(ae("delete"),ae("has"),P&&ae("get")),(se||q)&&ae(B),M&&G.clear&&delete G.clear}return H[k]=W,r({global:!0,constructor:!0,forced:W!==N},H),b(W,k),M||A.setStrong(W,k,P),W}},32754:function(d,v,e){"use strict";e(34941),e(55410);var r=e(65911),i=e(20132),l=e(31946),c=Object,f=TypeError,o=r("Map"),h=r("WeakMap"),u=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=i(null)};u.prototype.get=function(x,p){return this[x]||(this[x]=p())},u.prototype.next=function(x,p,y){var m=y?this.objectsByIndex[x]||(this.objectsByIndex[x]=new h):this.primitives||(this.primitives=new o),b=m.get(p);return b||m.set(p,b=new u),b};var a=new u;d.exports=function(){var x=a,p=arguments.length,y,m;for(y=0;y<p;y++)l(m=arguments[y])&&(x=x.next(y,m,!0));if(this===c&&x===a)throw new f("Composite keys must contain a non-primitive component");for(y=0;y<p;y++)l(m=arguments[y])||(x=x.next(y,m,!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),m=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,P=p(A),M=m(A),B=P<0?"-":P>9999?"+":"";return B+l(o(P),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,m,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],m=h(p?S:x+(y?".":"#")+S,u.forced),!m&&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 m=f(a),b=!c(function(){var A={};return A[m]=function(){return 7},""[a](A)!==7}),S=b&&!c(function(){var A=!1,P=/a/;return a==="split"&&(P={},P.constructor={},P.constructor[h]=function(){return P},P.flags="",P[m]=/./[m]),P.exec=function(){return A=!0,null},P[m](""),!A});if(!b||!S||p){var k=r(/./[m]),R=x(m,""[a],function(A,P,M,B,N){var G=r(A),W=P.exec;return W===l||W===u.exec?b&&!N?{done:!0,value:k(P,M,B)}:{done:!0,value:G(M,P,B)}:{done:!1}});i(String.prototype,a,R[0]),i(u,m,R[1])}y&&o(u[m],"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,m){for(var b=x,S=0,k=y?c(y,m):!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,m,b){if(!c(x,m)){for(var S=[],k=0;k<m;k++)S[k]="a["+k+"]";x[m]=h("C,a","return new C("+a(S,",")+")")}return x[m](y,b)};d.exports=o?h.bind:function(m){var b=i(this),S=b.prototype,k=f(arguments,1),R=function(){var P=u(k,f(arguments));return this instanceof R?p(b,P.length,P):b.apply(m,P)};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,m=o(p,a),b;return i(m)||(m=f(p),y=!1),m!==void 0?b=r(m,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,m=!0;return function(b,S){if(m)return m=!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,m,b){this.set=p,this.size=y,this.has=m,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 m=c(y);if(m<0)throw new h(o);return new x(p,a(m,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,m,b){var S=p+a.length,k=y.length,R=u;return m!==void 0&&(m=i(m),R=h),f(b,R,function(A,P){var M;switch(c(P,0)){case"$":return"$";case"&":return a;case"`":return o(x,0,p);case"'":return o(x,S);case"<":M=m[o(P,1,-1)];break;default:var B=+P;if(B===0)return A;if(B>k){var N=l(B/10);return N===0?A:N<=k?y[N-1]===void 0?c(P,1):y[N-1]+c(P,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,m=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,P;for(h=e(h),h!==h||h===1/0?(A=h!==h?1:0,R=y):(R=i(l(h)/c),P=r(2,-R),h*P<1&&(R--,P*=2),R+m>=1?h+=b/P:h+=b*r(2,1-m),h*P>=2&&(R++,P/=2),R+m>=y?(A=0,R=y):R+m>=1?(A=(h*P-1)*r(2,u),R+=m):(A=h*r(2,m-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,m=x-7,b=a-1,S=h[b--],k=S&127,R;for(S>>=7;m>0;)k=k*256+h[b--],m-=8;for(R=k&(1<<-m)-1,k>>=-m,m+=u;m>0;)R=R*256+h[b--],m-=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,m=x("meta"),b=0,S=function(B){o(B,m,{value:{objectID:"O"+b++,weakData:{}}})},k=function(B,N){if(!c(B))return typeof B=="symbol"?B:(typeof B=="string"?"S":"P")+B;if(!f(B,m)){if(!a(B))return"F";if(!N)return"E";S(B)}return B[m].objectID},R=function(B,N){if(!f(B,m)){if(!a(B))return!0;if(!N)return!1;S(B)}return B[m].weakData},A=function(B){return p&&y&&a(B)&&!f(B,m)&&S(B),B},P=function(){M.enable=function(){},y=!0;var B=h.f,N=i([].splice),G={};G[m]=1,B(G).length&&(h.f=function(W){for(var H=B(W),ae=0,ne=H.length;ae<ne;ae++)if(H[ae]===m){N(H,ae,1);break}return H},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},M=d.exports={enable:P,fastKey:k,getWeakData:R,onFreeze:A};l[m]=!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,m,b,S=function(P){return b(P)?m(P):y(P,{})},k=function(P){return function(M){var B;if(!l(M)||(B=m(M)).type!==P)throw new x("Incompatible receiver, "+P+" 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(P,M){if(R.has(P))throw new x(a);return M.facade=P,R.set(P,M),M},m=function(P){return R.get(P)||{}},b=function(P){return R.has(P)}}else{var A=h("state");u[A]=!0,y=function(P,M){if(f(P,A))throw new x(a);return M.facade=P,c(P,A,M),M},m=function(P){return f(P,A)?P[A]:{}},b=function(P){return f(P,A)}}d.exports={set:y,get:m,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),m=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 m(m.call)||!m(Object)||!m(function(){S=!0})||S})?b:m},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},m=y.prototype;d.exports=function(b,S,k){var R=k&&k.that,A=!!(k&&k.AS_ENTRIES),P=!!(k&&k.IS_RECORD),M=!!(k&&k.IS_ITERATOR),B=!!(k&&k.INTERRUPTED),N=r(S,R),G,W,H,ae,ne,oe,q,J=function(se){return G&&x(G,"normal",se),new y(!0,se)},K=function(se){return A?(l(se),B?N(se[0],se[1],J):N(se[0],se[1])):B?N(se,J):N(se)};if(P)G=b.iterator;else if(M)G=b;else{if(W=a(b),!W)throw new p(c(b)+" is not iterable");if(f(W)){for(H=0,ae=o(b);ae>H;H++)if(ne=K(b[H]),ne&&h(m,ne))return ne;return new y(!1)}G=u(b,W)}for(oe=P?b.next:G.next;!(q=i(oe,G)).done;){try{ne=K(q.value)}catch(se){x(G,"throw",se)}if(typeof ne=="object"&&ne&&h(m,ne))return ne}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",m="WrapForValidIterator",b=o.set,S=function(A){var P=o.getterFor(A?m:y);return c(i(u),{next:function(){var B=P(this);if(A)return B.nextHandler();try{var N=B.done?void 0:B.nextHandler();return a(N,B.done)}catch(G){throw B.done=!0,G}},return:function(){var M=P(this),B=M.iterator;if(M.done=!0,A){var N=h(B,"return");return N?r(N,B):a(void 0,!0)}if(M.inner)try{x(M.inner.iterator,"normal")}catch(G){return x(B,"throw",G)}return x(B,"normal"),a(void 0,!0)}})},k=S(!0),R=S(!1);l(R,p,"Iterator Helper"),d.exports=function(A,P){var M=function(N,G){G?(G.iterator=N.iterator,G.next=N.next):G=N,G.type=P?m:y,G.nextHandler=A,G.counter=0,G.done=!1,b(this,G)};return M.prototype=P?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),m=e(48074),b=e(46571),S=c.PROPER,k=c.CONFIGURABLE,R=b.IteratorPrototype,A=b.BUGGY_SAFARI_ITERATORS,P=y("iterator"),M="keys",B="values",N="entries",G=function(){return this};d.exports=function(W,H,ae,ne,oe,q,J){o(ae,H,ne);var K=function(De){if(De===oe&&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 N:return function(){return new ae(this,De)}}return function(){return new ae(this)}},se=H+" Iterator",ee=!1,Q=W.prototype,le=Q[P]||Q["@@iterator"]||oe&&Q[oe],z=!A&&le||K(oe),$=H==="Array"&&Q.entries||le,ie,me,Pe;if($&&(ie=h($.call(new W)),ie!==Object.prototype&&ie.next&&(!l&&h(ie)!==R&&(u?u(ie,R):f(ie[P])||p(ie,P,G)),a(ie,se,!0,!0),l&&(m[se]=G))),S&&oe===B&&le&&le.name!==B&&(!l&&k?x(Q,"name",B):(ee=!0,z=function(){return i(le,this)})),oe)if(me={values:K(B),keys:q?z:K(M),entries:K(N)},J)for(Pe in me)(A||ee||!(Pe in Q))&&p(Q,Pe,me[Pe]);else r({target:H,proto:!0,forced:A||ee},me);return(!l||J)&&Q[P]!==z&&p(Q,P,z,{name:oe}),m[H]=z,me}},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,m;[].keys&&(m=[].keys(),"next"in m?(y=f(f(m)),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,m=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(P,M,B){m(p(M),0,7)==="Symbol("&&(M="["+b(p(M),/^Symbol\(([^)]*)\)/,"$1")+"]"),B&&B.getter&&(M="get "+M),B&&B.setter&&(M="set "+M),(!c(P,"name")||o&&P.name!==M)&&(f?y(P,"name",{value:M,configurable:!0}):P.name=M),k&&B&&c(B,"arity")&&P.length!==B.arity&&y(P,"length",{value:B.arity});try{B&&c(B,"constructor")&&B.constructor?f&&y(P,"prototype",{writable:!1}):P.prototype&&(P.prototype=void 0)}catch(G){}var N=a(P);return c(N,"source")||(N.source=S(R,typeof M=="string"?M:"")),P};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),m=arguments.length>2?arguments[2]:void 0,b;if(!l(u)&&!l(m))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(m)&&(b=m(),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 m=(1+h/l)*p,b=m-(m-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,m=r.Promise,b=l(r,"queueMicrotask"),S=b&&b.value,k,R,A,P,M;if(!S){var B=new f,N=function(){var G,W;for(a&&(G=y.domain)&&G.exit();W=B.get();)try{W()}catch(H){throw B.head&&k(),H}G&&G.enter()};!o&&!a&&!u&&x&&p?(R=!0,A=p.createTextNode(""),new x(N).observe(A,{characterData:!0}),k=function(){A.data=R=!R}):!h&&m&&m.resolve?(P=m.resolve(void 0),P.constructor=m,M=i(P.then,P),k=function(){M(N)}):a?k=function(){y.nextTick(N)}:(c=i(c,r),k=function(){c(N)}),S=function(G){B.head||k(),B.add(G)}}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(m){var b=f(c(m)),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,m=TypeError,b=i(function(R,A,P,M,B,N){if(typeof R!=M||A!==1/0&&A!==-1/0&&typeof A!=M)throw new m(u);if(R===1/0||R===-1/0)throw new y(u);var G=A>R,W=!1,H;if(P===void 0)H=void 0;else if(f(P))H=P.step,W=!!P.inclusive;else if(typeof P==M)H=P;else throw new m(u);if(c(H)&&(H=G?N:-N),typeof H!=M)throw new m(u);if(H===1/0||H===-1/0||H===B&&R!==A)throw new y(u);var ae=R!==R||A!==A||H!==H||A>R!=H>B;x(this,{type:a,start:R,end:A,step:H,inclusive:W,hitsEnd:ae,currentCount:B,zero:B}),h||(this.start=R,this.end=A,this.step=H,this.inclusive=W)},a,function(){var R=p(this);if(R.hitsEnd)return l(void 0,!0);var A=R.start,P=R.end,M=R.step,B=A+M*R.currentCount++;B===P&&(R.hitsEnd=!0);var N=R.inclusive,G;return P>A?G=N?B>P:B>=P:G=N?P>B:P>=B,G?(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 m={},b={},S=Symbol("assign detection"),k="abcdefghijklmnopqrst";return m[S]=7,k.split("").forEach(function(R){b[R]=R}),x({},m)[S]!==7||f(x({},b)).join("")!==k})?function(b,S){for(var k=u(b),R=arguments.length,A=1,P=o.f,M=h.f;R>A;)for(var B=a(arguments[A++]),N=P?y(f(B),P(B)):f(B),G=N.length,W=0,H;G>W;)H=N[W++],(!r||l(M,B,H))&&(k[H]=B[H]);return k}:x},20132:function(d,v,e){"use strict";var r=e(80449),i=e(55666),l=e(46678),c=e(54406),f=e(75171),o=e(86060),h=e(11898),u=">",a="<",x="prototype",p="script",y=h("IE_PROTO"),m=function(){},b=function(P){return a+p+u+P+a+"/"+p+u},S=function(P){P.write(b("")),P.close();var M=P.parentWindow.Object;return P=null,M},k=function(){var P=o("iframe"),M="java"+p+":",B;return P.style.display="none",f.appendChild(P),P.src=String(M),B=P.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 P=l.length;P--;)delete A[x][l[P]];return A()};c[y]=!0,d.exports=Object.create||function(M,B){var N;return M!==null?(m[x]=r(M),N=new m,m[x]=null,N[y]=M):N=A(),B===void 0?N:i.f(N,B)}},55666:function(d,v,e){"use strict";var r=e(35454),i=e(93199),l=e(37691),c=e(80449),f=e(80524),o=e(7733);v.f=r&&!i?Object.defineProperties:function(u,a){c(u);for(var x=f(a),p=o(a),y=p.length,m=0,b;y>m;)l.f(u,b=p[m++],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(m,b,S){if(c(m),b=f(b),c(S),typeof m=="function"&&b==="prototype"&&"value"in S&&p in S&&!S[p]){var k=u(m,b);k&&k[p]&&(m[b]=S.value,S={configurable:x in S?S[x]:k[x],enumerable:a in S?S[a]:k[a],writable:!1})}return h(m,b,S)}:h:function(m,b,S){if(c(m),b=f(b),c(S),i)try{return h(m,b,S)}catch(k){}if("get"in S||"set"in S)throw new o("Accessors not supported");return"value"in S&&(m[b]=S.value),m}},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(m){}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 m=o(p);u(this,{type:h,mode:y,object:m,keys:f(m),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 m=y[p.index++],b=p.object;if(c(b,m)){switch(p.mode){case"keys":return l(m,!1);case"values":return l(b[m],!1)}return l([m,b[m]],!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(m){for(var b=o(m),S=f(b),k=x&&c(b)===null,R=S.length,A=0,P=[],M;R>A;)M=S[A++],(!r||(k?M in b:u(b,M)))&&a(P,y?[M,b[M]]:b[M]);return P}};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,m){for(var b=!0,S="";m<y.length;){var k=o(y,m);if(k==="\\"){var R=h(y,m,m+2);if(i(a,R))S+=a[R],m+=2;else if(R==="\\u"){m+=2;var A=h(y,m,m+4);if(!u(x,A))throw new l("Bad Unicode escape at: "+m);S+=f(c(A,16)),m+=4}else throw new l('Unknown escape sequence: "'+R+'"')}else if(k==='"'){b=!1,m++;break}else{if(u(p,k))throw new l("Bad control character in string literal at: "+m);S+=k,m++}}if(b)throw new l("Unterminated string at: "+m);return{value:S,end:m}}},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"),m=!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)}),P=function(B){B(function(){},function(){})},M=A.constructor={};if(M[y]=P,m=A.then(function(){})instanceof P,!m)return!0}return!R&&(h||u)&&!b});d.exports={CONSTRUCTOR:S,REJECTION_EVENT:b,SUBCLASSING:m}},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 P=A.get(k);if(!P){if(!R)return;A.set(k,P=new c)}return P},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)},m=function(S,k){var R=a(S,k,!1),A=[];return R&&R.forEach(function(P,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:m,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,m=y,b=i("".charAt),S=i("".indexOf),k=i("".replace),R=i("".slice),A=function(){var N=/a/,G=/b*/g;return r(y,N,"a"),r(y,G,"a"),N.lastIndex!==0||G.lastIndex!==0}(),P=f.BROKEN_CARET,M=/()??/.exec("")[1]!==void 0,B=A||M||P||a||x;B&&(m=function(G){var W=this,H=u(W),ae=l(G),ne=H.raw,oe,q,J,K,se,ee,Q;if(ne)return ne.lastIndex=W.lastIndex,oe=r(m,ne,ae),W.lastIndex=ne.lastIndex,oe;var le=H.groups,z=P&&W.sticky,$=r(c,W),ie=W.source,me=0,Pe=ae;if(z&&($=k($,"y",""),S($,"g")===-1&&($+="g"),Pe=R(ae,W.lastIndex),W.lastIndex>0&&(!W.multiline||W.multiline&&b(ae,W.lastIndex-1)!==`
|
|
|
`)&&(ie="(?: "+ie+")",Pe=" "+Pe,me++),q=new RegExp("^(?:"+ie+")",$)),M&&(q=new RegExp("^"+ie+"$(?!\\s)",$)),A&&(J=W.lastIndex),K=r(y,z?q:W,Pe),z?K?(K.input=R(K.input,me),K[0]=R(K[0],me),K.index=W.lastIndex,W.lastIndex+=K[0].length):W.lastIndex=0:A&&K&&(W.lastIndex=W.global?K.index+K[0].length:J),M&&K&&K.length>1&&r(p,K[0],q,function(){for(se=1;se<arguments.length-2;se++)arguments[se]===void 0&&(K[se]=void 0)}),K&&le)for(K.groups=ee=h(null),se=0;se<le.length;se++)Q=le[se],ee[Q[0]]=K[Q[1]];return K}),d.exports=m},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(m,b){var S=h(arguments.length,1)>y,k=l(m)?m:u(m),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),m=f(p),b=l(y);return c(y)<=m.size?o(y,function(S){m.includes(S)&&a(b,S)}):h(m.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),m=c(p),b=new h;return l(y)>m.size?o(m.getIterator(),function(S){a(y,S)&&u(b,S)}):f(y,function(S){m.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(m){if(p.includes(m))return!1},!0)!==!1;var y=p.getIterator();return o(y,function(m){if(i(x,m))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(),m=l(p);return f(y,function(b){h(p,b)?u(m,b):o(m,b)}),m}},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,m=[],b=0;;){var S=x[b++];if(S===void 0)throw new f("Incorrect template");if(o(m,l(S)),b===p)return h(m,"");b<y&&o(m,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)),m=i(p),b=y.length,S,k;return m<0||m>=b?a?"":void 0:(S=o(y,m),S<55296||S>56319||m+1===b||(k=o(y,m+1))<56320||k>57343?a?f(y,m):S:a?h(y,m,m+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,m){var b=l(f(p)),S=i(y),k=b.length,R=m===void 0?" ":l(m),A,P;return S<=k||R===""?b:(A=S-k,P=o(R,u(A/R.length)),P.length>A&&(P=h(P,0,A)),x?b+P:P+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,m=65,b=70,S=function(A,P){var M=o(A,P);return M>=a&&M<=x},k=function(A,P,M){if(M>=A.length)return-1;for(var B=0;P<M;P++){var N=R(o(A,P));if(N===-1)return-1;B=B*16+N}return B},R=function(A){return A>=a&&A<=x?A-a:A>=p&&A<=y?A-p+10:A>=m&&A<=b?A-m+10:-1};d.exports=function(A){for(var P="",M=0,B=0,N;(B=h(A,"\\",B))>-1;){if(P+=u(A,M,B),++B===A.length)return;var G=f(A,B++);switch(G){case"b":P+="\b";break;case"t":P+=" ";break;case"n":P+=`
|
|
|
`;break;case"v":P+="\v";break;case"f":P+="\f";break;case"r":P+="\r";break;case"\r":B<A.length&&f(A,B)===`
|
|
|
`&&++B;case`
|
|
|
`:case"\u2028":case"\u2029":break;case"0":if(S(A,B))return;P+="\0";break;case"x":if(N=k(A,B,B+2),N===-1)return;B+=2,P+=l(N);break;case"u":if(B<A.length&&f(A,B)==="{"){var W=h(A,"}",++B);if(W===-1)return;N=k(A,B,W),B=W+1}else N=k(A,B,B+4),B+=4;if(N===-1||N>1114111)return;P+=c(N);break;default:if(S(G,0))return;P+=G}M=B}return P+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,m="Overflow: input needs wider integers to process",b=l-c,S=RangeError,k=r(y.exec),R=Math.floor,A=String.fromCharCode,P=r("".charCodeAt),M=r([].join),B=r([].push),N=r("".replace),G=r("".split),W=r("".toLowerCase),H=function(q){for(var J=[],K=0,se=q.length;K<se;){var ee=P(q,K++);if(ee>=55296&&ee<=56319&&K<se){var Q=P(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)},ne=function(q,J,K){var se=0;for(q=K?R(q/h):q>>1,q+=R(q/J);q>b*f>>1;)q=R(q/b),se+=l;return R(se+(b+1)*q/(q+o))},oe=function(q){var J=[];q=H(q);var K=q.length,se=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,ie=$;for($&&B(J,x);ie<K;){var me=i;for(le=0;le<q.length;le++)z=q[le],z>=se&&z<me&&(me=z);var Pe=ie+1;if(me-se>R((i-ee)/Pe))throw new S(m);for(ee+=(me-se)*Pe,se=me,le=0;le<q.length;le++){if(z=q[le],z<se&&++ee>i)throw new S(m);if(z===se){for(var De=ee,Ze=l;;){var Ne=Ze<=Q?c:Ze>=Q+f?f:Ze-Q;if(De<Ne)break;var Bt=De-Ne,yt=l-Ne;B(J,A(ae(Ne+Bt%yt))),De=R(Bt/yt),Ze+=l}B(J,A(ae(De))),Q=ne(ee,Pe,ie===$),ee=0,ie++}}ee++,se++}return M(J,"")};d.exports=function(q){var J=[],K=G(N(W(q),y,"."),"."),se,ee;for(se=0;se<K.length;se++)ee=K[se],B(J,k(p,ee)?"xn--"+oe(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),m=y.length;p<m;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,P=u(x),M=P.length;A<M;A++)if(x[P[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),m=r.setImmediate,b=r.clearImmediate,S=r.process,k=r.Dispatch,R=r.Function,A=r.MessageChannel,P=r.String,M=0,B={},N="onreadystatechange",G,W,H,ae;o(function(){G=r.location});var ne=function(K){if(f(B,K)){var se=B[K];delete B[K],se()}},oe=function(K){return function(){ne(K)}},q=function(K){ne(K.data)},J=function(K){r.postMessage(P(K),G.protocol+"//"+G.host)};(!m||!b)&&(m=function(se){x(arguments.length,1);var ee=c(se)?se:R(se),Q=u(arguments,1);return B[++M]=function(){i(ee,void 0,Q)},W(M),M},b=function(se){delete B[se]},y?W=function(K){S.nextTick(oe(K))}:k&&k.now?W=function(K){k.now(oe(K))}:A&&!p?(H=new A,ae=H.port2,H.port1.onmessage=q,W=l(ae.postMessage,ae)):r.addEventListener&&c(r.postMessage)&&!r.importScripts&&G&&G.protocol!=="file:"&&!o(J)?(W=J,r.addEventListener("message",q,!1)):N in a("script")?W=function(K){h.appendChild(a("script"))[N]=function(){h.removeChild(this),ne(K)}}:W=function(K){setTimeout(oe(K),0)}),d.exports={set:m,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),m=e(24225),b=e(64135),S=e(86350),k=e(17818),R=e(32621),A=e(97607),P=e(31946),M=e(18446),B=e(20132),N=e(16332),G=e(58218),W=e(80689).f,H=e(50706),ae=e(90560).forEach,ne=e(51996),oe=e(64110),q=e(37691),J=e(71256),K=e(94844),se=e(25576),ee=K.get,Q=K.set,le=K.enforce,z=q.f,$=J.f,ie=i.RangeError,me=h.ArrayBuffer,Pe=me.prototype,De=h.DataView,Ze=o.NATIVE_ARRAY_BUFFER_VIEWS,Ne=o.TYPED_ARRAY_TAG,Bt=o.TypedArray,yt=o.TypedArrayPrototype,It=o.aTypedArrayConstructor,rr=o.isTypedArray,Yt="BYTES_PER_ELEMENT",ur="Wrong length",We=function(Je,Ue){It(Je);for(var ge=0,Se=Ue.length,Le=new Je(Se);Se>ge;)Le[ge]=Ue[ge++];return Le},Pt=function(Je,Ue){oe(Je,Ue,{configurable:!0,get:function(){return ee(this)[Ue]}})},zt=function(Je){var Ue;return N(Pe,Je)||(Ue=A(Je))==="ArrayBuffer"||Ue==="SharedArrayBuffer"},nt=function(Je,Ue){return rr(Je)&&!M(Ue)&&Ue in Je&&p(+Ue)&&Ue>=0},Et=function(Ue,ge){return ge=k(ge),nt(Ue,ge)?a(2,Ue[ge]):$(Ue,ge)},ht=function(Ue,ge,Se){return ge=k(ge),nt(Ue,ge)&&P(Se)&&R(Se,"value")&&!R(Se,"get")&&!R(Se,"set")&&!Se.configurable&&(!R(Se,"writable")||Se.writable)&&(!R(Se,"enumerable")||Se.enumerable)?(Ue[ge]=Se.value,Ue):z(Ue,ge,Se)};c?(Ze||(J.f=Et,q.f=ht,Pt(yt,"buffer"),Pt(yt,"byteOffset"),Pt(yt,"byteLength"),Pt(yt,"length")),r({target:"Object",stat:!0,forced:!Ze},{getOwnPropertyDescriptor:Et,defineProperty:ht}),d.exports=function(Je,Ue,ge){var Se=Je.match(/\d+/)[0]/8,Le=Je+(ge?"Clamped":"")+"Array",je="get"+Je,He="set"+Je,rt=i[Le],lt=rt,Kt=lt&<.prototype,Wt={},Ae=function(Ht,$t){var Tt=ee(Ht);return Tt.view[je]($t*Se+Tt.byteOffset,!0)},qe=function(Ht,$t,Tt){var Xt=ee(Ht);Xt.view[He]($t*Se+Xt.byteOffset,ge?S(Tt):Tt,!0)},Vt=function(Ht,$t){z(Ht,$t,{get:function(){return Ae(this,$t)},set:function(Tt){return qe(this,$t,Tt)},enumerable:!0})};Ze?f&&(lt=Ue(function(Ht,$t,Tt,Xt){return u(Ht,Kt),se(function(){return P($t)?zt($t)?Xt!==void 0?new rt($t,b(Tt,Se),Xt):Tt!==void 0?new rt($t,b(Tt,Se)):new rt($t):rr($t)?We(lt,$t):l(H,lt,$t):new rt(m($t))}(),Ht,lt)}),G&&G(lt,Bt),ae(W(rt),function(Ht){Ht in lt||x(lt,Ht,rt[Ht])}),lt.prototype=Kt):(lt=Ue(function(Ht,$t,Tt,Xt){u(Ht,Kt);var Ge=0,ce=0,pe,Dt,Ce;if(!P($t))Ce=m($t),Dt=Ce*Se,pe=new me(Dt);else if(zt($t)){pe=$t,ce=b(Tt,Se);var ct=$t.byteLength;if(Xt===void 0){if(ct%Se)throw new ie(ur);if(Dt=ct-ce,Dt<0)throw new ie(ur)}else if(Dt=y(Xt)*Se,Dt+ce>ct)throw new ie(ur);Ce=Dt/Se}else return rr($t)?We(lt,$t):l(H,lt,$t);for(Q(Ht,{buffer:pe,byteOffset:ce,byteLength:Dt,length:Ce,view:new De(pe)});Ge<Ce;)Vt(Ht,Ge++)}),G&&G(lt,Bt),Kt=lt.prototype=B(yt)),Kt.constructor!==lt&&x(Kt,"constructor",lt),le(Kt).TypedArrayConstructor=lt,Ne&&x(Kt,Ne,Le);var kt=lt!==rt;Wt[Le]=lt,r({global:!0,constructor:!0,forced:kt,sham:!Ze},Wt),Yt in lt||x(lt,Yt,Se),Yt in Kt||x(Kt,Yt,Se),ne(Le)}):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(m){var b=l(this),S=c(m),k=arguments.length,R=k>1?arguments[1]:void 0,A=R!==void 0,P=h(S),M,B,N,G,W,H,ae,ne;if(P&&!u(P))for(ae=o(S,P),ne=ae.next,S=[];!(H=i(ne,ae)).done;)S.push(H.value);for(A&&k>2&&(R=r(R,arguments[2])),B=f(S),N=new(x(b))(B),G=a(N),M=0;B>M;M++)W=A?R(S[M],M):S[M],N[M]=G?p(W):+W;return N}},31384:function(d,v,e){"use strict";var r=e(58261),i=e(60473),l=r.aTypedArrayConstructor,c=r.getTypedArrayConstructor;d.exports=function(f){return l(i(f,c(f)))}},6145:function(d,v,e){"use strict";var r=e(94237),i=0,l=Math.random(),c=r(1 .toString);d.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+c(++i+l,36)}},3299:function(d,v,e){"use strict";var r=e(3338),i=e(59893),l=e(35454),c=e(16697),f=i("iterator");d.exports=!r(function(){var o=new URL("b?a=1&b=2&c=3","http://a"),h=o.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),a="";return o.pathname="c%20d",h.forEach(function(x,p){h.delete("b"),a+=p+x}),u.delete("a",2),u.delete("b",void 0),c&&(!o.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!h.size&&(c||!l)||!h.sort||o.href!=="http://a/c%20d?a=1&c=3"||h.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!h[f]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||a!=="a1c3"||new URL("http://x",void 0).host!=="x"})},14417:function(d,v,e){"use strict";var r=e(42820);d.exports=r&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},93199:function(d,v,e){"use strict";var r=e(35454),i=e(3338);d.exports=r&&i(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},57106:function(d){"use strict";var v=TypeError;d.exports=function(e,r){if(e<r)throw new v("Not enough arguments");return e}},40115:function(d,v,e){"use strict";var r=e(92916),i=e(55327),l=r.WeakMap;d.exports=i(l)&&/native code/.test(String(l))},42530:function(d,v,e){"use strict";var r=e(94237),i=WeakMap.prototype;d.exports={WeakMap,set:r(i.set),get:r(i.get),has:r(i.has),remove:r(i.delete)}},91385:function(d,v,e){"use strict";var r=e(94237),i=WeakSet.prototype;d.exports={WeakSet,add:r(i.add),has:r(i.has),remove:r(i.delete)}},94674:function(d,v,e){"use strict";var r=e(9699),i=e(32621),l=e(38282),c=e(37691).f;d.exports=function(f){var o=r.Symbol||(r.Symbol={});i(o,f)||c(o,f,{value:l.f(f)})}},38282:function(d,v,e){"use strict";var r=e(59893);v.f=r},59893:function(d,v,e){"use strict";var r=e(92916),i=e(77898),l=e(32621),c=e(6145),f=e(42820),o=e(14417),h=r.Symbol,u=i("wks"),a=o?h.for||h:h&&h.withoutSetter||c;d.exports=function(x){return l(u,x)||(u[x]=f&&l(h,x)?h[x]:a("Symbol."+x)),u[x]}},19268:function(d){"use strict";d.exports=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},78540:function(d,v,e){"use strict";var r=e(65911),i=e(32621),l=e(68151),c=e(16332),f=e(58218),o=e(24538),h=e(44166),u=e(25576),a=e(7825),x=e(73068),p=e(61888),y=e(35454),m=e(16697);d.exports=function(b,S,k,R){var A="stackTraceLimit",P=R?2:1,M=b.split("."),B=M[M.length-1],N=r.apply(null,M);if(N){var G=N.prototype;if(!m&&i(G,"cause")&&delete G.cause,!k)return N;var W=r("Error"),H=S(function(ae,ne){var oe=a(R?ne:ae,void 0),q=R?new N(ae):new N;return oe!==void 0&&l(q,"message",oe),p(q,H,q.stack,2),this&&c(G,this)&&u(q,this,H),arguments.length>P&&x(q,arguments[P]),q});if(H.prototype=G,B!=="Error"?f?f(H,W):o(H,W,{name:!0}):y&&A in N&&(h(H,N,A),h(H,N,"prepareStackTrace")),o(H,N),!m)try{G.name!==B&&l(G,"name",B),G.constructor=H}catch(ae){}return H}}},93074:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(13743),c=e(3338),f=e(78540),o="AggregateError",h=i(o),u=!c(function(){return h([1]).errors[0]!==1})&&c(function(){return h([1],o,{cause:7}).cause!==7});r({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:f(o,function(a){return function(p,y){return l(a,this,arguments)}},u,!0)})},6555:function(d,v,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),o=e(20132),h=e(68151),u=e(35012),a=e(73068),x=e(61888),p=e(62003),y=e(7825),m=e(59893),b=m("toStringTag"),S=Error,k=[].push,R=function(M,B){var N=i(A,this),G;c?G=c(new S,N?l(this):A):(G=N?this:o(A),h(G,b,"Error")),B!==void 0&&h(G,"message",y(B)),x(G,R,G.stack,1),arguments.length>2&&a(G,arguments[2]);var W=[];return p(M,k,{that:W}),h(G,"errors",W),G};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),m=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 P=f(this).byteLength,M=o(R,P),B=o(A===void 0?P:A,P),N=new(u(this,a))(h(B-M)),G=new x(this),W=new x(N),H=0;M<B;)b(W,H++,m(G,M++));return N}})},96331:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(56902),f=e(81181);r({target:"Array",proto:!0},{at:function(h){var u=i(this),a=l(u),x=c(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]}}),f("at")},2924:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(18589),c=e(31946),f=e(94029),o=e(82762),h=e(66434),u=e(69392),a=e(81427),x=e(17480),p=e(59893),y=e(46573),m=p("isConcatSpreadable"),b=y>=51||!i(function(){var R=[];return R[m]=!1,R.concat()[0]!==R}),S=function(R){if(!c(R))return!1;var A=R[m];return A!==void 0?!!A:l(R)},k=!b||!x("concat");r({target:"Array",proto:!0,arity:1,forced:k},{concat:function(A){var P=f(this),M=a(P,0),B=0,N,G,W,H,ae;for(N=-1,W=arguments.length;N<W;N++)if(ae=N===-1?P:arguments[N],S(ae))for(H=o(ae),h(B+H),G=0;G<H;G++,B++)G in ae&&u(M,B,ae[G]);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 m=l.Arguments=l.Array;if(i("keys"),i("values"),i("entries"),!u&&a&&m.name!=="values")try{f(m,"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),m=l(y),b=arguments.length;f(m+b);for(var S=0;S<b;S++)y[m]=arguments[S],m++;return c(y,m),m}})},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"),m=a("species"),b=Array,S=Math.max;r({target:"Array",proto:!0,forced:!y},{slice:function(R,A){var P=h(this),M=o(P),B=f(R,M),N=f(A===void 0?M:A,M),G,W,H;if(i(P)&&(G=P.constructor,l(G)&&(G===b||i(G.prototype))?G=void 0:c(G)&&(G=G[m],G===null&&(G=void 0)),G===b||G===void 0))return p(P,B,N);for(W=new(G===void 0?b:G)(S(N-B,0)),H=0;B<N;B++,H++)B in P&&u(W,H,P[B]);return W.length=H,W}})},80881:function(d,v,e){"use strict";var r=e(94488),i=e(90560).some,l=e(45601),c=l("some");r({target:"Array",proto:!0,forced:!c},{some:function(o){return i(this,o,arguments.length>1?arguments[1]:void 0)}})},62837:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(94029),f=e(82762),o=e(84233),h=e(69905),u=e(3338),a=e(63668),x=e(45601),p=e(78177),y=e(17687),m=e(46573),b=e(19684),S=[],k=i(S.sort),R=i(S.push),A=u(function(){S.sort(void 0)}),P=u(function(){S.sort(null)}),M=x("sort"),B=!u(function(){if(m)return m<70;if(!(p&&p>3)){if(y)return!0;if(b)return b<603;var W="",H,ae,ne,oe;for(H=65;H<76;H++){switch(ae=String.fromCharCode(H),H){case 66:case 69:case 70:case 72:ne=3;break;case 68:case 71:ne=4;break;default:ne=2}for(oe=0;oe<47;oe++)S.push({k:ae+oe,v:ne})}for(S.sort(function(q,J){return J.v-q.v}),oe=0;oe<S.length;oe++)ae=S[oe].k.charAt(0),W.charAt(W.length-1)!==ae&&(W+=ae);return W!=="DGBEFHACIJK"}}),N=A||!P||!M||!B,G=function(W){return function(H,ae){return ae===void 0?-1:H===void 0?1:W!==void 0?+W(H,ae)||0:h(H)>h(ae)?1:-1}};r({target:"Array",proto:!0,forced:N},{sort:function(H){H!==void 0&&l(H);var ae=c(this);if(B)return H===void 0?k(ae):k(ae,H);var ne=[],oe=f(ae),q,J;for(J=0;J<oe;J++)J in ae&&R(ne,ae[J]);for(a(ne,G(H)),q=f(ne),J=0;J<q;)ae[J]=ne[J++];for(;J<oe;)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"),m=Math.max,b=Math.min;r({target:"Array",proto:!0,forced:!y},{splice:function(k,R){var A=i(this),P=f(A),M=l(k,P),B=arguments.length,N,G,W,H,ae,ne;for(B===0?N=G=0:B===1?(N=0,G=P-M):(N=B-2,G=b(m(c(R),0),P-M)),h(P+N-G),W=u(A,G),H=0;H<G;H++)ae=M+H,ae in A&&a(W,H,A[ae]);if(W.length=G,N<G){for(H=M;H<P-G;H++)ae=H+G,ne=H+N,ae in A?A[ne]=A[ae]:x(A,ne);for(H=P;H>P-G+N;H--)x(A,H-1)}else if(N>G)for(H=P-G;H>M;H--)ae=H+G-1,ne=H+N-1,ae in A?A[ne]=A[ae]:x(A,ne);for(H=0;H<N;H++)A[H+M]=arguments[H+2];return o(A,P-G+N),W}})},1148:function(d,v,e){"use strict";var r=e(94488),i=e(85903),l=e(80524),c=e(81181),f=Array;r({target:"Array",proto:!0},{toReversed:function(){return i(l(this),f)}}),c("toReversed")},82445:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(80524),f=e(69478),o=e(55174),h=e(81181),u=Array,a=i(o("Array","sort"));r({target:"Array",proto:!0},{toSorted:function(p){p!==void 0&&l(p);var y=c(this),m=f(u,y);return a(m,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,m){var b=o(this),S=c(b),k=f(y,S),R=arguments.length,A=0,P,M,B,N;for(R===0?P=M=0:R===1?(P=0,M=S-k):(P=R-2,M=x(a(h(m),0),S-k)),B=l(S+P-M),N=u(B);A<k;A++)N[A]=b[A];for(;A<k+P;A++)N[A]=arguments[A-k+2];for(;A<B;A++)N[A]=b[A+M-P];return N}}),i("toSpliced")},90308:function(d,v,e){"use strict";var r=e(81181);r("flatMap")},96353:function(d,v,e){"use strict";var r=e(81181);r("flat")},84818:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(82762),c=e(39428),f=e(84233),o=e(66434),h=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(x){return x instanceof TypeError}},a=h||!u();r({target:"Array",proto:!0,arity:1,forced:a},{unshift:function(p){var y=i(this),m=l(y),b=arguments.length;if(b){o(m+b);for(var S=m;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,m+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 m=h(p,16);m.length<y;)m="0"+m;return m};r({global:!0},{escape:function(y){for(var m=l(y),b="",S=m.length,k=0,R,A;k<S;)R=c(m,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,m=i("JSON","stringify"),b=f(/./.exec),S=f("".charAt),k=f("".charCodeAt),R=f("".replace),A=f(1 .toString),P=/[\uD800-\uDFFF]/g,M=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,N=!p||o(function(){var ae=i("Symbol")("stringify detection");return m([ae])!=="[null]"||m({a:ae})!=="{}"||m(Object(ae))!=="{}"}),G=o(function(){return m("\uDF06\uD834")!=='"\\udf06\\ud834"'||m("\uDEAD")!=='"\\udead"'}),W=function(ae,ne){var oe=a(arguments),q=x(ne);if(!(!h(q)&&(ae===void 0||u(ae))))return oe[1]=function(J,K){if(h(q)&&(K=c(q,this,y(J),K)),!u(K))return K},l(m,null,oe)},H=function(ae,ne,oe){var q=S(oe,ne-1),J=S(oe,ne+1);return b(M,ae)&&!b(B,J)||b(B,ae)&&!b(M,q)?"\\u"+A(k(ae,0),16):ae};m&&r({target:"JSON",stat:!0,arity:3,forced:N||G},{stringify:function(ne,oe,q){var J=a(arguments),K=l(N?W:m,null,J);return G&&typeof K=="string"?R(K,P,H):K}})},70201:function(d,v,e){"use strict";var r=e(92916),i=e(94573);i(r.JSON,"JSON",!0)},44781:function(d,v,e){"use strict";var r=e(48059),i=e(40942);r("Map",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},85671:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(63335),c=e(95955),f=e(62003),o=e(2786),h=e(16697),u=o.Map,a=o.has,x=o.get,p=o.set,y=i([].push);r({target:"Map",stat:!0,forced:h},{groupBy:function(b,S){c(b),l(S);var k=new u,R=0;return f(b,function(A){var P=S(A,R++);a(k,P)?y(x(k,P),A):p(k,P,[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,m,b;x<p;)m=l(arguments[x++]),y<m?(b=y/m,a=a*b*b+1,y=m):m>0?(b=m/y,a+=b*b):a+=m;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),m=e(3338),b=e(80689).f,S=e(71256).f,k=e(37691).f,R=e(49228),A=e(52971).trim,P="Number",M=c[P],B=f[P],N=M.prototype,G=c.TypeError,W=o("".slice),H=o("".charCodeAt),ae=function(se){var ee=y(se,"number");return typeof ee=="bigint"?ee:ne(ee)},ne=function(se){var ee=y(se,"number"),Q,le,z,$,ie,me,Pe,De;if(p(ee))throw new G("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=A(ee),Q=H(ee,0),Q===43||Q===45){if(le=H(ee,2),le===88||le===120)return NaN}else if(Q===48){switch(H(ee,1)){case 66:case 98:z=2,$=49;break;case 79:case 111:z=8,$=55;break;default:return+ee}for(ie=W(ee,2),me=ie.length,Pe=0;Pe<me;Pe++)if(De=H(ie,Pe),De<48||De>$)return NaN;return parseInt(ie,z)}}return+ee},oe=h(P,!M(" 0o1")||!M("0b1")||M("+0x1")),q=function(se){return x(N,se)&&m(function(){R(se)})},J=function(ee){var Q=arguments.length<1?0:M(ae(ee));return q(this)?a(Object(Q),this,J):Q};J.prototype=N,oe&&!i&&(N.constructor=J),r({global:!0,constructor:!0,wrap:!0,forced:oe},{Number:J});var K=function(se,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(se,z)&&k(se,z,S(ee,z))};i&&B&&K(f[P],B),(oe||i)&&K(f[P],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,m=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",P=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||!P()||!M();r({target:"Number",proto:!0,forced:B},{toExponential:function(G){var W=c(this);if(G===void 0)return S(W);var H=l(G);if(!x(W))return String(W);if(H<0||H>20)throw new u("Incorrect fraction digits");if(A)return S(W,H);var ae="",ne="",oe=0,q="",J="";if(W<0&&(ae="-",W=-W),W===0)oe=0,ne=k("0",H+1);else{var K=o(W);oe=y(K);var se=0,ee=m(10,oe-H);se=b(W/ee),2*W>=(2*se+1)*ee&&(se+=1),se>=m(10,H+1)&&(se/=10,oe+=1),ne=a(se)}return H!==0&&(ne=R(ne,0,1)+"."+R(ne,1)),oe===0?(q="+",J="0"):(q=oe>0?"+":"-",J=a(p(oe))),ne+="e"+q+J,ae+ne}})},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),m=function(P,M,B){return M===0?B:M%2===1?m(P,M-1,B*P):m(P*P,M/2,B)},b=function(P){for(var M=0,B=P;B>=4096;)M+=12,B/=4096;for(;B>=2;)M+=1,B/=2;return M},S=function(P,M,B){for(var N=-1,G=B;++N<6;)G+=M*P[N],P[N]=G%1e7,G=a(G/1e7)},k=function(P,M){for(var B=6,N=0;--B>=0;)N+=P[B],P[B]=a(N/M),N=N%M*1e7},R=function(P){for(var M=6,B="";--M>=0;)if(B!==""||M===0||P[M]!==0){var N=u(P[M]);B=B===""?N:B+x("0",7-N.length)+N}return B},A=o(function(){return y(8e-5,3)!=="0.000"||y(.9,0)!=="1"||y(1.255,2)!=="1.25"||y(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!o(function(){y({})});r({target:"Number",proto:!0,forced:A},{toFixed:function(M){var B=c(this),N=l(M),G=[0,0,0,0,0,0],W="",H="0",ae,ne,oe,q;if(N<0||N>20)throw new h("Incorrect fraction digits");if(B!==B)return"NaN";if(B<=-1e21||B>=1e21)return u(B);if(B<0&&(W="-",B=-B),B>1e-21)if(ae=b(B*m(2,69,1))-69,ne=ae<0?B*m(2,-ae,1):B/m(2,ae,1),ne*=4503599627370496,ae=52-ae,ae>0){for(S(G,0,ne),oe=N;oe>=7;)S(G,1e7,0),oe-=7;for(S(G,m(10,oe,1),0),oe=ae-1;oe>=23;)k(G,8388608),oe-=23;k(G,1<<oe),S(G,1,1),k(G,2),H=R(G)}else S(G,0,ne),S(G,1<<-ae,0),H=R(G)+x("0",N);return N>0?(q=H.length,H=W+(q<=N?"0."+x("0",N-q)+H:p(H,0,q-N)+"."+p(H,q-N))):H=W+H,H}})},93547:function(d,v,e){"use strict";var r=e(94488),i=e(94237),l=e(3338),c=e(49228),f=i(1 .toPrecision),o=l(function(){return f(1,void 0)!=="1"})||!l(function(){f({})});r({target:"Number",proto:!0,forced:o},{toPrecision:function(u){return u===void 0?f(c(this)):f(c(this),u)}})},31237:function(d,v,e){"use strict";var r=e(94488),i=e(80530);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},17954:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(20132);r({target:"Object",stat:!0,sham:!i},{create:l})},58580:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineGetter__:function(u,a){o.f(f(this),u,{get:c(a),enumerable:!0,configurable:!0})}})},47146:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(55666).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==l,sham:!i},{defineProperties:l})},40416:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(37691).f;r({target:"Object",stat:!0,forced:Object.defineProperty!==l,sham:!i},{defineProperty:l})},7615:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(25837),c=e(63335),f=e(94029),o=e(37691);i&&r({target:"Object",proto:!0,forced:l},{__defineSetter__:function(u,a){o.f(f(this),u,{set:c(a),enumerable:!0,configurable:!0})}})},72820:function(d,v,e){"use strict";var r=e(94488),i=e(88698).entries;r({target:"Object",stat:!0},{entries:function(c){return i(c)}})},86070:function(d,v,e){"use strict";var r=e(94488),i=e(13247),l=e(3338),c=e(31946),f=e(2074).onFreeze,o=Object.freeze,h=l(function(){o(1)});r({target:"Object",stat:!0,forced:h,sham:!i},{freeze:function(a){return o&&c(a)?o(f(a)):a}})},23569:function(d,v,e){"use strict";var r=e(94488),i=e(62003),l=e(69392);r({target:"Object",stat:!0},{fromEntries:function(f){var o={};return i(f,function(h,u){l(o,h,u)},{AS_ENTRIES:!0}),o}})},55639:function(d,v,e){"use strict";var r=e(94488),i=e(3338),l=e(80524),c=e(71256).f,f=e(35454),o=!f||i(function(){c(1)});r({target:"Object",stat:!0,forced:o,sham:!f},{getOwnPropertyDescriptor:function(u,a){return c(l(u),a)}})},63046:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(48662),c=e(80524),f=e(71256),o=e(69392);r({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(u){for(var a=c(u),x=f.f,p=l(a),y={},m=0,b,S;p.length>m;)S=x(a,b=p[m++]),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 m=u(null),b=0;return h(p,function(S){var k=o(y(S,b++));k in m?a(m[k],S):m[k]=[S]}),m}})},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,m=p.reject,b=f(function(){var S=l(x.resolve),k=[],R=0,A=1;o(a,function(P){var M=R++,B=!1;A++,i(S,x,P).then(function(N){B||(B=!0,k[M]={status:"fulfilled",value:N},--A||y(k))},function(N){B||(B=!0,k[M]={status:"rejected",reason:N},--A||y(k))})}),--A||y(k)});return b.error&&m(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,m=p.reject,b=f(function(){var S=l(x.resolve),k=[],R=0,A=1;o(a,function(P){var M=R++,B=!1;A++,i(S,x,P).then(function(N){B||(B=!0,k[M]=N,--A||y(k))},m)}),--A||y(k)});return b.error&&m(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,m=c("AggregateError"),b=f.f(y),S=b.resolve,k=b.reject,R=o(function(){var A=l(y.resolve),P=[],M=0,B=1,N=!1;h(p,function(G){var W=M++,H=!1;B++,i(A,y,G).then(function(ae){H||N||(N=!0,S(ae))},function(ae){H||N||(H=!0,P[W]=ae,--B||k(new m(P,a)))})}),--B||k(new m(P,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),m=e(56472),b=e(60473),S=e(28887).set,k=e(72933),R=e(61810),A=e(80734),P=e(66790),M=e(94844),B=e(2451),N=e(82830),G=e(73446),W="Promise",H=N.CONSTRUCTOR,ae=N.REJECTION_EVENT,ne=N.SUBCLASSING,oe=M.getterFor(W),q=M.set,J=B&&B.prototype,K=B,se=J,ee=c.TypeError,Q=c.document,le=c.process,z=G.f,$=z,ie=!!(Q&&Q.createEvent&&c.dispatchEvent),me="unhandledrejection",Pe="rejectionhandled",De=0,Ze=1,Ne=2,Bt=1,yt=2,It,rr,Yt,ur,We=function(Le){var je;return y(Le)&&p(je=Le.then)?je:!1},Pt=function(Le,je){var He=je.value,rt=je.state===Ze,lt=rt?Le.ok:Le.fail,Kt=Le.resolve,Wt=Le.reject,Ae=Le.domain,qe,Vt,kt;try{lt?(rt||(je.rejection===yt&&Je(je),je.rejection=Bt),lt===!0?qe=He:(Ae&&Ae.enter(),qe=lt(He),Ae&&(Ae.exit(),kt=!0)),qe===Le.promise?Wt(new ee("Promise-chain cycle")):(Vt=We(qe))?f(Vt,qe,Kt,Wt):Kt(qe)):Wt(He)}catch(Ht){Ae&&!kt&&Ae.exit(),Wt(Ht)}},zt=function(Le,je){Le.notified||(Le.notified=!0,k(function(){for(var He=Le.reactions,rt;rt=He.get();)Pt(rt,Le);Le.notified=!1,je&&!Le.rejection&&Et(Le)}))},nt=function(Le,je,He){var rt,lt;ie?(rt=Q.createEvent("Event"),rt.promise=je,rt.reason=He,rt.initEvent(Le,!1,!0),c.dispatchEvent(rt)):rt={promise:je,reason:He},!ae&&(lt=c["on"+Le])?lt(rt):Le===me&&R("Unhandled promise rejection",He)},Et=function(Le){f(S,c,function(){var je=Le.facade,He=Le.value,rt=ht(Le),lt;if(rt&&(lt=A(function(){l?le.emit("unhandledRejection",He,je):nt(me,je,He)}),Le.rejection=l||ht(Le)?yt:Bt,lt.error))throw lt.value})},ht=function(Le){return Le.rejection!==Bt&&!Le.parent},Je=function(Le){f(S,c,function(){var je=Le.facade;l?le.emit("rejectionHandled",je):nt(Pe,je,Le.value)})},Ue=function(Le,je,He){return function(rt){Le(je,rt,He)}},ge=function(Le,je,He){Le.done||(Le.done=!0,He&&(Le=He),Le.value=je,Le.state=Ne,zt(Le,!0))},Se=function(Le,je,He){if(!Le.done){Le.done=!0,He&&(Le=He);try{if(Le.facade===je)throw new ee("Promise can't be resolved itself");var rt=We(je);rt?k(function(){var lt={done:!1};try{f(rt,je,Ue(Se,lt,Le),Ue(ge,lt,Le))}catch(Kt){ge(lt,Kt,Le)}}):(Le.value=je,Le.state=Ze,zt(Le,!1))}catch(lt){ge({done:!1},lt,Le)}}};if(H&&(K=function(je){m(this,se),x(je),f(It,this);var He=oe(this);try{je(Ue(Se,He),Ue(ge,He))}catch(rt){ge(He,rt)}},se=K.prototype,It=function(je){q(this,{type:W,done:!1,notified:!1,parent:!1,reactions:new P,rejection:!1,state:De,value:void 0})},It.prototype=o(se,"then",function(je,He){var rt=oe(this),lt=z(b(this,K));return rt.parent=!0,lt.ok=p(je)?je:!0,lt.fail=p(He)&&He,lt.domain=l?le.domain:void 0,rt.state===De?rt.reactions.add(lt):k(function(){Pt(lt,rt)}),lt.promise}),rr=function(){var Le=new It,je=oe(Le);this.promise=Le,this.resolve=Ue(Se,je),this.reject=Ue(ge,je)},G.f=z=function(Le){return Le===K||Le===Yt?new rr(Le):$(Le)},!i&&p(B)&&J!==Object.prototype)){ur=J.then,ne||o(J,"then",function(je,He){var rt=this;return new K(function(lt,Kt){f(ur,rt,lt,Kt)}).then(je,He)},{unsafe:!0});try{delete J.constructor}catch(Le){}h&&h(J,se)}r({global:!0,constructor:!0,wrap:!0,forced:H},{Promise:K}),u(K,W,!1,!0),a(W)},43595:function(d,v,e){"use strict";var r=e(94488),i=e(16697),l=e(2451),c=e(3338),f=e(65911),o=e(55327),h=e(60473),u=e(15597),a=e(2291),x=l&&l.prototype,p=!!l&&c(function(){x.finally.call({then:function(){}},function(){})});if(r({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(m){var b=h(this,f("Promise")),S=o(m);return this.then(S?function(k){return u(b,m()).then(function(){return k})}:m,S?function(k){return u(b,m()).then(function(){throw k})}:m)}}),!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,m=f(function(){var b=l(x.resolve);o(a,function(S){i(b,x,S).then(p.resolve,y)})});return m.error&&y(m.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,m=a(function(){function k(){}return!(x(function(){},[],k)instanceof k)}),b=!a(function(){x(function(){})}),S=m||b;r({target:"Reflect",stat:!0,forced:S,sham:S},{construct:function(R,A){f(R),o(A);var P=arguments.length<3?R:f(arguments[2]);if(b&&!m)return x(R,A,P);if(R===P){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=P.prototype,N=u(h(B)?B:p),G=l(R,N,A);return h(G)?G:N}})},57891:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(80449),c=e(17818),f=e(37691),o=e(3338),h=o(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});r({target:"Reflect",stat:!0,forced:h,sham:!i},{defineProperty:function(a,x,p){l(a);var y=c(x);l(p);try{return f.f(a,y,p),!0}catch(m){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,m;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(m=h(a)))return u(m,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(m,b,S){var k=arguments.length<4?m:arguments[3],R=u.f(l(m),b),A,P,M;if(!R){if(c(P=a(m)))return p(P,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 m=function(){},b=h.f(new m,"a",{configurable:!0});return Reflect.set(m.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),m=e(19286),b=e(44166),S=e(2291),k=e(3338),R=e(32621),A=e(94844).enforce,P=e(51996),M=e(59893),B=e(6041),N=e(51224),G=M("match"),W=i.RegExp,H=W.prototype,ae=i.SyntaxError,ne=l(H.exec),oe=l("".charAt),q=l("".replace),J=l("".indexOf),K=l("".slice),se=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,Q=/a/g,le=new W(ee)!==ee,z=m.MISSED_STICKY,$=m.UNSUPPORTED_Y,ie=r&&(!le||z||B||N||k(function(){return Q[G]=!1,W(ee)!==ee||W(Q)===Q||String(W(ee,"i"))!=="/a/i"})),me=function(Bt){for(var yt=Bt.length,It=0,rr="",Yt=!1,ur;It<=yt;It++){if(ur=oe(Bt,It),ur==="\\"){rr+=ur+oe(Bt,++It);continue}!Yt&&ur==="."?rr+="[\\s\\S]":(ur==="["?Yt=!0:ur==="]"&&(Yt=!1),rr+=ur)}return rr},Pe=function(Bt){for(var yt=Bt.length,It=0,rr="",Yt=[],ur=h(null),We=!1,Pt=!1,zt=0,nt="",Et;It<=yt;It++){if(Et=oe(Bt,It),Et==="\\")Et+=oe(Bt,++It);else if(Et==="]")We=!1;else if(!We)switch(!0){case Et==="[":We=!0;break;case Et==="(":ne(se,K(Bt,It+1))&&(It+=2,Pt=!0),rr+=Et,zt++;continue;case(Et===">"&&Pt):if(nt===""||R(ur,nt))throw new ae("Invalid capture group name");ur[nt]=!0,Yt[Yt.length]=[nt,zt],Pt=!1,nt="";continue}Pt?nt+=Et:rr+=Et}return[rr,Yt]};if(c("RegExp",ie)){for(var De=function(yt,It){var rr=a(H,this),Yt=x(yt),ur=It===void 0,We=[],Pt=yt,zt,nt,Et,ht,Je,Ue;if(!rr&&Yt&&ur&&yt.constructor===De)return yt;if((Yt||a(H,yt))&&(yt=yt.source,ur&&(It=y(Pt))),yt=yt===void 0?"":p(yt),It=It===void 0?"":p(It),Pt=yt,B&&"dotAll"in ee&&(nt=!!It&&J(It,"s")>-1,nt&&(It=q(It,/s/g,""))),zt=It,z&&"sticky"in ee&&(Et=!!It&&J(It,"y")>-1,Et&&$&&(It=q(It,/y/g,""))),N&&(ht=Pe(yt),yt=ht[0],We=ht[1]),Je=f(W(yt,It),rr?this:H,De),(nt||Et||We.length)&&(Ue=A(Je),nt&&(Ue.dotAll=!0,Ue.raw=De(me(yt),zt)),Et&&(Ue.sticky=!0),We.length&&(Ue.groups=We)),yt!==Pt)try{o(Je,"source",Pt===""?"(?:)":Pt)}catch(ge){}return Je},Ze=u(W),Ne=0;Ze.length>Ne;)b(De,W,Ze[Ne++]);H.constructor=De,De.prototype=H,S(i,"RegExp",De,{constructor:!0})}P("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",m=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)m(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 m=l(this),b=c(m.source),S=c(o(m));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,m=c(x),b=m>=0?m:y+m;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,m=u("endsWith"),b=!a&&!m&&!!function(){var S=l(String.prototype,"endsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!m},{endsWith:function(k){var R=f(h(this));o(k);var A=arguments.length>1?arguments[1]:void 0,P=R.length,M=A===void 0?P:y(c(A),P),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,m=0,b;y>m;){if(b=+arguments[m++],l(b,1114111)!==b)throw new c(b+" is not a valid code point");p[m]=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,m;return y>=p.length?f(void 0,!0):(m=r(p,y),x.index+=m.length,f(m,!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),m=e(81644),b=e(53776),S=e(2291),k=e(3338),R=e(59893),A=e(60473),P=e(52216),M=e(94338),B=e(94844),N=e(16697),G=R("matchAll"),W="RegExp String",H=W+" Iterator",ae=B.set,ne=B.getterFor(H),oe=RegExp.prototype,q=TypeError,J=l("".indexOf),K=l("".matchAll),se=!!K&&!k(function(){K("a",/./)}),ee=c(function(z,$,ie,me){ae(this,{type:H,regexp:z,string:$,global:ie,unicode:me,done:!1})},W,function(){var z=ne(this);if(z.done)return f(void 0,!0);var $=z.regexp,ie=z.string,me=M($,ie);return me===null?(z.done=!0,f(void 0,!0)):z.global?(u(me[0])===""&&($.lastIndex=P(ie,h($.lastIndex),z.unicode)),f(me,!1)):(z.done=!0,f(me,!1))}),Q=function(le){var z=a(this),$=u(le),ie=A(z,RegExp),me=u(m(z)),Pe,De,Ze;return Pe=new ie(ie===RegExp?z.source:z,me),De=!!~J(me,"g"),Ze=!!~J(me,"u"),Pe.lastIndex=h(z.lastIndex),new ee(Pe,$,De,Ze)};r({target:"String",proto:!0,forced:se},{matchAll:function(z){var $=o(this),ie,me,Pe,De;if(x(z)){if(se)return K($,z)}else{if(y(z)&&(ie=u(o(m(z))),!~J(ie,"g")))throw new q("`.matchAll` does not allow non-global regexes");if(se)return K($,z);if(Pe=b(z,G),Pe===void 0&&N&&p(z)==="RegExp"&&(Pe=Q),Pe)return i(Pe,z,$)}return me=u($),De=new RegExp(z,"g"),N?i(Q,De,me):De[G](me)}}),N||G in oe||S(oe,G,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,m){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=m(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 P=[],M=0,B;(B=x(S,k))!==null;){var N=o(B[0]);P[M]=N,N===""&&(S.lastIndex=a(k,f(S.lastIndex),A)),M++}return M===0?null:P}]})},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 m=arguments.length,b=[],S=0;;){if(h(b,f(p[S++])),S===y)return u(b,"");S<m&&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),m=e(16697),b=y("replace"),S=TypeError,k=l("".indexOf),R=l("".replace),A=l("".slice),P=Math.max,M=function(B,N,G){return G>B.length?-1:N===""?G:k(B,N,G)};r({target:"String",proto:!0},{replaceAll:function(N,G){var W=c(this),H,ae,ne,oe,q,J,K,se,ee,Q=0,le=0,z="";if(!o(N)){if(H=h(N),H&&(ae=u(c(x(N))),!~k(ae,"g")))throw new S("`.replaceAll` does not allow non-global regexes");if(ne=a(N,b),ne)return i(ne,N,W,G);if(m&&H)return R(u(W),N,G)}for(oe=u(W),q=u(N),J=f(G),J||(G=u(G)),K=q.length,se=P(1,K),Q=M(oe,q,0);Q!==-1;)ee=J?u(G(q,Q,oe)):p(q,oe,Q,[],void 0,G),z+=A(oe,le,Q)+ee,le=Q+K,Q=M(oe,q,Q+se);return le<oe.length&&(z+=A(oe,le)),z}})},5658:function(d,v,e){"use strict";var r=e(13743),i=e(89945),l=e(94237),c=e(8662),f=e(3338),o=e(80449),h=e(55327),u=e(4112),a=e(56902),x=e(61578),p=e(69905),y=e(95955),m=e(52216),b=e(53776),S=e(23011),k=e(94338),R=e(59893),A=R("replace"),P=Math.max,M=Math.min,B=l([].concat),N=l([].push),G=l("".indexOf),W=l("".slice),H=function(q){return q===void 0?q:String(q)},ae=function(){return"a".replace(/./,"$0")==="$0"}(),ne=function(){return/./[A]?/./[A]("a","$0")==="":!1}(),oe=!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 se=ne?"$":"$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"&&G(Q,se)===-1&&G(Q,"$<")===-1){var $=K(J,le,z,Q);if($.done)return $.value}var ie=h(Q);ie||(Q=p(Q));var me=le.global,Pe;me&&(Pe=le.unicode,le.lastIndex=0);for(var De=[],Ze;Ze=k(le,z),!(Ze===null||(N(De,Ze),!me));){var Ne=p(Ze[0]);Ne===""&&(le.lastIndex=m(z,x(le.lastIndex),Pe))}for(var Bt="",yt=0,It=0;It<De.length;It++){Ze=De[It];for(var rr=p(Ze[0]),Yt=P(M(a(Ze.index),z.length),0),ur=[],We,Pt=1;Pt<Ze.length;Pt++)N(ur,H(Ze[Pt]));var zt=Ze.groups;if(ie){var nt=B([rr],ur,Yt,z);zt!==void 0&&N(nt,zt),We=p(r(Q,void 0,nt))}else We=S(rr,z,Yt,ur,zt,Q);Yt>=yt&&(Bt+=W(z,yt,Yt)+We,yt=Yt+rr.length)}return Bt+W(z,yt)}]},!oe||!ae||ne)},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(m){var b=l(this),S=h(m),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),m=e(53776),b=e(71698),S=e(94338),k=e(88736),R=e(19286),A=e(3338),P=R.UNSUPPORTED_Y,M=4294967295,B=Math.min,N=[].push,G=l(/./.exec),W=l(N),H=l("".slice),ae=!A(function(){var ne=/(?:)/,oe=ne.exec;ne.exec=function(){return oe.apply(this,arguments)};var q="ab".split(ne);return q.length!==2||q[0]!=="a"||q[1]!=="b"});c("split",function(ne,oe,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,se){var ee=y(u(this)),Q=se===void 0?M:se>>>0;if(Q===0)return[];if(K===void 0)return[ee];if(!h(K))return i(oe,ee,K,Q);for(var le=[],z=(K.ignoreCase?"i":"")+(K.multiline?"m":"")+(K.unicode?"u":"")+(K.sticky?"y":""),$=0,ie=new RegExp(K.source,z+"g"),me,Pe,De;(me=i(k,ie,ee))&&(Pe=ie.lastIndex,!(Pe>$&&(W(le,H(ee,$,me.index)),me.length>1&&me.index<ee.length&&r(N,le,b(me,1)),De=me[0].length,$=Pe,le.length>=Q)));)ie.lastIndex===me.index&&ie.lastIndex++;return $===ee.length?(De||!G(ie,""))&&W(le,""):W(le,H(ee,$)),le.length>Q?b(le,0,Q):le}:"0".split(void 0,0).length?J=function(K,se){return K===void 0&&se===0?[]:i(oe,this,K,se)}:J=oe,[function(se,ee){var Q=u(this),le=o(se)?void 0:m(se,ne);return le?i(le,se,Q,ee):i(J,y(Q),se,ee)},function(K,se){var ee=f(this),Q=y(K),le=q(J,ee,Q,se,J!==oe);if(le.done)return le.value;var z=a(ee,RegExp),$=ee.unicode,ie=(ee.ignoreCase?"i":"")+(ee.multiline?"m":"")+(ee.unicode?"u":"")+(P?"g":"y"),me=new z(P?"^(?:"+ee.source+")":ee,ie),Pe=se===void 0?M:se>>>0;if(Pe===0)return[];if(Q.length===0)return S(me,Q)===null?[Q]:[];for(var De=0,Ze=0,Ne=[];Ze<Q.length;){me.lastIndex=P?0:Ze;var Bt=S(me,P?H(Q,Ze):Q),yt;if(Bt===null||(yt=B(p(me.lastIndex+(P?Ze:0)),Q.length))===De)Ze=x(Q,Ze,$);else{if(W(Ne,H(Q,De,Ze)),Ne.length===Pe)return Ne;for(var It=1;It<=Bt.length-1;It++)if(W(Ne,Bt[It]),Ne.length===Pe)return Ne;Ze=De=yt}}return W(Ne,H(Q,De)),Ne}]},!ae,P)},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,m=u("startsWith"),b=!a&&!m&&!!function(){var S=l(String.prototype,"startsWith");return S&&!S.writable}();r({target:"String",proto:!0,forced:!b&&!m},{startsWith:function(k){var R=f(h(this));o(k);var A=c(y(arguments.length>1?arguments[1]:void 0,R.length)),P=f(k);return x?x(R,P,A):p(R,A,A+P.length)===P}})},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 m=f(l(this)),b=m.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(m,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",m=p&&o(function(){return i(p,1)!=="1"});r({target:"String",proto:!0,forced:m},{toWellFormed:function(){var S=f(c(this));if(m)return i(p,S);for(var k=S.length,R=h(k),A=0;A<k;A++){var P=a(S,A);(P&63488)!==55296?R[A]=u(S,A):P>=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),m=e(17818),b=e(69905),S=e(35012),k=e(20132),R=e(7733),A=e(80689),P=e(53393),M=e(92635),B=e(71256),N=e(37691),G=e(55666),W=e(27597),H=e(2291),ae=e(64110),ne=e(77898),oe=e(11898),q=e(54406),J=e(6145),K=e(59893),se=e(38282),ee=e(94674),Q=e(14311),le=e(94573),z=e(94844),$=e(90560).forEach,ie=oe("hidden"),me="Symbol",Pe="prototype",De=z.set,Ze=z.getterFor(me),Ne=Object[Pe],Bt=i.Symbol,yt=Bt&&Bt[Pe],It=i.RangeError,rr=i.TypeError,Yt=i.QObject,ur=B.f,We=N.f,Pt=P.f,zt=W.f,nt=c([].push),Et=ne("symbols"),ht=ne("op-symbols"),Je=ne("wks"),Ue=!Yt||!Yt[Pe]||!Yt[Pe].findChild,ge=function(qe,Vt,kt){var Ht=ur(Ne,Vt);Ht&&delete Ne[Vt],We(qe,Vt,kt),Ht&&qe!==Ne&&We(Ne,Vt,Ht)},Se=o&&u(function(){return k(We({},"a",{get:function(){return We(this,"a",{value:7}).a}})).a!==7})?ge:We,Le=function(qe,Vt){var kt=Et[qe]=k(yt);return De(kt,{type:me,tag:qe,description:Vt}),o||(kt.description=Vt),kt},je=function(Vt,kt,Ht){Vt===Ne&&je(ht,kt,Ht),p(Vt);var $t=m(kt);return p(Ht),a(Et,$t)?(Ht.enumerable?(a(Vt,ie)&&Vt[ie][$t]&&(Vt[ie][$t]=!1),Ht=k(Ht,{enumerable:S(0,!1)})):(a(Vt,ie)||We(Vt,ie,S(1,{})),Vt[ie][$t]=!0),Se(Vt,$t,Ht)):We(Vt,$t,Ht)},He=function(Vt,kt){p(Vt);var Ht=y(kt),$t=R(Ht).concat(Ae(Ht));return $($t,function(Tt){(!o||l(lt,Ht,Tt))&&je(Vt,Tt,Ht[Tt])}),Vt},rt=function(Vt,kt){return kt===void 0?k(Vt):He(k(Vt),kt)},lt=function(Vt){var kt=m(Vt),Ht=l(zt,this,kt);return this===Ne&&a(Et,kt)&&!a(ht,kt)?!1:Ht||!a(this,kt)||!a(Et,kt)||a(this,ie)&&this[ie][kt]?Ht:!0},Kt=function(Vt,kt){var Ht=y(Vt),$t=m(kt);if(!(Ht===Ne&&a(Et,$t)&&!a(ht,$t))){var Tt=ur(Ht,$t);return Tt&&a(Et,$t)&&!(a(Ht,ie)&&Ht[ie][$t])&&(Tt.enumerable=!0),Tt}},Wt=function(Vt){var kt=Pt(y(Vt)),Ht=[];return $(kt,function($t){!a(Et,$t)&&!a(q,$t)&&nt(Ht,$t)}),Ht},Ae=function(qe){var Vt=qe===Ne,kt=Pt(Vt?ht:y(qe)),Ht=[];return $(kt,function($t){a(Et,$t)&&(!Vt||a(Ne,$t))&&nt(Ht,Et[$t])}),Ht};h||(Bt=function(){if(x(yt,this))throw new rr("Symbol is not a constructor");var Vt=!arguments.length||arguments[0]===void 0?void 0:b(arguments[0]),kt=J(Vt),Ht=function($t){var Tt=this===void 0?i:this;Tt===Ne&&l(Ht,ht,$t),a(Tt,ie)&&a(Tt[ie],kt)&&(Tt[ie][kt]=!1);var Xt=S(1,$t);try{Se(Tt,kt,Xt)}catch(Ge){if(!(Ge instanceof It))throw Ge;ge(Tt,kt,Xt)}};return o&&Ue&&Se(Ne,kt,{configurable:!0,set:Ht}),Le(kt,Vt)},yt=Bt[Pe],H(yt,"toString",function(){return Ze(this).tag}),H(Bt,"withoutSetter",function(qe){return Le(J(qe),qe)}),W.f=lt,N.f=je,G.f=He,B.f=Kt,A.f=P.f=Wt,M.f=Ae,se.f=function(qe){return Le(K(qe),qe)},o&&(ae(yt,"description",{configurable:!0,get:function(){return Ze(this).description}}),f||H(Ne,"propertyIsEnumerable",lt,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!h,sham:!h},{Symbol:Bt}),$(R(Je),function(qe){ee(qe)}),r({target:me,stat:!0,forced:!h},{useSetter:function(){Ue=!0},useSimple:function(){Ue=!1}}),r({target:"Object",stat:!0,forced:!h,sham:!o},{create:rt,defineProperty:je,defineProperties:He,getOwnPropertyDescriptor:Kt}),r({target:"Object",stat:!0,forced:!h},{getOwnPropertyNames:Wt}),Q(),le(Bt,me),q[ie]=!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 m={},b=function(){var N=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),G=h(y,this)?new p(N):N===void 0?p():p(N);return N===""&&(m[G]=!0),G};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\((.*)\)[^)]+$/,P=c("".replace),M=c("".slice);a(y,"description",{configurable:!0,get:function(){var N=k(this);if(f(m,N))return"";var G=R(N),W=S?M(G,7,-1):P(G,A,"$1");return W===""?void 0:W}}),r({global:!0,constructor:!0,forced:!0},{Symbol:b})}},54524:function(d,v,e){"use strict";var r=e(94488),i=e(65911),l=e(32621),c=e(69905),f=e(77898),o=e(60798),h=f("string-to-symbol-registry"),u=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{for:function(a){var x=c(a);if(l(h,x))return h[x];var p=i("Symbol")(x);return h[x]=p,u[p]=x,p}})},17898:function(d,v,e){"use strict";var r=e(94674);r("hasInstance")},40902:function(d,v,e){"use strict";var r=e(94674);r("isConcatSpreadable")},2259:function(d,v,e){"use strict";var r=e(94674);r("iterator")},68557:function(d,v,e){"use strict";e(39161),e(54524),e(32340),e(54226),e(67936)},32340:function(d,v,e){"use strict";var r=e(94488),i=e(32621),l=e(18446),c=e(40593),f=e(77898),o=e(60798),h=f("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!o},{keyFor:function(a){if(!l(a))throw new TypeError(c(a)+" is not a symbol");if(i(h,a))return h[a]}})},69811:function(d,v,e){"use strict";var r=e(94674);r("matchAll")},14589:function(d,v,e){"use strict";var r=e(94674);r("match")},18114:function(d,v,e){"use strict";var r=e(94674);r("replace")},23844:function(d,v,e){"use strict";var r=e(94674);r("search")},39581:function(d,v,e){"use strict";var r=e(94674);r("species")},40632:function(d,v,e){"use strict";var r=e(94674);r("split")},22690:function(d,v,e){"use strict";var r=e(94674),i=e(14311);r("toPrimitive"),i()},7786:function(d,v,e){"use strict";var r=e(65911),i=e(94674),l=e(94573);i("toStringTag"),l(r("Symbol"),"Symbol")},99062:function(d,v,e){"use strict";var r=e(94674);r("unscopables")},35246:function(d,v,e){"use strict";var r=e(58261),i=e(82762),l=e(56902),c=r.aTypedArray,f=r.exportTypedArrayMethod;f("at",function(h){var u=c(this),a=i(u),x=l(h),p=x>=0?x:a+x;return p<0||p>=a?void 0:u[p]})},83470:function(d,v,e){"use strict";var r=e(94237),i=e(58261),l=e(92670),c=r(l),f=i.aTypedArray,o=i.exportTypedArrayMethod;o("copyWithin",function(u,a){return c(f(this),u,a,arguments.length>2?arguments[2]:void 0)})},79641:function(d,v,e){"use strict";var r=e(58261),i=e(90560).every,l=r.aTypedArray,c=r.exportTypedArrayMethod;c("every",function(o){return i(l(this),o,arguments.length>1?arguments[1]:void 0)})},72397:function(d,v,e){"use strict";var r=e(58261),i=e(75202),l=e(93303),c=e(97607),f=e(89945),o=e(94237),h=e(3338),u=r.aTypedArray,a=r.exportTypedArrayMethod,x=o("".slice),p=h(function(){var y=0;return new Int8Array(2).fill({valueOf:function(){return y++}}),y!==1});a("fill",function(m){var b=arguments.length;u(this);var S=x(c(this),0,3)==="Big"?l(m):+m;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,m=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))};m("entries",function(){return p(y(this))},S),m("keys",function(){return x(y(this))},S),m("values",R,S||!k,{name:"values"}),m(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,m=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});m("set",function(R){y(this);var A=f(arguments.length>1?arguments[1]:void 0,1),P=o(R);if(b)return i(p,this,P,A);var M=this.length,B=c(P),N=0;if(B+A>M)throw new u("Wrong length");for(;N<B;)this[A+N]=P[N++]},!b||S)},69653:function(d,v,e){"use strict";var r=e(58261),i=e(31384),l=e(3338),c=e(30867),f=r.aTypedArray,o=r.exportTypedArrayMethod,h=l(function(){new Int8Array(1).slice()});o("slice",function(a,x){for(var p=c(f(this),a,x),y=i(this),m=0,b=p.length,S=new y(b);b>m;)S[m]=p[m++];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,m=r.Uint16Array,b=m&&i(m.prototype.sort),S=!!b&&!(l(function(){b(new m(2),null)})&&l(function(){b(new m(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 m(516),P=Array(516),M,B;for(M=0;M<516;M++)B=M%4,A[M]=515-M,P[M]=M-2*B+3;for(b(A,function(N,G){return(N/4|0)-(G/4|0)}),M=0;M<516;M++)if(A[M]!==P[M])return!0}),R=function(A){return function(P,M){return A!==void 0?+A(P,M)||0:M!==M?-1:P!==P?1:P===0&&M===0?1/P>0&&1/M<0?1:-1:P>M}};y("sort",function(P){return P!==void 0&&c(P),k?b(this,P):f(p(this),R(P))},!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),m=c(x);return new m(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),m=c(x),b=l(y)?f(p):+p;return r(y,h(y),m,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),m="",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)){m+=c(parseInt(R,16)),S+=5;continue}}else if(R=h(y,S,S+2),o(u,R)){m+=c(parseInt(R,16)),S+=2;continue}}m+=k}return m}})},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,m=Array.isArray,b=y.isExtensible,S=y.isFrozen,k=y.isSealed,R=y.freeze,A=y.seal,P={},M={},B=!i.ActiveXObject&&"ActiveXObject"in i,N,G=function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},W=o("WeakMap",G,h),H=W.prototype,ae=l(H.set),ne=function(){return r&&x(function(){var K=R([]);return ae(new W,K,1),!S(K)})};if(p)if(B){N=h.getConstructor(G,"WeakMap",!0),f.enable();var oe=l(H.delete),q=l(H.has),J=l(H.get);c(H,{delete:function(K){if(u(K)&&!b(K)){var se=a(this);return se.frozen||(se.frozen=new N),oe(this,K)||se.frozen.delete(K)}return oe(this,K)},has:function(se){if(u(se)&&!b(se)){var ee=a(this);return ee.frozen||(ee.frozen=new N),q(this,se)||ee.frozen.has(se)}return q(this,se)},get:function(se){if(u(se)&&!b(se)){var ee=a(this);return ee.frozen||(ee.frozen=new N),q(this,se)?J(this,se):ee.frozen.get(se)}return J(this,se)},set:function(se,ee){if(u(se)&&!b(se)){var Q=a(this);Q.frozen||(Q.frozen=new N),q(this,se)?ae(this,se,ee):Q.frozen.set(se,ee)}else ae(this,se,ee);return this}})}else ne()&&c(H,{set:function(se,ee){var Q;return m(se)&&(S(se)?Q=P:k(se)&&(Q=M)),ae(this,se,ee),Q===P&&R(se),Q===M&&A(se),this}})},55410:function(d,v,e){"use strict";e(58453)},65092:function(d,v,e){"use strict";var r=e(48059),i=e(39656);r("WeakSet",function(l){return function(){return l(this,arguments.length?arguments[0]:void 0)}},i)},46161:function(d,v,e){"use strict";e(65092)},88900:function(d,v,e){"use strict";var r=e(35454),i=e(64110),l=e(93683),c=ArrayBuffer.prototype;r&&!("detached"in c)&&i(c,"detached",{configurable:!0,get:function(){return l(this)}})},81138:function(d,v,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},54815:function(d,v,e){"use strict";var r=e(94488),i=e(39760);i&&r({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},2722:function(d,v,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterOut:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterOut")},55885:function(d,v,e){"use strict";var r=e(94488),i=e(90560).filterReject,l=e(81181);r({target:"Array",proto:!0,forced:!0},{filterReject:function(f){return i(this,f,arguments.length>1?arguments[1]:void 0)}}),l("filterReject")},91130:function(d,v,e){"use strict";var r=e(94488),i=e(32278);r({target:"Array",stat:!0},{fromAsync:i})},64963:function(d,v,e){"use strict";var r=e(94488),i=e(45601),l=e(81181),c=e(33940),f=e(16697);r({target:"Array",proto:!0,name:"groupToMap",forced:f||!i("groupByToMap")},{groupByToMap:c}),l("groupByToMap")},8604:function(d,v,e){"use strict";var r=e(94488),i=e(36444),l=e(45601),c=e(81181);r({target:"Array",proto:!0,forced:!l("groupBy")},{groupBy:function(o){var h=arguments.length>1?arguments[1]:void 0;return i(this,o,h)}}),c("groupBy")},25178:function(d,v,e){"use strict";var r=e(94488),i=e(81181),l=e(33940),c=e(16697);r({target:"Array",proto:!0,forced:c},{groupToMap:l}),i("groupToMap")},39034:function(d,v,e){"use strict";var r=e(94488),i=e(36444),l=e(81181);r({target:"Array",proto:!0},{group:function(f){var o=arguments.length>1?arguments[1]:void 0;return i(this,f,o)}}),l("group")},1905:function(d,v,e){"use strict";var r=e(94488),i=e(18589),l=Object.isFrozen,c=function(f,o){if(!l||!i(f)||!l(f))return!1;for(var h=0,u=f.length,a;h<u;)if(a=f[h++],!(typeof a=="string"||o&&a===void 0))return!1;return u!==0};r({target:"Array",stat:!0,sham:!0,forced:!0},{isTemplateObject:function(o){if(!c(o,!0))return!1;var h=o.raw;return h.length===o.length&&c(h,!1)}})},94306:function(d,v,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastIndex",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?0:u-1}}),i("lastIndex"))},11762:function(d,v,e){"use strict";var r=e(35454),i=e(81181),l=e(94029),c=e(82762),f=e(64110);r&&(f(Array.prototype,"lastItem",{configurable:!0,get:function(){var h=l(this),u=c(h);return u===0?void 0:h[u-1]},set:function(h){var u=l(this),a=c(u);return u[a===0?0:a-1]=h}}),i("lastItem"))},93164:function(d,v,e){"use strict";var r=e(94488),i=e(81181),l=e(65621);r({target:"Array",proto:!0,forced:!0},{uniqueBy:l}),i("uniqueBy")},37252:function(d,v,e){"use strict";var r=e(94488),i=e(35454),l=e(65911),c=e(63335),f=e(56472),o=e(2291),h=e(66477),u=e(64110),a=e(59893),x=e(94844),p=e(5978),y=l("Promise"),m=l("SuppressedError"),b=ReferenceError,S=a("asyncDispose"),k=a("toStringTag"),R="AsyncDisposableStack",A=x.set,P=x.getterFor(R),M="async-dispose",B="disposed",N="pending",G=function(ae){var ne=P(ae);if(ne.state===B)throw new b(R+" already disposed");return ne},W=function(){A(f(this,H),{type:R,state:N,stack:[]}),i||(this.disposed=!1)},H=W.prototype;h(H,{disposeAsync:function(){var ne=this;return new y(function(oe,q){var J=P(ne);if(J.state===B)return oe(void 0);J.state=B,i||(ne.disposed=!0);var K=J.stack,se=K.length,ee=!1,Q,le=function($){ee?Q=new m($,Q):(ee=!0,Q=$),z()},z=function(){if(se){var $=K[--se];K[se]=null;try{y.resolve($()).then(z,le)}catch(ie){le(ie)}}else J.stack=null,ee?q(Q):oe(void 0)};z()})},use:function(ne){return p(G(this),ne,M),ne},adopt:function(ne,oe){var q=G(this);return c(oe),p(q,void 0,M,function(){return oe(ne)}),ne},defer:function(ne){var oe=G(this);c(ne),p(oe,void 0,M,ne)},move:function(){var ne=G(this),oe=new W;return P(oe).stack=ne.stack,ne.stack=[],ne.state=B,i||(this.disposed=!0),oe}}),i&&u(H,"disposed",{configurable:!0,get:function(){return P(this).state===B}}),o(H,S,H.disposeAsync,{name:"disposeAsync"}),o(H,k,R,{nonWritable:!0}),r({global:!0,constructor:!0},{AsyncDisposableStack:W})},48966:function(d,v,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",name:"indexed",proto:!0,real:!0,forced:!0},{asIndexedPairs:i})},13015:function(d,v,e){"use strict";var r=e(89945),i=e(2291),l=e(65911),c=e(53776),f=e(32621),o=e(59893),h=e(14052),u=o("asyncDispose"),a=l("Promise");f(h,u)||i(h,u,function(){var x=this;return new a(function(p,y){var m=c(x,"return");m?a.resolve(r(m,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(m,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,m(u(void 0,!0))):y.remaining?(y.remaining--,k()):m(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 m=o(f(+y));return new x(c(this),{remaining:m})}})},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 m=this,b=m.iterator,S=m.predicate;return new y(function(k,R){var A=function(B){m.done=!0,R(B)},P=function(B){a(b,A,B,A)},M=function(){try{y.resolve(c(i(m.next,b))).then(function(B){try{if(c(B).done)m.done=!0,k(u(void 0,!0));else{var N=B.value;try{var G=S(N,m.counter++),W=function(H){H?k(u(N,!1)):M()};f(G)?y.resolve(G).then(W,P):W(G)}catch(H){P(H)}}}catch(H){A(H)}},A)}catch(B){A(B)}};M()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:x},{filter:function(m){return c(this),l(m),new p(o(this),{predicate:m})}})},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(m){var b=this,S=b.iterator,k=b.mapper;return new m(function(R,A){var P=function(G){b.done=!0,A(G)},M=function(G){x(S,P,G,P)},B=function(){try{m.resolve(c(i(b.next,S))).then(function(G){try{if(c(G).done)b.done=!0,R(u(void 0,!0));else{var W=G.value;try{var H=k(W,b.counter++),ae=function(ne){try{b.inner=a(ne),N()}catch(oe){M(oe)}};f(H)?m.resolve(H).then(ae,M):ae(H)}catch(ne){M(ne)}}}catch(ne){P(ne)}},P)}catch(G){P(G)}},N=function(){var G=b.inner;if(G)try{m.resolve(c(i(G.next,G.iterator))).then(function(W){try{c(W).done?(b.inner=null,B()):R(u(W.value,!1))}catch(H){M(H)}},M)}catch(W){M(W)}else B()};N()})});r({target:"AsyncIterator",proto:!0,real:!0,forced:p},{flatMap:function(b){return c(this),l(b),new y(o(this),{mapper:b,inner:null})}})},55844:function(d,v,e){"use strict";var r=e(94488),i=e(55266).forEach;r({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(c){return i(this,c)}})},71361:function(d,v,e){"use strict";var r=e(94488),i=e(94029),l=e(16332),c=e(38116),f=e(14052),o=e(80025),h=e(16697);r({target:"AsyncIterator",stat:!0,forced:h},{from:function(a){var x=c(typeof a=="string"?i(a):a);return l(f,x.iterator)?x.iterator:new o(x)}})},44550:function(d,v,e){"use strict";var r=e(94488),i=e(34535);r({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{indexed:i})},413:function(d,v,e){"use strict";var r=e(94488),i=e(41586),l=e(16697);r({target:"AsyncIterator",proto:!0,real:!0,forced:l},{map:i})},77464:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(63335),c=e(80449),f=e(31946),o=e(65911),h=e(10731),u=e(28255),a=o("Promise"),x=TypeError;r({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(y){c(this),l(y);var m=h(this),b=m.iterator,S=m.next,k=arguments.length<2,R=k?void 0:arguments[1],A=0;return new a(function(P,M){var B=function(G){u(b,M,G,M)},N=function(){try{a.resolve(c(i(S,b))).then(function(G){try{if(c(G).done)k?M(new x("Reduce of empty iterator with no initial value")):P(R);else{var W=G.value;if(k)k=!1,R=W,N();else try{var H=y(R,W,A),ae=function(ne){R=ne,N()};f(H)?a.resolve(H).then(ae,B):ae(H)}catch(ne){B(ne)}}A++}catch(ne){M(ne)}},M)}catch(G){M(G)}};N()})}})},77703:function(d,v,e){"use strict";var r=e(94488),i=e(55266).some;r({target:"AsyncIterator",proto:!0,real:!0},{some:function(c){return i(this,c)}})},93854:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(31342),u=e(25587),a=e(16697),x=h(function(p){var y=this,m=y.iterator,b;if(!y.remaining--){var S=u(void 0,!0);return y.done=!0,b=m.return,b!==void 0?p.resolve(i(b,m,void 0)).then(function(){return S}):S}return p.resolve(i(y.next,m)).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 m=o(f(+y));return new x(c(this),{remaining:m})}})},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),m=f(o(p),10,2);return u(this,y,m[1]<<8|m[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"),m=ReferenceError,b=a("dispose"),S=a("toStringTag"),k="DisposableStack",R=x.set,A=x.getterFor(k),P="sync-dispose",M="disposed",B="pending",N=function(H){var ae=A(H);if(ae.state===M)throw new m(k+" already disposed");return ae},G=function(){R(f(this,W),{type:k,state:B,stack:[]}),i||(this.disposed=!1)},W=G.prototype;h(W,{dispose:function(){var ae=A(this);if(ae.state!==M){ae.state=M,i||(this.disposed=!0);for(var ne=ae.stack,oe=ne.length,q=!1,J;oe;){var K=ne[--oe];ne[oe]=null;try{K()}catch(se){q?J=new y(se,J):(q=!0,J=se)}}if(ae.stack=null,q)throw J}},use:function(ae){return p(N(this),ae,P),ae},adopt:function(ae,ne){var oe=N(this);return c(ne),p(oe,void 0,P,function(){ne(ae)}),ae},defer:function(ae){var ne=N(this);c(ae),p(ne,void 0,P,ae)},move:function(){var ae=N(this),ne=new G;return A(ne).stack=ae.stack,ae.stack=[],ae.state=M,i||(this.disposed=!0),ne}}),i&&u(W,"disposed",{configurable:!0,get:function(){return A(this).state===M}}),o(W,b,W.dispose,{name:"dispose"}),o(W,S,k,{nonWritable:!0}),r({global:!0,constructor:!0},{DisposableStack:G})},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(m){}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,m=e(35454),b=e(16697),S="constructor",k="Iterator",R=p("toStringTag"),A=TypeError,P=i[k],M=b||!f(P)||P.prototype!==y||!a(function(){P({})}),B=function(){if(l(this,y),o(this)===y)throw new A("Abstract class Iterator not directly constructable")},N=function(G,W){m?h(y,G,{configurable:!0,get:function(){return W},set:function(H){if(c(this),this===y)throw new A("You can't redefine this property");x(this,G)?this[G]=H:u(this,G,H)}}):y[G]=W};x(y,R)||N(R,k),(M||!x(y,S)||y[S]===Object)&&N(S,B),B.prototype=y,r({global:!0,constructor:!0,forced:M},{Iterator:B})},46304:function(d,v,e){"use strict";var r=e(89945),i=e(2291),l=e(53776),c=e(32621),f=e(59893),o=e(46571).IteratorPrototype,h=f("dispose");c(o,h)||i(o,h,function(){var u=l(this,"return");u&&r(u,this)})},55163:function(d,v,e){"use strict";var r=e(94488),i=e(89945),l=e(80449),c=e(10731),f=e(2279),o=e(51358),h=e(20547),u=e(16697),a=h(function(){for(var x=this.iterator,p=this.next,y,m;this.remaining;)if(this.remaining--,y=l(i(p,x)),m=this.done=!!y.done,m)return;if(y=l(i(p,x)),m=this.done=!!y.done,!m)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,m,b,S;;){if(m=c(i(y,x)),b=this.done=!!m.done,b)return;if(S=m.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,m,b;;){if(b=this.inner)try{if(m=c(i(b.next,b.iterator)),!m.done)return m.value;this.inner=null}catch(S){u(p,"throw",S)}if(m=c(i(this.next,p)),this.done=!!m.done)return;try{this.inner=o(y(m.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(m){x?(x=!1,p=m):p=u(p,m,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)),m=this.done=!!y.done;if(!m)return y.value});r({target:"Iterator",proto:!0,real:!0,forced:a},{take:function(y){l(this);var m=o(f(+y));return new x(c(this),{remaining:m})}})},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),m=e(69392),b=e(3338),S=e(70913),k=e(42820),R=l.JSON,A=l.Number,P=l.SyntaxError,M=R&&R.parse,B=c("Object","keys"),N=Object.getOwnPropertyDescriptor,G=f("".charAt),W=f("".slice),H=f(/./.exec),ae=f([].push),ne=/^\d$/,oe=/^[1-9]$/,q=/^(?:-|\d)$/,J=/^[\t\n\r ]$/,K=0,se=1,ee=function(Pe,De){Pe=p(Pe);var Ze=new $(Pe,0,""),Ne=Ze.parse(),Bt=Ne.value,yt=Ze.skip(J,Ne.end);if(yt<Pe.length)throw new P('Unexpected extra character: "'+G(Pe,yt)+'" after the parsed data at: '+yt);return h(De)?Q({"":Bt},"",De,Ne):Bt},Q=function(Pe,De,Ze,Ne){var Bt=Pe[De],yt=Ne&&Bt===Ne.value,It=yt&&typeof Ne.source=="string"?{source:Ne.source}:{},rr,Yt,ur,We,Pt;if(u(Bt)){var zt=a(Bt),nt=yt?Ne.nodes:zt?[]:{};if(zt)for(rr=nt.length,ur=y(Bt),We=0;We<ur;We++)le(Bt,We,Q(Bt,""+We,Ze,We<rr?nt[We]:void 0));else for(Yt=B(Bt),ur=y(Yt),We=0;We<ur;We++)Pt=Yt[We],le(Bt,Pt,Q(Bt,Pt,Ze,x(nt,Pt)?nt[Pt]:void 0))}return o(Ze,Pe,De,Bt,It)},le=function(Pe,De,Ze){if(i){var Ne=N(Pe,De);if(Ne&&!Ne.configurable)return}Ze===void 0?delete Pe[De]:m(Pe,De,Ze)},z=function(Pe,De,Ze,Ne){this.value=Pe,this.end=De,this.source=Ze,this.nodes=Ne},$=function(Pe,De){this.source=Pe,this.index=De};$.prototype={fork:function(Pe){return new $(this.source,Pe)},parse:function(){var Pe=this.source,De=this.skip(J,this.index),Ze=this.fork(De),Ne=G(Pe,De);if(H(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 P('Unexpected character: "'+Ne+'" at: '+De)},node:function(Pe,De,Ze,Ne,Bt){return new z(De,Ne,Pe?null:W(this.source,Ze,Ne),Bt)},object:function(){for(var Pe=this.source,De=this.index+1,Ze=!1,Ne={},Bt={};De<Pe.length;){if(De=this.until(['"',"}"],De),G(Pe,De)==="}"&&!Ze){De++;break}var yt=this.fork(De).string(),It=yt.value;De=yt.end,De=this.until([":"],De)+1,De=this.skip(J,De),yt=this.fork(De).parse(),m(Bt,It,yt),m(Ne,It,yt.value),De=this.until([",","}"],yt.end);var rr=G(Pe,De);if(rr===",")Ze=!0,De++;else if(rr==="}"){De++;break}}return this.node(se,Ne,this.index,De,Bt)},array:function(){for(var Pe=this.source,De=this.index+1,Ze=!1,Ne=[],Bt=[];De<Pe.length;){if(De=this.skip(J,De),G(Pe,De)==="]"&&!Ze){De++;break}var yt=this.fork(De).parse();if(ae(Bt,yt),ae(Ne,yt.value),De=this.until([",","]"],yt.end),G(Pe,De)===",")Ze=!0,De++;else if(G(Pe,De)==="]"){De++;break}}return this.node(se,Ne,this.index,De,Bt)},string:function(){var Pe=this.index,De=S(this.source,this.index+1);return this.node(K,De.value,Pe,De.end)},number:function(){var Pe=this.source,De=this.index,Ze=De;if(G(Pe,Ze)==="-"&&Ze++,G(Pe,Ze)==="0")Ze++;else if(H(oe,G(Pe,Ze)))Ze=this.skip(ne,++Ze);else throw new P("Failed to parse number at: "+Ze);if(G(Pe,Ze)==="."&&(Ze=this.skip(ne,++Ze)),G(Pe,Ze)==="e"||G(Pe,Ze)==="E"){Ze++,(G(Pe,Ze)==="+"||G(Pe,Ze)==="-")&&Ze++;var Ne=Ze;if(Ze=this.skip(ne,Ze),Ne===Ze)throw new P("Failed to parse number's exponent value at: "+Ze)}return this.node(K,A(W(Pe,De,Ze)),De,Ze)},keyword:function(Pe){var De=""+Pe,Ze=this.index,Ne=Ze+De.length;if(W(this.source,Ze,Ne)!==De)throw new P("Failed to parse value at: "+Ze);return this.node(K,Pe,Ze,Ne)},skip:function(Pe,De){for(var Ze=this.source;De<Ze.length&&H(Pe,G(Ze,De));De++);return De},until:function(Pe,De){De=this.skip(J,De);for(var Ze=G(this.source,De),Ne=0;Ne<Pe.length;Ne++)if(Pe[Ne]===Ze)return De;throw new P('Unexpected character: "'+Ze+'" at: '+De)}};var ie=b(function(){var Pe="9007199254740993",De;return M(Pe,function(Ze,Ne,Bt){De=Bt.source}),De!==Pe}),me=k&&!b(function(){return 1/M("-0 ")!==-1/0});r({target:"JSON",stat:!0,forced:ie},{parse:function(De,Ze){return me&&!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),m=e(6145),b=e(94844).set,S=String,k=SyntaxError,R=c("JSON","parse"),A=c("JSON","stringify"),P=c("Object","create"),M=c("Object","freeze"),B=o("".charAt),N=o("".slice),G=o(/./.exec),W=o([].push),H=m(),ae=H.length,ne="Unacceptable as raw JSON",oe=/^[\t\n\r ]$/;r({target:"JSON",stat:!0,forced:!l},{rawJSON:function(J){var K=a(J);if(K===""||G(oe,B(K,0))||G(oe,B(K,K.length-1)))throw new k(ne);var se=R(K);if(typeof se=="object"&&se!==null)throw new k(ne);var ee=P(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,se){var ee=y(K),Q=[],le=A(J,function(Ze,Ne){var Bt=h(ee)?f(ee,this,S(Ze),Ne):Ne;return u(Bt)?H+(W(Q,Bt.rawJSON)-1):Bt},se);if(typeof le!="string")return le;for(var z="",$=le.length,ie=0;ie<$;ie++){var me=B(le,ie);if(me==='"'){var Pe=p(le,++ie).end-1,De=N(le,ie,Pe);z+=N(De,0,ae)===H?Q[N(De,ae)]:'"'+De+'"',ie=Pe}else z+=me}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(m,b){p(m,b,x)&&h(y,b,m)}),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(m){i(y,p,a(m),m)}),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(m,b){h(y,p(m,b,x),m)}),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(m,b){h(y,b,p(m,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),m=arguments.length;i(p);var b=h(y,x);if(!b&&m<3)throw new f("Updating absent value");var S=b?o(y,x):i(m>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,m=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 m(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),m=i(p.exec),b=i(1 .toString),S=i("".slice),k=i("".split);r({target:"Number",stat:!0,forced:!0},{fromString:function(A,P){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=P===void 0?10:l(P);if(B<2||B>36)throw new o(f);if(!m(p,A))throw new h(c);var N=k(A,"."),G=a(N[0],B);if(N.length>1&&(G+=a(N[1],B)/x(B,N[1].length)),B===10&&b(G,B)!==A)throw new h(c);return M*G}})},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),m=e(66477),b=e(64110),S=e(61810),k=e(59893),R=e(94844),A=k("observable"),P="Observable",M="Subscription",B="SubscriptionObserver",N=R.getterFor,G=R.set,W=N(P),H=N(M),ae=N(B),ne=function(se){this.observer=o(se),this.cleanup=void 0,this.subscriptionObserver=void 0};ne.prototype={type:M,clean:function(){var se=this.cleanup;if(se){this.cleanup=void 0;try{se()}catch(ee){S(ee)}}},close:function(){if(!l){var se=this.facade,ee=this.subscriptionObserver;se.closed=!0,ee&&(ee.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var oe=function(se,ee){var Q=G(this,new ne(se)),le;l||(this.closed=!1);try{(le=p(se,"start"))&&i(le,se,this)}catch(me){S(me)}if(!Q.isClosed()){var z=Q.subscriptionObserver=new q(Q);try{var $=ee(z),ie=$;a($)||(Q.cleanup=u($.unsubscribe)?function(){ie.unsubscribe()}:f($))}catch(me){z.error(me);return}Q.isClosed()&&Q.clean()}};oe.prototype=m({},{unsubscribe:function(){var ee=H(this);ee.isClosed()||(ee.close(),ee.clean())}}),l&&b(oe.prototype,"closed",{configurable:!0,get:function(){return H(this).isClosed()}});var q=function(se){G(this,{type:B,subscriptionState:se}),l||(this.closed=!1)};q.prototype=m({},{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),G(this,{type:P,subscriber:f(ee)})},K=J.prototype;m(K,{subscribe:function(ee){var Q=arguments.length;return new oe(u(ee)?{next:ee,error:Q>1?arguments[1]:void 0,complete:Q>2?arguments[2]:void 0}:x(ee)?ee:{},W(this).subscriber)}}),y(K,A,function(){return this}),r({global:!0,constructor:!0,forced:!0},{Observable:J}),c(P)},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 m=f(this)?this:i("Observable"),b=h(c(y),x);if(b){var S=c(l(b,y));return S.constructor===m?S:new m(function(R){return S.subscribe(R)})}var k=o(y);return new m(function(R){u(k,function(A,P){if(R.next(A),R.closed)return P()},{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,m){var b=a(y,m),S=f(y);if(S===null)return b;var k=p(S,m);return k.length?b.length?h(u(b,k)):k:b};r({target:"Reflect",stat:!0},{getMetadataKeys:function(m){var b=arguments.length<2?void 0:x(arguments[1]);return p(c(m),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 m=c(x);return m!==null?u(a,m,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(m){p(m,m,x)&&h(y,m)}),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(m){h(y,m)}),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(m){h(y,p(m,m,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),m=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 m(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),m=e(67410),b=e(79204),S=e(19268),k=new y.WeakMap,R=y.get,A=y.has,P=y.set,M=Array,B=TypeError,N=Object.freeze||Object,G=Object.isFrozen,W=Math.min,H=c("".charAt),ae=c("".slice),ne=c("".split),oe=c(/./.exec),q=/([\n\u2028\u2029]|\r\n?)/g,J=RegExp("^["+S+"]*"),K=RegExp("[^"+S+"]"),se="Invalid tag",ee="Invalid opening line",Q="Invalid closing line",le=function(De){var Ze=De.raw;if(r&&!G(Ze))throw new B("Raw template should be frozen");if(A(k,Ze))return R(k,Ze);var Ne=z(Ze),Bt=ie(Ne);return x(Bt,"raw",{value:N(Ne)}),N(Bt),P(k,Ze,Bt),Bt},z=function(De){var Ze=h(De),Ne=a(Ze),Bt=M(Ne),yt=M(Ne),It=0,rr,Yt,ur,We;if(!Ne)throw new B(se);for(;It<Ne;It++){var Pt=Ze[It];if(typeof Pt=="string")Bt[It]=ne(Pt,q);else throw new B(se)}for(It=0;It<Ne;It++){var zt=It+1===Ne;if(rr=Bt[It],It===0){if(rr.length===1||rr[0].length>0)throw new B(ee);rr[1]=""}if(zt){if(rr.length===1||oe(K,rr[rr.length-1]))throw new B(Q);rr[rr.length-2]="",rr[rr.length-1]=""}for(var nt=2;nt<rr.length;nt+=2){var Et=rr[nt],ht=nt+1===rr.length&&!zt,Je=oe(J,Et)[0];if(!ht&&Je.length===Et.length){rr[nt]="";continue}Yt=$(Je,Yt)}}var Ue=Yt?Yt.length:0;for(It=0;It<Ne;It++){for(rr=Bt[It],ur=rr[0],We=1;We<rr.length;We+=2)ur+=rr[We]+ae(rr[We+1],Ue);yt[It]=ur}return yt},$=function(De,Ze){if(Ze===void 0||De===Ze)return De;for(var Ne=0,Bt=W(De.length,Ze.length);Ne<Bt&&H(De,Ne)===H(Ze,Ne);Ne++);return ae(De,0,Ne)},ie=function(De){for(var Ze=0,Ne=De.length,Bt=M(Ne);Ze<Ne;Ze++)Bt[Ze]=b(De[Ze]);return Bt},me=function(De){return l(function(Ze){var Ne=p(arguments);return Ne[0]=le(o(Ze)),f(De,this,Ne)},"")},Pe=me(m);i({target:"String",stat:!0,forced:!0},{dedent:function(Ze){return o(Ze),u(Ze)?me(Ze):f(Pe,this,arguments)}})},14800:function(d,v,e){"use strict";var r=e(94488),i=e(16332),l=e(53456),c=e(58218),f=e(24538),o=e(20132),h=e(68151),u=e(35012),a=e(61888),x=e(7825),p=e(59893),y=p("toStringTag"),m=Error,b=function(R,A,P){var M=i(S,this),B;return c?B=c(new m,M?l(this):S):(B=M?this:o(S),h(B,y,"Error")),P!==void 0&&h(B,"message",x(P)),a(B,b,B.stack,1),h(B,"error",R),h(B,"suppressed",A),B};c?c(b,m):f(b,m,{name:!0});var S=b.prototype=o(m.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,m=p>2?arguments[2]:void 0;return new(r("Promise"))(function(b){i(x),b(l(a,y,m))}).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,m=!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),P=i(R),M=c(S,P),B=arguments.length,N=0,G,W,H,ae,ne,oe,q;if(B===0)G=W=0;else if(B===1)G=0,W=P-M;else if(W=y(p(o(k),0),P-M),G=B-2,G){ae=new A(G),H=l(ae);for(var J=2;J<B;J++)ne=arguments[J],ae[J-2]=H?f(ne):+ne}for(oe=P+G-W,q=new A(oe);N<M;N++)q[N]=R[N];for(;N<M+G;N++)q[N]=ae[N-M];for(;N<oe;N++)q[N]=R[N+W-G];return q},!m)},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,m=i.SyntaxError,b=l("".charAt),S=l("".replace),k=l("".slice),R=l([].push),A=/[\t\n\f\r ]/g,P="Extra bits";y&&r({target:"Uint8Array",stat:!0,forced:!0},{fromBase64:function(B){f(B);var N=arguments.length>1?c(arguments[1]):void 0,G=a(N)==="base64"?x:p,W=N?!!N.strict:!1,H=W?B:S(B,A,"");if(H.length%4===0)k(H,-2)==="=="?H=k(H,0,-2):k(H,-1)==="="&&(H=k(H,0,-1));else if(W)throw new m("Input is not correctly padded");var ae=H.length%4;switch(ae){case 1:throw new m("Bad input length");case 2:H+="AA";break;case 3:H+="A"}for(var ne=[],oe=0,q=H.length,J=function(ee){var Q=b(H,oe+ee);if(!o(G,Q))throw new m('Bad char in input: "'+Q+'"');return G[Q]<<18-6*ee};oe<q;oe+=4){var K=J(0)+J(1)+J(2)+J(3);R(ne,K>>16&255,K>>8&255,K&255)}var se=ne.length;if(ae===2){if(W&&ne[se-2]!==0)throw new m(P);se-=2}else if(ae===3){if(W&&ne[se-1]!==0)throw new m(P);se--}return h(y,ne,se)}})},57151:function(d,v,e){"use strict";var r=e(94488),i=e(92916),l=e(94237),c=e(79606),f=i.Uint8Array,o=i.SyntaxError,h=i.parseInt,u=/[^\da-f]/i,a=l(u.exec),x=l("".slice);f&&r({target:"Uint8Array",stat:!0,forced:!0},{fromHex:function(y){c(y);var m=y.length;if(m%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(m/2),S=0;S<m;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 m=f(this),b=arguments.length?c(arguments[0]):void 0,S=h(b)==="base64"?u:a,k="",R=0,A=m.length,P,M=function(B){return p(S,P>>6*B&63)};R+2<A;R+=3)P=(m[R]<<16)+(m[R+1]<<8)+m[R+2],k+=M(3)+M(2)+M(1)+M(0);return R+2===A?(P=(m[R]<<16)+(m[R+1]<<8),k+=M(3)+M(2)+M(1)+"="):R+1===A&&(P=m[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}$/,m=l("atob"),b=String.fromCharCode,S=c("".charAt),k=c("".replace),R=c(x.exec),A=!!m&&!o(function(){return m("aGk=")!=="hi"}),P=A&&o(function(){return m(" ")!==""}),M=A&&!o(function(){m("a")}),B=A&&!o(function(){m()}),N=A&&m.length!==1,G=!A||P||M||B||N;r({global:!0,bind:!0,enumerable:!0,forced:G},{atob:function(H){if(u(arguments.length,1),A&&!P&&!M)return f(m,i,H);var ae=k(h(H),p,""),ne="",oe=0,q=0,J,K,se;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(;oe<J;)K=S(ae,oe++),se=q%4?se*64+a[K]:a[K],q++%4&&(ne+=b(255&se>>(-2*q&6)));return ne}})},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),m=!!x&&!o(function(){return x("hi")!=="aGk="}),b=m&&!o(function(){x()}),S=m&&o(function(){return x(null)!=="bnVsbA=="}),k=m&&x.length!==1;r({global:!0,bind:!0,enumerable:!0,forced:!m||b||S||k},{btoa:function(A){if(u(arguments.length,1),m)return f(x,i,h(A));for(var P=h(A),M="",B=0,N=a,G,W;p(P,B)||(N="=",B%1);){if(W=y(P,B+=.75),W>255)throw new(l("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");G=G<<8|W,M+=p(N,63&G>>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,m){if(y){if(y[u]!==a)try{f(y,u,a)}catch(S){y[u]=a}if(o(y,m,!0),i[m]){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),m=e(13367),b=e(7825),S=e(52109),k=e(80739),R=e(94844),A=e(35454),P=e(16697),M="DOMException",B="DATA_CLONE_ERR",N=l("Error"),G=l(M)||function(){try{var yt=l("MessageChannel")||i("worker_threads").MessageChannel;new yt().port1.postMessage(new WeakMap)}catch(It){if(It.name===B&&It.code===25)return It.constructor}}(),W=G&&G.prototype,H=N.prototype,ae=R.set,ne=R.getterFor(M),oe="stack"in new N(M),q=function(yt){return x(S,yt)&&S[yt].m?S[yt].c:0},J=function(){p(this,K);var It=arguments.length,rr=b(It<1?void 0:arguments[0]),Yt=b(It<2?void 0:arguments[1],"Error"),ur=q(Yt);if(ae(this,{type:M,name:Yt,message:rr,code:ur}),A||(this.name=Yt,this.message=rr,this.code=ur),oe){var We=new N(rr);We.name=M,h(this,"stack",o(1,k(We.stack,1)))}},K=J.prototype=f(H),se=function(yt){return{enumerable:!0,configurable:!0,get:yt}},ee=function(yt){return se(function(){return ne(this)[yt]})};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 G instanceof N)}),le=Q||c(function(){return H.toString!==m||String(new G(1,2))!=="2: 1"}),z=Q||c(function(){return new G(1,"DataCloneError").code!==25}),$=Q||G[B]!==25||W[B]!==25,ie=P?le||z||$:Q;r({global:!0,constructor:!0,forced:ie},{DOMException:ie?J:G});var me=l(M),Pe=me.prototype;le&&(P||G===me)&&u(Pe,"toString",m),z&&A&&G===me&&a(Pe,"code",se(function(){return q(y(this).name)}));for(var De in S)if(x(S,De)){var Ze=S[De],Ne=Ze.s,Bt=o(6,Ze.c);x(me,Ne)||h(me,Ne,Bt),x(Pe,Ne)||h(Pe,Ne,Bt)}},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),m=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]),se=a(J<2?void 0:arguments[1],"Error"),ee=new k(K,se),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,P="stack"in new S(b),M="stack"in new k(1,2),B=k&&y&&Object.getOwnPropertyDescriptor(i,b),N=!!B&&!(B.writable&&B.configurable),G=P&&!N&&!M;r({global:!0,constructor:!0,forced:m||G},{DOMException:G?R:k});var W=l(b),H=W.prototype;if(H.constructor!==W){m||f(H,"constructor",c(1,W));for(var ae in x)if(o(x,ae)){var ne=x[ae],oe=ne.s;o(W,oe)||f(W,oe,c(6,ne.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),m=e(62003),b=e(80449),S=e(97607),k=e(32621),R=e(69392),A=e(68151),P=e(82762),M=e(57106),B=e(81644),N=e(2786),G=e(19691),W=e(57002),H=e(39311),ae=e(25406),ne=e(80426),oe=l.Object,q=l.Array,J=l.Date,K=l.Error,se=l.TypeError,ee=l.PerformanceMark,Q=c("DOMException"),le=N.Map,z=N.has,$=N.get,ie=N.set,me=G.Set,Pe=G.add,De=G.has,Ze=c("Object","keys"),Ne=f([].push),Bt=f((!0).valueOf),yt=f(1 .valueOf),It=f("".valueOf),rr=f(J.prototype.getTime),Yt=h("structuredClone"),ur="DataCloneError",We="Transferring",Pt=function(Ae){return!o(function(){var qe=new l.Set([7]),Vt=Ae(qe),kt=Ae(oe(7));return Vt===qe||!Vt.has(7)||!p(kt)||+kt!=7})&&Ae},zt=function(Ae,qe){return!o(function(){var Vt=new qe,kt=Ae({a:Vt,b:Vt});return!(kt&&kt.a===kt.b&&kt.a instanceof qe&&kt.a.stack===Vt.stack)})},nt=function(Ae){return!o(function(){var qe=Ae(new l.AggregateError([1],Yt,{cause:3}));return qe.name!=="AggregateError"||qe.errors[0]!==1||qe.message!==Yt||qe.cause!==3})},Et=l.structuredClone,ht=r||!zt(Et,K)||!zt(Et,Q)||!nt(Et),Je=!Et&&Pt(function(Ae){return new ee(Yt,{detail:Ae}).detail}),Ue=Pt(Et)||Je,ge=function(Ae){throw new Q("Uncloneable type: "+Ae,ur)},Se=function(Ae,qe){throw new Q((qe||"Cloning")+" of "+Ae+" cannot be properly polyfilled in this engine",ur)},Le=function(Ae,qe){return Ue||Se(qe),Ue(Ae)},je=function(){var Ae;try{Ae=new l.DataTransfer}catch(qe){try{Ae=new l.ClipboardEvent("").clipboardData}catch(Vt){}}return Ae&&Ae.items&&Ae.files?Ae:null},He=function(Ae,qe,Vt){if(z(qe,Ae))return $(qe,Ae);var kt=Vt||S(Ae),Ht,$t,Tt,Xt,Ge,ce;if(kt==="SharedArrayBuffer")Ue?Ht=Ue(Ae):Ht=Ae;else{var pe=l.DataView;!pe&&!u(Ae.slice)&&Se("ArrayBuffer");try{if(u(Ae.slice)&&!Ae.resizable)Ht=Ae.slice(0);else for($t=Ae.byteLength,Tt=("maxByteLength"in Ae)?{maxByteLength:Ae.maxByteLength}:void 0,Ht=new ArrayBuffer($t,Tt),Xt=new pe(Ae),Ge=new pe(Ht),ce=0;ce<$t;ce++)Ge.setUint8(ce,Xt.getUint8(ce))}catch(Dt){throw new Q("ArrayBuffer is detached",ur)}}return ie(qe,Ae,Ht),Ht},rt=function(Ae,qe,Vt,kt,Ht){var $t=l[qe];return p($t)||Se(qe),new $t(He(Ae.buffer,Ht),Vt,kt)},lt=function(Ae,qe){if(y(Ae)&&ge("Symbol"),!p(Ae))return Ae;if(qe){if(z(qe,Ae))return $(qe,Ae)}else qe=new le;var Vt=S(Ae),kt,Ht,$t,Tt,Xt,Ge,ce,pe;switch(Vt){case"Array":$t=q(P(Ae));break;case"Object":$t={};break;case"Map":$t=new le;break;case"Set":$t=new me;break;case"RegExp":$t=new RegExp(Ae.source,B(Ae));break;case"Error":switch(Ht=Ae.name,Ht){case"AggregateError":$t=new(c(Ht))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":$t=new(c(Ht));break;case"CompileError":case"LinkError":case"RuntimeError":$t=new(c("WebAssembly",Ht));break;default:$t=new K}break;case"DOMException":$t=new Q(Ae.message,Ae.name);break;case"ArrayBuffer":case"SharedArrayBuffer":$t=He(Ae,qe,Vt);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":Ge=Vt==="DataView"?Ae.byteLength:Ae.length,$t=rt(Ae,Vt,Ae.byteOffset,Ge,qe);break;case"DOMQuad":try{$t=new DOMQuad(lt(Ae.p1,qe),lt(Ae.p2,qe),lt(Ae.p3,qe),lt(Ae.p4,qe))}catch(Dt){$t=Le(Ae,Vt)}break;case"File":if(Ue)try{$t=Ue(Ae),S($t)!==Vt&&($t=void 0)}catch(Dt){}if(!$t)try{$t=new File([Ae],Ae.name,Ae)}catch(Dt){}$t||Se(Vt);break;case"FileList":if(Tt=je(),Tt){for(Xt=0,Ge=P(Ae);Xt<Ge;Xt++)Tt.items.add(lt(Ae[Xt],qe));$t=Tt.files}else $t=Le(Ae,Vt);break;case"ImageData":try{$t=new ImageData(lt(Ae.data,qe),Ae.width,Ae.height,{colorSpace:Ae.colorSpace})}catch(Dt){$t=Le(Ae,Vt)}break;default:if(Ue)$t=Ue(Ae);else switch(Vt){case"BigInt":$t=oe(Ae.valueOf());break;case"Boolean":$t=oe(Bt(Ae));break;case"Number":$t=oe(yt(Ae));break;case"String":$t=oe(It(Ae));break;case"Date":$t=new J(rr(Ae));break;case"Blob":try{$t=Ae.slice(0,Ae.size,Ae.type)}catch(Dt){Se(Vt)}break;case"DOMPoint":case"DOMPointReadOnly":kt=l[Vt];try{$t=kt.fromPoint?kt.fromPoint(Ae):new kt(Ae.x,Ae.y,Ae.z,Ae.w)}catch(Dt){Se(Vt)}break;case"DOMRect":case"DOMRectReadOnly":kt=l[Vt];try{$t=kt.fromRect?kt.fromRect(Ae):new kt(Ae.x,Ae.y,Ae.width,Ae.height)}catch(Dt){Se(Vt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":kt=l[Vt];try{$t=kt.fromMatrix?kt.fromMatrix(Ae):new kt(Ae)}catch(Dt){Se(Vt)}break;case"AudioData":case"VideoFrame":u(Ae.clone)||Se(Vt);try{$t=Ae.clone()}catch(Dt){ge(Vt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":Se(Vt);default:ge(Vt)}}switch(ie(qe,Ae,$t),Vt){case"Array":case"Object":for(ce=Ze(Ae),Xt=0,Ge=P(ce);Xt<Ge;Xt++)pe=ce[Xt],R($t,pe,lt(Ae[pe],qe));break;case"Map":Ae.forEach(function(Dt,Ce){ie($t,lt(Ce,qe),lt(Dt,qe))});break;case"Set":Ae.forEach(function(Dt){Pe($t,lt(Dt,qe))});break;case"Error":A($t,"message",lt(Ae.message,qe)),k(Ae,"cause")&&A($t,"cause",lt(Ae.cause,qe)),Ht==="AggregateError"?$t.errors=lt(Ae.errors,qe):Ht==="SuppressedError"&&($t.error=lt(Ae.error,qe),$t.suppressed=lt(Ae.suppressed,qe));case"DOMException":ae&&A($t,"stack",lt(Ae.stack,qe))}return $t},Kt=function(Ae,qe){if(!p(Ae))throw new se("Transfer option cannot be converted to a sequence");var Vt=[];m(Ae,function(Ce){Ne(Vt,b(Ce))});for(var kt=0,Ht=P(Vt),$t=new me,Tt,Xt,Ge,ce,pe,Dt;kt<Ht;){if(Tt=Vt[kt++],Xt=S(Tt),Xt==="ArrayBuffer"?De($t,Tt):z(qe,Tt))throw new Q("Duplicate transferable",ur);if(Xt==="ArrayBuffer"){Pe($t,Tt);continue}if(ne)ce=Et(Tt,{transfer:[Tt]});else switch(Xt){case"ImageBitmap":Ge=l.OffscreenCanvas,a(Ge)||Se(Xt,We);try{pe=new Ge(Tt.width,Tt.height),Dt=pe.getContext("bitmaprenderer"),Dt.transferFromImageBitmap(Tt),ce=pe.transferToImageBitmap()}catch(Ce){}break;case"AudioData":case"VideoFrame":(!u(Tt.clone)||!u(Tt.close))&&Se(Xt,We);try{ce=Tt.clone(),Tt.close()}catch(Ce){}break;case"MediaSourceHandle":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":Se(Xt,We)}if(ce===void 0)throw new Q("This object cannot be transferred: "+Xt,ur);ie(qe,Tt,ce)}return $t},Wt=function(Ae){W(Ae,function(qe){ne?Ue(qe,{transfer:[qe]}):u(qe.transfer)?qe.transfer():H?H(qe):Se("ArrayBuffer",We)})};i({global:!0,enumerable:!0,sham:!ne,forced:ht},{structuredClone:function(qe){var Vt=M(arguments.length,1)>1&&!x(arguments[1])?b(arguments[1]):void 0,kt=Vt?Vt.transfer:void 0,Ht,$t;kt!==void 0&&(Ht=new le,$t=Kt(kt,Ht));var Tt=lt(qe,Ht);return $t&&Wt($t),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),m=e(56472),b=e(55327),S=e(32621),k=e(80666),R=e(97607),A=e(80449),P=e(31946),M=e(69905),B=e(20132),N=e(35012),G=e(85428),W=e(26006),H=e(25587),ae=e(57106),ne=e(59893),oe=e(63668),q=ne("iterator"),J="URLSearchParams",K=J+"Iterator",se=y.set,ee=y.getterFor(J),Q=y.getterFor(K),le=Object.getOwnPropertyDescriptor,z=function(Ht){if(!f)return i[Ht];var $t=le(i,Ht);return $t&&$t.value},$=z("fetch"),ie=z("Request"),me=z("Headers"),Pe=ie&&ie.prototype,De=me&&me.prototype,Ze=i.RegExp,Ne=i.TypeError,Bt=i.decodeURIComponent,yt=i.encodeURIComponent,It=c("".charAt),rr=c([].join),Yt=c([].push),ur=c("".replace),We=c([].shift),Pt=c([].splice),zt=c("".split),nt=c("".slice),Et=/\+/g,ht=Array(4),Je=function(Ht){return ht[Ht-1]||(ht[Ht-1]=Ze("((?:%[\\da-f]{2}){"+Ht+"})","gi"))},Ue=function(Ht){try{return Bt(Ht)}catch($t){return Ht}},ge=function(Ht){var $t=ur(Ht,Et," "),Tt=4;try{return Bt($t)}catch(Xt){for(;Tt;)$t=ur($t,Je(Tt--),Ue);return $t}},Se=/[!'()~]|%20/g,Le={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},je=function(Ht){return Le[Ht]},He=function(Ht){return ur(yt(Ht),Se,je)},rt=p(function($t,Tt){se(this,{type:K,target:ee($t).entries,index:0,kind:Tt})},J,function(){var $t=Q(this),Tt=$t.target,Xt=$t.index++;if(!Tt||Xt>=Tt.length)return $t.target=void 0,H(void 0,!0);var Ge=Tt[Xt];switch($t.kind){case"keys":return H(Ge.key,!1);case"values":return H(Ge.value,!1)}return H([Ge.key,Ge.value],!1)},!0),lt=function(Ht){this.entries=[],this.url=null,Ht!==void 0&&(P(Ht)?this.parseObject(Ht):this.parseQuery(typeof Ht=="string"?It(Ht,0)==="?"?nt(Ht,1):Ht:M(Ht)))};lt.prototype={type:J,bindURL:function(Ht){this.url=Ht,this.update()},parseObject:function(Ht){var $t=this.entries,Tt=W(Ht),Xt,Ge,ce,pe,Dt,Ce,ct;if(Tt)for(Xt=G(Ht,Tt),Ge=Xt.next;!(ce=l(Ge,Xt)).done;){if(pe=G(A(ce.value)),Dt=pe.next,(Ce=l(Dt,pe)).done||(ct=l(Dt,pe)).done||!l(Dt,pe).done)throw new Ne("Expected sequence with length 2");Yt($t,{key:M(Ce.value),value:M(ct.value)})}else for(var Zt in Ht)S(Ht,Zt)&&Yt($t,{key:Zt,value:M(Ht[Zt])})},parseQuery:function(Ht){if(Ht)for(var $t=this.entries,Tt=zt(Ht,"&"),Xt=0,Ge,ce;Xt<Tt.length;)Ge=Tt[Xt++],Ge.length&&(ce=zt(Ge,"="),Yt($t,{key:ge(We(ce)),value:ge(rr(ce,"="))}))},serialize:function(){for(var Ht=this.entries,$t=[],Tt=0,Xt;Tt<Ht.length;)Xt=Ht[Tt++],Yt($t,He(Xt.key)+"="+He(Xt.value));return rr($t,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Kt=function(){m(this,Wt);var $t=arguments.length>0?arguments[0]:void 0,Tt=se(this,new lt($t));f||(this.size=Tt.entries.length)},Wt=Kt.prototype;if(a(Wt,{append:function($t,Tt){var Xt=ee(this);ae(arguments.length,2),Yt(Xt.entries,{key:M($t),value:M(Tt)}),f||this.length++,Xt.updateURL()},delete:function(Ht){for(var $t=ee(this),Tt=ae(arguments.length,1),Xt=$t.entries,Ge=M(Ht),ce=Tt<2?void 0:arguments[1],pe=ce===void 0?ce:M(ce),Dt=0;Dt<Xt.length;){var Ce=Xt[Dt];if(Ce.key===Ge&&(pe===void 0||Ce.value===pe)){if(Pt(Xt,Dt,1),pe!==void 0)break}else Dt++}f||(this.size=Xt.length),$t.updateURL()},get:function($t){var Tt=ee(this).entries;ae(arguments.length,1);for(var Xt=M($t),Ge=0;Ge<Tt.length;Ge++)if(Tt[Ge].key===Xt)return Tt[Ge].value;return null},getAll:function($t){var Tt=ee(this).entries;ae(arguments.length,1);for(var Xt=M($t),Ge=[],ce=0;ce<Tt.length;ce++)Tt[ce].key===Xt&&Yt(Ge,Tt[ce].value);return Ge},has:function($t){for(var Tt=ee(this).entries,Xt=ae(arguments.length,1),Ge=M($t),ce=Xt<2?void 0:arguments[1],pe=ce===void 0?ce:M(ce),Dt=0;Dt<Tt.length;){var Ce=Tt[Dt++];if(Ce.key===Ge&&(pe===void 0||Ce.value===pe))return!0}return!1},set:function($t,Tt){var Xt=ee(this);ae(arguments.length,1);for(var Ge=Xt.entries,ce=!1,pe=M($t),Dt=M(Tt),Ce=0,ct;Ce<Ge.length;Ce++)ct=Ge[Ce],ct.key===pe&&(ce?Pt(Ge,Ce--,1):(ce=!0,ct.value=Dt));ce||Yt(Ge,{key:pe,value:Dt}),f||(this.size=Ge.length),Xt.updateURL()},sort:function(){var $t=ee(this);oe($t.entries,function(Tt,Xt){return Tt.key>Xt.key?1:-1}),$t.updateURL()},forEach:function($t){for(var Tt=ee(this).entries,Xt=k($t,arguments.length>1?arguments[1]:void 0),Ge=0,ce;Ge<Tt.length;)ce=Tt[Ge++],Xt(ce.value,ce.key,this)},keys:function(){return new rt(this,"keys")},values:function(){return new rt(this,"values")},entries:function(){return new rt(this,"entries")}},{enumerable:!0}),h(Wt,q,Wt.entries,{name:"entries"}),h(Wt,"toString",function(){return ee(this).serialize()},{enumerable:!0}),f&&u(Wt,"size",{get:function(){return ee(this).entries.length},configurable:!0,enumerable:!0}),x(Kt,J),r({global:!0,constructor:!0,forced:!o},{URLSearchParams:Kt}),!o&&b(me)){var Ae=c(De.has),qe=c(De.set),Vt=function(Ht){if(P(Ht)){var $t=Ht.body,Tt;if(R($t)===J)return Tt=Ht.headers?new me(Ht.headers):new me,Ae(Tt,"content-type")||qe(Tt,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),B(Ht,{body:N(0,M($t)),headers:N(0,Tt)})}return Ht};if(b($)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function($t){return $($t,arguments.length>1?Vt(arguments[1]):{})}}),b(ie)){var kt=function($t){return m(this,Pe),new ie($t,arguments.length>1?Vt(arguments[1]):{})};Pe.constructor=kt,kt.prototype=Pe,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:kt})}}d.exports={URLSearchParams:Kt,getState:ee}},4890:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.append),u=i(o.delete),a=i(o.forEach),x=i([].push),p=new f("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&r(o,"delete",function(y){var m=arguments.length,b=m<2?void 0:arguments[1];if(m&&b===void 0)return u(this,y);var S=[];a(this,function(G,W){x(S,{key:W,value:G})}),c(m,1);for(var k=l(y),R=l(b),A=0,P=0,M=!1,B=S.length,N;A<B;)N=S[A++],M||N.key===k?(M=!0,u(this,N.key)):P++;for(;P<B;)N=S[P++],N.key===k&&N.value===R||h(this,N.key,N.value)},{enumerable:!0,unsafe:!0})},5340:function(d,v,e){"use strict";var r=e(2291),i=e(94237),l=e(69905),c=e(57106),f=URLSearchParams,o=f.prototype,h=i(o.getAll),u=i(o.has),a=new f("a=1");(a.has("a",2)||!a.has("a",void 0))&&r(o,"has",function(p){var y=arguments.length,m=y<2?void 0:arguments[1];if(y&&m===void 0)return u(this,p);var b=h(this,p);c(y,1);for(var S=l(m),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),m=p<2||arguments[1]===void 0?void 0:f(arguments[1]);try{return!!new h(y,m)}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),m=e(71698),b=e(13764).codeAt,S=e(93245),k=e(69905),R=e(94573),A=e(57106),P=e(91340),M=e(94844),B=M.set,N=M.getterFor("URL"),G=P.URLSearchParams,W=P.getState,H=c.URL,ae=c.TypeError,ne=c.parseInt,oe=Math.floor,q=Math.pow,J=o("".charAt),K=o(/./.exec),se=o([].join),ee=o(1 .toString),Q=o([].pop),le=o([].push),z=o("".replace),$=o([].shift),ie=o("".split),me=o("".slice),Pe=o("".toLowerCase),De=o([].unshift),Ze="Invalid authority",Ne="Invalid scheme",Bt="Invalid host",yt="Invalid port",It=/[a-z]/i,rr=/[\d+-.a-z]/i,Yt=/\d/,ur=/^0x/i,We=/^[0-7]+$/,Pt=/^\d+$/,zt=/^[\da-f]+$/i,nt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Et=/[\0\t\n\r #/:<>?@[\\\]^|]/,ht=/^[\u0000-\u0020]+/,Je=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,Ue=/[\t\n\r]/g,ge,Se=function(sr){var Rt=ie(sr,"."),_t,gt,jt,Ar,yr,it,Nr;if(Rt.length&&Rt[Rt.length-1]===""&&Rt.length--,_t=Rt.length,_t>4)return sr;for(gt=[],jt=0;jt<_t;jt++){if(Ar=Rt[jt],Ar==="")return sr;if(yr=10,Ar.length>1&&J(Ar,0)==="0"&&(yr=K(ur,Ar)?16:8,Ar=me(Ar,yr===8?1:2)),Ar==="")it=0;else{if(!K(yr===10?Pt:yr===8?We:zt,Ar))return sr;it=ne(Ar,yr)}le(gt,it)}for(jt=0;jt<_t;jt++)if(it=gt[jt],jt===_t-1){if(it>=q(256,5-_t))return null}else if(it>255)return null;for(Nr=Q(gt),jt=0;jt<gt.length;jt++)Nr+=gt[jt]*q(256,3-jt);return Nr},Le=function(sr){var Rt=[0,0,0,0,0,0,0,0],_t=0,gt=null,jt=0,Ar,yr,it,Nr,An,Jn,gr,nn=function(){return J(sr,jt)};if(nn()===":"){if(J(sr,1)!==":")return;jt+=2,_t++,gt=_t}for(;nn();){if(_t===8)return;if(nn()===":"){if(gt!==null)return;jt++,_t++,gt=_t;continue}for(Ar=yr=0;yr<4&&K(zt,nn());)Ar=Ar*16+ne(nn(),16),jt++,yr++;if(nn()==="."){if(yr===0||(jt-=yr,_t>6))return;for(it=0;nn();){if(Nr=null,it>0)if(nn()==="."&&it<4)jt++;else return;if(!K(Yt,nn()))return;for(;K(Yt,nn());){if(An=ne(nn(),10),Nr===null)Nr=An;else{if(Nr===0)return;Nr=Nr*10+An}if(Nr>255)return;jt++}Rt[_t]=Rt[_t]*256+Nr,it++,(it===2||it===4)&&_t++}if(it!==4)return;break}else if(nn()===":"){if(jt++,!nn())return}else if(nn())return;Rt[_t++]=Ar}if(gt!==null)for(Jn=_t-gt,_t=7;_t!==0&&Jn>0;)gr=Rt[_t],Rt[_t--]=Rt[gt+Jn-1],Rt[gt+--Jn]=gr;else if(_t!==8)return;return Rt},je=function(sr){for(var Rt=null,_t=1,gt=null,jt=0,Ar=0;Ar<8;Ar++)sr[Ar]!==0?(jt>_t&&(Rt=gt,_t=jt),gt=null,jt=0):(gt===null&&(gt=Ar),++jt);return jt>_t&&(Rt=gt,_t=jt),Rt},He=function(sr){var Rt,_t,gt,jt;if(typeof sr=="number"){for(Rt=[],_t=0;_t<4;_t++)De(Rt,sr%256),sr=oe(sr/256);return se(Rt,".")}else if(typeof sr=="object"){for(Rt="",gt=je(sr),_t=0;_t<8;_t++)jt&&sr[_t]===0||(jt&&(jt=!1),gt===_t?(Rt+=_t?":":"::",jt=!0):(Rt+=ee(sr[_t],16),_t<7&&(Rt+=":")));return"["+Rt+"]"}return sr},rt={},lt=p({},rt,{" ":1,'"':1,"<":1,">":1,"`":1}),Kt=p({},lt,{"#":1,"?":1,"{":1,"}":1}),Wt=p({},Kt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Ae=function(sr,Rt){var _t=b(sr,0);return _t>32&&_t<127&&!x(Rt,sr)?sr:encodeURIComponent(sr)},qe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Vt=function(sr,Rt){var _t;return sr.length===2&&K(It,J(sr,0))&&((_t=J(sr,1))===":"||!Rt&&_t==="|")},kt=function(sr){var Rt;return sr.length>1&&Vt(me(sr,0,2))&&(sr.length===2||(Rt=J(sr,2))==="/"||Rt==="\\"||Rt==="?"||Rt==="#")},Ht=function(sr){return sr==="."||Pe(sr)==="%2e"},$t=function(sr){return sr=Pe(sr),sr===".."||sr==="%2e."||sr===".%2e"||sr==="%2e%2e"},Tt={},Xt={},Ge={},ce={},pe={},Dt={},Ce={},ct={},Zt={},St={},Ie={},wt={},be={},Ye={},vt={},Lt={},Me={},Or={},At={},Yr={},rn={},wr=function(sr,Rt,_t){var gt=k(sr),jt,Ar,yr;if(Rt){if(Ar=this.parse(gt),Ar)throw new ae(Ar);this.searchParams=null}else{if(_t!==void 0&&(jt=new wr(_t,!0)),Ar=this.parse(gt,null,jt),Ar)throw new ae(Ar);yr=W(new G),yr.bindURL(this),this.searchParams=yr}};wr.prototype={type:"URL",parse:function(sr,Rt,_t){var gt=this,jt=Rt||Tt,Ar=0,yr="",it=!1,Nr=!1,An=!1,Jn,gr,nn,vn;for(sr=k(sr),Rt||(gt.scheme="",gt.username="",gt.password="",gt.host=null,gt.port=null,gt.path=[],gt.query=null,gt.fragment=null,gt.cannotBeABaseURL=!1,sr=z(sr,ht,""),sr=z(sr,Je,"$1")),sr=z(sr,Ue,""),Jn=y(sr);Ar<=Jn.length;){switch(gr=Jn[Ar],jt){case Tt:if(gr&&K(It,gr))yr+=Pe(gr),jt=Xt;else{if(Rt)return Ne;jt=Ge;continue}break;case Xt:if(gr&&(K(rr,gr)||gr==="+"||gr==="-"||gr==="."))yr+=Pe(gr);else if(gr===":"){if(Rt&&(gt.isSpecial()!==x(qe,yr)||yr==="file"&&(gt.includesCredentials()||gt.port!==null)||gt.scheme==="file"&&!gt.host))return;if(gt.scheme=yr,Rt){gt.isSpecial()&&qe[gt.scheme]===gt.port&&(gt.port=null);return}yr="",gt.scheme==="file"?jt=Ye:gt.isSpecial()&&_t&&_t.scheme===gt.scheme?jt=ce:gt.isSpecial()?jt=ct:Jn[Ar+1]==="/"?(jt=pe,Ar++):(gt.cannotBeABaseURL=!0,le(gt.path,""),jt=At)}else{if(Rt)return Ne;yr="",jt=Ge,Ar=0;continue}break;case Ge:if(!_t||_t.cannotBeABaseURL&&gr!=="#")return Ne;if(_t.cannotBeABaseURL&&gr==="#"){gt.scheme=_t.scheme,gt.path=m(_t.path),gt.query=_t.query,gt.fragment="",gt.cannotBeABaseURL=!0,jt=rn;break}jt=_t.scheme==="file"?Ye:Dt;continue;case ce:if(gr==="/"&&Jn[Ar+1]==="/")jt=Zt,Ar++;else{jt=Dt;continue}break;case pe:if(gr==="/"){jt=St;break}else{jt=Or;continue}case Dt:if(gt.scheme=_t.scheme,gr===ge)gt.username=_t.username,gt.password=_t.password,gt.host=_t.host,gt.port=_t.port,gt.path=m(_t.path),gt.query=_t.query;else if(gr==="/"||gr==="\\"&>.isSpecial())jt=Ce;else if(gr==="?")gt.username=_t.username,gt.password=_t.password,gt.host=_t.host,gt.port=_t.port,gt.path=m(_t.path),gt.query="",jt=Yr;else if(gr==="#")gt.username=_t.username,gt.password=_t.password,gt.host=_t.host,gt.port=_t.port,gt.path=m(_t.path),gt.query=_t.query,gt.fragment="",jt=rn;else{gt.username=_t.username,gt.password=_t.password,gt.host=_t.host,gt.port=_t.port,gt.path=m(_t.path),gt.path.length--,jt=Or;continue}break;case Ce:if(gt.isSpecial()&&(gr==="/"||gr==="\\"))jt=Zt;else if(gr==="/")jt=St;else{gt.username=_t.username,gt.password=_t.password,gt.host=_t.host,gt.port=_t.port,jt=Or;continue}break;case ct:if(jt=Zt,gr!=="/"||J(yr,Ar+1)!=="/")continue;Ar++;break;case Zt:if(gr!=="/"&&gr!=="\\"){jt=St;continue}break;case St:if(gr==="@"){it&&(yr="%40"+yr),it=!0,nn=y(yr);for(var Wn=0;Wn<nn.length;Wn++){var si=nn[Wn];if(si===":"&&!An){An=!0;continue}var gi=Ae(si,Wt);An?gt.password+=gi:gt.username+=gi}yr=""}else if(gr===ge||gr==="/"||gr==="?"||gr==="#"||gr==="\\"&>.isSpecial()){if(it&&yr==="")return Ze;Ar-=y(yr).length+1,yr="",jt=Ie}else yr+=gr;break;case Ie:case wt:if(Rt&>.scheme==="file"){jt=Lt;continue}else if(gr===":"&&!Nr){if(yr==="")return Bt;if(vn=gt.parseHost(yr),vn)return vn;if(yr="",jt=be,Rt===wt)return}else if(gr===ge||gr==="/"||gr==="?"||gr==="#"||gr==="\\"&>.isSpecial()){if(gt.isSpecial()&&yr==="")return Bt;if(Rt&&yr===""&&(gt.includesCredentials()||gt.port!==null))return;if(vn=gt.parseHost(yr),vn)return vn;if(yr="",jt=Me,Rt)return;continue}else gr==="["?Nr=!0:gr==="]"&&(Nr=!1),yr+=gr;break;case be:if(K(Yt,gr))yr+=gr;else if(gr===ge||gr==="/"||gr==="?"||gr==="#"||gr==="\\"&>.isSpecial()||Rt){if(yr!==""){var aa=ne(yr,10);if(aa>65535)return yt;gt.port=gt.isSpecial()&&aa===qe[gt.scheme]?null:aa,yr=""}if(Rt)return;jt=Me;continue}else return yt;break;case Ye:if(gt.scheme="file",gr==="/"||gr==="\\")jt=vt;else if(_t&&_t.scheme==="file")switch(gr){case ge:gt.host=_t.host,gt.path=m(_t.path),gt.query=_t.query;break;case"?":gt.host=_t.host,gt.path=m(_t.path),gt.query="",jt=Yr;break;case"#":gt.host=_t.host,gt.path=m(_t.path),gt.query=_t.query,gt.fragment="",jt=rn;break;default:kt(se(m(Jn,Ar),""))||(gt.host=_t.host,gt.path=m(_t.path),gt.shortenPath()),jt=Or;continue}else{jt=Or;continue}break;case vt:if(gr==="/"||gr==="\\"){jt=Lt;break}_t&&_t.scheme==="file"&&!kt(se(m(Jn,Ar),""))&&(Vt(_t.path[0],!0)?le(gt.path,_t.path[0]):gt.host=_t.host),jt=Or;continue;case Lt:if(gr===ge||gr==="/"||gr==="\\"||gr==="?"||gr==="#"){if(!Rt&&Vt(yr))jt=Or;else if(yr===""){if(gt.host="",Rt)return;jt=Me}else{if(vn=gt.parseHost(yr),vn)return vn;if(gt.host==="localhost"&&(gt.host=""),Rt)return;yr="",jt=Me}continue}else yr+=gr;break;case Me:if(gt.isSpecial()){if(jt=Or,gr!=="/"&&gr!=="\\")continue}else if(!Rt&&gr==="?")gt.query="",jt=Yr;else if(!Rt&&gr==="#")gt.fragment="",jt=rn;else if(gr!==ge&&(jt=Or,gr!=="/"))continue;break;case Or:if(gr===ge||gr==="/"||gr==="\\"&>.isSpecial()||!Rt&&(gr==="?"||gr==="#")){if($t(yr)?(gt.shortenPath(),gr!=="/"&&!(gr==="\\"&>.isSpecial())&&le(gt.path,"")):Ht(yr)?gr!=="/"&&!(gr==="\\"&>.isSpecial())&&le(gt.path,""):(gt.scheme==="file"&&!gt.path.length&&Vt(yr)&&(gt.host&&(gt.host=""),yr=J(yr,0)+":"),le(gt.path,yr)),yr="",gt.scheme==="file"&&(gr===ge||gr==="?"||gr==="#"))for(;gt.path.length>1&>.path[0]==="";)$(gt.path);gr==="?"?(gt.query="",jt=Yr):gr==="#"&&(gt.fragment="",jt=rn)}else yr+=Ae(gr,Kt);break;case At:gr==="?"?(gt.query="",jt=Yr):gr==="#"?(gt.fragment="",jt=rn):gr!==ge&&(gt.path[0]+=Ae(gr,rt));break;case Yr:!Rt&&gr==="#"?(gt.fragment="",jt=rn):gr!==ge&&(gr==="'"&>.isSpecial()?gt.query+="%27":gr==="#"?gt.query+="%23":gt.query+=Ae(gr,rt));break;case rn:gr!==ge&&(gt.fragment+=Ae(gr,lt));break}Ar++}},parseHost:function(sr){var Rt,_t,gt;if(J(sr,0)==="["){if(J(sr,sr.length-1)!=="]"||(Rt=Le(me(sr,1,-1)),!Rt))return Bt;this.host=Rt}else if(this.isSpecial()){if(sr=S(sr),K(nt,sr)||(Rt=Se(sr),Rt===null))return Bt;this.host=Rt}else{if(K(Et,sr))return Bt;for(Rt="",_t=y(sr),gt=0;gt<_t.length;gt++)Rt+=Ae(_t[gt],rt);this.host=Rt}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return x(qe,this.scheme)},shortenPath:function(){var sr=this.path,Rt=sr.length;Rt&&(this.scheme!=="file"||Rt!==1||!Vt(sr[0],!0))&&sr.length--},serialize:function(){var sr=this,Rt=sr.scheme,_t=sr.username,gt=sr.password,jt=sr.host,Ar=sr.port,yr=sr.path,it=sr.query,Nr=sr.fragment,An=Rt+":";return jt!==null?(An+="//",sr.includesCredentials()&&(An+=_t+(gt?":"+gt:"")+"@"),An+=He(jt),Ar!==null&&(An+=":"+Ar)):Rt==="file"&&(An+="//"),An+=sr.cannotBeABaseURL?yr[0]:yr.length?"/"+se(yr,"/"):"",it!==null&&(An+="?"+it),Nr!==null&&(An+="#"+Nr),An},setHref:function(sr){var Rt=this.parse(sr);if(Rt)throw new ae(Rt);this.searchParams.update()},getOrigin:function(){var sr=this.scheme,Rt=this.port;if(sr==="blob")try{return new jr(sr.path[0]).origin}catch(_t){return"null"}return sr==="file"||!this.isSpecial()?"null":sr+"://"+He(this.host)+(Rt!==null?":"+Rt:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(sr){this.parse(k(sr)+":",Tt)},getUsername:function(){return this.username},setUsername:function(sr){var Rt=y(k(sr));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var _t=0;_t<Rt.length;_t++)this.username+=Ae(Rt[_t],Wt)}},getPassword:function(){return this.password},setPassword:function(sr){var Rt=y(k(sr));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var _t=0;_t<Rt.length;_t++)this.password+=Ae(Rt[_t],Wt)}},getHost:function(){var sr=this.host,Rt=this.port;return sr===null?"":Rt===null?He(sr):He(sr)+":"+Rt},setHost:function(sr){this.cannotBeABaseURL||this.parse(sr,Ie)},getHostname:function(){var sr=this.host;return sr===null?"":He(sr)},setHostname:function(sr){this.cannotBeABaseURL||this.parse(sr,wt)},getPort:function(){var sr=this.port;return sr===null?"":k(sr)},setPort:function(sr){this.cannotHaveUsernamePasswordPort()||(sr=k(sr),sr===""?this.port=null:this.parse(sr,be))},getPathname:function(){var sr=this.path;return this.cannotBeABaseURL?sr[0]:sr.length?"/"+se(sr,"/"):""},setPathname:function(sr){this.cannotBeABaseURL||(this.path=[],this.parse(sr,Me))},getSearch:function(){var sr=this.query;return sr?"?"+sr:""},setSearch:function(sr){sr=k(sr),sr===""?this.query=null:(J(sr,0)==="?"&&(sr=me(sr,1)),this.query="",this.parse(sr,Yr)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var sr=this.fragment;return sr?"#"+sr:""},setHash:function(sr){if(sr=k(sr),sr===""){this.fragment=null;return}J(sr,0)==="#"&&(sr=me(sr,1)),this.fragment="",this.parse(sr,rn)},update:function(){this.query=this.searchParams.serialize()||null}};var jr=function(Rt){var _t=a(this,mr),gt=A(arguments.length,1)>1?arguments[1]:void 0,jt=B(_t,new wr(Rt,!1,gt));i||(_t.href=jt.serialize(),_t.origin=jt.getOrigin(),_t.protocol=jt.getProtocol(),_t.username=jt.getUsername(),_t.password=jt.getPassword(),_t.host=jt.getHost(),_t.hostname=jt.getHostname(),_t.port=jt.getPort(),_t.pathname=jt.getPathname(),_t.search=jt.getSearch(),_t.searchParams=jt.getSearchParams(),_t.hash=jt.getHash())},mr=jr.prototype,Zr=function(sr,Rt){return{get:function(){return N(this)[sr]()},set:Rt&&function(_t){return N(this)[Rt](_t)},configurable:!0,enumerable:!0}};if(i&&(u(mr,"href",Zr("serialize","setHref")),u(mr,"origin",Zr("getOrigin")),u(mr,"protocol",Zr("getProtocol","setProtocol")),u(mr,"username",Zr("getUsername","setUsername")),u(mr,"password",Zr("getPassword","setPassword")),u(mr,"host",Zr("getHost","setHost")),u(mr,"hostname",Zr("getHostname","setHostname")),u(mr,"port",Zr("getPort","setPort")),u(mr,"pathname",Zr("getPathname","setPathname")),u(mr,"search",Zr("getSearch","setSearch")),u(mr,"searchParams",Zr("getSearchParams")),u(mr,"hash",Zr("getHash","setHash"))),h(mr,"toJSON",function(){return N(this).serialize()},{enumerable:!0}),h(mr,"toString",function(){return N(this).serialize()},{enumerable:!0}),H){var un=H.createObjectURL,mn=H.revokeObjectURL;un&&h(jr,"createObjectURL",f(un,H)),mn&&h(jr,"revokeObjectURL",f(mn,H))}R(jr,"URL"),r({global:!0,constructor:!0,forced:!l,sham:!i},{URL:jr})},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,m=[],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)&&(m.push(a.value),m.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 m}}var l=e(99227),c=e(66160);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},89878:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(8616);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:String(f)}},8616:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},99227:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c){(c==null||c>l.length)&&(c=l.length);for(var f=0,o=new Array(c);f<c;f++)o[f]=l[f];return o}function i(l,c){if(l){if(typeof l=="string")return r(l,c);var f=Object.prototype.toString.call(l).slice(8,-1);if(f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set")return Array.from(l);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return r(l,c)}}},97047:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){(l==null||l>i.length)&&(l=i.length);for(var c=0,f=Array(l);c<l;c++)f[c]=i[c];return f}},42028:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(Array.isArray(i))return i}},31226:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}},3202:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});function r(l,c,f,o,h,u,a){try{var x=l[u](a),p=x.value}catch(y){return void f(y)}x.done?c(p):Promise.resolve(p).then(o,h)}function i(l){return function(){var c=this,f=arguments;return new Promise(function(o,h){var u=l.apply(c,f);function a(p){r(u,o,h,a,x,"next",p)}function x(p){r(u,o,h,a,x,"throw",p)}a(void 0)})}}},67732:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(!(i instanceof l))throw new TypeError("Cannot call a class as a function")}},83652:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(88058);function i(c,f){for(var o=0;o<f.length;o++){var h=f[o];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,(0,r.Z)(h.key),h)}}function l(c,f,o){return f&&i(c.prototype,f),o&&i(c,o),Object.defineProperty(c,"prototype",{writable:!1}),c}},158:function(d,v,e){"use strict";e.d(v,{Z:function(){return c}});var r=e(58289),i=e(75538),l=e(85458);function c(f){var o=(0,i.Z)();return function(){var h,u=(0,r.Z)(f);if(o){var a=(0,r.Z)(this).constructor;h=Reflect.construct(u,arguments,a)}else h=u.apply(this,arguments);return(0,l.Z)(this,h)}}},20068:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(88058);function i(l,c,f){return(c=(0,r.Z)(c))in l?Object.defineProperty(l,c,{value:f,enumerable:!0,configurable:!0,writable:!0}):l[c]=f,l}},54476:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){return r=Object.assign?Object.assign.bind():function(i){for(var l=1;l<arguments.length;l++){var c=arguments[l];for(var f in c)({}).hasOwnProperty.call(c,f)&&(i[f]=c[f])}return i},r.apply(null,arguments)}},58289:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(l){return l.__proto__||Object.getPrototypeOf(l)},r(i)}},42403:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(18773);function i(l,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");l.prototype=Object.create(c&&c.prototype,{constructor:{value:l,writable:!0,configurable:!0}}),Object.defineProperty(l,"prototype",{writable:!1}),c&&(0,r.Z)(l,c)}},75538:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(l){}return(r=function(){return!!i})()}},7553:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){if(typeof Symbol!="undefined"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}},23317:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}},75682:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(20068);function i(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?Object(arguments[c]):{},o=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&o.push.apply(o,Object.getOwnPropertySymbols(f).filter(function(h){return Object.getOwnPropertyDescriptor(f,h).enumerable})),o.forEach(function(h){(0,r.Z)(l,h,f[h])})}return l}},33885:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(20068);function i(c,f){var o=Object.keys(c);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(c);f&&(h=h.filter(function(u){return Object.getOwnPropertyDescriptor(c,u).enumerable})),o.push.apply(o,h)}return o}function l(c){for(var f=1;f<arguments.length;f++){var o=arguments[f]!=null?arguments[f]:{};f%2?i(Object(o),!0).forEach(function(h){(0,r.Z)(c,h,o[h])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(o)):i(Object(o)).forEach(function(h){Object.defineProperty(c,h,Object.getOwnPropertyDescriptor(o,h))})}return c}},75931:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(85377);function i(l,c){if(l==null)return{};var f,o,h=(0,r.Z)(l,c);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(l);for(o=0;o<u.length;o++)f=u[o],c.indexOf(f)===-1&&{}.propertyIsEnumerable.call(l,f)&&(h[f]=l[f])}return h}},85377:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){if(i==null)return{};var c={};for(var f in i)if({}.hasOwnProperty.call(i,f)){if(l.indexOf(f)!==-1)continue;c[f]=i[f]}return c}},85458:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(76190),i=e(31226);function l(c,f){if(f&&((0,r.Z)(f)=="object"||typeof f=="function"))return f;if(f!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(c)}},75044:function(d,v,e){"use strict";e.d(v,{Z:function(){return x}});function r(p,y){this.v=p,this.k=y}function i(p,y,m,b){var S=Object.defineProperty;try{S({},"",{})}catch(k){S=0}i=function(R,A,P,M){function B(N,G){i(R,N,function(W){return this._invoke(N,G,W)})}A?S?S(R,A,{value:P,enumerable:!M,configurable:!M,writable:!M}):R[A]=P:(B("next",0),B("throw",1),B("return",2))},i(p,y,m,b)}function l(){var p,y,m=typeof Symbol=="function"?Symbol:{},b=m.iterator||"@@iterator",S=m.toStringTag||"@@toStringTag";function k(W,H,ae,ne){var oe=H&&H.prototype instanceof A?H:A,q=Object.create(oe.prototype);return i(q,"_invoke",function(J,K,se){var ee,Q,le,z=0,$=se||[],ie=!1,me={p:0,n:0,v:p,a:Pe,f:Pe.bind(p,4),d:function(Ze,Ne){return ee=Ze,Q=0,le=p,me.n=Ne,R}};function Pe(De,Ze){for(Q=De,le=Ze,y=0;!ie&&z&&!Ne&&y<$.length;y++){var Ne,Bt=$[y],yt=me.p,It=Bt[2];De>3?(Ne=It===Ze)&&(le=Bt[(Q=Bt[4])?5:(Q=3,3)],Bt[4]=Bt[5]=p):Bt[0]<=yt&&((Ne=De<2&&yt<Bt[1])?(Q=0,me.v=Ze,me.n=Bt[1]):yt<It&&(Ne=De<3||Bt[0]>Ze||Ze>It)&&(Bt[4]=De,Bt[5]=Ze,me.n=It,Q=0))}if(Ne||De>1)return R;throw ie=!0,Ze}return function(De,Ze,Ne){if(z>1)throw TypeError("Generator is already running");for(ie&&Ze===1&&Pe(Ze,Ne),Q=Ze,le=Ne;(y=Q<2?p:le)||!ie;){ee||(Q?Q<3?(Q>1&&(me.n=-1),Pe(Q,le)):me.n=le:me.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=(ie=me.n<0)?le:J.call(K,me))!==R)break}catch(Bt){ee=p,Q=1,le=Bt}finally{z=1}}return{value:y,done:ie}}}(W,ae,ne),!0),q}var R={};function A(){}function P(){}function M(){}y=Object.getPrototypeOf;var B=[][b]?y(y([][b]())):(i(y={},b,function(){return this}),y),N=M.prototype=A.prototype=Object.create(B);function G(W){return Object.setPrototypeOf?Object.setPrototypeOf(W,M):(W.__proto__=M,i(W,S,"GeneratorFunction")),W.prototype=Object.create(N),W}return P.prototype=M,i(N,"constructor",M),i(M,"constructor",P),P.displayName="GeneratorFunction",i(M,S,"GeneratorFunction"),i(N),i(N,S,"Generator"),i(N,b,function(){return this}),i(N,"toString",function(){return"[object Generator]"}),(l=function(){return{w:k,m:G}})()}function c(p,y){function m(S,k,R,A){try{var P=p[S](k),M=P.value;return M instanceof r?y.resolve(M.v).then(function(B){m("next",B,R,A)},function(B){m("throw",B,R,A)}):y.resolve(M).then(function(B){P.value=B,R(P)},function(B){return m("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(P,M){m(S,R,P,M)})}return b=b?b.then(A,A):A()},!0)}function f(p,y,m,b,S){return new c(l().w(p,y,m,b),S||Promise)}function o(p,y,m,b,S){var k=f(p,y,m,b,S);return k.next().then(function(R){return R.done?R.value:k.next()})}function h(p){var y=Object(p),m=[];for(var b in y)m.unshift(b);return function S(){for(;m.length;)if((b=m.pop())in y)return S.value=b,S.done=!1,S;return S.done=!0,S}}var u=e(76190);function a(p){if(p!=null){var y=p[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],m=0;if(y)return y.call(p);if(typeof p.next=="function")return p;if(!isNaN(p.length))return{next:function(){return p&&m>=p.length&&(p=void 0),{value:p&&p[m++],done:!p}}}}throw new TypeError((0,u.Z)(p)+" is not iterable")}function x(){"use strict";var p=l(),y=p.m(x),m=(Object.getPrototypeOf?Object.getPrototypeOf(y):y.__proto__).constructor;function b(R){var A=typeof R=="function"&&R.constructor;return!!A&&(A===m||(A.displayName||A.name)==="GeneratorFunction")}var S={throw:1,return:2,break:3,continue:3};function k(R){var A,P;return function(M){A||(A={stop:function(){return P(M.a,2)},catch:function(){return M.v},abrupt:function(N,G){return P(M.a,S[N],G)},delegateYield:function(N,G,W){return A.resultName=G,P(M.d,a(N),W)},finish:function(N){return P(M.f,N)}},P=function(N,G,W){M.p=A.prev,M.n=A.next;try{return N(G,W)}finally{A.next=M.n}}),A.resultName&&(A[A.resultName]=M.v,A.resultName=void 0),A.sent=M.v,A.next=M.n;try{return R.call(this,A)}finally{M.p=A.prev,M.n=A.next}}}return(x=function(){return{wrap:function(P,M,B,N){return p.w(k(P),M,B,N&&N.reverse())},isGeneratorFunction:b,mark:p.m,awrap:function(P,M){return new r(P,M)},AsyncIterator:c,async:function(P,M,B,N,G){return(b(M)?f:o)(k(P),M,B,N,G)},keys:h,values:a}})()}},18773:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i,l){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},r(i,l)}},42978:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(42028);function i(o,h){var u=o==null?null:typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(u!=null){var a,x,p,y,m=[],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)&&(m.push(a.value),m.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 m}}var l=e(3208),c=e(23317);function f(o,h){return(0,r.Z)(o)||i(o,h)||(0,l.Z)(o,h)||(0,c.Z)()}},66712:function(d,v,e){"use strict";e.d(v,{Z:function(){return f}});var r=e(42028),i=e(7553),l=e(3208),c=e(23317);function f(o){return(0,r.Z)(o)||(0,i.Z)(o)||(0,l.Z)(o)||(0,c.Z)()}},94480:function(d,v,e){"use strict";e.d(v,{Z:function(){return o}});var r=e(97047);function i(h){if(Array.isArray(h))return(0,r.Z)(h)}var l=e(7553),c=e(3208);function f(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(h){return i(h)||(0,l.Z)(h)||(0,c.Z)(h)||f()}},88058:function(d,v,e){"use strict";e.d(v,{Z:function(){return l}});var r=e(76190);function i(c,f){if((0,r.Z)(c)!="object"||!c)return c;var o=c[Symbol.toPrimitive];if(o!==void 0){var h=o.call(c,f||"default");if((0,r.Z)(h)!="object")return h;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(c)}function l(c){var f=i(c,"string");return(0,r.Z)(f)=="symbol"?f:f+""}},76190:function(d,v,e){"use strict";e.d(v,{Z:function(){return r}});function r(i){"@babel/helpers - typeof";return r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l},r(i)}},3208:function(d,v,e){"use strict";e.d(v,{Z:function(){return i}});var r=e(97047);function i(l,c){if(l){if(typeof l=="string")return(0,r.Z)(l,c);var f={}.toString.call(l).slice(8,-1);return f==="Object"&&l.constructor&&(f=l.constructor.name),f==="Map"||f==="Set"?Array.from(l):f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f)?(0,r.Z)(l,c):void 0}}},68535:function(d,v,e){"use strict";e.d(v,{ZP:function(){return Df}});const r=Number.isFinite||function(O){return typeof O=="number"&&isFinite(O)},i=Number.isSafeInteger||function(O){return typeof O=="number"&&Math.abs(O)<=l},l=Number.MAX_SAFE_INTEGER||9007199254740991;let c=function(O){return O.NETWORK_ERROR="networkError",O.MEDIA_ERROR="mediaError",O.KEY_SYSTEM_ERROR="keySystemError",O.MUX_ERROR="muxError",O.OTHER_ERROR="otherError",O}({}),f=function(O){return O.KEY_SYSTEM_NO_KEYS="keySystemNoKeys",O.KEY_SYSTEM_NO_ACCESS="keySystemNoAccess",O.KEY_SYSTEM_NO_SESSION="keySystemNoSession",O.KEY_SYSTEM_NO_CONFIGURED_LICENSE="keySystemNoConfiguredLicense",O.KEY_SYSTEM_LICENSE_REQUEST_FAILED="keySystemLicenseRequestFailed",O.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED="keySystemServerCertificateRequestFailed",O.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED="keySystemServerCertificateUpdateFailed",O.KEY_SYSTEM_SESSION_UPDATE_FAILED="keySystemSessionUpdateFailed",O.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED="keySystemStatusOutputRestricted",O.KEY_SYSTEM_STATUS_INTERNAL_ERROR="keySystemStatusInternalError",O.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR="keySystemDestroyMediaKeysError",O.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR="keySystemDestroyCloseSessionError",O.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR="keySystemDestroyRemoveSessionError",O.MANIFEST_LOAD_ERROR="manifestLoadError",O.MANIFEST_LOAD_TIMEOUT="manifestLoadTimeOut",O.MANIFEST_PARSING_ERROR="manifestParsingError",O.MANIFEST_INCOMPATIBLE_CODECS_ERROR="manifestIncompatibleCodecsError",O.LEVEL_EMPTY_ERROR="levelEmptyError",O.LEVEL_LOAD_ERROR="levelLoadError",O.LEVEL_LOAD_TIMEOUT="levelLoadTimeOut",O.LEVEL_PARSING_ERROR="levelParsingError",O.LEVEL_SWITCH_ERROR="levelSwitchError",O.AUDIO_TRACK_LOAD_ERROR="audioTrackLoadError",O.AUDIO_TRACK_LOAD_TIMEOUT="audioTrackLoadTimeOut",O.SUBTITLE_LOAD_ERROR="subtitleTrackLoadError",O.SUBTITLE_TRACK_LOAD_TIMEOUT="subtitleTrackLoadTimeOut",O.FRAG_LOAD_ERROR="fragLoadError",O.FRAG_LOAD_TIMEOUT="fragLoadTimeOut",O.FRAG_DECRYPT_ERROR="fragDecryptError",O.FRAG_PARSING_ERROR="fragParsingError",O.FRAG_GAP="fragGap",O.REMUX_ALLOC_ERROR="remuxAllocError",O.KEY_LOAD_ERROR="keyLoadError",O.KEY_LOAD_TIMEOUT="keyLoadTimeOut",O.BUFFER_ADD_CODEC_ERROR="bufferAddCodecError",O.BUFFER_INCOMPATIBLE_CODECS_ERROR="bufferIncompatibleCodecsError",O.BUFFER_APPEND_ERROR="bufferAppendError",O.BUFFER_APPENDING_ERROR="bufferAppendingError",O.BUFFER_STALLED_ERROR="bufferStalledError",O.BUFFER_FULL_ERROR="bufferFullError",O.BUFFER_SEEK_OVER_HOLE="bufferSeekOverHole",O.BUFFER_NUDGE_ON_STALL="bufferNudgeOnStall",O.ASSET_LIST_LOAD_ERROR="assetListLoadError",O.ASSET_LIST_LOAD_TIMEOUT="assetListLoadTimeout",O.ASSET_LIST_PARSING_ERROR="assetListParsingError",O.INTERSTITIAL_ASSET_ITEM_ERROR="interstitialAssetItemError",O.INTERNAL_EXCEPTION="internalException",O.INTERNAL_ABORTED="aborted",O.ATTACH_MEDIA_ERROR="attachMediaError",O.UNKNOWN="unknown",O}({}),o=function(O){return O.MEDIA_ATTACHING="hlsMediaAttaching",O.MEDIA_ATTACHED="hlsMediaAttached",O.MEDIA_DETACHING="hlsMediaDetaching",O.MEDIA_DETACHED="hlsMediaDetached",O.MEDIA_ENDED="hlsMediaEnded",O.STALL_RESOLVED="hlsStallResolved",O.BUFFER_RESET="hlsBufferReset",O.BUFFER_CODECS="hlsBufferCodecs",O.BUFFER_CREATED="hlsBufferCreated",O.BUFFER_APPENDING="hlsBufferAppending",O.BUFFER_APPENDED="hlsBufferAppended",O.BUFFER_EOS="hlsBufferEos",O.BUFFERED_TO_END="hlsBufferedToEnd",O.BUFFER_FLUSHING="hlsBufferFlushing",O.BUFFER_FLUSHED="hlsBufferFlushed",O.MANIFEST_LOADING="hlsManifestLoading",O.MANIFEST_LOADED="hlsManifestLoaded",O.MANIFEST_PARSED="hlsManifestParsed",O.LEVEL_SWITCHING="hlsLevelSwitching",O.LEVEL_SWITCHED="hlsLevelSwitched",O.LEVEL_LOADING="hlsLevelLoading",O.LEVEL_LOADED="hlsLevelLoaded",O.LEVEL_UPDATED="hlsLevelUpdated",O.LEVEL_PTS_UPDATED="hlsLevelPtsUpdated",O.LEVELS_UPDATED="hlsLevelsUpdated",O.AUDIO_TRACKS_UPDATED="hlsAudioTracksUpdated",O.AUDIO_TRACK_SWITCHING="hlsAudioTrackSwitching",O.AUDIO_TRACK_SWITCHED="hlsAudioTrackSwitched",O.AUDIO_TRACK_LOADING="hlsAudioTrackLoading",O.AUDIO_TRACK_LOADED="hlsAudioTrackLoaded",O.AUDIO_TRACK_UPDATED="hlsAudioTrackUpdated",O.SUBTITLE_TRACKS_UPDATED="hlsSubtitleTracksUpdated",O.SUBTITLE_TRACKS_CLEARED="hlsSubtitleTracksCleared",O.SUBTITLE_TRACK_SWITCH="hlsSubtitleTrackSwitch",O.SUBTITLE_TRACK_LOADING="hlsSubtitleTrackLoading",O.SUBTITLE_TRACK_LOADED="hlsSubtitleTrackLoaded",O.SUBTITLE_TRACK_UPDATED="hlsSubtitleTrackUpdated",O.SUBTITLE_FRAG_PROCESSED="hlsSubtitleFragProcessed",O.CUES_PARSED="hlsCuesParsed",O.NON_NATIVE_TEXT_TRACKS_FOUND="hlsNonNativeTextTracksFound",O.INIT_PTS_FOUND="hlsInitPtsFound",O.FRAG_LOADING="hlsFragLoading",O.FRAG_LOAD_EMERGENCY_ABORTED="hlsFragLoadEmergencyAborted",O.FRAG_LOADED="hlsFragLoaded",O.FRAG_DECRYPTED="hlsFragDecrypted",O.FRAG_PARSING_INIT_SEGMENT="hlsFragParsingInitSegment",O.FRAG_PARSING_USERDATA="hlsFragParsingUserdata",O.FRAG_PARSING_METADATA="hlsFragParsingMetadata",O.FRAG_PARSED="hlsFragParsed",O.FRAG_BUFFERED="hlsFragBuffered",O.FRAG_CHANGED="hlsFragChanged",O.FPS_DROP="hlsFpsDrop",O.FPS_DROP_LEVEL_CAPPING="hlsFpsDropLevelCapping",O.MAX_AUTO_LEVEL_UPDATED="hlsMaxAutoLevelUpdated",O.ERROR="hlsError",O.DESTROYING="hlsDestroying",O.KEY_LOADING="hlsKeyLoading",O.KEY_LOADED="hlsKeyLoaded",O.LIVE_BACK_BUFFER_REACHED="hlsLiveBackBufferReached",O.BACK_BUFFER_REACHED="hlsBackBufferReached",O.STEERING_MANIFEST_LOADED="hlsSteeringManifestLoaded",O.ASSET_LIST_LOADING="hlsAssetListLoading",O.ASSET_LIST_LOADED="hlsAssetListLoaded",O.INTERSTITIALS_UPDATED="hlsInterstitialsUpdated",O.INTERSTITIALS_BUFFERED_TO_BOUNDARY="hlsInterstitialsBufferedToBoundary",O.INTERSTITIAL_ASSET_PLAYER_CREATED="hlsInterstitialAssetPlayerCreated",O.INTERSTITIAL_STARTED="hlsInterstitialStarted",O.INTERSTITIAL_ASSET_STARTED="hlsInterstitialAssetStarted",O.INTERSTITIAL_ASSET_ENDED="hlsInterstitialAssetEnded",O.INTERSTITIAL_ASSET_ERROR="hlsInterstitialAssetError",O.INTERSTITIAL_ENDED="hlsInterstitialEnded",O.INTERSTITIALS_PRIMARY_RESUMED="hlsInterstitialsPrimaryResumed",O.PLAYOUT_LIMIT_REACHED="hlsPlayoutLimitReached",O.EVENT_CUE_ENTER="hlsEventCueEnter",O}({});var h={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},u={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"};class a{constructor(t,n=0,s=0){this.halfLife=void 0,this.alpha_=void 0,this.estimate_=void 0,this.totalWeight_=void 0,this.halfLife=t,this.alpha_=t?Math.exp(Math.log(.5)/t):0,this.estimate_=n,this.totalWeight_=s}sample(t,n){const s=Math.pow(this.alpha_,t);this.estimate_=n*(1-s)+s*this.estimate_,this.totalWeight_+=t}getTotalWeight(){return this.totalWeight_}getEstimate(){if(this.alpha_){const t=1-Math.pow(this.alpha_,this.totalWeight_);if(t)return this.estimate_/t}return this.estimate_}}class x{constructor(t,n,s,_=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_=_,this.ttfb_=new a(t)}update(t,n){const{slow_:s,fast_:_,ttfb_:E}=this;s.halfLife!==t&&(this.slow_=new a(t,s.getEstimate(),s.getTotalWeight())),_.halfLife!==n&&(this.fast_=new a(n,_.getEstimate(),_.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,_=t/1e3,E=s/_;this.fast_.sample(_,E),this.slow_.sample(_,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(O,t,n){return(t=k(t))in O?Object.defineProperty(O,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):O[t]=n,O}function y(){return y=Object.assign?Object.assign.bind():function(O){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(O[s]=n[s])}return O},y.apply(null,arguments)}function m(O,t){var n=Object.keys(O);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(O);t&&(s=s.filter(function(_){return Object.getOwnPropertyDescriptor(O,_).enumerable})),n.push.apply(n,s)}return n}function b(O){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m(Object(n),!0).forEach(function(s){p(O,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach(function(s){Object.defineProperty(O,s,Object.getOwnPropertyDescriptor(n,s))})}return O}function S(O,t){if(typeof O!="object"||!O)return O;var n=O[Symbol.toPrimitive];if(n!==void 0){var s=n.call(O,t);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(O)}function k(O){var t=S(O,"string");return typeof t=="symbol"?t:t+""}class R{constructor(t,n){this.trace=void 0,this.debug=void 0,this.log=void 0,this.warn=void 0,this.info=void 0,this.error=void 0;const s=`[${t}]:`;this.trace=A,this.debug=n.debug.bind(null,s),this.log=n.log.bind(null,s),this.warn=n.warn.bind(null,s),this.info=n.info.bind(null,s),this.error=n.error.bind(null,s)}}const A=function(){},P={trace:A,debug:A,log:A,warn:A,info:A,error:A};function M(){return y({},P)}function B(O,t){const n=self.console[O];return n?n.bind(self.console,`${t?"["+t+"] ":""}[${O}] >`):A}function N(O,t,n){return t[O]?t[O].bind(t):B(O,n)}const G=M();function W(O,t,n){const s=M();if(typeof console=="object"&&O===!0||typeof O=="object"){const _=["debug","log","info","warn","error"];_.forEach(E=>{s[E]=N(E,O,n)});try{s.log(`Debug logs enabled for "${t}" in hls.js version 1.6.11`)}catch(E){return M()}_.forEach(E=>{G[E]=N(E,O)})}else y(G,s);return s}const H=G;function ae(O=!0){return typeof self=="undefined"?void 0:(O||!self.MediaSource)&&self.ManagedMediaSource||self.MediaSource||self.WebKitMediaSource}function ne(O){return typeof self!="undefined"&&O===self.ManagedMediaSource}function oe(O,t){const n=Object.keys(O),s=Object.keys(t),_=n.length,E=s.length;return!_||!E||_===E&&!n.some(I=>s.indexOf(I)===-1)}function q(O,t=!1){if(typeof TextDecoder!="undefined"){const V=new TextDecoder("utf-8").decode(O);if(t){const ue=V.indexOf("\0");return ue!==-1?V.substring(0,ue):V}return V.replace(/\0/g,"")}const n=O.length;let s,_,E,I="",j=0;for(;j<n;){if(s=O[j++],s===0&&t)return I;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:I+=String.fromCharCode(s);break;case 12:case 13:_=O[j++],I+=String.fromCharCode((s&31)<<6|_&63);break;case 14:_=O[j++],E=O[j++],I+=String.fromCharCode((s&15)<<12|(_&63)<<6|(E&63)<<0);break}}return I}function J(O){let t="";for(let n=0;n<O.length;n++){let s=O[n].toString(16);s.length<2&&(s="0"+s),t+=s}return t}function K(O){return Uint8Array.from(O.replace(/^0x/,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")).buffer}function se(O){return O&&O.__esModule&&Object.prototype.hasOwnProperty.call(O,"default")?O.default:O}var ee={exports:{}},Q;function le(){return Q||(Q=1,function(O,t){(function(n){var s=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,_=/^(?=([^\/?#]*))\1([^]*)$/,E=/(?:\/|^)\.(?=\/)/g,I=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,j={buildAbsoluteURL:function(Y,V,ue){if(ue=ue||{},Y=Y.trim(),V=V.trim(),!V){if(!ue.alwaysNormalize)return Y;var he=j.parseURL(Y);if(!he)throw new Error("Error trying to parse base URL.");return he.path=j.normalizePath(he.path),j.buildURLFromParts(he)}var Ee=j.parseURL(V);if(!Ee)throw new Error("Error trying to parse relative URL.");if(Ee.scheme)return ue.alwaysNormalize?(Ee.path=j.normalizePath(Ee.path),j.buildURLFromParts(Ee)):V;var Re=j.parseURL(Y);if(!Re)throw new Error("Error trying to parse base URL.");if(!Re.netLoc&&Re.path&&Re.path[0]!=="/"){var Fe=_.exec(Re.path);Re.netLoc=Fe[1],Re.path=Fe[2]}Re.netLoc&&!Re.path&&(Re.path="/");var ft={scheme:Re.scheme,netLoc:Ee.netLoc,path:null,params:Ee.params,query:Ee.query,fragment:Ee.fragment};if(!Ee.netLoc&&(ft.netLoc=Re.netLoc,Ee.path[0]!=="/"))if(!Ee.path)ft.path=Re.path,Ee.params||(ft.params=Re.params,Ee.query||(ft.query=Re.query));else{var st=Re.path,Ft=st.substring(0,st.lastIndexOf("/")+1)+Ee.path;ft.path=j.normalizePath(Ft)}return ft.path===null&&(ft.path=ue.alwaysNormalize?j.normalizePath(Ee.path):Ee.path),j.buildURLFromParts(ft)},parseURL:function(Y){var V=s.exec(Y);return V?{scheme:V[1]||"",netLoc:V[2]||"",path:V[3]||"",params:V[4]||"",query:V[5]||"",fragment:V[6]||""}:null},normalizePath:function(Y){for(Y=Y.split("").reverse().join("").replace(E,"");Y.length!==(Y=Y.replace(I,"")).length;);return Y.split("").reverse().join("")},buildURLFromParts:function(Y){return Y.scheme+Y.netLoc+Y.path+Y.params+Y.query+Y.fragment}};O.exports=j})()}(ee)),ee.exports}var z=le();class ${constructor(){this.aborted=!1,this.loaded=0,this.retry=0,this.total=0,this.chunkCount=0,this.bwEstimate=0,this.loading={start:0,first:0,end:0},this.parsing={start:0,end:0},this.buffering={start:0,first:0,end:0}}}var ie={AUDIO:"audio",VIDEO:"video",AUDIOVIDEO:"audiovideo"};class me{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,Bt(this,"stats")}setByteRange(t,n){const s=t.split("@",2);let _;s.length===1?_=(n==null?void 0:n.byteRangeEndOffset)||0:_=parseInt(s[1]),this._byteRange=[_,parseInt(s[0])+_]}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={[ie.AUDIO]:null,[ie.VIDEO]:null,[ie.AUDIOVIDEO]:null}),this._streams}set elementaryStreams(t){this._streams=t}get hasStats(){return this._stats!==null}get hasStreams(){return this._streams!==null}get stats(){return this._stats===null&&(this._stats=new $),this._stats}set stats(t){this._stats=t}get url(){return!this._url&&this.baseurl&&this.relurl&&(this._url=z.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url||""}set url(t){this._url=t}clearElementaryStreamInfo(){const{elementaryStreams:t}=this;t[ie.AUDIO]=null,t[ie.VIDEO]=null,t[ie.AUDIOVIDEO]=null}}function Pe(O){return O.sn!=="initSegment"}class De extends me{constructor(t,n){super(n),this._decryptdata=null,this._programDateTime=null,this._ref=null,this._bitrate=void 0,this.rawProgramDateTime=null,this.tagList=[],this.duration=0,this.sn=0,this.levelkeys=void 0,this.type=void 0,this.loader=null,this.keyLoader=null,this.level=-1,this.cc=0,this.startPTS=void 0,this.endPTS=void 0,this.startDTS=void 0,this.endDTS=void 0,this.start=0,this.playlistOffset=0,this.deltaPTS=void 0,this.maxStartPTS=void 0,this.minEndPTS=void 0,this.data=void 0,this.bitrateTest=!1,this.title=null,this.initSegment=null,this.endList=void 0,this.gap=void 0,this.urlId=0,this.type=t}get byteLength(){if(this.hasStats){const t=this.stats.total;if(t)return t}if(this.byteRange.length){const t=this.byteRange[0],n=this.byteRange[1];if(r(t)&&r(n))return n-t}return null}get bitrate(){return this.byteLength?this.byteLength*8/this.duration:this._bitrate?this._bitrate:null}set bitrate(t){this._bitrate=t}get decryptdata(){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){const _=this._decryptdata=this.levelkeys[s[0]]||null;if(_)return _.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){var n;const s=Object.keys(this.levelkeys),_=s.length;if(_>1||_===1&&(n=this.levelkeys[s[0]])!=null&&n.encrypted)return!0}return!1}get programDateTime(){return this._programDateTime===null&&this.rawProgramDateTime&&(this.programDateTime=Date.parse(this.rawProgramDateTime)),this._programDateTime}set programDateTime(t){if(!r(t)){this._programDateTime=this.rawProgramDateTime=null;return}this._programDateTime=t}get ref(){return Pe(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,_,E,I=!1){const{elementaryStreams:j}=this,Y=j[t];if(!Y){j[t]={startPTS:n,endPTS:s,startDTS:_,endDTS:E,partial:I};return}Y.startPTS=Math.min(Y.startPTS,n),Y.endPTS=Math.max(Y.endPTS,s),Y.startDTS=Math.min(Y.startDTS,_),Y.endDTS=Math.max(Y.endDTS,E)}}class Ze extends me{constructor(t,n,s,_,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=_;const I=t.enumeratedString("BYTERANGE");I&&this.setByteRange(I,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 Ne(O,t){const n=Object.getPrototypeOf(O);if(n){const s=Object.getOwnPropertyDescriptor(n,t);return s||Ne(n,t)}}function Bt(O,t){const n=Ne(O,t);n&&(n.enumerable=!0,Object.defineProperty(O,t,n))}const yt=Math.pow(2,32)-1,It=[].push,rr={video:1,audio:2,id3:3,text:4};function Yt(O){return String.fromCharCode.apply(null,O)}function ur(O,t){const n=O[t]<<8|O[t+1];return n<0?65536+n:n}function We(O,t){const n=zt(O,t);return n<0?4294967296+n:n}function Pt(O,t){let n=We(O,t);return n*=Math.pow(2,32),n+=We(O,t+4),n}function zt(O,t){return O[t]<<24|O[t+1]<<16|O[t+2]<<8|O[t+3]}function nt(O){const t=O.byteLength;for(let n=0;n<t;){const s=We(O,n);if(s>8&&O[n+4]===109&&O[n+5]===111&&O[n+6]===111&&O[n+7]===102)return!0;n=s>1?n+s:t}return!1}function Et(O,t){const n=[];if(!t.length)return n;const s=O.byteLength;for(let _=0;_<s;){const E=We(O,_),I=Yt(O.subarray(_+4,_+8)),j=E>1?_+E:s;if(I===t[0])if(t.length===1)n.push(O.subarray(_+8,j));else{const Y=Et(O.subarray(_+8,j),t.slice(1));Y.length&&It.apply(n,Y)}_=j}return n}function ht(O){const t=[],n=O[0];let s=8;const _=We(O,s);s+=4;let E=0,I=0;n===0?(E=We(O,s),I=We(O,s+4),s+=8):(E=Pt(O,s),I=Pt(O,s+8),s+=16),s+=2;let j=O.length+I;const Y=ur(O,s);s+=2;for(let V=0;V<Y;V++){let ue=s;const he=We(O,ue);ue+=4;const Ee=he&2147483647;if((he&2147483648)>>>31===1)return H.warn("SIDX has hierarchical references (not supported)"),null;const Fe=We(O,ue);ue+=4,t.push({referenceSize:Ee,subsegmentDuration:Fe,info:{duration:Fe/_,start:j,end:j+Ee-1}}),j+=Ee,ue+=4,s=ue}return{earliestPresentationTime:E,timescale:_,version:n,referencesCount:Y,references:t}}function Je(O){const t=[],n=Et(O,["moov","trak"]);for(let _=0;_<n.length;_++){const E=n[_],I=Et(E,["tkhd"])[0];if(I){let j=I[0];const Y=We(I,j===0?12:20),V=Et(E,["mdia","mdhd"])[0];if(V){j=V[0];const ue=We(V,j===0?12:20),he=Et(E,["mdia","hdlr"])[0];if(he){const Ee=Yt(he.subarray(8,12)),Re={soun:ie.AUDIO,vide:ie.VIDEO}[Ee],Fe=Et(E,["mdia","minf","stbl","stsd"])[0],ft=Ue(Fe);Re?(t[Y]={timescale:ue,type:Re,stsd:ft},t[Re]=b({timescale:ue,id:Y},ft)):t[Y]={timescale:ue,type:Ee,stsd:ft}}}}}return Et(O,["moov","mvex","trex"]).forEach(_=>{const E=We(_,4),I=t[E];I&&(I.default={duration:We(_,12),flags:We(_,20)})}),t}function Ue(O){const t=O.subarray(8),n=t.subarray(86),s=Yt(t.subarray(4,8));let _=s,E;const I=s==="enca"||s==="encv";if(I){const V=Et(t,[s])[0].subarray(s==="enca"?28:78);Et(V,["sinf"]).forEach(he=>{const Ee=Et(he,["schm"])[0];if(Ee){const Re=Yt(Ee.subarray(4,8));if(Re==="cbcs"||Re==="cenc"){const Fe=Et(he,["frma"])[0];Fe&&(_=Yt(Fe))}}})}const j=_;switch(_){case"avc1":case"avc2":case"avc3":case"avc4":{const Y=Et(n,["avcC"])[0];Y&&Y.length>3&&(_+="."+je(Y[1])+je(Y[2])+je(Y[3]),E=ge(j==="avc1"?"dva1":"dvav",n));break}case"mp4a":{const Y=Et(t,[s])[0],V=Et(Y.subarray(28),["esds"])[0];if(V&&V.length>7){let ue=4;if(V[ue++]!==3)break;ue=Le(V,ue),ue+=2;const he=V[ue++];if(he&128&&(ue+=2),he&64&&(ue+=V[ue++]),V[ue++]!==4)break;ue=Le(V,ue);const Ee=V[ue++];if(Ee===64)_+="."+je(Ee);else break;if(ue+=12,V[ue++]!==5)break;ue=Le(V,ue);const Re=V[ue++];let Fe=(Re&248)>>3;Fe===31&&(Fe+=1+((Re&7)<<3)+((V[ue]&224)>>5)),_+="."+Fe}break}case"hvc1":case"hev1":{const Y=Et(n,["hvcC"])[0];if(Y&&Y.length>12){const V=Y[1],ue=["","A","B","C"][V>>6],he=V&31,Ee=We(Y,2),Re=(V&32)>>5?"H":"L",Fe=Y[12],ft=Y.subarray(6,12);_+="."+ue+he,_+="."+Se(Ee).toString(16).toUpperCase(),_+="."+Re+Fe;let st="";for(let Ft=ft.length;Ft--;){const fr=ft[Ft];(fr||st)&&(st="."+fr.toString(16).toUpperCase()+st)}_+=st}E=ge(j=="hev1"?"dvhe":"dvh1",n);break}case"dvh1":case"dvhe":case"dvav":case"dva1":case"dav1":{_=ge(_,n)||_;break}case"vp09":{const Y=Et(n,["vpcC"])[0];if(Y&&Y.length>6){const V=Y[4],ue=Y[5],he=Y[6]>>4&15;_+="."+He(V)+"."+He(ue)+"."+He(he)}break}case"av01":{const Y=Et(n,["av1C"])[0];if(Y&&Y.length>2){const V=Y[1]>>>5,ue=Y[1]&31,he=Y[2]>>>7?"H":"M",Ee=(Y[2]&64)>>6,Re=(Y[2]&32)>>5,Fe=V===2&&Ee?Re?12:10:Ee?10:8,ft=(Y[2]&16)>>4,st=(Y[2]&8)>>3,Ft=(Y[2]&4)>>2,fr=Y[2]&3;_+="."+V+"."+He(ue)+he+"."+He(Fe)+"."+ft+"."+st+Ft+fr+"."+He(1)+"."+He(1)+"."+He(1)+"."+0,E=ge("dav1",n)}break}}return{codec:_,encrypted:I,supplemental:E}}function ge(O,t){const n=Et(t,["dvvC"]),s=n.length?n[0]:Et(t,["dvcC"])[0];if(s){const _=s[2]>>1&127,E=s[2]<<5&32|s[3]>>3&31;return O+"."+He(_)+"."+He(E)}}function Se(O){let t=0;for(let n=0;n<32;n++)t|=(O>>n&1)<<31-n;return t>>>0}function Le(O,t){const n=t+5;for(;O[t++]&128&&t<n;);return t}function je(O){return("0"+O.toString(16).toUpperCase()).slice(-2)}function He(O){return(O<10?"0":"")+O}function rt(O,t){if(!O||!t)return;const n=t.keyId;n&&t.isCommonEncryption&&Et(O,["moov","trak"]).forEach(_=>{const I=Et(_,["mdia","minf","stbl","stsd"])[0].subarray(8);let j=Et(I,["enca"]);const Y=j.length>0;Y||(j=Et(I,["encv"])),j.forEach(V=>{const ue=Y?V.subarray(28):V.subarray(78);Et(ue,["sinf"]).forEach(Ee=>{const Re=lt(Ee);if(Re){const Fe=Re.subarray(8,24);Fe.some(ft=>ft!==0)||(H.log(`[eme] Patching keyId in 'enc${Y?"a":"v"}>sinf>>tenc' box: ${J(Fe)} -> ${J(n)}`),Re.set(n,8))}})})})}function lt(O){const t=Et(O,["schm"])[0];if(t){const n=Yt(t.subarray(4,8));if(n==="cbcs"||n==="cenc")return Et(O,["schi","tenc"])[0]}return null}function Kt(O,t,n){const s={},_=Et(O,["moof","traf"]);for(let E=0;E<_.length;E++){const I=_[E],j=Et(I,["tfhd"])[0],Y=We(j,4),V=t[Y];if(!V)continue;s[Y]||(s[Y]={start:NaN,duration:0,sampleCount:0,timescale:V.timescale,type:V.type});const ue=s[Y],he=Et(I,["tfdt"])[0];if(he){const ar=he[0];let $r=We(he,4);ar===1&&($r===yt?n.warn("[mp4-demuxer]: Ignoring assumed invalid signed 64-bit track fragment decode time"):($r*=yt+1,$r+=We(he,8))),r($r)&&(!r(ue.start)||$r<ue.start)&&(ue.start=$r)}const Ee=V.default,Re=We(j,0)|(Ee==null?void 0:Ee.flags);let Fe=(Ee==null?void 0:Ee.duration)||0;Re&8&&(Re&2?Fe=We(j,12):Fe=We(j,8));const ft=Et(I,["trun"]);let st=ue.start||0,Ft=0,fr=Fe;for(let ar=0;ar<ft.length;ar++){const $r=ft[ar],Xr=We($r,4),gn=ue.sampleCount;ue.sampleCount+=Xr;const Kr=$r[3]&1,an=$r[3]&4,dn=$r[2]&1,Vr=$r[2]&2,Cn=$r[2]&4,wi=$r[2]&8;let qi=8,ma=Xr;for(Kr&&(qi+=4),an&&Xr&&(!($r[qi+1]&1)&&ue.keyFrameIndex===void 0&&(ue.keyFrameIndex=gn),qi+=4,dn?(fr=We($r,qi),qi+=4):fr=Fe,Vr&&(qi+=4),wi&&(qi+=4),st+=fr,Ft+=fr,ma--);ma--;)dn?(fr=We($r,qi),qi+=4):fr=Fe,Vr&&(qi+=4),Cn&&($r[qi+1]&1||ue.keyFrameIndex===void 0&&(ue.keyFrameIndex=ue.sampleCount-(ma+1),ue.keyFrameStart=st),qi+=4),wi&&(qi+=4),st+=fr,Ft+=fr;!Ft&&Fe&&(Ft+=Fe*Xr)}ue.duration+=Ft}if(!Object.keys(s).some(E=>s[E].duration)){let E=1/0,I=0;const j=Et(O,["sidx"]);for(let Y=0;Y<j.length;Y++){const V=ht(j[Y]);if(V!=null&&V.references){E=Math.min(E,V.earliestPresentationTime/V.timescale);const ue=V.references.reduce((he,Ee)=>he+Ee.info.duration||0,0);I=Math.max(I,ue+V.earliestPresentationTime/V.timescale)}}I&&r(I)&&Object.keys(s).forEach(Y=>{s[Y].duration||(s[Y].duration=I*s[Y].timescale-s[Y].start)})}return s}function Wt(O){const t={valid:null,remainder:null},n=Et(O,["moof"]);if(n.length<2)return t.remainder=O,t;const s=n[n.length-1];return t.valid=O.slice(0,s.byteOffset-8),t.remainder=O.slice(s.byteOffset-8),t}function Ae(O,t){const n=new Uint8Array(O.length+t.length);return n.set(O),n.set(t,O.length),n}function qe(O,t){const n=[],s=t.samples,_=t.timescale,E=t.id;let I=!1;return Et(s,["moof"]).map(Y=>{const V=Y.byteOffset-8;Et(Y,["traf"]).map(he=>{const Ee=Et(he,["tfdt"]).map(Re=>{const Fe=Re[0];let ft=We(Re,4);return Fe===1&&(ft*=Math.pow(2,32),ft+=We(Re,8)),ft/_})[0];return Ee!==void 0&&(O=Ee),Et(he,["tfhd"]).map(Re=>{const Fe=We(Re,4),ft=We(Re,0)&16777215,st=(ft&1)!==0,Ft=(ft&2)!==0,fr=(ft&8)!==0;let ar=0;const $r=(ft&16)!==0;let Xr=0;const gn=(ft&32)!==0;let Kr=8;Fe===E&&(st&&(Kr+=8),Ft&&(Kr+=4),fr&&(ar=We(Re,Kr),Kr+=4),$r&&(Xr=We(Re,Kr),Kr+=4),gn&&(Kr+=4),t.type==="video"&&(I=Vt(t.codec)),Et(he,["trun"]).map(an=>{const dn=an[0],Vr=We(an,0)&16777215,Cn=(Vr&1)!==0;let wi=0;const qi=(Vr&4)!==0,ma=(Vr&256)!==0;let ea=0;const bi=(Vr&512)!==0;let ta=0;const Ri=(Vr&1024)!==0,ha=(Vr&2048)!==0;let Ba=0;const xi=We(an,4);let Ei=8;Cn&&(wi=We(an,Ei),Ei+=4),qi&&(Ei+=4);let vs=wi+V;for(let co=0;co<xi;co++){if(ma?(ea=We(an,Ei),Ei+=4):ea=ar,bi?(ta=We(an,Ei),Ei+=4):ta=Xr,Ri&&(Ei+=4),ha&&(dn===0?Ba=We(an,Ei):Ba=zt(an,Ei),Ei+=4),t.type===ie.VIDEO){let Ss=0;for(;Ss<ta;){const zs=We(s,vs);if(vs+=4,kt(I,s[vs])){const ol=s.subarray(vs,vs+zs);Ht(ol,I?2:1,O+Ba/_,n)}vs+=zs,Ss+=zs+4}}O+=ea/_}}))})})}),n}function Vt(O){if(!O)return!1;const t=O.substring(0,4);return t==="hvc1"||t==="hev1"||t==="dvh1"||t==="dvhe"}function kt(O,t){if(O){const n=t>>1&63;return n===39||n===40}else return(t&31)===6}function Ht(O,t,n,s){const _=$t(O);let E=0;E+=t;let I=0,j=0,Y=0;for(;E<_.length;){I=0;do{if(E>=_.length)break;Y=_[E++],I+=Y}while(Y===255);j=0;do{if(E>=_.length)break;Y=_[E++],j+=Y}while(Y===255);const V=_.length-E;let ue=E;if(j<V)E+=j;else if(j>V){H.error(`Malformed SEI payload. ${j} is too small, only ${V} bytes left to parse.`);break}if(I===4){if(_[ue++]===181){const Ee=ur(_,ue);if(ue+=2,Ee===49){const Re=We(_,ue);if(ue+=4,Re===1195456820){const Fe=_[ue++];if(Fe===3){const ft=_[ue++],st=31&ft,Ft=64&ft,fr=Ft?2+st*3:0,ar=new Uint8Array(fr);if(Ft){ar[0]=ft;for(let $r=1;$r<fr;$r++)ar[$r]=_[ue++]}s.push({type:Fe,payloadType:I,pts:n,bytes:ar})}}}}}else if(I===5&&j>16){const he=[];for(let Fe=0;Fe<16;Fe++){const ft=_[ue++].toString(16);he.push(ft.length==1?"0"+ft:ft),(Fe===3||Fe===5||Fe===7||Fe===9)&&he.push("-")}const Ee=j-16,Re=new Uint8Array(Ee);for(let Fe=0;Fe<Ee;Fe++)Re[Fe]=_[ue++];s.push({payloadType:I,pts:n,uuid:he.join(""),userData:q(Re),userDataBytes:Re})}}}function $t(O){const t=O.byteLength,n=[];let s=1;for(;s<t-2;)O[s]===0&&O[s+1]===0&&O[s+2]===3?(n.push(s+2),s+=2):s++;if(n.length===0)return O;const _=t-n.length,E=new Uint8Array(_);let I=0;for(s=0;s<_;I++,s++)I===n[0]&&(I++,n.shift()),E[s]=O[I];return E}function Tt(O){const t=O[0];let n="",s="",_=0,E=0,I=0,j=0,Y=0,V=0;if(t===0){for(;Yt(O.subarray(V,V+1))!=="\0";)n+=Yt(O.subarray(V,V+1)),V+=1;for(n+=Yt(O.subarray(V,V+1)),V+=1;Yt(O.subarray(V,V+1))!=="\0";)s+=Yt(O.subarray(V,V+1)),V+=1;s+=Yt(O.subarray(V,V+1)),V+=1,_=We(O,12),E=We(O,16),j=We(O,20),Y=We(O,24),V=28}else if(t===1){V+=4,_=We(O,V),V+=4;const he=We(O,V);V+=4;const Ee=We(O,V);for(V+=4,I=4294967296*he+Ee,i(I)||(I=Number.MAX_SAFE_INTEGER,H.warn("Presentation time exceeds safe integer limit and wrapped to max safe integer in parsing emsg box")),j=We(O,V),V+=4,Y=We(O,V),V+=4;Yt(O.subarray(V,V+1))!=="\0";)n+=Yt(O.subarray(V,V+1)),V+=1;for(n+=Yt(O.subarray(V,V+1)),V+=1;Yt(O.subarray(V,V+1))!=="\0";)s+=Yt(O.subarray(V,V+1)),V+=1;s+=Yt(O.subarray(V,V+1)),V+=1}const ue=O.subarray(V,O.byteLength);return{schemeIdUri:n,value:s,timeScale:_,presentationTime:I,presentationTimeDelta:E,eventDuration:j,id:Y,payload:ue}}function Xt(O,...t){const n=t.length;let s=8,_=n;for(;_--;)s+=t[_].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(O,4),_=0,s=8;_<n;_++)E.set(t[_],s),s+=t[_].byteLength;return E}function Ge(O,t,n){if(O.byteLength!==16)throw new RangeError("Invalid system id");let s,_;s=0,_=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 I=new Uint8Array(4);return n.byteLength>0&&new DataView(I.buffer).setUint32(0,n.byteLength,!1),Xt([112,115,115,104],new Uint8Array([s,0,0,0]),O,E,_,I,n)}const ce=()=>/\(Windows.+Firefox\//i.test(navigator.userAgent),pe={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 Dt(O,t){const n=pe[t];return!!n&&!!n[O.slice(0,4)]}function Ce(O,t,n=!0){return!O.split(",").some(s=>!ct(s,t,n))}function ct(O,t,n=!0){var s;const _=ae(n);return(s=_==null?void 0:_.isTypeSupported(Zt(O,t)))!=null?s:!1}function Zt(O,t){return`${t}/mp4;codecs=${O}`}function St(O){if(O){const t=O.substring(0,4);return pe.video[t]}return 2}function Ie(O){const t=ce();return O.split(",").reduce((n,s)=>{const E=t&&Vt(s)?9:pe.video[s];return E?(E*2+n)/(n?3:2):(pe.audio[s]+n)/(n?2:1)},0)}const wt={};function be(O,t=!0){if(wt[O])return wt[O];const n={flac:["flac","fLaC","FLAC"],opus:["opus","Opus"],"mp4a.40.34":["mp3"]}[O];for(let _=0;_<n.length;_++){var s;if(ct(n[_],"audio",t))return wt[O]=n[_],n[_];if(n[_]==="mp3"&&(s=ae(t))!=null&&s.isTypeSupported("audio/mpeg"))return""}return O}const Ye=/flac|opus|mp4a\.40\.34/i;function vt(O,t=!0){return O.replace(Ye,n=>be(n.toLowerCase(),t))}function Lt(O,t){const n=[];if(O){const s=O.split(",");for(let _=0;_<s.length;_++)Dt(s[_],"video")||n.push(s[_])}return t&&n.push(t),n.join(",")}function Me(O,t){if(O&&(O.length>4||["ac-3","ec-3","alac","fLaC","Opus"].indexOf(O)!==-1)&&(Or(O,"audio")||Or(O,"video")))return O;if(t){const n=t.split(",");if(n.length>1){if(O){for(let s=n.length;s--;)if(n[s].substring(0,4)===O.substring(0,4))return n[s]}return n[0]}}return t||O}function Or(O,t){return Dt(O,t)&&ct(O,t)}function At(O){const t=O.split(",");for(let n=0;n<t.length;n++){const s=t[n].split(".");s.length>2&&s[0]==="avc1"&&(t[n]=`avc1.${parseInt(s[1]).toString(16)}${("000"+parseInt(s[2]).toString(16)).slice(-4)}`)}return t.join(",")}function Yr(O){if(O.startsWith("av01.")){const t=O.split("."),n=["0","111","01","01","01","0"];for(let s=t.length;s>4&&s<10;s++)t[s]=n[s-4];return t.join(".")}return O}function rn(O){const t=ae(O)||{isTypeSupported:()=>!1};return{mpeg:t.isTypeSupported("audio/mpeg"),mp3:t.isTypeSupported('audio/mp4; codecs="mp3"'),ac3:t.isTypeSupported('audio/mp4; codecs="ac-3"')}}function wr(O){return O.replace(/^.+codecs=["']?([^"']+).*$/,"$1")}const jr={supported:!0,powerEfficient:!0,smooth:!0},mr={supported:!1,smooth:!1,powerEfficient:!1},Zr={supported:!0,configurations:[],decodingInfoResults:[jr]};function un(O,t){return{supported:!1,configurations:t,decodingInfoResults:[mr],error:O}}function mn(O,t,n,s,_,E){const I=O.videoCodec,j=O.audioCodec?O.audioGroups:null,Y=E==null?void 0:E.audioCodec,V=E==null?void 0:E.channels,ue=V?parseInt(V):Y?1/0:2;let he=null;if(j!=null&&j.length)try{j.length===1&&j[0]?he=t.groups[j[0]].channels:he=j.reduce((Ee,Re)=>{if(Re){const Fe=t.groups[Re];if(!Fe)throw new Error(`Audio track group ${Re} not found`);Object.keys(Fe.channels).forEach(ft=>{Ee[ft]=(Ee[ft]||0)+Fe.channels[ft]})}return Ee},{2:0})}catch(Ee){return!0}return I!==void 0&&(I.split(",").some(Ee=>Vt(Ee))||O.width>1920&&O.height>1088||O.height>1920&&O.width>1088||O.frameRate>Math.max(s,30)||O.videoRange!=="SDR"&&O.videoRange!==n||O.bitrate>Math.max(_,8e6))||!!he&&r(ue)&&Object.keys(he).some(Ee=>parseInt(Ee)>ue)}function sr(O,t,n,s={}){const _=O.videoCodec;if(!_&&!O.audioCodec||!n)return Promise.resolve(Zr);const E=[],I=Rt(O),j=I.length,Y=_t(O,t,j>0),V=Y.length;for(let ue=j||1*V||1;ue--;){const he={type:"media-source"};if(j&&(he.video=I[ue%j]),V){he.audio=Y[ue%V];const Ee=he.audio.bitrate;he.video&&Ee&&(he.video.bitrate-=Ee)}E.push(he)}if(_){const ue=navigator.userAgent;if(_.split(",").some(he=>Vt(he))&&ce())return Promise.resolve(un(new Error(`Overriding Windows Firefox HEVC MediaCapabilities result based on user-agent string: (${ue})`),E))}return Promise.all(E.map(ue=>{const he=Ar(ue);return s[he]||(s[he]=n.decodingInfo(ue))})).then(ue=>({supported:!ue.some(he=>!he.supported),configurations:E,decodingInfoResults:ue})).catch(ue=>({supported:!1,configurations:E,decodingInfoResults:[],error:ue}))}function Rt(O){var t;const n=(t=O.videoCodec)==null?void 0:t.split(","),s=jt(O),_=O.width||640,E=O.height||480,I=O.frameRate||30,j=O.videoRange.toLowerCase();return n?n.map(Y=>{const V={contentType:Zt(Yr(Y),"video"),width:_,height:E,bitrate:s,framerate:I};return j!=="sdr"&&(V.transferFunction=j),V}):[]}function _t(O,t,n){var s;const _=(s=O.audioCodec)==null?void 0:s.split(","),E=jt(O);return _&&O.audioGroups?O.audioGroups.reduce((I,j)=>{var Y;const V=j?(Y=t.groups[j])==null?void 0:Y.tracks:null;return V?V.reduce((ue,he)=>{if(he.groupId===j){const Ee=parseFloat(he.channels||"");_.forEach(Re=>{const Fe={contentType:Zt(Re,"audio"),bitrate:n?gt(Re,E):E};Ee&&(Fe.channels=""+Ee),ue.push(Fe)})}return ue},I):I},[]):[]}function gt(O,t){if(t<=1)return 1;let n=128e3;return O==="ec-3"?n=768e3:O==="ac-3"&&(n=64e4),Math.min(t/2,n)}function jt(O){return Math.ceil(Math.max(O.bitrate*.9,O.averageBitrate)/1e3)*1e3||1}function Ar(O){let t="";const{audio:n,video:s}=O;if(s){const _=wr(s.contentType);t+=`${_}_r${s.height}x${s.width}f${Math.ceil(s.framerate)}${s.transferFunction||"sd"}_${Math.ceil(s.bitrate/1e5)}`}if(n){const _=wr(n.contentType);t+=`${s?"_":""}${_}_c${n.channels}`}return t}const yr=["NONE","TYPE-0","TYPE-1",null];function it(O){return yr.indexOf(O)>-1}const Nr=["SDR","PQ","HLG"];function An(O){return!!O&&Nr.indexOf(O)>-1}var Jn={No:"",Yes:"YES",v2:"v2"};function gr(O){const{canSkipUntil:t,canSkipDateRanges:n,age:s}=O,_=s<t/2;return t&&_?n?Jn.v2:Jn.Yes:Jn.No}class nn{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 vn{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 Wn(this._audioGroups,t)}hasSubtitleGroup(t){return Wn(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 Wn(O,t){return!t||!O?!1:O.indexOf(t)!==-1}function si(){if(typeof matchMedia=="function"){const O=matchMedia("(dynamic-range: high)"),t=matchMedia("bad query");if(O.media!==t.media)return O.matches===!0}return!1}function gi(O,t){let n=!1,s=[];if(O&&(n=O!=="SDR",s=[O]),t){s=t.allowedVideoRanges||Nr.slice(0);const _=s.join("")!=="SDR"&&!t.videoCodec;n=t.preferHDR!==void 0?t.preferHDR:_&&si(),n||(s=["SDR"])}return{preferHDR:n,allowedVideoRanges:s}}const aa=O=>{const t=new WeakSet;return(n,s)=>{if(O&&(s=O(n,s)),typeof s=="object"&&s!==null){if(t.has(s))return;t.add(s)}return s}},ui=(O,t)=>JSON.stringify(O,aa(t));function Ni(O,t,n,s,_){const E=Object.keys(O),I=s==null?void 0:s.channels,j=s==null?void 0:s.audioCodec,Y=_==null?void 0:_.videoCodec,V=I&&parseInt(I)===2;let ue=!1,he=!1,Ee=1/0,Re=1/0,Fe=1/0,ft=1/0,st=0,Ft=[];const{preferHDR:fr,allowedVideoRanges:ar}=gi(t,_);for(let an=E.length;an--;){const dn=O[E[an]];ue||(ue=dn.channels[2]>0),Ee=Math.min(Ee,dn.minHeight),Re=Math.min(Re,dn.minFramerate),Fe=Math.min(Fe,dn.minBitrate),ar.filter(Cn=>dn.videoRanges[Cn]>0).length>0&&(he=!0)}Ee=r(Ee)?Ee:0,Re=r(Re)?Re:0;const $r=Math.max(1080,Ee),Xr=Math.max(30,Re);Fe=r(Fe)?Fe:n,n=Math.max(Fe,n),he||(t=void 0);const gn=E.length>1;return{codecSet:E.reduce((an,dn)=>{const Vr=O[dn];if(dn===an)return an;if(Ft=he?ar.filter(Cn=>Vr.videoRanges[Cn]>0):[],gn){if(Vr.minBitrate>n)return mi(dn,`min bitrate of ${Vr.minBitrate} > current estimate of ${n}`),an;if(!Vr.hasDefaultAudio)return mi(dn,"no renditions with default or auto-select sound found"),an;if(j&&dn.indexOf(j.substring(0,4))%5!==0)return mi(dn,`audio codec preference "${j}" not found`),an;if(I&&!V){if(!Vr.channels[I])return mi(dn,`no renditions with ${I} channel sound found (channels options: ${Object.keys(Vr.channels)})`),an}else if((!j||V)&&ue&&Vr.channels[2]===0)return mi(dn,"no renditions with stereo sound found"),an;if(Vr.minHeight>$r)return mi(dn,`min resolution of ${Vr.minHeight} > maximum of ${$r}`),an;if(Vr.minFramerate>Xr)return mi(dn,`min framerate of ${Vr.minFramerate} > maximum of ${Xr}`),an;if(!Ft.some(Cn=>Vr.videoRanges[Cn]>0))return mi(dn,`no variants with VIDEO-RANGE of ${ui(Ft)} found`),an;if(Y&&dn.indexOf(Y.substring(0,4))%5!==0)return mi(dn,`video codec preference "${Y}" not found`),an;if(Vr.maxScore<st)return mi(dn,`max score of ${Vr.maxScore} < selected max of ${st}`),an}return an&&(Ie(dn)>=Ie(an)||Vr.fragmentError>O[an].fragmentError)?an:(ft=Vr.minIndex,st=Vr.maxScore,dn)},void 0),videoRanges:Ft,preferHDR:fr,minFramerate:Re,minBitrate:Fe,minIndex:ft}}function mi(O,t){H.log(`[abr] start candidates with "${O}" ignored because ${t}`)}function Pi(O){return O.reduce((t,n)=>{let s=t.groups[n.groupId];s||(s=t.groups[n.groupId]={tracks:[],channels:{2:0},hasDefault:!1,hasAutoSelect:!1}),s.tracks.push(n);const _=n.channels||"2";return s.channels[_]=(s.channels[_]||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 Ra(O,t,n,s){return O.slice(n,s+1).reduce((_,E,I)=>{if(!E.codecSet)return _;const j=E.audioGroups;let Y=_[E.codecSet];Y||(_[E.codecSet]=Y={minBitrate:1/0,minHeight:1/0,minFramerate:1/0,minIndex:I,maxScore:0,videoRanges:{SDR:0},channels:{2:0},hasDefaultAudio:!j,fragmentError:0}),Y.minBitrate=Math.min(Y.minBitrate,E.bitrate);const V=Math.min(E.height,E.width);return Y.minHeight=Math.min(Y.minHeight,V),Y.minFramerate=Math.min(Y.minFramerate,E.frameRate),Y.minIndex=Math.min(Y.minIndex,I),Y.maxScore=Math.max(Y.maxScore,E.score),Y.fragmentError+=E.fragmentError,Y.videoRanges[E.videoRange]=(Y.videoRanges[E.videoRange]||0)+1,j&&j.forEach(ue=>{if(!ue)return;const he=t.groups[ue];he&&(Y.hasDefaultAudio=Y.hasDefaultAudio||t.hasDefaultAudio?he.hasDefault:he.hasAutoSelect||!t.hasDefaultAudio&&!t.hasAutoSelectAudio,Object.keys(he.channels).forEach(Ee=>{Y.channels[Ee]=(Y.channels[Ee]||0)+he.channels[Ee]}))}),_},{})}function fi(O){if(!O)return O;const{lang:t,assocLang:n,characteristics:s,channels:_,audioCodec:E}=O;return{lang:t,assocLang:n,characteristics:s,channels:_,audioCodec:E}}function Hi(O,t,n){if("attrs"in O){const s=t.indexOf(O);if(s!==-1)return s}for(let s=0;s<t.length;s++){const _=t[s];if(bt(O,_,n))return s}return-1}function bt(O,t,n){const{groupId:s,name:_,lang:E,assocLang:I,default:j}=O,Y=O.forced;return(s===void 0||t.groupId===s)&&(_===void 0||t.name===_)&&(E===void 0||ut(E,t.lang))&&(E===void 0||t.assocLang===I)&&(j===void 0||t.default===j)&&(Y===void 0||t.forced===Y)&&(!("characteristics"in O)||ii(O.characteristics||"",t.characteristics))&&(n===void 0||n(O,t))}function ut(O,t="--"){return O.length===t.length?O===t:O.startsWith(t)||t.startsWith(O)}function ii(O,t=""){const n=O.split(","),s=t.split(",");return n.length===s.length&&!n.some(_=>s.indexOf(_)===-1)}function Si(O,t){const{audioCodec:n,channels:s}=O;return(n===void 0||(t.audioCodec||"").substring(0,4)===n.substring(0,4))&&(s===void 0||s===(t.channels||"2"))}function li(O,t,n,s,_){const E=t[s],j=t.reduce((Ee,Re,Fe)=>{const ft=Re.uri;return(Ee[ft]||(Ee[ft]=[])).push(Fe),Ee},{})[E.uri];j.length>1&&(s=Math.max.apply(Math,j));const Y=E.videoRange,V=E.frameRate,ue=E.codecSet.substring(0,4),he=sa(t,s,Ee=>{if(Ee.videoRange!==Y||Ee.frameRate!==V||Ee.codecSet.substring(0,4)!==ue)return!1;const Re=Ee.audioGroups,Fe=n.filter(ft=>!Re||Re.indexOf(ft.groupId)!==-1);return Hi(O,Fe,_)>-1});return he>-1?he:sa(t,s,Ee=>{const Re=Ee.audioGroups,Fe=n.filter(ft=>!Re||Re.indexOf(ft.groupId)!==-1);return Hi(O,Fe,_)>-1})}function sa(O,t,n){for(let s=t;s>-1;s--)if(n(O[s]))return s;for(let s=t+1;s<O.length;s++)if(n(O[s]))return s;return-1}function Ti(O,t){var n;return!!O&&O!==((n=t.loadLevelObj)==null?void 0:n.uri)}class pi extends R{constructor(t){super("abr",t.logger),this.hls=void 0,this.lastLevelLoadSec=0,this.lastLoadedFragLevel=-1,this.firstSelection=-1,this._nextAutoLevel=-1,this.nextAutoLevelKey="",this.audioTracksByGroup=null,this.codecTiers=null,this.timer=-1,this.fragCurrent=null,this.partCurrent=null,this.bitrateTestDelay=0,this.rebufferNotice=-1,this.supportedCache={},this.bwEstimator=void 0,this._abandonRulesCheck=n=>{var s;const{fragCurrent:_,partCurrent:E,hls:I}=this,{autoLevelEnabled:j,media:Y}=I;if(!_||!Y)return;const V=performance.now(),ue=E?E.stats:_.stats,he=E?E.duration:_.duration,Ee=V-ue.loading.start,Re=I.minAutoLevel,Fe=_.level,ft=this._nextAutoLevel;if(ue.aborted||ue.loaded&&ue.loaded===ue.total||Fe<=Re){this.clearTimer(),this._nextAutoLevel=-1;return}if(!j)return;const st=ft>-1&&ft!==Fe,Ft=!!n||st;if(!Ft&&(Y.paused||!Y.playbackRate||!Y.readyState))return;const fr=I.mainForwardBufferInfo;if(!Ft&&fr===null)return;const ar=this.bwEstimator.getEstimateTTFB(),$r=Math.abs(Y.playbackRate);if(Ee<=Math.max(ar,1e3*(he/($r*2))))return;const Xr=fr?fr.len/$r:0,gn=ue.loading.first?ue.loading.first-ue.loading.start:-1,Kr=ue.loaded&&gn>-1,an=this.getBwEstimate(),dn=I.levels,Vr=dn[Fe],Cn=Math.max(ue.loaded,Math.round(he*(_.bitrate||Vr.averageBitrate)/8));let wi=Kr?Ee-gn:Ee;wi<1&&Kr&&(wi=Math.min(Ee,ue.loaded*8/an));const qi=Kr?ue.loaded*1e3/wi:0,ma=ar/1e3,ea=qi?(Cn-ue.loaded)/qi:Cn*8/an+ma;if(ea<=Xr)return;const bi=qi?qi*8:an,ta=((s=(n==null?void 0:n.details)||this.hls.latestLevelDetails)==null?void 0:s.live)===!0,Ri=this.hls.config.abrBandWidthUpFactor;let ha=Number.POSITIVE_INFINITY,Ba;for(Ba=Fe-1;Ba>Re;Ba--){const co=dn[Ba].maxBitrate,Ss=!dn[Ba].details||ta;if(ha=this.getTimeToLoadFrag(ma,bi,he*co,Ss),ha<Math.min(Xr,he+ma))break}if(ha>=ea||ha>he*10)return;Kr?this.bwEstimator.sample(Ee-Math.min(ar,gn),ue.loaded):this.bwEstimator.sampleTTFB(Ee);const xi=dn[Ba].maxBitrate;this.getBwEstimate()*Ri>xi&&this.resetEstimator(xi);const Ei=this.findBestLevel(xi,Re,Ba,0,Xr,1,1);Ei>-1&&(Ba=Ei),this.warn(`Fragment ${_.sn}${E?" part "+E.index:""} of level ${Fe} is loading too slowly;
|
|
|
Fragment duration: ${_.duration.toFixed(3)}
|
|
|
Time to underbuffer: ${Xr.toFixed(3)} s
|
|
|
Estimated load time for current fragment: ${ea.toFixed(3)} s
|
|
|
Estimated load time for down switch fragment: ${ha.toFixed(3)} s
|
|
|
TTFB estimate: ${gn|0} ms
|
|
|
Current BW estimate: ${r(an)?an|0:"Unknown"} bps
|
|
|
New BW estimate: ${this.getBwEstimate()|0} bps
|
|
|
Switching to level ${Ba} @ ${xi|0} bps`),I.nextLoadLevel=I.nextAutoLevel=Ba,this.clearTimer();const vs=()=>{if(this.clearTimer(),this.fragCurrent===_&&this.hls.loadLevel===Ba&&Ba>0){const co=this.getStarvationDelay();if(this.warn(`Aborting inflight request ${Ba>0?"and switching down":""}
|
|
|
Fragment duration: ${_.duration.toFixed(3)} s
|
|
|
Time to underbuffer: ${co.toFixed(3)} s`),_.abortRequests(),this.fragCurrent=this.partCurrent=null,Ba>Re){let Ss=this.findBestLevel(this.hls.levels[Re].bitrate,Re,Ba,0,co,1,1);Ss===-1&&(Ss=Re),this.hls.nextLoadLevel=this.hls.nextAutoLevel=Ss,this.resetEstimator(this.hls.levels[Ss].bitrate)}}};st||ea>ha*2?vs():this.timer=self.setInterval(vs,ha*1e3),I.trigger(o.FRAG_LOAD_EMERGENCY_ABORTED,{frag:_,part:E,stats:ue})},this.hls=t,this.bwEstimator=this.initEstimator(),this.registerListeners()}resetEstimator(t){t&&(this.log(`setting initial bwe to ${t}`),this.hls.config.abrEwmaDefaultEstimate=t),this.firstSelection=-1,this.bwEstimator=this.initEstimator()}initEstimator(){const t=this.hls.config;return new x(t.abrEwmaSlowVoD,t.abrEwmaFastVoD,t.abrEwmaDefaultEstimate)}registerListeners(){const{hls:t}=this;t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_LOADING,this.onFragLoading,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.on(o.LEVEL_LOADED,this.onLevelLoaded,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.on(o.ERROR,this.onError,this)}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_LOADING,this.onFragLoading,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.LEVEL_SWITCHING,this.onLevelSwitching,this),t.off(o.LEVEL_LOADED,this.onLevelLoaded,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.MAX_AUTO_LEVEL_UPDATED,this.onMaxAutoLevelUpdated,this),t.off(o.ERROR,this.onError,this))}destroy(){this.unregisterListeners(),this.clearTimer(),this.hls=this._abandonRulesCheck=this.supportedCache=null,this.fragCurrent=this.partCurrent=null}onManifestLoading(t,n){this.lastLoadedFragLevel=-1,this.firstSelection=-1,this.lastLevelLoadSec=0,this.supportedCache={},this.fragCurrent=this.partCurrent=null,this.onLevelsUpdated(),this.clearTimer()}onLevelsUpdated(){this.lastLoadedFragLevel>-1&&this.fragCurrent&&(this.lastLoadedFragLevel=this.fragCurrent.level),this._nextAutoLevel=-1,this.onMaxAutoLevelUpdated(),this.codecTiers=null,this.audioTracksByGroup=null}onMaxAutoLevelUpdated(){this.firstSelection=-1,this.nextAutoLevelKey=""}onFragLoading(t,n){const s=n.frag;if(!this.ignoreFragment(s)){if(!s.bitrateTest){var _;this.fragCurrent=s,this.partCurrent=(_=n.part)!=null?_: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:_,partCurrent:E}=this;if(s&&_&&s.sn===_.sn&&s.level===_.level){const I=performance.now(),j=E?E.stats:s.stats,Y=I-j.loading.start,V=j.loading.first?j.loading.first-j.loading.start:-1;if(j.loaded&&V>-1){const he=this.bwEstimator.getEstimateTTFB();this.bwEstimator.sample(Y-Math.min(he,V),j.loaded)}else this.bwEstimator.sampleTTFB(Y)}break}}}getTimeToLoadFrag(t,n,s,_){const E=t+s/n,I=_?t+this.lastLevelLoadSec:0;return E+I}onLevelLoaded(t,n){const s=this.hls.config,{loading:_}=n.stats,E=_.end-_.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 _=s?s.stats:n.stats;if(n.type===u.MAIN&&this.bwEstimator.sampleTTFB(_.loading.first-_.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,I=this.hls.levels[n.level],j=(I.loaded?I.loaded.bytes:0)+_.loaded,Y=(I.loaded?I.loaded.duration:0)+E;I.loaded={bytes:j,duration:Y},I.realBitrate=Math.round(8*j/Y)}if(n.bitrateTest){const E={stats:_,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:_}=n,E=_!=null&&_.stats.loaded?_.stats:s.stats;if(E.aborted||this.ignoreFragment(s))return;const I=E.parsing.end-E.loading.start-Math.min(E.loading.first-E.loading.start,this.bwEstimator.getEstimateTTFB());this.bwEstimator.sample(I,E.loaded),E.bwEstimate=this.getBwEstimate(),s.bitrateTest?this.bitrateTestDelay=I/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(),_=this.hls.config.maxStarvationDelay,E=this.findBestLevel(s,n,t,0,_,1,1);if(E>-1)return E;const I=this.hls.firstLevel,j=Math.min(Math.max(I,n),t);return this.warn(`Could not find best starting auto level. Defaulting to first in playlist ${I} clamped to ${j}`),j}get forcedAutoLevel(){return this.nextAutoLevelKey?-1:this._nextAutoLevel}get nextAutoLevel(){const t=this.forcedAutoLevel,s=this.bwEstimator.canEstimate(),_=this.lastLoadedFragLevel>-1;if(t!==-1&&(!s||!_||this.nextAutoLevelKey===this.getAutoLevelKey()))return t;const E=s&&_?this.getNextABRAutoLevel():this.firstAutoLevel;if(t!==-1){const I=this.hls.levels;if(I.length>Math.max(t,E)&&I[t].loadError<=I[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:_,config:E,minAutoLevel:I}=s,j=n?n.duration:t?t.duration:0,Y=this.getBwEstimate(),V=this.getStarvationDelay();let ue=E.abrBandWidthFactor,he=E.abrBandWidthUpFactor;if(V){const st=this.findBestLevel(Y,I,_,V,0,ue,he);if(st>=0)return this.rebufferNotice=-1,st}let Ee=j?Math.min(j,E.maxStarvationDelay):E.maxStarvationDelay;if(!V){const st=this.bitrateTestDelay;st&&(Ee=(j?Math.min(j,E.maxLoadingDelay):E.maxLoadingDelay)-st,this.info(`bitrate test took ${Math.round(1e3*st)}ms, set first fragment max fetchDuration to ${Math.round(1e3*Ee)} ms`),ue=he=1)}const Re=this.findBestLevel(Y,I,_,V,Ee,ue,he);if(this.rebufferNotice!==Re&&(this.rebufferNotice=Re,this.info(`${V?"rebuffering expected":"buffer is empty"}, optimal quality level ${Re}`)),Re>-1)return Re;const Fe=s.levels[I],ft=s.loadLevelObj;return ft&&(Fe==null?void 0:Fe.bitrate)<ft.bitrate?I: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,_=t.mainForwardBufferInfo;return(_?_.len:0)/s}getBwEstimate(){return this.bwEstimator.canEstimate()?this.bwEstimator.getEstimate():this.hls.config.abrEwmaDefaultEstimate}findBestLevel(t,n,s,_,E,I,j){var Y;const V=_+E,ue=this.lastLoadedFragLevel,he=ue===-1?this.hls.firstLevel:ue,{fragCurrent:Ee,partCurrent:Re}=this,{levels:Fe,allAudioTracks:ft,loadLevel:st,config:Ft}=this.hls;if(Fe.length===1)return 0;const fr=Fe[he],ar=!!((Y=this.hls.latestLevelDetails)!=null&&Y.live),$r=st===-1||ue===-1;let Xr,gn="SDR",Kr=(fr==null?void 0:fr.frameRate)||0;const{audioPreference:an,videoPreference:dn}=Ft,Vr=this.audioTracksByGroup||(this.audioTracksByGroup=Pi(ft));let Cn=-1;if($r){if(this.firstSelection!==-1)return this.firstSelection;const bi=this.codecTiers||(this.codecTiers=Ra(Fe,Vr,n,s)),ta=Ni(bi,gn,t,an,dn),{codecSet:Ri,videoRanges:ha,minFramerate:Ba,minBitrate:xi,minIndex:Ei,preferHDR:vs}=ta;Cn=Ei,Xr=Ri,gn=vs?ha[ha.length-1]:ha[0],Kr=Ba,t=Math.max(t,xi),this.log(`picked start tier ${ui(ta)}`)}else Xr=fr==null?void 0:fr.codecSet,gn=fr==null?void 0:fr.videoRange;const wi=Re?Re.duration:Ee?Ee.duration:0,qi=this.bwEstimator.getEstimateTTFB()/1e3,ma=[];for(let bi=s;bi>=n;bi--){var ea;const ta=Fe[bi],Ri=bi>he;if(!ta)continue;if(Ft.useMediaCapabilities&&!ta.supportedResult&&!ta.supportedPromise){const Ss=navigator.mediaCapabilities;typeof(Ss==null?void 0:Ss.decodingInfo)=="function"&&mn(ta,Vr,gn,Kr,t,an)?(ta.supportedPromise=sr(ta,Vr,Ss,this.supportedCache),ta.supportedPromise.then(zs=>{if(!this.hls)return;ta.supportedResult=zs;const ol=this.hls.levels,qu=ol.indexOf(ta);zs.error?this.warn(`MediaCapabilities decodingInfo error: "${zs.error}" for level ${qu} ${ui(zs)}`):zs.supported?zs.decodingInfoResults.some(tc=>tc.smooth===!1||tc.powerEfficient===!1)&&this.log(`MediaCapabilities decodingInfo for level ${qu} not smooth or powerEfficient: ${ui(zs)}`):(this.warn(`Unsupported MediaCapabilities decodingInfo result for level ${qu} ${ui(zs)}`),qu>-1&&ol.length>1&&(this.log(`Removing unsupported level ${qu}`),this.hls.removeLevel(qu),this.hls.loadLevel===-1&&(this.hls.nextLoadLevel=0)))}).catch(zs=>{this.warn(`Error handling MediaCapabilities decodingInfo: ${zs}`)})):ta.supportedResult=Zr}if((Xr&&ta.codecSet!==Xr||gn&&ta.videoRange!==gn||Ri&&Kr>ta.frameRate||!Ri&&Kr>0&&Kr<ta.frameRate||(ea=ta.supportedResult)!=null&&(ea=ea.decodingInfoResults)!=null&&ea.some(Ss=>Ss.smooth===!1))&&(!$r||bi!==Cn)){ma.push(bi);continue}const ha=ta.details,Ba=(Re?ha==null?void 0:ha.partTarget:ha==null?void 0:ha.averagetargetduration)||wi;let xi;Ri?xi=j*t:xi=I*t;const Ei=wi&&_>=wi*2&&E===0?ta.averageBitrate:ta.maxBitrate,vs=this.getTimeToLoadFrag(qi,xi,Ei*Ba,ha===void 0);if(xi>=Ei&&(bi===ue||ta.loadError===0&&ta.fragmentError===0)&&(vs<=qi||!r(vs)||ar&&!this.bitrateTestDelay||vs<V)){const Ss=this.forcedAutoLevel;return bi!==st&&(Ss===-1||Ss!==st)&&(ma.length&&this.trace(`Skipped level(s) ${ma.join(",")} of ${s} max with CODECS and VIDEO-RANGE:"${Fe[ma[0]].codecs}" ${Fe[ma[0]].videoRange}; not compatible with "${Xr}" ${gn}`),this.info(`switch candidate:${he}->${bi} adjustedbw(${Math.round(xi)})-bitrate=${Math.round(xi-Ei)} ttfb:${qi.toFixed(1)} avgDuration:${Ba.toFixed(1)} maxFetchDuration:${V.toFixed(1)} fetchDuration:${vs.toFixed(1)} firstSelection:${$r} codecSet:${ta.codecSet} videoRange:${ta.videoRange} hls.loadLevel:${st}`)),$r&&(this.firstSelection=bi),bi}}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 Rn={search:function(O,t){let n=0,s=O.length-1,_=null,E=null;for(;n<=s;){_=(n+s)/2|0,E=O[_];const I=t(E);if(I>0)n=_+1;else if(I<0)s=_-1;else return E}return null}};function Jt(O,t,n){if(t===null||!Array.isArray(O)||!O.length||!r(t))return null;const s=O[0].programDateTime;if(t<(s||0))return null;const _=O[O.length-1].endProgramDateTime;if(t>=(_||0))return null;for(let E=0;E<O.length;++E){const I=O[E];if(mt(t,n,I))return I}return null}function dt(O,t,n=0,s=0,_=.005){let E=null;if(O){E=t[1+O.sn-t[0].sn]||null;const j=O.endDTS-n;j>0&&j<15e-7&&(n+=15e-7),E&&O.level!==E.level&&E.end<=O.end&&(E=t[2+O.sn-t[0].sn]||null)}else n===0&&t[0].start===0&&(E=t[0]);if(E&&((!O||O.level===E.level)&&Ot(n,s,E)===0||tt(E,O,Math.min(_,s))))return E;const I=Rn.search(t,Ot.bind(null,n,s));return I&&(I!==O||!E)?I:E}function tt(O,t,n){if(t&&t.start===0&&t.level<O.level&&(t.endPTS||0)>0){const s=t.tagList.reduce((_,E)=>(E[0]==="INF"&&(_+=parseFloat(E[1])),_),n);return O.start<=s}return!1}function Ot(O=0,t=0,n){if(n.start<=O&&n.start+n.duration>O)return 0;const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0));return n.start+n.duration-s<=O?1:n.start-s>O&&n.start?-1:0}function mt(O,t,n){const s=Math.min(t,n.duration+(n.deltaPTS?n.deltaPTS:0))*1e3;return(n.endProgramDateTime||0)-s>O}function or(O,t,n){if(O&&O.startCC<=t&&O.endCC>=t){let s=O.fragments;const{fragmentHint:_}=O;_&&(s=s.concat(_));let E;return Rn.search(s,I=>I.cc<t?1:I.cc>t?-1:(E=I,I.end<=n?1:I.start>n?-1:0)),E||null}return null}function lr(O){switch(O.details){case f.FRAG_LOAD_TIMEOUT:case f.KEY_LOAD_TIMEOUT:case f.LEVEL_LOAD_TIMEOUT:case f.MANIFEST_LOAD_TIMEOUT:return!0}return!1}function Ir(O,t){const n=lr(t);return O.default[`${n?"timeout":"error"}Retry`]}function Hr(O,t){const n=O.backoff==="linear"?1:Math.pow(2,t);return Math.min(n*O.retryDelayMs,O.maxRetryDelayMs)}function ze(O){return b(b({},O),{errorRetry:null,timeoutRetry:null})}function et(O,t,n,s){if(!O)return!1;const _=s==null?void 0:s.code,E=t<O.maxNumRetry&&(xe(_)||!!n);return O.shouldRetry?O.shouldRetry(O,t,n,s,E):E}function xe(O){return at(O)||!!O&&(O<400||O>499)}function at(O){return O===0&&navigator.onLine===!1}var tr={DoNothing:0,SendEndCallback:1,SendAlternateToPenaltyBox:2,RemoveAlternatePermanently:3,InsertDiscontinuity:4,RetryRequest:5},Cr={None:0,MoveAllAlternatesMatchingHost:1,MoveAllAlternatesMatchingHDCP:2,MoveAllAlternatesMatchingKey:4,SwitchToSDR:8};class kr extends R{constructor(t){super("error-controller",t.logger),this.hls=void 0,this.playlistError=0,this.hls=t,this.registerListeners()}registerListeners(){const t=this.hls;t.on(o.ERROR,this.onError,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this)}unregisterListeners(){const t=this.hls;t&&(t.off(o.ERROR,this.onError,this),t.off(o.ERROR,this.onErrorOut,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this))}destroy(){this.unregisterListeners(),this.hls=null}startLoad(t){}stopLoad(){this.playlistError=0}getVariantLevelIndex(t){return(t==null?void 0:t.type)===u.MAIN?t.level:this.getVariantIndex()}getVariantIndex(){var t;const n=this.hls,s=n.currentLevel;return(t=n.loadLevelObj)!=null&&t.details||s===-1?n.loadLevel:s}variantHasKey(t,n){if(t){var s;if((s=t.details)!=null&&s.hasKey(n))return!0;const _=t.audioGroups;if(_)return this.hls.allAudioTracks.filter(I=>_.indexOf(I.groupId)>=0).some(I=>{var j;return(j=I.details)==null?void 0:j.hasKey(n)})}return!1}onManifestLoading(){this.playlistError=0}onLevelUpdated(){this.playlistError=0}onError(t,n){var s;if(n.fatal)return;const _=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=Pr();return}case f.FRAG_GAP:case f.FRAG_DECRYPT_ERROR:{n.errorAction=this.getFragRetryOrSwitchAction(n),n.errorAction.action=tr.SendAlternateToPenaltyBox;return}case f.LEVEL_EMPTY_ERROR:case f.LEVEL_PARSING_ERROR:{var I;const Y=n.parent===u.MAIN?n.level:_.loadLevel;n.details===f.LEVEL_EMPTY_ERROR&&((I=n.context)!=null&&(I=I.levelDetails)!=null&&I.live)?n.errorAction=this.getPlaylistRetryOrSwitchAction(n,Y):(n.levelRetry=!1,n.errorAction=this.getLevelSwitchAction(n,Y))}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 Y=_.loadLevelObj;if(Y&&(E.type===h.AUDIO_TRACK&&Y.hasAudioGroup(E.groupId)||E.type===h.SUBTITLE_TRACK&&Y.hasSubtitleGroup(E.groupId))){n.errorAction=this.getPlaylistRetryOrSwitchAction(n,_.loadLevel),n.errorAction.action=tr.SendAlternateToPenaltyBox,n.errorAction.flags=Cr.MoveAllAlternatesMatchingHost;return}}return;case f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:n.errorAction={action:tr.SendAlternateToPenaltyBox,flags:Cr.MoveAllAlternatesMatchingHDCP};return;case f.KEY_SYSTEM_SESSION_UPDATE_FAILED:case f.KEY_SYSTEM_STATUS_INTERNAL_ERROR:case f.KEY_SYSTEM_NO_SESSION:n.errorAction={action:tr.SendAlternateToPenaltyBox,flags:Cr.MoveAllAlternatesMatchingKey};return;case f.BUFFER_ADD_CODEC_ERROR:case f.REMUX_ALLOC_ERROR:case f.BUFFER_APPEND_ERROR:if(!n.errorAction){var j;n.errorAction=this.getLevelSwitchAction(n,(j=n.level)!=null?j:_.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=Pr();return}n.type===c.KEY_SYSTEM_ERROR&&(n.levelRetry=!1,n.errorAction=Pr())}getPlaylistRetryOrSwitchAction(t,n){const s=this.hls,_=Ir(s.config.playlistLoadPolicy,t),E=this.playlistError++;if(et(_,E,lr(t),t.response))return{action:tr.RetryRequest,flags:Cr.None,retryConfig:_,retryCount:E};const j=this.getLevelSwitchAction(t,n);return _&&(j.retryConfig=_,j.retryCount=E),j}getFragRetryOrSwitchAction(t){const n=this.hls,s=this.getVariantLevelIndex(t.frag),_=n.levels[s],{fragLoadPolicy:E,keyLoadPolicy:I}=n.config,j=Ir(t.details.startsWith("key")?I:E,t),Y=n.levels.reduce((ue,he)=>ue+he.fragmentError,0);if(_&&(t.details!==f.FRAG_GAP&&_.fragmentError++,et(j,Y,lr(t),t.response)))return{action:tr.RetryRequest,flags:Cr.None,retryConfig:j,retryCount:Y};const V=this.getLevelSwitchAction(t,s);return j&&(V.retryConfig=j,V.retryCount=Y),V}getLevelSwitchAction(t,n){const s=this.hls;n==null&&(n=s.loadLevel);const _=this.hls.levels[n];if(_){var E,I;const V=t.details;_.loadError++,V===f.BUFFER_APPEND_ERROR&&_.fragmentError++;let ue=-1;const{levels:he,loadLevel:Ee,minAutoLevel:Re,maxAutoLevel:Fe}=s;!s.autoLevelEnabled&&!s.config.preserveManualLevelOnError&&(s.loadLevel=-1);const ft=(E=t.frag)==null?void 0:E.type,Ft=(ft===u.AUDIO&&V===f.FRAG_PARSING_ERROR||t.sourceBufferName==="audio"&&(V===f.BUFFER_ADD_CODEC_ERROR||V===f.BUFFER_APPEND_ERROR))&&he.some(({audioCodec:gn})=>_.audioCodec!==gn),ar=t.sourceBufferName==="video"&&(V===f.BUFFER_ADD_CODEC_ERROR||V===f.BUFFER_APPEND_ERROR)&&he.some(({codecSet:gn,audioCodec:Kr})=>_.codecSet!==gn&&_.audioCodec===Kr),{type:$r,groupId:Xr}=(I=t.context)!=null?I:{};for(let gn=he.length;gn--;){const Kr=(gn+Ee)%he.length;if(Kr!==Ee&&Kr>=Re&&Kr<=Fe&&he[Kr].loadError===0){var j,Y;const an=he[Kr];if(V===f.FRAG_GAP&&ft===u.MAIN&&t.frag){const dn=he[Kr].details;if(dn){const Vr=dt(t.frag,dn.fragments,t.frag.start);if(Vr!=null&&Vr.gap)continue}}else{if($r===h.AUDIO_TRACK&&an.hasAudioGroup(Xr)||$r===h.SUBTITLE_TRACK&&an.hasSubtitleGroup(Xr))continue;if(ft===u.AUDIO&&(j=_.audioGroups)!=null&&j.some(dn=>an.hasAudioGroup(dn))||ft===u.SUBTITLE&&(Y=_.subtitleGroups)!=null&&Y.some(dn=>an.hasSubtitleGroup(dn))||Ft&&_.audioCodec===an.audioCodec||ar&&_.codecSet===an.codecSet||!Ft&&_.codecSet!==an.codecSet)continue}ue=Kr;break}}if(ue>-1&&s.loadLevel!==ue)return t.levelRetry=!0,this.playlistError=0,{action:tr.SendAlternateToPenaltyBox,flags:Cr.None,nextAutoLevel:ue}}return{action:tr.SendAlternateToPenaltyBox,flags:Cr.MoveAllAlternatesMatchingHost}}onErrorOut(t,n){var s;switch((s=n.errorAction)==null?void 0:s.action){case tr.DoNothing:break;case tr.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 tr.RetryRequest:break}if(n.fatal){this.hls.stopLoad();return}}sendAlternateToPenaltyBox(t){const n=this.hls,s=t.errorAction;if(!s)return;const{flags:_}=s,E=s.nextAutoLevel;switch(_){case Cr.None:this.switchLevel(t,E);break;case Cr.MoveAllAlternatesMatchingHDCP:{const Y=this.getVariantLevelIndex(t.frag),V=n.levels[Y],ue=V==null?void 0:V.attrs["HDCP-LEVEL"];if(s.hdcpLevel=ue,ue){n.maxHdcpLevel=yr[yr.indexOf(ue)-1],s.resolved=!0,this.warn(`Restricting playback to HDCP-LEVEL of "${n.maxHdcpLevel}" or lower`);break}}case Cr.MoveAllAlternatesMatchingKey:{const Y=t.decryptdata;if(Y){const V=this.hls.levels;for(let ue=V.length;ue--;)if(this.variantHasKey(V[ue],Y)){var I,j;this.log(`Banned key found in level ${ue} (${V[ue].bitrate}bps) or audio group "${(I=V[ue].audioGroups)==null?void 0:I.join(",")}" (${(j=t.frag)==null?void 0:j.type} fragment) ${J(Y.keyId||[])}`),V[ue].fragmentError++,V[ue].loadError++,this.log(`Removing level ${ue} with key error (${t.error})`),this.hls.removeLevel(ue)}V.length&&(s.resolved=!0)}break}}s.resolved||this.switchLevel(t,E)}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=wr(t.mimeType),_=this.hls.levels;for(let E=_.length;E--;)_[E][`${t.sourceBufferName}Codec`]===s&&(this.log(`Removing level ${E} for ${t.details} ("${s}" not supported)`),this.hls.removeLevel(E))}}}function Pr(O){const t={action:tr.DoNothing,flags:Cr.None};return O&&(t.resolved=!0),t}var Rr={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};class Tn{constructor(t){this.activePartLists=Object.create(null),this.endListFragments=Object.create(null),this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.bufferPadding=.2,this.hls=void 0,this.hasGaps=!1,this.hls=t,this._registerListeners()}_registerListeners(){const{hls:t}=this;t&&(t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.FRAG_BUFFERED,this.onFragBuffered,this),t.on(o.FRAG_LOADED,this.onFragLoaded,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.FRAG_BUFFERED,this.onFragBuffered,this),t.off(o.FRAG_LOADED,this.onFragLoaded,this))}destroy(){this._unregisterListeners(),this.hls=this.fragments=this.activePartLists=this.endListFragments=this.timeRanges=null}getAppendedFrag(t,n){const s=this.activePartLists[n];if(s)for(let _=s.length;_--;){const E=s[_];if(!E)break;if(E.start<=t&&t<=E.end&&E.loaded)return E}return this.getBufferedFrag(t,n)}getBufferedFrag(t,n){return this.getFragAtPos(t,n,!0)}getFragAtPos(t,n,s){const{fragments:_}=this,E=Object.keys(_);for(let I=E.length;I--;){const j=_[E[I]];if((j==null?void 0:j.body.type)===n&&(!s||j.buffered)){const Y=j.body;if(Y.start<=t&&t<=Y.end)return Y}}return null}detectEvictedFragments(t,n,s,_,E){this.timeRanges&&(this.timeRanges[t]=n);const I=(_==null?void 0:_.fragment.sn)||-1;Object.keys(this.fragments).forEach(j=>{const Y=this.fragments[j];if(!Y||I>=Y.body.sn)return;if(!Y.buffered&&(!Y.loaded||E)){Y.body.type===s&&this.removeFragment(Y.body);return}const V=Y.range[t];if(V){if(V.time.length===0){this.removeFragment(Y.body);return}V.time.some(ue=>{const he=!this.isTimeBuffered(ue.startPTS,ue.endPTS,n);return he&&this.removeFragment(Y.body),he})}})}detectPartialFragments(t){const n=this.timeRanges;if(!n||t.frag.sn==="initSegment")return;const s=t.frag,_=pn(s),E=this.fragments[_];if(!E||E.buffered&&s.gap)return;const I=!s.relurl;Object.keys(n).forEach(j=>{const Y=s.elementaryStreams[j];if(!Y)return;const V=n[j],ue=I||Y.partial===!0;E.range[j]=this.getBufferedTimes(s,t.part,ue,V)}),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),Tr(E)||this.removeParts(s.sn-1,s.type)):this.removeFragment(E.body)}removeParts(t,n){const s=this.activePartLists[n];s&&(this.activePartLists[n]=sn(s,_=>_.fragment.sn>=t))}fragBuffered(t,n){const s=pn(t);let _=this.fragments[s];!_&&n&&(_=this.fragments[s]={body:t,appendedPTS:null,loaded:null,buffered:!1,range:Object.create(null)},t.gap&&(this.hasGaps=!0)),_&&(_.loaded=null,_.buffered=!0)}getBufferedTimes(t,n,s,_){const E={time:[],partial:s},I=t.start,j=t.end,Y=t.minEndPTS||j,V=t.maxStartPTS||I;for(let ue=0;ue<_.length;ue++){const he=_.start(ue)-this.bufferPadding,Ee=_.end(ue)+this.bufferPadding;if(V>=he&&Y<=Ee){E.time.push({startPTS:Math.max(I,_.start(ue)),endPTS:Math.min(j,_.end(ue))});break}else if(I<Ee&&j>he){const Re=Math.max(I,_.start(ue)),Fe=Math.min(j,_.end(ue));Fe>Re&&(E.partial=!0,E.time.push({startPTS:Re,endPTS:Fe}))}else if(j<=he)break}return E}getPartialFragment(t){let n=null,s,_,E,I=0;const{bufferPadding:j,fragments:Y}=this;return Object.keys(Y).forEach(V=>{const ue=Y[V];ue&&Tr(ue)&&(_=ue.body.start-j,E=ue.body.end+j,t>=_&&t<=E&&(s=Math.min(t-_,E-t),I<=s&&(n=ue.body,I=s)))}),n}isEndListAppended(t){const n=this.endListFragments[t];return n!==void 0&&(n.buffered||Tr(n))}getState(t){const n=pn(t),s=this.fragments[n];return s?s.buffered?Tr(s)?Rr.PARTIAL:Rr.OK:Rr.APPENDING:Rr.NOT_LOADED}isTimeBuffered(t,n,s){let _,E;for(let I=0;I<s.length;I++){if(_=s.start(I)-this.bufferPadding,E=s.end(I)+this.bufferPadding,t>=_&&n<=E)return!0;if(n<=_)return!1}return!1}onManifestLoading(){this.removeAllFragments()}onFragLoaded(t,n){if(n.frag.sn==="initSegment"||n.frag.bitrateTest)return;const s=n.frag,_=n.part?null:n,E=pn(s);this.fragments[E]={body:s,appendedPTS:null,loaded:_,buffered:!1,range:Object.create(null)}}onBufferAppended(t,n){const{frag:s,part:_,timeRanges:E,type:I}=n;if(s.sn==="initSegment")return;const j=s.type;if(_){let V=this.activePartLists[j];V||(this.activePartLists[j]=V=[]),V.push(_)}this.timeRanges=E;const Y=E[I];this.detectEvictedFragments(I,Y,j,_)}onFragBuffered(t,n){this.detectPartialFragments(n)}hasFragment(t){const n=pn(t);return!!this.fragments[n]}hasFragments(t){const{fragments:n}=this,s=Object.keys(n);if(!t)return s.length>0;for(let _=s.length;_--;){const E=n[s[_]];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,_,E){_&&!this.hasGaps||Object.keys(this.fragments).forEach(I=>{const j=this.fragments[I];if(!j)return;const Y=j.body;Y.type!==s||_&&!Y.gap||Y.start<n&&Y.end>t&&(j.buffered||E)&&this.removeFragment(Y)})}removeFragment(t){const n=pn(t);t.clearElementaryStreamInfo();const s=this.activePartLists[t.type];if(s){const _=t.sn;this.activePartLists[t.type]=sn(s,E=>E.fragment.sn!==_)}delete this.fragments[n],t.endList&&delete this.endListFragments[t.type]}removeAllFragments(){var t;this.fragments=Object.create(null),this.endListFragments=Object.create(null),this.activePartLists=Object.create(null),this.hasGaps=!1;const n=(t=this.hls)==null||(t=t.latestLevelDetails)==null?void 0:t.partList;n&&n.forEach(s=>s.clearElementaryStreamInfo())}}function Tr(O){var t,n,s;return O.buffered&&!!(O.body.gap||(t=O.range.video)!=null&&t.partial||(n=O.range.audio)!=null&&n.partial||(s=O.range.audiovideo)!=null&&s.partial)}function pn(O){return`${O.type}_${O.level}_${O.sn}`}function sn(O,t){return O.filter(n=>{const s=t(n);return s||n.clearElementaryStreamInfo(),s})}var ln={cbc:0,ctr:1};class Ln{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 ln.cbc:return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},n,t);case ln.ctr:return this.subtle.decrypt({name:"AES-CTR",counter:this.aesIV,length:64},n,t);default:throw new Error(`[AESCrypto] invalid aes mode ${this.aesMode}`)}}}function Ia(O){const t=O.byteLength,n=t&&new DataView(O.buffer).getUint8(t-1);return n?O.slice(0,t-n):O}class ji{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 _=0;_<4;_++)s[_]=n.getUint32(_*4);return s}initTable(){const t=this.sBox,n=this.invSBox,s=this.subMix,_=s[0],E=s[1],I=s[2],j=s[3],Y=this.invSubMix,V=Y[0],ue=Y[1],he=Y[2],Ee=Y[3],Re=new Uint32Array(256);let Fe=0,ft=0,st=0;for(st=0;st<256;st++)st<128?Re[st]=st<<1:Re[st]=st<<1^283;for(st=0;st<256;st++){let Ft=ft^ft<<1^ft<<2^ft<<3^ft<<4;Ft=Ft>>>8^Ft&255^99,t[Fe]=Ft,n[Ft]=Fe;const fr=Re[Fe],ar=Re[fr],$r=Re[ar];let Xr=Re[Ft]*257^Ft*16843008;_[Fe]=Xr<<24|Xr>>>8,E[Fe]=Xr<<16|Xr>>>16,I[Fe]=Xr<<8|Xr>>>24,j[Fe]=Xr,Xr=$r*16843009^ar*65537^fr*257^Fe*16843008,V[Ft]=Xr<<24|Xr>>>8,ue[Ft]=Xr<<16|Xr>>>16,he[Ft]=Xr<<8|Xr>>>24,Ee[Ft]=Xr,Fe?(Fe=fr^Re[Re[Re[$r^fr]]],ft^=Re[Re[ft]]):Fe=ft=1}}expandKey(t){const n=this.uint8ArrayToUint32Array_(t);let s=!0,_=0;for(;_<n.length&&s;)s=n[_]===this.key[_],_++;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 I=this.ksRows=(E+6+1)*4;let j,Y;const V=this.keySchedule=new Uint32Array(I),ue=this.invKeySchedule=new Uint32Array(I),he=this.sBox,Ee=this.rcon,Re=this.invSubMix,Fe=Re[0],ft=Re[1],st=Re[2],Ft=Re[3];let fr,ar;for(j=0;j<I;j++){if(j<E){fr=V[j]=n[j];continue}ar=fr,j%E===0?(ar=ar<<8|ar>>>24,ar=he[ar>>>24]<<24|he[ar>>>16&255]<<16|he[ar>>>8&255]<<8|he[ar&255],ar^=Ee[j/E|0]<<24):E>6&&j%E===4&&(ar=he[ar>>>24]<<24|he[ar>>>16&255]<<16|he[ar>>>8&255]<<8|he[ar&255]),V[j]=fr=(V[j-E]^ar)>>>0}for(Y=0;Y<I;Y++)j=I-Y,Y&3?ar=V[j]:ar=V[j-4],Y<4||j<=4?ue[Y]=ar:ue[Y]=Fe[he[ar>>>24]]^ft[he[ar>>>16&255]]^st[he[ar>>>8&255]]^Ft[he[ar&255]],ue[Y]=ue[Y]>>>0}networkToHostOrderSwap(t){return t<<24|(t&65280)<<8|(t&16711680)>>8|t>>>24}decrypt(t,n,s){const _=this.keySize+6,E=this.invKeySchedule,I=this.invSBox,j=this.invSubMix,Y=j[0],V=j[1],ue=j[2],he=j[3],Ee=this.uint8ArrayToUint32Array_(s);let Re=Ee[0],Fe=Ee[1],ft=Ee[2],st=Ee[3];const Ft=new Int32Array(t),fr=new Int32Array(Ft.length);let ar,$r,Xr,gn,Kr,an,dn,Vr,Cn,wi,qi,ma,ea,bi;const ta=this.networkToHostOrderSwap;for(;n<Ft.length;){for(Cn=ta(Ft[n]),wi=ta(Ft[n+1]),qi=ta(Ft[n+2]),ma=ta(Ft[n+3]),Kr=Cn^E[0],an=ma^E[1],dn=qi^E[2],Vr=wi^E[3],ea=4,bi=1;bi<_;bi++)ar=Y[Kr>>>24]^V[an>>16&255]^ue[dn>>8&255]^he[Vr&255]^E[ea],$r=Y[an>>>24]^V[dn>>16&255]^ue[Vr>>8&255]^he[Kr&255]^E[ea+1],Xr=Y[dn>>>24]^V[Vr>>16&255]^ue[Kr>>8&255]^he[an&255]^E[ea+2],gn=Y[Vr>>>24]^V[Kr>>16&255]^ue[an>>8&255]^he[dn&255]^E[ea+3],Kr=ar,an=$r,dn=Xr,Vr=gn,ea=ea+4;ar=I[Kr>>>24]<<24^I[an>>16&255]<<16^I[dn>>8&255]<<8^I[Vr&255]^E[ea],$r=I[an>>>24]<<24^I[dn>>16&255]<<16^I[Vr>>8&255]<<8^I[Kr&255]^E[ea+1],Xr=I[dn>>>24]<<24^I[Vr>>16&255]<<16^I[Kr>>8&255]<<8^I[an&255]^E[ea+2],gn=I[Vr>>>24]<<24^I[Kr>>16&255]<<16^I[an>>8&255]<<8^I[dn&255]^E[ea+3],fr[n]=ta(ar^Re),fr[n+1]=ta(gn^Fe),fr[n+2]=ta(Xr^ft),fr[n+3]=ta($r^st),Re=Cn,Fe=wi,ft=qi,st=ma,n=n+4}return fr.buffer}}class Ii{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=En(this.aesMode);return this.subtle.importKey("raw",this.key,{name:t},!1,["encrypt","decrypt"])}}function En(O){switch(O){case ln.cbc:return"AES-CBC";case ln.ctr:return"AES-CTR";default:throw new Error(`[FastAESKey] invalid aes mode ${O}`)}}const yi=16;class Vi{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?Ia(s):s}reset(){this.currentResult=null,this.currentIV=null,this.remainderData=null,this.softwareDecrypter&&(this.softwareDecrypter=null)}decrypt(t,n,s,_){return this.useSoftware?new Promise((E,I)=>{const j=ArrayBuffer.isView(t)?t:new Uint8Array(t);this.softwareDecrypt(j,n,s,_);const Y=this.flush();Y?E(Y.buffer):I(new Error("[softwareDecrypt] Failed to decrypt data"))}):this.webCryptoDecrypt(new Uint8Array(t),n,s,_)}softwareDecrypt(t,n,s,_){const{currentIV:E,currentResult:I,remainderData:j}=this;if(_!==ln.cbc||n.byteLength!==16)return H.warn("SoftwareDecrypt: can only handle AES-128-CBC"),null;this.logOnce("JS AES decrypt"),j&&(t=Ae(j,t),this.remainderData=null);const Y=this.getValidChunk(t);if(!Y.length)return null;E&&(s=E);let V=this.softwareDecrypter;V||(V=this.softwareDecrypter=new ji),V.expandKey(n);const ue=I;return this.currentResult=V.decrypt(Y.buffer,0,s),this.currentIV=Y.slice(-16).buffer,ue||null}webCryptoDecrypt(t,n,s,_){if(this.key!==n||!this.fastAesKey){if(!this.subtle)return Promise.resolve(this.onWebCryptoError(t,n,s,_));this.key=n,this.fastAesKey=new Ii(this.subtle,n,_)}return this.fastAesKey.expandKey().then(E=>this.subtle?(this.logOnce("WebCrypto AES decrypt"),new Ln(this.subtle,new Uint8Array(s),_).decrypt(t.buffer,E)):Promise.reject(new Error("web crypto not initialized"))).catch(E=>(H.warn(`[decrypter]: WebCrypto Error, disable WebCrypto API, ${E.name}: ${E.message}`),this.onWebCryptoError(t,n,s,_)))}onWebCryptoError(t,n,s,_){const E=this.enableSoftwareAES;if(E){this.useSoftware=!0,this.logEnabled=!0,this.softwareDecrypt(t,n,s,_);const I=this.flush();if(I)return I.buffer}throw new Error("WebCrypto"+(E?" and softwareDecrypt":"")+": failed to decrypt data")}getValidChunk(t){let n=t;const s=t.length-t.length%yi;return s!==t.length&&(n=t.slice(0,s),this.remainderData=t.slice(s)),n}logOnce(t){this.logEnabled&&(H.log(`[decrypter]: ${t}`),this.logEnabled=!1)}}const Ea=Math.pow(2,17);class Gs{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 ja({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 _=this.config,E=_.fLoader,I=_.loader;return new Promise((j,Y)=>{if(this.loader&&this.loader.destroy(),t.gap)if(t.tagList.some(Fe=>Fe[0]==="GAP")){Y(Bs(t));return}else t.gap=!1;const V=this.loader=E?new E(_):new I(_),ue=$a(t);t.loader=V;const he=ze(_.fragLoadPolicy.default),Ee={loadPolicy:he,timeout:he.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:t.sn==="initSegment"?1/0:Ea};t.stats=V.stats;const Re={onSuccess:(Fe,ft,st,Ft)=>{this.resetLoader(t,V);let fr=Fe.data;st.resetIV&&t.decryptdata&&(t.decryptdata.iv=new Uint8Array(fr.slice(0,16)),fr=fr.slice(16)),j({frag:t,part:null,payload:fr,networkDetails:Ft})},onError:(Fe,ft,st,Ft)=>{this.resetLoader(t,V),Y(new ja({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,response:b({url:s,data:void 0},Fe),error:new Error(`HTTP Error ${Fe.code} ${Fe.text}`),networkDetails:st,stats:Ft}))},onAbort:(Fe,ft,st)=>{this.resetLoader(t,V),Y(new ja({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,error:new Error("Aborted"),networkDetails:st,stats:Fe}))},onTimeout:(Fe,ft,st)=>{this.resetLoader(t,V),Y(new ja({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,error:new Error(`Timeout after ${Ee.timeout}ms`),networkDetails:st,stats:Fe}))}};n&&(Re.onProgress=(Fe,ft,st,Ft)=>n({frag:t,part:null,payload:st,networkDetails:Ft})),V.load(ue,Ee,Re)})}loadPart(t,n,s){this.abort();const _=this.config,E=_.fLoader,I=_.loader;return new Promise((j,Y)=>{if(this.loader&&this.loader.destroy(),t.gap||n.gap){Y(Bs(t,n));return}const V=this.loader=E?new E(_):new I(_),ue=$a(t,n);t.loader=V;const he=ze(_.fragLoadPolicy.default),Ee={loadPolicy:he,timeout:he.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0,highWaterMark:Ea};n.stats=V.stats,V.load(ue,Ee,{onSuccess:(Re,Fe,ft,st)=>{this.resetLoader(t,V),this.updateStatsFromPart(t,n);const Ft={frag:t,part:n,payload:Re.data,networkDetails:st};s(Ft),j(Ft)},onError:(Re,Fe,ft,st)=>{this.resetLoader(t,V),Y(new ja({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_ERROR,fatal:!1,frag:t,part:n,response:b({url:ue.url,data:void 0},Re),error:new Error(`HTTP Error ${Re.code} ${Re.text}`),networkDetails:ft,stats:st}))},onAbort:(Re,Fe,ft)=>{t.stats.aborted=n.stats.aborted,this.resetLoader(t,V),Y(new ja({type:c.NETWORK_ERROR,details:f.INTERNAL_ABORTED,fatal:!1,frag:t,part:n,error:new Error("Aborted"),networkDetails:ft,stats:Re}))},onTimeout:(Re,Fe,ft)=>{this.resetLoader(t,V),Y(new ja({type:c.NETWORK_ERROR,details:f.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t,part:n,error:new Error(`Timeout after ${Ee.timeout}ms`),networkDetails:ft,stats:Re}))}})})}updateStatsFromPart(t,n){const s=t.stats,_=n.stats,E=_.total;if(s.loaded+=_.loaded,E){const Y=Math.round(t.duration/n.duration),V=Math.min(Math.round(s.loaded/E),Y),he=(Y-V)*Math.round(s.loaded/V);s.total=s.loaded+he}else s.total=Math.max(s.loaded,s.total);const I=s.loading,j=_.loading;I.start?I.first+=j.first-j.start:(I.start=j.start,I.first=j.first),I.end=j.end}resetLoader(t,n){t.loader=null,this.loader===n&&(self.clearTimeout(this.partLoadTimeout),this.loader=null),n.destroy()}}function $a(O,t=null){const n=t||O,s={frag:O,part:t,responseType:"arraybuffer",url:n.url,headers:{},rangeStart:0,rangeEnd:0},_=n.byteRangeStartOffset,E=n.byteRangeEndOffset;if(r(_)&&r(E)){var I;let j=_,Y=E;if(O.sn==="initSegment"&&ro((I=O.decryptdata)==null?void 0:I.method)){const V=E-_;V%16&&(Y=E+(16-V%16)),_!==0&&(s.resetIV=!0,j=_-16)}s.rangeStart=j,s.rangeEnd=Y}return s}function Bs(O,t){const n=new Error(`GAP ${O.gap?"tag":"attribute"} found`),s={type:c.MEDIA_ERROR,details:f.FRAG_GAP,fatal:!1,frag:O,error:n,networkDetails:null};return t&&(s.part=t),(t||O).stats.aborted=!0,new ja(s)}function ro(O){return O==="AES-128"||O==="AES-256"}class ja extends Error{constructor(t){super(t.error.message),this.data=void 0,this.data=t}}class Hs 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 ya{constructor(t,n,s,_=0,E=-1,I=!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=cs(),this.buffering={audio:cs(),video:cs(),audiovideo:cs()},this.level=t,this.sn=n,this.id=s,this.size=_,this.part=E,this.partial=I}}function cs(){return{start:0,executeStart:0,executeEnd:0,end:0}}const fs={length:0,start:()=>0,end:()=>0};class Li{static isBuffered(t,n){if(t){const s=Li.getBuffered(t);for(let _=s.length;_--;)if(n>=s.start(_)&&n<=s.end(_))return!0}return!1}static bufferedRanges(t){if(t){const n=Li.getBuffered(t);return Li.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 _=Li.bufferedRanges(t);if(_.length)return Li.bufferedInfo(_,n,s)}return{len:0,start:n,end:n,bufferedIndex:-1}}static bufferedInfo(t,n,s){n=Math.max(0,n),t.length>1&&t.sort((ue,he)=>ue.start-he.start||he.end-ue.end);let _=-1,E=[];if(s)for(let ue=0;ue<t.length;ue++){n>=t[ue].start&&n<=t[ue].end&&(_=ue);const he=E.length;if(he){const Ee=E[he-1].end;t[ue].start-Ee<s?t[ue].end>Ee&&(E[he-1].end=t[ue].end):E.push(t[ue])}else E.push(t[ue])}else E=t;let I=0,j,Y=n,V=n;for(let ue=0;ue<E.length;ue++){const he=E[ue].start,Ee=E[ue].end;if(_===-1&&n>=he&&n<=Ee&&(_=ue),n+s>=he&&n<Ee)Y=he,V=Ee,I=V-n;else if(n+s<he){j=he;break}}return{len:I,start:Y||0,end:V||0,nextStart:j,buffered:t,bufferedIndex:_}}static getBuffered(t){try{return t.buffered||fs}catch(n){return H.log("failed to get media.buffered",n),fs}}}const ra=/\{\$([a-zA-Z0-9-_]+)\}/g;function ks(O){return ra.test(O)}function Mo(O,t){if(O.variableList!==null||O.hasVariableRefs){const n=O.variableList;return t.replace(ra,s=>{const _=s.substring(2,s.length-1),E=n==null?void 0:n[_];return E===void 0?(O.playlistParsingError||(O.playlistParsingError=new Error(`Missing preceding EXT-X-DEFINE tag for Variable Reference: "${_}"`)),s):E})}return t}function Ya(O,t,n){let s=O.variableList;s||(O.variableList=s={});let _,E;if("QUERYPARAM"in t){_=t.QUERYPARAM;try{const I=new self.URL(n).searchParams;if(I.has(_))E=I.get(_);else throw new Error(`"${_}" does not match any query parameter in URI: "${n}"`)}catch(I){O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE QUERYPARAM: ${I.message}`))}}else _=t.NAME,E=t.VALUE;_ in s?O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE duplicate Variable Name declarations: "${_}"`)):s[_]=E||""}function Ns(O,t,n){const s=t.IMPORT;if(n&&s in n){let _=O.variableList;_||(O.variableList=_={}),_[s]=n[s]}else O.playlistParsingError||(O.playlistParsingError=new Error(`EXT-X-DEFINE IMPORT attribute not found in Multivariant Playlist: "${s}"`))}const is=/^(\d+)x(\d+)$/,fo=/(.+?)=(".*?"|.*?)(?:,|$)/g;class bn{constructor(t,n){typeof t=="string"&&(t=bn.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 _=0;_<n.length/2;_++)s[_]=parseInt(n.slice(_*2,_*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((_,E)=>(_[E.toLowerCase()]=!0,_),n)}bool(t){return this[t]==="YES"}decimalResolution(t){const n=is.exec(this[t]);if(n!==null)return{width:parseInt(n[1],10),height:parseInt(n[2],10)}}static parseAttrList(t,n){let s;const _={},E='"';for(fo.lastIndex=0;(s=fo.exec(t))!==null;){const I=s[1].trim();let j=s[2];const Y=j.indexOf(E)===0&&j.lastIndexOf(E)===j.length-1;let V=!1;if(Y)j=j.slice(1,-1);else switch(I){case"IV":case"SCTE35-CMD":case"SCTE35-IN":case"SCTE35-OUT":V=!0}if(n&&(Y||V))j=Mo(n,j);else if(!V&&!Y)switch(I){case"CLOSED-CAPTIONS":if(j==="NONE")break;case"ALLOWED-CPC":case"CLASS":case"ASSOC-LANGUAGE":case"AUDIO":case"BYTERANGE":case"CHANNELS":case"CHARACTERISTICS":case"CODECS":case"DATA-ID":case"END-DATE":case"GROUP-ID":case"ID":case"IMPORT":case"INSTREAM-ID":case"KEYFORMAT":case"KEYFORMATVERSIONS":case"LANGUAGE":case"NAME":case"PATHWAY-ID":case"QUERYPARAM":case"RECENTLY-REMOVED-DATERANGES":case"SERVER-URI":case"STABLE-RENDITION-ID":case"STABLE-VARIANT-ID":case"START-DATE":case"SUBTITLES":case"SUPPLEMENTAL-CODECS":case"URI":case"VALUE":case"VIDEO":case"X-ASSET-LIST":case"X-ASSET-URI":H.warn(`${t}: attribute ${I} is missing quotes`)}_[I]=j}return _}}const as="com.apple.hls.interstitial";function Ps(O){return O!=="ID"&&O!=="CLASS"&&O!=="CUE"&&O!=="START-DATE"&&O!=="DURATION"&&O!=="END-DATE"&&O!=="END-ON-NEXT"}function Is(O){return O==="SCTE35-OUT"||O==="SCTE35-IN"||O==="SCTE35-CMD"}class oa{constructor(t,n,s=0){var _;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=(_=n==null?void 0:n.tagOrder)!=null?_:s,n){const E=n.attr;for(const I in E)if(Object.prototype.hasOwnProperty.call(t,I)&&t[I]!==E[I]){H.warn(`DATERANGE tag attribute: "${I}" does not match for tags with ID: "${t.ID}"`),this._badValueForSameId=I;break}t=y(new bn({}),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?(H.warn(`Expected tagAnchor Fragment with PDT set for DateRange "${this.id}": ${t}`),NaN):t.start+(this.startDate.getTime()-t.programDateTime)/1e3}get startDate(){return this._startDate}get endDate(){const t=this._endDate||this._dateAtEnd;if(t)return t;const n=this.duration;return n!==null?this._dateAtEnd=new Date(this._startDate.getTime()+n*1e3):null}get duration(){if("DURATION"in this.attr){const t=this.attr.decimalFloatingPoint("DURATION");if(r(t))return t}else if(this._endDate)return(this._endDate.getTime()-this._startDate.getTime())/1e3;return null}get plannedDuration(){return"PLANNED-DURATION"in this.attr?this.attr.decimalFloatingPoint("PLANNED-DURATION"):null}get endOnNext(){return this.attr.bool("END-ON-NEXT")}get isInterstitial(){return this.class===as}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 ss=10;class Ja{constructor(t){this.PTSKnown=!1,this.alignedSliding=!1,this.averagetargetduration=void 0,this.endCC=0,this.endSN=0,this.fragments=void 0,this.fragmentHint=void 0,this.partList=null,this.dateRanges=void 0,this.dateRangeTagCount=0,this.live=!0,this.requestScheduled=-1,this.ageHeader=0,this.advancedDateTime=void 0,this.updated=!0,this.advanced=!0,this.misses=0,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=void 0,this.m3u8="",this.version=null,this.canBlockReload=!1,this.canSkipUntil=0,this.canSkipDateRanges=!1,this.skippedSegments=0,this.recentlyRemovedDateranges=void 0,this.partHoldBack=0,this.holdBack=0,this.partTarget=0,this.preloadHint=void 0,this.renditionReports=void 0,this.tuneInGoal=0,this.deltaUpdateFailed=void 0,this.driftStartTime=0,this.driftEndTime=0,this.driftStart=0,this.driftEnd=0,this.encryptedFragments=void 0,this.playlistParsingError=null,this.variableList=null,this.hasVariableRefs=!1,this.appliedTimelineOffset=void 0,this.fragments=[],this.encryptedFragments=[],this.dateRanges={},this.url=t}reloaded(t){if(!t){this.advanced=!0,this.updated=!0;return}const n=this.lastPartSn-t.lastPartSn,s=this.lastPartIndex-t.lastPartIndex;this.updated=this.endSN!==t.endSN||!!s||!!n||!this.live,this.advanced=this.endSN>t.endSN||n>0||n===0&&s>0,this.updated||this.advanced?this.misses=Math.floor(t.misses*.6):this.misses=t.misses+1}hasKey(t){return this.encryptedFragments.some(n=>{let s=n.decryptdata;return s||(n.setKeyFormat(t.keyFormat),s=n.decryptdata),!!s&&t.matches(s)})}get hasProgramDateTime(){return this.fragments.length?r(this.fragments[this.fragments.length-1].programDateTime):!1}get levelTargetDuration(){return this.averagetargetduration||this.targetduration||ss}get drift(){const t=this.driftEndTime-this.driftStartTime;return t>0?(this.driftEnd-this.driftStart)*1e3/t:1}get edge(){return this.partEnd||this.fragmentEnd}get partEnd(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].end:this.fragmentEnd}get fragmentEnd(){return this.fragments.length?this.fragments[this.fragments.length-1].end:0}get fragmentStart(){return this.fragments.length?this.fragments[0].start:0}get age(){return this.advancedDateTime?Math.max(Date.now()-this.advancedDateTime,0)/1e3:0}get lastPartIndex(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].index:-1}get maxPartIndex(){const t=this.partList;if(t){const n=this.lastPartIndex;if(n!==-1){for(let s=t.length;s--;)if(t[s].index>n)return t[s].index;return n}}return 0}get lastPartSn(){var t;return(t=this.partList)!=null&&t.length?this.partList[this.partList.length-1].fragment.sn:this.endSN}get expired(){if(this.live&&this.age&&this.misses<3){const t=this.partEnd-this.fragmentStart;return this.age>Math.max(t,this.totalduration)+this.levelTargetDuration}return!1}}function $s(O,t){return O.length===t.length?!O.some((n,s)=>n!==t[s]):!1}function ho(O,t){return!O&&!t?!0:!O||!t?!1:$s(O,t)}function po(O){return O==="AES-128"||O==="AES-256"||O==="AES-256-CTR"}function Fo(O){switch(O){case"AES-128":case"AES-256":return ln.cbc;case"AES-256-CTR":return ln.ctr;default:throw new Error(`invalid full segment method ${O}`)}}function tu(O){return Uint8Array.from(atob(O),t=>t.charCodeAt(0))}function zo(O){return Uint8Array.from(unescape(encodeURIComponent(O)),t=>t.charCodeAt(0))}function Io(O){const t=zo(O).subarray(0,16),n=new Uint8Array(16);return n.set(t,16-t.length),n}function Zo(O){const t=function(s,_,E){const I=s[_];s[_]=s[E],s[E]=I};t(O,0,3),t(O,1,2),t(O,4,5),t(O,6,7)}function ru(O){const t=O.split(":");let n=null;if(t[0]==="data"&&t.length===2){const s=t[1].split(";"),_=s[s.length-1].split(",");if(_.length===2){const E=_[0]==="base64",I=_[1];E?(s.splice(-1,1),n=tu(I)):n=Io(I)}}return n}const Ho=typeof self!="undefined"?self:void 0;var ns={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.fps",PLAYREADY:"com.microsoft.playready",WIDEVINE:"com.widevine.alpha"},oi={CLEARKEY:"org.w3.clearkey",FAIRPLAY:"com.apple.streamingkeydelivery",PLAYREADY:"com.microsoft.playready",WIDEVINE:"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"};function _i(O){switch(O){case oi.FAIRPLAY:return ns.FAIRPLAY;case oi.PLAYREADY:return ns.PLAYREADY;case oi.WIDEVINE:return ns.WIDEVINE;case oi.CLEARKEY:return ns.CLEARKEY}}function es(O){switch(O){case ns.FAIRPLAY:return oi.FAIRPLAY;case ns.PLAYREADY:return oi.PLAYREADY;case ns.WIDEVINE:return oi.WIDEVINE;case ns.CLEARKEY:return oi.CLEARKEY}}function ts(O){const{drmSystems:t,widevineLicenseUrl:n}=O,s=t?[ns.FAIRPLAY,ns.WIDEVINE,ns.PLAYREADY,ns.CLEARKEY].filter(_=>!!t[_]):[];return!s[ns.WIDEVINE]&&n&&s.push(ns.WIDEVINE),s}const ds=function(O){return Ho!=null&&(O=Ho.navigator)!=null&&O.requestMediaKeySystemAccess?self.navigator.requestMediaKeySystemAccess.bind(self.navigator):null}();function Bo(O,t,n,s){let _;switch(O){case ns.FAIRPLAY:_=["cenc","sinf"];break;case ns.WIDEVINE:case ns.PLAYREADY:_=["cenc"];break;case ns.CLEARKEY:_=["cenc","keyids"];break;default:throw new Error(`Unknown key-system: ${O}`)}return Wo(_,t,n,s)}function Wo(O,t,n,s){return[{initDataTypes:O,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 du(O){var t;return!!O&&(O.sessionType==="persistent-license"||!!((t=O.sessionTypes)!=null&&t.some(n=>n==="persistent-license")))}function js(O){const t=new Uint16Array(O.buffer,O.byteOffset,O.byteLength/2),n=String.fromCharCode.apply(null,Array.from(t)),s=n.substring(n.indexOf("<"),n.length),I=new DOMParser().parseFromString(s,"text/xml").getElementsByTagName("KID")[0];if(I){const j=I.childNodes[0]?I.childNodes[0].nodeValue:I.getAttribute("VALUE");if(j){const Y=tu(j).subarray(0,16);return Zo(Y),Y}}return null}let No={};class nu{static clearKeyUriToKeyIdMap(){No={}}constructor(t,n,s,_=[1],E=null,I){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=_,this.iv=E,this.encrypted=t?t!=="NONE":!1,this.isCommonEncryption=this.encrypted&&!po(t),I!=null&&I.startsWith("0x")&&(this.keyId=new Uint8Array(K(I)))}matches(t){return t.uri===this.uri&&t.method===this.method&&t.encrypted===this.encrypted&&t.keyFormat===this.keyFormat&&$s(t.keyFormatVersions,this.keyFormatVersions)&&ho(t.iv,this.iv)&&ho(t.keyId,this.keyId)}isSupported(){if(this.method){if(po(this.method)||this.method==="NONE")return!0;if(this.keyFormat==="identity")return this.method==="SAMPLE-AES";switch(this.keyFormat){case oi.FAIRPLAY:case oi.WIDEVINE:case oi.PLAYREADY:case oi.CLEARKEY:return["SAMPLE-AES","SAMPLE-AES-CENC","SAMPLE-AES-CTR"].indexOf(this.method)!==-1}}return!1}getDecryptData(t){if(!this.encrypted||!this.uri)return null;if(po(this.method)&&this.uri&&!this.iv){typeof t!="number"&&(H.warn(`missing IV for initialization segment with method="${this.method}" - compliance issue`),t=0);const s=yu(t);return new nu(this.method,this.uri,"identity",this.keyFormatVersions,s)}if(this.pssh&&this.keyId)return this;const n=ru(this.uri);if(n)switch(this.keyFormat){case oi.WIDEVINE:if(this.pssh=n,!this.keyId&&n.length>=22){const s=n.length-22;this.keyId=n.subarray(s,s+16)}break;case oi.PLAYREADY:{const s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]);this.pssh=Ge(s,null,n),this.keyId=js(n);break}default:{let s=n.subarray(0,16);if(s.length!==16){const _=new Uint8Array(16);_.set(s,16-s.length),s=_}this.keyId=s;break}}if(!this.keyId||this.keyId.byteLength!==16){let s=No[this.uri];if(!s){const _=Object.keys(No).length%Number.MAX_SAFE_INTEGER;s=new Uint8Array(16),new DataView(s.buffer,12,4).setUint32(0,_),No[this.uri]=s}this.keyId=s}return this}}function yu(O){const t=new Uint8Array(16);for(let n=12;n<16;n++)t[n]=O>>8*(15-n)&255;return t}const Nu=/#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,Ju=/#EXT-X-MEDIA:(.*)/g,$o=/^#EXT(?:INF|-X-TARGETDURATION):/m,oo=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/(?!#) *(\S[^\r\n]*)/.source,/#.*/.source].join("|"),"g"),bu=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 Do{static findGroup(t,n){for(let s=0;s<t.length;s++){const _=t[s];if(_.id===n)return _}}static resolve(t,n){return z.buildAbsoluteURL(n,t,{alwaysNormalize:!0})}static isMediaPlaylist(t){return $o.test(t)}static parseMasterPlaylist(t,n){const s=ks(t),_={contentSteering:null,levels:[],playlistParsingError:null,sessionData:null,sessionKeys:null,startTimeOffset:null,variableList:null,hasVariableRefs:s},E=[];Nu.lastIndex=0;let I;for(;(I=Nu.exec(t))!=null;)if(I[1]){var j;const V=new bn(I[1],_),ue=Mo(_,I[2]),he={attrs:V,bitrate:V.decimalInteger("BANDWIDTH")||V.decimalInteger("AVERAGE-BANDWIDTH"),name:V.NAME,url:Do.resolve(ue,n)},Ee=V.decimalResolution("RESOLUTION");Ee&&(he.width=Ee.width,he.height=Ee.height),iu(V.CODECS,he);const Re=V["SUPPLEMENTAL-CODECS"];Re&&(he.supplemental={},iu(Re,he.supplemental)),(j=he.unknownCodecs)!=null&&j.length||E.push(he),_.levels.push(he)}else if(I[3]){const V=I[3],ue=I[4];switch(V){case"SESSION-DATA":{const he=new bn(ue,_),Ee=he["DATA-ID"];Ee&&(_.sessionData===null&&(_.sessionData={}),_.sessionData[Ee]=he);break}case"SESSION-KEY":{const he=Iu(ue,n,_);he.encrypted&&he.isSupported()?(_.sessionKeys===null&&(_.sessionKeys=[]),_.sessionKeys.push(he)):H.warn(`[Keys] Ignoring invalid EXT-X-SESSION-KEY tag: "${ue}"`);break}case"DEFINE":{{const he=new bn(ue,_);Ya(_,he,n)}break}case"CONTENT-STEERING":{const he=new bn(ue,_);_.contentSteering={uri:Do.resolve(he["SERVER-URI"],n),pathwayId:he["PATHWAY-ID"]||"."};break}case"START":{_.startTimeOffset=Vo(ue);break}}}const Y=E.length>0&&E.length<_.levels.length;return _.levels=Y?E:_.levels,_.levels.length===0&&(_.playlistParsingError=new Error("no levels found in manifest")),_}static parseMasterPlaylistMedia(t,n,s){let _;const E={},I=s.levels,j={AUDIO:I.map(V=>({id:V.attrs.AUDIO,audioCodec:V.audioCodec})),SUBTITLES:I.map(V=>({id:V.attrs.SUBTITLES,textCodec:V.textCodec})),"CLOSED-CAPTIONS":[]};let Y=0;for(Ju.lastIndex=0;(_=Ju.exec(t))!==null;){const V=new bn(_[1],s),ue=V.TYPE;if(ue){const he=j[ue],Ee=E[ue]||[];E[ue]=Ee;const Re=V.LANGUAGE,Fe=V["ASSOC-LANGUAGE"],ft=V.CHANNELS,st=V.CHARACTERISTICS,Ft=V["INSTREAM-ID"],fr={attrs:V,bitrate:0,id:Y++,groupId:V["GROUP-ID"]||"",name:V.NAME||Re||"",type:ue,default:V.bool("DEFAULT"),autoselect:V.bool("AUTOSELECT"),forced:V.bool("FORCED"),lang:Re,url:V.URI?Do.resolve(V.URI,n):""};if(Fe&&(fr.assocLang=Fe),ft&&(fr.channels=ft),st&&(fr.characteristics=st),Ft&&(fr.instreamId=Ft),he!=null&&he.length){const ar=Do.findGroup(he,fr.groupId)||he[0];uo(fr,ar,"audioCodec"),uo(fr,ar,"textCodec")}Ee.push(fr)}}return E}static parseLevelPlaylist(t,n,s,_,E,I){var j;const Y={url:n},V=new Ja(n),ue=V.fragments,he=[];let Ee=null,Re=0,Fe=0,ft=0,st=0,Ft=0,fr=null,ar=new De(_,Y),$r,Xr,gn,Kr=-1,an=!1,dn=null,Vr;if(oo.lastIndex=0,V.m3u8=t,V.hasVariableRefs=ks(t),((j=oo.exec(t))==null?void 0:j[0])!=="#EXTM3U")return V.playlistParsingError=new Error("Missing format identifier #EXTM3U"),V;for(;($r=oo.exec(t))!==null;){an&&(an=!1,ar=new De(_,Y),ar.playlistOffset=ft,ar.setStart(ft),ar.sn=Re,ar.cc=st,Ft&&(ar.bitrate=Ft),ar.level=s,Ee&&(ar.initSegment=Ee,Ee.rawProgramDateTime&&(ar.rawProgramDateTime=Ee.rawProgramDateTime,Ee.rawProgramDateTime=null),dn&&(ar.setByteRange(dn),dn=null)));const ma=$r[1];if(ma){ar.duration=parseFloat(ma);const ea=(" "+$r[2]).slice(1);ar.title=ea||null,ar.tagList.push(ea?["INF",ma,ea]:["INF",ma])}else if($r[3]){if(r(ar.duration)){ar.playlistOffset=ft,ar.setStart(ft),gn&&dr(ar,gn,V),ar.sn=Re,ar.level=s,ar.cc=st,ue.push(ar);const ea=(" "+$r[3]).slice(1);ar.relurl=Mo(V,ea),Du(ar,fr,he),fr=ar,ft+=ar.duration,Re++,Fe=0,an=!0}}else{if($r=$r[0].match(bu),!$r){H.warn("No matches on slow regex match for level playlist!");continue}for(Xr=1;Xr<$r.length&&$r[Xr]===void 0;Xr++);const ea=(" "+$r[Xr]).slice(1),bi=(" "+$r[Xr+1]).slice(1),ta=$r[Xr+2]?(" "+$r[Xr+2]).slice(1):null;switch(ea){case"BYTERANGE":fr?ar.setByteRange(bi,fr):ar.setByteRange(bi);break;case"PROGRAM-DATE-TIME":ar.rawProgramDateTime=bi,ar.tagList.push(["PROGRAM-DATE-TIME",bi]),Kr===-1&&(Kr=ue.length);break;case"PLAYLIST-TYPE":V.type&&ir(V,ea,$r),V.type=bi.toUpperCase();break;case"MEDIA-SEQUENCE":V.startSN!==0?ir(V,ea,$r):ue.length>0&&hr(V,ea,$r),Re=V.startSN=parseInt(bi);break;case"SKIP":{V.skippedSegments&&ir(V,ea,$r);const Ri=new bn(bi,V),ha=Ri.decimalInteger("SKIPPED-SEGMENTS");if(r(ha)){V.skippedSegments+=ha;for(let xi=ha;xi--;)ue.push(null);Re+=ha}const Ba=Ri.enumeratedString("RECENTLY-REMOVED-DATERANGES");Ba&&(V.recentlyRemovedDateranges=(V.recentlyRemovedDateranges||[]).concat(Ba.split(" ")));break}case"TARGETDURATION":V.targetduration!==0&&ir(V,ea,$r),V.targetduration=Math.max(parseInt(bi),1);break;case"VERSION":V.version!==null&&ir(V,ea,$r),V.version=parseInt(bi);break;case"INDEPENDENT-SEGMENTS":break;case"ENDLIST":V.live||ir(V,ea,$r),V.live=!1;break;case"#":(bi||ta)&&ar.tagList.push(ta?[bi,ta]:[bi]);break;case"DISCONTINUITY":st++,ar.tagList.push(["DIS"]);break;case"GAP":ar.gap=!0,ar.tagList.push([ea]);break;case"BITRATE":ar.tagList.push([ea,bi]),Ft=parseInt(bi)*1e3,r(Ft)?ar.bitrate=Ft:Ft=0;break;case"DATERANGE":{const Ri=new bn(bi,V),ha=new oa(Ri,V.dateRanges[Ri.ID],V.dateRangeTagCount);V.dateRangeTagCount++,ha.isValid||V.skippedSegments?V.dateRanges[ha.id]=ha:H.warn(`Ignoring invalid DATERANGE tag: "${bi}"`),ar.tagList.push(["EXT-X-DATERANGE",bi]);break}case"DEFINE":{{const Ri=new bn(bi,V);"IMPORT"in Ri?Ns(V,Ri,I):Ya(V,Ri,n)}break}case"DISCONTINUITY-SEQUENCE":V.startCC!==0?ir(V,ea,$r):ue.length>0&&hr(V,ea,$r),V.startCC=st=parseInt(bi);break;case"KEY":{const Ri=Iu(bi,n,V);if(Ri.isSupported()){if(Ri.method==="NONE"){gn=void 0;break}gn||(gn={});const ha=gn[Ri.keyFormat];ha!=null&&ha.matches(Ri)||(ha&&(gn=y({},gn)),gn[Ri.keyFormat]=Ri)}else H.warn(`[Keys] Ignoring invalid EXT-X-KEY tag: "${bi}"`);break}case"START":V.startTimeOffset=Vo(bi);break;case"MAP":{const Ri=new bn(bi,V);if(ar.duration){const ha=new De(_,Y);qt(ha,Ri,s,gn),Ee=ha,ar.initSegment=Ee,Ee.rawProgramDateTime&&!ar.rawProgramDateTime&&(ar.rawProgramDateTime=Ee.rawProgramDateTime)}else{const ha=ar.byteRangeEndOffset;if(ha){const Ba=ar.byteRangeStartOffset;dn=`${ha-Ba}@${Ba}`}else dn=null;qt(ar,Ri,s,gn),Ee=ar,an=!0}Ee.cc=st;break}case"SERVER-CONTROL":{Vr&&ir(V,ea,$r),Vr=new bn(bi),V.canBlockReload=Vr.bool("CAN-BLOCK-RELOAD"),V.canSkipUntil=Vr.optionalFloat("CAN-SKIP-UNTIL",0),V.canSkipDateRanges=V.canSkipUntil>0&&Vr.bool("CAN-SKIP-DATERANGES"),V.partHoldBack=Vr.optionalFloat("PART-HOLD-BACK",0),V.holdBack=Vr.optionalFloat("HOLD-BACK",0);break}case"PART-INF":{V.partTarget&&ir(V,ea,$r);const Ri=new bn(bi);V.partTarget=Ri.decimalFloatingPoint("PART-TARGET");break}case"PART":{let Ri=V.partList;Ri||(Ri=V.partList=[]);const ha=Fe>0?Ri[Ri.length-1]:void 0,Ba=Fe++,xi=new bn(bi,V),Ei=new Ze(xi,ar,Y,Ba,ha);Ri.push(Ei),ar.duration+=Ei.duration;break}case"PRELOAD-HINT":{const Ri=new bn(bi,V);V.preloadHint=Ri;break}case"RENDITION-REPORT":{const Ri=new bn(bi,V);V.renditionReports=V.renditionReports||[],V.renditionReports.push(Ri);break}default:H.warn(`line parsed but not handled: ${$r}`);break}}}fr&&!fr.relurl?(ue.pop(),ft-=fr.duration,V.partList&&(V.fragmentHint=fr)):V.partList&&(Du(ar,fr,he),ar.cc=st,V.fragmentHint=ar,gn&&dr(ar,gn,V)),V.targetduration||(V.playlistParsingError=new Error("#EXT-X-TARGETDURATION is required"));const Cn=ue.length,wi=ue[0],qi=ue[Cn-1];if(ft+=V.skippedSegments*V.targetduration,ft>0&&Cn&&qi){V.averagetargetduration=ft/Cn;const ma=qi.sn;V.endSN=ma!=="initSegment"?ma:0,V.live||(qi.endList=!0),Kr>0&&(Yo(ue,Kr),wi&&he.unshift(wi))}return V.fragmentHint&&(ft+=V.fragmentHint.duration),V.totalduration=ft,he.length&&V.dateRangeTagCount&&wi&&Oo(he,V),V.endCC=st,V}}function Oo(O,t){let n=O.length;if(!n)if(t.hasProgramDateTime){const j=t.fragments[t.fragments.length-1];O.push(j),n++}else return;const s=O[n-1],_=t.live?1/0:t.totalduration,E=Object.keys(t.dateRanges);for(let j=E.length;j--;){const Y=t.dateRanges[E[j]],V=Y.startDate.getTime();Y.tagAnchor=s.ref;for(let ue=n;ue--;){var I;if(((I=O[ue])==null?void 0:I.sn)<t.startSN)break;const he=jo(t,V,O,ue,_);if(he!==-1){Y.tagAnchor=t.fragments[he].ref;break}}}}function jo(O,t,n,s,_){const E=n[s];if(E){const j=E.programDateTime;if(t>=j||s===0){var I;const Y=(((I=n[s+1])==null?void 0:I.start)||_)-E.start;if(t<=j+Y*1e3){const V=n[s].sn-O.startSN;if(V<0)return-1;const ue=O.fragments;if(ue.length>n.length){const Ee=(n[s+1]||ue[ue.length-1]).sn-O.startSN;for(let Re=Ee;Re>V;Re--){const Fe=ue[Re].programDateTime;if(t>=Fe&&t<Fe+ue[Re].duration*1e3)return Re}}return V}}}return-1}function Iu(O,t,n){var s,_;const E=new bn(O,n),I=(s=E.METHOD)!=null?s:"",j=E.URI,Y=E.hexadecimalInteger("IV"),V=E.KEYFORMATVERSIONS,ue=(_=E.KEYFORMAT)!=null?_:"identity";j&&E.IV&&!Y&&H.error(`Invalid IV: ${E.IV}`);const he=j?Do.resolve(j,t):"",Ee=(V||"1").split("/").map(Number).filter(Number.isFinite);return new nu(I,he,ue,Ee,Y,E.KEYID)}function Vo(O){const n=new bn(O).decimalFloatingPoint("TIME-OFFSET");return r(n)?n:null}function iu(O,t){let n=(O||"").split(/[ ,]+/).filter(s=>s);["video","audio","text"].forEach(s=>{const _=n.filter(E=>Dt(E,s));_.length&&(t[`${s}Codec`]=_.map(E=>E.split("/")[0]).join(","),n=n.filter(E=>_.indexOf(E)===-1))}),t.unknownCodecs=n}function uo(O,t,n){const s=t[n];s&&(O[n]=s)}function Yo(O,t){let n=O[t];for(let s=t;s--;){const _=O[s];if(!_)return;_.programDateTime=n.programDateTime-_.duration*1e3,n=_}}function Du(O,t,n){O.rawProgramDateTime?n.push(O):t!=null&&t.programDateTime&&(O.programDateTime=t.endProgramDateTime)}function qt(O,t,n,s){O.relurl=t.URI,t.BYTERANGE&&O.setByteRange(t.BYTERANGE),O.level=n,O.sn="initSegment",s&&(O.levelkeys=s),O.initSegment=null}function dr(O,t,n){O.levelkeys=t;const{encryptedFragments:s}=n;(!s.length||s[s.length-1].levelkeys!==t)&&Object.keys(t).some(_=>t[_].isCommonEncryption)&&s.push(O)}function ir(O,t,n){O.playlistParsingError=new Error(`#EXT-X-${t} must not appear more than once (${n[0]})`)}function hr(O,t,n){O.playlistParsingError=new Error(`#EXT-X-${t} must appear before the first Media Segment (${n[0]})`)}function Sr(O,t){const n=t.startPTS;if(r(n)){let s=0,_;t.sn>O.sn?(s=n-O.start,_=O):(s=O.start-n,_=t),_.duration!==s&&_.setDuration(s)}else t.sn>O.sn?O.cc===t.cc&&O.minEndPTS?t.setStart(O.start+(O.minEndPTS-O.start)):t.setStart(O.start+O.duration):t.setStart(Math.max(O.start-t.duration,0))}function xn(O,t,n,s,_,E,I){s-n<=0&&(I.warn("Fragment should have a positive duration",t),s=n+t.duration,E=_+t.duration);let Y=n,V=s;const ue=t.startPTS,he=t.endPTS;if(r(ue)){const Ft=Math.abs(ue-n);O&&Ft>O.totalduration?I.warn(`media timestamps and playlist times differ by ${Ft}s for level ${t.level} ${O.url}`):r(t.deltaPTS)?t.deltaPTS=Math.max(Ft,t.deltaPTS):t.deltaPTS=Ft,Y=Math.max(n,ue),n=Math.min(n,ue),_=t.startDTS!==void 0?Math.min(_,t.startDTS):_,V=Math.min(s,he),s=Math.max(s,he),E=t.endDTS!==void 0?Math.max(E,t.endDTS):E}const Ee=n-t.start;t.start!==0&&t.setStart(n),t.setDuration(s-t.start),t.startPTS=n,t.maxStartPTS=Y,t.startDTS=_,t.endPTS=s,t.minEndPTS=V,t.endDTS=E;const Re=t.sn;if(!O||Re<O.startSN||Re>O.endSN)return 0;let Fe;const ft=Re-O.startSN,st=O.fragments;for(st[ft]=t,Fe=ft;Fe>0;Fe--)Sr(st[Fe],st[Fe-1]);for(Fe=ft;Fe<st.length-1;Fe++)Sr(st[Fe],st[Fe+1]);return O.fragmentHint&&Sr(st[st.length-1],O.fragmentHint),O.PTSKnown=O.alignedSliding=!0,Ee}function Gn(O,t,n){if(O===t)return;let s=null;const _=O.fragments;for(let ue=_.length-1;ue>=0;ue--){const he=_[ue].initSegment;if(he){s=he;break}}O.fragmentHint&&delete O.fragmentHint.endPTS;let E;di(O,t,(ue,he,Ee,Re)=>{if((!t.startCC||t.skippedSegments)&&he.cc!==ue.cc){const Fe=ue.cc-he.cc;for(let ft=Ee;ft<Re.length;ft++)Re[ft].cc+=Fe;t.endCC=Re[Re.length-1].cc}r(ue.startPTS)&&r(ue.endPTS)&&(he.setStart(he.startPTS=ue.startPTS),he.startDTS=ue.startDTS,he.maxStartPTS=ue.maxStartPTS,he.endPTS=ue.endPTS,he.endDTS=ue.endDTS,he.minEndPTS=ue.minEndPTS,he.setDuration(ue.endPTS-ue.startPTS),he.duration&&(E=he),t.PTSKnown=t.alignedSliding=!0),ue.hasStreams&&(he.elementaryStreams=ue.elementaryStreams),he.loader=ue.loader,ue.hasStats&&(he.stats=ue.stats),ue.initSegment&&(he.initSegment=ue.initSegment,s=ue.initSegment)});const I=t.fragments,j=t.fragmentHint?I.concat(t.fragmentHint):I;if(s&&j.forEach(ue=>{var he;ue&&(!ue.initSegment||ue.initSegment.relurl===((he=s)==null?void 0:he.relurl))&&(ue.initSegment=s)}),t.skippedSegments){if(t.deltaUpdateFailed=I.some(ue=>!ue),t.deltaUpdateFailed){n.warn("[level-helper] Previous playlist missing segments skipped in delta playlist");for(let ue=t.skippedSegments;ue--;)I.shift();t.startSN=I[0].sn}else{t.canSkipDateRanges&&(t.dateRanges=Bn(O.dateRanges,t,n));const ue=O.fragments.filter(he=>he.rawProgramDateTime);if(O.hasProgramDateTime&&!t.hasProgramDateTime)for(let he=1;he<j.length;he++)j[he].programDateTime===null&&Du(j[he],j[he-1],ue);Oo(ue,t)}t.endCC=I[I.length-1].cc}if(!t.startCC){var Y;const ue=Pn(O,t.startSN-1);t.startCC=(Y=ue==null?void 0:ue.cc)!=null?Y:I[0].cc}Kn(O.partList,t.partList,(ue,he)=>{he.elementaryStreams=ue.elementaryStreams,he.stats=ue.stats}),E?xn(t,E,E.startPTS,E.endPTS,E.startDTS,E.endDTS,n):cr(O,t),I.length&&(t.totalduration=t.edge-I[0].start),t.driftStartTime=O.driftStartTime,t.driftStart=O.driftStart;const V=t.advancedDateTime;if(t.advanced&&V){const ue=t.edge;t.driftStart||(t.driftStartTime=V,t.driftStart=ue),t.driftEndTime=V,t.driftEnd=ue}else t.driftEndTime=O.driftEndTime,t.driftEnd=O.driftEnd,t.advancedDateTime=O.advancedDateTime;t.requestScheduled===-1&&(t.requestScheduled=O.requestScheduled)}function Bn(O,t,n){const{dateRanges:s,recentlyRemovedDateranges:_}=t,E=y({},O);_&&_.forEach(Y=>{delete E[Y]});const j=Object.keys(E).length;return j?(Object.keys(s).forEach(Y=>{const V=E[Y],ue=new oa(s[Y].attr,V);ue.isValid?(E[Y]=ue,V||(ue.tagOrder+=j)):n.warn(`Ignoring invalid Playlist Delta Update DATERANGE tag: "${ui(s[Y].attr)}"`)}),E):s}function Kn(O,t,n){if(O&&t){let s=0;for(let _=0,E=O.length;_<=E;_++){const I=O[_],j=t[_+s];I&&j&&I.index===j.index&&I.fragment.sn===j.fragment.sn?n(I,j):s--}}}function di(O,t,n){const s=t.skippedSegments,_=Math.max(O.startSN,t.startSN)-t.startSN,E=(O.fragmentHint?1:0)+(s?t.endSN:Math.min(O.endSN,t.endSN))-t.startSN,I=t.startSN-O.startSN,j=t.fragmentHint?t.fragments.concat(t.fragmentHint):t.fragments,Y=O.fragmentHint?O.fragments.concat(O.fragmentHint):O.fragments;for(let V=_;V<=E;V++){const ue=Y[I+V];let he=j[V];if(s&&!he&&ue&&(he=t.fragments[V]=ue),ue&&he){n(ue,he,V,j);const Ee=ue.relurl,Re=he.relurl;if(Ee&&Vn(Ee,Re)){t.playlistParsingError=ci(`media sequence mismatch ${he.sn}:`,O,t,ue,he);return}else if(ue.cc!==he.cc){t.playlistParsingError=ci(`discontinuity sequence mismatch (${ue.cc}!=${he.cc})`,O,t,ue,he);return}}}}function ci(O,t,n,s,_){return new Error(`${O} ${_.url}
|
|
|
Playlist starting @${t.startSN}
|
|
|
${t.m3u8}
|
|
|
|
|
|
Playlist starting @${n.startSN}
|
|
|
${n.m3u8}`)}function cr(O,t,n=!0){const s=t.startSN+t.skippedSegments-O.startSN,_=O.fragments,E=s>=0;let I=0;if(E&&s<_.length)I=_[s].start;else if(E&&t.startSN===O.endSN+1)I=O.fragmentEnd;else if(E&&n)I=O.fragmentStart+s*t.levelTargetDuration;else if(!t.skippedSegments&&t.fragmentStart===0)I=O.fragmentStart;else return;Mr(t,I)}function Mr(O,t){if(t){const n=O.fragments;for(let s=O.skippedSegments;s<n.length;s++)n[s].addStart(t);O.fragmentHint&&O.fragmentHint.addStart(t)}}function Fr(O,t=1/0){let n=1e3*O.targetduration;if(O.updated){const s=O.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 Pn(O,t,n){if(!O)return null;let s=O.fragments[t-O.startSN];return s||(s=O.fragmentHint,s&&s.sn===t)?s:t<O.startSN&&n&&n.sn===t?n:null}function In(O,t,n){return O?pt(O.partList,t,n):null}function pt(O,t,n){if(O)for(let s=O.length;s--;){const _=O[s];if(_.index===n&&_.fragment.sn===t)return _}return null}function $n(O){O.forEach((t,n)=>{var s;(s=t.details)==null||s.fragments.forEach(_=>{_.level=n,_.initSegment&&(_.initSegment.level=n)})})}function Vn(O,t){return O!==t&&t?zi(O)!==zi(t):!1}function zi(O){return O.replace(/\?[^?]*$/,"")}function Yi(O,t){for(let s=0,_=O.length;s<_;s++){var n;if(((n=O[s])==null?void 0:n.cc)===t)return O[s]}return null}function zr(O,t){return!!(O&&t.startCC<O.endCC&&t.endCC>O.startCC)}function pa(O,t){const n=O.start+t;O.startPTS=n,O.setStart(n),O.endPTS=n+O.duration}function Ji(O,t){const n=t.fragments;for(let s=0,_=n.length;s<_;s++)pa(n[s],O);t.fragmentHint&&pa(t.fragmentHint,O),t.alignedSliding=!0}function Ca(O,t){O&&(hs(t,O),t.alignedSliding||Rs(t,O),!t.alignedSliding&&!t.skippedSegments&&cr(O,t,!1))}function hs(O,t){if(!zr(t,O))return;const n=Math.min(t.endCC,O.endCC),s=Yi(t.fragments,n),_=Yi(O.fragments,n);if(!s||!_)return;H.log(`Aligning playlist at start of dicontinuity sequence ${n}`);const E=s.start-_.start;Ji(E,O)}function Rs(O,t){if(!O.hasProgramDateTime||!t.hasProgramDateTime)return;const n=O.fragments,s=t.fragments;if(!n.length||!s.length)return;let _,E;const I=Math.min(t.endCC,O.endCC);t.startCC<I&&O.startCC<I&&(_=Yi(s,I),E=Yi(n,I)),(!_||!E)&&(_=s[Math.floor(s.length/2)],E=Yi(n,_.cc)||n[Math.floor(n.length/2)]);const j=_.programDateTime,Y=E.programDateTime;if(!j||!Y)return;const V=(Y-j)/1e3-(E.start-_.start);Ji(V,O)}function vi(O,t,n){ps(O,t,n),O.addEventListener(t,n)}function ps(O,t,n){O.removeEventListener(t,n)}const lo={toString:function(O){let t="";const n=O.length;for(let s=0;s<n;s++)t+=`[${O.start(s).toFixed(3)}-${O.end(s).toFixed(3)}]`;return t}},cn={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 Wa extends Hs{constructor(t,n,s,_,E){super(_,t.logger),this.hls=void 0,this.fragPrevious=null,this.fragCurrent=null,this.fragmentTracker=void 0,this.transmuxer=null,this._state=cn.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:I,fragCurrent:j,media:Y,mediaBuffer:V,state:ue}=this,he=Y?Y.currentTime:0,Ee=Li.bufferInfo(V||Y,he,I.maxBufferHole),Re=!Ee.len;if(this.log(`Media seeking to ${r(he)?he.toFixed(3):he}, state: ${ue}, ${Re?"out of":"in"} buffer`),this.state===cn.ENDED)this.resetLoadingState();else if(j){const Fe=I.maxFragLookUpTolerance,ft=j.start-Fe,st=j.start+j.duration+Fe;if(Re||st<Ee.start||ft>Ee.end){const Ft=he>st;(he<ft||Ft)&&(Ft&&j.loader&&(this.log(`Cancelling fragment load for seek (sn: ${j.sn})`),j.abortRequests(),this.resetLoadingState()),this.fragPrevious=null)}}if(Y){this.fragmentTracker.removeFragmentsInRange(he,1/0,this.playlistType,!0);const Fe=this.lastCurrentTime;if(he>Fe&&(this.lastCurrentTime=he),!this.loadingParts){const ft=Math.max(Ee.end,he),st=this.shouldLoadParts(this.getLevelDetails(),ft);st&&(this.log(`LL-Part loading ON after seeking to ${he.toFixed(2)} with buffer @${ft.toFixed(2)}`),this.loadingParts=st)}}this.hls.hasEnoughToStart||(this.log(`Setting ${Re?"startPosition":"nextLoadPosition"} to ${he} for seek without enough to start`),this.nextLoadPosition=he,Re&&(this.startPosition=he)),Re&&this.state===cn.IDLE&&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 Gs(t.config),this.keyLoader=s,this.fragmentTracker=n,this.config=t.config,this.decrypter=new Vi(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===cn.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=cn.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,_=this.config.timelineOffset||0;if(s<=_)return!1;const E=t.buffered;this.config.maxBufferHole&&E&&E.length>1&&(t=Li.bufferedInfo(E,t.start,0));const I=t.nextStart;if(I&&I>_&&I<n.edge||this.media.currentTime<t.start)return!1;const Y=n.partList;if(Y!=null&&Y.length){const ue=Y[Y.length-1];return Li.isBuffered(this.media,ue.start+ue.duration/2)}const V=n.fragments[n.fragments.length-1].type;return this.fragmentTracker.isEndListAppended(V)}getLevelDetails(){if(this.levels&&this.levelLastLoaded!==null)return this.levelLastLoaded.details}get timelineOffset(){const t=this.config.timelineOffset;if(t){var n;return((n=this.getLevelDetails())==null?void 0:n.appliedTimelineOffset)||t}return 0}onMediaAttached(t,n){const s=this.media=this.mediaBuffer=n.media;vi(s,"seeking",this.onMediaSeeking),vi(s,"ended",this.onMediaEnded);const _=this.config;this.levels&&_.autoStartLoad&&this.state===cn.STOPPED&&this.startLoad(_.startPosition)}onMediaDetaching(t,n){const s=!!n.transferMedia,_=this.media;if(_!==null){if(_.ended&&(this.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),ps(_,"seeking",this.onMediaSeeking),ps(_,"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=cn.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 _=E=>{const I=E.frag;if(this.fragContextChanged(I)){this.warn(`${I.type} sn: ${I.sn}${E.part?" part: "+E.part.index:""} of ${this.fragInfo(I,!1,E.part)}) was dropped during download.`),this.fragmentTracker.removeFragment(I);return}I.stats.chunkCount++,this._handleFragmentLoadProgress(E)};this._doFragLoad(t,n,s,_).then(E=>{if(!E)return;const I=this.state,j=E.frag;if(this.fragContextChanged(j)){(I===cn.FRAG_LOADING||!this.fragCurrent&&I===cn.PARSING)&&(this.fragmentTracker.removeFragment(j),this.state=cn.IDLE);return}"payload"in E&&(this.log(`Loaded ${j.type} sn: ${j.sn} of ${this.playlistLabel()} ${j.level}`),this.hls.trigger(o.FRAG_LOADED,E)),this._handleFragmentLoadComplete(E)}).catch(E=>{this.state===cn.STOPPED||this.state===cn.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)===Rr.APPENDING){const E=t.type,I=this.getFwdBufferInfo(this.mediaBuffer,E),j=Math.max(t.duration,I?I.len:this.config.maxBufferLength),Y=this.backtrackFragment;((Y?t.sn-Y.sn:0)===1||this.reduceMaxBufferLength(j,t.duration))&&s.removeFragment(t)}else((n=this.mediaBuffer)==null?void 0:n.buffered.length)===0?s.removeAllFragments():s.hasParts(t.type)&&(s.detectPartialFragments({frag:t,part:null,stats:t.stats,id:t.type}),s.getState(t)===Rr.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 _={startOffset:t,endOffset:n,type:s};this.hls.trigger(o.BUFFER_FLUSHING,_)}_loadInitSegment(t,n){this._doFragLoad(t,n).then(s=>{const _=s==null?void 0:s.frag;if(!_||this.fragContextChanged(_)||!this.levels)throw new Error("init load aborted");return s}).then(s=>{const{hls:_}=this,{frag:E,payload:I}=s,j=E.decryptdata;if(I&&I.byteLength>0&&j!=null&&j.key&&j.iv&&po(j.method)){const Y=self.performance.now();return this.decrypter.decrypt(new Uint8Array(I),j.key.buffer,j.iv.buffer,Fo(j.method)).catch(V=>{throw _.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:V,reason:V.message,frag:E}),V}).then(V=>{const ue=self.performance.now();return _.trigger(o.FRAG_DECRYPTED,{frag:E,payload:V,stats:{tstart:Y,tdecrypt:ue}}),s.payload=V,this.completeInitSegmentLoad(s)})}return this.completeInitSegmentLoad(s)}).catch(s=>{this.state===cn.STOPPED||this.state===cn.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!==cn.STOPPED&&(this.state=cn.IDLE),t.frag.data=new Uint8Array(t.payload),s.parsing.start=s.buffering.start=self.performance.now(),s.parsing.end=s.buffering.end=self.performance.now(),this.tick()}unhandledEncryptionError(t,n){var s,_;const E=t.tracks;if(E&&!n.encrypted&&((s=E.audio)!=null&&s.encrypted||(_=E.video)!=null&&_.encrypted)&&(!this.config.emeEnabled||!this.keyLoader.emeController)){const I=this.media,j=new Error(`Encrypted track with no key in ${this.fragInfo(n)} (media ${I?"attached mediaKeys: "+I.mediaKeys:"detached"})`);return this.warn(j.message),!I||I.mediaKeys?!1:(this.hls.trigger(o.ERROR,{type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_KEYS,fatal:!1,error:j,frag:n}),this.resetTransmuxer(),!0)}return!1}fragContextChanged(t){const{fragCurrent:n}=this;return!t||!n||t.sn!==n.sn||t.level!==n.level}fragBufferedComplete(t,n){const s=this.mediaBuffer?this.mediaBuffer:this.media;if(this.log(`Buffered ${t.type} sn: ${t.sn}${n?" part: "+n.index:""} of ${this.fragInfo(t,!1,n)} > buffer:${s?lo.toString(Li.getBuffered(s)):"(detached)"})`),Pe(t)){var _;if(t.type!==u.SUBTITLE){const I=t.elementaryStreams;if(!Object.keys(I).some(j=>!!I[j])){this.state=cn.IDLE;return}}const E=(_=this.levels)==null?void 0:_[t.level];E!=null&&E.fragmentError&&(this.log(`Resetting level fragment error count of ${E.fragmentError} on frag buffered`),E.fragmentError=0)}this.state=cn.IDLE}_handleFragmentLoadComplete(t){const{transmuxer:n}=this;if(!n)return;const{frag:s,part:_,partsLoaded:E}=t,I=!E||E.length===0||E.some(Y=>!Y),j=new ya(s.level,s.sn,s.stats.chunkCount+1,0,_?_.index:-1,!I);n.flush(j)}_handleFragmentLoadProgress(t){}_doFragLoad(t,n,s=null,_){var E;this.fragCurrent=t;const I=n.details;if(!this.levels||!I)throw new Error(`frag load aborted, missing level${I?"":" detail"}s`);let j=null;if(t.encrypted&&!((E=t.decryptdata)!=null&&E.key)){if(this.log(`Loading key for ${t.sn} of [${I.startSN}-${I.endSN}], ${this.playlistLabel()} ${t.level}`),this.state=cn.KEY_LOADING,this.fragCurrent=t,j=this.keyLoader.load(t).then(Ee=>{if(!this.fragContextChanged(Ee.frag))return this.hls.trigger(o.KEY_LOADED,Ee),this.state===cn.KEY_LOADING&&(this.state=cn.IDLE),Ee}),this.hls.trigger(o.KEY_LOADING,{frag:t}),this.fragCurrent===null)return this.log("context changed in KEY_LOADING"),Promise.resolve(null)}else t.encrypted||(j=this.keyLoader.loadClear(t,I.encryptedFragments,this.startFragRequested),j&&this.log("[eme] blocking frag load until media-keys acquired"));const Y=this.fragPrevious;if(Pe(t)&&(!Y||t.sn!==Y.sn)){const Ee=this.shouldLoadParts(n.details,t.end);Ee!==this.loadingParts&&(this.log(`LL-Part loading ${Ee?"ON":"OFF"} loading sn ${Y==null?void 0:Y.sn}->${t.sn}`),this.loadingParts=Ee)}if(s=Math.max(t.start,s||0),this.loadingParts&&Pe(t)){const Ee=I.partList;if(Ee&&_){s>I.fragmentEnd&&I.fragmentHint&&(t=I.fragmentHint);const Re=this.getNextPart(Ee,t,s);if(Re>-1){const Fe=Ee[Re];t=this.fragCurrent=Fe.fragment,this.log(`Loading ${t.type} sn: ${t.sn} part: ${Fe.index} (${Re}/${Ee.length-1}) of ${this.fragInfo(t,!1,Fe)}) cc: ${t.cc} [${I.startSN}-${I.endSN}], target: ${parseFloat(s.toFixed(3))}`),this.nextLoadPosition=Fe.start+Fe.duration,this.state=cn.FRAG_LOADING;let ft;return j?ft=j.then(st=>!st||this.fragContextChanged(st.frag)?null:this.doFragPartsLoad(t,Fe,n,_)).catch(st=>this.handleFragLoadError(st)):ft=this.doFragPartsLoad(t,Fe,n,_).catch(st=>this.handleFragLoadError(st)),this.hls.trigger(o.FRAG_LOADING,{frag:t,part:Fe,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING parts")):ft}else if(!t.url||this.loadedEndOfParts(Ee,s))return Promise.resolve(null)}}if(Pe(t)&&this.loadingParts){var V;this.log(`LL-Part loading OFF after next part miss @${s.toFixed(2)} Check buffer at sn: ${t.sn} loaded parts: ${(V=I.partList)==null?void 0:V.filter(Ee=>Ee.loaded).map(Ee=>`[${Ee.start}-${Ee.end}]`)}`),this.loadingParts=!1}else if(!t.url)return Promise.resolve(null);this.log(`Loading ${t.type} sn: ${t.sn} of ${this.fragInfo(t,!1)}) cc: ${t.cc} ${"["+I.startSN+"-"+I.endSN+"]"}, target: ${parseFloat(s.toFixed(3))}`),r(t.sn)&&!this.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),this.state=cn.FRAG_LOADING;const ue=this.config.progressive;let he;return ue&&j?he=j.then(Ee=>!Ee||this.fragContextChanged(Ee.frag)?null:this.fragmentLoader.load(t,_)).catch(Ee=>this.handleFragLoadError(Ee)):he=Promise.all([this.fragmentLoader.load(t,ue?_:void 0),j]).then(([Ee])=>(!ue&&_&&_(Ee),Ee)).catch(Ee=>this.handleFragLoadError(Ee)),this.hls.trigger(o.FRAG_LOADING,{frag:t,targetBufferTime:s}),this.fragCurrent===null?Promise.reject(new Error("frag load aborted, context changed in FRAG_LOADING")):he}doFragPartsLoad(t,n,s,_){return new Promise((E,I)=>{var j;const Y=[],V=(j=s.details)==null?void 0:j.partList,ue=he=>{this.fragmentLoader.loadPart(t,he,_).then(Ee=>{Y[he.index]=Ee;const Re=Ee.part;this.hls.trigger(o.FRAG_LOADED,Ee);const Fe=In(s.details,t.sn,he.index+1)||pt(V,t.sn,he.index+1);if(Fe)ue(Fe);else return E({frag:t,part:Re,partsLoaded:Y})}).catch(I)};ue(n)})}handleFragLoadError(t){if("data"in t){const n=t.data;n.frag&&n.details===f.INTERNAL_ABORTED?this.handleFragLoadAborted(n.frag,n.part):n.frag&&n.type===c.KEY_SYSTEM_ERROR?(n.frag.abortRequests(),this.resetFragmentLoading(n.frag)):this.hls.trigger(o.ERROR,n)}else this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,err:t,error:t,fatal:!0});return null}_handleTransmuxerFlush(t){const n=this.getCurrentContext(t);if(!n||this.state!==cn.PARSING){!this.fragCurrent&&this.state!==cn.STOPPED&&this.state!==cn.ERROR&&(this.state=cn.IDLE);return}const{frag:s,part:_,level:E}=n,I=self.performance.now();s.stats.parsing.end=I,_&&(_.stats.parsing.end=I);const j=this.getLevelDetails(),V=j&&s.sn>j.endSN||this.shouldLoadParts(j,s.end);V!==this.loadingParts&&(this.log(`LL-Part loading ${V?"ON":"OFF"} after parsing segment ending @${s.end.toFixed(2)}`),this.loadingParts=V),this.updateLevelTiming(s,_,E,t.partial)}shouldLoadParts(t,n){if(this.config.lowLatencyMode){if(!t)return this.loadingParts;if(t.partList){var s;const E=t.partList[0];if(E.fragment.type===u.SUBTITLE)return!1;const I=E.end+(((s=t.fragmentHint)==null?void 0:s.duration)||0);if(n>=I){var _;if((this.hls.hasEnoughToStart?((_=this.media)==null?void 0:_.currentTime)||this.lastCurrentTime:this.getLoadPosition())>E.start-E.fragment.duration)return!0}}}return!1}getCurrentContext(t){const{levels:n,fragCurrent:s}=this,{level:_,sn:E,part:I}=t;if(!(n!=null&&n[_]))return this.warn(`Levels object was unset while buffering fragment ${E} of ${this.playlistLabel()} ${_}. The current chunk will not be buffered.`),null;const j=n[_],Y=j.details,V=I>-1?In(Y,E,I):null,ue=V?V.fragment:Pn(Y,E,s);return ue?(s&&s!==ue&&(ue.stats=s.stats),{frag:ue,part:V,level:j}):null}bufferFragmentData(t,n,s,_,E){if(this.state!==cn.PARSING)return;const{data1:I,data2:j}=t;let Y=I;if(j&&(Y=Ae(I,j)),!Y.length)return;const V=this.initPTS[n.cc],ue=V?-V.baseTime/V.timescale:void 0,he={type:t.type,frag:n,part:s,chunkMeta:_,offset:ue,parent:n.type,data:Y};if(this.hls.trigger(o.BUFFER_APPENDING,he),t.dropped&&t.independent&&!s){if(E)return;this.flushBufferGap(n)}}flushBufferGap(t){const n=this.media;if(!n)return;if(!Li.isBuffered(n,n.currentTime)){this.flushMainBuffer(0,t.start);return}const s=n.currentTime,_=Li.bufferInfo(n,s,0),E=t.duration,I=Math.min(this.config.maxFragLookUpTolerance*2,E*.25),j=Math.max(Math.min(t.start-I,_.end-I),s+I);t.start-j>I&&this.flushMainBuffer(j,t.start)}getFwdBufferInfo(t,n){var s;const _=this.getLoadPosition();if(!r(_))return null;const I=this.lastCurrentTime>_||(s=this.media)!=null&&s.paused?0:this.config.maxBufferHole;return this.getFwdBufferInfoAtPos(t,_,n,I)}getFwdBufferInfoAtPos(t,n,s,_){const E=Li.bufferInfo(t,n,_);if(E.len===0&&E.nextStart!==void 0){const I=this.fragmentTracker.getBufferedFrag(n,s);if(I&&(E.nextStart<=I.end||I.gap)){const j=Math.max(Math.min(E.nextStart,I.end)-n,_);return Li.bufferInfo(t,n,j)}}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,_=Math.max(Math.min(t-n,s.maxBufferLength),n),E=Math.max(t-n*3,s.maxMaxBufferLength/2,_);return E>=_?(s.maxMaxBufferLength=E,this.warn(`Reduce max buffer length to ${E}s`),!0):!1}getAppendedFrag(t,n=u.MAIN){const s=this.fragmentTracker?this.fragmentTracker.getAppendedFrag(t,n):null;return s&&"fragment"in s?s.fragment:s}getNextFragment(t,n){const s=n.fragments,_=s.length;if(!_)return null;const{config:E}=this,I=s[0].start,j=E.lowLatencyMode&&!!n.partList;let Y=null;if(n.live){const he=E.initialLiveManifestSize;if(_<he)return this.warn(`Not enough fragments to start playback (have: ${_}, need: ${he})`),null;if(!n.PTSKnown&&!this.startFragRequested&&this.startPosition===-1||t<I){var V;j&&!this.loadingParts&&(this.log("LL-Part loading ON for initial live fragment"),this.loadingParts=!0),Y=this.getInitialLiveFragment(n);const Ee=this.hls.startPosition,Re=this.hls.liveSyncPosition,Fe=Y?(Ee!==-1&&Ee>=I?Ee:Re)||Y.start:t;this.log(`Setting startPosition to ${Fe} to match start frag at live edge. mainStart: ${Ee} liveSyncPosition: ${Re} frag.start: ${(V=Y)==null?void 0:V.start}`),this.startPosition=this.nextLoadPosition=Fe}}else t<=I&&(Y=s[0]);if(!Y){const he=this.loadingParts?n.partEnd:n.fragmentEnd;Y=this.getFragmentAtPosition(t,he,n)}let ue=this.filterReplacedPrimary(Y,n);if(!ue&&Y){const he=Y.sn-n.startSN;ue=this.filterReplacedPrimary(s[he+1]||null,n)}return this.mapToInitFragWhenRequired(ue)}isLoopLoading(t,n){const s=this.fragmentTracker.getState(t);return(s===Rr.OK||s===Rr.PARTIAL&&!!t.gap)&&this.nextLoadPosition>n}getNextFragmentLoopLoading(t,n,s,_,E){let I=null;if(t.gap&&(I=this.getNextFragment(this.nextLoadPosition,n),I&&!I.gap&&s.nextStart)){const j=this.getFwdBufferInfoAtPos(this.mediaBuffer?this.mediaBuffer:this.media,s.nextStart,_,0);if(j!==null&&s.len+j.len>=E){const Y=I.sn;return this.loopSn!==Y&&(this.log(`buffer full after gaps in "${_}" playlist starting at sn: ${Y}`),this.loopSn=Y),null}}return this.loopSn=void 0,I}get primaryPrefetch(){if(Ks(this.config)){var t;if((t=this.hls.interstitialsManager)==null||(t=t.playingItem)==null?void 0:t.event)return!0}return!1}filterReplacedPrimary(t,n){if(!t)return t;if(Ks(this.config)&&t.type!==u.SUBTITLE){const s=this.hls.interstitialsManager,_=s==null?void 0:s.bufferingItem;if(_){const I=_.event;if(I){if(I.appendInPlace||Math.abs(t.start-_.start)>1||_.start===0)return null}else if(t.end<=_.start&&(n==null?void 0:n.live)===!1||t.start>_.end&&_.nextEvent&&(_.nextEvent.appendInPlace||t.start-_.end>1))return null}const E=s==null?void 0:s.playerQueue;if(E)for(let I=E.length;I--;){const j=E[I].interstitial;if(j.appendInPlace&&t.start>=j.startTime&&t.end<=j.resumeTime)return null}}return t}mapToInitFragWhenRequired(t){return t!=null&&t.initSegment&&!t.initSegment.data&&!this.bitrateTest?t.initSegment:t}getNextPart(t,n,s){let _=-1,E=!1,I=!0;for(let j=0,Y=t.length;j<Y;j++){const V=t[j];if(I=I&&!V.independent,_>-1&&s<V.start)break;const ue=V.loaded;ue?_=-1:(E||(V.independent||I)&&V.fragment===n)&&(V.fragment!==n&&this.warn(`Need buffer at ${s} but next unloaded part starts at ${V.start}`),_=j),E=ue}return _}loadedEndOfParts(t,n){let s;for(let _=t.length;_--;){if(s=t[_],!s.loaded)return!1;if(n>s.start)return!0}return!1}getInitialLiveFragment(t){const n=t.fragments,s=this.fragPrevious;let _=null;if(s){if(t.hasProgramDateTime&&(this.log(`Live playlist, switching playlist, load frag with same PDT: ${s.programDateTime}`),_=Jt(n,s.endProgramDateTime,this.config.maxFragLookUpTolerance)),!_){const E=s.sn+1;if(E>=t.startSN&&E<=t.endSN){const I=n[E-t.startSN];s.cc===I.cc&&(_=I,this.log(`Live playlist, switching playlist, load frag with next SN: ${_.sn}`))}_||(_=or(t,s.cc,s.end),_&&this.log(`Live playlist, switching playlist, load frag with same CC: ${_.sn}`))}}else{const E=this.hls.liveSyncPosition;E!==null&&(_=this.getFragmentAtPosition(E,this.bitrateTest?t.fragmentEnd:t.edge,t))}return _}getFragmentAtPosition(t,n,s){const{config:_}=this;let{fragPrevious:E}=this,{fragments:I,endSN:j}=s;const{fragmentHint:Y}=s,{maxFragLookUpTolerance:V}=_,ue=s.partList,he=!!(this.loadingParts&&ue!=null&&ue.length&&Y);he&&!this.bitrateTest&&ue[ue.length-1].fragment.sn===Y.sn&&(I=I.concat(Y),j=Y.sn);let Ee;if(t<n){var Re;const ft=t<this.lastCurrentTime||t>n-V||(Re=this.media)!=null&&Re.paused||!this.startFragRequested?0:V;Ee=dt(E,I,t,ft)}else Ee=I[I.length-1];if(Ee){const Fe=Ee.sn-s.startSN,ft=this.fragmentTracker.getState(Ee);if((ft===Rr.OK||ft===Rr.PARTIAL&&Ee.gap)&&(E=Ee),E&&Ee.sn===E.sn&&(!he||ue[0].fragment.sn>Ee.sn||!s.live)&&Ee.level===E.level){const Ft=I[Fe+1];Ee.sn<j&&this.fragmentTracker.getState(Ft)!==Rr.OK?Ee=Ft:Ee=null}}return Ee}alignPlaylists(t,n,s){const _=t.fragments.length;if(!_)return this.warn("No fragments in live playlist"),0;const E=t.fragmentStart,I=!n,j=t.alignedSliding&&r(E);if(I||!j&&!E){Ca(s,t);const Y=t.fragmentStart;return this.log(`Live playlist sliding: ${Y.toFixed(2)} start-sn: ${n?n.startSN:"na"}->${t.startSN} fragments: ${_}`),Y}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 _=this.timelineOffset;if(s===-1){const E=this.startTimeOffset!==null,I=E?this.startTimeOffset:t.startTimeOffset;I!==null&&r(I)?(s=n+I,I<0&&(s+=t.edge),s=Math.min(Math.max(n,s),n+t.totalduration),this.log(`Setting startPosition to ${s} for start time offset ${I} 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+_}this.nextLoadPosition=s+_}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&&Pe(t)&&t.stats.aborted&&(this.log(`Fragment ${t.sn}${n?" part "+n.index:""} of ${this.playlistLabel()} ${t.level} was aborted`),this.resetFragmentLoading(t))}resetFragmentLoading(t){(!this.fragCurrent||!this.fragContextChanged(t)&&this.state!==cn.FRAG_LOADING_WAITING_RETRY)&&(this.state=cn.IDLE)}onFragmentOrKeyLoadError(t,n){var s;if(n.chunkMeta&&!n.frag){const Ft=this.getCurrentContext(n.chunkMeta);Ft&&(n.frag=Ft.frag)}const _=n.frag;if(!_||_.type!==t||!this.levels)return;if(this.fragContextChanged(_)){var E;this.warn(`Frag load error must match current frag to retry ${_.url} > ${(E=this.fragCurrent)==null?void 0:E.url}`);return}const I=n.details===f.FRAG_GAP;I&&this.fragmentTracker.fragBuffered(_,!0);const j=n.errorAction;if(!j){this.state=cn.ERROR;return}const{action:Y,flags:V,retryCount:ue=0,retryConfig:he}=j,Ee=!!he,Re=Ee&&Y===tr.RetryRequest,Fe=Ee&&!j.resolved&&V===Cr.MoveAllAlternatesMatchingHost,ft=(s=this.hls.latestLevelDetails)==null?void 0:s.live;if(!Re&&Fe&&Pe(_)&&!_.endList&&ft)this.resetFragmentErrors(t),this.treatAsGap(_),j.resolved=!0;else if((Re||Fe)&&ue<he.maxNumRetry){var st;const Ft=at((st=n.response)==null?void 0:st.code),fr=Hr(he,ue);if(this.resetStartWhenNotLoaded(),this.retryDate=self.performance.now()+fr,this.state=cn.FRAG_LOADING_WAITING_RETRY,j.resolved=!0,Ft){this.log("Waiting for connection (offline)"),this.retryDate=1/0,n.reason="offline";return}this.warn(`Fragment ${_.sn} of ${t} ${_.level} errored with ${n.details}, retrying loading ${ue+1}/${he.maxNumRetry} in ${fr}ms`)}else if(he)if(this.resetFragmentErrors(t),ue<he.maxNumRetry)!I&&Y!==tr.RemoveAlternatePermanently&&(j.resolved=!0);else{this.warn(`${n.details} reached or exceeded max retry (${ue})`);return}else Y===tr.SendAlternateToPenaltyBox?this.state=cn.WAITING_LEVEL:this.state=cn.ERROR;this.tickImmediate()}checkRetryDate(){const t=self.performance.now(),n=this.retryDate,s=n===1/0;(!n||t>=n||s&&!at(0))&&(s&&this.log("Connection restored (online)"),this.resetStartWhenNotLoaded(),this.state=cn.IDLE)}reduceLengthAndFlushBuffer(t){if(this.state===cn.PARSING||this.state===cn.PARSED){const n=t.frag,s=t.parent,_=this.getFwdBufferInfo(this.mediaBuffer,s),E=_&&_.len>.5;E&&this.reduceMaxBufferLength(_.len,(n==null?void 0:n.duration)||10);const I=!E;return I&&this.warn(`Buffer full error while media.currentTime (${this.getLoadPosition()}) is not buffered, flush ${s} buffer`),n&&(this.fragmentTracker.removeFragment(n),this.nextLoadPosition=n.start),this.resetLoadingState(),I}return!1}resetFragmentErrors(t){t===u.AUDIO&&(this.fragCurrent=null),this.hls.hasEnoughToStart||(this.startFragRequested=!1),this.state!==cn.STOPPED&&(this.state=cn.IDLE)}afterBufferFlushed(t,n,s){if(!t)return;const _=Li.getBuffered(t);this.fragmentTracker.detectEvictedFragments(n,_,s),this.state===cn.ENDED&&this.resetLoadingState()}resetLoadingState(){this.log("Reset loading state"),this.fragCurrent=null,this.fragPrevious=null,this.state!==cn.STOPPED&&(this.state=cn.IDLE)}resetStartWhenNotLoaded(){if(!this.hls.hasEnoughToStart){this.startFragRequested=!1;const t=this.levelLastLoaded,n=t?t.details:null;n!=null&&n.live?(this.log("resetting startPosition for live start"),this.startPosition=-1,this.setStartPosition(n,n.fragmentStart),this.resetLoadingState()):this.nextLoadPosition=this.startPosition}}resetWhenMissingContext(t){this.log(`Loading context changed while buffering sn ${t.sn} of ${this.playlistLabel()} ${t.level===-1?"<removed>":t.level}. This chunk will not be buffered.`),this.removeUnbufferedFrags(),this.resetStartWhenNotLoaded(),this.resetLoadingState()}removeUnbufferedFrags(t=0){this.fragmentTracker.removeFragmentsInRange(t,1/0,this.playlistType,!1,!0)}updateLevelTiming(t,n,s,_){const E=s.details;if(!E){this.warn("level.details undefined");return}if(!Object.keys(t.elementaryStreams).reduce((Y,V)=>{const ue=t.elementaryStreams[V];if(ue){const he=ue.endPTS-ue.startPTS;if(he<=0)return this.warn(`Could not parse fragment ${t.sn} ${V} duration reliably (${he})`),Y||!1;const Ee=_?0:xn(E,t,ue.startPTS,ue.endPTS,ue.startDTS,ue.endDTS,this);return this.hls.trigger(o.LEVEL_PTS_UPDATED,{details:E,level:s,drift:Ee,type:V,frag:t,start:ue.startPTS,end:ue.endPTS}),!0}return Y},!1)){var j;if(s.fragmentError===0&&this.treatAsGap(t,s),((j=this.transmuxer)==null?void 0:j.error)===null){const Y=new Error(`Found no media in fragment ${t.sn} of ${this.playlistLabel()} ${t.level} resetting transmuxer to fallback to playlist timing`);if(this.warn(Y.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:Y,frag:t,reason:`Found no media in msn ${t.sn} of ${this.playlistLabel()} "${s.url}"`}),!this.hls)return;this.resetTransmuxer()}}this.state=cn.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 _,E;return`${this.playlistLabel()} ${t.level} (${s?"part":"frag"}:[${((_=n&&!s?t.startPTS:(s||t).start)!=null?_: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.resetLoadingState())}set state(t){const n=this._state;n!==t&&(this._state=t,this.log(`${n}->${t}`))}get state(){return this._state}}function Ks(O){return!!O.interstitialsController&&O.enableInterstitialPlayback!==!1}class mo{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=Hn(t,n);else return new Uint8Array(0);return this.reset(),s}reset(){this.chunks.length=0,this.dataLength=0}}function Hn(O,t){const n=new Uint8Array(t);let s=0;for(let _=0;_<O.length;_++){const E=O[_];n.set(E,s),s+=E.length}return n}var Ls={exports:{}},no;function Xe(){return no||(no=1,function(O){var t=Object.prototype.hasOwnProperty,n="~";function s(){}Object.create&&(s.prototype=Object.create(null),new s().__proto__||(n=!1));function _(Y,V,ue){this.fn=Y,this.context=V,this.once=ue||!1}function E(Y,V,ue,he,Ee){if(typeof ue!="function")throw new TypeError("The listener must be a function");var Re=new _(ue,he||Y,Ee),Fe=n?n+V:V;return Y._events[Fe]?Y._events[Fe].fn?Y._events[Fe]=[Y._events[Fe],Re]:Y._events[Fe].push(Re):(Y._events[Fe]=Re,Y._eventsCount++),Y}function I(Y,V){--Y._eventsCount===0?Y._events=new s:delete Y._events[V]}function j(){this._events=new s,this._eventsCount=0}j.prototype.eventNames=function(){var V=[],ue,he;if(this._eventsCount===0)return V;for(he in ue=this._events)t.call(ue,he)&&V.push(n?he.slice(1):he);return Object.getOwnPropertySymbols?V.concat(Object.getOwnPropertySymbols(ue)):V},j.prototype.listeners=function(V){var ue=n?n+V:V,he=this._events[ue];if(!he)return[];if(he.fn)return[he.fn];for(var Ee=0,Re=he.length,Fe=new Array(Re);Ee<Re;Ee++)Fe[Ee]=he[Ee].fn;return Fe},j.prototype.listenerCount=function(V){var ue=n?n+V:V,he=this._events[ue];return he?he.fn?1:he.length:0},j.prototype.emit=function(V,ue,he,Ee,Re,Fe){var ft=n?n+V:V;if(!this._events[ft])return!1;var st=this._events[ft],Ft=arguments.length,fr,ar;if(st.fn){switch(st.once&&this.removeListener(V,st.fn,void 0,!0),Ft){case 1:return st.fn.call(st.context),!0;case 2:return st.fn.call(st.context,ue),!0;case 3:return st.fn.call(st.context,ue,he),!0;case 4:return st.fn.call(st.context,ue,he,Ee),!0;case 5:return st.fn.call(st.context,ue,he,Ee,Re),!0;case 6:return st.fn.call(st.context,ue,he,Ee,Re,Fe),!0}for(ar=1,fr=new Array(Ft-1);ar<Ft;ar++)fr[ar-1]=arguments[ar];st.fn.apply(st.context,fr)}else{var $r=st.length,Xr;for(ar=0;ar<$r;ar++)switch(st[ar].once&&this.removeListener(V,st[ar].fn,void 0,!0),Ft){case 1:st[ar].fn.call(st[ar].context);break;case 2:st[ar].fn.call(st[ar].context,ue);break;case 3:st[ar].fn.call(st[ar].context,ue,he);break;case 4:st[ar].fn.call(st[ar].context,ue,he,Ee);break;default:if(!fr)for(Xr=1,fr=new Array(Ft-1);Xr<Ft;Xr++)fr[Xr-1]=arguments[Xr];st[ar].fn.apply(st[ar].context,fr)}}return!0},j.prototype.on=function(V,ue,he){return E(this,V,ue,he,!1)},j.prototype.once=function(V,ue,he){return E(this,V,ue,he,!0)},j.prototype.removeListener=function(V,ue,he,Ee){var Re=n?n+V:V;if(!this._events[Re])return this;if(!ue)return I(this,Re),this;var Fe=this._events[Re];if(Fe.fn)Fe.fn===ue&&(!Ee||Fe.once)&&(!he||Fe.context===he)&&I(this,Re);else{for(var ft=0,st=[],Ft=Fe.length;ft<Ft;ft++)(Fe[ft].fn!==ue||Ee&&!Fe[ft].once||he&&Fe[ft].context!==he)&&st.push(Fe[ft]);st.length?this._events[Re]=st.length===1?st[0]:st:I(this,Re)}return this},j.prototype.removeAllListeners=function(V){var ue;return V?(ue=n?n+V:V,this._events[ue]&&I(this,ue)):(this._events=new s,this._eventsCount=0),this},j.prototype.off=j.prototype.removeListener,j.prototype.addListener=j.prototype.on,j.prefixed=n,j.EventEmitter=j,O.exports=j}(Ls)),Ls.exports}var Qe=Xe(),Mt=se(Qe);const Gt="1.6.11",vr={};function Br(){return typeof __HLS_WORKER_BUNDLE__=="function"}function Wr(){const O=vr[Gt];if(O)return O.clientCount++,O;const t=new self.Blob([`var exports={};var module={exports:exports};function define(f){f()};define.amd=true;(${__HLS_WORKER_BUNDLE__.toString()})(true);`],{type:"text/javascript"}),n=self.URL.createObjectURL(t),_={worker:new self.Worker(n),objectURL:n,clientCount:1};return vr[Gt]=_,_}function wn(O){const t=vr[O];if(t)return t.clientCount++,t;const n=new self.URL(O,self.location.href).href,_={worker:new self.Worker(n),scriptURL:n,clientCount:1};return vr[O]=_,_}function on(O){const t=vr[O||Gt];if(t&&t.clientCount--===1){const{worker:s,objectURL:_}=t;delete vr[O||Gt],_&&self.URL.revokeObjectURL(_),s.terminate()}}function Sn(O,t){return t+10<=O.length&&O[t]===51&&O[t+1]===68&&O[t+2]===73&&O[t+3]<255&&O[t+4]<255&&O[t+6]<128&&O[t+7]<128&&O[t+8]<128&&O[t+9]<128}function ri(O,t){return t+10<=O.length&&O[t]===73&&O[t+1]===68&&O[t+2]===51&&O[t+3]<255&&O[t+4]<255&&O[t+6]<128&&O[t+7]<128&&O[t+8]<128&&O[t+9]<128}function ai(O,t){let n=0;return n=(O[t]&127)<<21,n|=(O[t+1]&127)<<14,n|=(O[t+2]&127)<<7,n|=O[t+3]&127,n}function Ai(O,t){const n=t;let s=0;for(;ri(O,t);){s+=10;const _=ai(O,t+6);s+=_,Sn(O,t+10)&&(s+=10),t+=s}if(s>0)return O.subarray(n,n+s)}function Ui(O,t,n,s){const _=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],E=t[n+2],I=E>>2&15;if(I>12){const Re=new Error(`invalid ADTS sampling index:${I}`);O.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!0,error:Re,reason:Re.message});return}const j=(E>>6&3)+1,Y=t[n+3]>>6&3|(E&1)<<2,V="mp4a.40."+j,ue=_[I];let he=I;(j===5||j===29)&&(he-=3);const Ee=[j<<3|(he&14)>>1,(he&1)<<7|Y<<3];return H.log(`manifest codec:${s}, parsed codec:${V}, channels:${Y}, rate:${ue} (ADTS object type:${j} sampling index:${I})`),{config:Ee,samplerate:ue,channelCount:Y,codec:V,parsedCodec:V,manifestCodec:s}}function na(O,t){return O[t]===255&&(O[t+1]&246)===240}function Xi(O,t){return O[t+1]&1?7:9}function Oi(O,t){return(O[t+3]&3)<<11|O[t+4]<<3|(O[t+5]&224)>>>5}function Da(O,t){return t+5<O.length}function Mi(O,t){return t+1<O.length&&na(O,t)}function Di(O,t){return Da(O,t)&&na(O,t)&&Oi(O,t)<=O.length-t}function wa(O,t){if(Mi(O,t)){const n=Xi(O,t);if(t+n>=O.length)return!1;const s=Oi(O,t);if(s<=n)return!1;const _=t+s;return _===O.length||Mi(O,_)}return!1}function _o(O,t,n,s,_){if(!O.samplerate){const E=Ui(t,n,s,_);if(!E)return;y(O,E)}}function Us(O){return 9216e4/O}function ua(O,t){const n=Xi(O,t);if(t+n<=O.length){const s=Oi(O,t)-n;if(s>0)return{headerLength:n,frameLength:s}}}function Xa(O,t,n,s,_){const E=Us(O.samplerate),I=s+_*E,j=ua(t,n);let Y;if(j){const{frameLength:he,headerLength:Ee}=j,Re=Ee+he,Fe=Math.max(0,n+Re-t.length);Fe?(Y=new Uint8Array(Re-Ee),Y.set(t.subarray(n+Ee,t.length),0)):Y=t.subarray(n+Ee,n+Re);const ft={unit:Y,pts:I};return Fe||O.samples.push(ft),{sample:ft,length:Re,missing:Fe}}const V=t.length-n;return Y=new Uint8Array(V),Y.set(t.subarray(n,t.length),0),{sample:{unit:Y,pts:I},length:V,missing:-1}}function va(O,t){return ri(O,t)&&ai(O,t+6)+10<=O.length-t}function Wi(O){return O instanceof ArrayBuffer?O:O.byteOffset==0&&O.byteLength==O.buffer.byteLength?O.buffer:new Uint8Array(O).buffer}function Pa(O,t=0,n=1/0){return us(O,t,n,Uint8Array)}function us(O,t,n,s){const _=ms(O);let E=1;"BYTES_PER_ELEMENT"in s&&(E=s.BYTES_PER_ELEMENT);const I=So(O)?O.byteOffset:0,j=(I+O.byteLength)/E,Y=(I+t)/E,V=Math.floor(Math.max(0,Math.min(Y,j))),ue=Math.floor(Math.min(V+Math.max(n,0),j));return new s(_,V,ue-V)}function ms(O){return O instanceof ArrayBuffer?O:O.buffer}function So(O){return O&&O.buffer instanceof ArrayBuffer&&O.byteLength!==void 0&&O.byteOffset!==void 0}function gs(O){const t={key:O.type,description:"",data:"",mimeType:null,pictureType:null},n=3;if(O.size<2)return;if(O.data[0]!==n){console.log("Ignore frame with unrecognized character encoding");return}const s=O.data.subarray(1).indexOf(0);if(s===-1)return;const _=q(Pa(O.data,1,s)),E=O.data[2+s],I=O.data.subarray(3+s).indexOf(0);if(I===-1)return;const j=q(Pa(O.data,3+s,I));let Y;return _==="-->"?Y=q(Pa(O.data,4+s+I)):Y=Wi(O.data.subarray(4+s+I)),t.mimeType=_,t.pictureType=E,t.description=j,t.data=Y,t}function ko(O){if(O.size<2)return;const t=q(O.data,!0),n=new Uint8Array(O.data.subarray(t.length+1));return{key:O.type,info:t,data:n.buffer}}function _s(O){if(O.size<2)return;if(O.type==="TXXX"){let n=1;const s=q(O.data.subarray(n),!0);n+=s.length+1;const _=q(O.data.subarray(n));return{key:O.type,info:s,data:_}}const t=q(O.data.subarray(1));return{key:O.type,info:"",data:t}}function yo(O){if(O.type==="WXXX"){if(O.size<2)return;let n=1;const s=q(O.data.subarray(n),!0);n+=s.length+1;const _=q(O.data.subarray(n));return{key:O.type,info:s,data:_}}const t=q(O.data);return{key:O.type,info:"",data:t}}function bo(O){return O.type==="PRIV"?ko(O):O.type[0]==="W"?yo(O):O.type==="APIC"?gs(O):_s(O)}function Sa(O){const t=String.fromCharCode(O[0],O[1],O[2],O[3]),n=ai(O,4),s=10;return{type:t,size:n,data:O.subarray(s,s+n)}}const rs=10,Xs=10;function Oa(O){let t=0;const n=[];for(;ri(O,t);){const s=ai(O,t+6);O[t+5]>>6&1&&(t+=rs),t+=rs;const _=t+s;for(;t+Xs<_;){const E=Sa(O.subarray(t)),I=bo(E);I&&n.push(I),t+=E.size+rs}Sn(O,t)&&(t+=rs)}return n}function ye(O){return O&&O.key==="PRIV"&&O.info==="com.apple.streaming.transportStreamTimestamp"}function we(O){if(O.data.byteLength===8){const t=new Uint8Array(O.data),n=t[3]&1;let s=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return s/=45,n&&(s+=4772185884e-2),Math.round(s)}}function xr(O){const t=Oa(O);for(let n=0;n<t.length;n++){const s=t[n];if(ye(s))return we(s)}}let Qr=function(O){return O.audioId3="org.id3",O.dateRange="com.apple.quicktime.HLS",O.emsg="https://aomedia.org/emsg/ID3",O.misbklv="urn:misb:KLV:bin:1910.1",O}({});function _r(O="",t=9e4){return{type:O,id:-1,pid:-1,inputTimeScale:t,sequenceNumber:-1,samples:[],dropped:0}}class en{constructor(){this._audioTrack=void 0,this._id3Track=void 0,this.frameIndex=0,this.cachedData=null,this.basePTS=null,this.initPTS=null,this.lastPTS=null}resetInitSegment(t,n,s,_){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=Ae(this.cachedData,t),this.cachedData=null);let s=Ai(t,0),_=s?s.length:0,E;const I=this._audioTrack,j=this._id3Track,Y=s?xr(s):void 0,V=t.length;for((this.basePTS===null||this.frameIndex===0&&r(Y))&&(this.basePTS=Mn(Y,n,this.initPTS),this.lastPTS=this.basePTS),this.lastPTS===null&&(this.lastPTS=this.basePTS),s&&s.length>0&&j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:Qr.audioId3,duration:Number.POSITIVE_INFINITY});_<V;){if(this.canParse(t,_)){const ue=this.appendFrame(I,t,_);ue?(this.frameIndex++,this.lastPTS=ue.sample.pts,_+=ue.length,E=_):_=V}else va(t,_)?(s=Ai(t,_),j.samples.push({pts:this.lastPTS,dts:this.lastPTS,data:s,type:Qr.audioId3,duration:Number.POSITIVE_INFINITY}),_+=s.length,E=_):_++;if(_===V&&E!==V){const ue=t.slice(E);this.cachedData?this.cachedData=Ae(this.cachedData,ue):this.cachedData=ue}}return{audioTrack:I,videoTrack:_r(),id3Track:j,textTrack:_r()}}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:_r(),id3Track:this._id3Track,textTrack:_r()}}destroy(){this.cachedData=null,this._audioTrack=this._id3Track=void 0}}const Mn=(O,t,n)=>{if(r(O))return O*90;const s=n?n.baseTime*9e4/n.timescale:0;return t*9e4+s};let ni=null;const Qi=[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],zn=[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],jn=[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],Yn=[0,1,1,4];function xa(O,t,n,s,_){if(n+24>t.length)return;const E=ia(t,n);if(E&&n+E.frameLength<=t.length){const I=E.samplesPerFrame*9e4/E.sampleRate,j=s+_*I,Y={unit:t.subarray(n,n+E.frameLength),pts:j,dts:j};return O.config=[],O.channelCount=E.channelCount,O.samplerate=E.sampleRate,O.samples.push(Y),{sample:Y,length:E.frameLength,missing:0}}}function ia(O,t){const n=O[t+1]>>3&3,s=O[t+1]>>1&3,_=O[t+2]>>4&15,E=O[t+2]>>2&3;if(n!==1&&_!==0&&_!==15&&E!==3){const I=O[t+2]>>1&1,j=O[t+3]>>6,Y=n===3?3-s:s===3?3:4,V=Qi[Y*14+_-1]*1e3,he=zn[(n===3?0:n===2?1:2)*3+E],Ee=j===3?1:2,Re=jn[n][s],Fe=Yn[s],ft=Re*8*Fe,st=Math.floor(Re*V/he+I)*Fe;if(ni===null){const ar=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);ni=ar?parseInt(ar[1]):0}return!!ni&&ni<=87&&s===2&&V>=224e3&&j===0&&(O[t+3]=O[t+3]|128),{sampleRate:he,channelCount:Ee,frameLength:st,samplesPerFrame:ft}}}function Ao(O,t){return O[t]===255&&(O[t+1]&224)===224&&(O[t+1]&6)!==0}function xo(O,t){return t+1<O.length&&Ao(O,t)}function xu(O,t){return Ao(O,t)&&4<=O.length-t}function Rl(O,t){if(t+1<O.length&&Ao(O,t)){const s=ia(O,t);let _=4;s!=null&&s.frameLength&&(_=s.frameLength);const E=t+_;return E===O.length||xo(O,E)}return!1}class El extends en{constructor(t,n){super(),this.observer=void 0,this.config=void 0,this.observer=t,this.config=n}resetInitSegment(t,n,s,_){super.resetInitSegment(t,n,s,_),this._audioTrack={container:"audio/adts",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"aac",samples:[],manifestCodec:n,duration:_,inputTimeScale:9e4,dropped:0}}static probe(t,n){if(!t)return!1;const s=Ai(t,0);let _=(s==null?void 0:s.length)||0;if(Rl(t,_))return!1;for(let E=t.length;_<E;_++)if(wa(t,_))return n.log("ADTS sync word found !"),!0;return!1}canParse(t,n){return Di(t,n)}appendFrame(t,n,s){_o(t,this.observer,n,s,t.manifestCodec);const _=Xa(t,n,s,this.basePTS,this.frameIndex);if(_&&_.missing===0)return _}}const $u=(O,t)=>{let n=0,s=5;t+=s;const _=new Uint32Array(1),E=new Uint32Array(1),I=new Uint8Array(1);for(;s>0;){I[0]=O[t];const j=Math.min(s,8),Y=8-j;E[0]=4278190080>>>24+Y<<Y,_[0]=(I[0]&E[0])>>Y,n=n?n<<j|_[0]:_[0],t+=1,s-=j}return n};class df extends en{constructor(t){super(),this.observer=void 0,this.observer=t}resetInitSegment(t,n,s,_){super.resetInitSegment(t,n,s,_),this._audioTrack={container:"audio/ac-3",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"ac3",samples:[],manifestCodec:n,duration:_,inputTimeScale:9e4,dropped:0}}canParse(t,n){return n+64<t.length}appendFrame(t,n,s){const _=ju(t,n,s,this.basePTS,this.frameIndex);if(_!==-1)return{sample:t.samples[t.samples.length-1],length:_,missing:0}}static probe(t){if(!t)return!1;const n=Ai(t,0);if(!n)return!1;const s=n.length;return t[s]===11&&t[s+1]===119&&xr(n)!==void 0&&$u(t,s)<16}}function ju(O,t,n,s,_){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 j=[48e3,44100,32e3][E],Y=t[n+4]&63,ue=[64,69,96,64,70,96,80,87,120,80,88,120,96,104,144,96,105,144,112,121,168,112,122,168,128,139,192,128,140,192,160,174,240,160,175,240,192,208,288,192,209,288,224,243,336,224,244,336,256,278,384,256,279,384,320,348,480,320,349,480,384,417,576,384,418,576,448,487,672,448,488,672,512,557,768,512,558,768,640,696,960,640,697,960,768,835,1152,768,836,1152,896,975,1344,896,976,1344,1024,1114,1536,1024,1115,1536,1152,1253,1728,1152,1254,1728,1280,1393,1920,1280,1394,1920][Y*3+E]*2;if(n+ue>t.length)return-1;const he=t[n+6]>>5;let Ee=0;he===2?Ee+=2:(he&1&&he!==1&&(Ee+=2),he&4&&(Ee+=2));const Re=(t[n+6]<<8|t[n+7])>>12-Ee&1,ft=[2,1,2,3,3,4,4,5][he]+Re,st=t[n+5]>>3,Ft=t[n+5]&7,fr=new Uint8Array([E<<6|st<<1|Ft>>2,(Ft&3)<<6|he<<3|Re<<2|Y>>4,Y<<4&224]),ar=1536/j*9e4,$r=s+_*ar,Xr=t.subarray(n,n+ue);return O.config=fr,O.channelCount=ft,O.samplerate=j,O.samples.push({unit:Xr,pts:$r}),ue}class Ve extends en{resetInitSegment(t,n,s,_){super.resetInitSegment(t,n,s,_),this._audioTrack={container:"audio/mpeg",type:"audio",id:2,pid:-1,sequenceNumber:0,segmentCodec:"mp3",samples:[],manifestCodec:n,duration:_,inputTimeScale:9e4,dropped:0}}static probe(t){if(!t)return!1;const n=Ai(t,0);let s=(n==null?void 0:n.length)||0;if(n&&t[s]===11&&t[s+1]===119&&xr(n)!==void 0&&$u(t,s)<=16)return!1;for(let _=t.length;s<_;s++)if(Rl(t,s))return H.log("MPEG Audio sync word found !"),!0;return!1}canParse(t,n){return xu(t,n)}appendFrame(t,n,s){if(this.basePTS!==null)return xa(t,n,s,this.basePTS,this.frameIndex)}}const Z=/\/emsg[-/]ID3/i;class X{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,_){const E=this.videoTrack=_r("video",1),I=this.audioTrack=_r("audio",1),j=this.txtTrack=_r("text",1);if(this.id3Track=_r("id3",1),this.timeOffset=0,!(t!=null&&t.byteLength))return;const Y=Je(t);if(Y.video){const{id:V,timescale:ue,codec:he,supplemental:Ee}=Y.video;E.id=V,E.timescale=j.timescale=ue,E.codec=he,E.supplemental=Ee}if(Y.audio){const{id:V,timescale:ue,codec:he}=Y.audio;I.id=V,I.timescale=ue,I.codec=he}j.id=rr.text,E.sampleDuration=0,E.duration=I.duration=_}resetContiguity(){this.remainderData=null}static probe(t){return nt(t)}demux(t,n){this.timeOffset=n;let s=t;const _=this.videoTrack,E=this.txtTrack;if(this.config.progressive){this.remainderData&&(s=Ae(this.remainderData,t));const j=Wt(s);this.remainderData=j.remainder,_.samples=j.valid||new Uint8Array}else _.samples=s;const I=this.extractID3Track(_,n);return E.samples=qe(n,_),{videoTrack:_,audioTrack:this.audioTrack,id3Track:I,textTrack:this.txtTrack}}flush(){const t=this.timeOffset,n=this.videoTrack,s=this.txtTrack;n.samples=this.remainderData||new Uint8Array,this.remainderData=null;const _=this.extractID3Track(n,this.timeOffset);return s.samples=qe(t,n),{videoTrack:n,audioTrack:_r(),id3Track:_,textTrack:_r()}}extractID3Track(t,n){const s=this.id3Track;if(t.samples.length){const _=Et(t.samples,["emsg"]);_&&_.forEach(E=>{const I=Tt(E);if(Z.test(I.schemeIdUri)){const j=te(I,n);let Y=I.eventDuration===4294967295?Number.POSITIVE_INFINITY:I.eventDuration/I.timeScale;Y<=.001&&(Y=Number.POSITIVE_INFINITY);const V=I.payload;s.samples.push({data:V,len:V.byteLength,dts:j,pts:j,type:Qr.emsg,duration:Y})}else if(this.config.enableEmsgKLVMetadata&&I.schemeIdUri.startsWith("urn:misb:KLV:bin:1910.1")){const j=te(I,n);s.samples.push({data:I.payload,len:I.payload.byteLength,dts:j,pts:j,type:Qr.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 te(O,t){return r(O.presentationTime)?O.presentationTime/O.timeScale:t+O.presentationTimeDelta/O.timeScale}class de{constructor(t,n,s){this.keyData=void 0,this.decrypter=void 0,this.keyData=s,this.decrypter=new Vi(n,{removePKCS7Padding:!1})}decryptBuffer(t){return this.decrypter.decrypt(t,this.keyData.key.buffer,this.keyData.iv.buffer,ln.cbc)}decryptAacSample(t,n,s){const _=t[n].unit;if(_.length<=16)return;const E=_.subarray(16,_.length-_.length%16),I=E.buffer.slice(E.byteOffset,E.byteOffset+E.length);this.decryptBuffer(I).then(j=>{const Y=new Uint8Array(j);_.set(Y,16),this.decrypter.isSync()||this.decryptAacSamples(t,n+1,s)}).catch(s)}decryptAacSamples(t,n,s){for(;;n++){if(n>=t.length){s();return}if(!(t[n].unit.length<32)&&(this.decryptAacSample(t,n,s),!this.decrypter.isSync()))return}}getAvcEncryptedData(t){const n=Math.floor((t.length-48)/160)*16+16,s=new Int8Array(n);let _=0;for(let E=32;E<t.length-16;E+=160,_+=16)s.set(t.subarray(E,E+16),_);return s}getAvcDecryptedUnit(t,n){const s=new Uint8Array(n);let _=0;for(let E=32;E<t.length-16;E+=160,_+=16)t.set(s.subarray(_,_+16),E);return t}decryptAvcSample(t,n,s,_,E){const I=$t(E.data),j=this.getAvcEncryptedData(I);this.decryptBuffer(j.buffer).then(Y=>{E.data=this.getAvcDecryptedUnit(I,Y),this.decrypter.isSync()||this.decryptAvcSamples(t,n,s+1,_)}).catch(_)}decryptAvcSamples(t,n,s,_){if(t instanceof Uint8Array)throw new Error("Cannot decrypt samples of type Uint8Array");for(;;n++,s=0){if(n>=t.length){_();return}const E=t[n].units;for(;!(s>=E.length);s++){const I=E[s];if(!(I.data.length<=48||I.type!==1&&I.type!==5)&&(this.decryptAvcSample(t,n,s,_,I),!this.decrypter.isSync()))return}}}}class Te{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,_;if((!s||s.units.length===0)&&(s=t[t.length-1]),(n=s)!=null&&n.units){const E=s.units;_=E[E.length-1]}return _}pushAccessUnit(t,n){if(t.units.length&&t.frame){if(t.pts===void 0){const s=n.samples,_=s.length;if(_){const E=s[_-1];t.pts=E.pts,t.dts=E.dts}else{n.dropped++;return}}n.samples.push(t)}}parseNALu(t,n,s){const _=n.byteLength;let E=t.naluState||0;const I=E,j=[];let Y=0,V,ue,he,Ee=-1,Re=0;for(E===-1&&(Ee=0,Re=this.getNALuType(n,0),E=0,Y=1);Y<_;){if(V=n[Y++],!E){E=V?0:1;continue}if(E===1){E=V?0:2;continue}if(!V)E=3;else if(V===1){if(ue=Y-E-1,Ee>=0){const Fe={data:n.subarray(Ee,ue),type:Re};j.push(Fe)}else{const Fe=this.getLastNalUnit(t.samples);Fe&&(I&&Y<=4-I&&Fe.state&&(Fe.data=Fe.data.subarray(0,Fe.data.byteLength-I)),ue>0&&(Fe.data=Ae(Fe.data,n.subarray(0,ue)),Fe.state=0))}Y<_?(he=this.getNALuType(n,Y),Ee=Y,Re=he,E=0):E=-1}else E=0}if(Ee>=0&&E>=0){const Fe={data:n.subarray(Ee,_),type:Re,state:E};j.push(Fe)}if(j.length===0){const Fe=this.getLastNalUnit(t.samples);Fe&&(Fe.data=Ae(Fe.data,n))}return t.naluState=E,j}}class Ke{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,_=new Uint8Array(4),E=Math.min(4,n);if(E===0)throw new Error("no bytes available");_.set(t.subarray(s,s+E)),this.word=new DataView(_.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&&H.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=n,this.bitsAvailable>0)this.word<<=n;else if(this.bytesAvailable>0)this.loadWord();else throw new Error("no bits available");return n=t-n,n>0&&this.bitsAvailable?s<<n|this.readBits(n):s}skipLZ(){let t;for(t=0;t<this.bitsAvailable;++t)if(this.word&2147483648>>>t)return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()}skipUEG(){this.skipBits(1+this.skipLZ())}skipEG(){this.skipBits(1+this.skipLZ())}readUEG(){const t=this.skipLZ();return this.readBits(t+1)-1}readEG(){const t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)}readBoolean(){return this.readBits(1)===1}readUByte(){return this.readBits(8)}readUShort(){return this.readBits(16)}readUInt(){return this.readBits(32)}}class Ct extends Te{parsePES(t,n,s,_){const E=this.parseNALu(t,s.data,_);let I=this.VideoSample,j,Y=!1;s.data=null,I&&E.length&&!t.audFound&&(this.pushAccessUnit(I,t),I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(V=>{var ue,he;switch(V.type){case 1:{let ft=!1;j=!0;const st=V.data;if(Y&&st.length>4){const Ft=this.readSliceType(st);(Ft===2||Ft===4||Ft===7||Ft===9)&&(ft=!0)}if(ft){var Ee;(Ee=I)!=null&&Ee.frame&&!I.key&&(this.pushAccessUnit(I,t),I=this.VideoSample=null)}I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.frame=!0,I.key=ft;break}case 5:j=!0,(ue=I)!=null&&ue.frame&&!I.key&&(this.pushAccessUnit(I,t),I=this.VideoSample=null),I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.key=!0,I.frame=!0;break;case 6:{j=!0,Ht(V.data,1,s.pts,n.samples);break}case 7:{var Re,Fe;j=!0,Y=!0;const ft=V.data,st=this.readSPS(ft);if(!t.sps||t.width!==st.width||t.height!==st.height||((Re=t.pixelRatio)==null?void 0:Re[0])!==st.pixelRatio[0]||((Fe=t.pixelRatio)==null?void 0:Fe[1])!==st.pixelRatio[1]){t.width=st.width,t.height=st.height,t.pixelRatio=st.pixelRatio,t.sps=[ft];const Ft=ft.subarray(1,4);let fr="avc1.";for(let ar=0;ar<3;ar++){let $r=Ft[ar].toString(16);$r.length<2&&($r="0"+$r),fr+=$r}t.codec=fr}break}case 8:j=!0,t.pps=[V.data];break;case 9:j=!0,t.audFound=!0,(he=I)!=null&&he.frame&&(this.pushAccessUnit(I,t),I=null),I||(I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;case 12:j=!0;break;default:j=!1;break}I&&j&&I.units.push(V)}),_&&I&&(this.pushAccessUnit(I,t),this.VideoSample=null)}getNALuType(t,n){return t[n]&31}readSliceType(t){const n=new Ke(t);return n.readUByte(),n.readUEG(),n.readUEG()}skipScalingList(t,n){let s=8,_=8,E;for(let I=0;I<t;I++)_!==0&&(E=n.readEG(),_=(s+E+256)%256),s=_===0?s:_}readSPS(t){const n=new Ke(t);let s=0,_=0,E=0,I=0,j,Y,V;const ue=n.readUByte.bind(n),he=n.readBits.bind(n),Ee=n.readUEG.bind(n),Re=n.readBoolean.bind(n),Fe=n.skipBits.bind(n),ft=n.skipEG.bind(n),st=n.skipUEG.bind(n),Ft=this.skipScalingList.bind(this);ue();const fr=ue();if(he(5),Fe(3),ue(),st(),fr===100||fr===110||fr===122||fr===244||fr===44||fr===83||fr===86||fr===118||fr===128){const an=Ee();if(an===3&&Fe(1),st(),st(),Fe(1),Re())for(Y=an!==3?8:12,V=0;V<Y;V++)Re()&&(V<6?Ft(16,n):Ft(64,n))}st();const ar=Ee();if(ar===0)Ee();else if(ar===1)for(Fe(1),ft(),ft(),j=Ee(),V=0;V<j;V++)ft();st(),Fe(1);const $r=Ee(),Xr=Ee(),gn=he(1);gn===0&&Fe(1),Fe(1),Re()&&(s=Ee(),_=Ee(),E=Ee(),I=Ee());let Kr=[1,1];if(Re()&&Re())switch(ue()){case 1:Kr=[1,1];break;case 2:Kr=[12,11];break;case 3:Kr=[10,11];break;case 4:Kr=[16,11];break;case 5:Kr=[40,33];break;case 6:Kr=[24,11];break;case 7:Kr=[20,11];break;case 8:Kr=[32,11];break;case 9:Kr=[80,33];break;case 10:Kr=[18,11];break;case 11:Kr=[15,11];break;case 12:Kr=[64,33];break;case 13:Kr=[160,99];break;case 14:Kr=[4,3];break;case 15:Kr=[3,2];break;case 16:Kr=[2,1];break;case 255:{Kr=[ue()<<8|ue(),ue()<<8|ue()];break}}return{width:Math.ceil(($r+1)*16-s*2-_*2),height:(2-gn)*(Xr+1)*16-(gn?2:4)*(E+I),pixelRatio:Kr}}}class Ut extends Te{constructor(...t){super(...t),this.initVPS=null}parsePES(t,n,s,_){const E=this.parseNALu(t,s.data,_);let I=this.VideoSample,j,Y=!1;s.data=null,I&&E.length&&!t.audFound&&(this.pushAccessUnit(I,t),I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),E.forEach(V=>{var ue,he;switch(V.type){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:I||(I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts)),I.frame=!0,j=!0;break;case 16:case 17:case 18:case 21:if(j=!0,Y){var Ee;(Ee=I)!=null&&Ee.frame&&!I.key&&(this.pushAccessUnit(I,t),I=this.VideoSample=null)}I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.key=!0,I.frame=!0;break;case 19:case 20:j=!0,(ue=I)!=null&&ue.frame&&!I.key&&(this.pushAccessUnit(I,t),I=this.VideoSample=null),I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.key=!0,I.frame=!0;break;case 39:j=!0,Ht(V.data,2,s.pts,n.samples);break;case 32:j=!0,t.vps||(typeof t.params!="object"&&(t.params={}),t.params=y(t.params,this.readVPS(V.data)),this.initVPS=V.data),t.vps=[V.data];break;case 33:if(j=!0,Y=!0,t.vps!==void 0&&t.vps[0]!==this.initVPS&&t.sps!==void 0&&!this.matchSPS(t.sps[0],V.data)&&(this.initVPS=t.vps[0],t.sps=t.pps=void 0),!t.sps){const Re=this.readSPS(V.data);t.width=Re.width,t.height=Re.height,t.pixelRatio=Re.pixelRatio,t.codec=Re.codecString,t.sps=[],typeof t.params!="object"&&(t.params={});for(const Fe in Re.params)t.params[Fe]=Re.params[Fe]}this.pushParameterSet(t.sps,V.data,t.vps),I||(I=this.VideoSample=this.createVideoSample(!0,s.pts,s.dts)),I.key=!0;break;case 34:if(j=!0,typeof t.params=="object"){if(!t.pps){t.pps=[];const Re=this.readPPS(V.data);for(const Fe in Re)t.params[Fe]=Re[Fe]}this.pushParameterSet(t.pps,V.data,t.vps)}break;case 35:j=!0,t.audFound=!0,(he=I)!=null&&he.frame&&(this.pushAccessUnit(I,t),I=null),I||(I=this.VideoSample=this.createVideoSample(!1,s.pts,s.dts));break;default:j=!1;break}I&&j&&I.units.push(V)}),_&&I&&(this.pushAccessUnit(I,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 _=0;_<t.byteLength;_++)_>=2&&t[_]===3&&t[_-1]===0&&t[_-2]===0||(n[s]=t[_],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 Ke(t);n.readUByte(),n.readUByte(),n.readBits(4),n.skipBits(2),n.readBits(6);const s=n.readBits(3),_=n.readBoolean();return{numTemporalLayers:s+1,temporalIdNested:_}}readSPS(t){const n=new Ke(this.ebsp2rbsp(t));n.readUByte(),n.readUByte(),n.readBits(4);const s=n.readBits(3);n.readBoolean();const _=n.readBits(2),E=n.readBoolean(),I=n.readBits(5),j=n.readUByte(),Y=n.readUByte(),V=n.readUByte(),ue=n.readUByte(),he=n.readUByte(),Ee=n.readUByte(),Re=n.readUByte(),Fe=n.readUByte(),ft=n.readUByte(),st=n.readUByte(),Ft=n.readUByte(),fr=[],ar=[];for(let to=0;to<s;to++)fr.push(n.readBoolean()),ar.push(n.readBoolean());if(s>0)for(let to=s;to<8;to++)n.readBits(2);for(let to=0;to<s;to++)fr[to]&&(n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte(),n.readUByte()),ar[to]&&n.readUByte();n.readUEG();const $r=n.readUEG();$r==3&&n.skipBits(1);const Xr=n.readUEG(),gn=n.readUEG(),Kr=n.readBoolean();let an=0,dn=0,Vr=0,Cn=0;Kr&&(an+=n.readUEG(),dn+=n.readUEG(),Vr+=n.readUEG(),Cn+=n.readUEG());const wi=n.readUEG(),qi=n.readUEG(),ma=n.readUEG(),ea=n.readBoolean();for(let to=ea?0:s;to<=s;to++)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 ul=0;ul<4;ul++)for(let Bu=0;Bu<(ul===3?2:6);Bu++)if(!n.readBoolean())n.readUEG();else{const bc=Math.min(64,1<<4+(ul<<1));ul>1&&n.readEG();for(let Cu=0;Cu<bc;Cu++)n.readEG()}n.readBoolean(),n.readBoolean(),n.readBoolean()&&(n.readUByte(),n.skipUEG(),n.skipUEG(),n.readBoolean());const Ri=n.readUEG();let ha=0;for(let to=0;to<Ri;to++){let ul=!1;if(to!==0&&(ul=n.readBoolean()),ul){to===Ri&&n.readUEG(),n.readBoolean(),n.readUEG();let Bu=0;for(let Na=0;Na<=ha;Na++){const bc=n.readBoolean();let Cu=!1;bc||(Cu=n.readBoolean()),(bc||Cu)&&Bu++}ha=Bu}else{const Bu=n.readUEG(),Na=n.readUEG();ha=Bu+Na;for(let bc=0;bc<Bu;bc++)n.readUEG(),n.readBoolean();for(let bc=0;bc<Na;bc++)n.readUEG(),n.readBoolean()}}if(n.readBoolean()){const to=n.readUEG();for(let ul=0;ul<to;ul++){for(let Bu=0;Bu<ma+4;Bu++)n.readBits(1);n.readBits(1)}}let xi=0,Ei=1,vs=1,co=!0,Ss=1,zs=0;n.readBoolean(),n.readBoolean();let ol=!1;if(n.readBoolean()){if(n.readBoolean()){const Po=n.readUByte(),hd=[1,12,10,16,40,24,20,32,80,18,15,64,160,4,3,2],xc=[1,11,11,11,33,11,11,11,33,11,11,33,99,3,2,1];Po>0&&Po<16?(Ei=hd[Po-1],vs=xc[Po-1]):Po===255&&(Ei=n.readBits(16),vs=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(),ol=n.readBoolean(),ol&&(n.skipUEG(),n.skipUEG(),n.skipUEG(),n.skipUEG()),n.readBoolean()&&(Ss=n.readBits(32),zs=n.readBits(32),n.readBoolean()&&n.readUEG(),n.readBoolean())){const xc=n.readBoolean(),pd=n.readBoolean();let Yf=!1;(xc||pd)&&(Yf=n.readBoolean(),Yf&&(n.readUByte(),n.readBits(5),n.readBoolean(),n.readBits(5)),n.readBits(4),n.readBits(4),Yf&&n.readBits(4),n.readBits(5),n.readBits(5),n.readBits(5));for(let md=0;md<=s;md++){co=n.readBoolean();const Ad=co||n.readBoolean();let _d=!1;Ad?n.readEG():_d=n.readBoolean();const Jf=_d?1:n.readUEG()+1;if(xc)for(let Xf=0;Xf<Jf;Xf++)n.readUEG(),n.readUEG(),Yf&&(n.readUEG(),n.readUEG()),n.skipBits(1);if(pd)for(let Xf=0;Xf<Jf;Xf++)n.readUEG(),n.readUEG(),Yf&&(n.readUEG(),n.readUEG()),n.skipBits(1)}}n.readBoolean()&&(n.readBoolean(),n.readBoolean(),n.readBoolean(),xi=n.readUEG())}let tc=Xr,Hc=gn;if(Kr){let to=1,ul=1;$r===1?to=ul=2:$r==2&&(to=2),tc=Xr-to*dn-to*an,Hc=gn-ul*Cn-ul*Vr}const $f=_?["A","B","C"][_]:"",Sd=j<<24|Y<<16|V<<8|ue;let ld=0;for(let to=0;to<32;to++)ld=(ld|(Sd>>to&1)<<31-to)>>>0;let cd=ld.toString(16);return I===1&&cd==="2"&&(cd="6"),{codecString:`hvc1.${$f}${I}.${cd}.${E?"H":"L"}${Ft}.B0`,params:{general_tier_flag:E,general_profile_idc:I,general_profile_space:_,general_profile_compatibility_flags:[j,Y,V,ue],general_constraint_indicator_flags:[he,Ee,Re,Fe,ft,st],general_level_idc:Ft,bit_depth:wi+8,bit_depth_luma_minus8:wi,bit_depth_chroma_minus8:qi,min_spatial_segmentation_idc:xi,chroma_format_idc:$r,frame_rate:{fixed:co,fps:zs/Ss}},width:tc,height:Hc,pixelRatio:[Ei,vs]}}readPPS(t){const n=new Ke(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 _=n.readBoolean(),E=n.readBoolean();let I=1;return E&&_?I=0:E?I=3:_&&(I=2),{parallelismType:I}}matchSPS(t,n){return String.fromCharCode.apply(null,t).substr(3)===String.fromCharCode.apply(null,n).substr(3)}}const er=188;class br{constructor(t,n,s,_){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=_,this.videoParser=null}static probe(t,n){const s=br.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(er*5,n-er)+1,_=0;for(;_<s;){let E=!1,I=-1,j=0;for(let Y=_;Y<n;Y+=er)if(t[Y]===71&&(n-Y===er||t[Y+er]===71)){if(j++,I===-1&&(I=Y,I!==0&&(s=Math.min(I+er*99,t.length-er)+1)),E||(E=Gr(t,Y)===0),E&&j>1&&(I===0&&j>2||Y+er>s))return I}else{if(j)return-1;break}_++}return-1}static createTrack(t,n){return{container:t==="video"||t==="audio"?"video/mp2t":void 0,type:t,id:rr[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],dropped:0,duration:t==="audio"?n:void 0}}resetInitSegment(t,n,s,_){this.pmtParsed=!1,this._pmtId=-1,this._videoTrack=br.createTrack("video"),this._videoTrack.duration=_,this._audioTrack=br.createTrack("audio",_),this._id3Track=br.createTrack("id3"),this._txtTrack=br.createTrack("text"),this._audioTrack.segmentCodec="aac",this.videoParser=null,this.aacOverFlow=null,this.remainderData=null,this.audioCodec=n,this.videoCodec=s}resetTimeStamp(){}resetContiguity(){const{_audioTrack:t,_videoTrack:n,_id3Track:s}=this;t&&(t.pesData=null),n&&(n.pesData=null),s&&(s.pesData=null),this.aacOverFlow=null,this.remainderData=null}demux(t,n,s=!1,_=!1){s||(this.sampleAes=null);let E;const I=this._videoTrack,j=this._audioTrack,Y=this._id3Track,V=this._txtTrack;let ue=I.pid,he=I.pesData,Ee=j.pid,Re=Y.pid,Fe=j.pesData,ft=Y.pesData,st=null,Ft=this.pmtParsed,fr=this._pmtId,ar=t.length;if(this.remainderData&&(t=Ae(this.remainderData,t),ar=t.length,this.remainderData=null),ar<er&&!_)return this.remainderData=t,{audioTrack:j,videoTrack:I,id3Track:Y,textTrack:V};const $r=Math.max(0,br.syncOffset(t));ar-=(ar-$r)%er,ar<t.byteLength&&!_&&(this.remainderData=new Uint8Array(t.buffer,ar,t.buffer.byteLength-ar));let Xr=0;for(let Kr=$r;Kr<ar;Kr+=er)if(t[Kr]===71){const an=!!(t[Kr+1]&64),dn=Gr(t,Kr),Vr=(t[Kr+3]&48)>>4;let Cn;if(Vr>1){if(Cn=Kr+5+t[Kr+4],Cn===Kr+er)continue}else Cn=Kr+4;switch(dn){case ue:an&&(he&&(E=Ci(he,this.logger))&&(this.readyVideoParser(I.segmentCodec),this.videoParser!==null&&this.videoParser.parsePES(I,V,E,!1)),he={data:[],size:0}),he&&(he.data.push(t.subarray(Cn,Kr+er)),he.size+=Kr+er-Cn);break;case Ee:if(an){if(Fe&&(E=Ci(Fe,this.logger)))switch(j.segmentCodec){case"aac":this.parseAACPES(j,E);break;case"mp3":this.parseMPEGPES(j,E);break;case"ac3":this.parseAC3PES(j,E);break}Fe={data:[],size:0}}Fe&&(Fe.data.push(t.subarray(Cn,Kr+er)),Fe.size+=Kr+er-Cn);break;case Re:an&&(ft&&(E=Ci(ft,this.logger))&&this.parseID3PES(Y,E),ft={data:[],size:0}),ft&&(ft.data.push(t.subarray(Cn,Kr+er)),ft.size+=Kr+er-Cn);break;case 0:an&&(Cn+=t[Cn]+1),fr=this._pmtId=fn(t,Cn);break;case fr:{an&&(Cn+=t[Cn]+1);const wi=Dn(t,Cn,this.typeSupported,s,this.observer,this.logger);ue=wi.videoPid,ue>0&&(I.pid=ue,I.segmentCodec=wi.segmentVideoCodec),Ee=wi.audioPid,Ee>0&&(j.pid=Ee,j.segmentCodec=wi.segmentAudioCodec),Re=wi.id3Pid,Re>0&&(Y.pid=Re),st!==null&&!Ft&&(this.logger.warn(`MPEG-TS PMT found at ${Kr} after unknown PID '${st}'. Backtracking to sync byte @${$r} to parse all TS packets.`),st=null,Kr=$r-188),Ft=this.pmtParsed=!0;break}case 17:case 8191:break;default:st=dn;break}}else Xr++;Xr>0&&Xn(this.observer,new Error(`Found ${Xr} TS packet/s that do not start with 0x47`),void 0,this.logger),I.pesData=he,j.pesData=Fe,Y.pesData=ft;const gn={audioTrack:j,videoTrack:I,id3Track:Y,textTrack:V};return _&&this.extractRemainingSamples(gn),gn}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:_,textTrack:E}=t,I=s.pesData,j=n.pesData,Y=_.pesData;let V;if(I&&(V=Ci(I,this.logger))?(this.readyVideoParser(s.segmentCodec),this.videoParser!==null&&(this.videoParser.parsePES(s,E,V,!0),s.pesData=null)):s.pesData=I,j&&(V=Ci(j,this.logger))){switch(n.segmentCodec){case"aac":this.parseAACPES(n,V);break;case"mp3":this.parseMPEGPES(n,V);break;case"ac3":this.parseAC3PES(n,V);break}n.pesData=null}else j!=null&&j.size&&this.logger.log("last AAC PES packet truncated,might overlap between fragments"),n.pesData=j;Y&&(V=Ci(Y,this.logger))?(this.parseID3PES(_,V),_.pesData=null):_.pesData=Y}demuxSampleAes(t,n,s){const _=this.demux(t,s,!0,!this.config.progressive),E=this.sampleAes=new de(this.observer,this.config,n);return this.decrypt(_,E)}readyVideoParser(t){this.videoParser===null&&(t==="avc"?this.videoParser=new Ct:t==="hevc"&&(this.videoParser=new Ut))}decrypt(t,n){return new Promise(s=>{const{audioTrack:_,videoTrack:E}=t;_.samples&&_.segmentCodec==="aac"?n.decryptAacSamples(_.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 _=this.aacOverFlow;let E=n.data;if(_){this.aacOverFlow=null;const he=_.missing,Ee=_.sample.unit.byteLength;if(he===-1)E=Ae(_.sample.unit,E);else{const Re=Ee-he;_.sample.unit.set(E.subarray(0,he),Re),t.samples.push(_.sample),s=_.missing}}let I,j;for(I=s,j=E.length;I<j-1&&!Mi(E,I);I++);if(I!==s){let he;const Ee=I<j-1;if(Ee?he=`AAC PES did not start with ADTS header,offset:${I}`:he="No ADTS header found in AAC PES",Xn(this.observer,new Error(he),Ee,this.logger),!Ee)return}_o(t,this.observer,E,I,this.audioCodec);let Y;if(n.pts!==void 0)Y=n.pts;else if(_){const he=Us(t.samplerate);Y=_.sample.pts+he}else{this.logger.warn("[tsdemuxer]: AAC PES unknown PTS");return}let V=0,ue;for(;I<j;)if(ue=Xa(t,E,I,Y,V),I+=ue.length,ue.missing){this.aacOverFlow=ue;break}else for(V++;I<j-1&&!Mi(E,I);I++);}parseMPEGPES(t,n){const s=n.data,_=s.length;let E=0,I=0;const j=n.pts;if(j===void 0){this.logger.warn("[tsdemuxer]: MPEG PES unknown PTS");return}for(;I<_;)if(xo(s,I)){const Y=xa(t,s,I,j,E);if(Y)I+=Y.length,E++;else break}else I++}parseAC3PES(t,n){{const s=n.data,_=n.pts;if(_===void 0){this.logger.warn("[tsdemuxer]: AC3 PES unknown PTS");return}const E=s.length;let I=0,j=0,Y;for(;j<E&&(Y=ju(t,s,j,_,I++))>0;)j+=Y}}parseID3PES(t,n){if(n.pts===void 0){this.logger.warn("[tsdemuxer]: ID3 PES unknown PTS");return}const s=y({},n,{type:this._videoTrack?Qr.emsg:Qr.audioId3,duration:Number.POSITIVE_INFINITY});t.samples.push(s)}}function Gr(O,t){return((O[t+1]&31)<<8)+O[t+2]}function fn(O,t){return(O[t+10]&31)<<8|O[t+11]}function Dn(O,t,n,s,_,E){const I={audioPid:-1,videoPid:-1,id3Pid:-1,segmentVideoCodec:"avc",segmentAudioCodec:"aac"},j=(O[t+1]&15)<<8|O[t+2],Y=t+3+j-4,V=(O[t+10]&15)<<8|O[t+11];for(t+=12+V;t<Y;){const ue=Gr(O,t),he=(O[t+3]&15)<<8|O[t+4];switch(O[t]){case 207:if(!s){ei("ADTS AAC",E);break}case 15:I.audioPid===-1&&(I.audioPid=ue);break;case 21:I.id3Pid===-1&&(I.id3Pid=ue);break;case 219:if(!s){ei("H.264",E);break}case 27:I.videoPid===-1&&(I.videoPid=ue);break;case 3:case 4:!n.mpeg&&!n.mp3?E.log("MPEG audio found, not supported in this browser"):I.audioPid===-1&&(I.audioPid=ue,I.segmentAudioCodec="mp3");break;case 193:if(!s){ei("AC-3",E);break}case 129:n.ac3?I.audioPid===-1&&(I.audioPid=ue,I.segmentAudioCodec="ac3"):E.log("AC-3 audio found, not supported in this browser");break;case 6:if(I.audioPid===-1&&he>0){let Ee=t+5,Re=he;for(;Re>2;){switch(O[Ee]){case 106:n.ac3!==!0?E.log("AC-3 audio found, not supported in this browser for now"):(I.audioPid=ue,I.segmentAudioCodec="ac3");break}const ft=O[Ee+1]+2;Ee+=ft,Re-=ft}}break;case 194:case 135:return Xn(_,new Error("Unsupported EC-3 in M2TS found"),void 0,E),I;case 36:I.videoPid===-1&&(I.videoPid=ue,I.segmentVideoCodec="hevc",E.log("HEVC in M2TS found"));break}t+=he+5}return I}function Xn(O,t,n,s){s.warn(`parsing error: ${t.message}`),O.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,levelRetry:n,error:t,reason:t.message})}function ei(O,t){t.log(`${O} with AES-128-CBC encryption found in unencrypted stream`)}function Ci(O,t){let n=0,s,_,E,I,j;const Y=O.data;if(!O||O.size===0)return null;for(;Y[0].length<19&&Y.length>1;)Y[0]=Ae(Y[0],Y[1]),Y.splice(1,1);if(s=Y[0],(s[0]<<16)+(s[1]<<8)+s[2]===1){if(_=(s[4]<<8)+s[5],_&&_>O.size-6)return null;const ue=s[7];ue&192&&(I=(s[9]&14)*536870912+(s[10]&255)*4194304+(s[11]&254)*16384+(s[12]&255)*128+(s[13]&254)/2,ue&64?(j=(s[14]&14)*536870912+(s[15]&255)*4194304+(s[16]&254)*16384+(s[17]&255)*128+(s[18]&254)/2,I-j>54e5&&(t.warn(`${Math.round((I-j)/9e4)}s delta between PTS and DTS, align them`),I=j)):j=I),E=s[8];let he=E+9;if(O.size<=he)return null;O.size-=he;const Ee=new Uint8Array(O.size);for(let Re=0,Fe=Y.length;Re<Fe;Re++){s=Y[Re];let ft=s.byteLength;if(he)if(he>ft){he-=ft;continue}else s=s.subarray(he),ft-=he,he=0;Ee.set(s,n),n+=ft}return _&&(_-=E+3),{data:Ee,pts:I,dts:j,len:_}}return null}class Aa{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 la=Math.pow(2,32)-1;class Er{static init(){Er.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 Er.types)Er.types.hasOwnProperty(t)&&(Er.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]);Er.HDLR_TYPES={video:n,audio:s};const _=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]);Er.STTS=Er.STSC=Er.STCO=E,Er.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),Er.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),Er.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),Er.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);const I=new Uint8Array([105,115,111,109]),j=new Uint8Array([97,118,99,49]),Y=new Uint8Array([0,0,0,1]);Er.FTYP=Er.box(Er.types.ftyp,I,Y,I,j),Er.DINF=Er.box(Er.types.dinf,Er.box(Er.types.dref,_))}static box(t,...n){let s=8,_=n.length;const E=_;for(;_--;)s+=n[_].byteLength;const I=new Uint8Array(s);for(I[0]=s>>24&255,I[1]=s>>16&255,I[2]=s>>8&255,I[3]=s&255,I.set(t,4),_=0,s=8;_<E;_++)I.set(n[_],s),s+=n[_].byteLength;return I}static hdlr(t){return Er.box(Er.types.hdlr,Er.HDLR_TYPES[t])}static mdat(t){return Er.box(Er.types.mdat,t)}static mdhd(t,n){n*=t;const s=Math.floor(n/(la+1)),_=Math.floor(n%(la+1));return Er.box(Er.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,_>>24,_>>16&255,_>>8&255,_&255,85,196,0,0]))}static mdia(t){return Er.box(Er.types.mdia,Er.mdhd(t.timescale||0,t.duration||0),Er.hdlr(t.type),Er.minf(t))}static mfhd(t){return Er.box(Er.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"?Er.box(Er.types.minf,Er.box(Er.types.smhd,Er.SMHD),Er.DINF,Er.stbl(t)):Er.box(Er.types.minf,Er.box(Er.types.vmhd,Er.VMHD),Er.DINF,Er.stbl(t))}static moof(t,n,s){return Er.box(Er.types.moof,Er.mfhd(t),Er.traf(s,n))}static moov(t){let n=t.length;const s=[];for(;n--;)s[n]=Er.trak(t[n]);return Er.box.apply(null,[Er.types.moov,Er.mvhd(t[0].timescale||0,t[0].duration||0)].concat(s).concat(Er.mvex(t)))}static mvex(t){let n=t.length;const s=[];for(;n--;)s[n]=Er.trex(t[n]);return Er.box.apply(null,[Er.types.mvex,...s])}static mvhd(t,n){n*=t;const s=Math.floor(n/(la+1)),_=Math.floor(n%(la+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,_>>24,_>>16&255,_>>8&255,_&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 Er.box(Er.types.mvhd,E)}static sdtp(t){const n=t.samples||[],s=new Uint8Array(4+n.length);let _,E;for(_=0;_<n.length;_++)E=n[_].flags,s[_+4]=E.dependsOn<<4|E.isDependedOn<<2|E.hasRedundancy;return Er.box(Er.types.sdtp,s)}static stbl(t){return Er.box(Er.types.stbl,Er.stsd(t),Er.box(Er.types.stts,Er.STTS),Er.box(Er.types.stsc,Er.STSC),Er.box(Er.types.stsz,Er.STSZ),Er.box(Er.types.stco,Er.STCO))}static avc1(t){let n=[],s=[],_,E,I;for(_=0;_<t.sps.length;_++)E=t.sps[_],I=E.byteLength,n.push(I>>>8&255),n.push(I&255),n=n.concat(Array.prototype.slice.call(E));for(_=0;_<t.pps.length;_++)E=t.pps[_],I=E.byteLength,s.push(I>>>8&255),s.push(I&255),s=s.concat(Array.prototype.slice.call(E));const j=Er.box(Er.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),Y=t.width,V=t.height,ue=t.pixelRatio[0],he=t.pixelRatio[1];return Er.box(Er.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,Y>>8&255,Y&255,V>>8&255,V&255,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),j,Er.box(Er.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Er.box(Er.types.pasp,new Uint8Array([ue>>24,ue>>16&255,ue>>8&255,ue&255,he>>24,he>>16&255,he>>8&255,he&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 Er.box(Er.types.mp4a,Er.audioStsd(t),Er.box(Er.types.esds,Er.esds(t)))}static mp3(t){return Er.box(Er.types[".mp3"],Er.audioStsd(t))}static ac3(t){return Er.box(Er.types["ac-3"],Er.audioStsd(t),Er.box(Er.types.dac3,t.config))}static stsd(t){const{segmentCodec:n}=t;if(t.type==="audio"){if(n==="aac")return Er.box(Er.types.stsd,Er.STSD,Er.mp4a(t));if(n==="ac3"&&t.config)return Er.box(Er.types.stsd,Er.STSD,Er.ac3(t));if(n==="mp3"&&t.codec==="mp3")return Er.box(Er.types.stsd,Er.STSD,Er.mp3(t))}else if(t.pps&&t.sps){if(n==="avc")return Er.box(Er.types.stsd,Er.STSD,Er.avc1(t));if(n==="hevc"&&t.vps)return Er.box(Er.types.stsd,Er.STSD,Er.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),_=t.width||0,E=t.height||0,I=Math.floor(s/(la+1)),j=Math.floor(s%(la+1));return Er.box(Er.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,I>>24,I>>16&255,I>>8&255,I&255,j>>24,j>>16&255,j>>8&255,j&255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,_>>8&255,_&255,0,0,E>>8&255,E&255,0,0]))}static traf(t,n){const s=Er.sdtp(t),_=t.id,E=Math.floor(n/(la+1)),I=Math.floor(n%(la+1));return Er.box(Er.types.traf,Er.box(Er.types.tfhd,new Uint8Array([0,0,0,0,_>>24,_>>16&255,_>>8&255,_&255])),Er.box(Er.types.tfdt,new Uint8Array([1,0,0,0,E>>24,E>>16&255,E>>8&255,E&255,I>>24,I>>16&255,I>>8&255,I&255])),Er.trun(t,s.length+16+20+8+16+8+8),s)}static trak(t){return t.duration=t.duration||4294967295,Er.box(Er.types.trak,Er.tkhd(t),Er.mdia(t))}static trex(t){const n=t.id;return Er.box(Er.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||[],_=s.length,E=12+16*_,I=new Uint8Array(E);let j,Y,V,ue,he,Ee;for(n+=8+E,I.set([t.type==="video"?1:0,0,15,1,_>>>24&255,_>>>16&255,_>>>8&255,_&255,n>>>24&255,n>>>16&255,n>>>8&255,n&255],0),j=0;j<_;j++)Y=s[j],V=Y.duration,ue=Y.size,he=Y.flags,Ee=Y.cts,I.set([V>>>24&255,V>>>16&255,V>>>8&255,V&255,ue>>>24&255,ue>>>16&255,ue>>>8&255,ue&255,he.isLeading<<2|he.dependsOn,he.isDependedOn<<6|he.hasRedundancy<<4|he.paddingValue<<1|he.isNonSync,he.degradPrio&61440,he.degradPrio&15,Ee>>>24&255,Ee>>>16&255,Ee>>>8&255,Ee&255],12+16*j);return Er.box(Er.types.trun,I)}static initSegment(t){Er.types||Er.init();const n=Er.moov(t);return Ae(Er.FTYP,n)}static hvc1(t){const n=t.params,s=[t.vps,t.sps,t.pps],_=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),_-1|n.temporal_id_nested<<2|n.num_temporal_layers<<3|(n.frame_rate.fixed?64:0),s.length]);let I=E.length;for(let Fe=0;Fe<s.length;Fe+=1){I+=3;for(let ft=0;ft<s[Fe].length;ft+=1)I+=2+s[Fe][ft].length}const j=new Uint8Array(I);j.set(E,0),I=E.length;const Y=s.length-1;for(let Fe=0;Fe<s.length;Fe+=1){j.set(new Uint8Array([32+Fe|(Fe===Y?128:0),0,s[Fe].length]),I),I+=3;for(let ft=0;ft<s[Fe].length;ft+=1)j.set(new Uint8Array([s[Fe][ft].length>>8,s[Fe][ft].length&255]),I),I+=2,j.set(s[Fe][ft],I),I+=s[Fe][ft].length}const V=Er.box(Er.types.hvcC,j),ue=t.width,he=t.height,Ee=t.pixelRatio[0],Re=t.pixelRatio[1];return Er.box(Er.types.hvc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,ue>>8&255,ue&255,he>>8&255,he&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]),V,Er.box(Er.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),Er.box(Er.types.pasp,new Uint8Array([Ee>>24,Ee>>16&255,Ee>>8&255,Ee&255,Re>>24,Re>>16&255,Re>>8&255,Re&255])))}}Er.types=void 0,Er.HDLR_TYPES=void 0,Er.STTS=void 0,Er.STSC=void 0,Er.STCO=void 0,Er.STSZ=void 0,Er.VMHD=void 0,Er.SMHD=void 0,Er.STSD=void 0,Er.FTYP=void 0,Er.DINF=void 0;const ys=9e4;function bs(O,t,n=1,s=!1){const _=O*t*n;return s?Math.round(_):_}function Ws(O,t,n=1,s=!1){return bs(O,t,1/n,s)}function os(O,t=!1){return bs(O,1e3,1/ys,t)}function Ua(O,t=1){return bs(O,ys,1/t)}const io=10*1e3,Qs=1024,ki=1152,Ro=1536;let vo=null,au=null;function qs(O,t,n,s){return{duration:t,size:n,cts:s,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:O?2:1,isNonSync:O?0:1}}}class To extends R{constructor(t,n,s,_){if(super("mp4-remuxer",_),this.observer=void 0,this.config=void 0,this.typeSupported=void 0,this.ISGenerated=!1,this._initPTS=null,this._initDTS=null,this.nextVideoTs=null,this.nextAudioTs=null,this.videoSampleDuration=null,this.isAudioContiguous=!1,this.isVideoContiguous=!1,this.videoTrackConfig=void 0,this.observer=t,this.config=n,this.typeSupported=s,this.ISGenerated=!1,vo===null){const I=(navigator.userAgent||"").match(/Chrome\/(\d+)/i);vo=I?parseInt(I[1]):0}if(au===null){const E=navigator.userAgent.match(/Safari\/(\d+)/i);au=E?parseInt(E[1]):0}}destroy(){this.config=this.videoTrackConfig=this._initPTS=this._initDTS=null}resetTimeStamp(t){this.log("initPTS & initDTS reset"),this._initPTS=this._initDTS=t}resetNextTimestamp(){this.log("reset next timestamp"),this.isVideoContiguous=!1,this.isAudioContiguous=!1}resetInitSegment(){this.log("ISGenerated flag reset"),this.ISGenerated=!1,this.videoTrackConfig=void 0}getVideoStartPts(t){let n=!1;const s=t[0].pts,_=t.reduce((E,I)=>{let j=I.pts,Y=j-E;return Y<-4294967296&&(n=!0,j=xs(j,s),Y=j-E),Y>0?E:j},s);return n&&this.debug("PTS rollover detected"),_}remux(t,n,s,_,E,I,j,Y){let V,ue,he,Ee,Re,Fe,ft=E,st=E;const Ft=t.pid>-1,fr=n.pid>-1,ar=n.samples.length,$r=t.samples.length>0,Xr=j&&ar>0||ar>1;if((!Ft||$r)&&(!fr||Xr)||this.ISGenerated||j){if(this.ISGenerated){var Kr,an,dn,Vr;const ma=this.videoTrackConfig;(ma&&(n.width!==ma.width||n.height!==ma.height||((Kr=n.pixelRatio)==null?void 0:Kr[0])!==((an=ma.pixelRatio)==null?void 0:an[0])||((dn=n.pixelRatio)==null?void 0:dn[1])!==((Vr=ma.pixelRatio)==null?void 0:Vr[1]))||!ma&&Xr||this.nextAudioTs===null&&$r)&&this.resetInitSegment()}this.ISGenerated||(he=this.generateIS(t,n,E,I));const Cn=this.isVideoContiguous;let wi=-1,qi;if(Xr&&(wi=ic(n.samples),!Cn&&this.config.forceKeyFrameOnDiscontinuity))if(Fe=!0,wi>0){this.warn(`Dropped ${wi} out of ${ar} video samples due to a missing keyframe`);const ma=this.getVideoStartPts(n.samples);n.samples=n.samples.slice(wi),n.dropped+=wi,st+=(n.samples[0].pts-ma)/n.inputTimeScale,qi=st}else wi===-1&&(this.warn(`No keyframe found out of ${ar} video samples`),Fe=!1);if(this.ISGenerated){if($r&&Xr){const ma=this.getVideoStartPts(n.samples),bi=(xs(t.samples[0].pts,ma)-ma)/n.inputTimeScale;ft+=Math.max(0,bi),st+=Math.max(0,-bi)}if($r){if(t.samplerate||(this.warn("regenerate InitSegment as audio detected"),he=this.generateIS(t,n,E,I)),ue=this.remuxAudio(t,ft,this.isAudioContiguous,I,fr||Xr||Y===u.AUDIO?st:void 0),Xr){const ma=ue?ue.endPTS-ue.startPTS:0;n.inputTimeScale||(this.warn("regenerate InitSegment as video detected"),he=this.generateIS(t,n,E,I)),V=this.remuxVideo(n,st,Cn,ma)}}else Xr&&(V=this.remuxVideo(n,st,Cn,0));V&&(V.firstKeyFrame=wi,V.independent=wi!==-1,V.firstKeyFramePTS=qi)}}return this.ISGenerated&&this._initPTS&&this._initDTS&&(s.samples.length&&(Re=cl(s,E,this._initPTS,this._initDTS)),_.samples.length&&(Ee=fl(_,E,this._initPTS))),{audio:ue,video:V,initSegment:he,independent:Fe,text:Ee,id3:Re}}generateIS(t,n,s,_){const E=t.samples,I=n.samples,j=this.typeSupported,Y={},V=this._initPTS;let ue=!V||_,he="audio/mp4",Ee,Re,Fe,ft=-1;if(ue&&(Ee=Re=1/0),t.config&&E.length){switch(t.timescale=t.samplerate,t.segmentCodec){case"mp3":j.mpeg?(he="audio/mpeg",t.codec=""):j.mp3&&(t.codec="mp3");break;case"ac3":t.codec="ac-3";break}Y.audio={id:"audio",container:he,codec:t.codec,initSegment:t.segmentCodec==="mp3"&&j.mpeg?new Uint8Array(0):Er.initSegment([t]),metadata:{channelCount:t.channelCount}},ue&&(ft=t.id,Fe=t.inputTimeScale,!V||Fe!==V.timescale?Ee=Re=E[0].pts-Math.round(Fe*s):ue=!1)}if(n.sps&&n.pps&&I.length){if(n.timescale=n.inputTimeScale,Y.video={id:"main",container:"video/mp4",codec:n.codec,initSegment:Er.initSegment([n]),metadata:{width:n.width,height:n.height}},ue)if(ft=n.id,Fe=n.inputTimeScale,!V||Fe!==V.timescale){const st=this.getVideoStartPts(I),Ft=Math.round(Fe*s);Re=Math.min(Re,xs(I[0].dts,st)-Ft),Ee=Math.min(Ee,st-Ft)}else ue=!1;this.videoTrackConfig={width:n.width,height:n.height,pixelRatio:n.pixelRatio}}if(Object.keys(Y).length)return this.ISGenerated=!0,ue?(V&&this.warn(`Timestamps at playlist time: ${_?"":"~"}${s} ${Ee/Fe} != initPTS: ${V.baseTime/V.timescale} (${V.baseTime}/${V.timescale}) trackId: ${V.trackId}`),this.log(`Found initPTS at playlist time: ${s} offset: ${Ee/Fe} (${Ee}/${Fe}) trackId: ${ft}`),this._initPTS={baseTime:Ee,timescale:Fe,trackId:ft},this._initDTS={baseTime:Re,timescale:Fe,trackId:ft}):Ee=Fe=void 0,{tracks:Y,initPTS:Ee,timescale:Fe,trackId:ft}}remuxVideo(t,n,s,_){const E=t.inputTimeScale,I=t.samples,j=[],Y=I.length,V=this._initPTS,ue=V.baseTime*E/V.timescale;let he=this.nextVideoTs,Ee=8,Re=this.videoSampleDuration,Fe,ft,st=Number.POSITIVE_INFINITY,Ft=Number.NEGATIVE_INFINITY,fr=!1;if(!s||he===null){const xi=ue+n*E,Ei=I[0].pts-xs(I[0].dts,I[0].pts);vo&&he!==null&&Math.abs(xi-Ei-(he+ue))<15e3?s=!0:he=xi-Ei-ue}const ar=he+ue;for(let xi=0;xi<Y;xi++){const Ei=I[xi];Ei.pts=xs(Ei.pts,ar),Ei.dts=xs(Ei.dts,ar),Ei.dts<I[xi>0?xi-1:xi].dts&&(fr=!0)}fr&&I.sort(function(xi,Ei){const vs=xi.dts-Ei.dts,co=xi.pts-Ei.pts;return vs||co}),Fe=I[0].dts,ft=I[I.length-1].dts;const $r=ft-Fe,Xr=$r?Math.round($r/(Y-1)):Re||t.inputTimeScale/30;if(s){const xi=Fe-ar,Ei=xi>Xr,vs=xi<-1;if((Ei||vs)&&(Ei?this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${os(xi,!0)} ms (${xi}dts) hole between fragments detected at ${n.toFixed(3)}`):this.warn(`${(t.segmentCodec||"").toUpperCase()}: ${os(-xi,!0)} ms (${xi}dts) overlapping between fragments detected at ${n.toFixed(3)}`),!vs||ar>=I[0].pts||vo)){Fe=ar;const co=I[0].pts-xi;if(Ei)I[0].dts=Fe,I[0].pts=co;else{let Ss=!0;for(let zs=0;zs<I.length&&!(I[zs].dts>co&&Ss);zs++){const ol=I[zs].pts;if(I[zs].dts-=xi,I[zs].pts-=xi,zs<I.length-1){const qu=I[zs+1].pts,tc=I[zs].pts,Hc=qu<=tc,$f=qu<=ol;Ss=Hc==$f}}}this.log(`Video: Initial PTS/DTS adjusted: ${os(co,!0)}/${os(Fe,!0)}, delta: ${os(xi,!0)} ms`)}}Fe=Math.max(0,Fe);let gn=0,Kr=0,an=Fe;for(let xi=0;xi<Y;xi++){const Ei=I[xi],vs=Ei.units,co=vs.length;let Ss=0;for(let zs=0;zs<co;zs++)Ss+=vs[zs].data.length;Kr+=Ss,gn+=co,Ei.length=Ss,Ei.dts<an?(Ei.dts=an,an+=Xr/4|0||1):an=Ei.dts,st=Math.min(Ei.pts,st),Ft=Math.max(Ei.pts,Ft)}ft=I[Y-1].dts;const dn=Kr+4*gn+8;let Vr;try{Vr=new Uint8Array(dn)}catch(xi){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:xi,bytes:dn,reason:`fail allocating video mdat ${dn}`});return}const Cn=new DataView(Vr.buffer);Cn.setUint32(0,dn),Vr.set(Er.types.mdat,4);let wi=!1,qi=Number.POSITIVE_INFINITY,ma=Number.POSITIVE_INFINITY,ea=Number.NEGATIVE_INFINITY,bi=Number.NEGATIVE_INFINITY;for(let xi=0;xi<Y;xi++){const Ei=I[xi],vs=Ei.units;let co=0;for(let ol=0,qu=vs.length;ol<qu;ol++){const tc=vs[ol],Hc=tc.data,$f=tc.data.byteLength;Cn.setUint32(Ee,$f),Ee+=4,Vr.set(Hc,Ee),Ee+=$f,co+=4+$f}let Ss;if(xi<Y-1)Re=I[xi+1].dts-Ei.dts,Ss=I[xi+1].pts-Ei.pts;else{const ol=this.config,qu=xi>0?Ei.dts-I[xi-1].dts:Xr;if(Ss=xi>0?Ei.pts-I[xi-1].pts:Xr,ol.stretchShortVideoTrack&&this.nextAudioTs!==null){const tc=Math.floor(ol.maxBufferHole*E),Hc=(_?st+_*E:this.nextAudioTs+ue)-Ei.pts;Hc>tc?(Re=Hc-qu,Re<0?Re=qu:wi=!0,this.log(`It is approximately ${Hc/90} ms to the next segment; using duration ${Re/90} ms for the last video frame.`)):Re=qu}else Re=qu}const zs=Math.round(Ei.pts-Ei.dts);qi=Math.min(qi,Re),ea=Math.max(ea,Re),ma=Math.min(ma,Ss),bi=Math.max(bi,Ss),j.push(qs(Ei.key,Re,co,zs))}if(j.length){if(vo){if(vo<70){const xi=j[0].flags;xi.dependsOn=2,xi.isNonSync=0}}else if(au&&bi-ma<ea-qi&&Xr/ea<.025&&j[0].cts===0){this.warn("Found irregular gaps in sample duration. Using PTS instead of DTS to determine MP4 sample duration.");let xi=Fe;for(let Ei=0,vs=j.length;Ei<vs;Ei++){const co=xi+j[Ei].duration,Ss=xi+j[Ei].cts;if(Ei<vs-1){const zs=co+j[Ei+1].cts;j[Ei].duration=zs-Ss}else j[Ei].duration=Ei?j[Ei-1].duration:Xr;j[Ei].cts=0,xi=co}}}Re=wi||!Re?Xr:Re;const ta=ft+Re;this.nextVideoTs=he=ta-ue,this.videoSampleDuration=Re,this.isVideoContiguous=!0;const Ba={data1:Er.moof(t.sequenceNumber++,Fe,y(t,{samples:j})),data2:Vr,startPTS:(st-ue)/E,endPTS:(Ft+Re-ue)/E,startDTS:(Fe-ue)/E,endDTS:he/E,type:"video",hasAudio:!1,hasVideo:!0,nb:j.length,dropped:t.dropped};return t.samples=[],t.dropped=0,Ba}getSamplesPerFrame(t){switch(t.segmentCodec){case"mp3":return ki;case"ac3":return Ro;default:return Qs}}remuxAudio(t,n,s,_,E){const I=t.inputTimeScale,j=t.samplerate?t.samplerate:I,Y=I/j,V=this.getSamplesPerFrame(t),ue=V*Y,he=this._initPTS,Ee=t.segmentCodec==="mp3"&&this.typeSupported.mpeg,Re=[],Fe=E!==void 0;let ft=t.samples,st=Ee?0:8,Ft=this.nextAudioTs||-1;const fr=he.baseTime*I/he.timescale,ar=fr+n*I;if(this.isAudioContiguous=s=s||ft.length&&Ft>0&&(_&&Math.abs(ar-(Ft+fr))<9e3||Math.abs(xs(ft[0].pts,ar)-(Ft+fr))<20*ue),ft.forEach(function(bi){bi.pts=xs(bi.pts,ar)}),!s||Ft<0){if(ft=ft.filter(bi=>bi.pts>=0),!ft.length)return;E===0?Ft=0:_&&!Fe?Ft=Math.max(0,ar-fr):Ft=ft[0].pts-fr}if(t.segmentCodec==="aac"){const bi=this.config.maxAudioFramesDrift;for(let ta=0,Ri=Ft+fr;ta<ft.length;ta++){const ha=ft[ta],Ba=ha.pts,xi=Ba-Ri,Ei=Math.abs(1e3*xi/I);if(xi<=-bi*ue&&Fe)ta===0&&(this.warn(`Audio frame @ ${(Ba/I).toFixed(3)}s overlaps marker by ${Math.round(1e3*xi/I)} ms.`),this.nextAudioTs=Ft=Ba-fr,Ri=Ba);else if(xi>=bi*ue&&Ei<io&&Fe){let vs=Math.round(xi/ue);for(Ri=Ba-vs*ue;Ri<0&&vs&&ue;)vs--,Ri+=ue;ta===0&&(this.nextAudioTs=Ft=Ri-fr),this.warn(`Injecting ${vs} audio frames @ ${((Ri-fr)/I).toFixed(3)}s due to ${Math.round(1e3*xi/I)} ms gap.`);for(let co=0;co<vs;co++){let Ss=Aa.getSilentFrame(t.parsedCodec||t.manifestCodec||t.codec,t.channelCount);Ss||(this.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),Ss=ha.unit.subarray()),ft.splice(ta,0,{unit:Ss,pts:Ri}),Ri+=ue,ta++}}ha.pts=Ri,Ri+=ue}}let $r=null,Xr=null,gn,Kr=0,an=ft.length;for(;an--;)Kr+=ft[an].unit.byteLength;for(let bi=0,ta=ft.length;bi<ta;bi++){const Ri=ft[bi],ha=Ri.unit;let Ba=Ri.pts;if(Xr!==null){const Ei=Re[bi-1];Ei.duration=Math.round((Ba-Xr)/Y)}else if(s&&t.segmentCodec==="aac"&&(Ba=Ft+fr),$r=Ba,Kr>0){Kr+=st;try{gn=new Uint8Array(Kr)}catch(Ei){this.observer.emit(o.ERROR,o.ERROR,{type:c.MUX_ERROR,details:f.REMUX_ALLOC_ERROR,fatal:!1,error:Ei,bytes:Kr,reason:`fail allocating audio mdat ${Kr}`});return}Ee||(new DataView(gn.buffer).setUint32(0,Kr),gn.set(Er.types.mdat,4))}else return;gn.set(ha,st);const xi=ha.byteLength;st+=xi,Re.push(qs(!0,V,xi,0)),Xr=Ba}const dn=Re.length;if(!dn)return;const Vr=Re[Re.length-1];Ft=Xr-fr,this.nextAudioTs=Ft+Y*Vr.duration;const Cn=Ee?new Uint8Array(0):Er.moof(t.sequenceNumber++,$r/Y,y({},t,{samples:Re}));t.samples=[];const wi=($r-fr)/I,qi=Ft/I,ea={data1:Cn,data2:gn,startPTS:wi,endPTS:qi,startDTS:wi,endDTS:qi,type:"audio",hasAudio:!0,hasVideo:!1,nb:dn};return this.isAudioContiguous=!0,ea}}function xs(O,t){let n;if(t===null)return O;for(t<O?n=-8589934592:n=8589934592;Math.abs(O-t)>4294967296;)O+=n;return O}function ic(O){for(let t=0;t<O.length;t++)if(O[t].key)return t;return-1}function cl(O,t,n,s){const _=O.samples.length;if(!_)return;const E=O.inputTimeScale;for(let j=0;j<_;j++){const Y=O.samples[j];Y.pts=xs(Y.pts-n.baseTime*E/n.timescale,t*E)/E,Y.dts=xs(Y.dts-s.baseTime*E/s.timescale,t*E)/E}const I=O.samples;return O.samples=[],{samples:I}}function fl(O,t,n){const s=O.samples.length;if(!s)return;const _=O.inputTimeScale;for(let I=0;I<s;I++){const j=O.samples[I];j.pts=xs(j.pts-n.baseTime*_/n.timescale,t*_)/_}O.samples.sort((I,j)=>I.pts-j.pts);const E=O.samples;return O.samples=[],{samples:E}}class el extends R{constructor(t,n,s,_){super("passthrough-remuxer",_),this.emitInitSegment=!1,this.audioCodec=void 0,this.videoCodec=void 0,this.initData=void 0,this.initPTS=null,this.initTracks=void 0,this.lastEndTime=null,this.isVideoContiguous=!1}destroy(){}resetTimeStamp(t){this.lastEndTime=null;const n=this.initPTS;n&&t&&n.baseTime===t.baseTime&&n.timescale===t.timescale||(this.initPTS=t)}resetNextTimestamp(){this.isVideoContiguous=!1,this.lastEndTime=null}resetInitSegment(t,n,s,_){this.audioCodec=n,this.videoCodec=s,this.generateInitSegment(t,_),this.emitInitSegment=!0}generateInitSegment(t,n){let{audioCodec:s,videoCodec:_}=this;if(!(t!=null&&t.byteLength)){this.initTracks=void 0,this.initData=void 0;return}const{audio:E,video:I}=this.initData=Je(t);if(n)rt(t,n);else{const Y=E||I;Y!=null&&Y.encrypted&&this.warn(`Init segment with encrypted track with has no key ("${Y.codec}")!`)}E&&(s=Uu(E,ie.AUDIO,this)),I&&(_=Uu(I,ie.VIDEO,this));const j={};E&&I?j.audiovideo={container:"video/mp4",codec:s+","+_,supplemental:I.supplemental,encrypted:I.encrypted,initSegment:t,id:"main"}:E?j.audio={container:"audio/mp4",codec:s,encrypted:E.encrypted,initSegment:t,id:"audio"}:I?j.video={container:"video/mp4",codec:_,supplemental:I.supplemental,encrypted:I.encrypted,initSegment:t,id:"main"}:this.warn("initSegment does not contain moov or trak boxes."),this.initTracks=j}remux(t,n,s,_,E,I){var j,Y;let{initPTS:V,lastEndTime:ue}=this;const he={audio:void 0,video:void 0,text:_,id3:s,initSegment:void 0};r(ue)||(ue=this.lastEndTime=E||0);const Ee=n.samples;if(!Ee.length)return he;const Re={initPTS:void 0,timescale:void 0,trackId:void 0};let Fe=this.initData;if((j=Fe)!=null&&j.length||(this.generateInitSegment(Ee),Fe=this.initData),!((Y=Fe)!=null&&Y.length))return this.warn("Failed to generate initSegment."),he;this.emitInitSegment&&(Re.tracks=this.initTracks,this.emitInitSegment=!1);const ft=Kt(Ee,Fe,this),st=Fe.audio?ft[Fe.audio.id]:null,Ft=Fe.video?ft[Fe.video.id]:null,fr=Vs(Ft,1/0),ar=Vs(st,1/0),$r=Vs(Ft,0,!0),Xr=Vs(st,0,!0);let gn=E,Kr=0;const an=st&&(!Ft||!V&&ar<fr||V&&V.trackId===Fe.audio.id),dn=an?st:Ft;if(dn){const Ri=dn.timescale,ha=dn.start-E*Ri,Ba=an?Fe.audio.id:Fe.video.id;gn=dn.start/Ri,Kr=an?Xr-ar:$r-fr,(I||!V)&&(dl(V,gn,E,Kr)||Ri!==V.timescale)&&(V&&this.warn(`Timestamps at playlist time: ${I?"":"~"}${E} ${ha/Ri} != initPTS: ${V.baseTime/V.timescale} (${V.baseTime}/${V.timescale}) trackId: ${V.trackId}`),this.log(`Found initPTS at playlist time: ${E} offset: ${gn-E} (${ha}/${Ri}) trackId: ${Ba}`),V=null,Re.initPTS=ha,Re.timescale=Ri,Re.trackId=Ba)}else this.warn(`No audio or video samples found for initPTS at playlist time: ${E}`);V?(Re.initPTS=V.baseTime,Re.timescale=V.timescale,Re.trackId=V.trackId):((!Re.timescale||Re.trackId===void 0||Re.initPTS===void 0)&&(this.warn("Could not set initPTS"),Re.initPTS=gn,Re.timescale=1,Re.trackId=-1),this.initPTS=V={baseTime:Re.initPTS,timescale:Re.timescale,trackId:Re.trackId});const Vr=gn-V.baseTime/V.timescale,Cn=Vr+Kr;Kr>0?this.lastEndTime=Cn:(this.warn("Duration parsed from mp4 should be greater than zero"),this.resetNextTimestamp());const wi=!!Fe.audio,qi=!!Fe.video;let ma="";wi&&(ma+="audio"),qi&&(ma+="video");const ea=(Fe.audio?Fe.audio.encrypted:!1)||(Fe.video?Fe.video.encrypted:!1),bi={data1:Ee,startPTS:Vr,startDTS:Vr,endPTS:Cn,endDTS:Cn,type:ma,hasAudio:wi,hasVideo:qi,nb:1,dropped:0,encrypted:ea};he.audio=wi&&!qi?bi:void 0,he.video=qi?bi:void 0;const ta=Ft==null?void 0:Ft.sampleCount;if(ta){const Ri=Ft.keyFrameIndex,ha=Ri!==-1;bi.nb=ta,bi.dropped=Ri===0||this.isVideoContiguous?0:ha?Ri:ta,bi.independent=ha,bi.firstKeyFrame=Ri,ha&&Ft.keyFrameStart&&(bi.firstKeyFramePTS=(Ft.keyFrameStart-V.baseTime)/V.timescale),this.isVideoContiguous||(he.independent=ha),this.isVideoContiguous||(this.isVideoContiguous=ha),bi.dropped&&this.warn(`fmp4 does not start with IDR: firstIDR ${Ri}/${ta} dropped: ${bi.dropped} start: ${bi.firstKeyFramePTS||"NA"}`)}return he.initSegment=Re,he.id3=cl(s,E,V,V),_.samples.length&&(he.text=fl(_,E,V)),he}}function Vs(O,t,n=!1){return(O==null?void 0:O.start)!==void 0?(O.start+(n?O.duration:0))/O.timescale:t}function dl(O,t,n,s){if(O===null)return!0;const _=Math.max(s,1),E=t-O.baseTime/O.timescale;return Math.abs(E-n)>_}function Uu(O,t,n){const s=O.codec;return s&&s.length>4?s:t===ie.AUDIO?s==="ec-3"||s==="ac-3"||s==="alac"?s:s==="fLaC"||s==="Opus"?vt(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 Js;try{Js=self.performance.now.bind(self.performance)}catch(O){Js=Date.now}const hl=[{demux:X,remux:el},{demux:br,remux:To},{demux:El,remux:To},{demux:Ve,remux:To}];hl.splice(2,0,{demux:df,remux:To});class Ll{constructor(t,n,s,_,E,I){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=I}configure(t){this.transmuxConfig=t,this.decrypter&&this.decrypter.reset()}push(t,n,s,_){const E=s.transmuxing;E.executeStart=Js();let I=new Uint8Array(t);const{currentTransmuxState:j,transmuxConfig:Y}=this;_&&(this.currentTransmuxState=_);const{contiguous:V,discontinuity:ue,trackSwitch:he,accurateTimeOffset:Ee,timeOffset:Re,initSegmentChange:Fe}=_||j,{audioCodec:ft,videoCodec:st,defaultInitPts:Ft,duration:fr,initSegmentData:ar}=Y,$r=hu(I,n);if($r&&po($r.method)){const an=this.getDecrypter(),dn=Fo($r.method);if(an.isSync()){let Vr=an.softwareDecrypt(I,$r.key.buffer,$r.iv.buffer,dn);if(s.part>-1){const wi=an.flush();Vr=wi&&wi.buffer}if(!Vr)return E.executeEnd=Js(),Ml(s);I=new Uint8Array(Vr)}else return this.asyncResult=!0,this.decryptionPromise=an.webCryptoDecrypt(I,$r.key.buffer,$r.iv.buffer,dn).then(Vr=>{const Cn=this.push(Vr,null,s);return this.decryptionPromise=null,Cn}),this.decryptionPromise}const Xr=this.needsProbing(ue,he);if(Xr){const an=this.configureTransmuxer(I);if(an)return this.logger.warn(`[transmuxer] ${an.message}`),this.observer.emit(o.ERROR,o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_PARSING_ERROR,fatal:!1,error:an,reason:an.message}),E.executeEnd=Js(),Ml(s)}(ue||he||Fe||Xr)&&this.resetInitSegment(ar,ft,st,fr,n),(ue||Fe||Xr)&&this.resetInitialTimestamp(Ft),V||this.resetContiguity();const gn=this.transmux(I,$r,Re,Ee,s);this.asyncResult=eo(gn);const Kr=this.currentTransmuxState;return Kr.contiguous=!0,Kr.discontinuity=!1,Kr.trackSwitch=!1,E.executeEnd=Js(),gn}flush(t){const n=t.transmuxing;n.executeStart=Js();const{decrypter:s,currentTransmuxState:_,decryptionPromise:E}=this;if(E)return this.asyncResult=!0,E.then(()=>this.flush(t));const I=[],{timeOffset:j}=_;if(s){const he=s.flush();he&&I.push(this.push(he.buffer,null,t))}const{demuxer:Y,remuxer:V}=this;if(!Y||!V){n.executeEnd=Js();const he=[Ml(t)];return this.asyncResult?Promise.resolve(he):he}const ue=Y.flush(j);return eo(ue)?(this.asyncResult=!0,ue.then(he=>(this.flushRemux(I,he,t),I))):(this.flushRemux(I,ue,t),this.asyncResult?Promise.resolve(I):I)}flushRemux(t,n,s){const{audioTrack:_,videoTrack:E,id3Track:I,textTrack:j}=n,{accurateTimeOffset:Y,timeOffset:V}=this.currentTransmuxState;this.logger.log(`[transmuxer.ts]: Flushed ${this.id} sn: ${s.sn}${s.part>-1?" part: "+s.part:""} of ${this.id===u.MAIN?"level":"track"} ${s.level}`);const ue=this.remuxer.remux(_,E,I,j,V,Y,!0,this.id);t.push({remuxResult:ue,chunkMeta:s}),s.transmuxing.executeEnd=Js()}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,_,E){const{demuxer:I,remuxer:j}=this;!I||!j||(I.resetInitSegment(t,n,s,_),j.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,_,E){let I;return n&&n.method==="SAMPLE-AES"?I=this.transmuxSampleAes(t,n,s,_,E):I=this.transmuxUnencrypted(t,s,_,E),I}transmuxUnencrypted(t,n,s,_){const{audioTrack:E,videoTrack:I,id3Track:j,textTrack:Y}=this.demuxer.demux(t,n,!1,!this.config.progressive);return{remuxResult:this.remuxer.remux(E,I,j,Y,n,s,!1,this.id),chunkMeta:_}}transmuxSampleAes(t,n,s,_,E){return this.demuxer.demuxSampleAes(t,n,s).then(I=>({remuxResult:this.remuxer.remux(I.audioTrack,I.videoTrack,I.id3Track,I.textTrack,s,_,!1,this.id),chunkMeta:E}))}configureTransmuxer(t){const{config:n,observer:s,typeSupported:_}=this;let E;for(let he=0,Ee=hl.length;he<Ee;he++){var I;if((I=hl[he].demux)!=null&&I.probe(t,this.logger)){E=hl[he];break}}if(!E)return new Error("Failed to find demuxer by probing fragment data");const j=this.demuxer,Y=this.remuxer,V=E.remux,ue=E.demux;(!Y||!(Y instanceof V))&&(this.remuxer=new V(s,n,_,this.logger)),(!j||!(j instanceof ue))&&(this.demuxer=new ue(s,n,_,this.logger),this.probe=ue.probe)}needsProbing(t,n){return!this.demuxer||!this.remuxer||t||n}getDecrypter(){let t=this.decrypter;return t||(t=this.decrypter=new Vi(this.config)),t}}function hu(O,t){let n=null;return O.byteLength>0&&(t==null?void 0:t.key)!=null&&t.iv!==null&&t.method!=null&&(n=t),n}const Ml=O=>({remuxResult:{},chunkMeta:O});function eo(O){return"then"in O&&O.then instanceof Function}class pu{constructor(t,n,s,_,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=_,this.defaultInitPts=E||null}}class pl{constructor(t,n,s,_,E,I){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=_,this.timeOffset=E,this.initSegmentChange=I}}let Hl=0;class zu{constructor(t,n,s,_){this.error=null,this.hls=void 0,this.id=void 0,this.instanceNo=Hl++,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=Y=>{const V=Y.data,ue=this.hls;if(!(!ue||!(V!=null&&V.event)||V.instanceNo!==this.instanceNo))switch(V.event){case"init":{var he;const Ee=(he=this.workerContext)==null?void 0:he.objectURL;Ee&&self.URL.revokeObjectURL(Ee);break}case"transmuxComplete":{this.handleTransmuxComplete(V.data);break}case"flush":{this.onFlush(V.data);break}case"workerLog":{ue.logger[V.data.logType]&&ue.logger[V.data.logType](V.data.message);break}default:{V.data=V.data||{},V.data.frag=this.frag,V.data.part=this.part,V.data.id=this.id,ue.trigger(V.event,V.data);break}}},this.onWorkerError=Y=>{if(!this.hls)return;const V=new Error(`${Y.message} (${Y.filename}:${Y.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:V})};const E=t.config;this.hls=t,this.id=n,this.useWorker=!!E.enableWorker,this.onTransmuxComplete=s,this.onFlush=_;const I=(Y,V)=>{V=V||{},V.frag=this.frag||void 0,Y===o.ERROR&&(V=V,V.parent=this.id,V.part=this.part,this.error=V.error),this.hls.trigger(Y,V)};this.observer=new Mt,this.observer.on(o.FRAG_DECRYPTED,I),this.observer.on(o.ERROR,I);const j=rn(E.preferManagedMediaSource);if(this.useWorker&&typeof Worker!="undefined"){const Y=this.hls.logger;if(E.workerPath||Br()){try{E.workerPath?(Y.log(`loading Web Worker ${E.workerPath} for "${n}"`),this.workerContext=wn(E.workerPath)):(Y.log(`injecting Web Worker for "${n}"`),this.workerContext=Wr());const{worker:ue}=this.workerContext;ue.addEventListener("message",this.onWorkerMessage),ue.addEventListener("error",this.onWorkerError),ue.postMessage({instanceNo:this.instanceNo,cmd:"init",typeSupported:j,id:n,config:ui(E)})}catch(ue){Y.warn(`Error setting up "${n}" Web Worker, fallback to inline`,ue),this.terminateWorker(),this.error=null,this.transmuxer=new Ll(this.observer,j,E,"",n,t.logger)}return}}this.transmuxer=new Ll(this.observer,j,E,"",n,t.logger)}reset(){if(this.frag=null,this.part=null,this.workerContext){const t=this.instanceNo;this.instanceNo=Hl++;const n=this.hls.config,s=rn(n.preferManagedMediaSource);this.workerContext.worker.postMessage({instanceNo:this.instanceNo,cmd:"reset",resetNo:t,typeSupported:s,id:this.id,config:ui(n)})}}terminateWorker(){if(this.workerContext){const{worker:t}=this.workerContext;this.workerContext=null,t.removeEventListener("message",this.onWorkerMessage),t.removeEventListener("error",this.onWorkerError),on(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,_,E,I,j,Y,V,ue){var he,Ee;V.transmuxing.start=self.performance.now();const{instanceNo:Re,transmuxer:Fe}=this,ft=I?I.start:E.start,st=E.decryptdata,Ft=this.frag,fr=!(Ft&&E.cc===Ft.cc),ar=!(Ft&&V.level===Ft.level),$r=Ft?V.sn-Ft.sn:-1,Xr=this.part?V.part-this.part.index:-1,gn=$r===0&&V.id>1&&V.id===(Ft==null?void 0:Ft.stats.chunkCount),Kr=!ar&&($r===1||$r===0&&(Xr===1||gn&&Xr<=0)),an=self.performance.now();(ar||$r||E.stats.parsing.start===0)&&(E.stats.parsing.start=an),I&&(Xr||!Kr)&&(I.stats.parsing.start=an);const dn=!(Ft&&((he=E.initSegment)==null?void 0:he.url)===((Ee=Ft.initSegment)==null?void 0:Ee.url)),Vr=new pl(fr,Kr,Y,ar,ft,dn);if(!Kr||fr||dn){this.hls.logger.log(`[transmuxer-interface]: Starting new transmux session for ${E.type} sn: ${V.sn}${V.part>-1?" part: "+V.part:""} ${this.id===u.MAIN?"level":"track"}: ${V.level} id: ${V.id}
|
|
|
discontinuity: ${fr}
|
|
|
trackSwitch: ${ar}
|
|
|
contiguous: ${Kr}
|
|
|
accurateTimeOffset: ${Y}
|
|
|
timeOffset: ${ft}
|
|
|
initSegmentChange: ${dn}`);const Cn=new pu(s,_,n,j,ue);this.configureTransmuxer(Cn)}if(this.frag=E,this.part=I,this.workerContext)this.workerContext.worker.postMessage({instanceNo:Re,cmd:"demux",data:t,decryptdata:st,chunkMeta:V,state:Vr},t instanceof ArrayBuffer?[t]:[]);else if(Fe){const Cn=Fe.push(t,st,V,Vr);eo(Cn)?Cn.then(wi=>{this.handleTransmuxComplete(wi)}).catch(wi=>{this.transmuxerError(wi,V,"transmuxer-interface push error")}):this.handleTransmuxComplete(Cn)}}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 _=s.flush(t);eo(_)?_.then(E=>{this.handleFlushResult(E,t)}).catch(E=>{this.transmuxerError(E,t,"transmuxer-interface flush error")}):this.handleFlushResult(_,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 Ac=100;class ac extends Wa{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:_,timescale:E,trackId:I}){if(s===u.MAIN){const j=n.cc,Y=this.fragCurrent;if(this.initPTS[j]={baseTime:_,timescale:E,trackId:I},this.log(`InitPTS for cc: ${j} found from main: ${_/E} (${_}/${E}) trackId: ${I}`),this.mainAnchor=n,this.state===cn.WAITING_INIT_PTS){const V=this.waitingData;(!V&&!this.loadingParts||V&&V.frag.cc!==j)&&this.syncWithAnchor(n,V==null?void 0:V.frag)}else!this.hls.hasEnoughToStart&&Y&&Y.cc!==j?(Y.abortRequests(),this.syncWithAnchor(n,Y)):this.state===cn.IDLE&&this.tick()}}getLoadPosition(){return!this.startFragRequested&&this.nextLoadPosition>=0?this.nextLoadPosition:super.getLoadPosition()}syncWithAnchor(t,n){var s;const _=((s=this.mainFragLoading)==null?void 0:s.frag)||null;if(n&&(_==null?void 0:_.cc)===n.cc)return;const E=(_||t).cc,I=this.getLevelDetails(),j=this.getLoadPosition(),Y=or(I,E,j);Y&&(this.log(`Syncing with main frag at ${Y.start} cc ${Y.cc}`),this.startFragRequested=!1,this.nextLoadPosition=Y.start,this.resetLoadingState(),this.state===cn.IDLE&&this.doTickIdle())}startLoad(t,n){if(!this.levels){this.startPosition=t,this.state=cn.STOPPED;return}const s=this.lastCurrentTime;this.stopLoad(),this.setInterval(Ac),s>0&&t===-1?(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s,this.state=cn.IDLE):this.state=cn.WAITING_TRACK,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}doTick(){switch(this.state){case cn.IDLE:this.doTickIdle();break;case cn.WAITING_TRACK:{const{levels:t,trackId:n}=this,s=t==null?void 0:t[n],_=s==null?void 0:s.details;if(_&&!this.waitForLive(s)){if(this.waitForCdnTuneIn(_))break;this.state=cn.WAITING_INIT_PTS}break}case cn.FRAG_LOADING_WAITING_RETRY:{this.checkRetryDate();break}case cn.WAITING_INIT_PTS:{const t=this.waitingData;if(t){const{frag:n,part:s,cache:_,complete:E}=t,I=this.mainAnchor;if(this.initPTS[n.cc]!==void 0){this.waitingData=null,this.state=cn.FRAG_LOADING;const j=_.flush().buffer,Y={frag:n,part:s,payload:j,networkDetails:null};this._handleFragmentLoadProgress(Y),E&&super._handleFragmentLoadComplete(Y)}else I&&I.cc!==t.frag.cc&&this.syncWithAnchor(I,t.frag)}else this.state=cn.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:_,trackId:E}=this,I=n.config;if(!this.buffering||!_&&!this.primaryPrefetch&&(this.startFragRequested||!I.startFragPrefetch)||!(s!=null&&s[E]))return;const j=s[E],Y=j.details;if(!Y||this.waitForLive(j)||this.waitForCdnTuneIn(Y)){this.state=cn.WAITING_TRACK,this.startFragRequested=!1;return}const V=this.mediaBuffer?this.mediaBuffer:this.media;this.bufferFlushed&&V&&(this.bufferFlushed=!1,this.afterBufferFlushed(V,ie.AUDIO,u.AUDIO));const ue=this.getFwdBufferInfo(V,u.AUDIO);if(ue===null)return;if(!this.switchingTrack&&this._streamEnded(ue,Y)){n.trigger(o.BUFFER_EOS,{type:"audio"}),this.state=cn.ENDED;return}const he=ue.len,Ee=n.maxBufferLength,Re=Y.fragments,Fe=Re[0].start,ft=this.getLoadPosition(),st=this.flushing?ft:ue.end;if(this.switchingTrack&&_){const ar=ft;Y.PTSKnown&&ar<Fe&&(ue.end>Fe||ue.nextStart)&&(this.log("Alt audio track ahead of main track, seek to start of alt audio track"),_.currentTime=Fe+.05)}if(he>=Ee&&!this.switchingTrack&&st<Re[Re.length-1].start)return;let Ft=this.getNextFragment(st,Y);if(Ft&&this.isLoopLoading(Ft,st)&&(Ft=this.getNextFragmentLoopLoading(Ft,Y,ue,u.MAIN,Ee)),!Ft){this.bufferFlushed=!0;return}let fr=((t=this.mainFragLoading)==null?void 0:t.frag)||null;if(!this.audioOnly&&this.startFragRequested&&fr&&Pe(Ft)&&!Ft.endList&&(!Y.live||!this.loadingParts&&st<this.hls.liveSyncPosition)&&(this.fragmentTracker.getState(fr)===Rr.OK&&(this.mainFragLoading=fr=null),fr&&Pe(fr))){if(Ft.start>fr.end){const $r=this.fragmentTracker.getFragAtPos(st,u.MAIN);$r&&$r.end>fr.end&&(fr=$r,this.mainFragLoading={frag:$r,targetBufferTime:null})}if(Ft.start>fr.end)return}this.loadFragment(Ft,j,st)}onMediaDetaching(t,n){this.bufferFlushed=this.flushing=!1,super.onMediaDetaching(t,n)}onAudioTracksUpdated(t,{audioTracks:n}){this.resetTransmuxer(),this.levels=n.map(s=>new vn(s))}onAudioTrackSwitching(t,n){const s=!!n.url;this.trackId=n.id;const{fragCurrent:_}=this;_&&(_.abortRequests(),this.removeUnbufferedFrags(_.start)),this.resetLoadingState(),s?(this.switchingTrack=n,this.flushAudioIfNeeded(n),this.state!==cn.STOPPED&&(this.setInterval(Ac),this.state=cn.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:_}=this,{details:E,id:I,groupId:j,track:Y}=n;if(!_){this.warn(`Audio tracks reset while loading track ${I} "${Y.name}" of "${j}"`);return}const V=this.mainDetails;if(!V||E.endCC>V.endCC||V.expired){this.cachedTrackLoadedData=n,this.state!==cn.STOPPED&&(this.state=cn.WAITING_TRACK);return}this.cachedTrackLoadedData=null,this.log(`Audio track ${I} "${Y.name}" of "${j}" loaded [${E.startSN},${E.endSN}]${E.lastPartSn?`[part-${E.lastPartSn}-${E.lastPartIndex}]`:""},duration:${E.totalduration}`);const ue=_[I];let he=0;if(E.live||(s=ue.details)!=null&&s.live){if(this.checkLiveUpdate(E),E.deltaUpdateFailed)return;if(ue.details){var Ee;he=this.alignPlaylists(E,ue.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}E.alignedSliding||(hs(E,V),E.alignedSliding||Rs(E,V),he=E.fragmentStart)}ue.details=E,this.levelLastLoaded=ue,this.startFragRequested||this.setStartPosition(V,he),this.hls.trigger(o.AUDIO_TRACK_UPDATED,{details:E,id:I,groupId:n.groupId}),this.state===cn.WAITING_TRACK&&!this.waitForCdnTuneIn(E)&&(this.state=cn.IDLE),this.tick()}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:_,payload:E}=t,{config:I,trackId:j,levels:Y}=this;if(!Y){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 V=Y[j];if(!V){this.warn("Audio track is undefined on fragment load progress");return}const ue=V.details;if(!ue){this.warn("Audio track details undefined on fragment load progress"),this.removeUnbufferedFrags(s.start);return}const he=I.defaultAudioCodec||V.audioCodec||"mp4a.40.2";let Ee=this.transmuxer;Ee||(Ee=this.transmuxer=new zu(this.hls,u.AUDIO,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)));const Re=this.initPTS[s.cc],Fe=(n=s.initSegment)==null?void 0:n.data;if(Re!==void 0){const st=_?_.index:-1,Ft=st!==-1,fr=new ya(s.level,s.sn,s.stats.chunkCount,E.byteLength,st,Ft);Ee.push(E,Fe,he,"",s,_,ue.totalduration,!1,fr,Re)}else{this.log(`Unknown video PTS for cc ${s.cc}, waiting for video PTS before demuxing audio frag ${s.sn} of [${ue.startSN} ,${ue.endSN}],track ${j}`);const{cache:ft}=this.waitingData=this.waitingData||{frag:s,part:_,cache:new mo,complete:!1};ft.push(new Uint8Array(E)),this.state!==cn.STOPPED&&(this.state=cn.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&&Pe(n.frag)&&(this.mainFragLoading=n,this.state===cn.IDLE&&this.tick())}onFragBuffered(t,n){const{frag:s,part:_}=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}${_?" p: "+_.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}, audioSwitch: ${this.switchingTrack?this.switchingTrack.name:"false"}`);return}if(Pe(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,_),this.media&&this.tick()}onError(t,n){var s;if(n.fatal){this.state=cn.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===cn.WAITING_TRACK&&((s=n.context)==null?void 0:s.type)===h.AUDIO_TRACK&&(this.state=cn.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)||this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="audio")return;this.reduceLengthAndFlushBuffer(n)&&(this.bufferedTrack=null,super.flushMainBuffer(0,Number.POSITIVE_INFINITY,"audio"));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onBufferFlushing(t,{type:n}){n!==ie.VIDEO&&(this.flushing=!0)}onBufferFlushed(t,{type:n}){if(n!==ie.VIDEO){this.flushing=!1,this.bufferFlushed=!0,this.state===cn.ENDED&&(this.state=cn.IDLE);const s=this.mediaBuffer||this.media;s&&(this.afterBufferFlushed(s,n,u.AUDIO),this.tick())}}_handleTransmuxComplete(t){var n;const s="audio",{hls:_}=this,{remuxResult:E,chunkMeta:I}=t,j=this.getCurrentContext(I);if(!j){this.resetWhenMissingContext(I);return}const{frag:Y,part:V,level:ue}=j,{details:he}=ue,{audio:Ee,text:Re,id3:Fe,initSegment:ft}=E;if(this.fragContextChanged(Y)||!he){this.fragmentTracker.removeFragment(Y);return}if(this.state=cn.PARSING,this.switchingTrack&&Ee&&this.completeAudioSwitch(this.switchingTrack),ft!=null&&ft.tracks){const st=Y.initSegment||Y;if(this.unhandledEncryptionError(ft,Y))return;this._bufferInitSegment(ue,ft.tracks,st,I),_.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:st,id:s,tracks:ft.tracks})}if(Ee){const{startPTS:st,endPTS:Ft,startDTS:fr,endDTS:ar}=Ee;V&&(V.elementaryStreams[ie.AUDIO]={startPTS:st,endPTS:Ft,startDTS:fr,endDTS:ar}),Y.setElementaryStreamInfo(ie.AUDIO,st,Ft,fr,ar),this.bufferFragmentData(Ee,Y,V,I)}if(Fe!=null&&(n=Fe.samples)!=null&&n.length){const st=y({id:s,frag:Y,details:he},Fe);_.trigger(o.FRAG_PARSING_METADATA,st)}if(Re){const st=y({id:s,frag:Y,details:he},Re);_.trigger(o.FRAG_PARSING_USERDATA,st)}}_bufferInitSegment(t,n,s,_){if(this.state!==cn.PARSING||(n.video&&delete n.video,n.audiovideo&&delete n.audiovideo,!n.audio))return;const E=n.audio;E.id=u.AUDIO;const I=t.audioCodec;this.log(`Init audio buffer, container:${E.container}, codecs[level/parsed]=[${I}/${E.codec}]`),I&&I.split(",").length===1&&(E.levelCodec=I),this.hls.trigger(o.BUFFER_CODECS,n);const j=E.initSegment;if(j!=null&&j.byteLength){const Y={type:"audio",frag:s,part:null,chunkMeta:_,parent:s.type,data:j};this.hls.trigger(o.BUFFER_APPENDING,Y)}this.tickImmediate()}loadFragment(t,n,s){const _=this.fragmentTracker.getState(t);if(this.switchingTrack||_===Rr.NOT_LOADED||_===Rr.PARTIAL){var E;if(!Pe(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=cn.WAITING_INIT_PTS;const I=this.mainDetails;I&&I.fragmentStart!==n.details.fragmentStart&&Rs(n.details,I)}else super.loadFragment(t,n,s)}else this.clearTrackerIfNeeded(t)}flushAudioIfNeeded(t){if(this.media&&this.bufferedTrack){const{name:n,lang:s,assocLang:_,characteristics:E,audioCodec:I,channels:j}=this.bufferedTrack;bt({name:n,lang:s,assocLang:_,characteristics:E,audioCodec:I,channels:j},t,Si)||(Ti(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 hi 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 _=n==null?void 0:n.renditionReports;if(_){let E=-1;for(let I=0;I<_.length;I++){const j=_[I];let Y;try{Y=new self.URL(j.URI,n.url).href}catch(V){this.warn(`Could not construct new URL for Rendition Report: ${V}`),Y=j.URI||""}if(Y===t){E=I;break}else Y===t.substring(0,Y.length)&&(E=I)}if(E!==-1){const I=_[E],j=parseInt(I["LAST-MSN"])||n.lastPartSn;let Y=parseInt(I["LAST-PART"])||n.lastPartIndex;if(this.hls.config.lowLatencyMode){const ue=Math.min(n.age-n.partTarget,n.targetduration);Y>=0&&ue>n.partTarget&&(Y+=1)}const V=s&&gr(s);return new nn(j,Y>=0?Y:void 0,V)}}}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:_,stats:E}=n,I=self.performance.now(),j=E.loading.first?Math.max(0,I-E.loading.first):0;_.advancedDateTime=Date.now()-j;const Y=this.hls.config.timelineOffset;if(Y!==_.appliedTimelineOffset){const ue=Math.max(Y||0,0);_.appliedTimelineOffset=ue,_.fragments.forEach(he=>{he.setStart(he.playlistOffset+ue)})}if(_.live||s!=null&&s.live){const ue="levelInfo"in n?n.levelInfo:n.track;if(_.reloaded(s),s&&_.fragments.length>0){Gn(s,_,this);const fr=_.playlistParsingError;if(fr){this.warn(fr);const ar=this.hls;if(!ar.config.ignorePlaylistParsingErrors){var V;const{networkDetails:$r}=n;ar.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:_.url,error:fr,reason:fr.message,level:n.level||void 0,parent:(V=_.fragments[0])==null?void 0:V.type,networkDetails:$r,stats:E});return}_.playlistParsingError=null}}_.requestScheduled===-1&&(_.requestScheduled=E.loading.start);const he=this.hls.mainForwardBufferInfo,Ee=he?he.end-he.len:0,Re=(_.edge-Ee)*1e3,Fe=Fr(_,Re);if(_.requestScheduled+Fe<I?_.requestScheduled=I:_.requestScheduled+=Fe,this.log(`live playlist ${t} ${_.advanced?"REFRESHED "+_.lastPartSn+"-"+_.lastPartIndex:_.updated?"UPDATED":"MISSED"}`),!this.canLoad||!_.live)return;let ft,st,Ft;if(_.canBlockReload&&_.endSN&&_.advanced){const fr=this.hls.config.lowLatencyMode,ar=_.lastPartSn,$r=_.endSN,Xr=_.lastPartIndex,gn=Xr!==-1,Kr=ar===$r;gn?Kr?(st=$r+1,Ft=fr?0:Xr):(st=ar,Ft=fr?Xr+1:_.maxPartIndex):st=$r+1;const an=_.age,dn=an+_.ageHeader;let Vr=Math.min(dn-_.partTarget,_.targetduration*1.5);if(Vr>0){if(dn>_.targetduration*3)this.log(`Playlist last advanced ${an.toFixed(2)}s ago. Omitting segment and part directives.`),st=void 0,Ft=void 0;else if(s!=null&&s.tuneInGoal&&dn-_.partTarget>s.tuneInGoal)this.warn(`CDN Tune-in goal increased from: ${s.tuneInGoal} to: ${Vr} with playlist age: ${_.age}`),Vr=0;else{const Cn=Math.floor(Vr/_.targetduration);if(st+=Cn,Ft!==void 0){const wi=Math.round(Vr%_.targetduration/_.partTarget);Ft+=wi}this.log(`CDN Tune-in age: ${_.ageHeader}s last advanced ${an.toFixed(2)}s goal: ${Vr} skip sn ${Cn} to part ${Ft}`)}_.tuneInGoal=Vr}if(ft=this.getDeliveryDirectives(_,n.deliveryDirectives,st,Ft),fr||!Kr){_.requestScheduled=I,this.loadingPlaylist(ue,ft);return}}else(_.canBlockReload||_.canSkipUntil)&&(ft=this.getDeliveryDirectives(_,n.deliveryDirectives,st,Ft));ft&&st!==void 0&&_.canBlockReload&&(_.requestScheduled=E.loading.first+Math.max(Fe-j*2,Fe/2)),this.scheduleLoading(ue,ft,_)}else this.clearTimer()}scheduleLoading(t,n,s){const _=s||t.details;if(!_){this.loadingPlaylist(t,n);return}const E=self.performance.now(),I=_.requestScheduled;if(E>=I){this.loadingPlaylist(t,n);return}const j=I-E;this.log(`reload live playlist ${t.name||t.bitrate+"bps"} in ${Math.round(j)} ms`),this.clearTimer(),this.timer=self.setTimeout(()=>this.loadingPlaylist(t,n),j)}getDeliveryDirectives(t,n,s,_){let E=gr(t);return n!=null&&n.skip&&t.deltaUpdateFailed&&(s=n.msn,_=n.part,E=Jn.No),new nn(s,_,E)}checkRetry(t){const n=t.details,s=lr(t),_=t.errorAction,{action:E,retryCount:I=0,retryConfig:j}=_||{},Y=!!_&&!!j&&(E===tr.RetryRequest||!_.resolved&&E===tr.SendAlternateToPenaltyBox);if(Y){var V;if(I>=j.maxNumRetry)return!1;if(s&&(V=t.context)!=null&&V.deliveryDirectives)this.warn(`Retrying playlist loading ${I+1}/${j.maxNumRetry} after "${n}" without delivery-directives`),this.loadPlaylist();else{const ue=Hr(j,I);this.clearTimer(),this.timer=self.setTimeout(()=>this.loadPlaylist(),ue),this.warn(`Retrying playlist loading ${I+1}/${j.maxNumRetry} after "${n}" in ${ue}ms`)}t.levelRetry=!0,_.resolved=!0}return Y}}function Tc(O,t){if(O.length!==t.length)return!1;for(let n=0;n<O.length;n++)if(!ao(O[n].attrs,t[n].attrs))return!1;return!0}function ao(O,t,n){const s=O["STABLE-RENDITION-ID"];return s&&!n?s===t["STABLE-RENDITION-ID"]:!(n||["LANGUAGE","NAME","CHARACTERISTICS","AUTOSELECT","DEFAULT","FORCED","ASSOC-LANGUAGE"]).some(_=>O[_]!==t[_])}function sc(O,t){return t.label.toLowerCase()===O.name.toLowerCase()&&(!t.language||t.language.toLowerCase()===(O.lang||"").toLowerCase())}class Ou extends hi{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:_,details:E}=n,I=this.tracksInGroup[s];if(!I||I.groupId!==_){this.warn(`Audio track with id:${s} and group:${_} not found in active group ${I==null?void 0:I.groupId}`);return}const j=I.details;I.details=n.details,this.log(`Audio track ${s} "${I.name}" lang:${I.lang} group:${_} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,j)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const s=n.audioGroups||null,_=this.groupIds;let E=this.currentTrack;if(!s||(_==null?void 0:_.length)!==(s==null?void 0:s.length)||s!=null&&s.some(j=>(_==null?void 0:_.indexOf(j))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const j=this.tracks.filter(Ee=>!s||s.indexOf(Ee.groupId)!==-1);if(j.length)this.selectDefaultTrack&&!j.some(Ee=>Ee.default)&&(this.selectDefaultTrack=!1),j.forEach((Ee,Re)=>{Ee.id=Re});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=j;const Y=this.hls.config.audioPreference;if(!E&&Y){const Ee=Hi(Y,j,Si);if(Ee>-1)E=j[Ee];else{const Re=Hi(Y,this.tracks);E=this.tracks[Re]}}let V=this.findTrackId(E);V===-1&&E&&(V=this.findTrackId(null));const ue={audioTracks:j};this.log(`Updating audio tracks, ${j.length} track(s) found in group(s): ${s==null?void 0:s.join(",")}`),this.hls.trigger(o.AUDIO_TRACKS_UPDATED,ue);const he=this.trackId;if(V!==-1&&he===-1)this.setAudioTrack(V);else if(j.length&&he===-1){var I;const Ee=new Error(`No audio track selected for current audio group-ID(s): ${(I=this.groupIds)==null?void 0:I.join(",")} track count: ${j.length}`);this.warn(Ee.message),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.AUDIO_TRACK_LOAD_ERROR,fatal:!0,error:Ee})}}}onError(t,n){n.fatal||!n.context||n.context.type===h.AUDIO_TRACK&&n.context.id===this.trackId&&(!this.groupIds||this.groupIds.indexOf(n.context.groupId)!==-1)&&this.checkRetry(n)}get allAudioTracks(){return this.tracks}get audioTracks(){return this.tracksInGroup}get audioTrack(){return this.trackId}set audioTrack(t){this.selectDefaultTrack=!1,this.setAudioTrack(t)}setAudioOption(t){const n=this.hls;if(n.config.audioPreference=t,t){const s=this.allAudioTracks;if(this.selectDefaultTrack=!1,s.length){const _=this.currentTrack;if(_&&bt(t,_,Si))return _;const E=Hi(t,this.tracksInGroup,Si);if(E>-1){const I=this.tracksInGroup[E];return this.setAudioTrack(E),I}else if(_){let I=n.loadLevel;I===-1&&(I=n.firstAutoLevel);const j=li(t,n.levels,s,I,Si);if(j===-1)return null;n.nextLoadLevel=j}if(t.channels||t.audioCodec){const I=Hi(t,s);if(I>-1)return s[I]}}}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,_=n[t],E=_.details&&!_.details.live;if(t===this.trackId&&_===s&&E||(this.log(`Switching to audio-track ${t} "${_.name}" lang:${_.lang} group:${_.groupId} channels:${_.channels}`),this.trackId=t,this.currentTrack=_,this.hls.trigger(o.AUDIO_TRACK_SWITCHING,b({},_)),E))return;const I=this.switchParams(_.url,s==null?void 0:s.details,_.details);this.loadPlaylist(I)}findTrackId(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const _=n[s];if(!(this.selectDefaultTrack&&!_.default)&&(!t||bt(t,_,Si)))return s}if(t){const{name:s,lang:_,assocLang:E,characteristics:I,audioCodec:j,channels:Y}=t;for(let V=0;V<n.length;V++){const ue=n[V];if(bt({name:s,lang:_,assocLang:E,characteristics:I,audioCodec:j,channels:Y},ue,Si))return V}for(let V=0;V<n.length;V++){const ue=n[V];if(ao(t.attrs,ue.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return V}for(let V=0;V<n.length;V++){const ue=n[V];if(ao(t.attrs,ue.attrs,["LANGUAGE"]))return V}}return-1}loadPlaylist(t){super.loadPlaylist();const n=this.currentTrack;this.shouldLoadPlaylist(n)&&Ti(n.url,this.hls)&&this.scheduleLoading(n,t)}loadingPlaylist(t,n){super.loadingPlaylist(t,n);const s=t.id,_=t.groupId,E=this.getUrlWithDirectives(t.url,n),I=t.details,j=I==null?void 0:I.age;this.log(`Loading audio-track ${s} "${t.name}" lang:${t.lang} group:${_}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&I.live?" age "+j.toFixed(1)+(I.type?" "+I.type||0:""):""} ${E}`),this.hls.trigger(o.AUDIO_TRACK_LOADING,{url:E,id:s,groupId:_,deliveryDirectives:n||null,track:t})}}class wl{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 _=this.queues[n];_.push(t),_.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 _=n[0];try{_.execute()}catch(E){var s;if(_.onError(E),this.queues===null||this.tracks===null)return;const I=(s=this.tracks[t])==null?void 0:s.buffer;I!=null&&I.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],_=s==null?void 0:s.buffer;return _?`SourceBuffer${_.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 tl=/(avc[1234]|hvc1|hev1|dvh[1e]|vp09|av01)(?:\.[^.,]+)+/,Cc="HlsJsTrackRemovedError";class Kc extends Error{constructor(t){super(t),this.name=Cc}}class Lo 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 _;this.hls&&((_=this.mediaSource)==null?void 0:_.readyState)==="open"&&this.hls.pauseBuffering()},this._onStartStreaming=s=>{this.hls&&this.hls.resumeBuffering()},this._onMediaSourceOpen=s=>{const{media:_,mediaSource:E}=this;s&&this.log("Media source opened"),!(!_||!E)&&(E.removeEventListener("sourceopen",this._onMediaSourceOpen),_.removeEventListener("emptied",this._onMediaEmptied),this.updateDuration(),this.hls.trigger(o.MEDIA_ATTACHED,{media:_,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:_}=this;s!==_&&this.error(`Media element src was set while attaching MediaSource (${_} > ${s})`)},this.hls=t,this.fragmentTracker=n,this.appendSource=ne(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 I=this.isQueued();(E||I)&&this.warn(`Transfering MediaSource with${I?" operations in queue":""}${E?" updating SourceBuffer(s)":""} ${this.operationQueue}`),this.operationQueue.destroy()}const _=this.transferData;return!this.sourceBufferCount&&_&&_.mediaSource===n?y(s,_.tracks):this.sourceBuffers.forEach(E=>{const[I]=E;I&&(s[I]=y({},this.tracks[I]),this.removeBuffer(I)),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 _=2;(n.audio&&!n.video||!n.altAudio)&&(_=1),this.bufferCodecEventsTotal=_,this.log(`${_} bufferCodec event(s) expected.`),(s=this.transferData)!=null&&s.mediaSource&&this.sourceBufferCount&&_&&this.bufferCreated()}onMediaAttaching(t,n){const s=this.media=n.media;this.transferData=this.overrides=void 0;const _=ae(this.appendSource);if(_){const E=!!n.mediaSource;(E||n.overrides)&&(this.transferData=n,this.overrides=n.overrides);const I=this.mediaSource=n.mediaSource||new _;if(this.assignMediaSource(I),E)this._objectUrl=s.src,this.attachTransferred();else{const j=this._objectUrl=self.URL.createObjectURL(I);if(this.appendSource)try{s.removeAttribute("src");const Y=self.ManagedMediaSource;s.disableRemotePlayback=s.disableRemotePlayback||Y&&I instanceof Y,Vc(s),hf(s,j),s.load()}catch(Y){s.src=j}else s.src=j}s.addEventListener("emptied",this._onMediaEmptied)}}assignMediaSource(t){var n,s;this.log(`${((n=this.transferData)==null?void 0:n.mediaSource)===t?"transferred":"created"} media source: ${(s=t.constructor)==null?void 0:s.name}`),t.addEventListener("sourceopen",this._onMediaSourceOpen),t.addEventListener("sourceended",this._onMediaSourceEnded),t.addEventListener("sourceclose",this._onMediaSourceClose),this.appendSource&&(t.addEventListener("startstreaming",this._onStartStreaming),t.addEventListener("endstreaming",this._onEndStreaming))}attachTransferred(){const t=this.media,n=this.transferData;if(!n||!t)return;const s=this.tracks,_=n.tracks,E=_?Object.keys(_):null,I=E?E.length:0,j=()=>{Promise.resolve().then(()=>{this.media&&this.mediaSourceOpenOrEnded&&this._onMediaSourceOpen()})};if(_&&E&&I){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: ${ui(s,(Y,V)=>Y==="initSegment"?void 0:V)};
|
|
|
transfer tracks: ${ui(_,(Y,V)=>Y==="initSegment"?void 0:V)}}`),!oe(_,s)){n.mediaSource=null,n.tracks=void 0;const Y=t.currentTime,V=this.details,ue=Math.max(Y,(V==null?void 0:V.fragments[0].start)||0);if(ue-Y>1){this.log(`attachTransferred: waiting for playback to reach new tracks start time ${Y} -> ${ue}`);return}this.warn(`attachTransferred: resetting MediaSource for incompatible tracks ("${Object.keys(_)}"->"${Object.keys(s)}") start time: ${ue} currentTime: ${Y}`),this.onMediaDetaching(o.MEDIA_DETACHING,{}),this.onMediaAttaching(o.MEDIA_ATTACHING,n),t.currentTime=ue;return}this.transferData=void 0,E.forEach(Y=>{const V=Y,ue=_[V];if(ue){const he=ue.buffer;if(he){const Ee=this.fragmentTracker,Re=ue.id;if(Ee.hasFragments(Re)||Ee.hasParts(Re)){const st=Li.getBuffered(he);Ee.detectEvictedFragments(V,st,Re,null,!0)}const Fe=oc(V),ft=[V,he];this.sourceBuffers[Fe]=ft,he.updating&&this.operationQueue&&this.operationQueue.prependBlocker(V),this.trackSourceBuffer(V,ue)}}}),j(),this.bufferCreated()}else this.log("attachTransferred: MediaSource w/o SourceBuffers"),j()}get mediaSourceOpenOrEnded(){var t;const n=(t=this.mediaSource)==null?void 0:t.readyState;return n==="open"||n==="ended"}onMediaDetaching(t,n){const s=!!n.transferMedia;this.transferData=this.overrides=void 0;const{media:_,mediaSource:E,_objectUrl:I}=this;if(E){if(this.log(`media source ${s?"transferring":"detaching"}`),s)this.sourceBuffers.forEach(([j])=>{j&&this.removeBuffer(j)}),this.resetQueue();else{if(this.mediaSourceOpenOrEnded){const j=E.readyState==="open";try{const Y=E.sourceBuffers;for(let V=Y.length;V--;)j&&Y[V].abort(),E.removeSourceBuffer(Y[V]);j&&E.endOfStream()}catch(Y){this.warn(`onMediaDetaching: ${Y.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}_&&(_.removeEventListener("emptied",this._onMediaEmptied),s||(I&&self.URL.revokeObjectURL(I),this.mediaSrc===I?(_.removeAttribute("src"),this.appendSource&&Vc(_),_.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 _;(_=this.mediaSource)!=null&&_.sourceBuffers.length&&this.mediaSource.removeSourceBuffer(s)}catch(E){this.warn(`onBufferReset ${t}`,E)}delete this.tracks[t]}removeBuffer(t){this.removeBufferListeners(t),this.sourceBuffers[oc(t)]=[null,null];const n=this.tracks[t];n&&(n.buffer=void 0)}resetQueue(){this.operationQueue&&this.operationQueue.destroy(),this.operationQueue=new wl(this.tracks)}onBufferCodecs(t,n){const s=this.tracks,_=Object.keys(n);this.log(`BUFFER_CODECS: "${_}" (current SB count ${this.sourceBufferCount})`);const E="audiovideo"in n&&(s.audio||s.video)||s.audiovideo&&("audio"in n||"video"in n),I=!E&&this.sourceBufferCount&&this.media&&_.some(j=>!s[j]);if(E||I){this.warn(`Unsupported transition between "${Object.keys(s)}" and "${_}" SourceBuffers`);return}_.forEach(j=>{var Y,V;const ue=n[j],{id:he,codec:Ee,levelCodec:Re,container:Fe,metadata:ft,supplemental:st}=ue;let Ft=s[j];const fr=(Y=this.transferData)==null||(Y=Y.tracks)==null?void 0:Y[j],ar=fr!=null&&fr.buffer?fr:Ft,$r=(ar==null?void 0:ar.pendingCodec)||(ar==null?void 0:ar.codec),Xr=ar==null?void 0:ar.levelCodec;Ft||(Ft=s[j]={buffer:void 0,listeners:[],codec:Ee,supplemental:st,container:Fe,levelCodec:Re,metadata:ft,id:he});const gn=Me($r,Xr),Kr=gn==null?void 0:gn.replace(tl,"$1");let an=Me(Ee,Re);const dn=(V=an)==null?void 0:V.replace(tl,"$1");an&&gn&&Kr!==dn&&(j.slice(0,5)==="audio"&&(an=vt(an,this.appendSource)),this.log(`switching codec ${$r} to ${an}`),an!==(Ft.pendingCodec||Ft.codec)&&(Ft.pendingCodec=an),Ft.container=Fe,this.appendChangeType(j,Fe,an))}),(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 _=`${n};codecs=${s}`,E={label:`change-type=${_}`,execute:()=>{const I=this.tracks[t];if(I){const j=I.buffer;j!=null&&j.changeType&&(this.log(`changing ${t} sourceBuffer type to ${_}`),j.changeType(_),I.codec=s,I.container=n)}this.shiftAndExecuteNext(t)},onStart:()=>{},onComplete:()=>{},onError:I=>{this.warn(`Failed to change ${t} SourceBuffer type`,I)}};this.append(E,t,this.isPending(this.tracks[t]))}blockAudio(t){var n;const s=t.start,_=s+t.duration*.05;if(((n=this.fragmentTracker.getAppendedFrag(s,u.MAIN))==null?void 0:n.gap)===!0)return;const I={label:"block-audio",execute:()=>{var j;const Y=this.tracks.video;(this.lastVideoAppendEnd>_||Y!=null&&Y.buffer&&Li.isBuffered(Y.buffer,_)||((j=this.fragmentTracker.getAppendedFrag(_,u.MAIN))==null?void 0:j.gap)===!0)&&(this.blockedAudioAppend=null,this.shiftAndExecuteNext("audio"))},onStart:()=>{},onComplete:()=>{},onError:j=>{this.warn("Error executing block-audio operation",j)}};this.blockedAudioAppend={op:I,frag:t},this.append(I,"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:_,type:E,parent:I,frag:j,part:Y,chunkMeta:V,offset:ue}=n,he=V.buffering[E],{sn:Ee,cc:Re}=j,Fe=self.performance.now();he.start=Fe;const ft=j.stats.buffering,st=Y?Y.stats.buffering:null;ft.start===0&&(ft.start=Fe),st&&st.start===0&&(st.start=Fe);const Ft=s.audio;let fr=!1;E==="audio"&&(Ft==null?void 0:Ft.container)==="audio/mpeg"&&(fr=!this.lastMpegAudioChunk||V.id===1||this.lastMpegAudioChunk.sn!==V.sn,this.lastMpegAudioChunk=V);const ar=s.video,$r=ar==null?void 0:ar.buffer;if($r&&Ee!=="initSegment"){const Kr=Y||j,an=this.blockedAudioAppend;if(E==="audio"&&I!=="main"&&!this.blockedAudioAppend&&!(ar.ending||ar.ended)){const Vr=Kr.start+Kr.duration*.05,Cn=$r.buffered,wi=this.currentOp("video");!Cn.length&&!wi?this.blockAudio(Kr):!wi&&!Li.isBuffered($r,Vr)&&this.lastVideoAppendEnd<Vr&&this.blockAudio(Kr)}else if(E==="video"){const dn=Kr.end;if(an){const Vr=an.frag.start;(dn>Vr||dn<this.lastVideoAppendEnd||Li.isBuffered($r,Vr))&&this.unblockAudio()}this.lastVideoAppendEnd=dn}}const Xr=(Y||j).start,gn={label:`append-${E}`,execute:()=>{var Kr;he.executeStart=self.performance.now();const an=(Kr=this.tracks[E])==null?void 0:Kr.buffer;an&&(fr?this.updateTimestampOffset(an,Xr,.1,E,Ee,Re):ue!==void 0&&r(ue)&&this.updateTimestampOffset(an,ue,1e-6,E,Ee,Re)),this.appendExecutor(_,E)},onStart:()=>{},onComplete:()=>{const Kr=self.performance.now();he.executeEnd=he.end=Kr,ft.first===0&&(ft.first=Kr),st&&st.first===0&&(st.first=Kr);const an={};this.sourceBuffers.forEach(([dn,Vr])=>{dn&&(an[dn]=Li.getBuffered(Vr))}),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:j,part:Y,chunkMeta:V,parent:j.type,timeRanges:an})},onError:Kr=>{var an;const dn={type:c.MEDIA_ERROR,parent:j.type,details:f.BUFFER_APPEND_ERROR,sourceBufferName:E,frag:j,part:Y,chunkMeta:V,error:Kr,err:Kr,fatal:!1},Vr=(an=this.media)==null?void 0:an.error;if(Kr.code===DOMException.QUOTA_EXCEEDED_ERR||Kr.name=="QuotaExceededError"||"quota"in Kr)dn.details=f.BUFFER_FULL_ERROR;else if(Kr.code===DOMException.INVALID_STATE_ERR&&this.mediaSourceOpenOrEnded&&!Vr)dn.errorAction=Pr(!0);else if(Kr.name===Cc&&this.sourceBufferCount===0)dn.errorAction=Pr(!0);else{const Cn=++this.appendErrors[E];this.warn(`Failed ${Cn}/${this.hls.config.appendErrorMaxRetry} times to append segment in "${E}" sourceBuffer (${Vr||"no media error"})`),(Cn>=this.hls.config.appendErrorMaxRetry||Vr)&&(dn.fatal=!0)}this.hls.trigger(o.ERROR,dn)}};this.append(gn,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:_=>{this.warn(`Failed to remove ${n}-${s} from "${t}" SourceBuffer`,_)}}}onBufferFlushing(t,n){const{type:s,startOffset:_,endOffset:E}=n;s?this.append(this.getFlushOp(s,_,E),s):this.sourceBuffers.forEach(([I])=>{I&&this.append(this.getFlushOp(I,_,E),I)})}onFragParsed(t,n){const{frag:s,part:_}=n,E=[],I=_?_.elementaryStreams:s.elementaryStreams;I[ie.AUDIOVIDEO]?E.push("audiovideo"):(I[ie.AUDIO]&&E.push("audio"),I[ie.VIDEO]&&E.push("video"));const j=()=>{const Y=self.performance.now();s.stats.buffering.end=Y,_&&(_.stats.buffering.end=Y);const V=_?_.stats:s.stats;this.hls.trigger(o.FRAG_BUFFERED,{frag:s,part:_,stats:V,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(j,E).catch(Y=>{this.warn(`Fragment buffered callback ${Y}`),this.stepOperationQueue(this.sourceBufferTypes)})}onFragChanged(t,n){this.trimBuffers()}get bufferedToEnd(){return this.sourceBufferCount>0&&!this.sourceBuffers.some(([t])=>{if(t){const n=this.tracks[t];if(n)return!n.ended||n.ending}return!1})}onBufferEos(t,n){var s;this.sourceBuffers.forEach(([I])=>{if(I){const j=this.tracks[I];(!n.type||n.type===I)&&(j.ending=!0,j.ended||(j.ended=!0,this.log(`${I} buffer reached EOS`)))}});const _=((s=this.overrides)==null?void 0:s.endOfStream)!==!1;this.sourceBufferCount>0&&!this.sourceBuffers.some(([I])=>{var j;return I&&!((j=this.tracks[I])!=null&&j.ended)})?_?(this.log("Queueing EOS"),this.blockUntilOpen(()=>{this.tracksEnded();const{mediaSource:I}=this;if(!I||I.readyState!=="open"){I&&this.log(`Could not call mediaSource.endOfStream(). mediaSource.readyState: ${I.readyState}`);return}this.log("Calling mediaSource.endOfStream()"),I.endOfStream(),this.hls.trigger(o.BUFFERED_TO_END,void 0)})):(this.tracksEnded(),this.hls.trigger(o.BUFFERED_TO_END,void 0)):n.type==="video"&&this.unblockAudio()}tracksEnded(){this.sourceBuffers.forEach(([t])=>{if(t!==null){const n=this.tracks[t];n&&(n.ending=!1)}})}onLevelUpdated(t,{details:n}){n.fragments.length&&(this.details=n,this.updateDuration())}updateDuration(){this.blockUntilOpen(()=>{const t=this.getDurationAndRange();t&&this.updateMediaSource(t)})}onError(t,n){if(n.details===f.BUFFER_APPEND_ERROR&&n.frag){var s;const _=(s=n.errorAction)==null?void 0:s.nextAutoLevel;r(_)&&_!==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 _=t.config,E=s.currentTime,I=n.levelTargetDuration,j=n.live&&_.liveBackBufferLength!==null?_.liveBackBufferLength:_.backBufferLength;if(r(j)&&j>=0){const V=Math.max(j,I),ue=Math.floor(E/I)*I-V;this.flushBackBuffer(E,I,ue)}const Y=_.frontBufferFlushThreshold;if(r(Y)&&Y>0){const V=Math.max(_.maxBufferLength,Y),ue=Math.max(V,I),he=Math.floor(E/I)*I+ue;this.flushFrontBuffer(E,I,he)}}flushBackBuffer(t,n,s){this.sourceBuffers.forEach(([_,E])=>{if(E){const j=Li.getBuffered(E);if(j.length>0&&s>j.start(0)){var I;this.hls.trigger(o.BACK_BUFFER_REACHED,{bufferEnd:s});const Y=this.tracks[_];if((I=this.details)!=null&&I.live)this.hls.trigger(o.LIVE_BACK_BUFFER_REACHED,{bufferEnd:s});else if(Y!=null&&Y.ended){this.log(`Cannot flush ${_} back buffer while SourceBuffer is in ended state`);return}this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:s,type:_})}}})}flushFrontBuffer(t,n,s){this.sourceBuffers.forEach(([_,E])=>{if(E){const I=Li.getBuffered(E),j=I.length;if(j<2)return;const Y=I.start(j-1),V=I.end(j-1);if(s>Y||t>=Y&&t<=V)return;this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:Y,endOffset:1/0,type:_})}})}getDurationAndRange(){var t;const{details:n,mediaSource:s}=this;if(!n||!this.media||(s==null?void 0:s.readyState)!=="open")return null;const _=n.edge;if(n.live&&this.hls.config.liveDurationInfinity){if(n.fragments.length&&s.setLiveSeekableRange){const V=Math.max(0,n.fragmentStart),ue=Math.max(V,_);return{duration:1/0,start:V,end:ue}}return{duration:1/0}}const E=(t=this.overrides)==null?void 0:t.duration;if(E)return r(E)?{duration:E}:null;const I=this.media.duration,j=r(s.duration)?s.duration:0;return _>j&&_>I||!r(I)?{duration:_}:null}updateMediaSource({duration:t,start:n,end:s}){const _=this.mediaSource;!this.media||!_||_.readyState!=="open"||(_.duration!==t&&(r(t)&&this.log(`Updating MediaSource duration to ${t.toFixed(3)}`),_.duration=t),n!==void 0&&s!==void 0&&(this.log(`MediaSource duration is set to ${_.duration}. Setting seekable range to ${n}-${s}.`),_.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}) ${ui(s)}`),this.tracksReady){var _;const E=(_=this.transferData)==null?void 0:_.tracks;E&&Object.keys(E).length?this.attachTransferred():this.createSourceBuffers()}}bufferCreated(){if(this.sourceBufferCount){const t={};this.sourceBuffers.forEach(([n,s])=>{if(n){const _=this.tracks[n];t[n]={buffer:s,container:_.container,codec:_.codec,supplemental:_.supplemental,levelCodec:_.levelCodec,id:_.id,metadata:_.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 I=E,j=t[I];if(this.isPending(j)){const Y=this.getTrackCodec(j,I),V=`${j.container};codecs=${Y}`;j.codec=Y,this.log(`creating sourceBuffer(${V})${this.currentOp(I)?" Queued":""} ${ui(j)}`);try{const ue=s.addSourceBuffer(V),he=oc(I),Ee=[I,ue];n[he]=Ee,j.buffer=ue}catch(ue){var _;this.error(`error while trying to add sourceBuffer: ${ue.message}`),this.shiftAndExecuteNext(I),(_=this.operationQueue)==null||_.removeBlockers(),delete this.tracks[I],this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_ADD_CODEC_ERROR,fatal:!1,error:ue,sourceBufferName:I,mimeType:V,parent:j.id});return}this.trackSourceBuffer(I,j)}}this.bufferCreated()}getTrackCodec(t,n){const s=t.supplemental;let _=t.codec;s&&(n==="video"||n==="audiovideo")&&Ce(s,"video")&&(_=Lt(_,s));const E=Me(_,t.levelCodec);return E?n.slice(0,5)==="audio"?vt(E,this.appendSource):E:""}trackSourceBuffer(t,n){const s=n.buffer;if(!s)return;const _=this.getTrackCodec(n,t);this.tracks[t]={buffer:s,codec:_,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,I)=>{const j=I.removedRanges;j!=null&&j.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 _=new Error(`${t} SourceBuffer error. MediaSource readyState: ${(s=this.mediaSource)==null?void 0:s.readyState}`);this.error(`${_}`,n),this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_APPENDING_ERROR,sourceBufferName:t,error:_,fatal:!1});const E=this.currentOp(t);E&&E.onError(_)}updateTimestampOffset(t,n,s,_,E,I){const j=n-t.timestampOffset;Math.abs(j)>=s&&(this.log(`Updating ${_} SourceBuffer timestampOffset to ${n} (sn: ${E} cc: ${I})`),t.timestampOffset=n)}removeExecutor(t,n,s){const{media:_,mediaSource:E}=this,I=this.tracks[t],j=I==null?void 0:I.buffer;if(!_||!E||!j){this.warn(`Attempting to remove from the ${t} SourceBuffer, but it does not exist`),this.shiftAndExecuteNext(t);return}const Y=r(_.duration)?_.duration:1/0,V=r(E.duration)?E.duration:1/0,ue=Math.max(0,n),he=Math.min(s,Y,V);he>ue&&(!I.ending||I.ended)?(I.ended=!1,this.log(`Removing [${ue},${he}] from the ${t} SourceBuffer`),j.remove(ue,he)):this.shiftAndExecuteNext(t)}appendExecutor(t,n){const s=this.tracks[n],_=s==null?void 0:s.buffer;if(!_)throw new Kc(`Attempting to append to the ${n} SourceBuffer, but it does not exist`);s.ending=!1,s.ended=!1,_.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,_=n.map(I=>this.appendBlocker(I));return n.length>1&&!!this.blockedAudioAppend&&this.unblockAudio(),Promise.all(_).then(I=>{s===this.operationQueue&&(t(),this.stepOperationQueue(this.sourceBufferTypes))})}stepOperationQueue(t){t.forEach(n=>{var s;const _=(s=this.tracks[n])==null?void 0:s.buffer;!_||_.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 _=this.tracks[t];if(!_)return;const E=_.buffer;if(!E)return;const I=s.bind(this,t);_.listeners.push({event:n,listener:I}),E.addEventListener(n,I)}removeBufferListeners(t){const n=this.tracks[t];if(!n)return;const s=n.buffer;s&&(n.listeners.forEach(_=>{s.removeEventListener(_.event,_.listener)}),n.listeners.length=0)}}function Vc(O){const t=O.querySelectorAll("source");[].slice.call(t).forEach(n=>{O.removeChild(n)})}function hf(O,t){const n=self.document.createElement("source");n.type="video/mp4",n.src=t,O.appendChild(n)}function oc(O){return O==="audio"?1:0}class ml{constructor(t){this.hls=void 0,this.autoLevelCapping=void 0,this.firstLevel=void 0,this.media=void 0,this.restrictedLevels=void 0,this.timer=void 0,this.clientRect=void 0,this.streamController=void 0,this.hls=t,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.firstLevel=-1,this.media=null,this.restrictedLevels=[],this.timer=void 0,this.clientRect=null,this.registerListeners()}setStreamController(t){this.streamController=t}destroy(){this.hls&&this.unregisterListener(),this.timer&&this.stopCapping(),this.media=null,this.clientRect=null,this.hls=this.streamController=null}registerListeners(){const{hls:t}=this;t.on(o.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MANIFEST_PARSED,this.onManifestParsed,this),t.on(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.on(o.BUFFER_CODECS,this.onBufferCodecs,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this)}unregisterListener(){const{hls:t}=this;t.off(o.FPS_DROP_LEVEL_CAPPING,this.onFpsDropLevelCapping,this),t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MANIFEST_PARSED,this.onManifestParsed,this),t.off(o.LEVELS_UPDATED,this.onLevelsUpdated,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this)}onFpsDropLevelCapping(t,n){const s=this.hls.levels[n.droppedLevel];this.isLevelAllowed(s)&&this.restrictedLevels.push({bitrate:s.bitrate,height:s.height,width:s.width})}onMediaAttaching(t,n){this.media=n.media instanceof HTMLVideoElement?n.media:null,this.clientRect=null,this.timer&&this.hls.levels.length&&this.detectPlayerSize()}onManifestParsed(t,n){const s=this.hls;this.restrictedLevels=[],this.firstLevel=n.firstLevel,s.config.capLevelToPlayerSize&&n.video&&this.startCapping()}onLevelsUpdated(t,n){this.timer&&r(this.autoLevelCapping)&&this.detectPlayerSize()}onBufferCodecs(t,n){this.hls.config.capLevelToPlayerSize&&n.video&&this.startCapping()}onMediaDetaching(){this.stopCapping(),this.media=null}detectPlayerSize(){if(this.media){if(this.mediaHeight<=0||this.mediaWidth<=0){this.clientRect=null;return}const t=this.hls.levels;if(t.length){const n=this.hls,s=this.getMaxLevel(t.length-1);s!==this.autoLevelCapping&&n.logger.log(`Setting autoLevelCapping to ${s}: ${t[s].height}p@${t[s].bitrate} for media ${this.mediaWidth}x${this.mediaHeight}`),n.autoLevelCapping=s,n.autoLevelEnabled&&n.autoLevelCapping>this.autoLevelCapping&&this.streamController&&this.streamController.nextLevelSwitch(),this.autoLevelCapping=n.autoLevelCapping}}}getMaxLevel(t){const n=this.hls.levels;if(!n.length)return-1;const s=n.filter((_,E)=>this.isLevelAllowed(_)&&E<=t);return this.clientRect=null,ml.getMaxLevelByMediaSize(s,this.mediaWidth,this.mediaHeight)}startCapping(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,self.clearInterval(this.timer),this.timer=self.setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())}stopCapping(){this.restrictedLevels=[],this.firstLevel=-1,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(self.clearInterval(this.timer),this.timer=void 0)}getDimensions(){if(this.clientRect)return this.clientRect;const t=this.media,n={width:0,height:0};if(t){const s=t.getBoundingClientRect();n.width=s.width,n.height=s.height,!n.width&&!n.height&&(n.width=s.right-s.left||t.width||0,n.height=s.bottom-s.top||t.height||0)}return this.clientRect=n,n}get mediaWidth(){return this.getDimensions().width*this.contentScaleFactor}get mediaHeight(){return this.getDimensions().height*this.contentScaleFactor}get contentScaleFactor(){let t=1;if(!this.hls.config.ignoreDevicePixelRatio)try{t=self.devicePixelRatio}catch(n){}return Math.min(t,this.hls.config.maxDevicePixelRatio)}isLevelAllowed(t){return!this.restrictedLevels.some(s=>t.bitrate===s.bitrate&&t.width===s.width&&t.height===s.height)}static getMaxLevelByMediaSize(t,n,s){if(!(t!=null&&t.length))return-1;const _=(j,Y)=>Y?j.width!==Y.width||j.height!==Y.height:!0;let E=t.length-1;const I=Math.max(n,s);for(let j=0;j<t.length;j+=1){const Y=t[j];if((Y.width>=I||Y.height>=I)&&_(Y,t[j+1])){E=j;break}}return E}}const Uo={MANIFEST:"m",AUDIO:"a",VIDEO:"v",MUXED:"av",INIT:"i",CAPTION:"c",TIMED_TEXT:"tt",KEY:"k",OTHER:"o"},Wl={HLS:"h"};class Es{constructor(t,n){Array.isArray(t)&&(t=t.map(s=>s instanceof Es?s:new Es(s))),this.value=t,this.params=n}}const Xo="Dict";function su(O){return Array.isArray(O)?JSON.stringify(O):O instanceof Map?"Map{}":O instanceof Set?"Set{}":typeof O=="object"?JSON.stringify(O):String(O)}function Pc(O,t,n,s){return new Error(`failed to ${O} "${su(t)}" as ${n}`,{cause:s})}function uu(O,t,n){return Pc("serialize",O,t,n)}class mu{constructor(t){this.description=t}}const Ic="Bare Item",Yc="Boolean";function Eu(O){if(typeof O!="boolean")throw uu(O,Yc);return O?"?1":"?0"}function Gl(O){return btoa(String.fromCharCode(...O))}const Hu="Byte Sequence";function Dc(O){if(ArrayBuffer.isView(O)===!1)throw uu(O,Hu);return`:${Gl(O)}:`}const Fl="Integer";function Qa(O){return O<-999999999999999||999999999999999<O}function mf(O){if(Qa(O))throw uu(O,Fl);return O.toString()}function _f(O){return`@${mf(O.getTime()/1e3)}`}function rl(O,t){if(O<0)return-rl(-O,t);const n=Math.pow(10,t);if(Math.abs(O*n%1-.5)<Number.EPSILON){const _=Math.floor(O*n);return(_%2===0?_:_+1)/n}else return Math.round(O*n)/n}const Xc="Decimal";function Of(O){const t=rl(O,3);if(Math.floor(Math.abs(t)).toString().length>12)throw uu(O,Xc);const n=t.toString();return n.includes(".")?n:`${n}.0`}const Oc="String",wu=/[\x00-\x1f\x7f]+/;function vf(O){if(wu.test(O))throw uu(O,Oc);return`"${O.replace(/\\/g,"\\\\").replace(/"/g,'\\"')}"`}function kc(O){return O.description||O.toString().slice(7,-1)}const uc="Token";function Qc(O){const t=kc(O);if(/^([a-zA-Z*])([!#$%&'*+\-.^_`|~\w:/]*)$/.test(t)===!1)throw uu(t,uc);return t}function lc(O){switch(typeof O){case"number":if(!r(O))throw uu(O,Ic);return Number.isInteger(O)?mf(O):Of(O);case"string":return vf(O);case"symbol":return Qc(O);case"boolean":return Eu(O);case"object":if(O instanceof Date)return _f(O);if(O instanceof Uint8Array)return Dc(O);if(O instanceof mu)return Qc(O);default:throw uu(O,Ic)}}const Su="Key";function Wu(O){if(/^[a-z*][a-z0-9\-_.*]*$/.test(O)===!1)throw uu(O,Su);return O}function Kl(O){return O==null?"":Object.entries(O).map(([t,n])=>n===!0?`;${Wu(t)}`:`;${Wu(t)}=${lc(n)}`).join("")}function nl(O){return O instanceof Es?`${lc(O.value)}${Kl(O.params)}`:lc(O)}function qc(O){return`(${O.value.map(nl).join(" ")})${Kl(O.params)}`}function gf(O,t={whitespace:!0}){if(typeof O!="object"||O==null)throw uu(O,Xo);const n=O instanceof Map?O.entries():Object.entries(O),s=t!=null&&t.whitespace?" ":"";return Array.from(n).map(([_,E])=>{E instanceof Es||(E=new Es(E));let I=Wu(_);return E.value===!0?I+=Kl(E.params):(I+="=",Array.isArray(E.value)?I+=qc(E):I+=nl(E)),I}).join(`,${s}`)}function Vl(O,t){return gf(O,t)}const Ms="CMCD-Object",go="CMCD-Request",_l="CMCD-Session",_u="CMCD-Status",il={br:Ms,ab:Ms,d:Ms,ot:Ms,tb:Ms,tpb:Ms,lb:Ms,tab:Ms,lab:Ms,url:Ms,pb:go,bl:go,tbl:go,dl:go,ltc:go,mtp:go,nor:go,nrr:go,rc:go,sn:go,sta:go,su:go,ttfb:go,ttfbb:go,ttlb:go,cmsdd:go,cmsds:go,smrt:go,df:go,cs:go,ts:go,cid:_l,pr:_l,sf:_l,sid:_l,st:_l,v:_l,msd:_l,bs:_u,bsd:_u,cdn:_u,rtp:_u,bg:_u,pt:_u,ec:_u,e:_u},Co={REQUEST:go};function Bl(O){return Object.keys(O).reduce((t,n)=>{var s;return(s=O[n])===null||s===void 0||s.forEach(_=>t[_]=n),t},{})}function kf(O,t){const n={};if(!O)return n;const s=Object.keys(O),_=t?Bl(t):{};return s.reduce((E,I)=>{var j;const Y=il[I]||_[I]||Co.REQUEST,V=(j=E[Y])!==null&&j!==void 0?j:E[Y]={};return V[I]=O[I],E},n)}function Jc(O){return["ot","sf","st","e","sta"].includes(O)}function yf(O){return typeof O=="number"?r(O):O!=null&&O!==""&&O!==!1}const Sl="event";function Qo(O,t){const n=new URL(O),s=new URL(t);if(n.origin!==s.origin)return O;const _=n.pathname.split("/").slice(1),E=s.pathname.split("/").slice(1,-1);for(;_[0]===E[0];)_.shift(),E.shift();for(;E.length;)E.shift(),_.unshift("..");return _.join("/")+n.search+n.hash}const vl=O=>Math.round(O),$e=(O,t)=>Array.isArray(O)?O.map(n=>$e(n,t)):O instanceof Es&&typeof O.value=="string"?new Es($e(O.value,t),O.params):(t.baseUrl&&(O=Qo(O,t.baseUrl)),t.version===1?encodeURIComponent(O):O),vu=O=>vl(O/100)*100,cc={br:vl,d:vl,bl:vu,dl:vu,mtp:vu,nor:(O,t)=>{let n=O;return t.version>=2&&(O instanceof Es&&typeof O.value=="string"?n=new Es([O]):typeof O=="string"&&(n=[O])),$e(n,t)},rtp:vu,tb:vl},qo="request",ku="response",Yl=["ab","bg","bl","br","bs","bsd","cdn","cid","cs","df","ec","lab","lb","ltc","msd","mtp","pb","pr","pt","sf","sid","sn","st","sta","tab","tb","tbl","tpb","ts","v"],fc=["e"],Nl=/^[a-zA-Z0-9-.]+-[a-zA-Z0-9-.]+$/;function Gu(O){return Nl.test(O)}function al(O){return Yl.includes(O)||fc.includes(O)||Gu(O)}const Rc=["d","dl","nor","ot","rtp","su"];function dc(O){return Yl.includes(O)||Rc.includes(O)||Gu(O)}const Tu=["cmsdd","cmsds","rc","smrt","ttfb","ttfbb","ttlb","url"];function Al(O){return Yl.includes(O)||Rc.includes(O)||Tu.includes(O)||Gu(O)}const Ku=["bl","br","bs","cid","d","dl","mtp","nor","nrr","ot","pr","rtp","sf","sid","st","su","tb","v"];function Zf(O){return Ku.includes(O)||Gu(O)}const bf={[ku]:Al,[Sl]:al,[qo]:dc};function Jo(O,t={}){const n={};if(O==null||typeof O!="object")return n;const s=t.version||O.v||1,_=t.reportingMode||qo,E=s===1?Zf:bf[_];let I=Object.keys(O).filter(E);const j=t.filter;typeof j=="function"&&(I=I.filter(j));const Y=_===ku||_===Sl;Y&&!I.includes("ts")&&I.push("ts"),s>1&&!I.includes("v")&&I.push("v");const V=y({},cc,t.formatters),ue={version:s,reportingMode:_,baseUrl:t.baseUrl};return I.sort().forEach(he=>{let Ee=O[he];const Re=V[he];if(typeof Re=="function"&&(Ee=Re(Ee,ue)),he==="v"){if(s===1)return;Ee=s}he=="pr"&&Ee===1||(Y&&he==="ts"&&!r(Ee)&&(Ee=Date.now()),yf(Ee)&&(Jc(he)&&typeof Ee=="string"&&(Ee=new mu(Ee)),n[he]=Ee))}),n}function $l(O,t={}){const n={};if(!O)return n;const s=Jo(O,t),_=kf(s,t==null?void 0:t.customHeaderMap);return Object.entries(_).reduce((E,[I,j])=>{const Y=Vl(j,{whitespace:!1});return Y&&(E[I]=Y),E},n)}function ef(O,t,n){return y(O,$l(t,n))}const hc="CMCD";function pc(O,t={}){return O?Vl(Jo(O,t),{whitespace:!1}):""}function mc(O,t={}){if(!O)return"";const n=pc(O,t);return encodeURIComponent(n)}function _c(O,t={}){if(!O)return"";const n=mc(O,t);return`${hc}=${n}`}const xf=/CMCD=[^&#]+/;function Lc(O,t,n){const s=_c(t,n);if(!s)return O;if(xf.test(O))return O.replace(xf,s);const _=O.includes("?")?"&":"?";return`${O}${_}${s}`}class vc{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=_=>{try{this.apply(_,{ot:Uo.MANIFEST,su:!this.initialized})}catch(E){this.hls.logger.warn("Could not generate manifest CMCD data.",E)}},this.applyFragmentData=_=>{try{const{frag:E,part:I}=_,j=this.hls.levels[E.level],Y=this.getObjectType(E),V={d:(I||E).duration*1e3,ot:Y};(Y===Uo.VIDEO||Y===Uo.AUDIO||Y==Uo.MUXED)&&(V.br=j.bitrate/1e3,V.tb=this.getTopBandwidth(Y)/1e3,V.bl=this.getBufferLength(Y));const ue=I?this.getNextPart(I):this.getNextFrag(E);ue!=null&&ue.url&&ue.url!==E.url&&(V.nor=ue.url),this.apply(_,V)}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,_;this.audioBuffer=(s=n.tracks.audio)==null?void 0:s.buffer,this.videoBuffer=(_=n.tracks.video)==null?void 0:_.buffer}createData(){var t;return{v:1,sf:Wl.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===Uo.INIT||n.ot===Uo.VIDEO||n.ot===Uo.MUXED;this.starved&&s&&(n.bs=!0,n.su=!0,this.starved=!1),n.su==null&&(n.su=this.buffering);const{includeKeys:_}=this;_&&(n=Object.keys(n).reduce((I,j)=>(_.includes(j)&&(I[j]=n[j]),I),{}));const E={baseUrl:t.url};this.useHeaders?(t.headers||(t.headers={}),ef(t.headers,n,E)):t.url=Lc(t.url,n,E)}getNextFrag(t){var n;const s=(n=this.hls.levels[t.level])==null?void 0:n.details;if(s){const _=t.sn-s.startSN;return s.fragments[_+1]}}getNextPart(t){var n;const{index:s,fragment:_}=t,E=(n=this.hls.levels[_.level])==null||(n=n.details)==null?void 0:n.partList;if(E){const{sn:I}=_;for(let j=E.length-1;j>=0;j--){const Y=E[j];if(Y.index===s&&Y.fragment.sn===I)return E[j+1]}}}getObjectType(t){const{type:n}=t;if(n==="subtitle")return Uo.TIMED_TEXT;if(t.sn==="initSegment")return Uo.INIT;if(n==="audio")return Uo.AUDIO;if(n==="main")return this.hls.audioTracks.length?Uo.VIDEO:Uo.MUXED}getTopBandwidth(t){let n=0,s;const _=this.hls;if(t===Uo.AUDIO)s=_.audioTracks;else{const E=_.maxAutoLevel,I=E>-1?E+1:_.levels.length;s=_.levels.slice(0,I)}return s.forEach(E=>{E.bitrate>n&&(n=E.bitrate)}),n>0?n:NaN}getBufferLength(t){const n=this.media,s=t===Uo.AUDIO?this.audioBuffer:this.videoBuffer;return!s||!n?NaN:Li.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,I,j){n(E),this.loader.load(E,I,j)}}}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,I,j){n(E),this.loader.load(E,I,j)}}}}const Xl=3e5;class Ef 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)===tr.SendAlternateToPenaltyBox&&s.flags===Cr.MoveAllAlternatesMatchingHost){const _=this.levels;let E=this._pathwayPriority,I=this.pathwayId;if(n.context){const{groupId:j,pathwayId:Y,type:V}=n.context;j&&_?I=this.getPathwayForGroupId(j,V,I):Y&&(I=Y)}I in this.penalizedPathways||(this.penalizedPathways[I]=performance.now()),!E&&_&&(E=this.pathways()),E&&E.length>1&&(this.updatePathwayPriority(E),s.resolved=this.pathwayId!==I),n.details===f.BUFFER_APPEND_ERROR&&!n.fatal?s.resolved=!0:s.resolved||this.warn(`Could not resolve ${n.details} ("${n.error.message}") with content-steering for Pathway: ${I} levels: ${_&&_.length} priorities: ${ui(E)} penalized: ${ui(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,_=performance.now();Object.keys(s).forEach(E=>{_-s[E]>Xl&&delete s[E]});for(let E=0;E<t.length;E++){const I=t[E];if(I in s)continue;if(I===this.pathwayId)return;const j=this.hls.nextLoadLevel,Y=this.hls.levels[j];if(n=this.getLevelsForPathway(I),n.length>0){this.log(`Setting Pathway to "${I}"`),this.pathwayId=I,$n(n),this.hls.trigger(o.LEVELS_UPDATED,{levels:n});const V=this.hls.levels[j];Y&&V&&this.levels&&(V.attrs["STABLE-VARIANT-ID"]!==Y.attrs["STABLE-VARIANT-ID"]&&V.bitrate!==Y.bitrate&&this.log(`Unstable Pathways change from bitrate ${Y.bitrate} to ${V.bitrate}`),this.hls.nextLoadLevel=j);break}}}getPathwayForGroupId(t,n,s){const _=this.getLevelsForPathway(s).concat(this.levels||[]);for(let E=0;E<_.length;E++)if(n===h.AUDIO_TRACK&&_[E].hasAudioGroup(t)||n===h.SUBTITLE_TRACK&&_[E].hasSubtitleGroup(t))return _[E].pathwayId;return s}clonePathways(t){const n=this.levels;if(!n)return;const s={},_={};t.forEach(E=>{const{ID:I,"BASE-ID":j,"URI-REPLACEMENT":Y}=E;if(n.some(ue=>ue.pathwayId===I))return;const V=this.getLevelsForPathway(j).map(ue=>{const he=new bn(ue.attrs);he["PATHWAY-ID"]=I;const Ee=he.AUDIO&&`${he.AUDIO}_clone_${I}`,Re=he.SUBTITLES&&`${he.SUBTITLES}_clone_${I}`;Ee&&(s[he.AUDIO]=Ee,he.AUDIO=Ee),Re&&(_[he.SUBTITLES]=Re,he.SUBTITLES=Re);const Fe=Vu(ue.uri,he["STABLE-VARIANT-ID"],"PER-VARIANT-URIS",Y),ft=new vn({attrs:he,audioCodec:ue.audioCodec,bitrate:ue.bitrate,height:ue.height,name:ue.name,url:Fe,videoCodec:ue.videoCodec,width:ue.width});if(ue.audioGroups)for(let st=1;st<ue.audioGroups.length;st++)ft.addGroupId("audio",`${ue.audioGroups[st]}_clone_${I}`);if(ue.subtitleGroups)for(let st=1;st<ue.subtitleGroups.length;st++)ft.addGroupId("text",`${ue.subtitleGroups[st]}_clone_${I}`);return ft});n.push(...V),Mc(this.audioTracks,s,Y,I),Mc(this.subtitleTracks,_,Y,I)})}loadSteeringManifest(t){const n=this.hls.config,s=n.loader;this.loader&&this.loader.destroy(),this.loader=new s(n);let _;try{_=new self.URL(t)}catch(ue){this.enabled=!1,this.log(`Failed to parse Steering Manifest URI: ${t}`);return}if(_.protocol!=="data:"){const ue=(this.hls.bandwidthEstimate||n.abrEwmaDefaultEstimate)|0;_.searchParams.set("_HLS_pathway",this.pathwayId),_.searchParams.set("_HLS_throughput",""+ue)}const E={responseType:"json",url:_.href},I=n.steeringManifestLoadPolicy.default,j=I.errorRetry||I.timeoutRetry||{},Y={loadPolicy:I,timeout:I.maxLoadTimeMs,maxRetry:j.maxNumRetry||0,retryDelay:j.retryDelayMs||0,maxRetryDelay:j.maxRetryDelayMs||0},V={onSuccess:(ue,he,Ee,Re)=>{this.log(`Loaded steering manifest: "${_}"`);const Fe=ue.data;if((Fe==null?void 0:Fe.VERSION)!==1){this.log(`Steering VERSION ${Fe.VERSION} not supported!`);return}this.updated=performance.now(),this.timeToLoad=Fe.TTL;const{"RELOAD-URI":ft,"PATHWAY-CLONES":st,"PATHWAY-PRIORITY":Ft}=Fe;if(ft)try{this.uri=new self.URL(ft,_).href}catch(ar){this.enabled=!1,this.log(`Failed to parse Steering Manifest RELOAD-URI: ${ft}`);return}this.scheduleRefresh(this.uri||Ee.url),st&&this.clonePathways(st);const fr={steeringManifest:Fe,url:_.toString()};this.hls.trigger(o.STEERING_MANIFEST_LOADED,fr),Ft&&this.updatePathwayPriority(Ft)},onError:(ue,he,Ee,Re)=>{if(this.log(`Error loading steering manifest: ${ue.code} ${ue.text} (${he.url})`),this.stopLoad(),ue.code===410){this.enabled=!1,this.log(`Steering manifest ${he.url} no longer available`);return}let Fe=this.timeToLoad*1e3;if(ue.code===429){const ft=this.loader;if(typeof(ft==null?void 0:ft.getResponseHeader)=="function"){const st=ft.getResponseHeader("Retry-After");st&&(Fe=parseFloat(st)*1e3)}this.log(`Steering manifest ${he.url} rate limited`);return}this.scheduleRefresh(this.uri||he.url,Fe)},onTimeout:(ue,he,Ee)=>{this.log(`Timeout loading steering manifest (${he.url})`),this.scheduleRefresh(this.uri||he.url)}};this.log(`Requesting steering manifest: ${_}`),this.loader.load(E,Y,V)}scheduleRefresh(t,n=this.timeToLoad*1e3){this.clearTimeout(),this.reloadTimer=self.setTimeout(()=>{var s;const _=(s=this.hls)==null?void 0:s.media;if(_&&!_.ended){this.loadSteeringManifest(t);return}this.scheduleRefresh(t,this.timeToLoad*1e3)},n)}}function Mc(O,t,n,s){O&&Object.keys(t).forEach(_=>{const E=O.filter(I=>I.groupId===_).map(I=>{const j=y({},I);return j.details=void 0,j.attrs=new bn(j.attrs),j.url=j.attrs.URI=Vu(I.url,I.attrs["STABLE-RENDITION-ID"],"PER-RENDITION-URIS",n),j.groupId=j.attrs["GROUP-ID"]=t[_],j.attrs["PATHWAY-ID"]=s,j});O.push(...E)})}function Vu(O,t,n,s){const{HOST:_,PARAMS:E,[n]:I}=s;let j;t&&(j=I==null?void 0:I[t],j&&(O=j));const Y=new self.URL(O);return _&&!j&&(Y.host=_),E&&Object.keys(E).sort().forEach(V=>{V&&Y.searchParams.set(V,E[V])}),Y.href}class sl 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=sl.CDMCleanupPromise?[sl.CDMCleanupPromise]:[],this.bannedKeyIds={},this.onMediaEncrypted=n=>{const{initDataType:s,initData:_}=n,E=`"${n.type}" event: init data type: "${s}"`;if(this.debug(E),_!==null){if(!this.keyFormatPromise){let I=Object.keys(this.keySystemAccessPromises);I.length||(I=ts(this.config));const j=I.map(es).filter(Y=>!!Y);this.keyFormatPromise=this.getKeyFormatPromise(j)}this.keyFormatPromise.then(I=>{const j=_i(I);if(s!=="sinf"||j!==ns.FAIRPLAY){this.log(`Ignoring "${n.type}" event with init data type: "${s}" for selected key-system ${j}`);return}let Y;try{const Re=Yt(new Uint8Array(_)),Fe=tu(JSON.parse(Re).sinf),ft=lt(Fe);if(!ft)throw new Error("'schm' box missing or not cbcs/cenc with schi > tenc");Y=new Uint8Array(ft.subarray(8,24))}catch(Re){this.warn(`${E} Failed to parse sinf: ${Re}`);return}const V=J(Y),{keyIdToKeySessionPromise:ue,mediaKeySessions:he}=this;let Ee=ue[V];for(let Re=0;Re<he.length;Re++){const Fe=he[Re],ft=Fe.decryptdata;if(!ft.keyId)continue;const st=J(ft.keyId);if(V===st||ft.uri.replace(/-/g,"").indexOf(V)!==-1){if(Ee=ue[st],!Ee)continue;if(ft.pssh)break;delete ue[st],ft.pssh=new Uint8Array(_),ft.keyId=Y,Ee=ue[V]=Ee.then(()=>this.generateRequestWithPreferredKeySession(Fe,s,_,"encrypted-event-key-match")),Ee.catch(Ft=>this.handleError(Ft));break}}Ee||this.handleError(new Error(`Key ID ${V} not encountered in playlist. Key-system sessions ${he.length}.`))}).catch(I=>this.handleError(I))}},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,_=n==null?void 0:n[t];if(_)return _.licenseUrl;if(t===ns.WIDEVINE&&s)return s}getLicenseServerUrlOrThrow(t){const n=this.getLicenseServerUrl(t);if(n===void 0)throw new Error(`no license server URL configured for key-system "${t}"`);return n}getServerCertificateUrl(t){const{drmSystems:n}=this.config,s=n==null?void 0:n[t];if(s)return s.serverCertificateUrl;this.log(`No Server Certificate in config.drmSystems["${t}"]`)}attemptKeySystemAccess(t){const n=this.hls.levels,s=(I,j,Y)=>!!I&&Y.indexOf(I)===j,_=n.map(I=>I.audioCodec).filter(s),E=n.map(I=>I.videoCodec).filter(s);return _.length+E.length===0&&E.push("avc1.42e01e"),new Promise((I,j)=>{const Y=V=>{const ue=V.shift();this.getMediaKeysPromise(ue,_,E).then(he=>I({keySystem:ue,mediaKeys:he})).catch(he=>{V.length?Y(V):he instanceof lu?j(he):j(new lu({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_ACCESS,error:he,fatal:!0},he.message))})};Y(t)})}requestMediaKeySystemAccess(t,n){const{requestMediaKeySystemAccessFunc:s}=this.config;if(typeof s!="function"){let _=`Configured requestMediaKeySystemAccess is not a function ${s}`;return ds===null&&self.location.protocol==="http:"&&(_=`navigator.requestMediaKeySystemAccess is not available over insecure protocol ${location.protocol}`),Promise.reject(new Error(_))}return s(t,n)}getMediaKeysPromise(t,n,s){var _;const E=Bo(t,n,s,this.config.drmSystemOptions||{});let I=this.keySystemAccessPromises[t],j=(_=I)==null?void 0:_.keySystemAccess;if(!j){this.log(`Requesting encrypted media "${t}" key-system access with config: ${ui(E)}`),j=this.requestMediaKeySystemAccess(t,E);const Y=I=this.keySystemAccessPromises[t]={keySystemAccess:j};return j.catch(V=>{this.log(`Failed to obtain access to key-system "${t}": ${V}`)}),j.then(V=>{this.log(`Access for key-system "${V.keySystem}" obtained`);const ue=this.fetchServerCertificate(t);this.log(`Create media-keys for "${t}"`);const he=Y.mediaKeys=V.createMediaKeys().then(Ee=>(this.log(`Media-keys created for "${t}"`),Y.hasMediaKeys=!0,ue.then(Re=>Re?this.setMediaKeysServerCertificate(Ee,t,Re):Ee)));return he.catch(Ee=>{this.error(`Failed to create media-keys for "${t}"}: ${Ee}`)}),he})}return j.then(()=>I.mediaKeys)}createMediaKeySessionContext({decryptdata:t,keySystem:n,mediaKeys:s}){this.log(`Creating key-system session "${n}" keyId: ${J(t.keyId||[])}`);const _=s.createSession(),E={decryptdata:t,keySystem:n,mediaKeys:s,mediaKeysSession:_,keyStatus:"status-pending"};return this.mediaKeySessions.push(E),E}renewKeySession(t){const n=t.decryptdata;if(n.pssh){const s=this.createMediaKeySessionContext(t),_=this.getKeyIdString(n),E="cenc";this.keyIdToKeySessionPromise[_]=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(t.keyId)}updateKeySession(t,n){const s=t.mediaKeysSession;return this.log(`Updating key-session "${s.sessionId}" for keyId ${J(t.decryptdata.keyId||[])}
|
|
|
} (data length: ${n.byteLength})`),s.update(n)}getSelectedKeySystemFormats(){return Object.keys(this.keySystemAccessPromises).map(t=>({keySystem:t,hasMediaKeys:this.keySystemAccessPromises[t].hasMediaKeys})).filter(({hasMediaKeys:t})=>!!t).map(({keySystem:t})=>es(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:_})=>{const E=es(_);E?n(E):s(new Error(`Unable to find format for key-system "${_}"`))}).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=ts(this.config),s=t.map(_i).filter(_=>!!_&&n.indexOf(_)!==-1);return this.selectKeySystem(s)}loadKey(t){const n=t.keyInfo.decryptdata,s=this.getKeyIdString(n),_=this.bannedKeyIds[s];if(_){const j=Fc(_,n);return this.handleError(j,t.frag),Promise.reject(j)}const E=`(keyId: ${s} format: "${n.keyFormat}" method: ${n.method} uri: ${n.uri})`;this.log(`Starting session for key ${E}`);const I=this.keyIdToKeySessionPromise[s];if(!I){const j=this.getKeySystemForKeyPromise(n).then(({keySystem:Y,mediaKeys:V})=>(this.throwIfDestroyed(),this.log(`Handle encrypted media sn: ${t.frag.sn} ${t.frag.type}: ${t.frag.level} using key ${E}`),this.attemptSetMediaKeys(Y,V).then(()=>(this.throwIfDestroyed(),this.createMediaKeySessionContext({keySystem:Y,mediaKeys:V,decryptdata:n}))))).then(Y=>{const V="cenc",ue=n.pssh?n.pssh.buffer:null;return this.generateRequestWithPreferredKeySession(Y,V,ue,"playlist-key")});return j.catch(Y=>this.handleError(Y,t.frag)),this.keyIdToKeySessionPromise[s]=j,j}return I}throwIfDestroyed(t="Invalid state"){if(!this.hls)throw new Error("invalid state")}handleError(t,n){this.hls&&(this.error(t.message),t instanceof lu?(n&&(t.data.frag=n),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 _=_i(t.keyFormat),E=_?[_]:ts(this.config);return this.attemptKeySystemAccess(E)}return s}getKeySystemSelectionPromise(t){if(t.length||(t=ts(this.config)),t.length===0)throw new lu({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_CONFIGURED_LICENSE,fatal:!0},`Missing key-system license configuration options ${ui({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 _=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(_),_.then(()=>{this.log(`Media-keys set for "${t}"`),s.push(_),this.setMediaKeysQueue=this.setMediaKeysQueue.filter(E=>s.indexOf(E)===-1)})}generateRequestWithPreferredKeySession(t,n,s,_){var E;const I=(E=this.config.drmSystems)==null||(E=E[t.keySystem])==null?void 0:E.generateRequest;if(I)try{const Ee=I.call(this.hls,n,s,t);if(!Ee)throw new Error("Invalid response from configured generateRequest filter");n=Ee.initDataType,s=Ee.initData?Ee.initData:null,t.decryptdata.pssh=s?new Uint8Array(s):null}catch(Ee){if(this.warn(Ee.message),this.hls&&this.hls.config.debug)throw Ee}if(s===null)return this.log(`Skipping key-session request for "${_}" (no initData)`),Promise.resolve(t);const j=this.getKeyIdString(t.decryptdata);this.log(`Generating key-session request for "${_}": ${j} (init data type: ${n} length: ${s.byteLength})`);const Y=new Mt,V=t._onmessage=Ee=>{const Re=t.mediaKeysSession;if(!Re){Y.emit("error",new Error("invalid state"));return}const{messageType:Fe,message:ft}=Ee;this.log(`"${Fe}" message event for session "${Re.sessionId}" message size: ${ft.byteLength}`),Fe==="license-request"||Fe==="license-renewal"?this.renewLicense(t,ft).catch(st=>{Y.eventNames().length?Y.emit("error",st):this.handleError(st)}):Fe==="license-release"?t.keySystem===ns.FAIRPLAY&&(this.updateKeySession(t,zo("acknowledged")),this.removeSession(t)):this.warn(`unhandled media key message type "${Fe}"`)},ue=t._onkeystatuseschange=Ee=>{if(!t.mediaKeysSession){Y.emit("error",new Error("invalid state"));return}const Fe=t.keyStatus;this.onKeyStatusChange(t);const ft=t.keyStatus;ft!==Fe&&(Y.emit("keyStatus",ft,t),ft==="expired"&&(this.log(`${t.keySystem} expired for key ${j}`),this.renewKeySession(t)))};vi(t.mediaKeysSession,"message",V),vi(t.mediaKeysSession,"keystatuseschange",ue);const he=new Promise((Ee,Re)=>{Y.on("error",Re),Y.on("keyStatus",(Fe,{decryptdata:ft})=>{Fe.startsWith("usable")?Ee():Fe==="internal-error"||Fe==="output-restricted"?Re(Fc(Fe,ft)):Fe==="expired"?Re(new Error(`key expired while generating request (keyId: ${j})`)):this.warn(`unhandled key status change "${Fe}" (keyId: ${j})`)})});return t.mediaKeysSession.generateRequest(n,s).then(()=>{this.log(`Request generated for key-session "${t.mediaKeysSession.sessionId}" keyId: ${j}`)}).catch(Ee=>{throw new lu({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_NO_SESSION,error:Ee,decryptdata:t.decryptdata,fatal:!1},`Error generating key-session request: ${Ee}`)}).then(()=>he).catch(Ee=>{throw Y.removeAllListeners(),this.removeSession(t),Ee}).then(()=>(Y.removeAllListeners(),t))}onKeyStatusChange(t){const n=J(new Uint8Array(t.decryptdata.keyId||[]));t.mediaKeysSession.keyStatuses.forEach((s,_)=>{if(typeof _=="string"&&typeof s=="object"){const j=_;_=s,s=j}const E=J("buffer"in _?new Uint8Array(_.buffer,_.byteOffset,_.byteLength):new Uint8Array(_));s==="internal-error"&&(this.bannedKeyIds[E]=s);const I=E===n;this.log(`${I?"":"un"}matched key status change "${s}" for keyStatuses keyId: ${E} session keyId: ${n} uri: ${t.decryptdata.uri}`),I&&(t.keyStatus=s)})}fetchServerCertificate(t){const n=this.config,s=n.loader,_=new s(n),E=this.getServerCertificateUrl(t);return E?(this.log(`Fetching server certificate for "${t}"`),new Promise((I,j)=>{const Y={responseType:"arraybuffer",url:E},V=n.certLoadPolicy.default,ue={loadPolicy:V,timeout:V.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},he={onSuccess:(Ee,Re,Fe,ft)=>{I(Ee.data)},onError:(Ee,Re,Fe,ft)=>{j(new lu({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Fe,response:b({url:Y.url,data:void 0},Ee)},`"${t}" certificate request failed (${E}). Status: ${Ee.code} (${Ee.text})`))},onTimeout:(Ee,Re,Fe)=>{j(new lu({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_REQUEST_FAILED,fatal:!0,networkDetails:Fe,response:{url:Y.url,data:void 0}},`"${t}" certificate request timed out (${E})`))},onAbort:(Ee,Re,Fe)=>{j(new Error("aborted"))}};_.load(Y,ue,he)})):Promise.resolve()}setMediaKeysServerCertificate(t,n,s){return new Promise((_,E)=>{t.setServerCertificate(s).then(I=>{this.log(`setServerCertificate ${I?"success":"not supported by CDM"} (${s.byteLength}) on "${n}"`),_(t)}).catch(I=>{E(new lu({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SERVER_CERTIFICATE_UPDATE_FAILED,error:I,fatal:!0},I.message))})})}renewLicense(t,n){return this.requestLicense(t,new Uint8Array(n)).then(s=>this.updateKeySession(t,new Uint8Array(s)).catch(_=>{throw new lu({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_SESSION_UPDATE_FAILED,decryptdata:t.decryptdata,error:_,fatal:!1},_.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 _=new DOMParser().parseFromString(s,"application/xml"),E=_.querySelectorAll("HttpHeader");if(E.length>0){let ue;for(let he=0,Ee=E.length;he<Ee;he++){var I,j;ue=E[he];const Re=(I=ue.querySelector("name"))==null?void 0:I.textContent,Fe=(j=ue.querySelector("value"))==null?void 0:j.textContent;Re&&Fe&&t.setRequestHeader(Re,Fe)}}const Y=_.querySelector("Challenge"),V=Y==null?void 0:Y.textContent;if(!V)throw new Error("Cannot find <Challenge> in key message");return zo(atob(V))}setupLicenseXHR(t,n,s,_){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,_)}).catch(I=>{if(!s.decryptdata)throw I;return t.open("POST",n,!0),E.call(this.hls,t,n,s,_)}).then(I=>(t.readyState||t.open("POST",n,!0),{xhr:t,licenseChallenge:I||_})):(t.open("POST",n,!0),Promise.resolve({xhr:t,licenseChallenge:_}))}requestLicense(t,n){const s=this.config.keyLoadPolicy.default;return new Promise((_,E)=>{const I=this.getLicenseServerUrlOrThrow(t.keySystem);this.log(`Sending license request to URL: ${I}`);const j=new XMLHttpRequest;j.responseType="arraybuffer",j.onreadystatechange=()=>{if(!this.hls||!t.mediaKeysSession)return E(new Error("invalid state"));if(j.readyState===4)if(j.status===200){this._requestLicenseFailureCount=0;let Y=j.response;this.log(`License received ${Y instanceof ArrayBuffer?Y.byteLength:Y}`);const V=this.config.licenseResponseCallback;if(V)try{Y=V.call(this.hls,j,I,t)}catch(ue){this.error(ue)}_(Y)}else{const Y=s.errorRetry,V=Y?Y.maxNumRetry:0;if(this._requestLicenseFailureCount++,this._requestLicenseFailureCount>V||j.status>=400&&j.status<500)E(new lu({type:c.KEY_SYSTEM_ERROR,details:f.KEY_SYSTEM_LICENSE_REQUEST_FAILED,decryptdata:t.decryptdata,fatal:!0,networkDetails:j,response:{url:I,data:void 0,code:j.status,text:j.statusText}},`License Request XHR failed (${I}). Status: ${j.status} (${j.statusText})`));else{const ue=V-this._requestLicenseFailureCount+1;this.warn(`Retrying license request, ${ue} attempts left`),this.requestLicense(t,n).then(_,E)}}},t.licenseXhr&&t.licenseXhr.readyState!==XMLHttpRequest.DONE&&t.licenseXhr.abort(),t.licenseXhr=j,this.setupLicenseXHR(j,I,t,n).then(({xhr:Y,licenseChallenge:V})=>{t.keySystem==ns.PLAYREADY&&(V=this.unpackPlayReadyKeyMessage(Y,V)),Y.send(V)}).catch(E)})}onDestroying(){this.unregisterListeners(),this._clear()}onMediaAttached(t,n){if(!this.config.emeEnabled)return;const s=n.media;this.media=s,vi(s,"encrypted",this.onMediaEncrypted),vi(s,"waitingforkey",this.onWaitingForKey)}onMediaDetached(){const t=this.media;t&&(ps(t,"encrypted",this.onMediaEncrypted),ps(t,"waitingforkey",this.onWaitingForKey),this.media=null,this.mediaKeys=null)}_clear(){var t;if(this._requestLicenseFailureCount=0,this.keyIdToKeySessionPromise={},this.bannedKeyIds={},!this.mediaKeys&&!this.mediaKeySessions.length)return;const n=this.media,s=this.mediaKeySessions.slice();this.mediaKeySessions=[],this.mediaKeys=null,nu.clearKeyUriToKeyIdMap();const _=s.length;sl.CDMCleanupPromise=Promise.all(s.map(E=>this.removeSession(E)).concat(n==null||(t=n.setMediaKeys(null))==null?void 0:t.catch(E=>{this.log(`Could not clear media keys: ${E}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR,fatal:!1,error:new Error(`Could not clear media keys: ${E}`)})}))).catch(E=>{this.log(`Could not close sessions and clear media keys: ${E}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close sessions and clear media keys: ${E}`)})}).then(()=>{_&&this.log("finished closing key sessions and clearing media keys")})}onManifestLoading(){this.keyFormatPromise=null,this.bannedKeyIds={}}onManifestLoaded(t,{sessionKeys:n}){if(!(!n||!this.config.emeEnabled)&&!this.keyFormatPromise){const s=n.reduce((_,E)=>(_.indexOf(E.keyFormat)===-1&&_.push(E.keyFormat),_),[]);this.log(`Selecting key-system from session-keys ${s.join(", ")}`),this.keyFormatPromise=this.getKeyFormatPromise(s)}}removeSession(t){const{mediaKeysSession:n,licenseXhr:s,decryptdata:_}=t;if(n){this.log(`Remove licenses and keys and close session "${n.sessionId}" keyId: ${J((_==null?void 0:_.keyId)||[])}`),t._onmessage&&(n.removeEventListener("message",t._onmessage),t._onmessage=void 0),t._onkeystatuseschange&&(n.removeEventListener("keystatuseschange",t._onkeystatuseschange),t._onkeystatuseschange=void 0),s&&s.readyState!==XMLHttpRequest.DONE&&s.abort(),t.mediaKeysSession=t.decryptdata=t.licenseXhr=void 0;const E=this.mediaKeySessions.indexOf(t);E>-1&&this.mediaKeySessions.splice(E,1);const{drmSystemOptions:I}=this.config;return(du(I)?new Promise((Y,V)=>{self.setTimeout(()=>V(new Error("MediaKeySession.remove() timeout")),8e3),n.remove().then(Y).catch(V)}):Promise.resolve()).catch(Y=>{this.log(`Could not remove session: ${Y}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR,fatal:!1,error:new Error(`Could not remove session: ${Y}`)})}).then(()=>n.close()).catch(Y=>{this.log(`Could not close session: ${Y}`),this.hls&&this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR,fatal:!1,error:new Error(`Could not close session: ${Y}`)})})}}}sl.CDMCleanupPromise=void 0;class lu extends Error{constructor(t,n){super(n),this.data=void 0,t.error||(t.error=new Error(n)),this.data=t,t.err=t.error}}function Fc(O,t){const n=O==="output-restricted",s=n?f.KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED:f.KEY_SYSTEM_STATUS_INTERNAL_ERROR;return new lu({type:c.KEY_SYSTEM_ERROR,details:s,fatal:!1,decryptdata:t},n?"HDCP level output restricted":`key status changed to "${O}"`)}class Bc{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 _=n.media instanceof self.HTMLVideoElement?n.media:null;this.media=_,_&&typeof _.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 _=performance.now();if(n){if(this.lastTime){const E=_-this.lastTime,I=s-this.lastDroppedFrames,j=n-this.lastDecodedFrames,Y=1e3*I/E,V=this.hls;if(V.trigger(o.FPS_DROP,{currentDropped:I,currentDecoded:j,totalDroppedFrames:s}),Y>0&&I>V.config.fpsDroppedMonitoringThreshold*j){let ue=V.currentLevel;V.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+ue),ue>0&&(V.autoLevelCapping===-1||V.autoLevelCapping>=ue)&&(ue=ue-1,V.trigger(o.FPS_DROP_LEVEL_CAPPING,{level:ue,droppedLevel:V.currentLevel}),V.autoLevelCapping=ue,this.streamController.nextLevelSwitch())}}this.lastTime=_,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 tf(O,t){let n;try{n=new Event("addtrack")}catch(s){n=document.createEvent("Event"),n.initEvent("addtrack",!1,!1)}n.track=O,t.dispatchEvent(n)}function C(O,t){const n=O.mode;if(n==="disabled"&&(O.mode="hidden"),O.cues&&!O.cues.getCueById(t.id))try{if(O.addCue(t),!O.cues.getCueById(t.id))throw new Error(`addCue is failed for: ${t}`)}catch(s){H.debug(`[texttrack-utils]: ${s}`);try{const _=new self.TextTrackCue(t.startTime,t.endTime,t.text);_.id=t.id,O.addCue(_)}catch(_){H.debug(`[texttrack-utils]: Legacy TextTrackCue fallback failed: ${_}`)}}n==="disabled"&&(O.mode=n)}function D(O,t){const n=O.mode;if(n==="disabled"&&(O.mode="hidden"),O.cues)for(let s=O.cues.length;s--;)t&&O.cues[s].removeEventListener("enter",t),O.removeCue(O.cues[s]);n==="disabled"&&(O.mode=n)}function L(O,t,n,s){const _=O.mode;if(_==="disabled"&&(O.mode="hidden"),O.cues&&O.cues.length>0){const E=Oe(O.cues,t,n);for(let I=0;I<E.length;I++)(!s||s(E[I]))&&O.removeCue(E[I])}_==="disabled"&&(O.mode=_)}function _e(O,t){if(t<=O[0].startTime)return 0;const n=O.length-1;if(t>O[n].endTime)return-1;let s=0,_=n,E;for(;s<=_;)if(E=Math.floor((_+s)/2),t<O[E].startTime)_=E-1;else if(t>O[E].startTime&&s<n)s=E+1;else return E;return O[s].startTime-t<t-O[_].startTime?s:_}function Oe(O,t,n){const s=[],_=_e(O,t);if(_>-1)for(let E=_,I=O.length;E<I;E++){const j=O[E];if(j.startTime>=t&&j.endTime<=n)s.push(j);else if(j.startTime>n)return s}return s}function hn(O){const t=[];for(let n=0;n<O.length;n++){const s=O[n];(s.kind==="subtitles"||s.kind==="captions")&&s.label&&t.push(O[n])}return t}class On extends hi{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=hn(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 _=this.findTrackForTextTrack(n);this.subtitleTrack!==_&&this.setSubtitleTrack(_)},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 _=!!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,_)return;hn(s.textTracks).forEach(I=>{D(I)})}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:_,details:E}=n,I=this.tracksInGroup[s];if(!I||I.groupId!==_){this.warn(`Subtitle track with id:${s} and group:${_} not found in active group ${I==null?void 0:I.groupId}`);return}const j=I.details;I.details=n.details,this.log(`Subtitle track ${s} "${I.name}" lang:${I.lang} group:${_} loaded [${E.startSN}-${E.endSN}]`),s===this.trackId&&this.playlistLoaded(s,n,j)}onLevelLoading(t,n){this.switchLevel(n.level)}onLevelSwitching(t,n){this.switchLevel(n.level)}switchLevel(t){const n=this.hls.levels[t];if(!n)return;const s=n.subtitleGroups||null,_=this.groupIds;let E=this.currentTrack;if(!s||(_==null?void 0:_.length)!==(s==null?void 0:s.length)||s!=null&&s.some(I=>(_==null?void 0:_.indexOf(I))===-1)){this.groupIds=s,this.trackId=-1,this.currentTrack=null;const I=this.tracks.filter(ue=>!s||s.indexOf(ue.groupId)!==-1);if(I.length)this.selectDefaultTrack&&!I.some(ue=>ue.default)&&(this.selectDefaultTrack=!1),I.forEach((ue,he)=>{ue.id=he});else if(!E&&!this.tracksInGroup.length)return;this.tracksInGroup=I;const j=this.hls.config.subtitlePreference;if(!E&&j){this.selectDefaultTrack=!1;const ue=Hi(j,I);if(ue>-1)E=I[ue];else{const he=Hi(j,this.tracks);E=this.tracks[he]}}let Y=this.findTrackId(E);Y===-1&&E&&(Y=this.findTrackId(null));const V={subtitleTracks:I};this.log(`Updating subtitle tracks, ${I.length} track(s) found in "${s==null?void 0:s.join(",")}" group-id`),this.hls.trigger(o.SUBTITLE_TRACKS_UPDATED,V),Y!==-1&&this.trackId===-1&&this.setSubtitleTrack(Y)}}findTrackId(t){const n=this.tracksInGroup,s=this.selectDefaultTrack;for(let _=0;_<n.length;_++){const E=n[_];if(!(s&&!E.default||!s&&!t)&&(!t||bt(E,t)))return _}if(t){for(let _=0;_<n.length;_++){const E=n[_];if(ao(t.attrs,E.attrs,["LANGUAGE","ASSOC-LANGUAGE","CHARACTERISTICS"]))return _}for(let _=0;_<n.length;_++){const E=n[_];if(ao(t.attrs,E.attrs,["LANGUAGE"]))return _}}return-1}findTrackForTextTrack(t){if(t){const n=this.tracksInGroup;for(let s=0;s<n.length;s++){const _=n[s];if(sc(_,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&&bt(t,s))return s;const _=Hi(t,this.tracksInGroup);if(_>-1){const E=this.tracksInGroup[_];return this.setSubtitleTrack(_),E}else{if(s)return null;{const E=Hi(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,_=t.groupId,E=this.getUrlWithDirectives(t.url,n),I=t.details,j=I==null?void 0:I.age;this.log(`Loading subtitle ${s} "${t.name}" lang:${t.lang} group:${_}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${j&&I.live?" age "+j.toFixed(1)+(I.type?" "+I.type||0:""):""} ${E}`),this.hls.trigger(o.SUBTITLE_TRACK_LOADING,{url:E,id:s,groupId:_,deliveryDirectives:n||null,track:t})}toggleTrackModes(){const{media:t}=this;if(!t)return;const n=hn(t.textTracks),s=this.currentTrack;let _;if(s&&(_=n.filter(E=>sc(s,E))[0],_||this.warn(`Unable to find subtitle TextTrack with name "${s.name}" and language "${s.lang}"`)),[].slice.call(n).forEach(E=>{E.mode!=="disabled"&&E!==_&&(E.mode="disabled")}),_){const E=this.subtitleDisplay?"showing":"hidden";_.mode!==E&&(_.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,_=n[t]||null;if(this.trackId=t,this.currentTrack=_,this.toggleTrackModes(),!_){this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:t});return}const E=!!_.details&&!_.details.live;if(t===this.trackId&&_===s&&E)return;this.log(`Switching to subtitle-track ${t}`+(_?` "${_.name}" lang:${_.lang} group:${_.groupId}`:""));const{id:I,groupId:j="",name:Y,type:V,url:ue}=_;this.hls.trigger(o.SUBTITLE_TRACK_SWITCH,{id:I,groupId:j,name:Y,type:V,url:ue});const he=this.switchParams(_.url,s==null?void 0:s.details,_.details);this.loadPlaylist(he)}}function yn(){try{return crypto.randomUUID()}catch(O){try{const t=URL.createObjectURL(new Blob),n=t.toString();return URL.revokeObjectURL(t),n.slice(n.lastIndexOf("/")+1)}catch(t){let n=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,_=>{const E=(n+Math.random()*16)%16|0;return n=Math.floor(n/16),(_=="x"?E:E&3|8).toString(16)})}}}function Fi(O){let t=5381,n=O.length;for(;n;)t=t*33^O.charCodeAt(--n);return(t>>>0).toString()}const Ka=.025;let La=function(O){return O[O.Point=0]="Point",O[O.Range=1]="Range",O}({});function Go(O,t,n){return`${O.identifier}-${n+1}-${Fi(t)}`}class Ts{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 Eo(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=Eo(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 Eo(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)<Ka))}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"?La.Range:La.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 rf(this)}}function Eo(O,t){return O-t.start<t.duration/2&&!(Math.abs(O-(t.start+t.duration))<Ka)?t.start:t.start+t.duration}function Fs(O,t,n){const s=new self.URL(O,n);return s.protocol!=="data:"&&s.searchParams.set("_HLS_primary_id",t),s}function gc(O,t){for(;(n=O.assetList[++t])!=null&&n.error;)var n;return t}function rf(O){return`["${O.identifier}" ${O.cue.pre?"<pre>":O.cue.post?"<post>":""}${O.timelineStart.toFixed(2)}-${O.resumeTime.toFixed(2)}]`}function gl(O){const t=O.timelineStart,n=O.duration||0;return`["${O.identifier}" ${t.toFixed(2)}-${(t+n).toFixed(2)}]`}class nf{constructor(t,n,s,_){this.hls=void 0,this.interstitial=void 0,this.assetItem=void 0,this.tracks=null,this.hasDetails=!1,this.mediaAttached=null,this._currentTime=void 0,this._bufferedEosTime=void 0,this.checkPlayout=()=>{this.reachedPlayout(this.currentTime)&&this.hls&&this.hls.trigger(o.PLAYOUT_LIMIT_REACHED,{})};const E=this.hls=new t(n);this.interstitial=s,this.assetItem=_;const I=()=>{this.hasDetails=!0};E.once(o.LEVEL_LOADED,I),E.once(o.AUDIO_TRACK_LOADED,I),E.once(o.SUBTITLE_TRACK_LOADED,I),E.on(o.MEDIA_ATTACHING,(j,{media:Y})=>{this.removeMediaListeners(),this.mediaAttached=Y,this.interstitial.playoutLimit&&(Y.addEventListener("timeupdate",this.checkPlayout),this.appendInPlace&&E.on(o.BUFFER_APPENDED,()=>{const ue=this.bufferedEnd;this.reachedPlayout(ue)&&(this._bufferedEosTime=ue,E.trigger(o.BUFFERED_TO_END,void 0))}))})}get appendInPlace(){return this.interstitial.appendInPlace}loadSource(){const t=this.hls;if(t)if(t.url)t.levels.length&&!t.started&&t.startLoad(-1,!0);else{let n=this.assetItem.uri;try{n=Fs(n,t.config.primarySessionId||"").href}catch(s){}t.loadSource(n)}}bufferedInPlaceToEnd(t){var n;if(!this.appendInPlace)return!1;if((n=this.hls)!=null&&n.bufferedToEnd)return!0;if(!t)return!1;const s=Math.min(this._bufferedEosTime||1/0,this.duration),_=this.timelineOffset,E=Li.bufferInfo(t,_,0);return this.getAssetTime(E.end)>=s-.02}reachedPlayout(t){const s=this.interstitial.playoutLimit;return this.startOffset+t>=s}get destroyed(){var t;return!((t=this.hls)!=null&&t.userConfig)}get assetId(){return this.assetItem.identifier}get interstitialId(){return this.assetItem.parentIdentifier}get media(){var t;return((t=this.hls)==null?void 0:t.media)||null}get bufferedEnd(){const t=this.media||this.mediaAttached;if(!t)return this._bufferedEosTime?this._bufferedEosTime:this.currentTime;const n=Li.bufferInfo(t,t.currentTime,.001);return this.getAssetTime(n.end)}get currentTime(){const t=this.media||this.mediaAttached;return t?this.getAssetTime(t.currentTime):this._currentTime||0}get duration(){const t=this.assetItem.duration;if(!t)return 0;const n=this.interstitial.playoutLimit;if(n){const s=n-this.startOffset;if(s>0&&s<t)return s}return t}get remaining(){const t=this.duration;return t?Math.max(0,t-this.currentTime):0}get startOffset(){return this.assetItem.startOffset}get timelineOffset(){var t;return((t=this.hls)==null?void 0:t.config.timelineOffset)||0}set timelineOffset(t){const n=this.timelineOffset;if(t!==n){const s=t-n;if(Math.abs(s)>11111111111111112e-21&&this.hls){if(this.hasDetails)throw new Error("Cannot set timelineOffset after playlists are loaded");this.hls.config.timelineOffset=t}}}getAssetTime(t){const n=this.timelineOffset,s=this.duration;return Math.min(Math.max(0,t-n),s)}removeMediaListeners(){const t=this.mediaAttached;t&&(this._currentTime=t.currentTime,this.bufferSnapShot(),t.removeEventListener("timeupdate",this.checkPlayout))}bufferSnapShot(){if(this.mediaAttached){var t;(t=this.hls)!=null&&t.bufferedToEnd&&(this._bufferedEosTime=this.bufferedEnd)}}destroy(){this.removeMediaListeners(),this.hls&&this.hls.destroy(),this.hls=null,this.tracks=this.mediaAttached=this.checkPlayout=null}attachMedia(t){var n;this.loadSource(),(n=this.hls)==null||n.attachMedia(t)}detachMedia(){var t;this.removeMediaListeners(),this.mediaAttached=null,(t=this.hls)==null||t.detachMedia()}resumeBuffering(){var t;(t=this.hls)==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.hls)==null||t.pauseBuffering()}transferMedia(){var t;return this.bufferSnapShot(),((t=this.hls)==null?void 0:t.transferMedia())||null}resetDetails(){const t=this.hls;if(t&&this.hasDetails){t.stopLoad();const n=s=>delete s.details;t.levels.forEach(n),t.allAudioTracks.forEach(n),t.allSubtitleTracks.forEach(n),this.hasDetails=!1}}on(t,n,s){var _;(_=this.hls)==null||_.on(t,n)}once(t,n,s){var _;(_=this.hls)==null||_.once(t,n)}off(t,n,s){var _;(_=this.hls)==null||_.off(t,n)}toString(){var t;return`HlsAssetPlayer: ${gl(this.assetItem)} ${(t=this.hls)==null?void 0:t.sessionId} ${this.appendInPlace?"append-in-place":""}`}}const Tl=.033;class Zi 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,_)=>t<=_.startOffset&&n>_.startOffset?(delete _.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 _=this.items;if(_)for(_[s]||(n===void 0&&(n=t.start),s=this.findItemIndexAtTime(n));s>=0&&(E=_[s])!=null&&E.event;){var E;s--}return s}findItemIndexAtTime(t,n){const s=this.items;if(s)for(let _=0;_<s.length;_++){let E=s[_];if(n&&n!=="primary"&&(E=E[n]),t===E.start||t>E.start&&t<E.end)return _}return-1}findJumpRestrictedIndex(t,n){const s=this.items;if(s)for(let _=t;_<=n&&s[_];_++){const E=s[_].event;if(E!=null&&E.restrictions.jump&&!E.appendInPlace)return _}return-1}findEventIndex(t){const n=this.items;if(n)for(let _=n.length;_--;){var s;if(((s=n[_].event)==null?void 0:s.identifier)===t)return _}return-1}findAssetIndex(t,n){const s=t.assetList,_=s.length;if(_>1)for(let E=0;E<_;E++){const I=s[E];if(!I.error){const j=I.timelineStart;if(n===j||n>j&&(n<j+(I.duration||0)||E===_-1))return E}}return 0}get assetIdAtEnd(){var t;const n=(t=this.items)==null||(t=t[this.length-1])==null?void 0:t.event;if(n){const s=n.assetList,_=s[s.length-1];if(_)return _.identifier}return null}parseInterstitialDateRanges(t,n){const s=t.main.details,{dateRanges:_}=s,E=this.events,I=this.parseDateRanges(_,{url:s.url},n),j=Object.keys(_),Y=E?E.filter(V=>!j.includes(V.identifier)):[];I.length&&I.sort((V,ue)=>{const he=V.cue.pre,Ee=V.cue.post,Re=ue.cue.pre,Fe=ue.cue.post;if(he&&!Re)return-1;if(Re&&!he||Ee&&!Fe)return 1;if(Fe&&!Ee)return-1;if(!he&&!Re&&!Ee&&!Fe){const ft=V.startTime,st=ue.startTime;if(ft!==st)return ft-st}return V.dateRange.tagOrder-ue.dateRange.tagOrder}),this.events=I,Y.forEach(V=>{this.removeEvent(V)}),this.updateSchedule(t,Y)}updateSchedule(t,n=[],s=!1){const _=this.events||[];if(_.length||n.length||this.length<2){const E=this.items,I=this.parseSchedule(_,t);(s||n.length||(E==null?void 0:E.length)!==I.length||I.some((Y,V)=>Math.abs(Y.playout.start-E[V].playout.start)>.005||Math.abs(Y.playout.end-E[V].playout.end)>.005))&&(this.items=I,this.onScheduleUpdate(n,E))}}parseDateRanges(t,n,s){const _=[],E=Object.keys(t);for(let I=0;I<E.length;I++){const j=E[I],Y=t[j];if(Y.isInterstitial){let V=this.eventMap[j];V?V.setDateRange(Y):(V=new Ts(Y,n),this.eventMap[j]=V,s===!1&&(V.appendInPlace=s)),_.push(V)}}return _}parseSchedule(t,n){const s=[],_=n.main.details,E=_.live?1/0:_.edge;let I=0;if(t=t.filter(Y=>!Y.error&&!(Y.cue.once&&Y.hasPlayed)),t.length){this.resolveOffsets(t,n);let Y=0,V=0;if(t.forEach((ue,he)=>{const Ee=ue.cue.pre,Re=ue.cue.post,Fe=t[he-1]||null,ft=ue.appendInPlace,st=Re?E:ue.startOffset,Ft=ue.duration,fr=ue.timelineOccupancy===La.Range?Ft:0,ar=ue.resumptionOffset,$r=(Fe==null?void 0:Fe.startTime)===st,Xr=st+ue.cumulativeDuration;let gn=ft?Xr+Ft:st+ar;if(Ee||!Re&&st<=0){const an=V;V+=fr,ue.timelineStart=Xr;const dn=I;I+=Ft,s.push({event:ue,start:Xr,end:gn,playout:{start:dn,end:I},integrated:{start:an,end:V}})}else if(st<=E){if(!$r){const Vr=st-Y;if(Vr>Tl){const Cn=Y,wi=V;V+=Vr;const qi=I;I+=Vr;const ma={previousEvent:t[he-1]||null,nextEvent:ue,start:Cn,end:Cn+Vr,playout:{start:qi,end:I},integrated:{start:wi,end:V}};s.push(ma)}else Vr>0&&Fe&&(Fe.cumulativeDuration+=Vr,s[s.length-1].end=st)}Re&&(gn=Xr),ue.timelineStart=Xr;const an=V;V+=fr;const dn=I;I+=Ft,s.push({event:ue,start:Xr,end:gn,playout:{start:dn,end:I},integrated:{start:an,end:V}})}else return;const Kr=ue.resumeTime;Re||Kr>E?Y=E:Y=Kr}),Y<E){var j;const ue=Y,he=V,Ee=E-Y;V+=Ee;const Re=I;I+=Ee,s.push({previousEvent:((j=s[s.length-1])==null?void 0:j.event)||null,nextEvent:null,start:Y,end:ue+Ee,playout:{start:Re,end:I},integrated:{start:he,end:V}})}this.setDurations(E,I,V)}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,_=s.live?1/0:s.edge;let E=0,I=-1;t.forEach((j,Y)=>{const V=j.cue.pre,ue=j.cue.post,he=V?0:ue?_:j.startTime;this.updateAssetDurations(j),I===he?j.cumulativeDuration=E:(E=0,I=he),!ue&&j.snapOptions.in&&(j.resumeAnchor=dt(null,s.fragments,j.startOffset+j.resumptionOffset,0,0)||void 0),j.appendInPlace&&!j.appendInPlaceStarted&&(this.primaryCanResumeInPlaceAt(j,n)||(j.appendInPlace=!1)),!j.appendInPlace&&Y+1<t.length&&t[Y+1].startTime-t[Y].resumeTime<Tl&&(t[Y+1].appendInPlace=!1,t[Y+1].appendInPlace&&this.warn(`Could not change append strategy for abutting event ${j}`));const Re=r(j.resumeOffset)?j.resumeOffset:j.duration;E+=Re})}primaryCanResumeInPlaceAt(t,n){const s=t.resumeTime,_=t.startTime+t.resumptionOffset;return Math.abs(s-_)>Ka?(this.log(`"${t.identifier}" resumption ${s} not aligned with estimated timeline end ${_}`),!1):!Object.keys(n).some(I=>{const j=n[I].details,Y=j.edge;if(s>=Y)return this.log(`"${t.identifier}" resumption ${s} past ${I} playlist end ${Y}`),!1;const V=dt(null,j.fragments,s);if(!V)return this.log(`"${t.identifier}" resumption ${s} does not align with any fragments in ${I} playlist (${j.fragStart}-${j.fragmentEnd})`),!0;const ue=I==="audio"?.175:0;return Math.abs(V.start-s)<Ka+ue||Math.abs(V.end-s)<Ka+ue?!1:(this.log(`"${t.identifier}" resumption ${s} not aligned with ${I} fragment bounds (${V.start}-${V.end} sn: ${V.sn} cc: ${V.cc})`),!0)})}updateAssetDurations(t){if(!t.assetListLoaded)return;const n=t.timelineStart;let s=0,_=!1,E=!1;for(let I=0;I<t.assetList.length;I++){const j=t.assetList[I],Y=n+s;j.startOffset=s,j.timelineStart=Y,_||(_=j.duration===null),E||(E=!!j.error);const V=j.error?0:j.duration||0;s+=V}_&&!E?t.duration=Math.max(s,t.duration):t.duration=s}removeEvent(t){t.reset(),delete this.eventMap[t.identifier]}}function cu(O){return`[${O.event?'"'+O.event.identifier+'"':"primary"}: ${O.start.toFixed(2)}-${O.end.toFixed(2)}]`}class Nc{constructor(t){this.hls=void 0,this.hls=t}destroy(){this.hls=null}loadAssetList(t,n){const s=t.assetListUrl;let _;try{_=Fs(s,this.hls.sessionId,t.baseUrl)}catch(Ee){const Re=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,Ee,s);this.hls.trigger(o.ERROR,Re);return}n&&_.protocol!=="data:"&&_.searchParams.set("_HLS_start_offset",""+n);const E=this.hls.config,I=E.loader,j=new I(E),Y={responseType:"json",url:_.href},V=E.interstitialAssetListLoadPolicy.default,ue={loadPolicy:V,timeout:V.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},he={onSuccess:(Ee,Re,Fe,ft)=>{const st=Ee.data,Ft=st==null?void 0:st.ASSETS;if(!Array.isArray(Ft)){const fr=this.assignAssetListError(t,f.ASSET_LIST_PARSING_ERROR,new Error("Invalid interstitial asset list"),Fe.url,Re,ft);this.hls.trigger(o.ERROR,fr);return}t.assetListResponse=st,this.hls.trigger(o.ASSET_LIST_LOADED,{event:t,assetListResponse:st,networkDetails:ft})},onError:(Ee,Re,Fe,ft)=>{const st=this.assignAssetListError(t,f.ASSET_LIST_LOAD_ERROR,new Error(`Error loading X-ASSET-LIST: HTTP status ${Ee.code} ${Ee.text} (${Re.url})`),Re.url,ft,Fe);this.hls.trigger(o.ERROR,st)},onTimeout:(Ee,Re,Fe)=>{const ft=this.assignAssetListError(t,f.ASSET_LIST_LOAD_TIMEOUT,new Error(`Timeout loading X-ASSET-LIST (${Re.url})`),Re.url,Ee,Fe);this.hls.trigger(o.ERROR,ft)}};return j.load(Y,ue,he),this.hls.trigger(o.ASSET_LIST_LOADING,{event:t}),j}assignAssetListError(t,n,s,_,E,I){return t.error=s,{type:c.NETWORK_ERROR,details:n,fatal:!1,interstitial:t,url:_,error:s,networkDetails:I,stats:E}}}function Ko(O){O==null||O.play().catch(()=>{})}function so(O,t){return`[${O}] Advancing timeline position to ${t}`}class ws extends R{constructor(t,n){super("interstitials",t.logger),this.HlsPlayerClass=void 0,this.hls=void 0,this.assetListLoader=void 0,this.mediaSelection=null,this.altSelection=null,this.media=null,this.detachedData=null,this.requiredTracks=null,this.manager=null,this.playerQueue=[],this.bufferedPos=-1,this.timelinePos=-1,this.schedule=void 0,this.playingItem=null,this.bufferingItem=null,this.waitingItem=null,this.endedItem=null,this.playingAsset=null,this.endedAsset=null,this.bufferingAsset=null,this.shouldPlay=!1,this.onPlay=()=>{this.shouldPlay=!0},this.onPause=()=>{this.shouldPlay=!1},this.onSeeking=()=>{const s=this.currentTime;if(s===void 0||this.playbackDisabled||!this.schedule)return;const _=s-this.timelinePos;if(Math.abs(_)<1/7056e5)return;const I=_<=-.01;this.timelinePos=s,this.bufferedPos=s;const j=this.playingItem;if(!j){this.checkBuffer();return}if(I&&this.schedule.resetErrorsInRange(s,s-_)&&this.updateSchedule(!0),this.checkBuffer(),I&&s<j.start||s>=j.end){var Y;const Re=this.findItemIndex(j);let Fe=this.schedule.findItemIndexAtTime(s);if(Fe===-1&&(Fe=Re+(I?-1:1),this.log(`seeked ${I?"back ":""}to position not covered by schedule ${s} (resolving from ${Re} to ${Fe})`)),!this.isInterstitial(j)&&(Y=this.media)!=null&&Y.paused&&(this.shouldPlay=!1),!I&&Fe>Re){const ft=this.schedule.findJumpRestrictedIndex(Re+1,Fe);if(ft>Re){this.setSchedulePosition(ft);return}}this.setSchedulePosition(Fe);return}const V=this.playingAsset;if(!V){if(this.playingLastItem&&this.isInterstitial(j)){const Re=j.event.assetList[0];Re&&(this.endedItem=this.playingItem,this.playingItem=null,this.setScheduleToAssetAtTime(s,Re))}return}const ue=V.timelineStart,he=V.duration||0;if(I&&s<ue||s>=ue+he){var Ee;(Ee=j.event)!=null&&Ee.appendInPlace&&(this.clearInterstitial(j.event,j),this.flushFrontBuffer(s)),this.setScheduleToAssetAtTime(s,V)}},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 _=this.playingItem;if(!_||this.playingLastItem)return;if(s>=_.end){this.timelinePos=_.end;const j=this.findItemIndex(_);this.setSchedulePosition(j+1)}const E=this.playingAsset;if(!E)return;const I=E.timelineStart+(E.duration||0);s>=I&&this.setScheduleToAssetAtTime(s,E)},this.onScheduleUpdate=(s,_)=>{const E=this.schedule;if(!E)return;const I=this.playingItem,j=E.events||[],Y=E.items||[],V=E.durations,ue=s.map(ft=>ft.identifier),he=!!(j.length||ue.length);(he||_)&&this.log(`INTERSTITIALS_UPDATED (${j.length}): ${j}
|
|
|
Schedule: ${Y.map(ft=>cu(ft))} pos: ${this.timelinePos}`),ue.length&&this.log(`Removed events ${ue}`);let Ee=null,Re=null;I&&(Ee=this.updateItem(I,this.timelinePos),this.itemsMatch(I,Ee)?this.playingItem=Ee:this.waitingItem=this.endedItem=null),this.waitingItem=this.updateItem(this.waitingItem),this.endedItem=this.updateItem(this.endedItem);const Fe=this.bufferingItem;if(Fe&&(Re=this.updateItem(Fe,this.bufferedPos),this.itemsMatch(Fe,Re)?this.bufferingItem=Re:Fe.event&&(this.bufferingItem=this.playingItem,this.clearInterstitial(Fe.event,null))),s.forEach(ft=>{ft.assetList.forEach(st=>{this.clearAssetPlayer(st.identifier,null)})}),this.playerQueue.forEach(ft=>{if(ft.interstitial.appendInPlace){const st=ft.assetItem.timelineStart,Ft=ft.timelineOffset-st;if(Ft)try{ft.timelineOffset=st}catch(fr){Math.abs(Ft)>Ka&&this.warn(`${fr} ("${ft.assetId}" ${ft.timelineOffset}->${st})`)}}}),he||_){if(this.hls.trigger(o.INTERSTITIALS_UPDATED,{events:j.slice(0),schedule:Y.slice(0),durations:V,removedIds:ue}),this.isInterstitial(I)&&ue.includes(I.event.identifier)){this.warn(`Interstitial "${I.event.identifier}" removed while playing`),this.primaryFallback(I.event);return}I&&this.trimInPlace(Ee,I),Fe&&Re!==Ee&&this.trimInPlace(Re,Fe),this.checkBuffer()}},this.hls=t,this.HlsPlayerClass=n,this.assetListLoader=new Nc(t),this.schedule=new Zi(this.onScheduleUpdate,t.logger),this.registerListeners()}registerListeners(){const t=this.hls;t&&(t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.on(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.on(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.on(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.on(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.on(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this),t.on(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.on(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.on(o.MEDIA_ENDED,this.onMediaEnded,this),t.on(o.ERROR,this.onError,this),t.on(o.DESTROYING,this.onDestroying,this))}unregisterListeners(){const t=this.hls;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.AUDIO_TRACK_SWITCHING,this.onAudioTrackSwitching,this),t.off(o.AUDIO_TRACK_UPDATED,this.onAudioTrackUpdated,this),t.off(o.SUBTITLE_TRACK_SWITCH,this.onSubtitleTrackSwitch,this),t.off(o.SUBTITLE_TRACK_UPDATED,this.onSubtitleTrackUpdated,this),t.off(o.EVENT_CUE_ENTER,this.onInterstitialCueEnter,this),t.off(o.ASSET_LIST_LOADED,this.onAssetListLoaded,this),t.off(o.BUFFER_CODECS,this.onBufferCodecs,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this),t.off(o.BUFFER_FLUSHED,this.onBufferFlushed,this),t.off(o.BUFFERED_TO_END,this.onBufferedToEnd,this),t.off(o.MEDIA_ENDED,this.onMediaEnded,this),t.off(o.ERROR,this.onError,this),t.off(o.DESTROYING,this.onDestroying,this))}startLoad(){this.resumeBuffering()}stopLoad(){this.pauseBuffering()}resumeBuffering(){var t;(t=this.getBufferingPlayer())==null||t.resumeBuffering()}pauseBuffering(){var t;(t=this.getBufferingPlayer())==null||t.pauseBuffering()}destroy(){this.unregisterListeners(),this.stopLoad(),this.assetListLoader&&this.assetListLoader.destroy(),this.emptyPlayerQueue(),this.clearScheduleState(),this.schedule&&this.schedule.destroy(),this.media=this.detachedData=this.mediaSelection=this.requiredTracks=this.altSelection=this.schedule=this.manager=null,this.hls=this.HlsPlayerClass=this.log=null,this.assetListLoader=null,this.onPlay=this.onPause=this.onSeeking=this.onTimeupdate=null,this.onScheduleUpdate=null}onDestroying(){const t=this.primaryMedia||this.media;t&&this.removeMediaListeners(t)}removeMediaListeners(t){ps(t,"play",this.onPlay),ps(t,"pause",this.onPause),ps(t,"seeking",this.onSeeking),ps(t,"timeupdate",this.onTimeupdate)}onMediaAttaching(t,n){const s=this.media=n.media;vi(s,"seeking",this.onSeeking),vi(s,"timeupdate",this.onTimeupdate),vi(s,"play",this.onPlay),vi(s,"pause",this.onPause)}onMediaAttached(t,n){const s=this.effectivePlayingItem,_=this.detachedData;if(this.detachedData=null,s===null)this.checkStart();else if(!_){this.clearScheduleState();const E=this.findItemIndex(s);this.setSchedulePosition(E)}}clearScheduleState(){this.log("clear schedule state"),this.playingItem=this.bufferingItem=this.waitingItem=this.endedItem=this.playingAsset=this.endedAsset=this.bufferingAsset=null}onMediaDetaching(t,n){const s=!!n.transferMedia,_=this.media;if(this.media=null,!s&&(_&&this.removeMediaListeners(_),this.detachedData)){const E=this.getBufferingPlayer();E&&(this.log(`Removing schedule state for detachedData and ${E}`),this.playingAsset=this.endedAsset=this.bufferingAsset=this.bufferingItem=this.waitingItem=this.detachedData=null,E.detachMedia()),this.shouldPlay=!1}}get interstitialsManager(){if(!this.hls)return null;if(this.manager)return this.manager;const t=this,n=()=>t.bufferingItem||t.waitingItem,s=he=>he&&t.getAssetPlayer(he.identifier),_=(he,Ee,Re,Fe,ft)=>{if(he){let st=he[Ee].start;const Ft=he.event;if(Ft){if(Ee==="playout"||Ft.timelineOccupancy!==La.Point){const fr=s(Re);(fr==null?void 0:fr.interstitial)===Ft&&(st+=fr.assetItem.startOffset+fr[ft])}}else{const fr=Fe==="bufferedPos"?I():t[Fe];st+=fr-he.start}return st}return 0},E=(he,Ee)=>{var Re;if(he!==0&&Ee!=="primary"&&(Re=t.schedule)!=null&&Re.length){var Fe;const ft=t.schedule.findItemIndexAtTime(he),st=(Fe=t.schedule.items)==null?void 0:Fe[ft];if(st){const Ft=st[Ee].start-st.start;return he+Ft}}return he},I=()=>{const he=t.bufferedPos;return he===Number.MAX_VALUE?j("primary"):Math.max(he,0)},j=he=>{var Ee,Re;return(Ee=t.primaryDetails)!=null&&Ee.live?t.primaryDetails.edge:((Re=t.schedule)==null?void 0:Re.durations[he])||0},Y=(he,Ee)=>{var Re,Fe;const ft=t.effectivePlayingItem;if(ft!=null&&(Re=ft.event)!=null&&Re.restrictions.skip||!t.schedule)return;t.log(`seek to ${he} "${Ee}"`);const st=t.effectivePlayingItem,Ft=t.schedule.findItemIndexAtTime(he,Ee),fr=(Fe=t.schedule.items)==null?void 0:Fe[Ft],ar=t.getBufferingPlayer(),$r=ar==null?void 0:ar.interstitial,Xr=$r==null?void 0:$r.appendInPlace,gn=st&&t.itemsMatch(st,fr);if(st&&(Xr||gn)){const Kr=s(t.playingAsset),an=(Kr==null?void 0:Kr.media)||t.primaryMedia;if(an){const dn=Ee==="primary"?an.currentTime:_(st,Ee,t.playingAsset,"timelinePos","currentTime"),Vr=he-dn,Cn=(Xr?dn:an.currentTime)+Vr;if(Cn>=0&&(!Kr||Xr||Cn<=Kr.duration)){an.currentTime=Cn;return}}}if(fr){let Kr=he;if(Ee!=="primary"){const dn=fr[Ee].start,Vr=he-dn;Kr=fr.start+Vr}const an=!t.isInterstitial(fr);if((!t.isInterstitial(st)||st.event.appendInPlace)&&(an||fr.event.appendInPlace)){const dn=t.media||(Xr?ar==null?void 0:ar.media:null);dn&&(dn.currentTime=Kr)}else if(st){const dn=t.findItemIndex(st);if(Ft>dn){const Cn=t.schedule.findJumpRestrictedIndex(dn+1,Ft);if(Cn>dn){t.setSchedulePosition(Cn);return}}let Vr=0;if(an)t.timelinePos=Kr,t.checkBuffer();else{const Cn=fr.event.assetList,wi=he-(fr[Ee]||fr).start;for(let qi=Cn.length;qi--;){const ma=Cn[qi];if(ma.duration&&wi>=ma.startOffset&&wi<ma.startOffset+ma.duration){Vr=qi;break}}}t.setSchedulePosition(Ft,Vr)}}},V=()=>{const he=t.effectivePlayingItem;if(t.isInterstitial(he))return he;const Ee=n();return t.isInterstitial(Ee)?Ee:null},ue={get bufferedEnd(){const he=n(),Ee=t.bufferingItem;if(Ee&&Ee===he){var Re;return _(Ee,"playout",t.bufferingAsset,"bufferedPos","bufferedEnd")-Ee.playout.start||((Re=t.bufferingAsset)==null?void 0:Re.startOffset)||0}return 0},get currentTime(){const he=V(),Ee=t.effectivePlayingItem;return Ee&&Ee===he?_(Ee,"playout",t.effectivePlayingAsset,"timelinePos","currentTime")-Ee.playout.start:0},set currentTime(he){const Ee=V(),Re=t.effectivePlayingItem;Re&&Re===Ee&&Y(he+Re.playout.start,"playout")},get duration(){const he=V();return he?he.playout.end-he.playout.start:0},get assetPlayers(){var he;const Ee=(he=V())==null?void 0:he.event.assetList;return Ee?Ee.map(Re=>t.getAssetPlayer(Re.identifier)):[]},get playingIndex(){var he;const Ee=(he=V())==null?void 0:he.event;return Ee&&t.effectivePlayingAsset?Ee.findAssetIndex(t.effectivePlayingAsset):-1},get scheduleItem(){return V()}};return this.manager={get events(){var he;return((he=t.schedule)==null||(he=he.events)==null?void 0:he.slice(0))||[]},get schedule(){var he;return((he=t.schedule)==null||(he=he.items)==null?void 0:he.slice(0))||[]},get interstitialPlayer(){return V()?ue:null},get playerQueue(){return t.playerQueue.slice(0)},get bufferingAsset(){return t.bufferingAsset},get bufferingItem(){return n()},get bufferingIndex(){const he=n();return t.findItemIndex(he)},get playingAsset(){return t.effectivePlayingAsset},get playingItem(){return t.effectivePlayingItem},get playingIndex(){const he=t.effectivePlayingItem;return t.findItemIndex(he)},primary:{get bufferedEnd(){return I()},get currentTime(){const he=t.timelinePos;return he>0?he:0},set currentTime(he){Y(he,"primary")},get duration(){return j("primary")},get seekableStart(){var he;return((he=t.primaryDetails)==null?void 0:he.fragmentStart)||0}},integrated:{get bufferedEnd(){return _(n(),"integrated",t.bufferingAsset,"bufferedPos","bufferedEnd")},get currentTime(){return _(t.effectivePlayingItem,"integrated",t.effectivePlayingAsset,"timelinePos","currentTime")},set currentTime(he){Y(he,"integrated")},get duration(){return j("integrated")},get seekableStart(){var he;return E(((he=t.primaryDetails)==null?void 0:he.fragmentStart)||0,"integrated")}},skip:()=>{const he=t.effectivePlayingItem,Ee=he==null?void 0:he.event;if(Ee&&!Ee.restrictions.skip){const Re=t.findItemIndex(he);if(Ee.appendInPlace){const Fe=he.playout.start+he.event.duration;Y(Fe+.001,"playout")}else t.advanceAfterAssetEnded(Ee,Re,1/0)}}}}get effectivePlayingItem(){return this.waitingItem||this.playingItem||this.endedItem}get effectivePlayingAsset(){return this.playingAsset||this.endedAsset}get playingLastItem(){var t;const n=this.playingItem,s=(t=this.schedule)==null?void 0:t.items;return!this.playbackStarted||!n||!s?!1:this.findItemIndex(n)===s.length-1}get playbackStarted(){return this.effectivePlayingItem!==null}get currentTime(){var t,n;if(this.mediaSelection===null)return;const s=this.waitingItem||this.playingItem;if(this.isInterstitial(s)&&!s.event.appendInPlace)return;let _=this.media;!_&&(t=this.bufferingItem)!=null&&(t=t.event)!=null&&t.appendInPlace&&(_=this.primaryMedia);const E=(n=_)==null?void 0:n.currentTime;if(!(E===void 0||!r(E)))return E}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,_=t.media;if(s&&_===this.primaryMedia){if(this.bufferingAsset=null,(!n||this.isInterstitial(n)&&!n.event.appendInPlace)&&n&&_){this.detachedData={media:_};return}const E=t.transferMedia();this.log(`transfer MediaSource from ${t} ${ui(E)}`),this.detachedData=E}else n&&_&&(this.shouldPlay||(this.shouldPlay=!_.paused))}transferMediaTo(t,n){var s,_;if(t.media===n)return;let E=null;const I=this.hls,j=t!==I,Y=j&&t.interstitial.appendInPlace,V=(s=this.detachedData)==null?void 0:s.mediaSource;let ue;if(I.media)Y&&(E=I.transferMedia(),this.detachedData=E),ue="Primary";else if(V){const Fe=this.getBufferingPlayer();Fe?(E=Fe.transferMedia(),ue=`${Fe}`):ue="detached MediaSource"}else ue="detached media";if(!E){if(V)E=this.detachedData,this.log(`using detachedData: MediaSource ${ui(E)}`);else if(!this.detachedData||I.media===n){const Fe=this.playerQueue;Fe.length>1&&Fe.forEach(ft=>{if(j&&ft.interstitial.appendInPlace!==Y){const st=ft.interstitial;this.clearInterstitial(ft.interstitial,null),st.appendInPlace=!1,st.appendInPlace&&this.warn(`Could not change append strategy for queued assets ${st}`)}}),this.hls.detachMedia(),this.detachedData={media:n}}}const he=E&&"mediaSource"in E&&((_=E.mediaSource)==null?void 0:_.readyState)!=="closed",Ee=he&&E?E:n;this.log(`${he?"transfering MediaSource":"attaching media"} to ${j?t:"Primary"} from ${ue} (media.currentTime: ${n.currentTime})`);const Re=this.schedule;if(Ee===E&&Re){const Fe=j&&t.assetId===Re.assetIdAtEnd;Ee.overrides={duration:Re.duration,endOfStream:!j||Fe,cueRemoval:!j}}t.attachMedia(Ee)}onInterstitialCueEnter(){this.onTimeupdate()}checkStart(){const t=this.schedule,n=t==null?void 0:t.events;if(!n||this.playbackDisabled||!this.media)return;this.bufferedPos===-1&&(this.bufferedPos=0);const s=this.timelinePos,_=this.effectivePlayingItem;if(s===-1){const E=this.hls.startPosition;if(this.log(so("checkStart",E)),this.timelinePos=E,n.length&&n[0].cue.pre){const I=t.findEventIndex(n[0].identifier);this.setSchedulePosition(I)}else if(E>=0||!this.primaryLive){const I=this.timelinePos=E>0?E:0,j=t.findItemIndexAtTime(I);this.setSchedulePosition(j)}}else if(_&&!this.playingItem){const E=t.findItemIndex(_);this.setSchedulePosition(E)}}advanceAssetBuffering(t,n){const s=t.event,_=s.findAssetIndex(n),E=gc(s,_);if(!s.isAssetPastPlayoutLimit(E))this.bufferedToEvent(t,E);else if(this.schedule){var I;const j=(I=this.schedule.items)==null?void 0:I[this.findItemIndex(t)+1];j&&this.bufferedToItem(j)}}advanceAfterAssetEnded(t,n,s){const _=gc(t,s);if(t.isAssetPastPlayoutLimit(_)){if(this.schedule){const E=this.schedule.items;if(E){const I=n+1,j=E.length;if(I>=j){this.setSchedulePosition(-1);return}const Y=t.resumeTime;this.timelinePos<Y&&(this.log(so("advanceAfterAssetEnded",Y)),this.timelinePos=Y,t.appendInPlace&&this.advanceInPlace(Y),this.checkBuffer(this.bufferedPos<Y)),this.setSchedulePosition(I)}}}else{if(t.appendInPlace){const E=t.assetList[_];E&&this.advanceInPlace(E.timelineStart)}this.setSchedulePosition(n,_)}}setScheduleToAssetAtTime(t,n){const s=this.schedule;if(!s)return;const _=n.parentIdentifier,E=s.getEvent(_);if(E){const I=s.findEventIndex(_),j=s.findAssetIndex(E,t);this.advanceAfterAssetEnded(E,I,j-1)}}setSchedulePosition(t,n){var s;const _=(s=this.schedule)==null?void 0:s.items;if(!_||this.playbackDisabled)return;const E=t>=0?_[t]:null;this.log(`setSchedulePosition ${t}, ${n} (${E&&cu(E)}) pos: ${this.timelinePos}`);const I=this.waitingItem||this.playingItem,j=this.playingLastItem;if(this.isInterstitial(I)){const ue=I.event,he=this.playingAsset,Ee=he==null?void 0:he.identifier,Re=Ee?this.getAssetPlayer(Ee):null;if(Re&&Ee&&(!this.eventItemsMatch(I,E)||n!==void 0&&Ee!==ue.assetList[n].identifier)){var Y;const Fe=ue.findAssetIndex(he);if(this.log(`INTERSTITIAL_ASSET_ENDED ${Fe+1}/${ue.assetList.length} ${gl(he)}`),this.endedAsset=he,this.playingAsset=null,this.hls.trigger(o.INTERSTITIAL_ASSET_ENDED,{asset:he,assetListIndex:Fe,event:ue,schedule:_.slice(0),scheduleIndex:t,player:Re}),I!==this.playingItem){this.itemsMatch(I,this.playingItem)&&!this.playingAsset&&this.advanceAfterAssetEnded(ue,this.findItemIndex(this.playingItem),Fe);return}this.retreiveMediaSource(Ee,E),Re.media&&!((Y=this.detachedData)!=null&&Y.mediaSource)&&Re.detachMedia()}if(!this.eventItemsMatch(I,E)&&(this.endedItem=I,this.playingItem=null,this.log(`INTERSTITIAL_ENDED ${ue} ${cu(I)}`),ue.hasPlayed=!0,this.hls.trigger(o.INTERSTITIAL_ENDED,{event:ue,schedule:_.slice(0),scheduleIndex:t}),ue.cue.once)){var V;this.updateSchedule();const Fe=(V=this.schedule)==null?void 0:V.items;if(E&&Fe){const ft=this.findItemIndex(E);this.advanceSchedule(ft,Fe,n,I,j)}return}}this.advanceSchedule(t,_,n,I,j)}advanceSchedule(t,n,s,_,E){const I=this.schedule;if(!I)return;const j=n[t]||null,Y=this.primaryMedia,V=this.playerQueue;if(V.length&&V.forEach(ue=>{const he=ue.interstitial,Ee=I.findEventIndex(he.identifier);(Ee<t||Ee>t+1)&&this.clearInterstitial(he,j)}),this.isInterstitial(j)){this.timelinePos=Math.min(Math.max(this.timelinePos,j.start),j.end);const ue=j.event;if(s===void 0){s=I.findAssetIndex(ue,this.timelinePos);const Fe=gc(ue,s-1);if(ue.isAssetPastPlayoutLimit(Fe)||ue.appendInPlace&&this.timelinePos===j.end){this.advanceAfterAssetEnded(ue,t,s);return}s=Fe}const he=this.waitingItem;this.assetsBuffered(j,Y)||this.setBufferingItem(j);let Ee=this.preloadAssets(ue,s);if(this.eventItemsMatch(j,he||_)||(this.waitingItem=j,this.log(`INTERSTITIAL_STARTED ${cu(j)} ${ue.appendInPlace?"append in place":""}`),this.hls.trigger(o.INTERSTITIAL_STARTED,{event:ue,schedule:n.slice(0),scheduleIndex:t})),!ue.assetListLoaded){this.log(`Waiting for ASSET-LIST to complete loading ${ue}`);return}if(ue.assetListLoader&&(ue.assetListLoader.destroy(),ue.assetListLoader=void 0),!Y){this.log(`Waiting for attachMedia to start Interstitial ${ue}`);return}this.waitingItem=this.endedItem=null,this.playingItem=j;const Re=ue.assetList[s];if(!Re){this.advanceAfterAssetEnded(ue,t,s||0);return}if(Ee||(Ee=this.getAssetPlayer(Re.identifier)),Ee===null||Ee.destroyed){const Fe=ue.assetList.length;this.warn(`asset ${s+1}/${Fe} player destroyed ${ue}`),Ee=this.createAssetPlayer(ue,Re,s),Ee.loadSource()}if(!this.eventItemsMatch(j,this.bufferingItem)&&ue.appendInPlace&&this.isAssetBuffered(Re))return;this.startAssetPlayer(Ee,s,n,t,Y),this.shouldPlay&&Ko(Ee.media)}else j?(this.resumePrimary(j,t,_),this.shouldPlay&&Ko(this.hls.media)):E&&this.isInterstitial(_)&&(this.endedItem=null,this.playingItem=_,_.event.appendInPlace||this.attachPrimary(I.durations.primary,null))}get playbackDisabled(){return this.hls.config.enableInterstitialPlayback===!1}get primaryDetails(){var t;return(t=this.mediaSelection)==null?void 0:t.main.details}get primaryLive(){var t;return!!((t=this.primaryDetails)!=null&&t.live)}resumePrimary(t,n,s){var _,E;if(this.playingItem=t,this.playingAsset=this.endedAsset=null,this.waitingItem=this.endedItem=null,this.bufferedToItem(t),this.log(`resuming ${cu(t)}`),!((_=this.detachedData)!=null&&_.mediaSource)){let j=this.timelinePos;(j<t.start||j>=t.end)&&(j=this.getPrimaryResumption(t,n),this.log(so("resumePrimary",j)),this.timelinePos=j),this.attachPrimary(j,t)}if(!s)return;const I=(E=this.schedule)==null?void 0:E.items;I&&(this.log(`INTERSTITIALS_PRIMARY_RESUMED ${cu(t)}`),this.hls.trigger(o.INTERSTITIALS_PRIMARY_RESUMED,{schedule:I.slice(0),scheduleIndex:n}),this.checkBuffer())}getPrimaryResumption(t,n){const s=t.start;if(this.primaryLive){const _=this.primaryDetails;if(n===0)return this.hls.startPosition;if(_&&(s<_.fragmentStart||s>_.edge))return this.hls.liveSyncPosition||-1}return s}isAssetBuffered(t){const n=this.getAssetPlayer(t.identifier);return n!=null&&n.hls?n.hls.bufferedToEnd:Li.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 _=this.primaryMedia;if(!_)return;const E=this.hls;E.media?this.checkBuffer():(this.transferMediaTo(E,_),s&&this.startLoadingPrimaryAt(t,s)),s||(this.log(so("attachPrimary",t)),this.timelinePos=t,this.startLoadingPrimaryAt(t,s))}startLoadingPrimaryAt(t,n){var s;const _=this.hls;!_.loadingEnabled||!_.media||Math.abs((((s=_.mainForwardBufferInfo)==null?void 0:s.start)||_.media.currentTime)-t)>.5?_.startLoad(t,n):_.bufferingEnabled||_.resumeBuffering()}onManifestLoading(){var t;this.stopLoad(),(t=this.schedule)==null||t.reset(),this.emptyPlayerQueue(),this.clearScheduleState(),this.shouldPlay=!1,this.bufferedPos=this.timelinePos=-1,this.mediaSelection=this.altSelection=this.manager=this.requiredTracks=null,this.hls.off(o.BUFFER_CODECS,this.onBufferCodecs,this),this.hls.on(o.BUFFER_CODECS,this.onBufferCodecs,this)}onLevelUpdated(t,n){if(n.level===-1||!this.schedule)return;const s=this.hls.levels[n.level],_=b(b({},this.mediaSelection||this.altSelection),{},{main:s});this.mediaSelection=_,this.schedule.parseInterstitialDateRanges(_,this.hls.config.interstitialAppendInPlace),!this.effectivePlayingItem&&this.schedule.items&&this.checkStart()}onAudioTrackUpdated(t,n){const s=this.hls.audioTracks[n.id],_=this.mediaSelection;if(!_){this.altSelection=b(b({},this.altSelection),{},{audio:s});return}const E=b(b({},_),{},{audio:s});this.mediaSelection=E}onSubtitleTrackUpdated(t,n){const s=this.hls.subtitleTracks[n.id],_=this.mediaSelection;if(!_){this.altSelection=b(b({},this.altSelection),{},{subtitles:s});return}const E=b(b({},_),{},{subtitles:s});this.mediaSelection=E}onAudioTrackSwitching(t,n){const s=fi(n);this.playerQueue.forEach(({hls:_})=>_&&(_.setAudioOption(n)||_.setAudioOption(s)))}onSubtitleTrackSwitch(t,n){const s=fi(n);this.playerQueue.forEach(({hls:_})=>_&&(_.setSubtitleOption(n)||n.id!==-1&&_.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 _=this.timelinePos;this.bufferedPos=_,this.checkBuffer()}}onBufferedToEnd(t){if(!this.schedule)return;const n=this.schedule.events;if(this.bufferedPos<Number.MAX_VALUE&&n){for(let _=0;_<n.length;_++){const E=n[_];if(E.cue.post){var s;const I=this.schedule.findEventIndex(E.identifier),j=(s=this.schedule.items)==null?void 0:s[I];this.isInterstitial(j)&&this.eventItemsMatch(j,this.bufferingItem)&&this.bufferedToItem(j,0);break}}this.bufferedPos=Number.MAX_VALUE}}onMediaEnded(t){const n=this.playingItem;if(!this.playingLastItem&&n){const s=this.findItemIndex(n);this.setSchedulePosition(s+1)}else this.shouldPlay=!1}updateItem(t,n){var s;const _=(s=this.schedule)==null?void 0:s.items;if(t&&_){const E=this.findItemIndex(t,n);return _[E]||null}return null}trimInPlace(t,n){if(this.isInterstitial(t)&&t.event.appendInPlace&&n.end-t.end>.25){t.event.assetList.forEach((E,I)=>{t.event.isAssetPastPlayoutLimit(I)&&this.clearAssetPlayer(E.identifier,null)});const s=t.end+.25,_=Li.bufferInfo(this.primaryMedia,s,0);(_.end>s||(_.nextStart||0)>s)&&(this.log(`trim buffered interstitial ${cu(t)} (was ${cu(n)})`),this.attachPrimary(s,null,!0),this.flushFrontBuffer(s))}}itemsMatch(t,n){return!!n&&(t===n||t.event&&n.event&&this.eventItemsMatch(t,n)||!t.event&&!n.event&&this.findItemIndex(t)===this.findItemIndex(n))}eventItemsMatch(t,n){var s;return!!n&&(t===n||t.event.identifier===((s=n.event)==null?void 0:s.identifier))}findItemIndex(t,n){return t&&this.schedule?this.schedule.findItemIndex(t,n):-1}updateSchedule(t=!1){var n;const s=this.mediaSelection;s&&((n=this.schedule)==null||n.updateSchedule(s,[],t))}checkBuffer(t){var n;const s=(n=this.schedule)==null?void 0:n.items;if(!s)return;const _=Li.bufferInfo(this.primaryMedia,this.timelinePos,0);t&&(this.bufferedPos=this.timelinePos),t||(t=_.len<1),this.updateBufferedPos(_.end,s,t)}updateBufferedPos(t,n,s){const _=this.schedule,E=this.bufferingItem;if(this.bufferedPos>t||!_)return;if(n.length===1&&this.itemsMatch(n[0],E)){this.bufferedPos=t;return}const I=this.playingItem,j=this.findItemIndex(I);let Y=_.findItemIndexAtTime(t);if(this.bufferedPos<t){var V;const ue=this.findItemIndex(E),he=Math.min(ue+1,n.length-1),Ee=n[he];if((Y===-1&&E&&t>=E.end||(V=Ee.event)!=null&&V.appendInPlace&&t+.01>=Ee.start)&&(Y=he),this.isInterstitial(E)){const Re=E.event;if(he-j>1&&Re.appendInPlace===!1||Re.assetList.length===0&&Re.assetListLoader)return}if(this.bufferedPos=t,Y>ue&&Y>j)this.bufferedToItem(Ee);else{const Re=this.primaryDetails;this.primaryLive&&Re&&t>Re.edge-Re.targetduration&&Ee.start<Re.edge+this.hls.config.interstitialLiveLookAhead&&this.isInterstitial(Ee)&&this.preloadAssets(Ee.event,0)}}else s&&I&&!this.itemsMatch(I,E)&&(Y===j?this.bufferedToItem(I):Y===j+1&&this.bufferedToItem(n[Y]))}assetsBuffered(t,n){return t.event.assetList.length===0?!1:!t.event.assetList.some(_=>{const E=this.getAssetPlayer(_.identifier);return!(E!=null&&E.bufferedInPlaceToEnd(n))})}setBufferingItem(t){const n=this.bufferingItem,s=this.schedule;if(!this.itemsMatch(t,n)&&s){const{items:_,events:E}=s;if(!_||!E)return n;const I=this.isInterstitial(t),j=this.getBufferingPlayer();this.bufferingItem=t,this.bufferedPos=Math.max(t.start,Math.min(t.end,this.timelinePos));const Y=j?j.remaining:n?n.end-this.timelinePos:0;if(this.log(`INTERSTITIALS_BUFFERED_TO_BOUNDARY ${cu(t)}`+(n?` (${Y.toFixed(2)} remaining)`:"")),!this.playbackDisabled)if(I){const V=s.findAssetIndex(t.event,this.bufferedPos);t.event.assetList.forEach((ue,he)=>{const Ee=this.getAssetPlayer(ue.identifier);Ee&&(he===V&&Ee.loadSource(),Ee.resumeBuffering())})}else this.hls.resumeBuffering(),this.playerQueue.forEach(V=>V.pauseBuffering());this.hls.trigger(o.INTERSTITIALS_BUFFERED_TO_BOUNDARY,{events:E.slice(0),schedule:_.slice(0),bufferingIndex:this.findItemIndex(t),playingIndex:this.findItemIndex(this.playingItem)})}else this.bufferingItem!==t&&(this.bufferingItem=t);return n}bufferedToItem(t,n=0){const s=this.setBufferingItem(t);if(!this.playbackDisabled){if(this.isInterstitial(t))this.bufferedToEvent(t,n);else if(s!==null){this.bufferingAsset=null;const _=this.detachedData;_?_.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,_=s.assetList.length===0&&!s.assetListLoader,E=s.cue.once;if(_||!E){const I=this.preloadAssets(s,n);if(I!=null&&I.interstitial.appendInPlace){const j=this.primaryMedia;j&&this.bufferAssetPlayer(I,j)}}}preloadAssets(t,n){const s=t.assetUrl,_=t.assetList.length,E=_===0&&!t.assetListLoader,I=t.cue.once;if(E){const Y=t.timelineStart;if(t.appendInPlace){var j;const Ee=this.playingItem;!this.isInterstitial(Ee)&&(Ee==null||(j=Ee.nextEvent)==null?void 0:j.identifier)===t.identifier&&this.flushFrontBuffer(Y+.25)}let V,ue=0;if(!this.playingItem&&this.primaryLive&&(ue=this.hls.startPosition,ue===-1&&(ue=this.hls.liveSyncPosition||0)),ue&&!(t.cue.pre||t.cue.post)){const Ee=ue-Y;Ee>0&&(V=Math.round(Ee*1e3)/1e3)}if(this.log(`Load interstitial asset ${n+1}/${s?1:_} ${t}${V?` live-start: ${ue} start-offset: ${V}`:""}`),s)return this.createAsset(t,0,0,Y,t.duration,s);const he=this.assetListLoader.loadAssetList(t,V);he&&(t.assetListLoader=he)}else if(!I&&_){for(let V=n;V<_;V++){const ue=t.assetList[V],he=this.getAssetPlayerQueueIndex(ue.identifier);(he===-1||this.playerQueue[he].destroyed)&&!ue.error&&this.createAssetPlayer(t,ue,V)}const Y=t.assetList[n];if(Y){const V=this.getAssetPlayer(Y.identifier);return V&&V.loadSource(),V}}return null}flushFrontBuffer(t){const n=this.requiredTracks;if(!n)return;this.log(`Removing front buffer starting at ${t}`),Object.keys(n).forEach(_=>{this.hls.trigger(o.BUFFER_FLUSHING,{startOffset:t,endOffset:1/0,type:_})})}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,_,E,I){const j={parentIdentifier:t.identifier,identifier:Go(t,I,n),duration:E,startOffset:s,timelineStart:_,uri:I};return this.createAssetPlayer(t,j,n)}createAssetPlayer(t,n,s){const _=this.hls,E=_.userConfig;let I=E.videoPreference;const j=_.loadLevelObj||_.levels[_.currentLevel];(I||j)&&(I=y({},I),j.videoCodec&&(I.videoCodec=j.videoCodec),j.videoRange&&(I.allowedVideoRanges=[j.videoRange]));const Y=_.audioTracks[_.audioTrack],V=_.subtitleTracks[_.subtitleTrack];let ue=0;if(this.primaryLive||t.appendInPlace){const $r=this.timelinePos-n.timelineStart;if($r>1){const Xr=n.duration;Xr&&$r<Xr&&(ue=$r)}}const he=n.identifier,Ee=b(b({},E),{},{maxMaxBufferLength:Math.min(180,_.config.maxMaxBufferLength),autoStartLoad:!0,startFragPrefetch:!0,primarySessionId:_.sessionId,assetPlayerId:he,abrEwmaDefaultEstimate:_.bandwidthEstimate,interstitialsController:void 0,startPosition:ue,liveDurationInfinity:!1,testBandwidth:!1,videoPreference:I,audioPreference:Y||E.audioPreference,subtitlePreference:V||E.subtitlePreference});t.appendInPlace&&(t.appendInPlaceStarted=!0,n.timelineStart&&(Ee.timelineOffset=n.timelineStart));const Re=Ee.cmcd;Re!=null&&Re.sessionId&&Re.contentId&&(Ee.cmcd=y({},Re,{contentId:Fi(n.uri)})),this.getAssetPlayer(he)&&this.warn(`Duplicate date range identifier ${t} and asset ${he}`);const Fe=new nf(this.HlsPlayerClass,Ee,t,n);this.playerQueue.push(Fe),t.assetList[s]=n;let ft=!0;const st=$r=>{if($r.live){var Xr;const an=new Error(`Interstitials MUST be VOD assets ${t}`),dn={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:an},Vr=((Xr=this.schedule)==null?void 0:Xr.findEventIndex(t.identifier))||-1;this.handleAssetItemError(dn,t,Vr,s,an.message);return}const gn=$r.edge-$r.fragmentStart,Kr=n.duration;(ft||Kr===null||gn>Kr)&&(ft=!1,this.log(`Interstitial asset "${he}" duration change ${Kr} > ${gn}`),n.duration=gn,this.updateSchedule())};Fe.on(o.LEVEL_UPDATED,($r,{details:Xr})=>st(Xr)),Fe.on(o.LEVEL_PTS_UPDATED,($r,{details:Xr})=>st(Xr)),Fe.on(o.EVENT_CUE_ENTER,()=>this.onInterstitialCueEnter());const Ft=($r,Xr)=>{const gn=this.getAssetPlayer(he);if(gn&&Xr.tracks){gn.off(o.BUFFER_CODECS,Ft),gn.tracks=Xr.tracks;const Kr=this.primaryMedia;this.bufferingAsset===gn.assetItem&&Kr&&!gn.media&&this.bufferAssetPlayer(gn,Kr)}};Fe.on(o.BUFFER_CODECS,Ft);const fr=()=>{var $r;const Xr=this.getAssetPlayer(he);if(this.log(`buffered to end of asset ${Xr}`),!Xr||!this.schedule)return;const gn=this.schedule.findEventIndex(t.identifier),Kr=($r=this.schedule.items)==null?void 0:$r[gn];this.isInterstitial(Kr)&&this.advanceAssetBuffering(Kr,n)};Fe.on(o.BUFFERED_TO_END,fr);const ar=$r=>()=>{if(!this.getAssetPlayer(he)||!this.schedule)return;this.shouldPlay=!0;const gn=this.schedule.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,gn,$r)};return Fe.once(o.MEDIA_ENDED,ar(s)),Fe.once(o.PLAYOUT_LIMIT_REACHED,ar(1/0)),Fe.on(o.ERROR,($r,Xr)=>{if(!this.schedule)return;const gn=this.getAssetPlayer(he);if(Xr.details===f.BUFFER_STALLED_ERROR){if(gn!=null&&gn.appendInPlace){this.handleInPlaceStall(t);return}this.onTimeupdate(),this.checkBuffer(!0);return}this.handleAssetItemError(Xr,t,this.schedule.findEventIndex(t.identifier),s,`Asset player error ${Xr.error} ${t}`)}),Fe.on(o.DESTROYING,()=>{if(!this.getAssetPlayer(he)||!this.schedule)return;const Xr=new Error(`Asset player destroyed unexpectedly ${he}`),gn={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Xr};this.handleAssetItemError(gn,t,this.schedule.findEventIndex(t.identifier),s,Xr.message)}),this.log(`INTERSTITIAL_ASSET_PLAYER_CREATED ${gl(n)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_PLAYER_CREATED,{asset:n,assetListIndex:s,event:t,player:Fe}),Fe}clearInterstitial(t,n){t.assetList.forEach(s=>{this.clearAssetPlayer(s.identifier,n)}),t.reset()}resetAssetPlayer(t){const n=this.getAssetPlayerQueueIndex(t);if(n!==-1){this.log(`reset asset player "${t}" after error`);const s=this.playerQueue[n];this.transferMediaFromPlayer(s,null),s.resetDetails()}}clearAssetPlayer(t,n){const s=this.getAssetPlayerQueueIndex(t);if(s!==-1){const _=this.playerQueue[s];this.log(`clear ${_} toSegment: ${n&&cu(n)}`),this.transferMediaFromPlayer(_,n),this.playerQueue.splice(s,1),_.destroy()}}emptyPlayerQueue(){let t;for(;t=this.playerQueue.pop();)t.destroy();this.playerQueue=[]}startAssetPlayer(t,n,s,_,E){const{interstitial:I,assetItem:j,assetId:Y}=t,V=I.assetList.length,ue=this.playingAsset;this.endedAsset=null,this.playingAsset=j,(!ue||ue.identifier!==Y)&&(ue&&(this.clearAssetPlayer(ue.identifier,s[_]),delete ue.error),this.log(`INTERSTITIAL_ASSET_STARTED ${n+1}/${V} ${gl(j)}`),this.hls.trigger(o.INTERSTITIAL_ASSET_STARTED,{asset:j,assetListIndex:n,event:I,schedule:s.slice(0),scheduleIndex:_,player:t})),this.bufferAssetPlayer(t,E)}bufferAssetPlayer(t,n){var s,_;if(!this.schedule)return;const{interstitial:E,assetItem:I}=t,j=this.schedule.findEventIndex(E.identifier),Y=(s=this.schedule.items)==null?void 0:s[j];if(!Y)return;t.loadSource(),this.setBufferingItem(Y),this.bufferingAsset=I;const V=this.getBufferingPlayer();if(V===t)return;const ue=E.appendInPlace;if(ue&&(V==null?void 0:V.interstitial.appendInPlace)===!1)return;const he=(V==null?void 0:V.tracks)||((_=this.detachedData)==null?void 0:_.tracks)||this.requiredTracks;if(ue&&I!==this.playingAsset){if(!t.tracks){this.log(`Waiting for track info before buffering ${t}`);return}if(he&&!oe(he,t.tracks)){const Ee=new Error(`Asset ${gl(I)} SourceBuffer tracks ('${Object.keys(t.tracks)}') are not compatible with primary content tracks ('${Object.keys(he)}')`),Re={fatal:!0,type:c.OTHER_ERROR,details:f.INTERSTITIAL_ASSET_ITEM_ERROR,error:Ee},Fe=E.findAssetIndex(I);this.handleAssetItemError(Re,E,j,Fe,Ee.message);return}}this.transferMediaTo(t,n)}handleInPlaceStall(t){const n=this.schedule,s=this.primaryMedia;if(!n||!s)return;const _=s.currentTime,E=n.findAssetIndex(t,_),I=t.assetList[E];if(I){const j=this.getAssetPlayer(I.identifier);if(j){const Y=j.currentTime||_-I.timelineStart,V=j.duration-Y;if(this.warn(`Stalled at ${Y} of ${Y+V} in ${j} ${t} (media.currentTime: ${_})`),Y&&(V/s.playbackRate<.5||j.bufferedInPlaceToEnd(s))&&j.hls){const ue=n.findEventIndex(t.identifier);this.advanceAfterAssetEnded(t,ue,E)}}}}advanceInPlace(t){const n=this.primaryMedia;n&&n.currentTime<t&&(n.currentTime=t)}handleAssetItemError(t,n,s,_,E){if(t.details===f.BUFFER_STALLED_ERROR)return;const I=n.assetList[_]||null;if(this.warn(`INTERSTITIAL_ASSET_ERROR ${I&&gl(I)} ${t.error}`),!this.schedule)return;const j=(I==null?void 0:I.identifier)||"",Y=this.getAssetPlayerQueueIndex(j),V=this.playerQueue[Y]||null,ue=this.schedule.items,he=y({},t,{fatal:!1,errorAction:Pr(!0),asset:I,assetListIndex:_,event:n,schedule:ue,scheduleIndex:s,player:V});if(this.hls.trigger(o.INTERSTITIAL_ASSET_ERROR,he),!t.fatal)return;const Ee=this.playingAsset,Re=this.bufferingAsset,Fe=new Error(E);if(I&&(this.clearAssetPlayer(j,null),I.error=Fe),!n.assetList.some(ft=>!ft.error))n.error=Fe;else for(let ft=_;ft<n.assetList.length;ft++)this.resetAssetPlayer(n.assetList[ft].identifier);this.updateSchedule(!0),n.error?this.primaryFallback(n):Ee&&Ee.identifier===j?this.advanceAfterAssetEnded(n,s,_):Re&&Re.identifier===j&&this.isInterstitial(this.bufferingItem)&&this.advanceAssetBuffering(this.bufferingItem,Re)}primaryFallback(t){const n=t.timelineStart,s=this.effectivePlayingItem;if(s){this.log(`Fallback to primary from event "${t.identifier}" start: ${n} pos: ${this.timelinePos} playing: ${cu(s)} error: ${t.error}`);let _=this.timelinePos;_===-1&&(_=this.hls.startPosition);const E=this.updateItem(s,_);if(this.itemsMatch(s,E)&&this.clearInterstitial(t,null),t.appendInPlace&&(this.attachPrimary(n,null),this.flushFrontBuffer(n)),!this.schedule)return;const I=this.schedule.findItemIndexAtTime(_);this.setSchedulePosition(I)}else this.checkStart()}onAssetListLoaded(t,n){var s,_;const E=n.event,I=E.identifier,j=n.assetListResponse.ASSETS;if(!((s=this.schedule)!=null&&s.hasEvent(I)))return;const Y=E.timelineStart,V=E.duration;let ue=0;j.forEach((ft,st)=>{const Ft=parseFloat(ft.DURATION);this.createAsset(E,st,ue,Y+ue,Ft,ft.URI),ue+=Ft}),E.duration=ue,this.log(`Loaded asset-list with duration: ${ue} (was: ${V}) ${E}`);const he=this.waitingItem,Ee=(he==null?void 0:he.event.identifier)===I;this.updateSchedule();const Re=(_=this.bufferingItem)==null?void 0:_.event;if(Ee){var Fe;const ft=this.schedule.findEventIndex(I),st=(Fe=this.schedule.items)==null?void 0:Fe[ft];if(st){if(!this.playingItem&&this.timelinePos>st.end&&this.schedule.findItemIndexAtTime(this.timelinePos)!==ft){E.error=new Error(`Interstitial no longer within playback range ${this.timelinePos} ${E}`),this.updateSchedule(!0),this.primaryFallback(E);return}this.setBufferingItem(st)}this.setSchedulePosition(ft)}else if((Re==null?void 0:Re.identifier)===I){const ft=E.assetList[0];if(ft){const st=this.getAssetPlayer(ft.identifier);if(Re.appendInPlace){const Ft=this.primaryMedia;st&&Ft&&this.bufferAssetPlayer(st,Ft)}else st&&st.loadSource()}}}onError(t,n){if(this.schedule)switch(n.details){case f.ASSET_LIST_PARSING_ERROR:case f.ASSET_LIST_LOAD_ERROR:case f.ASSET_LIST_LOAD_TIMEOUT:{const s=n.interstitial;s&&(this.updateSchedule(!0),this.primaryFallback(s));break}case f.BUFFER_STALLED_ERROR:{const s=this.endedItem||this.waitingItem||this.playingItem;if(this.isInterstitial(s)&&s.event.appendInPlace){this.handleInPlaceStall(s.event);return}this.log(`Primary player stall @${this.timelinePos} bufferedPos: ${this.bufferedPos}`),this.onTimeupdate(),this.checkBuffer(!0);break}}}}const Cl=500;class Ql extends Wa{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=cn.IDLE,this.setInterval(Cl),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:_}=n;if(this.fragContextChanged(s)||(Pe(s)&&(this.fragPrevious=s),this.state=cn.IDLE),!_)return;const E=this.tracksBuffered[this.currentTrackId];if(!E)return;let I;const j=s.start;for(let V=0;V<E.length;V++)if(j>=E[V].start&&j<=E[V].end){I=E[V];break}const Y=s.start+s.duration;I?I.end=Y:(I={start:j,end:Y},E.push(I)),this.fragmentTracker.fragBuffered(s),this.fragBufferedComplete(s,null),this.media&&this.tick()}onBufferFlushing(t,n){const{startOffset:s,endOffset:_}=n;if(s===0&&_!==Number.POSITIVE_INFINITY){const E=_-1;if(E<=0)return;n.endOffsetSubtitles=Math.max(0,E),this.tracksBuffered.forEach(I=>{for(let j=0;j<I.length;){if(I[j].end<=E){I.shift();continue}else if(I[j].start<E)I[j].start=E;else break;j++}}),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!==cn.STOPPED&&(this.state=cn.IDLE))}onSubtitleTracksUpdated(t,{subtitleTracks:n}){if(this.levels&&Tc(this.levels,n)){this.levels=n.map(s=>new vn(s));return}this.tracksBuffered=[],this.levels=n.map(s=>{const _=new vn(s);return this.tracksBuffered[_.id]=[],_}),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 _=this.levels[this.currentTrackId];_!=null&&_.details?this.mediaBuffer=this.mediaBufferTimeRanges:this.mediaBuffer=null,_&&this.state!==cn.STOPPED&&this.setInterval(Cl)}onSubtitleTrackLoaded(t,n){var s;const{currentTrackId:_,levels:E}=this,{details:I,id:j}=n;if(!E){this.warn(`Subtitle tracks were reset while loading level ${j}`);return}const Y=E[j];if(j>=E.length||!Y)return;this.log(`Subtitle track ${j} loaded [${I.startSN},${I.endSN}]${I.lastPartSn?`[part-${I.lastPartSn}-${I.lastPartIndex}]`:""},duration:${I.totalduration}`),this.mediaBuffer=this.mediaBufferTimeRanges;let V=0;if(I.live||(s=Y.details)!=null&&s.live){if(I.deltaUpdateFailed)return;const he=this.mainDetails;if(!he){this.startFragRequested=!1;return}const Ee=he.fragments[0];if(!Y.details)I.hasProgramDateTime&&he.hasProgramDateTime?(Rs(I,he),V=I.fragmentStart):Ee&&(V=Ee.start,Mr(I,V));else{var ue;V=this.alignPlaylists(I,Y.details,(ue=this.levelLastLoaded)==null?void 0:ue.details),V===0&&Ee&&(V=Ee.start,Mr(I,V))}he&&!this.startFragRequested&&this.setStartPosition(he,V)}Y.details=I,this.levelLastLoaded=Y,j===_&&(this.hls.trigger(o.SUBTITLE_TRACK_UPDATED,{details:I,id:j,groupId:n.groupId}),this.tick(),I.live&&!this.fragCurrent&&this.media&&this.state===cn.IDLE&&(dt(null,I.fragments,this.media.currentTime,0)||(this.warn("Subtitle playlist not aligned with playback"),Y.details=void 0)))}_handleFragmentLoadComplete(t){const{frag:n,payload:s}=t,_=n.decryptdata,E=this.hls;if(!this.fragContextChanged(n)&&s&&s.byteLength>0&&_!=null&&_.key&&_.iv&&po(_.method)){const I=performance.now();this.decrypter.decrypt(new Uint8Array(s),_.key.buffer,_.iv.buffer,Fo(_.method)).catch(j=>{throw E.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.FRAG_DECRYPT_ERROR,fatal:!1,error:j,reason:j.message,frag:n}),j}).then(j=>{const Y=performance.now();E.trigger(o.FRAG_DECRYPTED,{frag:n,payload:j,stats:{tstart:I,tdecrypt:Y}})}).catch(j=>{this.warn(`${j.name}: ${j.message}`),this.state=cn.IDLE})}}doTick(){if(!this.media){this.state=cn.IDLE;return}if(this.state===cn.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:_}=this,E=this.getLoadPosition(),I=Li.bufferedInfo(this.tracksBuffered[this.currentTrackId]||[],E,_.maxBufferHole),{end:j,len:Y}=I,V=s.details,ue=this.hls.maxBufferLength+V.levelTargetDuration;if(Y>ue)return;const he=V.fragments,Ee=he.length,Re=V.edge;let Fe=null;const ft=this.fragPrevious;if(j<Re){const fr=_.maxFragLookUpTolerance,ar=j>Re-fr?0:fr;Fe=dt(ft,he,Math.max(he[0].start,j),ar),!Fe&&ft&&ft.start<he[0].start&&(Fe=he[0])}else Fe=he[Ee-1];if(Fe=this.filterReplacedPrimary(Fe,s.details),!Fe)return;const st=Fe.sn-V.startSN,Ft=he[st-1];if(Ft&&Ft.cc===Fe.cc&&this.fragmentTracker.getState(Ft)===Rr.NOT_LOADED&&(Fe=Ft),this.fragmentTracker.getState(Fe)===Rr.NOT_LOADED){const fr=this.mapToInitFragWhenRequired(Fe);fr&&this.loadFragment(fr,s,j)}}}loadFragment(t,n,s){Pe(t)?super.loadFragment(t,n,s):this._loadInitSegment(t,n)}get mediaBufferTimeRanges(){return new $c(this.tracksBuffered[this.currentTrackId]||[])}}class $c{constructor(t){this.buffered=void 0;const n=(s,_,E)=>{if(_=_>>>0,_>E-1)throw new DOMException(`Failed to execute '${s}' on 'TimeRanges': The index provided (${_}) is greater than the maximum bound (${E})`);return t[_][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 jl={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},Pl=O=>String.fromCharCode(jl[O]||O),Ru=15,Yu=100,Ul={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},wf={17:2,18:4,21:6,22:8,23:10,19:13,20:15},jc={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},Sf={25:2,26:4,29:6,30:8,31:10,27:13,28:15},Lu=["white","green","blue","cyan","red","yellow","magenta","black","transparent"];class Il{constructor(){this.time=null,this.verboseLevel=0}log(t,n){if(this.verboseLevel>=t){const s=typeof n=="function"?n():n;H.log(`${this.time} [${t}] ${s}`)}}}const Mu=function(t){const n=[];for(let s=0;s<t.length;s++)n.push(t[s].toString(16));return n};class yc{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 _=n[s];t.hasOwnProperty(_)&&(this[_]=t[_])}}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 Xu{constructor(){this.uchar=" ",this.penState=new yc}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 Uc{constructor(t){this.chars=[],this.pos=0,this.currPenState=new yc,this.cueStartTime=null,this.logger=void 0;for(let n=0;n<Yu;n++)this.chars.push(new Xu);this.logger=t}equals(t){for(let n=0;n<Yu;n++)if(!this.chars[n].equals(t.chars[n]))return!1;return!0}copy(t){for(let n=0;n<Yu;n++)this.chars[n].copy(t.chars[n])}isEmpty(){let t=!0;for(let n=0;n<Yu;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>Yu&&(this.logger.log(3,"Too large cursor position "+this.pos),this.pos=Yu)}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=Pl(t);if(this.pos>=Yu){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<Yu;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<Yu;s++){const _=this.chars[s].uchar;_!==" "&&(n=!1),t.push(_)}return n?"":t.join("")}setPenStyles(t){this.currPenState.setStyles(t),this.chars[this.pos].setPenState(this.currPenState)}}class Dl{constructor(t){this.rows=[],this.currRow=Ru-1,this.nrRollUpRows=null,this.lastOutputScreen=null,this.logger=void 0;for(let n=0;n<Ru;n++)this.rows.push(new Uc(t));this.logger=t}reset(){for(let t=0;t<Ru;t++)this.rows[t].clear();this.currRow=Ru-1}equals(t){let n=!0;for(let s=0;s<Ru;s++)if(!this.rows[s].equals(t.rows[s])){n=!1;break}return n}copy(t){for(let n=0;n<Ru;n++)this.rows[n].copy(t.rows[n])}isEmpty(){let t=!0;for(let n=0;n<Ru;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 = "+ui(t));let n=t.row-1;if(this.nrRollUpRows&&n<this.nrRollUpRows-1&&(n=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==n){for(let j=0;j<Ru;j++)this.rows[j].clear();const E=this.currRow+1-this.nrRollUpRows,I=this.lastOutputScreen;if(I){const j=I.rows[E].cueStartTime,Y=this.logger.time;if(j!==null&&Y!==null&&j<Y)for(let V=0;V<this.nrRollUpRows;V++)this.rows[n-this.nrRollUpRows+V+1].copy(I.rows[E+V])}}this.currRow=n;const s=this.rows[this.currRow];if(t.indent!==null){const E=t.indent,I=Math.max(E-1,0);s.setCursor(t.indent),t.color=s.chars[I].penState.foreground}const _={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(_)}setBkgData(t){this.logger.log(2,()=>"bkgData = "+ui(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="",_=-1;for(let E=0;E<Ru;E++){const I=this.rows[E].getTextString();I&&(_=E+1,t?n.push("Row "+_+": '"+I+"'"):n.push(I.trim()))}return n.length>0&&(t?s="["+n.join(" | ")+"]":s=n.join(`
|
|
|
`)),s}getTextAndFormat(){return this.rows}}class Fn{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 Dl(s),this.nonDisplayedMemory=new Dl(s),this.lastOutputScreen=new Dl(s),this.currRollUpRow=this.displayedMemory.rows[Ru-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[Ru-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,_=["white","green","blue","cyan","red","yellow","magenta"];n.foreground=_[s]}this.logger.log(2,"MIDROW: "+ui(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 ti{constructor(t,n,s){this.channels=void 0,this.currentChannel=0,this.cmdHistory=ca(),this.logger=void 0;const _=this.logger=new Il;this.channels=[null,new Fn(t,n,_),new Fn(t+1,s,_)]}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 _=n[s]&127,E=n[s+1]&127;let I=!1,j=null;if(_===0&&E===0)continue;this.logger.log(3,()=>"["+Mu([n[s],n[s+1]])+"] -> ("+Mu([_,E])+")");const Y=this.cmdHistory;if(_>=16&&_<=31){if(Ma(_,E,Y)){Gi(null,null,Y),this.logger.log(3,()=>"Repeated command ("+Mu([_,E])+") is dropped");continue}Gi(_,E,this.cmdHistory),I=this.parseCmd(_,E),I||(I=this.parseMidrow(_,E)),I||(I=this.parsePAC(_,E)),I||(I=this.parseBackgroundAttributes(_,E))}else Gi(null,null,Y);if(!I&&(j=this.parseChars(_,E),j)){const ue=this.currentChannel;ue&&ue>0?this.channels[ue].insertChars(j):this.logger.log(2,"No channel found yet. TEXT-MODE?")}!I&&!j&&this.logger.log(2,()=>"Couldn't parse cleaned data "+Mu([_,E])+" orig: "+Mu([n[s],n[s+1]]))}}parseCmd(t,n){const s=(t===20||t===28||t===21||t===29)&&n>=32&&n<=47,_=(t===23||t===31)&&n>=33&&n<=35;if(!(s||_))return!1;const E=t===20||t===21||t===23?1:2,I=this.channels[E];return t===20||t===21||t===28||t===29?n===32?I.ccRCL():n===33?I.ccBS():n===34?I.ccAOF():n===35?I.ccAON():n===36?I.ccDER():n===37?I.ccRU(2):n===38?I.ccRU(3):n===39?I.ccRU(4):n===40?I.ccFON():n===41?I.ccRDC():n===42?I.ccTR():n===43?I.ccRTD():n===44?I.ccEDM():n===45?I.ccCR():n===46?I.ccENM():n===47&&I.ccEOC():I.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 _=this.channels[s];return _?(_.ccMIDROW(n),this.logger.log(3,()=>"MIDROW ("+Mu([t,n])+")"),!0):!1}return!1}parsePAC(t,n){let s;const _=(t>=17&&t<=23||t>=25&&t<=31)&&n>=64&&n<=127,E=(t===16||t===24)&&n>=64&&n<=95;if(!(_||E))return!1;const I=t<=23?1:2;n>=64&&n<=95?s=I===1?Ul[t]:jc[t]:s=I===1?wf[t]:Sf[t];const j=this.channels[I];return j?(j.setPAC(this.interpretPAC(s,n)),this.currentChannel=I,!0):!1}interpretPAC(t,n){let s;const _={color:null,italics:!1,indent:null,underline:!1,row:t};return n>95?s=n-96:s=n-64,_.underline=(s&1)===1,s<=13?_.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(s/2)]:s<=15?(_.italics=!0,_.color="white"):_.indent=Math.floor((s-16)/2)*4,_}parseChars(t,n){let s,_=null,E=null;if(t>=25?(s=2,E=t-8):(s=1,E=t),E>=17&&E<=19){let I;E===17?I=n+80:E===18?I=n+112:I=n+144,this.logger.log(2,()=>"Special char '"+Pl(I)+"' in channel "+s),_=[I]}else t>=32&&t<=127&&(_=n===0?[t]:[t,n]);return _&&this.logger.log(3,()=>"Char codes = "+Mu(_).join(",")),_}parseBackgroundAttributes(t,n){const s=(t===16||t===24)&&n>=32&&n<=47,_=(t===23||t===31)&&n>=45&&n<=47;if(!(s||_))return!1;let E;const I={};t===16||t===24?(E=Math.floor((n-32)/2),I.background=Lu[E],n%2===1&&(I.background=I.background+"_semi")):n===45?I.background="transparent":(I.foreground="black",n===47&&(I.underline=!0));const j=t<=23?1:2;return this.channels[j].setBkgData(I),!0}reset(){for(let t=0;t<Object.keys(this.channels).length;t++){const n=this.channels[t];n&&n.reset()}Gi(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 Gi(O,t,n){n.a=O,n.b=t}function Ma(O,t,n){return n.a===O&&n.b===t}function ca(){return{a:null,b:null}}var ba=function(){if(Ho!=null&&Ho.VTTCue)return self.VTTCue;const O=["","lr","rl"],t=["start","middle","end","left","right"];function n(j,Y){if(typeof Y!="string"||!Array.isArray(j))return!1;const V=Y.toLowerCase();return~j.indexOf(V)?V:!1}function s(j){return n(O,j)}function _(j){return n(t,j)}function E(j,...Y){let V=1;for(;V<arguments.length;V++){const ue=arguments[V];for(const he in ue)j[he]=ue[he]}return j}function I(j,Y,V){const ue=this,he={enumerable:!0};ue.hasBeenReset=!1;let Ee="",Re=!1,Fe=j,ft=Y,st=V,Ft=null,fr="",ar=!0,$r="auto",Xr="start",gn=50,Kr="middle",an=50,dn="middle";Object.defineProperty(ue,"id",E({},he,{get:function(){return Ee},set:function(Vr){Ee=""+Vr}})),Object.defineProperty(ue,"pauseOnExit",E({},he,{get:function(){return Re},set:function(Vr){Re=!!Vr}})),Object.defineProperty(ue,"startTime",E({},he,{get:function(){return Fe},set:function(Vr){if(typeof Vr!="number")throw new TypeError("Start time must be set to a number.");Fe=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"endTime",E({},he,{get:function(){return ft},set:function(Vr){if(typeof Vr!="number")throw new TypeError("End time must be set to a number.");ft=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"text",E({},he,{get:function(){return st},set:function(Vr){st=""+Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"region",E({},he,{get:function(){return Ft},set:function(Vr){Ft=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"vertical",E({},he,{get:function(){return fr},set:function(Vr){const Cn=s(Vr);if(Cn===!1)throw new SyntaxError("An invalid or illegal string was specified.");fr=Cn,this.hasBeenReset=!0}})),Object.defineProperty(ue,"snapToLines",E({},he,{get:function(){return ar},set:function(Vr){ar=!!Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"line",E({},he,{get:function(){return $r},set:function(Vr){if(typeof Vr!="number"&&Vr!=="auto")throw new SyntaxError("An invalid number or illegal string was specified.");$r=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"lineAlign",E({},he,{get:function(){return Xr},set:function(Vr){const Cn=_(Vr);if(!Cn)throw new SyntaxError("An invalid or illegal string was specified.");Xr=Cn,this.hasBeenReset=!0}})),Object.defineProperty(ue,"position",E({},he,{get:function(){return gn},set:function(Vr){if(Vr<0||Vr>100)throw new Error("Position must be between 0 and 100.");gn=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"positionAlign",E({},he,{get:function(){return Kr},set:function(Vr){const Cn=_(Vr);if(!Cn)throw new SyntaxError("An invalid or illegal string was specified.");Kr=Cn,this.hasBeenReset=!0}})),Object.defineProperty(ue,"size",E({},he,{get:function(){return an},set:function(Vr){if(Vr<0||Vr>100)throw new Error("Size must be between 0 and 100.");an=Vr,this.hasBeenReset=!0}})),Object.defineProperty(ue,"align",E({},he,{get:function(){return dn},set:function(Vr){const Cn=_(Vr);if(!Cn)throw new SyntaxError("An invalid or illegal string was specified.");dn=Cn,this.hasBeenReset=!0}})),ue.displayState=void 0}return I.prototype.getCueAsHTML=function(){return self.WebVTT.convertCueToDOMTree(self,this.text)},I}();class ka{decode(t,n){if(!t)return"";if(typeof t!="string")throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}function Ds(O){function t(s,_,E,I){return(s|0)*3600+(_|0)*60+(E|0)+parseFloat(I||0)}const n=O.match(/^(?:(\d+):)?(\d{2}):(\d{2})(\.\d+)?/);return n?parseFloat(n[2])>59?t(n[2],n[3],0,n[4]):t(n[1],n[2],n[3],n[4]):null}class fa{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 _=0;_<s.length;++_)if(n===s[_]){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 Os(O,t,n,s){const _=s?O.split(s):[O];for(const E in _){if(typeof _[E]!="string")continue;const I=_[E].split(n);if(I.length!==2)continue;const j=I[0],Y=I[1];t(j,Y)}}const Qu=new ba(0,0,""),Fu=Qu.align==="middle"?"middle":"center";function Ol(O,t,n){const s=O;function _(){const j=Ds(O);if(j===null)throw new Error("Malformed timestamp: "+s);return O=O.replace(/^[^\sa-zA-Z-]+/,""),j}function E(j,Y){const V=new fa;Os(j,function(Ee,Re){let Fe;switch(Ee){case"region":for(let ft=n.length-1;ft>=0;ft--)if(n[ft].id===Re){V.set(Ee,n[ft].region);break}break;case"vertical":V.alt(Ee,Re,["rl","lr"]);break;case"line":Fe=Re.split(","),V.integer(Ee,Fe[0]),V.percent(Ee,Fe[0])&&V.set("snapToLines",!1),V.alt(Ee,Fe[0],["auto"]),Fe.length===2&&V.alt("lineAlign",Fe[1],["start",Fu,"end"]);break;case"position":Fe=Re.split(","),V.percent(Ee,Fe[0]),Fe.length===2&&V.alt("positionAlign",Fe[1],["start",Fu,"end","line-left","line-right","auto"]);break;case"size":V.percent(Ee,Re);break;case"align":V.alt(Ee,Re,["start",Fu,"end","left","right"]);break}},/:/,/\s/),Y.region=V.get("region",null),Y.vertical=V.get("vertical","");let ue=V.get("line","auto");ue==="auto"&&Qu.line===-1&&(ue=-1),Y.line=ue,Y.lineAlign=V.get("lineAlign","start"),Y.snapToLines=V.get("snapToLines",!0),Y.size=V.get("size",100),Y.align=V.get("align",Fu);let he=V.get("position","auto");he==="auto"&&Qu.position===50&&(he=Y.align==="start"||Y.align==="left"?0:Y.align==="end"||Y.align==="right"?100:50),Y.position=he}function I(){O=O.replace(/^\s+/,"")}if(I(),t.startTime=_(),I(),O.slice(0,3)!=="-->")throw new Error("Malformed time stamp (time stamps must be separated by '-->'): "+s);O=O.slice(3),I(),t.endTime=_(),I(),E(O,t)}function yl(O){return O.replace(/<br(?: \/)?>/gi,`
|
|
|
`)}class zl{constructor(){this.state="INITIAL",this.buffer="",this.decoder=new ka,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,I=0;for(E=yl(E);I<E.length&&E[I]!=="\r"&&E[I]!==`
|
|
|
`;)++I;const j=E.slice(0,I);return E[I]==="\r"&&++I,E[I]===`
|
|
|
`&&++I,n.buffer=E.slice(I),j}function _(E){Os(E,function(I,j){},/:/)}try{let E="";if(n.state==="INITIAL"){if(!/\r\n|\n/.test(n.buffer))return this;E=s();const j=E.match(/^()?WEBVTT([ \t].*)?$/);if(!(j!=null&&j[0]))throw new Error("Malformed WebVTT signature.");n.state="HEADER"}let I=!1;for(;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(I?I=!1:E=s(),n.state){case"HEADER":/:/.test(E)?_(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 ba(0,0,""),n.state="CUE",E.indexOf("-->")===-1){n.cue.id=E;continue}case"CUE":if(!n.cue){n.state="BADCUE";continue}try{Ol(E,n.cue,n.regionList)}catch(j){n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":{const j=E.indexOf("-->")!==-1;if(!E||j&&(I=!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 Kf=/\r\n|\n\r|\n|\r/g,Af=function(t,n,s=0){return t.slice(s,s+n.length)===n},ql=function(t){let n=parseInt(t.slice(-3));const s=parseInt(t.slice(-6,-4)),_=parseInt(t.slice(-9,-7)),E=t.length>9?parseInt(t.substring(0,t.indexOf(":"))):0;if(!r(n)||!r(s)||!r(_)||!r(E))throw Error(`Malformed X-TIMESTAMP-MAP: Local:${t}`);return n+=1e3*s,n+=60*1e3*_,n+=60*60*1e3*E,n};function Tf(O,t,n){return Fi(O.toString())+Fi(t.toString())+Fi(n)}const af=function(t,n,s){let _=t[n],E=t[_.prevCC];if(!E||!E.new&&_.new){t.ccOffset=t.presentationOffset=_.start,_.new=!1;return}for(;(I=E)!=null&&I.new;){var I;t.ccOffset+=_.start-E.start,_.new=!1,_=E,E=t[_.prevCC]}t.presentationOffset=s};function Cf(O,t,n,s,_,E,I){const j=new zl,Y=q(new Uint8Array(O)).trim().replace(Kf,`
|
|
|
`).split(`
|
|
|
`),V=[],ue=t?Ua(t.baseTime,t.timescale):0;let he="00:00.000",Ee=0,Re=0,Fe,ft=!0;j.oncue=function(st){const Ft=n[s];let fr=n.ccOffset;const ar=(Ee-ue)/9e4;if(Ft!=null&&Ft.new&&(Re!==void 0?fr=n.ccOffset=Ft.start:af(n,s,ar)),ar){if(!t){Fe=new Error("Missing initPTS for VTT MPEGTS");return}fr=ar-n.presentationOffset}const $r=st.endTime-st.startTime,Xr=xs((st.startTime+fr-Re)*9e4,_*9e4)/9e4;st.startTime=Math.max(Xr,0),st.endTime=Math.max(Xr+$r,0);const gn=st.text.trim();st.text=decodeURIComponent(encodeURIComponent(gn)),st.id||(st.id=Tf(st.startTime,st.endTime,gn)),st.endTime>0&&V.push(st)},j.onparsingerror=function(st){Fe=st},j.onflush=function(){if(Fe){I(Fe);return}E(V)},Y.forEach(st=>{if(ft)if(Af(st,"X-TIMESTAMP-MAP=")){ft=!1,st.slice(16).split(",").forEach(Ft=>{Af(Ft,"LOCAL:")?he=Ft.slice(6):Af(Ft,"MPEGTS:")&&(Ee=parseInt(Ft.slice(7)))});try{Re=ql(he)/1e3}catch(Ft){Fe=Ft}return}else st===""&&(ft=!1);j.parse(st+`
|
|
|
`)}),j.flush()}const sf="stpp.ttml.im1t",bl=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Hf=/^(\d*(?:\.\d*)?)(h|m|s|ms|f|t)$/,xl={left:"start",center:"center",right:"end",start:"start",end:"end"};function zc(O,t,n,s){const _=Et(new Uint8Array(O),["mdat"]);if(_.length===0){s(new Error("Could not parse IMSC1 mdat"));return}const E=_.map(j=>q(j)),I=Ws(t.baseTime,1,t.timescale);try{E.forEach(j=>n(Rf(j,I)))}catch(j){s(j)}}function Rf(O,t){const _=new DOMParser().parseFromString(O,"text/xml").getElementsByTagName("tt")[0];if(!_)throw new Error("Invalid ttml");const E={frameRate:30,subFrameRate:1,frameRateMultiplier:0,tickRate:0},I=Object.keys(E).reduce((he,Ee)=>(he[Ee]=_.getAttribute(`ttp:${Ee}`)||E[Ee],he),{}),j=_.getAttribute("xml:space")!=="preserve",Y=of(eu(_,"styling","style")),V=of(eu(_,"layout","region")),ue=eu(_,"body","[begin]");return[].map.call(ue,he=>{const Ee=Pf(he,j);if(!Ee||!he.hasAttribute("begin"))return null;const Re=uf(he.getAttribute("begin"),I),Fe=uf(he.getAttribute("dur"),I);let ft=uf(he.getAttribute("end"),I);if(Re===null)throw ou(he);if(ft===null){if(Fe===null)throw ou(he);ft=Re+Fe}const st=new ba(Re-t,ft-t,Ee);st.id=Tf(st.startTime,st.endTime,st.text);const Ft=V[he.getAttribute("region")],fr=Y[he.getAttribute("style")],ar=kl(Ft,fr,Y),{textAlign:$r}=ar;if($r){const Xr=xl[$r];Xr&&(st.lineAlign=Xr),st.align=$r}return y(st,ar),st}).filter(he=>he!==null)}function eu(O,t,n){const s=O.getElementsByTagName(t)[0];return s?[].slice.call(s.querySelectorAll(n)):[]}function of(O){return O.reduce((t,n)=>{const s=n.getAttribute("xml:id");return s&&(t[s]=n),t},{})}function Pf(O,t){return[].slice.call(O.childNodes).reduce((n,s,_)=>{var E;return s.nodeName==="br"&&_?n+`
|
|
|
`:(E=s.childNodes)!=null&&E.length?Pf(s,t):t?n+s.textContent.trim().replace(/\s+/g," "):n+s.textContent},"")}function kl(O,t,n){const s="http://www.w3.org/ns/ttml#styling";let _=null;const E=["displayAlign","textAlign","color","backgroundColor","fontSize","fontFamily"],I=O!=null&&O.hasAttribute("style")?O.getAttribute("style"):null;return I&&n.hasOwnProperty(I)&&(_=n[I]),E.reduce((j,Y)=>{const V=Jl(t,s,Y)||Jl(O,s,Y)||Jl(_,s,Y);return V&&(j[Y]=V),j},{})}function Jl(O,t,n){return O&&O.hasAttributeNS(t,n)?O.getAttributeNS(t,n):null}function ou(O){return new Error(`Could not parse ttml timestamp ${O}`)}function uf(O,t){if(!O)return null;let n=Ds(O);return n===null&&(bl.test(O)?n=Lf(O,t):Hf.test(O)&&(n=lf(O,t))),n}function Lf(O,t){const n=bl.exec(O),s=(n[4]|0)+(n[5]|0)/t.subFrameRate;return(n[1]|0)*3600+(n[2]|0)*60+(n[3]|0)+s/t.frameRate}function lf(O,t){const n=Hf.exec(O),s=Number(n[1]);switch(n[2]){case"h":return s*3600;case"m":return s*60;case"ms":return s*1e3;case"f":return s/t.frameRate;case"t":return s/t.tickRate}return s}class ec{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 Mf{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=If(),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 ec(this,"textTrack1"),n=new ec(this,"textTrack2"),s=new ec(this,"textTrack3"),_=new ec(this,"textTrack4");this.cea608Parser1=new ti(1,t,n),this.cea608Parser2=new ti(3,s,_)}addCues(t,n,s,_,E){let I=!1;for(let j=E.length;j--;){const Y=E[j],V=Qf(Y[0],Y[1],n,s);if(V>=0&&(Y[0]=Math.min(Y[0],n),Y[1]=Math.max(Y[1],s),I=!0,V/(s-n)>.5))return}if(I||E.push([n,s]),this.config.renderTextTracksNatively){const j=this.captionsTracks[t];this.Cues.newCue(j,n,s,_)}else{const j=this.Cues.newCue(null,n,s,_);this.hls.trigger(o.CUES_PARSED,{type:"captions",cues:j,track:t})}}onInitPtsFound(t,{frag:n,id:s,initPTS:_,timescale:E,trackId:I}){const{unparsedVttFrags:j}=this;s===u.MAIN&&(this.initPTS[n.cc]={baseTime:_,timescale:E,trackId:I}),j.length&&(this.unparsedVttFrags=[],j.forEach(Y=>{this.initPTS[Y.frag.cc]?this.onFragLoaded(o.FRAG_LOADED,Y):this.hls.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:Y.frag,error:new Error("Subtitle discontinuity domain does not match main")})}))}getExistingTrack(t,n){const{media:s}=this;if(s)for(let _=0;_<s.textTracks.length;_++){const E=s.textTracks[_];if(Wf(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:_}=this,{label:E,languageCode:I}=n[t],j=this.getExistingTrack(E,I);if(j)s[t]=j,D(s[t]),tf(s[t],_);else{const Y=this.createTextTrack("captions",E,I);Y&&(Y[t]=!0,s[t]=Y)}}createNonNativeTrack(t){if(this.nonNativeCaptionsTracks[t])return;const n=this.captionsProperties[t];if(!n)return;const s=n.label,_={_id:t,label:s,kind:"captions",default:n.media?!!n.media.default:!1,closedCaptions:n.media};this.nonNativeCaptionsTracks[t]=_,this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:[_]})}createTextTrack(t,n,s){const _=this.media;if(_)return _.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:_}=this;Object.keys(_).forEach(E=>{D(_[E]),delete _[E]}),this.nonNativeCaptionsTracks={}}onManifestLoading(){this.lastCc=-1,this.lastSn=-1,this.lastPartIndex=-1,this.prevCC=-1,this.vttCCs=If(),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++)D(n[s])}onSubtitleTracksUpdated(t,n){const s=n.subtitleTracks||[],_=s.some(E=>E.textCodec===sf);if(this.config.enableWebVTT||_&&this.config.enableIMSC1){if(Tc(this.tracks,s)){this.tracks=s;return}if(this.textTracks=[],this.tracks=s,this.config.renderTextTracksNatively){const I=this.media,j=I?hn(I.textTracks):null;if(this.tracks.forEach((Y,V)=>{let ue;if(j){let he=null;for(let Ee=0;Ee<j.length;Ee++)if(j[Ee]&&Wf(j[Ee],Y)){he=j[Ee],j[Ee]=null;break}he&&(ue=he)}if(ue)D(ue);else{const he=cf(Y);ue=this.createTextTrack(he,Y.name,Y.lang),ue&&(ue.mode="disabled")}ue&&this.textTracks.push(ue)}),j!=null&&j.length){const Y=j.filter(V=>V!==null).map(V=>V.label);Y.length&&this.hls.logger.warn(`Media element contains unused subtitle tracks: ${Y.join(", ")}. Replace media element for each source to clear TextTracks and captions menu.`)}}else if(this.tracks.length){const I=this.tracks.map(j=>({label:j.name,kind:j.type.toLowerCase(),default:j.default,subtitleTrack:j}));this.hls.trigger(o.NON_NATIVE_TEXT_TRACKS_FOUND,{tracks:I})}}}onManifestLoaded(t,n){this.config.enableCEA708Captions&&n.captions&&n.captions.forEach(s=>{const _=/(?:CC|SERVICE)([1-4])/.exec(s.instreamId);if(!_)return;const E=`textTrack${_[1]}`,I=this.captionsProperties[E];I&&(I.label=s.name,s.lang&&(I.languageCode=s.lang),I.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,_;const{cea608Parser1:E,cea608Parser2:I,lastSn:j}=this,{cc:Y,sn:V}=n.frag,ue=(s=(_=n.part)==null?void 0:_.index)!=null?s:-1;E&&I&&(V!==j+1||V===j&&ue!==this.lastPartIndex+1||Y!==this.lastCc)&&(E.reset(),I.reset()),this.lastCc=Y,this.lastSn=V,this.lastPartIndex=ue}}onFragLoaded(t,n){const{frag:s,payload:_}=n;if(s.type===u.SUBTITLE)if(_.byteLength){const E=s.decryptdata,I="stats"in n;if(E==null||!E.encrypted||I){const j=this.tracks[s.level],Y=this.vttCCs;Y[s.cc]||(Y[s.cc]={start:s.start,prevCC:this.prevCC,new:!0},this.prevCC=s.cc),j&&j.textCodec===sf?this._parseIMSC1(s,_):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;zc(n,this.initPTS[t.cc],_=>{this._appendCues(_,t.level),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},_=>{s.logger.log(`Failed to parse IMSC1: ${_}`),s.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t,error:_})})}_parseVTTs(t){var n;const{frag:s,payload:_}=t,{initPTS:E,unparsedVttFrags:I}=this,j=E.length-1;if(!E[s.cc]&&j===-1){I.push(t);return}const Y=this.hls,V=(n=s.initSegment)!=null&&n.data?Ae(s.initSegment.data,new Uint8Array(_)).buffer:_;Cf(V,this.initPTS[s.cc],this.vttCCs,s.cc,s.start,ue=>{this._appendCues(ue,s.level),Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:s})},ue=>{const he=ue.message==="Missing initPTS for VTT MPEGTS";he?I.push(t):this._fallbackToIMSC1(s,_),Y.logger.log(`Failed to parse VTT cue: ${ue}`),!(he&&j>s.cc)&&Y.trigger(o.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:s,error:ue})})}_fallbackToIMSC1(t,n){const s=this.tracks[t.level];s.textCodec||zc(n,this.initPTS[t.cc],()=>{s.textCodec=sf,this._parseIMSC1(t,n)},()=>{s.textCodec="wvtt"})}_appendCues(t,n){const s=this.hls;if(this.config.renderTextTracksNatively){const _=this.textTracks[n];if(!_||_.mode==="disabled")return;t.forEach(E=>C(_,E))}else{const _=this.tracks[n];if(!_)return;const E=_.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:_}=n;if(!(s.type===u.MAIN&&this.closedCaptionsForLevel(s)==="NONE"))for(let E=0;E<_.length;E++){const I=_[E].bytes;if(I){this.cea608Parser1||this.initCea608Parsers();const j=this.extractCea608Data(I);this.cea608Parser1.addData(_[E].pts,j[0]),this.cea608Parser2.addData(_[E].pts,j[1])}}}onBufferFlushing(t,{startOffset:n,endOffset:s,endOffsetSubtitles:_,type:E}){const{media:I}=this;if(!(!I||I.currentTime<s)){if(!E||E==="video"){const{captionsTracks:j}=this;Object.keys(j).forEach(Y=>L(j[Y],n,s))}if(this.config.renderTextTracksNatively&&n===0&&_!==void 0){const{textTracks:j}=this;Object.keys(j).forEach(Y=>L(j[Y],n,_))}}}extractCea608Data(t){const n=[[],[]],s=t[0]&31;let _=2;for(let E=0;E<s;E++){const I=t[_++],j=127&t[_++],Y=127&t[_++];if(j===0&&Y===0)continue;if((4&I)!==0){const ue=3&I;(ue===0||ue===1)&&(n[ue].push(j),n[ue].push(Y))}}return n}}function cf(O){return O.characteristics&&/transcribes-spoken-dialog/gi.test(O.characteristics)&&/describes-music-and-sound/gi.test(O.characteristics)?"captions":"subtitles"}function Wf(O,t){return!!O&&O.kind===cf(t)&&sc(t,O)}function Qf(O,t,n,s){return Math.min(t,s)-Math.max(O,n)}function If(){return{ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!0}}}const rd=/\s/,Vf={newCue(O,t,n,s){const _=[];let E,I,j,Y,V;const ue=self.VTTCue||self.TextTrackCue;for(let Ee=0;Ee<s.rows.length;Ee++)if(E=s.rows[Ee],j=!0,Y=0,V="",!E.isEmpty()){var he;for(let ft=0;ft<E.chars.length;ft++)rd.test(E.chars[ft].uchar)&&j?Y++:(V+=E.chars[ft].uchar,j=!1);E.cueStartTime=t,t===n&&(n+=1e-4),Y>=16?Y--:Y++;const Re=yl(V.trim()),Fe=Tf(t,n,Re);O!=null&&(he=O.cues)!=null&&he.getCueById(Fe)||(I=new ue(t,n,Re),I.id=Fe,I.line=Ee+1,I.align="left",I.position=10+Math.min(80,Math.floor(Y*8/32)*10),_.push(I))}return O&&_.length&&(_.sort((Ee,Re)=>Ee.line==="auto"||Re.line==="auto"?0:Ee.line>8&&Re.line>8?Re.line-Ee.line:Ee.line-Re.line),_.forEach(Ee=>C(O,Ee))),_}};function Ff(){if(self.fetch&&self.AbortController&&self.ReadableStream&&self.Request)try{return new self.ReadableStream({}),!0}catch(O){}return!1}const nd=/(\d+)-(\d+)\/(\d+)/;class Bf{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||ad,this.controller=new self.AbortController,this.stats=new $}destroy(){this.loader=this.callbacks=this.context=this.config=this.request=null,this.abortInternal(),this.response=null,this.fetchSetup=this.controller=this.stats=null}abortInternal(){this.controller&&!this.stats.loading.end&&(this.stats.aborted=!0,this.controller.abort())}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.response)}load(t,n,s){const _=this.stats;if(_.loading.start)throw new Error("Loader can only be used once.");_.loading.start=self.performance.now();const E=qf(t,this.controller.signal),I=t.responseType==="arraybuffer",j=I?"byteLength":"length",{maxTimeToFirstByteMs:Y,maxLoadTimeMs:V}=n.loadPolicy;this.context=t,this.config=n,this.callbacks=s,this.request=this.fetchSetup(t,E),self.clearTimeout(this.requestTimeout),n.timeout=Y&&r(Y)?Y:V,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(_,t,this.response))},n.timeout),(eo(this.request)?this.request.then(self.fetch):self.fetch(this.request)).then(he=>{var Ee;this.response=this.loader=he;const Re=Math.max(self.performance.now(),_.loading.start);if(self.clearTimeout(this.requestTimeout),n.timeout=V,this.requestTimeout=self.setTimeout(()=>{this.callbacks&&(this.abortInternal(),this.callbacks.onTimeout(_,t,this.response))},V-(Re-_.loading.start)),!he.ok){const{status:ft,statusText:st}=he;throw new Gf(st||"fetch, bad network response",ft,he)}_.loading.first=Re,_.total=Nf(he.headers)||_.total;const Fe=(Ee=this.callbacks)==null?void 0:Ee.onProgress;return Fe&&r(n.highWaterMark)?this.loadProgressively(he,_,t,n.highWaterMark,Fe):I?he.arrayBuffer():t.responseType==="json"?he.json():he.text()}).then(he=>{var Ee,Re;const Fe=this.response;if(!Fe)throw new Error("loader destroyed");self.clearTimeout(this.requestTimeout),_.loading.end=Math.max(self.performance.now(),_.loading.first);const ft=he[j];ft&&(_.loaded=_.total=ft);const st={url:Fe.url,data:he,code:Fe.status},Ft=(Ee=this.callbacks)==null?void 0:Ee.onProgress;Ft&&!r(n.highWaterMark)&&Ft(_,t,he,Fe),(Re=this.callbacks)==null||Re.onSuccess(st,_,t,Fe)}).catch(he=>{var Ee;if(self.clearTimeout(this.requestTimeout),_.aborted)return;const Re=he&&he.code||0,Fe=he?he.message:null;(Ee=this.callbacks)==null||Ee.onError({code:Re,text:Fe},t,he?he.details:null,_)})}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,_=0,E){const I=new mo,j=t.body.getReader(),Y=()=>j.read().then(V=>{if(V.done)return I.dataLength&&E(n,s,I.flush().buffer,t),Promise.resolve(new ArrayBuffer(0));const ue=V.value,he=ue.length;return n.loaded+=he,he<_||I.dataLength?(I.push(ue),I.dataLength>=_&&E(n,s,I.flush().buffer,t)):E(n,s,ue.buffer,t),Y()}).catch(()=>Promise.reject());return Y()}}function qf(O,t){const n={method:"GET",mode:"cors",credentials:"same-origin",signal:t,headers:new self.Headers(y({},O.headers))};return O.rangeEnd&&n.headers.set("Range","bytes="+O.rangeStart+"-"+String(O.rangeEnd-1)),n}function id(O){const t=nd.exec(O);if(t)return parseInt(t[2])-parseInt(t[1])+1}function Nf(O){const t=O.get("Content-Range");if(t){const s=id(t);if(r(s))return s}const n=O.get("Content-Length");if(n)return parseInt(n)}function ad(O,t){return new self.Request(O.url,t)}class Gf extends Error{constructor(t,n,s){super(t),this.code=void 0,this.details=void 0,this.code=n,this.details=s}}const g=/^age:\s*[\d.]+\s*$/im;class T{constructor(t){this.xhrSetup=void 0,this.requestTimeout=void 0,this.retryTimeout=void 0,this.retryDelay=void 0,this.config=null,this.callbacks=null,this.context=null,this.loader=null,this.stats=void 0,this.xhrSetup=t&&t.xhrSetup||null,this.stats=new $,this.retryDelay=0}destroy(){this.callbacks=null,this.abortInternal(),this.loader=null,this.config=null,this.context=null,this.xhrSetup=null}abortInternal(){const t=this.loader;self.clearTimeout(this.requestTimeout),self.clearTimeout(this.retryTimeout),t&&(t.onreadystatechange=null,t.onprogress=null,t.readyState!==4&&(this.stats.aborted=!0,t.abort()))}abort(){var t;this.abortInternal(),(t=this.callbacks)!=null&&t.onAbort&&this.callbacks.onAbort(this.stats,this.context,this.loader)}load(t,n,s){if(this.stats.loading.start)throw new Error("Loader can only be used once.");this.stats.loading.start=self.performance.now(),this.context=t,this.config=n,this.callbacks=s,this.loadInternal()}loadInternal(){const{config:t,context:n}=this;if(!t||!n)return;const s=this.loader=new self.XMLHttpRequest,_=this.stats;_.loading.first=0,_.loaded=0,_.aborted=!1;const E=this.xhrSetup;E?Promise.resolve().then(()=>{if(!(this.loader!==s||this.stats.aborted))return E(s,n.url)}).catch(I=>{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(I=>{var j;(j=this.callbacks)==null||j.onError({code:s.status,text:I.message},n,s,_)}):this.openAndSendXhr(s,n,t)}openAndSendXhr(t,n,s){t.readyState||t.open("GET",n.url,!0);const _=n.headers,{maxTimeToFirstByteMs:E,maxLoadTimeMs:I}=s.loadPolicy;if(_)for(const j in _)t.setRequestHeader(j,_[j]);n.rangeEnd&&t.setRequestHeader("Range","bytes="+n.rangeStart+"-"+(n.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=n.responseType,self.clearTimeout(this.requestTimeout),s.timeout=E&&r(E)?E:I,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 _=n.readyState,E=this.config;if(!s.aborted&&_>=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)))),_===4)){self.clearTimeout(this.requestTimeout),n.onreadystatechange=null,n.onprogress=null;const V=n.status,ue=n.responseType==="text"?n.responseText:null;if(V>=200&&V<300){const Fe=ue!=null?ue:n.response;if(Fe!=null){var I,j;s.loading.end=Math.max(self.performance.now(),s.loading.first);const ft=n.responseType==="arraybuffer"?Fe.byteLength:Fe.length;s.loaded=s.total=ft,s.bwEstimate=s.total*8e3/(s.loading.end-s.loading.first);const st=(I=this.callbacks)==null?void 0:I.onProgress;st&&st(s,t,Fe,n);const Ft={url:n.responseURL,data:Fe,code:V};(j=this.callbacks)==null||j.onSuccess(Ft,s,t,n);return}}const he=E.loadPolicy.errorRetry,Ee=s.retry,Re={url:t.url,data:void 0,code:V};if(et(he,Ee,!1,Re))this.retry(he);else{var Y;H.error(`${V} while loading ${t.url}`),(Y=this.callbacks)==null||Y.onError({code:V,text:n.statusText},t,n,s)}}}loadtimeout(){if(!this.config)return;const t=this.config.loadPolicy.timeoutRetry,n=this.stats.retry;if(et(t,n,!0))this.retry(t);else{var s;H.warn(`timeout while loading ${(s=this.context)==null?void 0:s.url}`);const _=this.callbacks;_&&(this.abortInternal(),_.onTimeout(this.stats,this.context,this.loader))}}retry(t){const{context:n,stats:s}=this;this.retryDelay=Hr(t,s.retry),s.retry++,H.warn(`${status?"HTTP Status "+status:"Timeout"} while loading ${n==null?void 0:n.url}, retrying ${s.retry}/${t.maxNumRetry} in ${this.retryDelay}ms`),this.abortInternal(),this.loader=null,self.clearTimeout(this.retryTimeout),this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay)}loadprogress(t){const n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total)}getCacheAge(){let t=null;if(this.loader&&g.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 U={maxTimeToFirstByteMs:8e3,maxLoadTimeMs:2e4,timeoutRetry:null,errorRetry:null},ve=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:T,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,licenseResponseCallback:void 0,abrController:pi,bufferController:Lo,capLevelController:ml,errorController:kr,fpsController:Bc,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:ds,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:U},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},ke()),{},{subtitleStreamController:Ql,subtitleTrackController:On,timelineController:Mf,audioStreamController:ac,audioTrackController:Ou,emeController:sl,cmcdController:vc,contentSteeringController:Ef,interstitialsController:ws});function ke(){return{cueHandler:Vf,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 ot(O,t,n){if((t.liveSyncDurationCount||t.liveMaxLatencyDurationCount)&&(t.liveSyncDuration||t.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");if(t.liveMaxLatencyDurationCount!==void 0&&(t.liveSyncDurationCount===void 0||t.liveMaxLatencyDurationCount<=t.liveSyncDurationCount))throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be greater than "liveSyncDurationCount"');if(t.liveMaxLatencyDuration!==void 0&&(t.liveSyncDuration===void 0||t.liveMaxLatencyDuration<=t.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be greater than "liveSyncDuration"');const s=Nt(O),_=["manifest","level","frag"],E=["TimeOut","MaxRetry","RetryDelay","MaxRetryTimeout"];return _.forEach(I=>{const j=`${I==="level"?"playlist":I}LoadPolicy`,Y=t[j]===void 0,V=[];E.forEach(ue=>{const he=`${I}Loading${ue}`,Ee=t[he];if(Ee!==void 0&&Y){V.push(he);const Re=s[j].default;switch(t[j]={default:Re},ue){case"TimeOut":Re.maxLoadTimeMs=Ee,Re.maxTimeToFirstByteMs=Ee;break;case"MaxRetry":Re.errorRetry.maxNumRetry=Ee,Re.timeoutRetry.maxNumRetry=Ee;break;case"RetryDelay":Re.errorRetry.retryDelayMs=Ee,Re.timeoutRetry.retryDelayMs=Ee;break;case"MaxRetryTimeout":Re.errorRetry.maxRetryDelayMs=Ee,Re.timeoutRetry.maxRetryDelayMs=Ee;break}}}),V.length&&n.warn(`hls.js config: "${V.join('", "')}" setting(s) are deprecated, use "${j}": ${ui(t[j])}`)}),b(b({},s),t)}function Nt(O){return O&&typeof O=="object"?Array.isArray(O)?O.map(Nt):Object.keys(O).reduce((t,n)=>(t[n]=Nt(O[n]),t),{}):O}function nr(O,t){const n=O.loader;n!==Bf&&n!==T?(t.log("[config]: Custom loader detected, cannot enable progressive streaming"),O.progressive=!1):Ff()&&(O.loader=Bf,O.progressive=!0,O.enableSoftwareAES=!0,t.log("[config]: Progressive streaming enabled, using FetchLoader"))}const Dr=2,_n=.1,Bi=.05,za=100;class Qn extends Hs{constructor(t,n){super("gap-controller",t.logger),this.hls=void 0,this.fragmentTracker=void 0,this.media=null,this.mediaSource=void 0,this.nudgeRetry=0,this.stallReported=!1,this.stalled=null,this.moved=!1,this.seeking=!1,this.buffered={},this.lastCurrentTime=0,this.ended=0,this.waiting=0,this.onMediaPlaying=()=>{this.ended=0,this.waiting=0},this.onMediaWaiting=()=>{var s;(s=this.media)!=null&&s.seeking||(this.waiting=self.performance.now(),this.tick())},this.onMediaEnded=()=>{if(this.hls){var s;this.ended=((s=this.media)==null?void 0:s.currentTime)||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1})}},this.hls=t,this.fragmentTracker=n,this.registerListeners()}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.BUFFER_APPENDED,this.onBufferAppended,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.BUFFER_APPENDED,this.onBufferAppended,this))}destroy(){super.destroy(),this.unregisterListeners(),this.media=this.hls=this.fragmentTracker=null,this.mediaSource=void 0}onMediaAttached(t,n){this.setInterval(za),this.mediaSource=n.mediaSource;const s=this.media=n.media;vi(s,"playing",this.onMediaPlaying),vi(s,"waiting",this.onMediaWaiting),vi(s,"ended",this.onMediaEnded)}onMediaDetaching(t,n){this.clearInterval();const{media:s}=this;s&&(ps(s,"playing",this.onMediaPlaying),ps(s,"waiting",this.onMediaWaiting),ps(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,_;const E=(s=this.hls)==null?void 0:s.config;if(!E)return;const I=this.media;if(!I)return;const{seeking:j}=I,Y=this.seeking&&!j,V=!this.seeking&&j,ue=I.paused&&!j||I.ended||I.playbackRate===0;if(this.seeking=j,t!==n){n&&(this.ended=0),this.moved=!0,j||(this.nudgeRetry=0,E.nudgeOnVideoHole&&!ue&&t>n&&this.nudgeOnVideoHole(t,n)),this.waiting===0&&this.stallResolved(t);return}if(V||Y){Y&&this.stallResolved(t);return}if(ue){this.nudgeRetry=0,this.stallResolved(t),!this.ended&&I.ended&&this.hls&&(this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!1}));return}if(!Li.getBuffered(I).length){this.nudgeRetry=0;return}const he=Li.bufferInfo(I,t,0),Ee=he.nextStart||0,Re=this.fragmentTracker;if(j&&Re&&this.hls){const gn=da(this.hls.inFlightFragments,t),Kr=he.len>Dr,an=!Ee||gn||Ee-t>Dr&&!Re.getPartialFragment(t);if(Kr||an)return;this.moved=!1}const Fe=(_=this.hls)==null?void 0:_.latestLevelDetails;if(!this.moved&&this.stalled!==null&&Re){if(!(he.len>0)&&!Ee)return;const Kr=Math.max(Ee,he.start||0)-t,dn=!!(Fe!=null&&Fe.live)?Fe.targetduration*2:Dr,Vr=Ta(t,Re);if(Kr>0&&(Kr<=dn||Vr)){I.paused||this._trySkipBufferHole(Vr);return}}const ft=E.detectStallWithCurrentTimeMs,st=self.performance.now(),Ft=this.waiting;let fr=this.stalled;if(fr===null)if(Ft>0&&st-Ft<ft)fr=this.stalled=Ft;else{this.stalled=st;return}const ar=st-fr;if(!j&&(ar>=ft||Ft)&&this.hls){var $r;if((($r=this.mediaSource)==null?void 0:$r.readyState)==="ended"&&!(Fe!=null&&Fe.live)&&Math.abs(t-((Fe==null?void 0:Fe.edge)||0))<1){if(this.ended)return;this.ended=t||1,this.hls.trigger(o.MEDIA_ENDED,{stalled:!0});return}if(this._reportStall(he),!this.media||!this.hls)return}const Xr=Li.bufferInfo(I,t,E.maxBufferHole);this._tryFixBufferStall(Xr,ar,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 _=this.buffered.video;if(this.hls&&this.media&&this.fragmentTracker&&(s=this.buffered.audio)!=null&&s.length&&_&&_.length>1&&t>_.end(0)){const E=Li.bufferedInfo(Li.timeRangesToArray(this.buffered.audio),t,0);if(E.len>1&&n>=E.start){const I=Li.timeRangesToArray(_),j=Li.bufferedInfo(I,n,0).bufferedIndex;if(j>-1&&j<I.length-1){const Y=Li.bufferedInfo(I,t,0).bufferedIndex,V=I[j].end,ue=I[j+1].start;if((Y===-1||Y>j)&&ue-V<1&&t-V<2){const he=new Error(`nudging playhead to flush pipeline after video hole. currentTime: ${t} hole: ${V} -> ${ue} buffered index: ${Y}`);this.warn(he.message),this.media.currentTime+=1e-6;let Ee=Ta(t,this.fragmentTracker);Ee&&"fragment"in Ee?Ee=Ee.fragment:Ee||(Ee=void 0);const Re=Li.bufferInfo(this.media,t,0);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:he,reason:he.message,frag:Ee,buffer:Re.len,bufferInfo:Re})}}}}}_tryFixBufferStall(t,n,s){var _,E;const{fragmentTracker:I,media:j}=this,Y=(_=this.hls)==null?void 0:_.config;if(!j||!I||!Y)return;const V=(E=this.hls)==null?void 0:E.latestLevelDetails,ue=Ta(s,I);if((ue||V!=null&&V.live&&s<V.fragmentStart)&&(this._trySkipBufferHole(ue)||!this.media))return;const he=t.buffered,Ee=this.adjacentTraversal(t,s);(he&&he.length>1&&t.len>Y.maxBufferHole||t.nextStart&&(t.nextStart-s<Y.maxBufferHole||Ee))&&(n>Y.highBufferWatchdogPeriod*1e3||this.waiting)&&(this.warn("Trying to nudge playhead over buffer-hole"),this._tryNudgeBuffer(t))}adjacentTraversal(t,n){const s=this.fragmentTracker,_=t.nextStart;if(s&&_){const E=s.getFragAtPos(n,u.MAIN),I=s.getFragAtPos(_,u.MAIN);if(E&&I)return I.sn-E.sn<2}return!1}_reportStall(t){const{hls:n,media:s,stallReported:_,stalled:E}=this;if(!_&&E!==null&&s&&n){this.stallReported=!0;const I=new Error(`Playback stalling at @${s.currentTime} due to low buffer (${ui(t)})`);this.warn(I.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,fatal:!1,error:I,buffer:t.len,bufferInfo:t,stalled:{start:E}})}}_trySkipBufferHole(t){var n;const{fragmentTracker:s,media:_}=this,E=(n=this.hls)==null?void 0:n.config;if(!_||!s||!E)return 0;const I=_.currentTime,j=Li.bufferInfo(_,I,0),Y=I<j.start?j.start:j.nextStart;if(Y&&this.hls){const ue=j.len<=E.maxBufferHole,he=j.len>0&&j.len<1&&_.readyState<3,Ee=Y-I;if(Ee>0&&(ue||he)){if(Ee>E.maxBufferHole){let Fe=!1;if(I===0){const ft=s.getAppendedFrag(0,u.MAIN);ft&&Y<ft.end&&(Fe=!0)}if(!Fe&&t){var V;if(!((V=this.hls.loadLevelObj)!=null&&V.details)||da(this.hls.inFlightFragments,Y))return 0;let st=!1,Ft=t.end;for(;Ft<Y;){const fr=Ta(Ft,s);if(fr)Ft+=fr.duration;else{st=!0;break}}if(st)return 0}}const Re=Math.max(Y+Bi,I+_n);if(this.warn(`skipping hole, adjusting currentTime from ${I} to ${Re}`),this.moved=!0,_.currentTime=Re,!(t!=null&&t.gap)){const Fe=new Error(`fragment loaded with buffer holes, seeking from ${I} to ${Re}`),ft={type:c.MEDIA_ERROR,details:f.BUFFER_SEEK_OVER_HOLE,fatal:!1,error:Fe,reason:Fe.message,buffer:j.len,bufferInfo:j};t&&("fragment"in t?ft.part=t:ft.frag=t),this.hls.trigger(o.ERROR,ft)}return Re}}return 0}_tryNudgeBuffer(t){const{hls:n,media:s,nudgeRetry:_}=this,E=n==null?void 0:n.config;if(!s||!E)return 0;const I=s.currentTime;if(this.nudgeRetry++,_<E.nudgeMaxRetry){const j=I+(_+1)*E.nudgeOffset,Y=new Error(`Nudging 'currentTime' from ${I} to ${j}`);this.warn(Y.message),s.currentTime=j,n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_NUDGE_ON_STALL,error:Y,fatal:!1,buffer:t.len,bufferInfo:t})}else{const j=new Error(`Playhead still not moving while enough data buffered @${I} after ${E.nudgeMaxRetry} nudges`);this.error(j.message),n.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.BUFFER_STALLED_ERROR,error:j,fatal:!0,buffer:t.len,bufferInfo:t})}}}function da(O,t){const n=Fa(O.main);if(n&&n.start<=t)return n;const s=Fa(O.audio);return s&&s.start<=t?s:null}function Fa(O){if(!O)return null;switch(O.state){case cn.IDLE:case cn.STOPPED:case cn.ENDED:case cn.ERROR:return null}return O.frag}function Ta(O,t){return t.getAppendedFrag(O,u.MAIN)||t.getPartialFragment(O)}const tn=.25;function Ur(){if(typeof self!="undefined")return self.VTTCue||self.TextTrackCue}function qr(O,t,n,s,_){let E=new O(t,n,"");try{E.value=s,_&&(E.type=_)}catch(I){E=new O(t,n,ui(_?b({type:_},s):s))}return E}const kn=(()=>{const O=Ur();try{O&&new O(0,Number.POSITIVE_INFINITY,"")}catch(t){return Number.MAX_VALUE}return Number.POSITIVE_INFINITY})();class Zn{constructor(t){this.hls=void 0,this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.removeCues=!0,this.assetCue=void 0,this.onEventCueEnter=()=>{this.hls&&this.hls.trigger(o.EVENT_CUE_ENTER,{})},this.hls=t,this._registerListeners()}destroy(){this._unregisterListeners(),this.id3Track=null,this.media=null,this.dateRangeCuesAppended={},this.hls=this.onEventCueEnter=null}_registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.on(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}_unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHING,this.onMediaAttaching,this),t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.FRAG_PARSING_METADATA,this.onFragParsingMetadata,this),t.off(o.BUFFER_FLUSHING,this.onBufferFlushing,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.LEVEL_PTS_UPDATED,this.onLevelPtsUpdated,this))}onMediaAttaching(t,n){var s;this.media=n.media,((s=n.overrides)==null?void 0:s.cueRemoval)===!1&&(this.removeCues=!1)}onMediaAttached(){var t;const n=(t=this.hls)==null?void 0:t.latestLevelDetails;n&&this.updateDateRangeCues(n)}onMediaDetaching(t,n){this.media=null,!n.transferMedia&&(this.id3Track&&(this.removeCues&&D(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 tf(s,this.media),s}return this.media.addTextTrack("metadata","id3")}}onFragParsingMetadata(t,n){if(!this.media||!this.hls)return;const{enableEmsgMetadataCues:s,enableID3MetadataCues:_}=this.hls.config;if(!s&&!_)return;const{samples:E}=n;this.id3Track||(this.id3Track=this.createTrack(this.media));const I=Ur();if(I)for(let j=0;j<E.length;j++){const Y=E[j].type;if(Y===Qr.emsg&&!s||!_)continue;const V=Oa(E[j].data),ue=E[j].pts;let he=ue+E[j].duration;he>kn&&(he=kn),he-ue<=0&&(he=ue+tn);for(let Re=0;Re<V.length;Re++){const Fe=V[Re];if(!ye(Fe)){this.updateId3CueEnds(ue,Y);const ft=qr(I,ue,he,Fe,Y);ft&&this.id3Track.addCue(ft)}}}}updateId3CueEnds(t,n){var s;const _=(s=this.id3Track)==null?void 0:s.cues;if(_)for(let E=_.length;E--;){const I=_[E];I.type===n&&I.startTime<t&&I.endTime===kn&&(I.endTime=t)}}onBufferFlushing(t,{startOffset:n,endOffset:s,type:_}){const{id3Track:E,hls:I}=this;if(!I)return;const{config:{enableEmsgMetadataCues:j,enableID3MetadataCues:Y}}=I;if(E&&(j||Y)){let V;_==="audio"?V=ue=>ue.type===Qr.audioId3&&Y:_==="video"?V=ue=>ue.type===Qr.emsg&&j:V=ue=>ue.type===Qr.audioId3&&Y||ue.type===Qr.emsg&&j,L(E,n,s,V)}}onLevelUpdated(t,{details:n}){this.updateDateRangeCues(n,!0)}onLevelPtsUpdated(t,n){Math.abs(n.drift)>.01&&this.updateDateRangeCues(n.details)}updateDateRangeCues(t,n){if(!this.hls||!this.media)return;const{assetPlayerId:s,timelineOffset:_,enableDateRangeMetadataCues:E,interstitialsController:I}=this.hls.config;if(!E)return;const j=Ur();if(s&&_&&!I){const{fragmentStart:ft,fragmentEnd:st}=t;let Ft=this.assetCue;Ft?(Ft.startTime=ft,Ft.endTime=st):j&&(Ft=this.assetCue=qr(j,ft,st,{assetPlayerId:this.hls.config.assetPlayerId},"hlsjs.interstitial.asset"),Ft&&(Ft.id=s,this.id3Track||(this.id3Track=this.createTrack(this.media)),this.id3Track.addCue(Ft),Ft.addEventListener("enter",this.onEventCueEnter)))}if(!t.hasProgramDateTime)return;const{id3Track:Y}=this,{dateRanges:V}=t,ue=Object.keys(V);let he=this.dateRangeCuesAppended;if(Y&&n){var Ee;if((Ee=Y.cues)!=null&&Ee.length){const ft=Object.keys(he).filter(st=>!ue.includes(st));for(let st=ft.length;st--;){var Re;const Ft=ft[st],fr=(Re=he[Ft])==null?void 0:Re.cues;delete he[Ft],fr&&Object.keys(fr).forEach(ar=>{const $r=fr[ar];if($r){$r.removeEventListener("enter",this.onEventCueEnter);try{Y.removeCue($r)}catch(Xr){}}})}}else he=this.dateRangeCuesAppended={}}const Fe=t.fragments[t.fragments.length-1];if(!(ue.length===0||!r(Fe==null?void 0:Fe.programDateTime))){this.id3Track||(this.id3Track=this.createTrack(this.media));for(let ft=0;ft<ue.length;ft++){const st=ue[ft],Ft=V[st],fr=Ft.startTime,ar=he[st],$r=(ar==null?void 0:ar.cues)||{};let Xr=(ar==null?void 0:ar.durationKnown)||!1,gn=kn;const{duration:Kr,endDate:an}=Ft;if(an&&Kr!==null)gn=fr+Kr,Xr=!0;else if(Ft.endOnNext&&!Xr){const Vr=ue.reduce((Cn,wi)=>{if(wi!==Ft.id){const qi=V[wi];if(qi.class===Ft.class&&qi.startDate>Ft.startDate&&(!Cn||Ft.startDate<Cn.startDate))return qi}return Cn},null);Vr&&(gn=Vr.startTime,Xr=!0)}const dn=Object.keys(Ft.attr);for(let Vr=0;Vr<dn.length;Vr++){const Cn=dn[Vr];if(!Ps(Cn))continue;const wi=$r[Cn];if(wi)Xr&&!(ar!=null&&ar.durationKnown)?wi.endTime=gn:Math.abs(wi.startTime-fr)>.01&&(wi.startTime=fr,wi.endTime=gn);else if(j){let qi=Ft.attr[Cn];Is(Cn)&&(qi=K(qi));const ea=qr(j,fr,gn,{key:Cn,data:qi},Qr.dateRange);ea&&(ea.id=st,this.id3Track.addCue(ea),$r[Cn]=ea,I&&(Cn==="X-ASSET-LIST"||Cn==="X-ASSET-URL")&&ea.addEventListener("enter",this.onEventCueEnter))}}he[st]={cues:$r,dateRange:Ft,durationKnown:Xr}}}}}class Va{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 _=this.computeLatency();if(_===null)return;this._latency=_;const{lowLatencyMode:E,maxLiveSyncPlaybackRate:I}=this.config;if(!E||I===1||!s.live)return;const j=this.targetLatency;if(j===null)return;const Y=_-j,V=Math.min(this.maxLatency,j+s.targetduration);if(Y<V&&Y>.05&&this.forwardBufferLength>1){const he=Math.min(2,Math.max(1,I)),Ee=Math.round(2/(1+Math.exp(-.75*Y-this.edgeStalled))*20)/20,Re=Math.min(he,Math.max(1,Ee));this.changeMediaPlaybackRate(n,Re)}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:_}=t,{liveSyncDuration:E,liveSyncDurationCount:I,lowLatencyMode:j}=this.config,Y=this.hls.userConfig;let V=j&&s||n;(this._targetLatencyUpdated||Y.liveSyncDuration||Y.liveSyncDurationCount||V===0)&&(V=E!==void 0?E:I*_);const ue=_;return V+Math.min(this.stallCount*this.config.liveSyncOnStallIncrease,ue)}set targetLatency(t){this.stallCount=0,this.config.liveSyncDuration=t,this._targetLatencyUpdated=!0}get liveSyncPosition(){const t=this.estimateLiveEdge(),n=this.targetLatency;if(t===null||n===null)return null;const s=this.levelDetails;if(s===null)return null;const _=s.edge,E=t-n-this.edgeStalled,I=_-s.totalduration,j=_-(this.config.lowLatencyMode&&s.partTarget||s.targetduration);return Math.min(Math.max(I,E),j)}get drift(){const t=this.levelDetails;return t===null?1:t.drift}get edgeStalled(){const t=this.levelDetails;if(t===null)return 0;const n=(this.config.lowLatencyMode&&t.partTarget||t.targetduration)*3;return Math.max(t.age-n,0)}get forwardBufferLength(){const{media:t}=this,n=this.levelDetails;if(!t||!n)return 0;const s=t.buffered.length;return(s?t.buffered.end(s-1):n.edge)-this.currentTime}destroy(){this.unregisterListeners(),this.onMediaDetaching(),this.hls=null}registerListeners(){const{hls:t}=this;t&&(t.on(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.on(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.on(o.MANIFEST_LOADING,this.onManifestLoading,this),t.on(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.on(o.ERROR,this.onError,this))}unregisterListeners(){const{hls:t}=this;t&&(t.off(o.MEDIA_ATTACHED,this.onMediaAttached,this),t.off(o.MEDIA_DETACHING,this.onMediaDetaching,this),t.off(o.MANIFEST_LOADING,this.onManifestLoading,this),t.off(o.LEVEL_UPDATED,this.onLevelUpdated,this),t.off(o.ERROR,this.onError,this))}onMediaAttached(t,n){this.media=n.media,this.media.addEventListener("timeupdate",this.onTimeupdate)}onMediaDetaching(){this.media&&(this.media.removeEventListener("timeupdate",this.onTimeupdate),this.media=null)}onManifestLoading(){this._latency=null,this.stallCount=0}onLevelUpdated(t,{details:n}){n.advanced&&this.onTimeupdate(),!n.live&&this.media&&this.media.removeEventListener("timeupdate",this.onTimeupdate)}onError(t,n){var s;n.details===f.BUFFER_STALLED_ERROR&&(this.stallCount++,this.hls&&(s=this.levelDetails)!=null&&s.live&&this.hls.logger.warn("[latency-controller]: Stall detected, adjusting target latency"))}changeMediaPlaybackRate(t,n){var s,_;t.playbackRate!==n&&((s=this.hls)==null||s.logger.debug(`[latency-controller]: latency=${this.latency.toFixed(3)}, targetLatency=${(_=this.targetLatency)==null?void 0:_.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 Ki extends hi{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,_=[],E={},I={};let j=!1,Y=!1,V=!1;n.levels.forEach(ue=>{const he=ue.attrs;let{audioCodec:Ee,videoCodec:Re}=ue;Ee&&(ue.audioCodec=Ee=vt(Ee,s)||void 0),Re&&(Re=ue.videoCodec=At(Re));const{width:Fe,height:ft,unknownCodecs:st}=ue;let Ft=st?st.length:0;if(st)for(let Vr=Ft;Vr--;){const Cn=st[Vr];this.isAudioSupported(Cn)?(ue.audioCodec=Ee=Ee?`${Ee},${Cn}`:Cn,Ft--,pe.audio[Ee.substring(0,4)]=2):this.isVideoSupported(Cn)&&(ue.videoCodec=Re=Re?`${Re},${Cn}`:Cn,Ft--,pe.video[Re.substring(0,4)]=2)}if(j||(j=!!(Fe&&ft)),Y||(Y=!!Re),V||(V=!!Ee),Ft||Ee&&!this.isAudioSupported(Ee)||Re&&!this.isVideoSupported(Re)){this.log(`Some or all CODECS not supported "${he.CODECS}"`);return}const{CODECS:fr,"FRAME-RATE":ar,"HDCP-LEVEL":$r,"PATHWAY-ID":Xr,RESOLUTION:gn,"VIDEO-RANGE":Kr}=he,dn=`${`${Xr||"."}-`}${ue.bitrate}-${gn}-${ar}-${fr}-${Kr}-${$r}`;if(E[dn])if(E[dn].uri!==ue.url&&!ue.attrs["PATHWAY-ID"]){const Vr=I[dn]+=1;ue.attrs["PATHWAY-ID"]=new Array(Vr+1).join(".");const Cn=this.createLevel(ue);E[dn]=Cn,_.push(Cn)}else E[dn].addGroupId("audio",he.AUDIO),E[dn].addGroupId("text",he.SUBTITLES);else{const Vr=this.createLevel(ue);E[dn]=Vr,I[dn]=1,_.push(Vr)}}),this.filterAndSortMediaOptions(_,n,j,Y,V)}createLevel(t){const n=new vn(t),s=t.supplemental;if(s!=null&&s.videoCodec&&!this.isVideoSupported(s.videoCodec)){const _=new Error(`SUPPLEMENTAL-CODECS not supported "${s.videoCodec}"`);this.log(_.message),n.supportedResult=un(_,[])}return n}isAudioSupported(t){return Ce(t,"audio",this.hls.config.preferManagedMediaSource)}isVideoSupported(t){return Ce(t,"video",this.hls.config.preferManagedMediaSource)}filterAndSortMediaOptions(t,n,s,_,E){let I=[],j=[],Y=t;if((s||_)&&E&&(Y=Y.filter(({videoCodec:st,videoRange:Ft,width:fr,height:ar})=>(!!st||!!(fr&&ar))&&An(Ft))),Y.length===0){Promise.resolve().then(()=>{if(this.hls){let st="no level with compatible codecs found in manifest",Ft=st;n.levels.length&&(Ft=`one or more CODECS in variant not supported: ${ui(n.levels.map(ar=>ar.attrs.CODECS).filter((ar,$r,Xr)=>Xr.indexOf(ar)===$r))}`,this.warn(Ft),st+=` (${Ft})`);const fr=new Error(st);this.hls.trigger(o.ERROR,{type:c.MEDIA_ERROR,details:f.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:n.url,error:fr,reason:Ft})}});return}n.audioTracks&&(I=n.audioTracks.filter(st=>!st.audioCodec||this.isAudioSupported(st.audioCodec)),Ga(I)),n.subtitles&&(j=n.subtitles,Ga(j));const V=Y.slice(0);Y.sort((st,Ft)=>{if(st.attrs["HDCP-LEVEL"]!==Ft.attrs["HDCP-LEVEL"])return(st.attrs["HDCP-LEVEL"]||"")>(Ft.attrs["HDCP-LEVEL"]||"")?1:-1;if(s&&st.height!==Ft.height)return st.height-Ft.height;if(st.frameRate!==Ft.frameRate)return st.frameRate-Ft.frameRate;if(st.videoRange!==Ft.videoRange)return Nr.indexOf(st.videoRange)-Nr.indexOf(Ft.videoRange);if(st.videoCodec!==Ft.videoCodec){const fr=St(st.videoCodec),ar=St(Ft.videoCodec);if(fr!==ar)return ar-fr}if(st.uri===Ft.uri&&st.codecSet!==Ft.codecSet){const fr=Ie(st.codecSet),ar=Ie(Ft.codecSet);if(fr!==ar)return ar-fr}return st.averageBitrate!==Ft.averageBitrate?st.averageBitrate-Ft.averageBitrate:0});let ue=V[0];if(this.steering&&(Y=this.steering.filterParsedLevels(Y),Y.length!==V.length)){for(let st=0;st<V.length;st++)if(V[st].pathwayId===Y[0].pathwayId){ue=V[st];break}}this._levels=Y;for(let st=0;st<Y.length;st++)if(Y[st]===ue){var he;this._firstLevel=st;const Ft=ue.bitrate,fr=this.hls.bandwidthEstimate;if(this.log(`manifest loaded, ${Y.length} level(s) found, first bitrate: ${Ft}`),((he=this.hls.userConfig)==null?void 0:he.abrEwmaDefaultEstimate)===void 0){const ar=Math.min(Ft,this.hls.config.abrEwmaDefaultEstimateMax);ar>fr&&fr===this.hls.abrEwmaDefaultEstimate&&(this.hls.bandwidthEstimate=ar)}break}const Ee=E&&!_,Re=this.hls.config,Fe=!!(Re.audioStreamController&&Re.audioTrackController),ft={levels:Y,audioTracks:I,subtitleTracks:j,sessionData:n.sessionData,sessionKeys:n.sessionKeys,firstLevel:this._firstLevel,stats:n.stats,audio:E,video:_,altAudio:Fe&&!Ee&&I.some(st=>!!st.url)};this.hls.trigger(o.MANIFEST_PARSED,ft)}get levels(){return this._levels.length===0?null:this._levels}get loadLevelObj(){return this.currentLevel}get level(){return this.currentLevelIndex}set level(t){const n=this._levels;if(n.length===0)return;if(t<0||t>=n.length){const ue=new Error("invalid level idx"),he=t<0;if(this.hls.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.LEVEL_SWITCH_ERROR,level:t,fatal:he,error:ue,reason:ue.message}),he)return;t=Math.min(t,n.length-1)}const s=this.currentLevelIndex,_=this.currentLevel,E=_?_.attrs["PATHWAY-ID"]:void 0,I=n[t],j=I.attrs["PATHWAY-ID"];if(this.currentLevelIndex=t,this.currentLevel=I,s===t&&_&&E===j)return;this.log(`Switching to level ${t} (${I.height?I.height+"p ":""}${I.videoRange?I.videoRange+" ":""}${I.codecSet?I.codecSet+" ":""}@${I.bitrate})${j?" with Pathway "+j:""} from level ${s}${E?" with Pathway "+E:""}`);const Y={level:t,attrs:I.attrs,details:I.details,bitrate:I.bitrate,averageBitrate:I.averageBitrate,maxBitrate:I.maxBitrate,realBitrate:I.realBitrate,width:I.width,height:I.height,codecSet:I.codecSet,audioCodec:I.audioCodec,videoCodec:I.videoCodec,audioGroups:I.audioGroups,subtitleGroups:I.subtitleGroups,loaded:I.loaded,loadError:I.loadError,fragmentError:I.fragmentError,name:I.name,id:I.id,uri:I.uri,url:I.url,urlId:0,audioGroupIds:I.audioGroupIds,textGroupIds:I.textGroupIds};this.hls.trigger(o.LEVEL_SWITCHING,Y);const V=I.details;if(!V||V.live){const ue=this.switchParams(I.uri,_==null?void 0:_.details,V);this.loadPlaylist(ue)}}get manualLevel(){return this.manualLevelIndex}set manualLevel(t){this.manualLevelIndex=t,this._startLevel===void 0&&(this._startLevel=t),t!==-1&&(this.level=t)}get firstLevel(){return this._firstLevel}set firstLevel(t){this._firstLevel=t}get startLevel(){if(this._startLevel===void 0){const t=this.hls.config.startLevel;return t!==void 0?t:this.hls.firstAutoLevel}return this._startLevel}set startLevel(t){this._startLevel=t}get pathways(){return this.steering?this.steering.pathways():[]}get pathwayPriority(){return this.steering?this.steering.pathwayPriority:null}set pathwayPriority(t){if(this.steering){const n=this.steering.pathways(),s=t.filter(_=>n.indexOf(_)!==-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 _=this._levels[n.level];_!=null&&_.loadError&&(this.log(`Resetting level error count of ${_.loadError} on frag buffered`),_.loadError=0)}}onLevelLoaded(t,n){var s;const{level:_,details:E}=n,I=n.levelInfo;if(!I){var j;this.warn(`Invalid level index ${_}`),(j=n.deliveryDirectives)!=null&&j.skip&&(E.deltaUpdateFailed=!0);return}if(I===this.currentLevel||n.withoutMultiVariant){I.fragmentError===0&&(I.loadError=0);let Y=I.details;Y===n.details&&Y.advanced&&(Y=void 0),this.playlistLoaded(_,n,Y)}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),_=this.currentLevelIndex,E=t.attrs["PATHWAY-ID"],I=t.details,j=I==null?void 0:I.age;this.log(`Loading level index ${_}${(n==null?void 0:n.msn)!==void 0?" at sn "+n.msn+" part "+n.part:""}${E?" Pathway "+E:""}${j&&I.live?" age "+j.toFixed(1)+(I.type?" "+I.type||0:""):""} ${s}`),this.hls.trigger(o.LEVEL_LOADING,{url:s,level:_,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,I)=>I!==t?!0:(this.steering&&this.steering.removeLevel(E),E===this.currentLevel&&(this.currentLevel=null,this.currentLevelIndex=-1,E.details&&E.details.fragments.forEach(j=>j.level=-1)),!1));$n(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 _=s.length-1;this._firstLevel=Math.min(this._firstLevel,_),this._startLevel&&(this._startLevel=Math.min(this._startLevel,_)),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 Ga(O){const t={};O.forEach(n=>{const s=n.groupId||"";n.id=t[s]=t[s]||0,t[s]++})}function ls(){return self.SourceBuffer||self.WebKitSourceBuffer}function qa(){if(!ae())return!1;const t=ls();return!t||t.prototype&&typeof t.prototype.appendBuffer=="function"&&typeof t.prototype.remove=="function"}function Zc(){if(!qa())return!1;const O=ae();return typeof(O==null?void 0:O.isTypeSupported)=="function"&&(["avc1.42E01E,mp4a.40.2","av01.0.01M.08","vp09.00.50.08"].some(t=>O.isTypeSupported(Zt(t,"video")))||["mp4a.40.2","fLaC"].some(t=>O.isTypeSupported(Zt(t,"audio"))))}function sd(){var O;const t=ls();return typeof(t==null||(O=t.prototype)==null?void 0:O.changeType)=="function"}const bd=100;class xd extends Wa{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 _=this.media,E=_?_.currentTime:null;if(E===null||!r(E)||(this.log(`Media seeked to ${E.toFixed(3)}`),!this.getBufferedFrag(E)))return;const I=this.getFwdBufferInfoAtPos(_,E,u.MAIN,0);if(I===null||I.len===0){this.warn(`Main forward buffer length at ${E} on "seeked" event ${I?I.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:_}=this;if(this.stopLoad(),this.setInterval(bd),this.level=-1,!this.startFragRequested){let E=_.startLevel;E===-1&&(_.config.testBandwidth&&this.levels.length>1?(E=0,this.bitrateTest=!0):E=_.firstAutoLevel),_.nextLoadLevel=E,this.level=_.loadLevel,this._hasEnoughToStart=!!n}s>0&&t===-1&&!n&&(this.log(`Override startPosition with lastCurrentTime @${s.toFixed(3)}`),t=s),this.state=cn.IDLE,this.nextLoadPosition=this.lastCurrentTime=t+this.timelineOffset,this.startPosition=n?-1:t,this.tick()}else this._forceStartLoad=!0,this.state=cn.STOPPED}stopLoad(){this._forceStartLoad=!1,super.stopLoad()}doTick(){switch(this.state){case cn.WAITING_LEVEL:{const{levels:t,level:n}=this,s=t==null?void 0:t[n],_=s==null?void 0:s.details;if(_&&(!_.live||this.levelLastLoaded===s&&!this.waitForLive(s))){if(this.waitForCdnTuneIn(_))break;this.state=cn.IDLE;break}else if(this.hls.nextLoadLevel!==this.level){this.state=cn.IDLE;break}break}case cn.FRAG_LOADING_WAITING_RETRY:this.checkRetryDate();break}this.state===cn.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:_}=this;if(n===null||!_&&!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 I=s[E],j=this.getMainFwdBufferInfo();if(j===null)return;const Y=this.getLevelDetails();if(Y&&this._streamEnded(j,Y)){const ft={};this.altAudio===2&&(ft.type="video"),this.hls.trigger(o.BUFFER_EOS,ft),this.state=cn.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 V=I.details;if(!V||this.state===cn.WAITING_LEVEL||this.waitForLive(I)){this.level=E,this.state=cn.WAITING_LEVEL,this.startFragRequested=!1;return}const ue=j.len,he=this.getMaxBufferLength(I.maxBitrate);if(ue>=he)return;this.backtrackFragment&&this.backtrackFragment.start>j.end&&(this.backtrackFragment=null);const Ee=this.backtrackFragment?this.backtrackFragment.start:j.end;let Re=this.getNextFragment(Ee,V);if(this.couldBacktrack&&!this.fragPrevious&&Re&&Pe(Re)&&this.fragmentTracker.getState(Re)!==Rr.OK){var Fe;const st=((Fe=this.backtrackFragment)!=null?Fe:Re).sn-V.startSN,Ft=V.fragments[st-1];Ft&&Re.cc===Ft.cc&&(Re=Ft,this.fragmentTracker.removeFragment(Ft))}else this.backtrackFragment&&j.len&&(this.backtrackFragment=null);if(Re&&this.isLoopLoading(Re,Ee)){if(!Re.gap){const st=this.audioOnly&&!this.altAudio?ie.AUDIO:ie.VIDEO,Ft=(st===ie.VIDEO?this.videoBuffer:this.mediaBuffer)||this.media;Ft&&this.afterBufferFlushed(Ft,st,u.MAIN)}Re=this.getNextFragmentLoopLoading(Re,V,j,u.MAIN,he)}Re&&(Re.initSegment&&!Re.initSegment.data&&!this.bitrateTest&&(Re=Re.initSegment),this.loadFragment(Re,I,Ee))}loadFragment(t,n,s){const _=this.fragmentTracker.getState(t);_===Rr.NOT_LOADED||_===Rr.PARTIAL?Pe(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 _=this.getAppendedFrag(n.currentTime);_&&_.start>1&&this.flushMainBuffer(0,_.start-1);const E=this.getLevelDetails();if(E!=null&&E.live){const j=this.getMainFwdBufferInfo();if(!j||j.len<E.targetduration*2)return}if(!n.paused&&t){const j=this.hls.nextLoadLevel,Y=t[j],V=this.fragLastKbps;V&&this.fragCurrent?s=this.fragCurrent.duration*Y.maxBitrate/(1e3*V)+1:s=0}else s=0;const I=this.getBufferedFrag(n.currentTime+s);if(I){const j=this.followingBufferedFrag(I);if(j){this.abortCurrentFrag();const Y=j.maxStartPTS?j.maxStartPTS:j.start,V=j.duration,ue=Math.max(I.end,Y+Math.min(Math.max(V-this.config.maxFragLookUpTolerance,V*(this.couldBacktrack?.5:.125)),V*(this.couldBacktrack?.75:.25)));this.flushMainBuffer(ue,Number.POSITIVE_INFINITY)}}}}abortCurrentFrag(){const t=this.fragCurrent;switch(this.fragCurrent=null,this.backtrackFragment=null,t&&(t.abortRequests(),this.fragmentTracker.removeFragment(t)),this.state){case cn.KEY_LOADING:case cn.FRAG_LOADING:case cn.FRAG_LOADING_WAITING_RETRY:case cn.PARSING:case cn.PARSED:this.state=cn.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;vi(s,"playing",this.onMediaPlaying),vi(s,"seeked",this.onMediaSeeked)}onMediaDetaching(t,n){const{media:s}=this;s&&(ps(s,"playing",this.onMediaPlaying),ps(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,_=!1;for(let E=0;E<n.levels.length;E++){const I=n.levels[E].audioCodec;I&&(s=s||I.indexOf("mp4a.40.2")!==-1,_=_||I.indexOf("mp4a.40.5")!==-1)}this.audioCodecSwitch=s&&_&&!sd(),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!==cn.IDLE)return;const _=n.levelInfo;(!_.details||_.details.live&&(this.levelLastLoaded!==_||_.details.expired)||this.waitForCdnTuneIn(_.details))&&(this.state=cn.WAITING_LEVEL)}onLevelLoaded(t,n){var s;const{levels:_,startFragRequested:E}=this,I=n.level,j=n.details,Y=j.totalduration;if(!_){this.warn(`Levels were reset while loading level ${I}`);return}this.log(`Level ${I} loaded [${j.startSN},${j.endSN}]${j.lastPartSn?`[part-${j.lastPartSn}-${j.lastPartIndex}]`:""}, cc [${j.startCC}, ${j.endCC}] duration:${Y}`);const V=n.levelInfo,ue=this.fragCurrent;ue&&(this.state===cn.FRAG_LOADING||this.state===cn.FRAG_LOADING_WAITING_RETRY)&&ue.level!==n.level&&ue.loader&&this.abortCurrentFrag();let he=0;if(j.live||(s=V.details)!=null&&s.live){var Ee;if(this.checkLiveUpdate(j),j.deltaUpdateFailed)return;he=this.alignPlaylists(j,V.details,(Ee=this.levelLastLoaded)==null?void 0:Ee.details)}if(V.details=j,this.levelLastLoaded=V,E||this.setStartPosition(j,he),this.hls.trigger(o.LEVEL_UPDATED,{details:j,level:I}),this.state===cn.WAITING_LEVEL){if(this.waitForCdnTuneIn(j))return;this.state=cn.IDLE}E&&j.live&&this.synchronizeToLiveEdge(j),this.tick()}synchronizeToLiveEdge(t){const{config:n,media:s}=this;if(!s)return;const _=this.hls.liveSyncPosition,E=this.getLoadPosition(),I=t.fragmentStart,j=t.edge,Y=E>=I-n.maxFragLookUpTolerance&&E<=j;if(_!==null&&s.duration>_&&(E<_||!Y)){const ue=n.liveMaxLatencyDuration!==void 0?n.liveMaxLatencyDuration:n.liveMaxLatencyDurationCount*t.targetduration;if((!Y&&s.readyState<4||E<j-ue)&&(this._hasEnoughToStart||(this.nextLoadPosition=_),s.readyState))if(this.warn(`Playback: ${E.toFixed(3)} is located too far from the end of live sliding playlist: ${j}, reset currentTime to : ${_.toFixed(3)}`),this.config.liveSyncMode==="buffered"){var V;const he=Li.bufferInfo(s,_,0);if(!((V=he.buffered)!=null&&V.length)){s.currentTime=_;return}if(he.start<=E){s.currentTime=_;return}const{nextStart:Re}=Li.bufferedInfo(he.buffered,E,0);Re&&(s.currentTime=Re)}else s.currentTime=_}}_handleFragmentLoadProgress(t){var n;const s=t.frag,{part:_,payload:E}=t,{levels:I}=this;if(!I){this.warn(`Levels were reset while fragment load was in progress. Fragment ${s.sn} of level ${s.level} will not be buffered`);return}const j=I[s.level];if(!j){this.warn(`Level ${s.level} not found on progress`);return}const Y=j.details;if(!Y){this.warn(`Dropping fragment ${s.sn} of level ${s.level} after level details were reset`),this.fragmentTracker.removeFragment(s);return}const V=j.videoCodec,ue=Y.PTSKnown||!Y.live,he=(n=s.initSegment)==null?void 0:n.data,Ee=this._getAudioCodec(j),Re=this.transmuxer=this.transmuxer||new zu(this.hls,u.MAIN,this._handleTransmuxComplete.bind(this),this._handleTransmuxerFlush.bind(this)),Fe=_?_.index:-1,ft=Fe!==-1,st=new ya(s.level,s.sn,s.stats.chunkCount,E.byteLength,Fe,ft),Ft=this.initPTS[s.cc];Re.push(E,he,Ee,V,s,_,Y.totalduration,ue,st,Ft)}onAudioTrackSwitching(t,n){const s=this.hls,_=this.altAudio===2;if(Ti(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 I=this.fragCurrent;I&&(this.log("Switching to main audio track, cancel main fragment load"),I.abortRequests(),this.fragmentTracker.removeFragment(I)),this.resetTransmuxer(),this.resetLoadingState()}else this.audioOnly&&this.resetTransmuxer();if(_){this.fragmentTracker.removeAllFragments(),s.once(o.BUFFER_FLUSHED,()=>{this.hls&&this.hls.trigger(o.AUDIO_TRACK_SWITCHED,n)}),s.trigger(o.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:null});return}s.trigger(o.AUDIO_TRACK_SWITCHED,n)}}onAudioTrackSwitched(t,n){const s=Ti(n.url,this.hls);if(s){const _=this.videoBuffer;_&&this.mediaBuffer!==_&&(this.log("Switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=_)}this.altAudio=s?2:0,this.tick()}onBufferCreated(t,n){const s=n.tracks;let _,E,I=!1;for(const j in s){const Y=s[j];if(Y.id==="main"){if(E=j,_=Y,j==="video"){const V=s[j];V&&(this.videoBuffer=V.buffer)}}else I=!0}I&&_?(this.log(`Alternate track found, use ${E}.buffered to schedule main fragment loading`),this.mediaBuffer=_.buffer):this.mediaBuffer=this.media}onFragBuffered(t,n){const{frag:s,part:_}=n,E=s.type===u.MAIN;if(E){if(this.fragContextChanged(s)){this.warn(`Fragment ${s.sn}${_?" p: "+_.index:""} of level ${s.level} finished buffering, but was aborted. state: ${this.state}`),this.state===cn.PARSED&&(this.state=cn.IDLE);return}const j=_?_.stats:s.stats;this.fragLastKbps=Math.round(8*j.total/(j.buffering.end-j.loading.first)),Pe(s)&&(this.fragPrevious=s),this.fragBufferedComplete(s,_)}const I=this.media;I&&(!this._hasEnoughToStart&&Li.getBuffered(I).length&&(this._hasEnoughToStart=!0,this.seekToStartPos()),E&&this.tick())}get hasEnoughToStart(){return this._hasEnoughToStart}onError(t,n){var s;if(n.fatal){this.state=cn.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===cn.WAITING_LEVEL&&((s=n.context)==null?void 0:s.type)===h.LEVEL&&(this.state=cn.IDLE);break;case f.BUFFER_ADD_CODEC_ERROR:case f.BUFFER_APPEND_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&this.resetLoadingState();break;case f.BUFFER_FULL_ERROR:if(n.parent!=="main")return;this.reduceLengthAndFlushBuffer(n)&&(!this.config.interstitialsController&&this.config.assetPlayerId?this._hasEnoughToStart=!0:this.flushMainBuffer(0,Number.POSITIVE_INFINITY));break;case f.INTERNAL_EXCEPTION:this.recoverWorkerError(n);break}}onFragLoadEmergencyAborted(){this.state=cn.IDLE,this._hasEnoughToStart||(this.startFragRequested=!1,this.nextLoadPosition=this.lastCurrentTime),this.tickImmediate()}onBufferFlushed(t,{type:n}){if(n!==ie.AUDIO||!this.altAudio){const s=(n===ie.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 _=this.timelineOffset;_&&s&&(s+=_);const E=this.getLevelDetails(),I=Li.getBuffered(t),j=I.length?I.start(0):0,Y=j-s,V=Math.max(this.config.maxBufferHole,this.config.maxFragLookUpTolerance);(this.config.startOnSegmentBoundary||Y>0&&(Y<V||this.loadingParts&&Y<2*((E==null?void 0:E.partTarget)||0)))&&(this.log(`adjusting start position by ${Y} to match buffer start`),s+=Y,this.startPosition=s),n<s&&(this.log(`seek to target start position ${s} from current time ${n} buffer start ${j}`),t.currentTime=s)}}_getAudioCodec(t){let n=this.config.defaultAudioCodec||t.audioCodec;return this.audioCodecSwap&&n&&(this.log("Swapping audio codec"),n.indexOf("mp4a.40.5")!==-1?n="mp4a.40.2":n="mp4a.40.5"),n}_loadBitrateTestFrag(t,n){t.bitrateTest=!0,this._doFragLoad(t,n).then(s=>{const{hls:_}=this,E=s==null?void 0:s.frag;if(!E||this.fragContextChanged(E))return;n.fragmentError=0,this.state=cn.IDLE,this.startFragRequested=!1,this.bitrateTest=!1;const I=E.stats;I.parsing.start=I.parsing.end=I.buffering.start=I.buffering.end=self.performance.now(),_.trigger(o.FRAG_LOADED,s),E.bitrateTest=!1}).catch(s=>{this.state===cn.STOPPED||this.state===cn.ERROR||(this.warn(s),this.resetFragmentLoading(t))})}_handleTransmuxComplete(t){const n=this.playlistType,{hls:s}=this,{remuxResult:_,chunkMeta:E}=t,I=this.getCurrentContext(E);if(!I){this.resetWhenMissingContext(E);return}const{frag:j,part:Y,level:V}=I,{video:ue,text:he,id3:Ee,initSegment:Re}=_,{details:Fe}=V,ft=this.altAudio?void 0:_.audio;if(this.fragContextChanged(j)){this.fragmentTracker.removeFragment(j);return}if(this.state=cn.PARSING,Re){const st=Re.tracks;if(st){const $r=j.initSegment||j;if(this.unhandledEncryptionError(Re,j))return;this._bufferInitSegment(V,st,$r,E),s.trigger(o.FRAG_PARSING_INIT_SEGMENT,{frag:$r,id:n,tracks:st})}const Ft=Re.initPTS,fr=Re.timescale,ar=this.initPTS[j.cc];if(r(Ft)&&(!ar||ar.baseTime!==Ft||ar.timescale!==fr)){const $r=Re.trackId;this.initPTS[j.cc]={baseTime:Ft,timescale:fr,trackId:$r},s.trigger(o.INIT_PTS_FOUND,{frag:j,id:n,initPTS:Ft,timescale:fr,trackId:$r})}}if(ue&&Fe){ft&&ue.type==="audiovideo"&&this.logMuxedErr(j);const st=Fe.fragments[j.sn-1-Fe.startSN],Ft=j.sn===Fe.startSN,fr=!st||j.cc>st.cc;if(_.independent!==!1){const{startPTS:ar,endPTS:$r,startDTS:Xr,endDTS:gn}=ue;if(Y)Y.elementaryStreams[ue.type]={startPTS:ar,endPTS:$r,startDTS:Xr,endDTS:gn};else if(ue.firstKeyFrame&&ue.independent&&E.id===1&&!fr&&(this.couldBacktrack=!0),ue.dropped&&ue.independent){const Kr=this.getMainFwdBufferInfo(),an=(Kr?Kr.end:this.getLoadPosition())+this.config.maxBufferHole,dn=ue.firstKeyFramePTS?ue.firstKeyFramePTS:ar;if(!Ft&&an<dn-this.config.maxBufferHole&&!fr){this.backtrack(j);return}else fr&&(j.gap=!0);j.setElementaryStreamInfo(ue.type,j.start,$r,j.start,gn,!0)}else Ft&&ar-(Fe.appliedTimelineOffset||0)>Dr&&(j.gap=!0);j.setElementaryStreamInfo(ue.type,ar,$r,Xr,gn),this.backtrackFragment&&(this.backtrackFragment=j),this.bufferFragmentData(ue,j,Y,E,Ft||fr)}else if(Ft||fr)j.gap=!0;else{this.backtrack(j);return}}if(ft){const{startPTS:st,endPTS:Ft,startDTS:fr,endDTS:ar}=ft;Y&&(Y.elementaryStreams[ie.AUDIO]={startPTS:st,endPTS:Ft,startDTS:fr,endDTS:ar}),j.setElementaryStreamInfo(ie.AUDIO,st,Ft,fr,ar),this.bufferFragmentData(ft,j,Y,E)}if(Fe&&Ee!=null&&Ee.samples.length){const st={id:n,frag:j,details:Fe,samples:Ee.samples};s.trigger(o.FRAG_PARSING_METADATA,st)}if(Fe&&he){const st={id:n,frag:j,details:Fe,samples:he.samples};s.trigger(o.FRAG_PARSING_USERDATA,st)}}logMuxedErr(t){this.warn(`${Pe(t)?"Media":"Init"} segment with muxed audiovideo where only video expected: ${t.url}`)}_bufferInitSegment(t,n,s,_){if(this.state!==cn.PARSING)return;this.audioOnly=!!n.audio&&!n.video,this.altAudio&&!this.audioOnly&&(delete n.audio,n.audiovideo&&this.logMuxedErr(s));const{audio:E,video:I,audiovideo:j}=n;if(E){const V=t.audioCodec;let ue=Me(E.codec,V);ue==="mp4a"&&(ue="mp4a.40.5");const he=navigator.userAgent.toLowerCase();if(this.audioCodecSwitch){ue&&(ue.indexOf("mp4a.40.5")!==-1?ue="mp4a.40.2":ue="mp4a.40.5");const Ee=E.metadata;Ee&&"channelCount"in Ee&&(Ee.channelCount||1)!==1&&he.indexOf("firefox")===-1&&(ue="mp4a.40.5")}ue&&ue.indexOf("mp4a.40.5")!==-1&&he.indexOf("android")!==-1&&E.container!=="audio/mpeg"&&(ue="mp4a.40.2",this.log(`Android: force audio codec to ${ue}`)),V&&V!==ue&&this.log(`Swapping manifest audio codec "${V}" for "${ue}"`),E.levelCodec=ue,E.id=u.MAIN,this.log(`Init audio buffer, container:${E.container}, codecs[selected/level/parsed]=[${ue||""}/${V||""}/${E.codec}]`),delete n.audiovideo}if(I){I.levelCodec=t.videoCodec,I.id=u.MAIN;const V=I.codec;if((V==null?void 0:V.length)===4)switch(V){case"hvc1":case"hev1":I.codec="hvc1.1.6.L120.90";break;case"av01":I.codec="av01.0.04M.08";break;case"avc1":I.codec="avc1.42e01e";break}this.log(`Init video buffer, container:${I.container}, codecs[level/parsed]=[${t.videoCodec||""}/${V}]${I.codec!==V?" parsed-corrected="+I.codec:""}${I.supplemental?" supplemental="+I.supplemental:""}`),delete n.audiovideo}j&&(this.log(`Init audiovideo buffer, container:${j.container}, codecs[level/parsed]=[${t.codecs}/${j.codec}]`),delete n.video,delete n.audio);const Y=Object.keys(n);if(Y.length){if(this.hls.trigger(o.BUFFER_CODECS,n),!this.hls)return;Y.forEach(V=>{const he=n[V].initSegment;he!=null&&he.byteLength&&this.hls.trigger(o.BUFFER_APPENDING,{type:V,data:he,frag:s,part:null,chunkMeta:_,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=cn.IDLE}checkFragmentChanged(){const t=this.media;let n=null;if(t&&t.readyState>1&&t.seeking===!1){const s=t.currentTime;if(Li.isBuffered(t,s)?n=this.getAppendedFrag(s):Li.isBuffered(t,s+.1)&&(n=this.getAppendedFrag(s+.1)),n){this.backtrackFragment=null;const _=this.fragPlaying,E=n.level;(!_||n.sn!==_.sn||_.level!==E)&&(this.fragPlaying=n,this.hls.trigger(o.FRAG_CHANGED,{frag:n}),(!_||_.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(),_=this.currentFrag||(s?dt(null,s.fragments,n):null);if(_){const E=_.programDateTime;if(E!==null){const I=E+(n-_.start)*1e3;return new Date(I)}}}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 Ed extends R{constructor(t,n){super("key-loader",n),this.config=void 0,this.keyIdToKeyInfo={},this.emeController=null,this.config=t}abort(t){for(const s in this.keyIdToKeyInfo){const _=this.keyIdToKeyInfo[s].loader;if(_){var n;if(t&&t!==((n=_.context)==null?void 0:n.frag.type))return;_.abort()}}}detach(){for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t];(n.mediaKeySessionContext||n.decryptdata.isCommonEncryption)&&delete this.keyIdToKeyInfo[t]}}destroy(){this.detach();for(const t in this.keyIdToKeyInfo){const n=this.keyIdToKeyInfo[t].loader;n&&n.destroy()}this.keyIdToKeyInfo={}}createKeyLoadError(t,n=f.KEY_LOAD_ERROR,s,_,E){return new ja({type:c.NETWORK_ERROR,details:n,fatal:!1,frag:t,response:E,error:s,networkDetails:_})}loadClear(t,n,s){if(this.emeController&&this.config.emeEnabled&&!this.emeController.getSelectedKeySystemFormats().length){if(n.length)for(let _=0,E=n.length;_<E;_++){const I=n[_];if(t.cc<=I.cc&&(!Pe(t)||!Pe(I)||t.sn<I.sn)||!s&&_==E-1)return this.emeController.selectKeySystemFormat(I).then(j=>{if(!this.emeController)return;I.setKeyFormat(j);const Y=_i(j);if(Y)return this.emeController.getKeySystemAccess([Y])})}if(this.config.requireKeySystemAccessOnStart){const _=ts(this.config);if(_.length)return this.emeController.getKeySystemAccess(_)}}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,_;n&&t.setKeyFormat(n);const E=t.decryptdata;if(!E){const ue=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,ue))}const I=E.uri;if(!I)return Promise.reject(this.createKeyLoadError(t,f.KEY_LOAD_ERROR,new Error(`Invalid key URI: "${I}"`)));const j=od(E);let Y=this.keyIdToKeyInfo[j];if((s=Y)!=null&&s.decryptdata.key)return E.key=Y.decryptdata.key,Promise.resolve({frag:t,keyInfo:Y});if((_=Y)!=null&&_.keyLoadPromise){var V;switch((V=Y.mediaKeySessionContext)==null?void 0:V.keyStatus){case"usable":case"usable-in-future":return Y.keyLoadPromise.then(he=>{const{keyInfo:Ee}=he;return E.key=Ee.decryptdata.key,{frag:t,keyInfo:Ee}})}}switch(this.log(`Loading key ${J(E.keyId||[])} from ${t.type} ${t.level}`),Y=this.keyIdToKeyInfo[j]={decryptdata:E,keyLoadPromise:null,loader:null,mediaKeySessionContext:null},E.method){case"SAMPLE-AES":case"SAMPLE-AES-CENC":case"SAMPLE-AES-CTR":return E.keyFormat==="identity"?this.loadKeyHTTP(Y,t):this.loadKeyEME(Y,t);case"AES-128":case"AES-256":case"AES-256-CTR":return this.loadKeyHTTP(Y,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 _=this.emeController.loadKey(s);return(t.keyLoadPromise=_.then(E=>(t.mediaKeySessionContext=E,s))).catch(E=>{throw t.keyLoadPromise=null,E.data&&(E.data.frag=n),E})}return Promise.resolve(s)}loadKeyHTTP(t,n){const s=this.config,_=s.loader,E=new _(s);return n.keyLoader=t.loader=E,t.keyLoadPromise=new Promise((I,j)=>{const Y={keyInfo:t,frag:n,responseType:"arraybuffer",url:t.decryptdata.uri},V=s.keyLoadPolicy.default,ue={loadPolicy:V,timeout:V.maxLoadTimeMs,maxRetry:0,retryDelay:0,maxRetryDelay:0},he={onSuccess:(Ee,Re,Fe,ft)=>{const{frag:st,keyInfo:Ft,url:fr}=Fe,ar=od(Ft.decryptdata)||fr;if(!st.decryptdata||Ft!==this.keyIdToKeyInfo[ar])return j(this.createKeyLoadError(st,f.KEY_LOAD_ERROR,new Error("after key load, decryptdata unset or changed"),ft));Ft.decryptdata.key=st.decryptdata.key=new Uint8Array(Ee.data),st.keyLoader=null,Ft.loader=null,I({frag:st,keyInfo:Ft})},onError:(Ee,Re,Fe,ft)=>{this.resetLoader(Re),j(this.createKeyLoadError(n,f.KEY_LOAD_ERROR,new Error(`HTTP Error ${Ee.code} loading key ${Ee.text}`),Fe,b({url:Y.url,data:void 0},Ee)))},onTimeout:(Ee,Re,Fe)=>{this.resetLoader(Re),j(this.createKeyLoadError(n,f.KEY_LOAD_TIMEOUT,new Error("key loading timed out"),Fe))},onAbort:(Ee,Re,Fe)=>{this.resetLoader(Re),j(this.createKeyLoadError(n,f.INTERNAL_ABORTED,new Error("key loading aborted"),Fe))}};E.load(Y,ue,he)})}resetLoader(t){const{frag:n,keyInfo:s,url:_}=t,E=s.loader;n.keyLoader===E&&(n.keyLoader=null,s.loader=null);const I=od(s.decryptdata)||_;delete this.keyIdToKeyInfo[I],E&&E.destroy()}}function od(O){const t=O.keyId;return t?J(t):O.uri}function dd(O){const{type:t}=O;switch(t){case h.AUDIO_TRACK:return u.AUDIO;case h.SUBTITLE_TRACK:return u.SUBTITLE;default:return u.MAIN}}function ud(O,t){let n=O.url;return(n===void 0||n.indexOf("data:")===0)&&(n=t.url),n}class wd{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,_=n.loader,E=s||_,I=new E(n);return this.loaders[t.type]=I,I}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:_,pathwayId:E,url:I,deliveryDirectives:j,levelInfo:Y}=n;this.load({id:s,level:_,pathwayId:E,responseType:"text",type:h.LEVEL,url:I,deliveryDirectives:j,levelOrTrack:Y})}onAudioTrackLoading(t,n){const{id:s,groupId:_,url:E,deliveryDirectives:I,track:j}=n;this.load({id:s,groupId:_,level:null,responseType:"text",type:h.AUDIO_TRACK,url:E,deliveryDirectives:I,levelOrTrack:j})}onSubtitleTrackLoading(t,n){const{id:s,groupId:_,url:E,deliveryDirectives:I,track:j}=n;this.load({id:s,groupId:_,level:null,responseType:"text",type:h.SUBTITLE_TRACK,url:E,deliveryDirectives:I,levelOrTrack:j})}onLevelsUpdated(t,n){const s=this.loaders[h.LEVEL];if(s){const _=s.context;_&&!n.levels.some(E=>E===_.levelOrTrack)&&(s.abort(),delete this.loaders[h.LEVEL])}}load(t){var n;const s=this.hls.config;let _=this.getInternalLoader(t);if(_){const V=this.hls.logger,ue=_.context;if(ue&&ue.levelOrTrack===t.levelOrTrack&&(ue.url===t.url||ue.deliveryDirectives&&!t.deliveryDirectives)){ue.url===t.url?V.log(`[playlist-loader]: ignore ${t.url} ongoing request`):V.log(`[playlist-loader]: ignore ${t.url} in favor of ${ue.url}`);return}V.log(`[playlist-loader]: aborting previous loader for type: ${t.type}`),_.abort()}let E;if(t.type===h.MANIFEST?E=s.manifestLoadPolicy.default:E=y({},s.playlistLoadPolicy.default,{timeoutRetry:null,errorRetry:null}),_=this.createInternalLoader(t),r((n=t.deliveryDirectives)==null?void 0:n.part)){let V;if(t.type===h.LEVEL&&t.level!==null?V=this.hls.levels[t.level].details:t.type===h.AUDIO_TRACK&&t.id!==null?V=this.hls.audioTracks[t.id].details:t.type===h.SUBTITLE_TRACK&&t.id!==null&&(V=this.hls.subtitleTracks[t.id].details),V){const ue=V.partTarget,he=V.targetduration;if(ue&&he){const Ee=Math.max(ue*3,he*.8)*1e3;E=y({},E,{maxTimeToFirstByteMs:Math.min(Ee,E.maxTimeToFirstByteMs),maxLoadTimeMs:Math.min(Ee,E.maxTimeToFirstByteMs)})}}}const I=E.errorRetry||E.timeoutRetry||{},j={loadPolicy:E,timeout:E.maxLoadTimeMs,maxRetry:I.maxNumRetry||0,retryDelay:I.retryDelayMs||0,maxRetryDelay:I.maxRetryDelayMs||0},Y={onSuccess:(V,ue,he,Ee)=>{const Re=this.getInternalLoader(he);this.resetInternalLoader(he.type);const Fe=V.data;if(Fe.indexOf("#EXTM3U")!==0){this.handleManifestParsingError(V,he,new Error("no EXTM3U delimiter"),Ee||null,ue);return}ue.parsing.start=performance.now(),Do.isMediaPlaylist(Fe)||he.type!==h.MANIFEST?this.handleTrackOrLevelPlaylist(V,ue,he,Ee||null,Re):this.handleMasterPlaylist(V,ue,he,Ee)},onError:(V,ue,he,Ee)=>{this.handleNetworkError(ue,he,!1,V,Ee)},onTimeout:(V,ue,he)=>{this.handleNetworkError(ue,he,!0,void 0,V)}};_.load(t,j,Y)}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,_){const E=this.hls,I=t.data,j=ud(t,s),Y=Do.parseMasterPlaylist(I,j);if(Y.playlistParsingError){this.handleManifestParsingError(t,s,Y.playlistParsingError,_,n);return}const{contentSteering:V,levels:ue,sessionData:he,sessionKeys:Ee,startTimeOffset:Re,variableList:Fe}=Y;this.variableList=Fe;const{AUDIO:ft=[],SUBTITLES:st,"CLOSED-CAPTIONS":Ft}=Do.parseMasterPlaylistMedia(I,j,Y);ft.length&&!ft.some(ar=>!ar.url)&&ue[0].audioCodec&&!ue[0].attrs.AUDIO&&(this.hls.logger.log("[playlist-loader]: audio codec signaled in quality level, but no embedded audio track signaled, create one"),ft.unshift({type:"main",name:"main",groupId:"main",default:!1,autoselect:!1,forced:!1,id:-1,attrs:new bn({}),bitrate:0,url:""})),E.trigger(o.MANIFEST_LOADED,{levels:ue,audioTracks:ft,subtitles:st,captions:Ft,contentSteering:V,url:j,stats:n,networkDetails:_,sessionData:he,sessionKeys:Ee,startTimeOffset:Re,variableList:Fe})}handleTrackOrLevelPlaylist(t,n,s,_,E){const I=this.hls,{id:j,level:Y,type:V}=s,ue=ud(t,s),he=r(Y)?Y:r(j)?j:0,Ee=dd(s),Re=Do.parseLevelPlaylist(t.data,ue,he,Ee,0,this.variableList);if(V===h.MANIFEST){const Fe={attrs:new bn({}),bitrate:0,details:Re,name:"",url:ue};Re.requestScheduled=n.loading.start+Fr(Re,0),I.trigger(o.MANIFEST_LOADED,{levels:[Fe],audioTracks:[],url:ue,stats:n,networkDetails:_,sessionData:null,sessionKeys:null,contentSteering:null,startTimeOffset:null,variableList:null})}n.parsing.end=performance.now(),s.levelDetails=Re,this.handlePlaylistLoaded(Re,t,n,s,_,E)}handleManifestParsingError(t,n,s,_,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:_,stats:E})}handleNetworkError(t,n,s=!1,_,E){let I=`A network ${s?"timeout":"error"+(_?" (status "+_.code+")":"")} occurred while loading ${t.type}`;t.type===h.LEVEL?I+=`: ${t.level} id: ${t.id}`:(t.type===h.AUDIO_TRACK||t.type===h.SUBTITLE_TRACK)&&(I+=` id: ${t.id} group-id: "${t.groupId}"`);const j=new Error(I);this.hls.logger.warn(`[playlist-loader]: ${I}`);let Y=f.UNKNOWN,V=!1;const ue=this.getInternalLoader(t);switch(t.type){case h.MANIFEST:Y=s?f.MANIFEST_LOAD_TIMEOUT:f.MANIFEST_LOAD_ERROR,V=!0;break;case h.LEVEL:Y=s?f.LEVEL_LOAD_TIMEOUT:f.LEVEL_LOAD_ERROR,V=!1;break;case h.AUDIO_TRACK:Y=s?f.AUDIO_TRACK_LOAD_TIMEOUT:f.AUDIO_TRACK_LOAD_ERROR,V=!1;break;case h.SUBTITLE_TRACK:Y=s?f.SUBTITLE_TRACK_LOAD_TIMEOUT:f.SUBTITLE_LOAD_ERROR,V=!1;break}ue&&this.resetInternalLoader(t.type);const he={type:c.NETWORK_ERROR,details:Y,fatal:V,url:t.url,loader:ue,context:t,error:j,networkDetails:n,stats:E};if(_){const Ee=(n==null?void 0:n.url)||t.url;he.response=b({url:Ee,data:void 0},_)}this.hls.trigger(o.ERROR,he)}handlePlaylistLoaded(t,n,s,_,E,I){const j=this.hls,{type:Y,level:V,id:ue,groupId:he,deliveryDirectives:Ee}=_,Re=ud(n,_),Fe=dd(_),ft=typeof _.level=="number"&&Fe===u.MAIN?V:void 0;if(!t.fragments.length){const Ft=t.playlistParsingError=new Error("No Segments found in Playlist");j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_EMPTY_ERROR,fatal:!1,url:Re,error:Ft,reason:Ft.message,response:n,context:_,level:ft,parent:Fe,networkDetails:E,stats:s});return}t.targetduration||(t.playlistParsingError=new Error("Missing Target Duration"));const st=t.playlistParsingError;if(st){if(this.hls.logger.warn(`${st} ${t.url}`),!j.config.ignorePlaylistParsingErrors){j.trigger(o.ERROR,{type:c.NETWORK_ERROR,details:f.LEVEL_PARSING_ERROR,fatal:!1,url:Re,error:st,reason:st.message,response:n,context:_,level:ft,parent:Fe,networkDetails:E,stats:s});return}t.playlistParsingError=null}switch(t.live&&I&&(I.getCacheAge&&(t.ageHeader=I.getCacheAge()||0),(!I.getCacheAge||isNaN(t.ageHeader))&&(t.ageHeader=0)),Y){case h.MANIFEST:case h.LEVEL:j.trigger(o.LEVEL_LOADED,{details:t,levelInfo:_.levelOrTrack||j.levels[0],level:ft||0,id:ue||0,stats:s,networkDetails:E,deliveryDirectives:Ee,withoutMultiVariant:Y===h.MANIFEST});break;case h.AUDIO_TRACK:j.trigger(o.AUDIO_TRACK_LOADED,{details:t,track:_.levelOrTrack,id:ue||0,groupId:he||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break;case h.SUBTITLE_TRACK:j.trigger(o.SUBTITLE_TRACK_LOADED,{details:t,track:_.levelOrTrack,id:ue||0,groupId:he||"",stats:s,networkDetails:E,deliveryDirectives:Ee});break}}}class Df{static get version(){return Gt}static isMSESupported(){return qa()}static isSupported(){return Zc()}static getMediaSource(){return ae()}static get Events(){return o}static get MetadataSchema(){return Qr}static get ErrorTypes(){return c}static get ErrorDetails(){return f}static get DefaultConfig(){return Df.defaultConfig?Df.defaultConfig:ve}static set DefaultConfig(t){Df.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 Mt,this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.abrController=void 0,this.bufferController=void 0,this.capLevelController=void 0,this.latencyController=void 0,this.levelController=void 0,this.streamController=void 0,this.audioStreamController=void 0,this.subtititleStreamController=void 0,this.audioTrackController=void 0,this.subtitleTrackController=void 0,this.interstitialsController=void 0,this.gapController=void 0,this.emeController=void 0,this.cmcdController=void 0,this._media=null,this._url=null,this._sessionId=void 0,this.triggeringException=void 0,this.started=!1;const n=this.logger=W(t.debug||!1,"Hls instance",t.assetPlayerId),s=this.config=ot(Df.DefaultConfig,t,n);this.userConfig=t,s.progressive&&nr(s,n);const{abrController:_,bufferController:E,capLevelController:I,errorController:j,fpsController:Y}=s,V=new j(this),ue=this.abrController=new _(this),he=new Tn(this),Ee=s.interstitialsController,Re=Ee?this.interstitialsController=new Ee(this,Df):null,Fe=this.bufferController=new E(this,he),ft=this.capLevelController=new I(this),st=new Y(this),Ft=new wd(this),fr=s.contentSteeringController,ar=fr?new fr(this):null,$r=this.levelController=new Ki(this,ar),Xr=new Zn(this),gn=new Ed(this.config,this.logger),Kr=this.streamController=new xd(this,he,gn),an=this.gapController=new Qn(this,he);ft.setStreamController(Kr),st.setStreamController(Kr);const dn=[Ft,$r,Kr];Re&&dn.splice(1,0,Re),ar&&dn.splice(1,0,ar),this.networkControllers=dn;const Vr=[ue,Fe,an,ft,st,Xr,he];this.audioTrackController=this.createController(s.audioTrackController,dn);const Cn=s.audioStreamController;Cn&&dn.push(this.audioStreamController=new Cn(this,he,gn)),this.subtitleTrackController=this.createController(s.subtitleTrackController,dn);const wi=s.subtitleStreamController;wi&&dn.push(this.subtititleStreamController=new wi(this,he,gn)),this.createController(s.timelineController,Vr),gn.emeController=this.emeController=this.createController(s.emeController,Vr),this.cmcdController=this.createController(s.cmcdController,Vr),this.latencyController=this.createController(Va,Vr),this.coreComponents=Vr,dn.push(V);const qi=V.onErrorOut;typeof qi=="function"&&this.on(o.ERROR,qi,V),this.on(o.MANIFEST_LOADED,Ft.onManifestLoaded,Ft)}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,_){this._emitter.off(t,n,s,_)}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 _=t===o.ERROR;this.trigger(o.ERROR,{type:c.OTHER_ERROR,details:f.INTERNAL_EXCEPTION,fatal:_,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,_=n?t:{media:s};this._media=s,this.trigger(o.MEDIA_ATTACHING,_)}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,_=this._url=z.buildAbsoluteURL(self.location.href,t,{alwaysNormalize:!0});this._autoLevelCapping=-1,this._maxHdcpLevel=null,this.logger.log(`loadSource:${_}`),n&&s&&(s!==_||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=yn()),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){it(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 _=0;_<s;_++)if(t[_].maxBitrate>=n)return _;return 0}get maxAutoLevel(){const{levels:t,autoLevelCapping:n,maxHdcpLevel:s}=this;let _;if(n===-1&&t!=null&&t.length?_=t.length-1:_=n,s)for(let E=_;E--;){const I=t[E].attrs["HDCP-LEVEL"];if(I&&I<=s)return E}return _}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=Pi(n);return sr(t,s,navigator.mediaCapabilities)}}Df.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,m,b=!1,S=0;function k(){m&&clearTimeout(m)}function R(P){var M=P||{},B=M.upcomingOnly,N=B===void 0?!1:B;k(),b=!N}function A(){for(var P=arguments.length,M=new Array(P),B=0;B<P;B++)M[B]=arguments[B];var N=this,G=Date.now()-S;if(b)return;function W(){S=Date.now(),c.apply(N,M)}function H(){m=void 0}!x&&y&&!m&&W(),k(),y===void 0&&G>l?x?(S=Date.now(),u||(m=setTimeout(y?H:W,l))):W():u!==!0&&(m=setTimeout(y?H:W,y===void 0?l-G: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",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",253:"p__DeductionSystemSjrh__index",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",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",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",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",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",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__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",1477:"p__Classrooms__ThemeChange__Assistant",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",1678:"p__Classrooms__ThemeChange__Attachment",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",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",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",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",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",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__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",3317:"p__Classrooms__Lists__Graduation__Topics__Add__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",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__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",3831:"p__User__ThemeChange__VirtualSpaces",3862:"p__HttpStatus__403",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4017:"p__Classrooms__Lists__PlaceholderPage__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__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",4297:"p__Classrooms__ThemeChange__Polls",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",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",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__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",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",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",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5896:"p__RecommendationList__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",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6170:"p__HttpStatus__downloadStudent",6185:"p__Classrooms__ThemeChange__Announcement",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",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",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6698:"p__DeductionSystem__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6788:"p__Home__Detail__ShixunContext__Detail__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7322:"layouts__ThemeChange__ShixunDetail",7329:"p__Classrooms__ThemeChange__Attendance",7333:"p__User__WechatLogin__index",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",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",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",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",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",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",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8873:"p__DeductionSystemZstp__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8982:"p__Paths__New__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9417:"p__Shixuns__ThemeOne__Detail__SkillTags__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",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",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__index",9921:"p__Classrooms__ExamList__index",9922:"p__Classrooms__Lists__Statistics__StudentVideo__index",9944:"p__Classrooms__Lists__Video__Statistics__StudentDetail__index"}[d]||d)+"."+{26:"907e271b",67:"08963a70",109:"e9963fe6",119:"d47d9016",195:"1f92526f",201:"3f9d27f8",253:"5e815beb",264:"080fe64b",292:"91d6be0c",316:"1f60ada6",337:"c815ee06",354:"d4d139cf",479:"32c94225",485:"0fe45990",508:"26f7d90d",518:"1c1ef637",532:"1d861df2",533:"cdb946ab",547:"0be9bc68",556:"8f1672a4",559:"a3fb8816",570:"6c0d9b82",576:"62a0d2f3",629:"44a1d9a5",643:"e25ac218",671:"4a609b8d",680:"793c88c4",700:"11076174",737:"bd6c26d0",741:"ac5fd360",799:"ddacd1b9",869:"6dd8ed74",879:"5342aedb",895:"d4a167bd",900:"63ef62a1",906:"619521b4",921:"612d9766",928:"479192a8",981:"2191a42e",1006:"4e2edd58",1043:"fdb7a835",1045:"901f42b2",1048:"a44e57d0",1070:"e24b68c8",1144:"c90eccaf",1154:"8cb80842",1211:"41587431",1253:"8f434c30",1257:"f9c3aa5c",1274:"5f6ea65a",1276:"88dabcba",1343:"862b401e",1423:"98f02f90",1427:"9bc7895d",1450:"d9fedecb",1461:"075ea826",1462:"fcf08abc",1470:"16175b0f",1475:"9dc9b2da",1477:"0670c053",1482:"6b70e223",1512:"f25293bd",1520:"fc6a47e1",1545:"4a837c8a",1555:"6a3a128a",1578:"7f2829d5",1581:"fa25ea5e",1582:"1d31e0d2",1646:"e6e27b60",1657:"76e705fb",1660:"c541b878",1674:"0c9633d1",1678:"87e87fda",1702:"dbb9e00e",1713:"eda8b4a2",1717:"a913b8aa",1727:"b026e5f7",1754:"692f3a86",1783:"97b3547f",1798:"ae13912c",1799:"d8487eec",1831:"94902cb7",1836:"89674d21",1855:"94a447bd",1880:"26413364",1881:"6a0fe05c",1897:"478a86f3",1939:"050f6276",1953:"4971f9f0",1962:"96dbc5c8",1993:"ea49efd7",2011:"59d51f98",2045:"6858cc97",2099:"7ea47ed8",2102:"a52969b4",2130:"743ad283",2141:"e83ddedf",2203:"10f83a6f",2216:"8e28bcd6",2240:"9ee63908",2249:"f4830452",2281:"e65f2d32",2300:"f77c7faa",2303:"b5d6ac4e",2307:"40c66be5",2338:"860a0729",2339:"fd064246",2364:"f89faf70",2386:"192e235c",2396:"f9faddf1",2404:"7b4af2cf",2412:"9e65585a",2425:"10c1b71b",2443:"babad7b2",2476:"b1be8942",2494:"68080a87",2501:"9f50c14b",2538:"de4a3723",2539:"f5fc5a53",2548:"68aff200",2570:"c58f70af",2594:"e87d3761",2603:"66be3ad6",2659:"8c2ae594",2707:"2408b49b",2806:"f98896ce",2819:"caf9bd00",2823:"5a527299",2829:"c8c5876c",2837:"54a82605",2862:"6c2a4240",2865:"cf697f07",2884:"35e0eb05",2969:"ab3357d7",3006:"d81482f5",3086:"87eb8779",3133:"9bf3f89c",3141:"16d0d03d",3157:"a7146cba",3183:"be0c3f7a",3198:"8e655451",3212:"e54cad06",3220:"80d093e0",3247:"4fc143df",3260:"df69ec76",3276:"eb9751da",3317:"60bd15b1",3391:"e8fd1d5d",3433:"92cd931b",3442:"f306cbca",3447:"5cd7d00f",3451:"aa10578a",3509:"349002b3",3550:"3dc83156",3581:"9c63593f",3585:"8b829934",3665:"4481830e",3668:"e4067343",3697:"481a10d9",3747:"e7f59dc4",3754:"d5e5b8a3",3777:"d5b0f2f1",3784:"cbb06cdc",3805:"9dbcb95e",3831:"e1ff5695",3862:"8be7610c",3873:"bb662984",3885:"f87f7f15",3910:"cc0552e5",3951:"cbdb24b1",3987:"5cecd51b",4014:"27a8e97c",4017:"eb7a8c4f",4030:"f8dacb35",4048:"b1a4918a",4056:"d074f355",4058:"53d5c932",4078:"31eb8d6b",4088:"236723f3",4093:"173804b8",4105:"00854932",4144:"faee927a",4164:"95698cda",4216:"f80d99b5",4217:"8ee24a29",4227:"31ebcdf2",4259:"a3d722cf",4264:"d72509e6",4297:"6966acc2",4347:"ce21ef2e",4354:"140899b7",4360:"cf5efa52",4449:"0eab651a",4492:"0f33c6b9",4496:"983ef261",4498:"00ec1a0f",4504:"00011e8a",4514:"c76731a0",4520:"76c9833b",4546:"3265f9fd",4565:"4a4bbd08",4572:"6e2d6d4e",4599:"61def4cb",4601:"b06db87b",4610:"e9a35431",4621:"53d40185",4628:"ece2c60c",4662:"c01d5fa0",4685:"c33f1528",4715:"bb31823a",4736:"23d15f6e",4741:"098aaba0",4757:"9ba365aa",4766:"6aefd62d",4770:"3bb7fdb1",4790:"619413e4",4795:"1c8fa054",4797:"a24e92db",4800:"68ffc079",4850:"1edda4b7",4889:"9762b916",4928:"782f44b8",4973:"4f40ce32",4994:"0e1dc3ef",5022:"b64f4f6e",5028:"3db2c6e7",5043:"2354b762",5048:"84c3c06c",5060:"85dafcc6",5096:"e6546766",5111:"0a13e9fe",5117:"631dd56c",5125:"8e4de4d8",5148:"6c6fa4a6",5165:"93204d40",5176:"c09a0b69",5177:"fd663e67",5179:"01d699c0",5186:"a8cd65df",5230:"68a913e3",5238:"9332e6ad",5273:"61ab1118",5290:"5dabcdc2",5297:"654004cb",5319:"454cff6e",5321:"1163c84e",5330:"5b158845",5335:"a8a69670",5354:"7ae70604",5357:"665d00cc",5359:"7ce24541",5382:"ba787854",5402:"12f7afe7",5416:"454536b7",5434:"38b302a6",5466:"ae07608e",5494:"d89549c4",5518:"c23ec135",5549:"d207b60e",5572:"85da64e7",5573:"04802f57",5624:"7f359b6e",5631:"e00d3d36",5650:"f4708a8b",5679:"4a090bef",5694:"63177e89",5705:"af671053",5729:"070a994c",5764:"e0d7e586",5775:"4b98513d",5776:"f8c1f0bc",5786:"985dcf32",5798:"2bf73da6",5800:"8fbedb85",5816:"a017091d",5876:"5eded409",5888:"3f2a0b5a",5891:"4c4a15cb",5894:"07a15662",5896:"d41533b7",5902:"5ca0d824",5915:"1f588e96",5972:"e749095d",5992:"63553d39",6029:"5667b1ea",6034:"c701bddd",6045:"d268f87f",6047:"3ce45acd",6063:"26e4d936",6069:"69eae763",6126:"99519171",6127:"cb68a65b",6170:"bcf3b504",6185:"6aa8dd1d",6265:"a5bcdf46",6270:"c9c54b01",6282:"dc837cb5",6328:"03a6662b",6366:"b7ac189c",6378:"7f3a946a",6411:"0ccacdd8",6419:"758da254",6434:"d2bd405e",6444:"0c0a8e0a",6452:"01734d6b",6531:"9c174eba",6583:"04e1d1d5",6587:"744242ae",6634:"17e86edc",6637:"d44a7161",6651:"8f69412d",6682:"348910e9",6685:"85599838",6698:"73113c2b",6729:"7ef968ed",6741:"556d9f73",6774:"59d4d618",6776:"60b250b1",6784:"9ab11be4",6788:"21b8b21e",6789:"968228e8",6796:"d4fe7d2b",6820:"3fa352a7",6882:"83255e11",6904:"32e04b4b",6913:"227a9f75",6963:"ce305def",7008:"b9056138",7043:"8655fccb",7045:"882df268",7058:"43520e9d",7062:"60cdcaa9",7084:"46ccce72",7099:"96463b54",7121:"902ecbe9",7156:"e7466006",7178:"f4cbdd96",7182:"9ca6b5d1",7242:"3c788d6d",7260:"2b1cb270",7322:"00c1e603",7329:"19b7af0d",7333:"520c213e",7365:"1005464f",7395:"ec3e18cb",7402:"3797eab1",7460:"8bd08852",7477:"478e7c8f",7482:"eb86287a",7527:"49d2fa08",7545:"504be1a4",7560:"229089ca",7589:"fa96e10c",7591:"c8233ce9",7614:"b782c78b",7622:"2539bf3c",7647:"23ed6963",7686:"4fcec9f9",7706:"c2a79e40",7806:"68f59fe3",7835:"959331bf",7855:"d56d4892",7857:"142411c3",7884:"e36a6cf2",7922:"2588bb8c",7964:"29aed9a1",7999:"8a41a45e",8062:"f867ea3f",8066:"fd5db241",8072:"f9053038",8085:"5389afcd",8089:"d536b13a",8115:"1c8520c6",8143:"e441b04e",8145:"18df5885",8155:"8d9f3f6c",8161:"83c5fa9a",8217:"72e6c75a",8237:"296aa543",8241:"348d6385",8286:"c1fc57ae",8302:"55794970",8332:"7ac5b418",8340:"a33af7b1",8350:"07df8a75",8365:"7f53a5fb",8398:"a559b634",8431:"b5e125bc",8435:"29ffda57",8447:"3cab0fd2",8458:"b79304eb",8479:"33c25346",8517:"86a71442",8534:"52e8a257",8552:"14b10565",8561:"4339de84",8563:"e1e15e51",8579:"4fa859d9",8639:"374b258d",8661:"b04bf77f",8665:"8a07d5cb",8688:"cc53b7ee",8689:"fa5087e4",8723:"e1dc5c33",8737:"ce7dad23",8776:"0ad26240",8787:"b3709bab",8823:"12a5cb2a",8827:"d100f549",8842:"9f25a3e2",8866:"0c364b5b",8871:"690fa8cb",8873:"860fc0e9",8882:"58f618a0",8885:"72cf9353",8898:"d002bcd8",8909:"8dec5dcc",8920:"7f82440c",8963:"790aecdd",8965:"b3fac99c",8982:"56633e7a",8999:"c1e4f16b",9039:"683eed34",9076:"dc3da45e",9104:"bbcb2345",9205:"13038513",9252:"0d791a59",9260:"cf5f8140",9366:"864d13b2",9391:"c9b42da1",9404:"9fcc3d3e",9406:"d7130357",9408:"2b5ba86a",9416:"28ec718d",9417:"a9c25b30",9449:"6bcae166",9487:"60518647",9489:"015c9bc8",9507:"acd45f94",9511:"5f75839d",9554:"ed358e7b",9559:"f794af19",9647:"895a4a67",9649:"625125ee",9674:"fac877fa",9677:"8fd7c737",9695:"d13c0583",9715:"22764a36",9716:"7622d84f",9785:"81a761ac",9788:"2bdb5bf1",9814:"e78791b8",9891:"b4246b58",9895:"b8e31ff2",9906:"1f687d66",9921:"813ff3fd",9922:"8b763458",9928:"5989f5e0",9944:"5b2b91b8",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",119:"p__User__ThemeChange__Paths",195:"p__Classrooms__Lists__GroupHomework__Detail__index",201:"p__Classrooms__ThemeChange__Students",253:"p__DeductionSystemSjrh__index",264:"p__User__Detail__Order__pages__orderPay__index",292:"p__Classrooms__Lists__Exercise__Add__index",337:"p__Paperlibrary__Random__PreviewEdit__index",479:"p__Classrooms__Lists__GroupHomework__EditWork__index",485:"p__Question__AddOrEdit__BatchAdd__index",508:"p__Forums__Detail__id",518:"p__Shixuns__Detail__Settings__ThemeChange__index",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",879:"p__User__ThemeChange__AccountInfo",895:"p__Classrooms__Lists__Video__Items__videoInfo__index",900:"p__User__ThemeChange__Classrooms",906:"p__User__ThemeChange__CareerCertification",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",1211:"p__Classrooms__Lists__CommonHomework__EditWork__index",1253:"p__Graduations__Lists__Gradingsummary__index",1257:"p__Classrooms__Lists__ResourceRecommend__index",1276:"p__MoopCases__Success__index",1343:"p__User__Detail__ResourceAllocation__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",1477:"p__Classrooms__ThemeChange__Assistant",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",1678:"p__Classrooms__ThemeChange__Attachment",1702:"p__Classrooms__New__index",1713:"p__virtualSpaces__Lists__Settings__index",1717:"layouts__index",1727:"p__Classrooms__Lists__CourseGroup__NotList__index",1754:"p__Classrooms__ThemeChange__Video",1783:"p__virtualSpaces__Lists__Experiment__index",1798:"p__Classrooms__ThemeChange__GroupHomework",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",1897:"p__User__ThemeChange__ClassManagement",1939:"p__User__Detail__Order__index",1953:"p__Problemset__NewItem__index",1962:"p__Classrooms__Lists__Engineering__index",1993:"p__Shixuns__Detail__Dataset__ThemeChange__index",2045:"p__Engineering__Lists__TeacherList__index",2099:"p__Paperlibrary__ThemeChange__index",2102:"p__Classrooms__Lists__Board__Edit__index",2130:"p__Shixuns__Detail__Repository__UploadFile__ThemeChange__index",2141:"p__Shixuns__Detail__Split__index",2203:"p__Classrooms__ThemeChange__ShixunHomeworks",2216:"p__DataSet__Index__index",2240:"p__User__Detail__Videos__Upload__index",2281:"p__Paths__ThemeChange__Detail",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",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",2829:"p__Messages__Private__index",2862:"p__User__ThemeChange__ExperImentImg",2865:"p__Innovation__MyMirror__index",2884:"p__Classrooms__Lists__ProgramHomework__Comment__index",3006:"p__Engineering__index",3086:"p__Shixuns__Detail__ForkList__ThemeChange__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",3317:"p__Classrooms__Lists__Graduation__Topics__Add__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",3509:"p__HttpStatus__SixActivities",3581:"p__Shixuns__Detail__Collaborators__ThemeChange__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",3831:"p__User__ThemeChange__VirtualSpaces",3873:"p__virtualSpaces__Lists__Lesson__index",3910:"p__HttpStatus__introduction",3951:"p__Classrooms__Lists__ProgramHomework__Detail__index",4030:"p__Classrooms__Lists__ProgramHomework__AddAndEdit__index",4048:"p__Forums__ThemeChange__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",4297:"p__Classrooms__ThemeChange__Polls",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",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",5117:"p__User__ThemeChange__Certificate",5125:"p__Classrooms__Lists__Exercise__DetailedAnalysis__index",5148:"p__Classrooms__Lists__Polls__Answer__index",5165:"p__User__ThemeChange__Topics",5176:"p__User__Detail__Videos__Protocol__index",5177:"p__Classrooms__ThemeChange__Teachers",5179:"p__Administration__Student__Edit__index",5186:"p__Classrooms__Overview__index",5230:"p__Shixuns__Detail__Repository__AddFile__ThemeChange__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",5330:"p__Classrooms__ThemeChange__ShixunHomeworksComment",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",5466:"p__Classrooms__ThemeChange__LiveVideo",5518:"p__Classrooms__Lists__Template__index",5549:"p__Shixuns__New__CreateImg__index",5572:"p__Paths__HigherVocationalEducation__index",5573:"p__Shixuns__Detail__Merge__index",5624:"p__Graduations__Lists__Index__index",5650:"p__Competitions__Update__index",5694:"p__Classrooms__ThemeChange__ShixunHomeworksDetail",5705:"p__virtualSpaces__Lists__Construction__index",5729:"p__Help__Index",5775:"p__Engineering__Lists__Document__index",5776:"p__User__ThemeChange__RealNameCertification",5786:"layouts__LoginAndRegister__index",5798:"p__Classrooms__Lists__Video__Statistics__UserDetail__index",5800:"p__User__ThemeChange__Competitions",5816:"p__Paperlibrary__Random__Edit__index",5888:"p__Classrooms__Lists__CommonHomework__Add__index",5891:"p__virtualSpaces__Lists__Resources__index",5894:"p__Shixuns__Detail__Repository__Commit__ThemeChange__index",5896:"p__RecommendationList__index",5915:"p__knowledgegraph__Detail__Statistics__index",5972:"layouts__user__index",5992:"p__Classrooms__Lists__Exercise__ReviewGroup__index",6029:"p__Administration__Student__index",6063:"p__Graduations__Lists__Personmanage__index",6069:"p__virtualSpaces__Lists__Lesson__Detail__index",6127:"p__Classrooms__Lists__ProgramHomework__Ranking__index",6185:"p__Classrooms__ThemeChange__Announcement",6265:"p__virtualSpaces__Lists__Discussion__index",6270:"p__MyProblem__index",6282:"p__Classrooms__ThemeChange__ProgramHomework",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",6583:"p__User__Detail__Classrooms__index",6587:"p__User__Detail__Videos__Protocol__resource",6634:"p__Innovation__Tasks__index",6637:"p__Shixuns__Detail__Repository__ThemeChange__index",6651:"p__Engineering__Evaluate__Detail__index",6682:"p__User__ThemeChange__Shixuns",6685:"p__Classrooms__Index__index",6698:"p__DeductionSystem__index",6729:"p__Classrooms__Lists__GroupHomework__Edit__index",6741:"p__Engineering__Norm__List__index",6776:"p__Classrooms__ThemeChange__Exercise",6784:"p__Innovation__Edit__index",6789:"p__Classrooms__ThemeChange__index",6796:"p__virtualSpaces__Lists__Announcement__Detail__index",6820:"p__User__Detail__Topics__Normal__index",6882:"p__Classrooms__New__StartClass__index",6904:"p__MoopCases__FormPanel__index",6913:"p__Question__AddOrEdit__index",6963:"p__Classrooms__Lists__Engineering__Detail__index",7008:"p__Shixuns__New__index",7043:"p__User__Detail__Topics__Exercise__Edit__index",7045:"p__Classrooms__Lists__CommonHomework__SubmitWork__index",7058:"p__virtualSpaces__Lists__Survey__Detail__index",7062:"layouts__SimpleLayouts",7099:"p__Competitions__ThemeChange__index",7178:"p__User__BindAccount__index",7182:"p__User__ResetPassword__index",7242:"p__Innovation__MyProject__index",7260:"p__Account__Certification__index",7322:"layouts__ThemeChange__ShixunDetail",7329:"p__Classrooms__ThemeChange__Attendance",7395:"p__Classrooms__Lists__Statistics__StudentDetail__index",7402:"p__User__ThemeChange__OtherResources",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",7835:"p__Problemset__ThemeChange__index",7855:"p__User__Detail__ResourcesCenter__Detail__index",7857:"p__Shixuns__Edit__body__Level__Challenges__NewQuestion__index",7884:"p__Shixuns__Exports__index",7922:"p__Classrooms__Lists__CourseGroup__Detail__index",8062:"p__User__Detail__Topicbank__index",8072:"p__Classrooms__Lists__GroupHomework__SubmitWork__index",8085:"p__Classrooms__Lists__Exercise__Review__index",8115:"p__User__ThemeChange__DataSet",8143:"layouts__GraduationsDetail__index",8145:"p__User__ThemeChange__ClassManagementItem",8155:"p__Shixuns__Overview__index",8217:"p__User__ThemeChange__AccountInfoEdit",8237:"p__User__Detail__Order__pages__view__index",8241:"p__virtualSpaces__Lists__Plan__index",8286:"p__User__ThemeChange__ExperImentImgDetail",8332:"p__User__ThemeChange__Detail",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",8458:"p__Classrooms__ThemeChange__CommonHomework",8479:"p__User__ThemeChange__TeachGroup",8517:"p__User__Detail__Topics__Group__index",8552:"p__Shixuns__ThemeChange__index",8563:"p__virtualSpaces__Lists__Discussion__Detail__index",8579:"p__Competitions__ThemeChange__Edit",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",8787:"p__Competitions__Entered__index",8823:"p__knowledgegraph__Detail__id",8827:"p__Classrooms__Lists__OnlineLearning__index",8866:"p__index",8873:"p__DeductionSystemZstp__index",8882:"p__Classrooms__Lists__Graduation__Tasks__Detail__index",8885:"p__Classrooms__Lists__Statistics__StudentStatistics__index",8965:"p__Shixuns__Detail__Discuss__ThemeChange__index",8982:"p__Paths__New__index",8999:"p__Three__index",9039:"p__Classrooms__ThemeChange__CourseGroup",9076:"p__Account__Binding__index",9205:"p__Shixuns__Edit__body__Level__Challenges__EditPracticeSetting__index",9366:"p__User__Login__index",9391:"p__Engineering__Lists__CurseSetting__index",9404:"monaco-editor",9406:"p__Classrooms__ThemeChange__Board",9408:"p__Shixuns__Detail__RankingList__index",9416:"p__Graduations__Lists__Tasks__index",9449:"p__Shixuns__ThemeChange__Detail",9487:"p__LargeScreen__index",9489:"p__Engineering__Lists__CourseList__index",9507:"p__User__Detail__ResourceGuarantee__index",9511:"p__Shixuns__ThemeChange__Edit",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",9814:"p__Shixuns__Detail__Challenges__ThemeChange__index",9891:"p__User__Detail__Videos__Success__index",9906:"p__Paths__ThemeChange__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:"2e3b86cc",109:"1a7fc455",119:"d7177160",195:"09f06554",201:"c090cf1f",253:"19603911",264:"5fd9b3fc",292:"1fb46eb1",337:"f1e82d38",479:"bba9e475",485:"d63578fe",508:"82593858",518:"0c339c5c",532:"397e11e5",533:"4c39d165",547:"5581debc",556:"3a0c45f8",559:"c49aa5ba",576:"e4f97d42",643:"22ded693",680:"e67e9e01",700:"5bc09d2e",737:"98eb2f74",799:"3eacd344",869:"6740e24b",879:"44e65b8f",895:"ad846737",900:"4e52694c",906:"d5015af5",921:"30cc7e9b",928:"0277270a",1006:"2263131d",1043:"e8c0878b",1045:"cf50b737",1048:"dafc3f4f",1070:"e67e9e01",1211:"bdb8faab",1253:"6d030939",1257:"156e8f74",1276:"bbc6eeec",1343:"10a01d78",1423:"5c4a76fc",1427:"903cdf1d",1450:"1edcc2ed",1461:"90ffd881",1470:"183c9793",1475:"ffcfe1a4",1477:"2c54e2cf",1482:"d159af07",1512:"f3653a35",1520:"f7300d0e",1545:"eb7854e2",1578:"efcb0bdc",1581:"efffd7c0",1582:"8e45b6ff",1657:"ddd6a700",1674:"fdbc1e05",1678:"e51db9a4",1702:"fca45632",1713:"8f261115",1717:"90018d44",1727:"55a0424d",1754:"3dd63b8a",1783:"c3af53d2",1798:"c5856ac9",1831:"04eb6cd5",1836:"5f0d3f7f",1855:"b92cccb4",1880:"2075d78a",1897:"c1b8b1e9",1939:"e1f4a044",1953:"948193ea",1962:"84e145fa",1993:"e36a9422",2045:"dcfad42d",2099:"a05a1fa6",2102:"ec61f9f0",2130:"2b021537",2141:"5eb2f330",2203:"4b770927",2216:"fd1923fe",2240:"e7cce869",2281:"6fcdaaf9",2303:"87592c17",2307:"b2c54321",2338:"c9f2cb12",2339:"0ce16002",2396:"78b02416",2404:"08d36549",2412:"d56e89e2",2425:"47b23ee4",2443:"1cf9762d",2476:"cf85a190",2501:"2441982c",2539:"edaa4bfe",2548:"75182034",2570:"fb08fd52",2603:"0277270a",2659:"f6071a36",2707:"cabcb16e",2806:"e5eec853",2819:"9455b08a",2823:"a13b21fb",2829:"a5909474",2862:"7640e19b",2865:"6ef3cf6b",2884:"e40bd5de",3006:"7fce4e74",3086:"d0ebac07",3141:"3018c2bd",3157:"8574a6a9",3183:"b2253f40",3212:"ad1521c1",3220:"a5be3990",3247:"50105eb7",3260:"cc275789",3276:"7bbb651d",3317:"137440b7",3391:"f0e498fe",3433:"0222b953",3442:"bdf7849c",3447:"1653d818",3451:"e3a31387",3509:"70043ca5",3581:"593f705e",3585:"5f288e7b",3665:"fd708ad2",3668:"174e5af7",3747:"e8017222",3784:"c81d4a51",3831:"4f89de7f",3873:"00556e9c",3910:"658d457f",3951:"4a9249b1",4030:"5e11be1e",4048:"f9582bef",4056:"10eacfff",4078:"aa54548e",4093:"dbc7f087",4105:"e39011c7",4144:"f10aa199",4164:"a1035ae1",4216:"0277270a",4217:"387bf824",4227:"79c3b323",4259:"ebd953ac",4264:"36917df0",4297:"1fe09e32",4449:"e68d8d58",4492:"28c62416",4496:"77babddd",4498:"b05686dd",4504:"2337a5c1",4514:"887bdbb6",4520:"e86d61a1",4546:"4101a1f2",4572:"70e5675d",4599:"b738175f",4601:"3c8ac557",4610:"687005a6",4621:"57046c20",4662:"966d56e9",4715:"12ee76fe",4736:"db024242",4741:"37fda16f",4757:"73b754d2",4766:"b5df5a8e",4770:"674b2d2a",4795:"939f9f81",4800:"f50302a4",4889:"db5cf2c9",4928:"a4b1a237",4973:"129c56e8",4994:"be3194ef",5022:"81b1b86b",5028:"03cdfb68",5043:"247e6954",5048:"aa08c681",5096:"4f6a4d00",5111:"5d09a39a",5117:"f53f8e0d",5125:"57501e4a",5148:"572faeac",5165:"ffd29c89",5176:"9c49e7fa",5177:"433880bf",5179:"21f01751",5186:"a366942d",5230:"58bfd6be",5238:"a5251253",5297:"5426028f",5319:"34217c3f",5330:"fde3562c",5335:"fec6fd9f",5357:"1fbb7d24",5359:"b254a598",5382:"e5edb107",5402:"3f57b82b",5466:"420e4b00",5518:"9f425be3",5549:"39285664",5572:"c945fbf2",5573:"6ecf393c",5624:"fc2c784f",5650:"f8f63f4b",5694:"2903ec3b",5705:"df6bf207",5729:"46f9b5d4",5775:"8945cad2",5776:"e2035183",5786:"37a81eaa",5798:"ce1cf7da",5800:"ccd296e6",5816:"7901bc8b",5888:"193a7f8f",5891:"06b0dab3",5894:"2c438d25",5896:"cfcc8462",5915:"bc9c3e69",5972:"89ee98e9",5992:"419f5d2f",6029:"6248ea9b",6063:"ab3c406b",6069:"5aeb8885",6127:"f31505a8",6185:"6a82ea9a",6265:"da02c985",6270:"cc24b0fc",6282:"50cb3fd8",6328:"de2b9d62",6366:"079fc2d8",6434:"77f31a1a",6444:"fd46d237",6452:"50a6d310",6583:"e5a130f0",6587:"9c49e7fa",6634:"08739f8b",6637:"a5063d17",6651:"b07fe216",6682:"97d57e86",6685:"e00118f4",6698:"20679aef",6729:"aea3b7f5",6741:"b838eb14",6776:"efed9083",6784:"1affe817",6789:"8480ee30",6796:"89cd2eaa",6820:"cebdf1cf",6882:"c2d2eada",6904:"44afaa9b",6913:"739202fe",6963:"84e145fa",7008:"80535bd6",7043:"25478869",7045:"48f6fc4c",7058:"4cf0f058",7062:"36146e44",7099:"92ce8a3e",7178:"6e47d75d",7182:"183c9793",7242:"4f353f61",7260:"2c380d56",7322:"d3e98074",7329:"52737871",7395:"5c10e8d8",7402:"fa2fa462",7460:"dedd2038",7477:"d1715def",7482:"c37a3f01",7527:"6b64ff47",7545:"8cf68711",7560:"d82e43ca",7589:"ec6f07b0",7614:"de9ee12f",7622:"55761263",7806:"80b7b1d6",7835:"2b3cc34a",7855:"115abf43",7857:"13a29416",7884:"1ca6cde0",7922:"a51bbd1f",8062:"8e384b9f",8072:"540f746b",8085:"d8b79ff9",8115:"57221fd6",8143:"6fbcc414",8145:"745deb45",8155:"d345abd7",8217:"aaa9d538",8237:"b82ceaf1",8241:"89923da1",8286:"fe48ab9f",8332:"4722cae6",8398:"6af0315c",8431:"60a111b6",8435:"5f24842a",8447:"28ad7e81",8458:"6f9d9bd6",8479:"5dd11d53",8517:"cccfddad",8552:"fc902a29",8563:"710ab1fb",8579:"c9985182",8665:"c52575bc",8688:"c044db56",8689:"5d3df231",8723:"ee8ed0dd",8787:"121de108",8823:"4ce50955",8827:"d42b3cb3",8866:"dee31d0d",8873:"60775eb4",8882:"f3e42f72",8885:"de905169",8965:"8f65ab3b",8982:"10c9fe87",8999:"448aa22f",9039:"fd36efa1",9076:"6a501148",9205:"49a3e67d",9366:"4f511490",9391:"c11edda0",9404:"d8cf04f7",9406:"d241e334",9408:"d3565b1a",9416:"0d65fe1b",9449:"edfa975a",9487:"a73f5679",9489:"ee2bb5b7",9507:"bffb6174",9511:"a96658fc",9647:"f594ebb1",9649:"00fb4211",9674:"7759ba3d",9677:"6b9f725e",9695:"200c96e4",9715:"b6c6645f",9716:"a5750e0d",9785:"08d36549",9788:"781a4d20",9814:"c34f1ba2",9891:"512a9301",9906:"6cccf812",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(m){return m(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,119:1,195:1,201:1,253:1,264:1,292:1,337:1,479:1,485:1,508:1,518: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,879:1,895:1,900:1,906:1,921:1,928:1,1006:1,1043:1,1045:1,1048:1,1070:1,1211:1,1253:1,1257:1,1276:1,1343:1,1423:1,1427:1,1450:1,1461:1,1470:1,1475:1,1477:1,1482:1,1512:1,1520:1,1545:1,1578:1,1581:1,1582:1,1657:1,1674:1,1678:1,1702:1,1713:1,1717:1,1727:1,1754:1,1783:1,1798:1,1831:1,1836:1,1855:1,1880:1,1897:1,1939:1,1953:1,1962:1,1993:1,2045:1,2099:1,2102:1,2130:1,2141:1,2203:1,2216:1,2240:1,2281:1,2303:1,2307:1,2338:1,2339:1,2396:1,2404:1,2412:1,2425:1,2443:1,2476:1,2501:1,2539:1,2548:1,2570:1,2603:1,2659:1,2707:1,2806:1,2819:1,2823:1,2829:1,2862:1,2865:1,2884:1,3006:1,3086:1,3141:1,3157:1,3183:1,3212:1,3220:1,3247:1,3260:1,3276:1,3317:1,3391:1,3433:1,3442:1,3447:1,3451:1,3509:1,3581:1,3585:1,3665:1,3668:1,3747:1,3784:1,3831:1,3873:1,3910:1,3951:1,4030:1,4048:1,4056:1,4078:1,4093:1,4105:1,4144:1,4164:1,4216:1,4217:1,4227:1,4259:1,4264:1,4297: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,4889:1,4928:1,4973:1,4994:1,5022:1,5028:1,5043:1,5048:1,5096:1,5111:1,5117:1,5125:1,5148:1,5165:1,5176:1,5177:1,5179:1,5186:1,5230:1,5238:1,5297:1,5319:1,5330:1,5335:1,5357:1,5359:1,5382:1,5402:1,5466:1,5518:1,5549:1,5572:1,5573:1,5624:1,5650:1,5694:1,5705:1,5729:1,5775:1,5776:1,5786:1,5798:1,5800:1,5816:1,5888:1,5891:1,5894:1,5896:1,5915:1,5972:1,5992:1,6029:1,6063:1,6069:1,6127:1,6185:1,6265:1,6270:1,6282:1,6328:1,6366:1,6434:1,6444:1,6452:1,6583:1,6587:1,6634:1,6637:1,6651:1,6682:1,6685:1,6698:1,6729:1,6741:1,6776:1,6784:1,6789:1,6796:1,6820:1,6882:1,6904:1,6913:1,6963:1,7008:1,7043:1,7045:1,7058:1,7062:1,7099:1,7178:1,7182:1,7242:1,7260:1,7322:1,7329:1,7395:1,7402:1,7460:1,7477:1,7482:1,7527:1,7545:1,7560:1,7589:1,7614:1,7622:1,7806:1,7835:1,7855:1,7857:1,7884:1,7922:1,8062:1,8072:1,8085:1,8115:1,8143:1,8145:1,8155:1,8217:1,8237:1,8241:1,8286:1,8332:1,8398:1,8431:1,8435:1,8447:1,8458:1,8479:1,8517:1,8552:1,8563:1,8579:1,8665:1,8688:1,8689:1,8723:1,8787:1,8823:1,8827:1,8866:1,8873:1,8882:1,8885:1,8965:1,8982:1,8999:1,9039:1,9076:1,9205:1,9366:1,9391:1,9404:1,9406:1,9408:1,9416:1,9449:1,9487:1,9489:1,9507:1,9511:1,9647:1,9649:1,9674:1,9677:1,9695:1,9715:1,9716:1,9785:1,9788:1,9814:1,9891:1,9906: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|8435|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),m=__webpack_require__(31808),b=__webpack_require__(99953),S=__webpack_require__(86357),k=__webpack_require__(93074),R=__webpack_require__(96331),A=__webpack_require__(2924),P=__webpack_require__(26425),M=__webpack_require__(32125),B=__webpack_require__(16137),N=__webpack_require__(48435),G=__webpack_require__(11553),W=__webpack_require__(70365),H=__webpack_require__(33717),ae=__webpack_require__(17482),ne=__webpack_require__(23708),oe=__webpack_require__(65033),q=__webpack_require__(52732),J=__webpack_require__(99382),K=__webpack_require__(88437),se=__webpack_require__(68440),ee=__webpack_require__(13412),Q=__webpack_require__(11005),le=__webpack_require__(70348),z=__webpack_require__(19801),$=__webpack_require__(91550),ie=__webpack_require__(85223),me=__webpack_require__(7154),Pe=__webpack_require__(67788),De=__webpack_require__(96009),Ze=__webpack_require__(9402),Ne=__webpack_require__(62489),Bt=__webpack_require__(80881),yt=__webpack_require__(62837),It=__webpack_require__(4705),rr=__webpack_require__(13941),Yt=__webpack_require__(1148),ur=__webpack_require__(82445),We=__webpack_require__(27267),Pt=__webpack_require__(96353),zt=__webpack_require__(90308),nt=__webpack_require__(84818),Et=__webpack_require__(80585),ht=__webpack_require__(89170),Je=__webpack_require__(71012),Ue=__webpack_require__(84203),ge=__webpack_require__(22112),Se=__webpack_require__(81440),Le=__webpack_require__(25430),je=__webpack_require__(70105),He=__webpack_require__(71390),rt=__webpack_require__(96844),lt=__webpack_require__(83578),Kt=__webpack_require__(69762),Wt=__webpack_require__(76880),Ae=__webpack_require__(65009),qe=__webpack_require__(28796),Vt=__webpack_require__(56450),kt=__webpack_require__(78342),Ht=__webpack_require__(13161),$t=__webpack_require__(54226),Tt=__webpack_require__(70201),Xt=__webpack_require__(34941),Ge=__webpack_require__(85671),ce=__webpack_require__(35152),pe=__webpack_require__(85660),Dt=__webpack_require__(80031),Ce=__webpack_require__(34434),ct=__webpack_require__(83579),Zt=__webpack_require__(74307),St=__webpack_require__(97423),Ie=__webpack_require__(93321),wt=__webpack_require__(82277),be=__webpack_require__(61425),Ye=__webpack_require__(61873),vt=__webpack_require__(9307),Lt=__webpack_require__(8821),Me=__webpack_require__(64385),Or=__webpack_require__(64099),At=__webpack_require__(62455),Yr=__webpack_require__(79965),rn=__webpack_require__(59118),wr=__webpack_require__(275),jr=__webpack_require__(31919),mr=__webpack_require__(51284),Zr=__webpack_require__(10177),un=__webpack_require__(85690),mn=__webpack_require__(92114),sr=__webpack_require__(1017),Rt=__webpack_require__(14480),_t=__webpack_require__(40516),gt=__webpack_require__(76345),jt=__webpack_require__(7282),Ar=__webpack_require__(58055),yr=__webpack_require__(93547),it=__webpack_require__(31237),Nr=__webpack_require__(17954),An=__webpack_require__(58580),Jn=__webpack_require__(47146),gr=__webpack_require__(40416),nn=__webpack_require__(7615),vn=__webpack_require__(72820),Wn=__webpack_require__(86070),si=__webpack_require__(23569),gi=__webpack_require__(55639),aa=__webpack_require__(63046),ui=__webpack_require__(464),Ni=__webpack_require__(51082),mi=__webpack_require__(83850),Pi=__webpack_require__(41990),Ra=__webpack_require__(15787),fi=__webpack_require__(55888),Hi=__webpack_require__(53827),bt=__webpack_require__(78143),ut=__webpack_require__(66419),ii=__webpack_require__(75765),Si=__webpack_require__(14645),li=__webpack_require__(71122),sa=__webpack_require__(42084),Ti=__webpack_require__(25070),pi=__webpack_require__(77140),Rn=__webpack_require__(15954),Jt=__webpack_require__(4266),dt=__webpack_require__(49988),tt=__webpack_require__(38823),Ot=__webpack_require__(24627),mt=__webpack_require__(4045),or=__webpack_require__(50747),lr=__webpack_require__(43595),Ir=__webpack_require__(92324),Hr=__webpack_require__(23551),ze=__webpack_require__(74521),et=__webpack_require__(57891),xe=__webpack_require__(84138),at=__webpack_require__(51832),tr=__webpack_require__(37135),Cr=__webpack_require__(6474),kr=__webpack_require__(40135),Pr=__webpack_require__(7982),Rr=__webpack_require__(14893),Tn=__webpack_require__(49233),Tr=__webpack_require__(92130),pn=__webpack_require__(42844),sn=__webpack_require__(6536),ln=__webpack_require__(27228),Ln=__webpack_require__(62921),Ia=__webpack_require__(44001),ji=__webpack_require__(92262),Ii=__webpack_require__(54744),En=__webpack_require__(38214),yi=__webpack_require__(12756),Vi=__webpack_require__(93379),Ea=__webpack_require__(62007),Gs=__webpack_require__(90572),$a=__webpack_require__(37343),Bs=__webpack_require__(45945),ro=__webpack_require__(75551),ja=__webpack_require__(32493),Hs=__webpack_require__(20852),ya=__webpack_require__(46302),cs=__webpack_require__(18827),fs=__webpack_require__(76718),Li=__webpack_require__(79172),ra=__webpack_require__(32192),ks=__webpack_require__(42828),Mo=__webpack_require__(5658),Ya=__webpack_require__(55629),Ns=__webpack_require__(62925),is=__webpack_require__(9595),fo=__webpack_require__(58127),bn=__webpack_require__(70917),as=__webpack_require__(53427),Ps=__webpack_require__(70878),Is=__webpack_require__(49257),oa=__webpack_require__(72910),ss=__webpack_require__(34932),Ja=__webpack_require__(81046),$s=__webpack_require__(85744),ho=__webpack_require__(13494),po=__webpack_require__(56338),Fo=__webpack_require__(66755),tu=__webpack_require__(68709),zo=__webpack_require__(4939),Io=__webpack_require__(81927),Zo=__webpack_require__(60462),ru=__webpack_require__(72571),Ho=__webpack_require__(71200),ns=__webpack_require__(85767),oi=__webpack_require__(84432),_i=__webpack_require__(59022),es=__webpack_require__(19363),ts=__webpack_require__(51054),ds=__webpack_require__(60330),Bo=__webpack_require__(55234),Wo=__webpack_require__(88104),du=__webpack_require__(64336),js=__webpack_require__(63914),No=__webpack_require__(35246),nu=__webpack_require__(83470),yu=__webpack_require__(79641),Nu=__webpack_require__(72397),Ju=__webpack_require__(24860),$o=__webpack_require__(19320),oo=__webpack_require__(56233),bu=__webpack_require__(59419),Do=__webpack_require__(64344),Oo=__webpack_require__(5316),jo=__webpack_require__(93744),Iu=__webpack_require__(19299),Vo=__webpack_require__(15286),iu=__webpack_require__(91927),uo=__webpack_require__(27730),Yo=__webpack_require__(58707),Du=__webpack_require__(41356),qt=__webpack_require__(51606),dr=__webpack_require__(8966),ir=__webpack_require__(38458),hr=__webpack_require__(71957),Sr=__webpack_require__(89466),xn=__webpack_require__(69653),Gn=__webpack_require__(96519),Bn=__webpack_require__(95576),Kn=__webpack_require__(63079),di=__webpack_require__(8995),ci=__webpack_require__(23080),cr=__webpack_require__(74701),Mr=__webpack_require__(91809),Fr=__webpack_require__(77517),Pn=__webpack_require__(30149),In=__webpack_require__(55410),pt=__webpack_require__(46161),$n=__webpack_require__(14800),Vn=__webpack_require__(91130),zi=__webpack_require__(2722),Yi=__webpack_require__(55885),zr=__webpack_require__(39034),pa=__webpack_require__(8604),Ji=__webpack_require__(64963),Ca=__webpack_require__(25178),hs=__webpack_require__(1905),Rs=__webpack_require__(94306),vi=__webpack_require__(11762),ps=__webpack_require__(93164),lo=__webpack_require__(88900),cn=__webpack_require__(54815),Wa=__webpack_require__(81138),Ks=__webpack_require__(37252),mo=__webpack_require__(81673),Hn=__webpack_require__(48966),Ls=__webpack_require__(13015),no=__webpack_require__(78527),Xe=__webpack_require__(20511),Qe=__webpack_require__(78366),Mt=__webpack_require__(27427),Gt=__webpack_require__(43890),vr=__webpack_require__(55844),Br=__webpack_require__(71361),Wr=__webpack_require__(44550),wn=__webpack_require__(413),on=__webpack_require__(77464),Sn=__webpack_require__(77703),ri=__webpack_require__(93854),ai=__webpack_require__(962),Ai=__webpack_require__(44169),Ui=__webpack_require__(56272),na=__webpack_require__(43466),Xi=__webpack_require__(48156),Oi=__webpack_require__(93236),Da=__webpack_require__(42212),Mi=__webpack_require__(63923),Di=__webpack_require__(2278),wa=__webpack_require__(36955),_o=__webpack_require__(77326),Us=__webpack_require__(53571),ua=__webpack_require__(28670),Xa=__webpack_require__(31050),va=__webpack_require__(25321),Wi=__webpack_require__(96364),Pa=__webpack_require__(46304),us=__webpack_require__(55163),ms=__webpack_require__(78722),So=__webpack_require__(35977),gs=__webpack_require__(81848),ko=__webpack_require__(52867),_s=__webpack_require__(72211),yo=__webpack_require__(84862),bo=__webpack_require__(92381),Sa=__webpack_require__(19517),rs=__webpack_require__(69667),Xs=__webpack_require__(80820),Oa=__webpack_require__(87873),ye=__webpack_require__(54609),we=__webpack_require__(28566),xr=__webpack_require__(51697),Qr=__webpack_require__(61872),_r=__webpack_require__(76077),en=__webpack_require__(9196),Mn=__webpack_require__(5369),ni=__webpack_require__(26259),Qi=__webpack_require__(47736),zn=__webpack_require__(28220),jn=__webpack_require__(62060),Yn=__webpack_require__(49350),xa=__webpack_require__(20126),ia=__webpack_require__(18090),Ao=__webpack_require__(14309),xo=__webpack_require__(17822),xu=__webpack_require__(83543),Rl=__webpack_require__(13853),El=__webpack_require__(25188),$u=__webpack_require__(10215),df=__webpack_require__(3432),ju=__webpack_require__(90486),Ve=__webpack_require__(6736),Z=__webpack_require__(8774),X=__webpack_require__(94065),te=__webpack_require__(93036),de=__webpack_require__(75708),Te=__webpack_require__(84624),Ke=__webpack_require__(66233),Ct=__webpack_require__(43710),Ut=__webpack_require__(92762),er=__webpack_require__(24467),br=__webpack_require__(68465),Gr=__webpack_require__(77004),fn=__webpack_require__(83925),Dn=__webpack_require__(51117),Xn=__webpack_require__(87236),ei=__webpack_require__(83733),Ci=__webpack_require__(92044),Aa=__webpack_require__(29190),la=__webpack_require__(10775),Er=__webpack_require__(19593),ys=__webpack_require__(26502),bs=__webpack_require__(10174),Ws=__webpack_require__(96378),os=__webpack_require__(58216),Ua=__webpack_require__(41401),io=__webpack_require__(79908),Qs=__webpack_require__(82531),ki=__webpack_require__(79890),Ro=__webpack_require__(88472),vo=__webpack_require__(38944),au=__webpack_require__(78423),qs=__webpack_require__(65713),To=__webpack_require__(22968),xs=__webpack_require__(17564),ic=__webpack_require__(1220),cl=__webpack_require__(44886),fl=__webpack_require__(57019),el=__webpack_require__(35295),Vs=__webpack_require__(80286),dl=__webpack_require__(38487),Uu=__webpack_require__(29916),Js=__webpack_require__(25541),hl=__webpack_require__(45612),Ll=__webpack_require__(34926),hu=__webpack_require__(98080),Ml=__webpack_require__(68255),eo=__webpack_require__(96351),pu=__webpack_require__(16450),pl=__webpack_require__(60244),Hl=__webpack_require__(86921),zu=__webpack_require__(82928),Ac=__webpack_require__(42947),ac=__webpack_require__(71568),hi=__webpack_require__(94194),Tc=__webpack_require__(30556),ao=__webpack_require__(32100),sc=__webpack_require__(93102),Ou=__webpack_require__(1821),wl=__webpack_require__(82074),tl=__webpack_require__(13578),Cc=__webpack_require__(59348),Kc=__webpack_require__(62882),Lo=__webpack_require__(37457),Vc=__webpack_require__(70654),hf=__webpack_require__(90252),oc=__webpack_require__(29482),ml=__webpack_require__(51630),pf=__webpack_require__(61933),Uo=__webpack_require__(619),Zu=__webpack_require__(99675),Wl=__webpack_require__(52548),Es=__webpack_require__(53637),Xo=__webpack_require__(57482),su=__webpack_require__(59725),Pc=__webpack_require__(17610),uu=__webpack_require__(56966),mu=__webpack_require__(11507),Ic=__webpack_require__(16315),Yc=__webpack_require__(60239),Eu=__webpack_require__(49381),Gl=__webpack_require__(17230),Hu=__webpack_require__(62720),Dc=__webpack_require__(57151),Fl=__webpack_require__(48732),Qa=__webpack_require__(18481),mf=__webpack_require__(55055),_f=__webpack_require__(7195),rl=__webpack_require__(89179),Xc=__webpack_require__(90965),Of=__webpack_require__(67725),Oc=__webpack_require__(59884),wu=__webpack_require__(89202),vf=__webpack_require__(97815),kc=__webpack_require__(11593),uc=__webpack_require__(7597),Qc=__webpack_require__(55182),lc=__webpack_require__(34366),Su=__webpack_require__(85425),Wu=__webpack_require__(64522),Kl=__webpack_require__(41599),nl=__webpack_require__(86465),qc=__webpack_require__(78437),gf=__webpack_require__(73624),Vl=__webpack_require__(62059),Ms=__webpack_require__(10305),go=__webpack_require__(41208),_l=__webpack_require__(25204),_u=__webpack_require__(40061),il=__webpack_require__(47803),Co=__webpack_require__(7893),Bl=__webpack_require__(4890),kf=__webpack_require__(5340),Jc=__webpack_require__(61650),yf=__webpack_require__(58246),Sl=__webpack_require__(65873),Qo=__webpack_require__(63579),vl=__webpack_require__(87296),$e=__webpack_require__(59301),vu=__webpack_require__(4676),Au=__webpack_require__(35338),cc=__webpack_require__(9139);function qo(Fn){var ti=Fn.id,Gi=Fn.basename,Ma=Fn.cb,ca=new URLSearchParams({route:ti,url:window.location.href}).toString(),ba="".concat(ku(window.umiServerLoaderPath||Gi),"__serverLoader?").concat(ca);fetch(ba,{credentials:"include"}).then(function(ka){return ka.json()}).then(Ma).catch(console.error)}function ku(){var Fn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Fn.endsWith("/")?Fn:"".concat(Fn,"/")}var Yl=__webpack_require__(38127),fc=__webpack_require__(38329),Nl=__webpack_require__(8616),Gu=["content"],al=["content"],Rc=/^(http:|https:)?\/\//;function dc(Fn){return Rc.test(Fn)||Fn.startsWith("/")&&!Fn.startsWith("/*")||Fn.startsWith("./")||Fn.startsWith("../")}var Tu=function(){return $e.createElement("noscript",{dangerouslySetInnerHTML:{__html:"<b>Enable JavaScript to run this app.</b>"}})},Al=function(ti){var Gi,Ma=ti.loaderData,ca=ti.htmlPageOpts,ba=ti.manifest,ka=(ba==null||(Gi=ba.assets)===null||Gi===void 0?void 0:Gi["umi.css"])||"";return $e.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:"window.__UMI_LOADER_DATA__ = ".concat(JSON.stringify(Ma||{}),"; window.__UMI_METADATA_LOADER_DATA__ = ").concat(JSON.stringify(ca||{}),"; window.__UMI_BUILD_ClIENT_CSS__ = '").concat(ka,"'")}})};function Ku(Fn){var ti=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(typeof Fn=="string")return dc(Fn)?(0,Qo.Z)({src:Fn},ti):{content:Fn};if((0,Nl.Z)(Fn)==="object")return(0,Qo.Z)((0,Qo.Z)({},Fn),ti);throw new Error("Invalid script type: ".concat((0,Nl.Z)(Fn)))}function Zf(Fn){return dc(Fn)?{type:"link",href:Fn}:{type:"style",content:Fn}}var bf=function(ti){var Gi,Ma,ca,ba,ka,Ds,fa=ti.htmlPageOpts;return $e.createElement($e.Fragment,null,(fa==null?void 0:fa.title)&&$e.createElement("title",null,fa.title),fa==null||(Gi=fa.favicons)===null||Gi===void 0?void 0:Gi.map(function(Os,Qu){return $e.createElement("link",{key:Qu,rel:"shortcut icon",href:Os})}),(fa==null?void 0:fa.description)&&$e.createElement("meta",{name:"description",content:fa.description}),(fa==null||(Ma=fa.keywords)===null||Ma===void 0?void 0:Ma.length)&&$e.createElement("meta",{name:"keywords",content:fa.keywords.join(",")}),fa==null||(ca=fa.metas)===null||ca===void 0?void 0:ca.map(function(Os){return $e.createElement("meta",{key:Os.name,name:Os.name,content:Os.content})}),fa==null||(ba=fa.links)===null||ba===void 0?void 0:ba.map(function(Os,Qu){return $e.createElement("link",(0,fc.Z)({key:Qu},Os))}),fa==null||(ka=fa.styles)===null||ka===void 0?void 0:ka.map(function(Os,Qu){var Fu=Zf(Os),Ol=Fu.type,yl=Fu.href,zl=Fu.content;if(Ol==="link")return $e.createElement("link",{key:Qu,rel:"stylesheet",href:yl});if(Ol==="style")return $e.createElement("style",{key:Qu},zl)}),fa==null||(Ds=fa.headScripts)===null||Ds===void 0?void 0:Ds.map(function(Os,Qu){var Fu=Ku(Os),Ol=Fu.content,yl=(0,Yl.Z)(Fu,Gu);return $e.createElement("script",(0,fc.Z)({dangerouslySetInnerHTML:{__html:Ol},key:Qu},yl))}))};function Jo(Fn){var ti,Gi=Fn.children,Ma=Fn.loaderData,ca=Fn.manifest,ba=Fn.htmlPageOpts,ka=Fn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ds=Fn.mountElementId;if(ka!=null&&ka.pureHtml)return $e.createElement("html",null,$e.createElement("head",null),$e.createElement("body",null,$e.createElement(Tu,null),$e.createElement("div",{id:Ds},Gi),$e.createElement(Al,{manifest:ca,loaderData:Ma,htmlPageOpts:ba})));if(ka!=null&&ka.pureApp)return $e.createElement($e.Fragment,null,Gi);var fa=typeof window=="undefined"?ca==null?void 0:ca.assets["umi.css"]:window.__UMI_BUILD_ClIENT_CSS__;return $e.createElement("html",{suppressHydrationWarning:!0,lang:(ba==null?void 0:ba.lang)||"en"},$e.createElement("head",null,$e.createElement("meta",{charSet:"utf-8"}),$e.createElement("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),fa&&$e.createElement("link",{suppressHydrationWarning:!0,rel:"stylesheet",href:fa}),$e.createElement(bf,{htmlPageOpts:ba})),$e.createElement("body",null,$e.createElement(Tu,null),$e.createElement("div",{id:Ds},Gi),$e.createElement(Al,{manifest:ca,loaderData:Ma,htmlPageOpts:ba}),ba==null||(ti=ba.scripts)===null||ti===void 0?void 0:ti.map(function(Os,Qu){var Fu=Ku(Os),Ol=Fu.content,yl=(0,Yl.Z)(Fu,al);return $e.createElement("script",(0,fc.Z)({dangerouslySetInnerHTML:{__html:Ol},key:Qu},yl))})))}var $l=$e.createContext(void 0);function ef(){return $e.useContext($l)}var hc=["redirect"];function pc(Fn){var ti=Fn.routesById,Gi=Fn.parentId,Ma=Fn.routeComponents,ca=Fn.useStream,ba=ca===void 0?!0:ca;return Object.keys(ti).filter(function(ka){return ti[ka].parentId===Gi}).map(function(ka){var Ds=_c((0,Qo.Z)((0,Qo.Z)({route:ti[ka],routeComponent:Ma[ka],loadingComponent:Fn.loadingComponent,reactRouter5Compat:Fn.reactRouter5Compat},Fn.reactRouter5Compat&&{hasChildren:Object.keys(ti).filter(function(Os){return ti[Os].parentId===ka}).length>0}),{},{useStream:ba})),fa=pc({routesById:ti,routeComponents:Ma,parentId:Ds.id,loadingComponent:Fn.loadingComponent,reactRouter5Compat:Fn.reactRouter5Compat,useStream:ba});return fa.length>0&&(Ds.children=fa,Ds.routes=fa),Ds})}function mc(Fn){var ti=(0,Au.UO)(),Gi=(0,Au.Gn)(Fn.to,ti),Ma=(0,cc.T$)(),ca=(0,Au.TH)();if(Ma!=null&&Ma.keepQuery){var ba=ca.search+ca.hash;Gi+=ba}var ka=(0,Qo.Z)((0,Qo.Z)({},Fn),{},{to:Gi});return $e.createElement(Au.Fg,(0,fc.Z)({replace:!0},ka))}function _c(Fn){var ti=Fn.route,Gi=Fn.useStream,Ma=Gi===void 0?!0:Gi,ca=ti.redirect,ba=(0,Yl.Z)(ti,hc),ka=Fn.reactRouter5Compat?Lc:vc;return(0,Qo.Z)({element:ca?$e.createElement(mc,{to:ca}):$e.createElement($l.Provider,{value:{route:Fn.route}},$e.createElement(ka,{loader:$e.memo(Fn.routeComponent),loadingComponent:Fn.loadingComponent||xf,hasChildren:Fn.hasChildren,useStream:Ma}))},ba)}function xf(){return $e.createElement("div",null)}function Lc(Fn){var ti=ef(),Gi=ti.route,Ma=(0,cc.Ov)(),ca=Ma.history,ba=Ma.clientRoutes,ka=(0,Au.UO)(),Ds={params:ka,isExact:!0,path:Gi.path,url:ca.location.pathname},fa=Fn.loader,Os={location:ca.location,match:Ds,history:ca,params:ka,route:Gi,routes:ba};return Fn.useStream?$e.createElement($e.Suspense,{fallback:$e.createElement(Fn.loadingComponent,null)},$e.createElement(fa,Os,Fn.hasChildren&&$e.createElement(Au.j3,null))):$e.createElement(fa,Os,Fn.hasChildren&&$e.createElement(Au.j3,null))}function vc(Fn){var ti=Fn.loader;return Fn.useStream?$e.createElement($e.Suspense,{fallback:$e.createElement(Fn.loadingComponent,null)},$e.createElement(ti,null)):$e.createElement(ti,null)}var Xl=null;function Ef(){return Xl}function Mc(Fn){var ti=Fn.history,Gi=$e.useState({action:ti.action,location:ti.location}),Ma=(0,vl.Z)(Gi,2),ca=Ma[0],ba=Ma[1];return(0,$e.useLayoutEffect)(function(){return ti.listen(ba)},[ti]),(0,$e.useLayoutEffect)(function(){function ka(Ds){Fn.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Fn.routes,clientRoutes:Fn.clientRoutes,location:Ds.location,action:Ds.action,basename:Fn.basename,isFirst:!!Ds.isFirst}})}return ka({location:ca.location,action:ca.action,isFirst:!0}),ti.listen(ka)},[ti,Fn.routes,Fn.clientRoutes]),$e.createElement(Au.F0,{navigator:ti,location:ca.location,basename:Fn.basename},Fn.children)}function Vu(){var Fn=(0,cc.Ov)(),ti=Fn.clientRoutes;return(0,Au.V$)(ti)}var sl=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],lu=function(ti,Gi){var Ma=ti.basename||"/",ca=pc({routesById:ti.routes,routeComponents:ti.routeComponents,loadingComponent:ti.loadingComponent,reactRouter5Compat:ti.reactRouter5Compat,useStream:ti.useStream});ti.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:ca}});for(var ba=$e.createElement(Mc,{basename:Ma,pluginManager:ti.pluginManager,routes:ti.routes,clientRoutes:ca,history:ti.history},Gi),ka=0,Ds=sl;ka<Ds.length;ka++){var fa=Ds[ka];ba=ti.pluginManager.applyPlugins({type:"modify",key:fa,initialValue:ba,args:{routes:ti.routes,history:ti.history,plugin:ti.pluginManager}})}var Os=function(){var Fu=(0,$e.useState)({}),Ol=(0,vl.Z)(Fu,2),yl=Ol[0],zl=Ol[1],Kf=(0,$e.useState)(window.__UMI_LOADER_DATA__||{}),Af=(0,vl.Z)(Kf,2),ql=Af[0],Tf=Af[1],af=(0,$e.useCallback)(function(Cf,sf){var bl,Hf=(((bl=(0,Au.fp)(ca,Cf,Ma))===null||bl===void 0?void 0:bl.map(function(xl){return xl.route.id}))||[]).filter(Boolean);Hf.forEach(function(xl){var zc,Rf;if(window.__umi_route_prefetch__){var eu,of=(eu=ti.routeComponents[xl])===null||eu===void 0||(eu=eu._payload)===null||eu===void 0?void 0:eu._result;typeof of=="function"&&of()}var Pf=(zc=ti.routes[xl])===null||zc===void 0?void 0:zc.clientLoader,kl=!!Pf,Jl=(Rf=ti.routes[xl])===null||Rf===void 0?void 0:Rf.hasServerLoader;!sf&&Jl&&!kl&&!window.__UMI_LOADER_DATA__&&qo({id:xl,basename:Ma,cb:function(ec){$e.startTransition(function(){Tf(function(Mf){return(0,Qo.Z)((0,Qo.Z)({},Mf),{},(0,Sl.Z)({},xl,ec))})})}});var ou=!!yl[xl],uf=kl&&Pf.hydrate||!Jl,Lf=Jl&&!window.__UMI_LOADER_DATA__;kl&&!ou&&(uf||Lf)&&Pf({serverLoader:function(){return qo({id:xl,basename:Ma,cb:function(Mf){$e.startTransition(function(){Tf(function(cf){return(0,Qo.Z)((0,Qo.Z)({},cf),{},(0,Sl.Z)({},xl,Mf))})})}})}}).then(function(lf){zl(function(ec){return(0,Qo.Z)((0,Qo.Z)({},ec),{},(0,Sl.Z)({},xl,lf))})})})},[yl]);return(0,$e.useEffect)(function(){return af(window.location.pathname,!0),ti.history.listen(function(Cf){af(Cf.location.pathname)})},[]),(0,$e.useLayoutEffect)(function(){typeof ti.callback=="function"&&ti.callback()},[]),$e.createElement(cc.Il.Provider,{value:{routes:ti.routes,routeComponents:ti.routeComponents,clientRoutes:ca,pluginManager:ti.pluginManager,rootElement:ti.rootElement,basename:Ma,clientLoaderData:yl,serverLoaderData:ql,preloadRoute:af,history:ti.history}},ba)};return Os};function Fc(Fn){var ti=Fn.rootElement||document.getElementById("root"),Gi=lu(Fn,$e.createElement(Vu,null));if(Fn.components)return Gi;if(Fn.hydrate){var Ma=window.__UMI_LOADER_DATA__||{},ca=window.__UMI_METADATA_LOADER_DATA__||{},ba={metadata:ca,loaderData:Ma,mountElementId:Fn.mountElementId},ka=Fn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureApp||Fn.__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.pureHtml;vu.hydrateRoot(ka?ti:document,ka?$e.createElement(Gi,null):$e.createElement(Jo,ba,$e.createElement(Gi,null)));return}if(vu.createRoot){Xl=vu.createRoot(ti),Xl.render($e.createElement(Gi,null));return}vu.render($e.createElement(Gi,null),ti)}var Bc=(Fn,ti,Gi)=>new Promise((Ma,ca)=>{var ba=fa=>{try{Ds(Gi.next(fa))}catch(Os){ca(Os)}},ka=fa=>{try{Ds(Gi.throw(fa))}catch(Os){ca(Os)}},Ds=fa=>fa.done?Ma(fa.value):Promise.resolve(fa.value).then(ba,ka);Ds((Gi=Gi.apply(Fn,ti)).next())});function tf(){return Bc(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:"/shixuns/:id/skill_tags",parentId:"200",id:"220"},221:{path:"/users",parentId:"1",id:"221"},222:{path:"/users/:username/videos/protocol",parentId:"221",id:"222"},223:{path:"/users/:username/videos/resourceProtocol",parentId:"221",id:"223"},224:{path:"/users/:username/videos/success",parentId:"221",id:"224"},225:{path:"/users/:username/topicbank/:topicstype",parentId:"221",id:"225"},226:{path:"/users/:username/topics/:topicId/:topictype/normal/detail",parentId:"221",id:"226"},227:{path:"/users/:username/topics/:topicId/:topictype/group/detail",parentId:"221",id:"227"},228:{path:"/users/:username/topics/:topicId/:topictype/normal/edit",parentId:"221",id:"228"},229:{path:"/users/:username/topics/:topicId/:topictype/group/edit",parentId:"221",id:"229"},230:{path:"/users/:username/topics/:topicId/:topictype/exercise/edit",parentId:"221",id:"230"},231:{path:"/users/:username/topics/:topicId/:topictype/exercise/detail",parentId:"221",id:"231"},232:{path:"/users/:username/topics/:topicId/:topictype/poll/edit",parentId:"221",id:"232"},233:{path:"/users/:username/topics/:topicId/:topictype/poll/detail",parentId:"221",id:"233"},234:{path:"/users/:username/experiment-img/add",parentId:"221",id:"234"},235:{path:"/users/:username",parentId:"221",id:"235"},236:{path:"/users/:username",parentId:"235",id:"236"},237:{path:"/users/:username/baseInfo/edit",parentId:"235",id:"237"},238:{path:"/users/:username/baseInfo",parentId:"235",id:"238"},239:{path:"/users/:username/realNameCertification",parentId:"235",id:"239"},240:{path:"/users/:username/careerCertification",parentId:"235",id:"240"},241:{path:"/users/:username/classrooms",parentId:"235",id:"241"},242:{path:"/users/:username/shixuns",parentId:"235",id:"242"},243:{path:"/users/:username/dataSet",parentId:"235",id:"243"},244:{path:"/users/:username/userPortrait",parentId:"235",id:"244"},245:{path:"/users/:username/learningPath",parentId:"235",id:"245"},246:{path:"/users/:username/teach-group",parentId:"235",id:"246"},247:{path:"/users/:username/competitions",parentId:"235",id:"247"},248:{path:"/users/:username/experiment-img",parentId:"235",id:"248"},249:{path:"/users/:username/experiment-img/:experid/detail",parentId:"235",id:"249"},250:{path:"/users/:username/certificate",parentId:"235",id:"250"},251:{path:"/users/:username/otherResources",parentId:"235",id:"251"},252:{path:"/users/:username/classmanagement",parentId:"235",id:"252"},253:{path:"/users/:username/classmanagement/:couserid",parentId:"235",id:"253"},254:{path:"/users/:username/paths",parentId:"235",id:"254"},255:{path:"/users/:username/projects",parentId:"235",id:"255"},256:{path:"/users/:username/videos",parentId:"235",id:"256"},257:{path:"/users/:username/videos/upload",parentId:"235",id:"257"},258:{path:"/users/:username/topics/:topicstype",parentId:"235",id:"258"},259:{path:"/users/:username/vspaces",parentId:"235",id:"259"},260:{path:"/users/:username/resourcesCenter",parentId:"235",id:"260"},261:{path:"/users/:username/resourcesCenter/:id/detail",parentId:"235",id:"261"},262:{path:"/users/:username/resourceGuarantee",parentId:"235",id:"262"},263:{path:"/users/:username/resourceAllocation",parentId:"235",id:"263"},264:{parentId:"1",id:"264"},265:{path:"/problems",parentId:"264",id:"265"},266:{path:"/problems",parentId:"265",id:"266"},267:{path:"/problems/batchAdd",parentId:"265",id:"267"},268:{path:"/problems/newcreate",parentId:"264",id:"268"},269:{path:"/problems/newedit/:id",exact:!0,parentId:"264",id:"269"},270:{path:"/problems/:id/edit",exact:!0,parentId:"264",id:"270"},271:{path:"/problems/new",exact:!0,parentId:"264",id:"271"},272:{path:"/problems/:id/oj/:save_identifier",parentId:"264",id:"272"},273:{path:"/problems/:id/record-detail/:submitId",parentId:"264",id:"273"},274:{path:"/problems/add",parentId:"264",id:"274"},275:{path:"/problems/:id/ojedit",parentId:"264",id:"275"},276:{path:"/engineering",parentId:"1",id:"276"},277:{path:"/engineering",parentId:"276",id:"277"},278:{path:"/engineering/teacherList",parentId:"277",id:"278"},279:{path:"/engineering/studentList",parentId:"277",id:"279"},280:{path:"/engineering/training/program",parentId:"277",id:"280"},281:{path:"/engineering/training/program/add",parentId:"277",id:"281"},282:{path:"/engineering/training/program/edit",parentId:"277",id:"282"},283:{path:"/engineering/training/objectives",parentId:"277",id:"283"},284:{path:"/engineering/graduated/index",parentId:"277",id:"284"},285:{path:"/engineering/graduated/matrix",parentId:"277",id:"285"},286:{path:"/engineering/course/list",parentId:"277",id:"286"},287:{path:"/engineering/course/setting",parentId:"277",id:"287"},288:{path:"/engineering/course/matrix",parentId:"277",id:"288"},289:{path:"/engineering/navigation",parentId:"277",id:"289"},290:{path:"/engineering/evaluate/course",parentId:"277",id:"290"},291:{path:"/engineering/evaluate/course/:ec_year_id/:id",parentId:"277",id:"291"},292:{path:"/engineering/evaluate/norm",parentId:"277",id:"292"},293:{path:"/engineering/evaluate/document",parentId:"277",id:"293"},294:{path:"/engineering/evaluate/norm/:ec_year_id/:id",parentId:"277",id:"294"},295:{path:"/engineering/*",redirect:"/404",parentId:"277",id:"295"},296:{path:"/innovation",parentId:"1",id:"296"},297:{path:"/innovation/tasks/:taskId",parentId:"296",id:"297"},298:{path:"/innovation",parentId:"296",id:"298"},299:{path:"/innovation/project",parentId:"298",id:"299"},300:{path:"/innovation/dataset",parentId:"298",id:"300"},301:{path:"/innovation/mirror",parentId:"298",id:"301"},302:{path:"/innovation/my-project",parentId:"298",id:"302"},303:{path:"/innovation/my-dataset",parentId:"298",id:"303"},304:{path:"/innovation/my-mirror",parentId:"298",id:"304"},305:{path:"/innovation/project/create",parentId:"298",id:"305"},306:{path:"/innovation/project/edit/:id",parentId:"298",id:"306"},307:{path:"/innovation/project/detail/:taskId",parentId:"298",id:"307"},308:{path:"/tasks",parentId:"1",id:"308"},309:{path:"/tasks/:taskId",exact:!0,parentId:"308",id:"309"},310:{path:"/tasks/:identifier/jupyter/",exact:!0,parentId:"308",id:"310"},311:{path:"/tasks/:courseId/:homeworkId/:taskId",exact:!0,parentId:"308",id:"311"},312:{path:"/tasks/jupyter/:courseId/:homeworkId/:identifier",exact:!0,parentId:"308",id:"312"},313:{path:"/tasks/:courseId/:exerciseId/:taskId/exercise",exact:!0,parentId:"308",id:"313"},314:{path:"/myproblems",parentId:"1",id:"314"},315:{path:"/myproblems/:id/record-detail/:submitId",exact:!0,parentId:"314",id:"315"},316:{path:"/myproblems/:id",exact:!0,parentId:"314",id:"316"},317:{path:"/account",parentId:"1",id:"317"},318:{path:"/account",parentId:"317",id:"318"},319:{path:"/account/profile",parentId:"318",id:"319"},320:{path:"/account/profile/edit",parentId:"318",id:"320"},321:{path:"/account/certification",parentId:"318",id:"321"},322:{path:"/account/secure",parentId:"318",id:"322"},323:{path:"/account/binding",parentId:"318",id:"323"},324:{path:"/account/Results",parentId:"318",id:"324"},325:{path:"/ch",parentId:"1",id:"325"},326:{path:"/ch/rest/edit/:categoryId/:id",exact:!0,parentId:"325",id:"326"},327:{path:"/ch/rest/",exact:!0,parentId:"325",id:"327"},328:{path:"/ch/rest/:id",exact:!0,parentId:"325",id:"328"},329:{path:"/order",parentId:"1",id:"329"},330:{path:"/order",parentId:"329",id:"330"},331:{path:"/order/invoice",parentId:"329",id:"331"},332:{path:"/order/records",parentId:"329",id:"332"},333:{path:"/order/apply",parentId:"329",id:"333"},334:{path:"/order/view",parentId:"329",id:"334"},335:{path:"/order/:courseId/information",parentId:"329",id:"335"},336:{path:"/order/:courseId/pay",parentId:"329",id:"336"},337:{path:"/order/:orderNum/result",parentId:"329",id:"337"},338:{path:"/messages",parentId:"1",id:"338"},339:{path:"/messages/:userId/user_tidings",parentId:"338",id:"339"},340:{path:"/messages/:userId/private_messages",parentId:"338",id:"340"},341:{path:"/messages/:userId/message_detail",parentId:"338",id:"341"},342:{path:"/vtrs",parentId:"1",id:"342"},343:{path:"/vtrs/:virtual_spacesId",parentId:"342",id:"343"},344:{path:"/vtrs/:virtual_spacesId",exact:!0,parentId:"343",id:"344"},345:{path:"/vtrs/:virtual_spacesId/workplace",exact:!0,parentId:"343",id:"345"},346:{path:"/vtrs/:virtual_spacesId/experiment",parentId:"343",id:"346"},347:{path:"/vtrs/:virtual_spacesId/announcement",parentId:"343",id:"347"},348:{path:"/vtrs/:virtual_spacesId/announcement/add",parentId:"343",id:"348"},349:{path:"/vtrs/:virtual_spacesId/announcement/:id/edit",parentId:"343",id:"349"},350:{path:"/vtrs/:virtual_spacesId/announcement/:id/detail",parentId:"343",id:"350"},351:{path:"/vtrs/:virtual_spacesId/survey",parentId:"343",id:"351"},352:{path:"/vtrs/:virtual_spacesId/survey/:id/detail",parentId:"343",id:"352"},353:{path:"/vtrs/:virtual_spacesId/knowledge",parentId:"343",id:"353"},354:{path:"/vtrs/:virtual_spacesId/knowledge/add",parentId:"343",id:"354"},355:{path:"/vtrs/:virtual_spacesId/knowledge/:id/edit",parentId:"343",id:"355"},356:{path:"/vtrs/:virtual_spacesId/material",parentId:"343",id:"356"},357:{path:"/vtrs/:virtual_spacesId/material/:id/detail",parentId:"343",id:"357"},358:{path:"/vtrs/:virtual_spacesId/lesson",parentId:"343",id:"358"},359:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail",parentId:"343",id:"359"},360:{path:"/vtrs/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"343",id:"360"},361:{path:"/vtrs/:virtual_spacesId/discussion",parentId:"343",id:"361"},362:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail",parentId:"343",id:"362"},363:{path:"/vtrs/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"343",id:"363"},364:{path:"/vtrs/:virtual_spacesId/settings",parentId:"343",id:"364"},365:{path:"/vtrs/:virtual_spacesId/resources",parentId:"343",id:"365"},366:{path:"/vtrs/:virtual_spacesId/resources/:id/detail",parentId:"343",id:"366"},367:{path:"/vtrs/:virtual_spacesId/Plan",parentId:"343",id:"367"},368:{path:"/vtrs/:virtual_spacesId/plan/:id/detail",parentId:"343",id:"368"},369:{path:"/vtrs/:virtual_spacesId/digtal",parentId:"343",id:"369"},370:{path:"/vtrs/:virtual_spacesId/homepage",parentId:"343",id:"370"},371:{path:"/vtrs/:virtual_spacesId/*",parentId:"343",id:"371"},372:{path:"/101",parentId:"1",id:"372"},373:{path:"/101/:virtual_spacesId",parentId:"372",id:"373"},374:{path:"/101/:virtual_spacesId",exact:!0,parentId:"373",id:"374"},375:{path:"/101/:virtual_spacesId/workplace",exact:!0,parentId:"373",id:"375"},376:{path:"/101/:virtual_spacesId/experiment",parentId:"373",id:"376"},377:{path:"/101/:virtual_spacesId/announcement",parentId:"373",id:"377"},378:{path:"/101/:virtual_spacesId/announcement/add",parentId:"373",id:"378"},379:{path:"/101/:virtual_spacesId/announcement/:id/edit",parentId:"373",id:"379"},380:{path:"/101/:virtual_spacesId/announcement/:id/detail",parentId:"373",id:"380"},381:{path:"/101/:virtual_spacesId/survey",parentId:"373",id:"381"},382:{path:"/101/:virtual_spacesId/survey/:id/detail",parentId:"373",id:"382"},383:{path:"/101/:virtual_spacesId/knowledge",parentId:"373",id:"383"},384:{path:"/101/:virtual_spacesId/knowledge/add",parentId:"373",id:"384"},385:{path:"/101/:virtual_spacesId/knowledge/:id/edit",parentId:"373",id:"385"},386:{path:"/101/:virtual_spacesId/material",parentId:"373",id:"386"},387:{path:"/101/:virtual_spacesId/material/:id/detail",parentId:"373",id:"387"},388:{path:"/101/:virtual_spacesId/lesson",parentId:"373",id:"388"},389:{path:"/101/:virtual_spacesId/lesson/:id/detail",parentId:"373",id:"389"},390:{path:"/101/:virtual_spacesId/lesson/:id/detail/:fileid",parentId:"373",id:"390"},391:{path:"/101/:virtual_spacesId/discussion",parentId:"373",id:"391"},392:{path:"/101/:virtual_spacesId/discussion/:id/detail",parentId:"373",id:"392"},393:{path:"/101/:virtual_spacesId/discussion/:id/detail/:fileid",parentId:"373",id:"393"},394:{path:"/101/:virtual_spacesId/settings",parentId:"373",id:"394"},395:{path:"/101/:virtual_spacesId/resources",parentId:"373",id:"395"},396:{path:"/101/:virtual_spacesId/resources/:id/detail",parentId:"373",id:"396"},397:{path:"/101/:virtual_spacesId/Plan",parentId:"373",id:"397"},398:{path:"/101/:virtual_spacesId/plan/:id/detail",parentId:"373",id:"398"},399:{path:"/101/:virtual_spacesId/digtal",parentId:"373",id:"399"},400:{path:"/101/:virtual_spacesId/homepage",parentId:"373",id:"400"},401:{path:"/101/:virtual_spacesId/*",parentId:"373",id:"401"},402:{path:"/administration",parentId:"1",id:"402"},403:{path:"/administration",parentId:"402",id:"403"},404:{path:"/administration/college",parentId:"403",id:"404"},405:{path:"/administration/student",parentId:"403",id:"405"},406:{path:"/administration/student/:studentId/edit",parentId:"403",id:"406"},407:{path:"/administration/profession",parentId:"403",id:"407"},408:{path:"/graduations",parentId:"1",id:"408"},409:{path:"/graduations",exact:!0,parentId:"408",id:"409"},410:{path:"/graduations/:id/:moduleKey/:moduleId/review/:itemId",exact:!0,parentId:"408",id:"410"},411:{path:"/graduations/:id",parentId:"408",id:"411"},412:{path:"/graduations/:id/index",parentId:"411",id:"412"},413:{path:"/graduations/:id/topics",parentId:"411",id:"413"},414:{path:"/graduations/:id/student_selection",parentId:"411",id:"414"},415:{path:"/graduations/:id/tasks",parentId:"411",id:"415"},416:{path:"/graduations/:id/opening_report",parentId:"411",id:"416"},417:{path:"/graduations/:id/midterm_report",parentId:"411",id:"417"},418:{path:"/graduations/:id/thesis",parentId:"411",id:"418"},419:{path:"/graduations/:id/final_defense",parentId:"411",id:"419"},420:{path:"/graduations/:id/final_thesis",parentId:"411",id:"420"},421:{path:"/graduations/:id/settings",parentId:"411",id:"421"},422:{path:"/graduations/:id/teachers",parentId:"411",id:"422"},423:{path:"/graduations/:id/students",parentId:"411",id:"423"},424:{path:"/graduations/:id/archives",parentId:"411",id:"424"},425:{path:"/graduations/:id/grading_summary",parentId:"411",id:"425"},426:{path:"/dataset",parentId:"1",id:"426"},427:{path:"/dataset",exact:!0,parentId:"426",id:"427"},428:{path:"/dataset/:id/detail",exact:!0,parentId:"426",id:"428"},429:{path:"/knowledgegraph",parentId:"1",id:"429"},430:{path:"/knowledgegraph/:pathId",parentId:"429",id:"430"},431:{path:"/knowledgegraph/:pathId/statistics",parentId:"429",id:"431"},432:{path:"/onlinenum",parentId:"1",id:"432"},433:{path:"/onlinenum",parentId:"432",id:"433"},434:{path:"/deductionSystem",parentId:"1",id:"434"},435:{path:"/deductionSystem",parentId:"434",id:"435"},436:{path:"/deductionSystemZstp",parentId:"1",id:"436"},437:{path:"/deductionSystemZstp",parentId:"436",id:"437"},438:{path:"/deductionSystemSjrh",parentId:"1",id:"438"},439:{path:"/deductionSystemSjrh",parentId:"438",id:"439"},440:{path:"/shixuncontext",parentId:"1",id:"440"},441:{path:"/shixuncontext",parentId:"440",id:"441"},442:{path:"/shixuncontext/:Id/detail",parentId:"440",id:"442"},443:{path:"/educoder-demo",exact:!0,parentId:"1",id:"443"},444:{path:"/training",parentId:"1",id:"444"},445:{name:"\u7CBE\u57F9\u8BFE\u7A0B",path:"/training",parentId:"444",id:"445"},446:{path:"/largeScreen",exact:!0,parentId:"1",id:"446"},447:{path:"/quality",parentId:"1",id:"447"},448:{name:"\u7CBE\u54C1\u8BFE\u7A0B",path:"/quality",parentId:"447",id:"448"},449:{path:"/otherlogin",exact:!0,parentId:"1",id:"449"},450:{path:"/otherloginqq",exact:!0,parentId:"1",id:"450"},451:{path:"/otherloginstart",exact:!0,parentId:"1",id:"451"},452:{path:"/pathsoverview",exact:!0,parentId:"1",id:"452"},453:{path:"/shixunsoverview",exact:!0,parentId:"1",id:"453"},454:{path:"/classroomsoverview",exact:!0,parentId:"1",id:"454"},455:{path:"/login",parentId:"1",id:"455"},456:{path:"/login",parentId:"455",id:"456"},457:{path:"/user",parentId:"1",id:"457"},458:{path:"/user/login",parentId:"457",id:"458"},459:{path:"/user/register",parentId:"457",id:"459"},460:{path:"/user/reset-password",parentId:"457",id:"460"},461:{path:"/colleges",parentId:"1",id:"461"},462:{path:"/colleges/:id/statistics",parentId:"461",id:"462"},463:{path:"/help",parentId:"1",id:"463"},464:{path:"/help/:id",parentId:"463",id:"464"},465:{path:"/video",parentId:"1",id:"465"},466:{path:"/video/:videoId",parentId:"465",id:"466"},467:{path:"/terminal",parentId:"1",id:"467"},468:{path:"/report/:taskId/:game_report_id",parentId:"1",id:"468"},469:{path:"/recommendationList",parentId:"1",id:"469"},470:{path:"/",parentId:"1",id:"470"},471:{path:"/",exact:!0,parentId:"470",id:"471"},472:{path:"/api/*",exact:!0,parentId:"470",id:"472"},473:{path:"/search",exact:!0,parentId:"470",id:"473"},474:{path:"/moop_cases",exact:!0,parentId:"470",id:"474"},475:{path:"/moop_cases/new",exact:!0,parentId:"470",id:"475"},476:{path:"/moop_cases/:caseId",exact:!0,parentId:"470",id:"476"},477:{path:"/moop_cases/:caseId/edit",exact:!0,parentId:"470",id:"477"},478:{path:"/moop_cases/:caseId/publish-success",exact:!0,parentId:"470",id:"478"},479:{path:"/randompaper",exact:!0,parentId:"470",id:"479"},480:{path:"/randompaper/edit/:id",exact:!0,parentId:"470",id:"480"},481:{path:"/randompaper/detail/:id",exact:!0,parentId:"470",id:"481"},482:{path:"/403",parentId:"470",id:"482"},483:{path:"/500",parentId:"470",id:"483"},484:{path:"/404",parentId:"470",id:"484"},485:{path:"/download",parentId:"470",id:"485"},486:{path:"/iwce",parentId:"470",id:"486"},487:{path:"/classrooms/:coursesId/attendance/TeacherSign",parentId:"470",id:"487"},488:{path:"/classrooms/:coursesId/attendance/:categoryId",parentId:"470",id:"488"},489:{path:"/Activities",parentId:"470",id:"489"},490:{path:"/iwce/:itemname",parentId:"470",id:"490"},491:{path:"/hpc-course",parentId:"470",id:"491"},492:{path:"/user_agents",parentId:"470",id:"492"},493:{path:"/three",parentId:"470",id:"493"},494:{path:"/introduction",parentId:"470",id:"494"},495:{path:"/chatgpt",parentId:"470",id:"495"},496:{path:"/*",parentId:"470",id:"496"},"@@/global-layout":{id:"@@/global-layout",path:"/",isLayout:!0}},routeComponents:{1:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),2:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),3:$e.lazy(()=>__webpack_require__.e(2099).then(__webpack_require__.bind(__webpack_require__,25019))),4:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,20556))),5:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3260)]).then(__webpack_require__.bind(__webpack_require__,20556))),6:$e.lazy(()=>__webpack_require__.e(3247).then(__webpack_require__.bind(__webpack_require__,80291))),7:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(8534),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,26536))),8:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(8534),__webpack_require__.e(1545)]).then(__webpack_require__.bind(__webpack_require__,93114))),9:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),10:$e.lazy(()=>__webpack_require__.e(9906).then(__webpack_require__.bind(__webpack_require__,30139))),11:$e.lazy(()=>__webpack_require__.e(5572).then(__webpack_require__.bind(__webpack_require__,51221))),12:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,15769))),13:$e.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,85941))),14:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(2281)]).then(__webpack_require__.bind(__webpack_require__,63889))),15:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4601)]).then(__webpack_require__.bind(__webpack_require__,25953))),16:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8982)]).then(__webpack_require__.bind(__webpack_require__,15769))),17:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(8534),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,26536))),18:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(8534),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,26536))),19:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),20:$e.lazy(()=>__webpack_require__.e(6789).then(__webpack_require__.bind(__webpack_require__,80850))),21:$e.lazy(()=>__webpack_require__.e(9921).then(__webpack_require__.bind(__webpack_require__,99603))),22:$e.lazy(()=>__webpack_require__.e(1674).then(__webpack_require__.bind(__webpack_require__,85412))),23:$e.lazy(()=>__webpack_require__.e(6685).then(__webpack_require__.bind(__webpack_require__,59799))),24:$e.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,25302))),25:$e.lazy(()=>__webpack_require__.e(1702).then(__webpack_require__.bind(__webpack_require__,25302))),26:$e.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,29187))),27:$e.lazy(()=>__webpack_require__.e(6882).then(__webpack_require__.bind(__webpack_require__,29187))),28:$e.lazy(()=>__webpack_require__.e(109).then(__webpack_require__.bind(__webpack_require__,78756))),29:$e.lazy(()=>__webpack_require__.e(737).then(__webpack_require__.bind(__webpack_require__,20408))),30:$e.lazy(()=>__webpack_require__.e(3391).then(__webpack_require__.bind(__webpack_require__,39539))),31:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(5694)]).then(__webpack_require__.bind(__webpack_require__,81921))),32:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(5330)]).then(__webpack_require__.bind(__webpack_require__,69083))),33:$e.lazy(()=>__webpack_require__.e(2303).then(__webpack_require__.bind(__webpack_require__,53281))),34:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1450)]).then(__webpack_require__.bind(__webpack_require__,11749))),35:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(195)]).then(__webpack_require__.bind(__webpack_require__,26847))),36:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3668)]).then(__webpack_require__.bind(__webpack_require__,11399))),37:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2338)]).then(__webpack_require__.bind(__webpack_require__,23449))),38:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4662)]).then(__webpack_require__.bind(__webpack_require__,52786))),39:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8072)]).then(__webpack_require__.bind(__webpack_require__,68698))),40:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(479)]).then(__webpack_require__.bind(__webpack_require__,12459))),41:$e.lazy(()=>__webpack_require__.e(5297).then(__webpack_require__.bind(__webpack_require__,57806))),42:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(4164)]).then(__webpack_require__.bind(__webpack_require__,30380))),43:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(8534),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,26536))),44:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(4889)]).then(__webpack_require__.bind(__webpack_require__,83624))),45:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(4105)]).then(__webpack_require__.bind(__webpack_require__,58232))),46:$e.lazy(()=>__webpack_require__.e(7482).then(__webpack_require__.bind(__webpack_require__,92235))),47:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),48:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(337)]).then(__webpack_require__.bind(__webpack_require__,98580))),49:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,39809))),50:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(292)]).then(__webpack_require__.bind(__webpack_require__,39809))),51:$e.lazy(()=>__webpack_require__.e(5992).then(__webpack_require__.bind(__webpack_require__,92974))),52:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6419),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,26834))),53:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6419),__webpack_require__.e(8085)]).then(__webpack_require__.bind(__webpack_require__,26834))),54:$e.lazy(()=>__webpack_require__.e(8431).then(__webpack_require__.bind(__webpack_require__,89607))),55:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5902)]).then(__webpack_require__.bind(__webpack_require__,34887))),56:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3433)]).then(__webpack_require__.bind(__webpack_require__,36755))),57:$e.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,23888))),58:$e.lazy(()=>__webpack_require__.e(5125).then(__webpack_require__.bind(__webpack_require__,23888))),59:$e.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,20861))),60:$e.lazy(()=>__webpack_require__.e(921).then(__webpack_require__.bind(__webpack_require__,20861))),61:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1578)]).then(__webpack_require__.bind(__webpack_require__,78348))),62:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3317)]).then(__webpack_require__.bind(__webpack_require__,57383))),63:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1482)]).then(__webpack_require__.bind(__webpack_require__,86608))),64:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4795)]).then(__webpack_require__.bind(__webpack_require__,23279))),65:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(26)]).then(__webpack_require__.bind(__webpack_require__,17747))),66:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8882)]).then(__webpack_require__.bind(__webpack_require__,25585))),67:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5888)]).then(__webpack_require__.bind(__webpack_require__,18647))),68:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9715)]).then(__webpack_require__.bind(__webpack_require__,96377))),69:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7045)]).then(__webpack_require__.bind(__webpack_require__,83537))),70:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1211)]).then(__webpack_require__.bind(__webpack_require__,50475))),71:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1582)]).then(__webpack_require__.bind(__webpack_require__,13511))),72:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6729)]).then(__webpack_require__.bind(__webpack_require__,25981))),73:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9695)]).then(__webpack_require__.bind(__webpack_require__,74410))),74:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8723)]).then(__webpack_require__.bind(__webpack_require__,70829))),75:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7622)]).then(__webpack_require__.bind(__webpack_require__,23396))),76:$e.lazy(()=>__webpack_require__.e(5148).then(__webpack_require__.bind(__webpack_require__,97862))),77:$e.lazy(()=>__webpack_require__.e(643).then(__webpack_require__.bind(__webpack_require__,60038))),78:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3442)]).then(__webpack_require__.bind(__webpack_require__,77678))),79:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2102)]).then(__webpack_require__.bind(__webpack_require__,94544))),80:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2425)]).then(__webpack_require__.bind(__webpack_require__,31345))),81:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2404)]).then(__webpack_require__.bind(__webpack_require__,37165))),82:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9785)]).then(__webpack_require__.bind(__webpack_require__,47590))),83:$e.lazy(()=>__webpack_require__.e(869).then(__webpack_require__.bind(__webpack_require__,85941))),84:$e.lazy(()=>__webpack_require__.e(2819).then(__webpack_require__.bind(__webpack_require__,79991))),85:$e.lazy(()=>__webpack_require__.e(1512).then(__webpack_require__.bind(__webpack_require__,7351))),86:$e.lazy(()=>__webpack_require__.e(7395).then(__webpack_require__.bind(__webpack_require__,63257))),87:$e.lazy(()=>__webpack_require__.e(3585).then(__webpack_require__.bind(__webpack_require__,11956))),88:$e.lazy(()=>__webpack_require__.e(6963).then(__webpack_require__.bind(__webpack_require__,25421))),89:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,58021))),90:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4030)]).then(__webpack_require__.bind(__webpack_require__,58021))),91:$e.lazy(()=>__webpack_require__.e(6127).then(__webpack_require__.bind(__webpack_require__,73947))),92:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3951)]).then(__webpack_require__.bind(__webpack_require__,93931))),93:$e.lazy(()=>__webpack_require__.e(1048).then(__webpack_require__.bind(__webpack_require__,8361))),94:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(2884)]).then(__webpack_require__.bind(__webpack_require__,21524))),95:$e.lazy(()=>__webpack_require__.e(4770).then(__webpack_require__.bind(__webpack_require__,3237))),96:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2603)]).then(__webpack_require__.bind(__webpack_require__,13269))),97:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4216)]).then(__webpack_require__.bind(__webpack_require__,46738))),98:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5319)]).then(__webpack_require__.bind(__webpack_require__,9064))),99:$e.lazy(()=>__webpack_require__.e(895).then(__webpack_require__.bind(__webpack_require__,71973))),100:$e.lazy(()=>__webpack_require__.e(7322).then(__webpack_require__.bind(__webpack_require__,10153))),101:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5273),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,48246))),102:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5273),__webpack_require__.e(2203)]).then(__webpack_require__.bind(__webpack_require__,48246))),103:$e.lazy(()=>__webpack_require__.e(5048).then(__webpack_require__.bind(__webpack_require__,92518))),104:$e.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,85207))),105:$e.lazy(()=>__webpack_require__.e(1043).then(__webpack_require__.bind(__webpack_require__,85207))),106:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,21373))),107:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6776)]).then(__webpack_require__.bind(__webpack_require__,21373))),108:$e.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,64580))),109:$e.lazy(()=>__webpack_require__.e(4297).then(__webpack_require__.bind(__webpack_require__,64580))),110:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5273),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,64243))),111:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5273),__webpack_require__.e(8458)]).then(__webpack_require__.bind(__webpack_require__,64243))),112:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5273),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,26734))),113:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5273),__webpack_require__.e(1798)]).then(__webpack_require__.bind(__webpack_require__,26734))),114:$e.lazy(()=>__webpack_require__.e(5177).then(__webpack_require__.bind(__webpack_require__,34396))),115:$e.lazy(()=>__webpack_require__.e(201).then(__webpack_require__.bind(__webpack_require__,56824))),116:$e.lazy(()=>__webpack_require__.e(1477).then(__webpack_require__.bind(__webpack_require__,23300))),117:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5273),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,21063))),118:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5273),__webpack_require__.e(6282)]).then(__webpack_require__.bind(__webpack_require__,21063))),119:$e.lazy(()=>__webpack_require__.e(1962).then(__webpack_require__.bind(__webpack_require__,96221))),120:$e.lazy(()=>__webpack_require__.e(4928).then(__webpack_require__.bind(__webpack_require__,35207))),121:$e.lazy(()=>__webpack_require__.e(1257).then(__webpack_require__.bind(__webpack_require__,8467))),122:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8066),__webpack_require__.e(7329)]).then(__webpack_require__.bind(__webpack_require__,15705))),123:$e.lazy(()=>__webpack_require__.e(8340).then(__webpack_require__.bind(__webpack_require__,16974))),124:$e.lazy(()=>__webpack_require__.e(4093).then(__webpack_require__.bind(__webpack_require__,83330))),125:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,50499))),126:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6185)]).then(__webpack_require__.bind(__webpack_require__,50499))),127:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,33003))),128:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8827)]).then(__webpack_require__.bind(__webpack_require__,33003))),129:$e.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,39391))),130:$e.lazy(()=>__webpack_require__.e(1678).then(__webpack_require__.bind(__webpack_require__,39391))),131:$e.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,14078))),132:$e.lazy(()=>__webpack_require__.e(1754).then(__webpack_require__.bind(__webpack_require__,14078))),133:$e.lazy(()=>__webpack_require__.e(4217).then(__webpack_require__.bind(__webpack_require__,94094))),134:$e.lazy(()=>__webpack_require__.e(3220).then(__webpack_require__.bind(__webpack_require__,88644))),135:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(533)]).then(__webpack_require__.bind(__webpack_require__,89459))),136:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5798)]).then(__webpack_require__.bind(__webpack_require__,74818))),137:$e.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,50388))),138:$e.lazy(()=>__webpack_require__.e(5466).then(__webpack_require__.bind(__webpack_require__,50388))),139:$e.lazy(()=>__webpack_require__.e(9944).then(__webpack_require__.bind(__webpack_require__,58660))),140:$e.lazy(()=>__webpack_require__.e(9406).then(__webpack_require__.bind(__webpack_require__,19407))),141:$e.lazy(()=>__webpack_require__.e(9406).then(__webpack_require__.bind(__webpack_require__,19407))),142:$e.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,22132))),143:$e.lazy(()=>__webpack_require__.e(9039).then(__webpack_require__.bind(__webpack_require__,22132))),144:$e.lazy(()=>__webpack_require__.e(7922).then(__webpack_require__.bind(__webpack_require__,15182))),145:$e.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,12097))),146:$e.lazy(()=>__webpack_require__.e(1727).then(__webpack_require__.bind(__webpack_require__,12097))),147:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55733))),148:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1427)]).then(__webpack_require__.bind(__webpack_require__,55733))),149:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8689)]).then(__webpack_require__.bind(__webpack_require__,30927))),150:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7806)]).then(__webpack_require__.bind(__webpack_require__,67718))),151:$e.lazy(()=>__webpack_require__.e(3276).then(__webpack_require__.bind(__webpack_require__,24309))),152:$e.lazy(()=>__webpack_require__.e(8885).then(__webpack_require__.bind(__webpack_require__,23571))),153:$e.lazy(()=>__webpack_require__.e(3451).then(__webpack_require__.bind(__webpack_require__,6011))),154:$e.lazy(()=>__webpack_require__.e(9922).then(__webpack_require__.bind(__webpack_require__,50376))),155:$e.lazy(()=>__webpack_require__.e(4572).then(__webpack_require__.bind(__webpack_require__,25156))),156:$e.lazy(()=>__webpack_require__.e(4017).then(__webpack_require__.bind(__webpack_require__,1505))),157:$e.lazy(()=>__webpack_require__.e(5518).then(__webpack_require__.bind(__webpack_require__,13595))),158:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),159:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7647),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,81278))),160:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7647),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,81278))),161:$e.lazy(()=>__webpack_require__.e(4449).then(__webpack_require__.bind(__webpack_require__,79650))),162:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7647),__webpack_require__.e(7099)]).then(__webpack_require__.bind(__webpack_require__,81278))),163:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,72581))),164:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(2570)]).then(__webpack_require__.bind(__webpack_require__,72581))),165:$e.lazy(()=>__webpack_require__.e(8787).then(__webpack_require__.bind(__webpack_require__,83644))),166:$e.lazy(()=>__webpack_require__.e(5650).then(__webpack_require__.bind(__webpack_require__,37509))),167:$e.lazy(()=>__webpack_require__.e(1799).then(__webpack_require__.bind(__webpack_require__,50072))),168:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1555),__webpack_require__.e(8579)]).then(__webpack_require__.bind(__webpack_require__,39827))),169:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),170:$e.lazy(()=>__webpack_require__.e(8639).then(__webpack_require__.bind(__webpack_require__,84108))),171:$e.lazy(()=>__webpack_require__.e(4048).then(__webpack_require__.bind(__webpack_require__,31855))),172:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,8979))),173:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4264)]).then(__webpack_require__.bind(__webpack_require__,8979))),174:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(508)]).then(__webpack_require__.bind(__webpack_require__,67810))),175:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),176:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(8534),__webpack_require__.e(7835)]).then(__webpack_require__.bind(__webpack_require__,20828))),177:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,73271))),178:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1953)]).then(__webpack_require__.bind(__webpack_require__,73271))),179:$e.lazy(()=>__webpack_require__.e(1581).then(__webpack_require__.bind(__webpack_require__,70768))),180:$e.lazy(()=>__webpack_require__.e(4144).then(__webpack_require__.bind(__webpack_require__,83839))),181:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(8534),__webpack_require__.e(4599)]).then(__webpack_require__.bind(__webpack_require__,26536))),182:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),183:$e.lazy(()=>__webpack_require__.e(8552).then(__webpack_require__.bind(__webpack_require__,86582))),184:$e.lazy(()=>__webpack_require__.e(7884).then(__webpack_require__.bind(__webpack_require__,86754))),185:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7008)]).then(__webpack_require__.bind(__webpack_require__,75894))),186:$e.lazy(()=>__webpack_require__.e(5549).then(__webpack_require__.bind(__webpack_require__,57587))),187:$e.lazy(()=>__webpack_require__.e(9674).then(__webpack_require__.bind(__webpack_require__,20097))),188:$e.lazy(()=>__webpack_require__.e(5573).then(__webpack_require__.bind(__webpack_require__,92169))),189:$e.lazy(()=>__webpack_require__.e(2141).then(__webpack_require__.bind(__webpack_require__,8655))),190:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8661),__webpack_require__.e(9511)]).then(__webpack_require__.bind(__webpack_require__,74899))),191:$e.lazy(()=>__webpack_require__.e(6328).then(__webpack_require__.bind(__webpack_require__,26595))),192:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7857)]).then(__webpack_require__.bind(__webpack_require__,38498))),193:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,32116))),194:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1657)]).then(__webpack_require__.bind(__webpack_require__,32116))),195:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,33712))),196:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4498)]).then(__webpack_require__.bind(__webpack_require__,33712))),197:$e.lazy(()=>__webpack_require__.e(9205).then(__webpack_require__.bind(__webpack_require__,15392))),198:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1423)]).then(__webpack_require__.bind(__webpack_require__,64425))),199:$e.lazy(()=>__webpack_require__.e(7614).then(__webpack_require__.bind(__webpack_require__,21646))),200:$e.lazy(()=>__webpack_require__.e(9449).then(__webpack_require__.bind(__webpack_require__,97247))),201:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9814)]).then(__webpack_require__.bind(__webpack_require__,84557))),202:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6637)]).then(__webpack_require__.bind(__webpack_require__,89407))),203:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),204:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(3581)]).then(__webpack_require__.bind(__webpack_require__,71137))),205:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(1993)]).then(__webpack_require__.bind(__webpack_require__,76474))),206:$e.lazy(()=>Promise.all([__webpack_require__.e(8661),__webpack_require__.e(1475)]).then(__webpack_require__.bind(__webpack_require__,33336))),207:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(8965)]).then(__webpack_require__.bind(__webpack_require__,44088))),208:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9408)]).then(__webpack_require__.bind(__webpack_require__,46817))),209:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(518)]).then(__webpack_require__.bind(__webpack_require__,9284))),210:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,83610))),211:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5894)]).then(__webpack_require__.bind(__webpack_require__,83610))),212:$e.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,91062))),213:$e.lazy(()=>__webpack_require__.e(2130).then(__webpack_require__.bind(__webpack_require__,91062))),214:$e.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,54051))),215:$e.lazy(()=>__webpack_require__.e(5230).then(__webpack_require__.bind(__webpack_require__,54051))),216:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),217:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8688)]).then(__webpack_require__.bind(__webpack_require__,66997))),218:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5096)]).then(__webpack_require__.bind(__webpack_require__,84348))),219:$e.lazy(()=>__webpack_require__.e(3086).then(__webpack_require__.bind(__webpack_require__,53049))),220:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(9417)]).then(__webpack_require__.bind(__webpack_require__,83040))),221:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),222:$e.lazy(()=>__webpack_require__.e(5176).then(__webpack_require__.bind(__webpack_require__,85271))),223:$e.lazy(()=>__webpack_require__.e(6587).then(__webpack_require__.bind(__webpack_require__,27239))),224:$e.lazy(()=>__webpack_require__.e(9891).then(__webpack_require__.bind(__webpack_require__,44680))),225:$e.lazy(()=>__webpack_require__.e(8062).then(__webpack_require__.bind(__webpack_require__,25682))),226:$e.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,25166))),227:$e.lazy(()=>__webpack_require__.e(5402).then(__webpack_require__.bind(__webpack_require__,25166))),228:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6820)]).then(__webpack_require__.bind(__webpack_require__,8450))),229:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8517)]).then(__webpack_require__.bind(__webpack_require__,15612))),230:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7043)]).then(__webpack_require__.bind(__webpack_require__,99667))),231:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2806)]).then(__webpack_require__.bind(__webpack_require__,81279))),232:$e.lazy(()=>__webpack_require__.e(5043).then(__webpack_require__.bind(__webpack_require__,67391))),233:$e.lazy(()=>__webpack_require__.e(799).then(__webpack_require__.bind(__webpack_require__,61121))),234:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3157)]).then(__webpack_require__.bind(__webpack_require__,98216))),235:$e.lazy(()=>__webpack_require__.e(8332).then(__webpack_require__.bind(__webpack_require__,77194))),236:$e.lazy(()=>__webpack_require__.e(6583).then(__webpack_require__.bind(__webpack_require__,92490))),237:$e.lazy(()=>__webpack_require__.e(8217).then(__webpack_require__.bind(__webpack_require__,40188))),238:$e.lazy(()=>__webpack_require__.e(879).then(__webpack_require__.bind(__webpack_require__,1640))),239:$e.lazy(()=>__webpack_require__.e(5776).then(__webpack_require__.bind(__webpack_require__,1890))),240:$e.lazy(()=>__webpack_require__.e(906).then(__webpack_require__.bind(__webpack_require__,43513))),241:$e.lazy(()=>__webpack_require__.e(900).then(__webpack_require__.bind(__webpack_require__,90246))),242:$e.lazy(()=>__webpack_require__.e(6682).then(__webpack_require__.bind(__webpack_require__,83275))),243:$e.lazy(()=>__webpack_require__.e(8115).then(__webpack_require__.bind(__webpack_require__,6462))),244:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2659)]).then(__webpack_require__.bind(__webpack_require__,79838))),245:$e.lazy(()=>__webpack_require__.e(4610).then(__webpack_require__.bind(__webpack_require__,76584))),246:$e.lazy(()=>__webpack_require__.e(8479).then(__webpack_require__.bind(__webpack_require__,52974))),247:$e.lazy(()=>__webpack_require__.e(5800).then(__webpack_require__.bind(__webpack_require__,21852))),248:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2862)]).then(__webpack_require__.bind(__webpack_require__,70702))),249:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8286)]).then(__webpack_require__.bind(__webpack_require__,16546))),250:$e.lazy(()=>__webpack_require__.e(5117).then(__webpack_require__.bind(__webpack_require__,76541))),251:$e.lazy(()=>__webpack_require__.e(7402).then(__webpack_require__.bind(__webpack_require__,33002))),252:$e.lazy(()=>__webpack_require__.e(1897).then(__webpack_require__.bind(__webpack_require__,37102))),253:$e.lazy(()=>__webpack_require__.e(8145).then(__webpack_require__.bind(__webpack_require__,35268))),254:$e.lazy(()=>__webpack_require__.e(119).then(__webpack_require__.bind(__webpack_require__,28376))),255:$e.lazy(()=>__webpack_require__.e(4736).then(__webpack_require__.bind(__webpack_require__,23e3))),256:$e.lazy(()=>__webpack_require__.e(2412).then(__webpack_require__.bind(__webpack_require__,42496))),257:$e.lazy(()=>__webpack_require__.e(2240).then(__webpack_require__.bind(__webpack_require__,51891))),258:$e.lazy(()=>__webpack_require__.e(5165).then(__webpack_require__.bind(__webpack_require__,54352))),259:$e.lazy(()=>__webpack_require__.e(3831).then(__webpack_require__.bind(__webpack_require__,92186))),260:$e.lazy(()=>__webpack_require__.e(2396).then(__webpack_require__.bind(__webpack_require__,88126))),261:$e.lazy(()=>__webpack_require__.e(7855).then(__webpack_require__.bind(__webpack_require__,21962))),262:$e.lazy(()=>__webpack_require__.e(9507).then(__webpack_require__.bind(__webpack_require__,25656))),263:$e.lazy(()=>__webpack_require__.e(1343).then(__webpack_require__.bind(__webpack_require__,87030))),264:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),265:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),266:$e.lazy(()=>__webpack_require__.e(9647).then(__webpack_require__.bind(__webpack_require__,22691))),267:$e.lazy(()=>__webpack_require__.e(485).then(__webpack_require__.bind(__webpack_require__,19428))),268:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,28013))),269:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4741)]).then(__webpack_require__.bind(__webpack_require__,28013))),270:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,94038))),271:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4994)]).then(__webpack_require__.bind(__webpack_require__,94038))),272:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7460)]).then(__webpack_require__.bind(__webpack_require__,63342))),273:$e.lazy(()=>__webpack_require__.e(9716).then(__webpack_require__.bind(__webpack_require__,12889))),274:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,29499))),275:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6913)]).then(__webpack_require__.bind(__webpack_require__,29499))),276:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),277:$e.lazy(()=>__webpack_require__.e(3006).then(__webpack_require__.bind(__webpack_require__,28960))),278:$e.lazy(()=>__webpack_require__.e(2045).then(__webpack_require__.bind(__webpack_require__,41826))),279:$e.lazy(()=>__webpack_require__.e(1520).then(__webpack_require__.bind(__webpack_require__,7355))),280:$e.lazy(()=>__webpack_require__.e(9649).then(__webpack_require__.bind(__webpack_require__,93477))),281:$e.lazy(()=>__webpack_require__.e(4546).then(__webpack_require__.bind(__webpack_require__,82739))),282:$e.lazy(()=>__webpack_require__.e(5357).then(__webpack_require__.bind(__webpack_require__,77325))),283:$e.lazy(()=>__webpack_require__.e(8665).then(__webpack_require__.bind(__webpack_require__,84547))),284:$e.lazy(()=>__webpack_require__.e(3183).then(__webpack_require__.bind(__webpack_require__,37010))),285:$e.lazy(()=>__webpack_require__.e(4800).then(__webpack_require__.bind(__webpack_require__,65831))),286:$e.lazy(()=>__webpack_require__.e(9489).then(__webpack_require__.bind(__webpack_require__,17025))),287:$e.lazy(()=>__webpack_require__.e(9391).then(__webpack_require__.bind(__webpack_require__,18186))),288:$e.lazy(()=>__webpack_require__.e(5335).then(__webpack_require__.bind(__webpack_require__,40548))),289:$e.lazy(()=>__webpack_require__.e(2823).then(__webpack_require__.bind(__webpack_require__,96906))),290:$e.lazy(()=>__webpack_require__.e(4973).then(__webpack_require__.bind(__webpack_require__,66395))),291:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(6651)]).then(__webpack_require__.bind(__webpack_require__,4186))),292:$e.lazy(()=>__webpack_require__.e(6741).then(__webpack_require__.bind(__webpack_require__,55527))),293:$e.lazy(()=>__webpack_require__.e(5775).then(__webpack_require__.bind(__webpack_require__,3238))),294:$e.lazy(()=>__webpack_require__.e(2548).then(__webpack_require__.bind(__webpack_require__,11955))),295:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),296:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),297:$e.lazy(()=>__webpack_require__.e(6634).then(__webpack_require__.bind(__webpack_require__,40825))),298:$e.lazy(()=>__webpack_require__.e(680).then(__webpack_require__.bind(__webpack_require__,98874))),299:$e.lazy(()=>__webpack_require__.e(6366).then(__webpack_require__.bind(__webpack_require__,39434))),300:$e.lazy(()=>__webpack_require__.e(6452).then(__webpack_require__.bind(__webpack_require__,1189))),301:$e.lazy(()=>__webpack_require__.e(1070).then(__webpack_require__.bind(__webpack_require__,48910))),302:$e.lazy(()=>__webpack_require__.e(7242).then(__webpack_require__.bind(__webpack_require__,16075))),303:$e.lazy(()=>__webpack_require__.e(2707).then(__webpack_require__.bind(__webpack_require__,56890))),304:$e.lazy(()=>__webpack_require__.e(2865).then(__webpack_require__.bind(__webpack_require__,94574))),305:$e.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,12337))),306:$e.lazy(()=>__webpack_require__.e(6784).then(__webpack_require__.bind(__webpack_require__,12337))),307:$e.lazy(()=>__webpack_require__.e(3141).then(__webpack_require__.bind(__webpack_require__,54573))),308:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),309:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6419),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,91379))),310:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,16478))),311:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6419),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,91379))),312:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(700)]).then(__webpack_require__.bind(__webpack_require__,16478))),313:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6411),__webpack_require__.e(6419),__webpack_require__.e(3665)]).then(__webpack_require__.bind(__webpack_require__,91379))),314:$e.lazy(()=>__webpack_require__.e(7121).then(__webpack_require__.bind(__webpack_require__,17121))),315:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(7527)]).then(__webpack_require__.bind(__webpack_require__,58193))),316:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6419),__webpack_require__.e(6270)]).then(__webpack_require__.bind(__webpack_require__,91153))),317:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),318:$e.lazy(()=>__webpack_require__.e(547).then(__webpack_require__.bind(__webpack_require__,15534))),319:$e.lazy(()=>__webpack_require__.e(9788).then(__webpack_require__.bind(__webpack_require__,80222))),320:$e.lazy(()=>__webpack_require__.e(576).then(__webpack_require__.bind(__webpack_require__,45929))),321:$e.lazy(()=>__webpack_require__.e(7260).then(__webpack_require__.bind(__webpack_require__,30112))),322:$e.lazy(()=>__webpack_require__.e(4520).then(__webpack_require__.bind(__webpack_require__,14620))),323:$e.lazy(()=>__webpack_require__.e(9076).then(__webpack_require__.bind(__webpack_require__,8182))),324:$e.lazy(()=>__webpack_require__.e(4514).then(__webpack_require__.bind(__webpack_require__,42910))),325:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),326:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(928)]).then(__webpack_require__.bind(__webpack_require__,31160))),327:$e.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,76122))),328:$e.lazy(()=>__webpack_require__.e(1006).then(__webpack_require__.bind(__webpack_require__,76122))),329:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),330:$e.lazy(()=>__webpack_require__.e(1939).then(__webpack_require__.bind(__webpack_require__,49142))),331:$e.lazy(()=>__webpack_require__.e(556).then(__webpack_require__.bind(__webpack_require__,56316))),332:$e.lazy(()=>__webpack_require__.e(6434).then(__webpack_require__.bind(__webpack_require__,61244))),333:$e.lazy(()=>__webpack_require__.e(1880).then(__webpack_require__.bind(__webpack_require__,7076))),334:$e.lazy(()=>__webpack_require__.e(8237).then(__webpack_require__.bind(__webpack_require__,55642))),335:$e.lazy(()=>__webpack_require__.e(3447).then(__webpack_require__.bind(__webpack_require__,38587))),336:$e.lazy(()=>__webpack_require__.e(264).then(__webpack_require__.bind(__webpack_require__,93304))),337:$e.lazy(()=>__webpack_require__.e(4259).then(__webpack_require__.bind(__webpack_require__,33253))),338:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),339:$e.lazy(()=>__webpack_require__.e(4078).then(__webpack_require__.bind(__webpack_require__,29192))),340:$e.lazy(()=>__webpack_require__.e(2829).then(__webpack_require__.bind(__webpack_require__,30750))),341:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5359)]).then(__webpack_require__.bind(__webpack_require__,15331))),342:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),343:$e.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,99643))),344:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),345:$e.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,71535))),346:$e.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,3578))),347:$e.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,40728))),348:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),349:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),350:$e.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87567))),351:$e.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,28045))),352:$e.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,3566))),353:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,58863))),354:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),355:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),356:$e.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,44145))),357:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,30237))),358:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,2334))),359:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),360:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),361:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,94395))),362:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),363:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),364:$e.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29542))),365:$e.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,86082))),366:$e.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49700))),367:$e.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,146))),368:$e.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,72997))),369:$e.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,1067))),370:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),371:$e.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,91854))),372:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),373:$e.lazy(()=>__webpack_require__.e(559).then(__webpack_require__.bind(__webpack_require__,99643))),374:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),375:$e.lazy(()=>__webpack_require__.e(4757).then(__webpack_require__.bind(__webpack_require__,71535))),376:$e.lazy(()=>__webpack_require__.e(1783).then(__webpack_require__.bind(__webpack_require__,3578))),377:$e.lazy(()=>__webpack_require__.e(7477).then(__webpack_require__.bind(__webpack_require__,40728))),378:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),379:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9677)]).then(__webpack_require__.bind(__webpack_require__,19707))),380:$e.lazy(()=>__webpack_require__.e(6796).then(__webpack_require__.bind(__webpack_require__,87567))),381:$e.lazy(()=>__webpack_require__.e(4504).then(__webpack_require__.bind(__webpack_require__,28045))),382:$e.lazy(()=>__webpack_require__.e(7058).then(__webpack_require__.bind(__webpack_require__,3566))),383:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8447)]).then(__webpack_require__.bind(__webpack_require__,58863))),384:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),385:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1045)]).then(__webpack_require__.bind(__webpack_require__,29572))),386:$e.lazy(()=>__webpack_require__.e(5238).then(__webpack_require__.bind(__webpack_require__,44145))),387:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4715)]).then(__webpack_require__.bind(__webpack_require__,30237))),388:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3873)]).then(__webpack_require__.bind(__webpack_require__,2334))),389:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),390:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6069)]).then(__webpack_require__.bind(__webpack_require__,89431))),391:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6265)]).then(__webpack_require__.bind(__webpack_require__,94395))),392:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),393:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8563)]).then(__webpack_require__.bind(__webpack_require__,82167))),394:$e.lazy(()=>__webpack_require__.e(1713).then(__webpack_require__.bind(__webpack_require__,29542))),395:$e.lazy(()=>__webpack_require__.e(5891).then(__webpack_require__.bind(__webpack_require__,86082))),396:$e.lazy(()=>__webpack_require__.e(8398).then(__webpack_require__.bind(__webpack_require__,49700))),397:$e.lazy(()=>__webpack_require__.e(8241).then(__webpack_require__.bind(__webpack_require__,146))),398:$e.lazy(()=>__webpack_require__.e(2339).then(__webpack_require__.bind(__webpack_require__,72997))),399:$e.lazy(()=>__webpack_require__.e(7589).then(__webpack_require__.bind(__webpack_require__,1067))),400:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(3747)]).then(__webpack_require__.bind(__webpack_require__,375))),401:$e.lazy(()=>__webpack_require__.e(5705).then(__webpack_require__.bind(__webpack_require__,91854))),402:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),403:$e.lazy(()=>__webpack_require__.e(4766).then(__webpack_require__.bind(__webpack_require__,1182))),404:$e.lazy(()=>__webpack_require__.e(7560).then(__webpack_require__.bind(__webpack_require__,44094))),405:$e.lazy(()=>__webpack_require__.e(6029).then(__webpack_require__.bind(__webpack_require__,64695))),406:$e.lazy(()=>__webpack_require__.e(5179).then(__webpack_require__.bind(__webpack_require__,66218))),407:$e.lazy(()=>__webpack_require__.e(4621).then(__webpack_require__.bind(__webpack_require__,56162))),408:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),409:$e.lazy(()=>__webpack_require__.e(1831).then(__webpack_require__.bind(__webpack_require__,27732))),410:$e.lazy(()=>__webpack_require__.e(2539).then(__webpack_require__.bind(__webpack_require__,97450))),411:$e.lazy(()=>__webpack_require__.e(8143).then(__webpack_require__.bind(__webpack_require__,7772))),412:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5624)]).then(__webpack_require__.bind(__webpack_require__,21401))),413:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(1461)]).then(__webpack_require__.bind(__webpack_require__,95200))),414:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4492)]).then(__webpack_require__.bind(__webpack_require__,59463))),415:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(9416)]).then(__webpack_require__.bind(__webpack_require__,89898))),416:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),417:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),418:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),419:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),420:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(2443)]).then(__webpack_require__.bind(__webpack_require__,18113))),421:$e.lazy(()=>__webpack_require__.e(5022).then(__webpack_require__.bind(__webpack_require__,55879))),422:$e.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,2389))),423:$e.lazy(()=>__webpack_require__.e(6063).then(__webpack_require__.bind(__webpack_require__,2389))),424:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7545)]).then(__webpack_require__.bind(__webpack_require__,68232))),425:$e.lazy(()=>__webpack_require__.e(1253).then(__webpack_require__.bind(__webpack_require__,7220))),426:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),427:$e.lazy(()=>__webpack_require__.e(2216).then(__webpack_require__.bind(__webpack_require__,36981))),428:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5382)]).then(__webpack_require__.bind(__webpack_require__,25469))),429:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),430:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8823)]).then(__webpack_require__.bind(__webpack_require__,48058))),431:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5915)]).then(__webpack_require__.bind(__webpack_require__,15843))),432:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),433:$e.lazy(()=>__webpack_require__.e(570).then(__webpack_require__.bind(__webpack_require__,29625))),434:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),435:$e.lazy(()=>__webpack_require__.e(6698).then(__webpack_require__.bind(__webpack_require__,52311))),436:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),437:$e.lazy(()=>__webpack_require__.e(8873).then(__webpack_require__.bind(__webpack_require__,4451))),438:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),439:$e.lazy(()=>__webpack_require__.e(253).then(__webpack_require__.bind(__webpack_require__,14841))),440:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),441:$e.lazy(()=>__webpack_require__.e(8365).then(__webpack_require__.bind(__webpack_require__,72812))),442:$e.lazy(()=>__webpack_require__.e(6788).then(__webpack_require__.bind(__webpack_require__,42198))),443:$e.lazy(()=>__webpack_require__.e(4058).then(__webpack_require__.bind(__webpack_require__,75779))),444:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),445:$e.lazy(()=>__webpack_require__.e(4056).then(__webpack_require__.bind(__webpack_require__,19077))),446:$e.lazy(()=>__webpack_require__.e(9487).then(__webpack_require__.bind(__webpack_require__,3184))),447:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),448:$e.lazy(()=>__webpack_require__.e(532).then(__webpack_require__.bind(__webpack_require__,91437))),449:$e.lazy(()=>__webpack_require__.e(7178).then(__webpack_require__.bind(__webpack_require__,23437))),450:$e.lazy(()=>__webpack_require__.e(1660).then(__webpack_require__.bind(__webpack_require__,51106))),451:$e.lazy(()=>__webpack_require__.e(7333).then(__webpack_require__.bind(__webpack_require__,80947))),452:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(4227)]).then(__webpack_require__.bind(__webpack_require__,85338))),453:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8155)]).then(__webpack_require__.bind(__webpack_require__,91307))),454:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(5186)]).then(__webpack_require__.bind(__webpack_require__,43725))),455:$e.lazy(()=>__webpack_require__.e(5786).then(__webpack_require__.bind(__webpack_require__,49426))),456:$e.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54860))),457:$e.lazy(()=>__webpack_require__.e(5972).then(__webpack_require__.bind(__webpack_require__,55782))),458:$e.lazy(()=>__webpack_require__.e(9366).then(__webpack_require__.bind(__webpack_require__,54860))),459:$e.lazy(()=>__webpack_require__.e(1470).then(__webpack_require__.bind(__webpack_require__,14209))),460:$e.lazy(()=>__webpack_require__.e(7182).then(__webpack_require__.bind(__webpack_require__,48333))),461:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),462:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(2476)]).then(__webpack_require__.bind(__webpack_require__,26891))),463:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),464:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5729)]).then(__webpack_require__.bind(__webpack_require__,16949))),465:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),466:$e.lazy(()=>__webpack_require__.e(6444).then(__webpack_require__.bind(__webpack_require__,45233))),467:$e.lazy(()=>__webpack_require__.e(5111).then(__webpack_require__.bind(__webpack_require__,49254))),468:$e.lazy(()=>__webpack_require__.e(2307).then(__webpack_require__.bind(__webpack_require__,56737))),469:$e.lazy(()=>__webpack_require__.e(5896).then(__webpack_require__.bind(__webpack_require__,27154))),470:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(7062)]).then(__webpack_require__.bind(__webpack_require__,7698))),471:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(7647),__webpack_require__.e(8866)]).then(__webpack_require__.bind(__webpack_require__,73636))),472:$e.lazy(()=>__webpack_require__.e(2300).then(__webpack_require__.bind(__webpack_require__,94371))),473:$e.lazy(()=>__webpack_require__.e(2501).then(__webpack_require__.bind(__webpack_require__,88975))),474:$e.lazy(()=>__webpack_require__.e(3212).then(__webpack_require__.bind(__webpack_require__,66062))),475:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,81055))),476:$e.lazy(()=>__webpack_require__.e(1855).then(__webpack_require__.bind(__webpack_require__,62422))),477:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(6904)]).then(__webpack_require__.bind(__webpack_require__,81055))),478:$e.lazy(()=>__webpack_require__.e(1276).then(__webpack_require__.bind(__webpack_require__,65433))),479:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),480:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(5816)]).then(__webpack_require__.bind(__webpack_require__,35199))),481:$e.lazy(()=>__webpack_require__.e(3784).then(__webpack_require__.bind(__webpack_require__,81867))),482:$e.lazy(()=>__webpack_require__.e(3862).then(__webpack_require__.bind(__webpack_require__,95545))),483:$e.lazy(()=>__webpack_require__.e(4565).then(__webpack_require__.bind(__webpack_require__,69711))),484:$e.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,725))),485:$e.lazy(()=>__webpack_require__.e(6170).then(__webpack_require__.bind(__webpack_require__,84891))),486:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),487:$e.lazy(()=>__webpack_require__.e(1836).then(__webpack_require__.bind(__webpack_require__,42797))),488:$e.lazy(()=>Promise.all([__webpack_require__.e(6411),__webpack_require__.e(8066),__webpack_require__.e(8435)]).then(__webpack_require__.bind(__webpack_require__,38207))),489:$e.lazy(()=>__webpack_require__.e(3509).then(__webpack_require__.bind(__webpack_require__,88650))),490:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),491:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(4496)]).then(__webpack_require__.bind(__webpack_require__,63276))),492:$e.lazy(()=>__webpack_require__.e(6034).then(__webpack_require__.bind(__webpack_require__,76665))),493:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(8999)]).then(__webpack_require__.bind(__webpack_require__,66427))),494:$e.lazy(()=>__webpack_require__.e(3910).then(__webpack_require__.bind(__webpack_require__,8390))),495:$e.lazy(()=>Promise.all([__webpack_require__.e(1881),__webpack_require__.e(67)]).then(__webpack_require__.bind(__webpack_require__,57892))),496:$e.lazy(()=>__webpack_require__.e(6531).then(__webpack_require__.bind(__webpack_require__,725))),"@@/global-layout":$e.lazy(()=>__webpack_require__.e(1717).then(__webpack_require__.bind(__webpack_require__,84218)))}}})}var C=__webpack_require__(19964),D=__webpack_require__(59098),L=__webpack_require__(71418),_e=__webpack_require__(24957),Oe=()=>$e.createElement(L.Z,{size:"middle",className:_e.Z.loading}),hn=__webpack_require__(76560),On=__webpack_require__(56656),yn=__webpack_require__.n(On),Fi=__webpack_require__(91392),Ka=__webpack_require__.n(Fi),La=__webpack_require__(29256),Go=__webpack_require__.n(La),Ts=__webpack_require__(81626),Eo=__webpack_require__.n(Ts),Fs=__webpack_require__(71912),gc=__webpack_require__.n(Fs),rf=__webpack_require__(48228),gl=__webpack_require__.n(rf),nf=__webpack_require__(27112),Tl=__webpack_require__.n(nf),Zi=__webpack_require__(36867),cu=__webpack_require__.n(Zi),Nc=__webpack_require__(53501),Ko=__webpack_require__.n(Nc),so=__webpack_require__(22982),ws=__webpack_require__.n(so),Cl=__webpack_require__(54449),Ql=__webpack_require__.n(Cl),$c=__webpack_require__(10564),jl=__webpack_require__.n($c),Pl=__webpack_require__(92468),Ru=__webpack_require__.n(Pl),Yu=__webpack_require__(27082),Ul=__webpack_require__.n(Yu);yn().extend(Go()),yn().extend(Eo()),yn().extend(gc()),yn().extend(gl()),yn().extend(Tl()),yn().extend(cu()),yn().extend(Ko()),yn().extend(ws()),yn().extend(Ql()),yn().extend(jl()),yn().extend(Ru()),yn().extend(Ul()),yn().extend(Ka());var wf=Object.defineProperty,jc=Object.getOwnPropertySymbols,Sf=Object.prototype.hasOwnProperty,Lu=Object.prototype.propertyIsEnumerable,Il=(Fn,ti,Gi)=>ti in Fn?wf(Fn,ti,{enumerable:!0,configurable:!0,writable:!0,value:Gi}):Fn[ti]=Gi,Mu=(Fn,ti)=>{for(var Gi in ti||(ti={}))Sf.call(ti,Gi)&&Il(Fn,Gi,ti[Gi]);if(jc)for(var Gi of jc(ti))Lu.call(ti,Gi)&&Il(Fn,Gi,ti[Gi]);return Fn},yc=(Fn,ti,Gi)=>new Promise((Ma,ca)=>{var ba=fa=>{try{Ds(Gi.next(fa))}catch(Os){ca(Os)}},ka=fa=>{try{Ds(Gi.throw(fa))}catch(Os){ca(Os)}},Ds=fa=>fa.done?Ma(fa.value):Promise.resolve(fa.value).then(ba,ka);Ds((Gi=Gi.apply(Fn,ti)).next())});const Xu="/react/build/",Uc=!1;function Dl(){return yc(this,null,function*(){const Fn=(0,C.gD)(),{routes:ti,routeComponents:Gi}=yield tf(Fn);yield Fn.applyPlugins({key:"patchRoutes",type:hn.ApplyPluginsType.event,args:{routes:ti,routeComponents:Gi}});const Ma=Fn.applyPlugins({key:"modifyContextOpts",type:hn.ApplyPluginsType.modify,initialValue:{}}),ca=Ma.basename||"/",ba=Ma.historyType||"browser",ka=(0,D.fi)(Mu({type:ba,basename:ca},Ma.historyOpts));return Fn.applyPlugins({key:"render",type:hn.ApplyPluginsType.compose,initialValue(){const Ds={useStream:!0,routes:ti,routeComponents:Gi,pluginManager:Fn,mountElementId:"root",rootElement:Ma.rootElement||document.getElementById("root"),loadingComponent:Oe,publicPath:Xu,runtimePublicPath:Uc,history:ka,historyType:ba,basename:ca,__INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{pureApp:!1,pureHtml:!1},callback:Ma.callback},fa=Fn.applyPlugins({key:"modifyClientRenderOpts",type:hn.ApplyPluginsType.modify,initialValue:Ds});return Fc(fa)}})()})}Dl(),typeof window!="undefined"&&(window.g_umi={version:"4.4.12"})})()})();
|